From 90bbe29d61c4dd1d1f7c38d12e85ca6103ab6ef4 Mon Sep 17 00:00:00 2001 From: sidharthv96 Date: Fri, 11 Feb 2022 17:11:54 +0000 Subject: [PATCH] deploy: 278982c2465c9197114b9f49e2340c23d3f26684 --- .../assets/pages/__layout.svelte-c1342226.css | 1 + _app/chunks/analytics.browser.es-6fbc7285.js | 2 + _app/chunks/state-53e060b1.js | 18 + _app/chunks/theme-cdf18b87.js | 1 + _app/chunks/util-2f018f36.js | 1 + _app/chunks/vendor-4f17f806.js | 1208 +++++++++++++++++ _app/error.svelte-9eb9f3fa.js | 1 + _app/manifest.json | 66 +- _app/pages/__layout.svelte-650d62e9.js | 1 + _app/pages/edit.svelte-d527d739.js | 76 ++ _app/pages/index.svelte-6fbb3431.js | 1 + _app/pages/view.svelte-53a1d5b0.js | 1 + _app/start-edbdee12.js | 1 + _app/version.json | 2 +- edit/index.html | 16 +- index.html | 16 +- view/index.html | 16 +- 17 files changed, 1370 insertions(+), 58 deletions(-) create mode 100644 _app/assets/pages/__layout.svelte-c1342226.css create mode 100644 _app/chunks/analytics.browser.es-6fbc7285.js create mode 100644 _app/chunks/state-53e060b1.js create mode 100644 _app/chunks/theme-cdf18b87.js create mode 100644 _app/chunks/util-2f018f36.js create mode 100644 _app/chunks/vendor-4f17f806.js create mode 100644 _app/error.svelte-9eb9f3fa.js create mode 100644 _app/pages/__layout.svelte-650d62e9.js create mode 100644 _app/pages/edit.svelte-d527d739.js create mode 100644 _app/pages/index.svelte-6fbb3431.js create mode 100644 _app/pages/view.svelte-53a1d5b0.js create mode 100644 _app/start-edbdee12.js diff --git a/_app/assets/pages/__layout.svelte-c1342226.css b/_app/assets/pages/__layout.svelte-c1342226.css new file mode 100644 index 00000000..4474815b --- /dev/null +++ b/_app/assets/pages/__layout.svelte-c1342226.css @@ -0,0 +1 @@ +/*! tailwindcss v3.0.21 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}:root{background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1))}html{-webkit-tap-highlight-color:transparent}:root{--p:259 94.4% 51.2%;--pf:259 94.3% 41%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:219 14.1% 27.8%;--nf:222 13.4% 19%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}@media (prefers-color-scheme:dark){:root{--p:259 94% 61%;--pf:259 94.4% 51.2%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:222 13.4% 19%;--nf:223 13.7% 10%;--nc:0 0% 100%;--b1:219 14.1% 27.8%;--b2:222 13.4% 19%;--b3:223 13.7% 10%;--bc:228 14.3% 93.1%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}}[data-theme=light]{--p:259 94.4% 51.2%;--pf:259 94.3% 41%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:219 14.1% 27.8%;--nf:222 13.4% 19%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=dark]{--p:259 94% 61%;--pf:259 94.4% 51.2%;--pc:0 0% 100%;--s:314 100% 47.1%;--sf:314 100% 37.1%;--sc:0 0% 100%;--a:174 60% 51%;--af:174 59.8% 41%;--ac:0 0% 100%;--n:222 13.4% 19%;--nf:223 13.7% 10%;--nc:0 0% 100%;--b1:219 14.1% 27.8%;--b2:222 13.4% 19%;--b3:223 13.7% 10%;--bc:228 14.3% 93.1%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=cupcake]{--p:183 47.4% 59%;--pf:183 47.2% 49%;--pc:0 0% 100%;--s:338 71.4% 78%;--sf:338 71.8% 68%;--sc:0 0% 100%;--a:39 84.1% 58%;--af:39 83.7% 48%;--ac:0 0% 100%;--n:280 46.5% 13.9%;--nf:279 46.4% 11%;--nc:0 0% 100%;--b1:24 33.3% 97.1%;--b2:27 22% 92%;--b3:22 14.3% 89%;--bc:280 46.5% 13.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:2px;--tab-radius:.5rem}[data-theme=bumblebee]{--p:50 94.4% 58%;--pf:50 94.3% 47.8%;--pc:240 33.3% 14.1%;--s:41 74.2% 52.9%;--sf:41 73.6% 43.1%;--sc:0 0% 100%;--a:240 33.3% 14.1%;--af:240 33.3% 10%;--ac:0 0% 100%;--n:240 33.3% 14.1%;--nf:240 33.3% 10%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 96.1%;--b3:0 0% 89%;--bc:0 0% 0%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=emerald]{--p:141 50% 60%;--pf:141 49.8% 50%;--pc:210 20% 98%;--s:219 96.1% 60%;--sf:219 96.1% 50%;--sc:210 20% 98%;--a:10 81.2% 56.1%;--af:10 81.2% 45.9%;--ac:210 20% 98%;--n:219 20.3% 25.1%;--nf:220 19.5% 15.1%;--nc:210 20% 98%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:0 0% 94.9%;--bc:219 20.3% 25.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:0;--animation-input:0;--btn-text-case:uppercase;--btn-focus-scale:1;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=corporate]{--p:229 95.7% 63.9%;--pf:229 95.7% 53.9%;--pc:233 27.3% 12.9%;--s:215 26.3% 59%;--sf:214 26.1% 48.8%;--sc:233 27.3% 12.9%;--a:154 49% 60%;--af:154 49% 50%;--ac:233 27.3% 12.9%;--n:233 27.3% 12.9%;--nf:240 25% 3.1%;--nc:210 38.5% 94.9%;--b1:0 0% 100%;--b2:210 60% 98%;--b3:210 38.5% 94.9%;--bc:233 27.3% 12.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:0;--animation-input:0;--btn-text-case:uppercase;--btn-focus-scale:1;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=synthwave]{--p:321 69.6% 69%;--pf:321 70.3% 59%;--pc:257 63.2% 17.1%;--sf:197 87.4% 75.1%;--s:197 86.6% 64.9%;--sc:257 63.2% 17.1%;--af:48 89.3% 67.1%;--a:48 89% 57.1%;--ac:257 63.2% 17.1%;--n:253 60.8% 19%;--nf:257 64.3% 11%;--nc:260 60% 98%;--b1:254 59.1% 25.9%;--b2:253 60.8% 19%;--b3:257 64.3% 11%;--bc:260 60% 98%;--in:199 87% 63.9%;--su:168 74.2% 68%;--wa:48 89% 57.1%;--er:352 73.6% 56.9%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=retro]{--p:3 73.8% 76.1%;--pf:3 73.6% 65.9%;--pc:345 5.3% 14.9%;--s:145 27.3% 72%;--sf:145 26.8% 62%;--sc:345 5.3% 14.9%;--a:49 67.2% 76.1%;--af:49 66.7% 65.9%;--ac:345 5.3% 14.9%;--n:42 16.8% 42%;--nf:41 13.1% 23.9%;--nc:45 47.1% 80%;--b1:45 47.1% 80%;--b2:45 37.1% 72%;--b3:42 36% 65.1%;--bc:345 5.3% 14.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:.4rem;--rounded-btn:.4rem;--rounded-badge:.4rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;font-family:uisecondaryerif,Georgia,Cambria,Times New Roman,Times,serif}[data-theme=cyberpunk]{--p:345 100% 72.9%;--pf:344 100% 67.1%;--pc:0 0% 0%;--s:195 80.4% 70%;--sf:194 65.8% 61%;--sc:0 0% 0%;--a:276 74.3% 71%;--af:276 75.7% 62.9%;--ac:0 0% 0%;--n:57 100% 12.9%;--nf:60 80% 2%;--nc:56 100% 50%;--b1:56 100% 50%;--b2:56 100% 42.9%;--b3:56 100% 36.1%;--bc:0 0% 0%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}[data-theme=valentine]{--p:353 73.8% 67.1%;--pf:353 73.6% 56.9%;--pc:0 0% 100%;--s:254 86.4% 76.9%;--sf:254 86.9% 67.1%;--sc:0 0% 100%;--a:181 55.6% 70%;--af:181 54.9% 60%;--ac:0 0% 100%;--n:336 42.9% 48%;--nf:340 40.2% 38%;--nc:318 46.4% 89%;--b1:318 46.4% 89%;--b2:315 58.9% 79%;--b3:316 62.3% 72.9%;--bc:344 38.5% 28%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=halloween]{--p:32 89.3% 52.2%;--pf:32 88.8% 42%;--pc:180 7.3% 8%;--s:271 45.8% 42%;--sf:271 46% 32%;--sc:0 0% 100%;--a:91 100% 32.9%;--af:91 100% 22.9%;--ac:0 0% 100%;--n:180 3.6% 11%;--nf:180 7.3% 8%;--nc:0 0% 100%;--b1:0 0% 12.9%;--b2:180 3.6% 11%;--b3:180 7.3% 8%;--bc:0 0% 100%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=garden]{--p:139 16% 42.9%;--pf:137 14.8% 33.1%;--pc:0 0% 100%;--s:97 37.1% 93.1%;--sf:98 36.3% 82.2%;--sc:96 32.5% 15.1%;--a:0 67.7% 93.9%;--af:0 71.1% 85.1%;--ac:0 22% 16.1%;--n:0 3.9% 35.1%;--nf:0 3.7% 15.9%;--nc:0 4.3% 91%;--b1:0 4.3% 91%;--b2:0 5.2% 81%;--b3:0 5.4% 71%;--bc:0 3.2% 6.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=forest]{--p:141 72% 42%;--pf:141 71.8% 32%;--pc:0 0% 100%;--s:141 74.7% 48%;--sf:141 75.3% 38%;--sc:0 0% 100%;--a:35 69% 52%;--af:35 69.2% 42%;--ac:0 0% 100%;--n:0 9.7% 6.1%;--nf:0 20% 2%;--nc:0 0% 100%;--b1:0 12.2% 8%;--b2:0 9.7% 6.1%;--b3:0 20% 2%;--bc:0 0% 100%;--rounded-btn:.5rem;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%;--border-color:var(--b3);--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=aqua]{--p:189 100% 62.9%;--pf:189 100% 52.9%;--pc:0 0% 0%;--s:274 30.9% 56.9%;--sf:274 30.8% 47.1%;--sc:0 0% 100%;--a:47 100% 80%;--af:47 100% 70%;--ac:0 0% 100%;--n:231 77.4% 32.9%;--nf:231 67.6% 29%;--nc:0 0% 100%;--b1:231 88.7% 38%;--b2:231 77.4% 32.9%;--b3:231 67.6% 29%;--bc:0 0% 100%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=lofi]{--p:0 0% 50.2%;--pf:0 0% 45.1%;--pc:240 4% 95.1%;--s:0 0% 30.2%;--sf:0 0% 25.1%;--sc:240 4% 95.1%;--a:0 0% 10.2%;--af:0 0% 5.1%;--ac:240 4% 95.1%;--n:240 4% 95.1%;--nf:240 5.9% 90%;--nc:0 0% 30.2%;--b1:0 0% 100%;--b2:0 0% 100%;--b3:0 0% 100%;--bc:0 0% 49%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:#e6e6e6;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--animation-btn:0;--animation-input:0;--btn-text-case:uppercase;--btn-focus-scale:1;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:0}[data-theme=lofi] :where(.btn){--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 0 1px var(--border-color)!important;border-color:var(--border-color)!important}[data-theme=lofi] :where(.card){--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 0 1px var(--border-color)!important;border-color:var(--border-color)!important}[data-theme=pastel]{--p:284 21.6% 80%;--pf:282 21.6% 70%;--pc:0 0% 0%;--s:352 70.5% 88%;--sf:352 69.6% 78%;--sc:0 0% 100%;--a:158 54.6% 81%;--af:158 55.4% 71%;--ac:0 0% 100%;--n:199 43.7% 61%;--nf:199 44% 51%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:206 3.1% 55.1%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--rounded-box:1rem;--rounded-btn:1.9rem;--rounded-badge:1.9rem;--border-color:var(--b3);--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=fantasy]{--p:296 82.8% 25.1%;--pf:296 81.8% 15.1%;--pc:0 0% 100%;--s:200 100% 37.1%;--sf:200 100% 27.1%;--sc:0 0% 100%;--a:31 94.4% 51.2%;--af:31 94.3% 41%;--ac:0 0% 100%;--n:215 27.9% 16.9%;--nf:221 39.3% 11%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12.2% 83.9%;--bc:215 27.9% 16.9%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=wireframe]{--p:0 0% 72.2%;--pf:0 0% 72.2%;--pc:0 0% 0%;--s:0 0% 72.2%;--sf:0 0% 72.2%;--sc:0 0% 0%;--a:0 0% 72.2%;--af:0 0% 72.2%;--ac:0 0% 0%;--b1:0 0% 100%;--b2:0 0% 93.3%;--b3:0 0% 86.7%;--bc:0 0% 0%;--n:0 0% 92.2%;--nf:0 0% 92.2%;--nc:0 0% 0%;--in:240 100% 50%;--su:120 100% 25.1%;--wa:60 30.2% 50%;--er:0 100% 50%;--border-color:#000;--rounded-box:.2rem;--rounded-btn:.2rem;--rounded-badge:.2rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.2rem;font-family:Chalkboard,comic sans ms,sanssecondaryerif}[data-theme=wireframe] *{--tw-border-opacity:1!important;--tw-text-opacity:1!important;--tw-shadow:0 0 0 1px var(--border-color)!important;border-color:var(--border-color)!important}[data-theme=black]{--p:0 0% 100%;--pf:0 0% 100%;--pc:0 0% 0%;--s:0 0% 100%;--sf:0 0% 100%;--sc:0 0% 0%;--a:0 0% 100%;--af:0 0% 100%;--ac:0 0% 0%;--b1:0 0% 0%;--b2:0 0% 20%;--b3:0 0% 30.2%;--bc:0 0% 100%;--n:0 0% 20%;--nf:0 0% 30.2%;--nc:0 0% 100%;--in:240 100% 50%;--su:120 100% 25.1%;--wa:60 100% 50%;--er:0 100% 50%;--border-color:var(--b3);--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--animation-btn:0;--animation-input:0;--btn-text-case:lowercase;--btn-focus-scale:1;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:0}[data-theme=luxury]{--p:0 0% 100%;--pf:0 0% 90.2%;--pc:0 0% 0%;--s:218 54.3% 18%;--sf:219 56.1% 8%;--sc:0 0% 100%;--a:319 21.8% 26.1%;--af:320 22% 16.1%;--ac:0 0% 100%;--n:270 4.3% 9%;--nf:270 2.2% 18%;--nc:37 67.3% 58%;--b1:240 10% 3.9%;--b2:270 4.3% 9%;--b3:270 2.2% 18%;--bc:37 67.3% 58%;--in:202 100% 70%;--su:89 61.6% 52%;--wa:54 68.8% 63.5%;--er:0 100% 71.8%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=dracula]{--p:330 100% 85.1%;--pf:330 100% 75.1%;--pc:233 12.1% 12.9%;--s:115 100% 85.1%;--sf:115 100% 75.1%;--sc:233 12.1% 12.9%;--a:60 100% 85.1%;--af:60 100% 75.1%;--ac:233 12.1% 12.9%;--n:245 14.3% 15.1%;--nf:233 12.1% 12.9%;--nc:251 100% 90%;--b1:244 13% 21.2%;--b2:245 14.3% 15.1%;--b3:233 12.1% 12.9%;--bc:251 100% 90%;--in:207 89.8% 53.9%;--su:174 100% 29%;--wa:36 100% 50%;--er:14 100% 57.1%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}[data-theme=cmyk]{--p:203 83.3% 60.2%;--pf:203 65.1% 53.9%;--pc:0 0% 0%;--s:335 77.7% 59.6%;--sf:335 59.2% 52.9%;--sc:0 0% 0%;--a:56 100% 59.8%;--af:56 72.2% 52%;--ac:0 0% 0%;--n:0 0% 10.2%;--nf:0 0% 0%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 96.1%;--b3:0 0% 92.2%;--bc:0 0% 0%;--in:192 48.4% 52.2%;--su:291 48.5% 38%;--wa:25 84.6% 56.7%;--er:4 80.5% 55.7%;--border-color:var(--b3);--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--navbar-padding:.5rem;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.alert{--tw-bg-opacity:1;align-items:center;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;justify-content:space-between;padding:1rem}@media (min-width:768px){.alert>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.alert{flex-direction:row}}.alert>*{display:flex}.avatar.placeholder>div{align-items:center;display:flex;justify-content:center}.btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;align-items:center;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));border-color:transparent;border-color:hsla(var(--n)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsla(var(--nc)/var(--tw-text-opacity,1));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;height:3rem;justify-content:center;line-height:1.25rem;line-height:1em;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus{outline:2px solid transparent;outline-offset:2px}.btn-disabled,.btn[disabled]{--tw-bg-opacity:.2;--tw-border-opacity:0;--tw-text-opacity:.2;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1));pointer-events:none}.btn.loading,.btn.loading:hover{pointer-events:none}.btn.loading:before{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border-color:transparent currentColor currentColor transparent;border-radius:9999px;border-width:2px;content:"";height:1rem;margin-right:.5rem;width:1rem}@media (prefers-reduced-motion:reduce){.btn.loading:before{-webkit-animation:spin 10s linear infinite;animation:spin 10s linear infinite}}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn-group>input[type=radio].btn:before{content:attr(data-title)}.card{border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;overflow:hidden;position:relative}.card:focus{outline:2px solid transparent;outline-offset:2px}.card-body{display:flex;flex:1 1 auto;flex-direction:column;padding:var(--padding-card,2rem)}.card figure,.card figure>*{width:100%}.card.image-full{display:grid}.card.image-full:before{--tw-bg-opacity:1;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));border-radius:var(--rounded-box,1rem);content:"";opacity:.75;position:relative;z-index:10}.card.image-full:before,.card.image-full>*{grid-column-start:1;grid-row-start:1}.card.image-full>figure img{height:100%;-o-object-fit:cover;object-fit:cover}.card.image-full>.card-body{--tw-text-opacity:1;color:hsla(var(--nc)/var(--tw-text-opacity,1));position:relative;z-index:20}.checkbox{--chkbg:var(--bc);--chkfg:var(--b1);--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;flex-shrink:0;height:1.5rem;width:1.5rem}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.dropdown{display:inline-block;position:relative}.dropdown>:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:.95;--tw-scale-y:.95;opacity:0;position:absolute;transform:translate(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform-origin:top;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);visibility:hidden;z-index:50}.dropdown-end .dropdown-content{right:0}.dropdown-left .dropdown-content{bottom:auto;right:100%;top:0;transform-origin:right}.dropdown-right .dropdown-content{bottom:auto;left:100%;top:0;transform-origin:left}.dropdown-top .dropdown-content{bottom:100%;top:auto;transform-origin:bottom}.dropdown-end.dropdown-left .dropdown-content,.dropdown-end.dropdown-right .dropdown-content{bottom:0;top:auto}.dropdown.dropdown-hover:hover .dropdown-content,.dropdown.dropdown-open .dropdown-content,.dropdown:not(.dropdown-hover):focus .dropdown-content,.dropdown:not(.dropdown-hover):focus-within .dropdown-content{opacity:1;visibility:visible}.form-control{display:flex;flex-direction:column}.label{align-items:center;display:flex;justify-content:space-between;padding:.5rem .25rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.input{--tw-bg-opacity:1;--tw-border-opacity:0;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:1px;flex-shrink:1;font-size:.875rem;height:3rem;line-height:1.25rem;line-height:2;padding-left:1rem;padding-right:1rem;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.input:focus{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsla(var(--bc)/.2);outline:2px solid transparent;outline-offset:2px}.input-group>*,.input-group>.input{border-radius:0}.link{cursor:pointer;text-decoration:underline}.menu{display:flex;flex-direction:column;overflow:hidden}.menu.horizontal{display:inline-flex;flex-direction:row}.menu.horizontal :where(li){flex-direction:row}.menu :where(li){align-items:stretch;display:flex;flex-direction:column}.menu :where(li)>a,.menu :where(li)>button,.menu :where(li)>span{align-items:center;display:flex;outline:2px solid transparent;outline-offset:2px;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu :where(li)>a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu :where(li)>a:focus{outline:2px solid transparent;outline-offset:2px}.menu :where(li).disabled>a,.menu :where(li).disabled>button,.menu :where(li).disabled>span{cursor:auto}.navbar{min-height:4rem;padding:var(--navbar-padding,.5rem)}.navbar,.navbar>*{align-items:center;display:flex}.radio:focus{outline:2px solid transparent;outline-offset:2px}.select{--tw-bg-opacity:1;--tw-border-opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));background-image:linear-gradient(45deg,transparent 50%,currentColor 0),linear-gradient(135deg,currentColor 50%,transparent 0);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;display:inline-flex;flex-shrink:0;font-size:.875rem;font-weight:600;height:3rem;line-height:1.25rem;line-height:2;min-height:3rem;padding-left:1rem;padding-right:2.5rem;transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select:focus{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsla(var(--bc)/.2);outline:2px solid transparent;outline-offset:2px}.select-disabled,.select[disabled]{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-color:hsla(var(--b2)/var(--tw-border-opacity,1));cursor:not-allowed;pointer-events:none}.tabs{align-items:flex-end;display:flex;flex-wrap:wrap}.tab{--tab-padding:1rem;--tw-text-opacity:.5;--tab-color:hsla(var(--bc)/var(--tw-text-opacity,1));--tab-bg:hsla(var(--b1)/var(--tw-bg-opacity,1));--tab-border-color:hsla(var(--b3)/var(--tw-bg-opacity,1));align-items:center;color:var(--tab-color);cursor:pointer;display:inline-flex;flex-wrap:wrap;font-size:.875rem;height:2rem;justify-content:center;line-height:1.25rem;line-height:2;padding-left:var(--tab-padding,1rem);padding-right:var(--tab-padding,1rem);position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle{--chkbg:hsla(var(--bc)/.2);--focus-shadow:0 0 0;--handleoffset:1.5rem;--tw-bg-opacity:.2;--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:var(--rounded-badge,1.9rem);border-width:1px;box-shadow:calc(var(--handleoffset)*-1) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow);cursor:pointer;flex-shrink:0;height:1.5rem;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:3rem}.toggle:focus{outline:2px solid transparent;outline-offset:2px}.btn .badge{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:transparent;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-outline.btn-primary .badge{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary .badge{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--s)/var(--tw-bg-opacity,1));border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn-outline.btn-primary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover .badge{background-color:hsla(var(--pc)/var(--tw-bg-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover .badge,.btn-outline.btn-primary:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--pc)/var(--tw-border-opacity,1))}.btn-outline.btn-primary:hover .badge.outline{background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover .badge{background-color:hsla(var(--sc)/var(--tw-bg-opacity,1));color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover .badge,.btn-outline.btn-secondary:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--sc)/var(--tw-border-opacity,1))}.btn-outline.btn-secondary:hover .badge.outline{background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn:active:focus,.btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.btn-active,.btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--nf)/var(--tw-bg-opacity,1));border-color:hsla(var(--nf)/var(--tw-border-opacity,1))}.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--nf))}.btn-primary{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-primary.btn-active,.btn-primary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1))}.btn-primary:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.btn-secondary{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--s)/var(--tw-bg-opacity,1));border-color:hsla(var(--s)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn-secondary.btn-active,.btn-secondary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));border-color:hsla(var(--sf)/var(--tw-border-opacity,1))}.btn-secondary:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--s))}.btn-success{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-success,.btn-success.btn-active,.btn-success:hover{background-color:hsla(var(--su)/var(--tw-bg-opacity,1));border-color:hsla(var(--su)/var(--tw-border-opacity,1))}.btn-success.btn-active,.btn-success:hover{--tw-bg-opacity:1;--tw-border-opacity:1}.btn-success:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--su))}.btn-error{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-error,.btn-error.btn-active,.btn-error:hover{background-color:hsla(var(--er)/var(--tw-bg-opacity,1));border-color:hsla(var(--er)/var(--tw-border-opacity,1))}.btn-error.btn-active,.btn-error:hover{--tw-bg-opacity:1;--tw-border-opacity:1}.btn-error:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--er))}.btn.glass.btn-active,.btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.btn.glass:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-ghost{background-color:transparent;border-color:transparent;border-width:1px;color:currentColor}.btn-ghost.btn-active,.btn-ghost:hover{--tw-bg-opacity:.2;--tw-border-opacity:0;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1))}.btn-ghost:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-outline.btn-primary{--tw-text-opacity:1;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.btn-primary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary{--tw-text-opacity:1;color:hsla(var(--s)/var(--tw-text-opacity,1))}.btn-outline.btn-secondary:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--sf)/var(--tw-bg-opacity,1));border-color:hsla(var(--sf)/var(--tw-border-opacity,1));color:hsla(var(--sc)/var(--tw-text-opacity,1))}.btn-outline.btn-success{--tw-text-opacity:1;color:hsla(var(--su)/var(--tw-text-opacity,1))}.btn-outline.btn-success:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--su)/var(--tw-bg-opacity,1));border-color:hsla(var(--su)/var(--tw-border-opacity,1));color:hsla(var(--nc)/var(--tw-text-opacity,1))}.btn-outline.btn-error{--tw-text-opacity:1;color:hsla(var(--er)/var(--tw-text-opacity,1))}.btn-outline.btn-error:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--er)/var(--tw-bg-opacity,1));border-color:hsla(var(--er)/var(--tw-border-opacity,1));color:hsla(var(--nc)/var(--tw-text-opacity,1))}.btn.loading.btn-circle:before,.btn.loading.btn-square:before{margin-right:0}.btn.loading.btn-lg:before,.btn.loading.btn-xl:before{height:1.25rem;width:1.25rem}.btn.loading.btn-sm:before,.btn.loading.btn-xs:before{height:.75rem;width:.75rem}.btn-group>.btn-active,.btn-group>input[type=radio]:checked.btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-group>.btn-active:focus-visible,.btn-group>input[type=radio]:checked.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.btn-group>.btn:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}@-webkit-keyframes button-pop{0%{transform:scale(var(--btn-focus-scale,.95))}40%{transform:scale(1.02)}to{transform:scale(1)}}@keyframes button-pop{0%{transform:scale(var(--btn-focus-scale,.95))}40%{transform:scale(1.02)}to{transform:scale(1)}}.card:focus-visible{box-shadow:0 0 0 2px currentColor}.card.bordered{--tw-border-opacity:1;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));border-width:1px}.card.compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card.compact .card-title{margin-bottom:.25rem}.checkbox:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.checkbox:checked,.checkbox[checked=true]{--tw-bg-opacity:1;-webkit-animation:checkmark var(--animation-input,.2s) ease-in-out;animation:checkmark var(--animation-input,.2s) ease-in-out;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 0),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 0),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 0),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 0,hsl(var(--chkfg)) 40%,transparent 0),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 0);background-repeat:no-repeat}.checkbox:indeterminate{--tw-bg-opacity:1;-webkit-animation:checkmark var(--animation-input,.2s) ease-in-out;animation:checkmark var(--animation-input,.2s) ease-in-out;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 0),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 0),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 0,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 0);background-repeat:no-repeat}.checkbox:disabled{--tw-bg-opacity:1;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));border-color:transparent;cursor:not-allowed;opacity:.2}@-webkit-keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}@keyframes checkmark{0%{background-position-y:5px}50%{background-position-y:-2px}to{background-position-y:0}}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-primary{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-secondary{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--s))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-success{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--su))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-error{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--er))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-ghost{box-shadow:0 0 0 2px currentColor}.dropdown.dropdown-hover:hover .dropdown-content,.dropdown.dropdown-open .dropdown-content,.dropdown:focus .dropdown-content,.dropdown:focus-within .dropdown-content{--tw-scale-x:1;--tw-scale-y:1}.label a:hover{--tw-text-opacity:1;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.input-disabled,.input[disabled]{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:.2;background-color:hsla(var(--b2)/var(--tw-bg-opacity,1));border-color:hsla(var(--b2)/var(--tw-border-opacity,1));cursor:not-allowed}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.input-disabled:-ms-input-placeholder,.input[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.input-disabled::placeholder,.input[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{box-shadow:0 0 0 2px currentColor}.menu.horizontal li.bordered>a,.menu.horizontal li.bordered>button,.menu.horizontal li.bordered>span{--tw-border-opacity:1;border-bottom-width:4px;border-color:hsla(var(--p)/var(--tw-border-opacity,1));border-left-width:0}.menu[class*=p-] li a{border-radius:var(--rounded-btn,.5rem)}.menu :where(li.bordered>a),.menu :where(li.bordered>button),.menu :where(li.bordered>span){--tw-border-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1));border-left-width:4px}.menu li>:where(a),.menu li>:where(button),.menu li>:where(span){color:currentColor;padding:.75rem 1.25rem}.menu li>:where(a:focus),.menu li>:where(a:hover),.menu li>:where(button:focus),.menu li>:where(button:hover){--tw-bg-opacity:.1;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1))}.menu li>:where(a.active),.menu li>:where(button.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.menu li>:where(a:active),.menu li>:where(button:active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.menu li.disabled>a:hover,.menu li.disabled>button:hover,.menu li.disabled>span:hover{background-color:transparent}.menu li.disabled>a,.menu li.disabled>button,.menu li.disabled>span{--tw-text-opacity:.2;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.menu li.hover-bordered a{border-color:transparent;border-left-width:4px}.menu li.hover-bordered a:hover{--tw-border-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1))}.menu ul{padding-left:1.5rem}.menu.compact li>a,.menu.compact li>span{font-size:.875rem;line-height:1.25rem;padding-bottom:.5rem;padding-top:.5rem}.menu .menu-title>a,.menu .menu-title>span{--tw-text-opacity:.4;color:hsla(var(--bc)/var(--tw-text-opacity,1));font-size:.75rem;font-weight:700;line-height:1rem;padding-bottom:.25rem;padding-top:.25rem}.mockup-phone .display{border-radius:40px;margin-top:-25px;overflow:hidden}.radio{--chkbg:var(--bc);--focus-shadow:0 0 0;--tw-border-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsla(var(--bc)/var(--tw-border-opacity,1));border-radius:9999px;border-width:1px;cursor:pointer;height:1.5rem;transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:1.5rem}.radio:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.radio:checked{--tw-bg-opacity:1;-webkit-animation:radiomark var(--animation-input,.2s) ease-in-out;animation:radiomark var(--animation-input,.2s) ease-in-out;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}.radio:disabled{cursor:not-allowed;opacity:.2}@-webkit-keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset,var(--focus-shadow)}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset,var(--focus-shadow)}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset,var(--focus-shadow)}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset,var(--focus-shadow)}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset,var(--focus-shadow)}}@-webkit-keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.select-disabled:-ms-input-placeholder,.select[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.select-disabled::placeholder,.select[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsla(var(--bc)/var(--tw-placeholder-opacity,1))}.select-multiple,.select[multiple],.select[size].select:not([size="1"]){background-image:none;padding-right:1rem}.tab:hover{--tw-text-opacity:1}.tab.tab-active{--tw-border-opacity:1;border-color:hsla(var(--bc)/var(--tw-border-opacity,1))}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{box-shadow:inset 0 0 0 2px currentColor}.tab-lifted{border:0 solid transparent;border-bottom:var(--tab-border,1px) solid var(--tab-border-color);border-top-left-radius:var(--tab-radius,.5rem);border-top-right-radius:var(--tab-radius,.5rem);padding-left:var(--tab-padding,1rem);padding-right:var(--tab-padding,1rem);padding-top:var(--tab-border,1px)}.tab-lifted.tab-active{background-color:var(--tab-bg);border-bottom-width:0;border-left-color:var(--tab-border-color);border-left-width:var(--tab-border,1px);border-right-color:var(--tab-border-color);border-right-width:var(--tab-border,1px);border-top-color:var(--tab-border-color);border-top-width:var(--tab-border,1px);padding-bottom:var(--tab-border,1px);padding-left:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-right:calc(var(--tab-padding, 1rem) - var(--tab-border, 1px));padding-top:0}.tab-lifted.tab-active:after,.tab-lifted.tab-active:before{--tab-grad:calc(68% - var(--tab-border, 1px));--tab-corner-bg:radial-gradient(circle at var(--circle-pos),transparent var(--tab-grad),var(--tab-border-color) calc(var(--tab-grad) + .3px),var(--tab-border-color) calc(var(--tab-grad) + var(--tab-border, 1px)),var(--tab-bg) calc(var(--tab-grad) + var(--tab-border, 1px) + .3px));bottom:0;content:"";display:block;height:var(--tab-radius,.5rem);position:absolute;width:var(--tab-radius,.5rem);z-index:1}.tab-lifted.tab-active:before{--circle-pos:top left;background-image:var(--tab-corner-bg);left:calc(var(--tab-radius, .5rem)*-1)}[dir=rtl] .tab-lifted.tab-active:before{--circle-pos:top right}.tab-lifted.tab-active:after{--circle-pos:top right;background-image:var(--tab-corner-bg);right:calc(var(--tab-radius, .5rem)*-1)}[dir=rtl] .tab-lifted.tab-active:after{--circle-pos:top left}.tab-lifted.tab-active+.tab-lifted.tab-active:before,.tab-lifted.tab-active:first-child:before,.tab-lifted.tab-active:last-child:after{background:none}.tabs-boxed .tab-active{--tw-bg-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-radius:var(--rounded-btn,.5rem)}.tabs-boxed .tab-active,.tabs-boxed .tab-active:hover{--tw-text-opacity:1;color:hsla(var(--pc)/var(--tw-text-opacity,1))}.toggle:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--bc))}.toggle:checked,.toggle[checked=true]{--chkbg:hsl(var(--bc));--tw-bg-opacity:1;--tw-border-opacity:1;box-shadow:var(--handleoffset) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}[dir=rtl] .toggle:checked,[dir=rtl] .toggle[checked=true]{box-shadow:calc(var(--handleoffset)*1) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}.toggle:indeterminate{--chkbg:hsl(var(--bc));--tw-bg-opacity:1;--tw-border-opacity:1;box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset,calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}[dir=rtl] .toggle:indeterminate{box-shadow:calc(var(--handleoffset)/2) 0 0 2px hsl(var(--b1)) inset,calc(var(--handleoffset)/-2) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset,var(--focus-shadow)}.toggle-primary:focus-visible{--focus-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.toggle-primary:checked,.toggle-primary[checked=true]{--chkbg:hsl(var(--p));--tw-bg-opacity:1;--tw-border-opacity:.1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.toggle:disabled{--tw-bg-opacity:.2;background-color:hsla(var(--bc)/var(--tw-bg-opacity,1));border-color:transparent;cursor:not-allowed}.btn-xs{font-size:.75rem;height:1.5rem;min-height:1.5rem;padding-left:.5rem;padding-right:.5rem}.btn-sm{font-size:.875rem;height:2rem;min-height:2rem;padding-left:.75rem;padding-right:.75rem}.btn-md{font-size:.875rem;height:3rem;min-height:3rem;padding-left:1rem;padding-right:1rem}.btn-square:where(.btn-xs){height:1.5rem;padding:0;width:1.5rem}.btn-square:where(.btn-sm){height:2rem;padding:0;width:2rem}.btn-square:where(.btn-md){height:3rem;padding:0;width:3rem}.btn-circle:where(.btn-xs){border-radius:9999px;height:1.5rem;padding:0;width:1.5rem}.btn-circle:where(.btn-sm){border-radius:9999px;height:2rem;padding:0;width:2rem}.btn-circle:where(.btn-md){border-radius:9999px;height:3rem;padding:0;width:3rem}.menu-vertical :where(li.bordered>a),.menu-vertical :where(li.bordered>button),.menu-vertical :where(li.bordered>span){border-bottom-width:0;border-left-width:4px}.menu-horizontal :where(li.bordered>a),.menu-horizontal :where(li.bordered>button),.menu-horizontal :where(li.bordered>span){border-bottom-width:4px;border-left-width:0}.fixed{position:fixed}.absolute{position:absolute}.left-0{left:0}.top-0{top:0}.top-px{top:1px}.z-50{z-index:50}.m-2{margin:.5rem}.my-auto{margin-bottom:auto;margin-top:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}.mr-1{margin-right:.25rem}.-mt-2{margin-top:-.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.ml-1{margin-left:.25rem}.mt-14{margin-top:3.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-screen{height:100vh}.h-full{height:100%}.h-6{height:1.5rem}.h-4{height:1rem}.h-96{height:24rem}.h-56{height:14rem}.w-screen{width:100vw}.w-full{width:100%}.w-6{width:1.5rem}.w-4{width:1rem}.w-56{width:14rem}.w-12{width:3rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.border{border-width:1px}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity))}.bg-base-200{--tw-bg-opacity:1;background-color:hsla(var(--b2)/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.stroke-current{stroke:currentColor}.p-2{padding:.5rem}.p-4{padding:1rem}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-4{padding-top:1rem}.pb-0{padding-bottom:0}.align-middle{vertical-align:middle}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.font-semibold{font-weight:600}.normal-case{text-transform:none}.text-primary-content{--tw-text-opacity:1;color:hsla(var(--pc)/var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity:1;color:rgb(224 231 255/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-base-content{--tw-text-opacity:1;color:hsla(var(--bc)/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.opacity-50{opacity:.5}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.input{--tw-border-opacity:1;border:2px solid hsla(var(--p)/var(--tw-border-opacity));border-radius:.25rem;flex:1 1 0%}[data-theme=lofi] :where(.action-btn){--tw-border-opacity:1;--tw-text-opacity:1;--tw-shadow:0 0 0 1px var(--border-color);border-color:var(--border-color)}.action-btn{align-items:center;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));border-color:transparent;border-color:hsla(var(--n)/var(--tw-border-opacity,1));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsla(var(--nc)/var(--tw-text-opacity,1));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;height:3rem;justify-content:center;line-height:1.25rem;line-height:1em;min-height:3rem;padding-left:1rem;padding-right:1rem;text-align:center;text-transform:uppercase;text-transform:var(--btn-text-case,uppercase);transition-duration:.2s;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-btn:focus{outline:2px solid transparent;outline-offset:2px}.action-btn-disabled,.action-btn[disabled]{--tw-bg-opacity:.2;--tw-border-opacity:0;--tw-text-opacity:.2;background-color:hsla(var(--n)/var(--tw-bg-opacity,1));color:hsla(var(--bc)/var(--tw-text-opacity,1));pointer-events:none}.action-btn.loading,.action-btn.loading:hover{pointer-events:none}.action-btn.loading:before{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border-color:transparent currentColor currentColor transparent;border-radius:9999px;border-width:2px;content:"";height:1rem;margin-right:.5rem;width:1rem}@media (prefers-reduced-motion:reduce){.action-btn.loading:before{-webkit-animation:spin 10s linear infinite;animation:spin 10s linear infinite}}.action-btn-group>input[type=radio].btn{-webkit-appearance:none;-moz-appearance:none;appearance:none}.action-btn-group>input[type=radio].btn:before{content:attr(data-title)}.action-btn .badge{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--b1)/var(--tw-bg-opacity,1));border-color:transparent;color:hsla(var(--bc)/var(--tw-text-opacity,1))}.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsla(var(--b2)/var(--tw-border-opacity,1));color:hsla(var(--b2)/var(--tw-text-opacity,1))}.btn-outline.action-btn .badge{--tw-bg-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.btn-outline.action-btn .badge,.btn-outline.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--p)/var(--tw-border-opacity,1))}.btn-outline.action-btn .badge-outline{background-color:transparent;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover .badge{background-color:hsla(var(--pc)/var(--tw-bg-opacity,1));color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover .badge,.btn-outline.action-btn:hover .badge.outline{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;border-color:hsla(var(--pc)/var(--tw-border-opacity,1))}.btn-outline.action-btn:hover .badge.outline{background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn:active:focus,.action-btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.action-btn-active,.action-btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--nf)/var(--tw-bg-opacity,1));border-color:hsla(var(--nf)/var(--tw-border-opacity,1))}.action-btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--nf))}.action-btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn.btn-active,.action-btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1))}.action-btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.action-btn.glass.btn-active,.action-btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.action-btn.glass:focus-visible{box-shadow:0 0 0 2px currentColor}.btn-outline.action-btn{--tw-text-opacity:1;color:hsla(var(--p)/var(--tw-text-opacity,1))}.btn-outline.action-btn:hover{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--pf)/var(--tw-bg-opacity,1));border-color:hsla(var(--pf)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn.loading.btn-circle:before,.action-btn.loading.btn-square:before{margin-right:0}.action-btn.loading.btn-lg:before,.action-btn.loading.btn-xl:before{height:1.25rem;width:1.25rem}.action-btn.loading.btn-sm:before,.action-btn.loading.btn-xs:before{height:.75rem;width:.75rem}.action-btn-group>.btn-active,.action-btn-group>input[type=radio]:checked.btn{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:hsla(var(--p)/var(--tw-bg-opacity,1));border-color:hsla(var(--p)/var(--tw-border-opacity,1));color:hsla(var(--pc)/var(--tw-text-opacity,1))}.action-btn-group>.btn-active:focus-visible,.action-btn-group>input[type=radio]:checked.btn:focus-visible{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.action-btn-group>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.action-btn-group>.btn:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.drawer-toggle:focus-visible~.drawer-content .drawer-button.action-btn{box-shadow:0 0 0 2px hsl(var(--b1)),0 0 0 4px hsl(var(--p))}.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}@media (min-width:768px){.md\:mr-2{margin-right:.5rem}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:hidden{display:none}}@media (min-width:1024px){.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-auto{width:auto}.lg\:items-center{align-items:center}.lg\:pt-0{padding-top:0}}.loader.svelte-1ub1m40{-webkit-animation:svelte-1ub1m40-spin 2s linear infinite;animation:svelte-1ub1m40-spin 2s linear infinite;border:.45em solid #f3f3f3;border-radius:50%;border-top-color:#6365f1;height:3em;width:3em}@-webkit-keyframes svelte-1ub1m40-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes svelte-1ub1m40-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}} diff --git a/_app/chunks/analytics.browser.es-6fbc7285.js b/_app/chunks/analytics.browser.es-6fbc7285.js new file mode 100644 index 00000000..a4720ad6 --- /dev/null +++ b/_app/chunks/analytics.browser.es-6fbc7285.js @@ -0,0 +1,2 @@ +function Ke(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r1&&(Bt(r,y.map(function(v){return v.replace(/[?[\]\\ ]/g,"")}),r[f]),delete r[f])}return r}(function(t){if(t){var n=t.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return W&&window.location.search.substring(1)}(e))}function Bt(e,t,n){for(var r=t.length-1,o=0;o>4}return e}var ye="global",se=te+"global"+te,le=typeof self===Qe&&self.self===self&&self||typeof global===Qe&&global.global===global&&global||void 0;function ne(e){return le[se][e]}function re(e,t){return le[se][e]=t}function fe(e){delete le[se][e]}function de(e,t,n){var r;try{if(Ue(e)){var o=window[e];r=o[t].bind(o)}}catch{}return r||n}le[se]||(le[se]={});var je={};function Ue(e){if(typeof je[e]!==Ee)return je[e];try{var t=window[e];t.setItem(Ee,Ee),t.removeItem(Ee)}catch{return je[e]=!1}return je[e]=!0}function p(){return p=Object.assign||function(e){for(var t=1;t1;return ae===!1&&(c?re(e,t):ne(e)),c?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(o?"; domain="+o:"")+(u?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var Se="localStorage",hn=Ue.bind(null,"localStorage");de("localStorage","getItem",ne);de("localStorage","setItem",re);de("localStorage","removeItem",fe);var Pe="sessionStorage",yn=Ue.bind(null,"sessionStorage");de("sessionStorage","getItem",ne);de("sessionStorage","setItem",re);de("sessionStorage","removeItem",fe);function ve(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(F(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var bn=hn(),In=yn(),wn=$t();function Mt(e,t){if(e){var n=Be(t),r=!Ge(n),o=Fe(n)?ve(localStorage.getItem(e)):void 0;if(r&&!ce(o))return o;var u=Xe(n)?ve(At(e)):void 0;if(r&&u)return u;var c=We(n)?ve(sessionStorage.getItem(e)):void 0;if(r&&c)return c;var f=ne(e);return r?f:{localStorage:o,sessionStorage:c,cookie:u,global:f}}}function Sn(e,t,n){if(e&&!ce(t)){var r={},o=Be(n),u=JSON.stringify(t),c=!Ge(o);return Fe(o)&&(r[Se]=Me(Se,t,ve(localStorage.getItem(e))),localStorage.setItem(e,u),c)?r[Se]:Xe(o)&&(r[we]=Me(we,t,ve(At(e))),vn(e,u),c)?r[we]:We(o)&&(r[Pe]=Me(Pe,t,ve(sessionStorage.getItem(e))),sessionStorage.setItem(e,u),c)?r[Pe]:(r[ye]=Me(ye,t,ne(e)),re(e,t),c?r[ye]:r)}}function Pn(e,t){if(e){var n=Be(t),r=Mt(e,et),o={};return!ce(r.localStorage)&&Fe(n)&&(localStorage.removeItem(e),o[Se]=r.localStorage),!ce(r.cookie)&&Xe(n)&&(Tt(e),o[we]=r.cookie),!ce(r.sessionStorage)&&We(n)&&(sessionStorage.removeItem(e),o[Pe]=r.sessionStorage),!ce(r.global)&&$e(n,ye)&&(fe(e),o[ye]=r.global),o}}function Be(e){return e?he(e)?e:e.storage:Ye}function Fe(e){return bn&&$e(e,Se)}function Xe(e){return wn&&$e(e,we)}function We(e){return In&&$e(e,Pe)}function Ge(e){return e===et||e==="all"}function $e(e,t){return e===Ye||e===t||Ge(e)}function Me(e,t,n){return{location:e,current:t,previous:n}}var En={setItem:Sn,getItem:Mt,removeItem:Pn},On=En;function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},t={storage:On};return mn(Dt(Dt({},t),e))}export{Nn as Analytics,jn as CONSTANTS,g as EVENTS,Nn as default,Nn as init}; diff --git a/_app/chunks/state-53e060b1.js b/_app/chunks/state-53e060b1.js new file mode 100644 index 00000000..4f18a95e --- /dev/null +++ b/_app/chunks/state-53e060b1.js @@ -0,0 +1,18 @@ +var b=Object.defineProperty,k=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,a=(e,t)=>{for(var s in t||(t={}))L.call(t,s)&&m(e,s,t[s]);if(u)for(var s of u(t))_.call(t,s)&&m(e,s,t[s]);return e},o=(e,t)=>k(e,v(t));import{D as f,L as C,M as T,N as O,O as w,P as D,Q as N,R as A,T as E,U as z,V as c}from"./vendor-4f17f806.js";import{_ as p}from"./preload-helper-1db36302.js";const J={loading:!1},g=f(J),H=async(e,t)=>{g.set({loading:!0,message:e});const s=await t;return g.set({loading:!1}),s};let l;const M=async()=>{if(!l)try{const{Analytics:e}=await p(()=>import("./analytics.browser.es-6fbc7285.js"),[]),t=await p(()=>import("./analytics-plugin-ga.browser.es-1cdb0512.js"),[]);l=e({app:"mermaid-live-editor",plugins:[t.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}},R=e=>e.replace(/^\s*%%.*\n/g,` +`).trimStart().split(" ")[0];let y;const j=e=>{l&&(clearTimeout(y),y=setTimeout(function(){const t=R(e);console.debug("ga:","send","event","render",t),l.track("render",{graphType:t})},5e3))},P={serialize:e=>D(e,!0),deserialize:e=>N(e)},U={serialize:e=>{const t=new TextEncoder().encode(e),s=T(t,{level:9});return C(s,!0)},deserialize:e=>{const t=O(e);return w(t,{to:"string"})}},d={base64:P,pako:U},I=e=>{const t=JSON.stringify(e),s="pako",n=d[s].serialize(t);return`${s}:${n}`},B=e=>{let t,s;if(e.includes(":")){let r;if([r,s]=e.split(":"),r in d)t=r;else throw new Error(`Unknown serde type: ${r}`)}else t="base64",s=e;const n=d[t].deserialize(s);return JSON.parse(n)},G={code:`graph TD + A[Christmas] -->|Get money| B(Go shopping) + B --> C{Let me think} + C -->|One| D[Laptop] + C -->|Two| E[iPhone] + C -->|Three| F[fa:fa-car Car] + `,mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0},$=`graph TD + A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.) + B --> C{Is the JSON correct?} + C -->|Yes| D(Please Click here to Raise an issue in github.
Including the broken link in the issue
will speed up the fix.) + C -->|No| E{Did someone
send you this link?} + E -->|Yes| F[Ask them to send
you the complete link] + E -->|No| G{Did you copy
the complete URL?} + G --> |Yes| D + G --> |"No :("| H(Try using the Timeline tab in History
from same browser you used to create the diagram.) + click D href "https://github.com/mermaid-js/mermaid-live-editor/issues/new?assignees=&labels=bug&template=bug_report.md&title=Broken%20link" "Raise issue"`,i=A(f(G),E(),"codeStore"),x=z([i],([e],t)=>{t(I(e))}),Q=e=>{let t;console.log("Loading",e);try{t=B(e);const s=typeof t.mermaid=="string"?JSON.parse(t.mermaid):t.mermaid;s.securityLevel&&s.securityLevel!=="strict"&&confirm(`Removing "securityLevel":"${s.securityLevel}" from the config for safety. +Click Cancel if you trust the source of this Diagram.`)&&delete s.securityLevel,t.mermaid=JSON.stringify(s,null,2)}catch(s){t=c(i),e&&(console.error("Init error",s),t.code=$)}h(o(a({},t),{updateEditor:!0}))},h=e=>{i.update(t=>a(a({},t),e))};let S=!1;const W=(e,t,s=!1)=>{if(j(e),(e.match(/\n/g)||"").length+1>50&&!S&&c(i).autoSync){const r=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");S=!0,r&&h({autoSync:!1})}i.update(r=>o(a({},r),{code:e,updateEditor:t,updateDiagram:s}))},q=(e,t)=>{i.update(s=>o(a({},s),{mermaid:e,updateEditor:t}))},K=e=>{i.update(t=>{const s=JSON.parse(t.mermaid);return(!s.theme||["dark","default"].includes(s.theme))&&(s.theme=e?"dark":"default"),o(a({},t),{mermaid:JSON.stringify(s,null,2),updateEditor:!0})})},X=()=>{x.subscribe(e=>{history.replaceState(void 0,void 0,`#${e}`)})},Z=()=>JSON.stringify(c(i));export{l as a,q as b,i as c,G as d,h as e,X as f,Z as g,M as h,H as i,Q as j,g as l,U as p,x as s,K as t,W as u}; diff --git a/_app/chunks/theme-cdf18b87.js b/_app/chunks/theme-cdf18b87.js new file mode 100644 index 00000000..4db5d7c1 --- /dev/null +++ b/_app/chunks/theme-cdf18b87.js @@ -0,0 +1 @@ +import{R as e,T as t,D as o}from"./vendor-4f17f806.js";const r=e(o({isDark:!1}),t(),"themeStore"),l=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],n=s=>{s.includes(" ")&&(s=s.split(" ")[1].trim());const a=l.includes(s);console.log("Setting theme",s),r.set({theme:s,isDark:a})};export{n as s,r as t}; diff --git a/_app/chunks/util-2f018f36.js b/_app/chunks/util-2f018f36.js new file mode 100644 index 00000000..1054c1d1 --- /dev/null +++ b/_app/chunks/util-2f018f36.js @@ -0,0 +1 @@ +var K=Object.defineProperty,W=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var L=(t,e,a)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,_=(t,e)=>{for(var a in e||(e={}))Y.call(e,a)&&L(t,a,e[a]);if(E)for(var a of E(e))Z.call(e,a)&&L(t,a,e[a]);return t},w=(t,e)=>W(t,X(e));import{D as f,S as x,i as B,s as Q,e as O,c as T,a as U,d as S,b as p,a4 as g,g as $,G as tt,W as G,K as et,v as at,ah as ot,ai as F,Z as R,R as v,T as b,U as st,aj as rt,V as D}from"./vendor-4f17f806.js";import{c as H,d as I,e as V,i as it,f as nt,h as ct,a as lt,j as ut}from"./state-53e060b1.js";const dt=f(void 0);function ft(t){let e,a;return{c(){e=O("div"),a=O("div"),this.h()},l(s){e=T(s,"DIV",{id:!0,class:!0});var o=U(e);a=T(o,"DIV",{id:!0,class:!0}),U(a).forEach(S),o.forEach(S),this.h()},h(){p(a,"id","container"),p(a,"class","flex-1 overflow-auto"),p(e,"id","view"),p(e,"class","p-2 svelte-5ndy2s"),g(e,"error",t[2]),g(e,"outOfSync",t[3])},m(s,o){$(s,e,o),tt(e,a),t[4](a),t[5](e)},p(s,[o]){o&4&&g(e,"error",s[2]),o&8&&g(e,"outOfSync",s[3])},i:G,o:G,d(s){s&&S(e),t[4](null),t[5](null)}}}function pt(t,e,a){let s;et(t,H,i=>a(9,s=i));let o="",u="",r,c,n=!1,l=!1,d=!0;at(()=>{H.subscribe(i=>{try{if(r&&i&&(i.updateDiagram||i.autoSync)){if(i.autoSync||ot(H,s.updateDiagram=!1,s),a(3,l=!1),d=!0,o===i.code&&u===i.mermaid)return;o=i.code,u=i.mermaid;const y=c.parentElement.scrollTop;delete r.dataset.processed,F.initialize(Object.assign({},JSON.parse(i.mermaid))),F.render("graph-div",o,z=>{a(0,r.innerHTML=z,r)}),a(1,c.parentElement.scrollTop=y,c),a(2,n=!1)}else d?d=!1:a(3,l=!0)}catch(y){console.log("view fail",y),a(2,n=!0)}}),dt.subscribe(i=>{typeof i=="undefined"?a(2,n=!1):(a(2,n=!0),console.log("Error: ",i))})});function J(i){R[i?"unshift":"push"](()=>{r=i,a(0,r)})}function q(i){R[i?"unshift":"push"](()=>{c=i,a(1,c)})}return[r,c,n,l,J,q]}class It extends x{constructor(e){super();B(this,e,pt,ft,Q,{})}}const gt=30,j=v(f("manual"),b(),"autoHistoryMode"),m=v(f([]),b(),"autoHistoryStore"),h=v(f([]),b(),"manualHistoryStore"),N=f([]),jt=st([j,m,h,N],([t,e,a,s],o)=>{o(t==="auto"?e:t==="manual"?a:t==="loader"?s:e)}),mt=t=>{if(t.type==="loader"){N.update(e=>[t,...e]);return}if(t.name=rt(2),t.type!=="auto"){h.update(e=>[t,...e]);return}m.update(e=>(e.length===gt&&e.pop(),[t,...e]))},Et=t=>{(D(j)==="auto"?m:h).update(e=>(D(j)!=="loader"&&(e=e.filter(a=>t&&a.time!=t)),e))},Lt=t=>{const e=D(t?m:h);return e.length>0?JSON.stringify(e[0].state):""},k="code.mmd",A="config.json",ht=t=>k in t,C=async t=>t.truncated?await(await fetch(t.raw_url)).text():t.content,yt=async t=>{const[e,a,s,o]=t.split("github.com").pop().split("/"),{html_url:u,files:r,history:c}=await(await fetch(`https://api.github.com/gists/${s}${o?"/"+o:""}`)).json();if(ht(r)){const n=await C(r[k]);let l;A in r&&(l=await C(r[A]));const d=c[0];return{url:`${u}/${d.version}`,code:n,config:l,author:d.user.login,time:new Date(d.committed_at).getTime(),version:d.version.slice(-7)}}else throw"Invalid gist provided"},M=(t,e=t.url)=>{const a=w(_({},I),{code:t.code,loader:{type:"gist",config:{url:e}}});return t.config&&(a.mermaid=t.config),a},_t=async t=>{try{const[e,a,s,o]=t.split("github.com").pop().split("/"),{history:u}=await(await fetch(`https://api.github.com/gists/${s}${o?"/"+o:""}`)).json(),r=[];for(const n of u){const l=await yt(n.url).catch(()=>{});l&&r.push(l)}if(r.length===0)throw"Invalid gist provided";r.reverse();const c=M(r.slice(-1).pop(),t);for(const n of r)mt({state:M(n),time:n.time,type:"loader",url:n.url,name:`${n.author} v${n.version}`});return c}catch(e){console.error(e)}},P={gist:_t},wt=async()=>{const t=new URLSearchParams(window.location.search);let e=I,a,s,o=!1;const u=t.get("code"),r=t.get("config");if(u&&(a=await(await fetch(u)).text(),o=!0),r?s=await(await fetch(r)).text():s=I.mermaid,a)e={code:a,mermaid:s,loader:{type:"files",config:{codeURL:u,configURL:r}}};else for(const[c,n]of t.entries())if(c in P)try{e=await P[c](n),o=!0;break}catch(l){console.error(l)}o&&V(w(_({},e),{autoSync:!0,updateDiagram:!0,updateEditor:!0}))},St=()=>{ut(window.location.hash.slice(1))},vt=()=>{V({updateDiagram:!0})},Ot=async()=>{var t;St(),await it("Loading Gist...",wt().catch(console.error)),vt(),nt(),await ct(),(t=lt)==null||t.page()};export{It as V,jt as a,mt as b,Et as c,dt as e,Lt as g,j as h,Ot as i,N as l,vt as s}; diff --git a/_app/chunks/vendor-4f17f806.js b/_app/chunks/vendor-4f17f806.js new file mode 100644 index 00000000..a51a6890 --- /dev/null +++ b/_app/chunks/vendor-4f17f806.js @@ -0,0 +1,1208 @@ +function lu(){}const l7=r=>r;function aT(r,s){for(const o in s)r[o]=s[o];return r}function h7(r){return r()}function f7(){return Object.create(null)}function Zd(r){r.forEach(h7)}function q6(r){return typeof r=="function"}function oT(r,s){return r!=r?s==s:r!==s||r&&typeof r=="object"||typeof r=="function"}function sT(r){return Object.keys(r).length===0}function V6(r,...s){if(r==null)return lu;const o=r.subscribe(...s);return o.unsubscribe?()=>o.unsubscribe():o}function $N(r){let s;return V6(r,o=>s=o)(),s}function HN(r,s,o){r.$$.on_destroy.push(V6(s,o))}function WN(r,s,o,h){if(r){const c=d7(r,s,o,h);return r[0](c)}}function d7(r,s,o,h){return r[1]&&h?aT(o.ctx.slice(),r[1](h(s))):o.ctx}function qN(r,s,o,h){if(r[2]&&h){const c=r[2](h(o));if(s.dirty===void 0)return c;if(typeof c=="object"){const y=[],p=Math.max(s.dirty.length,c.length);for(let b=0;b32){const s=[],o=r.ctx.length/32;for(let h=0;hwindow.performance.now():()=>Date.now(),G6=p7?r=>requestAnimationFrame(r):lu;const Jp=new Set;function g7(r){Jp.forEach(s=>{s.c(r)||(Jp.delete(s),s.f())}),Jp.size!==0&&G6(g7)}function uT(r){let s;return Jp.size===0&&G6(g7),{promise:new Promise(o=>{Jp.add(s={c:r,f:o})}),abort(){Jp.delete(s)}}}let H4=!1;function lT(){H4=!0}function hT(){H4=!1}function fT(r,s,o,h){for(;r>1);o(c)<=h?r=c+1:s=c}return r}function dT(r){if(r.hydrate_init)return;r.hydrate_init=!0;let s=r.childNodes;if(r.nodeName==="HEAD"){const T=[];for(let k=0;k0&&s[o[c]].claim_order<=k?c+1:fT(1,c,R=>s[o[R]].claim_order,k))-1;h[T]=o[D]+1;const O=D+1;o[O]=T,c=Math.max(O,c)}const y=[],p=[];let b=s.length-1;for(let T=o[c]+1;T!=0;T=h[T-1]){for(y.push(s[T-1]);b>=T;b--)p.push(s[b]);b--}for(;b>=0;b--)p.push(s[b]);y.reverse(),p.sort((T,k)=>T.claim_order-k.claim_order);for(let T=0,k=0;T=y[k].claim_order;)k++;const D=kr.removeEventListener(s,o,h)}function nO(r){return function(s){return s.stopPropagation(),r.call(this,s)}}function rO(r,s,o){o==null?r.removeAttribute(s):r.getAttribute(s)!==o&&r.setAttribute(s,o)}function iO(r){return r===""?null:+r}function bT(r){return Array.from(r.childNodes)}function wT(r){r.claim_info===void 0&&(r.claim_info={last_index:0,total_claimed:0})}function v7(r,s,o,h,c=!1){wT(r);const y=(()=>{for(let p=r.claim_info.last_index;p=0;p--){const b=r[p];if(s(b)){const T=o(b);return T===void 0?r.splice(p,1):r[p]=T,c?T===void 0&&r.claim_info.last_index--:r.claim_info.last_index=p,b}}return h()})();return y.claim_order=r.claim_info.total_claimed,r.claim_info.total_claimed+=1,y}function _7(r,s,o,h){return v7(r,c=>c.nodeName===s,c=>{const y=[];for(let p=0;pc.removeAttribute(p))},()=>h(s))}function aO(r,s,o){return _7(r,s,o,m7)}function oO(r,s,o){return _7(r,s,o,_T)}function xT(r,s){return v7(r,o=>o.nodeType===3,o=>{const h=""+s;if(o.data.startsWith(h)){if(o.data.length!==h.length)return o.splitText(h.length)}else o.data=h},()=>Z6(s),!0)}function sO(r){return xT(r," ")}function cO(r,s){s=""+s,r.wholeText!==s&&(r.data=s)}function uO(r,s){r.value=s==null?"":s}function lO(r,s,o,h){o===null?r.style.removeProperty(s):r.style.setProperty(s,o,h?"important":"")}function hO(r,s,o){r.classList[o?"add":"remove"](s)}function b7(r,s,o=!1){const h=document.createEvent("CustomEvent");return h.initCustomEvent(r,o,!1,s),h}const W4=new Map;let q4=0;function kT(r){let s=5381,o=r.length;for(;o--;)s=(s<<5)-s^r.charCodeAt(o);return s>>>0}function TT(r,s){const o={stylesheet:gT(s),rules:{}};return W4.set(r,o),o}function w7(r,s,o,h,c,y,p,b=0){const T=16.666/h;let k=`{ +`;for(let V=0;V<=1;V+=T){const X=s+(o-s)*y(V);k+=V*100+`%{${p(X,1-X)}} +`}const D=k+`100% {${p(o,1-o)}} +}`,O=`__svelte_${kT(D)}_${b}`,R=y7(r),{stylesheet:z,rules:U}=W4.get(R)||TT(R,r);U[O]||(U[O]=!0,z.insertRule(`@keyframes ${O} ${D}`,z.cssRules.length));const W=r.style.animation||"";return r.style.animation=`${W?`${W}, `:""}${O} ${h}ms linear ${c}ms 1 both`,q4+=1,O}function ET(r,s){const o=(r.style.animation||"").split(", "),h=o.filter(s?y=>y.indexOf(s)<0:y=>y.indexOf("__svelte")===-1),c=o.length-h.length;c&&(r.style.animation=h.join(", "),q4-=c,q4||ST())}function ST(){G6(()=>{q4||(W4.forEach(r=>{const{stylesheet:s}=r;let o=s.cssRules.length;for(;o--;)s.deleteRule(o);r.rules={}}),W4.clear())})}let $m;function Hm(r){$m=r}function V4(){if(!$m)throw new Error("Function called outside component initialization");return $m}function fO(r){V4().$$.on_mount.push(r)}function dO(r){V4().$$.after_update.push(r)}function pO(){const r=V4();return(s,o)=>{const h=r.$$.callbacks[s];if(h){const c=b7(s,o);h.slice().forEach(y=>{y.call(r,c)})}}}function gO(r,s){V4().$$.context.set(r,s)}function yO(r,s){const o=r.$$.callbacks[s.type];o&&o.slice().forEach(h=>h.call(this,s))}const Wm=[],x7=[],G4=[],X6=[],k7=Promise.resolve();let K6=!1;function T7(){K6||(K6=!0,k7.then(E7))}function mO(){return T7(),k7}function Z4(r){G4.push(r)}function vO(r){X6.push(r)}const Q6=new Set;let X4=0;function E7(){const r=$m;do{for(;X4{qm=null})),qm}function J6(r,s,o){r.dispatchEvent(b7(`${s?"intro":"outro"}${o}`))}const K4=new Set;let sl;function _O(){sl={r:0,c:[],p:sl}}function bO(){sl.r||Zd(sl.c),sl=sl.p}function MT(r,s){r&&r.i&&(K4.delete(r),r.i(s))}function wO(r,s,o,h){if(r&&r.o){if(K4.has(r))return;K4.add(r),sl.c.push(()=>{K4.delete(r),h&&(o&&r.d(1),h())}),r.o(s)}}const DT={duration:0};function xO(r,s,o,h){let c=s(r,o),y=h?0:1,p=null,b=null,T=null;function k(){T&&ET(r,T)}function D(R,z){const U=R.b-y;return z*=Math.abs(U),{a:y,b:R.b,d:U,duration:z,start:R.start,end:R.start+z,group:R.group}}function O(R){const{delay:z=0,duration:U=300,easing:W=l7,tick:V=lu,css:X}=c||DT,at={start:cT()+z,b:R};R||(at.group=sl,sl.r+=1),p||b?b=at:(X&&(k(),T=w7(r,y,R,U,z,W,X)),R&&V(0,1),p=D(at,U),Z4(()=>J6(r,R,"start")),uT(tt=>{if(b&&tt>b.start&&(p=D(b,U),b=null,J6(r,p.b,"start"),X&&(k(),T=w7(r,y,p.b,p.duration,0,W,c.css))),p){if(tt>=p.end)V(y=p.b,1-y),J6(r,p.b,"end"),b||(p.b?k():--p.group.r||Zd(p.group.c)),p=null;else if(tt>=p.start){const it=tt-p.start;y=p.a+p.d*W(it/p.duration),V(y,1-y)}}return!!(p||b)}))}return{run(R){q6(c)?AT().then(()=>{c=c(),O(R)}):O(R)},end(){k(),p=b=null}}}function kO(r,s){const o={},h={},c={$$scope:1};let y=r.length;for(;y--;){const p=r[y],b=s[y];if(b){for(const T in p)T in b||(h[T]=1);for(const T in b)c[T]||(o[T]=b[T],c[T]=1);r[y]=b}else for(const T in p)c[T]=1}for(const p in h)p in o||(o[p]=void 0);return o}function TO(r){return typeof r=="object"&&r!==null?r:{}}function EO(r,s,o){const h=r.$$.props[s];h!==void 0&&(r.$$.bound[h]=o,o(r.$$.ctx[h]))}function SO(r){r&&r.c()}function CO(r,s){r&&r.l(s)}function NT(r,s,o,h){const{fragment:c,on_mount:y,on_destroy:p,after_update:b}=r.$$;c&&c.m(s,o),h||Z4(()=>{const T=y.map(h7).filter(q6);p?p.push(...T):Zd(T),r.$$.on_mount=[]}),b.forEach(Z4)}function OT(r,s){const o=r.$$;o.fragment!==null&&(Zd(o.on_destroy),o.fragment&&o.fragment.d(s),o.on_destroy=o.fragment=null,o.ctx=[])}function LT(r,s){r.$$.dirty[0]===-1&&(Wm.push(r),T7(),r.$$.dirty.fill(0)),r.$$.dirty[s/31|0]|=1<{const U=z.length?z[0]:R;return k.ctx&&c(k.ctx[O],k.ctx[O]=U)&&(!k.skip_bound&&k.bound[O]&&k.bound[O](U),D&<(r,O)),R}):[],k.update(),D=!0,Zd(k.before_update),k.fragment=h?h(k.ctx):!1,s.target){if(s.hydrate){lT();const O=bT(s.target);k.fragment&&k.fragment.l(O),O.forEach(vT)}else k.fragment&&k.fragment.c();s.intro&&MT(r.$$.fragment),NT(r,s.target,s.anchor,s.customElement),hT(),E7()}Hm(T)}class MO{$destroy(){OT(this,1),this.$destroy=lu}$on(s,o){const h=this.$$.callbacks[s]||(this.$$.callbacks[s]=[]);return h.push(o),()=>{const c=h.indexOf(o);c!==-1&&h.splice(c,1)}}$set(s){this.$$set&&!sT(s)&&(this.$$.skip_bound=!0,this.$$set(s),this.$$.skip_bound=!1)}}const tg=[];function BT(r,s){return{subscribe:IT(r,s).subscribe}}function IT(r,s=lu){let o;const h=new Set;function c(b){if(oT(r,b)&&(r=b,o)){const T=!tg.length;for(const k of h)k[1](),tg.push(k,r);if(T){for(let k=0;k{h.delete(k),h.size===0&&(o(),o=null)}}return{set:c,update:y,subscribe:p}}function DO(r,s,o){const h=!Array.isArray(r),c=h?[r]:r,y=s.length<2;return BT(o,p=>{let b=!1;const T=[];let k=0,D=lu;const O=()=>{if(k)return;D();const z=s(h?T[0]:T,p);y?p(z):D=q6(z)?z:lu},R=c.map((z,U)=>V6(z,W=>{T[U]=W,k&=~(1<{k|=1<=0?";expires="+R.toUTCString():"")+(b?";domain="+b:"")+(T?";path="+T:"")+(k?";secure":"")+(D?";httponly":"")+(O?";samesite="+O:"")},r.get=function(s){for(var o=document.cookie.split(";");o.length;){var h=o.pop(),c=h.indexOf("=");c=c<0?h.length:c;var y=decodeURIComponent(h.slice(0,c).replace(/^\s+/,""));if(y===s)return decodeURIComponent(h.slice(c+1))}return null},r.erase=function(s,o){r.set(s,"",{expires:-1,domain:o&&o.domain,path:o&&o.path,secure:0,httponly:0})},r.all=function(){for(var s={},o=document.cookie.split(";");o.length;){var h=o.pop(),c=h.indexOf("=");c=c<0?h.length:c;var y=decodeURIComponent(h.slice(0,c).replace(/^\s+/,""));s[y]=decodeURIComponent(h.slice(c+1))}return s}})(RT);function NO(r,s,o){const h=s.getValue(o);return h!==null&&r.set(h),s.addListener&&s.addListener(o,c=>{r.set(c)}),r.subscribe(c=>{s.setValue(o,c)}),Object.assign(Object.assign({},r),{delete(){s.deleteValue(o)}})}function FT(r,s=!1){const o=[],h=p=>{const b=p.key;p.storageArea===r&&o.filter(({key:T})=>T===b).forEach(({listener:T})=>{let k=p.newValue;try{k=JSON.parse(p.newValue)}catch{}T(k)})},c=()=>{s&&typeof window!="undefined"&&(window==null?void 0:window.addEventListener)&&window.addEventListener("storage",h)},y=()=>{s&&typeof window!="undefined"&&(window==null?void 0:window.removeEventListener)&&window.removeEventListener("storage",h)};return{addListener(p,b){o.push({key:p,listener:b}),o.length===1&&c()},removeListener(p,b){const T=o.indexOf({key:p,listener:b});T!==-1&&o.splice(T,1),o.length===0&&y()},getValue(p){let b=r.getItem(p);if(b!=null)try{b=JSON.parse(b)}catch{}return b},deleteValue(p){r.removeItem(p)},setValue(p,b){r.setItem(p,JSON.stringify(b))}}}function OO(r=!1){return typeof window!="undefined"&&(window==null?void 0:window.localStorage)?FT(window.localStorage,r):(console.warn("Unable to find the localStorage. No data will be persisted."),PT())}function PT(){return{getValue(){return null},deleteValue(){},setValue(){}}}/*! pako 2.0.4 https://github.com/nodeca/pako @license (MIT AND Zlib) */const YT=4,S7=0,C7=1,jT=2;function eg(r){let s=r.length;for(;--s>=0;)r[s]=0}const zT=0,A7=1,UT=2,$T=3,HT=258,t8=29,Vm=256,Gm=Vm+1+t8,ng=30,e8=19,M7=2*Gm+1,Xd=15,n8=16,WT=7,r8=256,D7=16,N7=17,O7=18,i8=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Q4=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),qT=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),L7=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),VT=512,cl=new Array((Gm+2)*2);eg(cl);const Zm=new Array(ng*2);eg(Zm);const Xm=new Array(VT);eg(Xm);const Km=new Array(HT-$T+1);eg(Km);const a8=new Array(t8);eg(a8);const J4=new Array(ng);eg(J4);function o8(r,s,o,h,c){this.static_tree=r,this.extra_bits=s,this.extra_base=o,this.elems=h,this.max_length=c,this.has_stree=r&&r.length}let B7,I7,R7;function s8(r,s){this.dyn_tree=r,this.max_code=0,this.stat_desc=s}const F7=r=>r<256?Xm[r]:Xm[256+(r>>>7)],Qm=(r,s)=>{r.pending_buf[r.pending++]=s&255,r.pending_buf[r.pending++]=s>>>8&255},Yo=(r,s,o)=>{r.bi_valid>n8-o?(r.bi_buf|=s<>n8-r.bi_valid,r.bi_valid+=o-n8):(r.bi_buf|=s<{Yo(r,o[s*2],o[s*2+1])},P7=(r,s)=>{let o=0;do o|=r&1,r>>>=1,o<<=1;while(--s>0);return o>>>1},GT=r=>{r.bi_valid===16?(Qm(r,r.bi_buf),r.bi_buf=0,r.bi_valid=0):r.bi_valid>=8&&(r.pending_buf[r.pending++]=r.bi_buf&255,r.bi_buf>>=8,r.bi_valid-=8)},ZT=(r,s)=>{const o=s.dyn_tree,h=s.max_code,c=s.stat_desc.static_tree,y=s.stat_desc.has_stree,p=s.stat_desc.extra_bits,b=s.stat_desc.extra_base,T=s.stat_desc.max_length;let k,D,O,R,z,U,W=0;for(R=0;R<=Xd;R++)r.bl_count[R]=0;for(o[r.heap[r.heap_max]*2+1]=0,k=r.heap_max+1;kT&&(R=T,W++),o[D*2+1]=R,!(D>h)&&(r.bl_count[R]++,z=0,D>=b&&(z=p[D-b]),U=o[D*2],r.opt_len+=U*(R+z),y&&(r.static_len+=U*(c[D*2+1]+z)));if(W!==0){do{for(R=T-1;r.bl_count[R]===0;)R--;r.bl_count[R]--,r.bl_count[R+1]+=2,r.bl_count[T]--,W-=2}while(W>0);for(R=T;R!==0;R--)for(D=r.bl_count[R];D!==0;)O=r.heap[--k],!(O>h)&&(o[O*2+1]!==R&&(r.opt_len+=(R-o[O*2+1])*o[O*2],o[O*2+1]=R),D--)}},Y7=(r,s,o)=>{const h=new Array(Xd+1);let c=0,y,p;for(y=1;y<=Xd;y++)h[y]=c=c+o[y-1]<<1;for(p=0;p<=s;p++){let b=r[p*2+1];b!==0&&(r[p*2]=P7(h[b]++,b))}},XT=()=>{let r,s,o,h,c;const y=new Array(Xd+1);for(o=0,h=0;h>=7;h{let s;for(s=0;s{r.bi_valid>8?Qm(r,r.bi_buf):r.bi_valid>0&&(r.pending_buf[r.pending++]=r.bi_buf),r.bi_buf=0,r.bi_valid=0},KT=(r,s,o,h)=>{z7(r),h&&(Qm(r,o),Qm(r,~o)),r.pending_buf.set(r.window.subarray(s,s+o),r.pending),r.pending+=o},U7=(r,s,o,h)=>{const c=s*2,y=o*2;return r[c]{const h=r.heap[o];let c=o<<1;for(;c<=r.heap_len&&(c{let h,c,y=0,p,b;if(r.last_lit!==0)do h=r.pending_buf[r.d_buf+y*2]<<8|r.pending_buf[r.d_buf+y*2+1],c=r.pending_buf[r.l_buf+y],y++,h===0?hu(r,c,s):(p=Km[c],hu(r,p+Vm+1,s),b=i8[p],b!==0&&(c-=a8[p],Yo(r,c,b)),h--,p=F7(h),hu(r,p,o),b=Q4[p],b!==0&&(h-=J4[p],Yo(r,h,b)));while(y{const o=s.dyn_tree,h=s.stat_desc.static_tree,c=s.stat_desc.has_stree,y=s.stat_desc.elems;let p,b,T=-1,k;for(r.heap_len=0,r.heap_max=M7,p=0;p>1;p>=1;p--)c8(r,o,p);k=y;do p=r.heap[1],r.heap[1]=r.heap[r.heap_len--],c8(r,o,1),b=r.heap[1],r.heap[--r.heap_max]=p,r.heap[--r.heap_max]=b,o[k*2]=o[p*2]+o[b*2],r.depth[k]=(r.depth[p]>=r.depth[b]?r.depth[p]:r.depth[b])+1,o[p*2+1]=o[b*2+1]=k,r.heap[1]=k++,c8(r,o,1);while(r.heap_len>=2);r.heap[--r.heap_max]=r.heap[1],ZT(r,s),Y7(o,T,r.bl_count)},H7=(r,s,o)=>{let h,c=-1,y,p=s[0*2+1],b=0,T=7,k=4;for(p===0&&(T=138,k=3),s[(o+1)*2+1]=65535,h=0;h<=o;h++)y=p,p=s[(h+1)*2+1],!(++b{let h,c=-1,y,p=s[0*2+1],b=0,T=7,k=4;for(p===0&&(T=138,k=3),h=0;h<=o;h++)if(y=p,p=s[(h+1)*2+1],!(++b{let s;for(H7(r,r.dyn_ltree,r.l_desc.max_code),H7(r,r.dyn_dtree,r.d_desc.max_code),u8(r,r.bl_desc),s=e8-1;s>=3&&r.bl_tree[L7[s]*2+1]===0;s--);return r.opt_len+=3*(s+1)+5+5+4,s},JT=(r,s,o,h)=>{let c;for(Yo(r,s-257,5),Yo(r,o-1,5),Yo(r,h-4,4),c=0;c{let s=4093624447,o;for(o=0;o<=31;o++,s>>>=1)if(s&1&&r.dyn_ltree[o*2]!==0)return S7;if(r.dyn_ltree[9*2]!==0||r.dyn_ltree[10*2]!==0||r.dyn_ltree[13*2]!==0)return C7;for(o=32;o{q7||(XT(),q7=!0),r.l_desc=new s8(r.dyn_ltree,B7),r.d_desc=new s8(r.dyn_dtree,I7),r.bl_desc=new s8(r.bl_tree,R7),r.bi_buf=0,r.bi_valid=0,j7(r)},V7=(r,s,o,h)=>{Yo(r,(zT<<1)+(h?1:0),3),KT(r,s,o,!0)},nE=r=>{Yo(r,A7<<1,3),hu(r,r8,cl),GT(r)},rE=(r,s,o,h)=>{let c,y,p=0;r.level>0?(r.strm.data_type===jT&&(r.strm.data_type=tE(r)),u8(r,r.l_desc),u8(r,r.d_desc),p=QT(r),c=r.opt_len+3+7>>>3,y=r.static_len+3+7>>>3,y<=c&&(c=y)):c=y=o+5,o+4<=c&&s!==-1?V7(r,s,o,h):r.strategy===YT||y===c?(Yo(r,(A7<<1)+(h?1:0),3),$7(r,cl,Zm)):(Yo(r,(UT<<1)+(h?1:0),3),JT(r,r.l_desc.max_code+1,r.d_desc.max_code+1,p+1),$7(r,r.dyn_ltree,r.dyn_dtree)),j7(r),h&&z7(r)},iE=(r,s,o)=>(r.pending_buf[r.d_buf+r.last_lit*2]=s>>>8&255,r.pending_buf[r.d_buf+r.last_lit*2+1]=s&255,r.pending_buf[r.l_buf+r.last_lit]=o&255,r.last_lit++,s===0?r.dyn_ltree[o*2]++:(r.matches++,s--,r.dyn_ltree[(Km[o]+Vm+1)*2]++,r.dyn_dtree[F7(s)*2]++),r.last_lit===r.lit_bufsize-1);var aE=eE,oE=V7,sE=rE,cE=iE,uE=nE,lE={_tr_init:aE,_tr_stored_block:oE,_tr_flush_block:sE,_tr_tally:cE,_tr_align:uE};const hE=(r,s,o,h)=>{let c=r&65535|0,y=r>>>16&65535|0,p=0;for(;o!==0;){p=o>2e3?2e3:o,o-=p;do c=c+s[h++]|0,y=y+c|0;while(--p);c%=65521,y%=65521}return c|y<<16|0};var Jm=hE;const fE=()=>{let r,s=[];for(var o=0;o<256;o++){r=o;for(var h=0;h<8;h++)r=r&1?3988292384^r>>>1:r>>>1;s[o]=r}return s},dE=new Uint32Array(fE()),pE=(r,s,o,h)=>{const c=dE,y=h+o;r^=-1;for(let p=h;p>>8^c[(r^s[p])&255];return r^-1};var Ea=pE,Kd={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},rg={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:gE,_tr_stored_block:yE,_tr_flush_block:mE,_tr_tally:zh,_tr_align:vE}=lE,{Z_NO_FLUSH:Qd,Z_PARTIAL_FLUSH:_E,Z_FULL_FLUSH:bE,Z_FINISH:Uh,Z_BLOCK:G7,Z_OK:fu,Z_STREAM_END:Z7,Z_STREAM_ERROR:Hs,Z_DATA_ERROR:wE,Z_BUF_ERROR:l8,Z_DEFAULT_COMPRESSION:xE,Z_FILTERED:kE,Z_HUFFMAN_ONLY:tw,Z_RLE:TE,Z_FIXED:EE,Z_DEFAULT_STRATEGY:SE,Z_UNKNOWN:CE,Z_DEFLATED:ew}=rg,AE=9,ME=15,DE=8,NE=29,OE=256,h8=OE+1+NE,LE=30,BE=19,IE=2*h8+1,RE=15,Tr=3,$h=258,Cc=$h+Tr+1,FE=32,nw=42,f8=69,rw=73,iw=91,aw=103,Jd=113,tv=666,va=1,ev=2,t0=3,ig=4,PE=3,Hh=(r,s)=>(r.msg=Kd[s],s),X7=r=>(r<<1)-(r>4?9:0),Wh=r=>{let s=r.length;for(;--s>=0;)r[s]=0};let YE=(r,s,o)=>(s<{const s=r.state;let o=s.pending;o>r.avail_out&&(o=r.avail_out),o!==0&&(r.output.set(s.pending_buf.subarray(s.pending_out,s.pending_out+o),r.next_out),r.next_out+=o,s.pending_out+=o,r.total_out+=o,r.avail_out-=o,s.pending-=o,s.pending===0&&(s.pending_out=0))},Ha=(r,s)=>{mE(r,r.block_start>=0?r.block_start:-1,r.strstart-r.block_start,s),r.block_start=r.strstart,Vh(r.strm)},Br=(r,s)=>{r.pending_buf[r.pending++]=s},nv=(r,s)=>{r.pending_buf[r.pending++]=s>>>8&255,r.pending_buf[r.pending++]=s&255},jE=(r,s,o,h)=>{let c=r.avail_in;return c>h&&(c=h),c===0?0:(r.avail_in-=c,s.set(r.input.subarray(r.next_in,r.next_in+c),o),r.state.wrap===1?r.adler=Jm(r.adler,s,c,o):r.state.wrap===2&&(r.adler=Ea(r.adler,s,c,o)),r.next_in+=c,r.total_in+=c,c)},K7=(r,s)=>{let o=r.max_chain_length,h=r.strstart,c,y,p=r.prev_length,b=r.nice_match;const T=r.strstart>r.w_size-Cc?r.strstart-(r.w_size-Cc):0,k=r.window,D=r.w_mask,O=r.prev,R=r.strstart+$h;let z=k[h+p-1],U=k[h+p];r.prev_length>=r.good_match&&(o>>=2),b>r.lookahead&&(b=r.lookahead);do if(c=s,!(k[c+p]!==U||k[c+p-1]!==z||k[c]!==k[h]||k[++c]!==k[h+1])){h+=2,c++;do;while(k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&k[++h]===k[++c]&&hp){if(r.match_start=s,p=y,y>=b)break;z=k[h+p-1],U=k[h+p]}}while((s=O[s&D])>T&&--o!=0);return p<=r.lookahead?p:r.lookahead},e0=r=>{const s=r.w_size;let o,h,c,y,p;do{if(y=r.window_size-r.lookahead-r.strstart,r.strstart>=s+(s-Cc)){r.window.set(r.window.subarray(s,s+s),0),r.match_start-=s,r.strstart-=s,r.block_start-=s,h=r.hash_size,o=h;do c=r.head[--o],r.head[o]=c>=s?c-s:0;while(--h);h=s,o=h;do c=r.prev[--o],r.prev[o]=c>=s?c-s:0;while(--h);y+=s}if(r.strm.avail_in===0)break;if(h=jE(r.strm,r.window,r.strstart+r.lookahead,y),r.lookahead+=h,r.lookahead+r.insert>=Tr)for(p=r.strstart-r.insert,r.ins_h=r.window[p],r.ins_h=qh(r,r.ins_h,r.window[p+1]);r.insert&&(r.ins_h=qh(r,r.ins_h,r.window[p+Tr-1]),r.prev[p&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=p,p++,r.insert--,!(r.lookahead+r.insert{let o=65535;for(o>r.pending_buf_size-5&&(o=r.pending_buf_size-5);;){if(r.lookahead<=1){if(e0(r),r.lookahead===0&&s===Qd)return va;if(r.lookahead===0)break}r.strstart+=r.lookahead,r.lookahead=0;const h=r.block_start+o;if((r.strstart===0||r.strstart>=h)&&(r.lookahead=r.strstart-h,r.strstart=h,Ha(r,!1),r.strm.avail_out===0)||r.strstart-r.block_start>=r.w_size-Cc&&(Ha(r,!1),r.strm.avail_out===0))return va}return r.insert=0,s===Uh?(Ha(r,!0),r.strm.avail_out===0?t0:ig):(r.strstart>r.block_start&&(Ha(r,!1),r.strm.avail_out===0),va)},d8=(r,s)=>{let o,h;for(;;){if(r.lookahead=Tr&&(r.ins_h=qh(r,r.ins_h,r.window[r.strstart+Tr-1]),o=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),o!==0&&r.strstart-o<=r.w_size-Cc&&(r.match_length=K7(r,o)),r.match_length>=Tr)if(h=zh(r,r.strstart-r.match_start,r.match_length-Tr),r.lookahead-=r.match_length,r.match_length<=r.max_lazy_match&&r.lookahead>=Tr){r.match_length--;do r.strstart++,r.ins_h=qh(r,r.ins_h,r.window[r.strstart+Tr-1]),o=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart;while(--r.match_length!=0);r.strstart++}else r.strstart+=r.match_length,r.match_length=0,r.ins_h=r.window[r.strstart],r.ins_h=qh(r,r.ins_h,r.window[r.strstart+1]);else h=zh(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++;if(h&&(Ha(r,!1),r.strm.avail_out===0))return va}return r.insert=r.strstart{let o,h,c;for(;;){if(r.lookahead=Tr&&(r.ins_h=qh(r,r.ins_h,r.window[r.strstart+Tr-1]),o=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),r.prev_length=r.match_length,r.prev_match=r.match_start,r.match_length=Tr-1,o!==0&&r.prev_length4096)&&(r.match_length=Tr-1)),r.prev_length>=Tr&&r.match_length<=r.prev_length){c=r.strstart+r.lookahead-Tr,h=zh(r,r.strstart-1-r.prev_match,r.prev_length-Tr),r.lookahead-=r.prev_length-1,r.prev_length-=2;do++r.strstart<=c&&(r.ins_h=qh(r,r.ins_h,r.window[r.strstart+Tr-1]),o=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart);while(--r.prev_length!=0);if(r.match_available=0,r.match_length=Tr-1,r.strstart++,h&&(Ha(r,!1),r.strm.avail_out===0))return va}else if(r.match_available){if(h=zh(r,0,r.window[r.strstart-1]),h&&Ha(r,!1),r.strstart++,r.lookahead--,r.strm.avail_out===0)return va}else r.match_available=1,r.strstart++,r.lookahead--}return r.match_available&&(h=zh(r,0,r.window[r.strstart-1]),r.match_available=0),r.insert=r.strstart{let o,h,c,y;const p=r.window;for(;;){if(r.lookahead<=$h){if(e0(r),r.lookahead<=$h&&s===Qd)return va;if(r.lookahead===0)break}if(r.match_length=0,r.lookahead>=Tr&&r.strstart>0&&(c=r.strstart-1,h=p[c],h===p[++c]&&h===p[++c]&&h===p[++c])){y=r.strstart+$h;do;while(h===p[++c]&&h===p[++c]&&h===p[++c]&&h===p[++c]&&h===p[++c]&&h===p[++c]&&h===p[++c]&&h===p[++c]&&cr.lookahead&&(r.match_length=r.lookahead)}if(r.match_length>=Tr?(o=zh(r,1,r.match_length-Tr),r.lookahead-=r.match_length,r.strstart+=r.match_length,r.match_length=0):(o=zh(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++),o&&(Ha(r,!1),r.strm.avail_out===0))return va}return r.insert=0,s===Uh?(Ha(r,!0),r.strm.avail_out===0?t0:ig):r.last_lit&&(Ha(r,!1),r.strm.avail_out===0)?va:ev},$E=(r,s)=>{let o;for(;;){if(r.lookahead===0&&(e0(r),r.lookahead===0)){if(s===Qd)return va;break}if(r.match_length=0,o=zh(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++,o&&(Ha(r,!1),r.strm.avail_out===0))return va}return r.insert=0,s===Uh?(Ha(r,!0),r.strm.avail_out===0?t0:ig):r.last_lit&&(Ha(r,!1),r.strm.avail_out===0)?va:ev};function du(r,s,o,h,c){this.good_length=r,this.max_lazy=s,this.nice_length=o,this.max_chain=h,this.func=c}const rv=[new du(0,0,0,0,zE),new du(4,4,8,4,d8),new du(4,5,16,8,d8),new du(4,6,32,32,d8),new du(4,4,16,16,ag),new du(8,16,32,32,ag),new du(8,16,128,128,ag),new du(8,32,128,256,ag),new du(32,128,258,1024,ag),new du(32,258,258,4096,ag)],HE=r=>{r.window_size=2*r.w_size,Wh(r.head),r.max_lazy_match=rv[r.level].max_lazy,r.good_match=rv[r.level].good_length,r.nice_match=rv[r.level].nice_length,r.max_chain_length=rv[r.level].max_chain,r.strstart=0,r.block_start=0,r.lookahead=0,r.insert=0,r.match_length=r.prev_length=Tr-1,r.match_available=0,r.ins_h=0};function WE(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ew,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(IE*2),this.dyn_dtree=new Uint16Array((2*LE+1)*2),this.bl_tree=new Uint16Array((2*BE+1)*2),Wh(this.dyn_ltree),Wh(this.dyn_dtree),Wh(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(RE+1),this.heap=new Uint16Array(2*h8+1),Wh(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*h8+1),Wh(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Q7=r=>{if(!r||!r.state)return Hh(r,Hs);r.total_in=r.total_out=0,r.data_type=CE;const s=r.state;return s.pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=s.wrap?nw:Jd,r.adler=s.wrap===2?0:1,s.last_flush=Qd,gE(s),fu},J7=r=>{const s=Q7(r);return s===fu&&HE(r.state),s},qE=(r,s)=>!r||!r.state||r.state.wrap!==2?Hs:(r.state.gzhead=s,fu),tk=(r,s,o,h,c,y)=>{if(!r)return Hs;let p=1;if(s===xE&&(s=6),h<0?(p=0,h=-h):h>15&&(p=2,h-=16),c<1||c>AE||o!==ew||h<8||h>15||s<0||s>9||y<0||y>EE)return Hh(r,Hs);h===8&&(h=9);const b=new WE;return r.state=b,b.strm=r,b.wrap=p,b.gzhead=null,b.w_bits=h,b.w_size=1<tk(r,s,ew,ME,DE,SE),GE=(r,s)=>{let o,h;if(!r||!r.state||s>G7||s<0)return r?Hh(r,Hs):Hs;const c=r.state;if(!r.output||!r.input&&r.avail_in!==0||c.status===tv&&s!==Uh)return Hh(r,r.avail_out===0?l8:Hs);c.strm=r;const y=c.last_flush;if(c.last_flush=s,c.status===nw)if(c.wrap===2)r.adler=0,Br(c,31),Br(c,139),Br(c,8),c.gzhead?(Br(c,(c.gzhead.text?1:0)+(c.gzhead.hcrc?2:0)+(c.gzhead.extra?4:0)+(c.gzhead.name?8:0)+(c.gzhead.comment?16:0)),Br(c,c.gzhead.time&255),Br(c,c.gzhead.time>>8&255),Br(c,c.gzhead.time>>16&255),Br(c,c.gzhead.time>>24&255),Br(c,c.level===9?2:c.strategy>=tw||c.level<2?4:0),Br(c,c.gzhead.os&255),c.gzhead.extra&&c.gzhead.extra.length&&(Br(c,c.gzhead.extra.length&255),Br(c,c.gzhead.extra.length>>8&255)),c.gzhead.hcrc&&(r.adler=Ea(r.adler,c.pending_buf,c.pending,0)),c.gzindex=0,c.status=f8):(Br(c,0),Br(c,0),Br(c,0),Br(c,0),Br(c,0),Br(c,c.level===9?2:c.strategy>=tw||c.level<2?4:0),Br(c,PE),c.status=Jd);else{let p=ew+(c.w_bits-8<<4)<<8,b=-1;c.strategy>=tw||c.level<2?b=0:c.level<6?b=1:c.level===6?b=2:b=3,p|=b<<6,c.strstart!==0&&(p|=FE),p+=31-p%31,c.status=Jd,nv(c,p),c.strstart!==0&&(nv(c,r.adler>>>16),nv(c,r.adler&65535)),r.adler=1}if(c.status===f8)if(c.gzhead.extra){for(o=c.pending;c.gzindex<(c.gzhead.extra.length&65535)&&!(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>o&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),Vh(r),o=c.pending,c.pending===c.pending_buf_size));)Br(c,c.gzhead.extra[c.gzindex]&255),c.gzindex++;c.gzhead.hcrc&&c.pending>o&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),c.gzindex===c.gzhead.extra.length&&(c.gzindex=0,c.status=rw)}else c.status=rw;if(c.status===rw)if(c.gzhead.name){o=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>o&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),Vh(r),o=c.pending,c.pending===c.pending_buf_size)){h=1;break}c.gzindexo&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),h===0&&(c.gzindex=0,c.status=iw)}else c.status=iw;if(c.status===iw)if(c.gzhead.comment){o=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>o&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),Vh(r),o=c.pending,c.pending===c.pending_buf_size)){h=1;break}c.gzindexo&&(r.adler=Ea(r.adler,c.pending_buf,c.pending-o,o)),h===0&&(c.status=aw)}else c.status=aw;if(c.status===aw&&(c.gzhead.hcrc?(c.pending+2>c.pending_buf_size&&Vh(r),c.pending+2<=c.pending_buf_size&&(Br(c,r.adler&255),Br(c,r.adler>>8&255),r.adler=0,c.status=Jd)):c.status=Jd),c.pending!==0){if(Vh(r),r.avail_out===0)return c.last_flush=-1,fu}else if(r.avail_in===0&&X7(s)<=X7(y)&&s!==Uh)return Hh(r,l8);if(c.status===tv&&r.avail_in!==0)return Hh(r,l8);if(r.avail_in!==0||c.lookahead!==0||s!==Qd&&c.status!==tv){let p=c.strategy===tw?$E(c,s):c.strategy===TE?UE(c,s):rv[c.level].func(c,s);if((p===t0||p===ig)&&(c.status=tv),p===va||p===t0)return r.avail_out===0&&(c.last_flush=-1),fu;if(p===ev&&(s===_E?vE(c):s!==G7&&(yE(c,0,0,!1),s===bE&&(Wh(c.head),c.lookahead===0&&(c.strstart=0,c.block_start=0,c.insert=0))),Vh(r),r.avail_out===0))return c.last_flush=-1,fu}return s!==Uh?fu:c.wrap<=0?Z7:(c.wrap===2?(Br(c,r.adler&255),Br(c,r.adler>>8&255),Br(c,r.adler>>16&255),Br(c,r.adler>>24&255),Br(c,r.total_in&255),Br(c,r.total_in>>8&255),Br(c,r.total_in>>16&255),Br(c,r.total_in>>24&255)):(nv(c,r.adler>>>16),nv(c,r.adler&65535)),Vh(r),c.wrap>0&&(c.wrap=-c.wrap),c.pending!==0?fu:Z7)},ZE=r=>{if(!r||!r.state)return Hs;const s=r.state.status;return s!==nw&&s!==f8&&s!==rw&&s!==iw&&s!==aw&&s!==Jd&&s!==tv?Hh(r,Hs):(r.state=null,s===Jd?Hh(r,wE):fu)},XE=(r,s)=>{let o=s.length;if(!r||!r.state)return Hs;const h=r.state,c=h.wrap;if(c===2||c===1&&h.status!==nw||h.lookahead)return Hs;if(c===1&&(r.adler=Jm(r.adler,s,o,0)),h.wrap=0,o>=h.w_size){c===0&&(Wh(h.head),h.strstart=0,h.block_start=0,h.insert=0);let T=new Uint8Array(h.w_size);T.set(s.subarray(o-h.w_size,o),0),s=T,o=h.w_size}const y=r.avail_in,p=r.next_in,b=r.input;for(r.avail_in=o,r.next_in=0,r.input=s,e0(h);h.lookahead>=Tr;){let T=h.strstart,k=h.lookahead-(Tr-1);do h.ins_h=qh(h,h.ins_h,h.window[T+Tr-1]),h.prev[T&h.w_mask]=h.head[h.ins_h],h.head[h.ins_h]=T,T++;while(--k);h.strstart=T,h.lookahead=Tr-1,e0(h)}return h.strstart+=h.lookahead,h.block_start=h.strstart,h.insert=h.lookahead,h.lookahead=0,h.match_length=h.prev_length=Tr-1,h.match_available=0,r.next_in=p,r.input=b,r.avail_in=y,h.wrap=c,fu};var KE=VE,QE=tk,JE=J7,tS=Q7,eS=qE,nS=GE,rS=ZE,iS=XE,aS="pako deflate (from Nodeca project)",iv={deflateInit:KE,deflateInit2:QE,deflateReset:JE,deflateResetKeep:tS,deflateSetHeader:eS,deflate:nS,deflateEnd:rS,deflateSetDictionary:iS,deflateInfo:aS};const oS=(r,s)=>Object.prototype.hasOwnProperty.call(r,s);var sS=function(r){const s=Array.prototype.slice.call(arguments,1);for(;s.length;){const o=s.shift();if(!!o){if(typeof o!="object")throw new TypeError(o+"must be non-object");for(const h in o)oS(o,h)&&(r[h]=o[h])}}return r},cS=r=>{let s=0;for(let h=0,c=r.length;h=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;av[254]=av[254]=1;var uS=r=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(r);let s,o,h,c,y,p=r.length,b=0;for(c=0;c>>6,s[y++]=128|o&63):o<65536?(s[y++]=224|o>>>12,s[y++]=128|o>>>6&63,s[y++]=128|o&63):(s[y++]=240|o>>>18,s[y++]=128|o>>>12&63,s[y++]=128|o>>>6&63,s[y++]=128|o&63);return s};const lS=(r,s)=>{if(s<65534&&r.subarray&&ek)return String.fromCharCode.apply(null,r.length===s?r:r.subarray(0,s));let o="";for(let h=0;h{const o=s||r.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(r.subarray(0,s));let h,c;const y=new Array(o*2);for(c=0,h=0;h4){y[c++]=65533,h+=b-1;continue}for(p&=b===2?31:b===3?15:7;b>1&&h1){y[c++]=65533;continue}p<65536?y[c++]=p:(p-=65536,y[c++]=55296|p>>10&1023,y[c++]=56320|p&1023)}return lS(y,c)},fS=(r,s)=>{s=s||r.length,s>r.length&&(s=r.length);let o=s-1;for(;o>=0&&(r[o]&192)==128;)o--;return o<0||o===0?s:o+av[r[o]]>s?o:s},ov={string2buf:uS,buf2string:hS,utf8border:fS};function dS(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var nk=dS;const rk=Object.prototype.toString,{Z_NO_FLUSH:pS,Z_SYNC_FLUSH:gS,Z_FULL_FLUSH:yS,Z_FINISH:mS,Z_OK:sw,Z_STREAM_END:vS,Z_DEFAULT_COMPRESSION:_S,Z_DEFAULT_STRATEGY:bS,Z_DEFLATED:wS}=rg;function sv(r){this.options=ow.assign({level:_S,method:wS,chunkSize:16384,windowBits:15,memLevel:8,strategy:bS},r||{});let s=this.options;s.raw&&s.windowBits>0?s.windowBits=-s.windowBits:s.gzip&&s.windowBits>0&&s.windowBits<16&&(s.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nk,this.strm.avail_out=0;let o=iv.deflateInit2(this.strm,s.level,s.method,s.windowBits,s.memLevel,s.strategy);if(o!==sw)throw new Error(Kd[o]);if(s.header&&iv.deflateSetHeader(this.strm,s.header),s.dictionary){let h;if(typeof s.dictionary=="string"?h=ov.string2buf(s.dictionary):rk.call(s.dictionary)==="[object ArrayBuffer]"?h=new Uint8Array(s.dictionary):h=s.dictionary,o=iv.deflateSetDictionary(this.strm,h),o!==sw)throw new Error(Kd[o]);this._dict_set=!0}}sv.prototype.push=function(r,s){const o=this.strm,h=this.options.chunkSize;let c,y;if(this.ended)return!1;for(s===~~s?y=s:y=s===!0?mS:pS,typeof r=="string"?o.input=ov.string2buf(r):rk.call(r)==="[object ArrayBuffer]"?o.input=new Uint8Array(r):o.input=r,o.next_in=0,o.avail_in=o.input.length;;){if(o.avail_out===0&&(o.output=new Uint8Array(h),o.next_out=0,o.avail_out=h),(y===gS||y===yS)&&o.avail_out<=6){this.onData(o.output.subarray(0,o.next_out)),o.avail_out=0;continue}if(c=iv.deflate(o,y),c===vS)return o.next_out>0&&this.onData(o.output.subarray(0,o.next_out)),c=iv.deflateEnd(this.strm),this.onEnd(c),this.ended=!0,c===sw;if(o.avail_out===0){this.onData(o.output);continue}if(y>0&&o.next_out>0){this.onData(o.output.subarray(0,o.next_out)),o.avail_out=0;continue}if(o.avail_in===0)break}return!0};sv.prototype.onData=function(r){this.chunks.push(r)};sv.prototype.onEnd=function(r){r===sw&&(this.result=ow.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg};function p8(r,s){const o=new sv(s);if(o.push(r,!0),o.err)throw o.msg||Kd[o.err];return o.result}function xS(r,s){return s=s||{},s.raw=!0,p8(r,s)}function kS(r,s){return s=s||{},s.gzip=!0,p8(r,s)}var TS=sv,ES=p8,SS=xS,CS=kS,AS=rg,MS={Deflate:TS,deflate:ES,deflateRaw:SS,gzip:CS,constants:AS};const cw=30,DS=12;var NS=function(s,o){let h,c,y,p,b,T,k,D,O,R,z,U,W,V,X,at,tt,it,ut,St,et,K,ft,_t;const kt=s.state;h=s.next_in,ft=s.input,c=h+(s.avail_in-5),y=s.next_out,_t=s.output,p=y-(o-s.avail_out),b=y+(s.avail_out-257),T=kt.dmax,k=kt.wsize,D=kt.whave,O=kt.wnext,R=kt.window,z=kt.hold,U=kt.bits,W=kt.lencode,V=kt.distcode,X=(1<>>24,z>>>=it,U-=it,it=tt>>>16&255,it===0)_t[y++]=tt&65535;else if(it&16){ut=tt&65535,it&=15,it&&(U>>=it,U-=it),U<15&&(z+=ft[h++]<>>24,z>>>=it,U-=it,it=tt>>>16&255,it&16){if(St=tt&65535,it&=15,UT){s.msg="invalid distance too far back",kt.mode=cw;break t}if(z>>>=it,U-=it,it=y-p,St>it){if(it=St-it,it>D&&kt.sane){s.msg="invalid distance too far back",kt.mode=cw;break t}if(et=0,K=R,O===0){if(et+=k-it,it2;)_t[y++]=K[et++],_t[y++]=K[et++],_t[y++]=K[et++],ut-=3;ut&&(_t[y++]=K[et++],ut>1&&(_t[y++]=K[et++]))}else{et=y-St;do _t[y++]=_t[et++],_t[y++]=_t[et++],_t[y++]=_t[et++],ut-=3;while(ut>2);ut&&(_t[y++]=_t[et++],ut>1&&(_t[y++]=_t[et++]))}}else if((it&64)==0){tt=V[(tt&65535)+(z&(1<>3,h-=ut,U-=ut<<3,z&=(1<{const T=b.bits;let k=0,D=0,O=0,R=0,z=0,U=0,W=0,V=0,X=0,at=0,tt,it,ut,St,et,K=null,ft=0,_t;const kt=new Uint16Array(og+1),pt=new Uint16Array(og+1);let mt=null,Wt=0,Rt,ye,ge;for(k=0;k<=og;k++)kt[k]=0;for(D=0;D=1&&kt[R]===0;R--);if(z>R&&(z=R),R===0)return c[y++]=1<<24|64<<16|0,c[y++]=1<<24|64<<16|0,b.bits=1,0;for(O=1;O0&&(r===ok||R!==1))return-1;for(pt[1]=0,k=1;kik||r===sk&&X>ak)return 1;for(;;){Rt=k-W,p[D]<_t?(ye=0,ge=p[D]):p[D]>_t?(ye=mt[Wt+p[D]],ge=K[ft+p[D]]):(ye=32+64,ge=0),tt=1<>W)+it]=Rt<<24|ye<<16|ge|0;while(it!==0);for(tt=1<>=1;if(tt!==0?(at&=tt-1,at+=tt):at=0,D++,--kt[k]==0){if(k===R)break;k=s[o+p[D]]}if(k>z&&(at&St)!==ut){for(W===0&&(W=z),et+=O,U=k-W,V=1<ik||r===sk&&X>ak)return 1;ut=at&St,c[ut]=z<<24|U<<16|et-y|0}}return at!==0&&(c[et+at]=k-W<<24|64<<16|0),b.bits=z,0};var cv=RS;const FS=0,ck=1,uk=2,{Z_FINISH:lk,Z_BLOCK:PS,Z_TREES:uw,Z_OK:n0,Z_STREAM_END:YS,Z_NEED_DICT:jS,Z_STREAM_ERROR:Ws,Z_DATA_ERROR:hk,Z_MEM_ERROR:fk,Z_BUF_ERROR:zS,Z_DEFLATED:dk}=rg,pk=1,gk=2,yk=3,mk=4,vk=5,_k=6,bk=7,wk=8,xk=9,kk=10,lw=11,ul=12,y8=13,Tk=14,m8=15,Ek=16,Sk=17,Ck=18,Ak=19,hw=20,fw=21,Mk=22,Dk=23,Nk=24,Ok=25,Lk=26,v8=27,Bk=28,Ik=29,Ci=30,Rk=31,US=32,$S=852,HS=592,WS=15,qS=WS,Fk=r=>(r>>>24&255)+(r>>>8&65280)+((r&65280)<<8)+((r&255)<<24);function VS(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Pk=r=>{if(!r||!r.state)return Ws;const s=r.state;return r.total_in=r.total_out=s.total=0,r.msg="",s.wrap&&(r.adler=s.wrap&1),s.mode=pk,s.last=0,s.havedict=0,s.dmax=32768,s.head=null,s.hold=0,s.bits=0,s.lencode=s.lendyn=new Int32Array($S),s.distcode=s.distdyn=new Int32Array(HS),s.sane=1,s.back=-1,n0},Yk=r=>{if(!r||!r.state)return Ws;const s=r.state;return s.wsize=0,s.whave=0,s.wnext=0,Pk(r)},jk=(r,s)=>{let o;if(!r||!r.state)return Ws;const h=r.state;return s<0?(o=0,s=-s):(o=(s>>4)+1,s<48&&(s&=15)),s&&(s<8||s>15)?Ws:(h.window!==null&&h.wbits!==s&&(h.window=null),h.wrap=o,h.wbits=s,Yk(r))},zk=(r,s)=>{if(!r)return Ws;const o=new VS;r.state=o,o.window=null;const h=jk(r,s);return h!==n0&&(r.state=null),h},GS=r=>zk(r,qS);let Uk=!0,_8,b8;const ZS=r=>{if(Uk){_8=new Int32Array(512),b8=new Int32Array(32);let s=0;for(;s<144;)r.lens[s++]=8;for(;s<256;)r.lens[s++]=9;for(;s<280;)r.lens[s++]=7;for(;s<288;)r.lens[s++]=8;for(cv(ck,r.lens,0,288,_8,0,r.work,{bits:9}),s=0;s<32;)r.lens[s++]=5;cv(uk,r.lens,0,32,b8,0,r.work,{bits:5}),Uk=!1}r.lencode=_8,r.lenbits=9,r.distcode=b8,r.distbits=5},$k=(r,s,o,h)=>{let c;const y=r.state;return y.window===null&&(y.wsize=1<=y.wsize?(y.window.set(s.subarray(o-y.wsize,o),0),y.wnext=0,y.whave=y.wsize):(c=y.wsize-y.wnext,c>h&&(c=h),y.window.set(s.subarray(o-h,o-h+c),y.wnext),h-=c,h?(y.window.set(s.subarray(o-h,o),0),y.wnext=h,y.whave=y.wsize):(y.wnext+=c,y.wnext===y.wsize&&(y.wnext=0),y.whave{let o,h,c,y,p,b,T,k,D,O,R,z,U,W,V=0,X,at,tt,it,ut,St,et,K;const ft=new Uint8Array(4);let _t,kt;const pt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!r||!r.state||!r.output||!r.input&&r.avail_in!==0)return Ws;o=r.state,o.mode===ul&&(o.mode=y8),p=r.next_out,c=r.output,T=r.avail_out,y=r.next_in,h=r.input,b=r.avail_in,k=o.hold,D=o.bits,O=b,R=T,K=n0;t:for(;;)switch(o.mode){case pk:if(o.wrap===0){o.mode=y8;break}for(;D<16;){if(b===0)break t;b--,k+=h[y++]<>>8&255,o.check=Ea(o.check,ft,2,0),k=0,D=0,o.mode=gk;break}if(o.flags=0,o.head&&(o.head.done=!1),!(o.wrap&1)||(((k&255)<<8)+(k>>8))%31){r.msg="incorrect header check",o.mode=Ci;break}if((k&15)!==dk){r.msg="unknown compression method",o.mode=Ci;break}if(k>>>=4,D-=4,et=(k&15)+8,o.wbits===0)o.wbits=et;else if(et>o.wbits){r.msg="invalid window size",o.mode=Ci;break}o.dmax=1<>8&1),o.flags&512&&(ft[0]=k&255,ft[1]=k>>>8&255,o.check=Ea(o.check,ft,2,0)),k=0,D=0,o.mode=yk;case yk:for(;D<32;){if(b===0)break t;b--,k+=h[y++]<>>8&255,ft[2]=k>>>16&255,ft[3]=k>>>24&255,o.check=Ea(o.check,ft,4,0)),k=0,D=0,o.mode=mk;case mk:for(;D<16;){if(b===0)break t;b--,k+=h[y++]<>8),o.flags&512&&(ft[0]=k&255,ft[1]=k>>>8&255,o.check=Ea(o.check,ft,2,0)),k=0,D=0,o.mode=vk;case vk:if(o.flags&1024){for(;D<16;){if(b===0)break t;b--,k+=h[y++]<>>8&255,o.check=Ea(o.check,ft,2,0)),k=0,D=0}else o.head&&(o.head.extra=null);o.mode=_k;case _k:if(o.flags&1024&&(z=o.length,z>b&&(z=b),z&&(o.head&&(et=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Uint8Array(o.head.extra_len)),o.head.extra.set(h.subarray(y,y+z),et)),o.flags&512&&(o.check=Ea(o.check,h,z,y)),b-=z,y+=z,o.length-=z),o.length))break t;o.length=0,o.mode=bk;case bk:if(o.flags&2048){if(b===0)break t;z=0;do et=h[y+z++],o.head&&et&&o.length<65536&&(o.head.name+=String.fromCharCode(et));while(et&&z>9&1,o.head.done=!0),r.adler=o.check=0,o.mode=ul;break;case kk:for(;D<32;){if(b===0)break t;b--,k+=h[y++]<>>=D&7,D-=D&7,o.mode=v8;break}for(;D<3;){if(b===0)break t;b--,k+=h[y++]<>>=1,D-=1,k&3){case 0:o.mode=Tk;break;case 1:if(ZS(o),o.mode=hw,s===uw){k>>>=2,D-=2;break t}break;case 2:o.mode=Sk;break;case 3:r.msg="invalid block type",o.mode=Ci}k>>>=2,D-=2;break;case Tk:for(k>>>=D&7,D-=D&7;D<32;){if(b===0)break t;b--,k+=h[y++]<>>16^65535)){r.msg="invalid stored block lengths",o.mode=Ci;break}if(o.length=k&65535,k=0,D=0,o.mode=m8,s===uw)break t;case m8:o.mode=Ek;case Ek:if(z=o.length,z){if(z>b&&(z=b),z>T&&(z=T),z===0)break t;c.set(h.subarray(y,y+z),p),b-=z,y+=z,T-=z,p+=z,o.length-=z;break}o.mode=ul;break;case Sk:for(;D<14;){if(b===0)break t;b--,k+=h[y++]<>>=5,D-=5,o.ndist=(k&31)+1,k>>>=5,D-=5,o.ncode=(k&15)+4,k>>>=4,D-=4,o.nlen>286||o.ndist>30){r.msg="too many length or distance symbols",o.mode=Ci;break}o.have=0,o.mode=Ck;case Ck:for(;o.have>>=3,D-=3}for(;o.have<19;)o.lens[pt[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,_t={bits:o.lenbits},K=cv(FS,o.lens,0,19,o.lencode,0,o.work,_t),o.lenbits=_t.bits,K){r.msg="invalid code lengths set",o.mode=Ci;break}o.have=0,o.mode=Ak;case Ak:for(;o.have>>24,at=V>>>16&255,tt=V&65535,!(X<=D);){if(b===0)break t;b--,k+=h[y++]<>>=X,D-=X,o.lens[o.have++]=tt;else{if(tt===16){for(kt=X+2;D>>=X,D-=X,o.have===0){r.msg="invalid bit length repeat",o.mode=Ci;break}et=o.lens[o.have-1],z=3+(k&3),k>>>=2,D-=2}else if(tt===17){for(kt=X+3;D>>=X,D-=X,et=0,z=3+(k&7),k>>>=3,D-=3}else{for(kt=X+7;D>>=X,D-=X,et=0,z=11+(k&127),k>>>=7,D-=7}if(o.have+z>o.nlen+o.ndist){r.msg="invalid bit length repeat",o.mode=Ci;break}for(;z--;)o.lens[o.have++]=et}}if(o.mode===Ci)break;if(o.lens[256]===0){r.msg="invalid code -- missing end-of-block",o.mode=Ci;break}if(o.lenbits=9,_t={bits:o.lenbits},K=cv(ck,o.lens,0,o.nlen,o.lencode,0,o.work,_t),o.lenbits=_t.bits,K){r.msg="invalid literal/lengths set",o.mode=Ci;break}if(o.distbits=6,o.distcode=o.distdyn,_t={bits:o.distbits},K=cv(uk,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,_t),o.distbits=_t.bits,K){r.msg="invalid distances set",o.mode=Ci;break}if(o.mode=hw,s===uw)break t;case hw:o.mode=fw;case fw:if(b>=6&&T>=258){r.next_out=p,r.avail_out=T,r.next_in=y,r.avail_in=b,o.hold=k,o.bits=D,NS(r,R),p=r.next_out,c=r.output,T=r.avail_out,y=r.next_in,h=r.input,b=r.avail_in,k=o.hold,D=o.bits,o.mode===ul&&(o.back=-1);break}for(o.back=0;V=o.lencode[k&(1<>>24,at=V>>>16&255,tt=V&65535,!(X<=D);){if(b===0)break t;b--,k+=h[y++]<>it)],X=V>>>24,at=V>>>16&255,tt=V&65535,!(it+X<=D);){if(b===0)break t;b--,k+=h[y++]<>>=it,D-=it,o.back+=it}if(k>>>=X,D-=X,o.back+=X,o.length=tt,at===0){o.mode=Lk;break}if(at&32){o.back=-1,o.mode=ul;break}if(at&64){r.msg="invalid literal/length code",o.mode=Ci;break}o.extra=at&15,o.mode=Mk;case Mk:if(o.extra){for(kt=o.extra;D>>=o.extra,D-=o.extra,o.back+=o.extra}o.was=o.length,o.mode=Dk;case Dk:for(;V=o.distcode[k&(1<>>24,at=V>>>16&255,tt=V&65535,!(X<=D);){if(b===0)break t;b--,k+=h[y++]<>it)],X=V>>>24,at=V>>>16&255,tt=V&65535,!(it+X<=D);){if(b===0)break t;b--,k+=h[y++]<>>=it,D-=it,o.back+=it}if(k>>>=X,D-=X,o.back+=X,at&64){r.msg="invalid distance code",o.mode=Ci;break}o.offset=tt,o.extra=at&15,o.mode=Nk;case Nk:if(o.extra){for(kt=o.extra;D>>=o.extra,D-=o.extra,o.back+=o.extra}if(o.offset>o.dmax){r.msg="invalid distance too far back",o.mode=Ci;break}o.mode=Ok;case Ok:if(T===0)break t;if(z=R-T,o.offset>z){if(z=o.offset-z,z>o.whave&&o.sane){r.msg="invalid distance too far back",o.mode=Ci;break}z>o.wnext?(z-=o.wnext,U=o.wsize-z):U=o.wnext-z,z>o.length&&(z=o.length),W=o.window}else W=c,U=p-o.offset,z=o.length;z>T&&(z=T),T-=z,o.length-=z;do c[p++]=W[U++];while(--z);o.length===0&&(o.mode=fw);break;case Lk:if(T===0)break t;c[p++]=o.length,T--,o.mode=fw;break;case v8:if(o.wrap){for(;D<32;){if(b===0)break t;b--,k|=h[y++]<{if(!r||!r.state)return Ws;let s=r.state;return s.window&&(s.window=null),r.state=null,n0},QS=(r,s)=>{if(!r||!r.state)return Ws;const o=r.state;return(o.wrap&2)==0?Ws:(o.head=s,s.done=!1,n0)},JS=(r,s)=>{const o=s.length;let h,c,y;return!r||!r.state||(h=r.state,h.wrap!==0&&h.mode!==lw)?Ws:h.mode===lw&&(c=1,c=Jm(c,s,o,0),c!==h.check)?hk:(y=$k(r,s,o,o),y?(h.mode=Rk,fk):(h.havedict=1,n0))};var tC=Yk,eC=jk,nC=Pk,rC=GS,iC=zk,aC=XS,oC=KS,sC=QS,cC=JS,uC="pako inflate (from Nodeca project)",ll={inflateReset:tC,inflateReset2:eC,inflateResetKeep:nC,inflateInit:rC,inflateInit2:iC,inflate:aC,inflateEnd:oC,inflateGetHeader:sC,inflateSetDictionary:cC,inflateInfo:uC};function lC(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var hC=lC;const Hk=Object.prototype.toString,{Z_NO_FLUSH:fC,Z_FINISH:dC,Z_OK:uv,Z_STREAM_END:w8,Z_NEED_DICT:x8,Z_STREAM_ERROR:pC,Z_DATA_ERROR:Wk,Z_MEM_ERROR:gC}=rg;function lv(r){this.options=ow.assign({chunkSize:1024*64,windowBits:15,to:""},r||{});const s=this.options;s.raw&&s.windowBits>=0&&s.windowBits<16&&(s.windowBits=-s.windowBits,s.windowBits===0&&(s.windowBits=-15)),s.windowBits>=0&&s.windowBits<16&&!(r&&r.windowBits)&&(s.windowBits+=32),s.windowBits>15&&s.windowBits<48&&(s.windowBits&15)==0&&(s.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nk,this.strm.avail_out=0;let o=ll.inflateInit2(this.strm,s.windowBits);if(o!==uv)throw new Error(Kd[o]);if(this.header=new hC,ll.inflateGetHeader(this.strm,this.header),s.dictionary&&(typeof s.dictionary=="string"?s.dictionary=ov.string2buf(s.dictionary):Hk.call(s.dictionary)==="[object ArrayBuffer]"&&(s.dictionary=new Uint8Array(s.dictionary)),s.raw&&(o=ll.inflateSetDictionary(this.strm,s.dictionary),o!==uv)))throw new Error(Kd[o])}lv.prototype.push=function(r,s){const o=this.strm,h=this.options.chunkSize,c=this.options.dictionary;let y,p,b;if(this.ended)return!1;for(s===~~s?p=s:p=s===!0?dC:fC,Hk.call(r)==="[object ArrayBuffer]"?o.input=new Uint8Array(r):o.input=r,o.next_in=0,o.avail_in=o.input.length;;){for(o.avail_out===0&&(o.output=new Uint8Array(h),o.next_out=0,o.avail_out=h),y=ll.inflate(o,p),y===x8&&c&&(y=ll.inflateSetDictionary(o,c),y===uv?y=ll.inflate(o,p):y===Wk&&(y=x8));o.avail_in>0&&y===w8&&o.state.wrap>0&&r[o.next_in]!==0;)ll.inflateReset(o),y=ll.inflate(o,p);switch(y){case pC:case Wk:case x8:case gC:return this.onEnd(y),this.ended=!0,!1}if(b=o.avail_out,o.next_out&&(o.avail_out===0||y===w8))if(this.options.to==="string"){let T=ov.utf8border(o.output,o.next_out),k=o.next_out-T,D=ov.buf2string(o.output,T);o.next_out=k,o.avail_out=h-k,k&&o.output.set(o.output.subarray(T,T+k),0),this.onData(D)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(!(y===uv&&b===0)){if(y===w8)return y=ll.inflateEnd(this.strm),this.onEnd(y),this.ended=!0,!0;if(o.avail_in===0)break}}return!0};lv.prototype.onData=function(r){this.chunks.push(r)};lv.prototype.onEnd=function(r){r===uv&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ow.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg};function k8(r,s){const o=new lv(s);if(o.push(r),o.err)throw o.msg||Kd[o.err];return o.result}function yC(r,s){return s=s||{},s.raw=!0,k8(r,s)}var mC=lv,vC=k8,_C=yC,bC=k8,wC=rg,xC={Inflate:mC,inflate:vC,inflateRaw:_C,ungzip:bC,constants:wC};const{Deflate:LO,deflate:kC,deflateRaw:BO,gzip:IO}=MS,{Inflate:RO,inflate:TC,inflateRaw:FO,ungzip:PO}=xC;var YO=kC,jO=TC;const EC=typeof atob=="function",SC=typeof btoa=="function",sg=typeof Buffer=="function",qk=typeof TextDecoder=="function"?new TextDecoder:void 0,Vk=typeof TextEncoder=="function"?new TextEncoder:void 0,CC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",hv=Array.prototype.slice.call(CC),dw=(r=>{let s={};return r.forEach((o,h)=>s[o]=h),s})(hv),AC=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Wa=String.fromCharCode.bind(String),Gk=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):(r,s=o=>o)=>new Uint8Array(Array.prototype.slice.call(r,0).map(s)),Zk=r=>r.replace(/=/g,"").replace(/[+\/]/g,s=>s=="+"?"-":"_"),Xk=r=>r.replace(/[^A-Za-z0-9\+\/]/g,""),MC=r=>{let s,o,h,c,y="";const p=r.length%3;for(let b=0;b255||(h=r.charCodeAt(b++))>255||(c=r.charCodeAt(b++))>255)throw new TypeError("invalid character found");s=o<<16|h<<8|c,y+=hv[s>>18&63]+hv[s>>12&63]+hv[s>>6&63]+hv[s&63]}return p?y.slice(0,p-3)+"===".substring(p):y},Kk=SC?r=>btoa(r):sg?r=>Buffer.from(r,"binary").toString("base64"):MC,T8=sg?r=>Buffer.from(r).toString("base64"):r=>{const s=4096;let o=[];for(let h=0,c=r.length;hs?Zk(T8(r)):T8(r),DC=r=>{if(r.length<2){var s=r.charCodeAt(0);return s<128?r:s<2048?Wa(192|s>>>6)+Wa(128|s&63):Wa(224|s>>>12&15)+Wa(128|s>>>6&63)+Wa(128|s&63)}else{var s=65536+(r.charCodeAt(0)-55296)*1024+(r.charCodeAt(1)-56320);return Wa(240|s>>>18&7)+Wa(128|s>>>12&63)+Wa(128|s>>>6&63)+Wa(128|s&63)}},NC=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,OC=r=>r.replace(NC,DC),Qk=sg?r=>Buffer.from(r,"utf8").toString("base64"):Vk?r=>T8(Vk.encode(r)):r=>Kk(OC(r)),UO=(r,s=!1)=>s?Zk(Qk(r)):Qk(r),LC=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,BC=r=>{switch(r.length){case 4:var s=(7&r.charCodeAt(0))<<18|(63&r.charCodeAt(1))<<12|(63&r.charCodeAt(2))<<6|63&r.charCodeAt(3),o=s-65536;return Wa((o>>>10)+55296)+Wa((o&1023)+56320);case 3:return Wa((15&r.charCodeAt(0))<<12|(63&r.charCodeAt(1))<<6|63&r.charCodeAt(2));default:return Wa((31&r.charCodeAt(0))<<6|63&r.charCodeAt(1))}},IC=r=>r.replace(LC,BC),RC=r=>{if(r=r.replace(/\s+/g,""),!AC.test(r))throw new TypeError("malformed base64.");r+="==".slice(2-(r.length&3));let s,o="",h,c;for(let y=0;y>16&255):c===64?Wa(s>>16&255,s>>8&255):Wa(s>>16&255,s>>8&255,s&255);return o},Jk=EC?r=>atob(Xk(r)):sg?r=>Buffer.from(r,"base64").toString("binary"):RC,t9=sg?r=>Gk(Buffer.from(r,"base64")):r=>Gk(Jk(r),s=>s.charCodeAt(0)),$O=r=>t9(e9(r)),FC=sg?r=>Buffer.from(r,"base64").toString("utf8"):qk?r=>qk.decode(t9(r)):r=>IC(Jk(r)),e9=r=>Xk(r.replace(/[-_]/g,s=>s=="-"?"+":"/")),HO=r=>FC(e9(r));var WO=r=>{r.languages.register({id:"mermaid"});const s=["requirement","functionalRequirement","interfaceRequirement","performanceRequirement","physicalRequirement","designConstraint"],o={flowchart:{typeKeywords:["flowchart","flowchart-v2","graph"],blockKeywords:["subgraph","end"],keywords:["TB","TD","BT","RL","LR","click","call","href","_self","_blank","_parent","_top","linkStyle","style","classDef","class","direction","interpolate"]},sequenceDiagram:{typeKeywords:["sequenceDiagram"],blockKeywords:["alt","par","and","loop","else","end","rect","opt","alt","rect"],keywords:["participant","as","Note","note","right of","left of","over","activate","deactivate","autonumber","title","actor"]},classDiagram:{typeKeywords:["classDiagram","classDiagram-v2"],blockKeywords:["class"],keywords:["link","click","callback","call","href","cssClass","direction","TB","BT","RL","LR"]},stateDiagram:{typeKeywords:["stateDiagram","stateDiagram-v2"],blockKeywords:["state","note","end"],keywords:["state","as","hide empty description","direction","TB","BT","RL","LR"]},erDiagram:{typeKeywords:["erDiagram"],blockKeywords:[],keywords:[]},journey:{typeKeywords:["journey"],blockKeywords:["section"],keywords:["title"]},info:{typeKeywords:["info"],blockKeywords:[],keywords:["showInfo"]},gantt:{typeKeywords:["gantt"],blockKeywords:[],keywords:["title","dateFormat","axisFormat","todayMarker","section","excludes","inclusiveEndDates"]},requirementDiagram:{typeKeywords:["requirement","requirementDiagram"],blockKeywords:s.concat("element"),keywords:[]},gitGraph:{typeKeywords:["gitGraph"],blockKeywords:[],keywords:["commit","branch","merge","reset","checkout","LR","BT"]},pie:{typeKeywords:["pie"],blockKeywords:[],keywords:["title","showData"]}};r.languages.setMonarchTokensProvider("mermaid",Object.assign(Object.assign({},Object.entries(o).map(h=>Object.fromEntries(Object.entries(h[1]).map(c=>[h[0]+c[0][0].toUpperCase()+c[0].slice(1),c[1]]))).reduce((h,c)=>Object.assign(Object.assign({},h),c),{})),{tokenizer:{root:[[/%%(?=.*%%$)/,{token:"string",nextEmbedded:"json"}],[/%%$/,{token:"string",nextEmbedded:"@pop"}],[/^\s*gitGraph/m,"typeKeyword","gitGraph"],[/^\s*info/m,"typeKeyword","info"],[/^\s*pie/m,"typeKeyword","pie"],[/^\s*(flowchart|flowchart-v2|graph)/m,"typeKeyword","flowchart"],[/^\s*sequenceDiagram/,"typeKeyword","sequenceDiagram"],[/^\s*classDiagram(-v2)?/,"typeKeyword","classDiagram"],[/^\s*journey/,"typeKeyword","journey"],[/^\s*gantt/,"typeKeyword","gantt"],[/^\s*stateDiagram(-v2)?/,"typeKeyword","stateDiagram"],[/^\s*er(Diagram)?/,"typeKeyword","erDiagram"],[/^\s*requirement(Diagram)?/,"typeKeyword","requirementDiagram"],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"]],gitGraph:[[/option(?=s)/,{token:"typeKeyword",next:"optionsGitGraph"}],[/(^\s*branch|reset|merge|checkout)(.*$)/,["keyword","variable"]],[/[a-zA-Z][\w$]*/,{cases:{"@gitGraphBlockKeywords":"typeKeyword","@gitGraphKeywords":"keyword"}}],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/".*?"/,"string"],[/\^/,"delimiter.bracket"]],optionsGitGraph:[[/s$/,{token:"typeKeyword",nextEmbedded:"json",matchOnlyAtLineStart:!1}],["end",{token:"typeKeyword",next:"@pop",nextEmbedded:"@pop"}]],info:[[/[a-zA-Z][\w$]*/,{cases:{"@infoBlockKeywords":"typeKeyword","@infoKeywords":"keyword"}}]],pie:[[/(title)(.*$)/,["keyword","string"]],[/[a-zA-Z][\w$]*/,{cases:{"@pieBlockKeywords":"typeKeyword","@pieKeywords":"keyword"}}],[/".*?"/,"string"],[/\s*\d+/,"number"],[/:/,"delimiter.bracket"],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"]],flowchart:[[/[ox]?(--+|==+)[ox]/,"transition"],[/[a-zA-Z][\w$]*/,{cases:{"@flowchartBlockKeywords":"typeKeyword","@flowchartKeywords":"keyword","@default":"variable"}}],[/\|+.+?\|+/,"string"],[/\[+(\\.+?[\\/]|\/.+?[/\\])\]+/,"string"],[/[[>]+[^\]|[]+?\]+/,"string"],[/{+.+?}+/,"string"],[/\(+.+?\)+/,"string"],[/-\.+->?/,"transition"],[/(-[-.])([^->][^-]+?)(-{3,}|-{2,}>|\.-+>)/,["transition","string","transition"]],[/(==+)([^=]+?)(={3,}|={2,}>)/,["transition","string","transition"]],[/|===+|---+/,"transition"],[/:::/,"transition"],[/[;&]/,"delimiter.bracket"],[/".*?"/,"string"],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"]],sequenceDiagram:[[/[a-zA-Z][\w$]*/,{cases:{"@sequenceDiagramBlockKeywords":"typeKeyword","@sequenceDiagramKeywords":"keyword","@default":"variable"}}],[/(--?>?>|--?[)x])[+-]?/,"transition"],[/(:)([^:\n]*?$)/,["delimiter.bracket","string"]],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"]],classDiagram:[[/(\*|<\|?|o|)(--|\.\.)(\*|\|?>|o|)([ \t]*[a-zA-Z]+[ \t]*)(:)(.*?$)/,["transition","transition","transition","variable","delimiter.bracket","string"]],[/(?!class\s)([a-zA-Z]+)(\s+[a-zA-Z]+)/,["type","variable"]],[/(\*|<\|?|o)?(--|\.\.)(\*|\|?>|o)?/,"transition"],[/^\s*class\s(?!.*\{)/,"keyword"],[/[a-zA-Z][\w$]*/,{cases:{"@classDiagramBlockKeywords":"typeKeyword","@classDiagramKeywords":"keyword","@default":"variable"}}],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/(<<)(.+?)(>>)/,["delimiter.bracket","annotation","delimiter.bracket"]],[/".*?"/,"string"],[/:::/,"transition"],[/:|\+|-|#|~|\*\s*$|\$\s*$|\(|\)|{|}/,"delimiter.bracket"]],journey:[[/(title)(.*)/,["keyword","string"]],[/(section)(.*)/,["typeKeyword","string"]],[/[a-zA-Z][\w$]*/,{cases:{"@journeyBlockKeywords":"typeKeyword","@journeyKeywords":"keyword","@default":"variable"}}],[/(^\s*.+?)(:)(.*?)(:)(.*?)([,$])/,["string","delimiter.bracket","number","delimiter.bracket","variable","delimiter.bracket"]],[/,/,"delimiter.bracket"],[/(^\s*.+?)(:)([^:]*?)$/,["string","delimiter.bracket","variable"]],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"]],gantt:[[/(title)(.*)/,["keyword","string"]],[/(section)(.*)/,["typeKeyword","string"]],[/^\s*([^:\n]*?)(:)/,["string","delimiter.bracket"]],[/[a-zA-Z][\w$]*/,{cases:{"@ganttBlockKeywords":"typeKeyword","@ganttKeywords":"keyword"}}],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/:/,"delimiter.bracket"]],stateDiagram:[[/note[^:]*$/,{token:"typeKeyword",next:"stateDiagramNote"}],["hide empty description","keyword"],[/^\s*state\s(?!.*\{)/,"keyword"],[/(<<)(fork|join|choice)(>>)/,"annotation"],[/(\[\[)(fork|join|choice)(]])/,["delimiter.bracket","annotation","delimiter.bracket"]],[/[a-zA-Z][\w$]*/,{cases:{"@stateDiagramBlockKeywords":"typeKeyword","@stateDiagramKeywords":"keyword","@default":"variable"}}],[/".*?"/,"string"],[/(:)([^:\n]*?$)/,["delimiter.bracket","string"]],[/{|}/,"delimiter.bracket"],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/-->/,"transition"],[/\[.*?]/,"string"]],stateDiagramNote:[[/^\s*end note$/,{token:"typeKeyword",next:"@pop"}],[/.*/,"string"]],erDiagram:[[/[}|][o|](--|\.\.)[o|][{|]/,"transition"],[/".*?"/,"string"],[/(:)(.*?$)/,["delimiter.bracket","string"]],[/:|{|}/,"delimiter.bracket"],[/([a-zA-Z]+)(\s+[a-zA-Z]+)/,["type","variable"]],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/[a-zA-Z_-][\w$]*/,"variable"]],requirementDiagram:[[/->|<-|-/,"transition"],[/(\d+\.)*\d+/,"number"],[/[a-zA-Z_-][\w$]*/,{cases:{"@requirementDiagramBlockKeywords":"typeKeyword","@default":"variable"}}],[/:|{|}|\//,"delimiter.bracket"],[/%%[^$]([^%]*(?!%%$)%?)*$/,"comment"],[/".*?"/,"string"]]}})),r.editor.defineTheme("mermaid-dark",{base:"vs-dark",inherit:!0,colors:{},rules:[{token:"typeKeyword",foreground:"9650c8",fontStyle:"bold"},{token:"transition",foreground:"008800",fontStyle:"bold"}]}),r.editor.defineTheme("mermaid",{base:"vs",inherit:!0,colors:{},rules:[{token:"typeKeyword",foreground:"9650c8",fontStyle:"bold"},{token:"keyword",foreground:"649696"},{token:"custom-error",foreground:"ff0000",fontStyle:"bold"},{token:"string",foreground:"AA8500"},{token:"transition",foreground:"008800",fontStyle:"bold"},{token:"delimiter.bracket",foreground:"000000",fontStyle:"bold"},{token:"annotation",foreground:"4b4b96"},{token:"number",foreground:"4b4b96"},{token:"comment",foreground:"888c89"},{token:"variable",foreground:"A22889"},{token:"type",foreground:"2BDEA8"}]}),r.languages.registerCompletionItemProvider("mermaid",{provideCompletionItems:()=>({suggestions:[{label:"loop",kind:r.languages.CompletionItemKind.Snippet,insertText:["loop ${1:Loop text}"," $0","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Sequence Diagram Loops"},{label:"alt",kind:r.languages.CompletionItemKind.Snippet,insertText:["alt ${1:Describing text}"," $0","else"," ","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Alternative Path"},{label:"opt",kind:r.languages.CompletionItemKind.Snippet,insertText:["opt ${1:Describing text}"," $0","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Optional Path"},{label:"par",kind:r.languages.CompletionItemKind.Snippet,insertText:["par ${1:[Action 1]}"," $0","and ${2:[Action 2]}"," ","and ${3:[Action 3]}"," ","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Parallel Actions"},{label:"rect",kind:r.languages.CompletionItemKind.Snippet,insertText:["rect ${1:rgb(0, 255, 0)}"," $0","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Background Color"},{label:"subgraph",kind:r.languages.CompletionItemKind.Snippet,insertText:["subgraph ${1:title}"," $0","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Subgraph"},{label:"class",kind:r.languages.CompletionItemKind.Snippet,insertText:["class ${1:className} {"," $0","}"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Class"},{label:"state",kind:r.languages.CompletionItemKind.Snippet,insertText:["state ${1:stateName} {"," $0","}"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"State"},{label:"note",kind:r.languages.CompletionItemKind.Snippet,insertText:["note ${1:right of State1}"," $0","end note"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"State"},{label:"section",kind:r.languages.CompletionItemKind.Snippet,insertText:["section ${1:Go to work}"," $0"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"User-journey Section"},{label:"element",kind:r.languages.CompletionItemKind.Snippet,insertText:["element ${1:test_entity} {"," $0","}"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Requirement Diagram Element"},{label:"options",kind:r.languages.CompletionItemKind.Snippet,insertText:["options","{"," $0","}","end"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Git Graph Options"},...s.map(c=>({label:c,kind:r.languages.CompletionItemKind.Snippet,insertText:[c+" ${1:test_req} {"," id: 1"," text: the test text."," risk: high"," verifyMethod: test","}"].join(` +`),insertTextRules:r.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:c.split(/(?=[A-Z])/).map(y=>y[0].toUpperCase()+y.slice(1)).join(" ")})),...[...new Set(Object.values(o).map(c=>Object.entries(c).filter(y=>y[0]!=="annotations").map(y=>y[1])).flat(2))].map(c=>({label:c,kind:r.languages.CompletionItemKind.Keyword,insertText:c}))]})}),r.languages.setLanguageConfiguration("mermaid",{autoClosingPairs:[{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"}],brackets:[["(",")"],["{","}"],["[","]"]],comments:{lineComment:"%%"}})};const qO="8.14.0";function PC(r){const s=r-1;return s*s*s+1}function VO(r,{delay:s=0,duration:o=400,easing:h=l7}={}){const c=+getComputedStyle(r).opacity;return{delay:s,duration:o,easing:h,css:y=>`opacity: ${y*c}`}}function GO(r,{delay:s=0,duration:o=400,easing:h=PC}={}){const c=getComputedStyle(r),y=+c.opacity,p=parseFloat(c.height),b=parseFloat(c.paddingTop),T=parseFloat(c.paddingBottom),k=parseFloat(c.marginTop),D=parseFloat(c.marginBottom),O=parseFloat(c.borderTopWidth),R=parseFloat(c.borderBottomWidth);return{delay:s,duration:o,easing:h,css:z=>`overflow: hidden;opacity: ${Math.min(z*20,1)*y};height: ${z*p}px;padding-top: ${z*b}px;padding-bottom: ${z*T}px;margin-top: ${z*k}px;margin-bottom: ${z*D}px;border-top-width: ${z*O}px;border-bottom-width: ${z*R}px;`}}//! moment.js +//! version : 2.29.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +var n9;function cn(){return n9.apply(null,arguments)}function YC(r){n9=r}function Ac(r){return r instanceof Array||Object.prototype.toString.call(r)==="[object Array]"}function r0(r){return r!=null&&Object.prototype.toString.call(r)==="[object Object]"}function Ir(r,s){return Object.prototype.hasOwnProperty.call(r,s)}function E8(r){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(r).length===0;var s;for(s in r)if(Ir(r,s))return!1;return!0}function jo(r){return r===void 0}function hl(r){return typeof r=="number"||Object.prototype.toString.call(r)==="[object Number]"}function fv(r){return r instanceof Date||Object.prototype.toString.call(r)==="[object Date]"}function r9(r,s){var o=[],h;for(h=0;h>>0,h;for(h=0;h0)for(o=0;o=0;return(y?o?"+":"":"-")+Math.pow(10,Math.max(0,c)).toString().substr(1)+h}var B8=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,gw=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I8={},cg={};function An(r,s,o,h){var c=h;typeof h=="string"&&(c=function(){return this[h]()}),r&&(cg[r]=c),s&&(cg[s[0]]=function(){return yu(c.apply(this,arguments),s[1],s[2])}),o&&(cg[o]=function(){return this.localeData().ordinal(c.apply(this,arguments),r)})}function HC(r){return r.match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"")}function WC(r){var s=r.match(B8),o,h;for(o=0,h=s.length;o=0&&gw.test(r);)r=r.replace(gw,h),gw.lastIndex=0,o-=1;return r}var qC={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function VC(r){var s=this._longDateFormat[r],o=this._longDateFormat[r.toUpperCase()];return s||!o?s:(this._longDateFormat[r]=o.match(B8).map(function(h){return h==="MMMM"||h==="MM"||h==="DD"||h==="dddd"?h.slice(1):h}).join(""),this._longDateFormat[r])}var GC="Invalid date";function ZC(){return this._invalidDate}var XC="%d",KC=/\d{1,2}/;function QC(r){return this._ordinal.replace("%d",r)}var JC={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tA(r,s,o,h){var c=this._relativeTime[o];return gu(c)?c(r,s,o,h):c.replace(/%d/i,r)}function eA(r,s){var o=this._relativeTime[r>0?"future":"past"];return gu(o)?o(s):o.replace(/%s/i,s)}var pv={};function eo(r,s){var o=r.toLowerCase();pv[o]=pv[o+"s"]=pv[s]=r}function Vs(r){return typeof r=="string"?pv[r]||pv[r.toLowerCase()]:void 0}function R8(r){var s={},o,h;for(h in r)Ir(r,h)&&(o=Vs(h),o&&(s[o]=r[h]));return s}var c9={};function no(r,s){c9[r]=s}function nA(r){var s=[],o;for(o in r)Ir(r,o)&&s.push({unit:o,priority:c9[o]});return s.sort(function(h,c){return h.priority-c.priority}),s}function mw(r){return r%4==0&&r%100!=0||r%400==0}function Gs(r){return r<0?Math.ceil(r)||0:Math.floor(r)}function pr(r){var s=+r,o=0;return s!==0&&isFinite(s)&&(o=Gs(s)),o}function ug(r,s){return function(o){return o!=null?(u9(this,r,o),cn.updateOffset(this,s),this):vw(this,r)}}function vw(r,s){return r.isValid()?r._d["get"+(r._isUTC?"UTC":"")+s]():NaN}function u9(r,s,o){r.isValid()&&!isNaN(o)&&(s==="FullYear"&&mw(r.year())&&r.month()===1&&r.date()===29?(o=pr(o),r._d["set"+(r._isUTC?"UTC":"")+s](o,r.month(),Ew(o,r.month()))):r._d["set"+(r._isUTC?"UTC":"")+s](o))}function rA(r){return r=Vs(r),gu(this[r])?this[r]():this}function iA(r,s){if(typeof r=="object"){r=R8(r);var o=nA(r),h;for(h=0;h68?1900:2e3)};var _9=ug("FullYear",!0);function kA(){return mw(this.year())}function TA(r,s,o,h,c,y,p){var b;return r<100&&r>=0?(b=new Date(r+400,s,o,h,c,y,p),isFinite(b.getFullYear())&&b.setFullYear(r)):b=new Date(r,s,o,h,c,y,p),b}function vv(r){var s,o;return r<100&&r>=0?(o=Array.prototype.slice.call(arguments),o[0]=r+400,s=new Date(Date.UTC.apply(null,o)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(r)):s=new Date(Date.UTC.apply(null,arguments)),s}function Sw(r,s,o){var h=7+s-o,c=(7+vv(r,0,h).getUTCDay()-s)%7;return-c+h-1}function b9(r,s,o,h,c){var y=(7+o-h)%7,p=Sw(r,h,c),b=1+7*(s-1)+y+p,T,k;return b<=0?(T=r-1,k=mv(T)+b):b>mv(r)?(T=r+1,k=b-mv(r)):(T=r,k=b),{year:T,dayOfYear:k}}function _v(r,s,o){var h=Sw(r.year(),s,o),c=Math.floor((r.dayOfYear()-h-1)/7)+1,y,p;return c<1?(p=r.year()-1,y=c+pl(p,s,o)):c>pl(r.year(),s,o)?(y=c-pl(r.year(),s,o),p=r.year()+1):(p=r.year(),y=c),{week:y,year:p}}function pl(r,s,o){var h=Sw(r,s,o),c=Sw(r+1,s,o);return(mv(r)-h+c)/7}An("w",["ww",2],"wo","week");An("W",["WW",2],"Wo","isoWeek");eo("week","w");eo("isoWeek","W");no("week",5);no("isoWeek",5);ln("w",mi);ln("ww",mi,gs);ln("W",mi);ln("WW",mi,gs);yv(["w","ww","W","WW"],function(r,s,o,h){s[h.substr(0,1)]=pr(r)});function EA(r){return _v(r,this._week.dow,this._week.doy).week}var SA={dow:0,doy:6};function CA(){return this._week.dow}function AA(){return this._week.doy}function MA(r){var s=this.localeData().week(this);return r==null?s:this.add((r-s)*7,"d")}function DA(r){var s=_v(this,1,4).week;return r==null?s:this.add((r-s)*7,"d")}An("d",0,"do","day");An("dd",0,0,function(r){return this.localeData().weekdaysMin(this,r)});An("ddd",0,0,function(r){return this.localeData().weekdaysShort(this,r)});An("dddd",0,0,function(r){return this.localeData().weekdays(this,r)});An("e",0,0,"weekday");An("E",0,0,"isoWeekday");eo("day","d");eo("weekday","e");eo("isoWeekday","E");no("day",11);no("weekday",11);no("isoWeekday",11);ln("d",mi);ln("e",mi);ln("E",mi);ln("dd",function(r,s){return s.weekdaysMinRegex(r)});ln("ddd",function(r,s){return s.weekdaysShortRegex(r)});ln("dddd",function(r,s){return s.weekdaysRegex(r)});yv(["dd","ddd","dddd"],function(r,s,o,h){var c=o._locale.weekdaysParse(r,h,o._strict);c!=null?s.d=c:ur(o).invalidWeekday=r});yv(["d","e","E"],function(r,s,o,h){s[h]=pr(r)});function NA(r,s){return typeof r!="string"?r:isNaN(r)?(r=s.weekdaysParse(r),typeof r=="number"?r:null):parseInt(r,10)}function OA(r,s){return typeof r=="string"?s.weekdaysParse(r)%7||7:isNaN(r)?null:r}function j8(r,s){return r.slice(s,7).concat(r.slice(0,s))}var LA="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),w9="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),BA="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),IA=gv,RA=gv,FA=gv;function PA(r,s){var o=Ac(this._weekdays)?this._weekdays:this._weekdays[r&&r!==!0&&this._weekdays.isFormat.test(s)?"format":"standalone"];return r===!0?j8(o,this._week.dow):r?o[r.day()]:o}function YA(r){return r===!0?j8(this._weekdaysShort,this._week.dow):r?this._weekdaysShort[r.day()]:this._weekdaysShort}function jA(r){return r===!0?j8(this._weekdaysMin,this._week.dow):r?this._weekdaysMin[r.day()]:this._weekdaysMin}function zA(r,s,o){var h,c,y,p=r.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],h=0;h<7;++h)y=pu([2e3,1]).day(h),this._minWeekdaysParse[h]=this.weekdaysMin(y,"").toLocaleLowerCase(),this._shortWeekdaysParse[h]=this.weekdaysShort(y,"").toLocaleLowerCase(),this._weekdaysParse[h]=this.weekdays(y,"").toLocaleLowerCase();return o?s==="dddd"?(c=Ki.call(this._weekdaysParse,p),c!==-1?c:null):s==="ddd"?(c=Ki.call(this._shortWeekdaysParse,p),c!==-1?c:null):(c=Ki.call(this._minWeekdaysParse,p),c!==-1?c:null):s==="dddd"?(c=Ki.call(this._weekdaysParse,p),c!==-1||(c=Ki.call(this._shortWeekdaysParse,p),c!==-1)?c:(c=Ki.call(this._minWeekdaysParse,p),c!==-1?c:null)):s==="ddd"?(c=Ki.call(this._shortWeekdaysParse,p),c!==-1||(c=Ki.call(this._weekdaysParse,p),c!==-1)?c:(c=Ki.call(this._minWeekdaysParse,p),c!==-1?c:null)):(c=Ki.call(this._minWeekdaysParse,p),c!==-1||(c=Ki.call(this._weekdaysParse,p),c!==-1)?c:(c=Ki.call(this._shortWeekdaysParse,p),c!==-1?c:null))}function UA(r,s,o){var h,c,y;if(this._weekdaysParseExact)return zA.call(this,r,s,o);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),h=0;h<7;h++){if(c=pu([2e3,1]).day(h),o&&!this._fullWeekdaysParse[h]&&(this._fullWeekdaysParse[h]=new RegExp("^"+this.weekdays(c,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[h]=new RegExp("^"+this.weekdaysShort(c,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[h]=new RegExp("^"+this.weekdaysMin(c,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[h]||(y="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[h]=new RegExp(y.replace(".",""),"i")),o&&s==="dddd"&&this._fullWeekdaysParse[h].test(r))return h;if(o&&s==="ddd"&&this._shortWeekdaysParse[h].test(r))return h;if(o&&s==="dd"&&this._minWeekdaysParse[h].test(r))return h;if(!o&&this._weekdaysParse[h].test(r))return h}}function $A(r){if(!this.isValid())return r!=null?this:NaN;var s=this._isUTC?this._d.getUTCDay():this._d.getDay();return r!=null?(r=NA(r,this.localeData()),this.add(r-s,"d")):s}function HA(r){if(!this.isValid())return r!=null?this:NaN;var s=(this.day()+7-this.localeData()._week.dow)%7;return r==null?s:this.add(r-s,"d")}function WA(r){if(!this.isValid())return r!=null?this:NaN;if(r!=null){var s=OA(r,this.localeData());return this.day(this.day()%7?s:s-7)}else return this.day()||7}function qA(r){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||z8.call(this),r?this._weekdaysStrictRegex:this._weekdaysRegex):(Ir(this,"_weekdaysRegex")||(this._weekdaysRegex=IA),this._weekdaysStrictRegex&&r?this._weekdaysStrictRegex:this._weekdaysRegex)}function VA(r){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||z8.call(this),r?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ir(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=RA),this._weekdaysShortStrictRegex&&r?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function GA(r){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||z8.call(this),r?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ir(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=FA),this._weekdaysMinStrictRegex&&r?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function z8(){function r(D,O){return O.length-D.length}var s=[],o=[],h=[],c=[],y,p,b,T,k;for(y=0;y<7;y++)p=pu([2e3,1]).day(y),b=ys(this.weekdaysMin(p,"")),T=ys(this.weekdaysShort(p,"")),k=ys(this.weekdays(p,"")),s.push(b),o.push(T),h.push(k),c.push(b),c.push(T),c.push(k);s.sort(r),o.sort(r),h.sort(r),c.sort(r),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function U8(){return this.hours()%12||12}function ZA(){return this.hours()||24}An("H",["HH",2],0,"hour");An("h",["hh",2],0,U8);An("k",["kk",2],0,ZA);An("hmm",0,0,function(){return""+U8.apply(this)+yu(this.minutes(),2)});An("hmmss",0,0,function(){return""+U8.apply(this)+yu(this.minutes(),2)+yu(this.seconds(),2)});An("Hmm",0,0,function(){return""+this.hours()+yu(this.minutes(),2)});An("Hmmss",0,0,function(){return""+this.hours()+yu(this.minutes(),2)+yu(this.seconds(),2)});function x9(r,s){An(r,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),s)})}x9("a",!0);x9("A",!1);eo("hour","h");no("hour",13);function k9(r,s){return s._meridiemParse}ln("a",k9);ln("A",k9);ln("H",mi);ln("h",mi);ln("k",mi);ln("HH",mi,gs);ln("hh",mi,gs);ln("kk",mi,gs);ln("hmm",f9);ln("hmmss",d9);ln("Hmm",f9);ln("Hmmss",d9);ri(["H","HH"],_a);ri(["k","kk"],function(r,s,o){var h=pr(r);s[_a]=h===24?0:h});ri(["a","A"],function(r,s,o){o._isPm=o._locale.isPM(r),o._meridiem=r});ri(["h","hh"],function(r,s,o){s[_a]=pr(r),ur(o).bigHour=!0});ri("hmm",function(r,s,o){var h=r.length-2;s[_a]=pr(r.substr(0,h)),s[Dc]=pr(r.substr(h)),ur(o).bigHour=!0});ri("hmmss",function(r,s,o){var h=r.length-4,c=r.length-2;s[_a]=pr(r.substr(0,h)),s[Dc]=pr(r.substr(h,2)),s[dl]=pr(r.substr(c)),ur(o).bigHour=!0});ri("Hmm",function(r,s,o){var h=r.length-2;s[_a]=pr(r.substr(0,h)),s[Dc]=pr(r.substr(h))});ri("Hmmss",function(r,s,o){var h=r.length-4,c=r.length-2;s[_a]=pr(r.substr(0,h)),s[Dc]=pr(r.substr(h,2)),s[dl]=pr(r.substr(c))});function XA(r){return(r+"").toLowerCase().charAt(0)==="p"}var KA=/[ap]\.?m?\.?/i,QA=ug("Hours",!0);function JA(r,s,o){return r>11?o?"pm":"PM":o?"am":"AM"}var T9={calendar:UC,longDateFormat:qC,invalidDate:GC,ordinal:XC,dayOfMonthOrdinalParse:KC,relativeTime:JC,months:dA,monthsShort:p9,week:SA,weekdays:LA,weekdaysMin:BA,weekdaysShort:w9,meridiemParse:KA},Ai={},bv={},wv;function tM(r,s){var o,h=Math.min(r.length,s.length);for(o=0;o0;){if(c=Cw(y.slice(0,o).join("-")),c)return c;if(h&&h.length>=o&&tM(y,h)>=o-1)break;o--}s++}return wv}function Cw(r){var s=null,o;if(Ai[r]===void 0&&typeof module!="undefined"&&module&&module.exports)try{s=wv._abbr,o=require,o("./locale/"+r),Zh(s)}catch{Ai[r]=null}return Ai[r]}function Zh(r,s){var o;return r&&(jo(s)?o=gl(r):o=$8(r,s),o?wv=o:typeof console!="undefined"&&console.warn&&console.warn("Locale "+r+" not found. Did you forget to load it?")),wv._abbr}function $8(r,s){if(s!==null){var o,h=T9;if(s.abbr=r,Ai[r]!=null)o9("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),h=Ai[r]._config;else if(s.parentLocale!=null)if(Ai[s.parentLocale]!=null)h=Ai[s.parentLocale]._config;else if(o=Cw(s.parentLocale),o!=null)h=o._config;else return bv[s.parentLocale]||(bv[s.parentLocale]=[]),bv[s.parentLocale].push({name:r,config:s}),null;return Ai[r]=new O8(N8(h,s)),bv[r]&&bv[r].forEach(function(c){$8(c.name,c.config)}),Zh(r),Ai[r]}else return delete Ai[r],null}function nM(r,s){if(s!=null){var o,h,c=T9;Ai[r]!=null&&Ai[r].parentLocale!=null?Ai[r].set(N8(Ai[r]._config,s)):(h=Cw(r),h!=null&&(c=h._config),s=N8(c,s),h==null&&(s.abbr=r),o=new O8(s),o.parentLocale=Ai[r],Ai[r]=o),Zh(r)}else Ai[r]!=null&&(Ai[r].parentLocale!=null?(Ai[r]=Ai[r].parentLocale,r===Zh()&&Zh(r)):Ai[r]!=null&&delete Ai[r]);return Ai[r]}function gl(r){var s;if(r&&r._locale&&r._locale._abbr&&(r=r._locale._abbr),!r)return wv;if(!Ac(r)){if(s=Cw(r),s)return s;r=[r]}return eM(r)}function rM(){return L8(Ai)}function H8(r){var s,o=r._a;return o&&ur(r).overflow===-2&&(s=o[fl]<0||o[fl]>11?fl:o[mu]<1||o[mu]>Ew(o[ro],o[fl])?mu:o[_a]<0||o[_a]>24||o[_a]===24&&(o[Dc]!==0||o[dl]!==0||o[i0]!==0)?_a:o[Dc]<0||o[Dc]>59?Dc:o[dl]<0||o[dl]>59?dl:o[i0]<0||o[i0]>999?i0:-1,ur(r)._overflowDayOfYear&&(smu)&&(s=mu),ur(r)._overflowWeeks&&s===-1&&(s=lA),ur(r)._overflowWeekday&&s===-1&&(s=hA),ur(r).overflow=s),r}var iM=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,aM=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,oM=/Z|[+-]\d\d(?::?\d\d)?/,Aw=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],W8=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],sM=/^\/?Date\((-?\d+)/i,cM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,uM={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function S9(r){var s,o,h=r._i,c=iM.exec(h)||aM.exec(h),y,p,b,T;if(c){for(ur(r).iso=!0,s=0,o=Aw.length;smv(p)||r._dayOfYear===0)&&(ur(r)._overflowDayOfYear=!0),o=vv(p,0,r._dayOfYear),r._a[fl]=o.getUTCMonth(),r._a[mu]=o.getUTCDate()),s=0;s<3&&r._a[s]==null;++s)r._a[s]=h[s]=c[s];for(;s<7;s++)r._a[s]=h[s]=r._a[s]==null?s===2?1:0:r._a[s];r._a[_a]===24&&r._a[Dc]===0&&r._a[dl]===0&&r._a[i0]===0&&(r._nextDay=!0,r._a[_a]=0),r._d=(r._useUTC?vv:TA).apply(null,h),y=r._useUTC?r._d.getUTCDay():r._d.getDay(),r._tzm!=null&&r._d.setUTCMinutes(r._d.getUTCMinutes()-r._tzm),r._nextDay&&(r._a[_a]=24),r._w&&typeof r._w.d!="undefined"&&r._w.d!==y&&(ur(r).weekdayMismatch=!0)}}function mM(r){var s,o,h,c,y,p,b,T,k;s=r._w,s.GG!=null||s.W!=null||s.E!=null?(y=1,p=4,o=hg(s.GG,r._a[ro],_v(vi(),1,4).year),h=hg(s.W,1),c=hg(s.E,1),(c<1||c>7)&&(T=!0)):(y=r._locale._week.dow,p=r._locale._week.doy,k=_v(vi(),y,p),o=hg(s.gg,r._a[ro],k.year),h=hg(s.w,k.week),s.d!=null?(c=s.d,(c<0||c>6)&&(T=!0)):s.e!=null?(c=s.e+y,(s.e<0||s.e>6)&&(T=!0)):c=y),h<1||h>pl(o,y,p)?ur(r)._overflowWeeks=!0:T!=null?ur(r)._overflowWeekday=!0:(b=b9(o,h,c,y,p),r._a[ro]=b.year,r._dayOfYear=b.dayOfYear)}cn.ISO_8601=function(){};cn.RFC_2822=function(){};function V8(r){if(r._f===cn.ISO_8601){S9(r);return}if(r._f===cn.RFC_2822){C9(r);return}r._a=[],ur(r).empty=!0;var s=""+r._i,o,h,c,y,p,b=s.length,T=0,k;for(c=s9(r._f,r._locale).match(B8)||[],o=0;o0&&ur(r).unusedInput.push(p),s=s.slice(s.indexOf(h)+h.length),T+=h.length),cg[y]?(h?ur(r).empty=!1:ur(r).unusedTokens.push(y),uA(y,h,r)):r._strict&&!h&&ur(r).unusedTokens.push(y);ur(r).charsLeftOver=b-T,s.length>0&&ur(r).unusedInput.push(s),r._a[_a]<=12&&ur(r).bigHour===!0&&r._a[_a]>0&&(ur(r).bigHour=void 0),ur(r).parsedDateParts=r._a.slice(0),ur(r).meridiem=r._meridiem,r._a[_a]=vM(r._locale,r._a[_a],r._meridiem),k=ur(r).era,k!==null&&(r._a[ro]=r._locale.erasConvertYear(k,r._a[ro])),q8(r),H8(r)}function vM(r,s,o){var h;return o==null?s:r.meridiemHour!=null?r.meridiemHour(s,o):(r.isPM!=null&&(h=r.isPM(o),h&&s<12&&(s+=12),!h&&s===12&&(s=0)),s)}function _M(r){var s,o,h,c,y,p,b=!1;if(r._f.length===0){ur(r).invalidFormat=!0,r._d=new Date(NaN);return}for(c=0;cthis?this:r:pw()});function D9(r,s){var o,h;if(s.length===1&&Ac(s[0])&&(s=s[0]),!s.length)return vi();for(o=s[0],h=1;hthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jM(){if(!jo(this._isDSTShifted))return this._isDSTShifted;var r={},s;return D8(r,this),r=A9(r),r._a?(s=r._isUTC?pu(r._a):vi(r._a),this._isDSTShifted=this.isValid()&&NM(r._a,s.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function zM(){return this.isValid()?!this._isUTC:!1}function UM(){return this.isValid()?this._isUTC:!1}function O9(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $M=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,HM=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nc(r,s){var o=r,h=null,c,y,p;return Dw(r)?o={ms:r._milliseconds,d:r._days,M:r._months}:hl(r)||!isNaN(+r)?(o={},s?o[s]=+r:o.milliseconds=+r):(h=$M.exec(r))?(c=h[1]==="-"?-1:1,o={y:0,d:pr(h[mu])*c,h:pr(h[_a])*c,m:pr(h[Dc])*c,s:pr(h[dl])*c,ms:pr(G8(h[i0]*1e3))*c}):(h=HM.exec(r))?(c=h[1]==="-"?-1:1,o={y:a0(h[2],c),M:a0(h[3],c),w:a0(h[4],c),d:a0(h[5],c),h:a0(h[6],c),m:a0(h[7],c),s:a0(h[8],c)}):o==null?o={}:typeof o=="object"&&("from"in o||"to"in o)&&(p=WM(vi(o.from),vi(o.to)),o={},o.ms=p.milliseconds,o.M=p.months),y=new Mw(o),Dw(r)&&Ir(r,"_locale")&&(y._locale=r._locale),Dw(r)&&Ir(r,"_isValid")&&(y._isValid=r._isValid),y}Nc.fn=Mw.prototype;Nc.invalid=DM;function a0(r,s){var o=r&&parseFloat(r.replace(",","."));return(isNaN(o)?0:o)*s}function L9(r,s){var o={};return o.months=s.month()-r.month()+(s.year()-r.year())*12,r.clone().add(o.months,"M").isAfter(s)&&--o.months,o.milliseconds=+s-+r.clone().add(o.months,"M"),o}function WM(r,s){var o;return r.isValid()&&s.isValid()?(s=X8(s,r),r.isBefore(s)?o=L9(r,s):(o=L9(s,r),o.milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0}}function B9(r,s){return function(o,h){var c,y;return h!==null&&!isNaN(+h)&&(o9(s,"moment()."+s+"(period, number) is deprecated. Please use moment()."+s+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),y=o,o=h,h=y),c=Nc(o,h),I9(this,c,r),this}}function I9(r,s,o,h){var c=s._milliseconds,y=G8(s._days),p=G8(s._months);!r.isValid()||(h=h==null?!0:h,p&&y9(r,vw(r,"Month")+p*o),y&&u9(r,"Date",vw(r,"Date")+y*o),c&&r._d.setTime(r._d.valueOf()+c*o),h&&cn.updateOffset(r,y||p))}var qM=B9(1,"add"),VM=B9(-1,"subtract");function R9(r){return typeof r=="string"||r instanceof String}function GM(r){return Mc(r)||fv(r)||R9(r)||hl(r)||XM(r)||ZM(r)||r===null||r===void 0}function ZM(r){var s=r0(r)&&!E8(r),o=!1,h=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c,y;for(c=0;co.valueOf():o.valueOf()9999?yw(o,s?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):gu(Date.prototype.toISOString)?s?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yw(o,"Z")):yw(o,s?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function lD(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var r="moment",s="",o,h,c,y;return this.isLocal()||(r=this.utcOffset()===0?"moment.utc":"moment.parseZone",s="Z"),o="["+r+'("]',h=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",c="-MM-DD[T]HH:mm:ss.SSS",y=s+'[")]',this.format(o+h+c+y)}function hD(r){r||(r=this.isUtc()?cn.defaultFormatUtc:cn.defaultFormat);var s=yw(this,r);return this.localeData().postformat(s)}function fD(r,s){return this.isValid()&&(Mc(r)&&r.isValid()||vi(r).isValid())?Nc({to:this,from:r}).locale(this.locale()).humanize(!s):this.localeData().invalidDate()}function dD(r){return this.from(vi(),r)}function pD(r,s){return this.isValid()&&(Mc(r)&&r.isValid()||vi(r).isValid())?Nc({from:this,to:r}).locale(this.locale()).humanize(!s):this.localeData().invalidDate()}function gD(r){return this.to(vi(),r)}function F9(r){var s;return r===void 0?this._locale._abbr:(s=gl(r),s!=null&&(this._locale=s),this)}var P9=qs("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(r){return r===void 0?this.localeData():this.locale(r)});function Y9(){return this._locale}var Ow=1e3,fg=60*Ow,Lw=60*fg,j9=(365*400+97)*24*Lw;function dg(r,s){return(r%s+s)%s}function z9(r,s,o){return r<100&&r>=0?new Date(r+400,s,o)-j9:new Date(r,s,o).valueOf()}function U9(r,s,o){return r<100&&r>=0?Date.UTC(r+400,s,o)-j9:Date.UTC(r,s,o)}function yD(r){var s,o;if(r=Vs(r),r===void 0||r==="millisecond"||!this.isValid())return this;switch(o=this._isUTC?U9:z9,r){case"year":s=o(this.year(),0,1);break;case"quarter":s=o(this.year(),this.month()-this.month()%3,1);break;case"month":s=o(this.year(),this.month(),1);break;case"week":s=o(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":s=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":s=o(this.year(),this.month(),this.date());break;case"hour":s=this._d.valueOf(),s-=dg(s+(this._isUTC?0:this.utcOffset()*fg),Lw);break;case"minute":s=this._d.valueOf(),s-=dg(s,fg);break;case"second":s=this._d.valueOf(),s-=dg(s,Ow);break}return this._d.setTime(s),cn.updateOffset(this,!0),this}function mD(r){var s,o;if(r=Vs(r),r===void 0||r==="millisecond"||!this.isValid())return this;switch(o=this._isUTC?U9:z9,r){case"year":s=o(this.year()+1,0,1)-1;break;case"quarter":s=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":s=o(this.year(),this.month()+1,1)-1;break;case"week":s=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":s=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":s=o(this.year(),this.month(),this.date()+1)-1;break;case"hour":s=this._d.valueOf(),s+=Lw-dg(s+(this._isUTC?0:this.utcOffset()*fg),Lw)-1;break;case"minute":s=this._d.valueOf(),s+=fg-dg(s,fg)-1;break;case"second":s=this._d.valueOf(),s+=Ow-dg(s,Ow)-1;break}return this._d.setTime(s),cn.updateOffset(this,!0),this}function vD(){return this._d.valueOf()-(this._offset||0)*6e4}function _D(){return Math.floor(this.valueOf()/1e3)}function bD(){return new Date(this.valueOf())}function wD(){var r=this;return[r.year(),r.month(),r.date(),r.hour(),r.minute(),r.second(),r.millisecond()]}function xD(){var r=this;return{years:r.year(),months:r.month(),date:r.date(),hours:r.hours(),minutes:r.minutes(),seconds:r.seconds(),milliseconds:r.milliseconds()}}function kD(){return this.isValid()?this.toISOString():null}function TD(){return C8(this)}function ED(){return Gh({},ur(this))}function SD(){return ur(this).overflow}function CD(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}An("N",0,0,"eraAbbr");An("NN",0,0,"eraAbbr");An("NNN",0,0,"eraAbbr");An("NNNN",0,0,"eraName");An("NNNNN",0,0,"eraNarrow");An("y",["y",1],"yo","eraYear");An("y",["yy",2],0,"eraYear");An("y",["yyy",3],0,"eraYear");An("y",["yyyy",4],0,"eraYear");ln("N",Q8);ln("NN",Q8);ln("NNN",Q8);ln("NNNN",PD);ln("NNNNN",YD);ri(["N","NN","NNN","NNNN","NNNNN"],function(r,s,o,h){var c=o._locale.erasParse(r,h,o._strict);c?ur(o).era=c:ur(o).invalidEra=r});ln("y",lg);ln("yy",lg);ln("yyy",lg);ln("yyyy",lg);ln("yo",jD);ri(["y","yy","yyy","yyyy"],ro);ri(["yo"],function(r,s,o,h){var c;o._locale._eraYearOrdinalRegex&&(c=r.match(o._locale._eraYearOrdinalRegex)),o._locale.eraYearOrdinalParse?s[ro]=o._locale.eraYearOrdinalParse(r,c):s[ro]=parseInt(r,10)});function AD(r,s){var o,h,c,y=this._eras||gl("en")._eras;for(o=0,h=y.length;o=0)return y[h]}function DD(r,s){var o=r.since<=r.until?1:-1;return s===void 0?cn(r.since).year():cn(r.since).year()+(s-r.offset)*o}function ND(){var r,s,o,h=this.localeData().eras();for(r=0,s=h.length;ry&&(s=y),VD.call(this,r,s,o,h,c))}function VD(r,s,o,h,c){var y=b9(r,s,o,h,c),p=vv(y.year,0,y.dayOfYear);return this.year(p.getUTCFullYear()),this.month(p.getUTCMonth()),this.date(p.getUTCDate()),this}An("Q",0,"Qo","quarter");eo("quarter","Q");no("quarter",7);ln("Q",l9);ri("Q",function(r,s){s[fl]=(pr(r)-1)*3});function GD(r){return r==null?Math.ceil((this.month()+1)/3):this.month((r-1)*3+this.month()%3)}An("D",["DD",2],"Do","date");eo("date","D");no("date",9);ln("D",mi);ln("DD",mi,gs);ln("Do",function(r,s){return r?s._dayOfMonthOrdinalParse||s._ordinalParse:s._dayOfMonthOrdinalParseLenient});ri(["D","DD"],mu);ri("Do",function(r,s){s[mu]=pr(r.match(mi)[0])});var H9=ug("Date",!0);An("DDD",["DDDD",3],"DDDo","dayOfYear");eo("dayOfYear","DDD");no("dayOfYear",4);ln("DDD",bw);ln("DDDD",h9);ri(["DDD","DDDD"],function(r,s,o){o._dayOfYear=pr(r)});function ZD(r){var s=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"d")}An("m",["mm",2],0,"minute");eo("minute","m");no("minute",14);ln("m",mi);ln("mm",mi,gs);ri(["m","mm"],Dc);var XD=ug("Minutes",!1);An("s",["ss",2],0,"second");eo("second","s");no("second",15);ln("s",mi);ln("ss",mi,gs);ri(["s","ss"],dl);var KD=ug("Seconds",!1);An("S",0,0,function(){return~~(this.millisecond()/100)});An(0,["SS",2],0,function(){return~~(this.millisecond()/10)});An(0,["SSS",3],0,"millisecond");An(0,["SSSS",4],0,function(){return this.millisecond()*10});An(0,["SSSSS",5],0,function(){return this.millisecond()*100});An(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});An(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});An(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});An(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});eo("millisecond","ms");no("millisecond",16);ln("S",bw,l9);ln("SS",bw,gs);ln("SSS",bw,h9);var Xh,W9;for(Xh="SSSS";Xh.length<=9;Xh+="S")ln(Xh,lg);function QD(r,s){s[i0]=pr(("0."+r)*1e3)}for(Xh="S";Xh.length<=9;Xh+="S")ri(Xh,QD);W9=ug("Milliseconds",!1);An("z",0,0,"zoneAbbr");An("zz",0,0,"zoneName");function JD(){return this._isUTC?"UTC":""}function tN(){return this._isUTC?"Coordinated Universal Time":""}var Pe=dv.prototype;Pe.add=qM;Pe.calendar=JM;Pe.clone=tD;Pe.diff=sD;Pe.endOf=mD;Pe.format=hD;Pe.from=fD;Pe.fromNow=dD;Pe.to=pD;Pe.toNow=gD;Pe.get=rA;Pe.invalidAt=SD;Pe.isAfter=eD;Pe.isBefore=nD;Pe.isBetween=rD;Pe.isSame=iD;Pe.isSameOrAfter=aD;Pe.isSameOrBefore=oD;Pe.isValid=TD;Pe.lang=P9;Pe.locale=F9;Pe.localeData=Y9;Pe.max=TM;Pe.min=kM;Pe.parsingFlags=ED;Pe.set=iA;Pe.startOf=yD;Pe.subtract=VM;Pe.toArray=wD;Pe.toObject=xD;Pe.toDate=bD;Pe.toISOString=uD;Pe.inspect=lD;typeof Symbol!="undefined"&&Symbol.for!=null&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});Pe.toJSON=kD;Pe.toString=cD;Pe.unix=_D;Pe.valueOf=vD;Pe.creationData=CD;Pe.eraName=ND;Pe.eraNarrow=OD;Pe.eraAbbr=LD;Pe.eraYear=BD;Pe.year=_9;Pe.isLeapYear=kA;Pe.weekYear=zD;Pe.isoWeekYear=UD;Pe.quarter=Pe.quarters=GD;Pe.month=m9;Pe.daysInMonth=bA;Pe.week=Pe.weeks=MA;Pe.isoWeek=Pe.isoWeeks=DA;Pe.weeksInYear=WD;Pe.weeksInWeekYear=qD;Pe.isoWeeksInYear=$D;Pe.isoWeeksInISOWeekYear=HD;Pe.date=H9;Pe.day=Pe.days=$A;Pe.weekday=HA;Pe.isoWeekday=WA;Pe.dayOfYear=ZD;Pe.hour=Pe.hours=QA;Pe.minute=Pe.minutes=XD;Pe.second=Pe.seconds=KD;Pe.millisecond=Pe.milliseconds=W9;Pe.utcOffset=LM;Pe.utc=IM;Pe.local=RM;Pe.parseZone=FM;Pe.hasAlignedHourOffset=PM;Pe.isDST=YM;Pe.isLocal=zM;Pe.isUtcOffset=UM;Pe.isUtc=O9;Pe.isUTC=O9;Pe.zoneAbbr=JD;Pe.zoneName=tN;Pe.dates=qs("dates accessor is deprecated. Use date instead.",H9);Pe.months=qs("months accessor is deprecated. Use month instead",m9);Pe.years=qs("years accessor is deprecated. Use year instead",_9);Pe.zone=qs("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",BM);Pe.isDSTShifted=qs("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jM);function eN(r){return vi(r*1e3)}function nN(){return vi.apply(null,arguments).parseZone()}function q9(r){return r}var Rr=O8.prototype;Rr.calendar=$C;Rr.longDateFormat=VC;Rr.invalidDate=ZC;Rr.ordinal=QC;Rr.preparse=q9;Rr.postformat=q9;Rr.relativeTime=tA;Rr.pastFuture=eA;Rr.set=zC;Rr.eras=AD;Rr.erasParse=MD;Rr.erasConvertYear=DD;Rr.erasAbbrRegex=RD;Rr.erasNameRegex=ID;Rr.erasNarrowRegex=FD;Rr.months=yA;Rr.monthsShort=mA;Rr.monthsParse=_A;Rr.monthsRegex=xA;Rr.monthsShortRegex=wA;Rr.week=EA;Rr.firstDayOfYear=AA;Rr.firstDayOfWeek=CA;Rr.weekdays=PA;Rr.weekdaysMin=jA;Rr.weekdaysShort=YA;Rr.weekdaysParse=UA;Rr.weekdaysRegex=qA;Rr.weekdaysShortRegex=VA;Rr.weekdaysMinRegex=GA;Rr.isPM=XA;Rr.meridiem=JA;function Iw(r,s,o,h){var c=gl(),y=pu().set(h,s);return c[o](y,r)}function V9(r,s,o){if(hl(r)&&(s=r,r=void 0),r=r||"",s!=null)return Iw(r,s,o,"month");var h,c=[];for(h=0;h<12;h++)c[h]=Iw(r,h,o,"month");return c}function t7(r,s,o,h){typeof r=="boolean"?(hl(s)&&(o=s,s=void 0),s=s||""):(s=r,o=s,r=!1,hl(s)&&(o=s,s=void 0),s=s||"");var c=gl(),y=r?c._week.dow:0,p,b=[];if(o!=null)return Iw(s,(o+y)%7,h,"day");for(p=0;p<7;p++)b[p]=Iw(s,(p+y)%7,h,"day");return b}function rN(r,s){return V9(r,s,"months")}function iN(r,s){return V9(r,s,"monthsShort")}function aN(r,s,o){return t7(r,s,o,"weekdays")}function oN(r,s,o){return t7(r,s,o,"weekdaysShort")}function sN(r,s,o){return t7(r,s,o,"weekdaysMin")}Zh("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(r){var s=r%10,o=pr(r%100/10)===1?"th":s===1?"st":s===2?"nd":s===3?"rd":"th";return r+o}});cn.lang=qs("moment.lang is deprecated. Use moment.locale instead.",Zh);cn.langData=qs("moment.langData is deprecated. Use moment.localeData instead.",gl);var yl=Math.abs;function cN(){var r=this._data;return this._milliseconds=yl(this._milliseconds),this._days=yl(this._days),this._months=yl(this._months),r.milliseconds=yl(r.milliseconds),r.seconds=yl(r.seconds),r.minutes=yl(r.minutes),r.hours=yl(r.hours),r.months=yl(r.months),r.years=yl(r.years),this}function G9(r,s,o,h){var c=Nc(s,o);return r._milliseconds+=h*c._milliseconds,r._days+=h*c._days,r._months+=h*c._months,r._bubble()}function uN(r,s){return G9(this,r,s,1)}function lN(r,s){return G9(this,r,s,-1)}function Z9(r){return r<0?Math.floor(r):Math.ceil(r)}function hN(){var r=this._milliseconds,s=this._days,o=this._months,h=this._data,c,y,p,b,T;return r>=0&&s>=0&&o>=0||r<=0&&s<=0&&o<=0||(r+=Z9(e7(o)+s)*864e5,s=0,o=0),h.milliseconds=r%1e3,c=Gs(r/1e3),h.seconds=c%60,y=Gs(c/60),h.minutes=y%60,p=Gs(y/60),h.hours=p%24,s+=Gs(p/24),T=Gs(X9(s)),o+=T,s-=Z9(e7(T)),b=Gs(o/12),o%=12,h.days=s,h.months=o,h.years=b,this}function X9(r){return r*4800/146097}function e7(r){return r*146097/4800}function fN(r){if(!this.isValid())return NaN;var s,o,h=this._milliseconds;if(r=Vs(r),r==="month"||r==="quarter"||r==="year")switch(s=this._days+h/864e5,o=this._months+X9(s),r){case"month":return o;case"quarter":return o/3;case"year":return o/12}else switch(s=this._days+Math.round(e7(this._months)),r){case"week":return s/7+h/6048e5;case"day":return s+h/864e5;case"hour":return s*24+h/36e5;case"minute":return s*1440+h/6e4;case"second":return s*86400+h/1e3;case"millisecond":return Math.floor(s*864e5)+h;default:throw new Error("Unknown unit "+r)}}function dN(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+pr(this._months/12)*31536e6:NaN}function ml(r){return function(){return this.as(r)}}var pN=ml("ms"),gN=ml("s"),yN=ml("m"),mN=ml("h"),vN=ml("d"),_N=ml("w"),bN=ml("M"),wN=ml("Q"),xN=ml("y");function kN(){return Nc(this)}function TN(r){return r=Vs(r),this.isValid()?this[r+"s"]():NaN}function o0(r){return function(){return this.isValid()?this._data[r]:NaN}}var EN=o0("milliseconds"),SN=o0("seconds"),CN=o0("minutes"),AN=o0("hours"),MN=o0("days"),DN=o0("months"),NN=o0("years");function ON(){return Gs(this.days()/7)}var vl=Math.round,pg={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function LN(r,s,o,h,c){return c.relativeTime(s||1,!!o,r,h)}function BN(r,s,o,h){var c=Nc(r).abs(),y=vl(c.as("s")),p=vl(c.as("m")),b=vl(c.as("h")),T=vl(c.as("d")),k=vl(c.as("M")),D=vl(c.as("w")),O=vl(c.as("y")),R=y<=o.ss&&["s",y]||y0,R[4]=h,LN.apply(null,R)}function IN(r){return r===void 0?vl:typeof r=="function"?(vl=r,!0):!1}function RN(r,s){return pg[r]===void 0?!1:s===void 0?pg[r]:(pg[r]=s,r==="s"&&(pg.ss=s-1),!0)}function FN(r,s){if(!this.isValid())return this.localeData().invalidDate();var o=!1,h=pg,c,y;return typeof r=="object"&&(s=r,r=!1),typeof r=="boolean"&&(o=r),typeof s=="object"&&(h=Object.assign({},pg,s),s.s!=null&&s.ss==null&&(h.ss=s.s-1)),c=this.localeData(),y=BN(this,!o,h,c),o&&(y=c.pastFuture(+this,y)),c.postformat(y)}var n7=Math.abs;function gg(r){return(r>0)-(r<0)||+r}function Rw(){if(!this.isValid())return this.localeData().invalidDate();var r=n7(this._milliseconds)/1e3,s=n7(this._days),o=n7(this._months),h,c,y,p,b=this.asSeconds(),T,k,D,O;return b?(h=Gs(r/60),c=Gs(h/60),r%=60,h%=60,y=Gs(o/12),o%=12,p=r?r.toFixed(3).replace(/\.?0+$/,""):"",T=b<0?"-":"",k=gg(this._months)!==gg(b)?"-":"",D=gg(this._days)!==gg(b)?"-":"",O=gg(this._milliseconds)!==gg(b)?"-":"",T+"P"+(y?k+y+"Y":"")+(o?k+o+"M":"")+(s?D+s+"D":"")+(c||h||r?"T":"")+(c?O+c+"H":"")+(h?O+h+"M":"")+(r?O+p+"S":"")):"P0D"}var Nr=Mw.prototype;Nr.isValid=MM;Nr.abs=cN;Nr.add=uN;Nr.subtract=lN;Nr.as=fN;Nr.asMilliseconds=pN;Nr.asSeconds=gN;Nr.asMinutes=yN;Nr.asHours=mN;Nr.asDays=vN;Nr.asWeeks=_N;Nr.asMonths=bN;Nr.asQuarters=wN;Nr.asYears=xN;Nr.valueOf=dN;Nr._bubble=hN;Nr.clone=kN;Nr.get=TN;Nr.milliseconds=EN;Nr.seconds=SN;Nr.minutes=CN;Nr.hours=AN;Nr.days=MN;Nr.weeks=ON;Nr.months=DN;Nr.years=NN;Nr.humanize=FN;Nr.toISOString=Rw;Nr.toString=Rw;Nr.toJSON=Rw;Nr.locale=F9;Nr.localeData=Y9;Nr.toIsoString=qs("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rw);Nr.lang=P9;An("X",0,0,"unix");An("x",0,0,"valueOf");ln("x",xw);ln("X",oA);ri("X",function(r,s,o){o._d=new Date(parseFloat(r)*1e3)});ri("x",function(r,s,o){o._d=new Date(pr(r))});//! moment.js +cn.version="2.29.1";YC(vi);cn.fn=Pe;cn.min=EM;cn.max=SM;cn.now=CM;cn.utc=pu;cn.unix=eN;cn.months=rN;cn.isDate=fv;cn.locale=Zh;cn.invalid=pw;cn.duration=Nc;cn.isMoment=Mc;cn.weekdays=aN;cn.parseZone=nN;cn.localeData=gl;cn.isDuration=Dw;cn.monthsShort=iN;cn.weekdaysMin=sN;cn.defineLocale=$8;cn.updateLocale=nM;cn.locales=rM;cn.weekdaysShort=oN;cn.normalizeUnits=Vs;cn.relativeTimeRounding=IN;cn.relativeTimeThreshold=RN;cn.calendarFormat=QM;cn.prototype=Pe;cn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */var PN={1362:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(zt,te,ct,ne){for(ct=ct||{},ne=zt.length;ne--;ct[zt[ne]]=te);return ct},y=[1,6],p=[1,7],b=[1,8],T=[1,9],k=[1,12],D=[1,11],O=[1,15,24],R=[1,19],z=[1,31],U=[1,34],W=[1,32],V=[1,33],X=[1,35],at=[1,36],tt=[1,37],it=[1,38],ut=[1,41],St=[1,42],et=[1,43],K=[1,44],ft=[15,24],_t=[1,56],kt=[1,57],pt=[1,58],mt=[1,59],Wt=[1,60],Rt=[1,61],ye=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],ge=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],pe=[7,8,9,10,15,18,22,24],Ot=[47,77,78,79,80],Xt=[47,54,55,77,78,79,80],se=[47,50,51,52,53,77,78,79,80],le=[15,24,31],me=[1,93],Lt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,CLASS_DIAGRAM:22,statements:23,EOF:24,statement:25,className:26,alphaNumToken:27,classLiteralName:28,GENERICTYPE:29,relationStatement:30,LABEL:31,classStatement:32,methodStatement:33,annotationStatement:34,clickStatement:35,cssClassStatement:36,CLASS:37,STYLE_SEPARATOR:38,STRUCT_START:39,members:40,STRUCT_STOP:41,ANNOTATION_START:42,ANNOTATION_END:43,MEMBER:44,SEPARATOR:45,relation:46,STR:47,relationType:48,lineType:49,AGGREGATION:50,EXTENSION:51,COMPOSITION:52,DEPENDENCY:53,LINE:54,DOTTED_LINE:55,CALLBACK:56,LINK:57,LINK_TARGET:58,CLICK:59,CALLBACK_NAME:60,CALLBACK_ARGS:61,HREF:62,CSSCLASS:63,commentToken:64,textToken:65,graphCodeTokens:66,textNoTagsToken:67,TAGSTART:68,TAGEND:69,"==":70,"--":71,PCT:72,DEFAULT:73,SPACE:74,MINUS:75,keywords:76,UNICODE_TEXT:77,NUM:78,ALPHA:79,BQUOTE_STR:80,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"CLASS_DIAGRAM",24:"EOF",29:"GENERICTYPE",31:"LABEL",37:"CLASS",38:"STYLE_SEPARATOR",39:"STRUCT_START",41:"STRUCT_STOP",42:"ANNOTATION_START",43:"ANNOTATION_END",44:"MEMBER",45:"SEPARATOR",47:"STR",50:"AGGREGATION",51:"EXTENSION",52:"COMPOSITION",53:"DEPENDENCY",54:"LINE",55:"DOTTED_LINE",56:"CALLBACK",57:"LINK",58:"LINK_TARGET",59:"CLICK",60:"CALLBACK_NAME",61:"CALLBACK_ARGS",62:"HREF",63:"CSSCLASS",66:"graphCodeTokens",68:"TAGSTART",69:"TAGEND",70:"==",71:"--",72:"PCT",73:"DEFAULT",74:"SPACE",75:"MINUS",76:"keywords",77:"UNICODE_TEXT",78:"NUM",79:"ALPHA",80:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[23,1],[23,2],[23,3],[26,1],[26,1],[26,2],[26,2],[26,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[32,2],[32,4],[32,5],[32,7],[34,4],[40,1],[40,2],[33,1],[33,2],[33,1],[33,1],[30,3],[30,4],[30,4],[30,5],[46,3],[46,2],[46,2],[46,1],[48,1],[48,1],[48,1],[48,1],[49,1],[49,1],[35,3],[35,4],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[36,3],[64,1],[64,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[67,1],[67,1],[67,1],[67,1],[27,1],[27,1],[27,1],[28,1]],performAction:function(zt,te,ct,ne,Dt,Zt,Ht){var Nt=Zt.length-1;switch(Dt){case 4:ne.setDirection("TB");break;case 5:ne.setDirection("BT");break;case 6:ne.setDirection("RL");break;case 7:ne.setDirection("LR");break;case 11:ne.parseDirective("%%{","open_directive");break;case 12:ne.parseDirective(Zt[Nt],"type_directive");break;case 13:Zt[Nt]=Zt[Nt].trim().replace(/'/g,'"'),ne.parseDirective(Zt[Nt],"arg_directive");break;case 14:ne.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=Zt[Nt];break;case 21:this.$=Zt[Nt-1]+Zt[Nt];break;case 22:case 23:this.$=Zt[Nt-1]+"~"+Zt[Nt];break;case 24:ne.addRelation(Zt[Nt]);break;case 25:Zt[Nt-1].title=ne.cleanupLabel(Zt[Nt]),ne.addRelation(Zt[Nt-1]);break;case 33:ne.addClass(Zt[Nt]);break;case 34:ne.addClass(Zt[Nt-2]),ne.setCssClass(Zt[Nt-2],Zt[Nt]);break;case 35:ne.addClass(Zt[Nt-3]),ne.addMembers(Zt[Nt-3],Zt[Nt-1]);break;case 36:ne.addClass(Zt[Nt-5]),ne.setCssClass(Zt[Nt-5],Zt[Nt-3]),ne.addMembers(Zt[Nt-5],Zt[Nt-1]);break;case 37:ne.addAnnotation(Zt[Nt],Zt[Nt-2]);break;case 38:this.$=[Zt[Nt]];break;case 39:Zt[Nt].push(Zt[Nt-1]),this.$=Zt[Nt];break;case 40:case 42:case 43:break;case 41:ne.addMember(Zt[Nt-1],ne.cleanupLabel(Zt[Nt]));break;case 44:this.$={id1:Zt[Nt-2],id2:Zt[Nt],relation:Zt[Nt-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:Zt[Nt-3],id2:Zt[Nt],relation:Zt[Nt-1],relationTitle1:Zt[Nt-2],relationTitle2:"none"};break;case 46:this.$={id1:Zt[Nt-3],id2:Zt[Nt],relation:Zt[Nt-2],relationTitle1:"none",relationTitle2:Zt[Nt-1]};break;case 47:this.$={id1:Zt[Nt-4],id2:Zt[Nt],relation:Zt[Nt-2],relationTitle1:Zt[Nt-3],relationTitle2:Zt[Nt-1]};break;case 48:this.$={type1:Zt[Nt-2],type2:Zt[Nt],lineType:Zt[Nt-1]};break;case 49:this.$={type1:"none",type2:Zt[Nt],lineType:Zt[Nt-1]};break;case 50:this.$={type1:Zt[Nt-1],type2:"none",lineType:Zt[Nt]};break;case 51:this.$={type1:"none",type2:"none",lineType:Zt[Nt]};break;case 52:this.$=ne.relationType.AGGREGATION;break;case 53:this.$=ne.relationType.EXTENSION;break;case 54:this.$=ne.relationType.COMPOSITION;break;case 55:this.$=ne.relationType.DEPENDENCY;break;case 56:this.$=ne.lineType.LINE;break;case 57:this.$=ne.lineType.DOTTED_LINE;break;case 58:case 64:this.$=Zt[Nt-2],ne.setClickEvent(Zt[Nt-1],Zt[Nt]);break;case 59:case 65:this.$=Zt[Nt-3],ne.setClickEvent(Zt[Nt-2],Zt[Nt-1]),ne.setTooltip(Zt[Nt-2],Zt[Nt]);break;case 60:case 68:this.$=Zt[Nt-2],ne.setLink(Zt[Nt-1],Zt[Nt]);break;case 61:case 69:this.$=Zt[Nt-3],ne.setLink(Zt[Nt-2],Zt[Nt-1],Zt[Nt]);break;case 62:case 70:this.$=Zt[Nt-3],ne.setLink(Zt[Nt-2],Zt[Nt-1]),ne.setTooltip(Zt[Nt-2],Zt[Nt]);break;case 63:case 71:this.$=Zt[Nt-4],ne.setLink(Zt[Nt-3],Zt[Nt-2],Zt[Nt]),ne.setTooltip(Zt[Nt-3],Zt[Nt-1]);break;case 66:this.$=Zt[Nt-3],ne.setClickEvent(Zt[Nt-2],Zt[Nt-1],Zt[Nt]);break;case 67:this.$=Zt[Nt-4],ne.setClickEvent(Zt[Nt-3],Zt[Nt-2],Zt[Nt-1]),ne.setTooltip(Zt[Nt-3],Zt[Nt]);break;case 72:ne.setCssClass(Zt[Nt-1],Zt[Nt])}},table:[{3:1,4:2,5:3,6:4,7:y,8:p,9:b,10:T,11:5,12:10,18:k,22:D},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:y,8:p,9:b,10:T,11:5,12:10,18:k,22:D},{1:[2,8]},c(O,[2,4]),c(O,[2,5]),c(O,[2,6]),c(O,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:R},c([16,21],[2,12]),{5:29,6:28,7:y,8:p,9:b,10:T,12:10,18:k,23:20,25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:z,42:U,44:W,45:V,56:X,57:at,59:tt,63:it,77:ut,78:St,79:et,80:K},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},c(ft,[2,24],{31:[1,50]}),c(ft,[2,26]),c(ft,[2,27]),c(ft,[2,28]),c(ft,[2,29]),c(ft,[2,30]),c(ft,[2,31]),c(ft,[2,32]),c(ft,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:_t,51:kt,52:pt,53:mt,54:Wt,55:Rt}),{26:62,27:39,28:40,77:ut,78:St,79:et,80:K},c(ft,[2,42]),c(ft,[2,43]),{27:63,77:ut,78:St,79:et},{26:64,27:39,28:40,77:ut,78:St,79:et,80:K},{26:65,27:39,28:40,77:ut,78:St,79:et,80:K},{26:66,27:39,28:40,77:ut,78:St,79:et,80:K},{47:[1,67]},c(ye,[2,19],{27:39,28:40,26:68,29:[1,69],77:ut,78:St,79:et,80:K}),c(ye,[2,20],{29:[1,70]}),c(ge,[2,86]),c(ge,[2,87]),c(ge,[2,88]),c([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),c(pe,[2,9]),{14:71,21:R},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:y,8:p,9:b,10:T,12:10,18:k,23:72,24:[2,17],25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:z,42:U,44:W,45:V,56:X,57:at,59:tt,63:it,77:ut,78:St,79:et,80:K},c(ft,[2,25]),{26:73,27:39,28:40,47:[1,74],77:ut,78:St,79:et,80:K},{46:75,48:54,49:55,50:_t,51:kt,52:pt,53:mt,54:Wt,55:Rt},c(ft,[2,41]),{49:76,54:Wt,55:Rt},c(Ot,[2,51],{48:77,50:_t,51:kt,52:pt,53:mt}),c(Xt,[2,52]),c(Xt,[2,53]),c(Xt,[2,54]),c(Xt,[2,55]),c(se,[2,56]),c(se,[2,57]),c(ft,[2,33],{38:[1,78],39:[1,79]}),{43:[1,80]},{47:[1,81]},{47:[1,82]},{60:[1,83],62:[1,84]},{27:85,77:ut,78:St,79:et},c(ye,[2,21]),c(ye,[2,22]),c(ye,[2,23]),{15:[1,86]},{24:[2,18]},c(le,[2,44]),{26:87,27:39,28:40,77:ut,78:St,79:et,80:K},{26:88,27:39,28:40,47:[1,89],77:ut,78:St,79:et,80:K},c(Ot,[2,50],{48:90,50:_t,51:kt,52:pt,53:mt}),c(Ot,[2,49]),{27:91,77:ut,78:St,79:et},{40:92,44:me},{26:94,27:39,28:40,77:ut,78:St,79:et,80:K},c(ft,[2,58],{47:[1,95]}),c(ft,[2,60],{47:[1,97],58:[1,96]}),c(ft,[2,64],{47:[1,98],61:[1,99]}),c(ft,[2,68],{47:[1,101],58:[1,100]}),c(ft,[2,72]),c(pe,[2,10]),c(le,[2,46]),c(le,[2,45]),{26:102,27:39,28:40,77:ut,78:St,79:et,80:K},c(Ot,[2,48]),c(ft,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:me},c(ft,[2,37]),c(ft,[2,59]),c(ft,[2,61]),c(ft,[2,62],{58:[1,106]}),c(ft,[2,65]),c(ft,[2,66],{47:[1,107]}),c(ft,[2,69]),c(ft,[2,70],{58:[1,108]}),c(le,[2,47]),{40:109,44:me},c(ft,[2,35]),{41:[2,39]},c(ft,[2,63]),c(ft,[2,67]),c(ft,[2,71]),{41:[1,110]},c(ft,[2,36])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],12:[2,11],13:[2,3],19:[2,14],47:[2,13],48:[2,15],72:[2,18],105:[2,39]},parseError:function(zt,te){if(!te.recoverable){var ct=new Error(zt);throw ct.hash=te,ct}this.trace(zt)},parse:function(zt){var te=this,ct=[0],ne=[],Dt=[null],Zt=[],Ht=this.table,Nt="",oe=0,en=0,ve=0,Ne=2,dn=1,Xe=Zt.slice.call(arguments,1),Ie=Object.create(this.lexer),Ae={yy:{}};for(var nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nn)&&(Ae.yy[nn]=this.yy[nn]);Ie.setInput(zt,Ae.yy),Ae.yy.lexer=Ie,Ae.yy.parser=this,Ie.yylloc===void 0&&(Ie.yylloc={});var $e=Ie.yylloc;Zt.push($e);var Ke=Ie.options&&Ie.options.ranges;function Qe(){var Cn;return typeof(Cn=ne.pop()||Ie.lex()||dn)!="number"&&(Cn instanceof Array&&(Cn=(ne=Cn).pop()),Cn=te.symbols_[Cn]||Cn),Cn}typeof Ae.yy.parseError=="function"?this.parseError=Ae.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Be,Hn,Me,on,wn,$r,xn,nr,hn,vn={};;){if(Me=ct[ct.length-1],this.defaultActions[Me]?on=this.defaultActions[Me]:(Be==null&&(Be=Qe()),on=Ht[Me]&&Ht[Me][Be]),on===void 0||!on.length||!on[0]){var Je="";for($r in hn=[],Ht[Me])this.terminals_[$r]&&$r>Ne&&hn.push("'"+this.terminals_[$r]+"'");Je=Ie.showPosition?"Parse error on line "+(oe+1)+`: +`+Ie.showPosition()+` +Expecting `+hn.join(", ")+", got '"+(this.terminals_[Be]||Be)+"'":"Parse error on line "+(oe+1)+": Unexpected "+(Be==dn?"end of input":"'"+(this.terminals_[Be]||Be)+"'"),this.parseError(Je,{text:Ie.match,token:this.terminals_[Be]||Be,line:Ie.yylineno,loc:$e,expected:hn})}if(on[0]instanceof Array&&on.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Me+", token: "+Be);switch(on[0]){case 1:ct.push(Be),Dt.push(Ie.yytext),Zt.push(Ie.yylloc),ct.push(on[1]),Be=null,Hn?(Be=Hn,Hn=null):(en=Ie.yyleng,Nt=Ie.yytext,oe=Ie.yylineno,$e=Ie.yylloc,ve>0);break;case 2:if(xn=this.productions_[on[1]][1],vn.$=Dt[Dt.length-xn],vn._$={first_line:Zt[Zt.length-(xn||1)].first_line,last_line:Zt[Zt.length-1].last_line,first_column:Zt[Zt.length-(xn||1)].first_column,last_column:Zt[Zt.length-1].last_column},Ke&&(vn._$.range=[Zt[Zt.length-(xn||1)].range[0],Zt[Zt.length-1].range[1]]),(wn=this.performAction.apply(vn,[Nt,en,oe,Ae.yy,on[1],Dt,Zt].concat(Xe)))!==void 0)return wn;xn&&(ct=ct.slice(0,-1*xn*2),Dt=Dt.slice(0,-1*xn),Zt=Zt.slice(0,-1*xn)),ct.push(this.productions_[on[1]][0]),Dt.push(vn.$),Zt.push(vn._$),nr=Ht[ct[ct.length-2]][ct[ct.length-1]],ct.push(nr);break;case 3:return!0}}return!0}},qe={EOF:1,parseError:function(zt,te){if(!this.yy.parser)throw new Error(zt);this.yy.parser.parseError(zt,te)},setInput:function(zt,te){return this.yy=te||this.yy||{},this._input=zt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var zt=this._input[0];return this.yytext+=zt,this.yyleng++,this.offset++,this.match+=zt,this.matched+=zt,zt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),zt},unput:function(zt){var te=zt.length,ct=zt.split(/(?:\r\n?|\n)/g);this._input=zt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-te),this.offset-=te;var ne=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ct.length-1&&(this.yylineno-=ct.length-1);var Dt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ct?(ct.length===ne.length?this.yylloc.first_column:0)+ne[ne.length-ct.length].length-ct[0].length:this.yylloc.first_column-te},this.options.ranges&&(this.yylloc.range=[Dt[0],Dt[0]+this.yyleng-te]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(zt){this.unput(this.match.slice(zt))},pastInput:function(){var zt=this.matched.substr(0,this.matched.length-this.match.length);return(zt.length>20?"...":"")+zt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var zt=this.match;return zt.length<20&&(zt+=this._input.substr(0,20-zt.length)),(zt.substr(0,20)+(zt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var zt=this.pastInput(),te=new Array(zt.length+1).join("-");return zt+this.upcomingInput()+` +`+te+"^"},test_match:function(zt,te){var ct,ne,Dt;if(this.options.backtrack_lexer&&(Dt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Dt.yylloc.range=this.yylloc.range.slice(0))),(ne=zt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ne.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ne?ne[ne.length-1].length-ne[ne.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+zt[0].length},this.yytext+=zt[0],this.match+=zt[0],this.matches=zt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(zt[0].length),this.matched+=zt[0],ct=this.performAction.call(this,this.yy,this,te,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ct)return ct;if(this._backtrack){for(var Zt in Dt)this[Zt]=Dt[Zt];return!1}return!1},next:function(){if(this.done)return this.EOF;var zt,te,ct,ne;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Dt=this._currentRules(),Zt=0;Ztte[0].length)){if(te=ct,ne=Zt,this.options.backtrack_lexer){if((zt=this.test_match(ct,Dt[Zt]))!==!1)return zt;if(this._backtrack){te=!1;continue}return!1}if(!this.options.flex)break}return te?(zt=this.test_match(te,Dt[ne]))!==!1&&zt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(zt){this.conditionStack.push(zt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(zt){return(zt=this.conditionStack.length-1-Math.abs(zt||0))>=0?this.conditionStack[zt]:"INITIAL"},pushState:function(zt){this.begin(zt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(zt,te,ct,ne){switch(ct){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:case 10:case 12:case 19:break;case 11:return 15;case 13:case 14:return 22;case 15:return this.begin("struct"),39;case 16:return"EOF_IN_STRUCT";case 17:return"OPEN_IN_STRUCT";case 18:return this.popState(),41;case 20:return"MEMBER";case 21:return 37;case 22:return 63;case 23:return 56;case 24:return 57;case 25:return 59;case 26:return 42;case 27:return 43;case 28:this.begin("generic");break;case 29:case 32:case 35:case 38:case 41:case 44:this.popState();break;case 30:return"GENERICTYPE";case 31:this.begin("string");break;case 33:return"STR";case 34:this.begin("bqstring");break;case 36:return"BQUOTE_STR";case 37:this.begin("href");break;case 39:return 62;case 40:this.begin("callback_name");break;case 42:this.popState(),this.begin("callback_args");break;case 43:return 60;case 45:return 61;case 46:case 47:case 48:case 49:return 58;case 50:case 51:return 51;case 52:case 53:return 53;case 54:return 52;case 55:return 50;case 56:return 54;case 57:return 55;case 58:return 31;case 59:return 38;case 60:return 75;case 61:return"DOT";case 62:return"PLUS";case 63:return 72;case 64:case 65:return"EQUALS";case 66:return 79;case 67:return"PUNCTUATION";case 68:return 78;case 69:return 77;case 70:return 74;case 71:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[44,45],inclusive:!1},callback_name:{rules:[41,42,43],inclusive:!1},href:{rules:[38,39],inclusive:!1},struct:{rules:[16,17,18,19,20],inclusive:!1},generic:{rules:[29,30],inclusive:!1},bqstring:{rules:[35,36],inclusive:!1},string:{rules:[32,33],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,13,14,15,21,22,23,24,25,26,27,28,31,34,37,40,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],inclusive:!0}}};function he(){this.yy={}}return Lt.lexer=qe,he.prototype=Lt,Lt.Parser=he,new he}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(8218).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},5890:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(et,K,ft,_t){for(ft=ft||{},_t=et.length;_t--;ft[et[_t]]=K);return ft},y=[1,2],p=[1,5],b=[6,9,11,23,41],T=[1,17],k=[1,20],D=[1,25],O=[1,26],R=[1,27],z=[1,28],U=[1,37],W=[23,38,39],V=[4,6,9,11,23,41],X=[34,35,36,37],at=[22,29],tt=[1,55],it={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,ALPHANUM:23,attribute:24,attributeType:25,attributeName:26,attributeKeyType:27,attributeComment:28,ATTRIBUTE_WORD:29,ATTRIBUTE_KEY:30,COMMENT:31,cardinality:32,relType:33,ZERO_OR_ONE:34,ZERO_OR_MORE:35,ONE_OR_MORE:36,ONLY_ONE:37,NON_IDENTIFYING:38,IDENTIFYING:39,WORD:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"ALPHANUM",29:"ATTRIBUTE_WORD",30:"ATTRIBUTE_KEY",31:"COMMENT",34:"ZERO_OR_ONE",35:"ZERO_OR_MORE",36:"ONE_OR_MORE",37:"ONLY_ONE",38:"NON_IDENTIFYING",39:"IDENTIFYING",40:"WORD",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[17,1],[21,1],[21,2],[24,2],[24,3],[24,3],[24,4],[25,1],[26,1],[27,1],[28,1],[18,3],[32,1],[32,1],[32,1],[32,1],[33,1],[33,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(et,K,ft,_t,kt,pt,mt){var Wt=pt.length-1;switch(kt){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:pt[Wt-1].push(pt[Wt]),this.$=pt[Wt-1];break;case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=pt[Wt];break;case 12:_t.addEntity(pt[Wt-4]),_t.addEntity(pt[Wt-2]),_t.addRelationship(pt[Wt-4],pt[Wt],pt[Wt-2],pt[Wt-3]);break;case 13:_t.addEntity(pt[Wt-3]),_t.addAttributes(pt[Wt-3],pt[Wt-1]);break;case 14:_t.addEntity(pt[Wt-2]);break;case 15:_t.addEntity(pt[Wt]);break;case 17:this.$=[pt[Wt]];break;case 18:pt[Wt].push(pt[Wt-1]),this.$=pt[Wt];break;case 19:this.$={attributeType:pt[Wt-1],attributeName:pt[Wt]};break;case 20:this.$={attributeType:pt[Wt-2],attributeName:pt[Wt-1],attributeKeyType:pt[Wt]};break;case 21:this.$={attributeType:pt[Wt-2],attributeName:pt[Wt-1],attributeComment:pt[Wt]};break;case 22:this.$={attributeType:pt[Wt-3],attributeName:pt[Wt-2],attributeKeyType:pt[Wt-1],attributeComment:pt[Wt]};break;case 26:case 34:this.$=pt[Wt].replace(/"/g,"");break;case 27:this.$={cardA:pt[Wt],relType:pt[Wt-1],cardB:pt[Wt-2]};break;case 28:this.$=_t.Cardinality.ZERO_OR_ONE;break;case 29:this.$=_t.Cardinality.ZERO_OR_MORE;break;case 30:this.$=_t.Cardinality.ONE_OR_MORE;break;case 31:this.$=_t.Cardinality.ONLY_ONE;break;case 32:this.$=_t.Identification.NON_IDENTIFYING;break;case 33:this.$=_t.Identification.IDENTIFYING;break;case 36:_t.parseDirective("%%{","open_directive");break;case 37:_t.parseDirective(pt[Wt],"type_directive");break;case 38:pt[Wt]=pt[Wt].trim().replace(/'/g,'"'),_t.parseDirective(pt[Wt],"arg_directive");break;case 39:_t.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:y,7:3,12:4,41:p},{1:[3]},c(b,[2,3],{5:6}),{3:7,4:y,7:3,12:4,41:p},{13:8,42:[1,9]},{42:[2,36]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:T,41:p},{1:[2,2]},{14:18,15:[1,19],44:k},c([15,44],[2,37]),c(b,[2,8],{1:[2,1]}),c(b,[2,4]),{7:15,10:21,12:4,17:16,23:T,41:p},c(b,[2,6]),c(b,[2,7]),c(b,[2,11]),c(b,[2,15],{18:22,32:24,20:[1,23],34:D,35:O,36:R,37:z}),c([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},c(b,[2,5]),{17:32,23:T},{21:33,22:[1,34],24:35,25:36,29:U},{33:38,38:[1,39],39:[1,40]},c(W,[2,28]),c(W,[2,29]),c(W,[2,30]),c(W,[2,31]),c(V,[2,9]),{14:41,44:k},{44:[2,38]},{15:[1,42]},{22:[1,43]},c(b,[2,14]),{21:44,22:[2,17],24:35,25:36,29:U},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:D,35:O,36:R,37:z},c(X,[2,32]),c(X,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},c(b,[2,13]),{22:[2,18]},c(at,[2,19],{27:52,28:53,30:[1,54],31:tt}),c([22,29,30,31],[2,24]),{23:[2,27]},c(V,[2,10]),c(b,[2,12]),c(b,[2,34]),c(b,[2,35]),c(at,[2,20],{28:56,31:tt}),c(at,[2,21]),c([22,29,31],[2,25]),c(at,[2,26]),c(at,[2,22])],defaultActions:{5:[2,36],7:[2,2],20:[2,39],31:[2,38],37:[2,23],44:[2,18],47:[2,27]},parseError:function(et,K){if(!K.recoverable){var ft=new Error(et);throw ft.hash=K,ft}this.trace(et)},parse:function(et){var K=this,ft=[0],_t=[],kt=[null],pt=[],mt=this.table,Wt="",Rt=0,ye=0,ge=0,pe=2,Ot=1,Xt=pt.slice.call(arguments,1),se=Object.create(this.lexer),le={yy:{}};for(var me in this.yy)Object.prototype.hasOwnProperty.call(this.yy,me)&&(le.yy[me]=this.yy[me]);se.setInput(et,le.yy),le.yy.lexer=se,le.yy.parser=this,se.yylloc===void 0&&(se.yylloc={});var Lt=se.yylloc;pt.push(Lt);var qe=se.options&&se.options.ranges;function he(){var Ne;return typeof(Ne=_t.pop()||se.lex()||Ot)!="number"&&(Ne instanceof Array&&(Ne=(_t=Ne).pop()),Ne=K.symbols_[Ne]||Ne),Ne}typeof le.yy.parseError=="function"?this.parseError=le.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var zt,te,ct,ne,Dt,Zt,Ht,Nt,oe,en={};;){if(ct=ft[ft.length-1],this.defaultActions[ct]?ne=this.defaultActions[ct]:(zt==null&&(zt=he()),ne=mt[ct]&&mt[ct][zt]),ne===void 0||!ne.length||!ne[0]){var ve="";for(Zt in oe=[],mt[ct])this.terminals_[Zt]&&Zt>pe&&oe.push("'"+this.terminals_[Zt]+"'");ve=se.showPosition?"Parse error on line "+(Rt+1)+`: +`+se.showPosition()+` +Expecting `+oe.join(", ")+", got '"+(this.terminals_[zt]||zt)+"'":"Parse error on line "+(Rt+1)+": Unexpected "+(zt==Ot?"end of input":"'"+(this.terminals_[zt]||zt)+"'"),this.parseError(ve,{text:se.match,token:this.terminals_[zt]||zt,line:se.yylineno,loc:Lt,expected:oe})}if(ne[0]instanceof Array&&ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ct+", token: "+zt);switch(ne[0]){case 1:ft.push(zt),kt.push(se.yytext),pt.push(se.yylloc),ft.push(ne[1]),zt=null,te?(zt=te,te=null):(ye=se.yyleng,Wt=se.yytext,Rt=se.yylineno,Lt=se.yylloc,ge>0);break;case 2:if(Ht=this.productions_[ne[1]][1],en.$=kt[kt.length-Ht],en._$={first_line:pt[pt.length-(Ht||1)].first_line,last_line:pt[pt.length-1].last_line,first_column:pt[pt.length-(Ht||1)].first_column,last_column:pt[pt.length-1].last_column},qe&&(en._$.range=[pt[pt.length-(Ht||1)].range[0],pt[pt.length-1].range[1]]),(Dt=this.performAction.apply(en,[Wt,ye,Rt,le.yy,ne[1],kt,pt].concat(Xt)))!==void 0)return Dt;Ht&&(ft=ft.slice(0,-1*Ht*2),kt=kt.slice(0,-1*Ht),pt=pt.slice(0,-1*Ht)),ft.push(this.productions_[ne[1]][0]),kt.push(en.$),pt.push(en._$),Nt=mt[ft[ft.length-2]][ft[ft.length-1]],ft.push(Nt);break;case 3:return!0}}return!0}},ut={EOF:1,parseError:function(et,K){if(!this.yy.parser)throw new Error(et);this.yy.parser.parseError(et,K)},setInput:function(et,K){return this.yy=K||this.yy||{},this._input=et,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var et=this._input[0];return this.yytext+=et,this.yyleng++,this.offset++,this.match+=et,this.matched+=et,et.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),et},unput:function(et){var K=et.length,ft=et.split(/(?:\r\n?|\n)/g);this._input=et+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-K),this.offset-=K;var _t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ft.length-1&&(this.yylineno-=ft.length-1);var kt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ft?(ft.length===_t.length?this.yylloc.first_column:0)+_t[_t.length-ft.length].length-ft[0].length:this.yylloc.first_column-K},this.options.ranges&&(this.yylloc.range=[kt[0],kt[0]+this.yyleng-K]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(et){this.unput(this.match.slice(et))},pastInput:function(){var et=this.matched.substr(0,this.matched.length-this.match.length);return(et.length>20?"...":"")+et.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var et=this.match;return et.length<20&&(et+=this._input.substr(0,20-et.length)),(et.substr(0,20)+(et.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var et=this.pastInput(),K=new Array(et.length+1).join("-");return et+this.upcomingInput()+` +`+K+"^"},test_match:function(et,K){var ft,_t,kt;if(this.options.backtrack_lexer&&(kt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(kt.yylloc.range=this.yylloc.range.slice(0))),(_t=et[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=_t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_t?_t[_t.length-1].length-_t[_t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+et[0].length},this.yytext+=et[0],this.match+=et[0],this.matches=et,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(et[0].length),this.matched+=et[0],ft=this.performAction.call(this,this.yy,this,K,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ft)return ft;if(this._backtrack){for(var pt in kt)this[pt]=kt[pt];return!1}return!1},next:function(){if(this.done)return this.EOF;var et,K,ft,_t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var kt=this._currentRules(),pt=0;ptK[0].length)){if(K=ft,_t=pt,this.options.backtrack_lexer){if((et=this.test_match(ft,kt[pt]))!==!1)return et;if(this._backtrack){K=!1;continue}return!1}if(!this.options.flex)break}return K?(et=this.test_match(K,kt[_t]))!==!1&&et:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(et){this.conditionStack.push(et)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(et){return(et=this.conditionStack.length-1-Math.abs(et||0))>=0?this.conditionStack[et]:"INITIAL"},pushState:function(et){this.begin(et)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(et,K,ft,_t){switch(ft){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:case 13:case 17:break;case 7:return 11;case 9:return 9;case 10:return 40;case 11:return 4;case 12:return this.begin("block"),20;case 14:return 30;case 15:return 29;case 16:return 31;case 18:return this.popState(),22;case 19:case 32:return K.yytext[0];case 20:case 24:return 34;case 21:case 25:return 35;case 22:case 26:return 36;case 23:return 37;case 27:case 29:case 30:return 38;case 28:return 39;case 31:return 23;case 33:return 6}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:(?:PK)|(?:FK))/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},block:{rules:[13,14,15,16,17,18,19],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,20,21,22,23,24,25,26,27,28,29,30,31,32,33],inclusive:!0}}};function St(){this.yy={}}return it.lexer=ut,St.prototype=it,it.Parser=St,new St}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(8009).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},3602:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(sn,Qn,Mn,Re){for(Mn=Mn||{},Re=sn.length;Re--;Mn[sn[Re]]=Qn);return Mn},y=[1,9],p=[1,7],b=[1,6],T=[1,8],k=[1,20,21,22,23,38,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],D=[2,10],O=[1,20],R=[1,21],z=[1,22],U=[1,23],W=[1,30],V=[1,59],X=[1,45],at=[1,49],tt=[1,33],it=[1,34],ut=[1,35],St=[1,36],et=[1,37],K=[1,53],ft=[1,60],_t=[1,48],kt=[1,50],pt=[1,52],mt=[1,56],Wt=[1,57],Rt=[1,38],ye=[1,39],ge=[1,40],pe=[1,41],Ot=[1,58],Xt=[1,47],se=[1,51],le=[1,54],me=[1,55],Lt=[1,46],qe=[1,63],he=[1,68],zt=[1,20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],te=[1,72],ct=[1,71],ne=[1,73],Dt=[20,21,23,74,75],Zt=[1,94],Ht=[1,99],Nt=[1,102],oe=[1,103],en=[1,96],ve=[1,101],Ne=[1,104],dn=[1,97],Xe=[1,109],Ie=[1,108],Ae=[1,98],nn=[1,100],$e=[1,105],Ke=[1,106],Qe=[1,107],Be=[1,110],Hn=[20,21,22,23,74,75],Me=[20,21,22,23,48,74,75],on=[20,21,22,23,40,47,48,50,52,54,56,58,59,60,62,64,66,67,69,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],wn=[20,21,23],$r=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],xn=[1,12,20,21,22,23,24,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],nr=[47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],hn=[1,143],vn=[1,151],Je=[1,152],Cn=[1,153],En=[1,154],Wn=[1,138],qn=[1,139],Fr=[1,135],Sn=[1,146],Gn=[1,147],Un=[1,148],Xn=[1,149],Kn=[1,150],rr=[1,155],On=[1,156],Pn=[1,141],fn=[1,144],$n=[1,140],bn=[1,137],di=[20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],_r=[1,159],Qi=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],Yn=[20,21,22,23,24,26,38,40,41,42,47,51,53,55,57,59,60,61,63,65,66,68,70,74,75,79,80,81,82,83,84,85,88,98,99,102,104,105,106,107,115,116,117,118,119,120],zo=[12,21,22,24],Sa=[22,99],pi=[1,242],Hr=[1,237],Gr=[1,238],ii=[1,246],si=[1,243],Pr=[1,240],ci=[1,239],Wr=[1,241],Ui=[1,244],_i=[1,245],ar=[1,247],ei=[1,265],Ca=[20,21,23,99],ui=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],Aa={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,link:44,node:45,vertex:46,AMP:47,STYLE_SEPARATOR:48,idString:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,ALPHA:59,COLON:60,PIPE:61,CYLINDERSTART:62,CYLINDEREND:63,DIAMOND_START:64,DIAMOND_STOP:65,TAGEND:66,TRAPSTART:67,TRAPEND:68,INVTRAPSTART:69,INVTRAPEND:70,linkStatement:71,arrowText:72,TESTSTR:73,START_LINK:74,LINK:75,textToken:76,STR:77,keywords:78,STYLE:79,LINKSTYLE:80,CLASSDEF:81,CLASS:82,CLICK:83,DOWN:84,UP:85,textNoTags:86,textNoTagsToken:87,DEFAULT:88,stylesOpt:89,alphaNum:90,CALLBACKNAME:91,CALLBACKARGS:92,HREF:93,LINK_TARGET:94,HEX:95,numList:96,INTERPOLATE:97,NUM:98,COMMA:99,style:100,styleComponent:101,MINUS:102,UNIT:103,BRKT:104,DOT:105,PCT:106,TAGSTART:107,alphaNumToken:108,idStringToken:109,alphaNumStatement:110,direction_tb:111,direction_bt:112,direction_rl:113,direction_lr:114,PUNCTUATION:115,UNICODE_TEXT:116,PLUS:117,EQUALS:118,MULT:119,UNDERSCORE:120,graphCodeTokens:121,ARROW_CROSS:122,ARROW_POINT:123,ARROW_CIRCLE:124,ARROW_OPEN:125,QUOTE:126,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",47:"AMP",48:"STYLE_SEPARATOR",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"ALPHA",60:"COLON",61:"PIPE",62:"CYLINDERSTART",63:"CYLINDEREND",64:"DIAMOND_START",65:"DIAMOND_STOP",66:"TAGEND",67:"TRAPSTART",68:"TRAPEND",69:"INVTRAPSTART",70:"INVTRAPEND",73:"TESTSTR",74:"START_LINK",75:"LINK",77:"STR",79:"STYLE",80:"LINKSTYLE",81:"CLASSDEF",82:"CLASS",83:"CLICK",84:"DOWN",85:"UP",88:"DEFAULT",91:"CALLBACKNAME",92:"CALLBACKARGS",93:"HREF",94:"LINK_TARGET",95:"HEX",97:"INTERPOLATE",98:"NUM",99:"COMMA",102:"MINUS",103:"UNIT",104:"BRKT",105:"DOT",106:"PCT",107:"TAGSTART",111:"direction_tb",112:"direction_bt",113:"direction_rl",114:"direction_lr",115:"PUNCTUATION",116:"UNICODE_TEXT",117:"PLUS",118:"EQUALS",119:"MULT",120:"UNDERSCORE",122:"ARROW_CROSS",123:"ARROW_POINT",124:"ARROW_CIRCLE",125:"ARROW_OPEN",126:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[45,1],[45,5],[45,3],[46,4],[46,6],[46,4],[46,4],[46,4],[46,8],[46,4],[46,4],[46,4],[46,6],[46,4],[46,4],[46,4],[46,4],[46,4],[46,1],[44,2],[44,3],[44,3],[44,1],[44,3],[71,1],[72,3],[39,1],[39,2],[39,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[86,1],[86,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[96,1],[96,3],[89,1],[89,3],[100,1],[100,2],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[87,1],[87,1],[87,1],[87,1],[49,1],[49,2],[90,1],[90,2],[110,1],[110,1],[110,1],[110,1],[43,1],[43,1],[43,1],[43,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1]],performAction:function(sn,Qn,Mn,Re,Jn,yt,ai){var Kt=yt.length-1;switch(Jn){case 5:Re.parseDirective("%%{","open_directive");break;case 6:Re.parseDirective(yt[Kt],"type_directive");break;case 7:yt[Kt]=yt[Kt].trim().replace(/'/g,'"'),Re.parseDirective(yt[Kt],"arg_directive");break;case 8:Re.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:yt[Kt]!==[]&&yt[Kt-1].push(yt[Kt]),this.$=yt[Kt-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=yt[Kt];break;case 19:Re.setDirection("TB"),this.$="TB";break;case 20:Re.setDirection(yt[Kt-1]),this.$=yt[Kt-1];break;case 35:this.$=yt[Kt-1].nodes;break;case 41:this.$=Re.addSubGraph(yt[Kt-6],yt[Kt-1],yt[Kt-4]);break;case 42:this.$=Re.addSubGraph(yt[Kt-3],yt[Kt-1],yt[Kt-3]);break;case 43:this.$=Re.addSubGraph(void 0,yt[Kt-1],void 0);break;case 48:Re.addLink(yt[Kt-2].stmt,yt[Kt],yt[Kt-1]),this.$={stmt:yt[Kt],nodes:yt[Kt].concat(yt[Kt-2].nodes)};break;case 49:Re.addLink(yt[Kt-3].stmt,yt[Kt-1],yt[Kt-2]),this.$={stmt:yt[Kt-1],nodes:yt[Kt-1].concat(yt[Kt-3].nodes)};break;case 50:this.$={stmt:yt[Kt-1],nodes:yt[Kt-1]};break;case 51:this.$={stmt:yt[Kt],nodes:yt[Kt]};break;case 52:case 119:case 121:this.$=[yt[Kt]];break;case 53:this.$=yt[Kt-4].concat(yt[Kt]);break;case 54:this.$=[yt[Kt-2]],Re.setClass(yt[Kt-2],yt[Kt]);break;case 55:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"square");break;case 56:this.$=yt[Kt-5],Re.addVertex(yt[Kt-5],yt[Kt-2],"circle");break;case 57:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"ellipse");break;case 58:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"stadium");break;case 59:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"subroutine");break;case 60:this.$=yt[Kt-7],Re.addVertex(yt[Kt-7],yt[Kt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[yt[Kt-5],yt[Kt-3]]]));break;case 61:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"cylinder");break;case 62:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"round");break;case 63:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"diamond");break;case 64:this.$=yt[Kt-5],Re.addVertex(yt[Kt-5],yt[Kt-2],"hexagon");break;case 65:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"odd");break;case 66:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"trapezoid");break;case 67:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"inv_trapezoid");break;case 68:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"lean_right");break;case 69:this.$=yt[Kt-3],Re.addVertex(yt[Kt-3],yt[Kt-1],"lean_left");break;case 70:this.$=yt[Kt],Re.addVertex(yt[Kt]);break;case 71:yt[Kt-1].text=yt[Kt],this.$=yt[Kt-1];break;case 72:case 73:yt[Kt-2].text=yt[Kt-1],this.$=yt[Kt-2];break;case 75:var $i=Re.destructLink(yt[Kt],yt[Kt-2]);this.$={type:$i.type,stroke:$i.stroke,length:$i.length,text:yt[Kt-1]};break;case 76:$i=Re.destructLink(yt[Kt]),this.$={type:$i.type,stroke:$i.stroke,length:$i.length};break;case 77:this.$=yt[Kt-1];break;case 79:case 93:case 149:case 147:this.$=yt[Kt-1]+""+yt[Kt];break;case 94:case 95:this.$=yt[Kt-4],Re.addClass(yt[Kt-2],yt[Kt]);break;case 96:this.$=yt[Kt-4],Re.setClass(yt[Kt-2],yt[Kt]);break;case 97:case 105:this.$=yt[Kt-1],Re.setClickEvent(yt[Kt-1],yt[Kt]);break;case 98:case 106:this.$=yt[Kt-3],Re.setClickEvent(yt[Kt-3],yt[Kt-2]),Re.setTooltip(yt[Kt-3],yt[Kt]);break;case 99:this.$=yt[Kt-2],Re.setClickEvent(yt[Kt-2],yt[Kt-1],yt[Kt]);break;case 100:this.$=yt[Kt-4],Re.setClickEvent(yt[Kt-4],yt[Kt-3],yt[Kt-2]),Re.setTooltip(yt[Kt-4],yt[Kt]);break;case 101:case 107:this.$=yt[Kt-1],Re.setLink(yt[Kt-1],yt[Kt]);break;case 102:case 108:this.$=yt[Kt-3],Re.setLink(yt[Kt-3],yt[Kt-2]),Re.setTooltip(yt[Kt-3],yt[Kt]);break;case 103:case 109:this.$=yt[Kt-3],Re.setLink(yt[Kt-3],yt[Kt-2],yt[Kt]);break;case 104:case 110:this.$=yt[Kt-5],Re.setLink(yt[Kt-5],yt[Kt-4],yt[Kt]),Re.setTooltip(yt[Kt-5],yt[Kt-2]);break;case 111:this.$=yt[Kt-4],Re.addVertex(yt[Kt-2],void 0,void 0,yt[Kt]);break;case 112:case 114:this.$=yt[Kt-4],Re.updateLink(yt[Kt-2],yt[Kt]);break;case 113:this.$=yt[Kt-4],Re.updateLink([yt[Kt-2]],yt[Kt]);break;case 115:this.$=yt[Kt-8],Re.updateLinkInterpolate([yt[Kt-6]],yt[Kt-2]),Re.updateLink([yt[Kt-6]],yt[Kt]);break;case 116:this.$=yt[Kt-8],Re.updateLinkInterpolate(yt[Kt-6],yt[Kt-2]),Re.updateLink(yt[Kt-6],yt[Kt]);break;case 117:this.$=yt[Kt-6],Re.updateLinkInterpolate([yt[Kt-4]],yt[Kt]);break;case 118:this.$=yt[Kt-6],Re.updateLinkInterpolate(yt[Kt-4],yt[Kt]);break;case 120:case 122:yt[Kt-2].push(yt[Kt]),this.$=yt[Kt-2];break;case 124:this.$=yt[Kt-1]+yt[Kt];break;case 152:this.$="v";break;case 153:this.$="-";break;case 154:this.$={stmt:"dir",value:"TB"};break;case 155:this.$={stmt:"dir",value:"BT"};break;case 156:this.$={stmt:"dir",value:"RL"};break;case 157:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:y,16:4,21:p,22:b,24:T},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:y,16:4,21:p,22:b,24:T},c(k,D,{17:11}),{7:12,13:[1,13]},{16:14,21:p,22:b,24:T},{16:15,21:p,22:b,24:T},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:O,21:R,22:z,23:U,32:24,33:25,34:26,35:27,36:28,37:29,38:W,43:31,45:32,46:42,47:V,49:43,59:X,60:at,79:tt,80:it,81:ut,82:St,83:et,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,111:Rt,112:ye,113:ge,114:pe,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},{8:61,10:[1,62],15:qe},c([10,15],[2,6]),c(k,[2,17]),c(k,[2,18]),c(k,[2,19]),{20:[1,65],21:[1,66],22:he,27:64,30:67},c(zt,[2,11]),c(zt,[2,12]),c(zt,[2,13]),c(zt,[2,14]),c(zt,[2,15]),c(zt,[2,16]),{9:69,20:te,21:ct,23:ne,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:te,21:ct,23:ne},{9:78,20:te,21:ct,23:ne},{9:79,20:te,21:ct,23:ne},{9:80,20:te,21:ct,23:ne},{9:81,20:te,21:ct,23:ne},{9:83,20:te,21:ct,22:[1,82],23:ne},c(zt,[2,44]),c(Dt,[2,51],{30:84,22:he}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:Zt,47:Ht,59:Nt,60:oe,77:[1,92],84:en,90:91,91:[1,89],93:[1,90],98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(zt,[2,154]),c(zt,[2,155]),c(zt,[2,156]),c(zt,[2,157]),c(Hn,[2,52],{48:[1,111]}),c(Me,[2,70],{109:123,40:[1,112],47:V,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:X,60:at,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt}),c(on,[2,146]),c(on,[2,171]),c(on,[2,172]),c(on,[2,173]),c(on,[2,174]),c(on,[2,175]),c(on,[2,176]),c(on,[2,177]),c(on,[2,178]),c(on,[2,179]),c(on,[2,180]),c(on,[2,181]),c(on,[2,182]),c(on,[2,183]),c(on,[2,184]),c(on,[2,185]),c(on,[2,186]),{9:124,20:te,21:ct,23:ne},{11:125,14:[1,126]},c(wn,[2,8]),c(k,[2,20]),c(k,[2,26]),c(k,[2,27]),{21:[1,127]},c($r,[2,34],{30:128,22:he}),c(zt,[2,35]),{45:129,46:42,47:V,49:43,59:X,60:at,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},c(xn,[2,45]),c(xn,[2,46]),c(xn,[2,47]),c(nr,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:hn,24:vn,26:Je,38:Cn,39:133,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),c(zt,[2,36]),c(zt,[2,37]),c(zt,[2,38]),c(zt,[2,39]),c(zt,[2,40]),{22:hn,24:vn,26:Je,38:Cn,39:157,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(di,D,{17:158}),c(Dt,[2,50],{47:_r}),{26:Zt,47:Ht,59:Nt,60:oe,84:en,90:160,95:[1,161],98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{88:[1,162],96:163,98:[1,164]},{26:Zt,47:Ht,59:Nt,60:oe,84:en,88:[1,165],90:166,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{26:Zt,47:Ht,59:Nt,60:oe,84:en,90:167,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(wn,[2,97],{22:[1,168],92:[1,169]}),c(wn,[2,101],{22:[1,170]}),c(wn,[2,105],{108:95,110:172,22:[1,171],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be}),c(wn,[2,107],{22:[1,173]}),c(Qi,[2,148]),c(Qi,[2,150]),c(Qi,[2,151]),c(Qi,[2,152]),c(Qi,[2,153]),c(Yn,[2,158]),c(Yn,[2,159]),c(Yn,[2,160]),c(Yn,[2,161]),c(Yn,[2,162]),c(Yn,[2,163]),c(Yn,[2,164]),c(Yn,[2,165]),c(Yn,[2,166]),c(Yn,[2,167]),c(Yn,[2,168]),c(Yn,[2,169]),c(Yn,[2,170]),{47:V,49:174,59:X,60:at,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},{22:hn,24:vn,26:Je,38:Cn,39:175,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:177,42:En,47:Ht,50:[1,176],59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:178,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:179,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:180,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{59:[1,181]},{22:hn,24:vn,26:Je,38:Cn,39:182,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:183,42:En,47:Ht,59:Nt,60:oe,64:[1,184],66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:185,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:186,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:187,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(on,[2,147]),c(zo,[2,3]),{8:188,15:qe},{15:[2,7]},c(k,[2,28]),c($r,[2,33]),c(Dt,[2,48],{30:189,22:he}),c(nr,[2,71],{22:[1,190]}),{22:[1,191]},{22:hn,24:vn,26:Je,38:Cn,39:192,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,75:[1,193],76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(Yn,[2,78]),c(Yn,[2,80]),c(Yn,[2,136]),c(Yn,[2,137]),c(Yn,[2,138]),c(Yn,[2,139]),c(Yn,[2,140]),c(Yn,[2,141]),c(Yn,[2,142]),c(Yn,[2,143]),c(Yn,[2,144]),c(Yn,[2,145]),c(Yn,[2,81]),c(Yn,[2,82]),c(Yn,[2,83]),c(Yn,[2,84]),c(Yn,[2,85]),c(Yn,[2,86]),c(Yn,[2,87]),c(Yn,[2,88]),c(Yn,[2,89]),c(Yn,[2,90]),c(Yn,[2,91]),{9:196,20:te,21:ct,22:hn,23:ne,24:vn,26:Je,38:Cn,40:[1,195],42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{18:18,19:19,20:O,21:R,22:z,23:U,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,197],43:31,45:32,46:42,47:V,49:43,59:X,60:at,79:tt,80:it,81:ut,82:St,83:et,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,111:Rt,112:ye,113:ge,114:pe,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},{22:he,30:198},{22:[1,199],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:172,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},c(Sa,[2,119]),{22:[1,204]},{22:[1,205],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:172,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:[1,206],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:172,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{77:[1,207]},c(wn,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},c(Qi,[2,149]),{77:[1,212],94:[1,213]},c(Hn,[2,54],{109:123,47:V,59:X,60:at,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt}),{22:hn,24:vn,26:Je,38:Cn,41:[1,214],42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:215,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,51:[1,216],59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,53:[1,217],59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,55:[1,218],59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,57:[1,219],59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{60:[1,220]},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,63:[1,221],66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,65:[1,222],66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,39:223,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,41:[1,224],42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,66:Wn,68:[1,225],70:[1,226],74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,66:Wn,68:[1,228],70:[1,227],74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{9:229,20:te,21:ct,23:ne},c(Dt,[2,49],{47:_r}),c(nr,[2,73]),c(nr,[2,72]),{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,61:[1,230],66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(nr,[2,75]),c(Yn,[2,79]),{22:hn,24:vn,26:Je,38:Cn,39:231,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(di,D,{17:232}),c(zt,[2,43]),{46:233,47:V,49:43,59:X,60:at,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},{22:pi,59:Hr,60:Gr,79:ii,89:234,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{22:pi,59:Hr,60:Gr,79:ii,89:248,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{22:pi,59:Hr,60:Gr,79:ii,89:249,95:si,97:[1,250],98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{22:pi,59:Hr,60:Gr,79:ii,89:251,95:si,97:[1,252],98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{98:[1,253]},{22:pi,59:Hr,60:Gr,79:ii,89:254,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{22:pi,59:Hr,60:Gr,79:ii,89:255,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{26:Zt,47:Ht,59:Nt,60:oe,84:en,90:256,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(wn,[2,98]),{77:[1,257]},c(wn,[2,102],{22:[1,258]}),c(wn,[2,103]),c(wn,[2,106]),c(wn,[2,108],{22:[1,259]}),c(wn,[2,109]),c(Me,[2,55]),{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,51:[1,260],59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(Me,[2,62]),c(Me,[2,57]),c(Me,[2,58]),c(Me,[2,59]),{59:[1,261]},c(Me,[2,61]),c(Me,[2,63]),{22:hn,24:vn,26:Je,38:Cn,42:En,47:Ht,59:Nt,60:oe,65:[1,262],66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(Me,[2,65]),c(Me,[2,66]),c(Me,[2,68]),c(Me,[2,67]),c(Me,[2,69]),c(zo,[2,4]),c([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:hn,24:vn,26:Je,38:Cn,41:[1,263],42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{18:18,19:19,20:O,21:R,22:z,23:U,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,264],43:31,45:32,46:42,47:V,49:43,59:X,60:at,79:tt,80:it,81:ut,82:St,83:et,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,111:Rt,112:ye,113:ge,114:pe,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},c(Hn,[2,53]),c(wn,[2,111],{99:ei}),c(Ca,[2,121],{101:266,22:pi,59:Hr,60:Gr,79:ii,95:si,98:Pr,102:ci,103:Wr,104:Ui,105:_i,106:ar}),c(ui,[2,123]),c(ui,[2,125]),c(ui,[2,126]),c(ui,[2,127]),c(ui,[2,128]),c(ui,[2,129]),c(ui,[2,130]),c(ui,[2,131]),c(ui,[2,132]),c(ui,[2,133]),c(ui,[2,134]),c(ui,[2,135]),c(wn,[2,112],{99:ei}),c(wn,[2,113],{99:ei}),{22:[1,267]},c(wn,[2,114],{99:ei}),{22:[1,268]},c(Sa,[2,120]),c(wn,[2,94],{99:ei}),c(wn,[2,95],{99:ei}),c(wn,[2,96],{108:95,110:172,26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be}),c(wn,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:te,21:ct,23:ne},c(zt,[2,42]),{22:pi,59:Hr,60:Gr,79:ii,95:si,98:Pr,100:275,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},c(ui,[2,124]),{26:Zt,47:Ht,59:Nt,60:oe,84:en,90:276,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{26:Zt,47:Ht,59:Nt,60:oe,84:en,90:277,98:ve,99:Ne,102:dn,104:Xe,105:Ie,108:95,110:93,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(wn,[2,104]),c(wn,[2,110]),c(Me,[2,56]),{22:hn,24:vn,26:Je,38:Cn,39:278,42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:134,77:Fr,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},c(Me,[2,64]),c(di,D,{17:279}),c(Ca,[2,122],{101:266,22:pi,59:Hr,60:Gr,79:ii,95:si,98:Pr,102:ci,103:Wr,104:Ui,105:_i,106:ar}),c(wn,[2,117],{108:95,110:172,22:[1,280],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be}),c(wn,[2,118],{108:95,110:172,22:[1,281],26:Zt,47:Ht,59:Nt,60:oe,84:en,98:ve,99:Ne,102:dn,104:Xe,105:Ie,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be}),{22:hn,24:vn,26:Je,38:Cn,41:[1,282],42:En,47:Ht,59:Nt,60:oe,66:Wn,74:qn,76:194,78:145,79:Sn,80:Gn,81:Un,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:ve,99:Ne,102:fn,104:Xe,105:Ie,106:$n,107:bn,108:142,115:Ae,116:nn,117:$e,118:Ke,119:Qe,120:Be},{18:18,19:19,20:O,21:R,22:z,23:U,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,283],43:31,45:32,46:42,47:V,49:43,59:X,60:at,79:tt,80:it,81:ut,82:St,83:et,84:K,88:ft,98:_t,99:kt,102:pt,104:mt,105:Wt,109:44,111:Rt,112:ye,113:ge,114:pe,115:Ot,116:Xt,117:se,118:le,119:me,120:Lt},{22:pi,59:Hr,60:Gr,79:ii,89:284,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},{22:pi,59:Hr,60:Gr,79:ii,89:285,95:si,98:Pr,100:235,101:236,102:ci,103:Wr,104:Ui,105:_i,106:ar},c(Me,[2,60]),c(zt,[2,41]),c(wn,[2,115],{99:ei}),c(wn,[2,116],{99:ei})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(sn,Qn){if(!Qn.recoverable){var Mn=new Error(sn);throw Mn.hash=Qn,Mn}this.trace(sn)},parse:function(sn){var Qn=this,Mn=[0],Re=[],Jn=[null],yt=[],ai=this.table,Kt="",$i=0,ca=0,io=0,Ao=2,Uo=1,$o=yt.slice.call(arguments,1),ni=Object.create(this.lexer),ua={yy:{}};for(var Dn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Dn)&&(ua.yy[Dn]=this.yy[Dn]);ni.setInput(sn,ua.yy),ua.yy.lexer=ni,ua.yy.parser=this,ni.yylloc===void 0&&(ni.yylloc={});var qa=ni.yylloc;yt.push(qa);var ao=ni.options&&ni.options.ranges;function br(){var Bt;return typeof(Bt=Re.pop()||ni.lex()||Uo)!="number"&&(Bt instanceof Array&&(Bt=(Re=Bt).pop()),Bt=Qn.symbols_[Bt]||Bt),Bt}typeof ua.yy.parseError=="function"?this.parseError=ua.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Or,Mi,li,Zr,Xr,wi,oi,la,Ji,Hi={};;){if(li=Mn[Mn.length-1],this.defaultActions[li]?Zr=this.defaultActions[li]:(Or==null&&(Or=br()),Zr=ai[li]&&ai[li][Or]),Zr===void 0||!Zr.length||!Zr[0]){var Mo="";for(wi in Ji=[],ai[li])this.terminals_[wi]&&wi>Ao&&Ji.push("'"+this.terminals_[wi]+"'");Mo=ni.showPosition?"Parse error on line "+($i+1)+`: +`+ni.showPosition()+` +Expecting `+Ji.join(", ")+", got '"+(this.terminals_[Or]||Or)+"'":"Parse error on line "+($i+1)+": Unexpected "+(Or==Uo?"end of input":"'"+(this.terminals_[Or]||Or)+"'"),this.parseError(Mo,{text:ni.match,token:this.terminals_[Or]||Or,line:ni.yylineno,loc:qa,expected:Ji})}if(Zr[0]instanceof Array&&Zr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+li+", token: "+Or);switch(Zr[0]){case 1:Mn.push(Or),Jn.push(ni.yytext),yt.push(ni.yylloc),Mn.push(Zr[1]),Or=null,Mi?(Or=Mi,Mi=null):(ca=ni.yyleng,Kt=ni.yytext,$i=ni.yylineno,qa=ni.yylloc,io>0);break;case 2:if(oi=this.productions_[Zr[1]][1],Hi.$=Jn[Jn.length-oi],Hi._$={first_line:yt[yt.length-(oi||1)].first_line,last_line:yt[yt.length-1].last_line,first_column:yt[yt.length-(oi||1)].first_column,last_column:yt[yt.length-1].last_column},ao&&(Hi._$.range=[yt[yt.length-(oi||1)].range[0],yt[yt.length-1].range[1]]),(Xr=this.performAction.apply(Hi,[Kt,ca,$i,ua.yy,Zr[1],Jn,yt].concat($o)))!==void 0)return Xr;oi&&(Mn=Mn.slice(0,-1*oi*2),Jn=Jn.slice(0,-1*oi),yt=yt.slice(0,-1*oi)),Mn.push(this.productions_[Zr[1]][0]),Jn.push(Hi.$),yt.push(Hi._$),la=ai[Mn[Mn.length-2]][Mn[Mn.length-1]],Mn.push(la);break;case 3:return!0}}return!0}},Co={EOF:1,parseError:function(sn,Qn){if(!this.yy.parser)throw new Error(sn);this.yy.parser.parseError(sn,Qn)},setInput:function(sn,Qn){return this.yy=Qn||this.yy||{},this._input=sn,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var sn=this._input[0];return this.yytext+=sn,this.yyleng++,this.offset++,this.match+=sn,this.matched+=sn,sn.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),sn},unput:function(sn){var Qn=sn.length,Mn=sn.split(/(?:\r\n?|\n)/g);this._input=sn+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Qn),this.offset-=Qn;var Re=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Mn.length-1&&(this.yylineno-=Mn.length-1);var Jn=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Mn?(Mn.length===Re.length?this.yylloc.first_column:0)+Re[Re.length-Mn.length].length-Mn[0].length:this.yylloc.first_column-Qn},this.options.ranges&&(this.yylloc.range=[Jn[0],Jn[0]+this.yyleng-Qn]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(sn){this.unput(this.match.slice(sn))},pastInput:function(){var sn=this.matched.substr(0,this.matched.length-this.match.length);return(sn.length>20?"...":"")+sn.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var sn=this.match;return sn.length<20&&(sn+=this._input.substr(0,20-sn.length)),(sn.substr(0,20)+(sn.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var sn=this.pastInput(),Qn=new Array(sn.length+1).join("-");return sn+this.upcomingInput()+` +`+Qn+"^"},test_match:function(sn,Qn){var Mn,Re,Jn;if(this.options.backtrack_lexer&&(Jn={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Jn.yylloc.range=this.yylloc.range.slice(0))),(Re=sn[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Re.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Re?Re[Re.length-1].length-Re[Re.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+sn[0].length},this.yytext+=sn[0],this.match+=sn[0],this.matches=sn,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(sn[0].length),this.matched+=sn[0],Mn=this.performAction.call(this,this.yy,this,Qn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Mn)return Mn;if(this._backtrack){for(var yt in Jn)this[yt]=Jn[yt];return!1}return!1},next:function(){if(this.done)return this.EOF;var sn,Qn,Mn,Re;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Jn=this._currentRules(),yt=0;ytQn[0].length)){if(Qn=Mn,Re=yt,this.options.backtrack_lexer){if((sn=this.test_match(Mn,Jn[yt]))!==!1)return sn;if(this._backtrack){Qn=!1;continue}return!1}if(!this.options.flex)break}return Qn?(sn=this.test_match(Qn,Jn[Re]))!==!1&&sn:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(sn){this.conditionStack.push(sn)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(sn){return(sn=this.conditionStack.length-1-Math.abs(sn||0))>=0?this.conditionStack[sn]:"INITIAL"},pushState:function(sn){this.begin(sn)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(sn,Qn,Mn,Re){switch(Mn){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:this.begin("string");break;case 8:case 17:case 20:case 23:case 26:this.popState();break;case 9:return"STR";case 10:return 79;case 11:return 88;case 12:return 80;case 13:return 97;case 14:return 81;case 15:return 82;case 16:this.begin("href");break;case 18:return 93;case 19:this.begin("callbackname");break;case 21:this.popState(),this.begin("callbackargs");break;case 22:return 91;case 24:return 92;case 25:this.begin("click");break;case 27:return 83;case 28:case 29:return sn.lex.firstGraph()&&this.begin("dir"),24;case 30:return 38;case 31:return 42;case 32:case 33:case 34:case 35:return 94;case 36:return this.popState(),25;case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:return this.popState(),26;case 47:return 111;case 48:return 112;case 49:return 113;case 50:return 114;case 51:return 98;case 52:return 104;case 53:return 48;case 54:return 60;case 55:return 47;case 56:return 20;case 57:return 99;case 58:return 119;case 59:case 60:case 61:return 75;case 62:case 63:case 64:return 74;case 65:return 52;case 66:return 53;case 67:return 54;case 68:return 55;case 69:return 56;case 70:return 57;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 102;case 75:return 105;case 76:return 120;case 77:return 117;case 78:return 106;case 79:case 80:return 118;case 81:return 107;case 82:return 66;case 83:return 85;case 84:return"SEP";case 85:return 84;case 86:return 59;case 87:return 68;case 88:return 67;case 89:return 70;case 90:return 69;case 91:return 115;case 92:return 116;case 93:return 61;case 94:return 50;case 95:return 51;case 96:return 40;case 97:return 41;case 98:return 64;case 99:return 65;case 100:return 126;case 101:return 21;case 102:return 22;case 103:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[23,24],inclusive:!1},callbackname:{rules:[20,21,22],inclusive:!1},href:{rules:[17,18],inclusive:!1},click:{rules:[26,27],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[36,37,38,39,40,41,42,43,44,45,46],inclusive:!1},string:{rules:[8,9],inclusive:!1},INITIAL:{rules:[0,5,6,7,10,11,12,13,14,15,16,19,25,28,29,30,31,32,33,34,35,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],inclusive:!0}}};function bi(){this.yy={}}return Aa.lexer=Co,bi.prototype=Aa,Aa.Parser=bi,new bi}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(5354).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},9959:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(K,ft,_t,kt){for(_t=_t||{},kt=K.length;kt--;_t[K[kt]]=ft);return _t},y=[1,3],p=[1,5],b=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],T=[1,15],k=[1,16],D=[1,17],O=[1,18],R=[1,19],z=[1,20],U=[1,21],W=[1,22],V=[1,23],X=[1,25],at=[1,27],tt=[1,30],it=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],ut={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,section:20,clickStatement:21,taskTxt:22,taskData:23,openDirective:24,typeDirective:25,closeDirective:26,":":27,argDirective:28,click:29,callbackname:30,callbackargs:31,href:32,clickStatementDebug:33,open_directive:34,type_directive:35,arg_directive:36,close_directive:37,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"section",22:"taskTxt",23:"taskData",27:":",29:"click",30:"callbackname",31:"callbackargs",32:"href",34:"open_directive",35:"type_directive",36:"arg_directive",37:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[21,2],[21,3],[21,3],[21,4],[21,3],[21,4],[21,2],[33,2],[33,3],[33,3],[33,4],[33,3],[33,4],[33,2],[24,1],[25,1],[28,1],[26,1]],performAction:function(K,ft,_t,kt,pt,mt,Wt){var Rt=mt.length-1;switch(pt){case 2:return mt[Rt-1];case 3:case 7:case 8:this.$=[];break;case 4:mt[Rt-1].push(mt[Rt]),this.$=mt[Rt-1];break;case 5:case 6:this.$=mt[Rt];break;case 9:kt.setDateFormat(mt[Rt].substr(11)),this.$=mt[Rt].substr(11);break;case 10:kt.enableInclusiveEndDates(),this.$=mt[Rt].substr(18);break;case 11:kt.TopAxis(),this.$=mt[Rt].substr(8);break;case 12:kt.setAxisFormat(mt[Rt].substr(11)),this.$=mt[Rt].substr(11);break;case 13:kt.setExcludes(mt[Rt].substr(9)),this.$=mt[Rt].substr(9);break;case 14:kt.setIncludes(mt[Rt].substr(9)),this.$=mt[Rt].substr(9);break;case 15:kt.setTodayMarker(mt[Rt].substr(12)),this.$=mt[Rt].substr(12);break;case 16:kt.setTitle(mt[Rt].substr(6)),this.$=mt[Rt].substr(6);break;case 17:kt.addSection(mt[Rt].substr(8)),this.$=mt[Rt].substr(8);break;case 19:kt.addTask(mt[Rt-1],mt[Rt]),this.$="task";break;case 23:this.$=mt[Rt-1],kt.setClickEvent(mt[Rt-1],mt[Rt],null);break;case 24:this.$=mt[Rt-2],kt.setClickEvent(mt[Rt-2],mt[Rt-1],mt[Rt]);break;case 25:this.$=mt[Rt-2],kt.setClickEvent(mt[Rt-2],mt[Rt-1],null),kt.setLink(mt[Rt-2],mt[Rt]);break;case 26:this.$=mt[Rt-3],kt.setClickEvent(mt[Rt-3],mt[Rt-2],mt[Rt-1]),kt.setLink(mt[Rt-3],mt[Rt]);break;case 27:this.$=mt[Rt-2],kt.setClickEvent(mt[Rt-2],mt[Rt],null),kt.setLink(mt[Rt-2],mt[Rt-1]);break;case 28:this.$=mt[Rt-3],kt.setClickEvent(mt[Rt-3],mt[Rt-1],mt[Rt]),kt.setLink(mt[Rt-3],mt[Rt-2]);break;case 29:this.$=mt[Rt-1],kt.setLink(mt[Rt-1],mt[Rt]);break;case 30:case 36:this.$=mt[Rt-1]+" "+mt[Rt];break;case 31:case 32:case 34:this.$=mt[Rt-2]+" "+mt[Rt-1]+" "+mt[Rt];break;case 33:case 35:this.$=mt[Rt-3]+" "+mt[Rt-2]+" "+mt[Rt-1]+" "+mt[Rt];break;case 37:kt.parseDirective("%%{","open_directive");break;case 38:kt.parseDirective(mt[Rt],"type_directive");break;case 39:mt[Rt]=mt[Rt].trim().replace(/'/g,'"'),kt.parseDirective(mt[Rt],"arg_directive");break;case 40:kt.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:y,24:4,34:p},{1:[3]},{3:6,4:2,5:y,24:4,34:p},c(b,[2,3],{6:7}),{25:8,35:[1,9]},{35:[2,37]},{1:[2,1]},{4:26,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:T,13:k,14:D,15:O,16:R,17:z,18:U,19:W,20:V,21:24,22:X,24:4,29:at,34:p},{26:28,27:[1,29],37:tt},c([27,37],[2,38]),c(b,[2,8],{1:[2,2]}),c(b,[2,4]),{4:26,10:31,12:T,13:k,14:D,15:O,16:R,17:z,18:U,19:W,20:V,21:24,22:X,24:4,29:at,34:p},c(b,[2,6]),c(b,[2,7]),c(b,[2,9]),c(b,[2,10]),c(b,[2,11]),c(b,[2,12]),c(b,[2,13]),c(b,[2,14]),c(b,[2,15]),c(b,[2,16]),c(b,[2,17]),c(b,[2,18]),{23:[1,32]},c(b,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},c(b,[2,5]),c(b,[2,19]),c(b,[2,23],{31:[1,38],32:[1,39]}),c(b,[2,29],{30:[1,40]}),c(it,[2,21]),{26:41,37:tt},{37:[2,39]},c(b,[2,24],{32:[1,42]}),c(b,[2,25]),c(b,[2,27],{31:[1,43]}),{11:[1,44]},c(b,[2,26]),c(b,[2,28]),c(it,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(K,ft){if(!ft.recoverable){var _t=new Error(K);throw _t.hash=ft,_t}this.trace(K)},parse:function(K){var ft=this,_t=[0],kt=[],pt=[null],mt=[],Wt=this.table,Rt="",ye=0,ge=0,pe=0,Ot=2,Xt=1,se=mt.slice.call(arguments,1),le=Object.create(this.lexer),me={yy:{}};for(var Lt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Lt)&&(me.yy[Lt]=this.yy[Lt]);le.setInput(K,me.yy),me.yy.lexer=le,me.yy.parser=this,le.yylloc===void 0&&(le.yylloc={});var qe=le.yylloc;mt.push(qe);var he=le.options&&le.options.ranges;function zt(){var dn;return typeof(dn=kt.pop()||le.lex()||Xt)!="number"&&(dn instanceof Array&&(dn=(kt=dn).pop()),dn=ft.symbols_[dn]||dn),dn}typeof me.yy.parseError=="function"?this.parseError=me.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var te,ct,ne,Dt,Zt,Ht,Nt,oe,en,ve={};;){if(ne=_t[_t.length-1],this.defaultActions[ne]?Dt=this.defaultActions[ne]:(te==null&&(te=zt()),Dt=Wt[ne]&&Wt[ne][te]),Dt===void 0||!Dt.length||!Dt[0]){var Ne="";for(Ht in en=[],Wt[ne])this.terminals_[Ht]&&Ht>Ot&&en.push("'"+this.terminals_[Ht]+"'");Ne=le.showPosition?"Parse error on line "+(ye+1)+`: +`+le.showPosition()+` +Expecting `+en.join(", ")+", got '"+(this.terminals_[te]||te)+"'":"Parse error on line "+(ye+1)+": Unexpected "+(te==Xt?"end of input":"'"+(this.terminals_[te]||te)+"'"),this.parseError(Ne,{text:le.match,token:this.terminals_[te]||te,line:le.yylineno,loc:qe,expected:en})}if(Dt[0]instanceof Array&&Dt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ne+", token: "+te);switch(Dt[0]){case 1:_t.push(te),pt.push(le.yytext),mt.push(le.yylloc),_t.push(Dt[1]),te=null,ct?(te=ct,ct=null):(ge=le.yyleng,Rt=le.yytext,ye=le.yylineno,qe=le.yylloc,pe>0);break;case 2:if(Nt=this.productions_[Dt[1]][1],ve.$=pt[pt.length-Nt],ve._$={first_line:mt[mt.length-(Nt||1)].first_line,last_line:mt[mt.length-1].last_line,first_column:mt[mt.length-(Nt||1)].first_column,last_column:mt[mt.length-1].last_column},he&&(ve._$.range=[mt[mt.length-(Nt||1)].range[0],mt[mt.length-1].range[1]]),(Zt=this.performAction.apply(ve,[Rt,ge,ye,me.yy,Dt[1],pt,mt].concat(se)))!==void 0)return Zt;Nt&&(_t=_t.slice(0,-1*Nt*2),pt=pt.slice(0,-1*Nt),mt=mt.slice(0,-1*Nt)),_t.push(this.productions_[Dt[1]][0]),pt.push(ve.$),mt.push(ve._$),oe=Wt[_t[_t.length-2]][_t[_t.length-1]],_t.push(oe);break;case 3:return!0}}return!0}},St={EOF:1,parseError:function(K,ft){if(!this.yy.parser)throw new Error(K);this.yy.parser.parseError(K,ft)},setInput:function(K,ft){return this.yy=ft||this.yy||{},this._input=K,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var K=this._input[0];return this.yytext+=K,this.yyleng++,this.offset++,this.match+=K,this.matched+=K,K.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),K},unput:function(K){var ft=K.length,_t=K.split(/(?:\r\n?|\n)/g);this._input=K+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ft),this.offset-=ft;var kt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),_t.length-1&&(this.yylineno-=_t.length-1);var pt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:_t?(_t.length===kt.length?this.yylloc.first_column:0)+kt[kt.length-_t.length].length-_t[0].length:this.yylloc.first_column-ft},this.options.ranges&&(this.yylloc.range=[pt[0],pt[0]+this.yyleng-ft]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(K){this.unput(this.match.slice(K))},pastInput:function(){var K=this.matched.substr(0,this.matched.length-this.match.length);return(K.length>20?"...":"")+K.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var K=this.match;return K.length<20&&(K+=this._input.substr(0,20-K.length)),(K.substr(0,20)+(K.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var K=this.pastInput(),ft=new Array(K.length+1).join("-");return K+this.upcomingInput()+` +`+ft+"^"},test_match:function(K,ft){var _t,kt,pt;if(this.options.backtrack_lexer&&(pt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(pt.yylloc.range=this.yylloc.range.slice(0))),(kt=K[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=kt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:kt?kt[kt.length-1].length-kt[kt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+K[0].length},this.yytext+=K[0],this.match+=K[0],this.matches=K,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(K[0].length),this.matched+=K[0],_t=this.performAction.call(this,this.yy,this,ft,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_t)return _t;if(this._backtrack){for(var mt in pt)this[mt]=pt[mt];return!1}return!1},next:function(){if(this.done)return this.EOF;var K,ft,_t,kt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var pt=this._currentRules(),mt=0;mtft[0].length)){if(ft=_t,kt=mt,this.options.backtrack_lexer){if((K=this.test_match(_t,pt[mt]))!==!1)return K;if(this._backtrack){ft=!1;continue}return!1}if(!this.options.flex)break}return ft?(K=this.test_match(ft,pt[kt]))!==!1&&K:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(K){this.conditionStack.push(K)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(K){return(K=this.conditionStack.length-1-Math.abs(K||0))>=0?this.conditionStack[K]:"INITIAL"},pushState:function(K){this.begin(K)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(K,ft,_t,kt){switch(_t){case 0:return this.begin("open_directive"),34;case 1:return this.begin("type_directive"),35;case 2:return this.popState(),this.begin("arg_directive"),27;case 3:return this.popState(),this.popState(),37;case 4:return 36;case 5:case 6:case 7:case 9:case 10:case 11:break;case 8:return 11;case 12:this.begin("href");break;case 13:case 16:case 19:case 22:this.popState();break;case 14:return 32;case 15:this.begin("callbackname");break;case 17:this.popState(),this.begin("callbackargs");break;case 18:return 30;case 20:return 31;case 21:this.begin("click");break;case 23:return 29;case 24:return 5;case 25:return 12;case 26:return 13;case 27:return 14;case 28:return 15;case 29:return 17;case 30:return 16;case 31:return 18;case 32:return"date";case 33:return 19;case 34:return 20;case 35:return 22;case 36:return 23;case 37:return 27;case 38:return 7;case 39:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[19,20],inclusive:!1},callbackname:{rules:[16,17,18],inclusive:!1},href:{rules:[13,14],inclusive:!1},click:{rules:[22,23],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,15,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};function et(){this.yy={}}return ut.lexer=St,et.prototype=ut,ut.Parser=et,new et}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(6878).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},2553:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(U,W,V,X){for(V=V||{},X=U.length;X--;V[U[X]]=W);return V},y=[2,3],p=[1,7],b=[7,12,15,17,19,20,21],T=[7,11,12,15,17,19,20,21],k=[2,20],D=[1,32],O={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(U,W,V,X,at,tt,it){var ut=tt.length-1;switch(at){case 1:return tt[ut-1];case 2:return X.setDirection(tt[ut-3]),tt[ut-1];case 4:X.setOptions(tt[ut-1]),this.$=tt[ut];break;case 5:tt[ut-1]+=tt[ut],this.$=tt[ut-1];break;case 7:this.$=[];break;case 8:tt[ut-1].push(tt[ut]),this.$=tt[ut-1];break;case 9:this.$=tt[ut-1];break;case 11:X.commit(tt[ut]);break;case 12:X.branch(tt[ut]);break;case 13:X.checkout(tt[ut]);break;case 14:X.merge(tt[ut]);break;case 15:X.reset(tt[ut]);break;case 16:this.$="";break;case 17:this.$=tt[ut];break;case 18:this.$=tt[ut-1]+":"+tt[ut];break;case 19:this.$=tt[ut-1]+":"+X.count,X.count=0;break;case 20:X.count=0;break;case 21:X.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:y,9:6,12:p},{5:[1,8]},{7:[1,9]},c(b,[2,7],{10:10,11:[1,11]}),c(T,[2,6]),{6:12,7:y,9:6,12:p},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},c(T,[2,5]),{7:[1,21]},c(b,[2,8]),{12:[1,22]},c(b,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},c(b,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:k,25:31,26:D},{12:k,25:33,26:D},{12:[2,18]},{12:k,25:34,26:D},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(U,W){if(!W.recoverable){var V=new Error(U);throw V.hash=W,V}this.trace(U)},parse:function(U){var W=this,V=[0],X=[],at=[null],tt=[],it=this.table,ut="",St=0,et=0,K=0,ft=2,_t=1,kt=tt.slice.call(arguments,1),pt=Object.create(this.lexer),mt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(mt.yy[Wt]=this.yy[Wt]);pt.setInput(U,mt.yy),mt.yy.lexer=pt,mt.yy.parser=this,pt.yylloc===void 0&&(pt.yylloc={});var Rt=pt.yylloc;tt.push(Rt);var ye=pt.options&&pt.options.ranges;function ge(){var ct;return typeof(ct=X.pop()||pt.lex()||_t)!="number"&&(ct instanceof Array&&(ct=(X=ct).pop()),ct=W.symbols_[ct]||ct),ct}typeof mt.yy.parseError=="function"?this.parseError=mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var pe,Ot,Xt,se,le,me,Lt,qe,he,zt={};;){if(Xt=V[V.length-1],this.defaultActions[Xt]?se=this.defaultActions[Xt]:(pe==null&&(pe=ge()),se=it[Xt]&&it[Xt][pe]),se===void 0||!se.length||!se[0]){var te="";for(me in he=[],it[Xt])this.terminals_[me]&&me>ft&&he.push("'"+this.terminals_[me]+"'");te=pt.showPosition?"Parse error on line "+(St+1)+`: +`+pt.showPosition()+` +Expecting `+he.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":"Parse error on line "+(St+1)+": Unexpected "+(pe==_t?"end of input":"'"+(this.terminals_[pe]||pe)+"'"),this.parseError(te,{text:pt.match,token:this.terminals_[pe]||pe,line:pt.yylineno,loc:Rt,expected:he})}if(se[0]instanceof Array&&se.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Xt+", token: "+pe);switch(se[0]){case 1:V.push(pe),at.push(pt.yytext),tt.push(pt.yylloc),V.push(se[1]),pe=null,Ot?(pe=Ot,Ot=null):(et=pt.yyleng,ut=pt.yytext,St=pt.yylineno,Rt=pt.yylloc,K>0);break;case 2:if(Lt=this.productions_[se[1]][1],zt.$=at[at.length-Lt],zt._$={first_line:tt[tt.length-(Lt||1)].first_line,last_line:tt[tt.length-1].last_line,first_column:tt[tt.length-(Lt||1)].first_column,last_column:tt[tt.length-1].last_column},ye&&(zt._$.range=[tt[tt.length-(Lt||1)].range[0],tt[tt.length-1].range[1]]),(le=this.performAction.apply(zt,[ut,et,St,mt.yy,se[1],at,tt].concat(kt)))!==void 0)return le;Lt&&(V=V.slice(0,-1*Lt*2),at=at.slice(0,-1*Lt),tt=tt.slice(0,-1*Lt)),V.push(this.productions_[se[1]][0]),at.push(zt.$),tt.push(zt._$),qe=it[V[V.length-2]][V[V.length-1]],V.push(qe);break;case 3:return!0}}return!0}},R={EOF:1,parseError:function(U,W){if(!this.yy.parser)throw new Error(U);this.yy.parser.parseError(U,W)},setInput:function(U,W){return this.yy=W||this.yy||{},this._input=U,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var U=this._input[0];return this.yytext+=U,this.yyleng++,this.offset++,this.match+=U,this.matched+=U,U.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),U},unput:function(U){var W=U.length,V=U.split(/(?:\r\n?|\n)/g);this._input=U+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-W),this.offset-=W;var X=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),V.length-1&&(this.yylineno-=V.length-1);var at=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:V?(V.length===X.length?this.yylloc.first_column:0)+X[X.length-V.length].length-V[0].length:this.yylloc.first_column-W},this.options.ranges&&(this.yylloc.range=[at[0],at[0]+this.yyleng-W]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(U){this.unput(this.match.slice(U))},pastInput:function(){var U=this.matched.substr(0,this.matched.length-this.match.length);return(U.length>20?"...":"")+U.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var U=this.match;return U.length<20&&(U+=this._input.substr(0,20-U.length)),(U.substr(0,20)+(U.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var U=this.pastInput(),W=new Array(U.length+1).join("-");return U+this.upcomingInput()+` +`+W+"^"},test_match:function(U,W){var V,X,at;if(this.options.backtrack_lexer&&(at={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(at.yylloc.range=this.yylloc.range.slice(0))),(X=U[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=X.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:X?X[X.length-1].length-X[X.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+U[0].length},this.yytext+=U[0],this.match+=U[0],this.matches=U,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(U[0].length),this.matched+=U[0],V=this.performAction.call(this,this.yy,this,W,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),V)return V;if(this._backtrack){for(var tt in at)this[tt]=at[tt];return!1}return!1},next:function(){if(this.done)return this.EOF;var U,W,V,X;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var at=this._currentRules(),tt=0;ttW[0].length)){if(W=V,X=tt,this.options.backtrack_lexer){if((U=this.test_match(V,at[tt]))!==!1)return U;if(this._backtrack){W=!1;continue}return!1}if(!this.options.flex)break}return W?(U=this.test_match(W,at[X]))!==!1&&U:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(U){this.conditionStack.push(U)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(U){return(U=this.conditionStack.length-1-Math.abs(U||0))>=0?this.conditionStack[U]:"INITIAL"},pushState:function(U){this.begin(U)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(U,W,V,X){switch(V){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:case 18:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][-_\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}};function z(){this.yy={}}return O.lexer=R,z.prototype=O,O.Parser=z,new z}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(8183).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},6765:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(k,D,O,R){for(O=O||{},R=k.length;R--;O[k[R]]=D);return O},y=[6,9,10],p={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(k,D,O,R,z,U,W){switch(U.length,z){case 1:return R;case 4:break;case 6:R.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},c(y,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},c(y,[2,3]),c(y,[2,4]),c(y,[2,5]),c(y,[2,6])],defaultActions:{4:[2,1]},parseError:function(k,D){if(!D.recoverable){var O=new Error(k);throw O.hash=D,O}this.trace(k)},parse:function(k){var D=this,O=[0],R=[],z=[null],U=[],W=this.table,V="",X=0,at=0,tt=0,it=2,ut=1,St=U.slice.call(arguments,1),et=Object.create(this.lexer),K={yy:{}};for(var ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ft)&&(K.yy[ft]=this.yy[ft]);et.setInput(k,K.yy),K.yy.lexer=et,K.yy.parser=this,et.yylloc===void 0&&(et.yylloc={});var _t=et.yylloc;U.push(_t);var kt=et.options&&et.options.ranges;function pt(){var Lt;return typeof(Lt=R.pop()||et.lex()||ut)!="number"&&(Lt instanceof Array&&(Lt=(R=Lt).pop()),Lt=D.symbols_[Lt]||Lt),Lt}typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var mt,Wt,Rt,ye,ge,pe,Ot,Xt,se,le={};;){if(Rt=O[O.length-1],this.defaultActions[Rt]?ye=this.defaultActions[Rt]:(mt==null&&(mt=pt()),ye=W[Rt]&&W[Rt][mt]),ye===void 0||!ye.length||!ye[0]){var me="";for(pe in se=[],W[Rt])this.terminals_[pe]&&pe>it&&se.push("'"+this.terminals_[pe]+"'");me=et.showPosition?"Parse error on line "+(X+1)+`: +`+et.showPosition()+` +Expecting `+se.join(", ")+", got '"+(this.terminals_[mt]||mt)+"'":"Parse error on line "+(X+1)+": Unexpected "+(mt==ut?"end of input":"'"+(this.terminals_[mt]||mt)+"'"),this.parseError(me,{text:et.match,token:this.terminals_[mt]||mt,line:et.yylineno,loc:_t,expected:se})}if(ye[0]instanceof Array&&ye.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+mt);switch(ye[0]){case 1:O.push(mt),z.push(et.yytext),U.push(et.yylloc),O.push(ye[1]),mt=null,Wt?(mt=Wt,Wt=null):(at=et.yyleng,V=et.yytext,X=et.yylineno,_t=et.yylloc,tt>0);break;case 2:if(Ot=this.productions_[ye[1]][1],le.$=z[z.length-Ot],le._$={first_line:U[U.length-(Ot||1)].first_line,last_line:U[U.length-1].last_line,first_column:U[U.length-(Ot||1)].first_column,last_column:U[U.length-1].last_column},kt&&(le._$.range=[U[U.length-(Ot||1)].range[0],U[U.length-1].range[1]]),(ge=this.performAction.apply(le,[V,at,X,K.yy,ye[1],z,U].concat(St)))!==void 0)return ge;Ot&&(O=O.slice(0,-1*Ot*2),z=z.slice(0,-1*Ot),U=U.slice(0,-1*Ot)),O.push(this.productions_[ye[1]][0]),z.push(le.$),U.push(le._$),Xt=W[O[O.length-2]][O[O.length-1]],O.push(Xt);break;case 3:return!0}}return!0}},b={EOF:1,parseError:function(k,D){if(!this.yy.parser)throw new Error(k);this.yy.parser.parseError(k,D)},setInput:function(k,D){return this.yy=D||this.yy||{},this._input=k,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var k=this._input[0];return this.yytext+=k,this.yyleng++,this.offset++,this.match+=k,this.matched+=k,k.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),k},unput:function(k){var D=k.length,O=k.split(/(?:\r\n?|\n)/g);this._input=k+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var R=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),O.length-1&&(this.yylineno-=O.length-1);var z=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:O?(O.length===R.length?this.yylloc.first_column:0)+R[R.length-O.length].length-O[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[z[0],z[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(k){this.unput(this.match.slice(k))},pastInput:function(){var k=this.matched.substr(0,this.matched.length-this.match.length);return(k.length>20?"...":"")+k.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var k=this.match;return k.length<20&&(k+=this._input.substr(0,20-k.length)),(k.substr(0,20)+(k.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var k=this.pastInput(),D=new Array(k.length+1).join("-");return k+this.upcomingInput()+` +`+D+"^"},test_match:function(k,D){var O,R,z;if(this.options.backtrack_lexer&&(z={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(z.yylloc.range=this.yylloc.range.slice(0))),(R=k[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=R.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:R?R[R.length-1].length-R[R.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+k[0].length},this.yytext+=k[0],this.match+=k[0],this.matches=k,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(k[0].length),this.matched+=k[0],O=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),O)return O;if(this._backtrack){for(var U in z)this[U]=z[U];return!1}return!1},next:function(){if(this.done)return this.EOF;var k,D,O,R;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),U=0;UD[0].length)){if(D=O,R=U,this.options.backtrack_lexer){if((k=this.test_match(O,z[U]))!==!1)return k;if(this._backtrack){D=!1;continue}return!1}if(!this.options.flex)break}return D?(k=this.test_match(D,z[R]))!==!1&&k:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(k){this.conditionStack.push(k)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(k){return(k=this.conditionStack.length-1-Math.abs(k||0))>=0?this.conditionStack[k]:"INITIAL"},pushState:function(k){this.begin(k)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(k,D,O,R){switch(O){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function T(){this.yy={}}return p.lexer=b,T.prototype=p,p.Parser=T,new T}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(1428).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},7062:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(St,et,K,ft){for(K=K||{},ft=St.length;ft--;K[St[ft]]=et);return K},y=[1,4],p=[1,5],b=[1,6],T=[1,7],k=[1,9],D=[1,11,13,20,21,22,23],O=[2,5],R=[1,6,11,13,20,21,22,23],z=[20,21,22],U=[2,8],W=[1,18],V=[1,19],X=[1,24],at=[6,20,21,22,23],tt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,openDirective:15,typeDirective:16,closeDirective:17,":":18,argDirective:19,NEWLINE:20,";":21,EOF:22,open_directive:23,type_directive:24,arg_directive:25,close_directive:26,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",18:":",20:"NEWLINE",21:";",22:"EOF",23:"open_directive",24:"type_directive",25:"arg_directive",26:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[15,1],[16,1],[19,1],[17,1]],performAction:function(St,et,K,ft,_t,kt,pt){var mt=kt.length-1;switch(_t){case 4:ft.setShowData(!0);break;case 7:this.$=kt[mt-1];break;case 9:ft.addSection(kt[mt-1],ft.cleanupValue(kt[mt]));break;case 10:this.$=kt[mt].trim(),ft.setTitle(this.$);break;case 17:ft.parseDirective("%%{","open_directive");break;case 18:ft.parseDirective(kt[mt],"type_directive");break;case 19:kt[mt]=kt[mt].trim().replace(/'/g,'"'),ft.parseDirective(kt[mt],"arg_directive");break;case 20:ft.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:y,15:8,20:p,21:b,22:T,23:k},{1:[3]},{3:10,4:2,5:3,6:y,15:8,20:p,21:b,22:T,23:k},{3:11,4:2,5:3,6:y,15:8,20:p,21:b,22:T,23:k},c(D,O,{7:12,8:[1,13]}),c(R,[2,14]),c(R,[2,15]),c(R,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},c(z,U,{15:8,9:16,10:17,5:20,1:[2,3],11:W,13:V,23:k}),c(D,O,{7:21}),{17:22,18:[1,23],26:X},c([18,26],[2,18]),c(D,[2,6]),{4:25,20:p,21:b,22:T},{12:[1,26]},{14:[1,27]},c(z,[2,11]),c(z,U,{15:8,9:16,10:17,5:20,1:[2,4],11:W,13:V,23:k}),c(at,[2,12]),{19:28,25:[1,29]},c(at,[2,20]),c(D,[2,7]),c(z,[2,9]),c(z,[2,10]),{17:30,26:X},{26:[2,19]},c(at,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(St,et){if(!et.recoverable){var K=new Error(St);throw K.hash=et,K}this.trace(St)},parse:function(St){var et=this,K=[0],ft=[],_t=[null],kt=[],pt=this.table,mt="",Wt=0,Rt=0,ye=0,ge=2,pe=1,Ot=kt.slice.call(arguments,1),Xt=Object.create(this.lexer),se={yy:{}};for(var le in this.yy)Object.prototype.hasOwnProperty.call(this.yy,le)&&(se.yy[le]=this.yy[le]);Xt.setInput(St,se.yy),se.yy.lexer=Xt,se.yy.parser=this,Xt.yylloc===void 0&&(Xt.yylloc={});var me=Xt.yylloc;kt.push(me);var Lt=Xt.options&&Xt.options.ranges;function qe(){var ve;return typeof(ve=ft.pop()||Xt.lex()||pe)!="number"&&(ve instanceof Array&&(ve=(ft=ve).pop()),ve=et.symbols_[ve]||ve),ve}typeof se.yy.parseError=="function"?this.parseError=se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var he,zt,te,ct,ne,Dt,Zt,Ht,Nt,oe={};;){if(te=K[K.length-1],this.defaultActions[te]?ct=this.defaultActions[te]:(he==null&&(he=qe()),ct=pt[te]&&pt[te][he]),ct===void 0||!ct.length||!ct[0]){var en="";for(Dt in Nt=[],pt[te])this.terminals_[Dt]&&Dt>ge&&Nt.push("'"+this.terminals_[Dt]+"'");en=Xt.showPosition?"Parse error on line "+(Wt+1)+`: +`+Xt.showPosition()+` +Expecting `+Nt.join(", ")+", got '"+(this.terminals_[he]||he)+"'":"Parse error on line "+(Wt+1)+": Unexpected "+(he==pe?"end of input":"'"+(this.terminals_[he]||he)+"'"),this.parseError(en,{text:Xt.match,token:this.terminals_[he]||he,line:Xt.yylineno,loc:me,expected:Nt})}if(ct[0]instanceof Array&&ct.length>1)throw new Error("Parse Error: multiple actions possible at state: "+te+", token: "+he);switch(ct[0]){case 1:K.push(he),_t.push(Xt.yytext),kt.push(Xt.yylloc),K.push(ct[1]),he=null,zt?(he=zt,zt=null):(Rt=Xt.yyleng,mt=Xt.yytext,Wt=Xt.yylineno,me=Xt.yylloc,ye>0);break;case 2:if(Zt=this.productions_[ct[1]][1],oe.$=_t[_t.length-Zt],oe._$={first_line:kt[kt.length-(Zt||1)].first_line,last_line:kt[kt.length-1].last_line,first_column:kt[kt.length-(Zt||1)].first_column,last_column:kt[kt.length-1].last_column},Lt&&(oe._$.range=[kt[kt.length-(Zt||1)].range[0],kt[kt.length-1].range[1]]),(ne=this.performAction.apply(oe,[mt,Rt,Wt,se.yy,ct[1],_t,kt].concat(Ot)))!==void 0)return ne;Zt&&(K=K.slice(0,-1*Zt*2),_t=_t.slice(0,-1*Zt),kt=kt.slice(0,-1*Zt)),K.push(this.productions_[ct[1]][0]),_t.push(oe.$),kt.push(oe._$),Ht=pt[K[K.length-2]][K[K.length-1]],K.push(Ht);break;case 3:return!0}}return!0}},it={EOF:1,parseError:function(St,et){if(!this.yy.parser)throw new Error(St);this.yy.parser.parseError(St,et)},setInput:function(St,et){return this.yy=et||this.yy||{},this._input=St,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var St=this._input[0];return this.yytext+=St,this.yyleng++,this.offset++,this.match+=St,this.matched+=St,St.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),St},unput:function(St){var et=St.length,K=St.split(/(?:\r\n?|\n)/g);this._input=St+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-et),this.offset-=et;var ft=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),K.length-1&&(this.yylineno-=K.length-1);var _t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:K?(K.length===ft.length?this.yylloc.first_column:0)+ft[ft.length-K.length].length-K[0].length:this.yylloc.first_column-et},this.options.ranges&&(this.yylloc.range=[_t[0],_t[0]+this.yyleng-et]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(St){this.unput(this.match.slice(St))},pastInput:function(){var St=this.matched.substr(0,this.matched.length-this.match.length);return(St.length>20?"...":"")+St.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var St=this.match;return St.length<20&&(St+=this._input.substr(0,20-St.length)),(St.substr(0,20)+(St.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var St=this.pastInput(),et=new Array(St.length+1).join("-");return St+this.upcomingInput()+` +`+et+"^"},test_match:function(St,et){var K,ft,_t;if(this.options.backtrack_lexer&&(_t={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_t.yylloc.range=this.yylloc.range.slice(0))),(ft=St[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ft.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ft?ft[ft.length-1].length-ft[ft.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+St[0].length},this.yytext+=St[0],this.match+=St[0],this.matches=St,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(St[0].length),this.matched+=St[0],K=this.performAction.call(this,this.yy,this,et,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),K)return K;if(this._backtrack){for(var kt in _t)this[kt]=_t[kt];return!1}return!1},next:function(){if(this.done)return this.EOF;var St,et,K,ft;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var _t=this._currentRules(),kt=0;kt<_t.length;kt++)if((K=this._input.match(this.rules[_t[kt]]))&&(!et||K[0].length>et[0].length)){if(et=K,ft=kt,this.options.backtrack_lexer){if((St=this.test_match(K,_t[kt]))!==!1)return St;if(this._backtrack){et=!1;continue}return!1}if(!this.options.flex)break}return et?(St=this.test_match(et,_t[ft]))!==!1&&St:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(St){this.conditionStack.push(St)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(St){return(St=this.conditionStack.length-1-Math.abs(St||0))>=0?this.conditionStack[St]:"INITIAL"},pushState:function(St){this.begin(St)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(St,et,K,ft){switch(K){case 0:return this.begin("open_directive"),23;case 1:return this.begin("type_directive"),24;case 2:return this.popState(),this.begin("arg_directive"),18;case 3:return this.popState(),this.popState(),26;case 4:return 25;case 5:case 6:case 8:case 9:break;case 7:return 20;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:this.begin("string");break;case 13:this.popState();break;case 14:return"txt";case 15:return 6;case 16:return 8;case 17:return"value";case 18:return 22}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,15,16,17,18],inclusive:!0}}};function ut(){this.yy={}}return tt.lexer=it,ut.prototype=tt,tt.Parser=ut,new ut}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(4551).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},3176:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(te,ct,ne,Dt){for(ne=ne||{},Dt=te.length;Dt--;ne[te[Dt]]=ct);return ne},y=[1,3],p=[1,5],b=[1,17],T=[2,10],k=[1,21],D=[1,22],O=[1,23],R=[1,24],z=[1,25],U=[1,26],W=[1,19],V=[1,27],X=[1,28],at=[1,31],tt=[66,67],it=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],ut=[5,6,8,14,35,36,37,38,39,40,48,66,67],St=[1,51],et=[1,52],K=[1,53],ft=[1,54],_t=[1,55],kt=[1,56],pt=[1,57],mt=[57,58],Wt=[1,69],Rt=[1,65],ye=[1,66],ge=[1,67],pe=[1,68],Ot=[1,70],Xt=[1,74],se=[1,75],le=[1,72],me=[1,73],Lt=[5,8,14,35,36,37,38,39,40,48,66,67],qe={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,open_directive:14,type_directive:15,arg_directive:16,close_directive:17,requirementDef:18,elementDef:19,relationshipDef:20,requirementType:21,requirementName:22,STRUCT_START:23,requirementBody:24,ID:25,COLONSEP:26,id:27,TEXT:28,text:29,RISK:30,riskLevel:31,VERIFYMTHD:32,verifyType:33,STRUCT_STOP:34,REQUIREMENT:35,FUNCTIONAL_REQUIREMENT:36,INTERFACE_REQUIREMENT:37,PERFORMANCE_REQUIREMENT:38,PHYSICAL_REQUIREMENT:39,DESIGN_CONSTRAINT:40,LOW_RISK:41,MED_RISK:42,HIGH_RISK:43,VERIFY_ANALYSIS:44,VERIFY_DEMONSTRATION:45,VERIFY_INSPECTION:46,VERIFY_TEST:47,ELEMENT:48,elementName:49,elementBody:50,TYPE:51,type:52,DOCREF:53,ref:54,END_ARROW_L:55,relationship:56,LINE:57,END_ARROW_R:58,CONTAINS:59,COPIES:60,DERIVES:61,SATISFIES:62,VERIFIES:63,REFINES:64,TRACES:65,unqString:66,qString:67,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"open_directive",15:"type_directive",16:"arg_directive",17:"close_directive",23:"STRUCT_START",25:"ID",26:"COLONSEP",28:"TEXT",30:"RISK",32:"VERIFYMTHD",34:"STRUCT_STOP",35:"REQUIREMENT",36:"FUNCTIONAL_REQUIREMENT",37:"INTERFACE_REQUIREMENT",38:"PERFORMANCE_REQUIREMENT",39:"PHYSICAL_REQUIREMENT",40:"DESIGN_CONSTRAINT",41:"LOW_RISK",42:"MED_RISK",43:"HIGH_RISK",44:"VERIFY_ANALYSIS",45:"VERIFY_DEMONSTRATION",46:"VERIFY_INSPECTION",47:"VERIFY_TEST",48:"ELEMENT",51:"TYPE",53:"DOCREF",55:"END_ARROW_L",57:"LINE",58:"END_ARROW_R",59:"CONTAINS",60:"COPIES",61:"DERIVES",62:"SATISFIES",63:"VERIFIES",64:"REFINES",65:"TRACES",66:"unqString",67:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[18,5],[24,5],[24,5],[24,5],[24,5],[24,2],[24,1],[21,1],[21,1],[21,1],[21,1],[21,1],[21,1],[31,1],[31,1],[31,1],[33,1],[33,1],[33,1],[33,1],[19,5],[50,5],[50,5],[50,2],[50,1],[20,5],[20,5],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[22,1],[22,1],[27,1],[27,1],[29,1],[29,1],[49,1],[49,1],[52,1],[52,1],[54,1],[54,1]],performAction:function(te,ct,ne,Dt,Zt,Ht,Nt){var oe=Ht.length-1;switch(Zt){case 6:Dt.parseDirective("%%{","open_directive");break;case 7:Dt.parseDirective(Ht[oe],"type_directive");break;case 8:Ht[oe]=Ht[oe].trim().replace(/'/g,'"'),Dt.parseDirective(Ht[oe],"arg_directive");break;case 9:Dt.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:Dt.addRequirement(Ht[oe-3],Ht[oe-4]);break;case 17:Dt.setNewReqId(Ht[oe-2]);break;case 18:Dt.setNewReqText(Ht[oe-2]);break;case 19:Dt.setNewReqRisk(Ht[oe-2]);break;case 20:Dt.setNewReqVerifyMethod(Ht[oe-2]);break;case 23:this.$=Dt.RequirementType.REQUIREMENT;break;case 24:this.$=Dt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=Dt.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=Dt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=Dt.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=Dt.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=Dt.RiskLevel.LOW_RISK;break;case 30:this.$=Dt.RiskLevel.MED_RISK;break;case 31:this.$=Dt.RiskLevel.HIGH_RISK;break;case 32:this.$=Dt.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=Dt.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=Dt.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=Dt.VerifyType.VERIFY_TEST;break;case 36:Dt.addElement(Ht[oe-3]);break;case 37:Dt.setNewElementType(Ht[oe-2]);break;case 38:Dt.setNewElementDocRef(Ht[oe-2]);break;case 41:Dt.addRelationship(Ht[oe-2],Ht[oe],Ht[oe-4]);break;case 42:Dt.addRelationship(Ht[oe-2],Ht[oe-4],Ht[oe]);break;case 43:this.$=Dt.Relationships.CONTAINS;break;case 44:this.$=Dt.Relationships.COPIES;break;case 45:this.$=Dt.Relationships.DERIVES;break;case 46:this.$=Dt.Relationships.SATISFIES;break;case 47:this.$=Dt.Relationships.VERIFIES;break;case 48:this.$=Dt.Relationships.REFINES;break;case 49:this.$=Dt.Relationships.TRACES}},table:[{3:1,4:2,6:y,9:4,14:p},{1:[3]},{3:7,4:2,5:[1,6],6:y,9:4,14:p},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:y,9:4,14:p},{1:[2,2]},{4:16,5:b,7:12,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{11:29,12:[1,30],17:at},c([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:b,7:33,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{4:16,5:b,7:34,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{4:16,5:b,7:35,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{4:16,5:b,7:36,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{4:16,5:b,7:37,8:T,9:4,14:p,18:13,19:14,20:15,21:18,27:20,35:k,36:D,37:O,38:R,39:z,40:U,48:W,66:V,67:X},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},c(tt,[2,23]),c(tt,[2,24]),c(tt,[2,25]),c(tt,[2,26]),c(tt,[2,27]),c(tt,[2,28]),c(it,[2,52]),c(it,[2,53]),c(ut,[2,4]),{13:46,16:[1,47]},c(ut,[2,9]),{1:[2,3]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{23:[1,48]},{23:[2,50]},{23:[2,51]},{23:[1,49]},{23:[2,56]},{23:[2,57]},{56:50,59:St,60:et,61:K,62:ft,63:_t,64:kt,65:pt},{56:58,59:St,60:et,61:K,62:ft,63:_t,64:kt,65:pt},{11:59,17:at},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},c(mt,[2,43]),c(mt,[2,44]),c(mt,[2,45]),c(mt,[2,46]),c(mt,[2,47]),c(mt,[2,48]),c(mt,[2,49]),{58:[1,63]},c(ut,[2,5]),{5:Wt,24:64,25:Rt,28:ye,30:ge,32:pe,34:Ot},{5:Xt,34:se,50:71,51:le,53:me},{27:76,66:V,67:X},{27:77,66:V,67:X},c(Lt,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:Wt,24:82,25:Rt,28:ye,30:ge,32:pe,34:Ot},c(Lt,[2,22]),c(Lt,[2,36]),{26:[1,83]},{26:[1,84]},{5:Xt,34:se,50:85,51:le,53:me},c(Lt,[2,40]),c(Lt,[2,41]),c(Lt,[2,42]),{27:86,66:V,67:X},{29:87,66:[1,88],67:[1,89]},{31:90,41:[1,91],42:[1,92],43:[1,93]},{33:94,44:[1,95],45:[1,96],46:[1,97],47:[1,98]},c(Lt,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},c(Lt,[2,39]),{5:[1,105]},{5:[1,106]},{5:[2,54]},{5:[2,55]},{5:[1,107]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[1,108]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[1,109]},{5:[2,58]},{5:[2,59]},{5:[1,110]},{5:[2,60]},{5:[2,61]},{5:Wt,24:111,25:Rt,28:ye,30:ge,32:pe,34:Ot},{5:Wt,24:112,25:Rt,28:ye,30:ge,32:pe,34:Ot},{5:Wt,24:113,25:Rt,28:ye,30:ge,32:pe,34:Ot},{5:Wt,24:114,25:Rt,28:ye,30:ge,32:pe,34:Ot},{5:Xt,34:se,50:115,51:le,53:me},{5:Xt,34:se,50:116,51:le,53:me},c(Lt,[2,17]),c(Lt,[2,18]),c(Lt,[2,19]),c(Lt,[2,20]),c(Lt,[2,37]),c(Lt,[2,38])],defaultActions:{5:[2,6],7:[2,2],11:[2,1],32:[2,3],33:[2,11],34:[2,12],35:[2,13],36:[2,14],37:[2,15],39:[2,50],40:[2,51],42:[2,56],43:[2,57],47:[2,8],88:[2,54],89:[2,55],91:[2,29],92:[2,30],93:[2,31],95:[2,32],96:[2,33],97:[2,34],98:[2,35],100:[2,58],101:[2,59],103:[2,60],104:[2,61]},parseError:function(te,ct){if(!ct.recoverable){var ne=new Error(te);throw ne.hash=ct,ne}this.trace(te)},parse:function(te){var ct=this,ne=[0],Dt=[],Zt=[null],Ht=[],Nt=this.table,oe="",en=0,ve=0,Ne=0,dn=2,Xe=1,Ie=Ht.slice.call(arguments,1),Ae=Object.create(this.lexer),nn={yy:{}};for(var $e in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$e)&&(nn.yy[$e]=this.yy[$e]);Ae.setInput(te,nn.yy),nn.yy.lexer=Ae,nn.yy.parser=this,Ae.yylloc===void 0&&(Ae.yylloc={});var Ke=Ae.yylloc;Ht.push(Ke);var Qe=Ae.options&&Ae.options.ranges;function Be(){var En;return typeof(En=Dt.pop()||Ae.lex()||Xe)!="number"&&(En instanceof Array&&(En=(Dt=En).pop()),En=ct.symbols_[En]||En),En}typeof nn.yy.parseError=="function"?this.parseError=nn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Hn,Me,on,wn,$r,xn,nr,hn,vn,Je={};;){if(on=ne[ne.length-1],this.defaultActions[on]?wn=this.defaultActions[on]:(Hn==null&&(Hn=Be()),wn=Nt[on]&&Nt[on][Hn]),wn===void 0||!wn.length||!wn[0]){var Cn="";for(xn in vn=[],Nt[on])this.terminals_[xn]&&xn>dn&&vn.push("'"+this.terminals_[xn]+"'");Cn=Ae.showPosition?"Parse error on line "+(en+1)+`: +`+Ae.showPosition()+` +Expecting `+vn.join(", ")+", got '"+(this.terminals_[Hn]||Hn)+"'":"Parse error on line "+(en+1)+": Unexpected "+(Hn==Xe?"end of input":"'"+(this.terminals_[Hn]||Hn)+"'"),this.parseError(Cn,{text:Ae.match,token:this.terminals_[Hn]||Hn,line:Ae.yylineno,loc:Ke,expected:vn})}if(wn[0]instanceof Array&&wn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+on+", token: "+Hn);switch(wn[0]){case 1:ne.push(Hn),Zt.push(Ae.yytext),Ht.push(Ae.yylloc),ne.push(wn[1]),Hn=null,Me?(Hn=Me,Me=null):(ve=Ae.yyleng,oe=Ae.yytext,en=Ae.yylineno,Ke=Ae.yylloc,Ne>0);break;case 2:if(nr=this.productions_[wn[1]][1],Je.$=Zt[Zt.length-nr],Je._$={first_line:Ht[Ht.length-(nr||1)].first_line,last_line:Ht[Ht.length-1].last_line,first_column:Ht[Ht.length-(nr||1)].first_column,last_column:Ht[Ht.length-1].last_column},Qe&&(Je._$.range=[Ht[Ht.length-(nr||1)].range[0],Ht[Ht.length-1].range[1]]),($r=this.performAction.apply(Je,[oe,ve,en,nn.yy,wn[1],Zt,Ht].concat(Ie)))!==void 0)return $r;nr&&(ne=ne.slice(0,-1*nr*2),Zt=Zt.slice(0,-1*nr),Ht=Ht.slice(0,-1*nr)),ne.push(this.productions_[wn[1]][0]),Zt.push(Je.$),Ht.push(Je._$),hn=Nt[ne[ne.length-2]][ne[ne.length-1]],ne.push(hn);break;case 3:return!0}}return!0}},he={EOF:1,parseError:function(te,ct){if(!this.yy.parser)throw new Error(te);this.yy.parser.parseError(te,ct)},setInput:function(te,ct){return this.yy=ct||this.yy||{},this._input=te,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var te=this._input[0];return this.yytext+=te,this.yyleng++,this.offset++,this.match+=te,this.matched+=te,te.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),te},unput:function(te){var ct=te.length,ne=te.split(/(?:\r\n?|\n)/g);this._input=te+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ct),this.offset-=ct;var Dt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),ne.length-1&&(this.yylineno-=ne.length-1);var Zt=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:ne?(ne.length===Dt.length?this.yylloc.first_column:0)+Dt[Dt.length-ne.length].length-ne[0].length:this.yylloc.first_column-ct},this.options.ranges&&(this.yylloc.range=[Zt[0],Zt[0]+this.yyleng-ct]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(te){this.unput(this.match.slice(te))},pastInput:function(){var te=this.matched.substr(0,this.matched.length-this.match.length);return(te.length>20?"...":"")+te.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var te=this.match;return te.length<20&&(te+=this._input.substr(0,20-te.length)),(te.substr(0,20)+(te.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var te=this.pastInput(),ct=new Array(te.length+1).join("-");return te+this.upcomingInput()+` +`+ct+"^"},test_match:function(te,ct){var ne,Dt,Zt;if(this.options.backtrack_lexer&&(Zt={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Zt.yylloc.range=this.yylloc.range.slice(0))),(Dt=te[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Dt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Dt?Dt[Dt.length-1].length-Dt[Dt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+te[0].length},this.yytext+=te[0],this.match+=te[0],this.matches=te,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(te[0].length),this.matched+=te[0],ne=this.performAction.call(this,this.yy,this,ct,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ne)return ne;if(this._backtrack){for(var Ht in Zt)this[Ht]=Zt[Ht];return!1}return!1},next:function(){if(this.done)return this.EOF;var te,ct,ne,Dt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Zt=this._currentRules(),Ht=0;Htct[0].length)){if(ct=ne,Dt=Ht,this.options.backtrack_lexer){if((te=this.test_match(ne,Zt[Ht]))!==!1)return te;if(this._backtrack){ct=!1;continue}return!1}if(!this.options.flex)break}return ct?(te=this.test_match(ct,Zt[Dt]))!==!1&&te:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(te){this.conditionStack.push(te)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(te){return(te=this.conditionStack.length-1-Math.abs(te||0))>=0?this.conditionStack[te]:"INITIAL"},pushState:function(te){this.begin(te)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(te,ct,ne,Dt){switch(ne){case 0:return this.begin("open_directive"),14;case 1:return this.begin("type_directive"),15;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),17;case 4:return 16;case 5:return 5;case 6:case 7:case 8:break;case 9:return 8;case 10:return 6;case 11:return 23;case 12:return 34;case 13:return 26;case 14:return 25;case 15:return 28;case 16:return 30;case 17:return 32;case 18:return 35;case 19:return 36;case 20:return 37;case 21:return 38;case 22:return 39;case 23:return 40;case 24:return 41;case 25:return 42;case 26:return 43;case 27:return 44;case 28:return 45;case 29:return 46;case 30:return 47;case 31:return 48;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 62;case 36:return 63;case 37:return 64;case 38:return 65;case 39:return 51;case 40:return 53;case 41:return 55;case 42:return 58;case 43:return 57;case 44:this.begin("string");break;case 45:this.popState();break;case 46:return"qString";case 47:return ct.yytext=ct.yytext.trim(),66}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[45,46],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,47],inclusive:!0}}};function zt(){this.yy={}}return qe.lexer=he,zt.prototype=qe,qe.Parser=zt,new zt}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(8800).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},6876:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(Lt,qe,he,zt){for(he=he||{},zt=Lt.length;zt--;he[Lt[zt]]=qe);return he},y=[1,2],p=[1,3],b=[1,5],T=[1,7],k=[2,5],D=[1,15],O=[1,17],R=[1,18],z=[1,19],U=[1,21],W=[1,22],V=[1,23],X=[1,29],at=[1,30],tt=[1,31],it=[1,32],ut=[1,33],St=[1,34],et=[1,37],K=[1,38],ft=[1,39],_t=[1,40],kt=[1,41],pt=[1,42],mt=[1,45],Wt=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],Rt=[1,58],ye=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],ge=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],pe=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],Ot=[55,56,57],Xt=[1,4,5,7,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],se={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,activate:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,text2:31,loop:32,end:33,rect:34,opt:35,alt:36,else_sections:37,par:38,par_sections:39,and:40,else:41,note:42,placement:43,over:44,actor_pair:45,links:46,link:47,properties:48,details:49,spaceList:50,",":51,left_of:52,right_of:53,signaltype:54,"+":55,"-":56,ACTOR:57,SOLID_OPEN_ARROW:58,DOTTED_OPEN_ARROW:59,SOLID_ARROW:60,DOTTED_ARROW:61,SOLID_CROSS:62,DOTTED_CROSS:63,SOLID_POINT:64,DOTTED_POINT:65,TXT:66,open_directive:67,type_directive:68,arg_directive:69,close_directive:70,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"activate",24:"deactivate",30:"title",32:"loop",33:"end",34:"rect",35:"opt",36:"alt",38:"par",40:"and",41:"else",42:"note",44:"over",46:"links",47:"link",48:"properties",49:"details",51:",",52:"left_of",53:"right_of",55:"+",56:"-",57:"ACTOR",58:"SOLID_OPEN_ARROW",59:"DOTTED_OPEN_ARROW",60:"SOLID_ARROW",61:"DOTTED_ARROW",62:"SOLID_CROSS",63:"DOTTED_CROSS",64:"SOLID_POINT",65:"DOTTED_POINT",66:"TXT",67:"open_directive",68:"type_directive",69:"arg_directive",70:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[39,1],[39,4],[37,1],[37,4],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[50,2],[50,1],[45,3],[45,1],[43,1],[43,1],[21,5],[21,5],[21,4],[17,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[31,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(Lt,qe,he,zt,te,ct,ne){var Dt=ct.length-1;switch(te){case 4:return zt.apply(ct[Dt]),ct[Dt];case 5:case 9:this.$=[];break;case 6:ct[Dt-1].push(ct[Dt]),this.$=ct[Dt-1];break;case 7:case 8:case 45:this.$=ct[Dt];break;case 12:ct[Dt-3].type="addParticipant",ct[Dt-3].description=zt.parseMessage(ct[Dt-1]),this.$=ct[Dt-3];break;case 13:ct[Dt-1].type="addParticipant",this.$=ct[Dt-1];break;case 14:ct[Dt-3].type="addActor",ct[Dt-3].description=zt.parseMessage(ct[Dt-1]),this.$=ct[Dt-3];break;case 15:ct[Dt-1].type="addActor",this.$=ct[Dt-1];break;case 17:zt.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:zt.LINETYPE.ACTIVE_START,actor:ct[Dt-1]};break;case 19:this.$={type:"activeEnd",signalType:zt.LINETYPE.ACTIVE_END,actor:ct[Dt-1]};break;case 25:this.$=[{type:"setTitle",text:ct[Dt-1]}];break;case 26:ct[Dt-1].unshift({type:"loopStart",loopText:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.LOOP_START}),ct[Dt-1].push({type:"loopEnd",loopText:ct[Dt-2],signalType:zt.LINETYPE.LOOP_END}),this.$=ct[Dt-1];break;case 27:ct[Dt-1].unshift({type:"rectStart",color:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.RECT_START}),ct[Dt-1].push({type:"rectEnd",color:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.RECT_END}),this.$=ct[Dt-1];break;case 28:ct[Dt-1].unshift({type:"optStart",optText:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.OPT_START}),ct[Dt-1].push({type:"optEnd",optText:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.OPT_END}),this.$=ct[Dt-1];break;case 29:ct[Dt-1].unshift({type:"altStart",altText:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.ALT_START}),ct[Dt-1].push({type:"altEnd",signalType:zt.LINETYPE.ALT_END}),this.$=ct[Dt-1];break;case 30:ct[Dt-1].unshift({type:"parStart",parText:zt.parseMessage(ct[Dt-2]),signalType:zt.LINETYPE.PAR_START}),ct[Dt-1].push({type:"parEnd",signalType:zt.LINETYPE.PAR_END}),this.$=ct[Dt-1];break;case 33:this.$=ct[Dt-3].concat([{type:"and",parText:zt.parseMessage(ct[Dt-1]),signalType:zt.LINETYPE.PAR_AND},ct[Dt]]);break;case 35:this.$=ct[Dt-3].concat([{type:"else",altText:zt.parseMessage(ct[Dt-1]),signalType:zt.LINETYPE.ALT_ELSE},ct[Dt]]);break;case 36:this.$=[ct[Dt-1],{type:"addNote",placement:ct[Dt-2],actor:ct[Dt-1].actor,text:ct[Dt]}];break;case 37:ct[Dt-2]=[].concat(ct[Dt-1],ct[Dt-1]).slice(0,2),ct[Dt-2][0]=ct[Dt-2][0].actor,ct[Dt-2][1]=ct[Dt-2][1].actor,this.$=[ct[Dt-1],{type:"addNote",placement:zt.PLACEMENT.OVER,actor:ct[Dt-2].slice(0,2),text:ct[Dt]}];break;case 38:this.$=[ct[Dt-1],{type:"addLinks",actor:ct[Dt-1].actor,text:ct[Dt]}];break;case 39:this.$=[ct[Dt-1],{type:"addALink",actor:ct[Dt-1].actor,text:ct[Dt]}];break;case 40:this.$=[ct[Dt-1],{type:"addProperties",actor:ct[Dt-1].actor,text:ct[Dt]}];break;case 41:this.$=[ct[Dt-1],{type:"addDetails",actor:ct[Dt-1].actor,text:ct[Dt]}];break;case 44:this.$=[ct[Dt-2],ct[Dt]];break;case 46:this.$=zt.PLACEMENT.LEFTOF;break;case 47:this.$=zt.PLACEMENT.RIGHTOF;break;case 48:this.$=[ct[Dt-4],ct[Dt-1],{type:"addMessage",from:ct[Dt-4].actor,to:ct[Dt-1].actor,signalType:ct[Dt-3],msg:ct[Dt]},{type:"activeStart",signalType:zt.LINETYPE.ACTIVE_START,actor:ct[Dt-1]}];break;case 49:this.$=[ct[Dt-4],ct[Dt-1],{type:"addMessage",from:ct[Dt-4].actor,to:ct[Dt-1].actor,signalType:ct[Dt-3],msg:ct[Dt]},{type:"activeEnd",signalType:zt.LINETYPE.ACTIVE_END,actor:ct[Dt-4]}];break;case 50:this.$=[ct[Dt-3],ct[Dt-1],{type:"addMessage",from:ct[Dt-3].actor,to:ct[Dt-1].actor,signalType:ct[Dt-2],msg:ct[Dt]}];break;case 51:this.$={type:"addParticipant",actor:ct[Dt]};break;case 52:this.$=zt.LINETYPE.SOLID_OPEN;break;case 53:this.$=zt.LINETYPE.DOTTED_OPEN;break;case 54:this.$=zt.LINETYPE.SOLID;break;case 55:this.$=zt.LINETYPE.DOTTED;break;case 56:this.$=zt.LINETYPE.SOLID_CROSS;break;case 57:this.$=zt.LINETYPE.DOTTED_CROSS;break;case 58:this.$=zt.LINETYPE.SOLID_POINT;break;case 59:this.$=zt.LINETYPE.DOTTED_POINT;break;case 60:this.$=zt.parseMessage(ct[Dt].trim().substring(1));break;case 61:zt.parseDirective("%%{","open_directive");break;case 62:zt.parseDirective(ct[Dt],"type_directive");break;case 63:ct[Dt]=ct[Dt].trim().replace(/'/g,'"'),zt.parseDirective(ct[Dt],"arg_directive");break;case 64:zt.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:y,5:p,6:4,7:b,11:6,67:T},{1:[3]},{3:8,4:y,5:p,6:4,7:b,11:6,67:T},{3:9,4:y,5:p,6:4,7:b,11:6,67:T},{3:10,4:y,5:p,6:4,7:b,11:6,67:T},c([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],k,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,34:tt,35:it,36:ut,38:St,42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{13:43,14:[1,44],70:mt},c([14,70],[2,62]),c(Wt,[2,6]),{6:35,10:46,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,34:tt,35:it,36:ut,38:St,42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},c(Wt,[2,8]),c(Wt,[2,9]),{17:47,57:pt},{17:48,57:pt},{5:[1,49]},c(Wt,[2,17]),{17:50,57:pt},{17:51,57:pt},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:Rt},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},c(Wt,[2,31]),{54:64,58:[1,65],59:[1,66],60:[1,67],61:[1,68],62:[1,69],63:[1,70],64:[1,71],65:[1,72]},{43:73,44:[1,74],52:[1,75],53:[1,76]},{17:77,57:pt},{17:78,57:pt},{17:79,57:pt},{17:80,57:pt},c([5,18,51,58,59,60,61,62,63,64,65,66],[2,51]),{5:[1,81]},{15:82,69:[1,83]},{5:[2,64]},c(Wt,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},c(Wt,[2,16]),{5:[1,88]},{5:[1,89]},c(Wt,[2,20]),c(Wt,[2,21]),c(Wt,[2,22]),c(Wt,[2,23]),c(Wt,[2,24]),{5:[1,90]},{5:[2,60]},c(ye,k,{8:91}),c(ye,k,{8:92}),c(ye,k,{8:93}),c(ge,k,{37:94,8:95}),c(pe,k,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:pt},c(Ot,[2,52]),c(Ot,[2,53]),c(Ot,[2,54]),c(Ot,[2,55]),c(Ot,[2,56]),c(Ot,[2,57]),c(Ot,[2,58]),c(Ot,[2,59]),{17:101,57:pt},{17:103,45:102,57:pt},{57:[2,46]},{57:[2,47]},{31:104,66:Rt},{31:105,66:Rt},{31:106,66:Rt},{31:107,66:Rt},c(Xt,[2,10]),{13:108,70:mt},{70:[2,63]},{19:[1,109]},c(Wt,[2,13]),{19:[1,110]},c(Wt,[2,15]),c(Wt,[2,18]),c(Wt,[2,19]),c(Wt,[2,25]),{4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,33:[1,111],34:tt,35:it,36:ut,38:St,42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,33:[1,112],34:tt,35:it,36:ut,38:St,42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,33:[1,113],34:tt,35:it,36:ut,38:St,42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{33:[1,114]},{4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,33:[2,34],34:tt,35:it,36:ut,38:St,41:[1,115],42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{33:[1,116]},{4:D,5:O,6:35,9:14,10:16,11:6,16:R,17:36,20:z,21:20,22:U,23:W,24:V,25:24,26:25,27:26,28:27,29:28,30:X,32:at,33:[2,32],34:tt,35:it,36:ut,38:St,40:[1,117],42:et,46:K,47:ft,48:_t,49:kt,57:pt,67:T},{17:118,57:pt},{17:119,57:pt},{31:120,66:Rt},{31:121,66:Rt},{31:122,66:Rt},{51:[1,123],66:[2,45]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},{5:[1,124]},{5:[1,125]},{5:[1,126]},c(Wt,[2,26]),c(Wt,[2,27]),c(Wt,[2,28]),c(Wt,[2,29]),{19:[1,127]},c(Wt,[2,30]),{19:[1,128]},{31:129,66:Rt},{31:130,66:Rt},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:pt},c(Xt,[2,11]),c(Wt,[2,12]),c(Wt,[2,14]),c(ge,k,{8:95,37:132}),c(pe,k,{8:97,39:133}),{5:[2,48]},{5:[2,49]},{66:[2,44]},{33:[2,35]},{33:[2,33]}],defaultActions:{7:[2,61],8:[2,1],9:[2,2],10:[2,3],45:[2,64],58:[2,60],75:[2,46],76:[2,47],83:[2,63],104:[2,38],105:[2,39],106:[2,40],107:[2,41],120:[2,50],121:[2,36],122:[2,37],129:[2,48],130:[2,49],131:[2,44],132:[2,35],133:[2,33]},parseError:function(Lt,qe){if(!qe.recoverable){var he=new Error(Lt);throw he.hash=qe,he}this.trace(Lt)},parse:function(Lt){var qe=this,he=[0],zt=[],te=[null],ct=[],ne=this.table,Dt="",Zt=0,Ht=0,Nt=0,oe=2,en=1,ve=ct.slice.call(arguments,1),Ne=Object.create(this.lexer),dn={yy:{}};for(var Xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Xe)&&(dn.yy[Xe]=this.yy[Xe]);Ne.setInput(Lt,dn.yy),dn.yy.lexer=Ne,dn.yy.parser=this,Ne.yylloc===void 0&&(Ne.yylloc={});var Ie=Ne.yylloc;ct.push(Ie);var Ae=Ne.options&&Ne.options.ranges;function nn(){var hn;return typeof(hn=zt.pop()||Ne.lex()||en)!="number"&&(hn instanceof Array&&(hn=(zt=hn).pop()),hn=qe.symbols_[hn]||hn),hn}typeof dn.yy.parseError=="function"?this.parseError=dn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var $e,Ke,Qe,Be,Hn,Me,on,wn,$r,xn={};;){if(Qe=he[he.length-1],this.defaultActions[Qe]?Be=this.defaultActions[Qe]:($e==null&&($e=nn()),Be=ne[Qe]&&ne[Qe][$e]),Be===void 0||!Be.length||!Be[0]){var nr="";for(Me in $r=[],ne[Qe])this.terminals_[Me]&&Me>oe&&$r.push("'"+this.terminals_[Me]+"'");nr=Ne.showPosition?"Parse error on line "+(Zt+1)+`: +`+Ne.showPosition()+` +Expecting `+$r.join(", ")+", got '"+(this.terminals_[$e]||$e)+"'":"Parse error on line "+(Zt+1)+": Unexpected "+($e==en?"end of input":"'"+(this.terminals_[$e]||$e)+"'"),this.parseError(nr,{text:Ne.match,token:this.terminals_[$e]||$e,line:Ne.yylineno,loc:Ie,expected:$r})}if(Be[0]instanceof Array&&Be.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Qe+", token: "+$e);switch(Be[0]){case 1:he.push($e),te.push(Ne.yytext),ct.push(Ne.yylloc),he.push(Be[1]),$e=null,Ke?($e=Ke,Ke=null):(Ht=Ne.yyleng,Dt=Ne.yytext,Zt=Ne.yylineno,Ie=Ne.yylloc,Nt>0);break;case 2:if(on=this.productions_[Be[1]][1],xn.$=te[te.length-on],xn._$={first_line:ct[ct.length-(on||1)].first_line,last_line:ct[ct.length-1].last_line,first_column:ct[ct.length-(on||1)].first_column,last_column:ct[ct.length-1].last_column},Ae&&(xn._$.range=[ct[ct.length-(on||1)].range[0],ct[ct.length-1].range[1]]),(Hn=this.performAction.apply(xn,[Dt,Ht,Zt,dn.yy,Be[1],te,ct].concat(ve)))!==void 0)return Hn;on&&(he=he.slice(0,-1*on*2),te=te.slice(0,-1*on),ct=ct.slice(0,-1*on)),he.push(this.productions_[Be[1]][0]),te.push(xn.$),ct.push(xn._$),wn=ne[he[he.length-2]][he[he.length-1]],he.push(wn);break;case 3:return!0}}return!0}},le={EOF:1,parseError:function(Lt,qe){if(!this.yy.parser)throw new Error(Lt);this.yy.parser.parseError(Lt,qe)},setInput:function(Lt,qe){return this.yy=qe||this.yy||{},this._input=Lt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Lt=this._input[0];return this.yytext+=Lt,this.yyleng++,this.offset++,this.match+=Lt,this.matched+=Lt,Lt.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Lt},unput:function(Lt){var qe=Lt.length,he=Lt.split(/(?:\r\n?|\n)/g);this._input=Lt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-qe),this.offset-=qe;var zt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),he.length-1&&(this.yylineno-=he.length-1);var te=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:he?(he.length===zt.length?this.yylloc.first_column:0)+zt[zt.length-he.length].length-he[0].length:this.yylloc.first_column-qe},this.options.ranges&&(this.yylloc.range=[te[0],te[0]+this.yyleng-qe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Lt){this.unput(this.match.slice(Lt))},pastInput:function(){var Lt=this.matched.substr(0,this.matched.length-this.match.length);return(Lt.length>20?"...":"")+Lt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Lt=this.match;return Lt.length<20&&(Lt+=this._input.substr(0,20-Lt.length)),(Lt.substr(0,20)+(Lt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Lt=this.pastInput(),qe=new Array(Lt.length+1).join("-");return Lt+this.upcomingInput()+` +`+qe+"^"},test_match:function(Lt,qe){var he,zt,te;if(this.options.backtrack_lexer&&(te={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(te.yylloc.range=this.yylloc.range.slice(0))),(zt=Lt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=zt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:zt?zt[zt.length-1].length-zt[zt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Lt[0].length},this.yytext+=Lt[0],this.match+=Lt[0],this.matches=Lt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Lt[0].length),this.matched+=Lt[0],he=this.performAction.call(this,this.yy,this,qe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),he)return he;if(this._backtrack){for(var ct in te)this[ct]=te[ct];return!1}return!1},next:function(){if(this.done)return this.EOF;var Lt,qe,he,zt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var te=this._currentRules(),ct=0;ctqe[0].length)){if(qe=he,zt=ct,this.options.backtrack_lexer){if((Lt=this.test_match(he,te[ct]))!==!1)return Lt;if(this._backtrack){qe=!1;continue}return!1}if(!this.options.flex)break}return qe?(Lt=this.test_match(qe,te[zt]))!==!1&&Lt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Lt){this.conditionStack.push(Lt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Lt){return(Lt=this.conditionStack.length-1-Math.abs(Lt||0))>=0?this.conditionStack[Lt]:"INITIAL"},pushState:function(Lt){this.begin(Lt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Lt,qe,he,zt){switch(he){case 0:return this.begin("open_directive"),67;case 1:return this.begin("type_directive"),68;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),70;case 4:return 69;case 5:case 39:case 52:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return this.begin("ID"),16;case 12:return this.begin("ID"),20;case 13:return qe.yytext=qe.yytext.trim(),this.begin("ALIAS"),57;case 14:return this.popState(),this.popState(),this.begin("LINE"),18;case 15:return this.popState(),this.popState(),5;case 16:return this.begin("LINE"),32;case 17:return this.begin("LINE"),34;case 18:return this.begin("LINE"),35;case 19:return this.begin("LINE"),36;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),38;case 22:return this.begin("LINE"),40;case 23:return this.popState(),19;case 24:return 33;case 25:return 52;case 26:return 53;case 27:return 46;case 28:return 47;case 29:return 48;case 30:return 49;case 31:return 44;case 32:return 42;case 33:return this.begin("ID"),23;case 34:return this.begin("ID"),24;case 35:return 30;case 36:return 7;case 37:return 22;case 38:return 51;case 40:return qe.yytext=qe.yytext.trim(),57;case 41:return 60;case 42:return 61;case 43:return 58;case 44:return 59;case 45:return 62;case 46:return 63;case 47:return 64;case 48:return 65;case 49:return 66;case 50:return 55;case 51:return 56;case 53:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,13],inclusive:!1},ALIAS:{rules:[7,8,14,15],inclusive:!1},LINE:{rules:[7,8,23],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function me(){this.yy={}}return se.lexer=le,me.prototype=se,se.Parser=me,new me}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(1993).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},3584:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(Ot,Xt,se,le){for(se=se||{},le=Ot.length;le--;se[Ot[le]]=Xt);return se},y=[1,2],p=[1,3],b=[1,5],T=[1,7],k=[2,5],D=[1,15],O=[1,17],R=[1,19],z=[1,20],U=[1,21],W=[1,22],V=[1,30],X=[1,23],at=[1,24],tt=[1,25],it=[1,26],ut=[1,27],St=[1,32],et=[1,33],K=[1,34],ft=[1,35],_t=[1,31],kt=[1,38],pt=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],mt=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Wt=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Rt=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],ye={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"-->":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,openDirective:31,typeDirective:32,closeDirective:33,":":34,argDirective:35,direction_tb:36,direction_bt:37,direction_rl:38,direction_lr:39,eol:40,";":41,EDGE_STATE:42,left_of:43,right_of:44,open_directive:45,type_directive:46,arg_directive:47,close_directive:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"-->",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",34:":",36:"direction_tb",37:"direction_bt",38:"direction_rl",39:"direction_lr",41:";",42:"EDGE_STATE",43:"left_of",44:"right_of",45:"open_directive",46:"type_directive",47:"arg_directive",48:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[40,1],[40,1],[11,1],[11,1],[28,1],[28,1],[31,1],[32,1],[35,1],[33,1]],performAction:function(Ot,Xt,se,le,me,Lt,qe){var he=Lt.length-1;switch(me){case 4:return le.setRootDoc(Lt[he]),Lt[he];case 5:this.$=[];break;case 6:Lt[he]!="nl"&&(Lt[he-1].push(Lt[he]),this.$=Lt[he-1]);break;case 7:case 8:case 36:case 37:this.$=Lt[he];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:Lt[he],type:"default",description:""};break;case 11:this.$={stmt:"state",id:Lt[he-1],type:"default",description:le.trimColon(Lt[he])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:Lt[he-2],type:"default",description:""},state2:{stmt:"state",id:Lt[he],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:Lt[he-3],type:"default",description:""},state2:{stmt:"state",id:Lt[he-1],type:"default",description:""},description:Lt[he].substr(1).trim()};break;case 17:this.$={stmt:"state",id:Lt[he-3],type:"default",description:"",doc:Lt[he-1]};break;case 18:var zt=Lt[he],te=Lt[he-2].trim();if(Lt[he].match(":")){var ct=Lt[he].split(":");zt=ct[0],te=[te,ct[1]]}this.$={stmt:"state",id:zt,type:"default",description:te};break;case 19:this.$={stmt:"state",id:Lt[he-3],type:"default",description:Lt[he-5],doc:Lt[he-1]};break;case 20:this.$={stmt:"state",id:Lt[he],type:"fork"};break;case 21:this.$={stmt:"state",id:Lt[he],type:"join"};break;case 22:this.$={stmt:"state",id:Lt[he],type:"choice"};break;case 23:this.$={stmt:"state",id:le.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:Lt[he-1].trim(),note:{position:Lt[he-2].trim(),text:Lt[he].trim()}};break;case 30:le.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:le.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:le.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:le.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:le.parseDirective("%%{","open_directive");break;case 41:le.parseDirective(Lt[he],"type_directive");break;case 42:Lt[he]=Lt[he].trim().replace(/'/g,'"'),le.parseDirective(Lt[he],"arg_directive");break;case 43:le.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:y,5:p,6:4,7:b,31:6,45:T},{1:[3]},{3:8,4:y,5:p,6:4,7:b,31:6,45:T},{3:9,4:y,5:p,6:4,7:b,31:6,45:T},{3:10,4:y,5:p,6:4,7:b,31:6,45:T},c([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],k,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:D,5:O,6:28,9:14,10:16,11:18,14:R,15:z,17:U,20:W,22:V,23:X,24:at,25:tt,26:it,27:ut,30:29,31:6,36:St,37:et,38:K,39:ft,42:_t,45:T},{33:36,34:[1,37],48:kt},c([34,48],[2,41]),c(pt,[2,6]),{6:28,10:39,11:18,14:R,15:z,17:U,20:W,22:V,23:X,24:at,25:tt,26:it,27:ut,30:29,31:6,36:St,37:et,38:K,39:ft,42:_t,45:T},c(pt,[2,8]),c(pt,[2,9]),c(pt,[2,10],{12:[1,40],13:[1,41]}),c(pt,[2,14]),{16:[1,42]},c(pt,[2,16],{18:[1,43]}),{21:[1,44]},c(pt,[2,20]),c(pt,[2,21]),c(pt,[2,22]),c(pt,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},c(pt,[2,26]),c(pt,[2,27]),c(mt,[2,36]),c(mt,[2,37]),c(pt,[2,30]),c(pt,[2,31]),c(pt,[2,32]),c(pt,[2,33]),c(Wt,[2,28]),{35:49,47:[1,50]},c(Wt,[2,43]),c(pt,[2,7]),c(pt,[2,11]),{11:51,22:V,42:_t},c(pt,[2,15]),c(Rt,k,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:kt},{48:[2,42]},c(pt,[2,12],{12:[1,57]}),{4:D,5:O,6:28,9:14,10:16,11:18,14:R,15:z,17:U,19:[1,58],20:W,22:V,23:X,24:at,25:tt,26:it,27:ut,30:29,31:6,36:St,37:et,38:K,39:ft,42:_t,45:T},c(pt,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},c(Wt,[2,29]),c(pt,[2,13]),c(pt,[2,17]),c(Rt,k,{8:62}),c(pt,[2,24]),c(pt,[2,25]),{4:D,5:O,6:28,9:14,10:16,11:18,14:R,15:z,17:U,19:[1,63],20:W,22:V,23:X,24:at,25:tt,26:it,27:ut,30:29,31:6,36:St,37:et,38:K,39:ft,42:_t,45:T},c(pt,[2,19])],defaultActions:{7:[2,40],8:[2,1],9:[2,2],10:[2,3],47:[2,38],48:[2,39],50:[2,42]},parseError:function(Ot,Xt){if(!Xt.recoverable){var se=new Error(Ot);throw se.hash=Xt,se}this.trace(Ot)},parse:function(Ot){var Xt=this,se=[0],le=[],me=[null],Lt=[],qe=this.table,he="",zt=0,te=0,ct=0,ne=2,Dt=1,Zt=Lt.slice.call(arguments,1),Ht=Object.create(this.lexer),Nt={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(Nt.yy[oe]=this.yy[oe]);Ht.setInput(Ot,Nt.yy),Nt.yy.lexer=Ht,Nt.yy.parser=this,Ht.yylloc===void 0&&(Ht.yylloc={});var en=Ht.yylloc;Lt.push(en);var ve=Ht.options&&Ht.options.ranges;function Ne(){var on;return typeof(on=le.pop()||Ht.lex()||Dt)!="number"&&(on instanceof Array&&(on=(le=on).pop()),on=Xt.symbols_[on]||on),on}typeof Nt.yy.parseError=="function"?this.parseError=Nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var dn,Xe,Ie,Ae,nn,$e,Ke,Qe,Be,Hn={};;){if(Ie=se[se.length-1],this.defaultActions[Ie]?Ae=this.defaultActions[Ie]:(dn==null&&(dn=Ne()),Ae=qe[Ie]&&qe[Ie][dn]),Ae===void 0||!Ae.length||!Ae[0]){var Me="";for($e in Be=[],qe[Ie])this.terminals_[$e]&&$e>ne&&Be.push("'"+this.terminals_[$e]+"'");Me=Ht.showPosition?"Parse error on line "+(zt+1)+`: +`+Ht.showPosition()+` +Expecting `+Be.join(", ")+", got '"+(this.terminals_[dn]||dn)+"'":"Parse error on line "+(zt+1)+": Unexpected "+(dn==Dt?"end of input":"'"+(this.terminals_[dn]||dn)+"'"),this.parseError(Me,{text:Ht.match,token:this.terminals_[dn]||dn,line:Ht.yylineno,loc:en,expected:Be})}if(Ae[0]instanceof Array&&Ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ie+", token: "+dn);switch(Ae[0]){case 1:se.push(dn),me.push(Ht.yytext),Lt.push(Ht.yylloc),se.push(Ae[1]),dn=null,Xe?(dn=Xe,Xe=null):(te=Ht.yyleng,he=Ht.yytext,zt=Ht.yylineno,en=Ht.yylloc,ct>0);break;case 2:if(Ke=this.productions_[Ae[1]][1],Hn.$=me[me.length-Ke],Hn._$={first_line:Lt[Lt.length-(Ke||1)].first_line,last_line:Lt[Lt.length-1].last_line,first_column:Lt[Lt.length-(Ke||1)].first_column,last_column:Lt[Lt.length-1].last_column},ve&&(Hn._$.range=[Lt[Lt.length-(Ke||1)].range[0],Lt[Lt.length-1].range[1]]),(nn=this.performAction.apply(Hn,[he,te,zt,Nt.yy,Ae[1],me,Lt].concat(Zt)))!==void 0)return nn;Ke&&(se=se.slice(0,-1*Ke*2),me=me.slice(0,-1*Ke),Lt=Lt.slice(0,-1*Ke)),se.push(this.productions_[Ae[1]][0]),me.push(Hn.$),Lt.push(Hn._$),Qe=qe[se[se.length-2]][se[se.length-1]],se.push(Qe);break;case 3:return!0}}return!0}},ge={EOF:1,parseError:function(Ot,Xt){if(!this.yy.parser)throw new Error(Ot);this.yy.parser.parseError(Ot,Xt)},setInput:function(Ot,Xt){return this.yy=Xt||this.yy||{},this._input=Ot,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Ot=this._input[0];return this.yytext+=Ot,this.yyleng++,this.offset++,this.match+=Ot,this.matched+=Ot,Ot.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Ot},unput:function(Ot){var Xt=Ot.length,se=Ot.split(/(?:\r\n?|\n)/g);this._input=Ot+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Xt),this.offset-=Xt;var le=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),se.length-1&&(this.yylineno-=se.length-1);var me=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:se?(se.length===le.length?this.yylloc.first_column:0)+le[le.length-se.length].length-se[0].length:this.yylloc.first_column-Xt},this.options.ranges&&(this.yylloc.range=[me[0],me[0]+this.yyleng-Xt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Ot){this.unput(this.match.slice(Ot))},pastInput:function(){var Ot=this.matched.substr(0,this.matched.length-this.match.length);return(Ot.length>20?"...":"")+Ot.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ot=this.match;return Ot.length<20&&(Ot+=this._input.substr(0,20-Ot.length)),(Ot.substr(0,20)+(Ot.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ot=this.pastInput(),Xt=new Array(Ot.length+1).join("-");return Ot+this.upcomingInput()+` +`+Xt+"^"},test_match:function(Ot,Xt){var se,le,me;if(this.options.backtrack_lexer&&(me={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(me.yylloc.range=this.yylloc.range.slice(0))),(le=Ot[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=le.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:le?le[le.length-1].length-le[le.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ot[0].length},this.yytext+=Ot[0],this.match+=Ot[0],this.matches=Ot,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Ot[0].length),this.matched+=Ot[0],se=this.performAction.call(this,this.yy,this,Xt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),se)return se;if(this._backtrack){for(var Lt in me)this[Lt]=me[Lt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Ot,Xt,se,le;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var me=this._currentRules(),Lt=0;LtXt[0].length)){if(Xt=se,le=Lt,this.options.backtrack_lexer){if((Ot=this.test_match(se,me[Lt]))!==!1)return Ot;if(this._backtrack){Xt=!1;continue}return!1}if(!this.options.flex)break}return Xt?(Ot=this.test_match(Xt,me[le]))!==!1&&Ot:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ot){this.conditionStack.push(Ot)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ot){return(Ot=this.conditionStack.length-1-Math.abs(Ot||0))>=0?this.conditionStack[Ot]:"INITIAL"},pushState:function(Ot){this.begin(Ot)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ot,Xt,se,le){switch(se){case 0:case 26:return 36;case 1:case 27:return 37;case 2:case 28:return 38;case 3:case 29:return 39;case 4:return this.begin("open_directive"),45;case 5:return this.begin("type_directive"),46;case 6:return this.popState(),this.begin("arg_directive"),34;case 7:return this.popState(),this.popState(),48;case 8:return 47;case 9:case 10:case 12:case 13:case 14:case 15:case 39:case 45:break;case 11:case 59:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 33:case 36:this.popState();break;case 19:this.pushState("STATE");break;case 20:case 23:return this.popState(),Xt.yytext=Xt.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),Xt.yytext=Xt.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),Xt.yytext=Xt.yytext.slice(0,-10).trim(),25;case 30:this.begin("STATE_STRING");break;case 31:return this.popState(),this.pushState("STATE_ID"),"AS";case 32:case 47:return this.popState(),"ID";case 34:return"STATE_DESCR";case 35:return 17;case 37:return this.popState(),this.pushState("struct"),18;case 38:return this.popState(),19;case 40:return this.begin("NOTE"),27;case 41:return this.popState(),this.pushState("NOTE_ID"),43;case 42:return this.popState(),this.pushState("NOTE_ID"),44;case 43:this.popState(),this.pushState("FLOATING_NOTE");break;case 44:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 46:return"NOTE_TEXT";case 48:return this.popState(),this.pushState("NOTE_TEXT"),22;case 49:return this.popState(),Xt.yytext=Xt.yytext.substr(2).trim(),29;case 50:return this.popState(),Xt.yytext=Xt.yytext.slice(0,-8).trim(),29;case 51:case 52:return 7;case 53:return 14;case 54:return 42;case 55:return 22;case 56:return Xt.yytext=Xt.yytext.trim(),12;case 57:return 13;case 58:return 26;case 60:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,19,26,27,28,29,38,39,40,54,55,56,57,58],inclusive:!1},FLOATING_NOTE_ID:{rules:[47],inclusive:!1},FLOATING_NOTE:{rules:[44,45,46],inclusive:!1},NOTE_TEXT:{rules:[49,50],inclusive:!1},NOTE_ID:{rules:[48],inclusive:!1},NOTE:{rules:[41,42,43],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[32],inclusive:!1},STATE_STRING:{rules:[33,34],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,20,21,22,23,24,25,30,31,35,36,37],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,37,40,51,52,53,54,55,56,57,59,60],inclusive:!0}}};function pe(){this.yy={}}return ye.lexer=ge,pe.prototype=ye,ye.Parser=pe,new pe}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(3069).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},9763:(r,s,o)=>{r=o.nmd(r);var h=function(){var c=function(V,X,at,tt){for(at=at||{},tt=V.length;tt--;at[V[tt]]=X);return at},y=[1,2],p=[1,5],b=[6,9,11,17,18,19,21],T=[1,15],k=[1,16],D=[1,17],O=[1,21],R=[4,6,9,11,17,18,19,21],z={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,section:18,taskName:19,taskData:20,open_directive:21,type_directive:22,arg_directive:23,close_directive:24,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"section",19:"taskName",20:"taskData",21:"open_directive",22:"type_directive",23:"arg_directive",24:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(V,X,at,tt,it,ut,St){var et=ut.length-1;switch(it){case 1:return ut[et-1];case 3:case 7:case 8:this.$=[];break;case 4:ut[et-1].push(ut[et]),this.$=ut[et-1];break;case 5:case 6:this.$=ut[et];break;case 11:tt.setTitle(ut[et].substr(6)),this.$=ut[et].substr(6);break;case 12:tt.addSection(ut[et].substr(8)),this.$=ut[et].substr(8);break;case 13:tt.addTask(ut[et-1],ut[et]),this.$="task";break;case 15:tt.parseDirective("%%{","open_directive");break;case 16:tt.parseDirective(ut[et],"type_directive");break;case 17:ut[et]=ut[et].trim().replace(/'/g,'"'),tt.parseDirective(ut[et],"arg_directive");break;case 18:tt.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:y,7:3,12:4,21:p},{1:[3]},c(b,[2,3],{5:6}),{3:7,4:y,7:3,12:4,21:p},{13:8,22:[1,9]},{22:[2,15]},{6:[1,10],7:18,8:11,9:[1,12],10:13,11:[1,14],12:4,17:T,18:k,19:D,21:p},{1:[2,2]},{14:19,15:[1,20],24:O},c([15,24],[2,16]),c(b,[2,8],{1:[2,1]}),c(b,[2,4]),{7:18,10:22,12:4,17:T,18:k,19:D,21:p},c(b,[2,6]),c(b,[2,7]),c(b,[2,11]),c(b,[2,12]),{20:[1,23]},c(b,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},c(b,[2,5]),c(b,[2,13]),c(R,[2,9]),{14:27,24:O},{24:[2,17]},{11:[1,28]},c(R,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(V,X){if(!X.recoverable){var at=new Error(V);throw at.hash=X,at}this.trace(V)},parse:function(V){var X=this,at=[0],tt=[],it=[null],ut=[],St=this.table,et="",K=0,ft=0,_t=0,kt=2,pt=1,mt=ut.slice.call(arguments,1),Wt=Object.create(this.lexer),Rt={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&(Rt.yy[ye]=this.yy[ye]);Wt.setInput(V,Rt.yy),Rt.yy.lexer=Wt,Rt.yy.parser=this,Wt.yylloc===void 0&&(Wt.yylloc={});var ge=Wt.yylloc;ut.push(ge);var pe=Wt.options&&Wt.options.ranges;function Ot(){var Dt;return typeof(Dt=tt.pop()||Wt.lex()||pt)!="number"&&(Dt instanceof Array&&(Dt=(tt=Dt).pop()),Dt=X.symbols_[Dt]||Dt),Dt}typeof Rt.yy.parseError=="function"?this.parseError=Rt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Xt,se,le,me,Lt,qe,he,zt,te,ct={};;){if(le=at[at.length-1],this.defaultActions[le]?me=this.defaultActions[le]:(Xt==null&&(Xt=Ot()),me=St[le]&&St[le][Xt]),me===void 0||!me.length||!me[0]){var ne="";for(qe in te=[],St[le])this.terminals_[qe]&&qe>kt&&te.push("'"+this.terminals_[qe]+"'");ne=Wt.showPosition?"Parse error on line "+(K+1)+`: +`+Wt.showPosition()+` +Expecting `+te.join(", ")+", got '"+(this.terminals_[Xt]||Xt)+"'":"Parse error on line "+(K+1)+": Unexpected "+(Xt==pt?"end of input":"'"+(this.terminals_[Xt]||Xt)+"'"),this.parseError(ne,{text:Wt.match,token:this.terminals_[Xt]||Xt,line:Wt.yylineno,loc:ge,expected:te})}if(me[0]instanceof Array&&me.length>1)throw new Error("Parse Error: multiple actions possible at state: "+le+", token: "+Xt);switch(me[0]){case 1:at.push(Xt),it.push(Wt.yytext),ut.push(Wt.yylloc),at.push(me[1]),Xt=null,se?(Xt=se,se=null):(ft=Wt.yyleng,et=Wt.yytext,K=Wt.yylineno,ge=Wt.yylloc,_t>0);break;case 2:if(he=this.productions_[me[1]][1],ct.$=it[it.length-he],ct._$={first_line:ut[ut.length-(he||1)].first_line,last_line:ut[ut.length-1].last_line,first_column:ut[ut.length-(he||1)].first_column,last_column:ut[ut.length-1].last_column},pe&&(ct._$.range=[ut[ut.length-(he||1)].range[0],ut[ut.length-1].range[1]]),(Lt=this.performAction.apply(ct,[et,ft,K,Rt.yy,me[1],it,ut].concat(mt)))!==void 0)return Lt;he&&(at=at.slice(0,-1*he*2),it=it.slice(0,-1*he),ut=ut.slice(0,-1*he)),at.push(this.productions_[me[1]][0]),it.push(ct.$),ut.push(ct._$),zt=St[at[at.length-2]][at[at.length-1]],at.push(zt);break;case 3:return!0}}return!0}},U={EOF:1,parseError:function(V,X){if(!this.yy.parser)throw new Error(V);this.yy.parser.parseError(V,X)},setInput:function(V,X){return this.yy=X||this.yy||{},this._input=V,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var V=this._input[0];return this.yytext+=V,this.yyleng++,this.offset++,this.match+=V,this.matched+=V,V.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),V},unput:function(V){var X=V.length,at=V.split(/(?:\r\n?|\n)/g);this._input=V+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-X),this.offset-=X;var tt=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),at.length-1&&(this.yylineno-=at.length-1);var it=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:at?(at.length===tt.length?this.yylloc.first_column:0)+tt[tt.length-at.length].length-at[0].length:this.yylloc.first_column-X},this.options.ranges&&(this.yylloc.range=[it[0],it[0]+this.yyleng-X]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(V){this.unput(this.match.slice(V))},pastInput:function(){var V=this.matched.substr(0,this.matched.length-this.match.length);return(V.length>20?"...":"")+V.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var V=this.match;return V.length<20&&(V+=this._input.substr(0,20-V.length)),(V.substr(0,20)+(V.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var V=this.pastInput(),X=new Array(V.length+1).join("-");return V+this.upcomingInput()+` +`+X+"^"},test_match:function(V,X){var at,tt,it;if(this.options.backtrack_lexer&&(it={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(it.yylloc.range=this.yylloc.range.slice(0))),(tt=V[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=tt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:tt?tt[tt.length-1].length-tt[tt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+V[0].length},this.yytext+=V[0],this.match+=V[0],this.matches=V,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(V[0].length),this.matched+=V[0],at=this.performAction.call(this,this.yy,this,X,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),at)return at;if(this._backtrack){for(var ut in it)this[ut]=it[ut];return!1}return!1},next:function(){if(this.done)return this.EOF;var V,X,at,tt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var it=this._currentRules(),ut=0;utX[0].length)){if(X=at,tt=ut,this.options.backtrack_lexer){if((V=this.test_match(at,it[ut]))!==!1)return V;if(this._backtrack){X=!1;continue}return!1}if(!this.options.flex)break}return X?(V=this.test_match(X,it[tt]))!==!1&&V:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(V){this.conditionStack.push(V)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(V){return(V=this.conditionStack.length-1-Math.abs(V||0))>=0?this.conditionStack[V]:"INITIAL"},pushState:function(V){this.begin(V)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(V,X,at,tt){switch(at){case 0:return this.begin("open_directive"),21;case 1:return this.begin("type_directive"),22;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),24;case 4:return 23;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 15:return 15;case 16:return 6;case 17:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};function W(){this.yy={}}return z.lexer=U,W.prototype=z,z.Parser=W,new W}();s.parser=h,s.Parser=h.Parser,s.parse=function(){return h.parse.apply(h,arguments)},s.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=o(9143).readFileSync(o(6470).normalize(c[1]),"utf8");return s.parser.parse(y)},o.c[o.s]===r&&s.main(process.argv.slice(1))},9609:r=>{var s=/^(%20|\s)*(javascript|data)/im,o=/[^\x20-\x7E]/gim,h=/^([^:]+):/gm,c=[".","/"];r.exports={sanitizeUrl:function(y){if(!y)return"about:blank";var p,b,T=y.replace(o,"").trim();return function(k){return c.indexOf(k[0])>-1}(T)?T:(b=T.match(h))?(p=b[0],s.test(p)?"about:blank":T):"about:blank"}}},3841:r=>{r.exports=function(s,o){return s.intersect(o)}},7458:(r,s,o)=>{o.d(s,{Z:()=>iT});var h=o(1941),c=o.n(h),y={debug:1,info:2,warn:3,error:4,fatal:5},p={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},b=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"fatal";isNaN(t)&&(t=t.toLowerCase(),y[t]!==void 0&&(t=y[t])),p.trace=function(){},p.debug=function(){},p.info=function(){},p.warn=function(){},p.error=function(){},p.fatal=function(){},t<=y.fatal&&(p.fatal=console.error?console.error.bind(console,T("FATAL"),"color: orange"):console.log.bind(console,"",T("FATAL"))),t<=y.error&&(p.error=console.error?console.error.bind(console,T("ERROR"),"color: orange"):console.log.bind(console,"",T("ERROR"))),t<=y.warn&&(p.warn=console.warn?console.warn.bind(console,T("WARN"),"color: orange"):console.log.bind(console,"",T("WARN"))),t<=y.info&&(p.info=console.info?console.info.bind(console,T("INFO"),"color: lightblue"):console.log.bind(console,"",T("INFO"))),t<=y.debug&&(p.debug=console.debug?console.debug.bind(console,T("DEBUG"),"color: lightgreen"):console.log.bind(console,"",T("DEBUG")))},T=function(t){var e=c()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function k(t,e){let i;if(e===void 0)for(const u of t)u!=null&&(i=u)&&(i=u);else{let u=-1;for(let d of t)(d=e(d,++u,t))!=null&&(i=d)&&(i=d)}return i}function D(t,e){let i;if(e===void 0)for(const u of t)u!=null&&(i>u||i===void 0&&u>=u)&&(i=u);else{let u=-1;for(let d of t)(d=e(d,++u,t))!=null&&(i>d||i===void 0&&d>=d)&&(i=d)}return i}function O(t){return t}var R=1e-6;function z(t){return"translate("+t+",0)"}function U(t){return"translate(0,"+t+")"}function W(t){return e=>+t(e)}function V(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}function X(){return!this.__axis}function at(t,e){var i=[],u=null,d=null,g=6,v=6,w=3,C=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,S=t===1||t===4?-1:1,L=t===4||t===2?"x":"y",j=t===1||t===3?z:U;function Y(q){var lt=u==null?e.ticks?e.ticks.apply(e,i):e.domain():u,nt=d==null?e.tickFormat?e.tickFormat.apply(e,i):O:d,vt=Math.max(g,0)+w,gt=e.range(),Tt=+gt[0]+C,Ct=+gt[gt.length-1]+C,Pt=(e.bandwidth?V:W)(e.copy(),C),Gt=q.selection?q.selection():q,At=Gt.selectAll(".domain").data([null]),ee=Gt.selectAll(".tick").data(lt,e).order(),re=ee.exit(),Et=ee.enter().append("g").attr("class","tick"),It=ee.select("line"),Mt=ee.select("text");At=At.merge(At.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ee=ee.merge(Et),It=It.merge(Et.append("line").attr("stroke","currentColor").attr(L+"2",S*g)),Mt=Mt.merge(Et.append("text").attr("fill","currentColor").attr(L,S*vt).attr("dy",t===1?"0em":t===3?"0.71em":"0.32em")),q!==Gt&&(At=At.transition(q),ee=ee.transition(q),It=It.transition(q),Mt=Mt.transition(q),re=re.transition(q).attr("opacity",R).attr("transform",function(bt){return isFinite(bt=Pt(bt))?j(bt+C):this.getAttribute("transform")}),Et.attr("opacity",R).attr("transform",function(bt){var Ft=this.parentNode.__axis;return j((Ft&&isFinite(Ft=Ft(bt))?Ft:Pt(bt))+C)})),re.remove(),At.attr("d",t===4||t===2?v?"M"+S*v+","+Tt+"H"+C+"V"+Ct+"H"+S*v:"M"+C+","+Tt+"V"+Ct:v?"M"+Tt+","+S*v+"V"+C+"H"+Ct+"V"+S*v:"M"+Tt+","+C+"H"+Ct),ee.attr("opacity",1).attr("transform",function(bt){return j(Pt(bt)+C)}),It.attr(L+"2",S*g),Mt.attr(L,S*vt).text(nt),Gt.filter(X).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===2?"start":t===4?"end":"middle"),Gt.each(function(){this.__axis=Pt})}return Y.scale=function(q){return arguments.length?(e=q,Y):e},Y.ticks=function(){return i=Array.from(arguments),Y},Y.tickArguments=function(q){return arguments.length?(i=q==null?[]:Array.from(q),Y):i.slice()},Y.tickValues=function(q){return arguments.length?(u=q==null?null:Array.from(q),Y):u&&u.slice()},Y.tickFormat=function(q){return arguments.length?(d=q,Y):d},Y.tickSize=function(q){return arguments.length?(g=v=+q,Y):g},Y.tickSizeInner=function(q){return arguments.length?(g=+q,Y):g},Y.tickSizeOuter=function(q){return arguments.length?(v=+q,Y):v},Y.tickPadding=function(q){return arguments.length?(w=+q,Y):w},Y.offset=function(q){return arguments.length?(C=+q,Y):C},Y}function tt(){}function it(t){return t==null?tt:function(){return this.querySelector(t)}}function ut(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function St(){return[]}function et(t){return t==null?St:function(){return this.querySelectorAll(t)}}function K(t){return function(){return this.matches(t)}}function ft(t){return function(e){return e.matches(t)}}var _t=Array.prototype.find;function kt(){return this.firstElementChild}var pt=Array.prototype.filter;function mt(){return Array.from(this.children)}function Wt(t){return new Array(t.length)}function Rt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function ye(t){return function(){return t}}function ge(t,e,i,u,d,g){for(var v,w=0,C=e.length,S=g.length;we?1:t>=e?0:NaN}Rt.prototype={constructor:Rt,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 le="http://www.w3.org/1999/xhtml";const me={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Lt(t){var e=t+="",i=e.indexOf(":");return i>=0&&(e=t.slice(0,i))!=="xmlns"&&(t=t.slice(i+1)),me.hasOwnProperty(e)?{space:me[e],local:t}:t}function qe(t){return function(){this.removeAttribute(t)}}function he(t){return function(){this.removeAttributeNS(t.space,t.local)}}function zt(t,e){return function(){this.setAttribute(t,e)}}function te(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function ct(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttribute(t):this.setAttribute(t,i)}}function ne(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function Dt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Zt(t){return function(){this.style.removeProperty(t)}}function Ht(t,e,i){return function(){this.style.setProperty(t,e,i)}}function Nt(t,e,i){return function(){var u=e.apply(this,arguments);u==null?this.style.removeProperty(t):this.style.setProperty(t,u,i)}}function oe(t,e){return t.style.getPropertyValue(e)||Dt(t).getComputedStyle(t,null).getPropertyValue(e)}function en(t){return function(){delete this[t]}}function ve(t,e){return function(){this[t]=e}}function Ne(t,e){return function(){var i=e.apply(this,arguments);i==null?delete this[t]:this[t]=i}}function dn(t){return t.trim().split(/^|\s+/)}function Xe(t){return t.classList||new Ie(t)}function Ie(t){this._node=t,this._names=dn(t.getAttribute("class")||"")}function Ae(t,e){for(var i=Xe(t),u=-1,d=e.length;++u=0&&(i=e.slice(u+1),e=e.slice(0,u)),{type:e,name:i}})}function Sn(t){return function(){var e=this.__on;if(e){for(var i,u=0,d=-1,g=e.length;u=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var rr=[null];function On(t,e){this._groups=t,this._parents=e}function Pn(){return new On([[document.documentElement]],rr)}On.prototype=Pn.prototype={constructor:On,select:function(t){typeof t!="function"&&(t=it(t));for(var e=this._groups,i=e.length,u=new Array(i),d=0;d=Gt&&(Gt=Pt+1);!(Ct=vt[Gt])&&++Gt=0;)(u=d[g])&&(v&&4^u.compareDocumentPosition(v)&&v.parentNode.insertBefore(u,v),v=u);return this},sort:function(t){function e(j,Y){return j&&Y?t(j.__data__,Y.__data__):!j-!Y}t||(t=se);for(var i=this._groups,u=i.length,d=new Array(u),g=0;g1?this.each((e==null?Zt:typeof e=="function"?Nt:Ht)(t,e,i==null?"":i)):oe(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?en:typeof e=="function"?Ne:ve)(t,e)):this.node()[t]},classed:function(t,e){var i=dn(t+"");if(arguments.length<2){for(var u=Xe(this.node()),d=-1,g=i.length;++d{}};function bn(){for(var t,e=0,i=arguments.length,u={};e=0&&(u=i.slice(d+1),i=i.slice(0,d)),i&&!e.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:u}})}function Qi(t,e){for(var i,u=0,d=t.length;u0)for(var i,u,d=new Array(i),g=0;g=0&&e._call.call(void 0,t),e=e._next;--Hr})()}finally{Hr=0,function(){for(var t,e,i=Sa,u=1/0;i;)i._call?(u>i._time&&(u=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:Sa=e);pi=t,Co(u)}(),Pr=0}}function Aa(){var t=Wr.now(),e=t-si;e>1e3&&(ci-=e,si=t)}function Co(t){Hr||(Gr&&(Gr=clearTimeout(Gr)),t-Pr>24?(t<1/0&&(Gr=setTimeout(ui,t-Wr.now()-ci)),ii&&(ii=clearInterval(ii))):(ii||(si=Wr.now(),ii=setInterval(Aa,1e3)),Hr=1,Ui(ui)))}function bi(t,e,i){var u=new ei;return e=e==null?0:+e,u.restart(d=>{u.stop(),t(d+e)},e,i),u}ei.prototype=Ca.prototype={constructor:ei,restart:function(t,e,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?_i():+i)+(e==null?0:+e),this._next||pi===this||(pi?pi._next=this:Sa=this,pi=this),this._call=t,this._time=i,Co()},stop:function(){this._call&&(this._call=null,this._time=1/0,Co())}};var sn=zo("start","end","cancel","interrupt"),Qn=[];function Mn(t,e,i,u,d,g){var v=t.__transition;if(v){if(i in v)return}else t.__transition={};(function(w,C,S){var L,j=w.__transition;function Y(nt){var vt,gt,Tt,Ct;if(S.state!==1)return lt();for(vt in j)if((Ct=j[vt]).name===S.name){if(Ct.state===3)return bi(Y);Ct.state===4?(Ct.state=6,Ct.timer.stop(),Ct.on.call("interrupt",w,w.__data__,Ct.index,Ct.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return i}function Jn(t,e){var i=yt(t,e);if(i.state>3)throw new Error("too late; already running");return i}function yt(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function ai(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var Kt,$i=180/Math.PI,ca={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function io(t,e,i,u,d,g){var v,w,C;return(v=Math.sqrt(t*t+e*e))&&(t/=v,e/=v),(C=t*i+e*u)&&(i-=t*C,u-=e*C),(w=Math.sqrt(i*i+u*u))&&(i/=w,u/=w,C/=w),t*u180?L+=360:L-S>180&&(S+=360),Y.push({i:j.push(d(j)+"rotate(",null,u)-2,x:ai(S,L)})):L&&j.push(d(j)+"rotate("+L+u)}(g.rotate,v.rotate,w,C),function(S,L,j,Y){S!==L?Y.push({i:j.push(d(j)+"skewX(",null,u)-2,x:ai(S,L)}):L&&j.push(d(j)+"skewX("+L+u)}(g.skewX,v.skewX,w,C),function(S,L,j,Y,q,lt){if(S!==j||L!==Y){var nt=q.push(d(q)+"scale(",null,",",null,")");lt.push({i:nt-4,x:ai(S,j)},{i:nt-2,x:ai(L,Y)})}else j===1&&Y===1||q.push(d(q)+"scale("+j+","+Y+")")}(g.scaleX,g.scaleY,v.scaleX,v.scaleY,w,C),g=v=null,function(S){for(var L,j=-1,Y=C.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):i===8?hi(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):i===4?hi(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=oi.exec(t))?new Kr(e[1],e[2],e[3],1):(e=la.exec(t))?new Kr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ji.exec(t))?hi(e[1],e[2],e[3],e[4]):(e=Hi.exec(t))?hi(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Mo.exec(t))?Do(e[1],e[2]/100,e[3]/100,1):(e=Bt.exec(t))?Do(e[1],e[2]/100,e[3]/100,e[4]):He.hasOwnProperty(t)?Di(He[t]):t==="transparent"?new Kr(NaN,NaN,NaN,0):null}function Di(t){return new Kr(t>>16&255,t>>8&255,255&t,1)}function hi(t,e,i,u){return u<=0&&(t=e=i=NaN),new Kr(t,e,i,u)}function Zs(t){return t instanceof br||(t=Er(t)),t?new Kr((t=t.rgb()).r,t.g,t.b,t.opacity):new Kr}function ba(t,e,i,u){return arguments.length===1?Zs(t):new Kr(t,e,i,u==null?1:u)}function Kr(t,e,i,u){this.r=+t,this.g=+e,this.b=+i,this.opacity=+u}function Oc(){return"#"+vu(this.r)+vu(this.g)+vu(this.b)}function oo(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function vu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Do(t,e,i,u){return u<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new ta(t,e,i,u)}function _u(t){if(t instanceof ta)return new ta(t.h,t.s,t.l,t.opacity);if(t instanceof br||(t=Er(t)),!t)return new ta;if(t instanceof ta)return t;var e=(t=t.rgb()).r/255,i=t.g/255,u=t.b/255,d=Math.min(e,i,u),g=Math.max(e,i,u),v=NaN,w=g-d,C=(g+d)/2;return w?(v=e===g?(i-u)/w+6*(i0&&C<1?0:v,new ta(v,w,C,t.opacity)}function ta(t,e,i,u){this.h=+t,this.s=+e,this.l=+i,this.opacity=+u}function fi(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}qa(br,Er,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ze,formatHex:ze,formatHsl:function(){return _u(this).formatHsl()},formatRgb:wr,toString:wr}),qa(Kr,ba,ao(br,{brighter:function(t){return t=t==null?Mi:Math.pow(Mi,t),new Kr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Or:Math.pow(Or,t),new Kr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){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:Oc,formatHex:Oc,formatRgb:oo,toString:oo})),qa(ta,function(t,e,i,u){return arguments.length===1?_u(t):new ta(t,e,i,u==null?1:u)},ao(br,{brighter:function(t){return t=t==null?Mi:Math.pow(Mi,t),new ta(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Or:Math.pow(Or,t),new ta(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,u=i+(i<.5?i:1-i)*e,d=2*i-u;return new Kr(fi(t>=240?t-240:t+120,d,u),fi(t,d,u),fi(t<120?t+240:t-120,d,u),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const _l=t=>()=>t;function bl(t,e){var i=e-t;return i?function(u,d){return function(g){return u+g*d}}(t,i):_l(isNaN(t)?e:t)}const wl=function t(e){var i=function(d){return(d=+d)==1?bl:function(g,v){return v-g?function(w,C,S){return w=Math.pow(w,S),C=Math.pow(C,S)-w,S=1/S,function(L){return Math.pow(w+L*C,S)}}(g,v,d):_l(isNaN(g)?v:g)}}(e);function u(d,g){var v=i((d=ba(d)).r,(g=ba(g)).r),w=i(d.g,g.g),C=i(d.b,g.b),S=bl(d.opacity,g.opacity);return function(L){return d.r=v(L),d.g=w(L),d.b=C(L),d.opacity=S(L),d+""}}return u.gamma=t,u}(1);var so=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xl=new RegExp(so.source,"g");function kl(t,e){var i,u,d,g=so.lastIndex=xl.lastIndex=0,v=-1,w=[],C=[];for(t+="",e+="";(i=so.exec(t))&&(u=xl.exec(e));)(d=u.index)>g&&(d=e.slice(g,d),w[v]?w[v]+=d:w[++v]=d),(i=i[0])===(u=u[0])?w[v]?w[v]+=u:w[++v]=u:(w[++v]=null,C.push({i:v,x:ai(i,u)})),g=xl.lastIndex;return g=0&&(w=w.slice(0,C)),!w||w==="start"})}(e)?Re:Jn;return function(){var v=g(this,t),w=v.on;w!==u&&(d=(u=w).copy()).on(e,i),v.on=d}}var u0=fn.prototype.constructor;function Ma(t){return function(){this.style.removeProperty(t)}}function l0(t,e,i){return function(u){this.style.setProperty(t,e.call(this,u),i)}}function tf(t,e,i){var u,d;function g(){var v=e.apply(this,arguments);return v!==d&&(u=(d=v)&&l0(t,v,i)),u}return g._value=e,g}function ef(t){return function(e){this.textContent=t.call(this,e)}}function Wo(t){var e,i;function u(){var d=t.apply(this,arguments);return d!==i&&(e=(i=d)&&ef(d)),e}return u._value=t,u}var xu=0;function uo(t,e,i,u){this._groups=t,this._parents=e,this._name=i,this._id=u}function ku(){return++xu}var Da=fn.prototype;uo.prototype={constructor:uo,select:function(t){var e=this._name,i=this._id;typeof t!="function"&&(t=it(t));for(var u=this._groups,d=u.length,g=new Array(d),v=0;v2&&u.state<5,u.state=6,u.timer.stop(),u.on.call(d?"interrupt":"cancel",e,e.__data__,u.index,u.group),delete v[g]):w=!1;w&&delete e.__transition}})(this,t)})},fn.prototype.transition=function(t){var e,i;t instanceof uo?(e=t._id,t=t._name):(e=ku(),(i=Xs).time=_i(),t=t==null?null:t+"");for(var u=this._groups,d=u.length,g=0;g>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):i===8?dr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):i===4?dr(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=G.exec(t))?new hr(e[1],e[2],e[3],1):(e=st.exec(t))?new hr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=qt.exec(t))?dr(e[1],e[2],e[3],e[4]):(e=de.exec(t))?dr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=xe.exec(t))?mg(e[1],e[2]/100,e[3]/100,1):(e=De.exec(t))?mg(e[1],e[2]/100,e[3]/100,e[4]):Oe.hasOwnProperty(t)?gn(Oe[t]):t==="transparent"?new hr(NaN,NaN,NaN,0):null}function gn(t){return new hr(t>>16&255,t>>8&255,255&t,1)}function dr(t,e,i,u){return u<=0&&(t=e=i=NaN),new hr(t,e,i,u)}function gr(t){return t instanceof xi||(t=Tn(t)),t?new hr((t=t.rgb()).r,t.g,t.b,t.opacity):new hr}function jr(t,e,i,u){return arguments.length===1?gr(t):new hr(t,e,i,u==null?1:u)}function hr(t,e,i,u){this.r=+t,this.g=+e,this.b=+i,this.opacity=+u}function Na(){return"#"+nf(this.r)+nf(this.g)+nf(this.b)}function Ks(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function nf(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function mg(t,e,i,u){return u<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Vo(t,e,i,u)}function rf(t){if(t instanceof Vo)return new Vo(t.h,t.s,t.l,t.opacity);if(t instanceof xi||(t=Tn(t)),!t)return new Vo;if(t instanceof Vo)return t;var e=(t=t.rgb()).r/255,i=t.g/255,u=t.b/255,d=Math.min(e,i,u),g=Math.max(e,i,u),v=NaN,w=g-d,C=(g+d)/2;return w?(v=e===g?(i-u)/w+6*(i0&&C<1?0:v,new Vo(v,w,C,t.opacity)}function Vo(t,e,i,u){this.h=+t,this.s=+e,this.l=+i,this.opacity=+u}function af(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}qo(xi,Tn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ue,formatHex:Ue,formatHsl:function(){return rf(this).formatHsl()},formatRgb:Ge,toString:Ge}),qo(hr,jr,ea(xi,{brighter:function(t){return t=t==null?Ga:Math.pow(Ga,t),new hr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?lo:Math.pow(lo,t),new hr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){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:Na,formatHex:Na,formatRgb:Ks,toString:Ks})),qo(Vo,function(t,e,i,u){return arguments.length===1?rf(t):new Vo(t,e,i,u==null?1:u)},ea(xi,{brighter:function(t){return t=t==null?Ga:Math.pow(Ga,t),new Vo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?lo:Math.pow(lo,t),new Vo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,u=i+(i<.5?i:1-i)*e,d=2*i-u;return new hr(af(t>=240?t-240:t+120,d,u),af(t,d,u),af(t<120?t+240:t-120,d,u),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Tv=Math.PI/180,Ev=180/Math.PI,vg=.96422,_g=.82521,Sv=4/29,bg=6/29,h0=3*bg*bg;function wg(t){if(t instanceof vs)return new vs(t.l,t.a,t.b,t.opacity);if(t instanceof Qs)return Cv(t);t instanceof hr||(t=gr(t));var e,i,u=Eg(t.r),d=Eg(t.g),g=Eg(t.b),v=xg((.2225045*u+.7168786*d+.0606169*g)/1);return u===d&&d===g?e=i=v:(e=xg((.4360747*u+.3850649*d+.1430804*g)/vg),i=xg((.0139322*u+.0971045*d+.7141733*g)/_g)),new vs(116*v-16,500*(e-v),200*(v-i),t.opacity)}function vs(t,e,i,u){this.l=+t,this.a=+e,this.b=+i,this.opacity=+u}function xg(t){return t>.008856451679035631?Math.pow(t,1/3):t/h0+Sv}function kg(t){return t>bg?t*t*t:h0*(t-Sv)}function Tg(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Eg(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Yw(t){if(t instanceof Qs)return new Qs(t.h,t.c,t.l,t.opacity);if(t instanceof vs||(t=wg(t)),t.a===0&&t.b===0)return new Qs(NaN,0()=>t;function Av(t,e){return function(i){return t+i*e}}function of(t,e){var i=e-t;return i?Av(t,i):Cg(isNaN(t)?e:t)}function jw(t){return function(e,i){var u=t((e=Sg(e)).h,(i=Sg(i)).h),d=of(e.c,i.c),g=of(e.l,i.l),v=of(e.opacity,i.opacity);return function(w){return e.h=u(w),e.c=d(w),e.l=g(w),e.opacity=v(w),e+""}}}const zw=jw(function(t,e){var i=e-t;return i?Av(t,i>180||i<-180?i-360*Math.round(i/360):i):Cg(isNaN(t)?e:t)});var Ag=Math.sqrt(50),Mg=Math.sqrt(10),Dg=Math.sqrt(2);function Ng(t,e,i){var u=(e-t)/Math.max(0,i),d=Math.floor(Math.log(u)/Math.LN10),g=u/Math.pow(10,d);return d>=0?(g>=Ag?10:g>=Mg?5:g>=Dg?2:1)*Math.pow(10,d):-Math.pow(10,-d)/(g>=Ag?10:g>=Mg?5:g>=Dg?2:1)}function Og(t,e,i){var u=Math.abs(e-t)/Math.max(0,i),d=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),g=u/d;return g>=Ag?d*=10:g>=Mg?d*=5:g>=Dg&&(d*=2),ee?1:t>=e?0:NaN}function Bg(t){let e=t,i=t,u=t;function d(g,v,w=0,C=g.length){if(w>>1;u(g[S],v)<0?w=S+1:C=S}while(wt(g)-v,i=Lg,u=(g,v)=>Lg(t(g),v)),{left:d,center:function(g,v,w=0,C=g.length){const S=d(g,v,w,C-1);return S>w&&e(g[S-1],v)>-e(g[S],v)?S-1:S},right:function(g,v,w=0,C=g.length){if(w>>1;u(g[S],v)<=0?w=S+1:C=S}while(w>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):i===8?m0(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):i===4?m0(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=Ww.exec(t))?new ho(e[1],e[2],e[3],1):(e=Rg.exec(t))?new ho(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=qw.exec(t))?m0(e[1],e[2],e[3],e[4]):(e=Mv.exec(t))?m0(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Fg.exec(t))?Nv(e[1],e[2]/100,e[3]/100,1):(e=Dv.exec(t))?Nv(e[1],e[2]/100,e[3]/100,e[4]):g0.hasOwnProperty(t)?y0(g0[t]):t==="transparent"?new ho(NaN,NaN,NaN,0):null}function y0(t){return new ho(t>>16&255,t>>8&255,255&t,1)}function m0(t,e,i,u){return u<=0&&(t=e=i=NaN),new ho(t,e,i,u)}function v0(t){return t instanceof bs||(t=Cl(t)),t?new ho((t=t.rgb()).r,t.g,t.b,t.opacity):new ho}function Al(t,e,i,u){return arguments.length===1?v0(t):new ho(t,e,i,u==null?1:u)}function ho(t,e,i,u){this.r=+t,this.g=+e,this.b=+i,this.opacity=+u}function xs(){return"#"+_0(this.r)+_0(this.g)+_0(this.b)}function Pg(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function _0(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Nv(t,e,i,u){return u<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Za(t,e,i,u)}function Ov(t){if(t instanceof Za)return new Za(t.h,t.s,t.l,t.opacity);if(t instanceof bs||(t=Cl(t)),!t)return new Za;if(t instanceof Za)return t;var e=(t=t.rgb()).r/255,i=t.g/255,u=t.b/255,d=Math.min(e,i,u),g=Math.max(e,i,u),v=NaN,w=g-d,C=(g+d)/2;return w?(v=e===g?(i-u)/w+6*(i0&&C<1?0:v,new Za(v,w,C,t.opacity)}function Za(t,e,i,u){this.h=+t,this.s=+e,this.l=+i,this.opacity=+u}function Yg(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}f0(bs,Cl,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Eu,formatHex:Eu,formatHsl:function(){return Ov(this).formatHsl()},formatRgb:Su,toString:Su}),f0(ho,Al,Ig(bs,{brighter:function(t){return t=t==null?p0:Math.pow(p0,t),new ho(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?d0:Math.pow(d0,t),new ho(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){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:xs,formatHex:xs,formatRgb:Pg,toString:Pg})),f0(Za,function(t,e,i,u){return arguments.length===1?Ov(t):new Za(t,e,i,u==null?1:u)},Ig(bs,{brighter:function(t){return t=t==null?p0:Math.pow(p0,t),new Za(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?d0:Math.pow(d0,t),new Za(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,u=i+(i<.5?i:1-i)*e,d=2*i-u;return new ho(Yg(t>=240?t-240:t+120,d,u),Yg(t,d,u),Yg(t<120?t+240:t-120,d,u),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const jg=t=>()=>t;function Lv(t,e){var i=e-t;return i?function(u,d){return function(g){return u+g*d}}(t,i):jg(isNaN(t)?e:t)}const b0=function t(e){var i=function(d){return(d=+d)==1?Lv:function(g,v){return v-g?function(w,C,S){return w=Math.pow(w,S),C=Math.pow(C,S)-w,S=1/S,function(L){return Math.pow(w+L*C,S)}}(g,v,d):jg(isNaN(g)?v:g)}}(e);function u(d,g){var v=i((d=Al(d)).r,(g=Al(g)).r),w=i(d.g,g.g),C=i(d.b,g.b),S=Lv(d.opacity,g.opacity);return function(L){return d.r=v(L),d.g=w(L),d.b=C(L),d.opacity=S(L),d+""}}return u.gamma=t,u}(1);function Vw(t,e){var i,u=e?e.length:0,d=t?Math.min(u,t.length):0,g=new Array(d),v=new Array(u);for(i=0;ig&&(d=e.slice(g,d),w[v]?w[v]+=d:w[++v]=d),(i=i[0])===(u=u[0])?w[v]?w[v]+=u:w[++v]=u:(w[++v]=null,C.push({i:v,x:w0(i,u)})),g=sf.lastIndex;return gq&&(lt=Y,Y=q,q=lt),S=function(vt){return Math.max(Y,Math.min(q,vt))}),u=nt>2?Hg:Xw,d=g=null,j}function j(Y){return Y==null||isNaN(Y=+Y)?i:(d||(d=u(v.map(t),w,C)))(t(S(Y)))}return j.invert=function(Y){return S(e((g||(g=u(w,v.map(t),w0)))(Y)))},j.domain=function(Y){return arguments.length?(v=Array.from(Y,Rv),L()):v.slice()},j.range=function(Y){return arguments.length?(w=Array.from(Y),L()):w.slice()},j.rangeRound=function(Y){return w=Array.from(Y),C=k0,L()},j.clamp=function(Y){return arguments.length?(S=!!Y||Ml,L()):S!==Ml},j.interpolate=function(Y){return arguments.length?(C=Y,L()):C},j.unknown=function(Y){return arguments.length?(i=Y,j):i},function(Y,q){return t=Y,e=q,L()}}()(Ml,Ml)}function Js(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Fv,Wg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function cf(t){if(!(e=Wg.exec(t)))throw new Error("invalid format: "+t);var e;return new tc({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 tc(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}function S0(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,u=t.slice(0,i);return[u.length>1?u[0]+u.slice(2):u,+t.slice(i+1)]}function Dl(t){return(t=S0(Math.abs(t)))?t[1]:NaN}function Pv(t,e){var i=S0(t,e);if(!i)return t+"";var u=i[0],d=i[1];return d<0?"0."+new Array(-d).join("0")+u:u.length>d+1?u.slice(0,d+1)+"."+u.slice(d+1):u+new Array(d-u.length+2).join("0")}cf.prototype=tc.prototype,tc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Yv={"%":(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)=>Pv(100*t,e),r:Pv,s:function(t,e){var i=S0(t,e);if(!i)return t+"";var u=i[0],d=i[1],g=d-(Fv=3*Math.max(-8,Math.min(8,Math.floor(d/3))))+1,v=u.length;return g===v?u:g>v?u+new Array(g-v+1).join("0"):g>0?u.slice(0,g)+"."+u.slice(g):"0."+new Array(1-g).join("0")+S0(t,Math.max(0,e+g-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function jv(t){return t}var qg,fo,uf,Vg=Array.prototype.map,ec=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Kw(t){var e=t.domain;return t.ticks=function(i){var u=e();return function(d,g,v){var w,C,S,L,j=-1;if(v=+v,(d=+d)==(g=+g)&&v>0)return[d];if((w=g0){let Y=Math.round(d/L),q=Math.round(g/L);for(Y*Lg&&--q,S=new Array(C=q-Y+1);++jg&&--q,S=new Array(C=q-Y+1);++j0;){if((d=Ng(C,S,i))===u)return g[v]=C,g[w]=S,e(g);if(d>0)C=Math.floor(C/d)*d,S=Math.ceil(S/d)*d;else{if(!(d<0))break;C=Math.ceil(C*d)/d,S=Math.floor(S*d)/d}u=d}return t},t}function zv(){var t=E0();return t.copy=function(){return T0(t,zv())},Js.apply(t,arguments),Kw(t)}qg=function(t){var e,i,u=t.grouping===void 0||t.thousands===void 0?jv:(e=Vg.call(t.grouping,Number),i=t.thousands+"",function(Y,q){for(var lt=Y.length,nt=[],vt=0,gt=e[0],Tt=0;lt>0&>>0&&(Tt+gt+1>q&&(gt=Math.max(1,q-Tt)),nt.push(Y.substring(lt-=gt,lt+gt)),!((Tt+=gt+1)>q));)gt=e[vt=(vt+1)%e.length];return nt.reverse().join(i)}),d=t.currency===void 0?"":t.currency[0]+"",g=t.currency===void 0?"":t.currency[1]+"",v=t.decimal===void 0?".":t.decimal+"",w=t.numerals===void 0?jv:function(Y){return function(q){return q.replace(/[0-9]/g,function(lt){return Y[+lt]})}}(Vg.call(t.numerals,String)),C=t.percent===void 0?"%":t.percent+"",S=t.minus===void 0?"\u2212":t.minus+"",L=t.nan===void 0?"NaN":t.nan+"";function j(Y){var q=(Y=cf(Y)).fill,lt=Y.align,nt=Y.sign,vt=Y.symbol,gt=Y.zero,Tt=Y.width,Ct=Y.comma,Pt=Y.precision,Gt=Y.trim,At=Y.type;At==="n"?(Ct=!0,At="g"):Yv[At]||(Pt===void 0&&(Pt=12),Gt=!0,At="g"),(gt||q==="0"&<==="=")&&(gt=!0,q="0",lt="=");var ee=vt==="$"?d:vt==="#"&&/[boxX]/.test(At)?"0"+At.toLowerCase():"",re=vt==="$"?g:/[%p]/.test(At)?C:"",Et=Yv[At],It=/[defgprs%]/.test(At);function Mt(bt){var Ft,wt,we,Te=ee,Ut=re;if(At==="c")Ut=Et(bt)+Ut,bt="";else{var Ee=(bt=+bt)<0||1/bt<0;if(bt=isNaN(bt)?L:Et(Math.abs(bt),Pt),Gt&&(bt=function(fe){t:for(var je,Fe=fe.length,tn=1,_n=-1;tn0&&(_n=0)}return _n>0?fe.slice(0,_n)+fe.slice(je+1):fe}(bt)),Ee&&+bt==0&&nt!=="+"&&(Ee=!1),Te=(Ee?nt==="("?nt:S:nt==="-"||nt==="("?"":nt)+Te,Ut=(At==="s"?ec[8+Fv/3]:"")+Ut+(Ee&&nt==="("?")":""),It){for(Ft=-1,wt=bt.length;++Ft(we=bt.charCodeAt(Ft))||we>57){Ut=(we===46?v+bt.slice(Ft+1):bt.slice(Ft))+Ut,bt=bt.slice(0,Ft);break}}}Ct&&!gt&&(bt=u(bt,1/0));var Se=Te.length+bt.length+Ut.length,be=Se>1)+Te+bt+Ut+be.slice(Se);break;default:bt=be+Te+bt+Ut}return w(bt)}return Pt=Pt===void 0?6:/[gprs]/.test(At)?Math.max(1,Math.min(21,Pt)):Math.max(0,Math.min(20,Pt)),Mt.toString=function(){return Y+""},Mt}return{format:j,formatPrefix:function(Y,q){var lt=j(((Y=cf(Y)).type="f",Y)),nt=3*Math.max(-8,Math.min(8,Math.floor(Dl(q)/3))),vt=Math.pow(10,-nt),gt=ec[8+nt/3];return function(Tt){return lt(vt*Tt)+gt}}}}({thousands:",",grouping:[3],currency:["$",""]}),fo=qg.format,uf=qg.formatPrefix;class Uv extends Map{constructor(e,i=$v){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(const[u,d]of e)this.set(u,d)}get(e){return super.get(Gg(this,e))}has(e){return super.has(Gg(this,e))}set(e,i){return super.set(function({_intern:u,_key:d},g){const v=d(g);return u.has(v)?u.get(v):(u.set(v,g),g)}(this,e),i)}delete(e){return super.delete(function({_intern:i,_key:u},d){const g=u(d);return i.has(g)&&(d=i.get(g),i.delete(g)),d}(this,e))}}function Gg({_intern:t,_key:e},i){const u=e(i);return t.has(u)?t.get(u):i}function $v(t){return t!==null&&typeof t=="object"?t.valueOf():t}const lf=Symbol("implicit");function Ic(){var t=new Uv,e=[],i=[],u=lf;function d(g){let v=t.get(g);if(v===void 0){if(u!==lf)return u;t.set(g,v=e.push(g)-1)}return i[v%i.length]}return d.domain=function(g){if(!arguments.length)return e.slice();e=[],t=new Uv;for(const v of g)t.has(v)||t.set(v,e.push(v)-1);return d},d.range=function(g){return arguments.length?(i=Array.from(g),d):i.slice()},d.unknown=function(g){return arguments.length?(u=g,d):u},d.copy=function(){return Ic(e,i).unknown(u)},Js.apply(d,arguments),d}const Nl=1e3,Rc=6e4,hf=36e5,Zg=864e5,Xg=6048e5,C0=31536e6;var A0=new Date,M0=new Date;function Wi(t,e,i,u){function d(g){return t(g=arguments.length===0?new Date:new Date(+g)),g}return d.floor=function(g){return t(g=new Date(+g)),g},d.ceil=function(g){return t(g=new Date(g-1)),e(g,1),t(g),g},d.round=function(g){var v=d(g),w=d.ceil(g);return g-v0))return S;do S.push(C=new Date(+g)),e(g,w),t(g);while(C=v)for(;t(v),!g(v);)v.setTime(v-1)},function(v,w){if(v>=v)if(w<0)for(;++w<=0;)for(;e(v,-1),!g(v););else for(;--w>=0;)for(;e(v,1),!g(v););})},i&&(d.count=function(g,v){return A0.setTime(+g),M0.setTime(+v),t(A0),t(M0),Math.floor(i(A0,M0))},d.every=function(g){return g=Math.floor(g),isFinite(g)&&g>0?g>1?d.filter(u?function(v){return u(v)%g==0}:function(v){return d.count(0,v)%g==0}):d:null}),d}var D0=Wi(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});D0.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Wi(function(e){e.setTime(Math.floor(e/t)*t)},function(e,i){e.setTime(+e+i*t)},function(e,i){return(i-e)/t}):D0:null};const Kg=D0;var Hv=Wi(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*Nl)},function(t,e){return(e-t)/Nl},function(t){return t.getUTCSeconds()});const Ol=Hv;var Qw=Wi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Nl)},function(t,e){t.setTime(+t+e*Rc)},function(t,e){return(e-t)/Rc},function(t){return t.getMinutes()});const ff=Qw;var Go=Wi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Nl-t.getMinutes()*Rc)},function(t,e){t.setTime(+t+e*hf)},function(t,e){return(e-t)/hf},function(t){return t.getHours()});const N0=Go;var Qg=Wi(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Rc)/Zg,t=>t.getDate()-1);const Ll=Qg;function nc(t){return Wi(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,i){e.setDate(e.getDate()+7*i)},function(e,i){return(i-e-(i.getTimezoneOffset()-e.getTimezoneOffset())*Rc)/Xg})}var O0=nc(0),Jg=nc(1);nc(2),nc(3);var Fc=nc(4);nc(5),nc(6);var ks=Wi(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});const ty=ks;var ey=Wi(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});ey.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wi(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,i){e.setFullYear(e.getFullYear()+i*t)}):null};const rc=ey;Wi(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Rc)},function(t,e){return(e-t)/Rc},function(t){return t.getUTCMinutes()}),Wi(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*hf)},function(t,e){return(e-t)/hf},function(t){return t.getUTCHours()});var ny=Wi(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/Zg},function(t){return t.getUTCDate()-1});const df=ny;function Zo(t){return Wi(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCDate(e.getUTCDate()+7*i)},function(e,i){return(i-e)/Xg})}var Wv=Zo(0),L0=Zo(1);Zo(2),Zo(3);var Bl=Zo(4);Zo(5),Zo(6),Wi(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});var qv=Wi(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});qv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wi(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCFullYear(e.getUTCFullYear()+i*t)}):null};const Oa=qv;function Cu(t,e,i,u,d,g){const v=[[Ol,1,Nl],[Ol,5,5e3],[Ol,15,15e3],[Ol,30,3e4],[g,1,Rc],[g,5,3e5],[g,15,9e5],[g,30,18e5],[d,1,hf],[d,3,108e5],[d,6,216e5],[d,12,432e5],[u,1,Zg],[u,2,1728e5],[i,1,Xg],[e,1,2592e6],[e,3,7776e6],[t,1,C0]];function w(C,S,L){const j=Math.abs(S-C)/L,Y=Bg(([,,nt])=>nt).right(v,j);if(Y===v.length)return t.every(Og(C/C0,S/C0,L));if(Y===0)return Kg.every(Math.max(Og(C,S,L),1));const[q,lt]=v[j/v[Y-1][2][e.toLowerCase(),i]))}function B0(t,e,i){var u=qi.exec(e.slice(i,i+1));return u?(t.w=+u[0],i+u[0].length):-1}function oy(t,e,i){var u=qi.exec(e.slice(i,i+1));return u?(t.u=+u[0],i+u[0].length):-1}function e5(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.U=+u[0],i+u[0].length):-1}function n5(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.V=+u[0],i+u[0].length):-1}function r5(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.W=+u[0],i+u[0].length):-1}function Zv(t,e,i){var u=qi.exec(e.slice(i,i+4));return u?(t.y=+u[0],i+u[0].length):-1}function Xv(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.y=+u[0]+(+u[0]>68?1900:2e3),i+u[0].length):-1}function Kv(t,e,i){var u=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return u?(t.Z=u[1]?0:-(u[2]+(u[3]||"00")),i+u[0].length):-1}function sy(t,e,i){var u=qi.exec(e.slice(i,i+1));return u?(t.q=3*u[0]-3,i+u[0].length):-1}function Qv(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.m=u[0]-1,i+u[0].length):-1}function cy(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.d=+u[0],i+u[0].length):-1}function Xa(t,e,i){var u=qi.exec(e.slice(i,i+3));return u?(t.m=0,t.d=+u[0],i+u[0].length):-1}function vf(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.H=+u[0],i+u[0].length):-1}function Au(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.M=+u[0],i+u[0].length):-1}function Jv(t,e,i){var u=qi.exec(e.slice(i,i+2));return u?(t.S=+u[0],i+u[0].length):-1}function i5(t,e,i){var u=qi.exec(e.slice(i,i+3));return u?(t.L=+u[0],i+u[0].length):-1}function a5(t,e,i){var u=qi.exec(e.slice(i,i+6));return u?(t.L=Math.floor(u[0]/1e3),i+u[0].length):-1}function o5(t,e,i){var u=iy.exec(e.slice(i,i+1));return u?i+u[0].length:-1}function s5(t,e,i){var u=qi.exec(e.slice(i));return u?(t.Q=+u[0],i+u[0].length):-1}function c5(t,e,i){var u=qi.exec(e.slice(i));return u?(t.s=+u[0],i+u[0].length):-1}function t_(t,e){return Sr(t.getDate(),e,2)}function Mu(t,e){return Sr(t.getHours(),e,2)}function e_(t,e){return Sr(t.getHours()%12||12,e,2)}function u5(t,e){return Sr(1+Ll.count(rc(t),t),e,3)}function n_(t,e){return Sr(t.getMilliseconds(),e,3)}function l5(t,e){return n_(t,e)+"000"}function h5(t,e){return Sr(t.getMonth()+1,e,2)}function f5(t,e){return Sr(t.getMinutes(),e,2)}function d5(t,e){return Sr(t.getSeconds(),e,2)}function p5(t){var e=t.getDay();return e===0?7:e}function g5(t,e){return Sr(O0.count(rc(t)-1,t),e,2)}function r_(t){var e=t.getDay();return e>=4||e===0?Fc(t):Fc.ceil(t)}function y5(t,e){return t=r_(t),Sr(Fc.count(rc(t),t)+(rc(t).getDay()===4),e,2)}function m5(t){return t.getDay()}function i_(t,e){return Sr(Jg.count(rc(t)-1,t),e,2)}function v5(t,e){return Sr(t.getFullYear()%100,e,2)}function _5(t,e){return Sr((t=r_(t)).getFullYear()%100,e,2)}function a_(t,e){return Sr(t.getFullYear()%1e4,e,4)}function o_(t,e){var i=t.getDay();return Sr((t=i>=4||i===0?Fc(t):Fc.ceil(t)).getFullYear()%1e4,e,4)}function s_(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Sr(e/60|0,"0",2)+Sr(e%60,"0",2)}function c_(t,e){return Sr(t.getUTCDate(),e,2)}function b5(t,e){return Sr(t.getUTCHours(),e,2)}function u_(t,e){return Sr(t.getUTCHours()%12||12,e,2)}function Pc(t,e){return Sr(1+df.count(Oa(t),t),e,3)}function l_(t,e){return Sr(t.getUTCMilliseconds(),e,3)}function w5(t,e){return l_(t,e)+"000"}function h_(t,e){return Sr(t.getUTCMonth()+1,e,2)}function x5(t,e){return Sr(t.getUTCMinutes(),e,2)}function k5(t,e){return Sr(t.getUTCSeconds(),e,2)}function f_(t){var e=t.getUTCDay();return e===0?7:e}function I0(t,e){return Sr(Wv.count(Oa(t)-1,t),e,2)}function d_(t){var e=t.getUTCDay();return e>=4||e===0?Bl(t):Bl.ceil(t)}function _f(t,e){return t=d_(t),Sr(Bl.count(Oa(t),t)+(Oa(t).getUTCDay()===4),e,2)}function T5(t){return t.getUTCDay()}function uy(t,e){return Sr(L0.count(Oa(t)-1,t),e,2)}function E5(t,e){return Sr(t.getUTCFullYear()%100,e,2)}function S5(t,e){return Sr((t=d_(t)).getUTCFullYear()%100,e,2)}function p_(t,e){return Sr(t.getUTCFullYear()%1e4,e,4)}function Il(t,e){var i=t.getUTCDay();return Sr((t=i>=4||i===0?Bl(t):Bl.ceil(t)).getUTCFullYear()%1e4,e,4)}function C5(){return"+0000"}function ly(){return"%"}function g_(t){return+t}function y_(t){return Math.floor(+t/1e3)}function A5(t){return new Date(t)}function M5(t){return t instanceof Date?+t:+new Date(+t)}function m_(t,e,i,u,d,g,v,w,C,S){var L=E0(),j=L.invert,Y=L.domain,q=S(".%L"),lt=S(":%S"),nt=S("%I:%M"),vt=S("%I %p"),gt=S("%a %d"),Tt=S("%b %d"),Ct=S("%B"),Pt=S("%Y");function Gt(At){return(C(At)=12)]},q:function(Et){return 1+~~(Et.getMonth()/3)},Q:g_,s:y_,S:d5,u:p5,U:g5,V:y5,w:m5,W:i_,x:null,X:null,y:v5,Y:a_,Z:s_,"%":ly},Pt={a:function(Et){return v[Et.getUTCDay()]},A:function(Et){return g[Et.getUTCDay()]},b:function(Et){return C[Et.getUTCMonth()]},B:function(Et){return w[Et.getUTCMonth()]},c:null,d:c_,e:c_,f:w5,g:S5,G:Il,H:b5,I:u_,j:Pc,L:l_,m:h_,M:x5,p:function(Et){return d[+(Et.getUTCHours()>=12)]},q:function(Et){return 1+~~(Et.getUTCMonth()/3)},Q:g_,s:y_,S:k5,u:f_,U:I0,V:_f,w:T5,W:uy,x:null,X:null,y:E5,Y:p_,Z:C5,"%":ly},Gt={a:function(Et,It,Mt){var bt=q.exec(It.slice(Mt));return bt?(Et.w=lt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},A:function(Et,It,Mt){var bt=j.exec(It.slice(Mt));return bt?(Et.w=Y.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},b:function(Et,It,Mt){var bt=gt.exec(It.slice(Mt));return bt?(Et.m=Tt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},B:function(Et,It,Mt){var bt=nt.exec(It.slice(Mt));return bt?(Et.m=vt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},c:function(Et,It,Mt){return re(Et,e,It,Mt)},d:cy,e:cy,f:a5,g:Xv,G:Zv,H:vf,I:vf,j:Xa,L:i5,m:Qv,M:Au,p:function(Et,It,Mt){var bt=S.exec(It.slice(Mt));return bt?(Et.p=L.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},q:sy,Q:s5,s:c5,S:Jv,u:oy,U:e5,V:n5,w:B0,W:r5,x:function(Et,It,Mt){return re(Et,i,It,Mt)},X:function(Et,It,Mt){return re(Et,u,It,Mt)},y:Xv,Y:Zv,Z:Kv,"%":o5};function At(Et,It){return function(Mt){var bt,Ft,wt,we=[],Te=-1,Ut=0,Ee=Et.length;for(Mt instanceof Date||(Mt=new Date(+Mt));++Te53)return null;"w"in wt||(wt.w=1),"Z"in wt?(Ft=(bt=ry(pf(wt.y,0,1))).getUTCDay(),bt=Ft>4||Ft===0?L0.ceil(bt):L0(bt),bt=df.offset(bt,7*(wt.V-1)),wt.y=bt.getUTCFullYear(),wt.m=bt.getUTCMonth(),wt.d=bt.getUTCDate()+(wt.w+6)%7):(Ft=(bt=Ts(pf(wt.y,0,1))).getDay(),bt=Ft>4||Ft===0?Jg.ceil(bt):Jg(bt),bt=Ll.offset(bt,7*(wt.V-1)),wt.y=bt.getFullYear(),wt.m=bt.getMonth(),wt.d=bt.getDate()+(wt.w+6)%7)}else("W"in wt||"U"in wt)&&("w"in wt||(wt.w="u"in wt?wt.u%7:"W"in wt?1:0),Ft="Z"in wt?ry(pf(wt.y,0,1)).getUTCDay():Ts(pf(wt.y,0,1)).getDay(),wt.m=0,wt.d="W"in wt?(wt.w+6)%7+7*wt.W-(Ft+5)%7:wt.w+7*wt.U-(Ft+6)%7);return"Z"in wt?(wt.H+=wt.Z/100|0,wt.M+=wt.Z%100,ry(wt)):Ts(wt)}}function re(Et,It,Mt,bt){for(var Ft,wt,we=0,Te=It.length,Ut=Mt.length;we=Ut)return-1;if((Ft=It.charCodeAt(we++))===37){if(Ft=It.charAt(we++),!(wt=Gt[Ft in Es?It.charAt(we++):Ft])||(bt=wt(Et,Mt,bt))<0)return-1}else if(Ft!=Mt.charCodeAt(bt++))return-1}return bt}return Ct.x=At(i,Ct),Ct.X=At(u,Ct),Ct.c=At(e,Ct),Pt.x=At(i,Pt),Pt.X=At(u,Pt),Pt.c=At(e,Pt),{format:function(Et){var It=At(Et+="",Ct);return It.toString=function(){return Et},It},parse:function(Et){var It=ee(Et+="",!1);return It.toString=function(){return Et},It},utcFormat:function(Et){var It=At(Et+="",Pt);return It.toString=function(){return Et},It},utcParse:function(Et){var It=ee(Et+="",!0);return It.toString=function(){return Et},It}}}({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"]}),Gv=gf.format,gf.parse,gf.utcFormat,gf.utcParse;var O5=Array.prototype.find;function L5(){return this.firstElementChild}var fy=Array.prototype.filter;function B5(){return Array.from(this.children)}function w_(t){return new Array(t.length)}function R0(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function I5(t){return function(){return t}}function Vi(t,e,i,u,d,g){for(var v,w=0,C=e.length,S=g.length;we?1:t>=e?0:NaN}R0.prototype={constructor:R0,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 dy="http://www.w3.org/1999/xhtml";const bf={svg:"http://www.w3.org/2000/svg",xhtml:dy,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Fl(t){var e=t+="",i=e.indexOf(":");return i>=0&&(e=t.slice(0,i))!=="xmlns"&&(t=t.slice(i+1)),bf.hasOwnProperty(e)?{space:bf[e],local:t}:t}function k_(t){return function(){this.removeAttribute(t)}}function Ba(t){return function(){this.removeAttributeNS(t.space,t.local)}}function F5(t,e){return function(){this.setAttribute(t,e)}}function P5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Y5(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttribute(t):this.setAttribute(t,i)}}function j5(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function py(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function z5(t){return function(){this.style.removeProperty(t)}}function U5(t,e,i){return function(){this.style.setProperty(t,e,i)}}function $5(t,e,i){return function(){var u=e.apply(this,arguments);u==null?this.style.removeProperty(t):this.style.setProperty(t,u,i)}}function Pl(t,e){return t.style.getPropertyValue(e)||py(t).getComputedStyle(t,null).getPropertyValue(e)}function H5(t){return function(){delete this[t]}}function W5(t,e){return function(){this[t]=e}}function q5(t,e){return function(){var i=e.apply(this,arguments);i==null?delete this[t]:this[t]=i}}function T_(t){return t.trim().split(/^|\s+/)}function gy(t){return t.classList||new wf(t)}function wf(t){this._node=t,this._names=T_(t.getAttribute("class")||"")}function Du(t,e){for(var i=gy(t),u=-1,d=e.length;++u=0&&(i=e.slice(u+1),e=e.slice(0,u)),{type:e,name:i}})}function B_(t){return function(){var e=this.__on;if(e){for(var i,u=0,d=-1,g=e.length;u=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Yl=[null];function zr(t,e){this._groups=t,this._parents=e}function qr(){return new zr([[document.documentElement]],Yl)}zr.prototype=qr.prototype={constructor:zr,select:function(t){typeof t!="function"&&(t=Rl(t));for(var e=this._groups,i=e.length,u=new Array(i),d=0;d=Gt&&(Gt=Pt+1);!(Ct=vt[Gt])&&++Gt=0;)(u=d[g])&&(v&&4^u.compareDocumentPosition(v)&&v.parentNode.insertBefore(u,v),v=u);return this},sort:function(t){function e(j,Y){return j&&Y?t(j.__data__,Y.__data__):!j-!Y}t||(t=R5);for(var i=this._groups,u=i.length,d=new Array(u),g=0;g1?this.each((e==null?z5:typeof e=="function"?$5:U5)(t,e,i==null?"":i)):Pl(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?H5:typeof e=="function"?q5:W5)(t,e)):this.node()[t]},classed:function(t,e){var i=T_(t+"");if(arguments.length<2){for(var u=gy(this.node()),d=-1,g=i.length;++dSs)if(Math.abs(L*w-C*S)>Ss&&d){var Y=i-g,q=u-v,lt=w*w+C*C,nt=Y*Y+q*q,vt=Math.sqrt(lt),gt=Math.sqrt(j),Tt=d*Math.tan((fa-Math.acos((lt+j-nt)/(2*vt*gt)))/2),Ct=Tt/gt,Pt=Tt/vt;Math.abs(Ct-1)>Ss&&(this._+="L"+(t+Ct*S)+","+(e+Ct*L)),this._+="A"+d+","+d+",0,0,"+ +(L*Y>S*q)+","+(this._x1=t+Pt*w)+","+(this._y1=e+Pt*C)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,i,u,d,g){t=+t,e=+e,g=!!g;var v=(i=+i)*Math.cos(u),w=i*Math.sin(u),C=t+v,S=e+w,L=1^g,j=g?u-d:d-u;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+C+","+S:(Math.abs(this._x1-C)>Ss||Math.abs(this._y1-S)>Ss)&&(this._+="L"+C+","+S),i&&(j<0&&(j=j%pn+pn),j>I_?this._+="A"+i+","+i+",0,1,"+L+","+(t-v)+","+(e-w)+"A"+i+","+i+",0,1,"+L+","+(this._x1=C)+","+(this._y1=S):j>Ss&&(this._+="A"+i+","+i+",0,"+ +(j>=fa)+","+L+","+(this._x1=t+i*Math.cos(d))+","+(this._y1=e+i*Math.sin(d))))},rect:function(t,e,i,u){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +u+"h"+-i+"Z"},toString:function(){return this._}};const un=U0;function Cr(t){return function(){return t}}var Oi=Math.abs,na=Math.atan2,Uc=Math.cos,Ia=Math.max,$0=Math.min,Ar=Math.sin,ic=Math.sqrt,Ra=1e-12,zl=Math.PI,Ul=zl/2,Tf=2*zl;function Xo(t){return t>1?0:t<-1?zl:Math.acos(t)}function _y(t){return t>=1?Ul:t<=-1?-Ul:Math.asin(t)}function R_(t){return t.innerRadius}function by(t){return t.outerRadius}function wy(t){return t.startAngle}function xy(t){return t.endAngle}function H0(t){return t&&t.padAngle}function W0(t,e,i,u,d,g,v,w){var C=i-t,S=u-e,L=v-d,j=w-g,Y=j*C-L*S;if(!(Y*Ywt*wt+we*we&&(re=It,Et=Mt),{cx:re,cy:Et,x01:-L,y01:-j,x11:re*(d/Gt-1),y11:Et*(d/Gt-1)}}function ky(){var t=R_,e=by,i=Cr(0),u=null,d=wy,g=xy,v=H0,w=null;function C(){var S,L,j=+t.apply(this,arguments),Y=+e.apply(this,arguments),q=d.apply(this,arguments)-Ul,lt=g.apply(this,arguments)-Ul,nt=Oi(lt-q),vt=lt>q;if(w||(w=S=un()),YRa)if(nt>Tf-Ra)w.moveTo(Y*Uc(q),Y*Ar(q)),w.arc(0,0,Y,q,lt,!vt),j>Ra&&(w.moveTo(j*Uc(lt),j*Ar(lt)),w.arc(0,0,j,lt,q,vt));else{var gt,Tt,Ct=q,Pt=lt,Gt=q,At=lt,ee=nt,re=nt,Et=v.apply(this,arguments)/2,It=Et>Ra&&(u?+u.apply(this,arguments):ic(j*j+Y*Y)),Mt=$0(Oi(Y-j)/2,+i.apply(this,arguments)),bt=Mt,Ft=Mt;if(It>Ra){var wt=_y(It/j*Ar(Et)),we=_y(It/Y*Ar(Et));(ee-=2*wt)>Ra?(Gt+=wt*=vt?1:-1,At-=wt):(ee=0,Gt=At=(q+lt)/2),(re-=2*we)>Ra?(Ct+=we*=vt?1:-1,Pt-=we):(re=0,Ct=Pt=(q+lt)/2)}var Te=Y*Uc(Ct),Ut=Y*Ar(Ct),Ee=j*Uc(At),Se=j*Ar(At);if(Mt>Ra){var be,fe=Y*Uc(Pt),je=Y*Ar(Pt),Fe=j*Uc(Gt),tn=j*Ar(Gt);if(ntRa?Ft>Ra?(gt=po(Fe,tn,Te,Ut,Y,Ft,vt),Tt=po(fe,je,Ee,Se,Y,Ft,vt),w.moveTo(gt.cx+gt.x01,gt.cy+gt.y01),FtRa&&ee>Ra?bt>Ra?(gt=po(Ee,Se,fe,je,j,-bt,vt),Tt=po(Te,Ut,Fe,tn,j,-bt,vt),w.lineTo(gt.cx+gt.x01,gt.cy+gt.y01),btt?1:e>=t?0:NaN}function $l(t){return t}function Hl(){}function Nu(t,e,i){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+i)/6)}function Ef(t){this._context=t}function Vr(t){return new Ef(t)}function Fa(t){this._context=t}function gi(t){this._context=t}function Ka(t){this._context=t}function $c(t){return t<0?-1:1}function Ty(t,e,i){var u=t._x1-t._x0,d=e-t._x1,g=(t._y1-t._y0)/(u||d<0&&-0),v=(i-t._y1)/(d||u<0&&-0),w=(g*d+v*u)/(u+d);return($c(g)+$c(v))*Math.min(Math.abs(g),Math.abs(v),.5*Math.abs(w))||0}function Ey(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Hc(t,e,i){var u=t._x0,d=t._y0,g=t._x1,v=t._y1,w=(g-u)/3;t._context.bezierCurveTo(u+w,d+w*e,g-w,v-w*i,g,v)}function Ko(t){this._context=t}function Cs(t){this._context=new Wl(t)}function Wl(t){this._context=t}function Sf(t){this._context=t}function Cf(t){var e,i,u=t.length-1,d=new Array(u),g=new Array(u),v=new Array(u);for(d[0]=0,g[0]=2,v[0]=t[0]+2*t[1],e=1;e=0;--e)d[e]=(v[e]-d[e+1])/g[e];for(g[u-1]=(t[u]+d[u-1])/2,e=0;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 i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}};var ql=new Date,Vl=new Date;function Lo(t,e,i,u){function d(g){return t(g=arguments.length===0?new Date:new Date(+g)),g}return d.floor=function(g){return t(g=new Date(+g)),g},d.ceil=function(g){return t(g=new Date(g-1)),e(g,1),t(g),g},d.round=function(g){var v=d(g),w=d.ceil(g);return g-v0))return S;do S.push(C=new Date(+g)),e(g,w),t(g);while(C=v)for(;t(v),!g(v);)v.setTime(v-1)},function(v,w){if(v>=v)if(w<0)for(;++w<=0;)for(;e(v,-1),!g(v););else for(;--w>=0;)for(;e(v,1),!g(v););})},i&&(d.count=function(g,v){return ql.setTime(+g),Vl.setTime(+v),t(ql),t(Vl),Math.floor(i(ql,Vl))},d.every=function(g){return g=Math.floor(g),isFinite(g)&&g>0?g>1?d.filter(u?function(v){return u(v)%g==0}:function(v){return d.count(0,v)%g==0}):d:null}),d}const Af=864e5,G0=6048e5;function ac(t){return Lo(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCDate(e.getUTCDate()+7*i)},function(e,i){return(i-e)/G0})}var Sy=ac(0),Z0=ac(1);ac(2),ac(3);var Gl=ac(4);ac(5),ac(6);var Pa=Lo(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/Af},function(t){return t.getUTCDate()-1});const wa=Pa;function Li(t){return Lo(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,i){e.setDate(e.getDate()+7*i)},function(e,i){return(i-e-6e4*(i.getTimezoneOffset()-e.getTimezoneOffset()))/G0})}var Mf=Li(0),Qo=Li(1);Li(2),Li(3);var Lu=Li(4);Li(5),Li(6);var Y_=Lo(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Af,t=>t.getDate()-1);const Cy=Y_;var Ay=Lo(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Ay.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Lo(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,i){e.setFullYear(e.getFullYear()+i*t)}):null};const Zl=Ay;var j_=Lo(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});j_.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Lo(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCFullYear(e.getUTCFullYear()+i*t)}):null};const Df=j_;function Ya(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 My(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 Xl(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}var Nf,go,X0={"-":"",_:" ",0:"0"},Ti=/^\s*\d+/,z_=/^%/,Z5=/[\\^$*+?|[\]().{}]/g;function Mr(t,e,i){var u=t<0?"-":"",d=(u?-t:t)+"",g=d.length;return u+(g[e.toLowerCase(),i]))}function X5(t,e,i){var u=Ti.exec(e.slice(i,i+1));return u?(t.w=+u[0],i+u[0].length):-1}function $_(t,e,i){var u=Ti.exec(e.slice(i,i+1));return u?(t.u=+u[0],i+u[0].length):-1}function K5(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.U=+u[0],i+u[0].length):-1}function Kl(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.V=+u[0],i+u[0].length):-1}function Dy(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.W=+u[0],i+u[0].length):-1}function K0(t,e,i){var u=Ti.exec(e.slice(i,i+4));return u?(t.y=+u[0],i+u[0].length):-1}function Q0(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.y=+u[0]+(+u[0]>68?1900:2e3),i+u[0].length):-1}function H_(t,e,i){var u=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return u?(t.Z=u[1]?0:-(u[2]+(u[3]||"00")),i+u[0].length):-1}function W_(t,e,i){var u=Ti.exec(e.slice(i,i+1));return u?(t.q=3*u[0]-3,i+u[0].length):-1}function q_(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.m=u[0]-1,i+u[0].length):-1}function Ny(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.d=+u[0],i+u[0].length):-1}function V_(t,e,i){var u=Ti.exec(e.slice(i,i+3));return u?(t.m=0,t.d=+u[0],i+u[0].length):-1}function Oy(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.H=+u[0],i+u[0].length):-1}function Q5(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.M=+u[0],i+u[0].length):-1}function G_(t,e,i){var u=Ti.exec(e.slice(i,i+2));return u?(t.S=+u[0],i+u[0].length):-1}function J0(t,e,i){var u=Ti.exec(e.slice(i,i+3));return u?(t.L=+u[0],i+u[0].length):-1}function t1(t,e,i){var u=Ti.exec(e.slice(i,i+6));return u?(t.L=Math.floor(u[0]/1e3),i+u[0].length):-1}function Z_(t,e,i){var u=z_.exec(e.slice(i,i+1));return u?i+u[0].length:-1}function X_(t,e,i){var u=Ti.exec(e.slice(i));return u?(t.Q=+u[0],i+u[0].length):-1}function Ly(t,e,i){var u=Ti.exec(e.slice(i));return u?(t.s=+u[0],i+u[0].length):-1}function e1(t,e){return Mr(t.getDate(),e,2)}function K_(t,e){return Mr(t.getHours(),e,2)}function Q_(t,e){return Mr(t.getHours()%12||12,e,2)}function J5(t,e){return Mr(1+Cy.count(Zl(t),t),e,3)}function J_(t,e){return Mr(t.getMilliseconds(),e,3)}function By(t,e){return J_(t,e)+"000"}function tb(t,e){return Mr(t.getMonth()+1,e,2)}function Bf(t,e){return Mr(t.getMinutes(),e,2)}function n1(t,e){return Mr(t.getSeconds(),e,2)}function r1(t){var e=t.getDay();return e===0?7:e}function tx(t,e){return Mr(Mf.count(Zl(t)-1,t),e,2)}function i1(t){var e=t.getDay();return e>=4||e===0?Lu(t):Lu.ceil(t)}function a1(t,e){return t=i1(t),Mr(Lu.count(Zl(t),t)+(Zl(t).getDay()===4),e,2)}function o1(t){return t.getDay()}function Iy(t,e){return Mr(Qo.count(Zl(t)-1,t),e,2)}function Ql(t,e){return Mr(t.getFullYear()%100,e,2)}function ex(t,e){return Mr((t=i1(t)).getFullYear()%100,e,2)}function nx(t,e){return Mr(t.getFullYear()%1e4,e,4)}function rx(t,e){var i=t.getDay();return Mr((t=i>=4||i===0?Lu(t):Lu.ceil(t)).getFullYear()%1e4,e,4)}function eb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Mr(e/60|0,"0",2)+Mr(e%60,"0",2)}function s1(t,e){return Mr(t.getUTCDate(),e,2)}function ix(t,e){return Mr(t.getUTCHours(),e,2)}function c1(t,e){return Mr(t.getUTCHours()%12||12,e,2)}function nb(t,e){return Mr(1+wa.count(Df(t),t),e,3)}function Ry(t,e){return Mr(t.getUTCMilliseconds(),e,3)}function u1(t,e){return Ry(t,e)+"000"}function rb(t,e){return Mr(t.getUTCMonth()+1,e,2)}function ib(t,e){return Mr(t.getUTCMinutes(),e,2)}function ab(t,e){return Mr(t.getUTCSeconds(),e,2)}function ax(t){var e=t.getUTCDay();return e===0?7:e}function ob(t,e){return Mr(Sy.count(Df(t)-1,t),e,2)}function sb(t){var e=t.getUTCDay();return e>=4||e===0?Gl(t):Gl.ceil(t)}function cb(t,e){return t=sb(t),Mr(Gl.count(Df(t),t)+(Df(t).getUTCDay()===4),e,2)}function ub(t){return t.getUTCDay()}function lb(t,e){return Mr(Z0.count(Df(t)-1,t),e,2)}function ox(t,e){return Mr(t.getUTCFullYear()%100,e,2)}function sx(t,e){return Mr((t=sb(t)).getUTCFullYear()%100,e,2)}function If(t,e){return Mr(t.getUTCFullYear()%1e4,e,4)}function hb(t,e){var i=t.getUTCDay();return Mr((t=i>=4||i===0?Gl(t):Gl.ceil(t)).getUTCFullYear()%1e4,e,4)}function fb(){return"+0000"}function l1(){return"%"}function h1(t){return+t}function f1(t){return Math.floor(+t/1e3)}Nf=function(t){var e=t.dateTime,i=t.date,u=t.time,d=t.periods,g=t.days,v=t.shortDays,w=t.months,C=t.shortMonths,S=Of(d),L=Lf(d),j=Of(g),Y=Lf(g),q=Of(v),lt=Lf(v),nt=Of(w),vt=Lf(w),gt=Of(C),Tt=Lf(C),Ct={a:function(Et){return v[Et.getDay()]},A:function(Et){return g[Et.getDay()]},b:function(Et){return C[Et.getMonth()]},B:function(Et){return w[Et.getMonth()]},c:null,d:e1,e:e1,f:By,g:ex,G:rx,H:K_,I:Q_,j:J5,L:J_,m:tb,M:Bf,p:function(Et){return d[+(Et.getHours()>=12)]},q:function(Et){return 1+~~(Et.getMonth()/3)},Q:h1,s:f1,S:n1,u:r1,U:tx,V:a1,w:o1,W:Iy,x:null,X:null,y:Ql,Y:nx,Z:eb,"%":l1},Pt={a:function(Et){return v[Et.getUTCDay()]},A:function(Et){return g[Et.getUTCDay()]},b:function(Et){return C[Et.getUTCMonth()]},B:function(Et){return w[Et.getUTCMonth()]},c:null,d:s1,e:s1,f:u1,g:sx,G:hb,H:ix,I:c1,j:nb,L:Ry,m:rb,M:ib,p:function(Et){return d[+(Et.getUTCHours()>=12)]},q:function(Et){return 1+~~(Et.getUTCMonth()/3)},Q:h1,s:f1,S:ab,u:ax,U:ob,V:cb,w:ub,W:lb,x:null,X:null,y:ox,Y:If,Z:fb,"%":l1},Gt={a:function(Et,It,Mt){var bt=q.exec(It.slice(Mt));return bt?(Et.w=lt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},A:function(Et,It,Mt){var bt=j.exec(It.slice(Mt));return bt?(Et.w=Y.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},b:function(Et,It,Mt){var bt=gt.exec(It.slice(Mt));return bt?(Et.m=Tt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},B:function(Et,It,Mt){var bt=nt.exec(It.slice(Mt));return bt?(Et.m=vt.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},c:function(Et,It,Mt){return re(Et,e,It,Mt)},d:Ny,e:Ny,f:t1,g:Q0,G:K0,H:Oy,I:Oy,j:V_,L:J0,m:q_,M:Q5,p:function(Et,It,Mt){var bt=S.exec(It.slice(Mt));return bt?(Et.p=L.get(bt[0].toLowerCase()),Mt+bt[0].length):-1},q:W_,Q:X_,s:Ly,S:G_,u:$_,U:K5,V:Kl,w:X5,W:Dy,x:function(Et,It,Mt){return re(Et,i,It,Mt)},X:function(Et,It,Mt){return re(Et,u,It,Mt)},y:Q0,Y:K0,Z:H_,"%":Z_};function At(Et,It){return function(Mt){var bt,Ft,wt,we=[],Te=-1,Ut=0,Ee=Et.length;for(Mt instanceof Date||(Mt=new Date(+Mt));++Te53)return null;"w"in wt||(wt.w=1),"Z"in wt?(Ft=(bt=My(Xl(wt.y,0,1))).getUTCDay(),bt=Ft>4||Ft===0?Z0.ceil(bt):Z0(bt),bt=wa.offset(bt,7*(wt.V-1)),wt.y=bt.getUTCFullYear(),wt.m=bt.getUTCMonth(),wt.d=bt.getUTCDate()+(wt.w+6)%7):(Ft=(bt=Ya(Xl(wt.y,0,1))).getDay(),bt=Ft>4||Ft===0?Qo.ceil(bt):Qo(bt),bt=Cy.offset(bt,7*(wt.V-1)),wt.y=bt.getFullYear(),wt.m=bt.getMonth(),wt.d=bt.getDate()+(wt.w+6)%7)}else("W"in wt||"U"in wt)&&("w"in wt||(wt.w="u"in wt?wt.u%7:"W"in wt?1:0),Ft="Z"in wt?My(Xl(wt.y,0,1)).getUTCDay():Ya(Xl(wt.y,0,1)).getDay(),wt.m=0,wt.d="W"in wt?(wt.w+6)%7+7*wt.W-(Ft+5)%7:wt.w+7*wt.U-(Ft+6)%7);return"Z"in wt?(wt.H+=wt.Z/100|0,wt.M+=wt.Z%100,My(wt)):Ya(wt)}}function re(Et,It,Mt,bt){for(var Ft,wt,we=0,Te=It.length,Ut=Mt.length;we=Ut)return-1;if((Ft=It.charCodeAt(we++))===37){if(Ft=It.charAt(we++),!(wt=Gt[Ft in X0?It.charAt(we++):Ft])||(bt=wt(Et,Mt,bt))<0)return-1}else if(Ft!=Mt.charCodeAt(bt++))return-1}return bt}return Ct.x=At(i,Ct),Ct.X=At(u,Ct),Ct.c=At(e,Ct),Pt.x=At(i,Pt),Pt.X=At(u,Pt),Pt.c=At(e,Pt),{format:function(Et){var It=At(Et+="",Ct);return It.toString=function(){return Et},It},parse:function(Et){var It=ee(Et+="",!1);return It.toString=function(){return Et},It},utcFormat:function(Et){var It=At(Et+="",Pt);return It.toString=function(){return Et},It},utcParse:function(Et){var It=ee(Et+="",!0);return It.toString=function(){return Et},It}}}({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"]}),go=Nf.format,Nf.parse,Nf.utcFormat,Nf.utcParse;var Fy={value:()=>{}};function oc(){for(var t,e=0,i=arguments.length,u={};e=0&&(u=i.slice(d+1),i=i.slice(0,d)),i&&!e.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:u}})}function db(t,e){for(var i,u=0,d=t.length;u0)for(var i,u,d=new Array(i),g=0;g=0&&e._call.call(void 0,t),e=e._next;--As})()}finally{As=0,function(){for(var t,e,i=sc,u=1/0;i;)i._call?(u>i._time&&(u=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:sc=e);Wc=t,zf(u)}(),Vc=0}}function Jl(){var t=Qa.now(),e=t-Bu;e>1e3&&(Ff-=e,Bu=t)}function zf(t){As||(qc&&(qc=clearTimeout(qc)),t-Vc>24?(t<1/0&&(qc=setTimeout(jf,t-Qa.now()-Ff)),Rf&&(Rf=clearInterval(Rf))):(Rf||(Bu=Qa.now(),Rf=setInterval(Jl,1e3)),As=1,Jo(jf)))}function p1(t,e,i){var u=new Gc;return e=e==null?0:+e,u.restart(d=>{u.stop(),t(d+e)},e,i),u}Gc.prototype=Yf.prototype={constructor:Gc,restart:function(t,e,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?Pf():+i)+(e==null?0:+e),this._next||Wc===this||(Wc?Wc._next=this:sc=this,Wc=this),this._call=t,this._time=i,zf()},stop:function(){this._call&&(this._call=null,this._time=1/0,zf())}};var Uf=gb("start","end","cancel","interrupt"),ts=[];function Ms(t,e,i,u,d,g){var v=t.__transition;if(v){if(i in v)return}else t.__transition={};(function(w,C,S){var L,j=w.__transition;function Y(nt){var vt,gt,Tt,Ct;if(S.state!==1)return lt();for(vt in j)if((Ct=j[vt]).name===S.name){if(Ct.state===3)return p1(Y);Ct.state===4?(Ct.state=6,Ct.timer.stop(),Ct.on.call("interrupt",w,w.__data__,Ct.index,Ct.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return i}function Ds(t,e){var i=es(t,e);if(i.state>3)throw new Error("too late; already running");return i}function es(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function cc(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var y1,yb=180/Math.PI,Yy={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function jy(t,e,i,u,d,g){var v,w,C;return(v=Math.sqrt(t*t+e*e))&&(t/=v,e/=v),(C=t*i+e*u)&&(i-=t*C,u-=e*C),(w=Math.sqrt(i*i+u*u))&&(i/=w,u/=w,C/=w),t*u180?L+=360:L-S>180&&(S+=360),Y.push({i:j.push(d(j)+"rotate(",null,u)-2,x:cc(S,L)})):L&&j.push(d(j)+"rotate("+L+u)}(g.rotate,v.rotate,w,C),function(S,L,j,Y){S!==L?Y.push({i:j.push(d(j)+"skewX(",null,u)-2,x:cc(S,L)}):L&&j.push(d(j)+"skewX("+L+u)}(g.skewX,v.skewX,w,C),function(S,L,j,Y,q,lt){if(S!==j||L!==Y){var nt=q.push(d(q)+"scale(",null,",",null,")");lt.push({i:nt-4,x:cc(S,j)},{i:nt-2,x:cc(L,Y)})}else j===1&&Y===1||q.push(d(q)+"scale("+j+","+Y+")")}(g.scaleX,g.scaleY,v.scaleX,v.scaleY,w,C),g=v=null,function(S){for(var L,j=-1,Y=C.length;++jg&&(d=e.slice(g,d),w[v]?w[v]+=d:w[++v]=d),(i=i[0])===(u=u[0])?w[v]?w[v]+=u:w[++v]=u:(w[++v]=null,C.push({i:v,x:cc(i,u)})),g=eh.lastIndex;return g=0&&(w=w.slice(0,C)),!w||w==="start"})}(e)?g1:Ds;return function(){var v=g(this,t),w=v.on;w!==u&&(d=(u=w).copy()).on(e,i),v.on=d}}var Tb=kn.prototype.constructor;function ns(t){return function(){this.style.removeProperty(t)}}function Zy(t,e,i){return function(u){this.style.setProperty(t,e.call(this,u),i)}}function Xy(t,e,i){var u,d;function g(){var v=e.apply(this,arguments);return v!==d&&(u=(d=v)&&Zy(t,v,i)),u}return g._value=e,g}function Eb(t){return function(e){this.textContent=t.call(this,e)}}function v1(t){var e,i;function u(){var d=t.apply(this,arguments);return d!==i&&(e=(i=d)&&Eb(d)),e}return u._value=t,u}var Sb=0;function uc(t,e,i,u){this._groups=t,this._parents=e,this._name=i,this._id=u}function Ky(){return++Sb}var yo=kn.prototype;uc.prototype={constructor:uc,select:function(t){var e=this._name,i=this._id;typeof t!="function"&&(t=Rl(t));for(var u=this._groups,d=u.length,g=new Array(d),v=0;v2&&u.state<5,u.state=6,u.timer.stop(),u.on.call(d?"interrupt":"cancel",e,e.__data__,u.index,u.group),delete v[g]):w=!1;w&&delete e.__transition}})(this,t)})},kn.prototype.transition=function(t){var e,i;t instanceof uc?(e=t._id,t=t._name):(e=Ky(),(i=Qy).time=Pf(),t=t==null?null:t+"");for(var u=this._groups,d=u.length,g=0;ge?1:t>=e?0:NaN}Zc.prototype={constructor:Zc,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 Kf="http://www.w3.org/1999/xhtml";const Mb={svg:"http://www.w3.org/2000/svg",xhtml:Kf,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function b1(t){var e=t+="",i=e.indexOf(":");return i>=0&&(e=t.slice(0,i))!=="xmlns"&&(t=t.slice(i+1)),Mb.hasOwnProperty(e)?{space:Mb[e],local:t}:t}function i2(t){return function(){this.removeAttribute(t)}}function bx(t){return function(){this.removeAttributeNS(t.space,t.local)}}function a2(t,e){return function(){this.setAttribute(t,e)}}function wx(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function o2(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttribute(t):this.setAttribute(t,i)}}function xx(t,e){return function(){var i=e.apply(this,arguments);i==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function w1(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function kx(t){return function(){this.style.removeProperty(t)}}function Tx(t,e,i){return function(){this.style.setProperty(t,e,i)}}function Ex(t,e,i){return function(){var u=e.apply(this,arguments);u==null?this.style.removeProperty(t):this.style.setProperty(t,u,i)}}function nh(t,e){return t.style.getPropertyValue(e)||w1(t).getComputedStyle(t,null).getPropertyValue(e)}function Sx(t){return function(){delete this[t]}}function Cx(t,e){return function(){this[t]=e}}function s2(t,e){return function(){var i=e.apply(this,arguments);i==null?delete this[t]:this[t]=i}}function Db(t){return t.trim().split(/^|\s+/)}function c2(t){return t.classList||new u2(t)}function u2(t){this._node=t,this._names=Db(t.getAttribute("class")||"")}function Ru(t,e){for(var i=c2(t),u=-1,d=e.length;++u=0&&(i=e.slice(u+1),e=e.slice(0,u)),{type:e,name:i}})}function Ox(t){return function(){var e=this.__on;if(e){for(var i,u=0,d=-1,g=e.length;u=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Jf=[null];function rs(t,e){this._groups=t,this._parents=e}function $b(){return new rs([[document.documentElement]],Jf)}rs.prototype=$b.prototype={constructor:rs,select:function(t){typeof t!="function"&&(t=t2(t));for(var e=this._groups,i=e.length,u=new Array(i),d=0;d=Gt&&(Gt=Pt+1);!(Ct=vt[Gt])&&++Gt=0;)(u=d[g])&&(v&&4^u.compareDocumentPosition(v)&&v.parentNode.insertBefore(u,v),v=u);return this},sort:function(t){function e(j,Y){return j&&Y?t(j.__data__,Y.__data__):!j-!Y}t||(t=_x);for(var i=this._groups,u=i.length,d=new Array(u),g=0;g1?this.each((e==null?kx:typeof e=="function"?Ex:Tx)(t,e,i==null?"":i)):nh(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?Sx:typeof e=="function"?s2:Cx)(t,e)):this.node()[t]},classed:function(t,e){var i=Db(t+"");if(arguments.length<2){for(var u=c2(this.node()),d=-1,g=i.length;++d{}};function Hb(){for(var t,e=0,i=arguments.length,u={};e=0&&(u=i.slice(d+1),i=i.slice(0,d)),i&&!e.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:u}})}function h2(t,e){for(var i,u=0,d=t.length;u0)for(var i,u,d=new Array(i),g=0;g=0&&e._call.call(void 0,t),e=e._next;--ih})()}finally{ih=0,function(){for(var t,e,i=A1,u=1/0;i;)i._call?(u>i._time&&(u=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:A1=e);Xc=t,N1(u)}(),Qc=0}}function qb(){var t=nd.now(),e=t-ed;e>1e3&&(M1-=e,ed=t)}function N1(t){ih||(Kc&&(Kc=clearTimeout(Kc)),t-Qc>24?(t<1/0&&(Kc=setTimeout(oh,t-nd.now()-M1)),ah&&(ah=clearInterval(ah))):(ah||(ed=nd.now(),ah=setInterval(qb,1e3)),ih=1,Wb(oh)))}function p2(t,e,i){var u=new D1;return e=e==null?0:+e,u.restart(d=>{u.stop(),t(d+e)},e,i),u}D1.prototype=d2.prototype={constructor:D1,restart:function(t,e,i){if(typeof t!="function")throw new TypeError("callback is not a function");i=(i==null?f2():+i)+(e==null?0:+e),this._next||Xc===this||(Xc?Xc._next=this:A1=this,Xc=this),this._call=t,this._time=i,N1()},stop:function(){this._call&&(this._call=null,this._time=1/0,N1())}};var Fx=Ix("start","end","cancel","interrupt"),Px=[];function O1(t,e,i,u,d,g){var v=t.__transition;if(v){if(i in v)return}else t.__transition={};(function(w,C,S){var L,j=w.__transition;function Y(nt){var vt,gt,Tt,Ct;if(S.state!==1)return lt();for(vt in j)if((Ct=j[vt]).name===S.name){if(Ct.state===3)return p2(Y);Ct.state===4?(Ct.state=6,Ct.timer.stop(),Ct.on.call("interrupt",w,w.__data__,Ct.index,Ct.group),delete j[vt]):+vt0)throw new Error("too late; already scheduled");return i}function Ns(t,e){var i=is(t,e);if(i.state>3)throw new Error("too late; already running");return i}function is(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function lc(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var B1,rd=180/Math.PI,g2={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Vb(t,e,i,u,d,g){var v,w,C;return(v=Math.sqrt(t*t+e*e))&&(t/=v,e/=v),(C=t*i+e*u)&&(i-=t*C,u-=e*C),(w=Math.sqrt(i*i+u*u))&&(i/=w,u/=w,C/=w),t*u180?L+=360:L-S>180&&(S+=360),Y.push({i:j.push(d(j)+"rotate(",null,u)-2,x:lc(S,L)})):L&&j.push(d(j)+"rotate("+L+u)}(g.rotate,v.rotate,w,C),function(S,L,j,Y){S!==L?Y.push({i:j.push(d(j)+"skewX(",null,u)-2,x:lc(S,L)}):L&&j.push(d(j)+"skewX("+L+u)}(g.skewX,v.skewX,w,C),function(S,L,j,Y,q,lt){if(S!==j||L!==Y){var nt=q.push(d(q)+"scale(",null,",",null,")");lt.push({i:nt-4,x:lc(S,j)},{i:nt-2,x:lc(L,Y)})}else j===1&&Y===1||q.push(d(q)+"scale("+j+","+Y+")")}(g.scaleX,g.scaleY,v.scaleX,v.scaleY,w,C),g=v=null,function(S){for(var L,j=-1,Y=C.length;++j>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):i===8?od(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):i===4?od(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=as.exec(t))?new Ja(e[1],e[2],e[3],1):(e=hc.exec(t))?new Ja(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Kb.exec(t))?od(e[1],e[2],e[3],e[4]):(e=R1.exec(t))?od(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Pu.exec(t))?cd(e[1],e[2]/100,e[3]/100,1):(e=v2.exec(t))?cd(e[1],e[2]/100,e[3]/100,e[4]):F1.hasOwnProperty(t)?Y1(F1[t]):t==="transparent"?new Ja(NaN,NaN,NaN,0):null}function Y1(t){return new Ja(t>>16&255,t>>8&255,255&t,1)}function od(t,e,i,u){return u<=0&&(t=e=i=NaN),new Ja(t,e,i,u)}function da(t){return t instanceof Os||(t=ad(t)),t?new Ja((t=t.rgb()).r,t.g,t.b,t.opacity):new Ja}function sd(t,e,i,u){return arguments.length===1?da(t):new Ja(t,e,i,u==null?1:u)}function Ja(t,e,i,u){this.r=+t,this.g=+e,this.b=+i,this.opacity=+u}function Qb(){return"#"+Yu(this.r)+Yu(this.g)+Yu(this.b)}function Jb(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function Yu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function cd(t,e,i,u){return u<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new os(t,e,i,u)}function b2(t){if(t instanceof os)return new os(t.h,t.s,t.l,t.opacity);if(t instanceof Os||(t=ad(t)),!t)return new os;if(t instanceof os)return t;var e=(t=t.rgb()).r/255,i=t.g/255,u=t.b/255,d=Math.min(e,i,u),g=Math.max(e,i,u),v=NaN,w=g-d,C=(g+d)/2;return w?(v=e===g?(i-u)/w+6*(i0&&C<1?0:v,new os(v,w,C,t.opacity)}function os(t,e,i,u){this.h=+t,this.s=+e,this.l=+i,this.opacity=+u}function fc(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}m2(Os,ad,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:P1,formatHex:P1,formatHsl:function(){return b2(this).formatHsl()},formatRgb:_2,toString:_2}),m2(Ja,sd,Xb(Os,{brighter:function(t){return t=t==null?id:Math.pow(id,t),new Ja(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?I1:Math.pow(I1,t),new Ja(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){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:Qb,formatHex:Qb,formatRgb:Jb,toString:Jb})),m2(os,function(t,e,i,u){return arguments.length===1?b2(t):new os(t,e,i,u==null?1:u)},Xb(Os,{brighter:function(t){return t=t==null?id:Math.pow(id,t),new os(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?I1:Math.pow(I1,t),new os(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,u=i+(i<.5?i:1-i)*e,d=2*i-u;return new Ja(fc(t>=240?t-240:t+120,d,u),fc(t,d,u),fc(t<120?t+240:t-120,d,u),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const w2=t=>()=>t;function x2(t,e){var i=e-t;return i?function(u,d){return function(g){return u+g*d}}(t,i):w2(isNaN(t)?e:t)}const k2=function t(e){var i=function(d){return(d=+d)==1?x2:function(g,v){return v-g?function(w,C,S){return w=Math.pow(w,S),C=Math.pow(C,S)-w,S=1/S,function(L){return Math.pow(w+L*C,S)}}(g,v,d):w2(isNaN(g)?v:g)}}(e);function u(d,g){var v=i((d=sd(d)).r,(g=sd(g)).r),w=i(d.g,g.g),C=i(d.b,g.b),S=x2(d.opacity,g.opacity);return function(L){return d.r=v(L),d.g=w(L),d.b=C(L),d.opacity=S(L),d+""}}return u.gamma=t,u}(1);var j1=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,z1=new RegExp(j1.source,"g");function $x(t,e){var i,u,d,g=j1.lastIndex=z1.lastIndex=0,v=-1,w=[],C=[];for(t+="",e+="";(i=j1.exec(t))&&(u=z1.exec(e));)(d=u.index)>g&&(d=e.slice(g,d),w[v]?w[v]+=d:w[++v]=d),(i=i[0])===(u=u[0])?w[v]?w[v]+=u:w[++v]=u:(w[++v]=null,C.push({i:v,x:lc(i,u)})),g=z1.lastIndex;return g=0&&(w=w.slice(0,C)),!w||w==="start"})}(e)?L1:Ns;return function(){var v=g(this,t),w=v.on;w!==u&&(d=(u=w).copy()).on(e,i),v.on=d}}var u3=td.prototype.constructor;function U1(t){return function(){this.style.removeProperty(t)}}function A2(t,e,i){return function(u){this.style.setProperty(t,e.call(this,u),i)}}function Gi(t,e,i){var u,d;function g(){var v=e.apply(this,arguments);return v!==d&&(u=(d=v)&&A2(t,v,i)),u}return g._value=e,g}function M2(t){return function(e){this.textContent=t.call(this,e)}}function ju(t){var e,i;function u(){var d=t.apply(this,arguments);return d!==i&&(e=(i=d)&&M2(d)),e}return u._value=t,u}var Gx=0;function Bs(t,e,i,u){this._groups=t,this._parents=e,this._name=i,this._id=u}function D2(){return++Gx}var dc=td.prototype;Bs.prototype={constructor:Bs,select:function(t){var e=this._name,i=this._id;typeof t!="function"&&(t=t2(t));for(var u=this._groups,d=u.length,g=new Array(d),v=0;v2&&u.state<5,u.state=6,u.timer.stop(),u.on.call(d?"interrupt":"cancel",e,e.__data__,u.index,u.group),delete v[g]):w=!1;w&&delete e.__transition}})(this,t)})},td.prototype.transition=function(t){var e,i;t instanceof Bs?(e=t._id,t=t._name):(e=D2(),(i=$1).time=f2(),t=t==null?null:t+"");for(var u=this._groups,d=u.length,g=0;g0?pc(fh,--mo):0,hh--,yi===10&&(hh=1,q1--),yi}function ss(){return yi=mo2||Z1(yi)>3?"":" "}function X1(t,e){for(;--e&&ss()&&!(yi<48||yi>102||yi>57&&yi<65||yi>70&&yi<97););return G1(t,ld()+(e<6&&Jc()==32&&ss()==32))}function ph(t){for(;ss();)switch(yi){case t:return mo;case 34:case 39:t!==34&&t!==39&&ph(yi);break;case 40:t===41&&ph(t);break;case 92:ss()}return mo}function p3(t,e){for(;ss()&&t+yi!==57&&(t+yi!==84||Jc()!==47););return"/*"+G1(e,mo-1)+"*"+$u(t===47?t:ss())}function Hu(t){for(;!Z1(Jc());)ss();return G1(t,mo)}function hd(t){return function(e){return fh="",e}(tu("",null,null,null,[""],t=function(e){return q1=hh=1,h3=gc(fh=e),mo=0,[]}(t),0,[0],t))}function tu(t,e,i,u,d,g,v,w,C){for(var S=0,L=0,j=v,Y=0,q=0,lt=0,nt=1,vt=1,gt=1,Tt=0,Ct="",Pt=d,Gt=g,At=u,ee=Ct;vt;)switch(lt=Tt,Tt=ss()){case 40:if(lt!=108&&ee.charCodeAt(j-1)==58){l3(ee+=H1(dh(Tt),"&","&\f"),"&\f")!=-1&&(gt=-1);break}case 34:case 39:case 91:ee+=dh(Tt);break;case 9:case 10:case 13:case 32:ee+=d3(lt);break;case 92:ee+=X1(ld()-1,7);continue;case 47:switch(Jc()){case 42:case 47:W1(g3(p3(ss(),ld()),e,i),C);break;default:ee+="/"}break;case 123*nt:w[S++]=gc(ee)*gt;case 125*nt:case 59:case 0:switch(Tt){case 0:case 125:vt=0;case 59+L:q>0&&gc(ee)-j&&W1(q>32?eu(ee+";",u,i,j-1):eu(H1(ee," ","")+";",u,i,j-2),C);break;case 59:ee+=";";default:if(W1(At=I2(ee,e,i,S,L,d,w,Ct,Pt=[],Gt=[],j),g),Tt===123)if(L===0)tu(ee,e,At,At,Pt,g,j,w,Gt);else switch(Y){case 100:case 109:case 115:tu(t,At,At,u&&W1(I2(t,At,At,0,0,d,w,Ct,d,Pt=[],j),Gt),d,Gt,j,w,u?Pt:Gt);break;default:tu(ee,At,At,At,[""],Gt,0,w,Gt)}}S=L=q=0,nt=gt=1,Ct=ee="",j=v;break;case 58:j=1+gc(ee),q=lt;default:if(nt<1){if(Tt==123)--nt;else if(Tt==125&&nt++==0&&f3()==125)continue}switch(ee+=$u(Tt),Tt*nt){case 38:gt=L>0?1:(ee+="\f",-1);break;case 44:w[S++]=(gc(ee)-1)*gt,gt=1;break;case 64:Jc()===45&&(ee+=dh(ss())),Y=Jc(),L=j=gc(Ct=ee+=Hu(ld())),Tt++;break;case 45:lt===45&&gc(ee)==2&&(nt=0)}}return g}function I2(t,e,i,u,d,g,v,w,C,S,L){for(var j=d-1,Y=d===0?g:[""],q=L2(Y),lt=0,nt=0,vt=0;lt0?Y[gt]+" "+Tt:H1(Tt,/&\f/g,Y[gt])))&&(C[vt++]=Ct);return V1(t,e,i,d===0?N2:w,C,S,L)}function g3(t,e,i){return V1(t,e,i,ud,$u(yi),lh(t,2,-2),0)}function eu(t,e,i,u){return V1(t,e,i,O2,lh(t,0,u),lh(t,u+1,-1),u)}const R2="8.14.0";var Wu=o(9609),y3=o(7856),Xx=o.n(y3),m3=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,function(i){return String.fromCharCode(parseInt(i.replace(/\\u/g,""),16))});return e=(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,function(i,u){return String.fromCharCode(parseInt(u,16))})).replace(/\\[\d\d\d]{3}/gi,function(i){return String.fromCharCode(parseInt(i.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(i){return String.fromCharCode(parseInt(i.replace(/\\/g,""),8))})},v3=function(t){for(var e="",i=0;i>=0;){if(!((i=t.indexOf("=0)){e+=t,i=-1;break}e+=t.substr(0,i),(i=(t=t.substr(i+1)).indexOf("<\/script>"))>=0&&(i+=9,t=t.substr(i))}var u=m3(e);return(u=(u=(u=u.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/`)}if(i!==void 0)switch(lt){case"flowchart":case"flowchart-v2":i(ee,sr.bindFunctions);break;case"gantt":i(ee,Mh.bindFunctions);break;case"class":case"classDiagram":i(ee,Io.bindFunctions);break;default:i(ee)}else p.debug("CB = undefined!");al.forEach(function(bt){bt()}),al=[];var It=v.securityLevel==="sandbox"?"#i"+t:"#d"+t,Mt=Ce(It).node();return Mt!==null&&typeof Mt.remove=="function"&&Ce(It).node().remove(),ee},parse:function(t){var e=Jt(),i=tr.detectInit(t,e);i&&p.debug("reinit ",i);var u,d=tr.detectType(t,e);switch(p.debug("Type "+d),d){case"git":(u=wc()).parser.yy=el;break;case"flowchart":case"flowchart-v2":sr.clear(),(u=Sp()).parser.yy=sr;break;case"sequence":(u=L6()).parser.yy=Bh;break;case"gantt":(u=v4()).parser.yy=Mh;break;case"class":case"classDiagram":(u=F3()).parser.yy=Io;break;case"state":case"stateDiagram":(u=U4()).parser.yy=P;break;case"info":p.debug("info info info"),(u=$p()).parser.yy=Up;break;case"pie":p.debug("pie"),(u=E4()).parser.yy=Mm;break;case"er":p.debug("er"),(u=lm()).parser.yy=Ua;break;case"journey":p.debug("Journey"),(u=In()).parser.yy=an;break;case"requirement":case"requirementDiagram":p.debug("RequirementDiagram"),(u=C4()).parser.yy=Oh}return u.parser.yy.graphType=d,u.parser.yy.parseError=function(g,v){throw{str:g,hash:v}},u.parse(t),u},parseDirective:function(t,e,i,u){try{if(e!==void 0)switch(e=e.trim(),i){case"open_directive":Um={};break;case"type_directive":Um.type=e.toLowerCase();break;case"arg_directive":Um.args=JSON.parse(e);break;case"close_directive":(function(d,g,v){switch(p.debug("Directive type=".concat(g.type," with args:"),g.args),g.type){case"init":case"initialize":["config"].forEach(function(w){g.args[w]!==void 0&&(v==="flowchart-v2"&&(v="flowchart"),g.args[v]=g.args[w],delete g.args[w])}),p.debug("sanitize in handleDirective",g.args),ip(g.args),p.debug("sanitize in handleDirective (done)",g.args),g.args,L3(g.args);break;case"wrap":case"nowrap":d&&d.setWrap&&d.setWrap(g.type==="wrap");break;case"themeCss":p.warn("themeCss encountered");break;default:p.warn("Unhandled directive: source: '%%{".concat(g.type,": ").concat(JSON.stringify(g.args?g.args:{}),"}%%"),g)}})(t,Um,u),Um=null}}catch(d){p.error("Error while rendering sequenceDiagram directive: ".concat(e," jison context: ").concat(i)),p.error(d.message)}},initialize:function(t){t&&t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),function(i){N3=ia({},i)}(t),t&&t.theme&&yh[t.theme]?t.themeVariables=yh[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=yh.default.getThemeVariables(t.themeVariables));var e=W6(t)==="object"?function(i){return aa=ia({},pd),aa=ia(aa,i),i.theme&&(aa.themeVariables=yh[i.theme].getThemeVariables(i.themeVariables)),ap=op(aa,vh),aa}(t):O3();c7(e),b(e.logLevel)},reinitialize:function(){},getConfig:Jt,setConfig:function(t){return ia(ap,t),Jt()},getSiteConfig:O3,updateSiteConfig:function(t){return aa=ia(aa,t),op(aa,vh),aa},reset:function(){sp()},globalReset:function(){sp(),c7(Jt())},defaultConfig:pd});b(Jt().logLevel),sp(Jt());const ma=rT;var u7=function(){Fo.startOnLoad?ma.getConfig().startOnLoad&&Fo.init():Fo.startOnLoad===void 0&&(p.debug("In start, no config"),ma.getConfig().startOnLoad&&Fo.init())};typeof document!="undefined"&&window.addEventListener("load",function(){u7()},!1);var Fo={startOnLoad:!0,htmlLabels:!0,mermaidAPI:ma,parse:ma.parse,render:ma.render,init:function(){var t,e,i=this,u=ma.getConfig();arguments.length>=2?(arguments[0]!==void 0&&(Fo.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],typeof arguments[arguments.length-1]=="function"?(e=arguments[arguments.length-1],p.debug("Callback function found")):u.mermaid!==void 0&&(typeof u.mermaid.callback=="function"?(e=u.mermaid.callback,p.debug("Callback function found")):p.debug("No Callback function found")),t=t===void 0?document.querySelectorAll(".mermaid"):typeof t=="string"?document.querySelectorAll(t):t instanceof window.Node?[t]:t,p.debug("Start On Load before: "+Fo.startOnLoad),Fo.startOnLoad!==void 0&&(p.debug("Start On Load inner: "+Fo.startOnLoad),ma.updateSiteConfig({startOnLoad:Fo.startOnLoad})),Fo.ganttConfig!==void 0&&ma.updateSiteConfig({gantt:Fo.ganttConfig});for(var d,g=new tr.initIdGeneratior(u.deterministicIds,u.deterministicIDSeed),v=function(C){var S=t[C];if(S.getAttribute("data-processed"))return"continue";S.setAttribute("data-processed",!0);var L="mermaid-".concat(g.next());d=S.innerHTML,d=tr.entityDecode(d).trim().replace(//gi,"
");var j=tr.detectInit(d);j&&p.debug("Detected early reinit: ",j);try{ma.render(L,d,function(Y,q){S.innerHTML=Y,e!==void 0&&e(L),q&&q(S)},S)}catch(Y){p.warn("Syntax Error rendering"),p.warn(Y),i.parseError&&i.parseError(Y)}},w=0;w{r.exports={graphlib:o(6614),dagre:o(1463),intersect:o(8114),render:o(5787),util:o(8355),version:o(5689)}},9144:(r,s,o)=>{var h=o(8355);function c(y,p,b,T){var k=y.append("marker").attr("id",p).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");h.applyStyle(k,b[T+"Style"]),b[T+"Class"]&&k.attr("class",b[T+"Class"])}r.exports={default:c,normal:c,vee:function(y,p,b,T){var k=y.append("marker").attr("id",p).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");h.applyStyle(k,b[T+"Style"]),b[T+"Class"]&&k.attr("class",b[T+"Class"])},undirected:function(y,p,b,T){var k=y.append("marker").attr("id",p).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");h.applyStyle(k,b[T+"Style"]),b[T+"Class"]&&k.attr("class",b[T+"Class"])}}},5632:(r,s,o)=>{var h=o(8355),c=o(4322),y=o(1322);r.exports=function(p,b){var T,k=b.nodes().filter(function(O){return h.isSubgraph(b,O)}),D=p.selectAll("g.cluster").data(k,function(O){return O});return D.selectAll("*").remove(),D.enter().append("g").attr("class","cluster").attr("id",function(O){return b.node(O).id}).style("opacity",0),D=p.selectAll("g.cluster"),h.applyTransition(D,b).style("opacity",1),D.each(function(O){var R=b.node(O),z=c.select(this);c.select(this).append("rect");var U=z.append("g").attr("class","label");y(U,R,R.clusterLabelPos)}),D.selectAll("rect").each(function(O){var R=b.node(O),z=c.select(this);h.applyStyle(z,R.style)}),T=D.exit?D.exit():D.selectAll(null),h.applyTransition(T,b).style("opacity",0).remove(),D}},6315:(r,s,o)=>{var h=o(1034),c=o(1322),y=o(8355),p=o(4322);r.exports=function(b,T){var k,D=b.selectAll("g.edgeLabel").data(T.edges(),function(O){return y.edgeToId(O)}).classed("update",!0);return D.exit().remove(),D.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(D=b.selectAll("g.edgeLabel")).each(function(O){var R=p.select(this);R.select(".label").remove();var z=T.edge(O),U=c(R,T.edge(O),0,0).classed("label",!0),W=U.node().getBBox();z.labelId&&U.attr("id",z.labelId),h.has(z,"width")||(z.width=W.width),h.has(z,"height")||(z.height=W.height)}),k=D.exit?D.exit():D.selectAll(null),y.applyTransition(k,T).style("opacity",0).remove(),D}},940:(r,s,o)=>{var h=o(1034),c=o(7584),y=o(8355),p=o(4322);function b(T,k){var D=(p.line||p.svg.line)().x(function(O){return O.x}).y(function(O){return O.y});return(D.curve||D.interpolate)(T.curve),D(k)}r.exports=function(T,k,D){var O=T.selectAll("g.edgePath").data(k.edges(),function(U){return y.edgeToId(U)}).classed("update",!0),R=function(U,W){var V=U.enter().append("g").attr("class","edgePath").style("opacity",0);return V.append("path").attr("class","path").attr("d",function(X){var at=W.edge(X),tt=W.node(X.v).elem;return b(at,h.range(at.points.length).map(function(){return ut=(it=tt).getBBox(),{x:(St=it.ownerSVGElement.getScreenCTM().inverse().multiply(it.getScreenCTM()).translate(ut.width/2,ut.height/2)).e,y:St.f};var it,ut,St}))}),V.append("defs"),V}(O,k);(function(U,W){var V=U.exit();y.applyTransition(V,W).style("opacity",0).remove()})(O,k);var z=O.merge!==void 0?O.merge(R):O;return y.applyTransition(z,k).style("opacity",1),z.each(function(U){var W=p.select(this),V=k.edge(U);V.elem=this,V.id&&W.attr("id",V.id),y.applyClass(W,V.class,(W.classed("update")?"update ":"")+"edgePath")}),z.selectAll("path.path").each(function(U){var W=k.edge(U);W.arrowheadId=h.uniqueId("arrowhead");var V=p.select(this).attr("marker-end",function(){return"url("+(X=location.href,at=W.arrowheadId,X.split("#")[0]+"#"+at+")");var X,at}).style("fill","none");y.applyTransition(V,k).attr("d",function(X){return function(at,tt){var it=at.edge(tt),ut=at.node(tt.v),St=at.node(tt.w),et=it.points.slice(1,it.points.length-1);return et.unshift(c(ut,et[0])),et.push(c(St,et[et.length-1])),b(it,et)}(k,X)}),y.applyStyle(V,W.style)}),z.selectAll("defs *").remove(),z.selectAll("defs").each(function(U){var W=k.edge(U);(0,D[W.arrowhead])(p.select(this),W.arrowheadId,W,"arrowhead")}),z}},607:(r,s,o)=>{var h=o(1034),c=o(1322),y=o(8355),p=o(4322);r.exports=function(b,T,k){var D,O=T.nodes().filter(function(z){return!y.isSubgraph(T,z)}),R=b.selectAll("g.node").data(O,function(z){return z}).classed("update",!0);return R.exit().remove(),R.enter().append("g").attr("class","node").style("opacity",0),(R=b.selectAll("g.node")).each(function(z){var U=T.node(z),W=p.select(this);y.applyClass(W,U.class,(W.classed("update")?"update ":"")+"node"),W.select("g.label").remove();var V=W.append("g").attr("class","label"),X=c(V,U),at=k[U.shape],tt=h.pick(X.node().getBBox(),"width","height");U.elem=this,U.id&&W.attr("id",U.id),U.labelId&&V.attr("id",U.labelId),h.has(U,"width")&&(tt.width=U.width),h.has(U,"height")&&(tt.height=U.height),tt.width+=U.paddingLeft+U.paddingRight,tt.height+=U.paddingTop+U.paddingBottom,V.attr("transform","translate("+(U.paddingLeft-U.paddingRight)/2+","+(U.paddingTop-U.paddingBottom)/2+")");var it=p.select(this);it.select(".label-container").remove();var ut=at(it,tt,U).classed("label-container",!0);y.applyStyle(ut,U.style);var St=ut.node().getBBox();U.width=St.width,U.height=St.height}),D=R.exit?R.exit():R.selectAll(null),y.applyTransition(D,T).style("opacity",0).remove(),R}},4322:(r,s,o)=>{var h;if(!h)try{h=o(7188)}catch{}h||(h=window.d3),r.exports=h},1463:(r,s,o)=>{var h;try{h=o(681)}catch{}h||(h=window.dagre),r.exports=h},6614:(r,s,o)=>{var h;try{h=o(8282)}catch{}h||(h=window.graphlib),r.exports=h},8114:(r,s,o)=>{r.exports={node:o(7584),circle:o(6587),ellipse:o(3260),polygon:o(5337),rect:o(8049)}},6587:(r,s,o)=>{var h=o(3260);r.exports=function(c,y,p){return h(c,y,y,p)}},3260:r=>{r.exports=function(s,o,h,c){var y=s.x,p=s.y,b=y-c.x,T=p-c.y,k=Math.sqrt(o*o*T*T+h*h*b*b),D=Math.abs(o*h*b/k);c.x{function s(o,h){return o*h>0}r.exports=function(o,h,c,y){var p,b,T,k,D,O,R,z,U,W,V,X,at;if(p=h.y-o.y,T=o.x-h.x,D=h.x*o.y-o.x*h.y,U=p*c.x+T*c.y+D,W=p*y.x+T*y.y+D,!(U!==0&&W!==0&&s(U,W)||(b=y.y-c.y,k=c.x-y.x,O=y.x*c.y-c.x*y.y,R=b*o.x+k*o.y+O,z=b*h.x+k*h.y+O,R!==0&&z!==0&&s(R,z)||(V=p*k-b*T)==0)))return X=Math.abs(V/2),{x:(at=T*O-k*D)<0?(at-X)/V:(at+X)/V,y:(at=b*D-p*O)<0?(at-X)/V:(at+X)/V}}},7584:r=>{r.exports=function(s,o){return s.intersect(o)}},5337:(r,s,o)=>{var h=o(6808);r.exports=function(c,y,p){var b=c.x,T=c.y,k=[],D=Number.POSITIVE_INFINITY,O=Number.POSITIVE_INFINITY;y.forEach(function(at){D=Math.min(D,at.x),O=Math.min(O,at.y)});for(var R=b-c.width/2-D,z=T-c.height/2-O,U=0;U1&&k.sort(function(at,tt){var it=at.x-p.x,ut=at.y-p.y,St=Math.sqrt(it*it+ut*ut),et=tt.x-p.x,K=tt.y-p.y,ft=Math.sqrt(et*et+K*K);return St{r.exports=function(s,o){var h,c,y=s.x,p=s.y,b=o.x-y,T=o.y-p,k=s.width/2,D=s.height/2;return Math.abs(T)*k>Math.abs(b)*D?(T<0&&(D=-D),h=T===0?0:D*b/T,c=D):(b<0&&(k=-k),h=k,c=b===0?0:k*T/b),{x:y+h,y:p+c}}},8284:(r,s,o)=>{var h=o(8355);r.exports=function(c,y){var p=c.append("foreignObject").attr("width","100000"),b=p.append("xhtml:div");b.attr("xmlns","http://www.w3.org/1999/xhtml");var T=y.label;switch(typeof T){case"function":b.insert(T);break;case"object":b.insert(function(){return T});break;default:b.html(T)}h.applyStyle(b,y.labelStyle),b.style("display","inline-block"),b.style("white-space","nowrap");var k=b.node().getBoundingClientRect();return p.attr("width",k.width).attr("height",k.height),p}},1322:(r,s,o)=>{var h=o(7318),c=o(8284),y=o(8287);r.exports=function(p,b,T){var k=b.label,D=p.append("g");b.labelType==="svg"?y(D,b):typeof k!="string"||b.labelType==="html"?c(D,b):h(D,b);var O,R=D.node().getBBox();switch(T){case"top":O=-b.height/2;break;case"bottom":O=b.height/2-R.height;break;default:O=-R.height/2}return D.attr("transform","translate("+-R.width/2+","+O+")"),D}},8287:(r,s,o)=>{var h=o(8355);r.exports=function(c,y){var p=c;return p.node().appendChild(y.label),h.applyStyle(p,y.labelStyle),p}},7318:(r,s,o)=>{var h=o(8355);r.exports=function(c,y){for(var p=c.append("text"),b=function(k){for(var D,O="",R=!1,z=0;z{var h;try{h={defaults:o(1747),each:o(6073),isFunction:o(3560),isPlainObject:o(8630),pick:o(9722),has:o(8721),range:o(6026),uniqueId:o(3955)}}catch{}h||(h=window._),r.exports=h},6381:(r,s,o)=>{var h=o(8355),c=o(4322);r.exports=function(y,p){var b=y.filter(function(){return!c.select(this).classed("update")});function T(k){var D=p.node(k);return"translate("+D.x+","+D.y+")"}b.attr("transform",T),h.applyTransition(y,p).style("opacity",1).attr("transform",T),h.applyTransition(b.selectAll("rect"),p).attr("width",function(k){return p.node(k).width}).attr("height",function(k){return p.node(k).height}).attr("x",function(k){return-p.node(k).width/2}).attr("y",function(k){return-p.node(k).height/2})}},4577:(r,s,o)=>{var h=o(8355),c=o(4322),y=o(1034);r.exports=function(p,b){function T(k){var D=b.edge(k);return y.has(D,"x")?"translate("+D.x+","+D.y+")":""}p.filter(function(){return!c.select(this).classed("update")}).attr("transform",T),h.applyTransition(p,b).style("opacity",1).attr("transform",T)}},4849:(r,s,o)=>{var h=o(8355),c=o(4322);r.exports=function(y,p){function b(T){var k=p.node(T);return"translate("+k.x+","+k.y+")"}y.filter(function(){return!c.select(this).classed("update")}).attr("transform",b),h.applyTransition(y,p).style("opacity",1).attr("transform",b)}},5787:(r,s,o)=>{var h=o(1034),c=o(4322),y=o(1463).layout;r.exports=function(){var k=o(607),D=o(5632),O=o(6315),R=o(940),z=o(4849),U=o(4577),W=o(6381),V=o(4418),X=o(9144),at=function(tt,it){(function(kt){kt.nodes().forEach(function(pt){var mt=kt.node(pt);h.has(mt,"label")||kt.children(pt).length||(mt.label=pt),h.has(mt,"paddingX")&&h.defaults(mt,{paddingLeft:mt.paddingX,paddingRight:mt.paddingX}),h.has(mt,"paddingY")&&h.defaults(mt,{paddingTop:mt.paddingY,paddingBottom:mt.paddingY}),h.has(mt,"padding")&&h.defaults(mt,{paddingLeft:mt.padding,paddingRight:mt.padding,paddingTop:mt.padding,paddingBottom:mt.padding}),h.defaults(mt,p),h.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(Wt){mt[Wt]=Number(mt[Wt])}),h.has(mt,"width")&&(mt._prevWidth=mt.width),h.has(mt,"height")&&(mt._prevHeight=mt.height)}),kt.edges().forEach(function(pt){var mt=kt.edge(pt);h.has(mt,"label")||(mt.label=""),h.defaults(mt,b)})})(it);var ut=T(tt,"output"),St=T(ut,"clusters"),et=T(ut,"edgePaths"),K=O(T(ut,"edgeLabels"),it),ft=k(T(ut,"nodes"),it,V);y(it),z(ft,it),U(K,it),R(et,it,X);var _t=D(St,it);W(_t,it),function(kt){h.each(kt.nodes(),function(pt){var mt=kt.node(pt);h.has(mt,"_prevWidth")?mt.width=mt._prevWidth:delete mt.width,h.has(mt,"_prevHeight")?mt.height=mt._prevHeight:delete mt.height,delete mt._prevWidth,delete mt._prevHeight})}(it)};return at.createNodes=function(tt){return arguments.length?(k=tt,at):k},at.createClusters=function(tt){return arguments.length?(D=tt,at):D},at.createEdgeLabels=function(tt){return arguments.length?(O=tt,at):O},at.createEdgePaths=function(tt){return arguments.length?(R=tt,at):R},at.shapes=function(tt){return arguments.length?(V=tt,at):V},at.arrows=function(tt){return arguments.length?(X=tt,at):X},at};var p={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},b={arrowhead:"normal",curve:c.curveLinear};function T(k,D){var O=k.select("g."+D);return O.empty()&&(O=k.append("g").attr("class",D)),O}},4418:(r,s,o)=>{var h=o(8049),c=o(3260),y=o(6587),p=o(5337);r.exports={rect:function(b,T,k){var D=b.insert("rect",":first-child").attr("rx",k.rx).attr("ry",k.ry).attr("x",-T.width/2).attr("y",-T.height/2).attr("width",T.width).attr("height",T.height);return k.intersect=function(O){return h(k,O)},D},ellipse:function(b,T,k){var D=T.width/2,O=T.height/2,R=b.insert("ellipse",":first-child").attr("x",-T.width/2).attr("y",-T.height/2).attr("rx",D).attr("ry",O);return k.intersect=function(z){return c(k,D,O,z)},R},circle:function(b,T,k){var D=Math.max(T.width,T.height)/2,O=b.insert("circle",":first-child").attr("x",-T.width/2).attr("y",-T.height/2).attr("r",D);return k.intersect=function(R){return y(k,D,R)},O},diamond:function(b,T,k){var D=T.width*Math.SQRT2/2,O=T.height*Math.SQRT2/2,R=[{x:0,y:-O},{x:-D,y:0},{x:0,y:O},{x:D,y:0}],z=b.insert("polygon",":first-child").attr("points",R.map(function(U){return U.x+","+U.y}).join(" "));return k.intersect=function(U){return p(k,R,U)},z}}},8355:(r,s,o)=>{var h=o(1034);r.exports={isSubgraph:function(p,b){return!!p.children(b).length},edgeToId:function(p){return y(p.v)+":"+y(p.w)+":"+y(p.name)},applyStyle:function(p,b){b&&p.attr("style",b)},applyClass:function(p,b,T){b&&p.attr("class",b).attr("class",T+" "+p.attr("class"))},applyTransition:function(p,b){var T=b.graph();if(h.isPlainObject(T)){var k=T.transition;if(h.isFunction(k))return k(p)}return p}};var c=/:/g;function y(p){return p?String(p).replace(c,"\\:"):""}},5689:r=>{r.exports="0.6.4"},7188:(r,s,o)=>{o.r(s),o.d(s,{FormatSpecifier:()=>F0,active:()=>Ww,arc:()=>Td,area:()=>km,areaRadial:()=>Sm,ascending:()=>c,autoType:()=>p5,axisBottom:()=>Ae,axisLeft:()=>nn,axisRight:()=>Ie,axisTop:()=>Xe,bisect:()=>k,bisectLeft:()=>T,bisectRight:()=>b,bisector:()=>y,blob:()=>A5,brush:()=>zg,brushSelection:()=>Gw,brushX:()=>w0,brushY:()=>Zw,buffer:()=>m_,chord:()=>$g,clientPoint:()=>ku,cluster:()=>Sx,color:()=>oo,contourDensity:()=>mf,contours:()=>qi,create:()=>u4,creator:()=>bi,cross:()=>R,csv:()=>v_,csvFormat:()=>a5,csvFormatBody:()=>o5,csvFormatRow:()=>c5,csvFormatRows:()=>s5,csvFormatValue:()=>t_,csvParse:()=>Jv,csvParseRows:()=>i5,cubehelix:()=>Oa,curveBasis:()=>b4,curveBasisClosed:()=>w4,curveBasisOpen:()=>M6,curveBundle:()=>x4,curveCardinal:()=>k4,curveCardinalClosed:()=>D6,curveCardinalOpen:()=>N6,curveCatmullRom:()=>E4,curveCatmullRomClosed:()=>Am,curveCatmullRomOpen:()=>Mm,curveLinear:()=>Eh,curveLinearClosed:()=>kc,curveMonotoneX:()=>Bd,curveMonotoneY:()=>Oh,curveNatural:()=>zi,curveStep:()=>M4,curveStepAfter:()=>N4,curveStepBefore:()=>D4,customEvent:()=>Ao,descending:()=>z,deviation:()=>V,dispatch:()=>on,drag:()=>Xv,dragDisable:()=>li,dragEnable:()=>Zr,dsv:()=>N5,dsvFormat:()=>vf,easeBack:()=>p_,easeBackIn:()=>E5,easeBackInOut:()=>p_,easeBackOut:()=>S5,easeBounce:()=>_f,easeBounceIn:()=>d_,easeBounceInOut:()=>T5,easeBounceOut:()=>_f,easeCircle:()=>f_,easeCircleIn:()=>x5,easeCircleInOut:()=>f_,easeCircleOut:()=>k5,easeCubic:()=>Bc,easeCubicIn:()=>d0,easeCubicInOut:()=>Bc,easeCubicOut:()=>p0,easeElastic:()=>ly,easeElasticIn:()=>C5,easeElasticInOut:()=>g_,easeElasticOut:()=>ly,easeExp:()=>h_,easeExpIn:()=>l_,easeExpInOut:()=>h_,easeExpOut:()=>w5,easeLinear:()=>r_,easePoly:()=>a_,easePolyIn:()=>v5,easePolyInOut:()=>a_,easePolyOut:()=>_5,easeQuad:()=>i_,easeQuadIn:()=>y5,easeQuadInOut:()=>i_,easeQuadOut:()=>m5,easeSin:()=>u_,easeSinIn:()=>c_,easeSinInOut:()=>u_,easeSinOut:()=>b5,entries:()=>Xg,event:()=>yt,extent:()=>X,forceCenter:()=>I5,forceCollide:()=>Y5,forceLink:()=>z5,forceManyBody:()=>W5,forceRadial:()=>q5,forceSimulation:()=>H5,forceX:()=>T_,forceY:()=>gy,format:()=>Y0,formatDefaultLocale:()=>N_,formatLocale:()=>D_,formatPrefix:()=>my,formatSpecifier:()=>xf,geoAlbers:()=>Sb,geoAlbersUsa:()=>uc,geoArea:()=>G5,geoAzimuthalEqualArea:()=>gx,geoAzimuthalEqualAreaRaw:()=>Qy,geoAzimuthalEquidistant:()=>t2,geoAzimuthalEquidistantRaw:()=>Jy,geoBounds:()=>Nf,geoCentroid:()=>K5,geoCircle:()=>Q5,geoClipAntimeridian:()=>By,geoClipCircle:()=>tb,geoClipExtent:()=>tx,geoClipRectangle:()=>r1,geoConicConformal:()=>mx,geoConicConformalRaw:()=>n2,geoConicEqualArea:()=>v1,geoConicEqualAreaRaw:()=>Eb,geoConicEquidistant:()=>Ab,geoConicEquidistantRaw:()=>Cb,geoContains:()=>sb,geoDistance:()=>c1,geoEqualEarth:()=>_x,geoEqualEarthRaw:()=>r2,geoEquirectangular:()=>vx,geoEquirectangularRaw:()=>Vf,geoGnomonic:()=>Mb,geoGnomonicRaw:()=>Kf,geoGraticule:()=>lb,geoGraticule10:()=>ox,geoIdentity:()=>b1,geoInterpolate:()=>sx,geoLength:()=>eb,geoMercator:()=>yx,geoMercatorRaw:()=>Wf,geoNaturalEarth1:()=>bx,geoNaturalEarth1Raw:()=>i2,geoOrthographic:()=>wx,geoOrthographicRaw:()=>a2,geoPath:()=>lx,geoProjection:()=>ns,geoProjectionMutator:()=>Zy,geoRotation:()=>Ny,geoStereographic:()=>xx,geoStereographicRaw:()=>o2,geoStream:()=>Xo,geoTransform:()=>hx,geoTransverseMercator:()=>kx,geoTransverseMercatorRaw:()=>w1,gray:()=>Qw,hcl:()=>Fc,hierarchy:()=>s2,histogram:()=>Rt,hsl:()=>kl,html:()=>w_,image:()=>b_,interpolate:()=>xu,interpolateArray:()=>yg,interpolateBasis:()=>Yr,interpolateBasisClosed:()=>bu,interpolateBlues:()=>a4,interpolateBrBG:()=>W3,interpolateBuGn:()=>J3,interpolateBuPu:()=>sm,interpolateCividis:()=>kp,interpolateCool:()=>o4,interpolateCubehelix:()=>B1,interpolateCubehelixDefault:()=>_6,interpolateCubehelixLong:()=>rd,interpolateDate:()=>u0,interpolateDiscrete:()=>Rx,interpolateGnBu:()=>e4,interpolateGreens:()=>Si,interpolateGreys:()=>kh,interpolateHcl:()=>Ns,interpolateHclLong:()=>is,interpolateHsl:()=>Fx,interpolateHslLong:()=>Px,interpolateHue:()=>D1,interpolateInferno:()=>_o,interpolateLab:()=>O1,interpolateMagma:()=>w6,interpolateNumber:()=>Ma,interpolateNumberArray:()=>Jh,interpolateObject:()=>l0,interpolateOrRd:()=>um,interpolateOranges:()=>xp,interpolatePRGn:()=>bd,interpolatePiYG:()=>yc,interpolatePlasma:()=>x6,interpolatePuBu:()=>m6,interpolatePuBuGn:()=>n4,interpolatePuOr:()=>pp,interpolatePuRd:()=>mc,interpolatePurples:()=>_p,interpolateRainbow:()=>ym,interpolateRdBu:()=>V3,interpolateRdGy:()=>G3,interpolateRdPu:()=>Jr,interpolateRdYlBu:()=>X3,interpolateRdYlGn:()=>pa,interpolateReds:()=>pm,interpolateRgb:()=>Lc,interpolateRgbBasis:()=>El,interpolateRgbBasisClosed:()=>Ho,interpolateRound:()=>d2,interpolateSinebow:()=>c4,interpolateSpectral:()=>gp,interpolateString:()=>Wo,interpolateTransformCss:()=>vg,interpolateTransformSvg:()=>_g,interpolateTurbo:()=>sr,interpolateViridis:()=>Sp,interpolateWarm:()=>gm,interpolateYlGn:()=>v6,interpolateYlGnBu:()=>r4,interpolateYlOrBr:()=>dm,interpolateYlOrRd:()=>vp,interpolateZoom:()=>N1,interrupt:()=>Na,interval:()=>Bm,isoFormat:()=>Fd,isoParse:()=>B4,json:()=>L5,keys:()=>hf,lab:()=>ff,lch:()=>Jg,line:()=>ou,lineRadial:()=>Lp,linkHorizontal:()=>y4,linkRadial:()=>m4,linkVertical:()=>Mh,local:()=>l4,map:()=>ec,matcher:()=>hn,max:()=>Ot,mean:()=>Xt,median:()=>se,merge:()=>le,min:()=>me,mouse:()=>Xs,namespace:()=>Sn,namespaces:()=>Fr,nest:()=>Kw,now:()=>G,pack:()=>Ox,packEnclose:()=>Ob,packSiblings:()=>Yb,pairs:()=>D,partition:()=>rs,path:()=>tc,permute:()=>Lt,pie:()=>Tm,piecewise:()=>g2,pointRadial:()=>Sh,polygonArea:()=>Gb,polygonCentroid:()=>Yx,polygonContains:()=>m2,polygonHull:()=>y2,polygonLength:()=>Xb,precisionFixed:()=>vy,precisionPrefix:()=>O_,precisionRound:()=>L_,quadtree:()=>bf,quantile:()=>ye,quantize:()=>Vb,radialArea:()=>Sm,radialLine:()=>Lp,randomBates:()=>Ls,randomExponential:()=>Ux,randomIrwinHall:()=>ch,randomLogNormal:()=>sh,randomNormal:()=>id,randomUniform:()=>I1,range:()=>et,rgb:()=>ta,ribbon:()=>qg,scaleBand:()=>P1,scaleDiverging:()=>ja,scaleDivergingLog:()=>za,scaleDivergingPow:()=>us,scaleDivergingSqrt:()=>xr,scaleDivergingSymlog:()=>Yi,scaleIdentity:()=>x2,scaleImplicit:()=>v2,scaleLinear:()=>w2,scaleLog:()=>n3,scaleOrdinal:()=>F1,scalePoint:()=>ad,scalePow:()=>C2,scaleQuantile:()=>s3,scaleQuantize:()=>c3,scaleSequential:()=>vd,scaleSequentialLog:()=>_d,scaleSequentialPow:()=>am,scaleSequentialQuantile:()=>z3,scaleSequentialSqrt:()=>l6,scaleSequentialSymlog:()=>im,scaleSqrt:()=>Vx,scaleSymlog:()=>a3,scaleThreshold:()=>u3,scaleTime:()=>Zi,scaleUtc:()=>rm,scan:()=>qe,schemeAccent:()=>fp,schemeBlues:()=>i4,schemeBrBG:()=>H3,schemeBuGn:()=>Q3,schemeBuPu:()=>t4,schemeCategory10:()=>U3,schemeDark2:()=>h6,schemeGnBu:()=>cm,schemeGreens:()=>Ju,schemeGreys:()=>iu,schemeOrRd:()=>xh,schemeOranges:()=>wp,schemePRGn:()=>q3,schemePaired:()=>f6,schemePastel1:()=>dp,schemePastel2:()=>$3,schemePiYG:()=>wd,schemePuBu:()=>Ua,schemePuBuGn:()=>yp,schemePuOr:()=>ru,schemePuRd:()=>lm,schemePurples:()=>ls,schemeRdBu:()=>om,schemeRdGy:()=>Qu,schemeRdPu:()=>vc,schemeRdYlBu:()=>Z3,schemeRdYlGn:()=>xd,schemeReds:()=>bp,schemeSet1:()=>d6,schemeSet2:()=>p6,schemeSet3:()=>g6,schemeSpectral:()=>K3,schemeTableau10:()=>y6,schemeYlGn:()=>fm,schemeYlGnBu:()=>hm,schemeYlOrBr:()=>mp,schemeYlOrRd:()=>Rs,select:()=>br,selectAll:()=>T6,selection:()=>ao,selector:()=>$r,selectorAll:()=>nr,set:()=>Rc,shuffle:()=>he,stack:()=>rn,stackOffsetDiverging:()=>Rd,stackOffsetExpand:()=>L6,stackOffsetNone:()=>fs,stackOffsetSilhouette:()=>su,stackOffsetWiggle:()=>js,stackOrderAppearance:()=>Dm,stackOrderAscending:()=>Nm,stackOrderDescending:()=>Lm,stackOrderInsideOut:()=>B6,stackOrderNone:()=>rl,stackOrderReverse:()=>Ec,stratify:()=>S1,style:()=>di,sum:()=>zt,svg:()=>R0,symbol:()=>A6,symbolCircle:()=>Ps,symbolCross:()=>bo,symbolDiamond:()=>Bi,symbolSquare:()=>Rp,symbolStar:()=>Cm,symbolTriangle:()=>Md,symbolWye:()=>el,symbols:()=>Dh,text:()=>Rl,thresholdFreedmanDiaconis:()=>ge,thresholdScott:()=>pe,thresholdSturges:()=>Wt,tickFormat:()=>os,tickIncrement:()=>pt,tickStep:()=>mt,ticks:()=>kt,timeDay:()=>yi,timeDays:()=>fh,timeFormat:()=>fd,timeFormatDefaultLocale:()=>tm,timeFormatLocale:()=>_3,timeFriday:()=>lh,timeFridays:()=>hh,timeHour:()=>f3,timeHours:()=>ss,timeInterval:()=>Gi,timeMillisecond:()=>ph,timeMilliseconds:()=>p3,timeMinute:()=>ld,timeMinutes:()=>G1,timeMonday:()=>uh,timeMondays:()=>W1,timeMonth:()=>D2,timeMonths:()=>dc,timeParse:()=>b3,timeSaturday:()=>gc,timeSaturdays:()=>h3,timeSecond:()=>dh,timeSeconds:()=>d3,timeSunday:()=>$u,timeSundays:()=>L2,timeThursday:()=>pc,timeThursdays:()=>q1,timeTuesday:()=>H1,timeTuesdays:()=>B2,timeWednesday:()=>l3,timeWednesdays:()=>Zx,timeWeek:()=>$u,timeWeeks:()=>L2,timeYear:()=>ju,timeYears:()=>Gx,timeout:()=>Ge,timer:()=>de,timerFlush:()=>xe,touch:()=>Da,touches:()=>E6,transition:()=>f0,transpose:()=>te,tree:()=>ih,treemap:()=>M1,treemapBinary:()=>nd,treemapDice:()=>Jf,treemapResquarify:()=>f2,treemapSlice:()=>Kc,treemapSliceDice:()=>Wb,treemapSquarify:()=>Qc,tsv:()=>__,tsvFormat:()=>n_,tsvFormatBody:()=>l5,tsvFormatRow:()=>f5,tsvFormatRows:()=>h5,tsvFormatValue:()=>d5,tsvParse:()=>e_,tsvParseRows:()=>u5,utcDay:()=>Fi,utcDays:()=>yr,utcFormat:()=>Q1,utcFriday:()=>R2,utcFridays:()=>K1,utcHour:()=>Y3,utcHours:()=>u6,utcMillisecond:()=>ph,utcMilliseconds:()=>p3,utcMinute:()=>nm,utcMinutes:()=>bh,utcMonday:()=>tu,utcMondays:()=>Xx,utcMonth:()=>F3,utcMonths:()=>P3,utcParse:()=>dd,utcSaturday:()=>Wu,utcSaturdays:()=>Kx,utcSecond:()=>dh,utcSeconds:()=>d3,utcSunday:()=>hd,utcSundays:()=>y3,utcThursday:()=>eu,utcThursdays:()=>qu,utcTuesday:()=>I2,utcTuesdays:()=>m3,utcWednesday:()=>g3,utcWednesdays:()=>v3,utcWeek:()=>hd,utcWeeks:()=>y3,utcYear:()=>Ei,utcYears:()=>P2,values:()=>Zg,variance:()=>W,version:()=>h,voronoi:()=>Yh,window:()=>Pn,xml:()=>B5,zip:()=>ne,zoom:()=>Kp,zoomIdentity:()=>Ud,zoomTransform:()=>$d});var h="5.16.0";function c(n,a){return na?1:n>=a?0:NaN}function y(n){var a;return n.length===1&&(a=n,n=function(l,f){return c(a(l),f)}),{left:function(l,f,m,_){for(m==null&&(m=0),_==null&&(_=l.length);m<_;){var E=m+_>>>1;n(l[E],f)<0?m=E+1:_=E}return m},right:function(l,f,m,_){for(m==null&&(m=0),_==null&&(_=l.length);m<_;){var E=m+_>>>1;n(l[E],f)>0?_=E:m=E+1}return m}}}var p=y(c),b=p.right,T=p.left;const k=b;function D(n,a){a==null&&(a=O);for(var l=0,f=n.length-1,m=n[0],_=new Array(f<0?0:f);ln?1:a>=n?0:NaN}function U(n){return n===null?NaN:+n}function W(n,a){var l,f,m=n.length,_=0,E=-1,x=0,A=0;if(a==null)for(;++E1)return A/(_-1)}function V(n,a){var l=W(n,a);return l&&Math.sqrt(l)}function X(n,a){var l,f,m,_=n.length,E=-1;if(a==null){for(;++E<_;)if((l=n[E])!=null&&l>=l)for(f=m=l;++E<_;)(l=n[E])!=null&&(f>l&&(f=l),m=l)for(f=m=l;++E<_;)(l=a(n[E],E,n))!=null&&(f>l&&(f=l),m0)return[n];if((f=a0)for(n=Math.ceil(n/E),a=Math.floor(a/E),_=new Array(m=Math.ceil(a-n+1));++x=0?(_>=K?10:_>=ft?5:_>=_t?2:1)*Math.pow(10,m):-Math.pow(10,-m)/(_>=K?10:_>=ft?5:_>=_t?2:1)}function mt(n,a,l){var f=Math.abs(a-n)/Math.max(0,l),m=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),_=f/m;return _>=K?m*=10:_>=ft?m*=5:_>=_t&&(m*=2),aP;)B.pop(),--$;var H,J=new Array($+1);for(_=0;_<=$;++_)(H=J[_]=[]).x0=_>0?B[_-1]:I,H.x1=_<$?B[_]:P;for(_=0;_=1)return+l(n[f-1],f-1,n);var f,m=(f-1)*a,_=Math.floor(m),E=+l(n[_],_,n);return E+(+l(n[_+1],_+1,n)-E)*(m-_)}}function ge(n,a,l){return n=it.call(n,U).sort(c),Math.ceil((l-a)/(2*(ye(n,.75)-ye(n,.25))*Math.pow(n.length,-1/3)))}function pe(n,a,l){return Math.ceil((l-a)/(3.5*V(n)*Math.pow(n.length,-1/3)))}function Ot(n,a){var l,f,m=n.length,_=-1;if(a==null){for(;++_=l)for(f=l;++_f&&(f=l)}else for(;++_=l)for(f=l;++_f&&(f=l);return f}function Xt(n,a){var l,f=n.length,m=f,_=-1,E=0;if(a==null)for(;++_=0;)for(a=(f=n[m]).length;--a>=0;)l[--E]=f[a];return l}function me(n,a){var l,f,m=n.length,_=-1;if(a==null){for(;++_=l)for(f=l;++_l&&(f=l)}else for(;++_=l)for(f=l;++_l&&(f=l);return f}function Lt(n,a){for(var l=a.length,f=new Array(l);l--;)f[l]=n[a[l]];return f}function qe(n,a){if(l=n.length){var l,f,m=0,_=0,E=n[_];for(a==null&&(a=c);++m=0&&(f=l.slice(m+1),l=l.slice(0,m)),l&&!a.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:f}})}function Hn(n,a){for(var l,f=0,m=n.length;f0)for(var l,f,m=new Array(l),_=0;_a?1:n>=a?0:NaN}Je.prototype={constructor:Je,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,a){return this._parent.insertBefore(n,a)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var qn="http://www.w3.org/1999/xhtml";const Fr={svg:"http://www.w3.org/2000/svg",xhtml:qn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Sn(n){var a=n+="",l=a.indexOf(":");return l>=0&&(a=n.slice(0,l))!=="xmlns"&&(n=n.slice(l+1)),Fr.hasOwnProperty(a)?{space:Fr[a],local:n}:n}function Gn(n){return function(){this.removeAttribute(n)}}function Un(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Xn(n,a){return function(){this.setAttribute(n,a)}}function Kn(n,a){return function(){this.setAttributeNS(n.space,n.local,a)}}function rr(n,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttribute(n):this.setAttribute(n,l)}}function On(n,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,l)}}function Pn(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function fn(n){return function(){this.style.removeProperty(n)}}function $n(n,a,l){return function(){this.style.setProperty(n,a,l)}}function bn(n,a,l){return function(){var f=a.apply(this,arguments);f==null?this.style.removeProperty(n):this.style.setProperty(n,f,l)}}function di(n,a){return n.style.getPropertyValue(a)||Pn(n).getComputedStyle(n,null).getPropertyValue(a)}function _r(n){return function(){delete this[n]}}function Qi(n,a){return function(){this[n]=a}}function Yn(n,a){return function(){var l=a.apply(this,arguments);l==null?delete this[n]:this[n]=l}}function zo(n){return n.trim().split(/^|\s+/)}function Sa(n){return n.classList||new pi(n)}function pi(n){this._node=n,this._names=zo(n.getAttribute("class")||"")}function Hr(n,a){for(var l=Sa(n),f=-1,m=a.length;++f=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var Jn={},yt=null;function ai(n,a,l){return n=Kt(n,a,l),function(f){var m=f.relatedTarget;m&&(m===this||8&m.compareDocumentPosition(this))||n.call(this,f)}}function Kt(n,a,l){return function(f){var m=yt;yt=f;try{n.call(this,this.__data__,a,l)}finally{yt=m}}}function $i(n){return n.trim().split(/^|\s+/).map(function(a){var l="",f=a.indexOf(".");return f>=0&&(l=a.slice(f+1),a=a.slice(0,f)),{type:a,name:l}})}function ca(n){return function(){var a=this.__on;if(a){for(var l,f=0,m=-1,_=a.length;f<_;++f)l=a[f],n.type&&l.type!==n.type||l.name!==n.name?a[++m]=l:this.removeEventListener(l.type,l.listener,l.capture);++m?a.length=m:delete this.__on}}}function io(n,a,l){var f=Jn.hasOwnProperty(n.type)?ai:Kt;return function(m,_,E){var x,A=this.__on,N=f(a,_,E);if(A){for(var I=0,P=A.length;I=Yt&&(Yt=dt+1);!(rt=Z[Yt])&&++Yt=0;)(f=m[_])&&(E&&4^f.compareDocumentPosition(E)&&E.parentNode.insertBefore(f,E),E=f);return this},sort:function(n){function a(P,B){return P&&B?n(P.__data__,B.__data__):!P-!B}n||(n=Wn);for(var l=this._groups,f=l.length,m=new Array(f),_=0;_1?this.each((a==null?fn:typeof a=="function"?bn:$n)(n,a,l==null?"":l)):di(this.node(),n)},property:function(n,a){return arguments.length>1?this.each((a==null?_r:typeof a=="function"?Yn:Qi)(n,a)):this.node()[n]},classed:function(n,a){var l=zo(n+"");if(arguments.length<2){for(var f=Sa(this.node()),m=-1,_=l.length;++m<_;)if(!f.contains(l[m]))return!1;return!0}return this.each((typeof a=="function"?Pr:a?ii:si)(l,a))},text:function(n){return arguments.length?this.each(n==null?ci:(typeof n=="function"?Ui:Wr)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(n==null?_i:(typeof n=="function"?ei:ar)(n)):this.node().innerHTML},raise:function(){return this.each(Ca)},lower:function(){return this.each(ui)},append:function(n){var a=typeof n=="function"?n:bi(n);return this.select(function(){return this.appendChild(a.apply(this,arguments))})},insert:function(n,a){var l=typeof n=="function"?n:bi(n),f=a==null?sn:typeof a=="function"?a:$r(a);return this.select(function(){return this.insertBefore(l.apply(this,arguments),f.apply(this,arguments)||null)})},remove:function(){return this.each(Qn)},clone:function(n){return this.select(n?Re:Mn)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,a,l){var f,m,_=$i(n+""),E=_.length;if(!(arguments.length<2)){for(x=a?io:ca,l==null&&(l=!1),f=0;f>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):l===8?Do(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):l===4?Do(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|240&a,((15&a)<<4|15&a)/255):null):(a=ze.exec(n))?new fi(a[1],a[2],a[3],1):(a=wr.exec(n))?new fi(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=Er.exec(n))?Do(a[1],a[2],a[3],a[4]):(a=Di.exec(n))?Do(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=hi.exec(n))?so(a[1],a[2]/100,a[3]/100,1):(a=Zs.exec(n))?so(a[1],a[2]/100,a[3]/100,a[4]):ba.hasOwnProperty(n)?vu(ba[n]):n==="transparent"?new fi(NaN,NaN,NaN,0):null}function vu(n){return new fi(n>>16&255,n>>8&255,255&n,1)}function Do(n,a,l,f){return f<=0&&(n=a=l=NaN),new fi(n,a,l,f)}function _u(n){return n instanceof oi||(n=oo(n)),n?new fi((n=n.rgb()).r,n.g,n.b,n.opacity):new fi}function ta(n,a,l,f){return arguments.length===1?_u(n):new fi(n,a,l,f==null?1:f)}function fi(n,a,l,f){this.r=+n,this.g=+a,this.b=+l,this.opacity=+f}function _l(){return"#"+wl(this.r)+wl(this.g)+wl(this.b)}function bl(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function wl(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function so(n,a,l,f){return f<=0?n=a=l=NaN:l<=0||l>=1?n=a=NaN:a<=0&&(n=NaN),new co(n,a,l,f)}function xl(n){if(n instanceof co)return new co(n.h,n.s,n.l,n.opacity);if(n instanceof oi||(n=oo(n)),!n)return new co;if(n instanceof co)return n;var a=(n=n.rgb()).r/255,l=n.g/255,f=n.b/255,m=Math.min(a,l,f),_=Math.max(a,l,f),E=NaN,x=_-m,A=(_+m)/2;return x?(E=a===_?(l-f)/x+6*(l0&&A<1?0:E,new co(E,x,A,n.opacity)}function kl(n,a,l,f){return arguments.length===1?xl(n):new co(n,a,l,f==null?1:f)}function co(n,a,l,f){this.h=+n,this.s=+a,this.l=+l,this.opacity=+f}function Ye(n,a,l){return 255*(n<60?a+(l-a)*n/60:n<180?l:n<240?a+(l-a)*(240-n)/60:a)}function Kh(n,a,l,f,m){var _=n*n,E=_*n;return((1-3*n+3*_-E)*a+(4-6*_+3*E)*l+(1+3*n+3*_-3*E)*f+E*m)/6}function Yr(n){var a=n.length-1;return function(l){var f=l<=0?l=0:l>=1?(l=1,a-1):Math.floor(l*a),m=n[f],_=n[f+1],E=f>0?n[f-1]:2*m-_,x=f180||l<-180?l-360*Math.round(l/360):l):wu(isNaN(n)?a:n)}function Ni(n,a){var l=a-n;return l?Tl(n,l):wu(isNaN(n)?a:n)}Xr(oi,oo,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:Kr,formatHex:Kr,formatHsl:function(){return xl(this).formatHsl()},formatRgb:Oc,toString:Oc}),Xr(fi,ta,wi(oi,{brighter:function(n){return n=n==null?Ji:Math.pow(Ji,n),new fi(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?la:Math.pow(la,n),new fi(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){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:_l,formatHex:_l,formatRgb:bl,toString:bl})),Xr(co,kl,wi(oi,{brighter:function(n){return n=n==null?Ji:Math.pow(Ji,n),new co(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?la:Math.pow(la,n),new co(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),a=isNaN(n)||isNaN(this.s)?0:this.s,l=this.l,f=l+(l<.5?l:1-l)*a,m=2*l-f;return new fi(Ye(n>=240?n-240:n+120,m,f),Ye(n,m,f),Ye(n<120?n+240:n-120,m,f),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(n===1?")":", "+n+")")}}));const Lc=function n(a){var l=function(m){return(m=+m)==1?Ni:function(_,E){return E-_?function(x,A,N){return x=Math.pow(x,N),A=Math.pow(A,N)-x,N=1/N,function(I){return Math.pow(x+I*A,N)}}(_,E,m):wu(isNaN(_)?E:_)}}(a);function f(m,_){var E=l((m=ta(m)).r,(_=ta(_)).r),x=l(m.g,_.g),A=l(m.b,_.b),N=Ni(m.opacity,_.opacity);return function(I){return m.r=E(I),m.g=x(I),m.b=A(I),m.opacity=N(I),m+""}}return f.gamma=n,f}(1);function Qh(n){return function(a){var l,f,m=a.length,_=new Array(m),E=new Array(m),x=new Array(m);for(l=0;l_&&(m=a.slice(_,m),x[E]?x[E]+=m:x[++E]=m),(l=l[0])===(f=f[0])?x[E]?x[E]+=f:x[++E]=f:(x[++E]=null,A.push({i:E,x:Ma(l,f)})),_=ef.lastIndex;return _=0&&a._call.call(null,n),a=a._next;--ea}function De(){ha=(Ga=M.now())+Vn,ea=xi=0;try{xe()}finally{ea=0,function(){for(var n,a,l=Sl,f=1/0;l;)l._call?(f>l._time&&(f=l._time),n=l,l=l._next):(a=l._next,l._next=null,l=n?n._next=a:Sl=a);qo=n,Ue(f)}(),ha=0}}function Oe(){var n=M.now(),a=n-Ga;a>1e3&&(Vn-=a,Ga=n)}function Ue(n){ea||(xi&&(xi=clearTimeout(xi)),n-ha>24?(n<1/0&&(xi=setTimeout(De,n-M.now()-Vn)),lo&&(lo=clearInterval(lo))):(lo||(Ga=M.now(),lo=setInterval(Oe,1e3)),ea=1,F(De)))}function Ge(n,a,l){var f=new qt;return a=a==null?0:+a,f.restart(function(m){f.stop(),n(m+a)},a,l),f}qt.prototype=de.prototype={constructor:qt,restart:function(n,a,l){if(typeof n!="function")throw new TypeError("callback is not a function");l=(l==null?G():+l)+(a==null?0:+a),this._next||qo===this||(qo?qo._next=this:Sl=this,qo=this),this._call=n,this._time=l,Ue()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ue())}};var Tn=on("start","end","cancel","interrupt"),gn=[];function dr(n,a,l,f,m,_){var E=n.__transition;if(E){if(l in E)return}else n.__transition={};(function(x,A,N){var I,P=x.__transition;function B(J){var Q,Z,ot,rt;if(N.state!==1)return H();for(Q in P)if((rt=P[Q]).name===N.name){if(rt.state===3)return Ge(B);rt.state===4?(rt.state=6,rt.timer.stop(),rt.on.call("interrupt",x,x.__data__,rt.index,rt.group),delete P[Q]):+Q0)throw new Error("too late; already scheduled");return l}function jr(n,a){var l=hr(n,a);if(l.state>3)throw new Error("too late; already running");return l}function hr(n,a){var l=n.__transition;if(!l||!(l=l[a]))throw new Error("transition not found");return l}function Na(n,a){var l,f,m,_=n.__transition,E=!0;if(_){for(m in a=a==null?null:a+"",_)(l=_[m]).name===a?(f=l.state>2&&l.state<5,l.state=6,l.timer.stop(),l.on.call(f?"interrupt":"cancel",n,n.__data__,l.index,l.group),delete _[m]):E=!1;E&&delete n.__transition}}var Ks,nf,mg,rf,Vo=180/Math.PI,af={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Tv(n,a,l,f,m,_){var E,x,A;return(E=Math.sqrt(n*n+a*a))&&(n/=E,a/=E),(A=n*l+a*f)&&(l-=n*A,f-=a*A),(x=Math.sqrt(l*l+f*f))&&(l/=x,f/=x,A/=x),n*f180?I+=360:I-N>180&&(N+=360),B.push({i:P.push(m(P)+"rotate(",null,f)-2,x:Ma(N,I)})):I&&P.push(m(P)+"rotate("+I+f)}(_.rotate,E.rotate,x,A),function(N,I,P,B){N!==I?B.push({i:P.push(m(P)+"skewX(",null,f)-2,x:Ma(N,I)}):I&&P.push(m(P)+"skewX("+I+f)}(_.skewX,E.skewX,x,A),function(N,I,P,B,$,H){if(N!==P||I!==B){var J=$.push(m($)+"scale(",null,",",null,")");H.push({i:J-4,x:Ma(N,P)},{i:J-2,x:Ma(I,B)})}else P===1&&B===1||$.push(m($)+"scale("+P+","+B+")")}(_.scaleX,_.scaleY,E.scaleX,E.scaleY,x,A),_=E=null,function(N){for(var I,P=-1,B=A.length;++P=0&&(x=x.slice(0,A)),!x||x==="start"})}(a)?gr:jr;return function(){var E=_(this,n),x=E.on;x!==f&&(m=(f=x).copy()).on(a,l),E.on=m}}var Dg=ao.prototype.constructor;function Ng(n){return function(){this.style.removeProperty(n)}}function Og(n,a,l){return function(f){this.style.setProperty(n,a.call(this,f),l)}}function Lg(n,a,l){var f,m;function _(){var E=a.apply(this,arguments);return E!==m&&(f=(m=E)&&Og(n,E,l)),f}return _._value=a,_}function Bg(n){return function(a){this.textContent=n.call(this,a)}}function Uw(n){var a,l;function f(){var m=n.apply(this,arguments);return m!==l&&(a=(l=m)&&Bg(m)),a}return f._value=n,f}var $w=0;function _s(n,a,l,f){this._groups=n,this._parents=a,this._name=l,this._id=f}function f0(n){return ao().transition(n)}function Ig(){return++$w}var bs=ao.prototype;function d0(n){return n*n*n}function p0(n){return--n*n*n+1}function Bc(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}_s.prototype=f0.prototype={constructor:_s,select:function(n){var a=this._name,l=this._id;typeof n!="function"&&(n=$r(n));for(var f=this._groups,m=f.length,_=new Array(m),E=0;E1&&l.name===a)return new _s([[n]],Hw,a,+f)}return null}function Rg(n){return function(){return n}}function qw(n,a,l){this.target=n,this.type=a,this.selection=l}function Mv(){yt.stopImmediatePropagation()}function Fg(){yt.preventDefault(),yt.stopImmediatePropagation()}var Dv={name:"drag"},g0={name:"space"},Eu={name:"handle"},Su={name:"center"};function Cl(n){return[+n[0],+n[1]]}function y0(n){return[Cl(n[0]),Cl(n[1])]}function m0(n){return function(a){return Da(a,yt.touches,n)}}var v0={name:"x",handles:["w","e"].map(Za),input:function(n,a){return n==null?null:[[+n[0],a[0][1]],[+n[1],a[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},Al={name:"y",handles:["n","s"].map(Za),input:function(n,a){return n==null?null:[[a[0][0],+n[0]],[a[1][0],+n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},ho={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Za),input:function(n){return n==null?null:y0(n)},output:function(n){return n}},xs={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Pg={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_0={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Nv={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Ov={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Za(n){return{type:n}}function Yg(){return!yt.ctrlKey&&!yt.button}function jg(){var n=this.ownerSVGElement||this;return n.hasAttribute("viewBox")?[[(n=n.viewBox.baseVal).x,n.y],[n.x+n.width,n.y+n.height]]:[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function Lv(){return navigator.maxTouchPoints||"ontouchstart"in this}function b0(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function Vw(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function Gw(n){var a=n.__brush;return a?a.dim.output(a.selection):null}function w0(){return sf(v0)}function Zw(){return sf(Al)}function zg(){return sf(ho)}function sf(n){var a,l=jg,f=Yg,m=Lv,_=!0,E=on("start","brush","end"),x=6;function A(Q){var Z=Q.property("__brush",J).selectAll(".overlay").data([Za("overlay")]);Z.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",xs.overlay).merge(Z).each(function(){var rt=b0(this).extent;br(this).attr("x",rt[0][0]).attr("y",rt[0][1]).attr("width",rt[1][0]-rt[0][0]).attr("height",rt[1][1]-rt[0][1])}),Q.selectAll(".selection").data([Za("selection")]).enter().append("rect").attr("class","selection").attr("cursor",xs.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var ot=Q.selectAll(".handle").data(n.handles,function(rt){return rt.type});ot.exit().remove(),ot.enter().append("rect").attr("class",function(rt){return"handle handle--"+rt.type}).attr("cursor",function(rt){return xs[rt.type]}),Q.each(N).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",B).filter(m).on("touchstart.brush",B).on("touchmove.brush",$).on("touchend.brush touchcancel.brush",H).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function N(){var Q=br(this),Z=b0(this).selection;Z?(Q.selectAll(".selection").style("display",null).attr("x",Z[0][0]).attr("y",Z[0][1]).attr("width",Z[1][0]-Z[0][0]).attr("height",Z[1][1]-Z[0][1]),Q.selectAll(".handle").style("display",null).attr("x",function(ot){return ot.type[ot.type.length-1]==="e"?Z[1][0]-x/2:Z[0][0]-x/2}).attr("y",function(ot){return ot.type[0]==="s"?Z[1][1]-x/2:Z[0][1]-x/2}).attr("width",function(ot){return ot.type==="n"||ot.type==="s"?Z[1][0]-Z[0][0]+x:x}).attr("height",function(ot){return ot.type==="e"||ot.type==="w"?Z[1][1]-Z[0][1]+x:x})):Q.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function I(Q,Z,ot){var rt=Q.__brush.emitter;return!rt||ot&&rt.clean?new P(Q,Z,ot):rt}function P(Q,Z,ot){this.that=Q,this.args=Z,this.state=Q.__brush,this.active=0,this.clean=ot}function B(){if((!a||yt.touches)&&f.apply(this,arguments)){var Q,Z,ot,rt,dt,Yt,Vt,$t,_e,jt,ce,ht=this,xt=yt.target.__data__.type,ie=(_&&yt.metaKey?xt="overlay":xt)==="selection"?Dv:_&&yt.altKey?Su:Eu,Qt=n===Al?null:Nv[xt],ae=n===v0?null:Ov[xt],Le=b0(ht),Ve=Le.extent,yn=Le.selection,zn=Ve[0][0],cr=Ve[0][1],an=Ve[1][0],ir=Ve[1][1],In=0,Nn=0,fr=Qt&&ae&&_&&yt.shiftKey,sa=yt.touches?m0(yt.changedTouches[0].identifier):Xs,Ii=sa(ht),Sc=Ii,uu=I(ht,arguments,!0).beforestart();xt==="overlay"?(yn&&(_e=!0),Le.selection=yn=[[Q=n===Al?zn:Ii[0],ot=n===v0?cr:Ii[1]],[dt=n===Al?an:Q,Vt=n===v0?ir:ot]]):(Q=yn[0][0],ot=yn[0][1],dt=yn[1][0],Vt=yn[1][1]),Z=Q,rt=ot,Yt=dt,$t=Vt;var qd=br(ht).attr("pointer-events","none"),Vd=qd.selectAll(".overlay").attr("cursor",xs[xt]);if(yt.touches)uu.moved=Qp,uu.ended=To;else{var $s=br(yt.view).on("mousemove.brush",Qp,!0).on("mouseup.brush",To,!0);_&&$s.on("keydown.brush",zm,!0).on("keyup.brush",$4,!0),li(yt.view)}Mv(),Na(ht),N.call(ht),uu.start()}function Qp(){var Eo=sa(ht);!fr||jt||ce||(Math.abs(Eo[0]-Sc[0])>Math.abs(Eo[1]-Sc[1])?ce=!0:jt=!0),Sc=Eo,_e=!0,Fg(),Ro()}function Ro(){var Eo;switch(In=Sc[0]-Ii[0],Nn=Sc[1]-Ii[1],ie){case g0:case Dv:Qt&&(In=Math.max(zn-Q,Math.min(an-dt,In)),Z=Q+In,Yt=dt+In),ae&&(Nn=Math.max(cr-ot,Math.min(ir-Vt,Nn)),rt=ot+Nn,$t=Vt+Nn);break;case Eu:Qt<0?(In=Math.max(zn-Q,Math.min(an-Q,In)),Z=Q+In,Yt=dt):Qt>0&&(In=Math.max(zn-dt,Math.min(an-dt,In)),Z=Q,Yt=dt+In),ae<0?(Nn=Math.max(cr-ot,Math.min(ir-ot,Nn)),rt=ot+Nn,$t=Vt):ae>0&&(Nn=Math.max(cr-Vt,Math.min(ir-Vt,Nn)),rt=ot,$t=Vt+Nn);break;case Su:Qt&&(Z=Math.max(zn,Math.min(an,Q-In*Qt)),Yt=Math.max(zn,Math.min(an,dt+In*Qt))),ae&&(rt=Math.max(cr,Math.min(ir,ot-Nn*ae)),$t=Math.max(cr,Math.min(ir,Vt+Nn*ae)))}Yt0&&(Q=Z-In),ae<0?Vt=$t-Nn:ae>0&&(ot=rt-Nn),ie=g0,Vd.attr("cursor",xs.selection),Ro());break;default:return}Fg()}function $4(){switch(yt.keyCode){case 16:fr&&(jt=ce=fr=!1,Ro());break;case 18:ie===Su&&(Qt<0?dt=Yt:Qt>0&&(Q=Z),ae<0?Vt=$t:ae>0&&(ot=rt),ie=Eu,Ro());break;case 32:ie===g0&&(yt.altKey?(Qt&&(dt=Yt-In*Qt,Q=Z+In*Qt),ae&&(Vt=$t-Nn*ae,ot=rt+Nn*ae),ie=Su):(Qt<0?dt=Yt:Qt>0&&(Q=Z),ae<0?Vt=$t:ae>0&&(ot=rt),ie=Eu),Vd.attr("cursor",xs[xt]),Ro());break;default:return}Fg()}}function $(){I(this,arguments).moved()}function H(){I(this,arguments).ended()}function J(){var Q=this.__brush||{selection:null};return Q.extent=y0(l.apply(this,arguments)),Q.dim=n,Q}return A.move=function(Q,Z){Q.selection?Q.on("start.brush",function(){I(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){I(this,arguments).end()}).tween("brush",function(){var ot=this,rt=ot.__brush,dt=I(ot,arguments),Yt=rt.selection,Vt=n.input(typeof Z=="function"?Z.apply(this,arguments):Z,rt.extent),$t=xu(Yt,Vt);function _e(jt){rt.selection=jt===1&&Vt===null?null:$t(jt),N.call(ot),dt.brush()}return Yt!==null&&Vt!==null?_e:_e(1)}):Q.each(function(){var ot=this,rt=arguments,dt=ot.__brush,Yt=n.input(typeof Z=="function"?Z.apply(ot,rt):Z,dt.extent),Vt=I(ot,rt).beforestart();Na(ot),dt.selection=Yt===null?null:Yt,N.call(ot),Vt.start().brush().end()})},A.clear=function(Q){A.move(Q,null)},P.prototype={beforestart:function(){return++this.active==1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active==0&&(delete this.state.emitter,this.emit("end")),this},emit:function(Q){Ao(new qw(A,Q,n.output(this.state.selection)),E.apply,E,[Q,this.that,this.args])}},A.extent=function(Q){return arguments.length?(l=typeof Q=="function"?Q:Rg(y0(Q)),A):l},A.filter=function(Q){return arguments.length?(f=typeof Q=="function"?Q:Rg(!!Q),A):f},A.touchable=function(Q){return arguments.length?(m=typeof Q=="function"?Q:Rg(!!Q),A):m},A.handleSize=function(Q){return arguments.length?(x=+Q,A):x},A.keyModifiers=function(Q){return arguments.length?(_=!!Q,A):_},A.on=function(){var Q=E.on.apply(E,arguments);return Q===E?A:Q},A}var Bv=Math.cos,Iv=Math.sin,x0=Math.PI,k0=x0/2,Rv=2*x0,Ug=Math.max;function Ml(n){return function(a,l){return n(a.source.value+a.target.value,l.source.value+l.target.value)}}function $g(){var n=0,a=null,l=null,f=null;function m(_){var E,x,A,N,I,P,B=_.length,$=[],H=et(B),J=[],Q=[],Z=Q.groups=new Array(B),ot=new Array(B*B);for(E=0,I=-1;++IJs)if(Math.abs(I*x-A*N)>Js&&m){var B=l-_,$=f-E,H=x*x+A*A,J=B*B+$*$,Q=Math.sqrt(H),Z=Math.sqrt(P),ot=m*Math.tan((T0-Math.acos((H+P-J)/(2*Q*Z)))/2),rt=ot/Z,dt=ot/Q;Math.abs(rt-1)>Js&&(this._+="L"+(n+rt*N)+","+(a+rt*I)),this._+="A"+m+","+m+",0,0,"+ +(I*B>N*$)+","+(this._x1=n+dt*x)+","+(this._y1=a+dt*A)}else this._+="L"+(this._x1=n)+","+(this._y1=a)},arc:function(n,a,l,f,m,_){n=+n,a=+a,_=!!_;var E=(l=+l)*Math.cos(f),x=l*Math.sin(f),A=n+E,N=a+x,I=1^_,P=_?f-m:m-f;if(l<0)throw new Error("negative radius: "+l);this._x1===null?this._+="M"+A+","+N:(Math.abs(this._x1-A)>Js||Math.abs(this._y1-N)>Js)&&(this._+="L"+A+","+N),l&&(P<0&&(P=P%E0+E0),P>Fv?this._+="A"+l+","+l+",0,1,"+I+","+(n-E)+","+(a-x)+"A"+l+","+l+",0,1,"+I+","+(this._x1=A)+","+(this._y1=N):P>Js&&(this._+="A"+l+","+l+",0,"+ +(P>=T0)+","+I+","+(this._x1=n+l*Math.cos(m))+","+(this._y1=a+l*Math.sin(m))))},rect:function(n,a,l,f){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+a)+"h"+ +l+"v"+ +f+"h"+-l+"Z"},toString:function(){return this._}};const tc=cf;function S0(n){return n.source}function Dl(n){return n.target}function Pv(n){return n.radius}function Yv(n){return n.startAngle}function jv(n){return n.endAngle}function qg(){var n=S0,a=Dl,l=Pv,f=Yv,m=jv,_=null;function E(){var x,A=Xw.call(arguments),N=n.apply(this,A),I=a.apply(this,A),P=+l.apply(this,(A[0]=N,A)),B=f.apply(this,A)-k0,$=m.apply(this,A)-k0,H=P*Bv(B),J=P*Iv(B),Q=+l.apply(this,(A[0]=I,A)),Z=f.apply(this,A)-k0,ot=m.apply(this,A)-k0;if(_||(_=x=tc()),_.moveTo(H,J),_.arc(0,0,P,B,$),B===Z&&$===ot||(_.quadraticCurveTo(0,0,Q*Bv(Z),Q*Iv(Z)),_.arc(0,0,Q,Z,ot)),_.quadraticCurveTo(0,0,H,J),_.closePath(),x)return _=null,x+""||null}return E.radius=function(x){return arguments.length?(l=typeof x=="function"?x:Hg(+x),E):l},E.startAngle=function(x){return arguments.length?(f=typeof x=="function"?x:Hg(+x),E):f},E.endAngle=function(x){return arguments.length?(m=typeof x=="function"?x:Hg(+x),E):m},E.source=function(x){return arguments.length?(n=x,E):n},E.target=function(x){return arguments.length?(a=x,E):a},E.context=function(x){return arguments.length?(_=x==null?null:x,E):_},E}var fo="$";function uf(){}function Vg(n,a){var l=new uf;if(n instanceof uf)n.each(function(x,A){l.set(A,x)});else if(Array.isArray(n)){var f,m=-1,_=n.length;if(a==null)for(;++m<_;)l.set(m,n[m]);else for(;++m<_;)l.set(a(f=n[m],m,n),f)}else if(n)for(var E in n)l.set(E,n[E]);return l}uf.prototype=Vg.prototype={constructor:uf,has:function(n){return fo+n in this},get:function(n){return this[fo+n]},set:function(n,a){return this[fo+n]=a,this},remove:function(n){var a=fo+n;return a in this&&delete this[a]},clear:function(){for(var n in this)n[0]===fo&&delete this[n]},keys:function(){var n=[];for(var a in this)a[0]===fo&&n.push(a.slice(1));return n},values:function(){var n=[];for(var a in this)a[0]===fo&&n.push(this[a]);return n},entries:function(){var n=[];for(var a in this)a[0]===fo&&n.push({key:a.slice(1),value:this[a]});return n},size:function(){var n=0;for(var a in this)a[0]===fo&&++n;return n},empty:function(){for(var n in this)if(n[0]===fo)return!1;return!0},each:function(n){for(var a in this)a[0]===fo&&n(this[a],a.slice(1),this)}};const ec=Vg;function Kw(){var n,a,l,f=[],m=[];function _(x,A,N,I){if(A>=f.length)return n!=null&&x.sort(n),a!=null?a(x):x;for(var P,B,$,H=-1,J=x.length,Q=f[A++],Z=ec(),ot=N();++Hf.length)return x;var N,I=m[A-1];return a!=null&&A>=f.length?N=x.entries():(N=[],x.each(function(P,B){N.push({key:B,values:E(P,A)})})),I!=null?N.sort(function(P,B){return I(P.key,B.key)}):N}return l={object:function(x){return _(x,0,zv,Uv)},map:function(x){return _(x,0,Gg,$v)},entries:function(x){return E(_(x,0,Gg,$v),0)},key:function(x){return f.push(x),l},sortKeys:function(x){return m[f.length-1]=x,l},sortValues:function(x){return n=x,l},rollup:function(x){return a=x,l}}}function zv(){return{}}function Uv(n,a,l){n[a]=l}function Gg(){return ec()}function $v(n,a,l){n.set(a,l)}function lf(){}var Ic=ec.prototype;function Nl(n,a){var l=new lf;if(n instanceof lf)n.each(function(_){l.add(_)});else if(n){var f=-1,m=n.length;if(a==null)for(;++f.008856451679035631?Math.pow(n,1/3):n/Hv+D0}function Qg(n){return n>Kg?n*n*n:Hv*(n-D0)}function Ll(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function nc(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function O0(n){if(n instanceof ks)return new ks(n.h,n.c,n.l,n.opacity);if(n instanceof Go||(n=Ol(n)),n.a===0&&n.b===0)return new ks(NaN,0f!=$>f&&l<(B-N)*(f-I)/($-I)+N&&(m=-m)}return m}function gf(n,a,l){var f,m,_,E;return function(x,A,N){return(A[0]-x[0])*(N[1]-x[1])==(N[0]-x[0])*(A[1]-x[1])}(n,a,l)&&(m=n[f=+(n[0]===a[0])],_=l[f],E=a[f],m<=_&&_<=E||E<=_&&_<=m)}function Gv(){}var Es=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function qi(){var n=1,a=1,l=Wt,f=x;function m(A){var N=l(A);if(Array.isArray(N))N=N.slice().sort(Jw);else{var I=X(A),P=I[0],B=I[1];N=mt(P,B,N),N=et(Math.floor(P/N)*N,Math.floor(B/N)*N,N)}return N.map(function($){return _(A,$)})}function _(A,N){var I=[],P=[];return function(B,$,H){var J,Q,Z,ot,rt,dt,Yt=new Array,Vt=new Array;for(J=Q=-1,ot=B[0]>=$,Es[ot<<1].forEach($t);++J=$,Es[Z|ot<<1].forEach($t);for(Es[ot<<0].forEach($t);++Q=$,rt=B[Q*n]>=$,Es[ot<<1|rt<<2].forEach($t);++J=$,dt=rt,rt=B[Q*n+J+1]>=$,Es[Z|ot<<1|rt<<2|dt<<3].forEach($t);Es[ot|rt<<3].forEach($t)}for(J=-1,rt=B[Q*n]>=$,Es[rt<<2].forEach($t);++J=$,Es[rt<<2|dt<<3].forEach($t);function $t(_e){var jt,ce,ht=[_e[0][0]+J,_e[0][1]+Q],xt=[_e[1][0]+J,_e[1][1]+Q],ie=E(ht),Qt=E(xt);(jt=Vt[ie])?(ce=Yt[Qt])?(delete Vt[jt.end],delete Yt[ce.start],jt===ce?(jt.ring.push(xt),H(jt.ring)):Yt[jt.start]=Vt[ce.end]={start:jt.start,end:ce.end,ring:jt.ring.concat(ce.ring)}):(delete Vt[jt.end],jt.ring.push(xt),Vt[jt.end=Qt]=jt):(jt=Yt[Qt])?(ce=Vt[ie])?(delete Yt[jt.start],delete Vt[ce.end],jt===ce?(jt.ring.push(xt),H(jt.ring)):Yt[ce.start]=Vt[jt.end]={start:ce.start,end:jt.end,ring:ce.ring.concat(jt.ring)}):(delete Yt[jt.start],jt.ring.unshift(ht),Yt[jt.start=ie]=jt):Yt[ie]=Vt[Qt]={start:ie,end:Qt,ring:[ht,xt]}}Es[rt<<3].forEach($t)}(A,N,function(B){f(B,A,N),function($){for(var H=0,J=$.length,Q=$[J-1][1]*$[0][0]-$[J-1][0]*$[0][1];++H0?I.push([B]):P.push(B)}),P.forEach(function(B){for(var $,H=0,J=I.length;H0&&$0&&H0&&I>0))throw new Error("invalid size");return n=N,a=I,m},m.thresholds=function(A){return arguments.length?(l=typeof A=="function"?A:Array.isArray(A)?Ts(Vv.call(A)):Ts(A),m):l},m.smooth=function(A){return arguments.length?(f=A?x:Gv,m):f===x},m}function iy(n,a,l){for(var f=n.width,m=n.height,_=1+(l<<1),E=0;E=l&&(x>=_&&(A-=n.data[x-_+E*f]),a.data[x-l+E*f]=A/Math.min(x+1,f-1+_-x,_))}function ay(n,a,l){for(var f=n.width,m=n.height,_=1+(l<<1),E=0;E=l&&(x>=_&&(A-=n.data[E+(x-_)*f]),a.data[E+(x-l)*f]=A/Math.min(x+1,m-1+_-x,_))}function Sr(n){return n[0]}function t5(n){return n[1]}function yf(){return 1}function mf(){var n=Sr,a=t5,l=yf,f=960,m=500,_=20,E=2,x=3*_,A=f+2*x>>E,N=m+2*x>>E,I=Ts(20);function P(Z){var ot=new Float32Array(A*N),rt=new Float32Array(A*N);Z.forEach(function(Vt,$t,_e){var jt=+n(Vt,$t,_e)+x>>E,ce=+a(Vt,$t,_e)+x>>E,ht=+l(Vt,$t,_e);jt>=0&&jt=0&&ce>E),ay({width:A,height:N,data:rt},{width:A,height:N,data:ot},_>>E),iy({width:A,height:N,data:ot},{width:A,height:N,data:rt},_>>E),ay({width:A,height:N,data:rt},{width:A,height:N,data:ot},_>>E),iy({width:A,height:N,data:ot},{width:A,height:N,data:rt},_>>E),ay({width:A,height:N,data:rt},{width:A,height:N,data:ot},_>>E);var dt=I(ot);if(!Array.isArray(dt)){var Yt=Ot(ot);dt=mt(0,Yt,dt),(dt=et(0,Math.floor(Yt/dt)*dt,dt)).shift()}return qi().thresholds(dt).size([A,N])(ot).map(B)}function B(Z){return Z.value*=Math.pow(2,-2*E),Z.coordinates.forEach($),Z}function $(Z){Z.forEach(H)}function H(Z){Z.forEach(J)}function J(Z){Z[0]=Z[0]*Math.pow(2,E)-x,Z[1]=Z[1]*Math.pow(2,E)-x}function Q(){return A=f+2*(x=3*_)>>E,N=m+2*x>>E,P}return P.x=function(Z){return arguments.length?(n=typeof Z=="function"?Z:Ts(+Z),P):n},P.y=function(Z){return arguments.length?(a=typeof Z=="function"?Z:Ts(+Z),P):a},P.weight=function(Z){return arguments.length?(l=typeof Z=="function"?Z:Ts(+Z),P):l},P.size=function(Z){if(!arguments.length)return[f,m];var ot=Math.ceil(Z[0]),rt=Math.ceil(Z[1]);if(!(ot>=0||ot>=0))throw new Error("invalid size");return f=ot,m=rt,Q()},P.cellSize=function(Z){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return E=Math.floor(Math.log(Z)/Math.LN2),Q()},P.thresholds=function(Z){return arguments.length?(I=typeof Z=="function"?Z:Array.isArray(Z)?Ts(Vv.call(Z)):Ts(Z),P):I},P.bandwidth=function(Z){if(!arguments.length)return Math.sqrt(_*(_+1));if(!((Z=+Z)>=0))throw new Error("invalid bandwidth");return _=Math.round((Math.sqrt(4*Z*Z+1)-1)/2),Q()},P}function B0(n){return function(){return n}}function oy(n,a,l,f,m,_,E,x,A,N){this.target=n,this.type=a,this.subject=l,this.identifier=f,this.active=m,this.x=_,this.y=E,this.dx=x,this.dy=A,this._=N}function e5(){return!yt.ctrlKey&&!yt.button}function n5(){return this.parentNode}function r5(n){return n==null?{x:yt.x,y:yt.y}:n}function Zv(){return navigator.maxTouchPoints||"ontouchstart"in this}function Xv(){var n,a,l,f,m=e5,_=n5,E=r5,x=Zv,A={},N=on("start","drag","end"),I=0,P=0;function B(dt){dt.on("mousedown.drag",$).filter(x).on("touchstart.drag",Q).on("touchmove.drag",Z).on("touchend.drag touchcancel.drag",ot).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function $(){if(!f&&m.apply(this,arguments)){var dt=rt("mouse",_.apply(this,arguments),Xs,this,arguments);dt&&(br(yt.view).on("mousemove.drag",H,!0).on("mouseup.drag",J,!0),li(yt.view),Or(),l=!1,n=yt.clientX,a=yt.clientY,dt("start"))}}function H(){if(Mi(),!l){var dt=yt.clientX-n,Yt=yt.clientY-a;l=dt*dt+Yt*Yt>P}A.mouse("drag")}function J(){br(yt.view).on("mousemove.drag mouseup.drag",null),Zr(yt.view,l),Mi(),A.mouse("end")}function Q(){if(m.apply(this,arguments)){var dt,Yt,Vt=yt.changedTouches,$t=_.apply(this,arguments),_e=Vt.length;for(dt=0;dt<_e;++dt)(Yt=rt(Vt[dt].identifier,$t,Da,this,arguments))&&(Or(),Yt("start"))}}function Z(){var dt,Yt,Vt=yt.changedTouches,$t=Vt.length;for(dt=0;dt<$t;++dt)(Yt=A[Vt[dt].identifier])&&(Mi(),Yt("drag"))}function ot(){var dt,Yt,Vt=yt.changedTouches,$t=Vt.length;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),dt=0;dt<$t;++dt)(Yt=A[Vt[dt].identifier])&&(Or(),Yt("end"))}function rt(dt,Yt,Vt,$t,_e){var jt,ce,ht,xt=Vt(Yt,dt),ie=N.copy();if(Ao(new oy(B,"beforestart",jt,dt,I,xt[0],xt[1],0,0,ie),function(){return(yt.subject=jt=E.apply($t,_e))!=null&&(ce=jt.x-xt[0]||0,ht=jt.y-xt[1]||0,!0)}))return function Qt(ae){var Le,Ve=xt;switch(ae){case"start":A[dt]=Qt,Le=I++;break;case"end":delete A[dt],--I;case"drag":xt=Vt(Yt,dt),Le=I}Ao(new oy(B,ae,jt,dt,Le,xt[0]+ce,xt[1]+ht,xt[0]-Ve[0],xt[1]-Ve[1],ie),ie.apply,ie,[ae,$t,_e])}}return B.filter=function(dt){return arguments.length?(m=typeof dt=="function"?dt:B0(!!dt),B):m},B.container=function(dt){return arguments.length?(_=typeof dt=="function"?dt:B0(dt),B):_},B.subject=function(dt){return arguments.length?(E=typeof dt=="function"?dt:B0(dt),B):E},B.touchable=function(dt){return arguments.length?(x=typeof dt=="function"?dt:B0(!!dt),B):x},B.on=function(){var dt=N.on.apply(N,arguments);return dt===N?B:dt},B.clickDistance=function(dt){return arguments.length?(P=(dt=+dt)*dt,B):Math.sqrt(P)},B}oy.prototype.on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};var Kv={},sy={};function Qv(n){return new Function("d","return {"+n.map(function(a,l){return JSON.stringify(a)+": d["+l+'] || ""'}).join(",")+"}")}function cy(n){var a=Object.create(null),l=[];return n.forEach(function(f){for(var m in f)m in a||l.push(a[m]=m)}),l}function Xa(n,a){var l=n+"",f=l.length;return f=P?H=!0:(rt=x.charCodeAt(B++))===10?J=!0:rt===13&&(J=!0,x.charCodeAt(B)===10&&++B),x.slice(dt+1,ot-1).replace(/""/g,'"')}for(;B9999?"+"+Xa($,6):Xa($,4)}(A.getUTCFullYear())+"-"+Xa(A.getUTCMonth()+1,2)+"-"+Xa(A.getUTCDate(),2)+(B?"T"+Xa(N,2)+":"+Xa(I,2)+":"+Xa(P,2)+"."+Xa(B,3)+"Z":P?"T"+Xa(N,2)+":"+Xa(I,2)+":"+Xa(P,2)+"Z":I||N?"T"+Xa(N,2)+":"+Xa(I,2)+"Z":"")}(x):a.test(x+="")?'"'+x.replace(/"/g,'""')+'"':x}return{parse:function(x,A){var N,I,P=f(x,function(B,$){if(N)return N(B,$-1);I=B,N=A?function(H,J){var Q=Qv(H);return function(Z,ot){return J(Q(Z),ot,H)}}(B,A):Qv(B)});return P.columns=I||[],P},parseRows:f,format:function(x,A){return A==null&&(A=cy(x)),[A.map(E).join(n)].concat(m(x,A)).join(` +`)},formatBody:function(x,A){return A==null&&(A=cy(x)),m(x,A).join(` +`)},formatRows:function(x){return x.map(_).join(` +`)},formatRow:_,formatValue:E}}var Au=vf(","),Jv=Au.parse,i5=Au.parseRows,a5=Au.format,o5=Au.formatBody,s5=Au.formatRows,c5=Au.formatRow,t_=Au.formatValue,Mu=vf(" "),e_=Mu.parse,u5=Mu.parseRows,n_=Mu.format,l5=Mu.formatBody,h5=Mu.formatRows,f5=Mu.formatRow,d5=Mu.formatValue;function p5(n){for(var a in n){var l,f,m=n[a].trim();if(m)if(m==="true")m=!0;else if(m==="false")m=!1;else if(m==="NaN")m=NaN;else if(isNaN(l=+m)){if(!(f=m.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;g5&&f[4]&&!f[7]&&(m=m.replace(/-/g,"/").replace(/T/," ")),m=new Date(m)}else m=l;else m=null;n[a]=m}return n}var g5=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function r_(n){return+n}function y5(n){return n*n}function m5(n){return n*(2-n)}function i_(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}var v5=function n(a){function l(f){return Math.pow(f,a)}return a=+a,l.exponent=n,l}(3),_5=function n(a){function l(f){return 1-Math.pow(1-f,a)}return a=+a,l.exponent=n,l}(3),a_=function n(a){function l(f){return((f*=2)<=1?Math.pow(f,a):2-Math.pow(2-f,a))/2}return a=+a,l.exponent=n,l}(3),o_=Math.PI,s_=o_/2;function c_(n){return+n==1?1:1-Math.cos(n*s_)}function b5(n){return Math.sin(n*s_)}function u_(n){return(1-Math.cos(o_*n))/2}function Pc(n){return 1.0009775171065494*(Math.pow(2,-10*n)-.0009765625)}function l_(n){return Pc(1-+n)}function w5(n){return 1-Pc(n)}function h_(n){return((n*=2)<=1?Pc(1-n):2-Pc(n-1))/2}function x5(n){return 1-Math.sqrt(1-n*n)}function k5(n){return Math.sqrt(1- --n*n)}function f_(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var I0=7.5625;function d_(n){return 1-_f(1-n)}function _f(n){return(n=+n)<.36363636363636365?I0*n*n:n<.7272727272727273?I0*(n-=.5454545454545454)*n+.75:n<.9090909090909091?I0*(n-=.8181818181818182)*n+.9375:I0*(n-=.9545454545454546)*n+.984375}function T5(n){return((n*=2)<=1?1-_f(1-n):_f(n-1)+1)/2}var uy=1.70158,E5=function n(a){function l(f){return(f=+f)*f*(a*(f-1)+f)}return a=+a,l.overshoot=n,l}(uy),S5=function n(a){function l(f){return--f*f*((f+1)*a+f)+1}return a=+a,l.overshoot=n,l}(uy),p_=function n(a){function l(f){return((f*=2)<1?f*f*((a+1)*f-a):(f-=2)*f*((a+1)*f+a)+2)/2}return a=+a,l.overshoot=n,l}(uy),Il=2*Math.PI,C5=function n(a,l){var f=Math.asin(1/(a=Math.max(1,a)))*(l/=Il);function m(_){return a*Pc(- --_)*Math.sin((f-_)/l)}return m.amplitude=function(_){return n(_,l*Il)},m.period=function(_){return n(a,_)},m}(1,.3),ly=function n(a,l){var f=Math.asin(1/(a=Math.max(1,a)))*(l/=Il);function m(_){return 1-a*Pc(_=+_)*Math.sin((_+f)/l)}return m.amplitude=function(_){return n(_,l*Il)},m.period=function(_){return n(a,_)},m}(1,.3),g_=function n(a,l){var f=Math.asin(1/(a=Math.max(1,a)))*(l/=Il);function m(_){return((_=2*_-1)<0?a*Pc(-_)*Math.sin((f-_)/l):2-a*Pc(_)*Math.sin((f+_)/l))/2}return m.amplitude=function(_){return n(_,l*Il)},m.period=function(_){return n(a,_)},m}(1,.3);function y_(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.blob()}function A5(n,a){return fetch(n,a).then(y_)}function M5(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.arrayBuffer()}function m_(n,a){return fetch(n,a).then(M5)}function D5(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.text()}function Rl(n,a){return fetch(n,a).then(D5)}function hy(n){return function(a,l,f){return arguments.length===2&&typeof l=="function"&&(f=l,l=void 0),Rl(a,l).then(function(m){return n(m,f)})}}function N5(n,a,l,f){arguments.length===3&&typeof l=="function"&&(f=l,l=void 0);var m=vf(n);return Rl(a,l).then(function(_){return m.parse(_,f)})}var v_=hy(Jv),__=hy(e_);function b_(n,a){return new Promise(function(l,f){var m=new Image;for(var _ in a)m[_]=a[_];m.onerror=f,m.onload=function(){l(m)},m.src=n})}function O5(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);if(n.status!==204&&n.status!==205)return n.json()}function L5(n,a){return fetch(n,a).then(O5)}function fy(n){return function(a,l){return Rl(a,l).then(function(f){return new DOMParser().parseFromString(f,n)})}}const B5=fy("application/xml");var w_=fy("text/html"),R0=fy("image/svg+xml");function I5(n,a){var l;function f(){var m,_,E=l.length,x=0,A=0;for(m=0;m=(_=(J+Z)/2))?J=_:Z=_,(I=l>=(E=(Q+ot)/2))?Q=E:ot=E,m=$,!($=$[P=I<<1|N]))return m[P]=H,n;if(x=+n._x.call(null,$.data),A=+n._y.call(null,$.data),a===x&&l===A)return H.next=$,m?m[P]=H:n._root=H,n;do m=m?m[P]=new Array(4):n._root=new Array(4),(N=a>=(_=(J+Z)/2))?J=_:Z=_,(I=l>=(E=(Q+ot)/2))?Q=E:ot=E;while((P=I<<1|N)==(B=(A>=E)<<1|x>=_));return m[B]=$,m[P]=H,n}function La(n,a,l,f,m){this.node=n,this.x0=a,this.y0=l,this.x1=f,this.y1=m}function R5(n){return n[0]}function dy(n){return n[1]}function bf(n,a,l){var f=new Fl(a==null?R5:a,l==null?dy:l,NaN,NaN,NaN,NaN);return n==null?f:f.addAll(n)}function Fl(n,a,l,f,m,_){this._x=n,this._y=a,this._x0=l,this._y0=f,this._x1=m,this._y1=_,this._root=void 0}function k_(n){for(var a={data:n.data},l=a;n=n.next;)l=l.next={data:n.data};return a}var Ba=bf.prototype=Fl.prototype;function F5(n){return n.x+n.vx}function P5(n){return n.y+n.vy}function Y5(n){var a,l,f=1,m=1;function _(){for(var A,N,I,P,B,$,H,J=a.length,Q=0;QP+jt||YtB+jt||VtI.index){var ce=P-$t.x-$t.vx,ht=B-$t.y-$t.vy,xt=ce*ce+ht*ht;xtA.r&&(A.r=A[N].r)}function x(){if(a){var A,N,I=a.length;for(l=new Array(I),A=0;AI&&(I=f),mP&&(P=m));if(A>I||N>P)return this;for(this.cover(A,N).cover(I,P),l=0;l<_;++l)x_(this,E[l],x[l],n[l]);return this},Ba.cover=function(n,a){if(isNaN(n=+n)||isNaN(a=+a))return this;var l=this._x0,f=this._y0,m=this._x1,_=this._y1;if(isNaN(l))m=(l=Math.floor(n))+1,_=(f=Math.floor(a))+1;else{for(var E,x,A=m-l,N=this._root;l>n||n>=m||f>a||a>=_;)switch(x=(aB||(_=A.y0)>$||(E=A.x1)=Z)<<1|n>=Q)&&(A=H[H.length-1],H[H.length-1]=H[H.length-1-N],H[H.length-1-N]=A)}else{var ot=n-+this._x.call(null,J.data),rt=a-+this._y.call(null,J.data),dt=ot*ot+rt*rt;if(dt=(x=(H+Q)/2))?H=x:Q=x,(I=E>=(A=(J+Z)/2))?J=A:Z=A,a=$,!($=$[P=I<<1|N]))return this;if(!$.length)break;(a[P+1&3]||a[P+2&3]||a[P+3&3])&&(l=a,B=P)}for(;$.data!==n;)if(f=$,!($=$.next))return this;return(m=$.next)&&delete $.next,f?(m?f.next=m:delete f.next,this):a?(m?a[P]=m:delete a[P],($=a[0]||a[1]||a[2]||a[3])&&$===(a[3]||a[2]||a[1]||a[0])&&!$.length&&(l?l[B]=$:this._root=$),this):(this._root=m,this)},Ba.removeAll=function(n){for(var a=0,l=n.length;a1?(J==null?x.remove(H):x.set(H,$(J)),a):x.get(H)},find:function(H,J,Q){var Z,ot,rt,dt,Yt,Vt=0,$t=n.length;for(Q==null?Q=1/0:Q*=Q,Vt=0;Vt<$t;++Vt)(rt=(Z=H-(dt=n[Vt]).x)*Z+(ot=J-dt.y)*ot)1?(N.on(H,J),a):N.on(H)}}}function W5(){var n,a,l,f,m=Vi(-30),_=1,E=1/0,x=.81;function A(B){var $,H=n.length,J=bf(n,U5,$5).visitAfter(I);for(l=B,$=0;$=E)){(B.data!==a||B.next)&&(Q===0&&(rt+=(Q=Yc())*Q),Z===0&&(rt+=(Z=Yc())*Z),rt<_&&(rt=Math.sqrt(_*rt)));do B.data!==a&&(ot=f[B.data.index]*l/rt,a.vx+=Q*ot,a.vy+=Z*ot);while(B=B.next)}}return A.initialize=function(B){n=B,N()},A.strength=function(B){return arguments.length?(m=typeof B=="function"?B:Vi(+B),N(),A):m},A.distanceMin=function(B){return arguments.length?(_=B*B,A):Math.sqrt(_)},A.distanceMax=function(B){return arguments.length?(E=B*B,A):Math.sqrt(E)},A.theta=function(B){return arguments.length?(x=B*B,A):Math.sqrt(x)},A}function q5(n,a,l){var f,m,_,E=Vi(.1);function x(N){for(var I=0,P=f.length;I1?f[0]+f.slice(2):f,+n.slice(l+1)]}function Du(n){return(n=wf(Math.abs(n)))?n[1]:NaN}var yy,V5=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xf(n){if(!(a=V5.exec(n)))throw new Error("invalid format: "+n);var a;return new F0({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}function F0(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}function E_(n,a){var l=wf(n,a);if(!l)return n+"";var f=l[0],m=l[1];return m<0?"0."+new Array(-m).join("0")+f:f.length>m+1?f.slice(0,m+1)+"."+f.slice(m+1):f+new Array(m-f.length+2).join("0")}xf.prototype=F0.prototype,F0.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const S_={"%":function(n,a){return(100*n).toFixed(a)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)},e:function(n,a){return n.toExponential(a)},f:function(n,a){return n.toFixed(a)},g:function(n,a){return n.toPrecision(a)},o:function(n){return Math.round(n).toString(8)},p:function(n,a){return E_(100*n,a)},r:E_,s:function(n,a){var l=wf(n,a);if(!l)return n+"";var f=l[0],m=l[1],_=m-(yy=3*Math.max(-8,Math.min(8,Math.floor(m/3))))+1,E=f.length;return _===E?f:_>E?f+new Array(_-E+1).join("0"):_>0?f.slice(0,_)+"."+f.slice(_):"0."+new Array(1-_).join("0")+wf(n,Math.max(0,a+_-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}};function C_(n){return n}var P0,Y0,my,A_=Array.prototype.map,M_=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function D_(n){var a,l,f=n.grouping===void 0||n.thousands===void 0?C_:(a=A_.call(n.grouping,Number),l=n.thousands+"",function(B,$){for(var H=B.length,J=[],Q=0,Z=a[0],ot=0;H>0&&Z>0&&(ot+Z+1>$&&(Z=Math.max(1,$-ot)),J.push(B.substring(H-=Z,H+Z)),!((ot+=Z+1)>$));)Z=a[Q=(Q+1)%a.length];return J.reverse().join(l)}),m=n.currency===void 0?"":n.currency[0]+"",_=n.currency===void 0?"":n.currency[1]+"",E=n.decimal===void 0?".":n.decimal+"",x=n.numerals===void 0?C_:function(B){return function($){return $.replace(/[0-9]/g,function(H){return B[+H]})}}(A_.call(n.numerals,String)),A=n.percent===void 0?"%":n.percent+"",N=n.minus===void 0?"-":n.minus+"",I=n.nan===void 0?"NaN":n.nan+"";function P(B){var $=(B=xf(B)).fill,H=B.align,J=B.sign,Q=B.symbol,Z=B.zero,ot=B.width,rt=B.comma,dt=B.precision,Yt=B.trim,Vt=B.type;Vt==="n"?(rt=!0,Vt="g"):S_[Vt]||(dt===void 0&&(dt=12),Yt=!0,Vt="g"),(Z||$==="0"&&H==="=")&&(Z=!0,$="0",H="=");var $t=Q==="$"?m:Q==="#"&&/[boxX]/.test(Vt)?"0"+Vt.toLowerCase():"",_e=Q==="$"?_:/[%p]/.test(Vt)?A:"",jt=S_[Vt],ce=/[defgprs%]/.test(Vt);function ht(xt){var ie,Qt,ae,Le=$t,Ve=_e;if(Vt==="c")Ve=jt(xt)+Ve,xt="";else{var yn=(xt=+xt)<0||1/xt<0;if(xt=isNaN(xt)?I:jt(Math.abs(xt),dt),Yt&&(xt=function(an){t:for(var ir,In=an.length,Nn=1,fr=-1;Nn0&&(fr=0)}return fr>0?an.slice(0,fr)+an.slice(ir+1):an}(xt)),yn&&+xt==0&&J!=="+"&&(yn=!1),Le=(yn?J==="("?J:N:J==="-"||J==="("?"":J)+Le,Ve=(Vt==="s"?M_[8+yy/3]:"")+Ve+(yn&&J==="("?")":""),ce){for(ie=-1,Qt=xt.length;++ie(ae=xt.charCodeAt(ie))||ae>57){Ve=(ae===46?E+xt.slice(ie+1):xt.slice(ie))+Ve,xt=xt.slice(0,ie);break}}}rt&&!Z&&(xt=f(xt,1/0));var zn=Le.length+xt.length+Ve.length,cr=zn>1)+Le+xt+Ve+cr.slice(zn);break;default:xt=cr+Le+xt+Ve}return x(xt)}return dt=dt===void 0?6:/[gprs]/.test(Vt)?Math.max(1,Math.min(21,dt)):Math.max(0,Math.min(20,dt)),ht.toString=function(){return B+""},ht}return{format:P,formatPrefix:function(B,$){var H=P(((B=xf(B)).type="f",B)),J=3*Math.max(-8,Math.min(8,Math.floor(Du($)/3))),Q=Math.pow(10,-J),Z=M_[8+J/3];return function(ot){return H(Q*ot)+Z}}}}function N_(n){return P0=D_(n),Y0=P0.format,my=P0.formatPrefix,P0}function vy(n){return Math.max(0,-Du(Math.abs(n)))}function O_(n,a){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Du(a)/3)))-Du(Math.abs(n)))}function L_(n,a){return n=Math.abs(n),a=Math.abs(a)-n,Math.max(0,Du(a)-Du(n))+1}function jc(){return new j0}function j0(){this.reset()}N_({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),j0.prototype={constructor:j0,reset:function(){this.s=this.t=0},add:function(n){B_(z0,n,this.t),B_(this,z0.s,this.s),this.s?this.t+=z0.t:this.s=z0.t},valueOf:function(){return this.s}};var z0=new j0;function B_(n,a,l){var f=n.s=a+l,m=f-a,_=f-m;n.t=a-_+(l-m)}var jn=1e-6,kf=1e-12,or=Math.PI,ki=or/2,Yl=or/4,zr=2*or,qr=180/or,kn=or/180,Ce=Math.abs,zc=Math.atan,fa=Math.atan2,pn=Math.cos,Ss=Math.ceil,I_=Math.exp,jl=Math.log,U0=Math.pow,un=Math.sin,Cr=Math.sign||function(n){return n>0?1:n<0?-1:0},Oi=Math.sqrt,na=Math.tan;function Uc(n){return n>1?0:n<-1?or:Math.acos(n)}function Ia(n){return n>1?ki:n<-1?-ki:Math.asin(n)}function $0(n){return(n=un(n/2))*n}function Ar(){}function ic(n,a){n&&zl.hasOwnProperty(n.type)&&zl[n.type](n,a)}var Ra={Feature:function(n,a){ic(n.geometry,a)},FeatureCollection:function(n,a){for(var l=n.features,f=-1,m=l.length;++f=0?1:-1,m=f*l,_=pn(a=(a*=kn)/2+Yl),E=un(a),x=xy*E,A=wy*_+x*pn(m),N=x*f*un(m);H0.add(fa(N,A)),by=n,wy=_,xy=E}function G5(n){return W0.reset(),Xo(n,po),2*W0}function q0(n){return[fa(n[1],n[0]),Ia(n[2])]}function Oo(n){var a=n[0],l=n[1],f=pn(l);return[f*pn(a),f*un(a),un(l)]}function V0(n,a){return n[0]*a[0]+n[1]*a[1]+n[2]*a[2]}function $l(n,a){return[n[1]*a[2]-n[2]*a[1],n[2]*a[0]-n[0]*a[2],n[0]*a[1]-n[1]*a[0]]}function Hl(n,a){n[0]+=a[0],n[1]+=a[1],n[2]+=a[2]}function Nu(n,a){return[n[0]*a,n[1]*a,n[2]*a]}function Ef(n){var a=Oi(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=a,n[1]/=a,n[2]/=a}var Vr,Fa,gi,Ka,$c,Ty,Ey,Hc,Ko,Cs,Wl,Sf,Cf,Ou,ql,Vl,Lo,Af,G0,ac,Sy,Z0,Gl,Pa,wa,Li,Mf=jc(),Qo={point:Lu,lineStart:Cy,lineEnd:Ay,polygonStart:function(){Qo.point=Zl,Qo.lineStart=j_,Qo.lineEnd=Df,Mf.reset(),po.polygonStart()},polygonEnd:function(){po.polygonEnd(),Qo.point=Lu,Qo.lineStart=Cy,Qo.lineEnd=Ay,H0<0?(Vr=-(gi=180),Fa=-(Ka=90)):Mf>jn?Ka=90:Mf<-1e-6&&(Fa=-90),Cs[0]=Vr,Cs[1]=gi},sphere:function(){Vr=-(gi=180),Fa=-(Ka=90)}};function Lu(n,a){Ko.push(Cs=[Vr=n,gi=n]),aKa&&(Ka=a)}function Y_(n,a){var l=Oo([n*kn,a*kn]);if(Hc){var f=$l(Hc,l),m=$l([f[1],-f[0],0],f);Ef(m),m=q0(m);var _,E=n-$c,x=E>0?1:-1,A=m[0]*qr*x,N=Ce(E)>180;N^(x*$cKa&&(Ka=_):N^(x*$c<(A=(A+360)%360-180)&&AKa&&(Ka=a)),N?n<$c?Ya(Vr,n)>Ya(Vr,gi)&&(gi=n):Ya(n,gi)>Ya(Vr,gi)&&(Vr=n):gi>=Vr?(ngi&&(gi=n)):n>$c?Ya(Vr,n)>Ya(Vr,gi)&&(gi=n):Ya(n,gi)>Ya(Vr,gi)&&(Vr=n)}else Ko.push(Cs=[Vr=n,gi=n]);aKa&&(Ka=a),Hc=l,$c=n}function Cy(){Qo.point=Y_}function Ay(){Cs[0]=Vr,Cs[1]=gi,Qo.point=Lu,Hc=null}function Zl(n,a){if(Hc){var l=n-$c;Mf.add(Ce(l)>180?l+(l>0?360:-360):l)}else Ty=n,Ey=a;po.point(n,a),Y_(n,a)}function j_(){po.lineStart()}function Df(){Zl(Ty,Ey),po.lineEnd(),Ce(Mf)>jn&&(Vr=-(gi=180)),Cs[0]=Vr,Cs[1]=gi,Hc=null}function Ya(n,a){return(a-=n)<0?a+360:a}function My(n,a){return n[0]-a[0]}function Xl(n,a){return n[0]<=n[1]?n[0]<=a&&a<=n[1]:aYa(f[0],f[1])&&(f[1]=m[1]),Ya(m[0],f[1])>Ya(f[0],f[1])&&(f[0]=m[0])):_.push(f=m);for(E=-1/0,a=0,f=_[l=_.length-1];a<=l;f=m,++a)m=_[a],(x=Ya(f[1],m[0]))>E&&(E=x,Vr=m[0],gi=f[1])}return Ko=Cs=null,Vr===1/0||Fa===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vr,Fa],[gi,Ka]]}var go={sphere:Ar,point:X0,lineStart:z_,lineEnd:U_,polygonStart:function(){go.lineStart=Of,go.lineEnd=Lf},polygonEnd:function(){go.lineStart=z_,go.lineEnd=U_}};function X0(n,a){n*=kn;var l=pn(a*=kn);Ti(l*pn(n),l*un(n),un(a))}function Ti(n,a,l){++Wl,Cf+=(n-Cf)/Wl,Ou+=(a-Ou)/Wl,ql+=(l-ql)/Wl}function z_(){go.point=Z5}function Z5(n,a){n*=kn;var l=pn(a*=kn);Pa=l*pn(n),wa=l*un(n),Li=un(a),go.point=Mr,Ti(Pa,wa,Li)}function Mr(n,a){n*=kn;var l=pn(a*=kn),f=l*pn(n),m=l*un(n),_=un(a),E=fa(Oi((E=wa*_-Li*m)*E+(E=Li*f-Pa*_)*E+(E=Pa*m-wa*f)*E),Pa*f+wa*m+Li*_);Sf+=E,Vl+=E*(Pa+(Pa=f)),Lo+=E*(wa+(wa=m)),Af+=E*(Li+(Li=_)),Ti(Pa,wa,Li)}function U_(){go.point=X0}function Of(){go.point=X5}function Lf(){$_(Z0,Gl),go.point=X0}function X5(n,a){Z0=n,Gl=a,n*=kn,a*=kn,go.point=$_;var l=pn(a);Pa=l*pn(n),wa=l*un(n),Li=un(a),Ti(Pa,wa,Li)}function $_(n,a){n*=kn;var l=pn(a*=kn),f=l*pn(n),m=l*un(n),_=un(a),E=wa*_-Li*m,x=Li*f-Pa*_,A=Pa*m-wa*f,N=Oi(E*E+x*x+A*A),I=Ia(N),P=N&&-I/N;G0+=P*E,ac+=P*x,Sy+=P*A,Sf+=I,Vl+=I*(Pa+(Pa=f)),Lo+=I*(wa+(wa=m)),Af+=I*(Li+(Li=_)),Ti(Pa,wa,Li)}function K5(n){Wl=Sf=Cf=Ou=ql=Vl=Lo=Af=G0=ac=Sy=0,Xo(n,go);var a=G0,l=ac,f=Sy,m=a*a+l*l+f*f;return mor?n+Math.round(-n/zr)*zr:n,a]}function Q0(n,a,l){return(n%=zr)?a||l?Dy(W_(n),q_(a,l)):W_(n):a||l?q_(a,l):K0}function H_(n){return function(a,l){return[(a+=n)>or?a-zr:a<-or?a+zr:a,l]}}function W_(n){var a=H_(n);return a.invert=H_(-n),a}function q_(n,a){var l=pn(n),f=un(n),m=pn(a),_=un(a);function E(x,A){var N=pn(A),I=pn(x)*N,P=un(x)*N,B=un(A),$=B*l+I*f;return[fa(P*m-$*_,I*l-B*f),Ia($*m+P*_)]}return E.invert=function(x,A){var N=pn(A),I=pn(x)*N,P=un(x)*N,B=un(A),$=B*m-P*_;return[fa(P*m+B*_,I*l+$*f),Ia($*l-I*f)]},E}function Ny(n){function a(l){return(l=n(l[0]*kn,l[1]*kn))[0]*=qr,l[1]*=qr,l}return n=Q0(n[0]*kn,n[1]*kn,n.length>2?n[2]*kn:0),a.invert=function(l){return(l=n.invert(l[0]*kn,l[1]*kn))[0]*=qr,l[1]*=qr,l},a}function V_(n,a,l,f,m,_){if(l){var E=pn(a),x=un(a),A=f*l;m==null?(m=a+f*zr,_=a-A/2):(m=Oy(E,m),_=Oy(E,_),(f>0?m<_:m>_)&&(m+=f*zr));for(var N,I=m;f>0?I>_:I<_;I-=A)N=q0([E,-x*pn(I),-x*un(I)]),n.point(N[0],N[1])}}function Oy(n,a){(a=Oo(a))[0]-=n,Ef(a);var l=Uc(-a[1]);return((-a[2]<0?-l:l)+zr-jn)%zr}function Q5(){var n,a,l=Kl([0,0]),f=Kl(90),m=Kl(6),_={point:function(x,A){n.push(x=a(x,A)),x[0]*=qr,x[1]*=qr}};function E(){var x=l.apply(this,arguments),A=f.apply(this,arguments)*kn,N=m.apply(this,arguments)*kn;return n=[],a=Q0(-x[0]*kn,-x[1]*kn,0).invert,V_(_,A,N,1),x={type:"Polygon",coordinates:[n]},n=a=null,x}return E.center=function(x){return arguments.length?(l=typeof x=="function"?x:Kl([+x[0],+x[1]]),E):l},E.radius=function(x){return arguments.length?(f=typeof x=="function"?x:Kl(+x),E):f},E.precision=function(x){return arguments.length?(m=typeof x=="function"?x:Kl(+x),E):m},E}function G_(){var n,a=[];return{point:function(l,f,m){n.push([l,f,m])},lineStart:function(){a.push(n=[])},lineEnd:Ar,rejoin:function(){a.length>1&&a.push(a.pop().concat(a.shift()))},result:function(){var l=a;return a=[],n=null,l}}}function J0(n,a){return Ce(n[0]-a[0])=0;--_)m.point((I=N[_])[0],I[1]);else f(B.x,B.p.x,-1,m);B=B.p}N=(B=B.o).z,$=!$}while(!B.v);m.lineEnd()}}}function X_(n){if(a=n.length){for(var a,l,f=0,m=n[0];++f=0?1:-1,jt=_e*$t,ce=jt>or,ht=J*Yt;if(Ly.add(fa(ht*_e*un(jt),Q*Vt+ht*pn(jt))),E+=ce?$t+_e*zr:$t,ce^$>=l^rt>=l){var xt=$l(Oo(B),Oo(ot));Ef(xt);var ie=$l(_,xt);Ef(ie);var Qt=(ce^$t>=0?-1:1)*Ia(ie[2]);(f>Qt||f===Qt&&(xt[0]||xt[1]))&&(x+=ce^$t>=0?1:-1)}}return(E<-1e-6||E0){for(P||(m.polygonStart(),P=!0),m.lineStart(),dt=0;dt1&&2&_e&&jt.push(jt.pop().concat(jt.shift())),E.push(jt.filter(J5))}return B}}function J5(n){return n.length>1}function J_(n,a){return((n=n.x)[0]<0?n[1]-ki-jn:ki-n[1])-((a=a.x)[0]<0?a[1]-ki-jn:ki-a[1])}const By=Q_(function(){return!0},function(n){var a,l=NaN,f=NaN,m=NaN;return{lineStart:function(){n.lineStart(),a=1},point:function(_,E){var x=_>0?or:-or,A=Ce(_-l);Ce(A-or)0?ki:-ki),n.point(m,f),n.lineEnd(),n.lineStart(),n.point(x,f),n.point(_,f),a=0):m!==x&&A>=or&&(Ce(l-m)jn?zc((un(I)*(H=pn(B))*un(P)-un(B)*($=pn(I))*un(N))/($*H*J)):(I+B)/2}(l,f,_,E),n.point(m,f),n.lineEnd(),n.lineStart(),n.point(x,f),a=0),n.point(l=_,f=E),m=x},lineEnd:function(){n.lineEnd(),l=f=NaN},clean:function(){return 2-a}}},function(n,a,l,f){var m;if(n==null)m=l*ki,f.point(-or,m),f.point(0,m),f.point(or,m),f.point(or,0),f.point(or,-m),f.point(0,-m),f.point(-or,-m),f.point(-or,0),f.point(-or,m);else if(Ce(n[0]-a[0])>jn){var _=n[0]0,m=Ce(a)>jn;function _(A,N){return pn(A)*pn(N)>a}function E(A,N,I){var P=[1,0,0],B=$l(Oo(A),Oo(N)),$=V0(B,B),H=B[0],J=$-H*H;if(!J)return!I&&A;var Q=a*$/J,Z=-a*H/J,ot=$l(P,B),rt=Nu(P,Q);Hl(rt,Nu(B,Z));var dt=ot,Yt=V0(rt,dt),Vt=V0(dt,dt),$t=Yt*Yt-Vt*(V0(rt,rt)-1);if(!($t<0)){var _e=Oi($t),jt=Nu(dt,(-Yt-_e)/Vt);if(Hl(jt,rt),jt=q0(jt),!I)return jt;var ce,ht=A[0],xt=N[0],ie=A[1],Qt=N[1];xt0^jt[1]<(Ce(jt[0]-ht)or^(ht<=jt[0]&&jt[0]<=xt)){var Ve=Nu(dt,(-Yt+_e)/Vt);return Hl(Ve,rt),[jt,q0(Ve)]}}}function x(A,N){var I=f?n:or-n,P=0;return A<-I?P|=1:A>I&&(P|=2),N<-I?P|=4:N>I&&(P|=8),P}return Q_(_,function(A){var N,I,P,B,$;return{lineStart:function(){B=P=!1,$=1},point:function(H,J){var Q,Z=[H,J],ot=_(H,J),rt=f?ot?0:x(H,J):ot?x(H+(H<0?or:-or),J):0;if(!N&&(B=P=ot)&&A.lineStart(),ot!==P&&(!(Q=E(N,Z))||J0(N,Q)||J0(Z,Q))&&(Z[2]=1),ot!==P)$=0,ot?(A.lineStart(),Q=E(Z,N),A.point(Q[0],Q[1])):(Q=E(N,Z),A.point(Q[0],Q[1],2),A.lineEnd()),N=Q;else if(m&&N&&f^ot){var dt;rt&I||!(dt=E(Z,N,!0))||($=0,f?(A.lineStart(),A.point(dt[0][0],dt[0][1]),A.point(dt[1][0],dt[1][1]),A.lineEnd()):(A.point(dt[1][0],dt[1][1]),A.lineEnd(),A.lineStart(),A.point(dt[0][0],dt[0][1],3)))}!ot||N&&J0(N,Z)||A.point(Z[0],Z[1]),N=Z,P=ot,I=rt},lineEnd:function(){P&&A.lineEnd(),N=null},clean:function(){return $|(B&&P)<<1}}},function(A,N,I,P){V_(P,n,l,I,A,N)},f?[0,-n]:[-or,n-or])}var Bf=1e9,n1=-Bf;function r1(n,a,l,f){function m(N,I){return n<=N&&N<=l&&a<=I&&I<=f}function _(N,I,P,B){var $=0,H=0;if(N==null||($=E(N,P))!==(H=E(I,P))||A(N,I)<0^P>0)do B.point($===0||$===3?n:l,$>1?f:a);while(($=($+P+4)%4)!==H);else B.point(I[0],I[1])}function E(N,I){return Ce(N[0]-n)0?0:3:Ce(N[0]-l)0?2:1:Ce(N[1]-a)0?1:0:I>0?3:2}function x(N,I){return A(N.x,I.x)}function A(N,I){var P=E(N,1),B=E(I,1);return P!==B?P-B:P===0?I[1]-N[1]:P===1?N[0]-I[0]:P===2?N[1]-I[1]:I[0]-N[0]}return function(N){var I,P,B,$,H,J,Q,Z,ot,rt,dt,Yt=N,Vt=G_(),$t={point:_e,lineStart:function(){$t.point=jt,P&&P.push(B=[]),rt=!0,ot=!1,Q=Z=NaN},lineEnd:function(){I&&(jt($,H),J&&ot&&Vt.rejoin(),I.push(Vt.result())),$t.point=_e,ot&&Yt.lineEnd()},polygonStart:function(){Yt=Vt,I=[],P=[],dt=!0},polygonEnd:function(){var ce=function(){for(var ie=0,Qt=0,ae=P.length;Qtf&&(ir-Le)*(f-Ve)>(In-Ve)*(n-Le)&&++ie:In<=f&&(ir-Le)*(f-Ve)<(In-Ve)*(n-Le)&&--ie;return ie}(),ht=dt&&ce,xt=(I=le(I)).length;(ht||xt)&&(N.polygonStart(),ht&&(N.lineStart(),_(null,null,1,N),N.lineEnd()),xt&&Z_(I,x,ce,_,N),N.polygonEnd()),Yt=N,I=P=B=null}};function _e(ce,ht){m(ce,ht)&&Yt.point(ce,ht)}function jt(ce,ht){var xt=m(ce,ht);if(P&&B.push([ce,ht]),rt)$=ce,H=ht,J=xt,rt=!1,xt&&(Yt.lineStart(),Yt.point(ce,ht));else if(xt&&ot)Yt.point(ce,ht);else{var ie=[Q=Math.max(n1,Math.min(Bf,Q)),Z=Math.max(n1,Math.min(Bf,Z))],Qt=[ce=Math.max(n1,Math.min(Bf,ce)),ht=Math.max(n1,Math.min(Bf,ht))];(function(ae,Le,Ve,yn,zn,cr){var an,ir=ae[0],In=ae[1],Nn=0,fr=1,sa=Le[0]-ir,Ii=Le[1]-In;if(an=Ve-ir,sa||!(an>0)){if(an/=sa,sa<0){if(an0){if(an>fr)return;an>Nn&&(Nn=an)}if(an=zn-ir,sa||!(an<0)){if(an/=sa,sa<0){if(an>fr)return;an>Nn&&(Nn=an)}else if(sa>0){if(an0)){if(an/=Ii,Ii<0){if(an0){if(an>fr)return;an>Nn&&(Nn=an)}if(an=cr-In,Ii||!(an<0)){if(an/=Ii,Ii<0){if(an>fr)return;an>Nn&&(Nn=an)}else if(Ii>0){if(an0&&(ae[0]=ir+Nn*sa,ae[1]=In+Nn*Ii),fr<1&&(Le[0]=ir+fr*sa,Le[1]=In+fr*Ii),!0}}}}})(ie,Qt,n,a,l,f)?(ot||(Yt.lineStart(),Yt.point(ie[0],ie[1])),Yt.point(Qt[0],Qt[1]),xt||Yt.lineEnd(),dt=!1):xt&&(Yt.lineStart(),Yt.point(ce,ht),dt=!1)}Q=ce,Z=ht,ot=xt}return $t}}function tx(){var n,a,l,f=0,m=0,_=960,E=500;return l={stream:function(x){return n&&a===x?n:n=r1(f,m,_,E)(a=x)},extent:function(x){return arguments.length?(f=+x[0][0],m=+x[0][1],_=+x[1][0],E=+x[1][1],n=a=null,l):[[f,m],[_,E]]}}}var i1,a1,o1,Iy=jc(),Ql={sphere:Ar,point:Ar,lineStart:function(){Ql.point=nx,Ql.lineEnd=ex},lineEnd:Ar,polygonStart:Ar,polygonEnd:Ar};function ex(){Ql.point=Ql.lineEnd=Ar}function nx(n,a){i1=n*=kn,a1=un(a*=kn),o1=pn(a),Ql.point=rx}function rx(n,a){n*=kn;var l=un(a*=kn),f=pn(a),m=Ce(n-i1),_=pn(m),E=f*un(m),x=o1*l-a1*f*_,A=a1*l+o1*f*_;Iy.add(fa(Oi(E*E+x*x),A)),i1=n,a1=l,o1=f}function eb(n){return Iy.reset(),Xo(n,Ql),+Iy}var s1=[null,null],ix={type:"LineString",coordinates:s1};function c1(n,a){return s1[0]=n,s1[1]=a,eb(ix)}var nb={Feature:function(n,a){return u1(n.geometry,a)},FeatureCollection:function(n,a){for(var l=n.features,f=-1,m=l.length;++f0&&(m=c1(n[_],n[_-1]))>0&&l<=m&&f<=m&&(l+f-m)*(1-Math.pow((l-f)/m,2))jn}).map(A)).concat(et(Ss(_/$)*$,m,$).filter(function(rt){return Ce(rt%J)>jn}).map(N))}return Z.lines=function(){return ot().map(function(rt){return{type:"LineString",coordinates:rt}})},Z.outline=function(){return{type:"Polygon",coordinates:[I(f).concat(P(E).slice(1),I(l).reverse().slice(1),P(x).reverse().slice(1))]}},Z.extent=function(rt){return arguments.length?Z.extentMajor(rt).extentMinor(rt):Z.extentMinor()},Z.extentMajor=function(rt){return arguments.length?(f=+rt[0][0],l=+rt[1][0],x=+rt[0][1],E=+rt[1][1],f>l&&(rt=f,f=l,l=rt),x>E&&(rt=x,x=E,E=rt),Z.precision(Q)):[[f,x],[l,E]]},Z.extentMinor=function(rt){return arguments.length?(a=+rt[0][0],n=+rt[1][0],_=+rt[0][1],m=+rt[1][1],a>n&&(rt=a,a=n,n=rt),_>m&&(rt=_,_=m,m=rt),Z.precision(Q)):[[a,_],[n,m]]},Z.step=function(rt){return arguments.length?Z.stepMajor(rt).stepMinor(rt):Z.stepMinor()},Z.stepMajor=function(rt){return arguments.length?(H=+rt[0],J=+rt[1],Z):[H,J]},Z.stepMinor=function(rt){return arguments.length?(B=+rt[0],$=+rt[1],Z):[B,$]},Z.precision=function(rt){return arguments.length?(Q=+rt,A=cb(_,m,90),N=ub(a,n,Q),I=cb(x,E,90),P=ub(f,l,Q),Z):Q},Z.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function ox(){return lb()()}function sx(n,a){var l=n[0]*kn,f=n[1]*kn,m=a[0]*kn,_=a[1]*kn,E=pn(f),x=un(f),A=pn(_),N=un(_),I=E*pn(l),P=E*un(l),B=A*pn(m),$=A*un(m),H=2*Ia(Oi($0(_-f)+E*A*$0(m-l))),J=un(H),Q=H?function(Z){var ot=un(Z*=H)/J,rt=un(H-Z)/J,dt=rt*I+ot*B,Yt=rt*P+ot*$,Vt=rt*x+ot*N;return[fa(Yt,dt)*qr,fa(Vt,Oi(dt*dt+Yt*Yt))*qr]}:function(){return[l*qr,f*qr]};return Q.distance=H,Q}function If(n){return n}var hb,fb,l1,h1,f1=jc(),Fy=jc(),oc={point:Ar,lineStart:Ar,lineEnd:Ar,polygonStart:function(){oc.lineStart=d1,oc.lineEnd=pb},polygonEnd:function(){oc.lineStart=oc.lineEnd=oc.point=Ar,f1.add(Ce(Fy)),Fy.reset()},result:function(){var n=f1/2;return f1.reset(),n}};function d1(){oc.point=cx}function cx(n,a){oc.point=db,hb=l1=n,fb=h1=a}function db(n,a){Fy.add(h1*n-l1*a),l1=n,h1=a}function pb(){db(hb,fb)}const gb=oc;var sc=1/0,Wc=sc,As=-sc,qc=As,Rf={point:function(n,a){nAs&&(As=n),aqc&&(qc=a)},lineStart:Ar,lineEnd:Ar,polygonStart:Ar,polygonEnd:Ar,result:function(){var n=[[sc,Wc],[As,qc]];return As=qc=-(Wc=sc=1/0),n}};const Bu=Rf;var Vc,Ff,Qa,Jo,Pf=0,Py=0,Gc=0,Yf=0,jf=0,Jl=0,zf=0,p1=0,Uf=0,ts={point:Ms,lineStart:g1,lineEnd:cc,polygonStart:function(){ts.lineStart=y1,ts.lineEnd=yb},polygonEnd:function(){ts.point=Ms,ts.lineStart=g1,ts.lineEnd=cc},result:function(){var n=Uf?[zf/Uf,p1/Uf]:Jl?[Yf/Jl,jf/Jl]:Gc?[Pf/Gc,Py/Gc]:[NaN,NaN];return Pf=Py=Gc=Yf=jf=Jl=zf=p1=Uf=0,n}};function Ms(n,a){Pf+=n,Py+=a,++Gc}function g1(){ts.point=Ds}function Ds(n,a){ts.point=es,Ms(Qa=n,Jo=a)}function es(n,a){var l=n-Qa,f=a-Jo,m=Oi(l*l+f*f);Yf+=m*(Qa+n)/2,jf+=m*(Jo+a)/2,Jl+=m,Ms(Qa=n,Jo=a)}function cc(){ts.point=Ms}function y1(){ts.point=Yy}function yb(){jy(Vc,Ff)}function Yy(n,a){ts.point=jy,Ms(Vc=Qa=n,Ff=Jo=a)}function jy(n,a){var l=n-Qa,f=a-Jo,m=Oi(l*l+f*f);Yf+=m*(Qa+n)/2,jf+=m*(Jo+a)/2,Jl+=m,zf+=(m=Jo*n-Qa*a)*(Qa+n),p1+=m*(Jo+a),Uf+=3*m,Ms(Qa=n,Jo=a)}const zy=ts;function mb(n){this._context=n}mb.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(n,a){switch(this._point){case 0:this._context.moveTo(n,a),this._point=1;break;case 1:this._context.lineTo(n,a);break;default:this._context.moveTo(n+this._radius,a),this._context.arc(n,a,this._radius,0,zr)}},result:Ar};var Uy,vb,_b,Iu,th,$f=jc(),eh={point:Ar,lineStart:function(){eh.point=ux},lineEnd:function(){Uy&&$y(vb,_b),eh.point=Ar},polygonStart:function(){Uy=!0},polygonEnd:function(){Uy=null},result:function(){var n=+$f;return $f.reset(),n}};function ux(n,a){eh.point=$y,vb=Iu=n,_b=th=a}function $y(n,a){Iu-=n,th-=a,$f.add(Oi(Iu*Iu+th*th)),Iu=n,th=a}const bb=eh;function wb(){this._string=[]}function xb(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function lx(n,a){var l,f,m=4.5;function _(E){return E&&(typeof m=="function"&&f.pointRadius(+m.apply(this,arguments)),Xo(E,l(f))),f.result()}return _.area=function(E){return Xo(E,l(gb)),gb.result()},_.measure=function(E){return Xo(E,l(bb)),bb.result()},_.bounds=function(E){return Xo(E,l(Bu)),Bu.result()},_.centroid=function(E){return Xo(E,l(zy)),zy.result()},_.projection=function(E){return arguments.length?(l=E==null?(n=null,If):(n=E).stream,_):n},_.context=function(E){return arguments.length?(f=E==null?(a=null,new wb):new mb(a=E),typeof m!="function"&&f.pointRadius(m),_):a},_.pointRadius=function(E){return arguments.length?(m=typeof E=="function"?E:(f.pointRadius(+E),+E),_):m},_.projection(n).context(a)}function hx(n){return{stream:Hf(n)}}function Hf(n){return function(a){var l=new Hy;for(var f in n)l[f]=n[f];return l.stream=a,l}}function Hy(){}function Wy(n,a,l){var f=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),f!=null&&n.clipExtent(null),Xo(l,n.stream(Bu)),a(Bu.result()),f!=null&&n.clipExtent(f),n}function m1(n,a,l){return Wy(n,function(f){var m=a[1][0]-a[0][0],_=a[1][1]-a[0][1],E=Math.min(m/(f[1][0]-f[0][0]),_/(f[1][1]-f[0][1])),x=+a[0][0]+(m-E*(f[1][0]+f[0][0]))/2,A=+a[0][1]+(_-E*(f[1][1]+f[0][1]))/2;n.scale(150*E).translate([x,A])},l)}function qy(n,a,l){return m1(n,[[0,0],a],l)}function Vy(n,a,l){return Wy(n,function(f){var m=+a,_=m/(f[1][0]-f[0][0]),E=(m-_*(f[1][0]+f[0][0]))/2,x=-_*f[0][1];n.scale(150*_).translate([E,x])},l)}function Gy(n,a,l){return Wy(n,function(f){var m=+a,_=m/(f[1][1]-f[0][1]),E=-_*f[0][0],x=(m-_*(f[1][1]+f[0][1]))/2;n.scale(150*_).translate([E,x])},l)}wb.prototype={_radius:4.5,_circle:xb(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(n,a){switch(this._point){case 0:this._string.push("M",n,",",a),this._point=1;break;case 1:this._string.push("L",n,",",a);break;default:this._circle==null&&(this._circle=xb(this._radius)),this._string.push("M",n,",",a,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}},Hy.prototype={constructor:Hy,point:function(n,a){this.stream.point(n,a)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var fx=pn(30*kn);function kb(n,a){return+a?function(l,f){function m(_,E,x,A,N,I,P,B,$,H,J,Q,Z,ot){var rt=P-_,dt=B-E,Yt=rt*rt+dt*dt;if(Yt>4*f&&Z--){var Vt=A+H,$t=N+J,_e=I+Q,jt=Oi(Vt*Vt+$t*$t+_e*_e),ce=Ia(_e/=jt),ht=Ce(Ce(_e)-1)f||Ce((rt*ae+dt*Le)/Yt-.5)>.3||A*H+N*J+I*Q2?ae[2]%360*kn:0,ie()):[Q*qr,Z*qr,ot*qr]},ht.angle=function(ae){return arguments.length?(rt=ae%360*kn,ie()):rt*qr},ht.reflectX=function(ae){return arguments.length?(dt=ae?-1:1,ie()):dt<0},ht.reflectY=function(ae){return arguments.length?(Yt=ae?-1:1,ie()):Yt<0},ht.precision=function(ae){return arguments.length?(E=kb(x,ce=ae*ae),Qt()):Oi(ce)},ht.fitExtent=function(ae,Le){return m1(ht,ae,Le)},ht.fitSize=function(ae,Le){return qy(ht,ae,Le)},ht.fitWidth=function(ae,Le){return Vy(ht,ae,Le)},ht.fitHeight=function(ae,Le){return Gy(ht,ae,Le)},function(){return a=n.apply(this,arguments),ht.invert=a.invert&&xt,ie()}}function Xy(n){var a=0,l=or/3,f=Zy(n),m=f(a,l);return m.parallels=function(_){return arguments.length?f(a=_[0]*kn,l=_[1]*kn):[a*qr,l*qr]},m}function Eb(n,a){var l=un(n),f=(l+un(a))/2;if(Ce(f)=.12&&Q<.234&&J>=-.425&&J<-.214?x:Q>=.166&&Q<.234&&J>=-.214&&J<-.115?A:E).invert(B)},I.stream=function(B){return n&&a===B?n:($=[E.stream(a=B),x.stream(B),A.stream(B)],H=$.length,n={point:function(J,Q){for(var Z=-1;++Z0?x<-ki+jn&&(x=-ki+jn):x>ki-jn&&(x=ki-jn);var A=m/U0(qf(x),f);return[A*un(f*E),m-A*pn(f*E)]}return _.invert=function(E,x){var A=m-x,N=Cr(f)*Oi(E*E+A*A),I=fa(E,Ce(A))*Cr(A);return A*f<0&&(I-=or*Cr(E)*Cr(A)),[I/f,2*zc(U0(m/N,1/f))-ki]},_}function mx(){return Xy(n2).scale(109.5).parallels([30,30])}function Vf(n,a){return[n,a]}function vx(){return ns(Vf).scale(152.63)}function Cb(n,a){var l=pn(n),f=n===a?un(n):(l-pn(a))/(a-n),m=l/f+n;if(Ce(f)2?f[2]+90:90]):[(f=l())[0],f[1],f[2]-90]},l([0,0,90]).scale(159.155)}function Tx(n,a){return n.parent===a.parent?1:2}function Ex(n,a){return n+a.x}function nh(n,a){return Math.max(n,a.y)}function Sx(){var n=Tx,a=1,l=1,f=!1;function m(_){var E,x=0;_.eachAfter(function(B){var $=B.children;$?(B.x=function(H){return H.reduce(Ex,0)/H.length}($),B.y=function(H){return 1+H.reduce(nh,0)}($)):(B.x=E?x+=n(B,E):0,B.y=0,E=B)});var A=function(B){for(var $;$=B.children;)B=$[0];return B}(_),N=function(B){for(var $;$=B.children;)B=$[$.length-1];return B}(_),I=A.x-n(A,N)/2,P=N.x+n(N,A)/2;return _.eachAfter(f?function(B){B.x=(B.x-_.x)*a,B.y=(_.y-B.y)*l}:function(B){B.x=(B.x-I)/(P-I)*a,B.y=(1-(_.y?B.y/_.y:1))*l})}return m.separation=function(_){return arguments.length?(n=_,m):n},m.size=function(_){return arguments.length?(f=!1,a=+_[0],l=+_[1],m):f?null:[a,l]},m.nodeSize=function(_){return arguments.length?(f=!0,a=+_[0],l=+_[1],m):f?[a,l]:null},m}function Cx(n){var a=0,l=n.children,f=l&&l.length;if(f)for(;--f>=0;)a+=l[f].value;else a=1;n.value=a}function s2(n,a){var l,f,m,_,E,x=new Ru(n),A=+n.value&&(x.value=n.value),N=[x];for(a==null&&(a=Db);l=N.pop();)if(A&&(l.value=+l.data.value),(m=a(l.data))&&(E=m.length))for(l.children=new Array(E),_=E-1;_>=0;--_)N.push(f=l.children[_]=new Ru(m[_])),f.parent=l,f.depth=l.depth+1;return x.eachBefore(u2)}function Db(n){return n.children}function c2(n){n.data=n.data.data}function u2(n){var a=0;do n.height=a;while((n=n.parent)&&n.height<++a)}function Ru(n){this.data=n,this.depth=this.height=0,this.parent=null}r2.invert=function(n,a){for(var l,f=a,m=f*f,_=m*m*m,E=0;E<12&&(_=(m=(f-=l=(f*(Zc+Gf*m+_*(Zf+Xf*m))-a)/(Zc+3*Gf*m+_*(7*Zf+9*Xf*m)))*f)*m*m,!(Ce(l)jn&&--m>0);return[n/(.8707+(_=f*f)*(_*(_*_*_*(.003971-.001529*_)-.013791)-.131979)),f]},a2.invert=yo(Ia),o2.invert=yo(function(n){return 2*zc(n)}),w1.invert=function(n,a){return[-a,2*zc(I_(n))-ki]},Ru.prototype=s2.prototype={constructor:Ru,count:function(){return this.eachAfter(Cx)},each:function(n){var a,l,f,m,_=this,E=[_];do for(a=E.reverse(),E=[];_=a.pop();)if(n(_),l=_.children)for(f=0,m=l.length;f=0;--l)m.push(a[l]);return this},sum:function(n){return this.eachAfter(function(a){for(var l=+n(a.data)||0,f=a.children,m=f&&f.length;--m>=0;)l+=f[m].value;a.value=l})},sort:function(n){return this.eachBefore(function(a){a.children&&a.children.sort(n)})},path:function(n){for(var a=this,l=function(_,E){if(_===E)return _;var x=_.ancestors(),A=E.ancestors(),N=null;for(_=x.pop(),E=A.pop();_===E;)N=_,_=x.pop(),E=A.pop();return N}(a,n),f=[a];a!==l;)a=a.parent,f.push(a);for(var m=f.length;n!==l;)f.splice(m,0,n),n=n.parent;return f},ancestors:function(){for(var n=this,a=[n];n=n.parent;)a.push(n);return a},descendants:function(){var n=[];return this.each(function(a){n.push(a)}),n},leaves:function(){var n=[];return this.eachBefore(function(a){a.children||n.push(a)}),n},links:function(){var n=this,a=[];return n.each(function(l){l!==n&&a.push({source:l.parent,target:l})}),a},copy:function(){return s2(this).eachBefore(c2)}};var Nb=Array.prototype.slice;function Ob(n){for(var a,l,f=0,m=(n=function(E){for(var x,A,N=E.length;N;)A=Math.random()*N--|0,x=E[N],E[N]=E[A],E[A]=x;return E}(Nb.call(n))).length,_=[];f0&&l*l>f*f+m*m}function l2(n,a){for(var l=0;l(E*=E)?(f=(N+E-m)/(2*N),_=Math.sqrt(Math.max(0,E/N-f*f)),l.x=n.x-f*x-_*A,l.y=n.y-f*A+_*x):(f=(N+m-E)/(2*N),_=Math.sqrt(Math.max(0,m/N-f*f)),l.x=a.x+f*x-_*A,l.y=a.y+f*A+_*x)):(l.x=a.x+l.r,l.y=a.y)}function Rb(n,a){var l=n.r+a.r-1e-6,f=a.x-n.x,m=a.y-n.y;return l>0&&l*l>f*f+m*m}function Fb(n){var a=n._,l=n.next._,f=a.r+l.r,m=(a.x*l.r+l.x*a.r)/f,_=(a.y*l.r+l.y*a.r)/f;return m*m+_*_}function k1(n){this._=n,this.next=null,this.previous=null}function Pb(n){if(!(m=n.length))return 0;var a,l,f,m,_,E,x,A,N,I,P;if((a=n[0]).x=0,a.y=0,!(m>1))return a.r;if(l=n[1],a.x=-l.r,l.x=a.r,l.y=0,!(m>2))return a.r+l.r;Ib(l,a,f=n[2]),a=new k1(a),l=new k1(l),f=new k1(f),a.next=f.previous=l,l.next=a.previous=f,f.next=l.previous=a;t:for(x=3;x0)throw new Error("cycle");return E}return l.id=function(f){return arguments.length?(n=T1(f),l):n},l.parentId=function(f){return arguments.length?(a=T1(f),l):a},l}function Bx(n,a){return n.parent===a.parent?1:2}function h2(n){var a=n.children;return a?a[0]:n.t}function C1(n){var a=n.children;return a?a[a.length-1]:n.t}function Ix(n,a,l){var f=l/(a.i-n.i);a.c-=f,a.s+=l,n.c+=f,a.z+=l,a.m+=l}function A1(n,a,l){return n.a.parent===a.parent?n.a:l}function Xc(n,a){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=a}function ih(){var n=Bx,a=1,l=1,f=null;function m(A){var N=function(Z){for(var ot,rt,dt,Yt,Vt,$t=new Xc(Z,0),_e=[$t];ot=_e.pop();)if(dt=ot._.children)for(ot.children=new Array(Vt=dt.length),Yt=Vt-1;Yt>=0;--Yt)_e.push(rt=ot.children[Yt]=new Xc(dt[Yt],Yt)),rt.parent=ot;return($t.parent=new Xc(null,0)).children=[$t],$t}(A);if(N.eachAfter(_),N.parent.m=-N.z,N.eachBefore(E),f)A.eachBefore(x);else{var I=A,P=A,B=A;A.eachBefore(function(Z){Z.xP.x&&(P=Z),Z.depth>B.depth&&(B=Z)});var $=I===P?1:n(I,P)/2,H=$-I.x,J=a/(P.x+$+H),Q=l/(B.depth||1);A.eachBefore(function(Z){Z.x=(Z.x+H)*J,Z.y=Z.depth*Q})}return A}function _(A){var N=A.children,I=A.parent.children,P=A.i?I[A.i-1]:null;if(N){(function($){for(var H,J=0,Q=0,Z=$.children,ot=Z.length;--ot>=0;)(H=Z[ot]).z+=J,H.m+=J,J+=H.s+(Q+=H.c)})(A);var B=(N[0].z+N[N.length-1].z)/2;P?(A.z=P.z+n(A._,P._),A.m=A.z-B):A.z=B}else P&&(A.z=P.z+n(A._,P._));A.parent.A=function($,H,J){if(H){for(var Q,Z=$,ot=$,rt=H,dt=Z.parent.children[0],Yt=Z.m,Vt=ot.m,$t=rt.m,_e=dt.m;rt=C1(rt),Z=h2(Z),rt&&Z;)dt=h2(dt),(ot=C1(ot)).a=$,(Q=rt.z+$t-Z.z-Yt+n(rt._,Z._))>0&&(Ix(A1(rt,$,J),$,Q),Yt+=Q,Vt+=Q),$t+=rt.m,Yt+=Z.m,_e+=dt.m,Vt+=ot.m;rt&&!C1(ot)&&(ot.t=rt,ot.m+=$t-Vt),Z&&!h2(dt)&&(dt.t=Z,dt.m+=Yt-_e,J=$)}return J}(A,P,A.parent.A||I[0])}function E(A){A._.x=A.z+A.parent.m,A.m+=A.parent.m}function x(A){A.x*=a,A.y=A.depth*l}return m.separation=function(A){return arguments.length?(n=A,m):n},m.size=function(A){return arguments.length?(f=!1,a=+A[0],l=+A[1],m):f?null:[a,l]},m.nodeSize=function(A){return arguments.length?(f=!0,a=+A[0],l=+A[1],m):f?[a,l]:null},m}function Kc(n,a,l,f,m){for(var _,E=n.children,x=-1,A=E.length,N=n.value&&(m-l)/n.value;++xB&&(B=x),Q=I*I*J,($=Math.max(B/Q,Q/P))>H){I-=x;break}H=$}Z.push(E={value:I,dice:A1?f:1)},l}(ah);function M1(){var n=Qc,a=!1,l=1,f=1,m=[0],_=Fu,E=Fu,x=Fu,A=Fu,N=Fu;function I(B){return B.x0=B.y0=0,B.x1=l,B.y1=f,B.eachBefore(P),m=[0],a&&B.eachBefore(Ub),B}function P(B){var $=m[B.depth],H=B.x0+$,J=B.y0+$,Q=B.x1-$,Z=B.y1-$;Q=B-1){var ot=x[P];return ot.x0=H,ot.y0=J,ot.x1=Q,void(ot.y1=Z)}for(var rt=N[P],dt=$/2+rt,Yt=P+1,Vt=B-1;Yt>>1;N[$t]Z-J){var ce=(H*jt+Q*_e)/$;I(P,Yt,_e,H,J,ce,Z),I(Yt,B,jt,ce,J,Q,Z)}else{var ht=(J*jt+Z*_e)/$;I(P,Yt,_e,H,J,Q,ht),I(Yt,B,jt,H,ht,Q,Z)}})(0,A,n.value,a,l,f,m)}function Wb(n,a,l,f,m){(1&n.depth?Kc:Jf)(n,a,l,f,m)}const f2=function n(a){function l(f,m,_,E,x){if((A=f._squarify)&&A.ratio===a)for(var A,N,I,P,B,$=-1,H=A.length,J=f.value;++$1?f:1)},l}(ah);function Rx(n){var a=n.length;return function(l){return n[Math.max(0,Math.min(a-1,Math.floor(l*a)))]}}function D1(n,a){var l=Va(+n,+a);return function(f){var m=l(f);return m-360*Math.floor(m/360)}}function d2(n,a){return n=+n,a=+a,function(l){return Math.round(n*(1-l)+a*l)}}var oh=Math.SQRT2;function qb(n){return((n=Math.exp(n))+1/n)/2}function N1(n,a){var l,f,m=n[0],_=n[1],E=n[2],x=a[0],A=a[1],N=a[2],I=x-m,P=A-_,B=I*I+P*P;if(B<1e-12)f=Math.log(N/E)/oh,l=function(ot){return[m+ot*I,_+ot*P,E*Math.exp(oh*ot*f)]};else{var $=Math.sqrt(B),H=(N*N-E*E+4*B)/(2*E*2*$),J=(N*N-E*E-4*B)/(2*N*2*$),Q=Math.log(Math.sqrt(H*H+1)-H),Z=Math.log(Math.sqrt(J*J+1)-J);f=(Z-Q)/oh,l=function(ot){var rt,dt=ot*f,Yt=qb(Q),Vt=E/(2*$)*(Yt*(rt=oh*dt+Q,((rt=Math.exp(2*rt))-1)/(rt+1))-function($t){return(($t=Math.exp($t))-1/$t)/2}(Q));return[m+Vt*I,_+Vt*P,E*Yt/qb(oh*dt+Q)]}}return l.duration=1e3*f,l}function p2(n){return function(a,l){var f=n((a=kl(a)).h,(l=kl(l)).h),m=Ni(a.s,l.s),_=Ni(a.l,l.l),E=Ni(a.opacity,l.opacity);return function(x){return a.h=f(x),a.s=m(x),a.l=_(x),a.opacity=E(x),a+""}}}const Fx=p2(Va);var Px=p2(Ni);function O1(n,a){var l=Ni((n=ff(n)).l,(a=ff(a)).l),f=Ni(n.a,a.a),m=Ni(n.b,a.b),_=Ni(n.opacity,a.opacity);return function(E){return n.l=l(E),n.a=f(E),n.b=m(E),n.opacity=_(E),n+""}}function L1(n){return function(a,l){var f=n((a=Fc(a)).h,(l=Fc(l)).h),m=Ni(a.c,l.c),_=Ni(a.l,l.l),E=Ni(a.opacity,l.opacity);return function(x){return a.h=f(x),a.c=m(x),a.l=_(x),a.opacity=E(x),a+""}}}const Ns=L1(Va);var is=L1(Ni);function lc(n){return function a(l){function f(m,_){var E=n((m=Oa(m)).h,(_=Oa(_)).h),x=Ni(m.s,_.s),A=Ni(m.l,_.l),N=Ni(m.opacity,_.opacity);return function(I){return m.h=E(I),m.s=x(I),m.l=A(Math.pow(I,l)),m.opacity=N(I),m+""}}return l=+l,f.gamma=a,f}(1)}const B1=lc(Va);var rd=lc(Ni);function g2(n,a){for(var l=0,f=a.length-1,m=a[0],_=new Array(f<0?0:f);l1&&jx(n[l[f-2]],n[l[f-1]],n[m])<=0;)--f;l[f++]=m}return l.slice(0,f)}function y2(n){if((l=n.length)<3)return null;var a,l,f=new Array(l),m=new Array(l);for(a=0;a=0;--a)N.push(n[f[_[a]][2]]);for(a=+x;ax!=N>x&&E<(A-l)*(x-f)/(N-f)+l&&(I=!I),A=l,N=f;return I}function Xb(n){for(var a,l,f=-1,m=n.length,_=n[m-1],E=_[0],x=_[1],A=0;++f1);return f+m*x*Math.sqrt(-2*Math.log(E)/E)}}return l.source=n,l}(Os),sh=function n(a){function l(){var f=id.source(a).apply(this,arguments);return function(){return Math.exp(f())}}return l.source=n,l}(Os),ch=function n(a){function l(f){return function(){for(var m=0,_=0;_f&&(a=l,l=f,f=a),function(m){return Math.max(l,Math.min(f,m))}}function Qb(n,a,l){var f=n[0],m=n[1],_=a[0],E=a[1];return m2?Jb:Qb,m=_=null,P}function P(B){return isNaN(B=+B)?l:(m||(m=f(E.map(n),x,A)))(n(N(B)))}return P.invert=function(B){return N(a((_||(_=f(x,E.map(n),Ma)))(B)))},P.domain=function(B){return arguments.length?(E=R1.call(B,Y1),N===da||(N=Ja(E)),I()):E.slice()},P.range=function(B){return arguments.length?(x=Pu.call(B),I()):x.slice()},P.rangeRound=function(B){return x=Pu.call(B),A=d2,I()},P.clamp=function(B){return arguments.length?(N=B?Ja(E):da,P):N!==da},P.interpolate=function(B){return arguments.length?(A=B,I()):A},P.unknown=function(B){return arguments.length?(l=B,P):l},function(B,$){return n=B,a=$,I()}}function b2(n,a){return cd()(n,a)}function os(n,a,l,f){var m,_=mt(n,a,l);switch((f=xf(f==null?",f":f)).type){case"s":var E=Math.max(Math.abs(n),Math.abs(a));return f.precision!=null||isNaN(m=O_(_,E))||(f.precision=m),my(f,E);case"":case"e":case"g":case"p":case"r":f.precision!=null||isNaN(m=L_(_,Math.max(Math.abs(n),Math.abs(a))))||(f.precision=m-(f.type==="e"));break;case"f":case"%":f.precision!=null||isNaN(m=vy(_))||(f.precision=m-2*(f.type==="%"))}return Y0(f)}function fc(n){var a=n.domain;return n.ticks=function(l){var f=a();return kt(f[0],f[f.length-1],l==null?10:l)},n.tickFormat=function(l,f){var m=a();return os(m[0],m[m.length-1],l==null?10:l,f)},n.nice=function(l){l==null&&(l=10);var f,m=a(),_=0,E=m.length-1,x=m[_],A=m[E];return A0?f=pt(x=Math.floor(x/f)*f,A=Math.ceil(A/f)*f,l):f<0&&(f=pt(x=Math.ceil(x*f)/f,A=Math.floor(A*f)/f,l)),f>0?(m[_]=Math.floor(x/f)*f,m[E]=Math.ceil(A/f)*f,a(m)):f<0&&(m[_]=Math.ceil(x*f)/f,m[E]=Math.floor(A*f)/f,a(m)),n},n}function w2(){var n=b2(da,da);return n.copy=function(){return Yu(n,w2())},as.apply(n,arguments),fc(n)}function x2(n){var a;function l(f){return isNaN(f=+f)?a:f}return l.invert=l,l.domain=l.range=function(f){return arguments.length?(n=R1.call(f,Y1),l):n.slice()},l.unknown=function(f){return arguments.length?(a=f,l):a},l.copy=function(){return x2(n).unknown(a)},n=arguments.length?R1.call(n,Y1):[0,1],fc(l)}function k2(n,a){var l,f=0,m=(n=n.slice()).length-1,_=n[f],E=n[m];return E<_&&(l=f,f=m,m=l,l=_,_=E,E=l),n[f]=a.floor(_),n[m]=a.ceil(E),n}function j1(n){return Math.log(n)}function z1(n){return Math.exp(n)}function $x(n){return-Math.log(-n)}function t3(n){return-Math.exp(-n)}function Hx(n){return isFinite(n)?+("1e"+n):n<0?0:n}function e3(n){return function(a){return-n(-a)}}function T2(n){var a,l,f=n(j1,z1),m=f.domain,_=10;function E(){return a=function(x){return x===Math.E?Math.log:x===10&&Math.log10||x===2&&Math.log2||(x=Math.log(x),function(A){return Math.log(A)/x})}(_),l=function(x){return x===10?Hx:x===Math.E?Math.exp:function(A){return Math.pow(x,A)}}(_),m()[0]<0?(a=e3(a),l=e3(l),n($x,t3)):n(j1,z1),f}return f.base=function(x){return arguments.length?(_=+x,E()):_},f.domain=function(x){return arguments.length?(m(x),E()):m()},f.ticks=function(x){var A,N=m(),I=N[0],P=N[N.length-1];(A=P0){for(;JP)break;ot.push(H)}}else for(;J=1;--$)if(!((H=B*$)P)break;ot.push(H)}}else ot=kt(J,Q,Math.min(Q-J,Z)).map(l);return A?ot.reverse():ot},f.tickFormat=function(x,A){if(A==null&&(A=_===10?".0e":","),typeof A!="function"&&(A=Y0(A)),x===1/0)return A;x==null&&(x=10);var N=Math.max(1,_*x/f.ticks().length);return function(I){var P=I/l(Math.round(a(I)));return P*_<_-.5&&(P*=_),P<=N?A(I):""}},f.nice=function(){return m(k2(m(),{floor:function(x){return l(Math.floor(a(x)))},ceil:function(x){return l(Math.ceil(a(x)))}}))},f}function n3(){var n=T2(cd()).domain([1,10]);return n.copy=function(){return Yu(n,n3()).base(n.base())},as.apply(n,arguments),n}function r3(n){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/n))}}function i3(n){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a))*n}}function E2(n){var a=1,l=n(r3(a),i3(a));return l.constant=function(f){return arguments.length?n(r3(a=+f),i3(a)):a},fc(l)}function a3(){var n=E2(cd());return n.copy=function(){return Yu(n,a3()).constant(n.constant())},as.apply(n,arguments)}function o3(n){return function(a){return a<0?-Math.pow(-a,n):Math.pow(a,n)}}function Wx(n){return n<0?-Math.sqrt(-n):Math.sqrt(n)}function qx(n){return n<0?-n*n:n*n}function S2(n){var a=n(da,da),l=1;function f(){return l===1?n(da,da):l===.5?n(Wx,qx):n(o3(l),o3(1/l))}return a.exponent=function(m){return arguments.length?(l=+m,f()):l},fc(a)}function C2(){var n=S2(cd());return n.copy=function(){return Yu(n,C2()).exponent(n.exponent())},as.apply(n,arguments),n}function Vx(){return C2.apply(null,arguments).exponent(.5)}function s3(){var n,a=[],l=[],f=[];function m(){var E=0,x=Math.max(1,l.length);for(f=new Array(x-1);++E0?f[x-1]:a[0],x=f?[m[f-1],l]:[m[N-1],m[N]]},E.unknown=function(A){return arguments.length&&(n=A),E},E.thresholds=function(){return m.slice()},E.copy=function(){return c3().domain([a,l]).range(_).unknown(n)},as.apply(fc(E),arguments)}function u3(){var n,a=[.5],l=[0,1],f=1;function m(_){return _<=_?l[k(a,_,0,f)]:n}return m.domain=function(_){return arguments.length?(a=Pu.call(_),f=Math.min(a.length,l.length-1),m):a.slice()},m.range=function(_){return arguments.length?(l=Pu.call(_),f=Math.min(a.length,l.length-1),m):l.slice()},m.invertExtent=function(_){var E=l.indexOf(_);return[a[E-1],a[E]]},m.unknown=function(_){return arguments.length?(n=_,m):n},m.copy=function(){return u3().domain(a).range(l).unknown(n)},as.apply(m,arguments)}var U1=new Date,A2=new Date;function Gi(n,a,l,f){function m(_){return n(_=arguments.length===0?new Date:new Date(+_)),_}return m.floor=function(_){return n(_=new Date(+_)),_},m.ceil=function(_){return n(_=new Date(_-1)),a(_,1),n(_),_},m.round=function(_){var E=m(_),x=m.ceil(_);return _-E0))return N;do N.push(A=new Date(+_)),a(_,x),n(_);while(A<_&&_=E)for(;n(E),!_(E);)E.setTime(E-1)},function(E,x){if(E>=E)if(x<0)for(;++x<=0;)for(;a(E,-1),!_(E););else for(;--x>=0;)for(;a(E,1),!_(E););})},l&&(m.count=function(_,E){return U1.setTime(+_),A2.setTime(+E),n(U1),n(A2),Math.floor(l(U1,A2))},m.every=function(_){return _=Math.floor(_),isFinite(_)&&_>0?_>1?m.filter(f?function(E){return f(E)%_==0}:function(E){return m.count(0,E)%_==0}):m:null}),m}var M2=Gi(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,a){n.setFullYear(n.getFullYear()+a)},function(n,a){return a.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});M2.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Gi(function(a){a.setFullYear(Math.floor(a.getFullYear()/n)*n),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,l){a.setFullYear(a.getFullYear()+l*n)}):null};const ju=M2;var Gx=M2.range,Bs=Gi(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,a){n.setMonth(n.getMonth()+a)},function(n,a){return a.getMonth()-n.getMonth()+12*(a.getFullYear()-n.getFullYear())},function(n){return n.getMonth()});const D2=Bs;var dc=Bs.range,$1=1e3,zu=6e4,ud=36e5,N2=864e5,O2=6048e5;function Uu(n){return Gi(function(a){a.setDate(a.getDate()-(a.getDay()+7-n)%7),a.setHours(0,0,0,0)},function(a,l){a.setDate(a.getDate()+7*l)},function(a,l){return(l-a-(l.getTimezoneOffset()-a.getTimezoneOffset())*zu)/O2})}var $u=Uu(0),uh=Uu(1),H1=Uu(2),l3=Uu(3),pc=Uu(4),lh=Uu(5),gc=Uu(6),L2=$u.range,W1=uh.range,B2=H1.range,Zx=l3.range,q1=pc.range,hh=lh.range,h3=gc.range,mo=Gi(function(n){n.setHours(0,0,0,0)},function(n,a){n.setDate(n.getDate()+a)},function(n,a){return(a-n-(a.getTimezoneOffset()-n.getTimezoneOffset())*zu)/N2},function(n){return n.getDate()-1});const yi=mo;var fh=mo.range,V1=Gi(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*$1-n.getMinutes()*zu)},function(n,a){n.setTime(+n+a*ud)},function(n,a){return(a-n)/ud},function(n){return n.getHours()});const f3=V1;var ss=V1.range,Jc=Gi(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*$1)},function(n,a){n.setTime(+n+a*zu)},function(n,a){return(a-n)/zu},function(n){return n.getMinutes()});const ld=Jc;var G1=Jc.range,Z1=Gi(function(n){n.setTime(n-n.getMilliseconds())},function(n,a){n.setTime(+n+a*$1)},function(n,a){return(a-n)/$1},function(n){return n.getUTCSeconds()});const dh=Z1;var d3=Z1.range,X1=Gi(function(){},function(n,a){n.setTime(+n+a)},function(n,a){return a-n});X1.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Gi(function(a){a.setTime(Math.floor(a/n)*n)},function(a,l){a.setTime(+a+l*n)},function(a,l){return(l-a)/n}):X1:null};const ph=X1;var p3=X1.range;function Hu(n){return Gi(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-n)%7),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCDate(a.getUTCDate()+7*l)},function(a,l){return(l-a)/O2})}var hd=Hu(0),tu=Hu(1),I2=Hu(2),g3=Hu(3),eu=Hu(4),R2=Hu(5),Wu=Hu(6),y3=hd.range,Xx=tu.range,m3=I2.range,v3=g3.range,qu=eu.range,K1=R2.range,Kx=Wu.range,F2=Gi(function(n){n.setUTCHours(0,0,0,0)},function(n,a){n.setUTCDate(n.getUTCDate()+a)},function(n,a){return(a-n)/N2},function(n){return n.getUTCDate()-1});const Fi=F2;var yr=F2.range,ke=Gi(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,a){n.setUTCFullYear(n.getUTCFullYear()+a)},function(n,a){return a.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});ke.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Gi(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/n)*n),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCFullYear(a.getUTCFullYear()+l*n)}):null};const Ei=ke;var P2=ke.range;function Y2(n){if(0<=n.y&&n.y<100){var a=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return a.setFullYear(n.y),a}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function j2(n){if(0<=n.y&&n.y<100){var a=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return a.setUTCFullYear(n.y),a}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function Vu(n,a,l){return{y:n,m:a,d:l,H:0,M:0,S:0,L:0}}function _3(n){var a=n.dateTime,l=n.date,f=n.time,m=n.periods,_=n.days,E=n.shortDays,x=n.months,A=n.shortMonths,N=Gu(m),I=Zu(m),P=Gu(_),B=Zu(_),$=Gu(E),H=Zu(E),J=Gu(x),Q=Zu(x),Z=Gu(A),ot=Zu(A),rt={a:function(jt){return E[jt.getDay()]},A:function(jt){return _[jt.getDay()]},b:function(jt){return A[jt.getMonth()]},B:function(jt){return x[jt.getMonth()]},c:null,d:Xu,e:Xu,f:ia,g:V2,G:pd,H:nu,I:A3,j:M3,L:H2,m:i6,M:a6,p:function(jt){return m[+(jt.getHours()>=12)]},q:function(jt){return 1+~~(jt.getMonth()/3)},Q:_h,s:J2,S:o6,u:rp,U:W2,V:vo,w:ip,W:D3,x:null,X:null,y:tr,Y:N3,Z:aa,"%":R3},dt={a:function(jt){return E[jt.getUTCDay()]},A:function(jt){return _[jt.getUTCDay()]},b:function(jt){return A[jt.getUTCMonth()]},B:function(jt){return x[jt.getUTCMonth()]},c:null,d:vh,e:vh,f:s6,g:K2,G:I3,H:ap,I:op,j:O3,L:Jt,m:L3,M:sp,p:function(jt){return m[+(jt.getUTCHours()>=12)]},q:function(jt){return 1+~~(jt.getUTCMonth()/3)},Q:_h,s:J2,S:G2,u:Z2,U:X2,V:B3,w:cp,W:gd,x:null,X:null,y:yd,Y:up,Z:Q2,"%":R3},Yt={a:function(jt,ce,ht){var xt=$.exec(ce.slice(ht));return xt?(jt.w=H[xt[0].toLowerCase()],ht+xt[0].length):-1},A:function(jt,ce,ht){var xt=P.exec(ce.slice(ht));return xt?(jt.w=B[xt[0].toLowerCase()],ht+xt[0].length):-1},b:function(jt,ce,ht){var xt=Z.exec(ce.slice(ht));return xt?(jt.m=ot[xt[0].toLowerCase()],ht+xt[0].length):-1},B:function(jt,ce,ht){var xt=J.exec(ce.slice(ht));return xt?(jt.m=Q[xt[0].toLowerCase()],ht+xt[0].length):-1},c:function(jt,ce,ht){return _e(jt,a,ce,ht)},d:J1,e:J1,f:S3,g:$2,G:x3,H:E3,I:E3,j:tp,L:r6,m:T3,M:ep,p:function(jt,ce,ht){var xt=N.exec(ce.slice(ht));return xt?(jt.p=I[xt[0].toLowerCase()],ht+xt[0].length):-1},q:k3,Q:np,s:cs,S:n6,u:mh,U:Jx,V:t6,w:U2,W:e6,x:function(jt,ce,ht){return _e(jt,l,ce,ht)},X:function(jt,ce,ht){return _e(jt,f,ce,ht)},y:$2,Y:x3,Z:Bo,"%":C3};function Vt(jt,ce){return function(ht){var xt,ie,Qt,ae=[],Le=-1,Ve=0,yn=jt.length;for(ht instanceof Date||(ht=new Date(+ht));++Le53)return null;"w"in Qt||(Qt.w=1),"Z"in Qt?(ie=(xt=j2(Vu(Qt.y,0,1))).getUTCDay(),xt=ie>4||ie===0?tu.ceil(xt):tu(xt),xt=Fi.offset(xt,7*(Qt.V-1)),Qt.y=xt.getUTCFullYear(),Qt.m=xt.getUTCMonth(),Qt.d=xt.getUTCDate()+(Qt.w+6)%7):(ie=(xt=Y2(Vu(Qt.y,0,1))).getDay(),xt=ie>4||ie===0?uh.ceil(xt):uh(xt),xt=yi.offset(xt,7*(Qt.V-1)),Qt.y=xt.getFullYear(),Qt.m=xt.getMonth(),Qt.d=xt.getDate()+(Qt.w+6)%7)}else("W"in Qt||"U"in Qt)&&("w"in Qt||(Qt.w="u"in Qt?Qt.u%7:"W"in Qt?1:0),ie="Z"in Qt?j2(Vu(Qt.y,0,1)).getUTCDay():Y2(Vu(Qt.y,0,1)).getDay(),Qt.m=0,Qt.d="W"in Qt?(Qt.w+6)%7+7*Qt.W-(ie+5)%7:Qt.w+7*Qt.U-(ie+6)%7);return"Z"in Qt?(Qt.H+=Qt.Z/100|0,Qt.M+=Qt.Z%100,j2(Qt)):Y2(Qt)}}function _e(jt,ce,ht,xt){for(var ie,Qt,ae=0,Le=ce.length,Ve=ht.length;ae=Ve)return-1;if((ie=ce.charCodeAt(ae++))===37){if(ie=ce.charAt(ae++),!(Qt=Yt[ie in w3?ce.charAt(ae++):ie])||(xt=Qt(jt,ht,xt))<0)return-1}else if(ie!=ht.charCodeAt(xt++))return-1}return xt}return rt.x=Vt(l,rt),rt.X=Vt(f,rt),rt.c=Vt(a,rt),dt.x=Vt(l,dt),dt.X=Vt(f,dt),dt.c=Vt(a,dt),{format:function(jt){var ce=Vt(jt+="",rt);return ce.toString=function(){return jt},ce},parse:function(jt){var ce=$t(jt+="",!1);return ce.toString=function(){return jt},ce},utcFormat:function(jt){var ce=Vt(jt+="",dt);return ce.toString=function(){return jt},ce},utcParse:function(jt){var ce=$t(jt+="",!0);return ce.toString=function(){return jt},ce}}}var gh,fd,b3,Q1,dd,w3={"-":"",_:" ",0:"0"},ra=/^\s*\d+/,z2=/^%/,Qx=/[\\^$*+?|[\]().{}]/g;function Dr(n,a,l){var f=n<0?"-":"",m=(f?-n:n)+"",_=m.length;return f+(_68?1900:2e3),l+f[0].length):-1}function Bo(n,a,l){var f=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(l,l+6));return f?(n.Z=f[1]?0:-(f[2]+(f[3]||"00")),l+f[0].length):-1}function k3(n,a,l){var f=ra.exec(a.slice(l,l+1));return f?(n.q=3*f[0]-3,l+f[0].length):-1}function T3(n,a,l){var f=ra.exec(a.slice(l,l+2));return f?(n.m=f[0]-1,l+f[0].length):-1}function J1(n,a,l){var f=ra.exec(a.slice(l,l+2));return f?(n.d=+f[0],l+f[0].length):-1}function tp(n,a,l){var f=ra.exec(a.slice(l,l+3));return f?(n.m=0,n.d=+f[0],l+f[0].length):-1}function E3(n,a,l){var f=ra.exec(a.slice(l,l+2));return f?(n.H=+f[0],l+f[0].length):-1}function ep(n,a,l){var f=ra.exec(a.slice(l,l+2));return f?(n.M=+f[0],l+f[0].length):-1}function n6(n,a,l){var f=ra.exec(a.slice(l,l+2));return f?(n.S=+f[0],l+f[0].length):-1}function r6(n,a,l){var f=ra.exec(a.slice(l,l+3));return f?(n.L=+f[0],l+f[0].length):-1}function S3(n,a,l){var f=ra.exec(a.slice(l,l+6));return f?(n.L=Math.floor(f[0]/1e3),l+f[0].length):-1}function C3(n,a,l){var f=z2.exec(a.slice(l,l+1));return f?l+f[0].length:-1}function np(n,a,l){var f=ra.exec(a.slice(l));return f?(n.Q=+f[0],l+f[0].length):-1}function cs(n,a,l){var f=ra.exec(a.slice(l));return f?(n.s=+f[0],l+f[0].length):-1}function Xu(n,a){return Dr(n.getDate(),a,2)}function nu(n,a){return Dr(n.getHours(),a,2)}function A3(n,a){return Dr(n.getHours()%12||12,a,2)}function M3(n,a){return Dr(1+yi.count(ju(n),n),a,3)}function H2(n,a){return Dr(n.getMilliseconds(),a,3)}function ia(n,a){return H2(n,a)+"000"}function i6(n,a){return Dr(n.getMonth()+1,a,2)}function a6(n,a){return Dr(n.getMinutes(),a,2)}function o6(n,a){return Dr(n.getSeconds(),a,2)}function rp(n){var a=n.getDay();return a===0?7:a}function W2(n,a){return Dr($u.count(ju(n)-1,n),a,2)}function q2(n){var a=n.getDay();return a>=4||a===0?pc(n):pc.ceil(n)}function vo(n,a){return n=q2(n),Dr(pc.count(ju(n),n)+(ju(n).getDay()===4),a,2)}function ip(n){return n.getDay()}function D3(n,a){return Dr(uh.count(ju(n)-1,n),a,2)}function tr(n,a){return Dr(n.getFullYear()%100,a,2)}function V2(n,a){return Dr((n=q2(n)).getFullYear()%100,a,2)}function N3(n,a){return Dr(n.getFullYear()%1e4,a,4)}function pd(n,a){var l=n.getDay();return Dr((n=l>=4||l===0?pc(n):pc.ceil(n)).getFullYear()%1e4,a,4)}function aa(n){var a=n.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+Dr(a/60|0,"0",2)+Dr(a%60,"0",2)}function vh(n,a){return Dr(n.getUTCDate(),a,2)}function ap(n,a){return Dr(n.getUTCHours(),a,2)}function op(n,a){return Dr(n.getUTCHours()%12||12,a,2)}function O3(n,a){return Dr(1+Fi.count(Ei(n),n),a,3)}function Jt(n,a){return Dr(n.getUTCMilliseconds(),a,3)}function s6(n,a){return Jt(n,a)+"000"}function L3(n,a){return Dr(n.getUTCMonth()+1,a,2)}function sp(n,a){return Dr(n.getUTCMinutes(),a,2)}function G2(n,a){return Dr(n.getUTCSeconds(),a,2)}function Z2(n){var a=n.getUTCDay();return a===0?7:a}function X2(n,a){return Dr(hd.count(Ei(n)-1,n),a,2)}function Pi(n){var a=n.getUTCDay();return a>=4||a===0?eu(n):eu.ceil(n)}function B3(n,a){return n=Pi(n),Dr(eu.count(Ei(n),n)+(Ei(n).getUTCDay()===4),a,2)}function cp(n){return n.getUTCDay()}function gd(n,a){return Dr(tu.count(Ei(n)-1,n),a,2)}function yd(n,a){return Dr(n.getUTCFullYear()%100,a,2)}function K2(n,a){return Dr((n=Pi(n)).getUTCFullYear()%100,a,2)}function up(n,a){return Dr(n.getUTCFullYear()%1e4,a,4)}function I3(n,a){var l=n.getUTCDay();return Dr((n=l>=4||l===0?eu(n):eu.ceil(n)).getUTCFullYear()%1e4,a,4)}function Q2(){return"+0000"}function R3(){return"%"}function _h(n){return+n}function J2(n){return Math.floor(+n/1e3)}function tm(n){return gh=_3(n),fd=gh.format,b3=gh.parse,Q1=gh.utcFormat,dd=gh.utcParse,gh}tm({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"]});var Io=31536e6;function c6(n){return new Date(n)}function md(n){return n instanceof Date?+n:+new Date(+n)}function em(n,a,l,f,m,_,E,x,A){var N=b2(da,da),I=N.invert,P=N.domain,B=A(".%L"),$=A(":%S"),H=A("%I:%M"),J=A("%I %p"),Q=A("%a %d"),Z=A("%b %d"),ot=A("%B"),rt=A("%Y"),dt=[[E,1,1e3],[E,5,5e3],[E,15,15e3],[E,30,3e4],[_,1,6e4],[_,5,3e5],[_,15,9e5],[_,30,18e5],[m,1,36e5],[m,3,108e5],[m,6,216e5],[m,12,432e5],[f,1,864e5],[f,2,1728e5],[l,1,6048e5],[a,1,2592e6],[a,3,7776e6],[n,1,Io]];function Yt($t){return(E($t)<$t?B:_($t)<$t?$:m($t)<$t?H:f($t)<$t?J:a($t)<$t?l($t)<$t?Q:Z:n($t)<$t?ot:rt)($t)}function Vt($t,_e,jt,ce){if($t==null&&($t=10),typeof $t=="number"){var ht=Math.abs(jt-_e)/$t,xt=y(function(ie){return ie[2]}).right(dt,ht);xt===dt.length?(ce=mt(_e/Io,jt/Io,$t),$t=n):xt?(ce=(xt=dt[ht/dt[xt-1][2]1)&&(n-=Math.floor(n));var a=Math.abs(n-.5);return Tp.h=360*n-100,Tp.s=1.5-1.5*a,Tp.l=.8-.9*a,Tp+""}var kd=ta(),b6=Math.PI/3,s4=2*Math.PI/3;function c4(n){var a;return n=(.5-n)*Math.PI,kd.r=255*(a=Math.sin(n))*a,kd.g=255*(a=Math.sin(n+b6))*a,kd.b=255*(a=Math.sin(n+s4))*a,kd+""}function sr(n){return n=Math.max(0,Math.min(1,n)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+n*(1172.33-n*(10793.56-n*(33300.12-n*(38394.49-14825.05*n)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+n*(557.33+n*(1225.33-n*(3574.96-n*(1073.77+707.56*n)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+n*(3211.1-n*(15327.97-n*(27814-n*(22569.18-6838.66*n)))))))+")"}function Ep(n){var a=n.length;return function(l){return n[Math.max(0,Math.min(a-1,Math.floor(l*a)))]}}const Sp=Ep(Ln("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var w6=Ep(Ln("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),_o=Ep(Ln("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),x6=Ep(Ln("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function u4(n){return br(bi(n).call(document.documentElement))}var k6=0;function l4(){return new mm}function mm(){this._="@"+(++k6).toString(36)}function T6(n){return typeof n=="string"?new Dn([document.querySelectorAll(n)],[document.documentElement]):new Dn([n==null?[]:n],ua)}function E6(n,a){a==null&&(a=uo().touches);for(var l=0,f=a?a.length:0,m=new Array(f);l1?0:n<-1?_c:Math.acos(n)}function d4(n){return n>=1?Cp:n<=-1?-Cp:Math.asin(n)}function _m(n){return n.innerRadius}function bm(n){return n.outerRadius}function Ap(n){return n.startAngle}function Fs(n){return n.endAngle}function wm(n){return n&&n.padAngle}function xm(n,a,l,f,m,_,E,x){var A=l-n,N=f-a,I=E-m,P=x-_,B=P*A-I*N;if(!(B*BQt*Qt+ae*ae&&(_e=ce,jt=ht),{cx:_e,cy:jt,x01:-I,y01:-P,x11:_e*(m/Yt-1),y11:jt*(m/Yt-1)}}function Td(){var n=_m,a=bm,l=lr(0),f=null,m=Ap,_=Fs,E=wm,x=null;function A(){var N,I,P=+n.apply(this,arguments),B=+a.apply(this,arguments),$=m.apply(this,arguments)-Cp,H=_.apply(this,arguments)-Cp,J=h4(H-$),Q=H>$;if(x||(x=N=tc()),Bga)if(J>bc-ga)x.moveTo(B*tl($),B*oa($)),x.arc(0,0,B,$,H,!Q),P>ga&&(x.moveTo(P*tl(H),P*oa(H)),x.arc(0,0,P,H,$,Q));else{var Z,ot,rt=$,dt=H,Yt=$,Vt=H,$t=J,_e=J,jt=E.apply(this,arguments)/2,ce=jt>ga&&(f?+f.apply(this,arguments):Th(P*P+B*B)),ht=vm(h4(B-P)/2,+l.apply(this,arguments)),xt=ht,ie=ht;if(ce>ga){var Qt=d4(ce/P*oa(jt)),ae=d4(ce/B*oa(jt));($t-=2*Qt)>ga?(Yt+=Qt*=Q?1:-1,Vt-=Qt):($t=0,Yt=Vt=($+H)/2),(_e-=2*ae)>ga?(rt+=ae*=Q?1:-1,dt-=ae):(_e=0,rt=dt=($+H)/2)}var Le=B*tl(rt),Ve=B*oa(rt),yn=P*tl(Vt),zn=P*oa(Vt);if(ht>ga){var cr,an=B*tl(dt),ir=B*oa(dt),In=P*tl(Yt),Nn=P*oa(Yt);if(J<_c&&(cr=xm(Le,Ve,In,Nn,an,ir,yn,zn))){var fr=Le-cr[0],sa=Ve-cr[1],Ii=an-cr[0],Sc=ir-cr[1],uu=1/oa(f4((fr*Ii+sa*Sc)/(Th(fr*fr+sa*sa)*Th(Ii*Ii+Sc*Sc)))/2),qd=Th(cr[0]*cr[0]+cr[1]*cr[1]);xt=vm(ht,(P-qd)/(uu-1)),ie=vm(ht,(B-qd)/(uu+1))}}_e>ga?ie>ga?(Z=au(In,Nn,Le,Ve,B,ie,Q),ot=au(an,ir,yn,zn,B,ie,Q),x.moveTo(Z.cx+Z.x01,Z.cy+Z.y01),iega&&$t>ga?xt>ga?(Z=au(yn,zn,an,ir,P,-xt,Q),ot=au(Le,Ve,In,Nn,P,-xt,Q),x.lineTo(Z.cx+Z.x01,Z.cy+Z.y01),xt=B;--$)x.point(ot[$],rt[$]);x.lineEnd(),x.areaEnd()}Z&&(ot[P]=+n(H,P,I),rt[P]=+l(H,P,I),x.point(a?+a(H,P,I):ot[P],f?+f(H,P,I):rt[P]))}if(J)return x=null,J+""||null}function N(){return ou().defined(m).curve(E).context(_)}return A.x=function(I){return arguments.length?(n=typeof I=="function"?I:lr(+I),a=null,A):n},A.x0=function(I){return arguments.length?(n=typeof I=="function"?I:lr(+I),A):n},A.x1=function(I){return arguments.length?(a=I==null?null:typeof I=="function"?I:lr(+I),A):a},A.y=function(I){return arguments.length?(l=typeof I=="function"?I:lr(+I),f=null,A):l},A.y0=function(I){return arguments.length?(l=typeof I=="function"?I:lr(+I),A):l},A.y1=function(I){return arguments.length?(f=I==null?null:typeof I=="function"?I:lr(+I),A):f},A.lineX0=A.lineY0=function(){return N().x(n).y(l)},A.lineY1=function(){return N().x(n).y(f)},A.lineX1=function(){return N().x(a).y(l)},A.defined=function(I){return arguments.length?(m=typeof I=="function"?I:lr(!!I),A):m},A.curve=function(I){return arguments.length?(E=I,_!=null&&(x=E(_)),A):E},A.context=function(I){return arguments.length?(I==null?_=x=null:x=E(_=I),A):_},A}function Dp(n,a){return an?1:a>=n?0:NaN}function Cd(n){return n}function Tm(){var n=Cd,a=Dp,l=null,f=lr(0),m=lr(bc),_=lr(0);function E(x){var A,N,I,P,B,$=x.length,H=0,J=new Array($),Q=new Array($),Z=+f.apply(this,arguments),ot=Math.min(bc,Math.max(-bc,m.apply(this,arguments)-Z)),rt=Math.min(Math.abs(ot)/$,_.apply(this,arguments)),dt=rt*(ot<0?-1:1);for(A=0;A<$;++A)(B=Q[J[A]=A]=+n(x[A],A,x))>0&&(H+=B);for(a!=null?J.sort(function(Yt,Vt){return a(Q[Yt],Q[Vt])}):l!=null&&J.sort(function(Yt,Vt){return l(x[Yt],x[Vt])}),A=0,I=H?(ot-$*dt)/H:0;A<$;++A,Z=P)N=J[A],P=Z+((B=Q[N])>0?B*I:0)+dt,Q[N]={data:x[N],index:A,value:B,startAngle:Z,endAngle:P,padAngle:rt};return Q}return E.value=function(x){return arguments.length?(n=typeof x=="function"?x:lr(+x),E):n},E.sortValues=function(x){return arguments.length?(a=x,l=null,E):a},E.sort=function(x){return arguments.length?(l=x,a=null,E):l},E.startAngle=function(x){return arguments.length?(f=typeof x=="function"?x:lr(+x),E):f},E.endAngle=function(x){return arguments.length?(m=typeof x=="function"?x:lr(+x),E):m},E.padAngle=function(x){return arguments.length?(_=typeof x=="function"?x:lr(+x),E):_},E}Mp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;default:this._context.lineTo(n,a)}}};var Np=Op(Eh);function Em(n){this._curve=n}function Op(n){function a(l){return new Em(n(l))}return a._curve=n,a}function Ad(n){var a=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(l){return arguments.length?a(Op(l)):a()._curve},n}function Lp(){return Ad(ou().curve(Np))}function Sm(){var n=km().curve(Np),a=n.curve,l=n.lineX0,f=n.lineX1,m=n.lineY0,_=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return Ad(l())},delete n.lineX0,n.lineEndAngle=function(){return Ad(f())},delete n.lineX1,n.lineInnerRadius=function(){return Ad(m())},delete n.lineY0,n.lineOuterRadius=function(){return Ad(_())},delete n.lineY1,n.curve=function(E){return arguments.length?a(Op(E)):a()._curve},n}function Sh(n,a){return[(a=+a)*Math.cos(n-=Math.PI/2),a*Math.sin(n)]}Em.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,a){this._curve.point(a*Math.sin(n),a*-Math.cos(n))}};var Bp=Array.prototype.slice;function Ch(n){return n.source}function ji(n){return n.target}function Ip(n){var a=Ch,l=ji,f=Ed,m=Sd,_=null;function E(){var x,A=Bp.call(arguments),N=a.apply(this,A),I=l.apply(this,A);if(_||(_=x=tc()),n(_,+f.apply(this,(A[0]=N,A)),+m.apply(this,A),+f.apply(this,(A[0]=I,A)),+m.apply(this,A)),x)return _=null,x+""||null}return E.source=function(x){return arguments.length?(a=x,E):a},E.target=function(x){return arguments.length?(l=x,E):l},E.x=function(x){return arguments.length?(f=typeof x=="function"?x:lr(+x),E):f},E.y=function(x){return arguments.length?(m=typeof x=="function"?x:lr(+x),E):m},E.context=function(x){return arguments.length?(_=x==null?null:x,E):_},E}function Ah(n,a,l,f,m){n.moveTo(a,l),n.bezierCurveTo(a=(a+f)/2,l,a,m,f,m)}function p4(n,a,l,f,m){n.moveTo(a,l),n.bezierCurveTo(a,l=(l+m)/2,f,l,f,m)}function g4(n,a,l,f,m){var _=Sh(a,l),E=Sh(a,l=(l+m)/2),x=Sh(f,l),A=Sh(f,m);n.moveTo(_[0],_[1]),n.bezierCurveTo(E[0],E[1],x[0],x[1],A[0],A[1])}function y4(){return Ip(Ah)}function Mh(){return Ip(p4)}function m4(){var n=Ip(g4);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}const Ps={draw:function(n,a){var l=Math.sqrt(a/_c);n.moveTo(l,0),n.arc(0,0,l,0,bc)}},bo={draw:function(n,a){var l=Math.sqrt(a/5)/2;n.moveTo(-3*l,-l),n.lineTo(-l,-l),n.lineTo(-l,-3*l),n.lineTo(l,-3*l),n.lineTo(l,-l),n.lineTo(3*l,-l),n.lineTo(3*l,l),n.lineTo(l,l),n.lineTo(l,3*l),n.lineTo(-l,3*l),n.lineTo(-l,l),n.lineTo(-3*l,l),n.closePath()}};var v4=Math.sqrt(1/3),C6=2*v4;const Bi={draw:function(n,a){var l=Math.sqrt(a/C6),f=l*v4;n.moveTo(0,-l),n.lineTo(f,0),n.lineTo(0,l),n.lineTo(-f,0),n.closePath()}};var ka=Math.sin(_c/10)/Math.sin(7*_c/10),Xi=Math.sin(bc/10)*ka,Ys=-Math.cos(bc/10)*ka;const Cm={draw:function(n,a){var l=Math.sqrt(.8908130915292852*a),f=Xi*l,m=Ys*l;n.moveTo(0,-l),n.lineTo(f,m);for(var _=1;_<5;++_){var E=bc*_/5,x=Math.cos(E),A=Math.sin(E);n.lineTo(A*l,-x*l),n.lineTo(x*f-A*m,A*f+x*m)}n.closePath()}},Rp={draw:function(n,a){var l=Math.sqrt(a),f=-l/2;n.rect(f,f,l,l)}};var Fp=Math.sqrt(3);const Md={draw:function(n,a){var l=-Math.sqrt(a/(3*Fp));n.moveTo(0,2*l),n.lineTo(-Fp*l,-l),n.lineTo(Fp*l,-l),n.closePath()}};var wo=-.5,xo=Math.sqrt(3)/2,Pp=1/Math.sqrt(12),_4=3*(Pp/2+1);const el={draw:function(n,a){var l=Math.sqrt(a/_4),f=l/2,m=l*Pp,_=f,E=l*Pp+l,x=-_,A=E;n.moveTo(f,m),n.lineTo(_,E),n.lineTo(x,A),n.lineTo(wo*f-xo*m,xo*f+wo*m),n.lineTo(wo*_-xo*E,xo*_+wo*E),n.lineTo(wo*x-xo*A,xo*x+wo*A),n.lineTo(wo*f+xo*m,wo*m-xo*f),n.lineTo(wo*_+xo*E,wo*E-xo*_),n.lineTo(wo*x+xo*A,wo*A-xo*x),n.closePath()}};var Dh=[Ps,bo,Bi,Rp,Cm,Md,el];function A6(){var n=lr(Ps),a=lr(64),l=null;function f(){var m;if(l||(l=m=tc()),n.apply(this,arguments).draw(l,+a.apply(this,arguments)),m)return l=null,m+""||null}return f.type=function(m){return arguments.length?(n=typeof m=="function"?m:lr(m),f):n},f.size=function(m){return arguments.length?(a=typeof m=="function"?m:lr(+m),f):a},f.context=function(m){return arguments.length?(l=m==null?null:m,f):l},f}function wc(){}function hs(n,a,l){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+a)/6,(n._y0+4*n._y1+l)/6)}function Zn(n){this._context=n}function b4(n){return new Zn(n)}function nl(n){this._context=n}function w4(n){return new nl(n)}function Yp(n){this._context=n}function M6(n){return new Yp(n)}function jp(n,a){this._basis=new Zn(n),this._beta=a}Zn.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:hs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);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:hs(this,n,a)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}},nl.prototype={areaStart:wc,areaEnd:wc,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(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._x2=n,this._y2=a;break;case 1:this._point=2,this._x3=n,this._y3=a;break;case 2:this._point=3,this._x4=n,this._y4=a,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+a)/6);break;default:hs(this,n,a)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}},Yp.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var l=(this._x0+4*this._x1+n)/6,f=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(l,f):this._context.moveTo(l,f);break;case 3:this._point=4;default:hs(this,n,a)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=a}},jp.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,a=this._y,l=n.length-1;if(l>0)for(var f,m=n[0],_=a[0],E=n[l]-m,x=a[l]-_,A=-1;++A<=l;)f=A/l,this._basis.point(this._beta*n[A]+(1-this._beta)*(m+f*E),this._beta*a[A]+(1-this._beta)*(_+f*x));this._x=this._y=null,this._basis.lineEnd()},point:function(n,a){this._x.push(+n),this._y.push(+a)}};const x4=function n(a){function l(f){return a===1?new Zn(f):new jp(f,a)}return l.beta=function(f){return n(+f)},l}(.85);function Dd(n,a,l){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-a),n._y2+n._k*(n._y1-l),n._x2,n._y2)}function zp(n,a){this._context=n,this._k=(1-a)/6}zp.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:Dd(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2,this._x1=n,this._y1=a;break;case 2:this._point=3;default:Dd(this,n,a)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const k4=function n(a){function l(f){return new zp(f,a)}return l.tension=function(f){return n(+f)},l}(0);function Up(n,a){this._context=n,this._k=(1-a)/6}Up.prototype={areaStart:wc,areaEnd:wc,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(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._x3=n,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=a);break;case 2:this._point=3,this._x5=n,this._y5=a;break;default:Dd(this,n,a)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const D6=function n(a){function l(f){return new Up(f,a)}return l.tension=function(f){return n(+f)},l}(0);function $p(n,a){this._context=n,this._k=(1-a)/6}$p.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){switch(n=+n,a=+a,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:Dd(this,n,a)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const N6=function n(a){function l(f){return new $p(f,a)}return l.tension=function(f){return n(+f)},l}(0);function Hp(n,a,l){var f=n._x1,m=n._y1,_=n._x2,E=n._y2;if(n._l01_a>ga){var x=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,A=3*n._l01_a*(n._l01_a+n._l12_a);f=(f*x-n._x0*n._l12_2a+n._x2*n._l01_2a)/A,m=(m*x-n._y0*n._l12_2a+n._y2*n._l01_2a)/A}if(n._l23_a>ga){var N=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,I=3*n._l23_a*(n._l23_a+n._l12_a);_=(_*N+n._x1*n._l23_2a-a*n._l12_2a)/I,E=(E*N+n._y1*n._l23_2a-l*n._l12_2a)/I}n._context.bezierCurveTo(f,m,_,E,n._x2,n._y2)}function T4(n,a){this._context=n,this._alpha=a}T4.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||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){if(n=+n,a=+a,this._point){var l=this._x2-n,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(l*l+f*f,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;break;case 2:this._point=3;default:Hp(this,n,a)}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=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const E4=function n(a){function l(f){return a?new T4(f,a):new zp(f,0)}return l.alpha=function(f){return n(+f)},l}(.5);function Nd(n,a){this._context=n,this._alpha=a}Nd.prototype={areaStart:wc,areaEnd:wc,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(n,a){if(n=+n,a=+a,this._point){var l=this._x2-n,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(l*l+f*f,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=a);break;case 2:this._point=3,this._x5=n,this._y5=a;break;default:Hp(this,n,a)}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=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const Am=function n(a){function l(f){return a?new Nd(f,a):new Up(f,0)}return l.alpha=function(f){return n(+f)},l}(.5);function Wp(n,a){this._context=n,this._alpha=a}Wp.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,a){if(n=+n,a=+a,this._point){var l=this._x2-n,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(l*l+f*f,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:Hp(this,n,a)}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=n,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const Mm=function n(a){function l(f){return a?new Wp(f,a):new $p(f,0)}return l.alpha=function(f){return n(+f)},l}(.5);function xc(n){this._context=n}function kc(n){return new xc(n)}function S4(n){return n<0?-1:1}function Od(n,a,l){var f=n._x1-n._x0,m=a-n._x1,_=(n._y1-n._y0)/(f||m<0&&-0),E=(l-n._y1)/(m||f<0&&-0),x=(_*m+E*f)/(f+m);return(S4(_)+S4(E))*Math.min(Math.abs(_),Math.abs(E),.5*Math.abs(x))||0}function C4(n,a){var l=n._x1-n._x0;return l?(3*(n._y1-n._y0)/l-a)/2:a}function Ld(n,a,l){var f=n._x0,m=n._y0,_=n._x1,E=n._y1,x=(_-f)/3;n._context.bezierCurveTo(f+x,m+x*a,_-x,E-x*l,_,E)}function ya(n){this._context=n}function Nh(n){this._context=new Tc(n)}function Tc(n){this._context=n}function Bd(n){return new ya(n)}function Oh(n){return new Nh(n)}function qp(n){this._context=n}function A4(n){var a,l,f=n.length-1,m=new Array(f),_=new Array(f),E=new Array(f);for(m[0]=0,_[0]=2,E[0]=n[0]+2*n[1],a=1;a=0;--a)m[a]=(E[a]-m[a+1])/_[a];for(_[f-1]=(n[f]+m[f-1])/2,a=0;a1)for(var l,f,m,_=1,E=n[a[0]],x=E.length;_=0;)l[a]=a;return l}function O6(n,a){return n[a]}function rn(){var n=lr([]),a=rl,l=fs,f=O6;function m(_){var E,x,A=n.apply(this,arguments),N=_.length,I=A.length,P=new Array(I);for(E=0;E0){for(var l,f,m,_=0,E=n[0].length;_0)for(var l,f,m,_,E,x,A=0,N=n[a[0]].length;A0?(f[0]=_,f[1]=_+=m):m<0?(f[1]=E,f[0]=E+=m):(f[0]=0,f[1]=m)}function su(n,a){if((l=n.length)>0){for(var l,f=0,m=n[a[0]],_=m.length;f<_;++f){for(var E=0,x=0;E0&&(f=(l=n[a[0]]).length)>0){for(var l,f,m,_=0,E=1;E_&&(_=a,f=l);return f}function Nm(n){var a=n.map(Om);return rl(n).sort(function(l,f){return a[l]-a[f]})}function Om(n){for(var a,l=0,f=-1,m=n.length;++f=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,a){switch(n=+n,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,a):this._context.moveTo(n,a);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(n,a);else{var l=this._x*(1-this._t)+n*this._t;this._context.lineTo(l,this._y),this._context.lineTo(l,a)}}this._x=n,this._y=a}};var Lh="%Y-%m-%dT%H:%M:%S.%LZ",il=Date.prototype.toISOString?function(n){return n.toISOString()}:Q1(Lh);const Fd=il;var L4=+new Date("2000-01-01T00:00:00.000Z")?function(n){var a=new Date(n);return isNaN(a)?null:a}:dd(Lh);const B4=L4;function Bm(n,a,l){var f=new qt,m=a;return a==null?(f.restart(n,a,l),f):(a=+a,l=l==null?G():+l,f.restart(function _(E){E+=m,f.restart(_,m+=a,l),n(E)},a,l),f)}function Im(n){return function(){return n}}function I4(n){return n[0]}function R4(n){return n[1]}function Vp(){this._=null}function Bh(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function al(n,a){var l=a,f=a.R,m=l.U;m?m.L===l?m.L=f:m.R=f:n._=f,f.U=m,l.U=f,l.R=f.L,l.R&&(l.R.U=l),f.L=l}function cu(n,a){var l=a,f=a.L,m=l.U;m?m.L===l?m.L=f:m.R=f:n._=f,f.U=m,l.U=f,l.L=f.R,l.L&&(l.L.U=l),f.R=l}function Rm(n){for(;n.L;)n=n.L;return n}Vp.prototype={constructor:Vp,insert:function(n,a){var l,f,m;if(n){if(a.P=n,a.N=n.N,n.N&&(n.N.P=a),n.N=a,n.R){for(n=n.R;n.L;)n=n.L;n.L=a}else n.R=a;l=n}else this._?(n=Rm(this._),a.P=null,a.N=n,n.P=n.L=a,l=n):(a.P=a.N=null,this._=a,l=null);for(a.L=a.R=null,a.U=l,a.C=!0,n=a;l&&l.C;)l===(f=l.U).L?(m=f.R)&&m.C?(l.C=m.C=!1,f.C=!0,n=f):(n===l.R&&(al(this,l),l=(n=l).U),l.C=!1,f.C=!0,cu(this,f)):(m=f.L)&&m.C?(l.C=m.C=!1,f.C=!0,n=f):(n===l.L&&(cu(this,l),l=(n=l).U),l.C=!1,f.C=!0,al(this,f)),l=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var a,l,f,m=n.U,_=n.L,E=n.R;if(l=_?E?Rm(E):_:E,m?m.L===n?m.L=l:m.R=l:this._=l,_&&E?(f=l.C,l.C=n.C,l.L=_,_.U=l,l!==E?(m=l.U,l.U=n.U,n=l.R,m.L=n,l.R=E,E.U=l):(l.U=m,m=l,n=l.R)):(f=n.C,n=l),n&&(n.U=m),!f)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===m.L){if((a=m.R).C&&(a.C=!1,m.C=!0,al(this,m),a=m.R),a.L&&a.L.C||a.R&&a.R.C){a.R&&a.R.C||(a.L.C=!1,a.C=!0,cu(this,a),a=m.R),a.C=m.C,m.C=a.R.C=!1,al(this,m),n=this._;break}}else if((a=m.L).C&&(a.C=!1,m.C=!0,cu(this,m),a=m.L),a.L&&a.L.C||a.R&&a.R.C){a.L&&a.L.C||(a.R.C=!1,a.C=!0,al(this,a),a=m.L),a.C=m.C,m.C=a.L.C=!1,cu(this,m),n=this._;break}a.C=!0,n=m,m=m.U}while(!n.C);n&&(n.C=!1)}}};const F4=Vp;function Pd(n,a,l,f){var m=[null,null],_=Ta.push(m)-1;return m.left=n,m.right=a,l&&Gp(m,n,a,l),f&&Gp(m,a,n,f),ko[n.index].halfedges.push(_),ko[a.index].halfedges.push(_),m}function Yd(n,a,l){var f=[a,l];return f.left=n,f}function Gp(n,a,l,f){n[0]||n[1]?n.left===l?n[1]=f:n[0]=f:(n[0]=f,n.left=a,n.right=l)}function jd(n,a,l,f,m){var _,E=n[0],x=n[1],A=E[0],N=E[1],I=0,P=1,B=x[0]-A,$=x[1]-N;if(_=a-A,B||!(_>0)){if(_/=B,B<0){if(_0){if(_>P)return;_>I&&(I=_)}if(_=f-A,B||!(_<0)){if(_/=B,B<0){if(_>P)return;_>I&&(I=_)}else if(B>0){if(_0)){if(_/=$,$<0){if(_0){if(_>P)return;_>I&&(I=_)}if(_=m-N,$||!(_<0)){if(_/=$,$<0){if(_>P)return;_>I&&(I=_)}else if($>0){if(_0||P<1)||(I>0&&(n[0]=[A+I*B,N+I*$]),P<1&&(n[1]=[A+P*B,N+P*$]),!0)}}}}}function I6(n,a,l,f,m){var _=n[1];if(_)return!0;var E,x,A=n[0],N=n.left,I=n.right,P=N[0],B=N[1],$=I[0],H=I[1],J=(P+$)/2,Q=(B+H)/2;if(H===B){if(J=f)return;if(P>$){if(A){if(A[1]>=m)return}else A=[J,l];_=[J,m]}else{if(A){if(A[1]1)if(P>$){if(A){if(A[1]>=m)return}else A=[(l-x)/E,l];_=[(m-x)/E,m]}else{if(A){if(A[1]=f)return}else A=[a,E*a+x];_=[f,E*f+x]}else{if(A){if(A[0]=-U6)){var $=A*A+N*N,H=I*I+P*P,J=(P*$-N*H)/B,Q=(A*H-I*$)/B,Z=Pm.pop()||new F6;Z.arc=n,Z.site=m,Z.x=J+E,Z.y=(Z.cy=Q+x)+Math.sqrt(J*J+Q*Q),n.circle=Z;for(var ot=null,rt=zd._;rt;)if(Z.yUr)x=x.L;else{if(!((m=_-z6(x,E))>Ur)){f>-Ur?(a=x.P,l=x):m>-Ur?(a=x,l=x.N):a=l=x;break}if(!x.R){a=x;break}x=x.R}(function(Yt){ko[Yt.index]={site:Yt,halfedges:[]}})(n);var A=j4(n);if(Ph.insert(a,A),a||l){if(a===l)return Rh(a),l=j4(a.site),Ph.insert(A,l),A.edge=l.edge=Pd(a.site,A.site),Ih(a),void Ih(l);if(l){Rh(a),Rh(l);var N=a.site,I=N[0],P=N[1],B=n[0]-I,$=n[1]-P,H=l.site,J=H[0]-I,Q=H[1]-P,Z=2*(B*Q-$*J),ot=B*B+$*$,rt=J*J+Q*Q,dt=[(Q*ot-$*rt)/Z+I,(B*rt-J*ot)/Z+P];Gp(l.edge,N,H,dt),A.edge=Pd(N,n,null,dt),l.edge=Pd(n,H,null,dt),Ih(a),Ih(l)}else A.edge=Pd(a.site,A.site)}}function z4(n,a){var l=n.site,f=l[0],m=l[1],_=m-a;if(!_)return f;var E=n.P;if(!E)return-1/0;var x=(l=E.site)[0],A=l[1],N=A-a;if(!N)return x;var I=x-f,P=1/_-1/N,B=I/N;return P?(-B+Math.sqrt(B*B-2*P*(I*I/(-2*N)-A+N/2+m-_/2)))/P+f:(f+x)/2}function z6(n,a){var l=n.N;if(l)return z4(l,a);var f=n.site;return f[1]===a?f[0]:1/0}var Ph,ko,zd,Ta,Ur=1e-6,U6=1e-12;function ue(n,a,l){return(n[0]-l[0])*(a[1]-n[1])-(n[0]-a[0])*(l[1]-n[1])}function Ze(n,a){return a[1]-n[1]||a[0]-n[0]}function ol(n,a){var l,f,m,_=n.sort(Ze).pop();for(Ta=[],ko=new Array(n.length),Ph=new F4,zd=new F4;;)if(m=Fm,_&&(!m||_[1]Ur||Math.abs(H[0][1]-H[1][1])>Ur)||delete Ta[J]})(E,x,A,N),function(I,P,B,$){var H,J,Q,Z,ot,rt,dt,Yt,Vt,$t,_e,jt,ce=ko.length,ht=!0;for(H=0;HUr||Math.abs(jt-Vt)>Ur)&&(ot.splice(Z,0,Ta.push(Yd(Q,$t,Math.abs(_e-I)Ur?[I,Math.abs(Yt-I)Ur?[Math.abs(Vt-$)Ur?[B,Math.abs(Yt-B)Ur?[Math.abs(Vt-P)=x)return null;var A=n-m.site[0],N=a-m.site[1],I=A*A+N*N;do m=_.cells[f=E],E=null,m.halfedges.forEach(function(P){var B=_.edges[P],$=B.left;if($!==m.site&&$||($=B.right)){var H=n-$[0],J=a-$[1],Q=H*H+J*J;Qf?(f+m)/2:Math.min(0,f)||Math.max(0,m),E>_?(_+E)/2:Math.min(0,_)||Math.max(0,E))}function Kp(){var n,a,l=$6,f=Hd,m=Xp,_=U4,E=jm,x=[0,1/0],A=[[-1/0,-1/0],[1/0,1/0]],N=250,I=N1,P=on("start","zoom","end"),B=500,$=0;function H(ht){ht.property("__zoom",Wd).on("wheel.zoom",Yt).on("mousedown.zoom",Vt).on("dblclick.zoom",$t).filter(E).on("touchstart.zoom",_e).on("touchmove.zoom",jt).on("touchend.zoom touchcancel.zoom",ce).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function J(ht,xt){return(xt=Math.max(x[0],Math.min(x[1],xt)))===ht.k?ht:new Us(xt,ht.x,ht.y)}function Q(ht,xt,ie){var Qt=xt[0]-ie[0]*ht.k,ae=xt[1]-ie[1]*ht.k;return Qt===ht.x&&ae===ht.y?ht:new Us(ht.k,Qt,ae)}function Z(ht){return[(+ht[0][0]+ +ht[1][0])/2,(+ht[0][1]+ +ht[1][1])/2]}function ot(ht,xt,ie){ht.on("start.zoom",function(){rt(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){rt(this,arguments).end()}).tween("zoom",function(){var Qt=this,ae=arguments,Le=rt(Qt,ae),Ve=f.apply(Qt,ae),yn=ie==null?Z(Ve):typeof ie=="function"?ie.apply(Qt,ae):ie,zn=Math.max(Ve[1][0]-Ve[0][0],Ve[1][1]-Ve[0][1]),cr=Qt.__zoom,an=typeof xt=="function"?xt.apply(Qt,ae):xt,ir=I(cr.invert(yn).concat(zn/cr.k),an.invert(yn).concat(zn/an.k));return function(In){if(In===1)In=an;else{var Nn=ir(In),fr=zn/Nn[2];In=new Us(fr,yn[0]-Nn[0]*fr,yn[1]-Nn[1]*fr)}Le.zoom(null,In)}})}function rt(ht,xt,ie){return!ie&&ht.__zooming||new dt(ht,xt)}function dt(ht,xt){this.that=ht,this.args=xt,this.active=0,this.extent=f.apply(ht,xt),this.taps=0}function Yt(){if(l.apply(this,arguments)){var ht=rt(this,arguments),xt=this.__zoom,ie=Math.max(x[0],Math.min(x[1],xt.k*Math.pow(2,_.apply(this,arguments)))),Qt=Xs(this);if(ht.wheel)ht.mouse[0][0]===Qt[0]&&ht.mouse[0][1]===Qt[1]||(ht.mouse[1]=xt.invert(ht.mouse[0]=Qt)),clearTimeout(ht.wheel);else{if(xt.k===ie)return;ht.mouse=[Qt,xt.invert(Qt)],Na(this),ht.start()}ds(),ht.wheel=setTimeout(ae,150),ht.zoom("mouse",m(Q(J(xt,ie),ht.mouse[0],ht.mouse[1]),ht.extent,A))}function ae(){ht.wheel=null,ht.end()}}function Vt(){if(!a&&l.apply(this,arguments)){var ht=rt(this,arguments,!0),xt=br(yt.view).on("mousemove.zoom",Le,!0).on("mouseup.zoom",Ve,!0),ie=Xs(this),Qt=yt.clientX,ae=yt.clientY;li(yt.view),Zp(),ht.mouse=[ie,this.__zoom.invert(ie)],Na(this),ht.start()}function Le(){if(ds(),!ht.moved){var yn=yt.clientX-Qt,zn=yt.clientY-ae;ht.moved=yn*yn+zn*zn>$}ht.zoom("mouse",m(Q(ht.that.__zoom,ht.mouse[0]=Xs(ht.that),ht.mouse[1]),ht.extent,A))}function Ve(){xt.on("mousemove.zoom mouseup.zoom",null),Zr(yt.view,ht.moved),ds(),ht.end()}}function $t(){if(l.apply(this,arguments)){var ht=this.__zoom,xt=Xs(this),ie=ht.invert(xt),Qt=ht.k*(yt.shiftKey?.5:2),ae=m(Q(J(ht,Qt),xt,ie),f.apply(this,arguments),A);ds(),N>0?br(this).transition().duration(N).call(ot,ae,xt):br(this).call(H.transform,ae)}}function _e(){if(l.apply(this,arguments)){var ht,xt,ie,Qt,ae=yt.touches,Le=ae.length,Ve=rt(this,arguments,yt.changedTouches.length===Le);for(Zp(),xt=0;xt{r.exports={graphlib:o(574),layout:o(8123),debug:o(7570),util:{time:o(1138).time,notime:o(1138).notime},version:o(8177)}},1207:(r,s,o)=>{var h=o(8436),c=o(4079);r.exports={run:function(y){var p=y.graph().acyclicer==="greedy"?c(y,function(b){return function(T){return b.edge(T).weight}}(y)):function(b){var T=[],k={},D={};return h.forEach(b.nodes(),function O(R){h.has(D,R)||(D[R]=!0,k[R]=!0,h.forEach(b.outEdges(R),function(z){h.has(k,z.w)?T.push(z):O(z.w)}),delete k[R])}),T}(y);h.forEach(p,function(b){var T=y.edge(b);y.removeEdge(b),T.forwardName=b.name,T.reversed=!0,y.setEdge(b.w,b.v,T,h.uniqueId("rev"))})},undo:function(y){h.forEach(y.edges(),function(p){var b=y.edge(p);if(b.reversed){y.removeEdge(p);var T=b.forwardName;delete b.reversed,delete b.forwardName,y.setEdge(p.w,p.v,b,T)}})}}},1133:(r,s,o)=>{var h=o(8436),c=o(1138);function y(p,b,T,k,D,O){var R={width:0,height:0,rank:O,borderType:b},z=D[b][O-1],U=c.addDummyNode(p,"border",R,T);D[b][O]=U,p.setParent(U,k),z&&p.setEdge(z,U,{weight:1})}r.exports=function(p){h.forEach(p.children(),function b(T){var k=p.children(T),D=p.node(T);if(k.length&&h.forEach(k,b),h.has(D,"minRank")){D.borderLeft=[],D.borderRight=[];for(var O=D.minRank,R=D.maxRank+1;O{var h=o(8436);function c(T){h.forEach(T.nodes(),function(k){y(T.node(k))}),h.forEach(T.edges(),function(k){y(T.edge(k))})}function y(T){var k=T.width;T.width=T.height,T.height=k}function p(T){T.y=-T.y}function b(T){var k=T.x;T.x=T.y,T.y=k}r.exports={adjust:function(T){var k=T.graph().rankdir.toLowerCase();k!=="lr"&&k!=="rl"||c(T)},undo:function(T){var k=T.graph().rankdir.toLowerCase();k!=="bt"&&k!=="rl"||function(D){h.forEach(D.nodes(),function(O){p(D.node(O))}),h.forEach(D.edges(),function(O){var R=D.edge(O);h.forEach(R.points,p),h.has(R,"y")&&p(R)})}(T),k!=="lr"&&k!=="rl"||(function(D){h.forEach(D.nodes(),function(O){b(D.node(O))}),h.forEach(D.edges(),function(O){var R=D.edge(O);h.forEach(R.points,b),h.has(R,"x")&&b(R)})}(T),c(T))}}},7822:r=>{function s(){var c={};c._next=c._prev=c,this._sentinel=c}function o(c){c._prev._next=c._next,c._next._prev=c._prev,delete c._next,delete c._prev}function h(c,y){if(c!=="_next"&&c!=="_prev")return y}r.exports=s,s.prototype.dequeue=function(){var c=this._sentinel,y=c._prev;if(y!==c)return o(y),y},s.prototype.enqueue=function(c){var y=this._sentinel;c._prev&&c._next&&o(c),c._next=y._next,y._next._prev=c,y._next=c,c._prev=y},s.prototype.toString=function(){for(var c=[],y=this._sentinel,p=y._prev;p!==y;)c.push(JSON.stringify(p,h)),p=p._prev;return"["+c.join(", ")+"]"}},7570:(r,s,o)=>{var h=o(8436),c=o(1138),y=o(574).Graph;r.exports={debugOrdering:function(p){var b=c.buildLayerMatrix(p),T=new y({compound:!0,multigraph:!0}).setGraph({});return h.forEach(p.nodes(),function(k){T.setNode(k,{label:k}),T.setParent(k,"layer"+p.node(k).rank)}),h.forEach(p.edges(),function(k){T.setEdge(k.v,k.w,{},k.name)}),h.forEach(b,function(k,D){var O="layer"+D;T.setNode(O,{rank:"same"}),h.reduce(k,function(R,z){return T.setEdge(R,z,{style:"invis"}),z})}),T}}},574:(r,s,o)=>{var h;try{h=o(8282)}catch{}h||(h=window.graphlib),r.exports=h},4079:(r,s,o)=>{var h=o(8436),c=o(574).Graph,y=o(7822);r.exports=function(k,D){if(k.nodeCount()<=1)return[];var O=function(z,U){var W=new c,V=0,X=0;h.forEach(z.nodes(),function(it){W.setNode(it,{v:it,in:0,out:0})}),h.forEach(z.edges(),function(it){var ut=W.edge(it.v,it.w)||0,St=U(it),et=ut+St;W.setEdge(it.v,it.w,et),X=Math.max(X,W.node(it.v).out+=St),V=Math.max(V,W.node(it.w).in+=St)});var at=h.range(X+V+3).map(function(){return new y}),tt=V+1;return h.forEach(W.nodes(),function(it){T(at,tt,W.node(it))}),{graph:W,buckets:at,zeroIdx:tt}}(k,D||p),R=function(z,U,W){for(var V,X=[],at=U[U.length-1],tt=U[0];z.nodeCount();){for(;V=tt.dequeue();)b(z,U,W,V);for(;V=at.dequeue();)b(z,U,W,V);if(z.nodeCount()){for(var it=U.length-2;it>0;--it)if(V=U[it].dequeue()){X=X.concat(b(z,U,W,V,!0));break}}}return X}(O.graph,O.buckets,O.zeroIdx);return h.flatten(h.map(R,function(z){return k.outEdges(z.v,z.w)}),!0)};var p=h.constant(1);function b(k,D,O,R,z){var U=z?[]:void 0;return h.forEach(k.inEdges(R.v),function(W){var V=k.edge(W),X=k.node(W.v);z&&U.push({v:W.v,w:W.w}),X.out-=V,T(D,O,X)}),h.forEach(k.outEdges(R.v),function(W){var V=k.edge(W),X=W.w,at=k.node(X);at.in-=V,T(D,O,at)}),k.removeNode(R.v),U}function T(k,D,O){O.out?O.in?k[O.out-O.in+D].enqueue(O):k[k.length-1].enqueue(O):k[0].enqueue(O)}},8123:(r,s,o)=>{var h=o(8436),c=o(1207),y=o(5995),p=o(8093),b=o(1138).normalizeRanks,T=o(4219),k=o(1138).removeEmptyRanks,D=o(2981),O=o(1133),R=o(3258),z=o(3408),U=o(7873),W=o(1138),V=o(574).Graph;r.exports=function(kt,pt){var mt=pt&&pt.debugTiming?W.time:W.notime;mt("layout",function(){var Wt=mt(" buildLayoutGraph",function(){return function(Rt){var ye=new V({multigraph:!0,compound:!0}),ge=_t(Rt.graph());return ye.setGraph(h.merge({},at,ft(ge,X),h.pick(ge,tt))),h.forEach(Rt.nodes(),function(pe){var Ot=_t(Rt.node(pe));ye.setNode(pe,h.defaults(ft(Ot,it),ut)),ye.setParent(pe,Rt.parent(pe))}),h.forEach(Rt.edges(),function(pe){var Ot=_t(Rt.edge(pe));ye.setEdge(pe,h.merge({},et,ft(Ot,St),h.pick(Ot,K)))}),ye}(kt)});mt(" runLayout",function(){(function(Rt,ye){ye(" makeSpaceForEdgeLabels",function(){(function(ge){var pe=ge.graph();pe.ranksep/=2,h.forEach(ge.edges(),function(Ot){var Xt=ge.edge(Ot);Xt.minlen*=2,Xt.labelpos.toLowerCase()!=="c"&&(pe.rankdir==="TB"||pe.rankdir==="BT"?Xt.width+=Xt.labeloffset:Xt.height+=Xt.labeloffset)})})(Rt)}),ye(" removeSelfEdges",function(){(function(ge){h.forEach(ge.edges(),function(pe){if(pe.v===pe.w){var Ot=ge.node(pe.v);Ot.selfEdges||(Ot.selfEdges=[]),Ot.selfEdges.push({e:pe,label:ge.edge(pe)}),ge.removeEdge(pe)}})})(Rt)}),ye(" acyclic",function(){c.run(Rt)}),ye(" nestingGraph.run",function(){D.run(Rt)}),ye(" rank",function(){p(W.asNonCompoundGraph(Rt))}),ye(" injectEdgeLabelProxies",function(){(function(ge){h.forEach(ge.edges(),function(pe){var Ot=ge.edge(pe);if(Ot.width&&Ot.height){var Xt=ge.node(pe.v),se={rank:(ge.node(pe.w).rank-Xt.rank)/2+Xt.rank,e:pe};W.addDummyNode(ge,"edge-proxy",se,"_ep")}})})(Rt)}),ye(" removeEmptyRanks",function(){k(Rt)}),ye(" nestingGraph.cleanup",function(){D.cleanup(Rt)}),ye(" normalizeRanks",function(){b(Rt)}),ye(" assignRankMinMax",function(){(function(ge){var pe=0;h.forEach(ge.nodes(),function(Ot){var Xt=ge.node(Ot);Xt.borderTop&&(Xt.minRank=ge.node(Xt.borderTop).rank,Xt.maxRank=ge.node(Xt.borderBottom).rank,pe=h.max(pe,Xt.maxRank))}),ge.graph().maxRank=pe})(Rt)}),ye(" removeEdgeLabelProxies",function(){(function(ge){h.forEach(ge.nodes(),function(pe){var Ot=ge.node(pe);Ot.dummy==="edge-proxy"&&(ge.edge(Ot.e).labelRank=Ot.rank,ge.removeNode(pe))})})(Rt)}),ye(" normalize.run",function(){y.run(Rt)}),ye(" parentDummyChains",function(){T(Rt)}),ye(" addBorderSegments",function(){O(Rt)}),ye(" order",function(){z(Rt)}),ye(" insertSelfEdges",function(){(function(ge){var pe=W.buildLayerMatrix(ge);h.forEach(pe,function(Ot){var Xt=0;h.forEach(Ot,function(se,le){var me=ge.node(se);me.order=le+Xt,h.forEach(me.selfEdges,function(Lt){W.addDummyNode(ge,"selfedge",{width:Lt.label.width,height:Lt.label.height,rank:me.rank,order:le+ ++Xt,e:Lt.e,label:Lt.label},"_se")}),delete me.selfEdges})})})(Rt)}),ye(" adjustCoordinateSystem",function(){R.adjust(Rt)}),ye(" position",function(){U(Rt)}),ye(" positionSelfEdges",function(){(function(ge){h.forEach(ge.nodes(),function(pe){var Ot=ge.node(pe);if(Ot.dummy==="selfedge"){var Xt=ge.node(Ot.e.v),se=Xt.x+Xt.width/2,le=Xt.y,me=Ot.x-se,Lt=Xt.height/2;ge.setEdge(Ot.e,Ot.label),ge.removeNode(pe),Ot.label.points=[{x:se+2*me/3,y:le-Lt},{x:se+5*me/6,y:le-Lt},{x:se+me,y:le},{x:se+5*me/6,y:le+Lt},{x:se+2*me/3,y:le+Lt}],Ot.label.x=Ot.x,Ot.label.y=Ot.y}})})(Rt)}),ye(" removeBorderNodes",function(){(function(ge){h.forEach(ge.nodes(),function(pe){if(ge.children(pe).length){var Ot=ge.node(pe),Xt=ge.node(Ot.borderTop),se=ge.node(Ot.borderBottom),le=ge.node(h.last(Ot.borderLeft)),me=ge.node(h.last(Ot.borderRight));Ot.width=Math.abs(me.x-le.x),Ot.height=Math.abs(se.y-Xt.y),Ot.x=le.x+Ot.width/2,Ot.y=Xt.y+Ot.height/2}}),h.forEach(ge.nodes(),function(pe){ge.node(pe).dummy==="border"&&ge.removeNode(pe)})})(Rt)}),ye(" normalize.undo",function(){y.undo(Rt)}),ye(" fixupEdgeLabelCoords",function(){(function(ge){h.forEach(ge.edges(),function(pe){var Ot=ge.edge(pe);if(h.has(Ot,"x"))switch(Ot.labelpos!=="l"&&Ot.labelpos!=="r"||(Ot.width-=Ot.labeloffset),Ot.labelpos){case"l":Ot.x-=Ot.width/2+Ot.labeloffset;break;case"r":Ot.x+=Ot.width/2+Ot.labeloffset}})})(Rt)}),ye(" undoCoordinateSystem",function(){R.undo(Rt)}),ye(" translateGraph",function(){(function(ge){var pe=Number.POSITIVE_INFINITY,Ot=0,Xt=Number.POSITIVE_INFINITY,se=0,le=ge.graph(),me=le.marginx||0,Lt=le.marginy||0;function qe(he){var zt=he.x,te=he.y,ct=he.width,ne=he.height;pe=Math.min(pe,zt-ct/2),Ot=Math.max(Ot,zt+ct/2),Xt=Math.min(Xt,te-ne/2),se=Math.max(se,te+ne/2)}h.forEach(ge.nodes(),function(he){qe(ge.node(he))}),h.forEach(ge.edges(),function(he){var zt=ge.edge(he);h.has(zt,"x")&&qe(zt)}),pe-=me,Xt-=Lt,h.forEach(ge.nodes(),function(he){var zt=ge.node(he);zt.x-=pe,zt.y-=Xt}),h.forEach(ge.edges(),function(he){var zt=ge.edge(he);h.forEach(zt.points,function(te){te.x-=pe,te.y-=Xt}),h.has(zt,"x")&&(zt.x-=pe),h.has(zt,"y")&&(zt.y-=Xt)}),le.width=Ot-pe+me,le.height=se-Xt+Lt})(Rt)}),ye(" assignNodeIntersects",function(){(function(ge){h.forEach(ge.edges(),function(pe){var Ot,Xt,se=ge.edge(pe),le=ge.node(pe.v),me=ge.node(pe.w);se.points?(Ot=se.points[0],Xt=se.points[se.points.length-1]):(se.points=[],Ot=me,Xt=le),se.points.unshift(W.intersectRect(le,Ot)),se.points.push(W.intersectRect(me,Xt))})})(Rt)}),ye(" reversePoints",function(){(function(ge){h.forEach(ge.edges(),function(pe){var Ot=ge.edge(pe);Ot.reversed&&Ot.points.reverse()})})(Rt)}),ye(" acyclic.undo",function(){c.undo(Rt)})})(Wt,mt)}),mt(" updateInputGraph",function(){(function(Rt,ye){h.forEach(Rt.nodes(),function(ge){var pe=Rt.node(ge),Ot=ye.node(ge);pe&&(pe.x=Ot.x,pe.y=Ot.y,ye.children(ge).length&&(pe.width=Ot.width,pe.height=Ot.height))}),h.forEach(Rt.edges(),function(ge){var pe=Rt.edge(ge),Ot=ye.edge(ge);pe.points=Ot.points,h.has(Ot,"x")&&(pe.x=Ot.x,pe.y=Ot.y)}),Rt.graph().width=ye.graph().width,Rt.graph().height=ye.graph().height})(kt,Wt)})})};var X=["nodesep","edgesep","ranksep","marginx","marginy"],at={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},tt=["acyclicer","ranker","rankdir","align"],it=["width","height"],ut={width:0,height:0},St=["minlen","weight","width","height","labeloffset"],et={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},K=["labelpos"];function ft(kt,pt){return h.mapValues(h.pick(kt,pt),Number)}function _t(kt){var pt={};return h.forEach(kt,function(mt,Wt){pt[Wt.toLowerCase()]=mt}),pt}},8436:(r,s,o)=>{var h;try{h={cloneDeep:o(361),constant:o(5703),defaults:o(1747),each:o(6073),filter:o(3105),find:o(3311),flatten:o(5564),forEach:o(4486),forIn:o(2620),has:o(8721),isUndefined:o(2353),last:o(928),map:o(5161),mapValues:o(6604),max:o(6162),merge:o(3857),min:o(3632),minBy:o(2762),now:o(7771),pick:o(9722),range:o(6026),reduce:o(4061),sortBy:o(9734),uniqueId:o(3955),values:o(2628),zipObject:o(7287)}}catch{}h||(h=window._),r.exports=h},2981:(r,s,o)=>{var h=o(8436),c=o(1138);function y(p,b,T,k,D,O,R){var z=p.children(R);if(z.length){var U=c.addBorderNode(p,"_bt"),W=c.addBorderNode(p,"_bb"),V=p.node(R);p.setParent(U,R),V.borderTop=U,p.setParent(W,R),V.borderBottom=W,h.forEach(z,function(X){y(p,b,T,k,D,O,X);var at=p.node(X),tt=at.borderTop?at.borderTop:X,it=at.borderBottom?at.borderBottom:X,ut=at.borderTop?k:2*k,St=tt!==it?1:D-O[R]+1;p.setEdge(U,tt,{weight:ut,minlen:St,nestingEdge:!0}),p.setEdge(it,W,{weight:ut,minlen:St,nestingEdge:!0})}),p.parent(R)||p.setEdge(b,U,{weight:0,minlen:D+O[R]})}else R!==b&&p.setEdge(b,R,{weight:0,minlen:T})}r.exports={run:function(p){var b=c.addDummyNode(p,"root",{},"_root"),T=function(R){var z={};function U(W,V){var X=R.children(W);X&&X.length&&h.forEach(X,function(at){U(at,V+1)}),z[W]=V}return h.forEach(R.children(),function(W){U(W,1)}),z}(p),k=h.max(h.values(T))-1,D=2*k+1;p.graph().nestingRoot=b,h.forEach(p.edges(),function(R){p.edge(R).minlen*=D});var O=function(R){return h.reduce(R.edges(),function(z,U){return z+R.edge(U).weight},0)}(p)+1;h.forEach(p.children(),function(R){y(p,b,D,O,k,T,R)}),p.graph().nodeRankFactor=D},cleanup:function(p){var b=p.graph();p.removeNode(b.nestingRoot),delete b.nestingRoot,h.forEach(p.edges(),function(T){p.edge(T).nestingEdge&&p.removeEdge(T)})}}},5995:(r,s,o)=>{var h=o(8436),c=o(1138);r.exports={run:function(y){y.graph().dummyChains=[],h.forEach(y.edges(),function(p){(function(b,T){var k,D,O,R=T.v,z=b.node(R).rank,U=T.w,W=b.node(U).rank,V=T.name,X=b.edge(T),at=X.labelRank;if(W!==z+1){for(b.removeEdge(T),O=0,++z;z{var h=o(8436);r.exports=function(c,y,p){var b,T={};h.forEach(p,function(k){for(var D,O,R=c.parent(k);R;){if((D=c.parent(R))?(O=T[D],T[D]=R):(O=b,b=R),O&&O!==R)return void y.setEdge(O,R);R=D}})}},5439:(r,s,o)=>{var h=o(8436);r.exports=function(c,y){return h.map(y,function(p){var b=c.inEdges(p);if(b.length){var T=h.reduce(b,function(k,D){var O=c.edge(D),R=c.node(D.v);return{sum:k.sum+O.weight*R.order,weight:k.weight+O.weight}},{sum:0,weight:0});return{v:p,barycenter:T.sum/T.weight,weight:T.weight}}return{v:p}})}},3128:(r,s,o)=>{var h=o(8436),c=o(574).Graph;r.exports=function(y,p,b){var T=function(D){for(var O;D.hasNode(O=h.uniqueId("_root")););return O}(y),k=new c({compound:!0}).setGraph({root:T}).setDefaultNodeLabel(function(D){return y.node(D)});return h.forEach(y.nodes(),function(D){var O=y.node(D),R=y.parent(D);(O.rank===p||O.minRank<=p&&p<=O.maxRank)&&(k.setNode(D),k.setParent(D,R||T),h.forEach(y[b](D),function(z){var U=z.v===D?z.w:z.v,W=k.edge(U,D),V=h.isUndefined(W)?0:W.weight;k.setEdge(U,D,{weight:y.edge(z).weight+V})}),h.has(O,"minRank")&&k.setNode(D,{borderLeft:O.borderLeft[p],borderRight:O.borderRight[p]}))}),k}},6630:(r,s,o)=>{var h=o(8436);function c(y,p,b){for(var T=h.zipObject(b,h.map(b,function(U,W){return W})),k=h.flatten(h.map(p,function(U){return h.sortBy(h.map(y.outEdges(U),function(W){return{pos:T[W.w],weight:y.edge(W).weight}}),"pos")}),!0),D=1;D0;)W%2&&(V+=R[W+1]),R[W=W-1>>1]+=U.weight;z+=U.weight*V})),z}r.exports=function(y,p){for(var b=0,T=1;T{var h=o(8436),c=o(2588),y=o(6630),p=o(1026),b=o(3128),T=o(5093),k=o(574).Graph,D=o(1138);function O(U,W,V){return h.map(W,function(X){return b(U,X,V)})}function R(U,W){var V=new k;h.forEach(U,function(X){var at=X.graph().root,tt=p(X,at,V,W);h.forEach(tt.vs,function(it,ut){X.node(it).order=ut}),T(X,V,tt.vs)})}function z(U,W){h.forEach(W,function(V){h.forEach(V,function(X,at){U.node(X).order=at})})}r.exports=function(U){var W=D.maxRank(U),V=O(U,h.range(1,W+1),"inEdges"),X=O(U,h.range(W-1,-1,-1),"outEdges"),at=c(U);z(U,at);for(var tt,it=Number.POSITIVE_INFINITY,ut=0,St=0;St<4;++ut,++St){R(ut%2?V:X,ut%4>=2),at=D.buildLayerMatrix(U);var et=y(U,at);et{var h=o(8436);r.exports=function(c){var y={},p=h.filter(c.nodes(),function(D){return!c.children(D).length}),b=h.max(h.map(p,function(D){return c.node(D).rank})),T=h.map(h.range(b+1),function(){return[]}),k=h.sortBy(p,function(D){return c.node(D).rank});return h.forEach(k,function D(O){if(!h.has(y,O)){y[O]=!0;var R=c.node(O);T[R.rank].push(O),h.forEach(c.successors(O),D)}}),T}},9567:(r,s,o)=>{var h=o(8436);r.exports=function(c,y){var p={};return h.forEach(c,function(b,T){var k=p[b.v]={indegree:0,in:[],out:[],vs:[b.v],i:T};h.isUndefined(b.barycenter)||(k.barycenter=b.barycenter,k.weight=b.weight)}),h.forEach(y.edges(),function(b){var T=p[b.v],k=p[b.w];h.isUndefined(T)||h.isUndefined(k)||(k.indegree++,T.out.push(p[b.w]))}),function(b){var T=[];function k(R){return function(z){var U,W,V,X;z.merged||(h.isUndefined(z.barycenter)||h.isUndefined(R.barycenter)||z.barycenter>=R.barycenter)&&(W=z,V=0,X=0,(U=R).weight&&(V+=U.barycenter*U.weight,X+=U.weight),W.weight&&(V+=W.barycenter*W.weight,X+=W.weight),U.vs=W.vs.concat(U.vs),U.barycenter=V/X,U.weight=X,U.i=Math.min(W.i,U.i),W.merged=!0)}}function D(R){return function(z){z.in.push(R),--z.indegree==0&&b.push(z)}}for(;b.length;){var O=b.pop();T.push(O),h.forEach(O.in.reverse(),k(O)),h.forEach(O.out,D(O))}return h.map(h.filter(T,function(R){return!R.merged}),function(R){return h.pick(R,["vs","i","barycenter","weight"])})}(h.filter(p,function(b){return!b.indegree}))}},1026:(r,s,o)=>{var h=o(8436),c=o(5439),y=o(9567),p=o(7304);r.exports=function b(T,k,D,O){var R=T.children(k),z=T.node(k),U=z?z.borderLeft:void 0,W=z?z.borderRight:void 0,V={};U&&(R=h.filter(R,function(St){return St!==U&&St!==W}));var X=c(T,R);h.forEach(X,function(St){if(T.children(St.v).length){var et=b(T,St.v,D,O);V[St.v]=et,h.has(et,"barycenter")&&(K=St,ft=et,h.isUndefined(K.barycenter)?(K.barycenter=ft.barycenter,K.weight=ft.weight):(K.barycenter=(K.barycenter*K.weight+ft.barycenter*ft.weight)/(K.weight+ft.weight),K.weight+=ft.weight))}var K,ft});var at=y(X,D);(function(St,et){h.forEach(St,function(K){K.vs=h.flatten(K.vs.map(function(ft){return et[ft]?et[ft].vs:ft}),!0)})})(at,V);var tt=p(at,O);if(U&&(tt.vs=h.flatten([U,tt.vs,W],!0),T.predecessors(U).length)){var it=T.node(T.predecessors(U)[0]),ut=T.node(T.predecessors(W)[0]);h.has(tt,"barycenter")||(tt.barycenter=0,tt.weight=0),tt.barycenter=(tt.barycenter*tt.weight+it.order+ut.order)/(tt.weight+2),tt.weight+=2}return tt}},7304:(r,s,o)=>{var h=o(8436),c=o(1138);function y(p,b,T){for(var k;b.length&&(k=h.last(b)).i<=T;)b.pop(),p.push(k.vs),T++;return T}r.exports=function(p,b){var T,k=c.partition(p,function(X){return h.has(X,"barycenter")}),D=k.lhs,O=h.sortBy(k.rhs,function(X){return-X.i}),R=[],z=0,U=0,W=0;D.sort((T=!!b,function(X,at){return X.barycenterat.barycenter?1:T?at.i-X.i:X.i-at.i})),W=y(R,O,W),h.forEach(D,function(X){W+=X.vs.length,R.push(X.vs),z+=X.barycenter*X.weight,U+=X.weight,W=y(R,O,W)});var V={vs:h.flatten(R,!0)};return U&&(V.barycenter=z/U,V.weight=U),V}},4219:(r,s,o)=>{var h=o(8436);r.exports=function(c){var y=function(p){var b={},T=0;return h.forEach(p.children(),function k(D){var O=T;h.forEach(p.children(D),k),b[D]={low:O,lim:T++}}),b}(c);h.forEach(c.graph().dummyChains,function(p){for(var b=c.node(p),T=b.edgeObj,k=function(W,V,X,at){var tt,it,ut=[],St=[],et=Math.min(V[X].low,V[at].low),K=Math.max(V[X].lim,V[at].lim);tt=X;do tt=W.parent(tt),ut.push(tt);while(tt&&(V[tt].low>et||K>V[tt].lim));for(it=tt,tt=at;(tt=W.parent(tt))!==it;)St.push(tt);return{path:ut.concat(St.reverse()),lca:it}}(c,y,T.v,T.w),D=k.path,O=k.lca,R=0,z=D[R],U=!0;p!==T.w;){if(b=c.node(p),U){for(;(z=D[R])!==O&&c.node(z).maxRank{var h=o(8436),c=o(574).Graph,y=o(1138);function p(W,V){var X={};return h.reduce(V,function(at,tt){var it=0,ut=0,St=at.length,et=h.last(tt);return h.forEach(tt,function(K,ft){var _t=function(pt,mt){if(pt.node(mt).dummy)return h.find(pt.predecessors(mt),function(Wt){return pt.node(Wt).dummy})}(W,K),kt=_t?W.node(_t).order:St;(_t||K===et)&&(h.forEach(tt.slice(ut,ft+1),function(pt){h.forEach(W.predecessors(pt),function(mt){var Wt=W.node(mt),Rt=Wt.order;!(Rtet)&&T(X,_t,K)})})}return h.reduce(V,function(tt,it){var ut,St=-1,et=0;return h.forEach(it,function(K,ft){if(W.node(K).dummy==="border"){var _t=W.predecessors(K);_t.length&&(ut=W.node(_t[0]).order,at(it,et,ft,St,ut),et=ft,St=ut)}at(it,et,it.length,ut,tt.length)}),it}),X}function T(W,V,X){if(V>X){var at=V;V=X,X=at}var tt=W[V];tt||(W[V]=tt={}),tt[X]=!0}function k(W,V,X){if(V>X){var at=V;V=X,X=at}return h.has(W[V],X)}function D(W,V,X,at){var tt={},it={},ut={};return h.forEach(V,function(St){h.forEach(St,function(et,K){tt[et]=et,it[et]=et,ut[et]=K})}),h.forEach(V,function(St){var et=-1;h.forEach(St,function(K){var ft=at(K);if(ft.length){ft=h.sortBy(ft,function(Wt){return ut[Wt]});for(var _t=(ft.length-1)/2,kt=Math.floor(_t),pt=Math.ceil(_t);kt<=pt;++kt){var mt=ft[kt];it[K]===K&&et{var h=o(8436),c=o(1138),y=o(3573).positionX;r.exports=function(p){(function(b){var T=c.buildLayerMatrix(b),k=b.graph().ranksep,D=0;h.forEach(T,function(O){var R=h.max(h.map(O,function(z){return b.node(z).height}));h.forEach(O,function(z){b.node(z).y=D+R/2}),D+=R+k})})(p=c.asNonCompoundGraph(p)),h.forEach(y(p),function(b,T){p.node(T).x=b})}},300:(r,s,o)=>{var h=o(8436),c=o(574).Graph,y=o(6681).slack;function p(k,D){return h.forEach(k.nodes(),function O(R){h.forEach(D.nodeEdges(R),function(z){var U=z.v,W=R===U?z.w:U;k.hasNode(W)||y(D,z)||(k.setNode(W,{}),k.setEdge(R,W,{}),O(W))})}),k.nodeCount()}function b(k,D){return h.minBy(D.edges(),function(O){if(k.hasNode(O.v)!==k.hasNode(O.w))return y(D,O)})}function T(k,D,O){h.forEach(k.nodes(),function(R){D.node(R).rank+=O})}r.exports=function(k){var D,O,R=new c({directed:!1}),z=k.nodes()[0],U=k.nodeCount();for(R.setNode(z,{});p(R,k){var h=o(6681).longestPath,c=o(300),y=o(2472);r.exports=function(b){switch(b.graph().ranker){case"network-simplex":default:(function(T){y(T)})(b);break;case"tight-tree":(function(T){h(T),c(T)})(b);break;case"longest-path":p(b)}};var p=h},2472:(r,s,o)=>{var h=o(8436),c=o(300),y=o(6681).slack,p=o(6681).longestPath,b=o(574).alg.preorder,T=o(574).alg.postorder,k=o(1138).simplify;function D(tt){tt=k(tt),p(tt);var it,ut=c(tt);for(z(ut),O(ut,tt);it=W(ut);)X(ut,tt,it,V(ut,tt,it))}function O(tt,it){var ut=T(tt,tt.nodes());ut=ut.slice(0,ut.length-1),h.forEach(ut,function(St){(function(et,K,ft){var _t=et.node(ft).parent;et.edge(ft,_t).cutvalue=R(et,K,ft)})(tt,it,St)})}function R(tt,it,ut){var St=tt.node(ut).parent,et=!0,K=it.edge(ut,St),ft=0;return K||(et=!1,K=it.edge(St,ut)),ft=K.weight,h.forEach(it.nodeEdges(ut),function(_t){var kt,pt,mt=_t.v===ut,Wt=mt?_t.w:_t.v;if(Wt!==St){var Rt=mt===et,ye=it.edge(_t).weight;if(ft+=Rt?ye:-ye,kt=ut,pt=Wt,tt.hasEdge(kt,pt)){var ge=tt.edge(ut,Wt).cutvalue;ft+=Rt?-ge:ge}}}),ft}function z(tt,it){arguments.length<2&&(it=tt.nodes()[0]),U(tt,{},1,it)}function U(tt,it,ut,St,et){var K=ut,ft=tt.node(St);return it[St]=!0,h.forEach(tt.neighbors(St),function(_t){h.has(it,_t)||(ut=U(tt,it,ut,_t,St))}),ft.low=K,ft.lim=ut++,et?ft.parent=et:delete ft.parent,ut}function W(tt){return h.find(tt.edges(),function(it){return tt.edge(it).cutvalue<0})}function V(tt,it,ut){var St=ut.v,et=ut.w;it.hasEdge(St,et)||(St=ut.w,et=ut.v);var K=tt.node(St),ft=tt.node(et),_t=K,kt=!1;K.lim>ft.lim&&(_t=ft,kt=!0);var pt=h.filter(it.edges(),function(mt){return kt===at(0,tt.node(mt.v),_t)&&kt!==at(0,tt.node(mt.w),_t)});return h.minBy(pt,function(mt){return y(it,mt)})}function X(tt,it,ut,St){var et=ut.v,K=ut.w;tt.removeEdge(et,K),tt.setEdge(St.v,St.w,{}),z(tt),O(tt,it),function(ft,_t){var kt=h.find(ft.nodes(),function(mt){return!_t.node(mt).parent}),pt=b(ft,kt);pt=pt.slice(1),h.forEach(pt,function(mt){var Wt=ft.node(mt).parent,Rt=_t.edge(mt,Wt),ye=!1;Rt||(Rt=_t.edge(Wt,mt),ye=!0),_t.node(mt).rank=_t.node(Wt).rank+(ye?Rt.minlen:-Rt.minlen)})}(tt,it)}function at(tt,it,ut){return ut.low<=it.lim&&it.lim<=ut.lim}r.exports=D,D.initLowLimValues=z,D.initCutValues=O,D.calcCutValue=R,D.leaveEdge=W,D.enterEdge=V,D.exchangeEdges=X},6681:(r,s,o)=>{var h=o(8436);r.exports={longestPath:function(c){var y={};h.forEach(c.sources(),function p(b){var T=c.node(b);if(h.has(y,b))return T.rank;y[b]=!0;var k=h.min(h.map(c.outEdges(b),function(D){return p(D.w)-c.edge(D).minlen}));return k!==Number.POSITIVE_INFINITY&&k!=null||(k=0),T.rank=k})},slack:function(c,y){return c.node(y.w).rank-c.node(y.v).rank-c.edge(y).minlen}}},1138:(r,s,o)=>{var h=o(8436),c=o(574).Graph;function y(b,T,k,D){var O;do O=h.uniqueId(D);while(b.hasNode(O));return k.dummy=T,b.setNode(O,k),O}function p(b){return h.max(h.map(b.nodes(),function(T){var k=b.node(T).rank;if(!h.isUndefined(k))return k}))}r.exports={addDummyNode:y,simplify:function(b){var T=new c().setGraph(b.graph());return h.forEach(b.nodes(),function(k){T.setNode(k,b.node(k))}),h.forEach(b.edges(),function(k){var D=T.edge(k.v,k.w)||{weight:0,minlen:1},O=b.edge(k);T.setEdge(k.v,k.w,{weight:D.weight+O.weight,minlen:Math.max(D.minlen,O.minlen)})}),T},asNonCompoundGraph:function(b){var T=new c({multigraph:b.isMultigraph()}).setGraph(b.graph());return h.forEach(b.nodes(),function(k){b.children(k).length||T.setNode(k,b.node(k))}),h.forEach(b.edges(),function(k){T.setEdge(k,b.edge(k))}),T},successorWeights:function(b){var T=h.map(b.nodes(),function(k){var D={};return h.forEach(b.outEdges(k),function(O){D[O.w]=(D[O.w]||0)+b.edge(O).weight}),D});return h.zipObject(b.nodes(),T)},predecessorWeights:function(b){var T=h.map(b.nodes(),function(k){var D={};return h.forEach(b.inEdges(k),function(O){D[O.v]=(D[O.v]||0)+b.edge(O).weight}),D});return h.zipObject(b.nodes(),T)},intersectRect:function(b,T){var k,D,O=b.x,R=b.y,z=T.x-O,U=T.y-R,W=b.width/2,V=b.height/2;if(!z&&!U)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(U)*W>Math.abs(z)*V?(U<0&&(V=-V),k=V*z/U,D=V):(z<0&&(W=-W),k=W,D=W*U/z),{x:O+k,y:R+D}},buildLayerMatrix:function(b){var T=h.map(h.range(p(b)+1),function(){return[]});return h.forEach(b.nodes(),function(k){var D=b.node(k),O=D.rank;h.isUndefined(O)||(T[O][D.order]=k)}),T},normalizeRanks:function(b){var T=h.min(h.map(b.nodes(),function(k){return b.node(k).rank}));h.forEach(b.nodes(),function(k){var D=b.node(k);h.has(D,"rank")&&(D.rank-=T)})},removeEmptyRanks:function(b){var T=h.min(h.map(b.nodes(),function(R){return b.node(R).rank})),k=[];h.forEach(b.nodes(),function(R){var z=b.node(R).rank-T;k[z]||(k[z]=[]),k[z].push(R)});var D=0,O=b.graph().nodeRankFactor;h.forEach(k,function(R,z){h.isUndefined(R)&&z%O!=0?--D:D&&h.forEach(R,function(U){b.node(U).rank+=D})})},addBorderNode:function(b,T,k,D){var O={width:0,height:0};return arguments.length>=4&&(O.rank=k,O.order=D),y(b,"border",O,T)},maxRank:p,partition:function(b,T){var k={lhs:[],rhs:[]};return h.forEach(b,function(D){T(D)?k.lhs.push(D):k.rhs.push(D)}),k},time:function(b,T){var k=h.now();try{return T()}finally{console.log(b+" time: "+(h.now()-k)+"ms")}},notime:function(b,T){return T()}}},8177:r=>{r.exports="0.8.5"},7856:function(r){r.exports=function(){var s=Object.hasOwnProperty,o=Object.setPrototypeOf,h=Object.isFrozen,c=Object.getPrototypeOf,y=Object.getOwnPropertyDescriptor,p=Object.freeze,b=Object.seal,T=Object.create,k=typeof Reflect!="undefined"&&Reflect,D=k.apply,O=k.construct;D||(D=function(Ht,Nt,oe){return Ht.apply(Nt,oe)}),p||(p=function(Ht){return Ht}),b||(b=function(Ht){return Ht}),O||(O=function(Ht,Nt){return new(Function.prototype.bind.apply(Ht,[null].concat(function(oe){if(Array.isArray(oe)){for(var en=0,ve=Array(oe.length);en1?oe-1:0),ve=1;ve/gm),Lt=b(/^data-[\-\w.\u00B7-\uFFFF]/),qe=b(/^aria-[\-\w]+$/),he=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zt=b(/^(?:\w+script|data):/i),te=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ht){return typeof Ht}:function(Ht){return Ht&&typeof Symbol=="function"&&Ht.constructor===Symbol&&Ht!==Symbol.prototype?"symbol":typeof Ht};function ne(Ht){if(Array.isArray(Ht)){for(var Nt=0,oe=Array(Ht.length);Nt0&&arguments[0]!==void 0?arguments[0]:Dt(),oe=function(Bt){return Ht(Bt)};if(oe.version="2.3.5",oe.removed=[],!Nt||!Nt.document||Nt.document.nodeType!==9)return oe.isSupported=!1,oe;var en=Nt.document,ve=Nt.document,Ne=Nt.DocumentFragment,dn=Nt.HTMLTemplateElement,Xe=Nt.Node,Ie=Nt.Element,Ae=Nt.NodeFilter,nn=Nt.NamedNodeMap,$e=nn===void 0?Nt.NamedNodeMap||Nt.MozNamedAttrMap:nn,Ke=Nt.HTMLFormElement,Qe=Nt.DOMParser,Be=Nt.trustedTypes,Hn=Ie.prototype,Me=_t(Hn,"cloneNode"),on=_t(Hn,"nextSibling"),wn=_t(Hn,"childNodes"),$r=_t(Hn,"parentNode");if(typeof dn=="function"){var xn=ve.createElement("template");xn.content&&xn.content.ownerDocument&&(ve=xn.content.ownerDocument)}var nr=Zt(Be,en),hn=nr?nr.createHTML(""):"",vn=ve,Je=vn.implementation,Cn=vn.createNodeIterator,En=vn.createDocumentFragment,Wn=vn.getElementsByTagName,qn=en.importNode,Fr={};try{Fr=ft(ve).documentMode?ve.documentMode:{}}catch{}var Sn={};oe.isSupported=typeof $r=="function"&&Je&&Je.createHTMLDocument!==void 0&&Fr!==9;var Gn=le,Un=me,Xn=Lt,Kn=qe,rr=zt,On=te,Pn=he,fn=null,$n=K({},[].concat(ne(kt),ne(pt),ne(mt),ne(Rt),ne(ge))),bn=null,di=K({},[].concat(ne(pe),ne(Ot),ne(Xt),ne(se))),_r=Object.seal(Object.create(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}})),Qi=null,Yn=null,zo=!0,Sa=!0,pi=!1,Hr=!1,Gr=!1,ii=!1,si=!1,Pr=!1,ci=!1,Wr=!1,Ui=!0,_i=!0,ar=!1,ei={},Ca=null,ui=K({},["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"]),Aa=null,Co=K({},["audio","video","img","source","image","track"]),bi=null,sn=K({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qn="http://www.w3.org/1998/Math/MathML",Mn="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml",Jn=Re,yt=!1,ai=void 0,Kt=["application/xhtml+xml","text/html"],$i="text/html",ca=void 0,io=null,Ao=ve.createElement("form"),Uo=function(Bt){return Bt instanceof RegExp||Bt instanceof Function},$o=function(Bt){io&&io===Bt||(Bt&&(Bt===void 0?"undefined":ct(Bt))==="object"||(Bt={}),Bt=ft(Bt),fn="ALLOWED_TAGS"in Bt?K({},Bt.ALLOWED_TAGS):$n,bn="ALLOWED_ATTR"in Bt?K({},Bt.ALLOWED_ATTR):di,bi="ADD_URI_SAFE_ATTR"in Bt?K(ft(sn),Bt.ADD_URI_SAFE_ATTR):sn,Aa="ADD_DATA_URI_TAGS"in Bt?K(ft(Co),Bt.ADD_DATA_URI_TAGS):Co,Ca="FORBID_CONTENTS"in Bt?K({},Bt.FORBID_CONTENTS):ui,Qi="FORBID_TAGS"in Bt?K({},Bt.FORBID_TAGS):{},Yn="FORBID_ATTR"in Bt?K({},Bt.FORBID_ATTR):{},ei="USE_PROFILES"in Bt&&Bt.USE_PROFILES,zo=Bt.ALLOW_ARIA_ATTR!==!1,Sa=Bt.ALLOW_DATA_ATTR!==!1,pi=Bt.ALLOW_UNKNOWN_PROTOCOLS||!1,Hr=Bt.SAFE_FOR_TEMPLATES||!1,Gr=Bt.WHOLE_DOCUMENT||!1,Pr=Bt.RETURN_DOM||!1,ci=Bt.RETURN_DOM_FRAGMENT||!1,Wr=Bt.RETURN_TRUSTED_TYPE||!1,si=Bt.FORCE_BODY||!1,Ui=Bt.SANITIZE_DOM!==!1,_i=Bt.KEEP_CONTENT!==!1,ar=Bt.IN_PLACE||!1,Pn=Bt.ALLOWED_URI_REGEXP||Pn,Jn=Bt.NAMESPACE||Re,Bt.CUSTOM_ELEMENT_HANDLING&&Uo(Bt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_r.tagNameCheck=Bt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Bt.CUSTOM_ELEMENT_HANDLING&&Uo(Bt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_r.attributeNameCheck=Bt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Bt.CUSTOM_ELEMENT_HANDLING&&typeof Bt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_r.allowCustomizedBuiltInElements=Bt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ai=ai=Kt.indexOf(Bt.PARSER_MEDIA_TYPE)===-1?$i:Bt.PARSER_MEDIA_TYPE,ca=ai==="application/xhtml+xml"?function(He){return He}:V,Hr&&(Sa=!1),ci&&(Pr=!0),ei&&(fn=K({},[].concat(ne(ge))),bn=[],ei.html===!0&&(K(fn,kt),K(bn,pe)),ei.svg===!0&&(K(fn,pt),K(bn,Ot),K(bn,se)),ei.svgFilters===!0&&(K(fn,mt),K(bn,Ot),K(bn,se)),ei.mathMl===!0&&(K(fn,Rt),K(bn,Xt),K(bn,se))),Bt.ADD_TAGS&&(fn===$n&&(fn=ft(fn)),K(fn,Bt.ADD_TAGS)),Bt.ADD_ATTR&&(bn===di&&(bn=ft(bn)),K(bn,Bt.ADD_ATTR)),Bt.ADD_URI_SAFE_ATTR&&K(bi,Bt.ADD_URI_SAFE_ATTR),Bt.FORBID_CONTENTS&&(Ca===ui&&(Ca=ft(Ca)),K(Ca,Bt.FORBID_CONTENTS)),_i&&(fn["#text"]=!0),Gr&&K(fn,["html","head","body"]),fn.table&&(K(fn,["tbody"]),delete Qi.tbody),p&&p(Bt),io=Bt)},ni=K({},["mi","mo","mn","ms","mtext"]),ua=K({},["foreignobject","desc","title","annotation-xml"]),Dn=K({},pt);K(Dn,mt),K(Dn,Wt);var qa=K({},Rt);K(qa,ye);var ao=function(Bt){var He=$r(Bt);He&&He.tagName||(He={namespaceURI:Re,tagName:"template"});var ze=V(Bt.tagName),wr=V(He.tagName);if(Bt.namespaceURI===Mn)return He.namespaceURI===Re?ze==="svg":He.namespaceURI===Qn?ze==="svg"&&(wr==="annotation-xml"||ni[wr]):Boolean(Dn[ze]);if(Bt.namespaceURI===Qn)return He.namespaceURI===Re?ze==="math":He.namespaceURI===Mn?ze==="math"&&ua[wr]:Boolean(qa[ze]);if(Bt.namespaceURI===Re){if(He.namespaceURI===Mn&&!ua[wr]||He.namespaceURI===Qn&&!ni[wr])return!1;var Er=K({},["title","style","font","a","script"]);return!qa[ze]&&(Er[ze]||!Dn[ze])}return!1},br=function(Bt){W(oe.removed,{element:Bt});try{Bt.parentNode.removeChild(Bt)}catch{try{Bt.outerHTML=hn}catch{Bt.remove()}}},Or=function(Bt,He){try{W(oe.removed,{attribute:He.getAttributeNode(Bt),from:He})}catch{W(oe.removed,{attribute:null,from:He})}if(He.removeAttribute(Bt),Bt==="is"&&!bn[Bt])if(Pr||ci)try{br(He)}catch{}else try{He.setAttribute(Bt,"")}catch{}},Mi=function(Bt){var He=void 0,ze=void 0;if(si)Bt=""+Bt;else{var wr=X(Bt,/^[\r\n\t ]+/);ze=wr&&wr[0]}ai==="application/xhtml+xml"&&(Bt=''+Bt+"");var Er=nr?nr.createHTML(Bt):Bt;if(Jn===Re)try{He=new Qe().parseFromString(Er,ai)}catch{}if(!He||!He.documentElement){He=Je.createDocument(Jn,"template",null);try{He.documentElement.innerHTML=yt?"":Er}catch{}}var Di=He.body||He.documentElement;return Bt&&ze&&Di.insertBefore(ve.createTextNode(ze),Di.childNodes[0]||null),Jn===Re?Wn.call(He,Gr?"html":"body")[0]:Gr?He.documentElement:Di},li=function(Bt){return Cn.call(Bt.ownerDocument||Bt,Bt,Ae.SHOW_ELEMENT|Ae.SHOW_COMMENT|Ae.SHOW_TEXT,null,!1)},Zr=function(Bt){return Bt instanceof Ke&&(typeof Bt.nodeName!="string"||typeof Bt.textContent!="string"||typeof Bt.removeChild!="function"||!(Bt.attributes instanceof $e)||typeof Bt.removeAttribute!="function"||typeof Bt.setAttribute!="function"||typeof Bt.namespaceURI!="string"||typeof Bt.insertBefore!="function")},Xr=function(Bt){return(Xe===void 0?"undefined":ct(Xe))==="object"?Bt instanceof Xe:Bt&&(Bt===void 0?"undefined":ct(Bt))==="object"&&typeof Bt.nodeType=="number"&&typeof Bt.nodeName=="string"},wi=function(Bt,He,ze){Sn[Bt]&&z(Sn[Bt],function(wr){wr.call(oe,He,ze,io)})},oi=function(Bt){var He=void 0;if(wi("beforeSanitizeElements",Bt,null),Zr(Bt)||X(Bt.nodeName,/[\u0080-\uFFFF]/))return br(Bt),!0;var ze=ca(Bt.nodeName);if(wi("uponSanitizeElement",Bt,{tagName:ze,allowedTags:fn}),!Xr(Bt.firstElementChild)&&(!Xr(Bt.content)||!Xr(Bt.content.firstElementChild))&&ut(/<[/\w]/g,Bt.innerHTML)&&ut(/<[/\w]/g,Bt.textContent)||ze==="select"&&ut(/