diff --git a/404.html b/404.html index 4be5eeb5..63302749 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/Building-this-blog.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Building-this-blog.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/Building-this-blog.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Building-this-blog.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/Handy-heap-cheat-sheet.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Handy-heap-cheat-sheet.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/Handy-heap-cheat-sheet.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Handy-heap-cheat-sheet.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/Sort-algorithm.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Sort-algorithm.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/Sort-algorithm.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/Sort-algorithm.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/The-beauty-of-design-parten.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/The-beauty-of-design-parten.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/The-beauty-of-design-parten.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/The-beauty-of-design-parten.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/create-blog-cicd-by-github.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/create-blog-cicd-by-github.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/create-blog-cicd-by-github.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/create-blog-cicd-by-github.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/graph-for-economics-1.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/graph-for-economics-1.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/graph-for-economics-1.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/graph-for-economics-1.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/graph-for-economics-2.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/graph-for-economics-2.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/graph-for-economics-2.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/graph-for-economics-2.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/hello-world.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/hello-world.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/hello-world.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/hello-world.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/init-a-new-hexo-project.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/init-a-new-hexo-project.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/init-a-new-hexo-project.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/init-a-new-hexo-project.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/introduction-for-k8s-2.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/introduction-for-k8s-2.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/introduction-for-k8s-2.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/introduction-for-k8s-2.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/introduction-for-k8s.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/introduction-for-k8s.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/introduction-for-k8s.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/introduction-for-k8s.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/python-dict.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/python-dict.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/python-dict.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/python-dict.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/the-using-in-cpp.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/the-using-in-cpp.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/the-using-in-cpp.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/the-using-in-cpp.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/use-paste-image-and-vscode-memo.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/use-paste-image-and-vscode-memo.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/use-paste-image-and-vscode-memo.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/use-paste-image-and-vscode-memo.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/articles/why-homogeneous.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/articles/why-homogeneous.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/articles/why-homogeneous.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/articles/why-homogeneous.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/clips.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/clips.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/clips.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/clips.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas/blog-in-next.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/blog-in-next.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas/blog-in-next.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/blog-in-next.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas/blog-syntax.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/blog-syntax.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas/blog-syntax.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/blog-syntax.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas/first-idea.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/first-idea.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas/first-idea.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/first-idea.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas/newest.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/newest.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas/newest.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/newest.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/ideas/using-chart-js.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/using-chart-js.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/ideas/using-chart-js.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/ideas/using-chart-js.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/index.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/index.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/index.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/index.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/aws.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/aws.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/aws.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/aws.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/blog.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/blog.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/blog.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/blog.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/c++.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/c++.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/c++.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/c++.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/ci-cd.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/ci-cd.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/ci-cd.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/ci-cd.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/cloud-computing.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/cloud-computing.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/cloud-computing.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/cloud-computing.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/cloud-native.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/cloud-native.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/cloud-native.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/cloud-native.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/devops.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/devops.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/devops.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/devops.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/docker.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/docker.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/docker.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/docker.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/github.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/github.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/github.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/github.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/hexo.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/hexo.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/hexo.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/hexo.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/iac.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/iac.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/iac.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/iac.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/javascript.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/javascript.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/javascript.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/javascript.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/kubernetes.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/kubernetes.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/kubernetes.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/kubernetes.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/nextjs.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/nextjs.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/nextjs.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/nextjs.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/python.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/python.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/python.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/python.json diff --git a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/vscode.json b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/vscode.json similarity index 100% rename from _next/data/G75S-fcdbZAmXGU1-1bzf/tags/vscode.json rename to _next/data/zj-yYGFW-Qn8paOTtX6j5/tags/vscode.json diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\216\222\345\272\217.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\216\222\345\272\217.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\216\222\345\272\217.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\216\222\345\272\217.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\225\260\346\215\256\347\273\223\346\236\204.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\225\260\346\215\256\347\273\223\346\236\204.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\225\260\346\215\256\347\273\223\346\236\204.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\225\260\346\215\256\347\273\223\346\236\204.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\235\202\346\212\200.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\235\202\346\212\200.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\235\202\346\212\200.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\235\202\346\212\200.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\235\202\350\260\210.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\235\202\350\260\210.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\346\235\202\350\260\210.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\346\235\202\350\260\210.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\254\224\350\256\260.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\254\224\350\256\260.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\254\224\350\256\260.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\254\224\350\256\260.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\256\227\346\263\225.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\256\227\346\263\225.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\256\227\346\263\225.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\256\227\346\263\225.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\256\227\346\263\225\347\253\236\350\265\233.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\256\227\346\263\225\347\253\236\350\265\233.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\347\256\227\346\263\225\347\253\236\350\265\233.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\347\256\227\346\263\225\347\253\236\350\265\233.json" diff --git "a/_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\350\256\276\350\256\241\346\250\241\345\274\217.json" "b/_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\350\256\276\350\256\241\346\250\241\345\274\217.json" similarity index 100% rename from "_next/data/G75S-fcdbZAmXGU1-1bzf/tags/\350\256\276\350\256\241\346\250\241\345\274\217.json" rename to "_next/data/zj-yYGFW-Qn8paOTtX6j5/tags/\350\256\276\350\256\241\346\250\241\345\274\217.json" diff --git a/_next/static/chunks/5759.afd3f8fd3fd3446a.js b/_next/static/chunks/5759.afd3f8fd3fd3446a.js new file mode 100644 index 00000000..b4ccc1ba --- /dev/null +++ b/_next/static/chunks/5759.afd3f8fd3fd3446a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5759],{7967:function(t,e){"use strict";e.Nm=e.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;var u=t.replace(o,"").replace(r,function(t,e){return String.fromCharCode(e)}).replace(i,"").replace(o,"").trim();if(!u)return e.Rq;if(s.indexOf(u[0])>-1)return u;var l=u.match(a);if(!l)return u;var c=l[0];return n.test(c)?e.Rq:u}},8319:function(t,e){"use strict";e.K=void 0,e.K=function(t,e){void 0===e&&(e={listUnicodeChar:""}),(e=e||{}).listUnicodeChar=!!e.hasOwnProperty("listUnicodeChar")&&e.listUnicodeChar,e.stripListLeaders=!e.hasOwnProperty("stripListLeaders")||e.stripListLeaders,e.gfm=!e.hasOwnProperty("gfm")||e.gfm,e.useImgAltText=!e.hasOwnProperty("useImgAltText")||e.useImgAltText,e.preserveLinks=!!e.hasOwnProperty("preserveLinks")&&e.preserveLinks;var n=t||"";n=n.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(n=e.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.preserveLinks&&(n=n.replace(/\[(.*?)\][\[\(](.*?)[\]\)]/g,"$1 ($2)")),n=n.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,"\n\n").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(e){return console.error(e),t}return n}},7856:function(t){t.exports=function(){"use strict";let{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object,{freeze:o,seal:a,create:s}=Object,{apply:u,construct:l}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),u||(u=function(t,e,n){return t.apply(e,n)}),l||(l=function(t,e){return new t(...e)});let c=w(Array.prototype.forEach),h=w(Array.prototype.pop),f=w(Array.prototype.push),p=w(String.prototype.toLowerCase),d=w(String.prototype.toString),_=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),m=w(String.prototype.trim),v=w(Object.prototype.hasOwnProperty),b=w(RegExp.prototype.test),x=(X=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){let t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function A(e){let n=s(null);for(let[r,i]of t(e)){let t=v(e,r);t&&(Array.isArray(i)?n[r]=function(t){for(let e=0;e/gm),U=a(/\${[\w\W]*}/gm),P=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),B=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X,W=Object.freeze({__proto__:null,MUSTACHE_EXPR:I,ERB_EXPR:j,TMPLIT_EXPR:U,DATA_ATTR:P,ARIA_ATTR:F,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:H,DOCTYPE_NAME:q,CUSTOM_ELEMENT:B});let G={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.1.6",i.removed=[],!r||!r.document||r.document.nodeType!==G.document)return i.isSupported=!1,i;let{document:a}=r,u=a,l=u.currentScript,{DocumentFragment:w,HTMLTemplateElement:I,Node:j,Element:U,NodeFilter:P,NamedNodeMap:F=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:z,DOMParser:H,trustedTypes:B}=r,X=U.prototype,K=k(X,"cloneNode"),Q=k(X,"remove"),J=k(X,"nextSibling"),tt=k(X,"childNodes"),te=k(X,"parentNode");if("function"==typeof I){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let tn="",{implementation:tr,createNodeIterator:ti,createDocumentFragment:to,getElementsByTagName:ta}=a,{importNode:ts}=u,tu={};i.isSupported="function"==typeof t&&"function"==typeof te&&tr&&void 0!==tr.createHTMLDocument;let{MUSTACHE_EXPR:tl,ERB_EXPR:tc,TMPLIT_EXPR:th,DATA_ATTR:tf,ARIA_ATTR:tp,IS_SCRIPT_OR_DATA:td,ATTR_WHITESPACE:t_,CUSTOM_ELEMENT:tg}=W,{IS_ALLOWED_URI:ty}=W,tm=null,tv=T({},[...E,...S,...N,...C,...Z]),tb=null,tx=T({},[...D,...L,...$,...R]),tw=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tT=null,tA=null,tk=!0,tE=!0,tS=!1,tN=!0,tM=!1,tC=!0,tO=!1,tZ=!1,tD=!1,tL=!1,t$=!1,tR=!1,tI=!0,tj=!1,tU=!0,tP=!1,tF={},tY=null,tz=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tH=null,tq=T({},["audio","video","img","source","image","track"]),tB=null,tX=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tW="http://www.w3.org/1998/Math/MathML",tG="http://www.w3.org/2000/svg",tV="http://www.w3.org/1999/xhtml",tK=tV,tQ=!1,tJ=null,t0=T({},[tW,tG,tV],d),t1=null,t2=["application/xhtml+xml","text/html"],t3=null,t5=null,t6=a.createElement("form"),t4=function(t){return t instanceof RegExp||t instanceof Function},t8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t5||t5!==t){if(t&&"object"==typeof t||(t={}),t=A(t),t3="application/xhtml+xml"===(t1=-1===t2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?d:p,tm=v(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,t3):tv,tb=v(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,t3):tx,tJ=v(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,d):t0,tB=v(t,"ADD_URI_SAFE_ATTR")?T(A(tX),t.ADD_URI_SAFE_ATTR,t3):tX,tH=v(t,"ADD_DATA_URI_TAGS")?T(A(tq),t.ADD_DATA_URI_TAGS,t3):tq,tY=v(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,t3):tz,tT=v(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,t3):{},tA=v(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,t3):{},tF=!!v(t,"USE_PROFILES")&&t.USE_PROFILES,tk=!1!==t.ALLOW_ARIA_ATTR,tE=!1!==t.ALLOW_DATA_ATTR,tS=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tN=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tM=t.SAFE_FOR_TEMPLATES||!1,tC=!1!==t.SAFE_FOR_XML,tO=t.WHOLE_DOCUMENT||!1,tL=t.RETURN_DOM||!1,t$=t.RETURN_DOM_FRAGMENT||!1,tR=t.RETURN_TRUSTED_TYPE||!1,tD=t.FORCE_BODY||!1,tI=!1!==t.SANITIZE_DOM,tj=t.SANITIZE_NAMED_PROPS||!1,tU=!1!==t.KEEP_CONTENT,tP=t.IN_PLACE||!1,ty=t.ALLOWED_URI_REGEXP||Y,tK=t.NAMESPACE||tV,tw=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t4(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tw.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t4(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tw.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tw.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tM&&(tE=!1),t$&&(tL=!0),tF&&(tm=T({},Z),tb=[],!0===tF.html&&(T(tm,E),T(tb,D)),!0===tF.svg&&(T(tm,S),T(tb,L),T(tb,R)),!0===tF.svgFilters&&(T(tm,N),T(tb,L),T(tb,R)),!0===tF.mathMl&&(T(tm,C),T(tb,$),T(tb,R))),t.ADD_TAGS&&(tm===tv&&(tm=A(tm)),T(tm,t.ADD_TAGS,t3)),t.ADD_ATTR&&(tb===tx&&(tb=A(tb)),T(tb,t.ADD_ATTR,t3)),t.ADD_URI_SAFE_ATTR&&T(tB,t.ADD_URI_SAFE_ATTR,t3),t.FORBID_CONTENTS&&(tY===tz&&(tY=A(tY)),T(tY,t.FORBID_CONTENTS,t3)),tU&&(tm["#text"]=!0),tO&&T(tm,["html","head","body"]),tm.table&&(T(tm,["tbody"]),delete tT.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');tn=(n=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=V(B,l)),null!==n&&"string"==typeof tn&&(tn=n.createHTML(""));o&&o(t),t5=t}},t7=T({},["mi","mo","mn","ms","mtext"]),t9=T({},["foreignobject","annotation-xml"]),et=T({},["title","style","font","a","script"]),ee=T({},[...S,...N,...M]),en=T({},[...C,...O]),er=function(t){let e=te(t);e&&e.tagName||(e={namespaceURI:tK,tagName:"template"});let n=p(t.tagName),r=p(e.tagName);return!!tJ[t.namespaceURI]&&(t.namespaceURI===tG?e.namespaceURI===tV?"svg"===n:e.namespaceURI===tW?"svg"===n&&("annotation-xml"===r||t7[r]):Boolean(ee[n]):t.namespaceURI===tW?e.namespaceURI===tV?"math"===n:e.namespaceURI===tG?"math"===n&&t9[r]:Boolean(en[n]):t.namespaceURI===tV?(e.namespaceURI!==tG||!!t9[r])&&(e.namespaceURI!==tW||!!t7[r])&&!en[n]&&(et[n]||!ee[n]):"application/xhtml+xml"===t1&&!!tJ[t.namespaceURI])},ei=function(t){f(i.removed,{element:t});try{te(t).removeChild(t)}catch(e){Q(t)}},eo=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tb[t]){if(tL||t$)try{ei(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},ea=function(t){let e=null,r=null;if(tD)t=""+t;else{let e=_(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===t1&&tK===tV&&(t=''+t+"");let i=n?n.createHTML(t):t;if(tK===tV)try{e=new H().parseFromString(i,t1)}catch(t){}if(!e||!e.documentElement){e=tr.createDocument(tK,"template",null);try{e.documentElement.innerHTML=tQ?tn:i}catch(t){}}let o=e.body||e.documentElement;return(t&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),tK===tV)?ta.call(e,tO?"html":"body")[0]:tO?e.documentElement:o},es=function(t){return ti.call(t.ownerDocument||t,t,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},eu=function(t){return t instanceof z&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof F)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},el=function(t){return"function"==typeof j&&t instanceof j},ec=function(t,e,n){tu[t]&&c(tu[t],t=>{t.call(i,e,n,t5)})},eh=function(t){let e=null;if(ec("beforeSanitizeElements",t,null),eu(t))return ei(t),!0;let n=t3(t.nodeName);if(ec("uponSanitizeElement",t,{tagName:n,allowedTags:tm}),t.hasChildNodes()&&!el(t.firstElementChild)&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent)||t.nodeType===G.progressingInstruction||tC&&t.nodeType===G.comment&&b(/<[/\w]/g,t.data))return ei(t),!0;if(!tm[n]||tT[n]){if(!tT[n]&&ep(n)&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,n)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(n)))return!1;if(tU&&!tY[n]){let e=te(t)||t.parentNode,n=tt(t)||t.childNodes;if(n&&e){let r=n.length;for(let i=r-1;i>=0;--i){let r=K(n[i],!0);r.__removalCount=(t.__removalCount||0)+1,e.insertBefore(r,J(t))}}}return ei(t),!0}return t instanceof U&&!er(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&b(/<\/no(script|embed|frames)/i,t.innerHTML)?(ei(t),!0):(tM&&t.nodeType===G.text&&(e=t.textContent,c([tl,tc,th],t=>{e=g(e,t," ")}),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),ec("afterSanitizeElements",t,null),!1)},ef=function(t,e,n){if(tI&&("id"===e||"name"===e)&&(n in a||n in t6))return!1;if(tE&&!tA[e]&&b(tf,e));else if(tk&&b(tp,e));else if(!tb[e]||tA[e]){if(!(ep(t)&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,t)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(t))&&(tw.attributeNameCheck instanceof RegExp&&b(tw.attributeNameCheck,e)||tw.attributeNameCheck instanceof Function&&tw.attributeNameCheck(e))||"is"===e&&tw.allowCustomizedBuiltInElements&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,n)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(n))))return!1}else if(tB[e]);else if(b(ty,g(n,t_,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===y(n,"data:")&&tH[t]);else if(tS&&!b(td,g(n,t_,"")));else if(n)return!1;return!0},ep=function(t){return"annotation-xml"!==t&&_(t,tg)},ed=function(t){ec("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tb},o=e.length;for(;o--;){let a=e[o],{name:s,namespaceURI:u,value:l}=a,f=t3(s),p="value"===s?l:m(l);if(r.attrName=f,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,ec("uponSanitizeAttribute",t,r),p=r.attrValue,tC&&b(/((--!?|])>)|<\/(style|title)/i,p)){eo(s,t);continue}if(r.forceKeepAttr||(eo(s,t),!r.keepAttr))continue;if(!tN&&b(/\/>/i,p)){eo(s,t);continue}tM&&c([tl,tc,th],t=>{p=g(p,t," ")});let d=t3(t.nodeName);if(ef(d,f,p)){if(tj&&("id"===f||"name"===f)&&(eo(s,t),p="user-content-"+p),n&&"object"==typeof B&&"function"==typeof B.getAttributeType){if(u);else switch(B.getAttributeType(d,f)){case"TrustedHTML":p=n.createHTML(p);break;case"TrustedScriptURL":p=n.createScriptURL(p)}}try{u?t.setAttributeNS(u,s,p):t.setAttribute(s,p),eu(t)?ei(t):h(i.removed)}catch(t){}}}ec("afterSanitizeAttributes",t,null)},e_=function t(e){let n=null,r=es(e);for(ec("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)ec("uponSanitizeShadowNode",n,null),eh(n)||(n.content instanceof w&&t(n.content),ed(n));ec("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if((tQ=!t)&&(t=""),"string"!=typeof t&&!el(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw x("dirty is not a string, aborting")}else throw x("toString is not a function")}if(!i.isSupported)return t;if(tZ||t8(e),i.removed=[],"string"==typeof t&&(tP=!1),tP){if(t.nodeName){let e=t3(t.nodeName);if(!tm[e]||tT[e])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof j)(o=(r=ea("")).ownerDocument.importNode(t,!0)).nodeType===G.element&&"BODY"===o.nodeName?r=o:"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tL&&!tM&&!tO&&-1===t.indexOf("<"))return n&&tR?n.createHTML(t):t;if(!(r=ea(t)))return tL?null:tR?tn:""}r&&tD&&ei(r.firstChild);let l=es(tP?t:r);for(;a=l.nextNode();)eh(a)||(a.content instanceof w&&e_(a.content),ed(a));if(tP)return t;if(tL){if(t$)for(s=to.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(tb.shadowroot||tb.shadowrootmode)&&(s=ts.call(u,s,!0)),s}let h=tO?r.outerHTML:r.innerHTML;return tO&&tm["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(q,r.ownerDocument.doctype.name)&&(h="\n"+h),tM&&c([tl,tc,th],t=>{h=g(h,t," ")}),n&&tR?n.createHTML(h):h},i.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t8(t),tZ=!0},i.clearConfig=function(){t5=null,tZ=!1},i.isValidAttribute=function(t,e,n){t5||t8({});let r=t3(t),i=t3(e);return ef(r,i,n)},i.addHook=function(t,e){"function"==typeof e&&(tu[t]=tu[t]||[],f(tu[t],e))},i.removeHook=function(t){if(tu[t])return h(tu[t])},i.removeHooks=function(t){tu[t]&&(tu[t]=[])},i.removeAllHooks=function(){tu={}},i}()}()},8464:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;nthis.converter(t,{...e,fontSize:e.fontSize||20}),this.converter=t}}(a=u||(u={})).ROUND="round",a.STADIUM="stadium",a.DOUBLECIRCLE="doublecircle",a.CIRCLE="circle",a.DIAMOND="diamond",(l||(l={})).COLOR="color",(s=c||(c={})).FILL="fill",s.STROKE="stroke",s.STROKE_WIDTH="stroke-width",s.STROKE_DASHARRAY="stroke-dasharray";var a,s,u,l,c,h=n(8319);let f={arrow_circle:{endArrowhead:"dot"},arrow_cross:{endArrowhead:"bar"},arrow_open:{endArrowhead:null,startArrowhead:null},double_arrow_circle:{endArrowhead:"dot",startArrowhead:"dot"},double_arrow_cross:{endArrowhead:"bar",startArrowhead:"bar"},double_arrow_point:{endArrowhead:"arrow",startArrowhead:"arrow"}},p=t=>f[t],d=t=>{let e=t.text;return"markdown"===t.labelType&&(e=(0,h.K)(t.text)),_(e)},_=t=>t.replace(/\s?(fa|fab):[a-zA-Z0-9-]+/g,""),g=t=>{let e={};return Object.keys(t).forEach(n=>{switch(n){case c.FILL:e.backgroundColor=t[n],e.fillStyle="solid";break;case c.STROKE:e.strokeColor=t[n];break;case c.STROKE_WIDTH:e.strokeWidth=Number(t[n]?.split("px")[0]);break;case c.STROKE_DASHARRAY:e.strokeStyle="dashed"}}),e},y=t=>{let e={};return Object.keys(t).forEach(n=>{n===l.COLOR&&(e.strokeColor=t[n])}),e},m=t=>{let e={};t.subGraphs.map(n=>{n.nodeIds.forEach(r=>{e[n.id]={id:n.id,parent:null,isLeaf:!1},e[r]={id:r,parent:n.id,isLeaf:void 0!==t.vertices[r]}})});let n={};return[...Object.keys(t.vertices),...t.subGraphs.map(t=>t.id)].forEach(t=>{if(!e[t])return;let r=e[t],i=[];for(r.isLeaf||i.push(`subgraph_group_${r.id}`);;)if(r.parent)i.push(`subgraph_group_${r.parent}`),r=e[r.parent];else break;n[t]=i}),{getGroupIds:t=>n[t]||[],getParentId:t=>e[t]?e[t].parent:null}},v=new o({converter:(t,e)=>{let n=[],r=e.fontSize,{getGroupIds:i,getParentId:o}=m(t);return t.subGraphs.reverse().forEach(t=>{let e=i(t.id),o={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,label:{groupIds:e,text:d(t),fontSize:r,verticalAlign:"top"}};n.push(o)}),Object.values(t.vertices).forEach(t=>{if(!t)return;let e=i(t.id),o=g(t.containerStyle),a=y(t.labelStyle),s={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,strokeWidth:2,label:{groupIds:e,text:d(t),fontSize:r,...a},link:t.link||null,...o};switch(t.type){case u.STADIUM:case u.ROUND:s={...s,roundness:{type:3}};break;case u.DOUBLECIRCLE:{e.push(`doublecircle_${t.id}}`);let i={type:"ellipse",groupIds:e,x:t.x+5,y:t.y+5,width:t.width-10,height:t.height-10,strokeWidth:2,roundness:{type:3},label:{groupIds:e,text:d(t),fontSize:r}};s={...s,groupIds:e,type:"ellipse"},n.push(i);break}case u.CIRCLE:s.type="ellipse";break;case u.DIAMOND:s.type="diamond"}n.push(s)}),t.edges.forEach(t=>{let e=[],a=o(t.start),s=o(t.end);a&&a===s&&(e=i(a));let{startX:u,startY:l,reflectionPoints:c}=t,h=c.map(t=>[t.x-c[0].x,t.y-c[0].y]),f=p(t.type),_=`${t.start}_${t.end}`,g={id:_,type:"arrow",groupIds:e,x:u,y:l,strokeWidth:"thick"===t.stroke?4:2,strokeStyle:"dotted"===t.stroke?"dashed":void 0,points:h,...t.text?{label:{text:d(t),fontSize:r,groupIds:e}}:{},roundness:{type:2},...f},y=n.find(e=>e.id===t.start),m=n.find(e=>e.id===t.end);y&&m&&(g.start={id:y.id||""},g.end={id:m.id||""},n.push(g))}),{elements:n}}}),b=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>((e&=63)<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),""),x=new o({converter:t=>{let e=b(),{width:n,height:r}=t,i={[e]:{id:e,mimeType:t.mimeType,dataURL:t.dataURL}};return{files:i,elements:[{type:"image",x:0,y:0,width:n,height:r,status:"saved",fileId:e}]}}}),w=t=>t.replace(/\\n/g,"\n"),T=t=>{let e={type:"line",x:t.startX,y:t.startY,points:[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t.strokeStyle||"solid",strokeColor:t.strokeColor||"#000",strokeWidth:t.strokeWidth||1};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},A=t=>{let e={type:"text",x:t.x,y:t.y,width:t.width,height:t.height,text:w(t.text)||"",fontSize:t.fontSize,verticalAlign:"middle"};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},k=t=>{let e={};"rectangle"===t.type&&"activation"===t.subtype&&(e={backgroundColor:"#e9ecef",fillStyle:"solid"});let n={id:t.id,type:t.type,x:t.x,y:t.y,width:t.width,height:t.height,label:{text:w(t?.label?.text||""),fontSize:t?.label?.fontSize,verticalAlign:t.label?.verticalAlign||"middle",strokeColor:t.label?.color||"#000",groupIds:t.groupId?[t.groupId]:[]},strokeStyle:t?.strokeStyle,strokeWidth:t?.strokeWidth,strokeColor:t?.strokeColor,backgroundColor:t?.bgColor,fillStyle:"solid",...e};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n},E=t=>{let e={type:"arrow",x:t.startX,y:t.startY,points:t.points||[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t?.strokeStyle||"solid",endArrowhead:t?.endArrowhead||null,startArrowhead:t?.startArrowhead||null,label:{text:w(t?.label?.text||""),fontSize:16},roundness:{type:2},start:t.start,end:t.end};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),e},S=new o({converter:t=>{let e=[],n=[];if(Object.values(t.nodes).forEach(t=>{t&&t.length&&t.forEach(t=>{let r;switch(t.type){case"line":r=T(t);break;case"rectangle":case"ellipse":r=k(t);break;case"text":r=A(t);break;default:throw`unknown type ${t.type}`}"rectangle"===t.type&&t?.subtype==="activation"?n.push(r):e.push(r)})}),Object.values(t.lines).forEach(t=>{t&&e.push(T(t))}),Object.values(t.arrows).forEach(t=>{t&&(e.push(E(t)),t.sequenceNumber&&e.push(k(t.sequenceNumber)))}),e.push(...n),t.loops){let{lines:n,texts:r,nodes:i}=t.loops;n.forEach(t=>{e.push(T(t))}),r.forEach(t=>{e.push(A(t))}),i.forEach(t=>{e.push(k(t))})}return t.groups&&t.groups.forEach(t=>{let{actorKeys:n,name:r}=t,i=1/0,o=1/0,a=0,s=0;if(!n.length)return;let u=e.filter(t=>{if(t.id){let e=t.id.indexOf("-"),r=t.id.substring(0,e);return n.includes(r)}});u.forEach(t=>{if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw Error(`Actor attributes missing ${t}`);i=Math.min(i,t.x),o=Math.min(o,t.y),a=Math.max(a,t.x+t.width),s=Math.max(s,t.y+t.height)});let l=i-10,c=o-10,h=a-i+20,f=s-o+20,p=b(),d=k({type:"rectangle",x:l,y:c,width:h,height:f,bgColor:t.fill,id:p});e.unshift(d);let _=b(),g=[p];e.forEach(t=>{if("frame"!==t.type){if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw Error(`Element attributes missing ${t}`);if(t.x>=i&&t.x+t.width<=a&&t.y>=o&&t.y+t.height<=s){let e=t.id||b();t.id||Object.assign(t,{id:e}),g.push(e)}}}),e.push({type:"frame",id:_,name:r,children:g})}),{elements:e}}}),N=new o({converter:t=>{let e=[];return Object.values(t.nodes).forEach(t=>{t&&t.length&&t.forEach(t=>{let n;switch(t.type){case"line":n=T(t);break;case"rectangle":case"ellipse":n=k(t);break;case"text":n=A(t);break;default:throw`unknown type ${t.type}`}e.push(n)})}),Object.values(t.lines).forEach(t=>{t&&e.push(T(t))}),Object.values(t.arrows).forEach(t=>{if(!t)return;let n=E(t);e.push(n)}),Object.values(t.text).forEach(t=>{let n=A(t);e.push(n)}),Object.values(t.namespaces).forEach(n=>{let r=Object.keys(n.classes),i=[...r],o=[...t.lines,...t.arrows,...t.text];r.forEach(t=>{let e=o.filter(e=>e.metadata&&e.metadata.classId===t).map(t=>t.id);e.length&&i.push(...e)});let a={type:"frame",id:b(),name:n.id,children:i};e.push(a)}),{elements:e}}}),M=(t,e={})=>{switch(t.type){case"graphImage":return x.convert(t,e);case"flowchart":return v.convert(t,e);case"sequence":return S.convert(t,e);case"class":return N.convert(t,e);default:throw Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`)}};var C=n(2081);let O=t=>{t=L(t);let e=t.replace(/#(\d+);/g,"&#$1;").replace(/#([a-z]+);/g,"&$1;"),n=document.createElement("textarea");return n.innerHTML=e,n.value},Z=t=>{let e=t.getAttribute("transform"),n=e?.match(/translate\(([ \d.-]+),\s*([\d.-]+)\)/),r=0,i=0;return n&&(r=Number(n[1]),i=Number(n[2])),{transformX:r,transformY:i}},D=t=>{let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,t=>t.substring(0,t.length-1))).replace(/classDef.*:\S*#.*;/g,t=>t.substring(0,t.length-1))).replace(/#\w+;/g,t=>{let e=t.substring(1,t.length-1),n=/^\+?\d+$/.test(e);return n?`fl\xb0\xb0${e}\xb6\xdf`:`fl\xb0${e}\xb6\xdf`})},L=function(t){return t.replace(/fl°°/g,"#").replace(/fl°/g,"&").replace(/¶ß/g,";")},$=(t,e={x:0,y:0})=>{if("path"!==t.tagName.toLowerCase())throw Error(`Invalid input: Expected an HTMLElement of tag "path", got ${t.tagName}`);let n=t.getAttribute("d");if(!n)throw Error('Path element does not contain a "d" attribute');let r=n.split(/(?=[LM])/),i=r[0].substring(1).split(",").map(t=>parseFloat(t)),o=r[r.length-1].substring(1).split(",").map(t=>parseFloat(t)),a=r.map(t=>{let e=t.substring(1).split(",").map(t=>parseFloat(t));return{x:e[0],y:e[1]}}).filter((t,e,n)=>{if(0===e||e===n.length-1)return!0;if(t.x===n[e-1].x&&t.y===n[e-1].y)return!1;if(e===n.length-2&&(n[e-1].x===t.x||n[e-1].y===t.y)){let e=n[n.length-1],r=Math.hypot(e.x-t.x,e.y-t.y);return r>20}return t.x!==n[e-1].x||t.y!==n[e-1].y}).map(t=>({x:t.x+e.x,y:t.y+e.y}));return{startX:i[0]+e.x,startY:i[1]+e.y,endX:o[0]+e.x,endY:o[1]+e.y,reflectionPoints:a}},R=(t,e)=>{let n=t.nodes.map(t=>t.startsWith("flowchart-")?t.split("-")[1]:t),r=e.querySelector(`[id='${t.id}']`);if(!r)throw Error("SubGraph element not found");let i=U(r,e),o=r.getBBox(),a={width:o.width,height:o.height};return t.classes=void 0,t.dir=void 0,{...t,nodeIds:n,...i,...a,text:O(t.title)}},I=(t,e)=>{let n;let r=e.querySelector(`[id*="flowchart-${t.id}-"]`);if(!r)return;"a"===r.parentElement?.tagName.toLowerCase()&&(n=r.parentElement.getAttribute("xlink:href"));let i=U(n?r.parentElement:r,e),o=r.getBBox(),a={width:o.width,height:o.height},s=r.querySelector(".label-container")?.getAttribute("style"),u=r.querySelector(".label")?.getAttribute("style"),l={};s?.split(";").forEach(t=>{if(!t)return;let e=t.split(":")[0].trim(),n=t.split(":")[1].trim();l[e]=n});let c={};return u?.split(";").forEach(t=>{if(!t)return;let e=t.split(":")[0].trim(),n=t.split(":")[1].trim();c[e]=n}),{id:t.id,labelType:t.labelType,text:O(t.text),type:t.type,link:n||void 0,...i,...a,containerStyle:l,labelStyle:c}},j=(t,e,n)=>{let r=n.querySelector(`[id*="L-${t.start}-${t.end}-${e}"]`);if(!r)throw Error("Edge element not found");let i=U(r,n),o=$(r,i);return t.length=void 0,{...t,...o,text:O(t.text)}},U=(t,e)=>{if(!t)throw Error("Element not found");let n=t.parentElement?.parentElement,r=t.childNodes[0],i={x:0,y:0};if(r){let{transformX:t,transformY:e}=Z(r),n=r.getBBox();i={x:Number(r.getAttribute("x"))||t+n.x||0,y:Number(r.getAttribute("y"))||e+n.y||0}}let{transformX:o,transformY:a}=Z(t),s={x:o+i.x,y:a+i.y};for(;n&&n.id!==e.id;){if("root"===n.classList.value&&n.hasAttribute("transform")){let{transformX:t,transformY:e}=Z(n);s.x+=t,s.y+=e}n=n.parentElement}return s},P=(t,e)=>{t.parse();let n=t.parser.yy,r=n.getVertices();Object.keys(r).forEach(t=>{r[t]=I(r[t],e)});let i=new Map,o=n.getEdges().filter(t=>e.querySelector(`[id*="L-${t.start}-${t.end}"]`)).map(t=>{let n=`${t.start}-${t.end}`,r=i.get(n)||0;return i.set(n,r+1),j(t,r,e)}),a=n.getSubGraphs().map(t=>R(t,e));return{type:"flowchart",subGraphs:a,vertices:r,edges:o}},F=(t,e)=>{let n={};e?.label&&(n.label={text:O(e.label),fontSize:16});let r=t.tagName;if("line"===r)n.startX=Number(t.getAttribute("x1")),n.startY=Number(t.getAttribute("y1")),n.endX=Number(t.getAttribute("x2")),n.endY=Number(t.getAttribute("y2"));else if("path"===r){let e=t.getAttribute("d");if(!e)throw Error('Path element does not contain a "d" attribute');let r=e.split(/(?=[LC])/),i=r[0].substring(1).split(",").map(t=>parseFloat(t)),o=[];r.forEach(t=>{let e=t.substring(1).trim().split(" ").map(t=>{let[e,n]=t.split(",");return[parseFloat(e)-i[0],parseFloat(n)-i[1]]});o.push(...e)});let a=o[o.length-1];n.startX=i[0],n.startY=i[1],n.endX=a[0],n.endY=a[1],n.points=o}return e?.label&&(n.startY=n.startY-10,n.endY=n.endY-10),n.strokeColor=t.getAttribute("stroke"),n.strokeWidth=Number(t.getAttribute("stroke-width")),n.type="arrow",n.strokeStyle=e?.strokeStyle||"solid",n.startArrowhead=e?.startArrowhead||null,n.endArrowhead=e?.endArrowhead||null,n},Y=(t,e,n,r,i)=>{let o={};return o.type="arrow",o.startX=t,o.startY=e,o.endX=n,o.endY=r,Object.assign(o,{...i}),o},z=(t,e,n,r)=>{let i={type:"text",x:t,y:e,text:n,width:r?.width||20,height:r?.height||20,fontSize:r?.fontSize||20,id:r?.id,groupId:r?.groupId,metadata:r?.metadata};return i},H=(t,e,n)=>{let r={},i=Number(t.getAttribute("x")),o=Number(t.getAttribute("y"));r.type="text",r.text=O(e),n?.id&&(r.id=n.id),n?.groupId&&(r.groupId=n.groupId);let a=t.getBBox();r.width=a.width,r.height=a.height,r.x=i-a.width/2,r.y=o;let s=parseInt(getComputedStyle(t).fontSize);return r.fontSize=s,r},q=(t,e,n={})=>{let r={};r.type=e;let{label:i,subtype:o,id:a,groupId:s}=n;r.id=a,s&&(r.groupId=s),i&&(r.label={text:O(i.text),fontSize:16,verticalAlign:i?.verticalAlign});let u=t.getBBox();switch(r.x=u.x,r.y=u.y,r.width=u.width,r.height=u.height,r.subtype=o,o){case"highlight":let l=t.getAttribute("fill");l&&(r.bgColor=l);break;case"note":r.strokeStyle="dashed"}return r},B=(t,e,n,r,i,o)=>{let a={};return a.startX=e,a.startY=n,a.endX=r,o?.groupId&&(a.groupId=o.groupId),o?.id&&(a.id=o.id),a.endY=i,a.strokeColor=t.getAttribute("stroke"),a.strokeWidth=Number(t.getAttribute("stroke-width")),a.type="line",a},X={0:"SOLID",1:"DOTTED",3:"SOLID_CROSS",4:"DOTTED_CROSS",5:"SOLID_OPEN",6:"DOTTED_OPEN",24:"SOLID_POINT",25:"DOTTED_POINT"},W={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},G=t=>{let e;switch(t){case W.SOLID:case W.SOLID_CROSS:case W.SOLID_OPEN:case W.SOLID_POINT:e="solid";break;case W.DOTTED:case W.DOTTED_CROSS:case W.DOTTED_OPEN:case W.DOTTED_POINT:e="dotted";break;default:e="solid"}return e},V=(t,e)=>{let n=!!t.nextElementSibling?.classList.contains("sequenceNumber");if(n){let n=t.nextElementSibling?.textContent;if(!n)throw Error("sequence number not present");let r={type:"rectangle",x:e.startX-10,y:e.startY-15,label:{text:n,fontSize:14},bgColor:"#e9ecef",height:30,subtype:"sequence"};Object.assign(e,{sequenceNumber:r})}},K=(t,e,n)=>{if(!t)throw"root node not found";let i=b(),o=Array.from(t.children),a=[];return o.forEach((t,o)=>{let s;let u=`${n?.id}-${o}`;switch(t.tagName){case"line":let l=Number(t.getAttribute("x1")),c=Number(t.getAttribute("y1")),h=Number(t.getAttribute("x2")),f=Number(t.getAttribute("y2"));s=B(t,l,c,h,f,{groupId:i,id:u});break;case"text":s=H(t,e,{groupId:i,id:u});break;case"circle":s=q(t,"ellipse",{label:t.textContent?{text:t.textContent}:void 0,groupId:i,id:u});default:s=q(t,r[t.tagName],{label:t.textContent?{text:t.textContent}:void 0,groupId:i,id:u})}a.push(s)}),a},Q=(t,e)=>{let n=Array.from(e.querySelectorAll(".actor-top")),r=Array.from(e.querySelectorAll(".actor-bottom")),i=[],o=[];return Object.values(t).forEach((t,e)=>{let a=n.find(e=>e.getAttribute("name")===t.name),s=r.find(e=>e.getAttribute("name")===t.name);if(!a||!s)throw"root not found";let u=t.description;if("participant"===t.type){let e=q(a,"rectangle",{id:`${t.name}-top`,label:{text:u},subtype:"actor"});if(!e)throw"Top Node element not found!";i.push([e]);let n=q(s,"rectangle",{id:`${t.name}-bottom`,label:{text:u},subtype:"actor"});i.push([n]);let r=a?.parentElement?.previousElementSibling;if(r?.tagName!=="line")throw"Line not found";let l=Number(r.getAttribute("x1"));if(!e.height)throw"Top node element height is null";let c=e.y+e.height,h=n.y,f=Number(r.getAttribute("x2")),p=B(r,l,c,f,h);o.push(p)}else if("actor"===t.type){let e=K(a,u,{id:`${t.name}-top`});i.push(e);let n=K(s,u,{id:`${t.name}-bottom`});i.push(n);let r=a.previousElementSibling;if(r?.tagName!=="line")throw"Line not found";let l=Number(r.getAttribute("x1")),c=Number(r.getAttribute("y1")),h=Number(r.getAttribute("x2")),f=n.find(t=>"ellipse"===t.type);if(f){let t=f.y,e=B(r,l,c,h,t);o.push(e)}}}),{nodes:i,lines:o}},J=(t,e)=>{let n=[],r=Array.from(e.querySelectorAll('[class*="messageLine"]')),i=Object.keys(X),o=t.filter(t=>i.includes(t.type.toString()));return r.forEach((t,e)=>{let r=o[e],i=X[r.type],a=F(t,{label:r?.message,strokeStyle:G(r.type),endArrowhead:"SOLID_OPEN"===i||"DOTTED_OPEN"===i?null:"arrow"});V(t,a),n.push(a)}),n},tt=(t,e)=>{let n=Array.from(e.querySelectorAll(".note")).map(t=>t.parentElement),r=t.filter(t=>t.type===W.NOTE),i=[];return n.forEach((t,e)=>{if(!t)return;let n=t.firstChild,o=r[e].message,a=q(n,"rectangle",{label:{text:o},subtype:"note"});i.push(a)}),i},te=t=>{let e=Array.from(t.querySelectorAll("[class*=activation]")),n=[];return e.forEach(t=>{let e=q(t,"rectangle",{label:{text:""},subtype:"activation"});n.push(e)}),n},tn=(t,e)=>{let n=Array.from(e.querySelectorAll(".loopLine")),r=[],i=[],o=[];n.forEach(t=>{let e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),i=Number(t.getAttribute("x2")),o=Number(t.getAttribute("y2")),a=B(t,e,n,i,o);a.strokeStyle="dotted",a.strokeColor="#adb5bd",a.strokeWidth=2,r.push(a)});let a=Array.from(e.querySelectorAll(".loopText")),s=t.filter(t=>t.type===W.CRITICAL_START).map(t=>t.message);a.forEach(t=>{let e=t.textContent||"",n=H(t,e),r=e.match(/\[(.*?)\]/)?.[1]||"",o=s.includes(r);o&&(n.x+=16),i.push(n)});let u=Array.from(e?.querySelectorAll(".labelBox")),l=Array.from(e?.querySelectorAll(".labelText"));return u.forEach((t,e)=>{let n=l[e]?.textContent||"",r=q(t,"rectangle",{label:{text:n}});r.strokeColor="#adb5bd",r.bgColor="#e9ecef",r.width=void 0,o.push(r)}),{lines:r,texts:i,nodes:o}},tr=t=>{let e=Array.from(t.querySelectorAll(".rect")).filter(t=>t.parentElement?.tagName!=="g"),n=[];return e.forEach(t=>{let e=q(t,"rectangle",{label:{text:""},subtype:"highlight"});n.push(e)}),n},ti=(t,e)=>{t.parse();let n=t.parser.yy,r=[],i=n.getBoxes(),o=tr(e),a=n.getActors(),{nodes:s,lines:u}=Q(a,e),l=n.getMessages(),c=J(l,e),h=tt(l,e),f=te(e),p=tn(l,e);return r.push(o),r.push(...s),r.push(h),r.push(f),{type:"sequence",lines:u,arrows:c,nodes:r,loops:p,groups:i}},to={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},ta={LINE:0,DOTTED_LINE:1},ts=t=>{let e;switch(t){case ta.LINE:e="solid";break;case ta.DOTTED_LINE:e="dotted";break;default:e="solid"}return e},tu=t=>{let e;switch(t){case to.AGGREGATION:e="diamond_outline";break;case to.COMPOSITION:e="diamond";break;case to.EXTENSION:e="triangle_outline";break;case"none":e=null;break;case to.DEPENDENCY:default:e="arrow"}return e},tl=(t,e)=>{let n=[],r=[],i=[];return Object.values(t).forEach(t=>{let{domId:o,id:a}=t,s=b(),u=e.querySelector(`[data-id=${a}]`);if(!u)throw Error(`DOM Node with id ${o} not found`);let{transformX:l,transformY:c}=Z(u),h=q(u.firstChild,"rectangle",{id:a,groupId:s});h.x+=l,h.y+=c,h.metadata={classId:a},n.push(h);let f=Array.from(u.querySelectorAll(".divider"));f.forEach(t=>{let e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),i=Number(t.getAttribute("x2")),o=Number(t.getAttribute("y2")),u=B(t,e,n,i,o,{groupId:s,id:b()});u.startX+=l,u.startY+=c,u.endX+=l,u.endY+=c,u.metadata={classId:a},r.push(u)});let p=u.querySelector(".label")?.children;if(!p)throw"label nodes not found";Array.from(p).forEach(t=>{let e=t.textContent;if(!e)return;let n=b(),{transformX:r,transformY:o}=Z(t),u=t.getBBox(),h=z(l+r,c+o+10,e,{width:u.width,height:u.height,id:n,groupId:s,metadata:{classId:a}});i.push(h)})}),{nodes:n,lines:r,text:i}},tc=(t,e)=>{let n=["triangle_outline","diamond","diamond_outline"],r=e.startArrowhead&&n.includes(e.startArrowhead),i=e.endArrowhead&&n.includes(e.endArrowhead);return(i||r)&&(r&&("LR"===t?e.startX-=16:"RL"===t?e.startX+=16:"TB"===t?e.startY-=16:"BT"===t&&(e.startY+=16)),i&&("LR"===t?e.endX+=16:"RL"===t?e.endX-=16:"TB"===t?e.endY+=16:"BT"===t&&(e.endY-=16))),e},th=(t,e,n,r)=>{let i=n.querySelector(".edgePaths")?.children;if(!i)throw Error("No Edges found!");let o=[],a=[];return t.forEach((t,n)=>{let s,u;let{id1:l,id2:c,relation:h}=t,f=e.find(t=>t.id===l),p=e.find(t=>t.id===c),d=ts(h.lineType),_=tu(h.type1),g=tu(h.type2),y=$(i[n]),m=Y(y.startX,y.startY,y.endX,y.endY,{strokeStyle:d,startArrowhead:_,endArrowhead:g,label:t.title?{text:t.title}:void 0,start:{type:"rectangle",id:f.id},end:{type:"rectangle",id:p.id}}),v=tc(r,m);o.push(v);let{relationTitle1:b,relationTitle2:x}=t;if(b&&"none"!==b){switch(r){case"TB":s=v.startX-20,v.endXv.startX&&(s+=15),u=v.startY-15;break;case"LR":s=v.startX+20,u=v.startY+15,v.endY>v.startY&&(u+=15);break;case"RL":s=v.startX-20,u=v.startY-15,v.startY>v.endY&&(u-=15);break;default:s=v.startX-20,u=v.startY+15}let t=z(s,u,b,{fontSize:16});a.push(t)}if(x&&"none"!==x){switch(r){case"TB":s=v.endX+20,v.endXv.startX&&(s-=15),u=v.endY+15;break;case"LR":s=v.endX-20,u=v.endY-15,v.endY>v.startY&&(u-=15);break;case"RL":s=v.endX+20,u=v.endY+15,v.startY>v.endY&&(u+=15);break;default:s=v.endX+20,u=v.endY-15}let t=z(s,u,x,{fontSize:16});a.push(t)}}),{arrows:o,text:a}},tf=(t,e,n)=>{let r=[],i=[];return t.forEach(t=>{let{id:o,text:a,class:s}=t,u=e.querySelector(`#${o}`);if(!u)throw Error(`Node with id ${o} not found!`);let{transformX:l,transformY:c}=Z(u),h=u.firstChild,f=q(h,"rectangle",{id:o,subtype:"note",label:{text:a}});if(Object.assign(f,{x:f.x+l,y:f.y+c}),r.push(f),s){let t=n.find(t=>t.id===s);if(!t)throw Error(`class node with id ${s} not found!`);let e=f.x+(f.width||0)/2,r=f.y+(f.height||0),o=t.y,a=Y(e,r,e,o,{strokeStyle:"dotted",startArrowhead:null,endArrowhead:null,start:{id:f.id,type:"rectangle"},end:{id:t.id,type:"rectangle"}});i.push(a)}}),{notes:r,connectors:i}},tp=(t,e)=>{t.parse();let n=t.parser.yy,r=n.getDirection(),i=[],o=[],a=[],s=[],u=n.getNamespaces(),l=n.getClasses();if(Object.keys(l).length){let t=tl(l,e);i.push(t.nodes),o.push(...t.lines),a.push(...t.text),s.push(...t.nodes)}let c=n.getRelations(),{arrows:h,text:f}=th(c,s,e,r),{notes:p,connectors:d}=tf(n.getNotes(),e,s);return i.push(p),h.push(...d),a.push(...f),{type:"class",nodes:i,lines:o,arrows:h,text:a,namespaces:u}},td=t=>{let e=t.querySelector("svg");if(!e)throw Error("SVG element not found");let n=e.getBoundingClientRect(),r=n.width,i=n.height;e.setAttribute("width",`${r}`),e.setAttribute("height",`${i}`);let o=unescape(encodeURIComponent(e.outerHTML)),a=btoa(o),s=`data:image/svg+xml;base64,${a}`;return{type:"graphImage",mimeType:"image/svg+xml",dataURL:s,width:r,height:i}},t_=async(t,e=i)=>{let n;C.N.initialize({...i,...e});let r=await C.N.mermaidAPI.getDiagramFromText(D(t)),{svg:o}=await C.N.render("mermaid-to-excalidraw",t),a=document.createElement("div");switch(a.setAttribute("style","opacity: 0; position: relative; z-index: -1;"),a.innerHTML=o,a.id="mermaid-diagram",document.body.appendChild(a),r.type){case"flowchart-v2":n=P(r,a);break;case"sequence":n=ti(r,a);break;case"classDiagram":n=tp(r,a);break;default:n=td(a)}return a.remove(),n},tg=async(t,e)=>{let n=e||{},r=parseInt(n.themeVariables?.fontSize??"")||20,i=await t_(t,{...n,themeVariables:{...n.themeVariables,fontSize:`${1.25*r}px`}}),o=M(i,{fontSize:r});return o}},3371:function(t,e,n){"use strict";n.d(e,{Ab:function(){return r},Fr:function(){return i},JM:function(){return u},K$:function(){return a},h5:function(){return o},lK:function(){return s}});var r="comm",i="rule",o="decl",a="@import",s="@keyframes",u="@layer"},8851:function(t,e,n){"use strict";n.d(e,{MY:function(){return y}});var r=n(3371),i=n(4800),o=1,a=1,s=0,u=0,l=0,c="";function h(t,e,n,r,i,s,u,l){return{value:t,root:e,parent:n,type:r,props:i,children:s,line:o,column:a,length:u,return:"",siblings:l}}function f(){return l=u2||_(l)>3?"":" "}(O);break;case 92:P+=function(t,e){for(;--e&&f()&&!(l<48)&&!(l>102)&&(!(l>57)||!(l<65))&&(!(l>70)||!(l<97)););return d(t,u+(e<6&&32==p()&&32==f()))}(u-1,7);continue;case 47:switch(p()){case 42:case 47:(0,i.R3)(h(k=function(t,e){for(;f();)if(t+l===57)break;else if(t+l===84&&47===p())break;return"/*"+d(e,u-1)+"*"+(0,i.Dp)(47===t?t:f())}(f(),u),n,s,r.Ab,(0,i.Dp)(l),(0,i.tb)(k,2,-2),0,A),A);break;default:P+="/"}break;case 123*Z:T[E++]=(0,i.to)(P)*L;case 125*Z:case 59:case 0:switch($){case 0:case 125:D=0;case 59+S:-1==L&&(P=(0,i.gx)(P,/\f/g,"")),C>0&&(0,i.to)(P)-N&&(0,i.R3)(C>32?v(P+";",y,s,N-1,A):v((0,i.gx)(P," ","")+";",y,s,N-2,A),A);break;case 59:P+=";";default:if((0,i.R3)(U=m(P,n,s,E,S,b,T,R,I=[],j=[],N,x),x),123===$){if(0===S)t(P,n,U,U,I,x,N,T,j);else switch(99===M&&110===(0,i.uO)(P,3)?100:M){case 100:case 108:case 109:case 115:t(e,U,U,y&&(0,i.R3)(m(e,U,U,0,0,b,T,R,b,I=[],N,j),j),b,j,N,T,y?I:j);break;default:t(P,U,U,U,[""],j,0,T,j)}}}E=S=C=0,Z=L=1,R=P="",N=w;break;case 58:N=1+(0,i.to)(P),C=O;default:if(Z<1){if(123==$)--Z;else if(125==$&&0==Z++&&125==(l=u>0?(0,i.uO)(c,--u):0,a--,10===l&&(a=1,o--),l))continue}switch(P+=(0,i.Dp)($),$*Z){case 38:L=S>0?1:(P+="\f",-1);break;case 44:T[E++]=((0,i.to)(P)-1)*L,L=1;break;case 64:45===p()&&(P+=g(f())),M=p(),S=N=(0,i.to)(R=P+=function(t){for(;!_(p());)f();return d(t,u)}(u)),$++;break;case 45:45===O&&2==(0,i.to)(P)&&(Z=0)}}return x}("",null,null,null,[""],(e=t,o=a=1,s=(0,i.to)(c=e),u=0,t=[]),0,[0],t),c="",n}function m(t,e,n,o,a,s,u,l,c,f,p,d){for(var _=a-1,g=0===a?s:[""],y=(0,i.Ei)(g),m=0,v=0,b=0;m0?g[x]+" "+w:(0,i.gx)(w,/&\f/g,g[x])))&&(c[b++]=T);return h(t,e,n,0===a?r.Fr:l,c,f,p,d)}function v(t,e,n,o,a){return h(t,e,n,r.h5,(0,i.tb)(t,0,o),(0,i.tb)(t,o+1,-1),o,a)}},8301:function(t,e,n){"use strict";n.d(e,{P:function(){return a},q:function(){return o}});var r=n(3371),i=n(4800);function o(t,e){for(var n="",r=0;r=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}function a(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function u(t){return e=>+t(e)}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function c(){return!this.__axis}function h(t,e){var n=[],r=null,i=null,h=6,f=6,p=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=1===t||4===t?-1:1,g=4===t||2===t?"x":"y",y=1===t||3===t?a:s;function m(a){var s=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,m=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,v=Math.max(h,0)+p,b=e.range(),x=+b[0]+d,w=+b[b.length-1]+d,T=(e.bandwidth?l:u)(e.copy(),d),A=a.selection?a.selection():a,k=A.selectAll(".domain").data([null]),E=A.selectAll(".tick").data(s,e).order(),S=E.exit(),N=E.enter().append("g").attr("class","tick"),M=E.select("line"),C=E.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(N),M=M.merge(N.append("line").attr("stroke","currentColor").attr(g+"2",_*h)),C=C.merge(N.append("text").attr("fill","currentColor").attr(g,_*v).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),a!==A&&(k=k.transition(a),E=E.transition(a),M=M.transition(a),C=C.transition(a),S=S.transition(a).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=T(t))?y(t+d):this.getAttribute("transform")}),N.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return y((e&&isFinite(e=e(t))?e:T(t))+d)})),S.remove(),k.attr("d",4===t||2===t?f?"M"+_*f+","+x+"H"+d+"V"+w+"H"+_*f:"M"+d+","+x+"V"+w:f?"M"+x+","+_*f+"V"+d+"H"+w+"V"+_*f:"M"+x+","+d+"H"+w),E.attr("opacity",1).attr("transform",function(t){return y(T(t)+d)}),M.attr(g+"2",_*h),C.attr(g,_*v).text(m),A.filter(c).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),A.each(function(){this.__axis=T})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return n=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),m):n.slice()},m.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),m):r&&r.slice()},m.tickFormat=function(t){return arguments.length?(i=t,m):i},m.tickSize=function(t){return arguments.length?(h=f=+t,m):h},m.tickSizeInner=function(t){return arguments.length?(h=+t,m):h},m.tickSizeOuter=function(t){return arguments.length?(f=+t,m):f},m.tickPadding=function(t){return arguments.length?(p=+t,m):p},m.offset=function(t){return arguments.length?(d=+t,m):d},m}function f(t){return h(1,t)}function p(t){return h(3,t)}function d(){}function _(t){return null==t?d:function(){return this.querySelector(t)}}function g(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function y(){return[]}function m(t){return null==t?y:function(){return this.querySelectorAll(t)}}function v(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}n.d(e,{Nb1:function(){return ok},LLu:function(){return p},F5q:function(){return f},$0Z:function(){return oj},Dts:function(){return oP},WQY:function(){return oY},qpX:function(){return oH},u93:function(){return oq},tFB:function(){return oX},YY7:function(){return oV},OvA:function(){return oQ},dCK:function(){return o0},zgE:function(){return o3},fGX:function(){return o6},$m7:function(){return o8},c_6:function(){return oN},fxm:function(){return o9},FdL:function(){return aa},ak_:function(){return as},SxZ:function(){return ac},eA_:function(){return af},jsv:function(){return ad},iJ:function(){return ap},JHv:function(){return nS},jvg:function(){return oO},Fp7:function(){return r},VV$:function(){return i},ve8:function(){return oL},tiA:function(){return function t(){var e,n,r=nD().unknown(void 0),i=r.domain,o=r.range,a=0,s=1,u=!1,l=0,c=0,h=.5;function f(){var t=i().length,r=s0))return[];if(t===e)return[t];let r=e=i))return[];let s=o-i+1,u=Array(s);if(r){if(a<0)for(let t=0;t0;){if((i=nj(u,l,t))===r)return o[a]=u,o[s]=l,n(o);if(i>0)u=Math.floor(u/i)*i,l=Math.ceil(l/i)*i;else if(i<0)u=Math.ceil(u*i)/i,l=Math.floor(l*i)/i;else break;r=i}return e},e}},PKp:function(){return nD},Xf:function(){return i8},K2I:function(){return i7},Ys:function(){return i9},td_:function(){return ot},YPS:function(){return nc},rr1:function(){return rv},i$Z:function(){return tR},y2j:function(){return rN},WQD:function(){return ry},U8T:function(){return rp},Z_i:function(){return r_},Ox9:function(){return rA},F0B:function(){return rj},LqH:function(){return rM},S1K:function(){return rd},Zyz:function(){return rT},Igq:function(){return rS},YDX:function(){return rk},EFj:function(){return rE}});var x=Array.prototype.find;function w(){return this.firstElementChild}var T=Array.prototype.filter;function A(){return Array.from(this.children)}function k(t){return Array(t.length)}function E(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S(t,e,n,r,i,o){for(var a,s=0,u=e.length,l=o.length;se?1:t>=e?0:NaN}E.prototype={constructor:E,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var O="http://www.w3.org/1999/xhtml",Z={svg:"http://www.w3.org/2000/svg",xhtml:O,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function D(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Z.hasOwnProperty(e)?{space:Z[e],local:t}:t}function L(t){return function(){this.removeAttribute(t)}}function $(t){return function(){this.removeAttributeNS(t.space,t.local)}}function R(t,e){return function(){this.setAttribute(t,e)}}function I(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function j(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function U(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function P(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function F(t){return function(){this.style.removeProperty(t)}}function Y(t,e,n){return function(){this.style.setProperty(t,e,n)}}function z(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function H(t,e){return t.style.getPropertyValue(e)||P(t).getComputedStyle(t,null).getPropertyValue(e)}function q(t){return function(){delete this[t]}}function B(t,e){return function(){this[t]=e}}function X(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function W(t){return t.trim().split(/^|\s+/)}function G(t){return t.classList||new V(t)}function V(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function K(t,e){for(var n=G(t),r=-1,i=e.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tw=[null];function tT(t,e){this._groups=t,this._parents=e}function tA(){return new tT([[document.documentElement]],tw)}tT.prototype=tA.prototype={constructor:tT,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i=w&&(w=x+1);!(b=g[w])&&++w=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=C);for(var n=this._groups,r=n.length,i=Array(r),o=0;o1?this.each((null==e?F:"function"==typeof e?z:Y)(t,e,null==n?"":n)):H(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?q:"function"==typeof e?X:B)(t,e)):this.node()[t]},classed:function(t,e){var n=W(t+"");if(arguments.length<2){for(var r=G(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var u,l=0,c=s.length;l{}};function tS(){for(var t,e=0,n=arguments.length,r={};e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,a=i.length;if(arguments.length<2){for(;++o0)for(var n,r,i=Array(n),o=0;o=0&&e._call.call(void 0,t),e=e._next;--tU}()}finally{tU=0,function(){for(var t,e,n=tI,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:tI=e);tj=t,tJ(r)}(),tz=0}}function tQ(){var t=tq.now(),e=t-tY;e>1e3&&(tH-=e,tY=t)}function tJ(t){!tU&&(tP&&(tP=clearTimeout(tP)),t-tz>24?(t<1/0&&(tP=setTimeout(tK,t-tq.now()-tH)),tF&&(tF=clearInterval(tF))):(tF||(tY=tq.now(),tF=setInterval(tQ,1e3)),tU=1,tB(tK)))}function t0(t,e,n){var r=new tG;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tG.prototype=tV.prototype={constructor:tG,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tX():+n)+(null==e?0:+e),this._next||tj===this||(tj?tj._next=this:tI=this,tj=this),this._call=t,this._time=n,tJ()},stop:function(){this._call&&(this._call=null,this._time=1/0,tJ())}};var t1=tS("start","end","cancel","interrupt"),t2=[];function t3(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(u){var l,c,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return t0(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l0)throw Error("too late; already scheduled");return n}function t6(t,e){var n=t4(t,e);if(n.state>3)throw Error("too late; already running");return n}function t4(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function t8(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var t7=180/Math.PI,t9={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function et(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?u+=360:u-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:t8(s,u)})):u&&h.push(i(h)+"rotate("+u+r),(l=o.skewX)!==(c=a.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:t8(l,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:t8(t,n)},{i:s-2,x:t8(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ek(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ek(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ed.exec(t))?new eN(e[1],e[2],e[3],1):(e=e_.exec(t))?new eN(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=eg.exec(t))?ek(e[1],e[2],e[3],e[4]):(e=ey.exec(t))?ek(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=em.exec(t))?eL(e[1],e[2]/100,e[3]/100,1):(e=ev.exec(t))?eL(e[1],e[2]/100,e[3]/100,e[4]):eb.hasOwnProperty(t)?eA(eb[t]):"transparent"===t?new eN(NaN,NaN,NaN,0):null}function eA(t){return new eN(t>>16&255,t>>8&255,255&t,1)}function ek(t,e,n,r){return r<=0&&(t=e=n=NaN),new eN(t,e,n,r)}function eE(t){return(t instanceof el||(t=eT(t)),t)?(t=t.rgb(),new eN(t.r,t.g,t.b,t.opacity)):new eN}function eS(t,e,n,r){return 1==arguments.length?eE(t):new eN(t,e,n,null==r?1:r)}function eN(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function eM(){return`#${eD(this.r)}${eD(this.g)}${eD(this.b)}`}function eC(){let t=eO(this.opacity);return`${1===t?"rgb(":"rgba("}${eZ(this.r)}, ${eZ(this.g)}, ${eZ(this.b)}${1===t?")":`, ${t})`}`}function eO(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function eZ(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eD(t){return((t=eZ(t))<16?"0":"")+t.toString(16)}function eL(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new eR(t,e,n,r)}function e$(t){if(t instanceof eR)return new eR(t.h,t.s,t.l,t.opacity);if(t instanceof el||(t=eT(t)),!t)return new eR;if(t instanceof eR)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+(n0&&u<1?0:a,new eR(a,s,u,t.opacity)}function eR(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function eI(t){return(t=(t||0)%360)<0?t+360:t}function ej(t){return Math.max(0,Math.min(1,t||0))}function eU(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function eP(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}es(el,eT,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:ex,formatHex:ex,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return e$(this).formatHsl()},formatRgb:ew,toString:ew}),es(eN,eS,eu(el,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eN(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eN(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new eN(eZ(this.r),eZ(this.g),eZ(this.b),eO(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:eM,formatHex:eM,formatHex8:function(){return`#${eD(this.r)}${eD(this.g)}${eD(this.b)}${eD((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:eC,toString:eC})),es(eR,function(t,e,n,r){return 1==arguments.length?e$(t):new eR(t,e,n,null==r?1:r)},eu(el,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eR(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eR(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new eN(eU(t>=240?t-240:t+120,i,r),eU(t,i,r),eU(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new eR(eI(this.h),ej(this.s),ej(this.l),eO(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=eO(this.opacity);return`${1===t?"hsl(":"hsla("}${eI(this.h)}, ${100*ej(this.s)}%, ${100*ej(this.l)}%${1===t?")":`, ${t})`}`}}));var eF=t=>()=>t;function eY(t,e){return function(n){return t+n*e}}function ez(t,e){var n=e-t;return n?eY(t,n):eF(isNaN(t)?e:t)}var eH=function t(e){var n,r=1==(n=+(n=e))?ez:function(t,e){var r,i,o;return e-t?(r=t,i=e,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):eF(isNaN(t)?e:t)};function i(t,e){var n=r((t=eS(t)).r,(e=eS(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=ez(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function eq(t){return function(e){var n,r,i=e.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=rs&&(a=e.slice(s,a),l[u]?l[u]+=a:l[++u]=a),(i=i[0])===(o=o[0])?l[u]?l[u]+=o:l[++u]=o:(l[++u]=null,c.push({i:u,x:t8(i,o)})),s=eX.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?t5:t6,function(){var a=i(this,o),s=a.on;s!==n&&(r=(n=s).copy()).on(t,e),a.on=r}))},attr:function(t,e){var n=D(t),r="transform"===n?er:eG;return this.attrTween(t,"function"==typeof e?(n.local?e1:e0)(n,r,ea(this,"attr."+t,e)):null==e?(n.local?eK:eV)(n):(n.local?eJ:eQ)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=D(t);return this.tween(n,(r.local?e2:e3)(r,e))},style:function(t,e,n){var r,i,o,a,s,u,l,c,h,f,p,d,_,g,y,m,v,b,x,w,T,A="transform"==(t+="")?en:eG;return null==e?this.styleTween(t,(r=t,function(){var t=H(this,r),e=(this.style.removeProperty(r),H(this,r));return t===e?null:t===i&&e===o?a:a=A(i=t,o=e)})).on("end.style."+t,e9(t)):"function"==typeof e?this.styleTween(t,(s=t,u=ea(this,"style."+t,e),function(){var t=H(this,s),e=u(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=H(this,s)),t===n?null:t===l&&n===c?h:(c=n,h=A(l=t,e))})).each((f=this._id,v="end."+(m="style."+(p=t)),function(){var t=t6(this,f),e=t.on,n=null==t.value[m]?y||(y=e9(p)):void 0;(e!==d||g!==n)&&(_=(d=e).copy()).on(v,g=n),t.on=_})):this.styleTween(t,(b=t,T=e+"",function(){var t=H(this,b);return t===T?null:t===x?w:w=A(x=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=ea(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=t4(this.node(),n).tween,o=0,a=i.length;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}(this,t)})},tk.prototype.transition=function(t){var e,n;t instanceof ne?(e=t._id,t=t._name):(e=++nt,(n=nr).time=tX(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;ofetch(e,n).then(nu).then(e=>(new DOMParser).parseFromString(e,t))}["w","e"].map(ns),["n","s"].map(ns),["n","w","e","s","nw","ne","sw","se"].map(ns),nl("application/xml"),nl("text/html");var nc=nl("image/svg+xml");let nh=Math.PI/180,nf=180/Math.PI,np=4/29,nd=6/29,n_=3*nd*nd,ng=nd*nd*nd;function ny(t){if(t instanceof nm)return new nm(t.l,t.a,t.b,t.opacity);if(t instanceof nA)return nk(t);t instanceof eN||(t=eE(t));var e,n,r=nw(t.r),i=nw(t.g),o=nw(t.b),a=nv((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=nv((.4360747*r+.3850649*i+.1430804*o)/.96422),n=nv((.0139322*r+.0971045*i+.7141733*o)/.82521)),new nm(116*a-16,500*(e-a),200*(a-n),t.opacity)}function nm(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function nv(t){return t>ng?Math.pow(t,1/3):t/n_+np}function nb(t){return t>nd?t*t*t:n_*(t-np)}function nx(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function nw(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function nT(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof nA)return new nA(t.h,t.c,t.l,t.opacity);if(t instanceof nm||(t=ny(t)),0===t.a&&0===t.b)return new nA(NaN,0180||n<-180?n-360*Math.round(n/360):n):eF(isNaN(t)?e:t)});function nN(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}nE(ez);class nM extends Map{constructor(t,e=nO){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(nC(this,t))}has(t){return super.has(nC(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function nC({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function nO(t){return null!==t&&"object"==typeof t?t.valueOf():t}let nZ=Symbol("implicit");function nD(){var t=new nM,e=[],n=[],r=nZ;function i(i){let o=t.get(i);if(void 0===o){if(r!==nZ)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();for(let r of(e=[],t=new nM,n))t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return nD(e,n).unknown(r)},nN.apply(i,arguments),i}let nL=Math.sqrt(50),n$=Math.sqrt(10),nR=Math.sqrt(2);function nI(t,e,n){let r,i,o;let a=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(a)),u=a/Math.pow(10,s),l=u>=nL?10:u>=n$?5:u>=nR?2:1;return(s<0?(r=Math.round(t*(o=Math.pow(10,-s)/l)),i=Math.round(e*o),r/oe&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,s)*l)),i=Math.round(e/o),r*oe&&--i),ie?1:t>=e?0:NaN}function nF(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function nY(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i>>1;0>n(t[e],r)?i=e+1:o=e}while(inP(t(e),n),r=(e,n)=>t(e)-n):(e=t===nP||t===nF?t:nz,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){let a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:o=e}while(i(e=a[u-1])&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?n3:n2,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(l(e)))}return h.invert=function(n){return l(e((o||(o=r(s,a.map(t),t8)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,nQ),c()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=nK,c()},h.clamp=function(t){return arguments.length?(l=!!t||n0,c()):l!==n0},h.interpolate=function(t){return arguments.length?(u=t,c()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,c()}})()(n0,n0)}var n4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function n8(t){var e;if(!(e=n4.exec(t)))throw Error("invalid format: "+t);return new n7({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]})}function n7(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function n9(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 rt(t){return(t=n9(Math.abs(t)))?t[1]:NaN}function re(t,e){var n=n9(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}n8.prototype=n7.prototype,n7.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var rn={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>re(100*t,e),r:re,s:function(t,e){var n=n9(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(tO=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+n9(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rr(t){return t}var ri=Array.prototype.map,ro=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];tD=(tZ=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?rr:(e=ri.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?rr:(r=ri.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=n8(t)).fill,n=t.align,r=t.sign,f=t.symbol,p=t.zero,d=t.width,_=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(_=!0,m="g"):rn[m]||(void 0===g&&(g=12),y=!0,m="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var v="$"===f?o:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",b="$"===f?a:/[%p]/.test(m)?l:"",x=rn[m],w=/[defgprs%]/.test(m);function T(t){var o,a,l,f=v,T=b;if("c"===m)T=x(t)+T,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:x(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==r&&(A=!1),f=(A?"("===r?r:c:"-"===r||"("===r?"":r)+f,T=("s"===m?ro[8+tO/3]:"")+T+(A&&"("===r?")":""),w){for(o=-1,a=t.length;++o(l=t.charCodeAt(o))||l>57){T=(46===l?s+t.slice(o+1):t.slice(o))+T,t=t.slice(0,o);break}}}_&&!p&&(t=i(t,1/0));var k=f.length+t.length+T.length,E=k>1)+f+t+T+E.slice(k);break;default:t=E+f+t+T}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),T.toString=function(){return t+""},T}return{format:f,formatPrefix:function(t,e){var n=f(((t=n8(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(rt(e)/3))),i=Math.pow(10,-r),o=ro[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,tL=tZ.formatPrefix;let ra=864e5,rs=7*ra,ru=30*ra,rl=365*ra,rc=new Date,rh=new Date;function rf(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{let e=i(t),n=i.ceil(t);return t-e(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{let a;let s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n0))return s;do s.push(a=new Date(+n)),e(n,o),t(n);while(arf(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}}),n&&(i.count=(e,r)=>(rc.setTime(+e),rh.setTime(+r),t(rc),t(rh),Math.floor(n(rc,rh))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let rp=rf(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rp.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?rf(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):rp:null,rp.range;let rd=rf(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rd.range;let r_=rf(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());r_.range;let rg=rf(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());rg.range;let ry=rf(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());ry.range;let rm=rf(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());rm.range;let rv=rf(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/ra,t=>t.getDate()-1);rv.range;let rb=rf(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ra,t=>t.getUTCDate()-1);rb.range;let rx=rf(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ra,t=>Math.floor(t/ra));function rw(t){return rf(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/rs)}rx.range;let rT=rw(0),rA=rw(1),rk=rw(2),rE=rw(3),rS=rw(4),rN=rw(5),rM=rw(6);function rC(t){return rf(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/rs)}rT.range,rA.range,rk.range,rE.range,rS.range,rN.range,rM.range;let rO=rC(0),rZ=rC(1),rD=rC(2),rL=rC(3),r$=rC(4),rR=rC(5),rI=rC(6);rO.range,rZ.range,rD.range,rL.range,r$.range,rR.range,rI.range;let rj=rf(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());rj.range;let rU=rf(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());rU.range;let rP=rf(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());rP.every=t=>isFinite(t=Math.floor(t))&&t>0?rf(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)}):null,rP.range;let rF=rf(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());function rY(t,e,n,r,i,o){let a=[[rd,1,1e3],[rd,5,5e3],[rd,15,15e3],[rd,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,ra],[r,2,2*ra],[n,1,rs],[e,1,ru],[e,3,3*ru],[t,1,rl]];function s(e,n,r){let i=Math.abs(n-e)/r,o=nY(([,,t])=>t).right(a,i);if(o===a.length)return t.every(nU(e/rl,n/rl,r));if(0===o)return rp.every(Math.max(nU(e,n,r),1));let[s,u]=a[i/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?rf(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)}):null,rF.range;let[rz,rH]=rY(rF,rU,rO,rx,rm,rg),[rq,rB]=rY(rP,rj,rT,rv,ry,r_);function rX(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function rW(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rG(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var rV={"-":"",_:" ",0:"0"},rK=/^\s*\d+/,rQ=/^%/,rJ=/[\\^$*+?|[\]().{}]/g;function r0(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),e]))}function r5(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function r6(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function r4(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function r8(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function r7(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function r9(t,e,n){var r=rK.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function it(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ie(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 ir(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function ii(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function io(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ia(t,e,n){var r=rK.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function is(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function iu(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function il(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ic(t,e,n){var r=rK.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function ih(t,e,n){var r=rK.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ip(t,e,n){var r=rQ.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function id(t,e,n){var r=rK.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function i_(t,e,n){var r=rK.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function ig(t,e){return r0(t.getDate(),e,2)}function iy(t,e){return r0(t.getHours(),e,2)}function im(t,e){return r0(t.getHours()%12||12,e,2)}function iv(t,e){return r0(1+rv.count(rP(t),t),e,3)}function ib(t,e){return r0(t.getMilliseconds(),e,3)}function ix(t,e){return ib(t,e)+"000"}function iw(t,e){return r0(t.getMonth()+1,e,2)}function iT(t,e){return r0(t.getMinutes(),e,2)}function iA(t,e){return r0(t.getSeconds(),e,2)}function ik(t){var e=t.getDay();return 0===e?7:e}function iE(t,e){return r0(rT.count(rP(t)-1,t),e,2)}function iS(t){var e=t.getDay();return e>=4||0===e?rS(t):rS.ceil(t)}function iN(t,e){return t=iS(t),r0(rS.count(rP(t),t)+(4===rP(t).getDay()),e,2)}function iM(t){return t.getDay()}function iC(t,e){return r0(rA.count(rP(t)-1,t),e,2)}function iO(t,e){return r0(t.getFullYear()%100,e,2)}function iZ(t,e){return r0((t=iS(t)).getFullYear()%100,e,2)}function iD(t,e){return r0(t.getFullYear()%1e4,e,4)}function iL(t,e){var n=t.getDay();return r0((t=n>=4||0===n?rS(t):rS.ceil(t)).getFullYear()%1e4,e,4)}function i$(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+r0(e/60|0,"0",2)+r0(e%60,"0",2)}function iR(t,e){return r0(t.getUTCDate(),e,2)}function iI(t,e){return r0(t.getUTCHours(),e,2)}function ij(t,e){return r0(t.getUTCHours()%12||12,e,2)}function iU(t,e){return r0(1+rb.count(rF(t),t),e,3)}function iP(t,e){return r0(t.getUTCMilliseconds(),e,3)}function iF(t,e){return iP(t,e)+"000"}function iY(t,e){return r0(t.getUTCMonth()+1,e,2)}function iz(t,e){return r0(t.getUTCMinutes(),e,2)}function iH(t,e){return r0(t.getUTCSeconds(),e,2)}function iq(t){var e=t.getUTCDay();return 0===e?7:e}function iB(t,e){return r0(rO.count(rF(t)-1,t),e,2)}function iX(t){var e=t.getUTCDay();return e>=4||0===e?r$(t):r$.ceil(t)}function iW(t,e){return t=iX(t),r0(r$.count(rF(t),t)+(4===rF(t).getUTCDay()),e,2)}function iG(t){return t.getUTCDay()}function iV(t,e){return r0(rZ.count(rF(t)-1,t),e,2)}function iK(t,e){return r0(t.getUTCFullYear()%100,e,2)}function iQ(t,e){return r0((t=iX(t)).getUTCFullYear()%100,e,2)}function iJ(t,e){return r0(t.getUTCFullYear()%1e4,e,4)}function i0(t,e){var n=t.getUTCDay();return r0((t=n>=4||0===n?r$(t):r$.ceil(t)).getUTCFullYear()%1e4,e,4)}function i1(){return"+0000"}function i2(){return"%"}function i3(t){return+t}function i5(t){return Math.floor(+t/1e3)}function i6(t){return new Date(t)}function i4(t){return t instanceof Date?+t:+new Date(+t)}function i8(){return nN.apply((function t(e,n,r,i,o,a,s,u,l,c){var h=n6(),f=h.invert,p=h.domain,d=c(".%L"),_=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:i3,s:i5,S:iA,u:ik,U:iE,V:iN,w:iM,W:iC,x:null,X:null,y:iO,Y:iD,Z:i$,"%":i2},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:iR,e:iR,f:iF,g:iQ,G:i0,H:iI,I:ij,j:iU,L:iP,m:iY,M:iz,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:i3,s:i5,S:iH,u:iq,U:iB,V:iW,w:iG,W:iV,x:null,X:null,y:iK,Y:iJ,Z:i1,"%":i2},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=_.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return A(t,e,n,r)},d:io,e:io,f:ih,g:it,G:r9,H:is,I:is,j:ia,L:ic,m:ii,M:iu,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:ir,Q:id,s:i_,S:il,u:r6,U:r4,V:r8,w:r5,W:r7,x:function(t,e,r){return A(t,n,e,r)},X:function(t,e,n){return A(t,r,e,n)},y:it,Y:r9,Z:ie,"%":ip};function w(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=rW(rG(o.y,0,1))).getUTCDay())>4||0===i?rZ.ceil(r):rZ(r),r=rb.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=rX(rG(o.y,0,1))).getDay())>4||0===i?rA.ceil(r):rA(r),r=rv.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?rW(rG(o.y,0,1)).getUTCDay():rX(rG(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,rW(o)):rX(o)}}function A(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a=u)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=x[(i=e.charAt(a++))in rV?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return v.x=w(n,v),v.X=w(r,v),v.c=w(e,v),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=T(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=T(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,t$.parse,t$.utcFormat,t$.utcParse;var i7=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r=1?oc:t<=-1?-oc:Math.asin(t)}let op=Math.PI,od=2*op,o_=od-1e-6;function og(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return og;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(c*s-u*l)>1e-6&&i){let f=n-o,p=r-a,d=s*s+u*u,_=Math.sqrt(d),g=Math.sqrt(h),y=i*Math.tan((op-Math.acos((d+h-(f*f+p*p))/(2*_*g)))/2),m=y/g,v=y/_;Math.abs(m-1)>1e-6&&this._append`L${t+m*l},${e+m*c}`,this._append`A${i},${i},0,0,${+(c*f>l*p)},${this._x1=t+v*s},${this._y1=e+v*u}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),u=t+a,l=e+s,c=1^o,h=o?r-i:i-r;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append`L${u},${l}`,n&&(h<0&&(h=h%od+od),h>o_?this._append`A${n},${n},0,1,${c},${t-a},${e-s}A${n},${n},0,1,${c},${this._x1=u},${this._y1=l}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=op)},${c},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function om(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new oy(e)}function ov(t){return t.innerRadius}function ob(t){return t.outerRadius}function ox(t){return t.startAngle}function ow(t){return t.endAngle}function oT(t){return t&&t.padAngle}function oA(t,e,n,r,i,o,a){var s=t-n,u=e-r,l=(a?o:-o)/ou(s*s+u*u),c=l*u,h=-l*s,f=t+c,p=e+h,d=n+c,_=r+h,g=(f+d)/2,y=(p+_)/2,m=d-f,v=_-p,b=m*m+v*v,x=i-o,w=f*_-d*p,T=(v<0?-1:1)*ou(oo(0,x*x*b-w*w)),A=(w*v-m*T)/b,k=(-w*m-v*T)/b,E=(w*v+m*T)/b,S=(-w*m+v*T)/b,N=A-g,M=k-y,C=E-g,O=S-y;return N*N+M*M>C*C+O*O&&(A=E,k=S),{cx:A,cy:k,x01:-c,y01:-h,x11:A*(i/x-1),y11:k*(i/x-1)}}function ok(){var t=ov,e=ob,n=oe(0),r=null,i=ox,o=ow,a=oT,s=null,u=om(l);function l(){var l,c,h=+t.apply(this,arguments),f=+e.apply(this,arguments),p=i.apply(this,arguments)-oc,d=o.apply(this,arguments)-oc,_=on(d-p),g=d>p;if(s||(s=l=u()),f1e-12){if(_>oh-1e-12)s.moveTo(f*oi(p),f*os(p)),s.arc(0,0,f,p,d,!g),h>1e-12&&(s.moveTo(h*oi(d),h*os(d)),s.arc(0,0,h,d,p,g));else{var y,m,v=p,b=d,x=p,w=d,T=_,A=_,k=a.apply(this,arguments)/2,E=k>1e-12&&(r?+r.apply(this,arguments):ou(h*h+f*f)),S=oa(on(f-h)/2,+n.apply(this,arguments)),N=S,M=S;if(E>1e-12){var C=of(E/h*os(k)),O=of(E/f*os(k));(T-=2*C)>1e-12?(C*=g?1:-1,x+=C,w-=C):(T=0,x=w=(p+d)/2),(A-=2*O)>1e-12?(O*=g?1:-1,v+=O,b-=O):(A=0,v=b=(p+d)/2)}var Z=f*oi(v),D=f*os(v),L=h*oi(w),$=h*os(w);if(S>1e-12){var R,I=f*oi(b),j=f*os(b),U=h*oi(x),P=h*os(x);if(_1?0:F<-1?ol:Math.acos(F))/2),X=ou(R[0]*R[0]+R[1]*R[1]);N=oa(S,(h-X)/(B-1)),M=oa(S,(f-X)/(B+1))}else N=M=0}}A>1e-12?M>1e-12?(y=oA(U,P,Z,D,f,M,g),m=oA(I,j,L,$,f,M,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),M1e-12&&T>1e-12?N>1e-12?(y=oA(L,$,I,j,h,-N,g),m=oA(Z,D,U,P,h,-N,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),Nt?1:e>=t?0:NaN}function oD(t){return t}function oL(){var t=oD,e=oZ,n=null,r=oe(0),i=oe(oh),o=oe(0);function a(a){var s,u,l,c,h,f=(a=oE(a)).length,p=0,d=Array(f),_=Array(f),g=+r.apply(this,arguments),y=Math.min(oh,Math.max(-oh,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/f,o.apply(this,arguments)),v=m*(y<0?-1:1);for(s=0;s0&&(p+=h);for(null!=e?d.sort(function(t,n){return e(_[t],_[n])}):null!=n&&d.sort(function(t,e){return n(a[t],a[e])}),s=0,l=p?(y-f*v)/p:0;s0?h*l:0)+v,_[u]={data:a[u],index:s,value:h,startAngle:g,endAngle:c,padAngle:m};return _}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:oe(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:oe(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:oe(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:oe(+t),a):o},a}function o$(){}function oR(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function oI(t){this._context=t}function oj(t){return new oI(t)}function oU(t){this._context=t}function oP(t){return new oU(t)}function oF(t){this._context=t}function oY(t){return new oF(t)}oy.prototype,Array.prototype.slice,oS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},oI.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:oR(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:oR(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},oU.prototype={areaStart:o$,areaEnd:o$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:oR(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},oF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:oR(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class oz{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function oH(t){return new oz(t,!0)}function oq(t){return new oz(t,!1)}function oB(t,e){this._basis=new oI(t),this._beta=e}oB.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var oX=function t(e){function n(t){return 1===e?new oI(t):new oB(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function oW(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function oG(t,e){this._context=t,this._k=(1-e)/6}oG.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:oW(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oV=function t(e){function n(t){return new oG(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oK(t,e){this._context=t,this._k=(1-e)/6}oK.prototype={areaStart:o$,areaEnd:o$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oQ=function t(e){function n(t){return new oK(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oJ(t,e){this._context=t,this._k=(1-e)/6}oJ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o0=function t(e){function n(t){return new oJ(t,e)}return n.tension=function(e){return t(+e)},n}(0);function o1(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>1e-12){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function o2(t,e){this._context=t,this._alpha=e}o2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o3=function t(e){function n(t){return e?new o2(t,e):new oG(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o5(t,e){this._context=t,this._alpha=e}o5.prototype={areaStart:o$,areaEnd:o$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o6=function t(e){function n(t){return e?new o5(t,e):new oK(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o4(t,e){this._context=t,this._alpha=e}o4.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o8=function t(e){function n(t){return e?new o4(t,e):new oJ(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o7(t){this._context=t}function o9(t){return new o7(t)}function at(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function ae(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function an(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function ar(t){this._context=t}function ai(t){this._context=new ao(t)}function ao(t){this._context=t}function aa(t){return new ar(t)}function as(t){return new ai(t)}function au(t){this._context=t}function al(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},a_.prototype={constructor:a_,scale:function(t){return 1===t?this:new a_(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new a_(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new a_(1,0,0),a_.prototype},1883:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(1691),i=n(2142),o=class{constructor(){this.type=i.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.w.ALL}is(t){return this.type===t}},a=class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}};let s=new a({r:0,g:0,b:0,a:0},"transparent");var u=s},1610:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(1883),i=n(2142);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let n=e[1],i=parseInt(n,16),a=n.length,s=a%4==0,u=a>4,l=u?1:17,c=u?8:4,h=s?0:-1,f=u?255:15;return r.Z.set({r:(i>>c*(h+3)&f)*l,g:(i>>c*(h+2)&f)*l,b:(i>>c*(h+1)&f)*l,a:s?(i&f)*l/255:1},t)},stringify:t=>{let{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}${i.Q[Math.round(255*o)]}`:`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}`}};var a=n(1691);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,n]=e;switch(n){case"grad":return a.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return a.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.Z.channel.clamp.h(360*parseFloat(t))}}return a.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let n=t.match(s.re);if(!n)return;let[,i,o,u,l,c]=n;return r.Z.set({h:s._hue2deg(i),s:a.Z.channel.clamp.s(parseFloat(o)),l:a.Z.channel.clamp.l(parseFloat(u)),a:l?a.Z.channel.clamp.a(c?parseFloat(l)/100:parseFloat(l)):1},t)},stringify:t=>{let{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%, ${i})`:`hsl(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%)`}},u={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=u.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in u.colors)if(u.colors[t]===e)return t}},l={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let n=t.match(l.re);if(!n)return;let[,i,o,s,u,c,h,f,p]=n;return r.Z.set({r:a.Z.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.Z.channel.clamp.g(u?2.55*parseFloat(s):parseFloat(s)),b:a.Z.channel.clamp.b(h?2.55*parseFloat(c):parseFloat(c)),a:f?a.Z.channel.clamp.a(p?parseFloat(f)/100:parseFloat(f)):1},t)},stringify:t=>{let{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)}, ${a.Z.lang.round(i)})`:`rgb(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)})`}};var c={format:{keyword:u,hex:o,rgb:l,rgba:l,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||l.parse(t)||s.parse(t)||u.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):l.stringify(t)}},2142:function(t,e,n){"use strict";n.d(e,{Q:function(){return i},w:function(){return o}});var r=n(1691);let i={};for(let t=0;t<=255;t++)i[t]=r.Z.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},3314:function(t,e,n){"use strict";var r=n(1610),i=n(3438);let o=(t,e)=>{let n=r.Z.parse(t),o={};for(let t in e)e[t]&&(o[t]=n[t]+e[t]);return(0,i.Z)(t,o)};e.Z=o},6174:function(t,e,n){"use strict";var r=n(1691),i=n(1610);let o=(t,e,n)=>{let o=i.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+n);return a!==s&&(o[e]=s),i.Z.stringify(o)};e.Z=o},3438:function(t,e,n){"use strict";var r=n(1691),i=n(1610);let o=(t,e)=>{let n=i.Z.parse(t);for(let t in e)n[t]=r.Z.channel.clamp[t](e[t]);return i.Z.stringify(n)};e.Z=o},7201:function(t,e,n){"use strict";var r=n(6174);let i=(t,e)=>(0,r.Z)(t,"l",-e);e.Z=i},5835:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(1610),i=n(1117);let o=(t,e,n=50)=>{let{r:o,g:a,b:s,a:u}=r.Z.parse(t),{r:l,g:c,b:h,a:f}=r.Z.parse(e),p=n/100,d=2*p-1,_=u-f,g=((d*_==-1?d:(d+_)/(1+d*_))+1)/2,y=1-g;return(0,i.Z)(o*g+l*y,a*g+c*y,s*g+h*y,u*p+f*(1-p))},a=(t,e=100)=>{let n=r.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,o(n,t,e)};var s=a},1619:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(1691),i=n(1610);let o=t=>{let{r:e,g:n,b:o}=i.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(n)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)},a=t=>o(t)>=.5,s=t=>!a(t);var u=s},2281:function(t,e,n){"use strict";var r=n(6174);let i=(t,e)=>(0,r.Z)(t,"l",e);e.Z=i},1117:function(t,e,n){"use strict";var r=n(1691),i=n(1883),o=n(1610),a=n(3438);let s=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});let u=i.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(n),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(u)};e.Z=s},1691:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t,hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100,n/=100;let o=n<.5?n*(1+e):n+e-n*e,a=2*n-o;switch(i){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;let i=Math.max(t,e,n),o=Math.min(t,e,n),a=(i+o)/2;if("l"===r)return 100*a;if(i===o)return 0;let s=i-o;if("s"===r)return 100*(a>.5?s/(2-i-o):s/(i+o));switch(i){case t:return((e-n)/s+(ee>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},7308:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9651),i=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return -1},o=Array.prototype.splice;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var s=a},6183:function(t,e,n){"use strict";var r=n(2508),i=n(6092),o=(0,r.Z)(i.Z,"Map");e.Z=o},7834:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=(0,n(2508).Z)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0){if(++r>=800)return arguments[0]}else r=0;return u.apply(void 0,arguments)})},19:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2002:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},9651:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},9203:function(t,e){"use strict";e.Z=function(t){return t}},9169:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(3589),i=n(8533),o=function(t){return(0,i.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(t){return(0,i.Z)(t)&&s.call(t,"callee")&&!u.call(t,"callee")}},7771:function(t,e){"use strict";var n=Array.isArray;e.Z=n},585:function(t,e,n){"use strict";var r=n(3234),i=n(1656);e.Z=function(t){return null!=t&&(0,i.Z)(t.length)&&!(0,r.Z)(t)}},836:function(t,e,n){"use strict";var r=n(585),i=n(8533);e.Z=function(t){return(0,i.Z)(t)&&(0,r.Z)(t)}},7008:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(6092),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.Z.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},9697:function(t,e,n){"use strict";var r=n(9473),i=n(3970),o=n(9169),a=n(7771),s=n(585),u=n(7008),l=n(2764),c=n(8843),h=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,c.Z)(t)||(0,o.Z)(t)))return!t.length;var e=(0,i.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,l.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},3234:function(t,e,n){"use strict";var r=n(3589),i=n(7226);e.Z=function(t){if(!(0,i.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},7514:function(t,e,n){"use strict";var r=n(3589),i=n(2513),o=n(8533),a=Object.prototype,s=Function.prototype.toString,u=a.hasOwnProperty,l=s.call(Object);e.Z=function(t){if(!(0,o.Z)(t)||"[object Object]"!=(0,r.Z)(t))return!1;var e=(0,i.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},8843:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(3589),i=n(1656),o=n(8533),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(1162),u=n(8351),l=u.Z&&u.Z.isTypedArray,c=l?(0,s.Z)(l):function(t){return(0,o.Z)(t)&&(0,i.Z)(t.length)&&!!a[(0,r.Z)(t)]}},2957:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(7668),i=n(7226),o=n(2764),a=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty,u=function(t){if(!(0,i.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var r in t)"constructor"==r&&(e||!s.call(t,r))||n.push(r);return n},l=n(585),c=function(t){return(0,l.Z)(t)?(0,r.Z)(t,!0):u(t)}},2454:function(t,e,n){"use strict";var r=n(7834);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.Z),n}i.Cache=r.Z,e.Z=i},9236:function(t,e,n){"use strict";n.d(e,{Z:function(){return N}});var r,i=n(1667),o=n(4752),a=n(9651),s=function(t,e,n){(void 0===n||(0,a.Z)(t[e],n))&&(void 0!==n||e in t)||(0,o.Z)(t,e,n)},u=n(1395),l=n(1050),c=n(2701),h=n(7215),f=n(3658),p=n(9169),d=n(7771),_=n(836),g=n(7008),y=n(3234),m=n(7226),v=n(7514),b=n(8843),x=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},w=n(1899),T=n(2957),A=function(t,e,n,r,i,o,a){var u=x(t,n),A=x(e,n),k=a.get(A);if(k){s(t,n,k);return}var E=o?o(u,A,n+"",t,e,a):void 0,S=void 0===E;if(S){var N=(0,d.Z)(A),M=!N&&(0,g.Z)(A),C=!N&&!M&&(0,b.Z)(A);(E=A,N||M||C)?(0,d.Z)(u)?E=u:(0,_.Z)(u)?E=(0,h.Z)(u):M?(S=!1,E=(0,l.Z)(A,!0)):C?(S=!1,E=(0,c.Z)(A,!0)):E=[]:(0,v.Z)(A)||(0,p.Z)(A)?(E=u,(0,p.Z)(u))?E=(0,w.Z)(u,(0,T.Z)(u)):(!(0,m.Z)(u)||(0,y.Z)(u))&&(E=(0,f.Z)(A)):S=!1}S&&(a.set(A,E),i(E,A,r,o,a),a.delete(A)),s(t,n,E)},k=function t(e,n,r,o,a){e!==n&&(0,u.Z)(n,function(u,l){if(a||(a=new i.Z),(0,m.Z)(u))A(e,n,l,r,t,o,a);else{var c=o?o(x(e,l),u,l+"",e,n,a):void 0;void 0===c&&(c=u),s(e,l,c)}},T.Z)},E=n(9581),S=n(439),N=(r=function(t,e,n){k(t,e,n)},(0,E.Z)(function(t,e){var n=-1,i=e.length,o=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(o=r.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,S.Z)(e[0],e[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n-1)return u;var l=u.match(a);if(!l)return u;var c=l[0];return n.test(c)?e.Rq:u}},8319:function(t,e){"use strict";e.K=void 0,e.K=function(t,e){void 0===e&&(e={listUnicodeChar:""}),(e=e||{}).listUnicodeChar=!!e.hasOwnProperty("listUnicodeChar")&&e.listUnicodeChar,e.stripListLeaders=!e.hasOwnProperty("stripListLeaders")||e.stripListLeaders,e.gfm=!e.hasOwnProperty("gfm")||e.gfm,e.useImgAltText=!e.hasOwnProperty("useImgAltText")||e.useImgAltText,e.preserveLinks=!!e.hasOwnProperty("preserveLinks")&&e.preserveLinks;var n=t||"";n=n.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(n=e.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.preserveLinks&&(n=n.replace(/\[(.*?)\][\[\(](.*?)[\]\)]/g,"$1 ($2)")),n=n.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,"\n\n").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(e){return console.error(e),t}return n}},7856:function(t){t.exports=function(){"use strict";let{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object,{freeze:o,seal:a,create:s}=Object,{apply:u,construct:l}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),u||(u=function(t,e,n){return t.apply(e,n)}),l||(l=function(t,e){return new t(...e)});let c=w(Array.prototype.forEach),h=w(Array.prototype.pop),f=w(Array.prototype.push),p=w(String.prototype.toLowerCase),d=w(String.prototype.toString),_=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),m=w(String.prototype.trim),v=w(Object.prototype.hasOwnProperty),b=w(RegExp.prototype.test),x=(X=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){let t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function A(e){let n=s(null);for(let[r,i]of t(e)){let t=v(e,r);t&&(Array.isArray(i)?n[r]=function(t){for(let e=0;e/gm),U=a(/\${[\w\W]*}/gm),P=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),B=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X,W=Object.freeze({__proto__:null,MUSTACHE_EXPR:I,ERB_EXPR:j,TMPLIT_EXPR:U,DATA_ATTR:P,ARIA_ATTR:F,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:H,DOCTYPE_NAME:q,CUSTOM_ELEMENT:B});let G={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},V=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.1.6",i.removed=[],!r||!r.document||r.document.nodeType!==G.document)return i.isSupported=!1,i;let{document:a}=r,u=a,l=u.currentScript,{DocumentFragment:w,HTMLTemplateElement:I,Node:j,Element:U,NodeFilter:P,NamedNodeMap:F=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:z,DOMParser:H,trustedTypes:B}=r,X=U.prototype,K=k(X,"cloneNode"),Q=k(X,"remove"),J=k(X,"nextSibling"),tt=k(X,"childNodes"),te=k(X,"parentNode");if("function"==typeof I){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let tn="",{implementation:tr,createNodeIterator:ti,createDocumentFragment:to,getElementsByTagName:ta}=a,{importNode:ts}=u,tu={};i.isSupported="function"==typeof t&&"function"==typeof te&&tr&&void 0!==tr.createHTMLDocument;let{MUSTACHE_EXPR:tl,ERB_EXPR:tc,TMPLIT_EXPR:th,DATA_ATTR:tf,ARIA_ATTR:tp,IS_SCRIPT_OR_DATA:td,ATTR_WHITESPACE:t_,CUSTOM_ELEMENT:tg}=W,{IS_ALLOWED_URI:ty}=W,tm=null,tv=T({},[...E,...S,...N,...C,...Z]),tb=null,tx=T({},[...D,...L,...R,...$]),tw=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tT=null,tA=null,tk=!0,tE=!0,tS=!1,tN=!0,tM=!1,tC=!0,tO=!1,tZ=!1,tD=!1,tL=!1,tR=!1,t$=!1,tI=!0,tj=!1,tU=!0,tP=!1,tF={},tY=null,tz=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tH=null,tq=T({},["audio","video","img","source","image","track"]),tB=null,tX=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tW="http://www.w3.org/1998/Math/MathML",tG="http://www.w3.org/2000/svg",tV="http://www.w3.org/1999/xhtml",tK=tV,tQ=!1,tJ=null,t0=T({},[tW,tG,tV],d),t1=null,t2=["application/xhtml+xml","text/html"],t3=null,t5=null,t6=a.createElement("form"),t4=function(t){return t instanceof RegExp||t instanceof Function},t8=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t5||t5!==t){if(t&&"object"==typeof t||(t={}),t=A(t),t3="application/xhtml+xml"===(t1=-1===t2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?d:p,tm=v(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,t3):tv,tb=v(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,t3):tx,tJ=v(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,d):t0,tB=v(t,"ADD_URI_SAFE_ATTR")?T(A(tX),t.ADD_URI_SAFE_ATTR,t3):tX,tH=v(t,"ADD_DATA_URI_TAGS")?T(A(tq),t.ADD_DATA_URI_TAGS,t3):tq,tY=v(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,t3):tz,tT=v(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,t3):{},tA=v(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,t3):{},tF=!!v(t,"USE_PROFILES")&&t.USE_PROFILES,tk=!1!==t.ALLOW_ARIA_ATTR,tE=!1!==t.ALLOW_DATA_ATTR,tS=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tN=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tM=t.SAFE_FOR_TEMPLATES||!1,tC=!1!==t.SAFE_FOR_XML,tO=t.WHOLE_DOCUMENT||!1,tL=t.RETURN_DOM||!1,tR=t.RETURN_DOM_FRAGMENT||!1,t$=t.RETURN_TRUSTED_TYPE||!1,tD=t.FORCE_BODY||!1,tI=!1!==t.SANITIZE_DOM,tj=t.SANITIZE_NAMED_PROPS||!1,tU=!1!==t.KEEP_CONTENT,tP=t.IN_PLACE||!1,ty=t.ALLOWED_URI_REGEXP||Y,tK=t.NAMESPACE||tV,tw=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t4(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tw.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t4(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tw.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tw.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tM&&(tE=!1),tR&&(tL=!0),tF&&(tm=T({},Z),tb=[],!0===tF.html&&(T(tm,E),T(tb,D)),!0===tF.svg&&(T(tm,S),T(tb,L),T(tb,$)),!0===tF.svgFilters&&(T(tm,N),T(tb,L),T(tb,$)),!0===tF.mathMl&&(T(tm,C),T(tb,R),T(tb,$))),t.ADD_TAGS&&(tm===tv&&(tm=A(tm)),T(tm,t.ADD_TAGS,t3)),t.ADD_ATTR&&(tb===tx&&(tb=A(tb)),T(tb,t.ADD_ATTR,t3)),t.ADD_URI_SAFE_ATTR&&T(tB,t.ADD_URI_SAFE_ATTR,t3),t.FORBID_CONTENTS&&(tY===tz&&(tY=A(tY)),T(tY,t.FORBID_CONTENTS,t3)),tU&&(tm["#text"]=!0),tO&&T(tm,["html","head","body"]),tm.table&&(T(tm,["tbody"]),delete tT.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');tn=(n=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=V(B,l)),null!==n&&"string"==typeof tn&&(tn=n.createHTML(""));o&&o(t),t5=t}},t7=T({},["mi","mo","mn","ms","mtext"]),t9=T({},["foreignobject","annotation-xml"]),et=T({},["title","style","font","a","script"]),ee=T({},[...S,...N,...M]),en=T({},[...C,...O]),er=function(t){let e=te(t);e&&e.tagName||(e={namespaceURI:tK,tagName:"template"});let n=p(t.tagName),r=p(e.tagName);return!!tJ[t.namespaceURI]&&(t.namespaceURI===tG?e.namespaceURI===tV?"svg"===n:e.namespaceURI===tW?"svg"===n&&("annotation-xml"===r||t7[r]):Boolean(ee[n]):t.namespaceURI===tW?e.namespaceURI===tV?"math"===n:e.namespaceURI===tG?"math"===n&&t9[r]:Boolean(en[n]):t.namespaceURI===tV?(e.namespaceURI!==tG||!!t9[r])&&(e.namespaceURI!==tW||!!t7[r])&&!en[n]&&(et[n]||!ee[n]):"application/xhtml+xml"===t1&&!!tJ[t.namespaceURI])},ei=function(t){f(i.removed,{element:t});try{te(t).removeChild(t)}catch(e){Q(t)}},eo=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tb[t]){if(tL||tR)try{ei(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},ea=function(t){let e=null,r=null;if(tD)t=""+t;else{let e=_(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===t1&&tK===tV&&(t=''+t+"");let i=n?n.createHTML(t):t;if(tK===tV)try{e=new H().parseFromString(i,t1)}catch(t){}if(!e||!e.documentElement){e=tr.createDocument(tK,"template",null);try{e.documentElement.innerHTML=tQ?tn:i}catch(t){}}let o=e.body||e.documentElement;return(t&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),tK===tV)?ta.call(e,tO?"html":"body")[0]:tO?e.documentElement:o},es=function(t){return ti.call(t.ownerDocument||t,t,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},eu=function(t){return t instanceof z&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof F)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},el=function(t){return"function"==typeof j&&t instanceof j},ec=function(t,e,n){tu[t]&&c(tu[t],t=>{t.call(i,e,n,t5)})},eh=function(t){let e=null;if(ec("beforeSanitizeElements",t,null),eu(t))return ei(t),!0;let n=t3(t.nodeName);if(ec("uponSanitizeElement",t,{tagName:n,allowedTags:tm}),t.hasChildNodes()&&!el(t.firstElementChild)&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent)||t.nodeType===G.progressingInstruction||tC&&t.nodeType===G.comment&&b(/<[/\w]/g,t.data))return ei(t),!0;if(!tm[n]||tT[n]){if(!tT[n]&&ep(n)&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,n)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(n)))return!1;if(tU&&!tY[n]){let e=te(t)||t.parentNode,n=tt(t)||t.childNodes;if(n&&e){let r=n.length;for(let i=r-1;i>=0;--i){let r=K(n[i],!0);r.__removalCount=(t.__removalCount||0)+1,e.insertBefore(r,J(t))}}}return ei(t),!0}return t instanceof U&&!er(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&b(/<\/no(script|embed|frames)/i,t.innerHTML)?(ei(t),!0):(tM&&t.nodeType===G.text&&(e=t.textContent,c([tl,tc,th],t=>{e=g(e,t," ")}),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),ec("afterSanitizeElements",t,null),!1)},ef=function(t,e,n){if(tI&&("id"===e||"name"===e)&&(n in a||n in t6))return!1;if(tE&&!tA[e]&&b(tf,e));else if(tk&&b(tp,e));else if(!tb[e]||tA[e]){if(!(ep(t)&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,t)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(t))&&(tw.attributeNameCheck instanceof RegExp&&b(tw.attributeNameCheck,e)||tw.attributeNameCheck instanceof Function&&tw.attributeNameCheck(e))||"is"===e&&tw.allowCustomizedBuiltInElements&&(tw.tagNameCheck instanceof RegExp&&b(tw.tagNameCheck,n)||tw.tagNameCheck instanceof Function&&tw.tagNameCheck(n))))return!1}else if(tB[e]);else if(b(ty,g(n,t_,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===y(n,"data:")&&tH[t]);else if(tS&&!b(td,g(n,t_,"")));else if(n)return!1;return!0},ep=function(t){return"annotation-xml"!==t&&_(t,tg)},ed=function(t){ec("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tb},o=e.length;for(;o--;){let a=e[o],{name:s,namespaceURI:u,value:l}=a,f=t3(s),p="value"===s?l:m(l);if(r.attrName=f,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,ec("uponSanitizeAttribute",t,r),p=r.attrValue,tC&&b(/((--!?|])>)|<\/(style|title)/i,p)){eo(s,t);continue}if(r.forceKeepAttr||(eo(s,t),!r.keepAttr))continue;if(!tN&&b(/\/>/i,p)){eo(s,t);continue}tM&&c([tl,tc,th],t=>{p=g(p,t," ")});let d=t3(t.nodeName);if(ef(d,f,p)){if(tj&&("id"===f||"name"===f)&&(eo(s,t),p="user-content-"+p),n&&"object"==typeof B&&"function"==typeof B.getAttributeType){if(u);else switch(B.getAttributeType(d,f)){case"TrustedHTML":p=n.createHTML(p);break;case"TrustedScriptURL":p=n.createScriptURL(p)}}try{u?t.setAttributeNS(u,s,p):t.setAttribute(s,p),eu(t)?ei(t):h(i.removed)}catch(t){}}}ec("afterSanitizeAttributes",t,null)},e_=function t(e){let n=null,r=es(e);for(ec("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)ec("uponSanitizeShadowNode",n,null),eh(n)||(n.content instanceof w&&t(n.content),ed(n));ec("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if((tQ=!t)&&(t=""),"string"!=typeof t&&!el(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw x("dirty is not a string, aborting")}else throw x("toString is not a function")}if(!i.isSupported)return t;if(tZ||t8(e),i.removed=[],"string"==typeof t&&(tP=!1),tP){if(t.nodeName){let e=t3(t.nodeName);if(!tm[e]||tT[e])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof j)(o=(r=ea("")).ownerDocument.importNode(t,!0)).nodeType===G.element&&"BODY"===o.nodeName?r=o:"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tL&&!tM&&!tO&&-1===t.indexOf("<"))return n&&t$?n.createHTML(t):t;if(!(r=ea(t)))return tL?null:t$?tn:""}r&&tD&&ei(r.firstChild);let l=es(tP?t:r);for(;a=l.nextNode();)eh(a)||(a.content instanceof w&&e_(a.content),ed(a));if(tP)return t;if(tL){if(tR)for(s=to.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(tb.shadowroot||tb.shadowrootmode)&&(s=ts.call(u,s,!0)),s}let h=tO?r.outerHTML:r.innerHTML;return tO&&tm["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(q,r.ownerDocument.doctype.name)&&(h="\n"+h),tM&&c([tl,tc,th],t=>{h=g(h,t," ")}),n&&t$?n.createHTML(h):h},i.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t8(t),tZ=!0},i.clearConfig=function(){t5=null,tZ=!1},i.isValidAttribute=function(t,e,n){t5||t8({});let r=t3(t),i=t3(e);return ef(r,i,n)},i.addHook=function(t,e){"function"==typeof e&&(tu[t]=tu[t]||[],f(tu[t],e))},i.removeHook=function(t){if(tu[t])return h(tu[t])},i.removeHooks=function(t){tu[t]&&(tu[t]=[])},i.removeAllHooks=function(){tu={}},i}()}()},8464:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;nthis.converter(t,{...e,fontSize:e.fontSize||20}),this.converter=t}}(a=u||(u={})).ROUND="round",a.STADIUM="stadium",a.DOUBLECIRCLE="doublecircle",a.CIRCLE="circle",a.DIAMOND="diamond",(l||(l={})).COLOR="color",(s=c||(c={})).FILL="fill",s.STROKE="stroke",s.STROKE_WIDTH="stroke-width",s.STROKE_DASHARRAY="stroke-dasharray";var a,s,u,l,c,h=n(8319);let f={arrow_circle:{endArrowhead:"dot"},arrow_cross:{endArrowhead:"bar"},arrow_open:{endArrowhead:null,startArrowhead:null},double_arrow_circle:{endArrowhead:"dot",startArrowhead:"dot"},double_arrow_cross:{endArrowhead:"bar",startArrowhead:"bar"},double_arrow_point:{endArrowhead:"arrow",startArrowhead:"arrow"}},p=t=>f[t],d=t=>{let e=t.text;return"markdown"===t.labelType&&(e=(0,h.K)(t.text)),_(e)},_=t=>t.replace(/\s?(fa|fab):[a-zA-Z0-9-]+/g,""),g=t=>{let e={};return Object.keys(t).forEach(n=>{switch(n){case c.FILL:e.backgroundColor=t[n],e.fillStyle="solid";break;case c.STROKE:e.strokeColor=t[n];break;case c.STROKE_WIDTH:e.strokeWidth=Number(t[n]?.split("px")[0]);break;case c.STROKE_DASHARRAY:e.strokeStyle="dashed"}}),e},y=t=>{let e={};return Object.keys(t).forEach(n=>{n===l.COLOR&&(e.strokeColor=t[n])}),e},m=t=>{let e={};t.subGraphs.map(n=>{n.nodeIds.forEach(r=>{e[n.id]={id:n.id,parent:null,isLeaf:!1},e[r]={id:r,parent:n.id,isLeaf:void 0!==t.vertices[r]}})});let n={};return[...Object.keys(t.vertices),...t.subGraphs.map(t=>t.id)].forEach(t=>{if(!e[t])return;let r=e[t],i=[];for(r.isLeaf||i.push(`subgraph_group_${r.id}`);;)if(r.parent)i.push(`subgraph_group_${r.parent}`),r=e[r.parent];else break;n[t]=i}),{getGroupIds:t=>n[t]||[],getParentId:t=>e[t]?e[t].parent:null}},v=new o({converter:(t,e)=>{let n=[],r=e.fontSize,{getGroupIds:i,getParentId:o}=m(t);return t.subGraphs.reverse().forEach(t=>{let e=i(t.id),o={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,label:{groupIds:e,text:d(t),fontSize:r,verticalAlign:"top"}};n.push(o)}),Object.values(t.vertices).forEach(t=>{if(!t)return;let e=i(t.id),o=g(t.containerStyle),a=y(t.labelStyle),s={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,strokeWidth:2,label:{groupIds:e,text:d(t),fontSize:r,...a},link:t.link||null,...o};switch(t.type){case u.STADIUM:case u.ROUND:s={...s,roundness:{type:3}};break;case u.DOUBLECIRCLE:{e.push(`doublecircle_${t.id}}`);let i={type:"ellipse",groupIds:e,x:t.x+5,y:t.y+5,width:t.width-10,height:t.height-10,strokeWidth:2,roundness:{type:3},label:{groupIds:e,text:d(t),fontSize:r}};s={...s,groupIds:e,type:"ellipse"},n.push(i);break}case u.CIRCLE:s.type="ellipse";break;case u.DIAMOND:s.type="diamond"}n.push(s)}),t.edges.forEach(t=>{let e=[],a=o(t.start),s=o(t.end);a&&a===s&&(e=i(a));let{startX:u,startY:l,reflectionPoints:c}=t,h=c.map(t=>[t.x-c[0].x,t.y-c[0].y]),f=p(t.type),_=`${t.start}_${t.end}`,g={id:_,type:"arrow",groupIds:e,x:u,y:l,strokeWidth:"thick"===t.stroke?4:2,strokeStyle:"dotted"===t.stroke?"dashed":void 0,points:h,...t.text?{label:{text:d(t),fontSize:r,groupIds:e}}:{},roundness:{type:2},...f},y=n.find(e=>e.id===t.start),m=n.find(e=>e.id===t.end);y&&m&&(g.start={id:y.id||""},g.end={id:m.id||""},n.push(g))}),{elements:n}}}),b=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>((e&=63)<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),""),x=new o({converter:t=>{let e=b(),{width:n,height:r}=t,i={[e]:{id:e,mimeType:t.mimeType,dataURL:t.dataURL}};return{files:i,elements:[{type:"image",x:0,y:0,width:n,height:r,status:"saved",fileId:e}]}}}),w=t=>t.replace(/\\n/g,"\n"),T=t=>{let e={type:"line",x:t.startX,y:t.startY,points:[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t.strokeStyle||"solid",strokeColor:t.strokeColor||"#000",strokeWidth:t.strokeWidth||1};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},A=t=>{let e={type:"text",x:t.x,y:t.y,width:t.width,height:t.height,text:w(t.text)||"",fontSize:t.fontSize,verticalAlign:"middle"};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},k=t=>{let e={};"rectangle"===t.type&&"activation"===t.subtype&&(e={backgroundColor:"#e9ecef",fillStyle:"solid"});let n={id:t.id,type:t.type,x:t.x,y:t.y,width:t.width,height:t.height,label:{text:w(t?.label?.text||""),fontSize:t?.label?.fontSize,verticalAlign:t.label?.verticalAlign||"middle",strokeColor:t.label?.color||"#000",groupIds:t.groupId?[t.groupId]:[]},strokeStyle:t?.strokeStyle,strokeWidth:t?.strokeWidth,strokeColor:t?.strokeColor,backgroundColor:t?.bgColor,fillStyle:"solid",...e};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n},E=t=>{let e={type:"arrow",x:t.startX,y:t.startY,points:t.points||[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t?.strokeStyle||"solid",endArrowhead:t?.endArrowhead||null,startArrowhead:t?.startArrowhead||null,label:{text:w(t?.label?.text||""),fontSize:16},roundness:{type:2},start:t.start,end:t.end};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),e},S=new o({converter:t=>{let e=[],n=[];if(Object.values(t.nodes).forEach(t=>{t&&t.length&&t.forEach(t=>{let r;switch(t.type){case"line":r=T(t);break;case"rectangle":case"ellipse":r=k(t);break;case"text":r=A(t);break;default:throw`unknown type ${t.type}`}"rectangle"===t.type&&t?.subtype==="activation"?n.push(r):e.push(r)})}),Object.values(t.lines).forEach(t=>{t&&e.push(T(t))}),Object.values(t.arrows).forEach(t=>{t&&(e.push(E(t)),t.sequenceNumber&&e.push(k(t.sequenceNumber)))}),e.push(...n),t.loops){let{lines:n,texts:r,nodes:i}=t.loops;n.forEach(t=>{e.push(T(t))}),r.forEach(t=>{e.push(A(t))}),i.forEach(t=>{e.push(k(t))})}return t.groups&&t.groups.forEach(t=>{let{actorKeys:n,name:r}=t,i=1/0,o=1/0,a=0,s=0;if(!n.length)return;let u=e.filter(t=>{if(t.id){let e=t.id.indexOf("-"),r=t.id.substring(0,e);return n.includes(r)}});u.forEach(t=>{if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw Error(`Actor attributes missing ${t}`);i=Math.min(i,t.x),o=Math.min(o,t.y),a=Math.max(a,t.x+t.width),s=Math.max(s,t.y+t.height)});let l=i-10,c=o-10,h=a-i+20,f=s-o+20,p=b(),d=k({type:"rectangle",x:l,y:c,width:h,height:f,bgColor:t.fill,id:p});e.unshift(d);let _=b(),g=[p];e.forEach(t=>{if("frame"!==t.type){if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw Error(`Element attributes missing ${t}`);if(t.x>=i&&t.x+t.width<=a&&t.y>=o&&t.y+t.height<=s){let e=t.id||b();t.id||Object.assign(t,{id:e}),g.push(e)}}}),e.push({type:"frame",id:_,name:r,children:g})}),{elements:e}}}),N=new o({converter:t=>{let e=[];return Object.values(t.nodes).forEach(t=>{t&&t.length&&t.forEach(t=>{let n;switch(t.type){case"line":n=T(t);break;case"rectangle":case"ellipse":n=k(t);break;case"text":n=A(t);break;default:throw`unknown type ${t.type}`}e.push(n)})}),Object.values(t.lines).forEach(t=>{t&&e.push(T(t))}),Object.values(t.arrows).forEach(t=>{if(!t)return;let n=E(t);e.push(n)}),Object.values(t.text).forEach(t=>{let n=A(t);e.push(n)}),Object.values(t.namespaces).forEach(n=>{let r=Object.keys(n.classes),i=[...r],o=[...t.lines,...t.arrows,...t.text];r.forEach(t=>{let e=o.filter(e=>e.metadata&&e.metadata.classId===t).map(t=>t.id);e.length&&i.push(...e)});let a={type:"frame",id:b(),name:n.id,children:i};e.push(a)}),{elements:e}}}),M=(t,e={})=>{switch(t.type){case"graphImage":return x.convert(t,e);case"flowchart":return v.convert(t,e);case"sequence":return S.convert(t,e);case"class":return N.convert(t,e);default:throw Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`)}};var C=n(2081);let O=t=>{t=L(t);let e=t.replace(/#(\d+);/g,"&#$1;").replace(/#([a-z]+);/g,"&$1;"),n=document.createElement("textarea");return n.innerHTML=e,n.value},Z=t=>{let e=t.getAttribute("transform"),n=e?.match(/translate\(([ \d.-]+),\s*([\d.-]+)\)/),r=0,i=0;return n&&(r=Number(n[1]),i=Number(n[2])),{transformX:r,transformY:i}},D=t=>{let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,t=>t.substring(0,t.length-1))).replace(/classDef.*:\S*#.*;/g,t=>t.substring(0,t.length-1))).replace(/#\w+;/g,t=>{let e=t.substring(1,t.length-1),n=/^\+?\d+$/.test(e);return n?`fl\xb0\xb0${e}\xb6\xdf`:`fl\xb0${e}\xb6\xdf`})},L=function(t){return t.replace(/fl°°/g,"#").replace(/fl°/g,"&").replace(/¶ß/g,";")},R=(t,e={x:0,y:0})=>{if("path"!==t.tagName.toLowerCase())throw Error(`Invalid input: Expected an HTMLElement of tag "path", got ${t.tagName}`);let n=t.getAttribute("d");if(!n)throw Error('Path element does not contain a "d" attribute');let r=n.split(/(?=[LM])/),i=r[0].substring(1).split(",").map(t=>parseFloat(t)),o=r[r.length-1].substring(1).split(",").map(t=>parseFloat(t)),a=r.map(t=>{let e=t.substring(1).split(",").map(t=>parseFloat(t));return{x:e[0],y:e[1]}}).filter((t,e,n)=>{if(0===e||e===n.length-1)return!0;if(t.x===n[e-1].x&&t.y===n[e-1].y)return!1;if(e===n.length-2&&(n[e-1].x===t.x||n[e-1].y===t.y)){let e=n[n.length-1],r=Math.hypot(e.x-t.x,e.y-t.y);return r>20}return t.x!==n[e-1].x||t.y!==n[e-1].y}).map(t=>({x:t.x+e.x,y:t.y+e.y}));return{startX:i[0]+e.x,startY:i[1]+e.y,endX:o[0]+e.x,endY:o[1]+e.y,reflectionPoints:a}},$=(t,e)=>{let n=t.nodes.map(t=>t.startsWith("flowchart-")?t.split("-")[1]:t),r=e.querySelector(`[id='${t.id}']`);if(!r)throw Error("SubGraph element not found");let i=U(r,e),o=r.getBBox(),a={width:o.width,height:o.height};return t.classes=void 0,t.dir=void 0,{...t,nodeIds:n,...i,...a,text:O(t.title)}},I=(t,e)=>{let n;let r=e.querySelector(`[id*="flowchart-${t.id}-"]`);if(!r)return;"a"===r.parentElement?.tagName.toLowerCase()&&(n=r.parentElement.getAttribute("xlink:href"));let i=U(n?r.parentElement:r,e),o=r.getBBox(),a={width:o.width,height:o.height},s=r.querySelector(".label-container")?.getAttribute("style"),u=r.querySelector(".label")?.getAttribute("style"),l={};s?.split(";").forEach(t=>{if(!t)return;let e=t.split(":")[0].trim(),n=t.split(":")[1].trim();l[e]=n});let c={};return u?.split(";").forEach(t=>{if(!t)return;let e=t.split(":")[0].trim(),n=t.split(":")[1].trim();c[e]=n}),{id:t.id,labelType:t.labelType,text:O(t.text),type:t.type,link:n||void 0,...i,...a,containerStyle:l,labelStyle:c}},j=(t,e,n)=>{let r=n.querySelector(`[id*="L-${t.start}-${t.end}-${e}"]`);if(!r)throw Error("Edge element not found");let i=U(r,n),o=R(r,i);return t.length=void 0,{...t,...o,text:O(t.text)}},U=(t,e)=>{if(!t)throw Error("Element not found");let n=t.parentElement?.parentElement,r=t.childNodes[0],i={x:0,y:0};if(r){let{transformX:t,transformY:e}=Z(r),n=r.getBBox();i={x:Number(r.getAttribute("x"))||t+n.x||0,y:Number(r.getAttribute("y"))||e+n.y||0}}let{transformX:o,transformY:a}=Z(t),s={x:o+i.x,y:a+i.y};for(;n&&n.id!==e.id;){if("root"===n.classList.value&&n.hasAttribute("transform")){let{transformX:t,transformY:e}=Z(n);s.x+=t,s.y+=e}n=n.parentElement}return s},P=(t,e)=>{t.parse();let n=t.parser.yy,r=n.getVertices();Object.keys(r).forEach(t=>{r[t]=I(r[t],e)});let i=new Map,o=n.getEdges().filter(t=>e.querySelector(`[id*="L-${t.start}-${t.end}"]`)).map(t=>{let n=`${t.start}-${t.end}`,r=i.get(n)||0;return i.set(n,r+1),j(t,r,e)}),a=n.getSubGraphs().map(t=>$(t,e));return{type:"flowchart",subGraphs:a,vertices:r,edges:o}},F=(t,e)=>{let n={};e?.label&&(n.label={text:O(e.label),fontSize:16});let r=t.tagName;if("line"===r)n.startX=Number(t.getAttribute("x1")),n.startY=Number(t.getAttribute("y1")),n.endX=Number(t.getAttribute("x2")),n.endY=Number(t.getAttribute("y2"));else if("path"===r){let e=t.getAttribute("d");if(!e)throw Error('Path element does not contain a "d" attribute');let r=e.split(/(?=[LC])/),i=r[0].substring(1).split(",").map(t=>parseFloat(t)),o=[];r.forEach(t=>{let e=t.substring(1).trim().split(" ").map(t=>{let[e,n]=t.split(",");return[parseFloat(e)-i[0],parseFloat(n)-i[1]]});o.push(...e)});let a=o[o.length-1];n.startX=i[0],n.startY=i[1],n.endX=a[0],n.endY=a[1],n.points=o}return e?.label&&(n.startY=n.startY-10,n.endY=n.endY-10),n.strokeColor=t.getAttribute("stroke"),n.strokeWidth=Number(t.getAttribute("stroke-width")),n.type="arrow",n.strokeStyle=e?.strokeStyle||"solid",n.startArrowhead=e?.startArrowhead||null,n.endArrowhead=e?.endArrowhead||null,n},Y=(t,e,n,r,i)=>{let o={};return o.type="arrow",o.startX=t,o.startY=e,o.endX=n,o.endY=r,Object.assign(o,{...i}),o},z=(t,e,n,r)=>{let i={type:"text",x:t,y:e,text:n,width:r?.width||20,height:r?.height||20,fontSize:r?.fontSize||20,id:r?.id,groupId:r?.groupId,metadata:r?.metadata};return i},H=(t,e,n)=>{let r={},i=Number(t.getAttribute("x")),o=Number(t.getAttribute("y"));r.type="text",r.text=O(e),n?.id&&(r.id=n.id),n?.groupId&&(r.groupId=n.groupId);let a=t.getBBox();r.width=a.width,r.height=a.height,r.x=i-a.width/2,r.y=o;let s=parseInt(getComputedStyle(t).fontSize);return r.fontSize=s,r},q=(t,e,n={})=>{let r={};r.type=e;let{label:i,subtype:o,id:a,groupId:s}=n;r.id=a,s&&(r.groupId=s),i&&(r.label={text:O(i.text),fontSize:16,verticalAlign:i?.verticalAlign});let u=t.getBBox();switch(r.x=u.x,r.y=u.y,r.width=u.width,r.height=u.height,r.subtype=o,o){case"highlight":let l=t.getAttribute("fill");l&&(r.bgColor=l);break;case"note":r.strokeStyle="dashed"}return r},B=(t,e,n,r,i,o)=>{let a={};return a.startX=e,a.startY=n,a.endX=r,o?.groupId&&(a.groupId=o.groupId),o?.id&&(a.id=o.id),a.endY=i,a.strokeColor=t.getAttribute("stroke"),a.strokeWidth=Number(t.getAttribute("stroke-width")),a.type="line",a},X={0:"SOLID",1:"DOTTED",3:"SOLID_CROSS",4:"DOTTED_CROSS",5:"SOLID_OPEN",6:"DOTTED_OPEN",24:"SOLID_POINT",25:"DOTTED_POINT"},W={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},G=t=>{let e;switch(t){case W.SOLID:case W.SOLID_CROSS:case W.SOLID_OPEN:case W.SOLID_POINT:e="solid";break;case W.DOTTED:case W.DOTTED_CROSS:case W.DOTTED_OPEN:case W.DOTTED_POINT:e="dotted";break;default:e="solid"}return e},V=(t,e)=>{let n=!!t.nextElementSibling?.classList.contains("sequenceNumber");if(n){let n=t.nextElementSibling?.textContent;if(!n)throw Error("sequence number not present");let r={type:"rectangle",x:e.startX-10,y:e.startY-15,label:{text:n,fontSize:14},bgColor:"#e9ecef",height:30,subtype:"sequence"};Object.assign(e,{sequenceNumber:r})}},K=(t,e,n)=>{if(!t)throw"root node not found";let i=b(),o=Array.from(t.children),a=[];return o.forEach((t,o)=>{let s;let u=`${n?.id}-${o}`;switch(t.tagName){case"line":let l=Number(t.getAttribute("x1")),c=Number(t.getAttribute("y1")),h=Number(t.getAttribute("x2")),f=Number(t.getAttribute("y2"));s=B(t,l,c,h,f,{groupId:i,id:u});break;case"text":s=H(t,e,{groupId:i,id:u});break;case"circle":s=q(t,"ellipse",{label:t.textContent?{text:t.textContent}:void 0,groupId:i,id:u});default:s=q(t,r[t.tagName],{label:t.textContent?{text:t.textContent}:void 0,groupId:i,id:u})}a.push(s)}),a},Q=(t,e)=>{let n=Array.from(e.querySelectorAll(".actor-top")),r=Array.from(e.querySelectorAll(".actor-bottom")),i=[],o=[];return Object.values(t).forEach((t,e)=>{let a=n.find(e=>e.getAttribute("name")===t.name),s=r.find(e=>e.getAttribute("name")===t.name);if(!a||!s)throw"root not found";let u=t.description;if("participant"===t.type){let e=q(a,"rectangle",{id:`${t.name}-top`,label:{text:u},subtype:"actor"});if(!e)throw"Top Node element not found!";i.push([e]);let n=q(s,"rectangle",{id:`${t.name}-bottom`,label:{text:u},subtype:"actor"});i.push([n]);let r=a?.parentElement?.previousElementSibling;if(r?.tagName!=="line")throw"Line not found";let l=Number(r.getAttribute("x1"));if(!e.height)throw"Top node element height is null";let c=e.y+e.height,h=n.y,f=Number(r.getAttribute("x2")),p=B(r,l,c,f,h);o.push(p)}else if("actor"===t.type){let e=K(a,u,{id:`${t.name}-top`});i.push(e);let n=K(s,u,{id:`${t.name}-bottom`});i.push(n);let r=a.previousElementSibling;if(r?.tagName!=="line")throw"Line not found";let l=Number(r.getAttribute("x1")),c=Number(r.getAttribute("y1")),h=Number(r.getAttribute("x2")),f=n.find(t=>"ellipse"===t.type);if(f){let t=f.y,e=B(r,l,c,h,t);o.push(e)}}}),{nodes:i,lines:o}},J=(t,e)=>{let n=[],r=Array.from(e.querySelectorAll('[class*="messageLine"]')),i=Object.keys(X),o=t.filter(t=>i.includes(t.type.toString()));return r.forEach((t,e)=>{let r=o[e],i=X[r.type],a=F(t,{label:r?.message,strokeStyle:G(r.type),endArrowhead:"SOLID_OPEN"===i||"DOTTED_OPEN"===i?null:"arrow"});V(t,a),n.push(a)}),n},tt=(t,e)=>{let n=Array.from(e.querySelectorAll(".note")).map(t=>t.parentElement),r=t.filter(t=>t.type===W.NOTE),i=[];return n.forEach((t,e)=>{if(!t)return;let n=t.firstChild,o=r[e].message,a=q(n,"rectangle",{label:{text:o},subtype:"note"});i.push(a)}),i},te=t=>{let e=Array.from(t.querySelectorAll("[class*=activation]")),n=[];return e.forEach(t=>{let e=q(t,"rectangle",{label:{text:""},subtype:"activation"});n.push(e)}),n},tn=(t,e)=>{let n=Array.from(e.querySelectorAll(".loopLine")),r=[],i=[],o=[];n.forEach(t=>{let e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),i=Number(t.getAttribute("x2")),o=Number(t.getAttribute("y2")),a=B(t,e,n,i,o);a.strokeStyle="dotted",a.strokeColor="#adb5bd",a.strokeWidth=2,r.push(a)});let a=Array.from(e.querySelectorAll(".loopText")),s=t.filter(t=>t.type===W.CRITICAL_START).map(t=>t.message);a.forEach(t=>{let e=t.textContent||"",n=H(t,e),r=e.match(/\[(.*?)\]/)?.[1]||"",o=s.includes(r);o&&(n.x+=16),i.push(n)});let u=Array.from(e?.querySelectorAll(".labelBox")),l=Array.from(e?.querySelectorAll(".labelText"));return u.forEach((t,e)=>{let n=l[e]?.textContent||"",r=q(t,"rectangle",{label:{text:n}});r.strokeColor="#adb5bd",r.bgColor="#e9ecef",r.width=void 0,o.push(r)}),{lines:r,texts:i,nodes:o}},tr=t=>{let e=Array.from(t.querySelectorAll(".rect")).filter(t=>t.parentElement?.tagName!=="g"),n=[];return e.forEach(t=>{let e=q(t,"rectangle",{label:{text:""},subtype:"highlight"});n.push(e)}),n},ti=(t,e)=>{t.parse();let n=t.parser.yy,r=[],i=n.getBoxes(),o=tr(e),a=n.getActors(),{nodes:s,lines:u}=Q(a,e),l=n.getMessages(),c=J(l,e),h=tt(l,e),f=te(e),p=tn(l,e);return r.push(o),r.push(...s),r.push(h),r.push(f),{type:"sequence",lines:u,arrows:c,nodes:r,loops:p,groups:i}},to={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},ta={LINE:0,DOTTED_LINE:1},ts=t=>{let e;switch(t){case ta.LINE:e="solid";break;case ta.DOTTED_LINE:e="dotted";break;default:e="solid"}return e},tu=t=>{let e;switch(t){case to.AGGREGATION:e="diamond_outline";break;case to.COMPOSITION:e="diamond";break;case to.EXTENSION:e="triangle_outline";break;case"none":e=null;break;case to.DEPENDENCY:default:e="arrow"}return e},tl=(t,e)=>{let n=[],r=[],i=[];return Object.values(t).forEach(t=>{let{domId:o,id:a}=t,s=b(),u=e.querySelector(`[data-id=${a}]`);if(!u)throw Error(`DOM Node with id ${o} not found`);let{transformX:l,transformY:c}=Z(u),h=q(u.firstChild,"rectangle",{id:a,groupId:s});h.x+=l,h.y+=c,h.metadata={classId:a},n.push(h);let f=Array.from(u.querySelectorAll(".divider"));f.forEach(t=>{let e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),i=Number(t.getAttribute("x2")),o=Number(t.getAttribute("y2")),u=B(t,e,n,i,o,{groupId:s,id:b()});u.startX+=l,u.startY+=c,u.endX+=l,u.endY+=c,u.metadata={classId:a},r.push(u)});let p=u.querySelector(".label")?.children;if(!p)throw"label nodes not found";Array.from(p).forEach(t=>{let e=t.textContent;if(!e)return;let n=b(),{transformX:r,transformY:o}=Z(t),u=t.getBBox(),h=z(l+r,c+o+10,e,{width:u.width,height:u.height,id:n,groupId:s,metadata:{classId:a}});i.push(h)})}),{nodes:n,lines:r,text:i}},tc=(t,e)=>{let n=["triangle_outline","diamond","diamond_outline"],r=e.startArrowhead&&n.includes(e.startArrowhead),i=e.endArrowhead&&n.includes(e.endArrowhead);return(i||r)&&(r&&("LR"===t?e.startX-=16:"RL"===t?e.startX+=16:"TB"===t?e.startY-=16:"BT"===t&&(e.startY+=16)),i&&("LR"===t?e.endX+=16:"RL"===t?e.endX-=16:"TB"===t?e.endY+=16:"BT"===t&&(e.endY-=16))),e},th=(t,e,n,r)=>{let i=n.querySelector(".edgePaths")?.children;if(!i)throw Error("No Edges found!");let o=[],a=[];return t.forEach((t,n)=>{let s,u;let{id1:l,id2:c,relation:h}=t,f=e.find(t=>t.id===l),p=e.find(t=>t.id===c),d=ts(h.lineType),_=tu(h.type1),g=tu(h.type2),y=R(i[n]),m=Y(y.startX,y.startY,y.endX,y.endY,{strokeStyle:d,startArrowhead:_,endArrowhead:g,label:t.title?{text:t.title}:void 0,start:{type:"rectangle",id:f.id},end:{type:"rectangle",id:p.id}}),v=tc(r,m);o.push(v);let{relationTitle1:b,relationTitle2:x}=t;if(b&&"none"!==b){switch(r){case"TB":s=v.startX-20,v.endXv.startX&&(s+=15),u=v.startY-15;break;case"LR":s=v.startX+20,u=v.startY+15,v.endY>v.startY&&(u+=15);break;case"RL":s=v.startX-20,u=v.startY-15,v.startY>v.endY&&(u-=15);break;default:s=v.startX-20,u=v.startY+15}let t=z(s,u,b,{fontSize:16});a.push(t)}if(x&&"none"!==x){switch(r){case"TB":s=v.endX+20,v.endXv.startX&&(s-=15),u=v.endY+15;break;case"LR":s=v.endX-20,u=v.endY-15,v.endY>v.startY&&(u-=15);break;case"RL":s=v.endX+20,u=v.endY+15,v.startY>v.endY&&(u+=15);break;default:s=v.endX+20,u=v.endY-15}let t=z(s,u,x,{fontSize:16});a.push(t)}}),{arrows:o,text:a}},tf=(t,e,n)=>{let r=[],i=[];return t.forEach(t=>{let{id:o,text:a,class:s}=t,u=e.querySelector(`#${o}`);if(!u)throw Error(`Node with id ${o} not found!`);let{transformX:l,transformY:c}=Z(u),h=u.firstChild,f=q(h,"rectangle",{id:o,subtype:"note",label:{text:a}});if(Object.assign(f,{x:f.x+l,y:f.y+c}),r.push(f),s){let t=n.find(t=>t.id===s);if(!t)throw Error(`class node with id ${s} not found!`);let e=f.x+(f.width||0)/2,r=f.y+(f.height||0),o=t.y,a=Y(e,r,e,o,{strokeStyle:"dotted",startArrowhead:null,endArrowhead:null,start:{id:f.id,type:"rectangle"},end:{id:t.id,type:"rectangle"}});i.push(a)}}),{notes:r,connectors:i}},tp=(t,e)=>{t.parse();let n=t.parser.yy,r=n.getDirection(),i=[],o=[],a=[],s=[],u=n.getNamespaces(),l=n.getClasses();if(Object.keys(l).length){let t=tl(l,e);i.push(t.nodes),o.push(...t.lines),a.push(...t.text),s.push(...t.nodes)}let c=n.getRelations(),{arrows:h,text:f}=th(c,s,e,r),{notes:p,connectors:d}=tf(n.getNotes(),e,s);return i.push(p),h.push(...d),a.push(...f),{type:"class",nodes:i,lines:o,arrows:h,text:a,namespaces:u}},td=t=>{let e=t.querySelector("svg");if(!e)throw Error("SVG element not found");let n=e.getBoundingClientRect(),r=n.width,i=n.height;e.setAttribute("width",`${r}`),e.setAttribute("height",`${i}`);let o=unescape(encodeURIComponent(e.outerHTML)),a=btoa(o),s=`data:image/svg+xml;base64,${a}`;return{type:"graphImage",mimeType:"image/svg+xml",dataURL:s,width:r,height:i}},t_=async t=>{let e;C.N.initialize(i);let n=await C.N.mermaidAPI.getDiagramFromText(D(t)),{svg:r}=await C.N.render("mermaid-to-excalidraw",t),o=document.createElement("div");switch(o.setAttribute("style","opacity: 0; position: relative; z-index: -1;"),o.innerHTML=r,o.id="mermaid-diagram",document.body.appendChild(o),n.type){case"flowchart-v2":e=P(n,o);break;case"sequence":e=ti(n,o);break;case"classDiagram":e=tp(n,o);break;default:e=td(o)}return o.remove(),e},tg=async(t,e={})=>{let n=await t_(t),r=M(n,e);return r}},3371:function(t,e,n){"use strict";n.d(e,{Ab:function(){return r},Fr:function(){return i},JM:function(){return u},K$:function(){return a},h5:function(){return o},lK:function(){return s}});var r="comm",i="rule",o="decl",a="@import",s="@keyframes",u="@layer"},8851:function(t,e,n){"use strict";n.d(e,{MY:function(){return y}});var r=n(3371),i=n(4800),o=1,a=1,s=0,u=0,l=0,c="";function h(t,e,n,r,i,s,u,l){return{value:t,root:e,parent:n,type:r,props:i,children:s,line:o,column:a,length:u,return:"",siblings:l}}function f(){return l=u2||_(l)>3?"":" "}(O);break;case 92:P+=function(t,e){for(;--e&&f()&&!(l<48)&&!(l>102)&&(!(l>57)||!(l<65))&&(!(l>70)||!(l<97)););return d(t,u+(e<6&&32==p()&&32==f()))}(u-1,7);continue;case 47:switch(p()){case 42:case 47:(0,i.R3)(h(k=function(t,e){for(;f();)if(t+l===57)break;else if(t+l===84&&47===p())break;return"/*"+d(e,u-1)+"*"+(0,i.Dp)(47===t?t:f())}(f(),u),n,s,r.Ab,(0,i.Dp)(l),(0,i.tb)(k,2,-2),0,A),A);break;default:P+="/"}break;case 123*Z:T[E++]=(0,i.to)(P)*L;case 125*Z:case 59:case 0:switch(R){case 0:case 125:D=0;case 59+S:-1==L&&(P=(0,i.gx)(P,/\f/g,"")),C>0&&(0,i.to)(P)-N&&(0,i.R3)(C>32?v(P+";",y,s,N-1,A):v((0,i.gx)(P," ","")+";",y,s,N-2,A),A);break;case 59:P+=";";default:if((0,i.R3)(U=m(P,n,s,E,S,b,T,$,I=[],j=[],N,x),x),123===R){if(0===S)t(P,n,U,U,I,x,N,T,j);else switch(99===M&&110===(0,i.uO)(P,3)?100:M){case 100:case 108:case 109:case 115:t(e,U,U,y&&(0,i.R3)(m(e,U,U,0,0,b,T,$,b,I=[],N,j),j),b,j,N,T,y?I:j);break;default:t(P,U,U,U,[""],j,0,T,j)}}}E=S=C=0,Z=L=1,$=P="",N=w;break;case 58:N=1+(0,i.to)(P),C=O;default:if(Z<1){if(123==R)--Z;else if(125==R&&0==Z++&&125==(l=u>0?(0,i.uO)(c,--u):0,a--,10===l&&(a=1,o--),l))continue}switch(P+=(0,i.Dp)(R),R*Z){case 38:L=S>0?1:(P+="\f",-1);break;case 44:T[E++]=((0,i.to)(P)-1)*L,L=1;break;case 64:45===p()&&(P+=g(f())),M=p(),S=N=(0,i.to)($=P+=function(t){for(;!_(p());)f();return d(t,u)}(u)),R++;break;case 45:45===O&&2==(0,i.to)(P)&&(Z=0)}}return x}("",null,null,null,[""],(e=t,o=a=1,s=(0,i.to)(c=e),u=0,t=[]),0,[0],t),c="",n}function m(t,e,n,o,a,s,u,l,c,f,p,d){for(var _=a-1,g=0===a?s:[""],y=(0,i.Ei)(g),m=0,v=0,b=0;m0?g[x]+" "+w:(0,i.gx)(w,/&\f/g,g[x])))&&(c[b++]=T);return h(t,e,n,0===a?r.Fr:l,c,f,p,d)}function v(t,e,n,o,a){return h(t,e,n,r.h5,(0,i.tb)(t,0,o),(0,i.tb)(t,o+1,-1),o,a)}},8301:function(t,e,n){"use strict";n.d(e,{P:function(){return a},q:function(){return o}});var r=n(3371),i=n(4800);function o(t,e){for(var n="",r=0;r=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}function a(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function u(t){return e=>+t(e)}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function c(){return!this.__axis}function h(t,e){var n=[],r=null,i=null,h=6,f=6,p=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=1===t||4===t?-1:1,g=4===t||2===t?"x":"y",y=1===t||3===t?a:s;function m(a){var s=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,m=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,v=Math.max(h,0)+p,b=e.range(),x=+b[0]+d,w=+b[b.length-1]+d,T=(e.bandwidth?l:u)(e.copy(),d),A=a.selection?a.selection():a,k=A.selectAll(".domain").data([null]),E=A.selectAll(".tick").data(s,e).order(),S=E.exit(),N=E.enter().append("g").attr("class","tick"),M=E.select("line"),C=E.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(N),M=M.merge(N.append("line").attr("stroke","currentColor").attr(g+"2",_*h)),C=C.merge(N.append("text").attr("fill","currentColor").attr(g,_*v).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),a!==A&&(k=k.transition(a),E=E.transition(a),M=M.transition(a),C=C.transition(a),S=S.transition(a).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=T(t))?y(t+d):this.getAttribute("transform")}),N.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return y((e&&isFinite(e=e(t))?e:T(t))+d)})),S.remove(),k.attr("d",4===t||2===t?f?"M"+_*f+","+x+"H"+d+"V"+w+"H"+_*f:"M"+d+","+x+"V"+w:f?"M"+x+","+_*f+"V"+d+"H"+w+"V"+_*f:"M"+x+","+d+"H"+w),E.attr("opacity",1).attr("transform",function(t){return y(T(t)+d)}),M.attr(g+"2",_*h),C.attr(g,_*v).text(m),A.filter(c).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),A.each(function(){this.__axis=T})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return n=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),m):n.slice()},m.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),m):r&&r.slice()},m.tickFormat=function(t){return arguments.length?(i=t,m):i},m.tickSize=function(t){return arguments.length?(h=f=+t,m):h},m.tickSizeInner=function(t){return arguments.length?(h=+t,m):h},m.tickSizeOuter=function(t){return arguments.length?(f=+t,m):f},m.tickPadding=function(t){return arguments.length?(p=+t,m):p},m.offset=function(t){return arguments.length?(d=+t,m):d},m}function f(t){return h(1,t)}function p(t){return h(3,t)}function d(){}function _(t){return null==t?d:function(){return this.querySelector(t)}}function g(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function y(){return[]}function m(t){return null==t?y:function(){return this.querySelectorAll(t)}}function v(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}n.d(e,{Nb1:function(){return ok},LLu:function(){return p},F5q:function(){return f},$0Z:function(){return oj},Dts:function(){return oP},WQY:function(){return oY},qpX:function(){return oH},u93:function(){return oq},tFB:function(){return oX},YY7:function(){return oV},OvA:function(){return oQ},dCK:function(){return o0},zgE:function(){return o3},fGX:function(){return o6},$m7:function(){return o8},c_6:function(){return oN},fxm:function(){return o9},FdL:function(){return aa},ak_:function(){return as},SxZ:function(){return ac},eA_:function(){return af},jsv:function(){return ad},iJ:function(){return ap},JHv:function(){return nS},jvg:function(){return oO},Fp7:function(){return r},VV$:function(){return i},ve8:function(){return oL},tiA:function(){return function t(){var e,n,r=nD().unknown(void 0),i=r.domain,o=r.range,a=0,s=1,u=!1,l=0,c=0,h=.5;function f(){var t=i().length,r=s0))return[];if(t===e)return[t];let r=e=i))return[];let s=o-i+1,u=Array(s);if(r){if(a<0)for(let t=0;t0;){if((i=nj(u,l,t))===r)return o[a]=u,o[s]=l,n(o);if(i>0)u=Math.floor(u/i)*i,l=Math.ceil(l/i)*i;else if(i<0)u=Math.ceil(u*i)/i,l=Math.floor(l*i)/i;else break;r=i}return e},e}},PKp:function(){return nD},Xf:function(){return i8},K2I:function(){return i7},Ys:function(){return i9},td_:function(){return ot},YPS:function(){return nc},rr1:function(){return rv},i$Z:function(){return t$},y2j:function(){return rN},WQD:function(){return ry},U8T:function(){return rp},Z_i:function(){return r_},Ox9:function(){return rA},F0B:function(){return rj},LqH:function(){return rM},S1K:function(){return rd},Zyz:function(){return rT},Igq:function(){return rS},YDX:function(){return rk},EFj:function(){return rE}});var x=Array.prototype.find;function w(){return this.firstElementChild}var T=Array.prototype.filter;function A(){return Array.from(this.children)}function k(t){return Array(t.length)}function E(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S(t,e,n,r,i,o){for(var a,s=0,u=e.length,l=o.length;se?1:t>=e?0:NaN}E.prototype={constructor:E,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var O="http://www.w3.org/1999/xhtml",Z={svg:"http://www.w3.org/2000/svg",xhtml:O,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function D(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Z.hasOwnProperty(e)?{space:Z[e],local:t}:t}function L(t){return function(){this.removeAttribute(t)}}function R(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $(t,e){return function(){this.setAttribute(t,e)}}function I(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function j(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function U(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function P(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function F(t){return function(){this.style.removeProperty(t)}}function Y(t,e,n){return function(){this.style.setProperty(t,e,n)}}function z(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function H(t,e){return t.style.getPropertyValue(e)||P(t).getComputedStyle(t,null).getPropertyValue(e)}function q(t){return function(){delete this[t]}}function B(t,e){return function(){this[t]=e}}function X(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function W(t){return t.trim().split(/^|\s+/)}function G(t){return t.classList||new V(t)}function V(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function K(t,e){for(var n=G(t),r=-1,i=e.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tw=[null];function tT(t,e){this._groups=t,this._parents=e}function tA(){return new tT([[document.documentElement]],tw)}tT.prototype=tA.prototype={constructor:tT,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i=w&&(w=x+1);!(b=g[w])&&++w=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=C);for(var n=this._groups,r=n.length,i=Array(r),o=0;o1?this.each((null==e?F:"function"==typeof e?z:Y)(t,e,null==n?"":n)):H(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?q:"function"==typeof e?X:B)(t,e)):this.node()[t]},classed:function(t,e){var n=W(t+"");if(arguments.length<2){for(var r=G(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var u,l=0,c=s.length;l{}};function tS(){for(var t,e=0,n=arguments.length,r={};e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,a=i.length;if(arguments.length<2){for(;++o0)for(var n,r,i=Array(n),o=0;o=0&&e._call.call(void 0,t),e=e._next;--tU}()}finally{tU=0,function(){for(var t,e,n=tI,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:tI=e);tj=t,tJ(r)}(),tz=0}}function tQ(){var t=tq.now(),e=t-tY;e>1e3&&(tH-=e,tY=t)}function tJ(t){!tU&&(tP&&(tP=clearTimeout(tP)),t-tz>24?(t<1/0&&(tP=setTimeout(tK,t-tq.now()-tH)),tF&&(tF=clearInterval(tF))):(tF||(tY=tq.now(),tF=setInterval(tQ,1e3)),tU=1,tB(tK)))}function t0(t,e,n){var r=new tG;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tG.prototype=tV.prototype={constructor:tG,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tX():+n)+(null==e?0:+e),this._next||tj===this||(tj?tj._next=this:tI=this,tj=this),this._call=t,this._time=n,tJ()},stop:function(){this._call&&(this._call=null,this._time=1/0,tJ())}};var t1=tS("start","end","cancel","interrupt"),t2=[];function t3(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(u){var l,c,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return t0(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l0)throw Error("too late; already scheduled");return n}function t6(t,e){var n=t4(t,e);if(n.state>3)throw Error("too late; already running");return n}function t4(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function t8(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var t7=180/Math.PI,t9={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function et(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?u+=360:u-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:t8(s,u)})):u&&h.push(i(h)+"rotate("+u+r),(l=o.skewX)!==(c=a.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:t8(l,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:t8(t,n)},{i:s-2,x:t8(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ek(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ek(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ed.exec(t))?new eN(e[1],e[2],e[3],1):(e=e_.exec(t))?new eN(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=eg.exec(t))?ek(e[1],e[2],e[3],e[4]):(e=ey.exec(t))?ek(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=em.exec(t))?eL(e[1],e[2]/100,e[3]/100,1):(e=ev.exec(t))?eL(e[1],e[2]/100,e[3]/100,e[4]):eb.hasOwnProperty(t)?eA(eb[t]):"transparent"===t?new eN(NaN,NaN,NaN,0):null}function eA(t){return new eN(t>>16&255,t>>8&255,255&t,1)}function ek(t,e,n,r){return r<=0&&(t=e=n=NaN),new eN(t,e,n,r)}function eE(t){return(t instanceof el||(t=eT(t)),t)?(t=t.rgb(),new eN(t.r,t.g,t.b,t.opacity)):new eN}function eS(t,e,n,r){return 1==arguments.length?eE(t):new eN(t,e,n,null==r?1:r)}function eN(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function eM(){return`#${eD(this.r)}${eD(this.g)}${eD(this.b)}`}function eC(){let t=eO(this.opacity);return`${1===t?"rgb(":"rgba("}${eZ(this.r)}, ${eZ(this.g)}, ${eZ(this.b)}${1===t?")":`, ${t})`}`}function eO(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function eZ(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eD(t){return((t=eZ(t))<16?"0":"")+t.toString(16)}function eL(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new e$(t,e,n,r)}function eR(t){if(t instanceof e$)return new e$(t.h,t.s,t.l,t.opacity);if(t instanceof el||(t=eT(t)),!t)return new e$;if(t instanceof e$)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+(n0&&u<1?0:a,new e$(a,s,u,t.opacity)}function e$(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function eI(t){return(t=(t||0)%360)<0?t+360:t}function ej(t){return Math.max(0,Math.min(1,t||0))}function eU(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function eP(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}es(el,eT,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:ex,formatHex:ex,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return eR(this).formatHsl()},formatRgb:ew,toString:ew}),es(eN,eS,eu(el,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eN(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eN(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new eN(eZ(this.r),eZ(this.g),eZ(this.b),eO(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:eM,formatHex:eM,formatHex8:function(){return`#${eD(this.r)}${eD(this.g)}${eD(this.b)}${eD((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:eC,toString:eC})),es(e$,function(t,e,n,r){return 1==arguments.length?eR(t):new e$(t,e,n,null==r?1:r)},eu(el,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new e$(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new e$(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new eN(eU(t>=240?t-240:t+120,i,r),eU(t,i,r),eU(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new e$(eI(this.h),ej(this.s),ej(this.l),eO(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=eO(this.opacity);return`${1===t?"hsl(":"hsla("}${eI(this.h)}, ${100*ej(this.s)}%, ${100*ej(this.l)}%${1===t?")":`, ${t})`}`}}));var eF=t=>()=>t;function eY(t,e){return function(n){return t+n*e}}function ez(t,e){var n=e-t;return n?eY(t,n):eF(isNaN(t)?e:t)}var eH=function t(e){var n,r=1==(n=+(n=e))?ez:function(t,e){var r,i,o;return e-t?(r=t,i=e,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):eF(isNaN(t)?e:t)};function i(t,e){var n=r((t=eS(t)).r,(e=eS(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=ez(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function eq(t){return function(e){var n,r,i=e.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=rs&&(a=e.slice(s,a),l[u]?l[u]+=a:l[++u]=a),(i=i[0])===(o=o[0])?l[u]?l[u]+=o:l[++u]=o:(l[++u]=null,c.push({i:u,x:t8(i,o)})),s=eX.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?t5:t6,function(){var a=i(this,o),s=a.on;s!==n&&(r=(n=s).copy()).on(t,e),a.on=r}))},attr:function(t,e){var n=D(t),r="transform"===n?er:eG;return this.attrTween(t,"function"==typeof e?(n.local?e1:e0)(n,r,ea(this,"attr."+t,e)):null==e?(n.local?eK:eV)(n):(n.local?eJ:eQ)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=D(t);return this.tween(n,(r.local?e2:e3)(r,e))},style:function(t,e,n){var r,i,o,a,s,u,l,c,h,f,p,d,_,g,y,m,v,b,x,w,T,A="transform"==(t+="")?en:eG;return null==e?this.styleTween(t,(r=t,function(){var t=H(this,r),e=(this.style.removeProperty(r),H(this,r));return t===e?null:t===i&&e===o?a:a=A(i=t,o=e)})).on("end.style."+t,e9(t)):"function"==typeof e?this.styleTween(t,(s=t,u=ea(this,"style."+t,e),function(){var t=H(this,s),e=u(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=H(this,s)),t===n?null:t===l&&n===c?h:(c=n,h=A(l=t,e))})).each((f=this._id,v="end."+(m="style."+(p=t)),function(){var t=t6(this,f),e=t.on,n=null==t.value[m]?y||(y=e9(p)):void 0;(e!==d||g!==n)&&(_=(d=e).copy()).on(v,g=n),t.on=_})):this.styleTween(t,(b=t,T=e+"",function(){var t=H(this,b);return t===T?null:t===x?w:w=A(x=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=ea(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=t4(this.node(),n).tween,o=0,a=i.length;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}(this,t)})},tk.prototype.transition=function(t){var e,n;t instanceof ne?(e=t._id,t=t._name):(e=++nt,(n=nr).time=tX(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;ofetch(e,n).then(nu).then(e=>(new DOMParser).parseFromString(e,t))}["w","e"].map(ns),["n","s"].map(ns),["n","w","e","s","nw","ne","sw","se"].map(ns),nl("application/xml"),nl("text/html");var nc=nl("image/svg+xml");let nh=Math.PI/180,nf=180/Math.PI,np=4/29,nd=6/29,n_=3*nd*nd,ng=nd*nd*nd;function ny(t){if(t instanceof nm)return new nm(t.l,t.a,t.b,t.opacity);if(t instanceof nA)return nk(t);t instanceof eN||(t=eE(t));var e,n,r=nw(t.r),i=nw(t.g),o=nw(t.b),a=nv((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=nv((.4360747*r+.3850649*i+.1430804*o)/.96422),n=nv((.0139322*r+.0971045*i+.7141733*o)/.82521)),new nm(116*a-16,500*(e-a),200*(a-n),t.opacity)}function nm(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function nv(t){return t>ng?Math.pow(t,1/3):t/n_+np}function nb(t){return t>nd?t*t*t:n_*(t-np)}function nx(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function nw(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function nT(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof nA)return new nA(t.h,t.c,t.l,t.opacity);if(t instanceof nm||(t=ny(t)),0===t.a&&0===t.b)return new nA(NaN,0180||n<-180?n-360*Math.round(n/360):n):eF(isNaN(t)?e:t)});function nN(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}nE(ez);class nM extends Map{constructor(t,e=nO){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(nC(this,t))}has(t){return super.has(nC(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function nC({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function nO(t){return null!==t&&"object"==typeof t?t.valueOf():t}let nZ=Symbol("implicit");function nD(){var t=new nM,e=[],n=[],r=nZ;function i(i){let o=t.get(i);if(void 0===o){if(r!==nZ)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();for(let r of(e=[],t=new nM,n))t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return nD(e,n).unknown(r)},nN.apply(i,arguments),i}let nL=Math.sqrt(50),nR=Math.sqrt(10),n$=Math.sqrt(2);function nI(t,e,n){let r,i,o;let a=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(a)),u=a/Math.pow(10,s),l=u>=nL?10:u>=nR?5:u>=n$?2:1;return(s<0?(r=Math.round(t*(o=Math.pow(10,-s)/l)),i=Math.round(e*o),r/oe&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,s)*l)),i=Math.round(e/o),r*oe&&--i),ie?1:t>=e?0:NaN}function nF(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function nY(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i>>1;0>n(t[e],r)?i=e+1:o=e}while(inP(t(e),n),r=(e,n)=>t(e)-n):(e=t===nP||t===nF?t:nz,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){let a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:o=e}while(i(e=a[u-1])&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?n3:n2,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(l(e)))}return h.invert=function(n){return l(e((o||(o=r(s,a.map(t),t8)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,nQ),c()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=nK,c()},h.clamp=function(t){return arguments.length?(l=!!t||n0,c()):l!==n0},h.interpolate=function(t){return arguments.length?(u=t,c()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,c()}})()(n0,n0)}var n4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function n8(t){var e;if(!(e=n4.exec(t)))throw Error("invalid format: "+t);return new n7({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]})}function n7(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function n9(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 rt(t){return(t=n9(Math.abs(t)))?t[1]:NaN}function re(t,e){var n=n9(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}n8.prototype=n7.prototype,n7.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var rn={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},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)=>re(100*t,e),r:re,s:function(t,e){var n=n9(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(tO=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+n9(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rr(t){return t}var ri=Array.prototype.map,ro=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];tD=(tZ=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?rr:(e=ri.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?rr:(r=ri.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=n8(t)).fill,n=t.align,r=t.sign,f=t.symbol,p=t.zero,d=t.width,_=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(_=!0,m="g"):rn[m]||(void 0===g&&(g=12),y=!0,m="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var v="$"===f?o:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",b="$"===f?a:/[%p]/.test(m)?l:"",x=rn[m],w=/[defgprs%]/.test(m);function T(t){var o,a,l,f=v,T=b;if("c"===m)T=x(t)+T,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:x(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==r&&(A=!1),f=(A?"("===r?r:c:"-"===r||"("===r?"":r)+f,T=("s"===m?ro[8+tO/3]:"")+T+(A&&"("===r?")":""),w){for(o=-1,a=t.length;++o(l=t.charCodeAt(o))||l>57){T=(46===l?s+t.slice(o+1):t.slice(o))+T,t=t.slice(0,o);break}}}_&&!p&&(t=i(t,1/0));var k=f.length+t.length+T.length,E=k>1)+f+t+T+E.slice(k);break;default:t=E+f+t+T}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),T.toString=function(){return t+""},T}return{format:f,formatPrefix:function(t,e){var n=f(((t=n8(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(rt(e)/3))),i=Math.pow(10,-r),o=ro[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,tL=tZ.formatPrefix;let ra=864e5,rs=7*ra,ru=30*ra,rl=365*ra,rc=new Date,rh=new Date;function rf(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{let e=i(t),n=i.ceil(t);return t-e(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{let a;let s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n0))return s;do s.push(a=new Date(+n)),e(n,o),t(n);while(arf(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}}),n&&(i.count=(e,r)=>(rc.setTime(+e),rh.setTime(+r),t(rc),t(rh),Math.floor(n(rc,rh))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let rp=rf(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rp.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?rf(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):rp:null,rp.range;let rd=rf(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rd.range;let r_=rf(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());r_.range;let rg=rf(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());rg.range;let ry=rf(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());ry.range;let rm=rf(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());rm.range;let rv=rf(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/ra,t=>t.getDate()-1);rv.range;let rb=rf(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ra,t=>t.getUTCDate()-1);rb.range;let rx=rf(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ra,t=>Math.floor(t/ra));function rw(t){return rf(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/rs)}rx.range;let rT=rw(0),rA=rw(1),rk=rw(2),rE=rw(3),rS=rw(4),rN=rw(5),rM=rw(6);function rC(t){return rf(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/rs)}rT.range,rA.range,rk.range,rE.range,rS.range,rN.range,rM.range;let rO=rC(0),rZ=rC(1),rD=rC(2),rL=rC(3),rR=rC(4),r$=rC(5),rI=rC(6);rO.range,rZ.range,rD.range,rL.range,rR.range,r$.range,rI.range;let rj=rf(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());rj.range;let rU=rf(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());rU.range;let rP=rf(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());rP.every=t=>isFinite(t=Math.floor(t))&&t>0?rf(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)}):null,rP.range;let rF=rf(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());function rY(t,e,n,r,i,o){let a=[[rd,1,1e3],[rd,5,5e3],[rd,15,15e3],[rd,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,ra],[r,2,2*ra],[n,1,rs],[e,1,ru],[e,3,3*ru],[t,1,rl]];function s(e,n,r){let i=Math.abs(n-e)/r,o=nY(([,,t])=>t).right(a,i);if(o===a.length)return t.every(nU(e/rl,n/rl,r));if(0===o)return rp.every(Math.max(nU(e,n,r),1));let[s,u]=a[i/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?rf(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)}):null,rF.range;let[rz,rH]=rY(rF,rU,rO,rx,rm,rg),[rq,rB]=rY(rP,rj,rT,rv,ry,r_);function rX(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function rW(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rG(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var rV={"-":"",_:" ",0:"0"},rK=/^\s*\d+/,rQ=/^%/,rJ=/[\\^$*+?|[\]().{}]/g;function r0(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),e]))}function r5(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function r6(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function r4(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function r8(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function r7(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function r9(t,e,n){var r=rK.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function it(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ie(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 ir(t,e,n){var r=rK.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function ii(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function io(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ia(t,e,n){var r=rK.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function is(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function iu(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function il(t,e,n){var r=rK.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ic(t,e,n){var r=rK.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function ih(t,e,n){var r=rK.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ip(t,e,n){var r=rQ.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function id(t,e,n){var r=rK.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function i_(t,e,n){var r=rK.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function ig(t,e){return r0(t.getDate(),e,2)}function iy(t,e){return r0(t.getHours(),e,2)}function im(t,e){return r0(t.getHours()%12||12,e,2)}function iv(t,e){return r0(1+rv.count(rP(t),t),e,3)}function ib(t,e){return r0(t.getMilliseconds(),e,3)}function ix(t,e){return ib(t,e)+"000"}function iw(t,e){return r0(t.getMonth()+1,e,2)}function iT(t,e){return r0(t.getMinutes(),e,2)}function iA(t,e){return r0(t.getSeconds(),e,2)}function ik(t){var e=t.getDay();return 0===e?7:e}function iE(t,e){return r0(rT.count(rP(t)-1,t),e,2)}function iS(t){var e=t.getDay();return e>=4||0===e?rS(t):rS.ceil(t)}function iN(t,e){return t=iS(t),r0(rS.count(rP(t),t)+(4===rP(t).getDay()),e,2)}function iM(t){return t.getDay()}function iC(t,e){return r0(rA.count(rP(t)-1,t),e,2)}function iO(t,e){return r0(t.getFullYear()%100,e,2)}function iZ(t,e){return r0((t=iS(t)).getFullYear()%100,e,2)}function iD(t,e){return r0(t.getFullYear()%1e4,e,4)}function iL(t,e){var n=t.getDay();return r0((t=n>=4||0===n?rS(t):rS.ceil(t)).getFullYear()%1e4,e,4)}function iR(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+r0(e/60|0,"0",2)+r0(e%60,"0",2)}function i$(t,e){return r0(t.getUTCDate(),e,2)}function iI(t,e){return r0(t.getUTCHours(),e,2)}function ij(t,e){return r0(t.getUTCHours()%12||12,e,2)}function iU(t,e){return r0(1+rb.count(rF(t),t),e,3)}function iP(t,e){return r0(t.getUTCMilliseconds(),e,3)}function iF(t,e){return iP(t,e)+"000"}function iY(t,e){return r0(t.getUTCMonth()+1,e,2)}function iz(t,e){return r0(t.getUTCMinutes(),e,2)}function iH(t,e){return r0(t.getUTCSeconds(),e,2)}function iq(t){var e=t.getUTCDay();return 0===e?7:e}function iB(t,e){return r0(rO.count(rF(t)-1,t),e,2)}function iX(t){var e=t.getUTCDay();return e>=4||0===e?rR(t):rR.ceil(t)}function iW(t,e){return t=iX(t),r0(rR.count(rF(t),t)+(4===rF(t).getUTCDay()),e,2)}function iG(t){return t.getUTCDay()}function iV(t,e){return r0(rZ.count(rF(t)-1,t),e,2)}function iK(t,e){return r0(t.getUTCFullYear()%100,e,2)}function iQ(t,e){return r0((t=iX(t)).getUTCFullYear()%100,e,2)}function iJ(t,e){return r0(t.getUTCFullYear()%1e4,e,4)}function i0(t,e){var n=t.getUTCDay();return r0((t=n>=4||0===n?rR(t):rR.ceil(t)).getUTCFullYear()%1e4,e,4)}function i1(){return"+0000"}function i2(){return"%"}function i3(t){return+t}function i5(t){return Math.floor(+t/1e3)}function i6(t){return new Date(t)}function i4(t){return t instanceof Date?+t:+new Date(+t)}function i8(){return nN.apply((function t(e,n,r,i,o,a,s,u,l,c){var h=n6(),f=h.invert,p=h.domain,d=c(".%L"),_=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:i3,s:i5,S:iA,u:ik,U:iE,V:iN,w:iM,W:iC,x:null,X:null,y:iO,Y:iD,Z:iR,"%":i2},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:i$,e:i$,f:iF,g:iQ,G:i0,H:iI,I:ij,j:iU,L:iP,m:iY,M:iz,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:i3,s:i5,S:iH,u:iq,U:iB,V:iW,w:iG,W:iV,x:null,X:null,y:iK,Y:iJ,Z:i1,"%":i2},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=_.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return A(t,e,n,r)},d:io,e:io,f:ih,g:it,G:r9,H:is,I:is,j:ia,L:ic,m:ii,M:iu,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:ir,Q:id,s:i_,S:il,u:r6,U:r4,V:r8,w:r5,W:r7,x:function(t,e,r){return A(t,n,e,r)},X:function(t,e,n){return A(t,r,e,n)},y:it,Y:r9,Z:ie,"%":ip};function w(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=rW(rG(o.y,0,1))).getUTCDay())>4||0===i?rZ.ceil(r):rZ(r),r=rb.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=rX(rG(o.y,0,1))).getDay())>4||0===i?rA.ceil(r):rA(r),r=rv.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?rW(rG(o.y,0,1)).getUTCDay():rX(rG(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,rW(o)):rX(o)}}function A(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a=u)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=x[(i=e.charAt(a++))in rV?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return v.x=w(n,v),v.X=w(r,v),v.c=w(e,v),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=T(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=T(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,tR.parse,tR.utcFormat,tR.utcParse;var i7=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r=1?oc:t<=-1?-oc:Math.asin(t)}let op=Math.PI,od=2*op,o_=od-1e-6;function og(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return og;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(c*s-u*l)>1e-6&&i){let f=n-o,p=r-a,d=s*s+u*u,_=Math.sqrt(d),g=Math.sqrt(h),y=i*Math.tan((op-Math.acos((d+h-(f*f+p*p))/(2*_*g)))/2),m=y/g,v=y/_;Math.abs(m-1)>1e-6&&this._append`L${t+m*l},${e+m*c}`,this._append`A${i},${i},0,0,${+(c*f>l*p)},${this._x1=t+v*s},${this._y1=e+v*u}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),u=t+a,l=e+s,c=1^o,h=o?r-i:i-r;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-l)>1e-6)&&this._append`L${u},${l}`,n&&(h<0&&(h=h%od+od),h>o_?this._append`A${n},${n},0,1,${c},${t-a},${e-s}A${n},${n},0,1,${c},${this._x1=u},${this._y1=l}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=op)},${c},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function om(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new oy(e)}function ov(t){return t.innerRadius}function ob(t){return t.outerRadius}function ox(t){return t.startAngle}function ow(t){return t.endAngle}function oT(t){return t&&t.padAngle}function oA(t,e,n,r,i,o,a){var s=t-n,u=e-r,l=(a?o:-o)/ou(s*s+u*u),c=l*u,h=-l*s,f=t+c,p=e+h,d=n+c,_=r+h,g=(f+d)/2,y=(p+_)/2,m=d-f,v=_-p,b=m*m+v*v,x=i-o,w=f*_-d*p,T=(v<0?-1:1)*ou(oo(0,x*x*b-w*w)),A=(w*v-m*T)/b,k=(-w*m-v*T)/b,E=(w*v+m*T)/b,S=(-w*m+v*T)/b,N=A-g,M=k-y,C=E-g,O=S-y;return N*N+M*M>C*C+O*O&&(A=E,k=S),{cx:A,cy:k,x01:-c,y01:-h,x11:A*(i/x-1),y11:k*(i/x-1)}}function ok(){var t=ov,e=ob,n=oe(0),r=null,i=ox,o=ow,a=oT,s=null,u=om(l);function l(){var l,c,h=+t.apply(this,arguments),f=+e.apply(this,arguments),p=i.apply(this,arguments)-oc,d=o.apply(this,arguments)-oc,_=on(d-p),g=d>p;if(s||(s=l=u()),f1e-12){if(_>oh-1e-12)s.moveTo(f*oi(p),f*os(p)),s.arc(0,0,f,p,d,!g),h>1e-12&&(s.moveTo(h*oi(d),h*os(d)),s.arc(0,0,h,d,p,g));else{var y,m,v=p,b=d,x=p,w=d,T=_,A=_,k=a.apply(this,arguments)/2,E=k>1e-12&&(r?+r.apply(this,arguments):ou(h*h+f*f)),S=oa(on(f-h)/2,+n.apply(this,arguments)),N=S,M=S;if(E>1e-12){var C=of(E/h*os(k)),O=of(E/f*os(k));(T-=2*C)>1e-12?(C*=g?1:-1,x+=C,w-=C):(T=0,x=w=(p+d)/2),(A-=2*O)>1e-12?(O*=g?1:-1,v+=O,b-=O):(A=0,v=b=(p+d)/2)}var Z=f*oi(v),D=f*os(v),L=h*oi(w),R=h*os(w);if(S>1e-12){var $,I=f*oi(b),j=f*os(b),U=h*oi(x),P=h*os(x);if(_1?0:F<-1?ol:Math.acos(F))/2),X=ou($[0]*$[0]+$[1]*$[1]);N=oa(S,(h-X)/(B-1)),M=oa(S,(f-X)/(B+1))}else N=M=0}}A>1e-12?M>1e-12?(y=oA(U,P,Z,D,f,M,g),m=oA(I,j,L,R,f,M,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),M1e-12&&T>1e-12?N>1e-12?(y=oA(L,R,I,j,h,-N,g),m=oA(Z,D,U,P,h,-N,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),Nt?1:e>=t?0:NaN}function oD(t){return t}function oL(){var t=oD,e=oZ,n=null,r=oe(0),i=oe(oh),o=oe(0);function a(a){var s,u,l,c,h,f=(a=oE(a)).length,p=0,d=Array(f),_=Array(f),g=+r.apply(this,arguments),y=Math.min(oh,Math.max(-oh,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/f,o.apply(this,arguments)),v=m*(y<0?-1:1);for(s=0;s0&&(p+=h);for(null!=e?d.sort(function(t,n){return e(_[t],_[n])}):null!=n&&d.sort(function(t,e){return n(a[t],a[e])}),s=0,l=p?(y-f*v)/p:0;s0?h*l:0)+v,_[u]={data:a[u],index:s,value:h,startAngle:g,endAngle:c,padAngle:m};return _}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:oe(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:oe(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:oe(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:oe(+t),a):o},a}function oR(){}function o$(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function oI(t){this._context=t}function oj(t){return new oI(t)}function oU(t){this._context=t}function oP(t){return new oU(t)}function oF(t){this._context=t}function oY(t){return new oF(t)}oy.prototype,Array.prototype.slice,oS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},oI.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:o$(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:o$(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},oU.prototype={areaStart:oR,areaEnd:oR,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:o$(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},oF.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:o$(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class oz{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function oH(t){return new oz(t,!0)}function oq(t){return new oz(t,!1)}function oB(t,e){this._basis=new oI(t),this._beta=e}oB.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var oX=function t(e){function n(t){return 1===e?new oI(t):new oB(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function oW(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function oG(t,e){this._context=t,this._k=(1-e)/6}oG.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:oW(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oV=function t(e){function n(t){return new oG(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oK(t,e){this._context=t,this._k=(1-e)/6}oK.prototype={areaStart:oR,areaEnd:oR,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oQ=function t(e){function n(t){return new oK(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oJ(t,e){this._context=t,this._k=(1-e)/6}oJ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:oW(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o0=function t(e){function n(t){return new oJ(t,e)}return n.tension=function(e){return t(+e)},n}(0);function o1(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>1e-12){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function o2(t,e){this._context=t,this._alpha=e}o2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o3=function t(e){function n(t){return e?new o2(t,e):new oG(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o5(t,e){this._context=t,this._alpha=e}o5.prototype={areaStart:oR,areaEnd:oR,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o6=function t(e){function n(t){return e?new o5(t,e):new oK(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o4(t,e){this._context=t,this._alpha=e}o4.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:o1(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var o8=function t(e){function n(t){return e?new o4(t,e):new oJ(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function o7(t){this._context=t}function o9(t){return new o7(t)}function at(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function ae(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function an(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function ar(t){this._context=t}function ai(t){this._context=new ao(t)}function ao(t){this._context=t}function aa(t){return new ar(t)}function as(t){return new ai(t)}function au(t){this._context=t}function al(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},a_.prototype={constructor:a_,scale:function(t){return 1===t?this:new a_(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new a_(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new a_(1,0,0),a_.prototype},1883:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(1691),i=n(2142),o=class{constructor(){this.type=i.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.w.ALL}is(t){return this.type===t}},a=class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}};let s=new a({r:0,g:0,b:0,a:0},"transparent");var u=s},1610:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(1883),i=n(2142);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let n=e[1],i=parseInt(n,16),a=n.length,s=a%4==0,u=a>4,l=u?1:17,c=u?8:4,h=s?0:-1,f=u?255:15;return r.Z.set({r:(i>>c*(h+3)&f)*l,g:(i>>c*(h+2)&f)*l,b:(i>>c*(h+1)&f)*l,a:s?(i&f)*l/255:1},t)},stringify:t=>{let{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}${i.Q[Math.round(255*o)]}`:`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}`}};var a=n(1691);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,n]=e;switch(n){case"grad":return a.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return a.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.Z.channel.clamp.h(360*parseFloat(t))}}return a.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let n=t.match(s.re);if(!n)return;let[,i,o,u,l,c]=n;return r.Z.set({h:s._hue2deg(i),s:a.Z.channel.clamp.s(parseFloat(o)),l:a.Z.channel.clamp.l(parseFloat(u)),a:l?a.Z.channel.clamp.a(c?parseFloat(l)/100:parseFloat(l)):1},t)},stringify:t=>{let{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%, ${i})`:`hsl(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%)`}},u={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=u.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in u.colors)if(u.colors[t]===e)return t}},l={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let n=t.match(l.re);if(!n)return;let[,i,o,s,u,c,h,f,p]=n;return r.Z.set({r:a.Z.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.Z.channel.clamp.g(u?2.55*parseFloat(s):parseFloat(s)),b:a.Z.channel.clamp.b(h?2.55*parseFloat(c):parseFloat(c)),a:f?a.Z.channel.clamp.a(p?parseFloat(f)/100:parseFloat(f)):1},t)},stringify:t=>{let{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)}, ${a.Z.lang.round(i)})`:`rgb(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)})`}};var c={format:{keyword:u,hex:o,rgb:l,rgba:l,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||l.parse(t)||s.parse(t)||u.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):l.stringify(t)}},2142:function(t,e,n){"use strict";n.d(e,{Q:function(){return i},w:function(){return o}});var r=n(1691);let i={};for(let t=0;t<=255;t++)i[t]=r.Z.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},3314:function(t,e,n){"use strict";var r=n(1610),i=n(3438);let o=(t,e)=>{let n=r.Z.parse(t),o={};for(let t in e)e[t]&&(o[t]=n[t]+e[t]);return(0,i.Z)(t,o)};e.Z=o},6174:function(t,e,n){"use strict";var r=n(1691),i=n(1610);let o=(t,e,n)=>{let o=i.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+n);return a!==s&&(o[e]=s),i.Z.stringify(o)};e.Z=o},3438:function(t,e,n){"use strict";var r=n(1691),i=n(1610);let o=(t,e)=>{let n=i.Z.parse(t);for(let t in e)n[t]=r.Z.channel.clamp[t](e[t]);return i.Z.stringify(n)};e.Z=o},7201:function(t,e,n){"use strict";var r=n(6174);let i=(t,e)=>(0,r.Z)(t,"l",-e);e.Z=i},5835:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(1610),i=n(1117);let o=(t,e,n=50)=>{let{r:o,g:a,b:s,a:u}=r.Z.parse(t),{r:l,g:c,b:h,a:f}=r.Z.parse(e),p=n/100,d=2*p-1,_=u-f,g=((d*_==-1?d:(d+_)/(1+d*_))+1)/2,y=1-g;return(0,i.Z)(o*g+l*y,a*g+c*y,s*g+h*y,u*p+f*(1-p))},a=(t,e=100)=>{let n=r.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,o(n,t,e)};var s=a},1619:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(1691),i=n(1610);let o=t=>{let{r:e,g:n,b:o}=i.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(n)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)},a=t=>o(t)>=.5,s=t=>!a(t);var u=s},2281:function(t,e,n){"use strict";var r=n(6174);let i=(t,e)=>(0,r.Z)(t,"l",e);e.Z=i},1117:function(t,e,n){"use strict";var r=n(1691),i=n(1883),o=n(1610),a=n(3438);let s=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});let u=i.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(n),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(u)};e.Z=s},1691:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t,hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100,n/=100;let o=n<.5?n*(1+e):n+e-n*e,a=2*n-o;switch(i){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;let i=Math.max(t,e,n),o=Math.min(t,e,n),a=(i+o)/2;if("l"===r)return 100*a;if(i===o)return 0;let s=i-o;if("s"===r)return 100*(a>.5?s/(2-i-o):s/(i+o));switch(i){case t:return((e-n)/s+(ee>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},7308:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(9651),i=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return -1},o=Array.prototype.splice;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var s=a},6183:function(t,e,n){"use strict";var r=n(2508),i=n(6092),o=(0,r.Z)(i.Z,"Map");e.Z=o},7834:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=(0,n(2508).Z)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0){if(++r>=800)return arguments[0]}else r=0;return u.apply(void 0,arguments)})},19:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2002:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},9651:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},9203:function(t,e){"use strict";e.Z=function(t){return t}},9169:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(3589),i=n(8533),o=function(t){return(0,i.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(t){return(0,i.Z)(t)&&s.call(t,"callee")&&!u.call(t,"callee")}},7771:function(t,e){"use strict";var n=Array.isArray;e.Z=n},585:function(t,e,n){"use strict";var r=n(3234),i=n(1656);e.Z=function(t){return null!=t&&(0,i.Z)(t.length)&&!(0,r.Z)(t)}},836:function(t,e,n){"use strict";var r=n(585),i=n(8533);e.Z=function(t){return(0,i.Z)(t)&&(0,r.Z)(t)}},7008:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(6092),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.Z.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},9697:function(t,e,n){"use strict";var r=n(9473),i=n(3970),o=n(9169),a=n(7771),s=n(585),u=n(7008),l=n(2764),c=n(8843),h=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,c.Z)(t)||(0,o.Z)(t)))return!t.length;var e=(0,i.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,l.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},3234:function(t,e,n){"use strict";var r=n(3589),i=n(7226);e.Z=function(t){if(!(0,i.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},7514:function(t,e,n){"use strict";var r=n(3589),i=n(2513),o=n(8533),a=Object.prototype,s=Function.prototype.toString,u=a.hasOwnProperty,l=s.call(Object);e.Z=function(t){if(!(0,o.Z)(t)||"[object Object]"!=(0,r.Z)(t))return!1;var e=(0,i.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},8843:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(3589),i=n(1656),o=n(8533),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(1162),u=n(8351),l=u.Z&&u.Z.isTypedArray,c=l?(0,s.Z)(l):function(t){return(0,o.Z)(t)&&(0,i.Z)(t.length)&&!!a[(0,r.Z)(t)]}},2957:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(7668),i=n(7226),o=n(2764),a=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty,u=function(t){if(!(0,i.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var r in t)"constructor"==r&&(e||!s.call(t,r))||n.push(r);return n},l=n(585),c=function(t){return(0,l.Z)(t)?(0,r.Z)(t,!0):u(t)}},2454:function(t,e,n){"use strict";var r=n(7834);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.Z),n}i.Cache=r.Z,e.Z=i},9236:function(t,e,n){"use strict";n.d(e,{Z:function(){return N}});var r,i=n(1667),o=n(4752),a=n(9651),s=function(t,e,n){(void 0===n||(0,a.Z)(t[e],n))&&(void 0!==n||e in t)||(0,o.Z)(t,e,n)},u=n(1395),l=n(1050),c=n(2701),h=n(7215),f=n(3658),p=n(9169),d=n(7771),_=n(836),g=n(7008),y=n(3234),m=n(7226),v=n(7514),b=n(8843),x=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},w=n(1899),T=n(2957),A=function(t,e,n,r,i,o,a){var u=x(t,n),A=x(e,n),k=a.get(A);if(k){s(t,n,k);return}var E=o?o(u,A,n+"",t,e,a):void 0,S=void 0===E;if(S){var N=(0,d.Z)(A),M=!N&&(0,g.Z)(A),C=!N&&!M&&(0,b.Z)(A);(E=A,N||M||C)?(0,d.Z)(u)?E=u:(0,_.Z)(u)?E=(0,h.Z)(u):M?(S=!1,E=(0,l.Z)(A,!0)):C?(S=!1,E=(0,c.Z)(A,!0)):E=[]:(0,v.Z)(A)||(0,p.Z)(A)?(E=u,(0,p.Z)(u))?E=(0,w.Z)(u,(0,T.Z)(u)):(!(0,m.Z)(u)||(0,y.Z)(u))&&(E=(0,f.Z)(A)):S=!1}S&&(a.set(A,E),i(E,A,r,o,a),a.delete(A)),s(t,n,E)},k=function t(e,n,r,o,a){e!==n&&(0,u.Z)(n,function(u,l){if(a||(a=new i.Z),(0,m.Z)(u))A(e,n,l,r,t,o,a);else{var c=o?o(x(e,l),u,l+"",e,n,a):void 0;void 0===c&&(c=u),s(e,l,c)}},T.Z)},E=n(9581),S=n(439),N=(r=function(t,e,n){k(t,e,n)},(0,E.Z)(function(t,e){var n=-1,i=e.length,o=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(o=r.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,S.Z)(e[0],e[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[n,r,c];return}for(var f=1/0,o=0;o=c&&Object.keys(b.O).every(function(e){return b.O[e](n[d])})?n.splice(d--,1):(u=!1,c0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[n,r,c];return}for(var f=1/0,o=0;o=c&&Object.keys(b.O).every(function(e){return b.O[e](n[a])})?n.splice(a--,1):(u=!1,cArticles | Ryo's Blog
© 2023 Ryo Jerry Yu. All rights reserved.
\ No newline at end of file +Articles | Ryo's Blog
© 2023 Ryo Jerry Yu. All rights reserved.
\ No newline at end of file diff --git a/articles/Building-this-blog.html b/articles/Building-this-blog.html index d798864e..d47fd3dd 100644 --- a/articles/Building-this-blog.html +++ b/articles/Building-this-blog.html @@ -4,7 +4,7 @@ 参考[BruceZhao][BruceZhao]提供的中文翻译:[README.zh.md][READMEzh],先将[Huxpro][Huxpro]提供的[博客模板仓库][origin_repo]fork出来,`git clone`到本地。 整个网站文件夹大致结构如下:"/>

搭建博客的过程

+整个网站文件夹大致结构如下:"/>
Loading comments...
© 2023 Ryo Jerry Yu. All rights reserved.
\ No newline at end of file +

Loading comments...
© 2023 Ryo Jerry Yu. All rights reserved.
\ No newline at end of file diff --git a/articles/Handy-heap-cheat-sheet.html b/articles/Handy-heap-cheat-sheet.html index 60fa477c..6828b7e7 100644 --- a/articles/Handy-heap-cheat-sheet.html +++ b/articles/Handy-heap-cheat-sheet.html @@ -4,7 +4,7 @@ 当然,一般来说我们只要理解堆,知道堆的性质,知道怎么样用堆就足够了。在做题时只需要调用系统类库即可——在参加AtCoder时你甚至不会有时间去自己实现一个堆。 但是,如果哪一天你把编程语言的类库全忘光了,又遇到一题需要频繁求最值的题目——你明知这里要用堆,却又忘记该调用的类名了,咋办?我还真遇到过这问题:三年没刷算法,只能对着一道自己明显会的题干着急,愣是想不起PriorityQueue的名字。这时候,只能自己实现一个堆出来了。"/>

如何手撕一个堆

如何手撕一个堆

+但是,如果哪一天你把编程语言的类库全忘光了,又遇到一题需要频繁求最值的题目——你明知这里要用堆,却又忘记该调用的类名了,咋办?我还真遇到过这问题:三年没刷算法,只能对着一道自己明显会的题干着急,愣是想不起PriorityQueue的名字。这时候,只能自己实现一个堆出来了。"/>

如何手撕一个堆

如何手撕一个堆

写在前面

在参加如AtCoder等算法竞技,或是刷Leetcode等算法题时,我们总是不可避免地遇到堆这种数据结构。

当然,一般来说我们只要理解堆,知道堆的性质,知道怎么样用堆就足够了。在做题时只需要调用系统类库即可——在参加AtCoder时你甚至不会有时间去自己实现一个堆。

@@ -366,4 +366,4 @@

关于堆排序

  • 堆结构一般占用数组前端,因此从小到大排序时,有序部分从数组末尾开始扩张,建立的堆为大顶堆。
  • 堆排序只需要建堆与出堆操作,因此只需要实现下沉操作。
  • -

    关于堆排序的具体讨论,有机会的话我会另外写一篇来讲解。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    关于堆排序的具体讨论,有机会的话我会另外写一篇来讲解。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/Sort-algorithm.html b/articles/Sort-algorithm.html index d7bbccfa..fa4df127 100644 --- a/articles/Sort-algorithm.html +++ b/articles/Sort-algorithm.html @@ -4,7 +4,7 @@ 当然我不打算随便弄个什么十大排序算法或是经典排序总结之类响当当的名头,各个算法走马看花一样拉出来遛一遍,最后变得跟网上搜索到的其他讲排序的文章一样换汤不换药。你会发现这篇文章的结构跟在网上搜索到的任何讲排序的文章都有所不同: 在这篇文章里,你会发现你找不到冒泡排序——因为我认为冒泡排序只不过是一种低效率的选择排序。"/>

    排序算法

    序言

    +在这篇文章里,你会发现你找不到冒泡排序——因为我认为冒泡排序只不过是一种低效率的选择排序。"/>

    排序算法

    序言

    我们知道排序是算法入门基本功,排序算法有多重要想必也不需要我在这里说明了。因此这一篇就按着我的理解,聊一聊排序算法。

    当然我不打算随便弄个什么十大排序算法或是经典排序总结之类响当当的名头,各个算法走马看花一样拉出来遛一遍,最后变得跟网上搜索到的其他讲排序的文章一样换汤不换药。你会发现这篇文章的结构跟在网上搜索到的任何讲排序的文章都有所不同:

    在这篇文章里,你会发现你找不到冒泡排序——因为我认为冒泡排序只不过是一种低效率的选择排序。

    @@ -339,4 +339,4 @@

    堆排序逆序对消除方式比较Tricky,但可以看出消除逆序对大致在于出堆步骤,通过O(logn)时间复杂度消除O(n)个逆序对。(左小右大排序时需要建立左大右小的大顶堆,建堆时基本没有消除逆序对)

    最后

    -

    这篇文章我们主要关注了排序算法中的大头——基于比较的排序算法。在下篇文章,我们再来看一下不基于比较的排序算法,以及外排序与并行排序。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    这篇文章我们主要关注了排序算法中的大头——基于比较的排序算法。在下篇文章,我们再来看一下不基于比较的排序算法,以及外排序与并行排序。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/The-beauty-of-design-parten.html b/articles/The-beauty-of-design-parten.html index ee92cfea..7a68bf3f 100644 --- a/articles/The-beauty-of-design-parten.html +++ b/articles/The-beauty-of-design-parten.html @@ -4,7 +4,7 @@ 1. 易维护性:根本 2. 可读性:最重要"/>

    设计模式之美读书笔记

    导读

    +2. 可读性:最重要"/>
    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/create-blog-cicd-by-github.html b/articles/create-blog-cicd-by-github.html index 6167bb6c..f8c224b6 100644 --- a/articles/create-blog-cicd-by-github.html +++ b/articles/create-blog-cicd-by-github.html @@ -4,7 +4,7 @@ 但我今天要做的不是发布到 GitHub 这么简单,而是要同时发布到 GitHub 和自己的域名下。 我们需要构建一个 CI/CD 过程。这个过程需要做到以下目标:"/>

    用 GitHub Action 自动化构建 Hexo 并发布到 S3

    GitHub Action 自动化构建发布到 GitHub Pages 大家都见得多了,甚至 Hexo 官方自己都有相关的文档。 +我们需要构建一个 CI/CD 过程。这个过程需要做到以下目标:"/>

    用 GitHub Action 自动化构建 Hexo 并发布到 S3

    GitHub Action 自动化构建发布到 GitHub Pages 大家都见得多了,甚至 Hexo 官方自己都有相关的文档。 但我今天要做的不是发布到 GitHub 这么简单,而是要同时发布到 GitHub 和自己的域名下。

    这篇文章的目标

    我们需要构建一个 CI/CD 过程。这个过程需要做到以下目标:

    @@ -279,4 +279,4 @@

    之后的事

  • Lambda@Edge 还没有结合到 IaC 中
  • 配置文件生成过程仍有改进空间
  • -

    留下这些问题,今后再修改。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    留下这些问题,今后再修改。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/graph-for-economics-1.html b/articles/graph-for-economics-1.html index f61b6fb5..0232a1ac 100644 --- a/articles/graph-for-economics-1.html +++ b/articles/graph-for-economics-1.html @@ -4,7 +4,7 @@ > 2. 这篇文章中的图使用 3Blue1Brown 的动画生成工具 manim 的 Community Edition 制作,源代码之后会上传到 GitHub 。 我们先不讲课,先来带个货。"/>

    图解经济学原理(1)

    +我们先不讲课,先来带个货。"/>

    图解经济学原理(1)

    1. 这篇文章参考了曼昆的《经济学原理》与北京大学王辉老师的《微观经济学》课程,内容上会有部分相似。
    2. 这篇文章中的图使用 3Blue1Brown 的动画生成工具 manim 的 Community Edition 制作,源代码之后会上传到 GitHub 。
    3. @@ -108,4 +108,4 @@

      总结一下


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    总结一下


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/graph-for-economics-2.html b/articles/graph-for-economics-2.html index ec5da317..567fc7e9 100644 --- a/articles/graph-for-economics-2.html +++ b/articles/graph-for-economics-2.html @@ -4,7 +4,7 @@ > 2. 这篇文章中的图使用 3Blue1Brown 的动画生成工具 manim 的 Community Edition 制作,源代码之后会上传到 GitHub 。 上一篇讲供给,这一篇讲需求。"/>

    图解经济学原理(2)

    +上一篇讲供给,这一篇讲需求。"/>

    图解经济学原理(2)

    1. 这篇文章参考了曼昆的《经济学原理》与北京大学王辉老师的《微观经济学》课程,内容上会有部分相似。
    2. 这篇文章中的图使用 3Blue1Brown 的动画生成工具 manim 的 Community Edition 制作,源代码之后会上传到 GitHub 。
    3. @@ -133,4 +133,4 @@

      调节经

      财政政策

      货币政策

      两种政策对经济影响 —— 总供给总需求模型

      -

      国际经济


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    国际经济


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/hello-world.html b/articles/hello-world.html index f20d9422..73914cdb 100644 --- a/articles/hello-world.html +++ b/articles/hello-world.html @@ -4,7 +4,7 @@ 自己盲人摸象折腾了一两天,终于利用GitHub Pages,把自己的博客搭好了。 感谢[Huxpro][Huxpro]提供的博客模板,以及[BruceZhao][BruceZhao]编写的中文ReadMe。"/>

    Welcome to Ryo's Blog!

    +感谢[Huxpro][Huxpro]提供的博客模板,以及[BruceZhao][BruceZhao]编写的中文ReadMe。"/>
    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/init-a-new-hexo-project.html b/articles/init-a-new-hexo-project.html index cc044023..17553f80 100644 --- a/articles/init-a-new-hexo-project.html +++ b/articles/init-a-new-hexo-project.html @@ -4,7 +4,7 @@ 对之前的那个博客进行替代,并将之前的文章逐渐搬移过来。 使用的[这个主题](https://github.com/Yue-plus/hexo-theme-arknights)功能还是比较完善的。"/>

    init-a-new-hexo-project

    使用 hexo 搭建博客

    +使用的[这个主题](https://github.com/Yue-plus/hexo-theme-arknights)功能还是比较完善的。"/>
    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/introduction-for-k8s-2.html b/articles/introduction-for-k8s-2.html index 01b32815..1969a1e9 100644 --- a/articles/introduction-for-k8s-2.html +++ b/articles/introduction-for-k8s-2.html @@ -4,7 +4,7 @@ 其实我们之前已经接触过储存相关的内容了:在讲 Stateful Set 时我们提过 Stateful Set 创建出来的 Pod 都会有相互独立的储存;而讲 Daemon Set 时我们提到 K8s 推荐只在 Daemon Set 的 Pod 中访问宿主机磁盘。但独立的储存具体指什么?除了访问宿主机磁盘以外还有什么其他的储存? 在 Docker 中,我们可以把宿主机磁盘上的一个路径作为一个 Volume 来给容器绑定,或者直接使用 Docker Engine 管理的 Volume 来提供持久化存储或是容器间共享文件。在 K8s 里面也沿用了 Volume 这个概念,可以通过 Mount 绑定到容器内的路径,并通过实现 CSI 的各种引擎来提供更多样的存储。"/>

    Kubernetes 入门 (2)

    我们之前说的都是用于部署 Pod 的资源,我们接下来介绍与创建 Pod 不相关的资源:储存与网络。

    +在 Docker 中,我们可以把宿主机磁盘上的一个路径作为一个 Volume 来给容器绑定,或者直接使用 Docker Engine 管理的 Volume 来提供持久化存储或是容器间共享文件。在 K8s 里面也沿用了 Volume 这个概念,可以通过 Mount 绑定到容器内的路径,并通过实现 CSI 的各种引擎来提供更多样的存储。"/>

    Kubernetes 入门 (2)

    我们之前说的都是用于部署 Pod 的资源,我们接下来介绍与创建 Pod 不相关的资源:储存与网络。

    储存

    其实我们之前已经接触过储存相关的内容了:在讲 Stateful Set 时我们提过 Stateful Set 创建出来的 Pod 都会有相互独立的储存;而讲 Daemon Set 时我们提到 K8s 推荐只在 Daemon Set 的 Pod 中访问宿主机磁盘。但独立的储存具体指什么?除了访问宿主机磁盘以外还有什么其他的储存?

    在 Docker 中,我们可以把宿主机磁盘上的一个路径作为一个 Volume 来给容器绑定,或者直接使用 Docker Engine 管理的 Volume 来提供持久化存储或是容器间共享文件。在 K8s 里面也沿用了 Volume 这个概念,可以通过 Mount 绑定到容器内的路径,并通过实现 CSI 的各种引擎来提供更多样的存储。

    @@ -676,4 +676,4 @@

    各种工

    JOJO: 你到底想说什么?

    DIO: 我不用 kubectl apply 了! JOJO ! (其实还是要用的)

    -


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/introduction-for-k8s.html b/articles/introduction-for-k8s.html index c945c07f..73534ca3 100644 --- a/articles/introduction-for-k8s.html +++ b/articles/introduction-for-k8s.html @@ -4,7 +4,7 @@ > 要把一个不知道打过多少个升级补丁,不知道经历了多少任管理员的系统迁移到其他机器上,毫无疑问会是一场灾难。 —— Chad Fowler 《Trash Your Servers and Burn Your Code》 "Write once, run anywhere" 是 Java 曾经的口号。 Java 企图通过 JVM 虚拟机来实现一个可执行程序在多平台间的移植性。但我们现在知道, Java 语言并没能实现他的目标,会在操作系统调用、第三方依赖丢失、两个程序间依赖的冲突等各方面出现问题。"/>

    Kubernetes 入门 (1)

    容器, Docker 与 K8s

    +"Write once, run anywhere" 是 Java 曾经的口号。 Java 企图通过 JVM 虚拟机来实现一个可执行程序在多平台间的移植性。但我们现在知道, Java 语言并没能实现他的目标,会在操作系统调用、第三方依赖丢失、两个程序间依赖的冲突等各方面出现问题。"/>

    Kubernetes 入门 (1)

    容器, Docker 与 K8s

    我们知道 K8s 利用了容器虚拟化技术。而说到容器虚拟化就要说 Docker 。可是,容器到底是什么? Docker 又为我们做了些什么?我们又为什么要用 K8s ?

    关于容器虚拟化

    @@ -451,4 +451,4 @@

    Job 与 CronJob

    另外我们已经知道 Deployment 等资源一般会通过标签等来管理自己创建的资源,那两份不相关的应用完全有可能会撞标签,这时候部署逻辑就有可能会出问题。

    K8s 中提供了名称空间这种资源,用于进行资源隔离。K8s 中大部分资源都从属于一个且仅从属于一个名称空间, Deployment 等资源一般只能控制在同一名称空间下的资源,而不会影响其他名称空间。

    另外,也有一些资源是名称空间无关的,比如节点 Node

    -

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/python-dict.html b/articles/python-dict.html index 5cd4bd0f..95e77f6e 100644 --- a/articles/python-dict.html +++ b/articles/python-dict.html @@ -4,7 +4,7 @@ 以前参加Python相关的面试时,面试官经常都会问一个问题:Python里的字典(dict)是有序的吗? 这自然难不倒我,我也照本宣科地讲:Python的字典底层是用哈希表实现的,在不发生冲突时读写的时间复杂度是O(1),比读写时间复杂度为O(logn)的红黑树要更快。但红黑树可以按下标的大小顺序进行遍历,而Dict遍历时是无序的。"/>

    Python字典的实现原理

    +这自然难不倒我,我也照本宣科地讲:Python的字典底层是用哈希表实现的,在不发生冲突时读写的时间复杂度是O(1),比读写时间复杂度为O(logn)的红黑树要更快。但红黑树可以按下标的大小顺序进行遍历,而Dict遍历时是无序的。"/>

    Python字典的实现原理

    CPython从3.6开始,字典(dict)不再是无序的了——字典的修改了原先的底层实现,变得能按字典插入的顺序进行遍历。而Python从3.7开始将字典的有序性写入语言特性,不管是Jython、IronPython还是其他Python实现,从3.7开始大家的字典都是有序的了。

    前言

    @@ -90,4 +90,4 @@

    参考文献

  • python3.7源码分析-字典_小屋子大侠的博客-CSDN博客_python 字典源码
  • 《深度剖析CPython解释器》9. 解密Python中字典和集合的底层实现,深度分析哈希表
  • CPython 源码阅读 - dict
  • -

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/the-using-in-cpp.html b/articles/the-using-in-cpp.html index 426b559e..3bd65318 100644 --- a/articles/the-using-in-cpp.html +++ b/articles/the-using-in-cpp.html @@ -4,7 +4,7 @@ 不引入命名空间时,使用其中变量需要使用`<命名空间名>::<变量名>`的方式使用。 ```C++"/> \ No newline at end of file +

    能做到类似别名功能的,还有宏#define。但#define运行在编译前的宏处理阶段,对代码进行字符串替换。没有类型检查或其他编译、链接阶段才能进行的检查,不具备安全性。在C++11中不提倡使用#define。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/use-paste-image-and-vscode-memo.html b/articles/use-paste-image-and-vscode-memo.html index bce2f4dc..f6a63680 100644 --- a/articles/use-paste-image-and-vscode-memo.html +++ b/articles/use-paste-image-and-vscode-memo.html @@ -4,7 +4,7 @@ 可能有很多人不熟悉 vscode-memo 这个插件,我先来简单介绍一下。 vscode-memo 定位是一个 knowledge base ,对标的是 [Obsidian.md](https://obsidian.md/) 等软件。其功能包括且不限于:"/>

    完善 Hexo 编写环境,改善文章中使用图片的体验

    我平时使用 vscode-memo 插件写笔记,其中插入图片使用 ![[]] 语法,显示简短,也有较好的预览支持,体验极佳。希望这种特性也能在写 hexo 博客的时候使用。

    +vscode-memo 定位是一个 knowledge base ,对标的是 [Obsidian.md](https://obsidian.md/) 等软件。其功能包括且不限于:"/>

    完善 Hexo 编写环境,改善文章中使用图片的体验

    我平时使用 vscode-memo 插件写笔记,其中插入图片使用 ![[]] 语法,显示简短,也有较好的预览支持,体验极佳。希望这种特性也能在写 hexo 博客的时候使用。

    关于 vscode-memo

    可能有很多人不熟悉 vscode-memo 这个插件,我先来简单介绍一下。

    vscode-memo 定位是一个 knowledge base ,对标的是 Obsidian.md 等软件。其功能包括且不限于:

    @@ -111,4 +111,4 @@

    补充

    └───_posts ├───2022-03-26-create-blog-cicd-by-github.md └───2022-04-03-use-paste-image-and-vscode-memo.md
    -

    可以通过在代码中引用 data.source 解决。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    可以通过在代码中引用 data.source 解决。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/articles/why-homogeneous.html b/articles/why-homogeneous.html index 6553fd69..f7f8b2b4 100644 --- a/articles/why-homogeneous.html +++ b/articles/why-homogeneous.html @@ -4,7 +4,7 @@ 也就是说,对于空间中所有向量 $$\vec{v_1}, \vec{v_2}$$ ,以及任意数量 $$k_1, k_2$$ ,如果有: $$"/>

    为什么使用在齐次坐标下矩阵乘法能表示点平移?

    首先,什么是线性变换?

    +$$"/>

    为什么使用在齐次坐标下矩阵乘法能表示点平移?

    首先,什么是线性变换?

    简化了一万倍来说,线性变换主要是在描述符合这两种性质的变换:一是要可加,二是要能数乘。 也就是说,对于空间中所有向量 v1,v2\vec{v_1}, \vec{v_2}

    Q: 为什么普通的矩阵乘法不能表示平移? A: 因为矩阵乘法只能表示线性变换。平移不是线性变换。

    Q: 为什么在齐次坐标下的矩阵乘法又能表示平移? -A: 因为齐次坐标增加了一个维度。平移变换矩阵其实是在新增的这个维度上做切变(一种线性变换)。切变后的结果正好就是原坐标中的平移变换。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +A: 因为齐次坐标增加了一个维度。平移变换矩阵其实是在新增的这个维度上做切变(一种线性变换)。切变后的结果正好就是原坐标中的平移变换。


    Loading comments...
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/clips.html b/clips.html index 1726aae3..0a098ae1 100644 --- a/clips.html +++ b/clips.html @@ -1 +1 @@ -Clips | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Clips | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/ideas.html b/ideas.html index 2733ae17..f9fceb11 100644 --- a/ideas.html +++ b/ideas.html @@ -1 +1 @@ -Ideas | Ryo's Blog \ No newline at end of file +Ideas | Ryo's Blog \ No newline at end of file diff --git a/ideas/blog-in-next.html b/ideas/blog-in-next.html index 89f6c863..e76a5b1b 100644 --- a/ideas/blog-in-next.html +++ b/ideas/blog-in-next.html @@ -4,7 +4,7 @@ - [x] remark-math - [x] rehype-katex"/>

    用 Next.js 重构 blog ,TODO list

    blog todo

    + - [x] rehype-katex"/>
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/ideas/blog-syntax.html b/ideas/blog-syntax.html index fd4dc2d4..3ffbc35c 100644 --- a/ideas/blog-syntax.html +++ b/ideas/blog-syntax.html @@ -4,7 +4,7 @@ *斜体* ***加粗斜体***"/>

    博客语法渲染测试

    一级标题

    +***加粗斜体***"/>
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/ideas/first-idea.html b/ideas/first-idea.html index 41ca141e..d4e81e00 100644 --- a/ideas/first-idea.html +++ b/ideas/first-idea.html @@ -1,2 +1,2 @@ -<No Title> | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +<No Title> | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/ideas/newest.html b/ideas/newest.html index d4d8530d..b74269f3 100644 --- a/ideas/newest.html +++ b/ideas/newest.html @@ -4,7 +4,7 @@ 然后这里是第二行。 这里是一些内容。"/>

    Kubernetes 入门 (1)

    这里是第一行, +这里是一些内容。"/>

    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +

    new lines!


    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/ideas/using-chart-js.html b/ideas/using-chart-js.html index a0d2d013..839a4d1e 100644 --- a/ideas/using-chart-js.html +++ b/ideas/using-chart-js.html @@ -4,7 +4,7 @@ Introduce: - Chart.js: https://github.com/chartjs/Chart.js"/>

    About Chart.js

    testing for using chart js

    +- Chart.js: https://github.com/chartjs/Chart.js"/>

    About Chart.js

    testing for using chart js

    Use Chart.js in React.

    Introduce:

      @@ -71,4 +71,4 @@

      remark-mdx-chartjs data: [4,2,11,8,6,1,4] backgroundColor: "rgba(53, 162, 235, 0.5)"

    But it's not written in TypeScript, and raising a TS7016 error. -So raise an issue, and wait for the type definition.


    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +So raise an issue, and wait for the type definition.


    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/index.html b/index.html index a206e172..56d6aeef 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Ryo's Blog
    Ryo's Blog
    About Tech, Paint, and Games.
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Ryo's Blog
    Ryo's Blog
    About Tech, Paint, and Games.
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index f0ac1389..c54632ca 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,52 +1,52 @@ -https://ryojerryyu.github.io/blog-next2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/clips2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/Building-this-blog2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/hello-world2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/the-using-in-cpp2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/python-dict2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/Sort-algorithm2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/Handy-heap-cheat-sheet2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/The-beauty-of-design-parten2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/init-a-new-hexo-project2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/create-blog-cicd-by-github2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/use-paste-image-and-vscode-memo2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/graph-for-economics-12024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/graph-for-economics-22024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/why-homogeneous2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/introduction-for-k8s2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/articles/introduction-for-k8s-22024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas/blog-in-next2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas/blog-syntax2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas/first-idea2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas/newest2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/ideas/using-chart-js2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/杂技2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/blog2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/杂谈2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/c++2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/python2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/数据结构2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/算法2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/排序2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/算法竞赛2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/设计模式2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/笔记2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/github2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/aws2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/ci-cd2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/iac2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/devops2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/vscode2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/hexo2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/javascript2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/kubernetes2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/docker2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/cloud-native2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/nextjs2024-10-24T01:27:32.072Zdaily0.7 -https://ryojerryyu.github.io/blog-next/tags/cloud-computing2024-10-24T01:27:32.072Zdaily0.7 +https://ryojerryyu.github.io/blog-next2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/clips2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/Building-this-blog2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/hello-world2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/the-using-in-cpp2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/python-dict2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/Sort-algorithm2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/Handy-heap-cheat-sheet2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/The-beauty-of-design-parten2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/init-a-new-hexo-project2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/create-blog-cicd-by-github2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/use-paste-image-and-vscode-memo2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/graph-for-economics-12024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/graph-for-economics-22024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/why-homogeneous2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/introduction-for-k8s2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/articles/introduction-for-k8s-22024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas/blog-in-next2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas/blog-syntax2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas/first-idea2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas/newest2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/ideas/using-chart-js2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/杂技2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/blog2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/杂谈2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/c++2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/python2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/数据结构2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/算法2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/排序2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/算法竞赛2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/设计模式2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/笔记2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/github2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/aws2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/ci-cd2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/iac2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/devops2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/vscode2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/hexo2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/javascript2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/kubernetes2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/docker2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/cloud-native2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/nextjs2024-10-25T16:33:34.153Zdaily0.7 +https://ryojerryyu.github.io/blog-next/tags/cloud-computing2024-10-25T16:33:34.153Zdaily0.7 \ No newline at end of file diff --git a/tags.html b/tags.html index 3f82a22e..517bcf5f 100644 --- a/tags.html +++ b/tags.html @@ -1 +1 @@ -Tags | Ryo's Blog \ No newline at end of file +Tags | Ryo's Blog \ No newline at end of file diff --git a/tags/aws.html b/tags/aws.html index 6a400a0c..58885d8f 100644 --- a/tags/aws.html +++ b/tags/aws.html @@ -1 +1 @@ -AWS | Ryo's Blog \ No newline at end of file +AWS | Ryo's Blog \ No newline at end of file diff --git a/tags/blog.html b/tags/blog.html index 91fe296d..3585a4e0 100644 --- a/tags/blog.html +++ b/tags/blog.html @@ -1 +1 @@ -Blog | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Blog | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/tags/c++.html b/tags/c++.html index 99f78502..0fe98503 100644 --- a/tags/c++.html +++ b/tags/c++.html @@ -1 +1 @@ -C++ | Ryo's Blog \ No newline at end of file +C++ | Ryo's Blog \ No newline at end of file diff --git a/tags/ci-cd.html b/tags/ci-cd.html index aa105fa6..6284737a 100644 --- a/tags/ci-cd.html +++ b/tags/ci-cd.html @@ -1 +1 @@ -CI/CD | Ryo's Blog \ No newline at end of file +CI/CD | Ryo's Blog \ No newline at end of file diff --git a/tags/cloud-computing.html b/tags/cloud-computing.html index beb5f6c7..dea2fd32 100644 --- a/tags/cloud-computing.html +++ b/tags/cloud-computing.html @@ -1 +1 @@ -Cloud Computing | Ryo's Blog \ No newline at end of file +Cloud Computing | Ryo's Blog \ No newline at end of file diff --git a/tags/cloud-native.html b/tags/cloud-native.html index 53b18628..9c060326 100644 --- a/tags/cloud-native.html +++ b/tags/cloud-native.html @@ -1 +1 @@ -Cloud Native | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Cloud Native | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/tags/devops.html b/tags/devops.html index bcdf41dc..409b31ff 100644 --- a/tags/devops.html +++ b/tags/devops.html @@ -1 +1 @@ -DevOps | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +DevOps | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/tags/docker.html b/tags/docker.html index 5808f9b5..839bff7d 100644 --- a/tags/docker.html +++ b/tags/docker.html @@ -1 +1 @@ -Docker | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Docker | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/tags/github.html b/tags/github.html index b0d26131..742b7c5f 100644 --- a/tags/github.html +++ b/tags/github.html @@ -1 +1 @@ -GitHub | Ryo's Blog \ No newline at end of file +GitHub | Ryo's Blog \ No newline at end of file diff --git a/tags/hexo.html b/tags/hexo.html index 644ef55e..30311667 100644 --- a/tags/hexo.html +++ b/tags/hexo.html @@ -1 +1 @@ -Hexo | Ryo's Blog \ No newline at end of file +Hexo | Ryo's Blog \ No newline at end of file diff --git a/tags/iac.html b/tags/iac.html index 7890d72c..c0fb405c 100644 --- a/tags/iac.html +++ b/tags/iac.html @@ -1 +1 @@ -IaC | Ryo's Blog \ No newline at end of file +IaC | Ryo's Blog \ No newline at end of file diff --git a/tags/javascript.html b/tags/javascript.html index 1f1621ae..5fffa7ba 100644 --- a/tags/javascript.html +++ b/tags/javascript.html @@ -1 +1 @@ -JavaScript | Ryo's Blog \ No newline at end of file +JavaScript | Ryo's Blog \ No newline at end of file diff --git a/tags/kubernetes.html b/tags/kubernetes.html index 6d1f22fe..855b53ec 100644 --- a/tags/kubernetes.html +++ b/tags/kubernetes.html @@ -1 +1 @@ -Kubernetes | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +Kubernetes | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git a/tags/nextjs.html b/tags/nextjs.html index 68c90adb..db4b9432 100644 --- a/tags/nextjs.html +++ b/tags/nextjs.html @@ -1 +1 @@ -Nextjs | Ryo's Blog \ No newline at end of file +Nextjs | Ryo's Blog \ No newline at end of file diff --git a/tags/python.html b/tags/python.html index f4e3181c..e324095f 100644 --- a/tags/python.html +++ b/tags/python.html @@ -1 +1 @@ -Python | Ryo's Blog \ No newline at end of file +Python | Ryo's Blog \ No newline at end of file diff --git a/tags/vscode.html b/tags/vscode.html index 8efa2b90..51713866 100644 --- a/tags/vscode.html +++ b/tags/vscode.html @@ -1 +1 @@ -VSCode | Ryo's Blog \ No newline at end of file +VSCode | Ryo's Blog \ No newline at end of file diff --git "a/tags/\346\216\222\345\272\217.html" "b/tags/\346\216\222\345\272\217.html" index 1134b730..29e86119 100644 --- "a/tags/\346\216\222\345\272\217.html" +++ "b/tags/\346\216\222\345\272\217.html" @@ -1 +1 @@ -排序 | Ryo's Blog \ No newline at end of file +排序 | Ryo's Blog \ No newline at end of file diff --git "a/tags/\346\225\260\346\215\256\347\273\223\346\236\204.html" "b/tags/\346\225\260\346\215\256\347\273\223\346\236\204.html" index 7af3db00..531a387d 100644 --- "a/tags/\346\225\260\346\215\256\347\273\223\346\236\204.html" +++ "b/tags/\346\225\260\346\215\256\347\273\223\346\236\204.html" @@ -1 +1 @@ -数据结构 | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +数据结构 | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git "a/tags/\346\235\202\346\212\200.html" "b/tags/\346\235\202\346\212\200.html" index 5d4e7fe3..e18ca039 100644 --- "a/tags/\346\235\202\346\212\200.html" +++ "b/tags/\346\235\202\346\212\200.html" @@ -1 +1 @@ -杂技 | Ryo's Blog \ No newline at end of file +杂技 | Ryo's Blog \ No newline at end of file diff --git "a/tags/\346\235\202\350\260\210.html" "b/tags/\346\235\202\350\260\210.html" index fdff2d90..d630b94e 100644 --- "a/tags/\346\235\202\350\260\210.html" +++ "b/tags/\346\235\202\350\260\210.html" @@ -1 +1 @@ -杂谈 | Ryo's Blog \ No newline at end of file +杂谈 | Ryo's Blog \ No newline at end of file diff --git "a/tags/\347\254\224\350\256\260.html" "b/tags/\347\254\224\350\256\260.html" index ef11a610..ccf76a32 100644 --- "a/tags/\347\254\224\350\256\260.html" +++ "b/tags/\347\254\224\350\256\260.html" @@ -1 +1 @@ -笔记 | Ryo's Blog \ No newline at end of file +笔记 | Ryo's Blog \ No newline at end of file diff --git "a/tags/\347\256\227\346\263\225.html" "b/tags/\347\256\227\346\263\225.html" index bffd8735..c87a649f 100644 --- "a/tags/\347\256\227\346\263\225.html" +++ "b/tags/\347\256\227\346\263\225.html" @@ -1 +1 @@ -算法 | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file +算法 | Ryo's Blog
    © 2023 Ryo Jerry Yu. All rights reserved.
    \ No newline at end of file diff --git "a/tags/\347\256\227\346\263\225\347\253\236\350\265\233.html" "b/tags/\347\256\227\346\263\225\347\253\236\350\265\233.html" index 7825cc68..8696405c 100644 --- "a/tags/\347\256\227\346\263\225\347\253\236\350\265\233.html" +++ "b/tags/\347\256\227\346\263\225\347\253\236\350\265\233.html" @@ -1 +1 @@ -算法竞赛 | Ryo's Blog \ No newline at end of file +算法竞赛 | Ryo's Blog \ No newline at end of file diff --git "a/tags/\350\256\276\350\256\241\346\250\241\345\274\217.html" "b/tags/\350\256\276\350\256\241\346\250\241\345\274\217.html" index a273b3d5..6d1fa741 100644 --- "a/tags/\350\256\276\350\256\241\346\250\241\345\274\217.html" +++ "b/tags/\350\256\276\350\256\241\346\250\241\345\274\217.html" @@ -1 +1 @@ -设计模式 | Ryo's Blog \ No newline at end of file +设计模式 | Ryo's Blog \ No newline at end of file