diff --git a/_app/assets/pages/__layout.svelte-856da6fc.css b/_app/assets/pages/__layout.svelte-856da6fc.css new file mode 100644 index 00000000..67cbb20e --- /dev/null +++ b/_app/assets/pages/__layout.svelte-856da6fc.css @@ -0,0 +1 @@ +/*! tailwindcss v3.0.23 | 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% 51%;--pf:259 94% 41%;--sf:314 100% 38%;--af:174 60% 41%;--nf:219 14% 22%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:314 100% 47%;--sc:0 0% 100%;--a:174 60% 51%;--ac:0 0% 100%;--n:219 14% 28%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12% 84%;--bc:215 28% 17%}@media (prefers-color-scheme:dark){:root{--p:262 80% 50%;--pf:262 80% 40%;--sf:316 70% 40%;--af:175 70% 33%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:316 70% 50%;--sc:0 0% 100%;--a:175 70% 41%;--ac:0 0% 100%;--n:218 18% 12%;--nf:223 17% 8%;--nc:220 13% 69%;--b1:220 18% 20%;--b2:220 17% 17%;--b3:219 18% 15%;--bc:220 13% 69%}}[data-theme=light]{--p:259 94% 51%;--pf:259 94% 41%;--sf:314 100% 38%;--af:174 60% 41%;--nf:219 14% 22%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:314 100% 47%;--sc:0 0% 100%;--a:174 60% 51%;--ac:0 0% 100%;--n:219 14% 28%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12% 84%;--bc:215 28% 17%}[data-theme=dark]{--p:262 80% 50%;--pf:262 80% 40%;--sf:316 70% 40%;--af:175 70% 33%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:0 0% 100%;--s:316 70% 50%;--sc:0 0% 100%;--a:175 70% 41%;--ac:0 0% 100%;--n:218 18% 12%;--nf:223 17% 8%;--nc:220 13% 69%;--b1:220 18% 20%;--b2:220 17% 17%;--b3:219 18% 15%;--bc:220 13% 69%}[data-theme=cupcake]{--p:183 47% 59%;--pf:183 47% 47%;--sf:338 71% 62%;--af:39 84% 46%;--nf:280 46% 11%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:183 100% 12%;--sc:338 100% 16%;--ac:39 100% 12%;--nc:280 83% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--s:338 71% 78%;--a:39 84% 58%;--n:280 46% 14%;--b1:24 33% 97%;--b2:27 22% 92%;--b3:22 14% 89%;--bc:280 46% 14%;--rounded-btn:1.9rem;--tab-border:2px;--tab-radius:.5rem}[data-theme=bumblebee]{--p:41 74% 53%;--pf:41 74% 42%;--sf:50 94% 46%;--af:240 33% 11%;--nf:240 33% 11%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 0% 20%;--ac:240 60% 83%;--nc:240 60% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:240 33% 14%;--s:50 94% 58%;--sc:240 33% 14%;--a:240 33% 14%;--n:240 33% 14%;--b1:0 0% 100%}[data-theme=emerald]{--p:141 50% 60%;--pf:141 50% 48%;--sf:219 96% 48%;--af:10 81% 45%;--nf:219 20% 20%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:210 20% 98%;--s:219 96% 60%;--sc:210 20% 98%;--a:10 81% 56%;--ac:210 20% 98%;--n:219 20% 25%;--nc:210 20% 98%;--b1:0 0% 100%;--bc:219 20% 25%;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=corporate]{--p:229 96% 64%;--pf:229 96% 51%;--sf:215 26% 47%;--af:154 49% 48%;--nf:233 27% 10%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:229 100% 93%;--sc:215 100% 12%;--ac:154 100% 12%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:215 26% 59%;--a:154 49% 60%;--n:233 27% 13%;--nc:210 38% 95%;--b1:0 0% 100%;--bc:233 27% 13%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem;--animation-btn:0;--animation-input:0;--btn-focus-scale:1}[data-theme=synthwave]{--p:321 70% 69%;--pf:321 70% 55%;--sf:197 87% 52%;--af:48 89% 46%;--nf:253 61% 15%;--b2:254 59% 23%;--b3:254 59% 21%;--pc:321 100% 14%;--sc:197 100% 13%;--ac:48 100% 11%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:197 87% 65%;--a:48 89% 57%;--n:253 61% 19%;--nc:260 60% 98%;--b1:254 59% 26%;--bc:260 60% 98%;--in:199 87% 64%;--inc:257 63% 17%;--su:168 74% 68%;--suc:257 63% 17%;--wa:48 89% 57%;--wac:257 63% 17%;--er:352 74% 57%;--erc:260 60% 98%}[data-theme=retro]{--p:3 74% 76%;--pf:3 74% 61%;--sf:145 27% 58%;--af:49 67% 61%;--nf:42 17% 34%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:345 5% 15%;--s:145 27% 72%;--sc:345 5% 15%;--a:49 67% 76%;--ac:345 5% 15%;--n:42 17% 42%;--nc:45 47% 80%;--b1:45 47% 80%;--b2:45 37% 72%;--b3:42 36% 65%;--bc:345 5% 15%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%;--rounded-box:.4rem;--rounded-btn:.4rem;--rounded-badge:.4rem}[data-theme=cyberpunk]{--pf:345 100% 58%;--sf:195 80% 56%;--af:276 74% 57%;--nf:57 100% 10%;--b2:56 100% 45%;--b3:56 100% 41%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:56 100% 10%;--pc:345 100% 15%;--sc:195 100% 14%;--ac:276 100% 14%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--p:345 100% 73%;--s:195 80% 70%;--a:276 74% 71%;--n:57 100% 13%;--nc:56 100% 50%;--b1:56 100% 50%;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--tab-radius:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}[data-theme=valentine]{--p:353 74% 67%;--pf:353 74% 54%;--sf:254 86% 61%;--af:181 56% 56%;--nf:336 43% 38%;--b2:318 46% 80%;--b3:318 46% 72%;--pc:353 100% 13%;--sc:254 100% 15%;--ac:181 100% 14%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:254 86% 77%;--a:181 56% 70%;--n:336 43% 48%;--nc:318 46% 89%;--b1:318 46% 89%;--bc:344 38% 28%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%;--rounded-btn:1.9rem}[data-theme=halloween]{--p:32 89% 52%;--pf:32 89% 42%;--sf:271 46% 34%;--af:91 100% 26%;--nf:180 4% 9%;--b2:0 0% 12%;--b3:0 0% 10%;--bc:0 0% 83%;--sc:271 100% 88%;--ac:91 100% 87%;--nc:180 5% 82%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--pc:180 7% 8%;--s:271 46% 42%;--a:91 100% 33%;--n:180 4% 11%;--b1:0 0% 13%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%}[data-theme=garden]{--p:139 16% 43%;--pf:139 16% 34%;--sf:97 37% 75%;--af:0 68% 75%;--nf:0 4% 28%;--b2:0 4% 82%;--b3:0 4% 74%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:139 100% 89%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:97 37% 93%;--sc:96 32% 15%;--a:0 68% 94%;--ac:0 22% 16%;--n:0 4% 35%;--nc:0 4% 91%;--b1:0 4% 91%;--bc:0 3% 6%}[data-theme=forest]{--p:141 72% 42%;--pf:141 72% 34%;--sf:141 75% 38%;--af:35 69% 42%;--nf:0 10% 5%;--b2:0 12% 7%;--b3:0 12% 7%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 12% 82%;--pc:141 100% 88%;--sc:141 100% 10%;--ac:35 100% 10%;--nc:0 7% 81%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:141 75% 48%;--a:35 69% 52%;--n:0 10% 6%;--b1:0 12% 8%;--rounded-btn:1.9rem}[data-theme=aqua]{--p:182 93% 49%;--pf:182 93% 40%;--sf:274 31% 45%;--af:47 100% 64%;--nf:205 54% 40%;--b2:219 53% 39%;--b3:219 53% 35%;--bc:219 100% 89%;--pc:182 100% 10%;--sc:274 100% 11%;--ac:47 100% 16%;--nc:205 100% 90%;--inc:221 100% 91%;--suc:142 100% 87%;--wac:32 100% 9%;--erc:0 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:274 31% 57%;--a:47 100% 80%;--n:205 54% 50%;--b1:219 53% 43%;--in:221 83% 53%;--su:142 76% 36%;--wa:32 95% 44%;--er:0 72% 51%}[data-theme=lofi]{--p:0 0% 5%;--pf:0 0% 4%;--sf:0 2% 8%;--af:0 0% 12%;--nf:0 0% 0%;--btn-text-case:uppercase;--border-btn:1px;--tab-border:1px;--pc:0 0% 100%;--s:0 2% 10%;--sc:0 0% 100%;--a:0 0% 15%;--ac:0 0% 100%;--n:0 0% 0%;--nc:0 0% 100%;--b1:0 0% 100%;--b2:0 0% 95%;--b3:0 2% 90%;--bc:0 0% 0%;--in:212 100% 48%;--inc:0 0% 100%;--su:137 72% 46%;--suc:0 0% 100%;--wa:5 100% 66%;--wac:0 0% 100%;--er:325 78% 49%;--erc:0 0% 100%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem;--animation-btn:0;--animation-input:0;--btn-focus-scale:1;--tab-radius:0}[data-theme=pastel]{--p:284 22% 80%;--pf:284 22% 64%;--sf:352 70% 70%;--af:158 55% 65%;--nf:199 44% 49%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--bc:0 0% 20%;--pc:284 59% 16%;--sc:352 100% 18%;--ac:158 100% 16%;--nc:199 100% 12%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:352 70% 88%;--a:158 55% 81%;--n:199 44% 61%;--b1:0 0% 100%;--b2:210 20% 98%;--b3:216 12% 84%;--rounded-btn:1.9rem}[data-theme=fantasy]{--p:296 83% 25%;--pf:296 83% 20%;--sf:200 100% 30%;--af:31 94% 41%;--nf:215 28% 13%;--b2:0 0% 90%;--b3:0 0% 81%;--in:198 93% 60%;--su:158 64% 52%;--wa:43 96% 56%;--er:0 91% 71%;--pc:296 100% 85%;--sc:200 100% 87%;--ac:31 100% 10%;--nc:215 62% 83%;--inc:198 100% 12%;--suc:158 100% 10%;--wac:43 100% 11%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:200 100% 37%;--a:31 94% 51%;--n:215 28% 17%;--b1:0 0% 100%;--bc:215 28% 17%}[data-theme=wireframe]{--pf:0 0% 58%;--sf:0 0% 58%;--af:0 0% 58%;--nf:0 0% 74%;--bc:0 0% 20%;--pc:0 0% 14%;--sc:0 0% 14%;--ac:0 0% 14%;--nc:0 0% 18%;--inc:240 100% 90%;--suc:120 100% 85%;--wac:60 100% 10%;--erc:0 100% 90%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--p:0 0% 72%;--s:0 0% 72%;--a:0 0% 72%;--n:0 0% 92%;--b1:0 0% 100%;--b2:0 0% 93%;--b3:0 0% 87%;--in:240 100% 50%;--su:120 100% 25%;--wa:60 30% 50%;--er:0 100% 50%;--rounded-box:.2rem;--rounded-btn:.2rem;--rounded-badge:.2rem;--tab-radius:.2rem;font-family:Chalkboard,comic sans ms,sanssecondaryerif}[data-theme=black]{--p:0 2% 20%;--pf:0 2% 16%;--sf:0 2% 16%;--af:0 2% 16%;--bc:0 0% 80%;--pc:0 5% 84%;--sc:0 5% 84%;--ac:0 5% 84%;--nc:0 3% 83%;--inc:240 100% 90%;--suc:120 100% 85%;--wac:60 100% 10%;--erc:0 100% 90%;--border-btn:1px;--tab-border:1px;--s:0 2% 20%;--a:0 2% 20%;--b1:0 0% 0%;--b2:0 0% 5%;--b3:0 2% 10%;--n:0 1% 15%;--nf:0 2% 20%;--in:240 100% 50%;--su:120 100% 25%;--wa:60 100% 50%;--er:0 100% 50%;--rounded-box:0;--rounded-btn:0;--rounded-badge:0;--animation-btn:0;--animation-input:0;--btn-text-case:lowercase;--btn-focus-scale:1;--tab-radius:0}[data-theme=luxury]{--p:0 0% 100%;--pf:0 0% 80%;--sf:218 54% 14%;--af:319 22% 21%;--nf:270 4% 7%;--pc:0 0% 20%;--sc:218 100% 84%;--ac:319 85% 85%;--inc:202 100% 14%;--suc:89 100% 10%;--wac:54 100% 13%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:218 54% 18%;--a:319 22% 26%;--n:270 4% 9%;--nc:37 67% 58%;--b1:240 10% 4%;--b2:270 4% 9%;--b3:270 2% 18%;--bc:37 67% 58%;--in:202 100% 70%;--su:89 62% 52%;--wa:54 69% 64%;--er:0 100% 72%}[data-theme=dracula]{--p:326 100% 74%;--pf:326 100% 59%;--sf:265 89% 62%;--af:31 100% 57%;--nf:230 15% 24%;--b2:231 15% 17%;--b3:231 15% 15%;--pc:326 100% 15%;--sc:265 100% 16%;--ac:31 100% 14%;--nc:230 71% 86%;--inc:191 100% 15%;--suc:135 100% 13%;--wac:65 100% 15%;--erc:0 100% 13%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:265 89% 78%;--a:31 100% 71%;--n:230 15% 30%;--b1:231 15% 18%;--bc:60 30% 96%;--in:191 97% 77%;--su:135 94% 65%;--wa:65 92% 76%;--er:0 100% 67%}[data-theme=cmyk]{--p:203 83% 60%;--pf:203 83% 48%;--sf:335 78% 48%;--af:56 100% 48%;--nf:0 0% 8%;--b2:0 0% 90%;--b3:0 0% 81%;--bc:0 0% 20%;--pc:203 100% 12%;--sc:335 100% 92%;--ac:56 100% 12%;--nc:0 0% 82%;--inc:192 100% 10%;--suc:291 100% 88%;--wac:25 100% 11%;--erc:4 100% 91%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:335 78% 60%;--a:56 100% 60%;--n:0 0% 10%;--b1:0 0% 100%;--in:192 48% 52%;--su:291 48% 38%;--wa:25 85% 57%;--er:4 81% 56%}[data-theme=autumn]{--p:344 96% 28%;--pf:344 96% 22%;--sf:0 63% 47%;--af:27 56% 50%;--nf:22 17% 35%;--b2:0 0% 85%;--b3:0 0% 77%;--bc:0 0% 19%;--pc:344 100% 86%;--sc:0 100% 92%;--ac:27 100% 13%;--nc:22 100% 89%;--inc:187 100% 10%;--suc:165 100% 89%;--wac:30 100% 10%;--erc:354 100% 90%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:0 63% 58%;--a:27 56% 63%;--n:22 17% 44%;--b1:0 0% 95%;--in:187 48% 50%;--su:165 34% 43%;--wa:30 84% 50%;--er:354 79% 49%}[data-theme=business]{--p:210 64% 31%;--pf:210 64% 24%;--sf:200 13% 44%;--af:13 80% 48%;--nf:213 14% 13%;--b2:0 0% 11%;--b3:0 0% 10%;--bc:0 0% 83%;--pc:210 100% 86%;--sc:200 100% 11%;--ac:13 100% 12%;--nc:213 28% 83%;--inc:199 100% 88%;--suc:144 100% 11%;--wac:39 100% 12%;--erc:6 100% 89%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:200 13% 55%;--a:13 80% 60%;--n:213 14% 16%;--b1:0 0% 13%;--in:199 100% 42%;--su:144 31% 56%;--wa:39 64% 60%;--er:6 56% 43%;--rounded-box:.25rem;--rounded-btn:.125rem;--rounded-badge:.125rem}[data-theme=acid]{--p:303 100% 50%;--pf:303 100% 40%;--sf:27 100% 40%;--af:72 98% 40%;--nf:238 43% 14%;--b2:0 0% 88%;--b3:0 0% 79%;--bc:0 0% 20%;--pc:303 100% 90%;--sc:27 100% 10%;--ac:72 100% 10%;--nc:238 99% 83%;--inc:210 100% 12%;--suc:149 100% 12%;--wac:53 100% 11%;--erc:1 100% 89%;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:27 100% 50%;--a:72 98% 50%;--n:238 43% 17%;--b1:0 0% 98%;--in:210 92% 58%;--su:149 50% 58%;--wa:53 93% 57%;--er:1 100% 45%;--rounded-box:1.25rem;--rounded-btn:1rem;--rounded-badge:1rem}[data-theme=lemonade]{--p:89 96% 31%;--pf:89 96% 24%;--sf:60 81% 44%;--af:63 80% 71%;--nf:238 43% 14%;--b2:0 0% 90%;--b3:0 0% 81%;--bc:0 0% 20%;--pc:89 100% 86%;--sc:60 100% 11%;--ac:63 100% 18%;--nc:238 99% 83%;--inc:192 79% 17%;--suc:74 100% 16%;--wac:50 100% 15%;--erc:1 100% 17%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:60 81% 55%;--a:63 80% 88%;--n:238 43% 17%;--b1:0 0% 100%;--in:192 39% 85%;--su:74 76% 79%;--wa:50 87% 75%;--er:1 70% 83%}[data-theme=night]{--p:198 93% 60%;--pf:198 93% 48%;--sf:234 89% 59%;--af:329 86% 56%;--b2:222 47% 10%;--b3:222 47% 9%;--bc:222 66% 82%;--pc:198 100% 12%;--sc:234 100% 15%;--ac:329 100% 14%;--nc:217 76% 83%;--inc:198 100% 90%;--suc:172 100% 10%;--wac:41 100% 13%;--erc:351 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:234 89% 74%;--a:329 86% 70%;--n:217 33% 17%;--nf:217 30% 22%;--b1:222 47% 11%;--in:198 90% 48%;--su:172 66% 50%;--wa:41 88% 64%;--er:351 95% 71%}[data-theme=coffee]{--p:30 67% 58%;--pf:30 67% 46%;--sf:182 25% 16%;--af:194 74% 20%;--nf:300 20% 5%;--b2:306 19% 10%;--b3:306 19% 9%;--pc:30 100% 12%;--sc:182 67% 84%;--ac:194 100% 85%;--nc:300 14% 81%;--inc:171 100% 13%;--suc:93 100% 12%;--wac:43 100% 14%;--erc:10 100% 15%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:182 25% 20%;--a:194 74% 25%;--n:300 20% 6%;--b1:306 19% 11%;--bc:37 8% 42%;--in:171 37% 67%;--su:93 25% 62%;--wa:43 100% 69%;--er:10 95% 75%}[data-theme=winter]{--p:212 100% 51%;--pf:212 100% 41%;--sf:247 47% 35%;--af:310 49% 42%;--nf:217 92% 8%;--pc:212 100% 90%;--sc:247 100% 89%;--ac:310 100% 90%;--nc:217 100% 82%;--inc:192 100% 16%;--suc:182 100% 13%;--wac:32 100% 17%;--erc:0 100% 14%;--rounded-box:1rem;--rounded-btn:.5rem;--rounded-badge:1.9rem;--animation-btn:.25s;--animation-input:.2s;--btn-text-case:uppercase;--btn-focus-scale:.95;--border-btn:1px;--tab-border:1px;--tab-radius:.5rem;--s:247 47% 43%;--a:310 49% 52%;--n:217 92% 10%;--b1:0 0% 100%;--b2:217 100% 97%;--b3:219 44% 92%;--bc:214 30% 32%;--in:192 93% 78%;--su:182 47% 66%;--wa:32 62% 84%;--er:0 63% 72%}*,: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{--tw-bg-opacity:1;align-items:center;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-radius:var(--rounded-box,1rem);display:flex;flex-direction:column;gap:1rem;justify-content:space-between;padding:1rem;width:100%}.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)))}@media (min-width:768px){.alert{flex-direction:row}.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>:where(*){align-items:center;display:flex;gap:.5rem}.avatar.placeholder>div{display:flex}.avatar.placeholder>div,.btn{align-items:center;justify-content:center}.btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;border-color:transparent;border-color:hsl(var(--n)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsl(var(--nc)/var(--tw-text-opacity));cursor:pointer;display:inline-flex;flex-shrink:0;flex-wrap:wrap;font-size:.875rem;font-weight:600;height:3rem;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:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;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,.btn-disabled,.btn[disabled]{background-color:hsl(var(--n)/var(--tw-bg-opacity))}.btn-disabled,.btn[disabled]{--tw-border-opacity:0;--tw-bg-opacity:.2;--tw-text-opacity:.2;color:hsl(var(--bc)/var(--tw-text-opacity));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;gap:.5rem;padding:var(--padding-card,2rem)}.card-body :where(p){flex-grow:1}.card figure{align-items:center;display:flex;justify-content:center}.card.image-full{display:grid}.card.image-full:before{--tw-bg-opacity:1;background-color:hsl(var(--n)/var(--tw-bg-opacity));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:hsl(var(--nc)/var(--tw-text-opacity));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:hsl(var(--bc)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:1px;cursor:pointer;flex-shrink:0;height:1.5rem;width:1.5rem}.dropdown{display:inline-block;position:relative}.dropdown>:focus{outline:2px solid transparent;outline-offset:2px}.dropdown .dropdown-content{--tw-scale-x:.95;--tw-scale-y:.95;opacity:0;position:absolute;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));transform-origin:top;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;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{flex-direction:column}.form-control,.label{display:flex}.label{align-items:center;justify-content:space-between;padding:.5rem .25rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.input{--tw-border-opacity:0;--tw-bg-opacity:1;background-color:hsl(var(--b1)/var(--tw-bg-opacity));border-color:hsl(var(--bc)/var(--tw-border-opacity));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:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.input-group>*,.input-group>.input{border-radius:0}.link{cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline}.menu{display:flex;flex-direction:column}.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;flex-wrap:wrap;position:relative}.menu :where(li:not(.menu-title))>:where(:not(ul)){display:flex}.menu :where(li:not(.disabled):not(.menu-title))>:where(:not(ul)){align-items:center;cursor:pointer;outline:2px solid transparent;outline-offset:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu>:where(li>:not(ul):focus){outline:2px solid transparent;outline-offset:2px}.menu>:where(li.disabled>:not(ul):focus){cursor:auto}.menu>:where(li) :where(ul){align-items:stretch;display:flex;flex-direction:column}.menu>:where(li)>:where(ul){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:inherit;border-top-right-radius:inherit;display:none;left:100%;position:absolute;top:auto}.menu>:where(li:hover)>:where(ul){display:flex}.menu>:where(li:focus)>:where(ul){display:flex}.navbar{align-items:center;display:flex;min-height:4rem;padding:var(--navbar-padding,.5rem);width:100%}:where(.navbar>*){align-items:center;display:inline-flex}.radio{--chkbg:var(--bc);--tw-border-opacity:.2;border-radius:9999px;height:1.5rem;transition:background,box-shadow var(--animation-input,.2s) ease-in-out;width:1.5rem}.radio,.select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:hsl(var(--bc)/var(--tw-border-opacity));border-width:1px;cursor:pointer;flex-shrink:0}.select{--tw-border-opacity:0;--tw-bg-opacity:1;background-color:hsl(var(--b1)/var(--tw-bg-opacity));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-radius:var(--rounded-btn,.5rem);display:inline-flex;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:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;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-disabled,.select[disabled]{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:.2;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));cursor:not-allowed;pointer-events:none}.tabs{align-items:flex-end;display:flex}.tab,.tabs{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);display:inline-flex;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}.tab,.toggle{cursor:pointer}.toggle{--chkbg:hsla(var(--bc)/.2);--handleoffset:1.5rem;--tw-border-opacity:.2;--tw-bg-opacity:.2;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsl(var(--bc)/var(--tw-bg-opacity));border-color:hsl(var(--bc)/var(--tw-border-opacity));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;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}.btn-outline.btn-primary .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--s)/var(--tw-bg-opacity));border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-outline.btn-primary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-secondary .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover .badge{background-color:hsl(var(--pc)/var(--tw-bg-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover .badge,.btn-outline.btn-primary:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--pc)/var(--tw-border-opacity))}.btn-outline.btn-primary:hover .badge.outline{background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover .badge{background-color:hsl(var(--sc)/var(--tw-bg-opacity));color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover .badge,.btn-outline.btn-secondary:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--sc)/var(--tw-border-opacity))}.btn-outline.btn-secondary:hover .badge.outline{background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn:active:focus,.btn:active:hover{-webkit-animation:none;animation:none;transform:scale(var(--btn-focus-scale,.95))}.btn-active,.btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--nf,var(--n))/var(--tw-bg-opacity));border-color:hsl(var(--nf,var(--n))/var(--tw-border-opacity))}.btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.btn-primary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-primary.btn-active,.btn-primary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity))}.btn-primary:focus-visible{outline:2px solid hsl(var(--p))}.btn-secondary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--s)/var(--tw-bg-opacity));border-color:hsl(var(--s)/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-secondary.btn-active,.btn-secondary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));border-color:hsl(var(--sf,var(--s))/var(--tw-border-opacity))}.btn-secondary:focus-visible{outline:2px solid hsl(var(--s))}.btn-success{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:hsl(var(--suc,var(--nc))/var(--tw-text-opacity))}.btn-success,.btn-success.btn-active,.btn-success:hover{background-color:hsl(var(--su)/var(--tw-bg-opacity));border-color:hsl(var(--su)/var(--tw-border-opacity))}.btn-success.btn-active,.btn-success:hover{--tw-border-opacity:1;--tw-bg-opacity:1}.btn-success:focus-visible{outline:2px solid hsl(var(--su))}.btn-error{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:hsl(var(--erc,var(--nc))/var(--tw-text-opacity))}.btn-error,.btn-error.btn-active,.btn-error:hover{background-color:hsl(var(--er)/var(--tw-bg-opacity));border-color:hsl(var(--er)/var(--tw-border-opacity))}.btn-error.btn-active,.btn-error:hover{--tw-border-opacity:1;--tw-bg-opacity:1}.btn-error:focus-visible{outline:2px solid hsl(var(--er))}.btn.glass.btn-active,.btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.btn.glass:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-ghost{background-color:transparent;border-color:transparent;border-width:1px;color:currentColor}.btn-ghost.btn-active,.btn-ghost:hover{--tw-border-opacity:0;--tw-bg-opacity:.2;background-color:hsl(var(--bc)/var(--tw-bg-opacity))}.btn-ghost:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-outline.btn-primary{--tw-text-opacity:1;color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.btn-primary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.btn-secondary{--tw-text-opacity:1;color:hsl(var(--s)/var(--tw-text-opacity))}.btn-outline.btn-secondary:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--sf,var(--s))/var(--tw-bg-opacity));border-color:hsl(var(--sf,var(--s))/var(--tw-border-opacity));color:hsl(var(--sc)/var(--tw-text-opacity))}.btn-outline.btn-success{--tw-text-opacity:1;color:hsl(var(--su)/var(--tw-text-opacity))}.btn-outline.btn-success:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--su)/var(--tw-bg-opacity));border-color:hsl(var(--su)/var(--tw-border-opacity));color:hsl(var(--suc,var(--nc))/var(--tw-text-opacity))}.btn-outline.btn-error{--tw-text-opacity:1;color:hsl(var(--er)/var(--tw-text-opacity))}.btn-outline.btn-error:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--er)/var(--tw-bg-opacity));border-color:hsl(var(--er)/var(--tw-border-opacity));color:hsl(var(--erc,var(--nc))/var(--tw-text-opacity))}.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-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-group>.btn-active:focus-visible,.btn-group>input[type=radio]:checked.btn:focus-visible{outline:2px solid 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{outline:2px solid currentColor;outline-offset:2px}.card.bordered{--tw-border-opacity:1;border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));border-width:1px}.card.compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.checkbox:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.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:hsl(var(--bc)/var(--tw-bg-opacity));background-image:linear-gradient(-45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%);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:hsl(var(--bc)/var(--tw-bg-opacity));background-image:linear-gradient(90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(-90deg,transparent 80%,hsl(var(--chkbg)) 80%),linear-gradient(0deg,hsl(var(--chkbg)) 43%,hsl(var(--chkfg)) 43%,hsl(var(--chkfg)) 57%,hsl(var(--chkbg)) 57%);background-repeat:no-repeat}.checkbox:disabled{--tw-bg-opacity:1;background-color:hsl(var(--bc)/var(--tw-bg-opacity));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}}body[dir=rtl] .checkbox{--chkbg:var(--bc);--chkfg:var(--b1)}body[dir=rtl] .checkbox:checked,body[dir=rtl] .checkbox[checked=true]{background-image:linear-gradient(45deg,transparent 65%,hsl(var(--chkbg)) 65.99%),linear-gradient(-45deg,transparent 75%,hsl(var(--chkbg)) 75.99%),linear-gradient(45deg,hsl(var(--chkbg)) 40%,transparent 40.99%),linear-gradient(-45deg,hsl(var(--chkbg)) 30%,hsl(var(--chkfg)) 30.99%,hsl(var(--chkfg)) 40%,transparent 40.99%),linear-gradient(45deg,hsl(var(--chkfg)) 50%,hsl(var(--chkbg)) 50.99%)}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-primary{outline:2px solid hsl(var(--p))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-secondary{outline:2px solid hsl(var(--s))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-success{outline:2px solid hsl(var(--su))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-error{outline:2px solid hsl(var(--er))}.drawer-toggle:focus-visible~.drawer-content .drawer-button.btn-ghost{outline:2px solid 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;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))}.label a:hover{--tw-text-opacity:1;color:hsl(var(--bc)/var(--tw-text-opacity))}.input:focus{outline:2px solid hsla(var(--bc)/.2);outline-offset:2px}.input-disabled,.input[disabled]{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:.2;background-color:hsl(var(--b2,var(--b1))/var(--tw-bg-opacity));border-color:hsl(var(--b2,var(--b1))/var(--tw-border-opacity));cursor:not-allowed}.input-disabled::-moz-placeholder,.input[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.input-disabled:-ms-input-placeholder,.input[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.input-disabled::placeholder,.input[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.link:focus{outline:2px solid transparent;outline-offset:2px}.link:focus-visible{outline:2px solid currentColor;outline-offset:2px}.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:hsl(var(--p)/var(--tw-border-opacity));border-left-width:0}.menu[class*=p-] li *,.menu[class*=p-] li button{border-radius:var(--rounded-btn,.5rem)}.menu :where(li.bordered>*){--tw-border-opacity:1;border-color:hsl(var(--p)/var(--tw-border-opacity));border-left-width:4px}.menu :where(li)>:where(:not(ul)){color:currentColor;gap:.75rem;padding:.75rem 1rem}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):focus),.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):hover){--tw-bg-opacity:.1;background-color:hsl(var(--bc)/var(--tw-bg-opacity))}.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul).active),.menu :where(li:not(.menu-title):not(:empty))>:where(:not(ul):active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.menu :where(li:empty){--tw-bg-opacity:.1;background-color:hsl(var(--bc)/var(--tw-bg-opacity));height:1px;margin:.5rem 1rem}.menu li.disabled>*{--tw-text-opacity:.2;color:hsl(var(--bc)/var(--tw-text-opacity));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.menu li.disabled>:hover{background-color:transparent}.menu li.hover-bordered a{border-color:transparent;border-left-width:4px}.menu li.hover-bordered a:hover{--tw-border-opacity:1;border-color:hsl(var(--p)/var(--tw-border-opacity))}.menu.compact li>a,.menu.compact li>span{font-size:.875rem;line-height:1.25rem;padding-bottom:.5rem;padding-top:.5rem}.menu .menu-title>*{--tw-text-opacity:.4;color:hsl(var(--bc)/var(--tw-text-opacity));font-size:.75rem;font-weight:700;line-height:1rem;padding-bottom:.25rem;padding-top:.25rem}.menu :where(li:not(.disabled))>:where(:not(ul)){outline:2px solid transparent;outline-offset:2px;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu>:where(li:first-child){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li:first-child)>:where(:not(ul)){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li:last-child){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li:last-child)>:where(:not(ul)){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li)>:where(ul) :where(li){white-space:nowrap;width:100%}.menu>:where(li)>:where(ul) :where(li) :where(ul){padding-left:1rem}.menu>:where(li)>:where(ul) :where(li) :where(:not(ul)){white-space:nowrap;width:100%}.menu>:where(li)>:where(ul)>:where(li:first-child){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:first-child)>:where(:not(ul)){border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:inherit;border-top-right-radius:inherit}.menu>:where(li)>:where(ul)>:where(li:last-child){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.menu>:where(li)>:where(ul)>:where(li:last-child)>:where(:not(ul)){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top-left-radius:unset;border-top-right-radius:unset}.mockup-phone .display{border-radius:40px;margin-top:-25px;overflow:hidden}.radio:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.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:hsl(var(--bc)/var(--tw-bg-opacity));box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}.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}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@keyframes radiomark{0%{box-shadow:0 0 0 12px hsl(var(--b1)) inset,0 0 0 12px hsl(var(--b1)) inset}50%{box-shadow:0 0 0 3px hsl(var(--b1)) inset,0 0 0 3px hsl(var(--b1)) inset}to{box-shadow:0 0 0 4px hsl(var(--b1)) inset,0 0 0 4px hsl(var(--b1)) inset}}@-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:focus{outline:2px solid hsla(var(--bc)/.2);outline-offset:2px}.select-disabled::-moz-placeholder,.select[disabled]::-moz-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.select-disabled:-ms-input-placeholder,.select[disabled]:-ms-input-placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.select-disabled::placeholder,.select[disabled]::placeholder{--tw-placeholder-opacity:.2;color:hsl(var(--bc)/var(--tw-placeholder-opacity))}.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;--tw-text-opacity:1;border-color:hsl(var(--bc)/var(--tw-border-opacity))}.tab:focus{outline:2px solid transparent;outline-offset:2px}.tab:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.tab:focus-visible.tab-lifted{border-bottom-left-radius:var(--tab-radius,.5rem);border-bottom-right-radius:var(--tab-radius,.5rem)}.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:hsl(var(--p)/var(--tw-bg-opacity));border-radius:var(--rounded-btn,.5rem)}.tabs-boxed .tab-active,.tabs-boxed .tab-active:hover{--tw-text-opacity:1;color:hsl(var(--pc)/var(--tw-text-opacity))}.toggle:focus-visible{outline:2px solid hsl(var(--bc));outline-offset:2px}.toggle:checked,.toggle[checked=true]{--chkbg:hsl(var(--bc));--tw-border-opacity:1;--tw-bg-opacity:1;box-shadow:var(--handleoffset) 0 0 2px hsl(var(--b1)) inset,0 0 0 2px hsl(var(--b1)) inset}[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}.toggle:indeterminate{--chkbg:hsl(var(--bc));--tw-border-opacity:1;--tw-bg-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}[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}.toggle-primary:focus-visible{outline:2px solid hsl(var(--p))}.toggle-primary:checked,.toggle-primary[checked=true]{--chkbg:hsl(var(--p));--tw-border-opacity:.1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.toggle:disabled{--tw-bg-opacity:.2;background-color:hsl(var(--bc)/var(--tw-bg-opacity));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}.card-compact .card-body{font-size:.875rem;line-height:1.25rem;padding:1rem}.card-normal .card-body{font-size:1rem;line-height:1.5rem;padding:var(--padding-card,2rem)}.menu-vertical :where(li.bordered>*){border-bottom-width:0;border-left-width:4px}.menu-horizontal :where(li.bordered>*){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}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.-mt-2{margin-top:-.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.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:hsl(var(--p)/var(--tw-bg-opacity))}.bg-base-200{--tw-bg-opacity:1;background-color:hsl(var(--b2,var(--b1))/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:hsl(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:hsl(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{--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,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.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-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 hsl(var(--p)/var(--tw-border-opacity));border-radius:.25rem;flex:1 1 0%}.action-btn{align-items:center;-webkit-animation:button-pop var(--animation-btn,.25s) ease-out;animation:button-pop var(--animation-btn,.25s) ease-out;border-color:transparent;border-color:hsl(var(--n)/var(--tw-border-opacity));border-radius:var(--rounded-btn,.5rem);border-width:var(--border-btn,1px);color:hsl(var(--nc)/var(--tw-text-opacity));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:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;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,.action-btn-disabled,.action-btn[disabled]{background-color:hsl(var(--n)/var(--tw-bg-opacity))}.action-btn-disabled,.action-btn[disabled]{--tw-border-opacity:0;--tw-bg-opacity:.2;--tw-text-opacity:.2;color:hsl(var(--bc)/var(--tw-text-opacity));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)}.btn-outline.action-btn .badge{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.btn-outline.action-btn .badge-outline{--tw-border-opacity:1;--tw-text-opacity:1;background-color:transparent;border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover .badge{background-color:hsl(var(--pc)/var(--tw-bg-opacity));color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover .badge,.btn-outline.action-btn:hover .badge.outline{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;border-color:hsl(var(--pc)/var(--tw-border-opacity))}.btn-outline.action-btn:hover .badge.outline{background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.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-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--nf,var(--n))/var(--tw-bg-opacity));border-color:hsl(var(--nf,var(--n))/var(--tw-border-opacity))}.action-btn:focus-visible{outline:2px solid hsl(var(--nf));outline-offset:2px}.action-btn{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn.btn-active,.action-btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity))}.action-btn:focus-visible{outline:2px solid hsl(var(--p))}.action-btn.glass.btn-active,.action-btn.glass:hover{--glass-opacity:25%;--glass-border-opacity:15%}.action-btn.glass:focus-visible{outline:2px 0 0 2px solid currentColor}.btn-outline.action-btn{--tw-text-opacity:1;color:hsl(var(--p)/var(--tw-text-opacity))}.btn-outline.action-btn:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--pf,var(--p))/var(--tw-bg-opacity));border-color:hsl(var(--pf,var(--p))/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.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-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:hsl(var(--p)/var(--tw-bg-opacity));border-color:hsl(var(--p)/var(--tw-border-opacity));color:hsl(var(--pc)/var(--tw-text-opacity))}.action-btn-group>.btn-active:focus-visible,.action-btn-group>input[type=radio]:checked.btn:focus-visible{outline:2px solid 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{outline:2px solid 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 index a4720ad6..93071a9b 100644 --- a/_app/chunks/analytics.browser.es-6fbc7285.js +++ b/_app/chunks/analytics.browser.es-6fbc7285.js @@ -1,2 +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}; +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 be="global",de=re+"global"+re,pe=typeof self===Qe&&self.self===self&&self||typeof global===Qe&&global.global===global&&global||void 0;function ie(e){return pe[de][e]}function ae(e,t){return pe[de][e]=t}function me(e){delete pe[de][e]}function ve(e,t,n){var r;try{if(Je(e)){var o=window[e];r=o[t].bind(o)}}catch{}return r||n}pe[de]||(pe[de]={});var Oe={};function Je(e){if(typeof Oe[e]!==Ee)return Oe[e];try{var t=window[e];t.setItem(Ee,Ee),t.removeItem(Ee)}catch{return Oe[e]=!1}return Oe[e]=!0}function g(){return g=Object.assign||function(e){for(var t=1;t1;return te===!1&&(c?ae(e,t):ie(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 we="localStorage",hn=Je.bind(null,"localStorage");ve("localStorage","getItem",ie);ve("localStorage","setItem",ae);ve("localStorage","removeItem",me);var Se="sessionStorage",yn=Je.bind(null,"sessionStorage");ve("sessionStorage","getItem",ie);ve("sessionStorage","setItem",ae);ve("sessionStorage","removeItem",me);function fe(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=zt();function Dt(e,t){if(e){var n=Be(t),r=!Ge(n),o=Fe(n)?fe(localStorage.getItem(e)):void 0;if(r&&!ce(o))return o;var u=Xe(n)?fe($t(e)):void 0;if(r&&u)return u;var c=We(n)?fe(sessionStorage.getItem(e)):void 0;if(r&&c)return c;var f=ie(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[we]=_e(we,t,fe(localStorage.getItem(e))),localStorage.setItem(e,u),c)?r[we]:Xe(o)&&(r[Ie]=_e(Ie,t,fe($t(e))),vn(e,u),c)?r[Ie]:We(o)&&(r[Se]=_e(Se,t,fe(sessionStorage.getItem(e))),sessionStorage.setItem(e,u),c)?r[Se]:(r[be]=_e(be,t,ie(e)),ae(e,t),c?r[be]:r)}}function Pn(e,t){if(e){var n=Be(t),r=Dt(e,wt),o={};return!ce(r.localStorage)&&Fe(n)&&(localStorage.removeItem(e),o[we]=r.localStorage),!ce(r.cookie)&&Xe(n)&&(Mt(e),o[Ie]=r.cookie),!ce(r.sessionStorage)&&We(n)&&(sessionStorage.removeItem(e),o[Se]=r.sessionStorage),!ce(r.global)&&Me(n,be)&&(me(e),o[be]=r.global),o}}function Be(e){return e?ye(e)?e:e.storage:It}function Fe(e){return bn&&Me(e,we)}function Xe(e){return wn&&Me(e,Ie)}function We(e){return In&&Me(e,Se)}function Ge(e){return e===wt||e==="all"}function Me(e,t){return e===It||e===t||Ge(e)}function _e(e,t,n){return{location:e,current:t,previous:n}}var En={setItem:Sn,getItem:Dt,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 yt(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 bt(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{},t={storage:On};return mn(bt(bt({},t),e))}export{Nn as Analytics,jn as CONSTANTS,p as EVENTS,Nn as default,Nn as init}; diff --git a/_app/chunks/paths-396f020f.js b/_app/chunks/paths-396f020f.js new file mode 100644 index 00000000..1a95a231 --- /dev/null +++ b/_app/chunks/paths-396f020f.js @@ -0,0 +1 @@ +let a="",e="";function t(s){a=s.base,e=s.assets||a}export{e as a,a as b,t as s}; diff --git a/_app/chunks/singletons-d1fb5791.js b/_app/chunks/singletons-d1fb5791.js new file mode 100644 index 00000000..c2ce2c6a --- /dev/null +++ b/_app/chunks/singletons-d1fb5791.js @@ -0,0 +1 @@ +let t;function n(i){t=i.client}export{t as c,n as i}; diff --git a/_app/chunks/state-b8864def.js b/_app/chunks/state-b8864def.js new file mode 100644 index 00000000..9008ee38 --- /dev/null +++ b/_app/chunks/state-b8864def.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 h,L as C,M as T,N as O,O as D,P as N,Q as w,R as A,T as E,U as z,V as d}from"./vendor-5dd41a27.js";import{_ as f}from"./preload-helper-1db36302.js";const J={loading:!1},p=h(J),H=async(e,t)=>{p.set({loading:!0,message:e});const s=await t;return p.set({loading:!1}),s};let l;const M=async()=>{if(!l)try{const{Analytics:e}=await f(()=>import("./analytics.browser.es-6fbc7285.js"),[]),t=await f(()=>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 g;const P=e=>{l&&(clearTimeout(g),g=setTimeout(function(){const t=R(e);console.debug("ga:","send","event","render",t),l.track("render",{graphType:t})},5e3))},U={serialize:e=>N(e,!0),deserialize:e=>w(e)},I={serialize:e=>{const t=new TextEncoder().encode(e),s=T(t,{level:9});return C(s,!0)},deserialize:e=>{const t=O(e);return D(t,{to:"string"})}},c={base64:U,pako:I},B=e=>{const t=JSON.stringify(e),s="pako",n=c[s].serialize(t);return`${s}:${n}`},G=e=>{let t,s;if(e.includes(":")){let r;if([r,s]=e.split(":"),r in c)t=r;else throw new Error(`Unknown serde type: ${r}`)}else t="base64",s=e;const n=c[t].deserialize(s);return JSON.parse(n)},$={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},j=`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(h($),E(),"codeStore"),x=z([i],([e],t)=>{t(B(e))}),Q=e=>{let t;console.log("Loading",e);try{t=G(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=d(i),e&&(console.error("Init error",s),t.code=j)}S(o(a({},t),{updateEditor:!0}))},S=e=>{i.update(t=>a(a({},t),e))};let y=!1;const W=(e,t,s=!1)=>{if(P(e),(e.match(/\n/g)||"").length+1>50&&!y&&d(i).autoSync){const r=confirm("Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.");y=!0,r&&S({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(d(i));export{l as a,q as b,i as c,$ as d,S as e,X as f,Z as g,M as h,H as i,Q as j,p as l,I as p,x as s,K as t,W as u}; diff --git a/_app/chunks/theme-45e33caa.js b/_app/chunks/theme-45e33caa.js new file mode 100644 index 00000000..907cd37f --- /dev/null +++ b/_app/chunks/theme-45e33caa.js @@ -0,0 +1 @@ +import{R as t,T as e,D as o}from"./vendor-5dd41a27.js";const r=t(o({isDark:!1}),e(),"themeStore"),l=["dark","synthwave","halloween","aqua","forest","luxury","black","dracula"],c=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{c as s,r as t}; diff --git a/_app/chunks/util-ab218996.js b/_app/chunks/util-ab218996.js new file mode 100644 index 00000000..c0393c31 --- /dev/null +++ b/_app/chunks/util-ab218996.js @@ -0,0 +1 @@ +var K=Object.defineProperty,W=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var O=(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)&&O(t,a,e[a]);if(L)for(var a of L(e))Z.call(e,a)&&O(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 T,c as U,a as G,d as S,b as p,a4 as g,g as $,G as tt,W as j,K as et,v as at,ah as ot,ai as F,Z as R,R as I,T as E,U as st,aj as rt,V as b}from"./vendor-5dd41a27.js";import{c as v,d as D,e as C,i as it,f as nt,h as ct,a as lt,j as ut}from"./state-b8864def.js";const dt=f(void 0);function ft(t){let e,a;return{c(){e=T("div"),a=T("div"),this.h()},l(s){e=U(s,"DIV",{id:!0,class:!0});var o=G(e);a=U(o,"DIV",{id:!0,class:!0}),G(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:j,o:j,d(s){s&&S(e),t[4](null),t[5](null)}}}function pt(t,e,a){let s;et(t,v,i=>a(9,s=i));let o="",u="",r,c,n=!1,l=!1,d=!0;at(()=>{v.subscribe(i=>{try{if(r&&i&&(i.updateDiagram||i.autoSync)){if(i.autoSync||ot(v,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,H=I(f("manual"),E(),"autoHistoryMode"),m=I(f([]),E(),"autoHistoryStore"),h=I(f([]),E(),"manualHistoryStore"),M=f([]),Et=st([H,m,h,M],([t,e,a,s],o)=>{o(t==="auto"?e:t==="manual"?a:t==="loader"?s:e)}),mt=t=>{if(t.type==="loader"){M.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]))},Lt=t=>{(b(H)==="auto"?m:h).update(e=>(b(H)!=="loader"&&(e=e.filter(a=>t&&a.time!=t)),e))},Ot=t=>{const e=b(t?m:h);return e.length>0?JSON.stringify(e[0].state):""},P="code.mmd",V="config.json",ht=t=>P in t,N=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 N(r[P]);let l;V in r&&(l=await N(r[V]));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"},k=(t,e=t.url)=>{const a=w(_({},D),{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=k(r.slice(-1).pop(),t);for(const n of r)mt({state:k(n),time:n.time,type:"loader",url:n.url,name:`${n.author} v${n.version}`});return c}catch(e){console.error(e)}},A={gist:_t},wt=async()=>{const t=new URLSearchParams(window.location.search);let e=D,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=D.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 A)try{e=await A[c](n),o=!0;break}catch(l){console.error(l)}o&&C(w(_({},e),{autoSync:!0,updateDiagram:!0,updateEditor:!0}))},St=()=>{ut(window.location.hash.slice(1))},vt=()=>{C({updateDiagram:!0})},Tt=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,Et as a,mt as b,Lt as c,dt as e,Ot as g,H as h,Tt as i,M as l,vt as s}; diff --git a/_app/chunks/vendor-5dd41a27.js b/_app/chunks/vendor-5dd41a27.js new file mode 100644 index 00000000..92da24fa --- /dev/null +++ b/_app/chunks/vendor-5dd41a27.js @@ -0,0 +1,1209 @@ +function noop(){}const identity=s=>s;function assign$1(s,h){for(const c in h)s[c]=h[c];return s}function run(s){return s()}function blank_object(){return Object.create(null)}function run_all(s){s.forEach(run)}function is_function(s){return typeof s=="function"}function safe_not_equal(s,h){return s!=s?h==h:s!==h||s&&typeof s=="object"||typeof s=="function"}function is_empty(s){return Object.keys(s).length===0}function subscribe(s,...h){if(s==null)return noop;const c=s.subscribe(...h);return c.unsubscribe?()=>c.unsubscribe():c}function get_store_value(s){let h;return subscribe(s,c=>h=c)(),h}function component_subscribe(s,h,c){s.$$.on_destroy.push(subscribe(h,c))}function create_slot(s,h,c,d){if(s){const f=get_slot_context(s,h,c,d);return s[0](f)}}function get_slot_context(s,h,c,d){return s[1]&&d?assign$1(c.ctx.slice(),s[1](d(h))):c.ctx}function get_slot_changes(s,h,c,d){if(s[2]&&d){const f=s[2](d(c));if(h.dirty===void 0)return f;if(typeof f=="object"){const v=[],_=Math.max(h.dirty.length,f.length);for(let T=0;T<_;T+=1)v[T]=h.dirty[T]|f[T];return v}return h.dirty|f}return h.dirty}function update_slot_base(s,h,c,d,f,v){if(f){const _=get_slot_context(h,c,d,v);s.p(_,f)}}function get_all_dirty_from_scope(s){if(s.ctx.length>32){const h=[],c=s.ctx.length/32;for(let d=0;dwindow.performance.now():()=>Date.now(),raf=is_client?s=>requestAnimationFrame(s):noop;const tasks=new Set;function run_tasks(s){tasks.forEach(h=>{h.c(s)||(tasks.delete(h),h.f())}),tasks.size!==0&&raf(run_tasks)}function loop(s){let h;return tasks.size===0&&raf(run_tasks),{promise:new Promise(c=>{tasks.add(h={c:s,f:c})}),abort(){tasks.delete(h)}}}let is_hydrating=!1;function start_hydrating(){is_hydrating=!0}function end_hydrating(){is_hydrating=!1}function upper_bound(s,h,c,d){for(;s>1);c(f)<=d?s=f+1:h=f}return s}function init_hydrate(s){if(s.hydrate_init)return;s.hydrate_init=!0;let h=s.childNodes;if(s.nodeName==="HEAD"){const C=[];for(let A=0;A0&&h[c[f]].claim_order<=A?f+1:upper_bound(1,f,Y=>h[c[Y]].claim_order,A))-1;d[C]=c[L]+1;const B=L+1;c[B]=C,f=Math.max(B,f)}const v=[],_=[];let T=h.length-1;for(let C=c[f]+1;C!=0;C=d[C-1]){for(v.push(h[C-1]);T>=C;T--)_.push(h[T]);T--}for(;T>=0;T--)_.push(h[T]);v.reverse(),_.sort((C,A)=>C.claim_order-A.claim_order);for(let C=0,A=0;C<_.length;C++){for(;A=v[A].claim_order;)A++;const L=As.removeEventListener(h,c,d)}function stop_propagation(s){return function(h){return h.stopPropagation(),s.call(this,h)}}function attr(s,h,c){c==null?s.removeAttribute(h):s.getAttribute(h)!==c&&s.setAttribute(h,c)}function to_number(s){return s===""?null:+s}function children(s){return Array.from(s.childNodes)}function init_claim_info(s){s.claim_info===void 0&&(s.claim_info={last_index:0,total_claimed:0})}function claim_node(s,h,c,d,f=!1){init_claim_info(s);const v=(()=>{for(let _=s.claim_info.last_index;_=0;_--){const T=s[_];if(h(T)){const C=c(T);return C===void 0?s.splice(_,1):s[_]=C,f?C===void 0&&s.claim_info.last_index--:s.claim_info.last_index=_,T}}return d()})();return v.claim_order=s.claim_info.total_claimed,s.claim_info.total_claimed+=1,v}function claim_element_base(s,h,c,d){return claim_node(s,f=>f.nodeName===h,f=>{const v=[];for(let _=0;_f.removeAttribute(_))},()=>d(h))}function claim_element(s,h,c){return claim_element_base(s,h,c,element)}function claim_svg_element(s,h,c){return claim_element_base(s,h,c,svg_element)}function claim_text(s,h){return claim_node(s,c=>c.nodeType===3,c=>{const d=""+h;if(c.data.startsWith(d)){if(c.data.length!==d.length)return c.splitText(d.length)}else c.data=d},()=>text(h),!0)}function claim_space(s){return claim_text(s," ")}function set_data(s,h){h=""+h,s.wholeText!==h&&(s.data=h)}function set_input_value(s,h){s.value=h==null?"":h}function set_style(s,h,c,d){c===null?s.style.removeProperty(h):s.style.setProperty(h,c,d?"important":"")}function toggle_class(s,h,c){s.classList[c?"add":"remove"](h)}function custom_event(s,h,c=!1){const d=document.createEvent("CustomEvent");return d.initCustomEvent(s,c,!1,h),d}const managed_styles=new Map;let active=0;function hash(s){let h=5381,c=s.length;for(;c--;)h=(h<<5)-h^s.charCodeAt(c);return h>>>0}function create_style_information(s,h){const c={stylesheet:append_empty_stylesheet(h),rules:{}};return managed_styles.set(s,c),c}function create_rule(s,h,c,d,f,v,_,T=0){const C=16.666/d;let A=`{ +`;for(let X=0;X<=1;X+=C){const Q=h+(c-h)*v(X);A+=X*100+`%{${_(Q,1-Q)}} +`}const L=A+`100% {${_(c,1-c)}} +}`,B=`__svelte_${hash(L)}_${T}`,Y=get_root_for_style(s),{stylesheet:z,rules:q}=managed_styles.get(Y)||create_style_information(Y,s);q[B]||(q[B]=!0,z.insertRule(`@keyframes ${B} ${L}`,z.cssRules.length));const V=s.style.animation||"";return s.style.animation=`${V?`${V}, `:""}${B} ${d}ms linear ${f}ms 1 both`,active+=1,B}function delete_rule(s,h){const c=(s.style.animation||"").split(", "),d=c.filter(h?v=>v.indexOf(h)<0:v=>v.indexOf("__svelte")===-1),f=c.length-d.length;f&&(s.style.animation=d.join(", "),active-=f,active||clear_rules())}function clear_rules(){raf(()=>{active||(managed_styles.forEach(s=>{const{stylesheet:h}=s;let c=h.cssRules.length;for(;c--;)h.deleteRule(c);s.rules={}}),managed_styles.clear())})}let current_component;function set_current_component(s){current_component=s}function get_current_component(){if(!current_component)throw new Error("Function called outside component initialization");return current_component}function onMount(s){get_current_component().$$.on_mount.push(s)}function afterUpdate(s){get_current_component().$$.after_update.push(s)}function createEventDispatcher(){const s=get_current_component();return(h,c)=>{const d=s.$$.callbacks[h];if(d){const f=custom_event(h,c);d.slice().forEach(v=>{v.call(s,f)})}}}function setContext(s,h){get_current_component().$$.context.set(s,h)}function bubble$1(s,h){const c=s.$$.callbacks[h.type];c&&c.slice().forEach(d=>d.call(this,h))}const dirty_components=[],binding_callbacks=[],render_callbacks=[],flush_callbacks=[],resolved_promise=Promise.resolve();let update_scheduled=!1;function schedule_update(){update_scheduled||(update_scheduled=!0,resolved_promise.then(flush))}function tick(){return schedule_update(),resolved_promise}function add_render_callback(s){render_callbacks.push(s)}function add_flush_callback(s){flush_callbacks.push(s)}const seen_callbacks=new Set;let flushidx=0;function flush(){const s=current_component;do{for(;flushidx{promise=null})),promise}function dispatch(s,h,c){s.dispatchEvent(custom_event(`${h?"intro":"outro"}${c}`))}const outroing=new Set;let outros;function group_outros(){outros={r:0,c:[],p:outros}}function check_outros(){outros.r||run_all(outros.c),outros=outros.p}function transition_in(s,h){s&&s.i&&(outroing.delete(s),s.i(h))}function transition_out(s,h,c,d){if(s&&s.o){if(outroing.has(s))return;outroing.add(s),outros.c.push(()=>{outroing.delete(s),d&&(c&&s.d(1),d())}),s.o(h)}}const null_transition={duration:0};function create_bidirectional_transition(s,h,c,d){let f=h(s,c),v=d?0:1,_=null,T=null,C=null;function A(){C&&delete_rule(s,C)}function L(Y,z){const q=Y.b-v;return z*=Math.abs(q),{a:v,b:Y.b,d:q,duration:z,start:Y.start,end:Y.start+z,group:Y.group}}function B(Y){const{delay:z=0,duration:q=300,easing:V=identity,tick:X=noop,css:Q}=f||null_transition,ot={start:now$1()+z,b:Y};Y||(ot.group=outros,outros.r+=1),_||T?T=ot:(Q&&(A(),C=create_rule(s,v,Y,q,z,V,Q)),Y&&X(0,1),_=L(ot,q),add_render_callback(()=>dispatch(s,Y,"start")),loop(nt=>{if(T&&nt>T.start&&(_=L(T,q),T=null,dispatch(s,_.b,"start"),Q&&(A(),C=create_rule(s,v,_.b,_.duration,0,V,f.css))),_){if(nt>=_.end)X(v=_.b,1-v),dispatch(s,_.b,"end"),T||(_.b?A():--_.group.r||run_all(_.group.c)),_=null;else if(nt>=_.start){const st=nt-_.start;v=_.a+_.d*V(st/_.duration),X(v,1-v)}}return!!(_||T)}))}return{run(Y){is_function(f)?wait().then(()=>{f=f(),B(Y)}):B(Y)},end(){A(),_=T=null}}}function get_spread_update(s,h){const c={},d={},f={$$scope:1};let v=s.length;for(;v--;){const _=s[v],T=h[v];if(T){for(const C in _)C in T||(d[C]=1);for(const C in T)f[C]||(c[C]=T[C],f[C]=1);s[v]=T}else for(const C in _)f[C]=1}for(const _ in d)_ in c||(c[_]=void 0);return c}function get_spread_object(s){return typeof s=="object"&&s!==null?s:{}}function bind(s,h,c){const d=s.$$.props[h];d!==void 0&&(s.$$.bound[d]=c,c(s.$$.ctx[d]))}function create_component(s){s&&s.c()}function claim_component(s,h){s&&s.l(h)}function mount_component(s,h,c,d){const{fragment:f,on_mount:v,on_destroy:_,after_update:T}=s.$$;f&&f.m(h,c),d||add_render_callback(()=>{const C=v.map(run).filter(is_function);_?_.push(...C):run_all(C),s.$$.on_mount=[]}),T.forEach(add_render_callback)}function destroy_component(s,h){const c=s.$$;c.fragment!==null&&(run_all(c.on_destroy),c.fragment&&c.fragment.d(h),c.on_destroy=c.fragment=null,c.ctx=[])}function make_dirty(s,h){s.$$.dirty[0]===-1&&(dirty_components.push(s),schedule_update(),s.$$.dirty.fill(0)),s.$$.dirty[h/31|0]|=1<{const q=z.length?z[0]:Y;return A.ctx&&f(A.ctx[B],A.ctx[B]=q)&&(!A.skip_bound&&A.bound[B]&&A.bound[B](q),L&&make_dirty(s,B)),Y}):[],A.update(),L=!0,run_all(A.before_update),A.fragment=d?d(A.ctx):!1,h.target){if(h.hydrate){start_hydrating();const B=children(h.target);A.fragment&&A.fragment.l(B),B.forEach(detach)}else A.fragment&&A.fragment.c();h.intro&&transition_in(s.$$.fragment),mount_component(s,h.target,h.anchor,h.customElement),end_hydrating(),flush()}set_current_component(C)}class SvelteComponent{$destroy(){destroy_component(this,1),this.$destroy=noop}$on(h,c){const d=this.$$.callbacks[h]||(this.$$.callbacks[h]=[]);return d.push(c),()=>{const f=d.indexOf(c);f!==-1&&d.splice(f,1)}}$set(h){this.$$set&&!is_empty(h)&&(this.$$.skip_bound=!0,this.$$set(h),this.$$.skip_bound=!1)}}const subscriber_queue=[];function readable(s,h){return{subscribe:writable(s,h).subscribe}}function writable(s,h=noop){let c;const d=new Set;function f(T){if(safe_not_equal(s,T)&&(s=T,c)){const C=!subscriber_queue.length;for(const A of d)A[1](),subscriber_queue.push(A,s);if(C){for(let A=0;A{d.delete(A),d.size===0&&(c(),c=null)}}return{set:f,update:v,subscribe:_}}function derived(s,h,c){const d=!Array.isArray(s),f=d?[s]:s,v=h.length<2;return readable(c,_=>{let T=!1;const C=[];let A=0,L=noop;const B=()=>{if(A)return;L();const z=h(d?C[0]:C,_);v?_(z):L=is_function(z)?z:noop},Y=f.map((z,q)=>subscribe(z,V=>{C[q]=V,A&=~(1<{A|=1<=0?";expires="+Y.toUTCString():"")+(T?";domain="+T:"")+(C?";path="+C:"")+(A?";secure":"")+(L?";httponly":"")+(B?";samesite="+B:"")},s.get=function(h){for(var c=document.cookie.split(";");c.length;){var d=c.pop(),f=d.indexOf("=");f=f<0?d.length:f;var v=decodeURIComponent(d.slice(0,f).replace(/^\s+/,""));if(v===h)return decodeURIComponent(d.slice(f+1))}return null},s.erase=function(h,c){s.set(h,"",{expires:-1,domain:c&&c.domain,path:c&&c.path,secure:0,httponly:0})},s.all=function(){for(var h={},c=document.cookie.split(";");c.length;){var d=c.pop(),f=d.indexOf("=");f=f<0?d.length:f;var v=decodeURIComponent(d.slice(0,f).replace(/^\s+/,""));h[v]=decodeURIComponent(d.slice(f+1))}return h}})(browserCookies);var bundle={};(function(exports){(function(s,h){for(var c in h)s[c]=h[c];h.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})(exports,(()=>{var __webpack_modules__={607:(module,exports,__webpack_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0});var serializer_1=__webpack_require__(810),deserializer_1=__webpack_require__(496),Module;typeof process!="undefined"&&process.release.name==="node"&&(Module=eval("require")("module"));var ESSerializer=function(){function s(){}return s.throwErrorIfInNonNodeEnvironment=function(){if(!Module)throw new Error("Cannot intercept require in non-Node environment.")},s.interceptRequire=function(){this.isRequireIntercepted||(this.isRequireIntercepted=!0,this.throwErrorIfInNonNodeEnvironment(),s.originRequire=Module.prototype.require,Module.prototype.require=function(){var h=s.originRequire.apply(this,arguments),c=h.name;return s.requiredClasses[c]||(s.requiredClasses[c]=h),h})},s.stopInterceptRequire=function(){this.throwErrorIfInNonNodeEnvironment(),Module.prototype.require=s.originRequire,this.isRequireIntercepted=!1},s.isInterceptingRequire=function(){return this.isRequireIntercepted},s.getRequiredClasses=function(){return this.requiredClasses},s.clearRequiredClasses=function(){this.requiredClasses={}},s.registerClass=function(h){this.registeredClasses.push(h)},s.registerClasses=function(h){this.registeredClasses=this.registeredClasses.concat(h)},s.clearRegisteredClasses=function(){this.registeredClasses=[]},s.serialize=function(h,c){return c===void 0&&(c={}),JSON.stringify(serializer_1.getSerializeValueWithClassName(h,c))},s.deserialize=function(h,c,d){return c===void 0&&(c=[]),d===void 0&&(d={}),deserializer_1.deserializeFromParsedObj(JSON.parse(h),Object.values(this.requiredClasses).concat(this.registeredClasses).concat(c),d)},s.originRequire=null,s.isRequireIntercepted=!1,s.requiredClasses={},s.registeredClasses=[],s}();module.exports=ESSerializer},917:function(s,h){var c=this&&this.__spreadArrays||function(){for(var _e=0,ge=0,Ft=arguments.length;ge0&&(J=J.concat(Array.from(Array(xt),function(){return{}}))),_.test(rt.toString()))try{pt=new(rt.bind.apply(rt,d([void 0],J)))}catch{q(rt.name),pt={},Object.setPrototypeOf(pt,rt?rt.prototype:Object.prototype)}else{pt=Object.create(rt.prototype.constructor.prototype);try{rt.prototype.constructor.call(pt,J)}catch{q(rt.name)}}return pt}(ot[st],At),Q,ot,nt)}function C(Q,ot){return Q.map(function(nt){return T(nt,ot)})}function A(Q,ot){return new ot(Q)}function L(Q,ot){return new ot(Q.map(function(nt){return B(nt[v.TO_STRING_FIELD])}))}function B(Q){return BigInt(Q)}function Y(Q,ot){var nt=Q[v.OPTIONS_FIELD],st=nt.locale;return delete nt.locale,new ot(st,nt)}function z(Q,ot){var nt;return delete(nt=Q.message?new ot(Q.message):new ot).stack,Q.name&&(nt.name=Q.name),Q.stack&&(nt.stack=Q.stack),ot===AggregateError&&(nt.errors=T(Q.errors,{})),nt}function q(Q){console.warn("Incorrect parameter type passed to constructor: "+Q)}function V(Q,ot,nt){for(var st in ot){var ut=Object.getOwnPropertyDescriptor(Q,st);ut&&ut.writable!==!0&&typeof ut.set!="function"||(Q[st]=T(ot[st],nt))}}function X(Q){Q===void 0&&(Q=[]);var ot={};return Q.forEach(function(nt){if(f.isClass(nt)){var st=nt.name,ut=ot[st];ut&&ut!==nt&&console.warn("WARNING: Found class definition with the same name: "+st),ot[st]=nt}}),ot}h.deserializeFromParsedObj=function(Q,ot,nt){return T(Q,X(ot),nt)},h.deserializeFromParsedObjWithClassMapping=T,h.getClassMappingFromClassArray=X,h.getParentClassName=function(Q){return Q.prototype.__proto__.constructor.name}},821:(s,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.isClass=h.notObject=h.getValueFromToStringResult=void 0,h.notObject=function(c){return c===null||typeof c!="object"},h.getValueFromToStringResult=function(c){switch(c){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN;default:return null}},h.isClass=function(c){if(function(d){return[Date].indexOf(d)>=0}(c))return!0;try{Reflect.construct(String,[],c)}catch{return!1}return!0}},810:(s,h,c)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.getSerializeValueWithClassName=void 0;var d=c(917),f=c(821);function v(T,C){C===void 0&&(C={});var A=function(z){var q,V,X;return z===void 0?((q={})[d.CLASS_NAME_FIELD]=d.BUILTIN_TYPE_UNDEFINED,q):typeof z!="number"||isFinite(z)?typeof z=="bigint"?((X={})[d.CLASS_NAME_FIELD]=d.BUILTIN_TYPE_BIG_INT,X[d.TO_STRING_FIELD]=z.toString(),X):f.notObject(z)?z:d.ESSERIALIZER_NULL:((V={})[d.CLASS_NAME_FIELD]=d.BUILTIN_TYPE_NOT_FINITE,V[d.TO_STRING_FIELD]=z.toString(),V)}(T);if(A!==d.ESSERIALIZER_NULL)return A;if(Array.isArray(T))return _(T);var L={};if(!function(z){var q=z.__proto__.constructor.name;return d.CLASSNAMES_WHOSE_ENUMERABLE_PROPERTIES_SHOULD_BE_IGNORED.includes(q)}(T)){if(C.ignoreProperties&&C.ignoreProperties.forEach(function(z){delete T[z]}),C.interceptProperties)for(var B in C.interceptProperties)T[B]=C.interceptProperties[B].call(T,T[B]);for(var Y in T)L[Y]=v(T[Y])}return function(z,q){var V=z.__proto__.constructor.name;return V!=="Object"&&(q[d.CLASS_NAME_FIELD]=V,V===d.BUILTIN_CLASS_ARRAYBUFFER||V===d.BUILTIN_CLASS_SHAREDARRAYBUFFER?q[d.ARRAY_FIELD]=_(Array.from(new Uint8Array(z))):V===d.BUILTIN_CLASS_BOOLEAN?q[d.BOOLEAN_FIELD]=z.valueOf():V===d.BUILTIN_CLASS_DATAVIEW?q[d.ARRAY_FIELD]=_(Array.from(new Uint8Array(z.buffer))):V===d.BUILTIN_CLASS_DATE?q[d.TIMESTAMP_FIELD]=z.getTime():V===d.BUILTIN_CLASS_INTL_LOCALE||V===d.BUILTIN_CLASS_REGEXP?q[d.TO_STRING_FIELD]=z.toString():V===d.BUILTIN_CLASS_SET?q[d.ARRAY_FIELD]=_(Array.from(z)):V===d.BUILTIN_CLASS_STRING?q[d.TO_STRING_FIELD]=z.toString():d.ALL_BUILTIN_ARRAYS.includes(V)?q[d.ARRAY_FIELD]=_(Array.from(z)):d.ALL_BUILTIN_ERRORS.includes(V)?function(X,Q,ot){X.name!=="Error"&&(Q.name=X.name),X.message&&(Q.message=X.message),X.stack&&(Q.stack=X.stack),ot===d.BUILTIN_CLASS_AGGREGATE_ERROR&&(Q.errors=v(X.errors))}(z,q,V):d.ALL_BUILTIN_INTLS.includes(V)&&(q[d.OPTIONS_FIELD]=z.resolvedOptions())),q}(T,L)}function _(T){return T.map(function(C){return v(C)})}h.getSerializeValueWithClassName=v}},__webpack_module_cache__={};function __webpack_require__(s){if(__webpack_module_cache__[s])return __webpack_module_cache__[s].exports;var h=__webpack_module_cache__[s]={exports:{}};return __webpack_modules__[s].call(h.exports,h,h.exports,__webpack_require__),h.exports}return __webpack_require__(607)})())})(bundle);var ESSerializer=getDefaultExportFromCjs(bundle);const alreadyWarnFor=[],warnStorageNotFound=s=>{var h;const c=typeof process!="undefined"&&((h=process.env)===null||h===void 0?void 0:h.NODE_ENV)==="production";if(alreadyWarnFor.indexOf(s)===-1&&!c){let d=`Unable to find the ${s}. No data will be persisted.`;typeof window=="undefined"&&(d+=` +Are you running on a server? Most of storages are not available while running on a server.`),console.warn(d),alreadyWarnFor.push(s)}},allowedClasses=[],serialize=s=>ESSerializer.serialize(s),deserialize=s=>{if(s!=="undefined"){if(s!=null){try{return ESSerializer.deserialize(s,allowedClasses)}catch{}try{return JSON.parse(s)}catch{}}return s}};function persist(s,h,c){const d=h.getValue(c);return d!==null&&s.set(d),h.addListener&&h.addListener(c,f=>{s.set(f)}),s.subscribe(f=>{h.setValue(c,f)}),Object.assign(Object.assign({},s),{delete(){h.deleteValue(c)}})}function getBrowserStorage(s,h=!1){const c=[],d=_=>{const T=_.key;_.storageArea===s&&c.filter(({key:C})=>C===T).forEach(({listener:C})=>{C(deserialize(_.newValue))})},f=()=>{h&&typeof window!="undefined"&&(window==null?void 0:window.addEventListener)&&window.addEventListener("storage",d)},v=()=>{h&&typeof window!="undefined"&&(window==null?void 0:window.removeEventListener)&&window.removeEventListener("storage",d)};return{addListener(_,T){c.push({key:_,listener:T}),c.length===1&&f()},removeListener(_,T){const C=c.indexOf({key:_,listener:T});C!==-1&&c.splice(C,1),c.length===0&&v()},getValue(_){const T=s.getItem(_);return deserialize(T)},deleteValue(_){s.removeItem(_)},setValue(_,T){s.setItem(_,serialize(T))}}}function localStorage(s=!1){return typeof window!="undefined"&&(window==null?void 0:window.localStorage)?getBrowserStorage(window.localStorage,s):(warnStorageNotFound("window.localStorage"),noopStorage())}function noopStorage(){return{getValue(){return null},deleteValue(){},setValue(){}}}/*! pako 2.0.4 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Z_FIXED$1=4,Z_BINARY=0,Z_TEXT=1,Z_UNKNOWN$1=2;function zero$1(s){let h=s.length;for(;--h>=0;)s[h]=0}const STORED_BLOCK=0,STATIC_TREES=1,DYN_TREES=2,MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,BL_CODES$1=19,HEAP_SIZE$1=2*L_CODES$1+1,MAX_BITS$1=15,Buf_size=16,MAX_BL_BITS=7,END_BLOCK=256,REP_3_6=16,REPZ_3_10=17,REPZ_11_138=18,extra_lbits=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]),extra_dbits=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]),extra_blbits=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),bl_order=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),DIST_CODE_LEN=512,static_ltree=new Array((L_CODES$1+2)*2);zero$1(static_ltree);const static_dtree=new Array(D_CODES$1*2);zero$1(static_dtree);const _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);const _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);const base_length=new Array(LENGTH_CODES$1);zero$1(base_length);const base_dist=new Array(D_CODES$1);zero$1(base_dist);function StaticTreeDesc(s,h,c,d,f){this.static_tree=s,this.extra_bits=h,this.extra_base=c,this.elems=d,this.max_length=f,this.has_stree=s&&s.length}let static_l_desc,static_d_desc,static_bl_desc;function TreeDesc(s,h){this.dyn_tree=s,this.max_code=0,this.stat_desc=h}const d_code=s=>s<256?_dist_code[s]:_dist_code[256+(s>>>7)],put_short=(s,h)=>{s.pending_buf[s.pending++]=h&255,s.pending_buf[s.pending++]=h>>>8&255},send_bits=(s,h,c)=>{s.bi_valid>Buf_size-c?(s.bi_buf|=h<>Buf_size-s.bi_valid,s.bi_valid+=c-Buf_size):(s.bi_buf|=h<{send_bits(s,c[h*2],c[h*2+1])},bi_reverse=(s,h)=>{let c=0;do c|=s&1,s>>>=1,c<<=1;while(--h>0);return c>>>1},bi_flush=s=>{s.bi_valid===16?(put_short(s,s.bi_buf),s.bi_buf=0,s.bi_valid=0):s.bi_valid>=8&&(s.pending_buf[s.pending++]=s.bi_buf&255,s.bi_buf>>=8,s.bi_valid-=8)},gen_bitlen=(s,h)=>{const c=h.dyn_tree,d=h.max_code,f=h.stat_desc.static_tree,v=h.stat_desc.has_stree,_=h.stat_desc.extra_bits,T=h.stat_desc.extra_base,C=h.stat_desc.max_length;let A,L,B,Y,z,q,V=0;for(Y=0;Y<=MAX_BITS$1;Y++)s.bl_count[Y]=0;for(c[s.heap[s.heap_max]*2+1]=0,A=s.heap_max+1;AC&&(Y=C,V++),c[L*2+1]=Y,!(L>d)&&(s.bl_count[Y]++,z=0,L>=T&&(z=_[L-T]),q=c[L*2],s.opt_len+=q*(Y+z),v&&(s.static_len+=q*(f[L*2+1]+z)));if(V!==0){do{for(Y=C-1;s.bl_count[Y]===0;)Y--;s.bl_count[Y]--,s.bl_count[Y+1]+=2,s.bl_count[C]--,V-=2}while(V>0);for(Y=C;Y!==0;Y--)for(L=s.bl_count[Y];L!==0;)B=s.heap[--A],!(B>d)&&(c[B*2+1]!==Y&&(s.opt_len+=(Y-c[B*2+1])*c[B*2],c[B*2+1]=Y),L--)}},gen_codes=(s,h,c)=>{const d=new Array(MAX_BITS$1+1);let f=0,v,_;for(v=1;v<=MAX_BITS$1;v++)d[v]=f=f+c[v-1]<<1;for(_=0;_<=h;_++){let T=s[_*2+1];T!==0&&(s[_*2]=bi_reverse(d[T]++,T))}},tr_static_init=()=>{let s,h,c,d,f;const v=new Array(MAX_BITS$1+1);for(c=0,d=0;d>=7;d{let h;for(h=0;h{s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0},copy_block=(s,h,c,d)=>{bi_windup(s),d&&(put_short(s,c),put_short(s,~c)),s.pending_buf.set(s.window.subarray(h,h+c),s.pending),s.pending+=c},smaller=(s,h,c,d)=>{const f=h*2,v=c*2;return s[f]{const d=s.heap[c];let f=c<<1;for(;f<=s.heap_len&&(f{let d,f,v=0,_,T;if(s.last_lit!==0)do d=s.pending_buf[s.d_buf+v*2]<<8|s.pending_buf[s.d_buf+v*2+1],f=s.pending_buf[s.l_buf+v],v++,d===0?send_code(s,f,h):(_=_length_code[f],send_code(s,_+LITERALS$1+1,h),T=extra_lbits[_],T!==0&&(f-=base_length[_],send_bits(s,f,T)),d--,_=d_code(d),send_code(s,_,c),T=extra_dbits[_],T!==0&&(d-=base_dist[_],send_bits(s,d,T)));while(v{const c=h.dyn_tree,d=h.stat_desc.static_tree,f=h.stat_desc.has_stree,v=h.stat_desc.elems;let _,T,C=-1,A;for(s.heap_len=0,s.heap_max=HEAP_SIZE$1,_=0;_>1;_>=1;_--)pqdownheap(s,c,_);A=v;do _=s.heap[1],s.heap[1]=s.heap[s.heap_len--],pqdownheap(s,c,1),T=s.heap[1],s.heap[--s.heap_max]=_,s.heap[--s.heap_max]=T,c[A*2]=c[_*2]+c[T*2],s.depth[A]=(s.depth[_]>=s.depth[T]?s.depth[_]:s.depth[T])+1,c[_*2+1]=c[T*2+1]=A,s.heap[1]=A++,pqdownheap(s,c,1);while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1],gen_bitlen(s,h),gen_codes(c,C,s.bl_count)},scan_tree=(s,h,c)=>{let d,f=-1,v,_=h[0*2+1],T=0,C=7,A=4;for(_===0&&(C=138,A=3),h[(c+1)*2+1]=65535,d=0;d<=c;d++)v=_,_=h[(d+1)*2+1],!(++T{let d,f=-1,v,_=h[0*2+1],T=0,C=7,A=4;for(_===0&&(C=138,A=3),d=0;d<=c;d++)if(v=_,_=h[(d+1)*2+1],!(++T{let h;for(scan_tree(s,s.dyn_ltree,s.l_desc.max_code),scan_tree(s,s.dyn_dtree,s.d_desc.max_code),build_tree(s,s.bl_desc),h=BL_CODES$1-1;h>=3&&s.bl_tree[bl_order[h]*2+1]===0;h--);return s.opt_len+=3*(h+1)+5+5+4,h},send_all_trees=(s,h,c,d)=>{let f;for(send_bits(s,h-257,5),send_bits(s,c-1,5),send_bits(s,d-4,4),f=0;f{let h=4093624447,c;for(c=0;c<=31;c++,h>>>=1)if(h&1&&s.dyn_ltree[c*2]!==0)return Z_BINARY;if(s.dyn_ltree[9*2]!==0||s.dyn_ltree[10*2]!==0||s.dyn_ltree[13*2]!==0)return Z_TEXT;for(c=32;c{static_init_done||(tr_static_init(),static_init_done=!0),s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc),s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc),s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc),s.bi_buf=0,s.bi_valid=0,init_block(s)},_tr_stored_block$1=(s,h,c,d)=>{send_bits(s,(STORED_BLOCK<<1)+(d?1:0),3),copy_block(s,h,c,!0)},_tr_align$1=s=>{send_bits(s,STATIC_TREES<<1,3),send_code(s,END_BLOCK,static_ltree),bi_flush(s)},_tr_flush_block$1=(s,h,c,d)=>{let f,v,_=0;s.level>0?(s.strm.data_type===Z_UNKNOWN$1&&(s.strm.data_type=detect_data_type(s)),build_tree(s,s.l_desc),build_tree(s,s.d_desc),_=build_bl_tree(s),f=s.opt_len+3+7>>>3,v=s.static_len+3+7>>>3,v<=f&&(f=v)):f=v=c+5,c+4<=f&&h!==-1?_tr_stored_block$1(s,h,c,d):s.strategy===Z_FIXED$1||v===f?(send_bits(s,(STATIC_TREES<<1)+(d?1:0),3),compress_block(s,static_ltree,static_dtree)):(send_bits(s,(DYN_TREES<<1)+(d?1:0),3),send_all_trees(s,s.l_desc.max_code+1,s.d_desc.max_code+1,_+1),compress_block(s,s.dyn_ltree,s.dyn_dtree)),init_block(s),d&&bi_windup(s)},_tr_tally$1=(s,h,c)=>(s.pending_buf[s.d_buf+s.last_lit*2]=h>>>8&255,s.pending_buf[s.d_buf+s.last_lit*2+1]=h&255,s.pending_buf[s.l_buf+s.last_lit]=c&255,s.last_lit++,h===0?s.dyn_ltree[c*2]++:(s.matches++,h--,s.dyn_ltree[(_length_code[c]+LITERALS$1+1)*2]++,s.dyn_dtree[d_code(h)*2]++),s.last_lit===s.lit_bufsize-1);var _tr_init_1=_tr_init$1,_tr_stored_block_1=_tr_stored_block$1,_tr_flush_block_1=_tr_flush_block$1,_tr_tally_1=_tr_tally$1,_tr_align_1=_tr_align$1,trees={_tr_init:_tr_init_1,_tr_stored_block:_tr_stored_block_1,_tr_flush_block:_tr_flush_block_1,_tr_tally:_tr_tally_1,_tr_align:_tr_align_1};const adler32=(s,h,c,d)=>{let f=s&65535|0,v=s>>>16&65535|0,_=0;for(;c!==0;){_=c>2e3?2e3:c,c-=_;do f=f+h[d++]|0,v=v+f|0;while(--_);f%=65521,v%=65521}return f|v<<16|0};var adler32_1=adler32;const makeTable=()=>{let s,h=[];for(var c=0;c<256;c++){s=c;for(var d=0;d<8;d++)s=s&1?3988292384^s>>>1:s>>>1;h[c]=s}return h},crcTable=new Uint32Array(makeTable()),crc32=(s,h,c,d)=>{const f=crcTable,v=d+c;s^=-1;for(let _=d;_>>8^f[(s^h[_])&255];return s^-1};var crc32_1=crc32,messages={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"},constants$2={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,_tr_stored_block,_tr_flush_block,_tr_tally,_tr_align}=trees,{Z_NO_FLUSH:Z_NO_FLUSH$2,Z_PARTIAL_FLUSH,Z_FULL_FLUSH:Z_FULL_FLUSH$1,Z_FINISH:Z_FINISH$3,Z_BLOCK:Z_BLOCK$1,Z_OK:Z_OK$3,Z_STREAM_END:Z_STREAM_END$3,Z_STREAM_ERROR:Z_STREAM_ERROR$2,Z_DATA_ERROR:Z_DATA_ERROR$2,Z_BUF_ERROR:Z_BUF_ERROR$1,Z_DEFAULT_COMPRESSION:Z_DEFAULT_COMPRESSION$1,Z_FILTERED,Z_HUFFMAN_ONLY,Z_RLE,Z_FIXED,Z_DEFAULT_STRATEGY:Z_DEFAULT_STRATEGY$1,Z_UNKNOWN,Z_DEFLATED:Z_DEFLATED$2}=constants$2,MAX_MEM_LEVEL=9,MAX_WBITS$1=15,DEF_MEM_LEVEL=8,LENGTH_CODES=29,LITERALS=256,L_CODES=LITERALS+1+LENGTH_CODES,D_CODES=30,BL_CODES=19,HEAP_SIZE=2*L_CODES+1,MAX_BITS=15,MIN_MATCH=3,MAX_MATCH=258,MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1,PRESET_DICT=32,INIT_STATE=42,EXTRA_STATE=69,NAME_STATE=73,COMMENT_STATE=91,HCRC_STATE=103,BUSY_STATE=113,FINISH_STATE=666,BS_NEED_MORE=1,BS_BLOCK_DONE=2,BS_FINISH_STARTED=3,BS_FINISH_DONE=4,OS_CODE=3,err=(s,h)=>(s.msg=messages[h],h),rank=s=>(s<<1)-(s>4?9:0),zero=s=>{let h=s.length;for(;--h>=0;)s[h]=0};let HASH_ZLIB=(s,h,c)=>(h<{const h=s.state;let c=h.pending;c>s.avail_out&&(c=s.avail_out),c!==0&&(s.output.set(h.pending_buf.subarray(h.pending_out,h.pending_out+c),s.next_out),s.next_out+=c,h.pending_out+=c,s.total_out+=c,s.avail_out-=c,h.pending-=c,h.pending===0&&(h.pending_out=0))},flush_block_only=(s,h)=>{_tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,h),s.block_start=s.strstart,flush_pending(s.strm)},put_byte=(s,h)=>{s.pending_buf[s.pending++]=h},putShortMSB=(s,h)=>{s.pending_buf[s.pending++]=h>>>8&255,s.pending_buf[s.pending++]=h&255},read_buf=(s,h,c,d)=>{let f=s.avail_in;return f>d&&(f=d),f===0?0:(s.avail_in-=f,h.set(s.input.subarray(s.next_in,s.next_in+f),c),s.state.wrap===1?s.adler=adler32_1(s.adler,h,f,c):s.state.wrap===2&&(s.adler=crc32_1(s.adler,h,f,c)),s.next_in+=f,s.total_in+=f,f)},longest_match=(s,h)=>{let c=s.max_chain_length,d=s.strstart,f,v,_=s.prev_length,T=s.nice_match;const C=s.strstart>s.w_size-MIN_LOOKAHEAD?s.strstart-(s.w_size-MIN_LOOKAHEAD):0,A=s.window,L=s.w_mask,B=s.prev,Y=s.strstart+MAX_MATCH;let z=A[d+_-1],q=A[d+_];s.prev_length>=s.good_match&&(c>>=2),T>s.lookahead&&(T=s.lookahead);do if(f=h,!(A[f+_]!==q||A[f+_-1]!==z||A[f]!==A[d]||A[++f]!==A[d+1])){d+=2,f++;do;while(A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&A[++d]===A[++f]&&d_){if(s.match_start=h,_=v,v>=T)break;z=A[d+_-1],q=A[d+_]}}while((h=B[h&L])>C&&--c!==0);return _<=s.lookahead?_:s.lookahead},fill_window=s=>{const h=s.w_size;let c,d,f,v,_;do{if(v=s.window_size-s.lookahead-s.strstart,s.strstart>=h+(h-MIN_LOOKAHEAD)){s.window.set(s.window.subarray(h,h+h),0),s.match_start-=h,s.strstart-=h,s.block_start-=h,d=s.hash_size,c=d;do f=s.head[--c],s.head[c]=f>=h?f-h:0;while(--d);d=h,c=d;do f=s.prev[--c],s.prev[c]=f>=h?f-h:0;while(--d);v+=h}if(s.strm.avail_in===0)break;if(d=read_buf(s.strm,s.window,s.strstart+s.lookahead,v),s.lookahead+=d,s.lookahead+s.insert>=MIN_MATCH)for(_=s.strstart-s.insert,s.ins_h=s.window[_],s.ins_h=HASH(s,s.ins_h,s.window[_+1]);s.insert&&(s.ins_h=HASH(s,s.ins_h,s.window[_+MIN_MATCH-1]),s.prev[_&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=_,_++,s.insert--,!(s.lookahead+s.insert{let c=65535;for(c>s.pending_buf_size-5&&(c=s.pending_buf_size-5);;){if(s.lookahead<=1){if(fill_window(s),s.lookahead===0&&h===Z_NO_FLUSH$2)return BS_NEED_MORE;if(s.lookahead===0)break}s.strstart+=s.lookahead,s.lookahead=0;const d=s.block_start+c;if((s.strstart===0||s.strstart>=d)&&(s.lookahead=s.strstart-d,s.strstart=d,flush_block_only(s,!1),s.strm.avail_out===0)||s.strstart-s.block_start>=s.w_size-MIN_LOOKAHEAD&&(flush_block_only(s,!1),s.strm.avail_out===0))return BS_NEED_MORE}return s.insert=0,h===Z_FINISH$3?(flush_block_only(s,!0),s.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):(s.strstart>s.block_start&&(flush_block_only(s,!1),s.strm.avail_out===0),BS_NEED_MORE)},deflate_fast=(s,h)=>{let c,d;for(;;){if(s.lookahead=MIN_MATCH&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+MIN_MATCH-1]),c=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),c!==0&&s.strstart-c<=s.w_size-MIN_LOOKAHEAD&&(s.match_length=longest_match(s,c)),s.match_length>=MIN_MATCH)if(d=_tr_tally(s,s.strstart-s.match_start,s.match_length-MIN_MATCH),s.lookahead-=s.match_length,s.match_length<=s.max_lazy_match&&s.lookahead>=MIN_MATCH){s.match_length--;do s.strstart++,s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+MIN_MATCH-1]),c=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart;while(--s.match_length!==0);s.strstart++}else s.strstart+=s.match_length,s.match_length=0,s.ins_h=s.window[s.strstart],s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+1]);else d=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++;if(d&&(flush_block_only(s,!1),s.strm.avail_out===0))return BS_NEED_MORE}return s.insert=s.strstart{let c,d,f;for(;;){if(s.lookahead=MIN_MATCH&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+MIN_MATCH-1]),c=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),s.prev_length=s.match_length,s.prev_match=s.match_start,s.match_length=MIN_MATCH-1,c!==0&&s.prev_length4096)&&(s.match_length=MIN_MATCH-1)),s.prev_length>=MIN_MATCH&&s.match_length<=s.prev_length){f=s.strstart+s.lookahead-MIN_MATCH,d=_tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-MIN_MATCH),s.lookahead-=s.prev_length-1,s.prev_length-=2;do++s.strstart<=f&&(s.ins_h=HASH(s,s.ins_h,s.window[s.strstart+MIN_MATCH-1]),c=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart);while(--s.prev_length!==0);if(s.match_available=0,s.match_length=MIN_MATCH-1,s.strstart++,d&&(flush_block_only(s,!1),s.strm.avail_out===0))return BS_NEED_MORE}else if(s.match_available){if(d=_tr_tally(s,0,s.window[s.strstart-1]),d&&flush_block_only(s,!1),s.strstart++,s.lookahead--,s.strm.avail_out===0)return BS_NEED_MORE}else s.match_available=1,s.strstart++,s.lookahead--}return s.match_available&&(d=_tr_tally(s,0,s.window[s.strstart-1]),s.match_available=0),s.insert=s.strstart{let c,d,f,v;const _=s.window;for(;;){if(s.lookahead<=MAX_MATCH){if(fill_window(s),s.lookahead<=MAX_MATCH&&h===Z_NO_FLUSH$2)return BS_NEED_MORE;if(s.lookahead===0)break}if(s.match_length=0,s.lookahead>=MIN_MATCH&&s.strstart>0&&(f=s.strstart-1,d=_[f],d===_[++f]&&d===_[++f]&&d===_[++f])){v=s.strstart+MAX_MATCH;do;while(d===_[++f]&&d===_[++f]&&d===_[++f]&&d===_[++f]&&d===_[++f]&&d===_[++f]&&d===_[++f]&&d===_[++f]&&fs.lookahead&&(s.match_length=s.lookahead)}if(s.match_length>=MIN_MATCH?(c=_tr_tally(s,1,s.match_length-MIN_MATCH),s.lookahead-=s.match_length,s.strstart+=s.match_length,s.match_length=0):(c=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++),c&&(flush_block_only(s,!1),s.strm.avail_out===0))return BS_NEED_MORE}return s.insert=0,h===Z_FINISH$3?(flush_block_only(s,!0),s.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):s.last_lit&&(flush_block_only(s,!1),s.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE},deflate_huff=(s,h)=>{let c;for(;;){if(s.lookahead===0&&(fill_window(s),s.lookahead===0)){if(h===Z_NO_FLUSH$2)return BS_NEED_MORE;break}if(s.match_length=0,c=_tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++,c&&(flush_block_only(s,!1),s.strm.avail_out===0))return BS_NEED_MORE}return s.insert=0,h===Z_FINISH$3?(flush_block_only(s,!0),s.strm.avail_out===0?BS_FINISH_STARTED:BS_FINISH_DONE):s.last_lit&&(flush_block_only(s,!1),s.strm.avail_out===0)?BS_NEED_MORE:BS_BLOCK_DONE};function Config(s,h,c,d,f){this.good_length=s,this.max_lazy=h,this.nice_length=c,this.max_chain=d,this.func=f}const configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],lm_init=s=>{s.window_size=2*s.w_size,zero(s.head),s.max_lazy_match=configuration_table[s.level].max_lazy,s.good_match=configuration_table[s.level].good_length,s.nice_match=configuration_table[s.level].nice_length,s.max_chain_length=configuration_table[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=MIN_MATCH-1,s.match_available=0,s.ins_h=0};function DeflateState(){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=Z_DEFLATED$2,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(HEAP_SIZE*2),this.dyn_dtree=new Uint16Array((2*D_CODES+1)*2),this.bl_tree=new Uint16Array((2*BL_CODES+1)*2),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(MAX_BITS+1),this.heap=new Uint16Array(2*L_CODES+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*L_CODES+1),zero(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 deflateResetKeep=s=>{if(!s||!s.state)return err(s,Z_STREAM_ERROR$2);s.total_in=s.total_out=0,s.data_type=Z_UNKNOWN;const h=s.state;return h.pending=0,h.pending_out=0,h.wrap<0&&(h.wrap=-h.wrap),h.status=h.wrap?INIT_STATE:BUSY_STATE,s.adler=h.wrap===2?0:1,h.last_flush=Z_NO_FLUSH$2,_tr_init(h),Z_OK$3},deflateReset=s=>{const h=deflateResetKeep(s);return h===Z_OK$3&&lm_init(s.state),h},deflateSetHeader=(s,h)=>!s||!s.state||s.state.wrap!==2?Z_STREAM_ERROR$2:(s.state.gzhead=h,Z_OK$3),deflateInit2=(s,h,c,d,f,v)=>{if(!s)return Z_STREAM_ERROR$2;let _=1;if(h===Z_DEFAULT_COMPRESSION$1&&(h=6),d<0?(_=0,d=-d):d>15&&(_=2,d-=16),f<1||f>MAX_MEM_LEVEL||c!==Z_DEFLATED$2||d<8||d>15||h<0||h>9||v<0||v>Z_FIXED)return err(s,Z_STREAM_ERROR$2);d===8&&(d=9);const T=new DeflateState;return s.state=T,T.strm=s,T.wrap=_,T.gzhead=null,T.w_bits=d,T.w_size=1<deflateInit2(s,h,Z_DEFLATED$2,MAX_WBITS$1,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY$1),deflate$2=(s,h)=>{let c,d;if(!s||!s.state||h>Z_BLOCK$1||h<0)return s?err(s,Z_STREAM_ERROR$2):Z_STREAM_ERROR$2;const f=s.state;if(!s.output||!s.input&&s.avail_in!==0||f.status===FINISH_STATE&&h!==Z_FINISH$3)return err(s,s.avail_out===0?Z_BUF_ERROR$1:Z_STREAM_ERROR$2);f.strm=s;const v=f.last_flush;if(f.last_flush=h,f.status===INIT_STATE)if(f.wrap===2)s.adler=0,put_byte(f,31),put_byte(f,139),put_byte(f,8),f.gzhead?(put_byte(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),put_byte(f,f.gzhead.time&255),put_byte(f,f.gzhead.time>>8&255),put_byte(f,f.gzhead.time>>16&255),put_byte(f,f.gzhead.time>>24&255),put_byte(f,f.level===9?2:f.strategy>=Z_HUFFMAN_ONLY||f.level<2?4:0),put_byte(f,f.gzhead.os&255),f.gzhead.extra&&f.gzhead.extra.length&&(put_byte(f,f.gzhead.extra.length&255),put_byte(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=EXTRA_STATE):(put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,0),put_byte(f,f.level===9?2:f.strategy>=Z_HUFFMAN_ONLY||f.level<2?4:0),put_byte(f,OS_CODE),f.status=BUSY_STATE);else{let _=Z_DEFLATED$2+(f.w_bits-8<<4)<<8,T=-1;f.strategy>=Z_HUFFMAN_ONLY||f.level<2?T=0:f.level<6?T=1:f.level===6?T=2:T=3,_|=T<<6,f.strstart!==0&&(_|=PRESET_DICT),_+=31-_%31,f.status=BUSY_STATE,putShortMSB(f,_),f.strstart!==0&&(putShortMSB(f,s.adler>>>16),putShortMSB(f,s.adler&65535)),s.adler=1}if(f.status===EXTRA_STATE)if(f.gzhead.extra){for(c=f.pending;f.gzindex<(f.gzhead.extra.length&65535)&&!(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>c&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),flush_pending(s),c=f.pending,f.pending===f.pending_buf_size));)put_byte(f,f.gzhead.extra[f.gzindex]&255),f.gzindex++;f.gzhead.hcrc&&f.pending>c&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=NAME_STATE)}else f.status=NAME_STATE;if(f.status===NAME_STATE)if(f.gzhead.name){c=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>c&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),flush_pending(s),c=f.pending,f.pending===f.pending_buf_size)){d=1;break}f.gzindexc&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),d===0&&(f.gzindex=0,f.status=COMMENT_STATE)}else f.status=COMMENT_STATE;if(f.status===COMMENT_STATE)if(f.gzhead.comment){c=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>c&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),flush_pending(s),c=f.pending,f.pending===f.pending_buf_size)){d=1;break}f.gzindexc&&(s.adler=crc32_1(s.adler,f.pending_buf,f.pending-c,c)),d===0&&(f.status=HCRC_STATE)}else f.status=HCRC_STATE;if(f.status===HCRC_STATE&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&flush_pending(s),f.pending+2<=f.pending_buf_size&&(put_byte(f,s.adler&255),put_byte(f,s.adler>>8&255),s.adler=0,f.status=BUSY_STATE)):f.status=BUSY_STATE),f.pending!==0){if(flush_pending(s),s.avail_out===0)return f.last_flush=-1,Z_OK$3}else if(s.avail_in===0&&rank(h)<=rank(v)&&h!==Z_FINISH$3)return err(s,Z_BUF_ERROR$1);if(f.status===FINISH_STATE&&s.avail_in!==0)return err(s,Z_BUF_ERROR$1);if(s.avail_in!==0||f.lookahead!==0||h!==Z_NO_FLUSH$2&&f.status!==FINISH_STATE){let _=f.strategy===Z_HUFFMAN_ONLY?deflate_huff(f,h):f.strategy===Z_RLE?deflate_rle(f,h):configuration_table[f.level].func(f,h);if((_===BS_FINISH_STARTED||_===BS_FINISH_DONE)&&(f.status=FINISH_STATE),_===BS_NEED_MORE||_===BS_FINISH_STARTED)return s.avail_out===0&&(f.last_flush=-1),Z_OK$3;if(_===BS_BLOCK_DONE&&(h===Z_PARTIAL_FLUSH?_tr_align(f):h!==Z_BLOCK$1&&(_tr_stored_block(f,0,0,!1),h===Z_FULL_FLUSH$1&&(zero(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),flush_pending(s),s.avail_out===0))return f.last_flush=-1,Z_OK$3}return h!==Z_FINISH$3?Z_OK$3:f.wrap<=0?Z_STREAM_END$3:(f.wrap===2?(put_byte(f,s.adler&255),put_byte(f,s.adler>>8&255),put_byte(f,s.adler>>16&255),put_byte(f,s.adler>>24&255),put_byte(f,s.total_in&255),put_byte(f,s.total_in>>8&255),put_byte(f,s.total_in>>16&255),put_byte(f,s.total_in>>24&255)):(putShortMSB(f,s.adler>>>16),putShortMSB(f,s.adler&65535)),flush_pending(s),f.wrap>0&&(f.wrap=-f.wrap),f.pending!==0?Z_OK$3:Z_STREAM_END$3)},deflateEnd=s=>{if(!s||!s.state)return Z_STREAM_ERROR$2;const h=s.state.status;return h!==INIT_STATE&&h!==EXTRA_STATE&&h!==NAME_STATE&&h!==COMMENT_STATE&&h!==HCRC_STATE&&h!==BUSY_STATE&&h!==FINISH_STATE?err(s,Z_STREAM_ERROR$2):(s.state=null,h===BUSY_STATE?err(s,Z_DATA_ERROR$2):Z_OK$3)},deflateSetDictionary=(s,h)=>{let c=h.length;if(!s||!s.state)return Z_STREAM_ERROR$2;const d=s.state,f=d.wrap;if(f===2||f===1&&d.status!==INIT_STATE||d.lookahead)return Z_STREAM_ERROR$2;if(f===1&&(s.adler=adler32_1(s.adler,h,c,0)),d.wrap=0,c>=d.w_size){f===0&&(zero(d.head),d.strstart=0,d.block_start=0,d.insert=0);let C=new Uint8Array(d.w_size);C.set(h.subarray(c-d.w_size,c),0),h=C,c=d.w_size}const v=s.avail_in,_=s.next_in,T=s.input;for(s.avail_in=c,s.next_in=0,s.input=h,fill_window(d);d.lookahead>=MIN_MATCH;){let C=d.strstart,A=d.lookahead-(MIN_MATCH-1);do d.ins_h=HASH(d,d.ins_h,d.window[C+MIN_MATCH-1]),d.prev[C&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=C,C++;while(--A);d.strstart=C,d.lookahead=MIN_MATCH-1,fill_window(d)}return d.strstart+=d.lookahead,d.block_start=d.strstart,d.insert=d.lookahead,d.lookahead=0,d.match_length=d.prev_length=MIN_MATCH-1,d.match_available=0,s.next_in=_,s.input=T,s.avail_in=v,d.wrap=f,Z_OK$3};var deflateInit_1=deflateInit,deflateInit2_1=deflateInit2,deflateReset_1=deflateReset,deflateResetKeep_1=deflateResetKeep,deflateSetHeader_1=deflateSetHeader,deflate_2$1=deflate$2,deflateEnd_1=deflateEnd,deflateSetDictionary_1=deflateSetDictionary,deflateInfo="pako deflate (from Nodeca project)",deflate_1$2={deflateInit:deflateInit_1,deflateInit2:deflateInit2_1,deflateReset:deflateReset_1,deflateResetKeep:deflateResetKeep_1,deflateSetHeader:deflateSetHeader_1,deflate:deflate_2$1,deflateEnd:deflateEnd_1,deflateSetDictionary:deflateSetDictionary_1,deflateInfo};const _has=(s,h)=>Object.prototype.hasOwnProperty.call(s,h);var assign=function(s){const h=Array.prototype.slice.call(arguments,1);for(;h.length;){const c=h.shift();if(!!c){if(typeof c!="object")throw new TypeError(c+"must be non-object");for(const d in c)_has(c,d)&&(s[d]=c[d])}}return s},flattenChunks=s=>{let h=0;for(let d=0,f=s.length;d=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;_utf8len[254]=_utf8len[254]=1;var string2buf=s=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(s);let h,c,d,f,v,_=s.length,T=0;for(f=0;f<_;f++)c=s.charCodeAt(f),(c&64512)===55296&&f+1<_&&(d=s.charCodeAt(f+1),(d&64512)===56320&&(c=65536+(c-55296<<10)+(d-56320),f++)),T+=c<128?1:c<2048?2:c<65536?3:4;for(h=new Uint8Array(T),v=0,f=0;v>>6,h[v++]=128|c&63):c<65536?(h[v++]=224|c>>>12,h[v++]=128|c>>>6&63,h[v++]=128|c&63):(h[v++]=240|c>>>18,h[v++]=128|c>>>12&63,h[v++]=128|c>>>6&63,h[v++]=128|c&63);return h};const buf2binstring=(s,h)=>{if(h<65534&&s.subarray&&STR_APPLY_UIA_OK)return String.fromCharCode.apply(null,s.length===h?s:s.subarray(0,h));let c="";for(let d=0;d{const c=h||s.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(s.subarray(0,h));let d,f;const v=new Array(c*2);for(f=0,d=0;d4){v[f++]=65533,d+=T-1;continue}for(_&=T===2?31:T===3?15:7;T>1&&d1){v[f++]=65533;continue}_<65536?v[f++]=_:(_-=65536,v[f++]=55296|_>>10&1023,v[f++]=56320|_&1023)}return buf2binstring(v,f)},utf8border=(s,h)=>{h=h||s.length,h>s.length&&(h=s.length);let c=h-1;for(;c>=0&&(s[c]&192)===128;)c--;return c<0||c===0?h:c+_utf8len[s[c]]>h?c:h},strings={string2buf,buf2string,utf8border};function ZStream(){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 zstream=ZStream;const toString$1=Object.prototype.toString,{Z_NO_FLUSH:Z_NO_FLUSH$1,Z_SYNC_FLUSH,Z_FULL_FLUSH,Z_FINISH:Z_FINISH$2,Z_OK:Z_OK$2,Z_STREAM_END:Z_STREAM_END$2,Z_DEFAULT_COMPRESSION,Z_DEFAULT_STRATEGY,Z_DEFLATED:Z_DEFLATED$1}=constants$2;function Deflate$1(s){this.options=common.assign({level:Z_DEFAULT_COMPRESSION,method:Z_DEFLATED$1,chunkSize:16384,windowBits:15,memLevel:8,strategy:Z_DEFAULT_STRATEGY},s||{});let h=this.options;h.raw&&h.windowBits>0?h.windowBits=-h.windowBits:h.gzip&&h.windowBits>0&&h.windowBits<16&&(h.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let c=deflate_1$2.deflateInit2(this.strm,h.level,h.method,h.windowBits,h.memLevel,h.strategy);if(c!==Z_OK$2)throw new Error(messages[c]);if(h.header&&deflate_1$2.deflateSetHeader(this.strm,h.header),h.dictionary){let d;if(typeof h.dictionary=="string"?d=strings.string2buf(h.dictionary):toString$1.call(h.dictionary)==="[object ArrayBuffer]"?d=new Uint8Array(h.dictionary):d=h.dictionary,c=deflate_1$2.deflateSetDictionary(this.strm,d),c!==Z_OK$2)throw new Error(messages[c]);this._dict_set=!0}}Deflate$1.prototype.push=function(s,h){const c=this.strm,d=this.options.chunkSize;let f,v;if(this.ended)return!1;for(h===~~h?v=h:v=h===!0?Z_FINISH$2:Z_NO_FLUSH$1,typeof s=="string"?c.input=strings.string2buf(s):toString$1.call(s)==="[object ArrayBuffer]"?c.input=new Uint8Array(s):c.input=s,c.next_in=0,c.avail_in=c.input.length;;){if(c.avail_out===0&&(c.output=new Uint8Array(d),c.next_out=0,c.avail_out=d),(v===Z_SYNC_FLUSH||v===Z_FULL_FLUSH)&&c.avail_out<=6){this.onData(c.output.subarray(0,c.next_out)),c.avail_out=0;continue}if(f=deflate_1$2.deflate(c,v),f===Z_STREAM_END$2)return c.next_out>0&&this.onData(c.output.subarray(0,c.next_out)),f=deflate_1$2.deflateEnd(this.strm),this.onEnd(f),this.ended=!0,f===Z_OK$2;if(c.avail_out===0){this.onData(c.output);continue}if(v>0&&c.next_out>0){this.onData(c.output.subarray(0,c.next_out)),c.avail_out=0;continue}if(c.avail_in===0)break}return!0};Deflate$1.prototype.onData=function(s){this.chunks.push(s)};Deflate$1.prototype.onEnd=function(s){s===Z_OK$2&&(this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg};function deflate$1(s,h){const c=new Deflate$1(h);if(c.push(s,!0),c.err)throw c.msg||messages[c.err];return c.result}function deflateRaw$1(s,h){return h=h||{},h.raw=!0,deflate$1(s,h)}function gzip$1(s,h){return h=h||{},h.gzip=!0,deflate$1(s,h)}var Deflate_1$1=Deflate$1,deflate_2=deflate$1,deflateRaw_1$1=deflateRaw$1,gzip_1$1=gzip$1,constants$1=constants$2,deflate_1$1={Deflate:Deflate_1$1,deflate:deflate_2,deflateRaw:deflateRaw_1$1,gzip:gzip_1$1,constants:constants$1};const BAD$1=30,TYPE$1=12;var inffast=function s(h,c){let d,f,v,_,T,C,A,L,B,Y,z,q,V,X,Q,ot,nt,st,ut,At,rt,J,pt,xt;const wt=h.state;d=h.next_in,pt=h.input,f=d+(h.avail_in-5),v=h.next_out,xt=h.output,_=v-(c-h.avail_out),T=v+(h.avail_out-257),C=wt.dmax,A=wt.wsize,L=wt.whave,B=wt.wnext,Y=wt.window,z=wt.hold,q=wt.bits,V=wt.lencode,X=wt.distcode,Q=(1<>>24,z>>>=st,q-=st,st=nt>>>16&255,st===0)xt[v++]=nt&65535;else if(st&16){ut=nt&65535,st&=15,st&&(q>>=st,q-=st),q<15&&(z+=pt[d++]<>>24,z>>>=st,q-=st,st=nt>>>16&255,st&16){if(At=nt&65535,st&=15,qC){h.msg="invalid distance too far back",wt.mode=BAD$1;break t}if(z>>>=st,q-=st,st=v-_,At>st){if(st=At-st,st>L&&wt.sane){h.msg="invalid distance too far back",wt.mode=BAD$1;break t}if(rt=0,J=Y,B===0){if(rt+=A-st,st2;)xt[v++]=J[rt++],xt[v++]=J[rt++],xt[v++]=J[rt++],ut-=3;ut&&(xt[v++]=J[rt++],ut>1&&(xt[v++]=J[rt++]))}else{rt=v-At;do xt[v++]=xt[rt++],xt[v++]=xt[rt++],xt[v++]=xt[rt++],ut-=3;while(ut>2);ut&&(xt[v++]=xt[rt++],ut>1&&(xt[v++]=xt[rt++]))}}else if((st&64)===0){nt=X[(nt&65535)+(z&(1<>3,d-=ut,q-=ut<<3,z&=(1<{const C=T.bits;let A=0,L=0,B=0,Y=0,z=0,q=0,V=0,X=0,Q=0,ot=0,nt,st,ut,At,rt,J=null,pt=0,xt;const wt=new Uint16Array(MAXBITS+1),gt=new Uint16Array(MAXBITS+1);let bt=null,Gt=0,Bt,we,_e;for(A=0;A<=MAXBITS;A++)wt[A]=0;for(L=0;L=1&&wt[Y]===0;Y--);if(z>Y&&(z=Y),Y===0)return f[v++]=1<<24|64<<16|0,f[v++]=1<<24|64<<16|0,T.bits=1,0;for(B=1;B0&&(s===CODES$1||Y!==1))return-1;for(gt[1]=0,A=1;AENOUGH_LENS$1||s===DISTS$1&&Q>ENOUGH_DISTS$1)return 1;for(;;){Bt=A-V,_[L]xt?(we=bt[Gt+_[L]],_e=J[pt+_[L]]):(we=32+64,_e=0),nt=1<>V)+st]=Bt<<24|we<<16|_e|0;while(st!==0);for(nt=1<>=1;if(nt!==0?(ot&=nt-1,ot+=nt):ot=0,L++,--wt[A]===0){if(A===Y)break;A=h[c+_[L]]}if(A>z&&(ot&At)!==ut){for(V===0&&(V=z),rt+=B,q=A-V,X=1<ENOUGH_LENS$1||s===DISTS$1&&Q>ENOUGH_DISTS$1)return 1;ut=ot&At,f[ut]=z<<24|q<<16|rt-v|0}}return ot!==0&&(f[rt+ot]=A-V<<24|64<<16|0),T.bits=z,0};var inftrees=inflate_table;const CODES=0,LENS=1,DISTS=2,{Z_FINISH:Z_FINISH$1,Z_BLOCK,Z_TREES,Z_OK:Z_OK$1,Z_STREAM_END:Z_STREAM_END$1,Z_NEED_DICT:Z_NEED_DICT$1,Z_STREAM_ERROR:Z_STREAM_ERROR$1,Z_DATA_ERROR:Z_DATA_ERROR$1,Z_MEM_ERROR:Z_MEM_ERROR$1,Z_BUF_ERROR,Z_DEFLATED}=constants$2,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS,zswap32=s=>(s>>>24&255)+(s>>>8&65280)+((s&65280)<<8)+((s&255)<<24);function InflateState(){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 inflateResetKeep=s=>{if(!s||!s.state)return Z_STREAM_ERROR$1;const h=s.state;return s.total_in=s.total_out=h.total=0,s.msg="",h.wrap&&(s.adler=h.wrap&1),h.mode=HEAD,h.last=0,h.havedict=0,h.dmax=32768,h.head=null,h.hold=0,h.bits=0,h.lencode=h.lendyn=new Int32Array(ENOUGH_LENS),h.distcode=h.distdyn=new Int32Array(ENOUGH_DISTS),h.sane=1,h.back=-1,Z_OK$1},inflateReset=s=>{if(!s||!s.state)return Z_STREAM_ERROR$1;const h=s.state;return h.wsize=0,h.whave=0,h.wnext=0,inflateResetKeep(s)},inflateReset2=(s,h)=>{let c;if(!s||!s.state)return Z_STREAM_ERROR$1;const d=s.state;return h<0?(c=0,h=-h):(c=(h>>4)+1,h<48&&(h&=15)),h&&(h<8||h>15)?Z_STREAM_ERROR$1:(d.window!==null&&d.wbits!==h&&(d.window=null),d.wrap=c,d.wbits=h,inflateReset(s))},inflateInit2=(s,h)=>{if(!s)return Z_STREAM_ERROR$1;const c=new InflateState;s.state=c,c.window=null;const d=inflateReset2(s,h);return d!==Z_OK$1&&(s.state=null),d},inflateInit=s=>inflateInit2(s,DEF_WBITS);let virgin=!0,lenfix,distfix;const fixedtables=s=>{if(virgin){lenfix=new Int32Array(512),distfix=new Int32Array(32);let h=0;for(;h<144;)s.lens[h++]=8;for(;h<256;)s.lens[h++]=9;for(;h<280;)s.lens[h++]=7;for(;h<288;)s.lens[h++]=8;for(inftrees(LENS,s.lens,0,288,lenfix,0,s.work,{bits:9}),h=0;h<32;)s.lens[h++]=5;inftrees(DISTS,s.lens,0,32,distfix,0,s.work,{bits:5}),virgin=!1}s.lencode=lenfix,s.lenbits=9,s.distcode=distfix,s.distbits=5},updatewindow=(s,h,c,d)=>{let f;const v=s.state;return v.window===null&&(v.wsize=1<=v.wsize?(v.window.set(h.subarray(c-v.wsize,c),0),v.wnext=0,v.whave=v.wsize):(f=v.wsize-v.wnext,f>d&&(f=d),v.window.set(h.subarray(c-d,c-d+f),v.wnext),d-=f,d?(v.window.set(h.subarray(c-d,c),0),v.wnext=d,v.whave=v.wsize):(v.wnext+=f,v.wnext===v.wsize&&(v.wnext=0),v.whave{let c,d,f,v,_,T,C,A,L,B,Y,z,q,V,X=0,Q,ot,nt,st,ut,At,rt,J;const pt=new Uint8Array(4);let xt,wt;const gt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!s||!s.state||!s.output||!s.input&&s.avail_in!==0)return Z_STREAM_ERROR$1;c=s.state,c.mode===TYPE&&(c.mode=TYPEDO),_=s.next_out,f=s.output,C=s.avail_out,v=s.next_in,d=s.input,T=s.avail_in,A=c.hold,L=c.bits,B=T,Y=C,J=Z_OK$1;t:for(;;)switch(c.mode){case HEAD:if(c.wrap===0){c.mode=TYPEDO;break}for(;L<16;){if(T===0)break t;T--,A+=d[v++]<>>8&255,c.check=crc32_1(c.check,pt,2,0),A=0,L=0,c.mode=FLAGS;break}if(c.flags=0,c.head&&(c.head.done=!1),!(c.wrap&1)||(((A&255)<<8)+(A>>8))%31){s.msg="incorrect header check",c.mode=BAD;break}if((A&15)!==Z_DEFLATED){s.msg="unknown compression method",c.mode=BAD;break}if(A>>>=4,L-=4,rt=(A&15)+8,c.wbits===0)c.wbits=rt;else if(rt>c.wbits){s.msg="invalid window size",c.mode=BAD;break}c.dmax=1<>8&1),c.flags&512&&(pt[0]=A&255,pt[1]=A>>>8&255,c.check=crc32_1(c.check,pt,2,0)),A=0,L=0,c.mode=TIME;case TIME:for(;L<32;){if(T===0)break t;T--,A+=d[v++]<>>8&255,pt[2]=A>>>16&255,pt[3]=A>>>24&255,c.check=crc32_1(c.check,pt,4,0)),A=0,L=0,c.mode=OS;case OS:for(;L<16;){if(T===0)break t;T--,A+=d[v++]<>8),c.flags&512&&(pt[0]=A&255,pt[1]=A>>>8&255,c.check=crc32_1(c.check,pt,2,0)),A=0,L=0,c.mode=EXLEN;case EXLEN:if(c.flags&1024){for(;L<16;){if(T===0)break t;T--,A+=d[v++]<>>8&255,c.check=crc32_1(c.check,pt,2,0)),A=0,L=0}else c.head&&(c.head.extra=null);c.mode=EXTRA;case EXTRA:if(c.flags&1024&&(z=c.length,z>T&&(z=T),z&&(c.head&&(rt=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Uint8Array(c.head.extra_len)),c.head.extra.set(d.subarray(v,v+z),rt)),c.flags&512&&(c.check=crc32_1(c.check,d,z,v)),T-=z,v+=z,c.length-=z),c.length))break t;c.length=0,c.mode=NAME;case NAME:if(c.flags&2048){if(T===0)break t;z=0;do rt=d[v+z++],c.head&&rt&&c.length<65536&&(c.head.name+=String.fromCharCode(rt));while(rt&&z>9&1,c.head.done=!0),s.adler=c.check=0,c.mode=TYPE;break;case DICTID:for(;L<32;){if(T===0)break t;T--,A+=d[v++]<>>=L&7,L-=L&7,c.mode=CHECK;break}for(;L<3;){if(T===0)break t;T--,A+=d[v++]<>>=1,L-=1,A&3){case 0:c.mode=STORED;break;case 1:if(fixedtables(c),c.mode=LEN_,h===Z_TREES){A>>>=2,L-=2;break t}break;case 2:c.mode=TABLE;break;case 3:s.msg="invalid block type",c.mode=BAD}A>>>=2,L-=2;break;case STORED:for(A>>>=L&7,L-=L&7;L<32;){if(T===0)break t;T--,A+=d[v++]<>>16^65535)){s.msg="invalid stored block lengths",c.mode=BAD;break}if(c.length=A&65535,A=0,L=0,c.mode=COPY_,h===Z_TREES)break t;case COPY_:c.mode=COPY;case COPY:if(z=c.length,z){if(z>T&&(z=T),z>C&&(z=C),z===0)break t;f.set(d.subarray(v,v+z),_),T-=z,v+=z,C-=z,_+=z,c.length-=z;break}c.mode=TYPE;break;case TABLE:for(;L<14;){if(T===0)break t;T--,A+=d[v++]<>>=5,L-=5,c.ndist=(A&31)+1,A>>>=5,L-=5,c.ncode=(A&15)+4,A>>>=4,L-=4,c.nlen>286||c.ndist>30){s.msg="too many length or distance symbols",c.mode=BAD;break}c.have=0,c.mode=LENLENS;case LENLENS:for(;c.have>>=3,L-=3}for(;c.have<19;)c.lens[gt[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,xt={bits:c.lenbits},J=inftrees(CODES,c.lens,0,19,c.lencode,0,c.work,xt),c.lenbits=xt.bits,J){s.msg="invalid code lengths set",c.mode=BAD;break}c.have=0,c.mode=CODELENS;case CODELENS:for(;c.have>>24,ot=X>>>16&255,nt=X&65535,!(Q<=L);){if(T===0)break t;T--,A+=d[v++]<>>=Q,L-=Q,c.lens[c.have++]=nt;else{if(nt===16){for(wt=Q+2;L>>=Q,L-=Q,c.have===0){s.msg="invalid bit length repeat",c.mode=BAD;break}rt=c.lens[c.have-1],z=3+(A&3),A>>>=2,L-=2}else if(nt===17){for(wt=Q+3;L>>=Q,L-=Q,rt=0,z=3+(A&7),A>>>=3,L-=3}else{for(wt=Q+7;L>>=Q,L-=Q,rt=0,z=11+(A&127),A>>>=7,L-=7}if(c.have+z>c.nlen+c.ndist){s.msg="invalid bit length repeat",c.mode=BAD;break}for(;z--;)c.lens[c.have++]=rt}}if(c.mode===BAD)break;if(c.lens[256]===0){s.msg="invalid code -- missing end-of-block",c.mode=BAD;break}if(c.lenbits=9,xt={bits:c.lenbits},J=inftrees(LENS,c.lens,0,c.nlen,c.lencode,0,c.work,xt),c.lenbits=xt.bits,J){s.msg="invalid literal/lengths set",c.mode=BAD;break}if(c.distbits=6,c.distcode=c.distdyn,xt={bits:c.distbits},J=inftrees(DISTS,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,xt),c.distbits=xt.bits,J){s.msg="invalid distances set",c.mode=BAD;break}if(c.mode=LEN_,h===Z_TREES)break t;case LEN_:c.mode=LEN;case LEN:if(T>=6&&C>=258){s.next_out=_,s.avail_out=C,s.next_in=v,s.avail_in=T,c.hold=A,c.bits=L,inffast(s,Y),_=s.next_out,f=s.output,C=s.avail_out,v=s.next_in,d=s.input,T=s.avail_in,A=c.hold,L=c.bits,c.mode===TYPE&&(c.back=-1);break}for(c.back=0;X=c.lencode[A&(1<>>24,ot=X>>>16&255,nt=X&65535,!(Q<=L);){if(T===0)break t;T--,A+=d[v++]<>st)],Q=X>>>24,ot=X>>>16&255,nt=X&65535,!(st+Q<=L);){if(T===0)break t;T--,A+=d[v++]<>>=st,L-=st,c.back+=st}if(A>>>=Q,L-=Q,c.back+=Q,c.length=nt,ot===0){c.mode=LIT;break}if(ot&32){c.back=-1,c.mode=TYPE;break}if(ot&64){s.msg="invalid literal/length code",c.mode=BAD;break}c.extra=ot&15,c.mode=LENEXT;case LENEXT:if(c.extra){for(wt=c.extra;L>>=c.extra,L-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=DIST;case DIST:for(;X=c.distcode[A&(1<>>24,ot=X>>>16&255,nt=X&65535,!(Q<=L);){if(T===0)break t;T--,A+=d[v++]<>st)],Q=X>>>24,ot=X>>>16&255,nt=X&65535,!(st+Q<=L);){if(T===0)break t;T--,A+=d[v++]<>>=st,L-=st,c.back+=st}if(A>>>=Q,L-=Q,c.back+=Q,ot&64){s.msg="invalid distance code",c.mode=BAD;break}c.offset=nt,c.extra=ot&15,c.mode=DISTEXT;case DISTEXT:if(c.extra){for(wt=c.extra;L>>=c.extra,L-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){s.msg="invalid distance too far back",c.mode=BAD;break}c.mode=MATCH;case MATCH:if(C===0)break t;if(z=Y-C,c.offset>z){if(z=c.offset-z,z>c.whave&&c.sane){s.msg="invalid distance too far back",c.mode=BAD;break}z>c.wnext?(z-=c.wnext,q=c.wsize-z):q=c.wnext-z,z>c.length&&(z=c.length),V=c.window}else V=f,q=_-c.offset,z=c.length;z>C&&(z=C),C-=z,c.length-=z;do f[_++]=V[q++];while(--z);c.length===0&&(c.mode=LEN);break;case LIT:if(C===0)break t;f[_++]=c.length,C--,c.mode=LEN;break;case CHECK:if(c.wrap){for(;L<32;){if(T===0)break t;T--,A|=d[v++]<{if(!s||!s.state)return Z_STREAM_ERROR$1;let h=s.state;return h.window&&(h.window=null),s.state=null,Z_OK$1},inflateGetHeader=(s,h)=>{if(!s||!s.state)return Z_STREAM_ERROR$1;const c=s.state;return(c.wrap&2)===0?Z_STREAM_ERROR$1:(c.head=h,h.done=!1,Z_OK$1)},inflateSetDictionary=(s,h)=>{const c=h.length;let d,f,v;return!s||!s.state||(d=s.state,d.wrap!==0&&d.mode!==DICT)?Z_STREAM_ERROR$1:d.mode===DICT&&(f=1,f=adler32_1(f,h,c,0),f!==d.check)?Z_DATA_ERROR$1:(v=updatewindow(s,h,c,c),v?(d.mode=MEM,Z_MEM_ERROR$1):(d.havedict=1,Z_OK$1))};var inflateReset_1=inflateReset,inflateReset2_1=inflateReset2,inflateResetKeep_1=inflateResetKeep,inflateInit_1=inflateInit,inflateInit2_1=inflateInit2,inflate_2$1=inflate$2,inflateEnd_1=inflateEnd,inflateGetHeader_1=inflateGetHeader,inflateSetDictionary_1=inflateSetDictionary,inflateInfo="pako inflate (from Nodeca project)",inflate_1$2={inflateReset:inflateReset_1,inflateReset2:inflateReset2_1,inflateResetKeep:inflateResetKeep_1,inflateInit:inflateInit_1,inflateInit2:inflateInit2_1,inflate:inflate_2$1,inflateEnd:inflateEnd_1,inflateGetHeader:inflateGetHeader_1,inflateSetDictionary:inflateSetDictionary_1,inflateInfo};function GZheader(){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 gzheader=GZheader;const toString$2=Object.prototype.toString,{Z_NO_FLUSH,Z_FINISH,Z_OK,Z_STREAM_END,Z_NEED_DICT,Z_STREAM_ERROR,Z_DATA_ERROR,Z_MEM_ERROR}=constants$2;function Inflate$1(s){this.options=common.assign({chunkSize:1024*64,windowBits:15,to:""},s||{});const h=this.options;h.raw&&h.windowBits>=0&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),h.windowBits>=0&&h.windowBits<16&&!(s&&s.windowBits)&&(h.windowBits+=32),h.windowBits>15&&h.windowBits<48&&(h.windowBits&15)===0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;let c=inflate_1$2.inflateInit2(this.strm,h.windowBits);if(c!==Z_OK)throw new Error(messages[c]);if(this.header=new gzheader,inflate_1$2.inflateGetHeader(this.strm,this.header),h.dictionary&&(typeof h.dictionary=="string"?h.dictionary=strings.string2buf(h.dictionary):toString$2.call(h.dictionary)==="[object ArrayBuffer]"&&(h.dictionary=new Uint8Array(h.dictionary)),h.raw&&(c=inflate_1$2.inflateSetDictionary(this.strm,h.dictionary),c!==Z_OK)))throw new Error(messages[c])}Inflate$1.prototype.push=function(s,h){const c=this.strm,d=this.options.chunkSize,f=this.options.dictionary;let v,_,T;if(this.ended)return!1;for(h===~~h?_=h:_=h===!0?Z_FINISH:Z_NO_FLUSH,toString$2.call(s)==="[object ArrayBuffer]"?c.input=new Uint8Array(s):c.input=s,c.next_in=0,c.avail_in=c.input.length;;){for(c.avail_out===0&&(c.output=new Uint8Array(d),c.next_out=0,c.avail_out=d),v=inflate_1$2.inflate(c,_),v===Z_NEED_DICT&&f&&(v=inflate_1$2.inflateSetDictionary(c,f),v===Z_OK?v=inflate_1$2.inflate(c,_):v===Z_DATA_ERROR&&(v=Z_NEED_DICT));c.avail_in>0&&v===Z_STREAM_END&&c.state.wrap>0&&s[c.next_in]!==0;)inflate_1$2.inflateReset(c),v=inflate_1$2.inflate(c,_);switch(v){case Z_STREAM_ERROR:case Z_DATA_ERROR:case Z_NEED_DICT:case Z_MEM_ERROR:return this.onEnd(v),this.ended=!0,!1}if(T=c.avail_out,c.next_out&&(c.avail_out===0||v===Z_STREAM_END))if(this.options.to==="string"){let C=strings.utf8border(c.output,c.next_out),A=c.next_out-C,L=strings.buf2string(c.output,C);c.next_out=A,c.avail_out=d-A,A&&c.output.set(c.output.subarray(C,C+A),0),this.onData(L)}else this.onData(c.output.length===c.next_out?c.output:c.output.subarray(0,c.next_out));if(!(v===Z_OK&&T===0)){if(v===Z_STREAM_END)return v=inflate_1$2.inflateEnd(this.strm),this.onEnd(v),this.ended=!0,!0;if(c.avail_in===0)break}}return!0};Inflate$1.prototype.onData=function(s){this.chunks.push(s)};Inflate$1.prototype.onEnd=function(s){s===Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg};function inflate$1(s,h){const c=new Inflate$1(h);if(c.push(s),c.err)throw c.msg||messages[c.err];return c.result}function inflateRaw$1(s,h){return h=h||{},h.raw=!0,inflate$1(s,h)}var Inflate_1$1=Inflate$1,inflate_2=inflate$1,inflateRaw_1$1=inflateRaw$1,ungzip$1=inflate$1,constants=constants$2,inflate_1$1={Inflate:Inflate_1$1,inflate:inflate_2,inflateRaw:inflateRaw_1$1,ungzip:ungzip$1,constants};const{Deflate,deflate,deflateRaw,gzip}=deflate_1$1,{Inflate,inflate,inflateRaw,ungzip}=inflate_1$1;var deflate_1=deflate,inflate_1=inflate;const _hasatob=typeof atob=="function",_hasbtoa=typeof btoa=="function",_hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0,_TE=typeof TextEncoder=="function"?new TextEncoder:void 0,b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(s=>{let h={};return s.forEach((c,d)=>h[c]=d),h})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):(s,h=c=>c)=>new Uint8Array(Array.prototype.slice.call(s,0).map(h)),_mkUriSafe=s=>s.replace(/=/g,"").replace(/[+\/]/g,h=>h=="+"?"-":"_"),_tidyB64=s=>s.replace(/[^A-Za-z0-9\+\/]/g,""),btoaPolyfill=s=>{let h,c,d,f,v="";const _=s.length%3;for(let T=0;T255||(d=s.charCodeAt(T++))>255||(f=s.charCodeAt(T++))>255)throw new TypeError("invalid character found");h=c<<16|d<<8|f,v+=b64chs[h>>18&63]+b64chs[h>>12&63]+b64chs[h>>6&63]+b64chs[h&63]}return _?v.slice(0,_-3)+"===".substring(_):v},_btoa=_hasbtoa?s=>btoa(s):_hasBuffer?s=>Buffer.from(s,"binary").toString("base64"):btoaPolyfill,_fromUint8Array=_hasBuffer?s=>Buffer.from(s).toString("base64"):s=>{let c=[];for(let d=0,f=s.length;dh?_mkUriSafe(_fromUint8Array(s)):_fromUint8Array(s),cb_utob=s=>{if(s.length<2){var h=s.charCodeAt(0);return h<128?s:h<2048?_fromCC(192|h>>>6)+_fromCC(128|h&63):_fromCC(224|h>>>12&15)+_fromCC(128|h>>>6&63)+_fromCC(128|h&63)}else{var h=65536+(s.charCodeAt(0)-55296)*1024+(s.charCodeAt(1)-56320);return _fromCC(240|h>>>18&7)+_fromCC(128|h>>>12&63)+_fromCC(128|h>>>6&63)+_fromCC(128|h&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=s=>s.replace(re_utob,cb_utob),_encode=_hasBuffer?s=>Buffer.from(s,"utf8").toString("base64"):_TE?s=>_fromUint8Array(_TE.encode(s)):s=>_btoa(utob(s)),encode=(s,h=!1)=>h?_mkUriSafe(_encode(s)):_encode(s),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=s=>{switch(s.length){case 4:var h=(7&s.charCodeAt(0))<<18|(63&s.charCodeAt(1))<<12|(63&s.charCodeAt(2))<<6|63&s.charCodeAt(3),c=h-65536;return _fromCC((c>>>10)+55296)+_fromCC((c&1023)+56320);case 3:return _fromCC((15&s.charCodeAt(0))<<12|(63&s.charCodeAt(1))<<6|63&s.charCodeAt(2));default:return _fromCC((31&s.charCodeAt(0))<<6|63&s.charCodeAt(1))}},btou=s=>s.replace(re_btou,cb_btou),atobPolyfill=s=>{if(s=s.replace(/\s+/g,""),!b64re.test(s))throw new TypeError("malformed base64.");s+="==".slice(2-(s.length&3));let h,c="",d,f;for(let v=0;v>16&255):f===64?_fromCC(h>>16&255,h>>8&255):_fromCC(h>>16&255,h>>8&255,h&255);return c},_atob=_hasatob?s=>atob(_tidyB64(s)):_hasBuffer?s=>Buffer.from(s,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?s=>_U8Afrom(Buffer.from(s,"base64")):s=>_U8Afrom(_atob(s),h=>h.charCodeAt(0)),toUint8Array=s=>_toUint8Array(_unURI(s)),_decode=_hasBuffer?s=>Buffer.from(s,"base64").toString("utf8"):_TD?s=>_TD.decode(_toUint8Array(s)):s=>btou(_atob(s)),_unURI=s=>_tidyB64(s.replace(/[-_]/g,h=>h=="-"?"+":"/")),decode=s=>_decode(_unURI(s));var initEditor=s=>{s.languages.register({id:"mermaid"});const h=["requirement","functionalRequirement","interfaceRequirement","performanceRequirement","physicalRequirement","designConstraint"],c={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:h.concat("element"),keywords:[]},gitGraph:{typeKeywords:["gitGraph"],blockKeywords:[],keywords:["commit","branch","merge","reset","checkout","LR","BT"]},pie:{typeKeywords:["pie"],blockKeywords:[],keywords:["title","showData"]}};s.languages.setMonarchTokensProvider("mermaid",Object.assign(Object.assign({},Object.entries(c).map(d=>Object.fromEntries(Object.entries(d[1]).map(f=>[d[0]+f[0][0].toUpperCase()+f[0].slice(1),f[1]]))).reduce((d,f)=>Object.assign(Object.assign({},d),f),{})),{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"]]}})),s.editor.defineTheme("mermaid-dark",{base:"vs-dark",inherit:!0,colors:{},rules:[{token:"typeKeyword",foreground:"9650c8",fontStyle:"bold"},{token:"transition",foreground:"008800",fontStyle:"bold"}]}),s.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"}]}),s.languages.registerCompletionItemProvider("mermaid",{provideCompletionItems:()=>({suggestions:[{label:"loop",kind:s.languages.CompletionItemKind.Snippet,insertText:["loop ${1:Loop text}"," $0","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Sequence Diagram Loops"},{label:"alt",kind:s.languages.CompletionItemKind.Snippet,insertText:["alt ${1:Describing text}"," $0","else"," ","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Alternative Path"},{label:"opt",kind:s.languages.CompletionItemKind.Snippet,insertText:["opt ${1:Describing text}"," $0","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Optional Path"},{label:"par",kind:s.languages.CompletionItemKind.Snippet,insertText:["par ${1:[Action 1]}"," $0","and ${2:[Action 2]}"," ","and ${3:[Action 3]}"," ","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Parallel Actions"},{label:"rect",kind:s.languages.CompletionItemKind.Snippet,insertText:["rect ${1:rgb(0, 255, 0)}"," $0","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Background Color"},{label:"subgraph",kind:s.languages.CompletionItemKind.Snippet,insertText:["subgraph ${1:title}"," $0","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Subgraph"},{label:"class",kind:s.languages.CompletionItemKind.Snippet,insertText:["class ${1:className} {"," $0","}"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Class"},{label:"state",kind:s.languages.CompletionItemKind.Snippet,insertText:["state ${1:stateName} {"," $0","}"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"State"},{label:"note",kind:s.languages.CompletionItemKind.Snippet,insertText:["note ${1:right of State1}"," $0","end note"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"State"},{label:"section",kind:s.languages.CompletionItemKind.Snippet,insertText:["section ${1:Go to work}"," $0"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"User-journey Section"},{label:"element",kind:s.languages.CompletionItemKind.Snippet,insertText:["element ${1:test_entity} {"," $0","}"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Requirement Diagram Element"},{label:"options",kind:s.languages.CompletionItemKind.Snippet,insertText:["options","{"," $0","}","end"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:"Git Graph Options"},...h.map(f=>({label:f,kind:s.languages.CompletionItemKind.Snippet,insertText:[f+" ${1:test_req} {"," id: 1"," text: the test text."," risk: high"," verifyMethod: test","}"].join(` +`),insertTextRules:s.languages.CompletionItemInsertTextRule.InsertAsSnippet,documentation:f.split(/(?=[A-Z])/).map(v=>v[0].toUpperCase()+v.slice(1)).join(" ")})),...[...new Set(Object.values(c).map(f=>Object.entries(f).filter(v=>v[0]!=="annotations").map(v=>v[1])).flat(2))].map(f=>({label:f,kind:s.languages.CompletionItemKind.Keyword,insertText:f}))]})}),s.languages.setLanguageConfiguration("mermaid",{autoClosingPairs:[{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"}],brackets:[["(",")"],["{","}"],["[","]"]],comments:{lineComment:"%%"}})};const version="8.14.0";function cubicOut(s){const h=s-1;return h*h*h+1}function fade(s,{delay:h=0,duration:c=400,easing:d=identity}={}){const f=+getComputedStyle(s).opacity;return{delay:h,duration:c,easing:d,css:v=>`opacity: ${v*f}`}}function slide(s,{delay:h=0,duration:c=400,easing:d=cubicOut}={}){const f=getComputedStyle(s),v=+f.opacity,_=parseFloat(f.height),T=parseFloat(f.paddingTop),C=parseFloat(f.paddingBottom),A=parseFloat(f.marginTop),L=parseFloat(f.marginBottom),B=parseFloat(f.borderTopWidth),Y=parseFloat(f.borderBottomWidth);return{delay:h,duration:c,easing:d,css:z=>`overflow: hidden;opacity: ${Math.min(z*20,1)*v};height: ${z*_}px;padding-top: ${z*T}px;padding-bottom: ${z*C}px;margin-top: ${z*A}px;margin-bottom: ${z*L}px;border-top-width: ${z*B}px;border-bottom-width: ${z*Y}px;`}}//! moment.js +//! version : 2.29.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +var hookCallback;function hooks(){return hookCallback.apply(null,arguments)}function setHookCallback(s){hookCallback=s}function isArray(s){return s instanceof Array||Object.prototype.toString.call(s)==="[object Array]"}function isObject(s){return s!=null&&Object.prototype.toString.call(s)==="[object Object]"}function hasOwnProp(s,h){return Object.prototype.hasOwnProperty.call(s,h)}function isObjectEmpty(s){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(s).length===0;var h;for(h in s)if(hasOwnProp(s,h))return!1;return!0}function isUndefined(s){return s===void 0}function isNumber(s){return typeof s=="number"||Object.prototype.toString.call(s)==="[object Number]"}function isDate(s){return s instanceof Date||Object.prototype.toString.call(s)==="[object Date]"}function map(s,h){var c=[],d;for(d=0;d>>0,d;for(d=0;d0)for(c=0;c=0;return(v?c?"+":"":"-")+Math.pow(10,Math.max(0,f)).toString().substr(1)+d}var formattingTokens=/(\[[^\[]*\])|(\\)?([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,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(s,h,c,d){var f=d;typeof d=="string"&&(f=function(){return this[d]()}),s&&(formatTokenFunctions[s]=f),h&&(formatTokenFunctions[h[0]]=function(){return zeroFill(f.apply(this,arguments),h[1],h[2])}),c&&(formatTokenFunctions[c]=function(){return this.localeData().ordinal(f.apply(this,arguments),s)})}function removeFormattingTokens(s){return s.match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"")}function makeFormatFunction(s){var h=s.match(formattingTokens),c,d;for(c=0,d=h.length;c=0&&localFormattingTokens.test(s);)s=s.replace(localFormattingTokens,d),localFormattingTokens.lastIndex=0,c-=1;return s}var defaultLongDateFormat={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 longDateFormat(s){var h=this._longDateFormat[s],c=this._longDateFormat[s.toUpperCase()];return h||!c?h:(this._longDateFormat[s]=c.match(formattingTokens).map(function(d){return d==="MMMM"||d==="MM"||d==="DD"||d==="dddd"?d.slice(1):d}).join(""),this._longDateFormat[s])}var defaultInvalidDate="Invalid date";function invalidDate(){return this._invalidDate}var defaultOrdinal="%d",defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(s){return this._ordinal.replace("%d",s)}var defaultRelativeTime={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 relativeTime(s,h,c,d){var f=this._relativeTime[c];return isFunction(f)?f(s,h,c,d):f.replace(/%d/i,s)}function pastFuture(s,h){var c=this._relativeTime[s>0?"future":"past"];return isFunction(c)?c(h):c.replace(/%s/i,h)}var aliases={};function addUnitAlias(s,h){var c=s.toLowerCase();aliases[c]=aliases[c+"s"]=aliases[h]=s}function normalizeUnits(s){return typeof s=="string"?aliases[s]||aliases[s.toLowerCase()]:void 0}function normalizeObjectUnits(s){var h={},c,d;for(d in s)hasOwnProp(s,d)&&(c=normalizeUnits(d),c&&(h[c]=s[d]));return h}var priorities={};function addUnitPriority(s,h){priorities[s]=h}function getPrioritizedUnits(s){var h=[],c;for(c in s)hasOwnProp(s,c)&&h.push({unit:c,priority:priorities[c]});return h.sort(function(d,f){return d.priority-f.priority}),h}function isLeapYear(s){return s%4===0&&s%100!==0||s%400===0}function absFloor(s){return s<0?Math.ceil(s)||0:Math.floor(s)}function toInt(s){var h=+s,c=0;return h!==0&&isFinite(h)&&(c=absFloor(h)),c}function makeGetSet(s,h){return function(c){return c!=null?(set$1(this,s,c),hooks.updateOffset(this,h),this):get(this,s)}}function get(s,h){return s.isValid()?s._d["get"+(s._isUTC?"UTC":"")+h]():NaN}function set$1(s,h,c){s.isValid()&&!isNaN(c)&&(h==="FullYear"&&isLeapYear(s.year())&&s.month()===1&&s.date()===29?(c=toInt(c),s._d["set"+(s._isUTC?"UTC":"")+h](c,s.month(),daysInMonth(c,s.month()))):s._d["set"+(s._isUTC?"UTC":"")+h](c))}function stringGet(s){return s=normalizeUnits(s),isFunction(this[s])?this[s]():this}function stringSet(s,h){if(typeof s=="object"){s=normalizeObjectUnits(s);var c=getPrioritizedUnits(s),d;for(d=0;d68?1900:2e3)};var getSetYear=makeGetSet("FullYear",!0);function getIsLeapYear(){return isLeapYear(this.year())}function createDate(s,h,c,d,f,v,_){var T;return s<100&&s>=0?(T=new Date(s+400,h,c,d,f,v,_),isFinite(T.getFullYear())&&T.setFullYear(s)):T=new Date(s,h,c,d,f,v,_),T}function createUTCDate(s){var h,c;return s<100&&s>=0?(c=Array.prototype.slice.call(arguments),c[0]=s+400,h=new Date(Date.UTC.apply(null,c)),isFinite(h.getUTCFullYear())&&h.setUTCFullYear(s)):h=new Date(Date.UTC.apply(null,arguments)),h}function firstWeekOffset(s,h,c){var d=7+h-c,f=(7+createUTCDate(s,0,d).getUTCDay()-h)%7;return-f+d-1}function dayOfYearFromWeeks(s,h,c,d,f){var v=(7+c-d)%7,_=firstWeekOffset(s,d,f),T=1+7*(h-1)+v+_,C,A;return T<=0?(C=s-1,A=daysInYear(C)+T):T>daysInYear(s)?(C=s+1,A=T-daysInYear(s)):(C=s,A=T),{year:C,dayOfYear:A}}function weekOfYear(s,h,c){var d=firstWeekOffset(s.year(),h,c),f=Math.floor((s.dayOfYear()-d-1)/7)+1,v,_;return f<1?(_=s.year()-1,v=f+weeksInYear(_,h,c)):f>weeksInYear(s.year(),h,c)?(v=f-weeksInYear(s.year(),h,c),_=s.year()+1):(_=s.year(),v=f),{week:v,year:_}}function weeksInYear(s,h,c){var d=firstWeekOffset(s,h,c),f=firstWeekOffset(s+1,h,c);return(daysInYear(s)-d+f)/7}addFormatToken("w",["ww",2],"wo","week");addFormatToken("W",["WW",2],"Wo","isoWeek");addUnitAlias("week","w");addUnitAlias("isoWeek","W");addUnitPriority("week",5);addUnitPriority("isoWeek",5);addRegexToken("w",match1to2);addRegexToken("ww",match1to2,match2);addRegexToken("W",match1to2);addRegexToken("WW",match1to2,match2);addWeekParseToken(["w","ww","W","WW"],function(s,h,c,d){h[d.substr(0,1)]=toInt(s)});function localeWeek(s){return weekOfYear(s,this._week.dow,this._week.doy).week}var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(s){var h=this.localeData().week(this);return s==null?h:this.add((s-h)*7,"d")}function getSetISOWeek(s){var h=weekOfYear(this,1,4).week;return s==null?h:this.add((s-h)*7,"d")}addFormatToken("d",0,"do","day");addFormatToken("dd",0,0,function(s){return this.localeData().weekdaysMin(this,s)});addFormatToken("ddd",0,0,function(s){return this.localeData().weekdaysShort(this,s)});addFormatToken("dddd",0,0,function(s){return this.localeData().weekdays(this,s)});addFormatToken("e",0,0,"weekday");addFormatToken("E",0,0,"isoWeekday");addUnitAlias("day","d");addUnitAlias("weekday","e");addUnitAlias("isoWeekday","E");addUnitPriority("day",11);addUnitPriority("weekday",11);addUnitPriority("isoWeekday",11);addRegexToken("d",match1to2);addRegexToken("e",match1to2);addRegexToken("E",match1to2);addRegexToken("dd",function(s,h){return h.weekdaysMinRegex(s)});addRegexToken("ddd",function(s,h){return h.weekdaysShortRegex(s)});addRegexToken("dddd",function(s,h){return h.weekdaysRegex(s)});addWeekParseToken(["dd","ddd","dddd"],function(s,h,c,d){var f=c._locale.weekdaysParse(s,d,c._strict);f!=null?h.d=f:getParsingFlags(c).invalidWeekday=s});addWeekParseToken(["d","e","E"],function(s,h,c,d){h[d]=toInt(s)});function parseWeekday(s,h){return typeof s!="string"?s:isNaN(s)?(s=h.weekdaysParse(s),typeof s=="number"?s:null):parseInt(s,10)}function parseIsoWeekday(s,h){return typeof s=="string"?h.weekdaysParse(s)%7||7:isNaN(s)?null:s}function shiftWeekdays(s,h){return s.slice(h,7).concat(s.slice(0,h))}var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(s,h){var c=isArray(this._weekdays)?this._weekdays:this._weekdays[s&&s!==!0&&this._weekdays.isFormat.test(h)?"format":"standalone"];return s===!0?shiftWeekdays(c,this._week.dow):s?c[s.day()]:c}function localeWeekdaysShort(s){return s===!0?shiftWeekdays(this._weekdaysShort,this._week.dow):s?this._weekdaysShort[s.day()]:this._weekdaysShort}function localeWeekdaysMin(s){return s===!0?shiftWeekdays(this._weekdaysMin,this._week.dow):s?this._weekdaysMin[s.day()]:this._weekdaysMin}function handleStrictParse$1(s,h,c){var d,f,v,_=s.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)v=createUTC([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(v,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(v,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(v,"").toLocaleLowerCase();return c?h==="dddd"?(f=indexOf.call(this._weekdaysParse,_),f!==-1?f:null):h==="ddd"?(f=indexOf.call(this._shortWeekdaysParse,_),f!==-1?f:null):(f=indexOf.call(this._minWeekdaysParse,_),f!==-1?f:null):h==="dddd"?(f=indexOf.call(this._weekdaysParse,_),f!==-1||(f=indexOf.call(this._shortWeekdaysParse,_),f!==-1)?f:(f=indexOf.call(this._minWeekdaysParse,_),f!==-1?f:null)):h==="ddd"?(f=indexOf.call(this._shortWeekdaysParse,_),f!==-1||(f=indexOf.call(this._weekdaysParse,_),f!==-1)?f:(f=indexOf.call(this._minWeekdaysParse,_),f!==-1?f:null)):(f=indexOf.call(this._minWeekdaysParse,_),f!==-1||(f=indexOf.call(this._weekdaysParse,_),f!==-1)?f:(f=indexOf.call(this._shortWeekdaysParse,_),f!==-1?f:null))}function localeWeekdaysParse(s,h,c){var d,f,v;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,s,h,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(f=createUTC([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(f,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(f,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(f,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[d]||(v="^"+this.weekdays(f,"")+"|^"+this.weekdaysShort(f,"")+"|^"+this.weekdaysMin(f,""),this._weekdaysParse[d]=new RegExp(v.replace(".",""),"i")),c&&h==="dddd"&&this._fullWeekdaysParse[d].test(s))return d;if(c&&h==="ddd"&&this._shortWeekdaysParse[d].test(s))return d;if(c&&h==="dd"&&this._minWeekdaysParse[d].test(s))return d;if(!c&&this._weekdaysParse[d].test(s))return d}}function getSetDayOfWeek(s){if(!this.isValid())return s!=null?this:NaN;var h=this._isUTC?this._d.getUTCDay():this._d.getDay();return s!=null?(s=parseWeekday(s,this.localeData()),this.add(s-h,"d")):h}function getSetLocaleDayOfWeek(s){if(!this.isValid())return s!=null?this:NaN;var h=(this.day()+7-this.localeData()._week.dow)%7;return s==null?h:this.add(s-h,"d")}function getSetISODayOfWeek(s){if(!this.isValid())return s!=null?this:NaN;if(s!=null){var h=parseIsoWeekday(s,this.localeData());return this.day(this.day()%7?h:h-7)}else return this.day()||7}function weekdaysRegex(s){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),s?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&s?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(s){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&s?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(s){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&s?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function s(L,B){return B.length-L.length}var h=[],c=[],d=[],f=[],v,_,T,C,A;for(v=0;v<7;v++)_=createUTC([2e3,1]).day(v),T=regexEscape(this.weekdaysMin(_,"")),C=regexEscape(this.weekdaysShort(_,"")),A=regexEscape(this.weekdays(_,"")),h.push(T),c.push(C),d.push(A),f.push(T),f.push(C),f.push(A);h.sort(s),c.sort(s),d.sort(s),f.sort(s),this._weekdaysRegex=new RegExp("^("+f.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken("H",["HH",2],0,"hour");addFormatToken("h",["hh",2],0,hFormat);addFormatToken("k",["kk",2],0,kFormat);addFormatToken("hmm",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)});addFormatToken("hmmss",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});addFormatToken("Hmm",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)});addFormatToken("Hmmss",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});function meridiem(s,h){addFormatToken(s,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),h)})}meridiem("a",!0);meridiem("A",!1);addUnitAlias("hour","h");addUnitPriority("hour",13);function matchMeridiem(s,h){return h._meridiemParse}addRegexToken("a",matchMeridiem);addRegexToken("A",matchMeridiem);addRegexToken("H",match1to2);addRegexToken("h",match1to2);addRegexToken("k",match1to2);addRegexToken("HH",match1to2,match2);addRegexToken("hh",match1to2,match2);addRegexToken("kk",match1to2,match2);addRegexToken("hmm",match3to4);addRegexToken("hmmss",match5to6);addRegexToken("Hmm",match3to4);addRegexToken("Hmmss",match5to6);addParseToken(["H","HH"],HOUR);addParseToken(["k","kk"],function(s,h,c){var d=toInt(s);h[HOUR]=d===24?0:d});addParseToken(["a","A"],function(s,h,c){c._isPm=c._locale.isPM(s),c._meridiem=s});addParseToken(["h","hh"],function(s,h,c){h[HOUR]=toInt(s),getParsingFlags(c).bigHour=!0});addParseToken("hmm",function(s,h,c){var d=s.length-2;h[HOUR]=toInt(s.substr(0,d)),h[MINUTE]=toInt(s.substr(d)),getParsingFlags(c).bigHour=!0});addParseToken("hmmss",function(s,h,c){var d=s.length-4,f=s.length-2;h[HOUR]=toInt(s.substr(0,d)),h[MINUTE]=toInt(s.substr(d,2)),h[SECOND]=toInt(s.substr(f)),getParsingFlags(c).bigHour=!0});addParseToken("Hmm",function(s,h,c){var d=s.length-2;h[HOUR]=toInt(s.substr(0,d)),h[MINUTE]=toInt(s.substr(d))});addParseToken("Hmmss",function(s,h,c){var d=s.length-4,f=s.length-2;h[HOUR]=toInt(s.substr(0,d)),h[MINUTE]=toInt(s.substr(d,2)),h[SECOND]=toInt(s.substr(f))});function localeIsPM(s){return(s+"").toLowerCase().charAt(0)==="p"}var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet("Hours",!0);function localeMeridiem(s,h,c){return s>11?c?"pm":"PM":c?"am":"AM"}var baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={},globalLocale;function commonPrefix(s,h){var c,d=Math.min(s.length,h.length);for(c=0;c0;){if(f=loadLocale(v.slice(0,c).join("-")),f)return f;if(d&&d.length>=c&&commonPrefix(v,d)>=c-1)break;c--}h++}return globalLocale}function loadLocale(s){var h=null,c;if(locales[s]===void 0&&typeof module!="undefined"&&module&&module.exports)try{h=globalLocale._abbr,c=require,c("./locale/"+s),getSetGlobalLocale(h)}catch{locales[s]=null}return locales[s]}function getSetGlobalLocale(s,h){var c;return s&&(isUndefined(h)?c=getLocale(s):c=defineLocale(s,h),c?globalLocale=c:typeof console!="undefined"&&console.warn&&console.warn("Locale "+s+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(s,h){if(h!==null){var c,d=baseConfig;if(h.abbr=s,locales[s]!=null)deprecateSimple("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."),d=locales[s]._config;else if(h.parentLocale!=null)if(locales[h.parentLocale]!=null)d=locales[h.parentLocale]._config;else if(c=loadLocale(h.parentLocale),c!=null)d=c._config;else return localeFamilies[h.parentLocale]||(localeFamilies[h.parentLocale]=[]),localeFamilies[h.parentLocale].push({name:s,config:h}),null;return locales[s]=new Locale(mergeConfigs(d,h)),localeFamilies[s]&&localeFamilies[s].forEach(function(f){defineLocale(f.name,f.config)}),getSetGlobalLocale(s),locales[s]}else return delete locales[s],null}function updateLocale(s,h){if(h!=null){var c,d,f=baseConfig;locales[s]!=null&&locales[s].parentLocale!=null?locales[s].set(mergeConfigs(locales[s]._config,h)):(d=loadLocale(s),d!=null&&(f=d._config),h=mergeConfigs(f,h),d==null&&(h.abbr=s),c=new Locale(h),c.parentLocale=locales[s],locales[s]=c),getSetGlobalLocale(s)}else locales[s]!=null&&(locales[s].parentLocale!=null?(locales[s]=locales[s].parentLocale,s===getSetGlobalLocale()&&getSetGlobalLocale(s)):locales[s]!=null&&delete locales[s]);return locales[s]}function getLocale(s){var h;if(s&&s._locale&&s._locale._abbr&&(s=s._locale._abbr),!s)return globalLocale;if(!isArray(s)){if(h=loadLocale(s),h)return h;s=[s]}return chooseLocale(s)}function listLocales(){return keys(locales)}function checkOverflow(s){var h,c=s._a;return c&&getParsingFlags(s).overflow===-2&&(h=c[MONTH]<0||c[MONTH]>11?MONTH:c[DATE]<1||c[DATE]>daysInMonth(c[YEAR],c[MONTH])?DATE:c[HOUR]<0||c[HOUR]>24||c[HOUR]===24&&(c[MINUTE]!==0||c[SECOND]!==0||c[MILLISECOND]!==0)?HOUR:c[MINUTE]<0||c[MINUTE]>59?MINUTE:c[SECOND]<0||c[SECOND]>59?SECOND:c[MILLISECOND]<0||c[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(s)._overflowDayOfYear&&(hDATE)&&(h=DATE),getParsingFlags(s)._overflowWeeks&&h===-1&&(h=WEEK),getParsingFlags(s)._overflowWeekday&&h===-1&&(h=WEEKDAY),getParsingFlags(s).overflow=h),s}var extendedIsoRegex=/^\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)?)?$/,basicIsoRegex=/^\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)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["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]],isoTimes=[["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/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(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}))$/,obsOffsets={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 configFromISO(s){var h,c,d=s._i,f=extendedIsoRegex.exec(d)||basicIsoRegex.exec(d),v,_,T,C;if(f){for(getParsingFlags(s).iso=!0,h=0,c=isoDates.length;hdaysInYear(_)||s._dayOfYear===0)&&(getParsingFlags(s)._overflowDayOfYear=!0),c=createUTCDate(_,0,s._dayOfYear),s._a[MONTH]=c.getUTCMonth(),s._a[DATE]=c.getUTCDate()),h=0;h<3&&s._a[h]==null;++h)s._a[h]=d[h]=f[h];for(;h<7;h++)s._a[h]=d[h]=s._a[h]==null?h===2?1:0:s._a[h];s._a[HOUR]===24&&s._a[MINUTE]===0&&s._a[SECOND]===0&&s._a[MILLISECOND]===0&&(s._nextDay=!0,s._a[HOUR]=0),s._d=(s._useUTC?createUTCDate:createDate).apply(null,d),v=s._useUTC?s._d.getUTCDay():s._d.getDay(),s._tzm!=null&&s._d.setUTCMinutes(s._d.getUTCMinutes()-s._tzm),s._nextDay&&(s._a[HOUR]=24),s._w&&typeof s._w.d!="undefined"&&s._w.d!==v&&(getParsingFlags(s).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(s){var h,c,d,f,v,_,T,C,A;h=s._w,h.GG!=null||h.W!=null||h.E!=null?(v=1,_=4,c=defaults(h.GG,s._a[YEAR],weekOfYear(createLocal(),1,4).year),d=defaults(h.W,1),f=defaults(h.E,1),(f<1||f>7)&&(C=!0)):(v=s._locale._week.dow,_=s._locale._week.doy,A=weekOfYear(createLocal(),v,_),c=defaults(h.gg,s._a[YEAR],A.year),d=defaults(h.w,A.week),h.d!=null?(f=h.d,(f<0||f>6)&&(C=!0)):h.e!=null?(f=h.e+v,(h.e<0||h.e>6)&&(C=!0)):f=v),d<1||d>weeksInYear(c,v,_)?getParsingFlags(s)._overflowWeeks=!0:C!=null?getParsingFlags(s)._overflowWeekday=!0:(T=dayOfYearFromWeeks(c,d,f,v,_),s._a[YEAR]=T.year,s._dayOfYear=T.dayOfYear)}hooks.ISO_8601=function(){};hooks.RFC_2822=function(){};function configFromStringAndFormat(s){if(s._f===hooks.ISO_8601){configFromISO(s);return}if(s._f===hooks.RFC_2822){configFromRFC2822(s);return}s._a=[],getParsingFlags(s).empty=!0;var h=""+s._i,c,d,f,v,_,T=h.length,C=0,A;for(f=expandFormat(s._f,s._locale).match(formattingTokens)||[],c=0;c0&&getParsingFlags(s).unusedInput.push(_),h=h.slice(h.indexOf(d)+d.length),C+=d.length),formatTokenFunctions[v]?(d?getParsingFlags(s).empty=!1:getParsingFlags(s).unusedTokens.push(v),addTimeToArrayFromToken(v,d,s)):s._strict&&!d&&getParsingFlags(s).unusedTokens.push(v);getParsingFlags(s).charsLeftOver=T-C,h.length>0&&getParsingFlags(s).unusedInput.push(h),s._a[HOUR]<=12&&getParsingFlags(s).bigHour===!0&&s._a[HOUR]>0&&(getParsingFlags(s).bigHour=void 0),getParsingFlags(s).parsedDateParts=s._a.slice(0),getParsingFlags(s).meridiem=s._meridiem,s._a[HOUR]=meridiemFixWrap(s._locale,s._a[HOUR],s._meridiem),A=getParsingFlags(s).era,A!==null&&(s._a[YEAR]=s._locale.erasConvertYear(A,s._a[YEAR])),configFromArray(s),checkOverflow(s)}function meridiemFixWrap(s,h,c){var d;return c==null?h:s.meridiemHour!=null?s.meridiemHour(h,c):(s.isPM!=null&&(d=s.isPM(c),d&&h<12&&(h+=12),!d&&h===12&&(h=0)),h)}function configFromStringAndArray(s){var h,c,d,f,v,_,T=!1;if(s._f.length===0){getParsingFlags(s).invalidFormat=!0,s._d=new Date(NaN);return}for(f=0;fthis?this:s:createInvalid()});function pickBy(s,h){var c,d;if(h.length===1&&isArray(h[0])&&(h=h[0]),!h.length)return createLocal();for(c=h[0],d=1;dthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var s={},h;return copyConfig(s,this),s=prepareConfig(s),s._a?(h=s._isUTC?createUTC(s._a):createLocal(s._a),this._isDSTShifted=this.isValid()&&compareArrays(s._a,h.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:!1}function isUtcOffset(){return this.isValid()?this._isUTC:!1}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(s,h){var c=s,d=null,f,v,_;return isDuration(s)?c={ms:s._milliseconds,d:s._days,M:s._months}:isNumber(s)||!isNaN(+s)?(c={},h?c[h]=+s:c.milliseconds=+s):(d=aspNetRegex.exec(s))?(f=d[1]==="-"?-1:1,c={y:0,d:toInt(d[DATE])*f,h:toInt(d[HOUR])*f,m:toInt(d[MINUTE])*f,s:toInt(d[SECOND])*f,ms:toInt(absRound(d[MILLISECOND]*1e3))*f}):(d=isoRegex.exec(s))?(f=d[1]==="-"?-1:1,c={y:parseIso(d[2],f),M:parseIso(d[3],f),w:parseIso(d[4],f),d:parseIso(d[5],f),h:parseIso(d[6],f),m:parseIso(d[7],f),s:parseIso(d[8],f)}):c==null?c={}:typeof c=="object"&&("from"in c||"to"in c)&&(_=momentsDifference(createLocal(c.from),createLocal(c.to)),c={},c.ms=_.milliseconds,c.M=_.months),v=new Duration(c),isDuration(s)&&hasOwnProp(s,"_locale")&&(v._locale=s._locale),isDuration(s)&&hasOwnProp(s,"_isValid")&&(v._isValid=s._isValid),v}createDuration.fn=Duration.prototype;createDuration.invalid=createInvalid$1;function parseIso(s,h){var c=s&&parseFloat(s.replace(",","."));return(isNaN(c)?0:c)*h}function positiveMomentsDifference(s,h){var c={};return c.months=h.month()-s.month()+(h.year()-s.year())*12,s.clone().add(c.months,"M").isAfter(h)&&--c.months,c.milliseconds=+h-+s.clone().add(c.months,"M"),c}function momentsDifference(s,h){var c;return s.isValid()&&h.isValid()?(h=cloneWithOffset(h,s),s.isBefore(h)?c=positiveMomentsDifference(s,h):(c=positiveMomentsDifference(h,s),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function createAdder(s,h){return function(c,d){var f,v;return d!==null&&!isNaN(+d)&&(deprecateSimple(h,"moment()."+h+"(period, number) is deprecated. Please use moment()."+h+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),v=c,c=d,d=v),f=createDuration(c,d),addSubtract(this,f,s),this}}function addSubtract(s,h,c,d){var f=h._milliseconds,v=absRound(h._days),_=absRound(h._months);!s.isValid()||(d=d==null?!0:d,_&&setMonth(s,get(s,"Month")+_*c),v&&set$1(s,"Date",get(s,"Date")+v*c),f&&s._d.setTime(s._d.valueOf()+f*c),d&&hooks.updateOffset(s,v||_))}var add=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function isString(s){return typeof s=="string"||s instanceof String}function isMomentInput(s){return isMoment(s)||isDate(s)||isString(s)||isNumber(s)||isNumberOrStringArray(s)||isMomentInputObject(s)||s===null||s===void 0}function isMomentInputObject(s){var h=isObject(s)&&!isObjectEmpty(s),c=!1,d=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],f,v;for(f=0;fc.valueOf():c.valueOf()9999?formatMoment(c,h?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction(Date.prototype.toISOString)?h?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",formatMoment(c,"Z")):formatMoment(c,h?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var s="moment",h="",c,d,f,v;return this.isLocal()||(s=this.utcOffset()===0?"moment.utc":"moment.parseZone",h="Z"),c="["+s+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",f="-MM-DD[T]HH:mm:ss.SSS",v=h+'[")]',this.format(c+d+f+v)}function format(s){s||(s=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat);var h=formatMoment(this,s);return this.localeData().postformat(h)}function from(s,h){return this.isValid()&&(isMoment(s)&&s.isValid()||createLocal(s).isValid())?createDuration({to:this,from:s}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function fromNow(s){return this.from(createLocal(),s)}function to(s,h){return this.isValid()&&(isMoment(s)&&s.isValid()||createLocal(s).isValid())?createDuration({from:this,to:s}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()}function toNow(s){return this.to(createLocal(),s)}function locale(s){var h;return s===void 0?this._locale._abbr:(h=getLocale(s),h!=null&&(this._locale=h),this)}var lang=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(s){return s===void 0?this.localeData():this.locale(s)});function localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=(365*400+97)*24*MS_PER_HOUR;function mod$1(s,h){return(s%h+h)%h}function localStartOfDate(s,h,c){return s<100&&s>=0?new Date(s+400,h,c)-MS_PER_400_YEARS:new Date(s,h,c).valueOf()}function utcStartOfDate(s,h,c){return s<100&&s>=0?Date.UTC(s+400,h,c)-MS_PER_400_YEARS:Date.UTC(s,h,c)}function startOf(s){var h,c;if(s=normalizeUnits(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?utcStartOfDate:localStartOfDate,s){case"year":h=c(this.year(),0,1);break;case"quarter":h=c(this.year(),this.month()-this.month()%3,1);break;case"month":h=c(this.year(),this.month(),1);break;case"week":h=c(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":h=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":h=c(this.year(),this.month(),this.date());break;case"hour":h=this._d.valueOf(),h-=mod$1(h+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":h=this._d.valueOf(),h-=mod$1(h,MS_PER_MINUTE);break;case"second":h=this._d.valueOf(),h-=mod$1(h,MS_PER_SECOND);break}return this._d.setTime(h),hooks.updateOffset(this,!0),this}function endOf(s){var h,c;if(s=normalizeUnits(s),s===void 0||s==="millisecond"||!this.isValid())return this;switch(c=this._isUTC?utcStartOfDate:localStartOfDate,s){case"year":h=c(this.year()+1,0,1)-1;break;case"quarter":h=c(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":h=c(this.year(),this.month()+1,1)-1;break;case"week":h=c(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":h=c(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":h=c(this.year(),this.month(),this.date()+1)-1;break;case"hour":h=this._d.valueOf(),h+=MS_PER_HOUR-mod$1(h+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":h=this._d.valueOf(),h+=MS_PER_MINUTE-mod$1(h,MS_PER_MINUTE)-1;break;case"second":h=this._d.valueOf(),h+=MS_PER_SECOND-mod$1(h,MS_PER_SECOND)-1;break}return this._d.setTime(h),hooks.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var s=this;return[s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond()]}function toObject(){var s=this;return{years:s.year(),months:s.month(),date:s.date(),hours:s.hours(),minutes:s.minutes(),seconds:s.seconds(),milliseconds:s.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken("N",0,0,"eraAbbr");addFormatToken("NN",0,0,"eraAbbr");addFormatToken("NNN",0,0,"eraAbbr");addFormatToken("NNNN",0,0,"eraName");addFormatToken("NNNNN",0,0,"eraNarrow");addFormatToken("y",["y",1],"yo","eraYear");addFormatToken("y",["yy",2],0,"eraYear");addFormatToken("y",["yyy",3],0,"eraYear");addFormatToken("y",["yyyy",4],0,"eraYear");addRegexToken("N",matchEraAbbr);addRegexToken("NN",matchEraAbbr);addRegexToken("NNN",matchEraAbbr);addRegexToken("NNNN",matchEraName);addRegexToken("NNNNN",matchEraNarrow);addParseToken(["N","NN","NNN","NNNN","NNNNN"],function(s,h,c,d){var f=c._locale.erasParse(s,d,c._strict);f?getParsingFlags(c).era=f:getParsingFlags(c).invalidEra=s});addRegexToken("y",matchUnsigned);addRegexToken("yy",matchUnsigned);addRegexToken("yyy",matchUnsigned);addRegexToken("yyyy",matchUnsigned);addRegexToken("yo",matchEraYearOrdinal);addParseToken(["y","yy","yyy","yyyy"],YEAR);addParseToken(["yo"],function(s,h,c,d){var f;c._locale._eraYearOrdinalRegex&&(f=s.match(c._locale._eraYearOrdinalRegex)),c._locale.eraYearOrdinalParse?h[YEAR]=c._locale.eraYearOrdinalParse(s,f):h[YEAR]=parseInt(s,10)});function localeEras(s,h){var c,d,f,v=this._eras||getLocale("en")._eras;for(c=0,d=v.length;c=0)return v[d]}function localeErasConvertYear(s,h){var c=s.since<=s.until?1:-1;return h===void 0?hooks(s.since).year():hooks(s.since).year()+(h-s.offset)*c}function getEraName(){var s,h,c,d=this.localeData().eras();for(s=0,h=d.length;sv&&(h=v),setWeekAll.call(this,s,h,c,d,f))}function setWeekAll(s,h,c,d,f){var v=dayOfYearFromWeeks(s,h,c,d,f),_=createUTCDate(v.year,0,v.dayOfYear);return this.year(_.getUTCFullYear()),this.month(_.getUTCMonth()),this.date(_.getUTCDate()),this}addFormatToken("Q",0,"Qo","quarter");addUnitAlias("quarter","Q");addUnitPriority("quarter",7);addRegexToken("Q",match1);addParseToken("Q",function(s,h){h[MONTH]=(toInt(s)-1)*3});function getSetQuarter(s){return s==null?Math.ceil((this.month()+1)/3):this.month((s-1)*3+this.month()%3)}addFormatToken("D",["DD",2],"Do","date");addUnitAlias("date","D");addUnitPriority("date",9);addRegexToken("D",match1to2);addRegexToken("DD",match1to2,match2);addRegexToken("Do",function(s,h){return s?h._dayOfMonthOrdinalParse||h._ordinalParse:h._dayOfMonthOrdinalParseLenient});addParseToken(["D","DD"],DATE);addParseToken("Do",function(s,h){h[DATE]=toInt(s.match(match1to2)[0])});var getSetDayOfMonth=makeGetSet("Date",!0);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear");addUnitAlias("dayOfYear","DDD");addUnitPriority("dayOfYear",4);addRegexToken("DDD",match1to3);addRegexToken("DDDD",match3);addParseToken(["DDD","DDDD"],function(s,h,c){c._dayOfYear=toInt(s)});function getSetDayOfYear(s){var h=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return s==null?h:this.add(s-h,"d")}addFormatToken("m",["mm",2],0,"minute");addUnitAlias("minute","m");addUnitPriority("minute",14);addRegexToken("m",match1to2);addRegexToken("mm",match1to2,match2);addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second");addUnitAlias("second","s");addUnitPriority("second",15);addRegexToken("s",match1to2);addRegexToken("ss",match1to2,match2);addParseToken(["s","ss"],SECOND);var getSetSecond=makeGetSet("Seconds",!1);addFormatToken("S",0,0,function(){return~~(this.millisecond()/100)});addFormatToken(0,["SS",2],0,function(){return~~(this.millisecond()/10)});addFormatToken(0,["SSS",3],0,"millisecond");addFormatToken(0,["SSSS",4],0,function(){return this.millisecond()*10});addFormatToken(0,["SSSSS",5],0,function(){return this.millisecond()*100});addFormatToken(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});addFormatToken(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});addFormatToken(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});addFormatToken(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});addUnitAlias("millisecond","ms");addUnitPriority("millisecond",16);addRegexToken("S",match1to3,match1);addRegexToken("SS",match1to3,match2);addRegexToken("SSS",match1to3,match3);var token,getSetMillisecond;for(token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(s,h){h[MILLISECOND]=toInt(("0."+s)*1e3)}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);getSetMillisecond=makeGetSet("Milliseconds",!1);addFormatToken("z",0,0,"zoneAbbr");addFormatToken("zz",0,0,"zoneName");function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}var proto=Moment.prototype;proto.add=add;proto.calendar=calendar$1;proto.clone=clone;proto.diff=diff;proto.endOf=endOf;proto.format=format;proto.from=from;proto.fromNow=fromNow;proto.to=to;proto.toNow=toNow;proto.get=stringGet;proto.invalidAt=invalidAt;proto.isAfter=isAfter;proto.isBefore=isBefore;proto.isBetween=isBetween;proto.isSame=isSame;proto.isSameOrAfter=isSameOrAfter;proto.isSameOrBefore=isSameOrBefore;proto.isValid=isValid$2;proto.lang=lang;proto.locale=locale;proto.localeData=localeData;proto.max=prototypeMax;proto.min=prototypeMin;proto.parsingFlags=parsingFlags;proto.set=stringSet;proto.startOf=startOf;proto.subtract=subtract;proto.toArray=toArray;proto.toObject=toObject;proto.toDate=toDate;proto.toISOString=toISOString;proto.inspect=inspect;typeof Symbol!="undefined"&&Symbol.for!=null&&(proto[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});proto.toJSON=toJSON;proto.toString=toString;proto.unix=unix;proto.valueOf=valueOf;proto.creationData=creationData;proto.eraName=getEraName;proto.eraNarrow=getEraNarrow;proto.eraAbbr=getEraAbbr;proto.eraYear=getEraYear;proto.year=getSetYear;proto.isLeapYear=getIsLeapYear;proto.weekYear=getSetWeekYear;proto.isoWeekYear=getSetISOWeekYear;proto.quarter=proto.quarters=getSetQuarter;proto.month=getSetMonth;proto.daysInMonth=getDaysInMonth;proto.week=proto.weeks=getSetWeek;proto.isoWeek=proto.isoWeeks=getSetISOWeek;proto.weeksInYear=getWeeksInYear;proto.weeksInWeekYear=getWeeksInWeekYear;proto.isoWeeksInYear=getISOWeeksInYear;proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear;proto.date=getSetDayOfMonth;proto.day=proto.days=getSetDayOfWeek;proto.weekday=getSetLocaleDayOfWeek;proto.isoWeekday=getSetISODayOfWeek;proto.dayOfYear=getSetDayOfYear;proto.hour=proto.hours=getSetHour;proto.minute=proto.minutes=getSetMinute;proto.second=proto.seconds=getSetSecond;proto.millisecond=proto.milliseconds=getSetMillisecond;proto.utcOffset=getSetOffset;proto.utc=setOffsetToUTC;proto.local=setOffsetToLocal;proto.parseZone=setOffsetToParsedOffset;proto.hasAlignedHourOffset=hasAlignedHourOffset;proto.isDST=isDaylightSavingTime;proto.isLocal=isLocal;proto.isUtcOffset=isUtcOffset;proto.isUtc=isUtc;proto.isUTC=isUtc;proto.zoneAbbr=getZoneAbbr;proto.zoneName=getZoneName;proto.dates=deprecate("dates accessor is deprecated. Use date instead.",getSetDayOfMonth);proto.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth);proto.years=deprecate("years accessor is deprecated. Use year instead",getSetYear);proto.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone);proto.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);function createUnix(s){return createLocal(s*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(s){return s}var proto$1=Locale.prototype;proto$1.calendar=calendar;proto$1.longDateFormat=longDateFormat;proto$1.invalidDate=invalidDate;proto$1.ordinal=ordinal;proto$1.preparse=preParsePostFormat;proto$1.postformat=preParsePostFormat;proto$1.relativeTime=relativeTime;proto$1.pastFuture=pastFuture;proto$1.set=set;proto$1.eras=localeEras;proto$1.erasParse=localeErasParse;proto$1.erasConvertYear=localeErasConvertYear;proto$1.erasAbbrRegex=erasAbbrRegex;proto$1.erasNameRegex=erasNameRegex;proto$1.erasNarrowRegex=erasNarrowRegex;proto$1.months=localeMonths;proto$1.monthsShort=localeMonthsShort;proto$1.monthsParse=localeMonthsParse;proto$1.monthsRegex=monthsRegex;proto$1.monthsShortRegex=monthsShortRegex;proto$1.week=localeWeek;proto$1.firstDayOfYear=localeFirstDayOfYear;proto$1.firstDayOfWeek=localeFirstDayOfWeek;proto$1.weekdays=localeWeekdays;proto$1.weekdaysMin=localeWeekdaysMin;proto$1.weekdaysShort=localeWeekdaysShort;proto$1.weekdaysParse=localeWeekdaysParse;proto$1.weekdaysRegex=weekdaysRegex;proto$1.weekdaysShortRegex=weekdaysShortRegex;proto$1.weekdaysMinRegex=weekdaysMinRegex;proto$1.isPM=localeIsPM;proto$1.meridiem=localeMeridiem;function get$1(s,h,c,d){var f=getLocale(),v=createUTC().set(d,h);return f[c](v,s)}function listMonthsImpl(s,h,c){if(isNumber(s)&&(h=s,s=void 0),s=s||"",h!=null)return get$1(s,h,c,"month");var d,f=[];for(d=0;d<12;d++)f[d]=get$1(s,d,c,"month");return f}function listWeekdaysImpl(s,h,c,d){typeof s=="boolean"?(isNumber(h)&&(c=h,h=void 0),h=h||""):(h=s,c=h,s=!1,isNumber(h)&&(c=h,h=void 0),h=h||"");var f=getLocale(),v=s?f._week.dow:0,_,T=[];if(c!=null)return get$1(h,(c+v)%7,d,"day");for(_=0;_<7;_++)T[_]=get$1(h,(_+v)%7,d,"day");return T}function listMonths(s,h){return listMonthsImpl(s,h,"months")}function listMonthsShort(s,h){return listMonthsImpl(s,h,"monthsShort")}function listWeekdays(s,h,c){return listWeekdaysImpl(s,h,c,"weekdays")}function listWeekdaysShort(s,h,c){return listWeekdaysImpl(s,h,c,"weekdaysShort")}function listWeekdaysMin(s,h,c){return listWeekdaysImpl(s,h,c,"weekdaysMin")}getSetGlobalLocale("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(s){var h=s%10,c=toInt(s%100/10)===1?"th":h===1?"st":h===2?"nd":h===3?"rd":"th";return s+c}});hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale);hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function abs(){var s=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),s.milliseconds=mathAbs(s.milliseconds),s.seconds=mathAbs(s.seconds),s.minutes=mathAbs(s.minutes),s.hours=mathAbs(s.hours),s.months=mathAbs(s.months),s.years=mathAbs(s.years),this}function addSubtract$1(s,h,c,d){var f=createDuration(h,c);return s._milliseconds+=d*f._milliseconds,s._days+=d*f._days,s._months+=d*f._months,s._bubble()}function add$1(s,h){return addSubtract$1(this,s,h,1)}function subtract$1(s,h){return addSubtract$1(this,s,h,-1)}function absCeil(s){return s<0?Math.floor(s):Math.ceil(s)}function bubble(){var s=this._milliseconds,h=this._days,c=this._months,d=this._data,f,v,_,T,C;return s>=0&&h>=0&&c>=0||s<=0&&h<=0&&c<=0||(s+=absCeil(monthsToDays(c)+h)*864e5,h=0,c=0),d.milliseconds=s%1e3,f=absFloor(s/1e3),d.seconds=f%60,v=absFloor(f/60),d.minutes=v%60,_=absFloor(v/60),d.hours=_%24,h+=absFloor(_/24),C=absFloor(daysToMonths(h)),c+=C,h-=absCeil(monthsToDays(C)),T=absFloor(c/12),c%=12,d.days=h,d.months=c,d.years=T,this}function daysToMonths(s){return s*4800/146097}function monthsToDays(s){return s*146097/4800}function as(s){if(!this.isValid())return NaN;var h,c,d=this._milliseconds;if(s=normalizeUnits(s),s==="month"||s==="quarter"||s==="year")switch(h=this._days+d/864e5,c=this._months+daysToMonths(h),s){case"month":return c;case"quarter":return c/3;case"year":return c/12}else switch(h=this._days+Math.round(monthsToDays(this._months)),s){case"week":return h/7+d/6048e5;case"day":return h+d/864e5;case"hour":return h*24+d/36e5;case"minute":return h*1440+d/6e4;case"second":return h*86400+d/1e3;case"millisecond":return Math.floor(h*864e5)+d;default:throw new Error("Unknown unit "+s)}}function valueOf$1(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+toInt(this._months/12)*31536e6:NaN}function makeAs(s){return function(){return this.as(s)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y");function clone$1(){return createDuration(this)}function get$2(s){return s=normalizeUnits(s),this.isValid()?this[s+"s"]():NaN}function makeGetter(s){return function(){return this.isValid()?this._data[s]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(s,h,c,d,f){return f.relativeTime(h||1,!!c,s,d)}function relativeTime$1(s,h,c,d){var f=createDuration(s).abs(),v=round(f.as("s")),_=round(f.as("m")),T=round(f.as("h")),C=round(f.as("d")),A=round(f.as("M")),L=round(f.as("w")),B=round(f.as("y")),Y=v<=c.ss&&["s",v]||v0,Y[4]=d,substituteTimeAgo.apply(null,Y)}function getSetRelativeTimeRounding(s){return s===void 0?round:typeof s=="function"?(round=s,!0):!1}function getSetRelativeTimeThreshold(s,h){return thresholds[s]===void 0?!1:h===void 0?thresholds[s]:(thresholds[s]=h,s==="s"&&(thresholds.ss=h-1),!0)}function humanize(s,h){if(!this.isValid())return this.localeData().invalidDate();var c=!1,d=thresholds,f,v;return typeof s=="object"&&(h=s,s=!1),typeof s=="boolean"&&(c=s),typeof h=="object"&&(d=Object.assign({},thresholds,h),h.s!=null&&h.ss==null&&(d.ss=h.s-1)),f=this.localeData(),v=relativeTime$1(this,!c,d,f),c&&(v=f.pastFuture(+this,v)),f.postformat(v)}var abs$1=Math.abs;function sign(s){return(s>0)-(s<0)||+s}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var s=abs$1(this._milliseconds)/1e3,h=abs$1(this._days),c=abs$1(this._months),d,f,v,_,T=this.asSeconds(),C,A,L,B;return T?(d=absFloor(s/60),f=absFloor(d/60),s%=60,d%=60,v=absFloor(c/12),c%=12,_=s?s.toFixed(3).replace(/\.?0+$/,""):"",C=T<0?"-":"",A=sign(this._months)!==sign(T)?"-":"",L=sign(this._days)!==sign(T)?"-":"",B=sign(this._milliseconds)!==sign(T)?"-":"",C+"P"+(v?A+v+"Y":"")+(c?A+c+"M":"")+(h?L+h+"D":"")+(f||d||s?"T":"")+(f?B+f+"H":"")+(d?B+d+"M":"")+(s?B+_+"S":"")):"P0D"}var proto$2=Duration.prototype;proto$2.isValid=isValid$1;proto$2.abs=abs;proto$2.add=add$1;proto$2.subtract=subtract$1;proto$2.as=as;proto$2.asMilliseconds=asMilliseconds;proto$2.asSeconds=asSeconds;proto$2.asMinutes=asMinutes;proto$2.asHours=asHours;proto$2.asDays=asDays;proto$2.asWeeks=asWeeks;proto$2.asMonths=asMonths;proto$2.asQuarters=asQuarters;proto$2.asYears=asYears;proto$2.valueOf=valueOf$1;proto$2._bubble=bubble;proto$2.clone=clone$1;proto$2.get=get$2;proto$2.milliseconds=milliseconds;proto$2.seconds=seconds;proto$2.minutes=minutes;proto$2.hours=hours;proto$2.days=days;proto$2.weeks=weeks;proto$2.months=months;proto$2.years=years;proto$2.humanize=humanize;proto$2.toISOString=toISOString$1;proto$2.toString=toISOString$1;proto$2.toJSON=toISOString$1;proto$2.locale=locale;proto$2.localeData=localeData;proto$2.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1);proto$2.lang=lang;addFormatToken("X",0,0,"unix");addFormatToken("x",0,0,"valueOf");addRegexToken("x",matchSigned);addRegexToken("X",matchTimestamp);addParseToken("X",function(s,h,c){c._d=new Date(parseFloat(s)*1e3)});addParseToken("x",function(s,h,c){c._d=new Date(toInt(s))});//! moment.js +hooks.version="2.29.1";setHookCallback(createLocal);hooks.fn=proto;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=proto;hooks.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 t={1362:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(Wt,ie,dt,oe){for(dt=dt||{},oe=Wt.length;oe--;dt[Wt[oe]]=ie);return dt},v=[1,6],_=[1,7],T=[1,8],C=[1,9],A=[1,12],L=[1,11],B=[1,15,24],Y=[1,19],z=[1,31],q=[1,34],V=[1,32],X=[1,33],Q=[1,35],ot=[1,36],nt=[1,37],st=[1,38],ut=[1,41],At=[1,42],rt=[1,43],J=[1,44],pt=[15,24],xt=[1,56],wt=[1,57],gt=[1,58],bt=[1,59],Gt=[1,60],Bt=[1,61],we=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],_e=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],ge=[7,8,9,10,15,18,22,24],Ft=[47,77,78,79,80],Jt=[47,54,55,77,78,79,80],le=[47,50,51,52,53,77,78,79,80],pe=[15,24,31],be=[1,93],Pt={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(Wt,ie,dt,oe,Lt,te,Zt){var Rt=te.length-1;switch(Lt){case 4:oe.setDirection("TB");break;case 5:oe.setDirection("BT");break;case 6:oe.setDirection("RL");break;case 7:oe.setDirection("LR");break;case 11:oe.parseDirective("%%{","open_directive");break;case 12:oe.parseDirective(te[Rt],"type_directive");break;case 13:te[Rt]=te[Rt].trim().replace(/'/g,'"'),oe.parseDirective(te[Rt],"arg_directive");break;case 14:oe.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=te[Rt];break;case 21:this.$=te[Rt-1]+te[Rt];break;case 22:case 23:this.$=te[Rt-1]+"~"+te[Rt];break;case 24:oe.addRelation(te[Rt]);break;case 25:te[Rt-1].title=oe.cleanupLabel(te[Rt]),oe.addRelation(te[Rt-1]);break;case 33:oe.addClass(te[Rt]);break;case 34:oe.addClass(te[Rt-2]),oe.setCssClass(te[Rt-2],te[Rt]);break;case 35:oe.addClass(te[Rt-3]),oe.addMembers(te[Rt-3],te[Rt-1]);break;case 36:oe.addClass(te[Rt-5]),oe.setCssClass(te[Rt-5],te[Rt-3]),oe.addMembers(te[Rt-5],te[Rt-1]);break;case 37:oe.addAnnotation(te[Rt],te[Rt-2]);break;case 38:this.$=[te[Rt]];break;case 39:te[Rt].push(te[Rt-1]),this.$=te[Rt];break;case 40:case 42:case 43:break;case 41:oe.addMember(te[Rt-1],oe.cleanupLabel(te[Rt]));break;case 44:this.$={id1:te[Rt-2],id2:te[Rt],relation:te[Rt-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:te[Rt-3],id2:te[Rt],relation:te[Rt-1],relationTitle1:te[Rt-2],relationTitle2:"none"};break;case 46:this.$={id1:te[Rt-3],id2:te[Rt],relation:te[Rt-2],relationTitle1:"none",relationTitle2:te[Rt-1]};break;case 47:this.$={id1:te[Rt-4],id2:te[Rt],relation:te[Rt-2],relationTitle1:te[Rt-3],relationTitle2:te[Rt-1]};break;case 48:this.$={type1:te[Rt-2],type2:te[Rt],lineType:te[Rt-1]};break;case 49:this.$={type1:"none",type2:te[Rt],lineType:te[Rt-1]};break;case 50:this.$={type1:te[Rt-1],type2:"none",lineType:te[Rt]};break;case 51:this.$={type1:"none",type2:"none",lineType:te[Rt]};break;case 52:this.$=oe.relationType.AGGREGATION;break;case 53:this.$=oe.relationType.EXTENSION;break;case 54:this.$=oe.relationType.COMPOSITION;break;case 55:this.$=oe.relationType.DEPENDENCY;break;case 56:this.$=oe.lineType.LINE;break;case 57:this.$=oe.lineType.DOTTED_LINE;break;case 58:case 64:this.$=te[Rt-2],oe.setClickEvent(te[Rt-1],te[Rt]);break;case 59:case 65:this.$=te[Rt-3],oe.setClickEvent(te[Rt-2],te[Rt-1]),oe.setTooltip(te[Rt-2],te[Rt]);break;case 60:case 68:this.$=te[Rt-2],oe.setLink(te[Rt-1],te[Rt]);break;case 61:case 69:this.$=te[Rt-3],oe.setLink(te[Rt-2],te[Rt-1],te[Rt]);break;case 62:case 70:this.$=te[Rt-3],oe.setLink(te[Rt-2],te[Rt-1]),oe.setTooltip(te[Rt-2],te[Rt]);break;case 63:case 71:this.$=te[Rt-4],oe.setLink(te[Rt-3],te[Rt-2],te[Rt]),oe.setTooltip(te[Rt-3],te[Rt-1]);break;case 66:this.$=te[Rt-3],oe.setClickEvent(te[Rt-2],te[Rt-1],te[Rt]);break;case 67:this.$=te[Rt-4],oe.setClickEvent(te[Rt-3],te[Rt-2],te[Rt-1]),oe.setTooltip(te[Rt-3],te[Rt]);break;case 72:oe.setCssClass(te[Rt-1],te[Rt])}},table:[{3:1,4:2,5:3,6:4,7:v,8:_,9:T,10:C,11:5,12:10,18:A,22:L},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:v,8:_,9:T,10:C,11:5,12:10,18:A,22:L},{1:[2,8]},f(B,[2,4]),f(B,[2,5]),f(B,[2,6]),f(B,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:Y},f([16,21],[2,12]),{5:29,6:28,7:v,8:_,9:T,10:C,12:10,18:A,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:q,44:V,45:X,56:Q,57:ot,59:nt,63:st,77:ut,78:At,79:rt,80:J},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},f(pt,[2,24],{31:[1,50]}),f(pt,[2,26]),f(pt,[2,27]),f(pt,[2,28]),f(pt,[2,29]),f(pt,[2,30]),f(pt,[2,31]),f(pt,[2,32]),f(pt,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:xt,51:wt,52:gt,53:bt,54:Gt,55:Bt}),{26:62,27:39,28:40,77:ut,78:At,79:rt,80:J},f(pt,[2,42]),f(pt,[2,43]),{27:63,77:ut,78:At,79:rt},{26:64,27:39,28:40,77:ut,78:At,79:rt,80:J},{26:65,27:39,28:40,77:ut,78:At,79:rt,80:J},{26:66,27:39,28:40,77:ut,78:At,79:rt,80:J},{47:[1,67]},f(we,[2,19],{27:39,28:40,26:68,29:[1,69],77:ut,78:At,79:rt,80:J}),f(we,[2,20],{29:[1,70]}),f(_e,[2,86]),f(_e,[2,87]),f(_e,[2,88]),f([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),f(ge,[2,9]),{14:71,21:Y},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:v,8:_,9:T,10:C,12:10,18:A,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:q,44:V,45:X,56:Q,57:ot,59:nt,63:st,77:ut,78:At,79:rt,80:J},f(pt,[2,25]),{26:73,27:39,28:40,47:[1,74],77:ut,78:At,79:rt,80:J},{46:75,48:54,49:55,50:xt,51:wt,52:gt,53:bt,54:Gt,55:Bt},f(pt,[2,41]),{49:76,54:Gt,55:Bt},f(Ft,[2,51],{48:77,50:xt,51:wt,52:gt,53:bt}),f(Jt,[2,52]),f(Jt,[2,53]),f(Jt,[2,54]),f(Jt,[2,55]),f(le,[2,56]),f(le,[2,57]),f(pt,[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:At,79:rt},f(we,[2,21]),f(we,[2,22]),f(we,[2,23]),{15:[1,86]},{24:[2,18]},f(pe,[2,44]),{26:87,27:39,28:40,77:ut,78:At,79:rt,80:J},{26:88,27:39,28:40,47:[1,89],77:ut,78:At,79:rt,80:J},f(Ft,[2,50],{48:90,50:xt,51:wt,52:gt,53:bt}),f(Ft,[2,49]),{27:91,77:ut,78:At,79:rt},{40:92,44:be},{26:94,27:39,28:40,77:ut,78:At,79:rt,80:J},f(pt,[2,58],{47:[1,95]}),f(pt,[2,60],{47:[1,97],58:[1,96]}),f(pt,[2,64],{47:[1,98],61:[1,99]}),f(pt,[2,68],{47:[1,101],58:[1,100]}),f(pt,[2,72]),f(ge,[2,10]),f(pe,[2,46]),f(pe,[2,45]),{26:102,27:39,28:40,77:ut,78:At,79:rt,80:J},f(Ft,[2,48]),f(pt,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:be},f(pt,[2,37]),f(pt,[2,59]),f(pt,[2,61]),f(pt,[2,62],{58:[1,106]}),f(pt,[2,65]),f(pt,[2,66],{47:[1,107]}),f(pt,[2,69]),f(pt,[2,70],{58:[1,108]}),f(pe,[2,47]),{40:109,44:be},f(pt,[2,35]),{41:[2,39]},f(pt,[2,63]),f(pt,[2,67]),f(pt,[2,71]),{41:[1,110]},f(pt,[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(Wt,ie){if(!ie.recoverable){var dt=new Error(Wt);throw dt.hash=ie,dt}this.trace(Wt)},parse:function(Wt){var ie=this,dt=[0],oe=[],Lt=[null],te=[],Zt=this.table,Rt="",he=0,an=0,xe=0,Re=2,pn=1,Je=te.slice.call(arguments,1),Ue=Object.create(this.lexer),Oe={yy:{}};for(var on in this.yy)Object.prototype.hasOwnProperty.call(this.yy,on)&&(Oe.yy[on]=this.yy[on]);Ue.setInput(Wt,Oe.yy),Oe.yy.lexer=Ue,Oe.yy.parser=this,Ue.yylloc===void 0&&(Ue.yylloc={});var qe=Ue.yylloc;te.push(qe);var tn=Ue.options&&Ue.options.ranges;function en(){var Cn;return typeof(Cn=oe.pop()||Ue.lex()||pn)!="number"&&(Cn instanceof Array&&(Cn=(oe=Cn).pop()),Cn=ie.symbols_[Cn]||Cn),Cn}typeof Oe.yy.parseError=="function"?this.parseError=Oe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Pe,Hn,Ie,ln,xn,Br,kn,nr,fn,vn={};;){if(Ie=dt[dt.length-1],this.defaultActions[Ie]?ln=this.defaultActions[Ie]:(Pe==null&&(Pe=en()),ln=Zt[Ie]&&Zt[Ie][Pe]),ln===void 0||!ln.length||!ln[0]){var nn="";for(Br in fn=[],Zt[Ie])this.terminals_[Br]&&Br>Re&&fn.push("'"+this.terminals_[Br]+"'");nn=Ue.showPosition?"Parse error on line "+(he+1)+`: +`+Ue.showPosition()+` +Expecting `+fn.join(", ")+", got '"+(this.terminals_[Pe]||Pe)+"'":"Parse error on line "+(he+1)+": Unexpected "+(Pe==pn?"end of input":"'"+(this.terminals_[Pe]||Pe)+"'"),this.parseError(nn,{text:Ue.match,token:this.terminals_[Pe]||Pe,line:Ue.yylineno,loc:qe,expected:fn})}if(ln[0]instanceof Array&&ln.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ie+", token: "+Pe);switch(ln[0]){case 1:dt.push(Pe),Lt.push(Ue.yytext),te.push(Ue.yylloc),dt.push(ln[1]),Pe=null,Hn?(Pe=Hn,Hn=null):(an=Ue.yyleng,Rt=Ue.yytext,he=Ue.yylineno,qe=Ue.yylloc,xe>0);break;case 2:if(kn=this.productions_[ln[1]][1],vn.$=Lt[Lt.length-kn],vn._$={first_line:te[te.length-(kn||1)].first_line,last_line:te[te.length-1].last_line,first_column:te[te.length-(kn||1)].first_column,last_column:te[te.length-1].last_column},tn&&(vn._$.range=[te[te.length-(kn||1)].range[0],te[te.length-1].range[1]]),(xn=this.performAction.apply(vn,[Rt,an,he,Oe.yy,ln[1],Lt,te].concat(Je)))!==void 0)return xn;kn&&(dt=dt.slice(0,-1*kn*2),Lt=Lt.slice(0,-1*kn),te=te.slice(0,-1*kn)),dt.push(this.productions_[ln[1]][0]),Lt.push(vn.$),te.push(vn._$),nr=Zt[dt[dt.length-2]][dt[dt.length-1]],dt.push(nr);break;case 3:return!0}}return!0}},Ze={EOF:1,parseError:function(Wt,ie){if(!this.yy.parser)throw new Error(Wt);this.yy.parser.parseError(Wt,ie)},setInput:function(Wt,ie){return this.yy=ie||this.yy||{},this._input=Wt,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 Wt=this._input[0];return this.yytext+=Wt,this.yyleng++,this.offset++,this.match+=Wt,this.matched+=Wt,Wt.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),Wt},unput:function(Wt){var ie=Wt.length,dt=Wt.split(/(?:\r\n?|\n)/g);this._input=Wt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ie),this.offset-=ie;var oe=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),dt.length-1&&(this.yylineno-=dt.length-1);var Lt=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:dt?(dt.length===oe.length?this.yylloc.first_column:0)+oe[oe.length-dt.length].length-dt[0].length:this.yylloc.first_column-ie},this.options.ranges&&(this.yylloc.range=[Lt[0],Lt[0]+this.yyleng-ie]),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(Wt){this.unput(this.match.slice(Wt))},pastInput:function(){var Wt=this.matched.substr(0,this.matched.length-this.match.length);return(Wt.length>20?"...":"")+Wt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Wt=this.match;return Wt.length<20&&(Wt+=this._input.substr(0,20-Wt.length)),(Wt.substr(0,20)+(Wt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Wt=this.pastInput(),ie=new Array(Wt.length+1).join("-");return Wt+this.upcomingInput()+` +`+ie+"^"},test_match:function(Wt,ie){var dt,oe,Lt;if(this.options.backtrack_lexer&&(Lt={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&&(Lt.yylloc.range=this.yylloc.range.slice(0))),(oe=Wt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=oe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:oe?oe[oe.length-1].length-oe[oe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Wt[0].length},this.yytext+=Wt[0],this.match+=Wt[0],this.matches=Wt,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(Wt[0].length),this.matched+=Wt[0],dt=this.performAction.call(this,this.yy,this,ie,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),dt)return dt;if(this._backtrack){for(var te in Lt)this[te]=Lt[te];return!1}return!1},next:function(){if(this.done)return this.EOF;var Wt,ie,dt,oe;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Lt=this._currentRules(),te=0;teie[0].length)){if(ie=dt,oe=te,this.options.backtrack_lexer){if((Wt=this.test_match(dt,Lt[te]))!==!1)return Wt;if(this._backtrack){ie=!1;continue}return!1}if(!this.options.flex)break}return ie?(Wt=this.test_match(ie,Lt[oe]))!==!1&&Wt: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(Wt){this.conditionStack.push(Wt)},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(Wt){return(Wt=this.conditionStack.length-1-Math.abs(Wt||0))>=0?this.conditionStack[Wt]:"INITIAL"},pushState:function(Wt){this.begin(Wt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Wt,ie,dt,oe){switch(dt){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 ye(){this.yy={}}return Pt.lexer=Ze,ye.prototype=Pt,Pt.Parser=ye,new ye}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(8218).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},5890:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(rt,J,pt,xt){for(pt=pt||{},xt=rt.length;xt--;pt[rt[xt]]=J);return pt},v=[1,2],_=[1,5],T=[6,9,11,23,41],C=[1,17],A=[1,20],L=[1,25],B=[1,26],Y=[1,27],z=[1,28],q=[1,37],V=[23,38,39],X=[4,6,9,11,23,41],Q=[34,35,36,37],ot=[22,29],nt=[1,55],st={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(rt,J,pt,xt,wt,gt,bt){var Gt=gt.length-1;switch(wt){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:gt[Gt-1].push(gt[Gt]),this.$=gt[Gt-1];break;case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=gt[Gt];break;case 12:xt.addEntity(gt[Gt-4]),xt.addEntity(gt[Gt-2]),xt.addRelationship(gt[Gt-4],gt[Gt],gt[Gt-2],gt[Gt-3]);break;case 13:xt.addEntity(gt[Gt-3]),xt.addAttributes(gt[Gt-3],gt[Gt-1]);break;case 14:xt.addEntity(gt[Gt-2]);break;case 15:xt.addEntity(gt[Gt]);break;case 17:this.$=[gt[Gt]];break;case 18:gt[Gt].push(gt[Gt-1]),this.$=gt[Gt];break;case 19:this.$={attributeType:gt[Gt-1],attributeName:gt[Gt]};break;case 20:this.$={attributeType:gt[Gt-2],attributeName:gt[Gt-1],attributeKeyType:gt[Gt]};break;case 21:this.$={attributeType:gt[Gt-2],attributeName:gt[Gt-1],attributeComment:gt[Gt]};break;case 22:this.$={attributeType:gt[Gt-3],attributeName:gt[Gt-2],attributeKeyType:gt[Gt-1],attributeComment:gt[Gt]};break;case 26:case 34:this.$=gt[Gt].replace(/"/g,"");break;case 27:this.$={cardA:gt[Gt],relType:gt[Gt-1],cardB:gt[Gt-2]};break;case 28:this.$=xt.Cardinality.ZERO_OR_ONE;break;case 29:this.$=xt.Cardinality.ZERO_OR_MORE;break;case 30:this.$=xt.Cardinality.ONE_OR_MORE;break;case 31:this.$=xt.Cardinality.ONLY_ONE;break;case 32:this.$=xt.Identification.NON_IDENTIFYING;break;case 33:this.$=xt.Identification.IDENTIFYING;break;case 36:xt.parseDirective("%%{","open_directive");break;case 37:xt.parseDirective(gt[Gt],"type_directive");break;case 38:gt[Gt]=gt[Gt].trim().replace(/'/g,'"'),xt.parseDirective(gt[Gt],"arg_directive");break;case 39:xt.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:v,7:3,12:4,41:_},{1:[3]},f(T,[2,3],{5:6}),{3:7,4:v,7:3,12:4,41:_},{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:C,41:_},{1:[2,2]},{14:18,15:[1,19],44:A},f([15,44],[2,37]),f(T,[2,8],{1:[2,1]}),f(T,[2,4]),{7:15,10:21,12:4,17:16,23:C,41:_},f(T,[2,6]),f(T,[2,7]),f(T,[2,11]),f(T,[2,15],{18:22,32:24,20:[1,23],34:L,35:B,36:Y,37:z}),f([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},f(T,[2,5]),{17:32,23:C},{21:33,22:[1,34],24:35,25:36,29:q},{33:38,38:[1,39],39:[1,40]},f(V,[2,28]),f(V,[2,29]),f(V,[2,30]),f(V,[2,31]),f(X,[2,9]),{14:41,44:A},{44:[2,38]},{15:[1,42]},{22:[1,43]},f(T,[2,14]),{21:44,22:[2,17],24:35,25:36,29:q},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:L,35:B,36:Y,37:z},f(Q,[2,32]),f(Q,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},f(T,[2,13]),{22:[2,18]},f(ot,[2,19],{27:52,28:53,30:[1,54],31:nt}),f([22,29,30,31],[2,24]),{23:[2,27]},f(X,[2,10]),f(T,[2,12]),f(T,[2,34]),f(T,[2,35]),f(ot,[2,20],{28:56,31:nt}),f(ot,[2,21]),f([22,29,31],[2,25]),f(ot,[2,26]),f(ot,[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(rt,J){if(!J.recoverable){var pt=new Error(rt);throw pt.hash=J,pt}this.trace(rt)},parse:function(rt){var J=this,pt=[0],xt=[],wt=[null],gt=[],bt=this.table,Gt="",Bt=0,we=0,_e=0,ge=2,Ft=1,Jt=gt.slice.call(arguments,1),le=Object.create(this.lexer),pe={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(pe.yy[be]=this.yy[be]);le.setInput(rt,pe.yy),pe.yy.lexer=le,pe.yy.parser=this,le.yylloc===void 0&&(le.yylloc={});var Pt=le.yylloc;gt.push(Pt);var Ze=le.options&&le.options.ranges;function ye(){var Re;return typeof(Re=xt.pop()||le.lex()||Ft)!="number"&&(Re instanceof Array&&(Re=(xt=Re).pop()),Re=J.symbols_[Re]||Re),Re}typeof pe.yy.parseError=="function"?this.parseError=pe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Wt,ie,dt,oe,Lt,te,Zt,Rt,he,an={};;){if(dt=pt[pt.length-1],this.defaultActions[dt]?oe=this.defaultActions[dt]:(Wt==null&&(Wt=ye()),oe=bt[dt]&&bt[dt][Wt]),oe===void 0||!oe.length||!oe[0]){var xe="";for(te in he=[],bt[dt])this.terminals_[te]&&te>ge&&he.push("'"+this.terminals_[te]+"'");xe=le.showPosition?"Parse error on line "+(Bt+1)+`: +`+le.showPosition()+` +Expecting `+he.join(", ")+", got '"+(this.terminals_[Wt]||Wt)+"'":"Parse error on line "+(Bt+1)+": Unexpected "+(Wt==Ft?"end of input":"'"+(this.terminals_[Wt]||Wt)+"'"),this.parseError(xe,{text:le.match,token:this.terminals_[Wt]||Wt,line:le.yylineno,loc:Pt,expected:he})}if(oe[0]instanceof Array&&oe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+dt+", token: "+Wt);switch(oe[0]){case 1:pt.push(Wt),wt.push(le.yytext),gt.push(le.yylloc),pt.push(oe[1]),Wt=null,ie?(Wt=ie,ie=null):(we=le.yyleng,Gt=le.yytext,Bt=le.yylineno,Pt=le.yylloc,_e>0);break;case 2:if(Zt=this.productions_[oe[1]][1],an.$=wt[wt.length-Zt],an._$={first_line:gt[gt.length-(Zt||1)].first_line,last_line:gt[gt.length-1].last_line,first_column:gt[gt.length-(Zt||1)].first_column,last_column:gt[gt.length-1].last_column},Ze&&(an._$.range=[gt[gt.length-(Zt||1)].range[0],gt[gt.length-1].range[1]]),(Lt=this.performAction.apply(an,[Gt,we,Bt,pe.yy,oe[1],wt,gt].concat(Jt)))!==void 0)return Lt;Zt&&(pt=pt.slice(0,-1*Zt*2),wt=wt.slice(0,-1*Zt),gt=gt.slice(0,-1*Zt)),pt.push(this.productions_[oe[1]][0]),wt.push(an.$),gt.push(an._$),Rt=bt[pt[pt.length-2]][pt[pt.length-1]],pt.push(Rt);break;case 3:return!0}}return!0}},ut={EOF:1,parseError:function(rt,J){if(!this.yy.parser)throw new Error(rt);this.yy.parser.parseError(rt,J)},setInput:function(rt,J){return this.yy=J||this.yy||{},this._input=rt,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 rt=this._input[0];return this.yytext+=rt,this.yyleng++,this.offset++,this.match+=rt,this.matched+=rt,rt.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),rt},unput:function(rt){var J=rt.length,pt=rt.split(/(?:\r\n?|\n)/g);this._input=rt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-J),this.offset-=J;var xt=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),pt.length-1&&(this.yylineno-=pt.length-1);var wt=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:pt?(pt.length===xt.length?this.yylloc.first_column:0)+xt[xt.length-pt.length].length-pt[0].length:this.yylloc.first_column-J},this.options.ranges&&(this.yylloc.range=[wt[0],wt[0]+this.yyleng-J]),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(rt){this.unput(this.match.slice(rt))},pastInput:function(){var rt=this.matched.substr(0,this.matched.length-this.match.length);return(rt.length>20?"...":"")+rt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var rt=this.match;return rt.length<20&&(rt+=this._input.substr(0,20-rt.length)),(rt.substr(0,20)+(rt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var rt=this.pastInput(),J=new Array(rt.length+1).join("-");return rt+this.upcomingInput()+` +`+J+"^"},test_match:function(rt,J){var pt,xt,wt;if(this.options.backtrack_lexer&&(wt={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&&(wt.yylloc.range=this.yylloc.range.slice(0))),(xt=rt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=xt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:xt?xt[xt.length-1].length-xt[xt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+rt[0].length},this.yytext+=rt[0],this.match+=rt[0],this.matches=rt,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(rt[0].length),this.matched+=rt[0],pt=this.performAction.call(this,this.yy,this,J,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),pt)return pt;if(this._backtrack){for(var gt in wt)this[gt]=wt[gt];return!1}return!1},next:function(){if(this.done)return this.EOF;var rt,J,pt,xt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var wt=this._currentRules(),gt=0;gtJ[0].length)){if(J=pt,xt=gt,this.options.backtrack_lexer){if((rt=this.test_match(pt,wt[gt]))!==!1)return rt;if(this._backtrack){J=!1;continue}return!1}if(!this.options.flex)break}return J?(rt=this.test_match(J,wt[xt]))!==!1&&rt: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(rt){this.conditionStack.push(rt)},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(rt){return(rt=this.conditionStack.length-1-Math.abs(rt||0))>=0?this.conditionStack[rt]:"INITIAL"},pushState:function(rt){this.begin(rt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(rt,J,pt,xt){switch(pt){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 J.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 At(){this.yy={}}return st.lexer=ut,At.prototype=st,st.Parser=At,new At}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(8009).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},3602:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(un,Qn,Mn,Ye){for(Mn=Mn||{},Ye=un.length;Ye--;Mn[un[Ye]]=Qn);return Mn},v=[1,9],_=[1,7],T=[1,6],C=[1,8],A=[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],L=[2,10],B=[1,20],Y=[1,21],z=[1,22],q=[1,23],V=[1,30],X=[1,59],Q=[1,45],ot=[1,49],nt=[1,33],st=[1,34],ut=[1,35],At=[1,36],rt=[1,37],J=[1,53],pt=[1,60],xt=[1,48],wt=[1,50],gt=[1,52],bt=[1,56],Gt=[1,57],Bt=[1,38],we=[1,39],_e=[1,40],ge=[1,41],Ft=[1,58],Jt=[1,47],le=[1,51],pe=[1,54],be=[1,55],Pt=[1,46],Ze=[1,63],ye=[1,68],Wt=[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],ie=[1,72],dt=[1,71],oe=[1,73],Lt=[20,21,23,74,75],te=[1,94],Zt=[1,99],Rt=[1,102],he=[1,103],an=[1,96],xe=[1,101],Re=[1,104],pn=[1,97],Je=[1,109],Ue=[1,108],Oe=[1,98],on=[1,100],qe=[1,105],tn=[1,106],en=[1,107],Pe=[1,110],Hn=[20,21,22,23,74,75],Ie=[20,21,22,23,48,74,75],ln=[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],xn=[20,21,23],Br=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],kn=[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],fn=[1,143],vn=[1,151],nn=[1,152],Cn=[1,153],Sn=[1,154],Wn=[1,138],qn=[1,139],Nr=[1,135],An=[1,146],Vn=[1,147],jn=[1,148],Xn=[1,149],Kn=[1,150],rr=[1,155],On=[1,156],Pn=[1,141],dn=[1,144],zn=[1,140],wn=[1,137],ai=[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],mr=[1,159],Ui=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],Un=[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],vo=[12,21,22,24],ua=[22,99],oi=[1,242],Fr=[1,237],$r=[1,238],Xr=[1,246],Jr=[1,243],Dr=[1,240],ti=[1,239],Pr=[1,241],Ni=[1,244],li=[1,245],ar=[1,247],Vr=[1,265],ha=[20,21,23,99],ei=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],fa={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(un,Qn,Mn,Ye,Jn,kt,Kr){var ee=kt.length-1;switch(Jn){case 5:Ye.parseDirective("%%{","open_directive");break;case 6:Ye.parseDirective(kt[ee],"type_directive");break;case 7:kt[ee]=kt[ee].trim().replace(/'/g,'"'),Ye.parseDirective(kt[ee],"arg_directive");break;case 8:Ye.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:kt[ee]!==[]&&kt[ee-1].push(kt[ee]),this.$=kt[ee-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=kt[ee];break;case 19:Ye.setDirection("TB"),this.$="TB";break;case 20:Ye.setDirection(kt[ee-1]),this.$=kt[ee-1];break;case 35:this.$=kt[ee-1].nodes;break;case 41:this.$=Ye.addSubGraph(kt[ee-6],kt[ee-1],kt[ee-4]);break;case 42:this.$=Ye.addSubGraph(kt[ee-3],kt[ee-1],kt[ee-3]);break;case 43:this.$=Ye.addSubGraph(void 0,kt[ee-1],void 0);break;case 48:Ye.addLink(kt[ee-2].stmt,kt[ee],kt[ee-1]),this.$={stmt:kt[ee],nodes:kt[ee].concat(kt[ee-2].nodes)};break;case 49:Ye.addLink(kt[ee-3].stmt,kt[ee-1],kt[ee-2]),this.$={stmt:kt[ee-1],nodes:kt[ee-1].concat(kt[ee-3].nodes)};break;case 50:this.$={stmt:kt[ee-1],nodes:kt[ee-1]};break;case 51:this.$={stmt:kt[ee],nodes:kt[ee]};break;case 52:case 119:case 121:this.$=[kt[ee]];break;case 53:this.$=kt[ee-4].concat(kt[ee]);break;case 54:this.$=[kt[ee-2]],Ye.setClass(kt[ee-2],kt[ee]);break;case 55:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"square");break;case 56:this.$=kt[ee-5],Ye.addVertex(kt[ee-5],kt[ee-2],"circle");break;case 57:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"ellipse");break;case 58:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"stadium");break;case 59:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"subroutine");break;case 60:this.$=kt[ee-7],Ye.addVertex(kt[ee-7],kt[ee-1],"rect",void 0,void 0,void 0,Object.fromEntries([[kt[ee-5],kt[ee-3]]]));break;case 61:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"cylinder");break;case 62:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"round");break;case 63:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"diamond");break;case 64:this.$=kt[ee-5],Ye.addVertex(kt[ee-5],kt[ee-2],"hexagon");break;case 65:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"odd");break;case 66:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"trapezoid");break;case 67:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"inv_trapezoid");break;case 68:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"lean_right");break;case 69:this.$=kt[ee-3],Ye.addVertex(kt[ee-3],kt[ee-1],"lean_left");break;case 70:this.$=kt[ee],Ye.addVertex(kt[ee]);break;case 71:kt[ee-1].text=kt[ee],this.$=kt[ee-1];break;case 72:case 73:kt[ee-2].text=kt[ee-1],this.$=kt[ee-2];break;case 75:var Di=Ye.destructLink(kt[ee],kt[ee-2]);this.$={type:Di.type,stroke:Di.stroke,length:Di.length,text:kt[ee-1]};break;case 76:Di=Ye.destructLink(kt[ee]),this.$={type:Di.type,stroke:Di.stroke,length:Di.length};break;case 77:this.$=kt[ee-1];break;case 79:case 93:case 149:case 147:this.$=kt[ee-1]+""+kt[ee];break;case 94:case 95:this.$=kt[ee-4],Ye.addClass(kt[ee-2],kt[ee]);break;case 96:this.$=kt[ee-4],Ye.setClass(kt[ee-2],kt[ee]);break;case 97:case 105:this.$=kt[ee-1],Ye.setClickEvent(kt[ee-1],kt[ee]);break;case 98:case 106:this.$=kt[ee-3],Ye.setClickEvent(kt[ee-3],kt[ee-2]),Ye.setTooltip(kt[ee-3],kt[ee]);break;case 99:this.$=kt[ee-2],Ye.setClickEvent(kt[ee-2],kt[ee-1],kt[ee]);break;case 100:this.$=kt[ee-4],Ye.setClickEvent(kt[ee-4],kt[ee-3],kt[ee-2]),Ye.setTooltip(kt[ee-4],kt[ee]);break;case 101:case 107:this.$=kt[ee-1],Ye.setLink(kt[ee-1],kt[ee]);break;case 102:case 108:this.$=kt[ee-3],Ye.setLink(kt[ee-3],kt[ee-2]),Ye.setTooltip(kt[ee-3],kt[ee]);break;case 103:case 109:this.$=kt[ee-3],Ye.setLink(kt[ee-3],kt[ee-2],kt[ee]);break;case 104:case 110:this.$=kt[ee-5],Ye.setLink(kt[ee-5],kt[ee-4],kt[ee]),Ye.setTooltip(kt[ee-5],kt[ee-2]);break;case 111:this.$=kt[ee-4],Ye.addVertex(kt[ee-2],void 0,void 0,kt[ee]);break;case 112:case 114:this.$=kt[ee-4],Ye.updateLink(kt[ee-2],kt[ee]);break;case 113:this.$=kt[ee-4],Ye.updateLink([kt[ee-2]],kt[ee]);break;case 115:this.$=kt[ee-8],Ye.updateLinkInterpolate([kt[ee-6]],kt[ee-2]),Ye.updateLink([kt[ee-6]],kt[ee]);break;case 116:this.$=kt[ee-8],Ye.updateLinkInterpolate(kt[ee-6],kt[ee-2]),Ye.updateLink(kt[ee-6],kt[ee]);break;case 117:this.$=kt[ee-6],Ye.updateLinkInterpolate([kt[ee-4]],kt[ee]);break;case 118:this.$=kt[ee-6],Ye.updateLinkInterpolate(kt[ee-4],kt[ee]);break;case 120:case 122:kt[ee-2].push(kt[ee]),this.$=kt[ee-2];break;case 124:this.$=kt[ee-1]+kt[ee];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:v,16:4,21:_,22:T,24:C},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:v,16:4,21:_,22:T,24:C},f(A,L,{17:11}),{7:12,13:[1,13]},{16:14,21:_,22:T,24:C},{16:15,21:_,22:T,24:C},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:B,21:Y,22:z,23:q,32:24,33:25,34:26,35:27,36:28,37:29,38:V,43:31,45:32,46:42,47:X,49:43,59:Q,60:ot,79:nt,80:st,81:ut,82:At,83:rt,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,111:Bt,112:we,113:_e,114:ge,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},{8:61,10:[1,62],15:Ze},f([10,15],[2,6]),f(A,[2,17]),f(A,[2,18]),f(A,[2,19]),{20:[1,65],21:[1,66],22:ye,27:64,30:67},f(Wt,[2,11]),f(Wt,[2,12]),f(Wt,[2,13]),f(Wt,[2,14]),f(Wt,[2,15]),f(Wt,[2,16]),{9:69,20:ie,21:dt,23:oe,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:ie,21:dt,23:oe},{9:78,20:ie,21:dt,23:oe},{9:79,20:ie,21:dt,23:oe},{9:80,20:ie,21:dt,23:oe},{9:81,20:ie,21:dt,23:oe},{9:83,20:ie,21:dt,22:[1,82],23:oe},f(Wt,[2,44]),f(Lt,[2,51],{30:84,22:ye}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:te,47:Zt,59:Rt,60:he,77:[1,92],84:an,90:91,91:[1,89],93:[1,90],98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(Wt,[2,154]),f(Wt,[2,155]),f(Wt,[2,156]),f(Wt,[2,157]),f(Hn,[2,52],{48:[1,111]}),f(Ie,[2,70],{109:123,40:[1,112],47:X,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:Q,60:ot,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt}),f(ln,[2,146]),f(ln,[2,171]),f(ln,[2,172]),f(ln,[2,173]),f(ln,[2,174]),f(ln,[2,175]),f(ln,[2,176]),f(ln,[2,177]),f(ln,[2,178]),f(ln,[2,179]),f(ln,[2,180]),f(ln,[2,181]),f(ln,[2,182]),f(ln,[2,183]),f(ln,[2,184]),f(ln,[2,185]),f(ln,[2,186]),{9:124,20:ie,21:dt,23:oe},{11:125,14:[1,126]},f(xn,[2,8]),f(A,[2,20]),f(A,[2,26]),f(A,[2,27]),{21:[1,127]},f(Br,[2,34],{30:128,22:ye}),f(Wt,[2,35]),{45:129,46:42,47:X,49:43,59:Q,60:ot,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},f(kn,[2,45]),f(kn,[2,46]),f(kn,[2,47]),f(nr,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:fn,24:vn,26:nn,38:Cn,39:133,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),f(Wt,[2,36]),f(Wt,[2,37]),f(Wt,[2,38]),f(Wt,[2,39]),f(Wt,[2,40]),{22:fn,24:vn,26:nn,38:Cn,39:157,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(ai,L,{17:158}),f(Lt,[2,50],{47:mr}),{26:te,47:Zt,59:Rt,60:he,84:an,90:160,95:[1,161],98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{88:[1,162],96:163,98:[1,164]},{26:te,47:Zt,59:Rt,60:he,84:an,88:[1,165],90:166,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{26:te,47:Zt,59:Rt,60:he,84:an,90:167,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(xn,[2,97],{22:[1,168],92:[1,169]}),f(xn,[2,101],{22:[1,170]}),f(xn,[2,105],{108:95,110:172,22:[1,171],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe}),f(xn,[2,107],{22:[1,173]}),f(Ui,[2,148]),f(Ui,[2,150]),f(Ui,[2,151]),f(Ui,[2,152]),f(Ui,[2,153]),f(Un,[2,158]),f(Un,[2,159]),f(Un,[2,160]),f(Un,[2,161]),f(Un,[2,162]),f(Un,[2,163]),f(Un,[2,164]),f(Un,[2,165]),f(Un,[2,166]),f(Un,[2,167]),f(Un,[2,168]),f(Un,[2,169]),f(Un,[2,170]),{47:X,49:174,59:Q,60:ot,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},{22:fn,24:vn,26:nn,38:Cn,39:175,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:177,42:Sn,47:Zt,50:[1,176],59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:178,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:179,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:180,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{59:[1,181]},{22:fn,24:vn,26:nn,38:Cn,39:182,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:183,42:Sn,47:Zt,59:Rt,60:he,64:[1,184],66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:185,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:186,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:187,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(ln,[2,147]),f(vo,[2,3]),{8:188,15:Ze},{15:[2,7]},f(A,[2,28]),f(Br,[2,33]),f(Lt,[2,48],{30:189,22:ye}),f(nr,[2,71],{22:[1,190]}),{22:[1,191]},{22:fn,24:vn,26:nn,38:Cn,39:192,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,75:[1,193],76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(Un,[2,78]),f(Un,[2,80]),f(Un,[2,136]),f(Un,[2,137]),f(Un,[2,138]),f(Un,[2,139]),f(Un,[2,140]),f(Un,[2,141]),f(Un,[2,142]),f(Un,[2,143]),f(Un,[2,144]),f(Un,[2,145]),f(Un,[2,81]),f(Un,[2,82]),f(Un,[2,83]),f(Un,[2,84]),f(Un,[2,85]),f(Un,[2,86]),f(Un,[2,87]),f(Un,[2,88]),f(Un,[2,89]),f(Un,[2,90]),f(Un,[2,91]),{9:196,20:ie,21:dt,22:fn,23:oe,24:vn,26:nn,38:Cn,40:[1,195],42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{18:18,19:19,20:B,21:Y,22:z,23:q,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,197],43:31,45:32,46:42,47:X,49:43,59:Q,60:ot,79:nt,80:st,81:ut,82:At,83:rt,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,111:Bt,112:we,113:_e,114:ge,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},{22:ye,30:198},{22:[1,199],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:172,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},f(ua,[2,119]),{22:[1,204]},{22:[1,205],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:172,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:[1,206],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:172,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{77:[1,207]},f(xn,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},f(Ui,[2,149]),{77:[1,212],94:[1,213]},f(Hn,[2,54],{109:123,47:X,59:Q,60:ot,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt}),{22:fn,24:vn,26:nn,38:Cn,41:[1,214],42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:215,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,51:[1,216],59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,53:[1,217],59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,55:[1,218],59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,57:[1,219],59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{60:[1,220]},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,63:[1,221],66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,65:[1,222],66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,39:223,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,41:[1,224],42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,66:Wn,68:[1,225],70:[1,226],74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,66:Wn,68:[1,228],70:[1,227],74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{9:229,20:ie,21:dt,23:oe},f(Lt,[2,49],{47:mr}),f(nr,[2,73]),f(nr,[2,72]),{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,61:[1,230],66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(nr,[2,75]),f(Un,[2,79]),{22:fn,24:vn,26:nn,38:Cn,39:231,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(ai,L,{17:232}),f(Wt,[2,43]),{46:233,47:X,49:43,59:Q,60:ot,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},{22:oi,59:Fr,60:$r,79:Xr,89:234,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{22:oi,59:Fr,60:$r,79:Xr,89:248,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{22:oi,59:Fr,60:$r,79:Xr,89:249,95:Jr,97:[1,250],98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{22:oi,59:Fr,60:$r,79:Xr,89:251,95:Jr,97:[1,252],98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{98:[1,253]},{22:oi,59:Fr,60:$r,79:Xr,89:254,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{22:oi,59:Fr,60:$r,79:Xr,89:255,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{26:te,47:Zt,59:Rt,60:he,84:an,90:256,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(xn,[2,98]),{77:[1,257]},f(xn,[2,102],{22:[1,258]}),f(xn,[2,103]),f(xn,[2,106]),f(xn,[2,108],{22:[1,259]}),f(xn,[2,109]),f(Ie,[2,55]),{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,51:[1,260],59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(Ie,[2,62]),f(Ie,[2,57]),f(Ie,[2,58]),f(Ie,[2,59]),{59:[1,261]},f(Ie,[2,61]),f(Ie,[2,63]),{22:fn,24:vn,26:nn,38:Cn,42:Sn,47:Zt,59:Rt,60:he,65:[1,262],66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(Ie,[2,65]),f(Ie,[2,66]),f(Ie,[2,68]),f(Ie,[2,67]),f(Ie,[2,69]),f(vo,[2,4]),f([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:fn,24:vn,26:nn,38:Cn,41:[1,263],42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{18:18,19:19,20:B,21:Y,22:z,23:q,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,264],43:31,45:32,46:42,47:X,49:43,59:Q,60:ot,79:nt,80:st,81:ut,82:At,83:rt,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,111:Bt,112:we,113:_e,114:ge,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},f(Hn,[2,53]),f(xn,[2,111],{99:Vr}),f(ha,[2,121],{101:266,22:oi,59:Fr,60:$r,79:Xr,95:Jr,98:Dr,102:ti,103:Pr,104:Ni,105:li,106:ar}),f(ei,[2,123]),f(ei,[2,125]),f(ei,[2,126]),f(ei,[2,127]),f(ei,[2,128]),f(ei,[2,129]),f(ei,[2,130]),f(ei,[2,131]),f(ei,[2,132]),f(ei,[2,133]),f(ei,[2,134]),f(ei,[2,135]),f(xn,[2,112],{99:Vr}),f(xn,[2,113],{99:Vr}),{22:[1,267]},f(xn,[2,114],{99:Vr}),{22:[1,268]},f(ua,[2,120]),f(xn,[2,94],{99:Vr}),f(xn,[2,95],{99:Vr}),f(xn,[2,96],{108:95,110:172,26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe}),f(xn,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:ie,21:dt,23:oe},f(Wt,[2,42]),{22:oi,59:Fr,60:$r,79:Xr,95:Jr,98:Dr,100:275,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},f(ei,[2,124]),{26:te,47:Zt,59:Rt,60:he,84:an,90:276,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{26:te,47:Zt,59:Rt,60:he,84:an,90:277,98:xe,99:Re,102:pn,104:Je,105:Ue,108:95,110:93,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(xn,[2,104]),f(xn,[2,110]),f(Ie,[2,56]),{22:fn,24:vn,26:nn,38:Cn,39:278,42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:134,77:Nr,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},f(Ie,[2,64]),f(ai,L,{17:279}),f(ha,[2,122],{101:266,22:oi,59:Fr,60:$r,79:Xr,95:Jr,98:Dr,102:ti,103:Pr,104:Ni,105:li,106:ar}),f(xn,[2,117],{108:95,110:172,22:[1,280],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe}),f(xn,[2,118],{108:95,110:172,22:[1,281],26:te,47:Zt,59:Rt,60:he,84:an,98:xe,99:Re,102:pn,104:Je,105:Ue,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe}),{22:fn,24:vn,26:nn,38:Cn,41:[1,282],42:Sn,47:Zt,59:Rt,60:he,66:Wn,74:qn,76:194,78:145,79:An,80:Vn,81:jn,82:Xn,83:Kn,84:rr,85:On,87:136,88:Pn,98:xe,99:Re,102:dn,104:Je,105:Ue,106:zn,107:wn,108:142,115:Oe,116:on,117:qe,118:tn,119:en,120:Pe},{18:18,19:19,20:B,21:Y,22:z,23:q,32:24,33:25,34:26,35:27,36:28,37:29,38:V,42:[1,283],43:31,45:32,46:42,47:X,49:43,59:Q,60:ot,79:nt,80:st,81:ut,82:At,83:rt,84:J,88:pt,98:xt,99:wt,102:gt,104:bt,105:Gt,109:44,111:Bt,112:we,113:_e,114:ge,115:Ft,116:Jt,117:le,118:pe,119:be,120:Pt},{22:oi,59:Fr,60:$r,79:Xr,89:284,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},{22:oi,59:Fr,60:$r,79:Xr,89:285,95:Jr,98:Dr,100:235,101:236,102:ti,103:Pr,104:Ni,105:li,106:ar},f(Ie,[2,60]),f(Wt,[2,41]),f(xn,[2,115],{99:Vr}),f(xn,[2,116],{99:Vr})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(un,Qn){if(!Qn.recoverable){var Mn=new Error(un);throw Mn.hash=Qn,Mn}this.trace(un)},parse:function(un){var Qn=this,Mn=[0],Ye=[],Jn=[null],kt=[],Kr=this.table,ee="",Di=0,Zi=0,Fa=0,so=2,bo=1,wo=kt.slice.call(arguments,1),Zr=Object.create(this.lexer),Xi={yy:{}};for(var Nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Nn)&&(Xi.yy[Nn]=this.yy[Nn]);Zr.setInput(un,Xi.yy),Xi.yy.lexer=Zr,Xi.yy.parser=this,Zr.yylloc===void 0&&(Zr.yylloc={});var Ca=Zr.yylloc;kt.push(Ca);var Pa=Zr.options&&Zr.options.ranges;function _r(){var Ut;return typeof(Ut=Ye.pop()||Zr.lex()||bo)!="number"&&(Ut instanceof Array&&(Ut=(Ye=Ut).pop()),Ut=Qn.symbols_[Ut]||Ut),Ut}typeof Xi.yy.parseError=="function"?this.parseError=Xi.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Cr,mi,ni,jr,zr,hi,Qr,Ki,Yi,Oi={};;){if(ni=Mn[Mn.length-1],this.defaultActions[ni]?jr=this.defaultActions[ni]:(Cr==null&&(Cr=_r()),jr=Kr[ni]&&Kr[ni][Cr]),jr===void 0||!jr.length||!jr[0]){var co="";for(hi in Yi=[],Kr[ni])this.terminals_[hi]&&hi>so&&Yi.push("'"+this.terminals_[hi]+"'");co=Zr.showPosition?"Parse error on line "+(Di+1)+`: +`+Zr.showPosition()+` +Expecting `+Yi.join(", ")+", got '"+(this.terminals_[Cr]||Cr)+"'":"Parse error on line "+(Di+1)+": Unexpected "+(Cr==bo?"end of input":"'"+(this.terminals_[Cr]||Cr)+"'"),this.parseError(co,{text:Zr.match,token:this.terminals_[Cr]||Cr,line:Zr.yylineno,loc:Ca,expected:Yi})}if(jr[0]instanceof Array&&jr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ni+", token: "+Cr);switch(jr[0]){case 1:Mn.push(Cr),Jn.push(Zr.yytext),kt.push(Zr.yylloc),Mn.push(jr[1]),Cr=null,mi?(Cr=mi,mi=null):(Zi=Zr.yyleng,ee=Zr.yytext,Di=Zr.yylineno,Ca=Zr.yylloc,Fa>0);break;case 2:if(Qr=this.productions_[jr[1]][1],Oi.$=Jn[Jn.length-Qr],Oi._$={first_line:kt[kt.length-(Qr||1)].first_line,last_line:kt[kt.length-1].last_line,first_column:kt[kt.length-(Qr||1)].first_column,last_column:kt[kt.length-1].last_column},Pa&&(Oi._$.range=[kt[kt.length-(Qr||1)].range[0],kt[kt.length-1].range[1]]),(zr=this.performAction.apply(Oi,[ee,Zi,Di,Xi.yy,jr[1],Jn,kt].concat(wo)))!==void 0)return zr;Qr&&(Mn=Mn.slice(0,-1*Qr*2),Jn=Jn.slice(0,-1*Qr),kt=kt.slice(0,-1*Qr)),Mn.push(this.productions_[jr[1]][0]),Jn.push(Oi.$),kt.push(Oi._$),Ki=Kr[Mn[Mn.length-2]][Mn[Mn.length-1]],Mn.push(Ki);break;case 3:return!0}}return!0}},oo={EOF:1,parseError:function(un,Qn){if(!this.yy.parser)throw new Error(un);this.yy.parser.parseError(un,Qn)},setInput:function(un,Qn){return this.yy=Qn||this.yy||{},this._input=un,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 un=this._input[0];return this.yytext+=un,this.yyleng++,this.offset++,this.match+=un,this.matched+=un,un.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),un},unput:function(un){var Qn=un.length,Mn=un.split(/(?:\r\n?|\n)/g);this._input=un+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Qn),this.offset-=Qn;var Ye=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===Ye.length?this.yylloc.first_column:0)+Ye[Ye.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(un){this.unput(this.match.slice(un))},pastInput:function(){var un=this.matched.substr(0,this.matched.length-this.match.length);return(un.length>20?"...":"")+un.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var un=this.match;return un.length<20&&(un+=this._input.substr(0,20-un.length)),(un.substr(0,20)+(un.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var un=this.pastInput(),Qn=new Array(un.length+1).join("-");return un+this.upcomingInput()+` +`+Qn+"^"},test_match:function(un,Qn){var Mn,Ye,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))),(Ye=un[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Ye.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Ye?Ye[Ye.length-1].length-Ye[Ye.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+un[0].length},this.yytext+=un[0],this.match+=un[0],this.matches=un,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(un[0].length),this.matched+=un[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 kt in Jn)this[kt]=Jn[kt];return!1}return!1},next:function(){if(this.done)return this.EOF;var un,Qn,Mn,Ye;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Jn=this._currentRules(),kt=0;ktQn[0].length)){if(Qn=Mn,Ye=kt,this.options.backtrack_lexer){if((un=this.test_match(Mn,Jn[kt]))!==!1)return un;if(this._backtrack){Qn=!1;continue}return!1}if(!this.options.flex)break}return Qn?(un=this.test_match(Qn,Jn[Ye]))!==!1&&un: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(un){this.conditionStack.push(un)},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(un){return(un=this.conditionStack.length-1-Math.abs(un||0))>=0?this.conditionStack[un]:"INITIAL"},pushState:function(un){this.begin(un)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(un,Qn,Mn,Ye){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 un.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 ui(){this.yy={}}return fa.lexer=oo,ui.prototype=fa,fa.Parser=ui,new ui}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(5354).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},9959:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(J,pt,xt,wt){for(xt=xt||{},wt=J.length;wt--;xt[J[wt]]=pt);return xt},v=[1,3],_=[1,5],T=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],C=[1,15],A=[1,16],L=[1,17],B=[1,18],Y=[1,19],z=[1,20],q=[1,21],V=[1,22],X=[1,23],Q=[1,25],ot=[1,27],nt=[1,30],st=[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(J,pt,xt,wt,gt,bt,Gt){var Bt=bt.length-1;switch(gt){case 2:return bt[Bt-1];case 3:case 7:case 8:this.$=[];break;case 4:bt[Bt-1].push(bt[Bt]),this.$=bt[Bt-1];break;case 5:case 6:this.$=bt[Bt];break;case 9:wt.setDateFormat(bt[Bt].substr(11)),this.$=bt[Bt].substr(11);break;case 10:wt.enableInclusiveEndDates(),this.$=bt[Bt].substr(18);break;case 11:wt.TopAxis(),this.$=bt[Bt].substr(8);break;case 12:wt.setAxisFormat(bt[Bt].substr(11)),this.$=bt[Bt].substr(11);break;case 13:wt.setExcludes(bt[Bt].substr(9)),this.$=bt[Bt].substr(9);break;case 14:wt.setIncludes(bt[Bt].substr(9)),this.$=bt[Bt].substr(9);break;case 15:wt.setTodayMarker(bt[Bt].substr(12)),this.$=bt[Bt].substr(12);break;case 16:wt.setTitle(bt[Bt].substr(6)),this.$=bt[Bt].substr(6);break;case 17:wt.addSection(bt[Bt].substr(8)),this.$=bt[Bt].substr(8);break;case 19:wt.addTask(bt[Bt-1],bt[Bt]),this.$="task";break;case 23:this.$=bt[Bt-1],wt.setClickEvent(bt[Bt-1],bt[Bt],null);break;case 24:this.$=bt[Bt-2],wt.setClickEvent(bt[Bt-2],bt[Bt-1],bt[Bt]);break;case 25:this.$=bt[Bt-2],wt.setClickEvent(bt[Bt-2],bt[Bt-1],null),wt.setLink(bt[Bt-2],bt[Bt]);break;case 26:this.$=bt[Bt-3],wt.setClickEvent(bt[Bt-3],bt[Bt-2],bt[Bt-1]),wt.setLink(bt[Bt-3],bt[Bt]);break;case 27:this.$=bt[Bt-2],wt.setClickEvent(bt[Bt-2],bt[Bt],null),wt.setLink(bt[Bt-2],bt[Bt-1]);break;case 28:this.$=bt[Bt-3],wt.setClickEvent(bt[Bt-3],bt[Bt-1],bt[Bt]),wt.setLink(bt[Bt-3],bt[Bt-2]);break;case 29:this.$=bt[Bt-1],wt.setLink(bt[Bt-1],bt[Bt]);break;case 30:case 36:this.$=bt[Bt-1]+" "+bt[Bt];break;case 31:case 32:case 34:this.$=bt[Bt-2]+" "+bt[Bt-1]+" "+bt[Bt];break;case 33:case 35:this.$=bt[Bt-3]+" "+bt[Bt-2]+" "+bt[Bt-1]+" "+bt[Bt];break;case 37:wt.parseDirective("%%{","open_directive");break;case 38:wt.parseDirective(bt[Bt],"type_directive");break;case 39:bt[Bt]=bt[Bt].trim().replace(/'/g,'"'),wt.parseDirective(bt[Bt],"arg_directive");break;case 40:wt.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:v,24:4,34:_},{1:[3]},{3:6,4:2,5:v,24:4,34:_},f(T,[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:C,13:A,14:L,15:B,16:Y,17:z,18:q,19:V,20:X,21:24,22:Q,24:4,29:ot,34:_},{26:28,27:[1,29],37:nt},f([27,37],[2,38]),f(T,[2,8],{1:[2,2]}),f(T,[2,4]),{4:26,10:31,12:C,13:A,14:L,15:B,16:Y,17:z,18:q,19:V,20:X,21:24,22:Q,24:4,29:ot,34:_},f(T,[2,6]),f(T,[2,7]),f(T,[2,9]),f(T,[2,10]),f(T,[2,11]),f(T,[2,12]),f(T,[2,13]),f(T,[2,14]),f(T,[2,15]),f(T,[2,16]),f(T,[2,17]),f(T,[2,18]),{23:[1,32]},f(T,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},f(T,[2,5]),f(T,[2,19]),f(T,[2,23],{31:[1,38],32:[1,39]}),f(T,[2,29],{30:[1,40]}),f(st,[2,21]),{26:41,37:nt},{37:[2,39]},f(T,[2,24],{32:[1,42]}),f(T,[2,25]),f(T,[2,27],{31:[1,43]}),{11:[1,44]},f(T,[2,26]),f(T,[2,28]),f(st,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(J,pt){if(!pt.recoverable){var xt=new Error(J);throw xt.hash=pt,xt}this.trace(J)},parse:function(J){var pt=this,xt=[0],wt=[],gt=[null],bt=[],Gt=this.table,Bt="",we=0,_e=0,ge=0,Ft=2,Jt=1,le=bt.slice.call(arguments,1),pe=Object.create(this.lexer),be={yy:{}};for(var Pt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Pt)&&(be.yy[Pt]=this.yy[Pt]);pe.setInput(J,be.yy),be.yy.lexer=pe,be.yy.parser=this,pe.yylloc===void 0&&(pe.yylloc={});var Ze=pe.yylloc;bt.push(Ze);var ye=pe.options&&pe.options.ranges;function Wt(){var pn;return typeof(pn=wt.pop()||pe.lex()||Jt)!="number"&&(pn instanceof Array&&(pn=(wt=pn).pop()),pn=pt.symbols_[pn]||pn),pn}typeof be.yy.parseError=="function"?this.parseError=be.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ie,dt,oe,Lt,te,Zt,Rt,he,an,xe={};;){if(oe=xt[xt.length-1],this.defaultActions[oe]?Lt=this.defaultActions[oe]:(ie==null&&(ie=Wt()),Lt=Gt[oe]&&Gt[oe][ie]),Lt===void 0||!Lt.length||!Lt[0]){var Re="";for(Zt in an=[],Gt[oe])this.terminals_[Zt]&&Zt>Ft&&an.push("'"+this.terminals_[Zt]+"'");Re=pe.showPosition?"Parse error on line "+(we+1)+`: +`+pe.showPosition()+` +Expecting `+an.join(", ")+", got '"+(this.terminals_[ie]||ie)+"'":"Parse error on line "+(we+1)+": Unexpected "+(ie==Jt?"end of input":"'"+(this.terminals_[ie]||ie)+"'"),this.parseError(Re,{text:pe.match,token:this.terminals_[ie]||ie,line:pe.yylineno,loc:Ze,expected:an})}if(Lt[0]instanceof Array&&Lt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+oe+", token: "+ie);switch(Lt[0]){case 1:xt.push(ie),gt.push(pe.yytext),bt.push(pe.yylloc),xt.push(Lt[1]),ie=null,dt?(ie=dt,dt=null):(_e=pe.yyleng,Bt=pe.yytext,we=pe.yylineno,Ze=pe.yylloc,ge>0);break;case 2:if(Rt=this.productions_[Lt[1]][1],xe.$=gt[gt.length-Rt],xe._$={first_line:bt[bt.length-(Rt||1)].first_line,last_line:bt[bt.length-1].last_line,first_column:bt[bt.length-(Rt||1)].first_column,last_column:bt[bt.length-1].last_column},ye&&(xe._$.range=[bt[bt.length-(Rt||1)].range[0],bt[bt.length-1].range[1]]),(te=this.performAction.apply(xe,[Bt,_e,we,be.yy,Lt[1],gt,bt].concat(le)))!==void 0)return te;Rt&&(xt=xt.slice(0,-1*Rt*2),gt=gt.slice(0,-1*Rt),bt=bt.slice(0,-1*Rt)),xt.push(this.productions_[Lt[1]][0]),gt.push(xe.$),bt.push(xe._$),he=Gt[xt[xt.length-2]][xt[xt.length-1]],xt.push(he);break;case 3:return!0}}return!0}},At={EOF:1,parseError:function(J,pt){if(!this.yy.parser)throw new Error(J);this.yy.parser.parseError(J,pt)},setInput:function(J,pt){return this.yy=pt||this.yy||{},this._input=J,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 J=this._input[0];return this.yytext+=J,this.yyleng++,this.offset++,this.match+=J,this.matched+=J,J.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),J},unput:function(J){var pt=J.length,xt=J.split(/(?:\r\n?|\n)/g);this._input=J+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-pt),this.offset-=pt;var wt=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),xt.length-1&&(this.yylineno-=xt.length-1);var gt=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:xt?(xt.length===wt.length?this.yylloc.first_column:0)+wt[wt.length-xt.length].length-xt[0].length:this.yylloc.first_column-pt},this.options.ranges&&(this.yylloc.range=[gt[0],gt[0]+this.yyleng-pt]),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(J){this.unput(this.match.slice(J))},pastInput:function(){var J=this.matched.substr(0,this.matched.length-this.match.length);return(J.length>20?"...":"")+J.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var J=this.match;return J.length<20&&(J+=this._input.substr(0,20-J.length)),(J.substr(0,20)+(J.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var J=this.pastInput(),pt=new Array(J.length+1).join("-");return J+this.upcomingInput()+` +`+pt+"^"},test_match:function(J,pt){var xt,wt,gt;if(this.options.backtrack_lexer&&(gt={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&&(gt.yylloc.range=this.yylloc.range.slice(0))),(wt=J[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=wt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:wt?wt[wt.length-1].length-wt[wt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+J[0].length},this.yytext+=J[0],this.match+=J[0],this.matches=J,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(J[0].length),this.matched+=J[0],xt=this.performAction.call(this,this.yy,this,pt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),xt)return xt;if(this._backtrack){for(var bt in gt)this[bt]=gt[bt];return!1}return!1},next:function(){if(this.done)return this.EOF;var J,pt,xt,wt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var gt=this._currentRules(),bt=0;btpt[0].length)){if(pt=xt,wt=bt,this.options.backtrack_lexer){if((J=this.test_match(xt,gt[bt]))!==!1)return J;if(this._backtrack){pt=!1;continue}return!1}if(!this.options.flex)break}return pt?(J=this.test_match(pt,gt[wt]))!==!1&&J: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(J){this.conditionStack.push(J)},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(J){return(J=this.conditionStack.length-1-Math.abs(J||0))>=0?this.conditionStack[J]:"INITIAL"},pushState:function(J){this.begin(J)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(J,pt,xt,wt){switch(xt){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 rt(){this.yy={}}return ut.lexer=At,rt.prototype=ut,ut.Parser=rt,new rt}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(6878).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},2553:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(q,V,X,Q){for(X=X||{},Q=q.length;Q--;X[q[Q]]=V);return X},v=[2,3],_=[1,7],T=[7,12,15,17,19,20,21],C=[7,11,12,15,17,19,20,21],A=[2,20],L=[1,32],B={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(q,V,X,Q,ot,nt,st){var ut=nt.length-1;switch(ot){case 1:return nt[ut-1];case 2:return Q.setDirection(nt[ut-3]),nt[ut-1];case 4:Q.setOptions(nt[ut-1]),this.$=nt[ut];break;case 5:nt[ut-1]+=nt[ut],this.$=nt[ut-1];break;case 7:this.$=[];break;case 8:nt[ut-1].push(nt[ut]),this.$=nt[ut-1];break;case 9:this.$=nt[ut-1];break;case 11:Q.commit(nt[ut]);break;case 12:Q.branch(nt[ut]);break;case 13:Q.checkout(nt[ut]);break;case 14:Q.merge(nt[ut]);break;case 15:Q.reset(nt[ut]);break;case 16:this.$="";break;case 17:this.$=nt[ut];break;case 18:this.$=nt[ut-1]+":"+nt[ut];break;case 19:this.$=nt[ut-1]+":"+Q.count,Q.count=0;break;case 20:Q.count=0;break;case 21:Q.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:v,9:6,12:_},{5:[1,8]},{7:[1,9]},f(T,[2,7],{10:10,11:[1,11]}),f(C,[2,6]),{6:12,7:v,9:6,12:_},{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]},f(C,[2,5]),{7:[1,21]},f(T,[2,8]),{12:[1,22]},f(T,[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]},f(T,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:A,25:31,26:L},{12:A,25:33,26:L},{12:[2,18]},{12:A,25:34,26:L},{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(q,V){if(!V.recoverable){var X=new Error(q);throw X.hash=V,X}this.trace(q)},parse:function(q){var V=this,X=[0],Q=[],ot=[null],nt=[],st=this.table,ut="",At=0,rt=0,J=0,pt=2,xt=1,wt=nt.slice.call(arguments,1),gt=Object.create(this.lexer),bt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(bt.yy[Gt]=this.yy[Gt]);gt.setInput(q,bt.yy),bt.yy.lexer=gt,bt.yy.parser=this,gt.yylloc===void 0&&(gt.yylloc={});var Bt=gt.yylloc;nt.push(Bt);var we=gt.options&>.options.ranges;function _e(){var dt;return typeof(dt=Q.pop()||gt.lex()||xt)!="number"&&(dt instanceof Array&&(dt=(Q=dt).pop()),dt=V.symbols_[dt]||dt),dt}typeof bt.yy.parseError=="function"?this.parseError=bt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ge,Ft,Jt,le,pe,be,Pt,Ze,ye,Wt={};;){if(Jt=X[X.length-1],this.defaultActions[Jt]?le=this.defaultActions[Jt]:(ge==null&&(ge=_e()),le=st[Jt]&&st[Jt][ge]),le===void 0||!le.length||!le[0]){var ie="";for(be in ye=[],st[Jt])this.terminals_[be]&&be>pt&&ye.push("'"+this.terminals_[be]+"'");ie=gt.showPosition?"Parse error on line "+(At+1)+`: +`+gt.showPosition()+` +Expecting `+ye.join(", ")+", got '"+(this.terminals_[ge]||ge)+"'":"Parse error on line "+(At+1)+": Unexpected "+(ge==xt?"end of input":"'"+(this.terminals_[ge]||ge)+"'"),this.parseError(ie,{text:gt.match,token:this.terminals_[ge]||ge,line:gt.yylineno,loc:Bt,expected:ye})}if(le[0]instanceof Array&&le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Jt+", token: "+ge);switch(le[0]){case 1:X.push(ge),ot.push(gt.yytext),nt.push(gt.yylloc),X.push(le[1]),ge=null,Ft?(ge=Ft,Ft=null):(rt=gt.yyleng,ut=gt.yytext,At=gt.yylineno,Bt=gt.yylloc,J>0);break;case 2:if(Pt=this.productions_[le[1]][1],Wt.$=ot[ot.length-Pt],Wt._$={first_line:nt[nt.length-(Pt||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(Pt||1)].first_column,last_column:nt[nt.length-1].last_column},we&&(Wt._$.range=[nt[nt.length-(Pt||1)].range[0],nt[nt.length-1].range[1]]),(pe=this.performAction.apply(Wt,[ut,rt,At,bt.yy,le[1],ot,nt].concat(wt)))!==void 0)return pe;Pt&&(X=X.slice(0,-1*Pt*2),ot=ot.slice(0,-1*Pt),nt=nt.slice(0,-1*Pt)),X.push(this.productions_[le[1]][0]),ot.push(Wt.$),nt.push(Wt._$),Ze=st[X[X.length-2]][X[X.length-1]],X.push(Ze);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(q,V){if(!this.yy.parser)throw new Error(q);this.yy.parser.parseError(q,V)},setInput:function(q,V){return this.yy=V||this.yy||{},this._input=q,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 q=this._input[0];return this.yytext+=q,this.yyleng++,this.offset++,this.match+=q,this.matched+=q,q.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),q},unput:function(q){var V=q.length,X=q.split(/(?:\r\n?|\n)/g);this._input=q+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-V),this.offset-=V;var Q=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),X.length-1&&(this.yylineno-=X.length-1);var ot=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:X?(X.length===Q.length?this.yylloc.first_column:0)+Q[Q.length-X.length].length-X[0].length:this.yylloc.first_column-V},this.options.ranges&&(this.yylloc.range=[ot[0],ot[0]+this.yyleng-V]),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(q){this.unput(this.match.slice(q))},pastInput:function(){var q=this.matched.substr(0,this.matched.length-this.match.length);return(q.length>20?"...":"")+q.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var q=this.match;return q.length<20&&(q+=this._input.substr(0,20-q.length)),(q.substr(0,20)+(q.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var q=this.pastInput(),V=new Array(q.length+1).join("-");return q+this.upcomingInput()+` +`+V+"^"},test_match:function(q,V){var X,Q,ot;if(this.options.backtrack_lexer&&(ot={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&&(ot.yylloc.range=this.yylloc.range.slice(0))),(Q=q[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Q.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Q?Q[Q.length-1].length-Q[Q.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+q[0].length},this.yytext+=q[0],this.match+=q[0],this.matches=q,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(q[0].length),this.matched+=q[0],X=this.performAction.call(this,this.yy,this,V,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var nt in ot)this[nt]=ot[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;var q,V,X,Q;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ot=this._currentRules(),nt=0;ntV[0].length)){if(V=X,Q=nt,this.options.backtrack_lexer){if((q=this.test_match(X,ot[nt]))!==!1)return q;if(this._backtrack){V=!1;continue}return!1}if(!this.options.flex)break}return V?(q=this.test_match(V,ot[Q]))!==!1&&q: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(q){this.conditionStack.push(q)},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(q){return(q=this.conditionStack.length-1-Math.abs(q||0))>=0?this.conditionStack[q]:"INITIAL"},pushState:function(q){this.begin(q)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(q,V,X,Q){switch(X){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 B.lexer=Y,z.prototype=B,B.Parser=z,new z}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(8183).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},6765:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(A,L,B,Y){for(B=B||{},Y=A.length;Y--;B[A[Y]]=L);return B},v=[6,9,10],_={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(A,L,B,Y,z,q,V){switch(q.length,z){case 1:return Y;case 4:break;case 6:Y.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},f(v,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},f(v,[2,3]),f(v,[2,4]),f(v,[2,5]),f(v,[2,6])],defaultActions:{4:[2,1]},parseError:function(A,L){if(!L.recoverable){var B=new Error(A);throw B.hash=L,B}this.trace(A)},parse:function(A){var L=this,B=[0],Y=[],z=[null],q=[],V=this.table,X="",Q=0,ot=0,nt=0,st=2,ut=1,At=q.slice.call(arguments,1),rt=Object.create(this.lexer),J={yy:{}};for(var pt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pt)&&(J.yy[pt]=this.yy[pt]);rt.setInput(A,J.yy),J.yy.lexer=rt,J.yy.parser=this,rt.yylloc===void 0&&(rt.yylloc={});var xt=rt.yylloc;q.push(xt);var wt=rt.options&&rt.options.ranges;function gt(){var Pt;return typeof(Pt=Y.pop()||rt.lex()||ut)!="number"&&(Pt instanceof Array&&(Pt=(Y=Pt).pop()),Pt=L.symbols_[Pt]||Pt),Pt}typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var bt,Gt,Bt,we,_e,ge,Ft,Jt,le,pe={};;){if(Bt=B[B.length-1],this.defaultActions[Bt]?we=this.defaultActions[Bt]:(bt==null&&(bt=gt()),we=V[Bt]&&V[Bt][bt]),we===void 0||!we.length||!we[0]){var be="";for(ge in le=[],V[Bt])this.terminals_[ge]&&ge>st&&le.push("'"+this.terminals_[ge]+"'");be=rt.showPosition?"Parse error on line "+(Q+1)+`: +`+rt.showPosition()+` +Expecting `+le.join(", ")+", got '"+(this.terminals_[bt]||bt)+"'":"Parse error on line "+(Q+1)+": Unexpected "+(bt==ut?"end of input":"'"+(this.terminals_[bt]||bt)+"'"),this.parseError(be,{text:rt.match,token:this.terminals_[bt]||bt,line:rt.yylineno,loc:xt,expected:le})}if(we[0]instanceof Array&&we.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Bt+", token: "+bt);switch(we[0]){case 1:B.push(bt),z.push(rt.yytext),q.push(rt.yylloc),B.push(we[1]),bt=null,Gt?(bt=Gt,Gt=null):(ot=rt.yyleng,X=rt.yytext,Q=rt.yylineno,xt=rt.yylloc,nt>0);break;case 2:if(Ft=this.productions_[we[1]][1],pe.$=z[z.length-Ft],pe._$={first_line:q[q.length-(Ft||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(Ft||1)].first_column,last_column:q[q.length-1].last_column},wt&&(pe._$.range=[q[q.length-(Ft||1)].range[0],q[q.length-1].range[1]]),(_e=this.performAction.apply(pe,[X,ot,Q,J.yy,we[1],z,q].concat(At)))!==void 0)return _e;Ft&&(B=B.slice(0,-1*Ft*2),z=z.slice(0,-1*Ft),q=q.slice(0,-1*Ft)),B.push(this.productions_[we[1]][0]),z.push(pe.$),q.push(pe._$),Jt=V[B[B.length-2]][B[B.length-1]],B.push(Jt);break;case 3:return!0}}return!0}},T={EOF:1,parseError:function(A,L){if(!this.yy.parser)throw new Error(A);this.yy.parser.parseError(A,L)},setInput:function(A,L){return this.yy=L||this.yy||{},this._input=A,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var A=this._input[0];return this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A,A.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),A},unput:function(A){var L=A.length,B=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var Y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),B.length-1&&(this.yylineno-=B.length-1);var 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:B?(B.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-B.length].length-B[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[z[0],z[0]+this.yyleng-L]),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(A){this.unput(this.match.slice(A))},pastInput:function(){var A=this.matched.substr(0,this.matched.length-this.match.length);return(A.length>20?"...":"")+A.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var A=this.match;return A.length<20&&(A+=this._input.substr(0,20-A.length)),(A.substr(0,20)+(A.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var A=this.pastInput(),L=new Array(A.length+1).join("-");return A+this.upcomingInput()+` +`+L+"^"},test_match:function(A,L){var B,Y,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))),(Y=A[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+A[0].length},this.yytext+=A[0],this.match+=A[0],this.matches=A,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(A[0].length),this.matched+=A[0],B=this.performAction.call(this,this.yy,this,L,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var q in z)this[q]=z[q];return!1}return!1},next:function(){if(this.done)return this.EOF;var A,L,B,Y;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var z=this._currentRules(),q=0;qL[0].length)){if(L=B,Y=q,this.options.backtrack_lexer){if((A=this.test_match(B,z[q]))!==!1)return A;if(this._backtrack){L=!1;continue}return!1}if(!this.options.flex)break}return L?(A=this.test_match(L,z[Y]))!==!1&&A: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(A){this.conditionStack.push(A)},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(A){return(A=this.conditionStack.length-1-Math.abs(A||0))>=0?this.conditionStack[A]:"INITIAL"},pushState:function(A){this.begin(A)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(A,L,B,Y){switch(B){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 C(){this.yy={}}return _.lexer=T,C.prototype=_,_.Parser=C,new C}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(1428).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},7062:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(At,rt,J,pt){for(J=J||{},pt=At.length;pt--;J[At[pt]]=rt);return J},v=[1,4],_=[1,5],T=[1,6],C=[1,7],A=[1,9],L=[1,11,13,20,21,22,23],B=[2,5],Y=[1,6,11,13,20,21,22,23],z=[20,21,22],q=[2,8],V=[1,18],X=[1,19],Q=[1,24],ot=[6,20,21,22,23],nt={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(At,rt,J,pt,xt,wt,gt){var bt=wt.length-1;switch(xt){case 4:pt.setShowData(!0);break;case 7:this.$=wt[bt-1];break;case 9:pt.addSection(wt[bt-1],pt.cleanupValue(wt[bt]));break;case 10:this.$=wt[bt].trim(),pt.setTitle(this.$);break;case 17:pt.parseDirective("%%{","open_directive");break;case 18:pt.parseDirective(wt[bt],"type_directive");break;case 19:wt[bt]=wt[bt].trim().replace(/'/g,'"'),pt.parseDirective(wt[bt],"arg_directive");break;case 20:pt.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:v,15:8,20:_,21:T,22:C,23:A},{1:[3]},{3:10,4:2,5:3,6:v,15:8,20:_,21:T,22:C,23:A},{3:11,4:2,5:3,6:v,15:8,20:_,21:T,22:C,23:A},f(L,B,{7:12,8:[1,13]}),f(Y,[2,14]),f(Y,[2,15]),f(Y,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},f(z,q,{15:8,9:16,10:17,5:20,1:[2,3],11:V,13:X,23:A}),f(L,B,{7:21}),{17:22,18:[1,23],26:Q},f([18,26],[2,18]),f(L,[2,6]),{4:25,20:_,21:T,22:C},{12:[1,26]},{14:[1,27]},f(z,[2,11]),f(z,q,{15:8,9:16,10:17,5:20,1:[2,4],11:V,13:X,23:A}),f(ot,[2,12]),{19:28,25:[1,29]},f(ot,[2,20]),f(L,[2,7]),f(z,[2,9]),f(z,[2,10]),{17:30,26:Q},{26:[2,19]},f(ot,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(At,rt){if(!rt.recoverable){var J=new Error(At);throw J.hash=rt,J}this.trace(At)},parse:function(At){var rt=this,J=[0],pt=[],xt=[null],wt=[],gt=this.table,bt="",Gt=0,Bt=0,we=0,_e=2,ge=1,Ft=wt.slice.call(arguments,1),Jt=Object.create(this.lexer),le={yy:{}};for(var pe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pe)&&(le.yy[pe]=this.yy[pe]);Jt.setInput(At,le.yy),le.yy.lexer=Jt,le.yy.parser=this,Jt.yylloc===void 0&&(Jt.yylloc={});var be=Jt.yylloc;wt.push(be);var Pt=Jt.options&&Jt.options.ranges;function Ze(){var xe;return typeof(xe=pt.pop()||Jt.lex()||ge)!="number"&&(xe instanceof Array&&(xe=(pt=xe).pop()),xe=rt.symbols_[xe]||xe),xe}typeof le.yy.parseError=="function"?this.parseError=le.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var ye,Wt,ie,dt,oe,Lt,te,Zt,Rt,he={};;){if(ie=J[J.length-1],this.defaultActions[ie]?dt=this.defaultActions[ie]:(ye==null&&(ye=Ze()),dt=gt[ie]&>[ie][ye]),dt===void 0||!dt.length||!dt[0]){var an="";for(Lt in Rt=[],gt[ie])this.terminals_[Lt]&&Lt>_e&&Rt.push("'"+this.terminals_[Lt]+"'");an=Jt.showPosition?"Parse error on line "+(Gt+1)+`: +`+Jt.showPosition()+` +Expecting `+Rt.join(", ")+", got '"+(this.terminals_[ye]||ye)+"'":"Parse error on line "+(Gt+1)+": Unexpected "+(ye==ge?"end of input":"'"+(this.terminals_[ye]||ye)+"'"),this.parseError(an,{text:Jt.match,token:this.terminals_[ye]||ye,line:Jt.yylineno,loc:be,expected:Rt})}if(dt[0]instanceof Array&&dt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ie+", token: "+ye);switch(dt[0]){case 1:J.push(ye),xt.push(Jt.yytext),wt.push(Jt.yylloc),J.push(dt[1]),ye=null,Wt?(ye=Wt,Wt=null):(Bt=Jt.yyleng,bt=Jt.yytext,Gt=Jt.yylineno,be=Jt.yylloc,we>0);break;case 2:if(te=this.productions_[dt[1]][1],he.$=xt[xt.length-te],he._$={first_line:wt[wt.length-(te||1)].first_line,last_line:wt[wt.length-1].last_line,first_column:wt[wt.length-(te||1)].first_column,last_column:wt[wt.length-1].last_column},Pt&&(he._$.range=[wt[wt.length-(te||1)].range[0],wt[wt.length-1].range[1]]),(oe=this.performAction.apply(he,[bt,Bt,Gt,le.yy,dt[1],xt,wt].concat(Ft)))!==void 0)return oe;te&&(J=J.slice(0,-1*te*2),xt=xt.slice(0,-1*te),wt=wt.slice(0,-1*te)),J.push(this.productions_[dt[1]][0]),xt.push(he.$),wt.push(he._$),Zt=gt[J[J.length-2]][J[J.length-1]],J.push(Zt);break;case 3:return!0}}return!0}},st={EOF:1,parseError:function(At,rt){if(!this.yy.parser)throw new Error(At);this.yy.parser.parseError(At,rt)},setInput:function(At,rt){return this.yy=rt||this.yy||{},this._input=At,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 At=this._input[0];return this.yytext+=At,this.yyleng++,this.offset++,this.match+=At,this.matched+=At,At.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),At},unput:function(At){var rt=At.length,J=At.split(/(?:\r\n?|\n)/g);this._input=At+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-rt),this.offset-=rt;var pt=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),J.length-1&&(this.yylineno-=J.length-1);var xt=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:J?(J.length===pt.length?this.yylloc.first_column:0)+pt[pt.length-J.length].length-J[0].length:this.yylloc.first_column-rt},this.options.ranges&&(this.yylloc.range=[xt[0],xt[0]+this.yyleng-rt]),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(At){this.unput(this.match.slice(At))},pastInput:function(){var At=this.matched.substr(0,this.matched.length-this.match.length);return(At.length>20?"...":"")+At.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var At=this.match;return At.length<20&&(At+=this._input.substr(0,20-At.length)),(At.substr(0,20)+(At.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var At=this.pastInput(),rt=new Array(At.length+1).join("-");return At+this.upcomingInput()+` +`+rt+"^"},test_match:function(At,rt){var J,pt,xt;if(this.options.backtrack_lexer&&(xt={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&&(xt.yylloc.range=this.yylloc.range.slice(0))),(pt=At[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=pt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:pt?pt[pt.length-1].length-pt[pt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+At[0].length},this.yytext+=At[0],this.match+=At[0],this.matches=At,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(At[0].length),this.matched+=At[0],J=this.performAction.call(this,this.yy,this,rt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),J)return J;if(this._backtrack){for(var wt in xt)this[wt]=xt[wt];return!1}return!1},next:function(){if(this.done)return this.EOF;var At,rt,J,pt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var xt=this._currentRules(),wt=0;wtrt[0].length)){if(rt=J,pt=wt,this.options.backtrack_lexer){if((At=this.test_match(J,xt[wt]))!==!1)return At;if(this._backtrack){rt=!1;continue}return!1}if(!this.options.flex)break}return rt?(At=this.test_match(rt,xt[pt]))!==!1&&At: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(At){this.conditionStack.push(At)},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(At){return(At=this.conditionStack.length-1-Math.abs(At||0))>=0?this.conditionStack[At]:"INITIAL"},pushState:function(At){this.begin(At)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(At,rt,J,pt){switch(J){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 nt.lexer=st,ut.prototype=nt,nt.Parser=ut,new ut}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(4551).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},3176:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(ie,dt,oe,Lt){for(oe=oe||{},Lt=ie.length;Lt--;oe[ie[Lt]]=dt);return oe},v=[1,3],_=[1,5],T=[1,17],C=[2,10],A=[1,21],L=[1,22],B=[1,23],Y=[1,24],z=[1,25],q=[1,26],V=[1,19],X=[1,27],Q=[1,28],ot=[1,31],nt=[66,67],st=[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],At=[1,51],rt=[1,52],J=[1,53],pt=[1,54],xt=[1,55],wt=[1,56],gt=[1,57],bt=[57,58],Gt=[1,69],Bt=[1,65],we=[1,66],_e=[1,67],ge=[1,68],Ft=[1,70],Jt=[1,74],le=[1,75],pe=[1,72],be=[1,73],Pt=[5,8,14,35,36,37,38,39,40,48,66,67],Ze={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(ie,dt,oe,Lt,te,Zt,Rt){var he=Zt.length-1;switch(te){case 6:Lt.parseDirective("%%{","open_directive");break;case 7:Lt.parseDirective(Zt[he],"type_directive");break;case 8:Zt[he]=Zt[he].trim().replace(/'/g,'"'),Lt.parseDirective(Zt[he],"arg_directive");break;case 9:Lt.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:Lt.addRequirement(Zt[he-3],Zt[he-4]);break;case 17:Lt.setNewReqId(Zt[he-2]);break;case 18:Lt.setNewReqText(Zt[he-2]);break;case 19:Lt.setNewReqRisk(Zt[he-2]);break;case 20:Lt.setNewReqVerifyMethod(Zt[he-2]);break;case 23:this.$=Lt.RequirementType.REQUIREMENT;break;case 24:this.$=Lt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=Lt.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=Lt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=Lt.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=Lt.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=Lt.RiskLevel.LOW_RISK;break;case 30:this.$=Lt.RiskLevel.MED_RISK;break;case 31:this.$=Lt.RiskLevel.HIGH_RISK;break;case 32:this.$=Lt.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=Lt.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=Lt.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=Lt.VerifyType.VERIFY_TEST;break;case 36:Lt.addElement(Zt[he-3]);break;case 37:Lt.setNewElementType(Zt[he-2]);break;case 38:Lt.setNewElementDocRef(Zt[he-2]);break;case 41:Lt.addRelationship(Zt[he-2],Zt[he],Zt[he-4]);break;case 42:Lt.addRelationship(Zt[he-2],Zt[he-4],Zt[he]);break;case 43:this.$=Lt.Relationships.CONTAINS;break;case 44:this.$=Lt.Relationships.COPIES;break;case 45:this.$=Lt.Relationships.DERIVES;break;case 46:this.$=Lt.Relationships.SATISFIES;break;case 47:this.$=Lt.Relationships.VERIFIES;break;case 48:this.$=Lt.Relationships.REFINES;break;case 49:this.$=Lt.Relationships.TRACES}},table:[{3:1,4:2,6:v,9:4,14:_},{1:[3]},{3:7,4:2,5:[1,6],6:v,9:4,14:_},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:v,9:4,14:_},{1:[2,2]},{4:16,5:T,7:12,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{11:29,12:[1,30],17:ot},f([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:T,7:33,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{4:16,5:T,7:34,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{4:16,5:T,7:35,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{4:16,5:T,7:36,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{4:16,5:T,7:37,8:C,9:4,14:_,18:13,19:14,20:15,21:18,27:20,35:A,36:L,37:B,38:Y,39:z,40:q,48:V,66:X,67:Q},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},f(nt,[2,23]),f(nt,[2,24]),f(nt,[2,25]),f(nt,[2,26]),f(nt,[2,27]),f(nt,[2,28]),f(st,[2,52]),f(st,[2,53]),f(ut,[2,4]),{13:46,16:[1,47]},f(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:At,60:rt,61:J,62:pt,63:xt,64:wt,65:gt},{56:58,59:At,60:rt,61:J,62:pt,63:xt,64:wt,65:gt},{11:59,17:ot},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},f(bt,[2,43]),f(bt,[2,44]),f(bt,[2,45]),f(bt,[2,46]),f(bt,[2,47]),f(bt,[2,48]),f(bt,[2,49]),{58:[1,63]},f(ut,[2,5]),{5:Gt,24:64,25:Bt,28:we,30:_e,32:ge,34:Ft},{5:Jt,34:le,50:71,51:pe,53:be},{27:76,66:X,67:Q},{27:77,66:X,67:Q},f(Pt,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:Gt,24:82,25:Bt,28:we,30:_e,32:ge,34:Ft},f(Pt,[2,22]),f(Pt,[2,36]),{26:[1,83]},{26:[1,84]},{5:Jt,34:le,50:85,51:pe,53:be},f(Pt,[2,40]),f(Pt,[2,41]),f(Pt,[2,42]),{27:86,66:X,67:Q},{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]},f(Pt,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},f(Pt,[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:Gt,24:111,25:Bt,28:we,30:_e,32:ge,34:Ft},{5:Gt,24:112,25:Bt,28:we,30:_e,32:ge,34:Ft},{5:Gt,24:113,25:Bt,28:we,30:_e,32:ge,34:Ft},{5:Gt,24:114,25:Bt,28:we,30:_e,32:ge,34:Ft},{5:Jt,34:le,50:115,51:pe,53:be},{5:Jt,34:le,50:116,51:pe,53:be},f(Pt,[2,17]),f(Pt,[2,18]),f(Pt,[2,19]),f(Pt,[2,20]),f(Pt,[2,37]),f(Pt,[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(ie,dt){if(!dt.recoverable){var oe=new Error(ie);throw oe.hash=dt,oe}this.trace(ie)},parse:function(ie){var dt=this,oe=[0],Lt=[],te=[null],Zt=[],Rt=this.table,he="",an=0,xe=0,Re=0,pn=2,Je=1,Ue=Zt.slice.call(arguments,1),Oe=Object.create(this.lexer),on={yy:{}};for(var qe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qe)&&(on.yy[qe]=this.yy[qe]);Oe.setInput(ie,on.yy),on.yy.lexer=Oe,on.yy.parser=this,Oe.yylloc===void 0&&(Oe.yylloc={});var tn=Oe.yylloc;Zt.push(tn);var en=Oe.options&&Oe.options.ranges;function Pe(){var Sn;return typeof(Sn=Lt.pop()||Oe.lex()||Je)!="number"&&(Sn instanceof Array&&(Sn=(Lt=Sn).pop()),Sn=dt.symbols_[Sn]||Sn),Sn}typeof on.yy.parseError=="function"?this.parseError=on.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Hn,Ie,ln,xn,Br,kn,nr,fn,vn,nn={};;){if(ln=oe[oe.length-1],this.defaultActions[ln]?xn=this.defaultActions[ln]:(Hn==null&&(Hn=Pe()),xn=Rt[ln]&&Rt[ln][Hn]),xn===void 0||!xn.length||!xn[0]){var Cn="";for(kn in vn=[],Rt[ln])this.terminals_[kn]&&kn>pn&&vn.push("'"+this.terminals_[kn]+"'");Cn=Oe.showPosition?"Parse error on line "+(an+1)+`: +`+Oe.showPosition()+` +Expecting `+vn.join(", ")+", got '"+(this.terminals_[Hn]||Hn)+"'":"Parse error on line "+(an+1)+": Unexpected "+(Hn==Je?"end of input":"'"+(this.terminals_[Hn]||Hn)+"'"),this.parseError(Cn,{text:Oe.match,token:this.terminals_[Hn]||Hn,line:Oe.yylineno,loc:tn,expected:vn})}if(xn[0]instanceof Array&&xn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ln+", token: "+Hn);switch(xn[0]){case 1:oe.push(Hn),te.push(Oe.yytext),Zt.push(Oe.yylloc),oe.push(xn[1]),Hn=null,Ie?(Hn=Ie,Ie=null):(xe=Oe.yyleng,he=Oe.yytext,an=Oe.yylineno,tn=Oe.yylloc,Re>0);break;case 2:if(nr=this.productions_[xn[1]][1],nn.$=te[te.length-nr],nn._$={first_line:Zt[Zt.length-(nr||1)].first_line,last_line:Zt[Zt.length-1].last_line,first_column:Zt[Zt.length-(nr||1)].first_column,last_column:Zt[Zt.length-1].last_column},en&&(nn._$.range=[Zt[Zt.length-(nr||1)].range[0],Zt[Zt.length-1].range[1]]),(Br=this.performAction.apply(nn,[he,xe,an,on.yy,xn[1],te,Zt].concat(Ue)))!==void 0)return Br;nr&&(oe=oe.slice(0,-1*nr*2),te=te.slice(0,-1*nr),Zt=Zt.slice(0,-1*nr)),oe.push(this.productions_[xn[1]][0]),te.push(nn.$),Zt.push(nn._$),fn=Rt[oe[oe.length-2]][oe[oe.length-1]],oe.push(fn);break;case 3:return!0}}return!0}},ye={EOF:1,parseError:function(ie,dt){if(!this.yy.parser)throw new Error(ie);this.yy.parser.parseError(ie,dt)},setInput:function(ie,dt){return this.yy=dt||this.yy||{},this._input=ie,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 ie=this._input[0];return this.yytext+=ie,this.yyleng++,this.offset++,this.match+=ie,this.matched+=ie,ie.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),ie},unput:function(ie){var dt=ie.length,oe=ie.split(/(?:\r\n?|\n)/g);this._input=ie+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-dt),this.offset-=dt;var Lt=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),oe.length-1&&(this.yylineno-=oe.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:oe?(oe.length===Lt.length?this.yylloc.first_column:0)+Lt[Lt.length-oe.length].length-oe[0].length:this.yylloc.first_column-dt},this.options.ranges&&(this.yylloc.range=[te[0],te[0]+this.yyleng-dt]),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(ie){this.unput(this.match.slice(ie))},pastInput:function(){var ie=this.matched.substr(0,this.matched.length-this.match.length);return(ie.length>20?"...":"")+ie.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ie=this.match;return ie.length<20&&(ie+=this._input.substr(0,20-ie.length)),(ie.substr(0,20)+(ie.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ie=this.pastInput(),dt=new Array(ie.length+1).join("-");return ie+this.upcomingInput()+` +`+dt+"^"},test_match:function(ie,dt){var oe,Lt,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))),(Lt=ie[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Lt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Lt?Lt[Lt.length-1].length-Lt[Lt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ie[0].length},this.yytext+=ie[0],this.match+=ie[0],this.matches=ie,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(ie[0].length),this.matched+=ie[0],oe=this.performAction.call(this,this.yy,this,dt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),oe)return oe;if(this._backtrack){for(var Zt in te)this[Zt]=te[Zt];return!1}return!1},next:function(){if(this.done)return this.EOF;var ie,dt,oe,Lt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var te=this._currentRules(),Zt=0;Ztdt[0].length)){if(dt=oe,Lt=Zt,this.options.backtrack_lexer){if((ie=this.test_match(oe,te[Zt]))!==!1)return ie;if(this._backtrack){dt=!1;continue}return!1}if(!this.options.flex)break}return dt?(ie=this.test_match(dt,te[Lt]))!==!1&&ie: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(ie){this.conditionStack.push(ie)},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(ie){return(ie=this.conditionStack.length-1-Math.abs(ie||0))>=0?this.conditionStack[ie]:"INITIAL"},pushState:function(ie){this.begin(ie)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ie,dt,oe,Lt){switch(oe){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 dt.yytext=dt.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 Wt(){this.yy={}}return Ze.lexer=ye,Wt.prototype=Ze,Ze.Parser=Wt,new Wt}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(8800).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},6876:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(Pt,Ze,ye,Wt){for(ye=ye||{},Wt=Pt.length;Wt--;ye[Pt[Wt]]=Ze);return ye},v=[1,2],_=[1,3],T=[1,5],C=[1,7],A=[2,5],L=[1,15],B=[1,17],Y=[1,18],z=[1,19],q=[1,21],V=[1,22],X=[1,23],Q=[1,29],ot=[1,30],nt=[1,31],st=[1,32],ut=[1,33],At=[1,34],rt=[1,37],J=[1,38],pt=[1,39],xt=[1,40],wt=[1,41],gt=[1,42],bt=[1,45],Gt=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],Bt=[1,58],we=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],_e=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],ge=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],Ft=[55,56,57],Jt=[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],le={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(Pt,Ze,ye,Wt,ie,dt,oe){var Lt=dt.length-1;switch(ie){case 4:return Wt.apply(dt[Lt]),dt[Lt];case 5:case 9:this.$=[];break;case 6:dt[Lt-1].push(dt[Lt]),this.$=dt[Lt-1];break;case 7:case 8:case 45:this.$=dt[Lt];break;case 12:dt[Lt-3].type="addParticipant",dt[Lt-3].description=Wt.parseMessage(dt[Lt-1]),this.$=dt[Lt-3];break;case 13:dt[Lt-1].type="addParticipant",this.$=dt[Lt-1];break;case 14:dt[Lt-3].type="addActor",dt[Lt-3].description=Wt.parseMessage(dt[Lt-1]),this.$=dt[Lt-3];break;case 15:dt[Lt-1].type="addActor",this.$=dt[Lt-1];break;case 17:Wt.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:Wt.LINETYPE.ACTIVE_START,actor:dt[Lt-1]};break;case 19:this.$={type:"activeEnd",signalType:Wt.LINETYPE.ACTIVE_END,actor:dt[Lt-1]};break;case 25:this.$=[{type:"setTitle",text:dt[Lt-1]}];break;case 26:dt[Lt-1].unshift({type:"loopStart",loopText:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.LOOP_START}),dt[Lt-1].push({type:"loopEnd",loopText:dt[Lt-2],signalType:Wt.LINETYPE.LOOP_END}),this.$=dt[Lt-1];break;case 27:dt[Lt-1].unshift({type:"rectStart",color:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.RECT_START}),dt[Lt-1].push({type:"rectEnd",color:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.RECT_END}),this.$=dt[Lt-1];break;case 28:dt[Lt-1].unshift({type:"optStart",optText:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.OPT_START}),dt[Lt-1].push({type:"optEnd",optText:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.OPT_END}),this.$=dt[Lt-1];break;case 29:dt[Lt-1].unshift({type:"altStart",altText:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.ALT_START}),dt[Lt-1].push({type:"altEnd",signalType:Wt.LINETYPE.ALT_END}),this.$=dt[Lt-1];break;case 30:dt[Lt-1].unshift({type:"parStart",parText:Wt.parseMessage(dt[Lt-2]),signalType:Wt.LINETYPE.PAR_START}),dt[Lt-1].push({type:"parEnd",signalType:Wt.LINETYPE.PAR_END}),this.$=dt[Lt-1];break;case 33:this.$=dt[Lt-3].concat([{type:"and",parText:Wt.parseMessage(dt[Lt-1]),signalType:Wt.LINETYPE.PAR_AND},dt[Lt]]);break;case 35:this.$=dt[Lt-3].concat([{type:"else",altText:Wt.parseMessage(dt[Lt-1]),signalType:Wt.LINETYPE.ALT_ELSE},dt[Lt]]);break;case 36:this.$=[dt[Lt-1],{type:"addNote",placement:dt[Lt-2],actor:dt[Lt-1].actor,text:dt[Lt]}];break;case 37:dt[Lt-2]=[].concat(dt[Lt-1],dt[Lt-1]).slice(0,2),dt[Lt-2][0]=dt[Lt-2][0].actor,dt[Lt-2][1]=dt[Lt-2][1].actor,this.$=[dt[Lt-1],{type:"addNote",placement:Wt.PLACEMENT.OVER,actor:dt[Lt-2].slice(0,2),text:dt[Lt]}];break;case 38:this.$=[dt[Lt-1],{type:"addLinks",actor:dt[Lt-1].actor,text:dt[Lt]}];break;case 39:this.$=[dt[Lt-1],{type:"addALink",actor:dt[Lt-1].actor,text:dt[Lt]}];break;case 40:this.$=[dt[Lt-1],{type:"addProperties",actor:dt[Lt-1].actor,text:dt[Lt]}];break;case 41:this.$=[dt[Lt-1],{type:"addDetails",actor:dt[Lt-1].actor,text:dt[Lt]}];break;case 44:this.$=[dt[Lt-2],dt[Lt]];break;case 46:this.$=Wt.PLACEMENT.LEFTOF;break;case 47:this.$=Wt.PLACEMENT.RIGHTOF;break;case 48:this.$=[dt[Lt-4],dt[Lt-1],{type:"addMessage",from:dt[Lt-4].actor,to:dt[Lt-1].actor,signalType:dt[Lt-3],msg:dt[Lt]},{type:"activeStart",signalType:Wt.LINETYPE.ACTIVE_START,actor:dt[Lt-1]}];break;case 49:this.$=[dt[Lt-4],dt[Lt-1],{type:"addMessage",from:dt[Lt-4].actor,to:dt[Lt-1].actor,signalType:dt[Lt-3],msg:dt[Lt]},{type:"activeEnd",signalType:Wt.LINETYPE.ACTIVE_END,actor:dt[Lt-4]}];break;case 50:this.$=[dt[Lt-3],dt[Lt-1],{type:"addMessage",from:dt[Lt-3].actor,to:dt[Lt-1].actor,signalType:dt[Lt-2],msg:dt[Lt]}];break;case 51:this.$={type:"addParticipant",actor:dt[Lt]};break;case 52:this.$=Wt.LINETYPE.SOLID_OPEN;break;case 53:this.$=Wt.LINETYPE.DOTTED_OPEN;break;case 54:this.$=Wt.LINETYPE.SOLID;break;case 55:this.$=Wt.LINETYPE.DOTTED;break;case 56:this.$=Wt.LINETYPE.SOLID_CROSS;break;case 57:this.$=Wt.LINETYPE.DOTTED_CROSS;break;case 58:this.$=Wt.LINETYPE.SOLID_POINT;break;case 59:this.$=Wt.LINETYPE.DOTTED_POINT;break;case 60:this.$=Wt.parseMessage(dt[Lt].trim().substring(1));break;case 61:Wt.parseDirective("%%{","open_directive");break;case 62:Wt.parseDirective(dt[Lt],"type_directive");break;case 63:dt[Lt]=dt[Lt].trim().replace(/'/g,'"'),Wt.parseDirective(dt[Lt],"arg_directive");break;case 64:Wt.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:v,5:_,6:4,7:T,11:6,67:C},{1:[3]},{3:8,4:v,5:_,6:4,7:T,11:6,67:C},{3:9,4:v,5:_,6:4,7:T,11:6,67:C},{3:10,4:v,5:_,6:4,7:T,11:6,67:C},f([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],A,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,34:nt,35:st,36:ut,38:At,42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{13:43,14:[1,44],70:bt},f([14,70],[2,62]),f(Gt,[2,6]),{6:35,10:46,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,34:nt,35:st,36:ut,38:At,42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},f(Gt,[2,8]),f(Gt,[2,9]),{17:47,57:gt},{17:48,57:gt},{5:[1,49]},f(Gt,[2,17]),{17:50,57:gt},{17:51,57:gt},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:Bt},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},f(Gt,[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:gt},{17:78,57:gt},{17:79,57:gt},{17:80,57:gt},f([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]},f(Gt,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},f(Gt,[2,16]),{5:[1,88]},{5:[1,89]},f(Gt,[2,20]),f(Gt,[2,21]),f(Gt,[2,22]),f(Gt,[2,23]),f(Gt,[2,24]),{5:[1,90]},{5:[2,60]},f(we,A,{8:91}),f(we,A,{8:92}),f(we,A,{8:93}),f(_e,A,{37:94,8:95}),f(ge,A,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:gt},f(Ft,[2,52]),f(Ft,[2,53]),f(Ft,[2,54]),f(Ft,[2,55]),f(Ft,[2,56]),f(Ft,[2,57]),f(Ft,[2,58]),f(Ft,[2,59]),{17:101,57:gt},{17:103,45:102,57:gt},{57:[2,46]},{57:[2,47]},{31:104,66:Bt},{31:105,66:Bt},{31:106,66:Bt},{31:107,66:Bt},f(Jt,[2,10]),{13:108,70:bt},{70:[2,63]},{19:[1,109]},f(Gt,[2,13]),{19:[1,110]},f(Gt,[2,15]),f(Gt,[2,18]),f(Gt,[2,19]),f(Gt,[2,25]),{4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,33:[1,111],34:nt,35:st,36:ut,38:At,42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,33:[1,112],34:nt,35:st,36:ut,38:At,42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,33:[1,113],34:nt,35:st,36:ut,38:At,42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{33:[1,114]},{4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,33:[2,34],34:nt,35:st,36:ut,38:At,41:[1,115],42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{33:[1,116]},{4:L,5:B,6:35,9:14,10:16,11:6,16:Y,17:36,20:z,21:20,22:q,23:V,24:X,25:24,26:25,27:26,28:27,29:28,30:Q,32:ot,33:[2,32],34:nt,35:st,36:ut,38:At,40:[1,117],42:rt,46:J,47:pt,48:xt,49:wt,57:gt,67:C},{17:118,57:gt},{17:119,57:gt},{31:120,66:Bt},{31:121,66:Bt},{31:122,66:Bt},{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]},f(Gt,[2,26]),f(Gt,[2,27]),f(Gt,[2,28]),f(Gt,[2,29]),{19:[1,127]},f(Gt,[2,30]),{19:[1,128]},{31:129,66:Bt},{31:130,66:Bt},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:gt},f(Jt,[2,11]),f(Gt,[2,12]),f(Gt,[2,14]),f(_e,A,{8:95,37:132}),f(ge,A,{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(Pt,Ze){if(!Ze.recoverable){var ye=new Error(Pt);throw ye.hash=Ze,ye}this.trace(Pt)},parse:function(Pt){var Ze=this,ye=[0],Wt=[],ie=[null],dt=[],oe=this.table,Lt="",te=0,Zt=0,Rt=0,he=2,an=1,xe=dt.slice.call(arguments,1),Re=Object.create(this.lexer),pn={yy:{}};for(var Je in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Je)&&(pn.yy[Je]=this.yy[Je]);Re.setInput(Pt,pn.yy),pn.yy.lexer=Re,pn.yy.parser=this,Re.yylloc===void 0&&(Re.yylloc={});var Ue=Re.yylloc;dt.push(Ue);var Oe=Re.options&&Re.options.ranges;function on(){var fn;return typeof(fn=Wt.pop()||Re.lex()||an)!="number"&&(fn instanceof Array&&(fn=(Wt=fn).pop()),fn=Ze.symbols_[fn]||fn),fn}typeof pn.yy.parseError=="function"?this.parseError=pn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var qe,tn,en,Pe,Hn,Ie,ln,xn,Br,kn={};;){if(en=ye[ye.length-1],this.defaultActions[en]?Pe=this.defaultActions[en]:(qe==null&&(qe=on()),Pe=oe[en]&&oe[en][qe]),Pe===void 0||!Pe.length||!Pe[0]){var nr="";for(Ie in Br=[],oe[en])this.terminals_[Ie]&&Ie>he&&Br.push("'"+this.terminals_[Ie]+"'");nr=Re.showPosition?"Parse error on line "+(te+1)+`: +`+Re.showPosition()+` +Expecting `+Br.join(", ")+", got '"+(this.terminals_[qe]||qe)+"'":"Parse error on line "+(te+1)+": Unexpected "+(qe==an?"end of input":"'"+(this.terminals_[qe]||qe)+"'"),this.parseError(nr,{text:Re.match,token:this.terminals_[qe]||qe,line:Re.yylineno,loc:Ue,expected:Br})}if(Pe[0]instanceof Array&&Pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+en+", token: "+qe);switch(Pe[0]){case 1:ye.push(qe),ie.push(Re.yytext),dt.push(Re.yylloc),ye.push(Pe[1]),qe=null,tn?(qe=tn,tn=null):(Zt=Re.yyleng,Lt=Re.yytext,te=Re.yylineno,Ue=Re.yylloc,Rt>0);break;case 2:if(ln=this.productions_[Pe[1]][1],kn.$=ie[ie.length-ln],kn._$={first_line:dt[dt.length-(ln||1)].first_line,last_line:dt[dt.length-1].last_line,first_column:dt[dt.length-(ln||1)].first_column,last_column:dt[dt.length-1].last_column},Oe&&(kn._$.range=[dt[dt.length-(ln||1)].range[0],dt[dt.length-1].range[1]]),(Hn=this.performAction.apply(kn,[Lt,Zt,te,pn.yy,Pe[1],ie,dt].concat(xe)))!==void 0)return Hn;ln&&(ye=ye.slice(0,-1*ln*2),ie=ie.slice(0,-1*ln),dt=dt.slice(0,-1*ln)),ye.push(this.productions_[Pe[1]][0]),ie.push(kn.$),dt.push(kn._$),xn=oe[ye[ye.length-2]][ye[ye.length-1]],ye.push(xn);break;case 3:return!0}}return!0}},pe={EOF:1,parseError:function(Pt,Ze){if(!this.yy.parser)throw new Error(Pt);this.yy.parser.parseError(Pt,Ze)},setInput:function(Pt,Ze){return this.yy=Ze||this.yy||{},this._input=Pt,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 Pt=this._input[0];return this.yytext+=Pt,this.yyleng++,this.offset++,this.match+=Pt,this.matched+=Pt,Pt.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),Pt},unput:function(Pt){var Ze=Pt.length,ye=Pt.split(/(?:\r\n?|\n)/g);this._input=Pt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ze),this.offset-=Ze;var Wt=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),ye.length-1&&(this.yylineno-=ye.length-1);var ie=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:ye?(ye.length===Wt.length?this.yylloc.first_column:0)+Wt[Wt.length-ye.length].length-ye[0].length:this.yylloc.first_column-Ze},this.options.ranges&&(this.yylloc.range=[ie[0],ie[0]+this.yyleng-Ze]),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(Pt){this.unput(this.match.slice(Pt))},pastInput:function(){var Pt=this.matched.substr(0,this.matched.length-this.match.length);return(Pt.length>20?"...":"")+Pt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Pt=this.match;return Pt.length<20&&(Pt+=this._input.substr(0,20-Pt.length)),(Pt.substr(0,20)+(Pt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Pt=this.pastInput(),Ze=new Array(Pt.length+1).join("-");return Pt+this.upcomingInput()+` +`+Ze+"^"},test_match:function(Pt,Ze){var ye,Wt,ie;if(this.options.backtrack_lexer&&(ie={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&&(ie.yylloc.range=this.yylloc.range.slice(0))),(Wt=Pt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Wt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Wt?Wt[Wt.length-1].length-Wt[Wt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Pt[0].length},this.yytext+=Pt[0],this.match+=Pt[0],this.matches=Pt,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(Pt[0].length),this.matched+=Pt[0],ye=this.performAction.call(this,this.yy,this,Ze,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ye)return ye;if(this._backtrack){for(var dt in ie)this[dt]=ie[dt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Pt,Ze,ye,Wt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ie=this._currentRules(),dt=0;dtZe[0].length)){if(Ze=ye,Wt=dt,this.options.backtrack_lexer){if((Pt=this.test_match(ye,ie[dt]))!==!1)return Pt;if(this._backtrack){Ze=!1;continue}return!1}if(!this.options.flex)break}return Ze?(Pt=this.test_match(Ze,ie[Wt]))!==!1&&Pt: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(Pt){this.conditionStack.push(Pt)},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(Pt){return(Pt=this.conditionStack.length-1-Math.abs(Pt||0))>=0?this.conditionStack[Pt]:"INITIAL"},pushState:function(Pt){this.begin(Pt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Pt,Ze,ye,Wt){switch(ye){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 Ze.yytext=Ze.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 Ze.yytext=Ze.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 be(){this.yy={}}return le.lexer=pe,be.prototype=le,le.Parser=be,new be}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(1993).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},3584:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(Ft,Jt,le,pe){for(le=le||{},pe=Ft.length;pe--;le[Ft[pe]]=Jt);return le},v=[1,2],_=[1,3],T=[1,5],C=[1,7],A=[2,5],L=[1,15],B=[1,17],Y=[1,19],z=[1,20],q=[1,21],V=[1,22],X=[1,30],Q=[1,23],ot=[1,24],nt=[1,25],st=[1,26],ut=[1,27],At=[1,32],rt=[1,33],J=[1,34],pt=[1,35],xt=[1,31],wt=[1,38],gt=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],bt=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Gt=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Bt=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],we={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(Ft,Jt,le,pe,be,Pt,Ze){var ye=Pt.length-1;switch(be){case 4:return pe.setRootDoc(Pt[ye]),Pt[ye];case 5:this.$=[];break;case 6:Pt[ye]!="nl"&&(Pt[ye-1].push(Pt[ye]),this.$=Pt[ye-1]);break;case 7:case 8:case 36:case 37:this.$=Pt[ye];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:Pt[ye],type:"default",description:""};break;case 11:this.$={stmt:"state",id:Pt[ye-1],type:"default",description:pe.trimColon(Pt[ye])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:Pt[ye-2],type:"default",description:""},state2:{stmt:"state",id:Pt[ye],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:Pt[ye-3],type:"default",description:""},state2:{stmt:"state",id:Pt[ye-1],type:"default",description:""},description:Pt[ye].substr(1).trim()};break;case 17:this.$={stmt:"state",id:Pt[ye-3],type:"default",description:"",doc:Pt[ye-1]};break;case 18:var Wt=Pt[ye],ie=Pt[ye-2].trim();if(Pt[ye].match(":")){var dt=Pt[ye].split(":");Wt=dt[0],ie=[ie,dt[1]]}this.$={stmt:"state",id:Wt,type:"default",description:ie};break;case 19:this.$={stmt:"state",id:Pt[ye-3],type:"default",description:Pt[ye-5],doc:Pt[ye-1]};break;case 20:this.$={stmt:"state",id:Pt[ye],type:"fork"};break;case 21:this.$={stmt:"state",id:Pt[ye],type:"join"};break;case 22:this.$={stmt:"state",id:Pt[ye],type:"choice"};break;case 23:this.$={stmt:"state",id:pe.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:Pt[ye-1].trim(),note:{position:Pt[ye-2].trim(),text:Pt[ye].trim()}};break;case 30:pe.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:pe.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:pe.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:pe.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:pe.parseDirective("%%{","open_directive");break;case 41:pe.parseDirective(Pt[ye],"type_directive");break;case 42:Pt[ye]=Pt[ye].trim().replace(/'/g,'"'),pe.parseDirective(Pt[ye],"arg_directive");break;case 43:pe.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:v,5:_,6:4,7:T,31:6,45:C},{1:[3]},{3:8,4:v,5:_,6:4,7:T,31:6,45:C},{3:9,4:v,5:_,6:4,7:T,31:6,45:C},{3:10,4:v,5:_,6:4,7:T,31:6,45:C},f([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],A,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:L,5:B,6:28,9:14,10:16,11:18,14:Y,15:z,17:q,20:V,22:X,23:Q,24:ot,25:nt,26:st,27:ut,30:29,31:6,36:At,37:rt,38:J,39:pt,42:xt,45:C},{33:36,34:[1,37],48:wt},f([34,48],[2,41]),f(gt,[2,6]),{6:28,10:39,11:18,14:Y,15:z,17:q,20:V,22:X,23:Q,24:ot,25:nt,26:st,27:ut,30:29,31:6,36:At,37:rt,38:J,39:pt,42:xt,45:C},f(gt,[2,8]),f(gt,[2,9]),f(gt,[2,10],{12:[1,40],13:[1,41]}),f(gt,[2,14]),{16:[1,42]},f(gt,[2,16],{18:[1,43]}),{21:[1,44]},f(gt,[2,20]),f(gt,[2,21]),f(gt,[2,22]),f(gt,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},f(gt,[2,26]),f(gt,[2,27]),f(bt,[2,36]),f(bt,[2,37]),f(gt,[2,30]),f(gt,[2,31]),f(gt,[2,32]),f(gt,[2,33]),f(Gt,[2,28]),{35:49,47:[1,50]},f(Gt,[2,43]),f(gt,[2,7]),f(gt,[2,11]),{11:51,22:X,42:xt},f(gt,[2,15]),f(Bt,A,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:wt},{48:[2,42]},f(gt,[2,12],{12:[1,57]}),{4:L,5:B,6:28,9:14,10:16,11:18,14:Y,15:z,17:q,19:[1,58],20:V,22:X,23:Q,24:ot,25:nt,26:st,27:ut,30:29,31:6,36:At,37:rt,38:J,39:pt,42:xt,45:C},f(gt,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},f(Gt,[2,29]),f(gt,[2,13]),f(gt,[2,17]),f(Bt,A,{8:62}),f(gt,[2,24]),f(gt,[2,25]),{4:L,5:B,6:28,9:14,10:16,11:18,14:Y,15:z,17:q,19:[1,63],20:V,22:X,23:Q,24:ot,25:nt,26:st,27:ut,30:29,31:6,36:At,37:rt,38:J,39:pt,42:xt,45:C},f(gt,[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(Ft,Jt){if(!Jt.recoverable){var le=new Error(Ft);throw le.hash=Jt,le}this.trace(Ft)},parse:function(Ft){var Jt=this,le=[0],pe=[],be=[null],Pt=[],Ze=this.table,ye="",Wt=0,ie=0,dt=0,oe=2,Lt=1,te=Pt.slice.call(arguments,1),Zt=Object.create(this.lexer),Rt={yy:{}};for(var he in this.yy)Object.prototype.hasOwnProperty.call(this.yy,he)&&(Rt.yy[he]=this.yy[he]);Zt.setInput(Ft,Rt.yy),Rt.yy.lexer=Zt,Rt.yy.parser=this,Zt.yylloc===void 0&&(Zt.yylloc={});var an=Zt.yylloc;Pt.push(an);var xe=Zt.options&&Zt.options.ranges;function Re(){var ln;return typeof(ln=pe.pop()||Zt.lex()||Lt)!="number"&&(ln instanceof Array&&(ln=(pe=ln).pop()),ln=Jt.symbols_[ln]||ln),ln}typeof Rt.yy.parseError=="function"?this.parseError=Rt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var pn,Je,Ue,Oe,on,qe,tn,en,Pe,Hn={};;){if(Ue=le[le.length-1],this.defaultActions[Ue]?Oe=this.defaultActions[Ue]:(pn==null&&(pn=Re()),Oe=Ze[Ue]&&Ze[Ue][pn]),Oe===void 0||!Oe.length||!Oe[0]){var Ie="";for(qe in Pe=[],Ze[Ue])this.terminals_[qe]&&qe>oe&&Pe.push("'"+this.terminals_[qe]+"'");Ie=Zt.showPosition?"Parse error on line "+(Wt+1)+`: +`+Zt.showPosition()+` +Expecting `+Pe.join(", ")+", got '"+(this.terminals_[pn]||pn)+"'":"Parse error on line "+(Wt+1)+": Unexpected "+(pn==Lt?"end of input":"'"+(this.terminals_[pn]||pn)+"'"),this.parseError(Ie,{text:Zt.match,token:this.terminals_[pn]||pn,line:Zt.yylineno,loc:an,expected:Pe})}if(Oe[0]instanceof Array&&Oe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ue+", token: "+pn);switch(Oe[0]){case 1:le.push(pn),be.push(Zt.yytext),Pt.push(Zt.yylloc),le.push(Oe[1]),pn=null,Je?(pn=Je,Je=null):(ie=Zt.yyleng,ye=Zt.yytext,Wt=Zt.yylineno,an=Zt.yylloc,dt>0);break;case 2:if(tn=this.productions_[Oe[1]][1],Hn.$=be[be.length-tn],Hn._$={first_line:Pt[Pt.length-(tn||1)].first_line,last_line:Pt[Pt.length-1].last_line,first_column:Pt[Pt.length-(tn||1)].first_column,last_column:Pt[Pt.length-1].last_column},xe&&(Hn._$.range=[Pt[Pt.length-(tn||1)].range[0],Pt[Pt.length-1].range[1]]),(on=this.performAction.apply(Hn,[ye,ie,Wt,Rt.yy,Oe[1],be,Pt].concat(te)))!==void 0)return on;tn&&(le=le.slice(0,-1*tn*2),be=be.slice(0,-1*tn),Pt=Pt.slice(0,-1*tn)),le.push(this.productions_[Oe[1]][0]),be.push(Hn.$),Pt.push(Hn._$),en=Ze[le[le.length-2]][le[le.length-1]],le.push(en);break;case 3:return!0}}return!0}},_e={EOF:1,parseError:function(Ft,Jt){if(!this.yy.parser)throw new Error(Ft);this.yy.parser.parseError(Ft,Jt)},setInput:function(Ft,Jt){return this.yy=Jt||this.yy||{},this._input=Ft,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 Ft=this._input[0];return this.yytext+=Ft,this.yyleng++,this.offset++,this.match+=Ft,this.matched+=Ft,Ft.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),Ft},unput:function(Ft){var Jt=Ft.length,le=Ft.split(/(?:\r\n?|\n)/g);this._input=Ft+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Jt),this.offset-=Jt;var pe=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),le.length-1&&(this.yylineno-=le.length-1);var be=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:le?(le.length===pe.length?this.yylloc.first_column:0)+pe[pe.length-le.length].length-le[0].length:this.yylloc.first_column-Jt},this.options.ranges&&(this.yylloc.range=[be[0],be[0]+this.yyleng-Jt]),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(Ft){this.unput(this.match.slice(Ft))},pastInput:function(){var Ft=this.matched.substr(0,this.matched.length-this.match.length);return(Ft.length>20?"...":"")+Ft.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Ft=this.match;return Ft.length<20&&(Ft+=this._input.substr(0,20-Ft.length)),(Ft.substr(0,20)+(Ft.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Ft=this.pastInput(),Jt=new Array(Ft.length+1).join("-");return Ft+this.upcomingInput()+` +`+Jt+"^"},test_match:function(Ft,Jt){var le,pe,be;if(this.options.backtrack_lexer&&(be={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&&(be.yylloc.range=this.yylloc.range.slice(0))),(pe=Ft[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=pe.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:pe?pe[pe.length-1].length-pe[pe.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Ft[0].length},this.yytext+=Ft[0],this.match+=Ft[0],this.matches=Ft,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(Ft[0].length),this.matched+=Ft[0],le=this.performAction.call(this,this.yy,this,Jt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),le)return le;if(this._backtrack){for(var Pt in be)this[Pt]=be[Pt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Ft,Jt,le,pe;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var be=this._currentRules(),Pt=0;PtJt[0].length)){if(Jt=le,pe=Pt,this.options.backtrack_lexer){if((Ft=this.test_match(le,be[Pt]))!==!1)return Ft;if(this._backtrack){Jt=!1;continue}return!1}if(!this.options.flex)break}return Jt?(Ft=this.test_match(Jt,be[pe]))!==!1&&Ft: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(Ft){this.conditionStack.push(Ft)},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(Ft){return(Ft=this.conditionStack.length-1-Math.abs(Ft||0))>=0?this.conditionStack[Ft]:"INITIAL"},pushState:function(Ft){this.begin(Ft)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ft,Jt,le,pe){switch(le){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(),Jt.yytext=Jt.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),Jt.yytext=Jt.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),Jt.yytext=Jt.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(),Jt.yytext=Jt.yytext.substr(2).trim(),29;case 50:return this.popState(),Jt.yytext=Jt.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 Jt.yytext=Jt.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 ge(){this.yy={}}return we.lexer=_e,ge.prototype=we,we.Parser=ge,new ge}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(3069).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},9763:(s,h,c)=>{s=c.nmd(s);var d=function(){var f=function(X,Q,ot,nt){for(ot=ot||{},nt=X.length;nt--;ot[X[nt]]=Q);return ot},v=[1,2],_=[1,5],T=[6,9,11,17,18,19,21],C=[1,15],A=[1,16],L=[1,17],B=[1,21],Y=[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(X,Q,ot,nt,st,ut,At){var rt=ut.length-1;switch(st){case 1:return ut[rt-1];case 3:case 7:case 8:this.$=[];break;case 4:ut[rt-1].push(ut[rt]),this.$=ut[rt-1];break;case 5:case 6:this.$=ut[rt];break;case 11:nt.setTitle(ut[rt].substr(6)),this.$=ut[rt].substr(6);break;case 12:nt.addSection(ut[rt].substr(8)),this.$=ut[rt].substr(8);break;case 13:nt.addTask(ut[rt-1],ut[rt]),this.$="task";break;case 15:nt.parseDirective("%%{","open_directive");break;case 16:nt.parseDirective(ut[rt],"type_directive");break;case 17:ut[rt]=ut[rt].trim().replace(/'/g,'"'),nt.parseDirective(ut[rt],"arg_directive");break;case 18:nt.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:v,7:3,12:4,21:_},{1:[3]},f(T,[2,3],{5:6}),{3:7,4:v,7:3,12:4,21:_},{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:C,18:A,19:L,21:_},{1:[2,2]},{14:19,15:[1,20],24:B},f([15,24],[2,16]),f(T,[2,8],{1:[2,1]}),f(T,[2,4]),{7:18,10:22,12:4,17:C,18:A,19:L,21:_},f(T,[2,6]),f(T,[2,7]),f(T,[2,11]),f(T,[2,12]),{20:[1,23]},f(T,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},f(T,[2,5]),f(T,[2,13]),f(Y,[2,9]),{14:27,24:B},{24:[2,17]},{11:[1,28]},f(Y,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(X,Q){if(!Q.recoverable){var ot=new Error(X);throw ot.hash=Q,ot}this.trace(X)},parse:function(X){var Q=this,ot=[0],nt=[],st=[null],ut=[],At=this.table,rt="",J=0,pt=0,xt=0,wt=2,gt=1,bt=ut.slice.call(arguments,1),Gt=Object.create(this.lexer),Bt={yy:{}};for(var we in this.yy)Object.prototype.hasOwnProperty.call(this.yy,we)&&(Bt.yy[we]=this.yy[we]);Gt.setInput(X,Bt.yy),Bt.yy.lexer=Gt,Bt.yy.parser=this,Gt.yylloc===void 0&&(Gt.yylloc={});var _e=Gt.yylloc;ut.push(_e);var ge=Gt.options&&Gt.options.ranges;function Ft(){var Lt;return typeof(Lt=nt.pop()||Gt.lex()||gt)!="number"&&(Lt instanceof Array&&(Lt=(nt=Lt).pop()),Lt=Q.symbols_[Lt]||Lt),Lt}typeof Bt.yy.parseError=="function"?this.parseError=Bt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Jt,le,pe,be,Pt,Ze,ye,Wt,ie,dt={};;){if(pe=ot[ot.length-1],this.defaultActions[pe]?be=this.defaultActions[pe]:(Jt==null&&(Jt=Ft()),be=At[pe]&&At[pe][Jt]),be===void 0||!be.length||!be[0]){var oe="";for(Ze in ie=[],At[pe])this.terminals_[Ze]&&Ze>wt&&ie.push("'"+this.terminals_[Ze]+"'");oe=Gt.showPosition?"Parse error on line "+(J+1)+`: +`+Gt.showPosition()+` +Expecting `+ie.join(", ")+", got '"+(this.terminals_[Jt]||Jt)+"'":"Parse error on line "+(J+1)+": Unexpected "+(Jt==gt?"end of input":"'"+(this.terminals_[Jt]||Jt)+"'"),this.parseError(oe,{text:Gt.match,token:this.terminals_[Jt]||Jt,line:Gt.yylineno,loc:_e,expected:ie})}if(be[0]instanceof Array&&be.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pe+", token: "+Jt);switch(be[0]){case 1:ot.push(Jt),st.push(Gt.yytext),ut.push(Gt.yylloc),ot.push(be[1]),Jt=null,le?(Jt=le,le=null):(pt=Gt.yyleng,rt=Gt.yytext,J=Gt.yylineno,_e=Gt.yylloc,xt>0);break;case 2:if(ye=this.productions_[be[1]][1],dt.$=st[st.length-ye],dt._$={first_line:ut[ut.length-(ye||1)].first_line,last_line:ut[ut.length-1].last_line,first_column:ut[ut.length-(ye||1)].first_column,last_column:ut[ut.length-1].last_column},ge&&(dt._$.range=[ut[ut.length-(ye||1)].range[0],ut[ut.length-1].range[1]]),(Pt=this.performAction.apply(dt,[rt,pt,J,Bt.yy,be[1],st,ut].concat(bt)))!==void 0)return Pt;ye&&(ot=ot.slice(0,-1*ye*2),st=st.slice(0,-1*ye),ut=ut.slice(0,-1*ye)),ot.push(this.productions_[be[1]][0]),st.push(dt.$),ut.push(dt._$),Wt=At[ot[ot.length-2]][ot[ot.length-1]],ot.push(Wt);break;case 3:return!0}}return!0}},q={EOF:1,parseError:function(X,Q){if(!this.yy.parser)throw new Error(X);this.yy.parser.parseError(X,Q)},setInput:function(X,Q){return this.yy=Q||this.yy||{},this._input=X,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 X=this._input[0];return this.yytext+=X,this.yyleng++,this.offset++,this.match+=X,this.matched+=X,X.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),X},unput:function(X){var Q=X.length,ot=X.split(/(?:\r\n?|\n)/g);this._input=X+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Q),this.offset-=Q;var nt=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),ot.length-1&&(this.yylineno-=ot.length-1);var st=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:ot?(ot.length===nt.length?this.yylloc.first_column:0)+nt[nt.length-ot.length].length-ot[0].length:this.yylloc.first_column-Q},this.options.ranges&&(this.yylloc.range=[st[0],st[0]+this.yyleng-Q]),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(X){this.unput(this.match.slice(X))},pastInput:function(){var X=this.matched.substr(0,this.matched.length-this.match.length);return(X.length>20?"...":"")+X.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var X=this.match;return X.length<20&&(X+=this._input.substr(0,20-X.length)),(X.substr(0,20)+(X.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var X=this.pastInput(),Q=new Array(X.length+1).join("-");return X+this.upcomingInput()+` +`+Q+"^"},test_match:function(X,Q){var ot,nt,st;if(this.options.backtrack_lexer&&(st={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&&(st.yylloc.range=this.yylloc.range.slice(0))),(nt=X[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=nt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:nt?nt[nt.length-1].length-nt[nt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+X[0].length},this.yytext+=X[0],this.match+=X[0],this.matches=X,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(X[0].length),this.matched+=X[0],ot=this.performAction.call(this,this.yy,this,Q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ot)return ot;if(this._backtrack){for(var ut in st)this[ut]=st[ut];return!1}return!1},next:function(){if(this.done)return this.EOF;var X,Q,ot,nt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var st=this._currentRules(),ut=0;utQ[0].length)){if(Q=ot,nt=ut,this.options.backtrack_lexer){if((X=this.test_match(ot,st[ut]))!==!1)return X;if(this._backtrack){Q=!1;continue}return!1}if(!this.options.flex)break}return Q?(X=this.test_match(Q,st[nt]))!==!1&&X: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(X){this.conditionStack.push(X)},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(X){return(X=this.conditionStack.length-1-Math.abs(X||0))>=0?this.conditionStack[X]:"INITIAL"},pushState:function(X){this.begin(X)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(X,Q,ot,nt){switch(ot){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 V(){this.yy={}}return z.lexer=q,V.prototype=z,z.Parser=V,new V}();h.parser=d,h.Parser=d.Parser,h.parse=function(){return d.parse.apply(d,arguments)},h.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var v=c(9143).readFileSync(c(6470).normalize(f[1]),"utf8");return h.parser.parse(v)},c.c[c.s]===s&&h.main(process.argv.slice(1))},9609:s=>{var h=/^(%20|\s)*(javascript|data)/im,c=/[^\x20-\x7E]/gim,d=/^([^:]+):/gm,f=[".","/"];s.exports={sanitizeUrl:function(v){if(!v)return"about:blank";var _,T,C=v.replace(c,"").trim();return function(A){return f.indexOf(A[0])>-1}(C)?C:(T=C.match(d))?(_=T[0],h.test(_)?"about:blank":C):"about:blank"}}},3841:s=>{s.exports=function(h,c){return h.intersect(c)}},7458:(s,h,c)=>{c.d(h,{Z:()=>Y4});var d=c(1941),f=c.n(d),v={debug:1,info:2,warn:3,error:4,fatal:5},_={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},T=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"fatal";isNaN(i)&&(i=i.toLowerCase(),v[i]!==void 0&&(i=v[i])),_.trace=function(){},_.debug=function(){},_.info=function(){},_.warn=function(){},_.error=function(){},_.fatal=function(){},i<=v.fatal&&(_.fatal=console.error?console.error.bind(console,C("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",C("FATAL"))),i<=v.error&&(_.error=console.error?console.error.bind(console,C("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",C("ERROR"))),i<=v.warn&&(_.warn=console.warn?console.warn.bind(console,C("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",C("WARN"))),i<=v.info&&(_.info=console.info?console.info.bind(console,C("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",C("INFO"))),i<=v.debug&&(_.debug=console.debug?console.debug.bind(console,C("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",C("DEBUG")))},C=function(i){var a=f()().format("ss.SSS");return"%c".concat(a," : ").concat(i," : ")};function A(i,a){let l;if(a===void 0)for(const p of i)p!=null&&(l=p)&&(l=p);else{let p=-1;for(let m of i)(m=a(m,++p,i))!=null&&(l=m)&&(l=m)}return l}function L(i,a){let l;if(a===void 0)for(const p of i)p!=null&&(l>p||l===void 0&&p>=p)&&(l=p);else{let p=-1;for(let m of i)(m=a(m,++p,i))!=null&&(l>m||l===void 0&&m>=m)&&(l=m)}return l}function B(i){return i}var Y=1e-6;function z(i){return"translate("+i+",0)"}function q(i){return"translate(0,"+i+")"}function V(i){return a=>+i(a)}function X(i,a){return a=Math.max(0,i.bandwidth()-2*a)/2,i.round()&&(a=Math.round(a)),l=>+i(l)+a}function Q(){return!this.__axis}function ot(i,a){var l=[],p=null,m=null,b=6,x=6,E=3,D=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,N=i===1||i===4?-1:1,F=i===4||i===2?"x":"y",W=i===1||i===3?z:q;function H(K){var yt=p==null?a.ticks?a.ticks.apply(a,l):a.domain():p,ct=m==null?a.tickFormat?a.tickFormat.apply(a,l):B:m,Tt=Math.max(b,0)+E,vt=a.range(),Mt=+vt[0]+D,Dt=+vt[vt.length-1]+D,jt=(a.bandwidth?X:V)(a.copy(),D),Qt=K.selection?K.selection():K,Ot=Qt.selectAll(".domain").data([null]),ae=Qt.selectAll(".tick").data(yt,a).order(),se=ae.exit(),Nt=ae.enter().append("g").attr("class","tick"),Yt=ae.select("line"),It=ae.select("text");Ot=Ot.merge(Ot.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),ae=ae.merge(Nt),Yt=Yt.merge(Nt.append("line").attr("stroke","currentColor").attr(F+"2",N*b)),It=It.merge(Nt.append("text").attr("fill","currentColor").attr(F,N*Tt).attr("dy",i===1?"0em":i===3?"0.71em":"0.32em")),K!==Qt&&(Ot=Ot.transition(K),ae=ae.transition(K),Yt=Yt.transition(K),It=It.transition(K),se=se.transition(K).attr("opacity",Y).attr("transform",function(Et){return isFinite(Et=jt(Et))?W(Et+D):this.getAttribute("transform")}),Nt.attr("opacity",Y).attr("transform",function(Et){var $t=this.parentNode.__axis;return W(($t&&isFinite($t=$t(Et))?$t:jt(Et))+D)})),se.remove(),Ot.attr("d",i===4||i===2?x?"M"+N*x+","+Mt+"H"+D+"V"+Dt+"H"+N*x:"M"+D+","+Mt+"V"+Dt:x?"M"+Mt+","+N*x+"V"+D+"H"+Dt+"V"+N*x:"M"+Mt+","+D+"H"+Dt),ae.attr("opacity",1).attr("transform",function(Et){return W(jt(Et)+D)}),Yt.attr(F+"2",N*b),It.attr(F,N*Tt).text(ct),Qt.filter(Q).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",i===2?"start":i===4?"end":"middle"),Qt.each(function(){this.__axis=jt})}return H.scale=function(K){return arguments.length?(a=K,H):a},H.ticks=function(){return l=Array.from(arguments),H},H.tickArguments=function(K){return arguments.length?(l=K==null?[]:Array.from(K),H):l.slice()},H.tickValues=function(K){return arguments.length?(p=K==null?null:Array.from(K),H):p&&p.slice()},H.tickFormat=function(K){return arguments.length?(m=K,H):m},H.tickSize=function(K){return arguments.length?(b=x=+K,H):b},H.tickSizeInner=function(K){return arguments.length?(b=+K,H):b},H.tickSizeOuter=function(K){return arguments.length?(x=+K,H):x},H.tickPadding=function(K){return arguments.length?(E=+K,H):E},H.offset=function(K){return arguments.length?(D=+K,H):D},H}function nt(){}function st(i){return i==null?nt:function(){return this.querySelector(i)}}function ut(i){return i==null?[]:Array.isArray(i)?i:Array.from(i)}function At(){return[]}function rt(i){return i==null?At:function(){return this.querySelectorAll(i)}}function J(i){return function(){return this.matches(i)}}function pt(i){return function(a){return a.matches(i)}}var xt=Array.prototype.find;function wt(){return this.firstElementChild}var gt=Array.prototype.filter;function bt(){return Array.from(this.children)}function Gt(i){return new Array(i.length)}function Bt(i,a){this.ownerDocument=i.ownerDocument,this.namespaceURI=i.namespaceURI,this._next=null,this._parent=i,this.__data__=a}function we(i){return function(){return i}}function _e(i,a,l,p,m,b){for(var x,E=0,D=a.length,N=b.length;Ea?1:i>=a?0:NaN}Bt.prototype={constructor:Bt,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,a){return this._parent.insertBefore(i,a)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};var pe="http://www.w3.org/1999/xhtml";const be={svg:"http://www.w3.org/2000/svg",xhtml:pe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Pt(i){var a=i+="",l=a.indexOf(":");return l>=0&&(a=i.slice(0,l))!=="xmlns"&&(i=i.slice(l+1)),be.hasOwnProperty(a)?{space:be[a],local:i}:i}function Ze(i){return function(){this.removeAttribute(i)}}function ye(i){return function(){this.removeAttributeNS(i.space,i.local)}}function Wt(i,a){return function(){this.setAttribute(i,a)}}function ie(i,a){return function(){this.setAttributeNS(i.space,i.local,a)}}function dt(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttribute(i):this.setAttribute(i,l)}}function oe(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,l)}}function Lt(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function te(i){return function(){this.style.removeProperty(i)}}function Zt(i,a,l){return function(){this.style.setProperty(i,a,l)}}function Rt(i,a,l){return function(){var p=a.apply(this,arguments);p==null?this.style.removeProperty(i):this.style.setProperty(i,p,l)}}function he(i,a){return i.style.getPropertyValue(a)||Lt(i).getComputedStyle(i,null).getPropertyValue(a)}function an(i){return function(){delete this[i]}}function xe(i,a){return function(){this[i]=a}}function Re(i,a){return function(){var l=a.apply(this,arguments);l==null?delete this[i]:this[i]=l}}function pn(i){return i.trim().split(/^|\s+/)}function Je(i){return i.classList||new Ue(i)}function Ue(i){this._node=i,this._names=pn(i.getAttribute("class")||"")}function Oe(i,a){for(var l=Je(i),p=-1,m=a.length;++p=0&&(l=a.slice(p+1),a=a.slice(0,p)),{type:a,name:l}})}function An(i){return function(){var a=this.__on;if(a){for(var l,p=0,m=-1,b=a.length;p=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};var rr=[null];function On(i,a){this._groups=i,this._parents=a}function Pn(){return new On([[document.documentElement]],rr)}On.prototype=Pn.prototype={constructor:On,select:function(i){typeof i!="function"&&(i=st(i));for(var a=this._groups,l=a.length,p=new Array(l),m=0;m=Qt&&(Qt=jt+1);!(Dt=Tt[Qt])&&++Qt=0;)(p=m[b])&&(x&&4^p.compareDocumentPosition(x)&&x.parentNode.insertBefore(p,x),x=p);return this},sort:function(i){function a(W,H){return W&&H?i(W.__data__,H.__data__):!W-!H}i||(i=le);for(var l=this._groups,p=l.length,m=new Array(p),b=0;b1?this.each((a==null?te:typeof a=="function"?Rt:Zt)(i,a,l==null?"":l)):he(this.node(),i)},property:function(i,a){return arguments.length>1?this.each((a==null?an:typeof a=="function"?Re:xe)(i,a)):this.node()[i]},classed:function(i,a){var l=pn(i+"");if(arguments.length<2){for(var p=Je(this.node()),m=-1,b=l.length;++m{}};function wn(){for(var i,a=0,l=arguments.length,p={};a=0&&(p=l.slice(m+1),l=l.slice(0,m)),l&&!a.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:p}})}function Ui(i,a){for(var l,p=0,m=i.length;p0)for(var l,p,m=new Array(l),b=0;b=0&&a._call.call(void 0,i),a=a._next;--Fr})()}finally{Fr=0,function(){for(var i,a,l=ua,p=1/0;l;)l._call?(p>l._time&&(p=l._time),i=l,l=l._next):(a=l._next,l._next=null,l=i?i._next=a:ua=a);oi=i,oo(p)}(),Dr=0}}function fa(){var i=Pr.now(),a=i-Jr;a>1e3&&(ti-=a,Jr=i)}function oo(i){Fr||($r&&($r=clearTimeout($r)),i-Dr>24?(i<1/0&&($r=setTimeout(ei,i-Pr.now()-ti)),Xr&&(Xr=clearInterval(Xr))):(Xr||(Jr=Pr.now(),Xr=setInterval(fa,1e3)),Fr=1,Ni(ei)))}function ui(i,a,l){var p=new Vr;return a=a==null?0:+a,p.restart(m=>{p.stop(),i(m+a)},a,l),p}Vr.prototype=ha.prototype={constructor:Vr,restart:function(i,a,l){if(typeof i!="function")throw new TypeError("callback is not a function");l=(l==null?li():+l)+(a==null?0:+a),this._next||oi===this||(oi?oi._next=this:ua=this,oi=this),this._call=i,this._time=l,oo()},stop:function(){this._call&&(this._call=null,this._time=1/0,oo())}};var un=vo("start","end","cancel","interrupt"),Qn=[];function Mn(i,a,l,p,m,b){var x=i.__transition;if(x){if(l in x)return}else i.__transition={};(function(E,D,N){var F,W=E.__transition;function H(ct){var Tt,vt,Mt,Dt;if(N.state!==1)return yt();for(Tt in W)if((Dt=W[Tt]).name===N.name){if(Dt.state===3)return ui(H);Dt.state===4?(Dt.state=6,Dt.timer.stop(),Dt.on.call("interrupt",E,E.__data__,Dt.index,Dt.group),delete W[Tt]):+Tt0)throw new Error("too late; already scheduled");return l}function Jn(i,a){var l=kt(i,a);if(l.state>3)throw new Error("too late; already running");return l}function kt(i,a){var l=i.__transition;if(!l||!(l=l[a]))throw new Error("transition not found");return l}function Kr(i,a){return i=+i,a=+a,function(l){return i*(1-l)+a*l}}var ee,Di=180/Math.PI,Zi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Fa(i,a,l,p,m,b){var x,E,D;return(x=Math.sqrt(i*i+a*a))&&(i/=x,a/=x),(D=i*l+a*p)&&(l-=i*D,p-=a*D),(E=Math.sqrt(l*l+p*p))&&(l/=E,p/=E,D/=E),i*p180?F+=360:F-N>180&&(N+=360),H.push({i:W.push(m(W)+"rotate(",null,p)-2,x:Kr(N,F)})):F&&W.push(m(W)+"rotate("+F+p)}(b.rotate,x.rotate,E,D),function(N,F,W,H){N!==F?H.push({i:W.push(m(W)+"skewX(",null,p)-2,x:Kr(N,F)}):F&&W.push(m(W)+"skewX("+F+p)}(b.skewX,x.skewX,E,D),function(N,F,W,H,K,yt){if(N!==W||F!==H){var ct=K.push(m(K)+"scale(",null,",",null,")");yt.push({i:ct-4,x:Kr(N,W)},{i:ct-2,x:Kr(F,H)})}else W===1&&H===1||K.push(m(K)+"scale("+W+","+H+")")}(b.scaleX,b.scaleY,x.scaleX,x.scaleY,E,D),b=x=null,function(N){for(var F,W=-1,H=D.length;++W>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):l===8?ri(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):l===4?ri(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=Qr.exec(i))?new Hr(a[1],a[2],a[3],1):(a=Ki.exec(i))?new Hr(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=Yi.exec(i))?ri(a[1],a[2],a[3],a[4]):(a=Oi.exec(i))?ri(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=co.exec(i))?lo(a[1],a[2]/100,a[3]/100,1):(a=Ut.exec(i))?lo(a[1],a[2]/100,a[3]/100,a[4]):Ge.hasOwnProperty(i)?_i(Ge[i]):i==="transparent"?new Hr(NaN,NaN,NaN,0):null}function _i(i){return new Hr(i>>16&255,i>>8&255,255&i,1)}function ri(i,a,l,p){return p<=0&&(i=a=l=NaN),new Hr(i,a,l,p)}function bs(i){return i instanceof _r||(i=xr(i)),i?new Hr((i=i.rgb()).r,i.g,i.b,i.opacity):new Hr}function aa(i,a,l,p){return arguments.length===1?bs(i):new Hr(i,a,l,p==null?1:p)}function Hr(i,a,l,p){this.r=+i,this.g=+a,this.b=+l,this.opacity=+p}function Qs(){return"#"+Nc(this.r)+Nc(this.g)+Nc(this.b)}function Ua(){var i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===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))+(i===1?")":", "+i+")")}function Nc(i){return((i=Math.max(0,Math.min(255,Math.round(i)||0)))<16?"0":"")+i.toString(16)}function lo(i,a,l,p){return p<=0?i=a=l=NaN:l<=0||l>=1?i=a=NaN:a<=0&&(i=NaN),new $i(i,a,l,p)}function Dc(i){if(i instanceof $i)return new $i(i.h,i.s,i.l,i.opacity);if(i instanceof _r||(i=xr(i)),!i)return new $i;if(i instanceof $i)return i;var a=(i=i.rgb()).r/255,l=i.g/255,p=i.b/255,m=Math.min(a,l,p),b=Math.max(a,l,p),x=NaN,E=b-m,D=(b+m)/2;return E?(x=a===b?(l-p)/E+6*(l0&&D<1?0:x,new $i(x,E,D,i.opacity)}function $i(i,a,l,p){this.h=+i,this.s=+a,this.l=+l,this.opacity=+p}function ii(i,a,l){return 255*(i<60?a+(l-a)*i/60:i<180?l:i<240?a+(l-a)*(240-i)/60:a)}Ca(_r,xr,{copy:function(i){return Object.assign(new this.constructor,this,i)},displayable:function(){return this.rgb().displayable()},hex:He,formatHex:He,formatHsl:function(){return Dc(this).formatHsl()},formatRgb:vr,toString:vr}),Ca(Hr,aa,Pa(_r,{brighter:function(i){return i=i==null?mi:Math.pow(mi,i),new Hr(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?Cr:Math.pow(Cr,i),new Hr(this.r*i,this.g*i,this.b*i,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:Qs,formatHex:Qs,formatRgb:Ua,toString:Ua})),Ca($i,function(i,a,l,p){return arguments.length===1?Dc(i):new $i(i,a,l,p==null?1:p)},Pa(_r,{brighter:function(i){return i=i==null?mi:Math.pow(mi,i),new $i(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?Cr:Math.pow(Cr,i),new $i(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+360*(this.h<0),a=isNaN(i)||isNaN(this.s)?0:this.s,l=this.l,p=l+(l<.5?l:1-l)*a,m=2*l-p;return new Hr(ii(i>=240?i-240:i+120,m,p),ii(i,m,p),ii(i<120?i+240:i-120,m,p),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 i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(i===1?")":", "+i+")")}}));const vl=i=>()=>i;function bl(i,a){var l=a-i;return l?function(p,m){return function(b){return p+b*m}}(i,l):vl(isNaN(i)?a:i)}const wl=function i(a){var l=function(m){return(m=+m)==1?bl:function(b,x){return x-b?function(E,D,N){return E=Math.pow(E,N),D=Math.pow(D,N)-E,N=1/N,function(F){return Math.pow(E+F*D,N)}}(b,x,m):vl(isNaN(b)?x:b)}}(a);function p(m,b){var x=l((m=aa(m)).r,(b=aa(b)).r),E=l(m.g,b.g),D=l(m.b,b.b),N=bl(m.opacity,b.opacity);return function(F){return m.r=x(F),m.g=E(F),m.b=D(F),m.opacity=N(F),m+""}}return p.gamma=i,p}(1);var Ya=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xl=new RegExp(Ya.source,"g");function kl(i,a){var l,p,m,b=Ya.lastIndex=xl.lastIndex=0,x=-1,E=[],D=[];for(i+="",a+="";(l=Ya.exec(i))&&(p=xl.exec(a));)(m=p.index)>b&&(m=a.slice(b,m),E[x]?E[x]+=m:E[++x]=m),(l=l[0])===(p=p[0])?E[x]?E[x]+=p:E[++x]=p:(E[++x]=null,D.push({i:x,x:Kr(l,p)})),b=xl.lastIndex;return b=0&&(E=E.slice(0,D)),!E||E==="start"})}(a)?Ye:Jn;return function(){var x=b(this,i),E=x.on;E!==p&&(m=(p=E).copy()).on(a,l),x.on=m}}var $f=dn.prototype.constructor;function da(i){return function(){this.style.removeProperty(i)}}function jf(i,a,l){return function(p){this.style.setProperty(i,a.call(this,p),l)}}function Hu(i,a,l){var p,m;function b(){var x=a.apply(this,arguments);return x!==m&&(p=(m=x)&&jf(i,x,l)),p}return b._value=a,b}function Wu(i){return function(a){this.textContent=i.call(this,a)}}function ko(i){var a,l;function p(){var m=i.apply(this,arguments);return m!==l&&(a=(l=m)&&Wu(m)),a}return p._value=i,p}var Lc=0;function ja(i,a,l,p){this._groups=i,this._parents=a,this._name=l,this._id=p}function Rc(){return++Lc}var pa=dn.prototype;ja.prototype={constructor:ja,select:function(i){var a=this._name,l=this._id;typeof i!="function"&&(i=st(i));for(var p=this._groups,m=p.length,b=new Array(m),x=0;x2&&p.state<5,p.state=6,p.timer.stop(),p.on.call(m?"interrupt":"cancel",a,a.__data__,p.index,p.group),delete x[b]):E=!1;E&&delete a.__transition}})(this,i)})},dn.prototype.transition=function(i){var a,l;i instanceof ja?(a=i._id,i=i._name):(a=Rc(),(l=ws).time=li(),i=i==null?null:i+"");for(var p=this._groups,m=p.length,b=0;b>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):l===8?fr(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):l===4?fr(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=tt.exec(i))?new ur(a[1],a[2],a[3],1):(a=ft.exec(i))?new ur(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=Xt.exec(i))?fr(a[1],a[2],a[3],a[4]):(a=ve.exec(i))?fr(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=Se.exec(i))?O0(a[1],a[2]/100,a[3]/100,1):(a=Le.exec(i))?O0(a[1],a[2]/100,a[3]/100,a[4]):Be.hasOwnProperty(i)?yn(Be[i]):i==="transparent"?new ur(NaN,NaN,NaN,0):null}function yn(i){return new ur(i>>16&255,i>>8&255,255&i,1)}function fr(i,a,l,p){return p<=0&&(i=a=l=NaN),new ur(i,a,l,p)}function dr(i){return i instanceof fi||(i=En(i)),i?new ur((i=i.rgb()).r,i.g,i.b,i.opacity):new ur}function Ir(i,a,l,p){return arguments.length===1?dr(i):new ur(i,a,l,p==null?1:p)}function ur(i,a,l,p){this.r=+i,this.g=+a,this.b=+l,this.opacity=+p}function ga(){return"#"+qu(this.r)+qu(this.g)+qu(this.b)}function xs(){var i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===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))+(i===1?")":", "+i+")")}function qu(i){return((i=Math.max(0,Math.min(255,Math.round(i)||0)))<16?"0":"")+i.toString(16)}function O0(i,a,l,p){return p<=0?i=a=l=NaN:l<=0||l>=1?i=a=NaN:a<=0&&(i=NaN),new Eo(i,a,l,p)}function Gu(i){if(i instanceof Eo)return new Eo(i.h,i.s,i.l,i.opacity);if(i instanceof fi||(i=En(i)),!i)return new Eo;if(i instanceof Eo)return i;var a=(i=i.rgb()).r/255,l=i.g/255,p=i.b/255,m=Math.min(a,l,p),b=Math.max(a,l,p),x=NaN,E=b-m,D=(b+m)/2;return E?(x=a===b?(l-p)/E+6*(l0&&D<1?0:x,new Eo(x,E,D,i.opacity)}function Eo(i,a,l,p){this.h=+i,this.s=+a,this.l=+l,this.opacity=+p}function Vu(i,a,l){return 255*(i<60?a+(l-a)*i/60:i<180?l:i<240?a+(l-a)*(240-i)/60:a)}To(fi,En,{copy:function(i){return Object.assign(new this.constructor,this,i)},displayable:function(){return this.rgb().displayable()},hex:We,formatHex:We,formatHsl:function(){return Gu(this).formatHsl()},formatRgb:Ke,toString:Ke}),To(ur,Ir,ji(fi,{brighter:function(i){return i=i==null?Na:Math.pow(Na,i),new ur(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?za:Math.pow(za,i),new ur(this.r*i,this.g*i,this.b*i,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:ga,formatHex:ga,formatRgb:xs,toString:xs})),To(Eo,function(i,a,l,p){return arguments.length===1?Gu(i):new Eo(i,a,l,p==null?1:p)},ji(fi,{brighter:function(i){return i=i==null?Na:Math.pow(Na,i),new Eo(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?za:Math.pow(za,i),new Eo(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+360*(this.h<0),a=isNaN(i)||isNaN(this.s)?0:this.s,l=this.l,p=l+(l<.5?l:1-l)*a,m=2*l-p;return new ur(Vu(i>=240?i-240:i+120,m,p),Vu(i,m,p),Vu(i<120?i+240:i-120,m,p),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 i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(i===1?")":", "+i+")")}}));const i2=Math.PI/180,a2=180/Math.PI,I0=.96422,L0=.82521,o2=4/29,R0=6/29,zf=3*R0*R0;function B0(i){if(i instanceof Go)return new Go(i.l,i.a,i.b,i.opacity);if(i instanceof ks)return s2(i);i instanceof ur||(i=dr(i));var a,l,p=Y0(i.r),m=Y0(i.g),b=Y0(i.b),x=F0((.2225045*p+.7168786*m+.0606169*b)/1);return p===m&&m===b?a=l=x:(a=F0((.4360747*p+.3850649*m+.1430804*b)/I0),l=F0((.0139322*p+.0971045*m+.7141733*b)/L0)),new Go(116*x-16,500*(a-x),200*(x-l),i.opacity)}function Go(i,a,l,p){this.l=+i,this.a=+a,this.b=+l,this.opacity=+p}function F0(i){return i>.008856451679035631?Math.pow(i,1/3):i/zf+o2}function P0(i){return i>R0?i*i*i:zf*(i-o2)}function U0(i){return 255*(i<=.0031308?12.92*i:1.055*Math.pow(i,1/2.4)-.055)}function Y0(i){return(i/=255)<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4)}function Tb(i){if(i instanceof ks)return new ks(i.h,i.c,i.l,i.opacity);if(i instanceof Go||(i=B0(i)),i.a===0&&i.b===0)return new ks(NaN,0()=>i;function c2(i,a){return function(l){return i+l*a}}function Zu(i,a){var l=a-i;return l?c2(i,l):j0(isNaN(i)?a:i)}function Eb(i){return function(a,l){var p=i((a=$0(a)).h,(l=$0(l)).h),m=Zu(a.c,l.c),b=Zu(a.l,l.l),x=Zu(a.opacity,l.opacity);return function(E){return a.h=p(E),a.c=m(E),a.l=b(E),a.opacity=x(E),a+""}}}const Sb=Eb(function(i,a){var l=a-i;return l?c2(i,l>180||l<-180?l-360*Math.round(l/360):l):j0(isNaN(i)?a:i)});var z0=Math.sqrt(50),H0=Math.sqrt(10),W0=Math.sqrt(2);function q0(i,a,l){var p=(a-i)/Math.max(0,l),m=Math.floor(Math.log(p)/Math.LN10),b=p/Math.pow(10,m);return m>=0?(b>=z0?10:b>=H0?5:b>=W0?2:1)*Math.pow(10,m):-Math.pow(10,-m)/(b>=z0?10:b>=H0?5:b>=W0?2:1)}function G0(i,a,l){var p=Math.abs(a-i)/Math.max(0,l),m=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),b=p/m;return b>=z0?m*=10:b>=H0?m*=5:b>=W0&&(m*=2),aa?1:i>=a?0:NaN}function Z0(i){let a=i,l=i,p=i;function m(b,x,E=0,D=b.length){if(E>>1;p(b[N],x)<0?E=N+1:D=N}while(Ei(b)-x,l=V0,p=(b,x)=>V0(i(b),x)),{left:m,center:function(b,x,E=0,D=b.length){const N=m(b,x,E,D-1);return N>E&&a(b[N-1],x)>-a(b[N],x)?N-1:N},right:function(b,x,E=0,D=b.length){if(E>>1;p(b[N],x)<=0?E=N+1:D=N}while(E>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):l===8?Zf(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):l===4?Zf(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=Nb.exec(i))?new Ha(a[1],a[2],a[3],1):(a=K0.exec(i))?new Ha(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=Db.exec(i))?Zf(a[1],a[2],a[3],a[4]):(a=l2.exec(i))?Zf(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=Q0.exec(i))?h2(a[1],a[2]/100,a[3]/100,1):(a=u2.exec(i))?h2(a[1],a[2]/100,a[3]/100,a[4]):Gf.hasOwnProperty(i)?Vf(Gf[i]):i==="transparent"?new Ha(NaN,NaN,NaN,0):null}function Vf(i){return new Ha(i>>16&255,i>>8&255,255&i,1)}function Zf(i,a,l,p){return p<=0&&(i=a=l=NaN),new Ha(i,a,l,p)}function Xf(i){return i instanceof Zo||(i=Al(i)),i?new Ha((i=i.rgb()).r,i.g,i.b,i.opacity):new Ha}function Cl(i,a,l,p){return arguments.length===1?Xf(i):new Ha(i,a,l,p==null?1:p)}function Ha(i,a,l,p){this.r=+i,this.g=+a,this.b=+l,this.opacity=+p}function Ko(){return"#"+Kf(this.r)+Kf(this.g)+Kf(this.b)}function J0(){var i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===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))+(i===1?")":", "+i+")")}function Kf(i){return((i=Math.max(0,Math.min(255,Math.round(i)||0)))<16?"0":"")+i.toString(16)}function h2(i,a,l,p){return p<=0?i=a=l=NaN:l<=0||l>=1?i=a=NaN:a<=0&&(i=NaN),new Da(i,a,l,p)}function f2(i){if(i instanceof Da)return new Da(i.h,i.s,i.l,i.opacity);if(i instanceof Zo||(i=Al(i)),!i)return new Da;if(i instanceof Da)return i;var a=(i=i.rgb()).r/255,l=i.g/255,p=i.b/255,m=Math.min(a,l,p),b=Math.max(a,l,p),x=NaN,E=b-m,D=(b+m)/2;return E?(x=a===b?(l-p)/E+6*(l0&&D<1?0:x,new Da(x,E,D,i.opacity)}function Da(i,a,l,p){this.h=+i,this.s=+a,this.l=+l,this.opacity=+p}function tp(i,a,l){return 255*(i<60?a+(l-a)*i/60:i<180?l:i<240?a+(l-a)*(240-i)/60:a)}Hf(Zo,Al,{copy:function(i){return Object.assign(new this.constructor,this,i)},displayable:function(){return this.rgb().displayable()},hex:Fc,formatHex:Fc,formatHsl:function(){return f2(this).formatHsl()},formatRgb:Pc,toString:Pc}),Hf(Ha,Cl,X0(Zo,{brighter:function(i){return i=i==null?qf:Math.pow(qf,i),new Ha(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?Wf:Math.pow(Wf,i),new Ha(this.r*i,this.g*i,this.b*i,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:Ko,formatHex:Ko,formatRgb:J0,toString:J0})),Hf(Da,function(i,a,l,p){return arguments.length===1?f2(i):new Da(i,a,l,p==null?1:p)},X0(Zo,{brighter:function(i){return i=i==null?qf:Math.pow(qf,i),new Da(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?Wf:Math.pow(Wf,i),new Da(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+360*(this.h<0),a=isNaN(i)||isNaN(this.s)?0:this.s,l=this.l,p=l+(l<.5?l:1-l)*a,m=2*l-p;return new Ha(tp(i>=240?i-240:i+120,m,p),tp(i,m,p),tp(i<120?i+240:i-120,m,p),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 i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(i===1?")":", "+i+")")}}));const ep=i=>()=>i;function d2(i,a){var l=a-i;return l?function(p,m){return function(b){return p+b*m}}(i,l):ep(isNaN(i)?a:i)}const Qf=function i(a){var l=function(m){return(m=+m)==1?d2:function(b,x){return x-b?function(E,D,N){return E=Math.pow(E,N),D=Math.pow(D,N)-E,N=1/N,function(F){return Math.pow(E+F*D,N)}}(b,x,m):ep(isNaN(b)?x:b)}}(a);function p(m,b){var x=l((m=Cl(m)).r,(b=Cl(b)).r),E=l(m.g,b.g),D=l(m.b,b.b),N=d2(m.opacity,b.opacity);return function(F){return m.r=x(F),m.g=E(F),m.b=D(F),m.opacity=N(F),m+""}}return p.gamma=i,p}(1);function Ob(i,a){var l,p=a?a.length:0,m=i?Math.min(p,i.length):0,b=new Array(m),x=new Array(p);for(l=0;lb&&(m=a.slice(b,m),E[x]?E[x]+=m:E[++x]=m),(l=l[0])===(p=p[0])?E[x]?E[x]+=p:E[++x]=p:(E[++x]=null,D.push({i:x,x:Jf(l,p)})),b=Xu.lastIndex;return bK&&(yt=H,H=K,K=yt),N=function(Tt){return Math.max(H,Math.min(K,Tt))}),p=ct>2?ap:Rb,m=b=null,W}function W(H){return H==null||isNaN(H=+H)?l:(m||(m=p(x.map(i),E,D)))(i(N(H)))}return W.invert=function(H){return N(a((b||(b=p(E,x.map(i),Jf)))(H)))},W.domain=function(H){return arguments.length?(x=Array.from(H,y2),F()):x.slice()},W.range=function(H){return arguments.length?(E=Array.from(H),F()):E.slice()},W.rangeRound=function(H){return E=Array.from(H),D=ed,F()},W.clamp=function(H){return arguments.length?(N=!!H||Ml,F()):N!==Ml},W.interpolate=function(H){return arguments.length?(D=H,F()):D},W.unknown=function(H){return arguments.length?(l=H,W):l},function(H,K){return i=H,a=K,F()}}()(Ml,Ml)}function Ts(i,a){switch(arguments.length){case 0:break;case 1:this.range(i);break;default:this.range(a).domain(i)}return this}var m2,op=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(i){if(!(a=op.exec(i)))throw new Error("invalid format: "+i);var a;return new Es({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 Es(i){this.fill=i.fill===void 0?" ":i.fill+"",this.align=i.align===void 0?">":i.align+"",this.sign=i.sign===void 0?"-":i.sign+"",this.symbol=i.symbol===void 0?"":i.symbol+"",this.zero=!!i.zero,this.width=i.width===void 0?void 0:+i.width,this.comma=!!i.comma,this.precision=i.precision===void 0?void 0:+i.precision,this.trim=!!i.trim,this.type=i.type===void 0?"":i.type+""}function id(i,a){if((l=(i=a?i.toExponential(a-1):i.toExponential()).indexOf("e"))<0)return null;var l,p=i.slice(0,l);return[p.length>1?p[0]+p.slice(2):p,+i.slice(l+1)]}function Nl(i){return(i=id(Math.abs(i)))?i[1]:NaN}function _2(i,a){var l=id(i,a);if(!l)return i+"";var p=l[0],m=l[1];return m<0?"0."+new Array(-m).join("0")+p:p.length>m+1?p.slice(0,m+1)+"."+p.slice(m+1):p+new Array(m-p.length+2).join("0")}Ku.prototype=Es.prototype,Es.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 v2={"%":(i,a)=>(100*i).toFixed(a),b:i=>Math.round(i).toString(2),c:i=>i+"",d:function(i){return Math.abs(i=Math.round(i))>=1e21?i.toLocaleString("en").replace(/,/g,""):i.toString(10)},e:(i,a)=>i.toExponential(a),f:(i,a)=>i.toFixed(a),g:(i,a)=>i.toPrecision(a),o:i=>Math.round(i).toString(8),p:(i,a)=>_2(100*i,a),r:_2,s:function(i,a){var l=id(i,a);if(!l)return i+"";var p=l[0],m=l[1],b=m-(m2=3*Math.max(-8,Math.min(8,Math.floor(m/3))))+1,x=p.length;return b===x?p:b>x?p+new Array(b-x+1).join("0"):b>0?p.slice(0,b)+"."+p.slice(b):"0."+new Array(1-b).join("0")+id(i,Math.max(0,a+b-1))[0]},X:i=>Math.round(i).toString(16).toUpperCase(),x:i=>Math.round(i).toString(16)};function b2(i){return i}var sp,Wa,Qu,cp=Array.prototype.map,Ss=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Bb(i){var a=i.domain;return i.ticks=function(l){var p=a();return function(m,b,x){var E,D,N,F,W=-1;if(x=+x,(m=+m)==(b=+b)&&x>0)return[m];if((E=b0){let H=Math.round(m/F),K=Math.round(b/F);for(H*Fb&&--K,N=new Array(D=K-H+1);++Wb&&--K,N=new Array(D=K-H+1);++W0;){if((m=q0(D,N,l))===p)return b[x]=D,b[E]=N,a(b);if(m>0)D=Math.floor(D/m)*m,N=Math.ceil(N/m)*m;else{if(!(m<0))break;D=Math.ceil(D*m)/m,N=Math.floor(N*m)/m}p=m}return i},i}function w2(){var i=rd();return i.copy=function(){return nd(i,w2())},Ts.apply(i,arguments),Bb(i)}sp=function(i){var a,l,p=i.grouping===void 0||i.thousands===void 0?b2:(a=cp.call(i.grouping,Number),l=i.thousands+"",function(H,K){for(var yt=H.length,ct=[],Tt=0,vt=a[0],Mt=0;yt>0&&vt>0&&(Mt+vt+1>K&&(vt=Math.max(1,K-Mt)),ct.push(H.substring(yt-=vt,yt+vt)),!((Mt+=vt+1)>K));)vt=a[Tt=(Tt+1)%a.length];return ct.reverse().join(l)}),m=i.currency===void 0?"":i.currency[0]+"",b=i.currency===void 0?"":i.currency[1]+"",x=i.decimal===void 0?".":i.decimal+"",E=i.numerals===void 0?b2:function(H){return function(K){return K.replace(/[0-9]/g,function(yt){return H[+yt]})}}(cp.call(i.numerals,String)),D=i.percent===void 0?"%":i.percent+"",N=i.minus===void 0?"\u2212":i.minus+"",F=i.nan===void 0?"NaN":i.nan+"";function W(H){var K=(H=Ku(H)).fill,yt=H.align,ct=H.sign,Tt=H.symbol,vt=H.zero,Mt=H.width,Dt=H.comma,jt=H.precision,Qt=H.trim,Ot=H.type;Ot==="n"?(Dt=!0,Ot="g"):v2[Ot]||(jt===void 0&&(jt=12),Qt=!0,Ot="g"),(vt||K==="0"&&yt==="=")&&(vt=!0,K="0",yt="=");var ae=Tt==="$"?m:Tt==="#"&&/[boxX]/.test(Ot)?"0"+Ot.toLowerCase():"",se=Tt==="$"?b:/[%p]/.test(Ot)?D:"",Nt=v2[Ot],Yt=/[defgprs%]/.test(Ot);function It(Et){var $t,St,Ee,Ce=ae,qt=se;if(Ot==="c")qt=Nt(Et)+qt,Et="";else{var Me=(Et=+Et)<0||1/Et<0;if(Et=isNaN(Et)?F:Nt(Math.abs(Et),jt),Qt&&(Et=function(me){t:for(var ze,$e=me.length,rn=1,bn=-1;rn<$e;++rn)switch(me[rn]){case".":bn=ze=rn;break;case"0":bn===0&&(bn=rn),ze=rn;break;default:if(!+me[rn])break t;bn>0&&(bn=0)}return bn>0?me.slice(0,bn)+me.slice(ze+1):me}(Et)),Me&&+Et==0&&ct!=="+"&&(Me=!1),Ce=(Me?ct==="("?ct:N:ct==="-"||ct==="("?"":ct)+Ce,qt=(Ot==="s"?Ss[8+m2/3]:"")+qt+(Me&&ct==="("?")":""),Yt){for($t=-1,St=Et.length;++$t(Ee=Et.charCodeAt($t))||Ee>57){qt=(Ee===46?x+Et.slice($t+1):Et.slice($t))+qt,Et=Et.slice(0,$t);break}}}Dt&&!vt&&(Et=p(Et,1/0));var Ne=Ce.length+Et.length+qt.length,Te=Ne>1)+Ce+Et+qt+Te.slice(Ne);break;default:Et=Te+Ce+Et+qt}return E(Et)}return jt=jt===void 0?6:/[gprs]/.test(Ot)?Math.max(1,Math.min(21,jt)):Math.max(0,Math.min(20,jt)),It.toString=function(){return H+""},It}return{format:W,formatPrefix:function(H,K){var yt=W(((H=Ku(H)).type="f",H)),ct=3*Math.max(-8,Math.min(8,Math.floor(Nl(K)/3))),Tt=Math.pow(10,-ct),vt=Ss[8+ct/3];return function(Mt){return yt(Tt*Mt)+vt}}}}({thousands:",",grouping:[3],currency:["$",""]}),Wa=sp.format,Qu=sp.formatPrefix;class x2 extends Map{constructor(a,l=k2){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:l}}),a!=null)for(const[p,m]of a)this.set(p,m)}get(a){return super.get(lp(this,a))}has(a){return super.has(lp(this,a))}set(a,l){return super.set(function({_intern:p,_key:m},b){const x=m(b);return p.has(x)?p.get(x):(p.set(x,b),b)}(this,a),l)}delete(a){return super.delete(function({_intern:l,_key:p},m){const b=p(m);return l.has(b)&&(m=l.get(b),l.delete(b)),m}(this,a))}}function lp({_intern:i,_key:a},l){const p=a(l);return i.has(p)?i.get(p):l}function k2(i){return i!==null&&typeof i=="object"?i.valueOf():i}const Ju=Symbol("implicit");function ec(){var i=new x2,a=[],l=[],p=Ju;function m(b){let x=i.get(b);if(x===void 0){if(p!==Ju)return p;i.set(b,x=a.push(b)-1)}return l[x%l.length]}return m.domain=function(b){if(!arguments.length)return a.slice();a=[],i=new x2;for(const x of b)i.has(x)||i.set(x,a.push(x)-1);return m},m.range=function(b){return arguments.length?(l=Array.from(b),m):l.slice()},m.unknown=function(b){return arguments.length?(p=b,m):p},m.copy=function(){return ec(a,l).unknown(p)},Ts.apply(m,arguments),m}const Dl=1e3,nc=6e4,th=36e5,up=864e5,hp=6048e5,ad=31536e6;var od=new Date,sd=new Date;function Ii(i,a,l,p){function m(b){return i(b=arguments.length===0?new Date:new Date(+b)),b}return m.floor=function(b){return i(b=new Date(+b)),b},m.ceil=function(b){return i(b=new Date(b-1)),a(b,1),i(b),b},m.round=function(b){var x=m(b),E=m.ceil(b);return b-x0))return N;do N.push(D=new Date(+b)),a(b,E),i(b);while(D=x)for(;i(x),!b(x);)x.setTime(x-1)},function(x,E){if(x>=x)if(E<0)for(;++E<=0;)for(;a(x,-1),!b(x););else for(;--E>=0;)for(;a(x,1),!b(x););})},l&&(m.count=function(b,x){return od.setTime(+b),sd.setTime(+x),i(od),i(sd),Math.floor(l(od,sd))},m.every=function(b){return b=Math.floor(b),isFinite(b)&&b>0?b>1?m.filter(p?function(x){return p(x)%b==0}:function(x){return m.count(0,x)%b==0}):m:null}),m}var cd=Ii(function(){},function(i,a){i.setTime(+i+a)},function(i,a){return a-i});cd.every=function(i){return i=Math.floor(i),isFinite(i)&&i>0?i>1?Ii(function(a){a.setTime(Math.floor(a/i)*i)},function(a,l){a.setTime(+a+l*i)},function(a,l){return(l-a)/i}):cd:null};const fp=cd;var T2=Ii(function(i){i.setTime(i-i.getMilliseconds())},function(i,a){i.setTime(+i+a*Dl)},function(i,a){return(a-i)/Dl},function(i){return i.getUTCSeconds()});const Ol=T2;var Fb=Ii(function(i){i.setTime(i-i.getMilliseconds()-i.getSeconds()*Dl)},function(i,a){i.setTime(+i+a*nc)},function(i,a){return(a-i)/nc},function(i){return i.getMinutes()});const eh=Fb;var So=Ii(function(i){i.setTime(i-i.getMilliseconds()-i.getSeconds()*Dl-i.getMinutes()*nc)},function(i,a){i.setTime(+i+a*th)},function(i,a){return(a-i)/th},function(i){return i.getHours()});const ld=So;var dp=Ii(i=>i.setHours(0,0,0,0),(i,a)=>i.setDate(i.getDate()+a),(i,a)=>(a-i-(a.getTimezoneOffset()-i.getTimezoneOffset())*nc)/up,i=>i.getDate()-1);const Il=dp;function As(i){return Ii(function(a){a.setDate(a.getDate()-(a.getDay()+7-i)%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())*nc)/hp})}var ud=As(0),pp=As(1);As(2),As(3);var rc=As(4);As(5),As(6);var Qo=Ii(function(i){i.setDate(1),i.setHours(0,0,0,0)},function(i,a){i.setMonth(i.getMonth()+a)},function(i,a){return a.getMonth()-i.getMonth()+12*(a.getFullYear()-i.getFullYear())},function(i){return i.getMonth()});const gp=Qo;var yp=Ii(function(i){i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,a){i.setFullYear(i.getFullYear()+a)},function(i,a){return a.getFullYear()-i.getFullYear()},function(i){return i.getFullYear()});yp.every=function(i){return isFinite(i=Math.floor(i))&&i>0?Ii(function(a){a.setFullYear(Math.floor(a.getFullYear()/i)*i),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,l){a.setFullYear(a.getFullYear()+l*i)}):null};const Cs=yp;Ii(function(i){i.setUTCSeconds(0,0)},function(i,a){i.setTime(+i+a*nc)},function(i,a){return(a-i)/nc},function(i){return i.getUTCMinutes()}),Ii(function(i){i.setUTCMinutes(0,0,0)},function(i,a){i.setTime(+i+a*th)},function(i,a){return(a-i)/th},function(i){return i.getUTCHours()});var mp=Ii(function(i){i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCDate(i.getUTCDate()+a)},function(i,a){return(a-i)/up},function(i){return i.getUTCDate()-1});const nh=mp;function Ao(i){return Ii(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-i)%7),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCDate(a.getUTCDate()+7*l)},function(a,l){return(l-a)/hp})}var E2=Ao(0),hd=Ao(1);Ao(2),Ao(3);var Ll=Ao(4);Ao(5),Ao(6),Ii(function(i){i.setUTCDate(1),i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCMonth(i.getUTCMonth()+a)},function(i,a){return a.getUTCMonth()-i.getUTCMonth()+12*(a.getUTCFullYear()-i.getUTCFullYear())},function(i){return i.getUTCMonth()});var S2=Ii(function(i){i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCFullYear(i.getUTCFullYear()+a)},function(i,a){return a.getUTCFullYear()-i.getUTCFullYear()},function(i){return i.getUTCFullYear()});S2.every=function(i){return isFinite(i=Math.floor(i))&&i>0?Ii(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/i)*i),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCFullYear(a.getUTCFullYear()+l*i)}):null};const ya=S2;function Uc(i,a,l,p,m,b){const x=[[Ol,1,Dl],[Ol,5,5e3],[Ol,15,15e3],[Ol,30,3e4],[b,1,nc],[b,5,3e5],[b,15,9e5],[b,30,18e5],[m,1,th],[m,3,108e5],[m,6,216e5],[m,12,432e5],[p,1,up],[p,2,1728e5],[l,1,hp],[a,1,2592e6],[a,3,7776e6],[i,1,ad]];function E(D,N,F){const W=Math.abs(N-D)/F,H=Z0(([,,ct])=>ct).right(x,W);if(H===x.length)return i.every(G0(D/ad,N/ad,F));if(H===0)return fp.every(Math.max(G0(D,N,F),1));const[K,yt]=x[W/x[H-1][2][a.toLowerCase(),l]))}function fd(i,a,l){var p=Li.exec(a.slice(l,l+1));return p?(i.w=+p[0],l+p[0].length):-1}function wp(i,a,l){var p=Li.exec(a.slice(l,l+1));return p?(i.u=+p[0],l+p[0].length):-1}function Yb(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.U=+p[0],l+p[0].length):-1}function $b(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.V=+p[0],l+p[0].length):-1}function jb(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.W=+p[0],l+p[0].length):-1}function M2(i,a,l){var p=Li.exec(a.slice(l,l+4));return p?(i.y=+p[0],l+p[0].length):-1}function N2(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.y=+p[0]+(+p[0]>68?1900:2e3),l+p[0].length):-1}function D2(i,a,l){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(l,l+6));return p?(i.Z=p[1]?0:-(p[2]+(p[3]||"00")),l+p[0].length):-1}function xp(i,a,l){var p=Li.exec(a.slice(l,l+1));return p?(i.q=3*p[0]-3,l+p[0].length):-1}function O2(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.m=p[0]-1,l+p[0].length):-1}function kp(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.d=+p[0],l+p[0].length):-1}function Oa(i,a,l){var p=Li.exec(a.slice(l,l+3));return p?(i.m=0,i.d=+p[0],l+p[0].length):-1}function sh(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.H=+p[0],l+p[0].length):-1}function Yc(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.M=+p[0],l+p[0].length):-1}function I2(i,a,l){var p=Li.exec(a.slice(l,l+2));return p?(i.S=+p[0],l+p[0].length):-1}function zb(i,a,l){var p=Li.exec(a.slice(l,l+3));return p?(i.L=+p[0],l+p[0].length):-1}function Hb(i,a,l){var p=Li.exec(a.slice(l,l+6));return p?(i.L=Math.floor(p[0]/1e3),l+p[0].length):-1}function Wb(i,a,l){var p=vp.exec(a.slice(l,l+1));return p?l+p[0].length:-1}function qb(i,a,l){var p=Li.exec(a.slice(l));return p?(i.Q=+p[0],l+p[0].length):-1}function Gb(i,a,l){var p=Li.exec(a.slice(l));return p?(i.s=+p[0],l+p[0].length):-1}function L2(i,a){return kr(i.getDate(),a,2)}function $c(i,a){return kr(i.getHours(),a,2)}function R2(i,a){return kr(i.getHours()%12||12,a,2)}function Vb(i,a){return kr(1+Il.count(Cs(i),i),a,3)}function B2(i,a){return kr(i.getMilliseconds(),a,3)}function Zb(i,a){return B2(i,a)+"000"}function Xb(i,a){return kr(i.getMonth()+1,a,2)}function Kb(i,a){return kr(i.getMinutes(),a,2)}function Qb(i,a){return kr(i.getSeconds(),a,2)}function Jb(i){var a=i.getDay();return a===0?7:a}function t3(i,a){return kr(ud.count(Cs(i)-1,i),a,2)}function F2(i){var a=i.getDay();return a>=4||a===0?rc(i):rc.ceil(i)}function e3(i,a){return i=F2(i),kr(rc.count(Cs(i),i)+(Cs(i).getDay()===4),a,2)}function n3(i){return i.getDay()}function P2(i,a){return kr(pp.count(Cs(i)-1,i),a,2)}function r3(i,a){return kr(i.getFullYear()%100,a,2)}function i3(i,a){return kr((i=F2(i)).getFullYear()%100,a,2)}function U2(i,a){return kr(i.getFullYear()%1e4,a,4)}function Y2(i,a){var l=i.getDay();return kr((i=l>=4||l===0?rc(i):rc.ceil(i)).getFullYear()%1e4,a,4)}function $2(i){var a=i.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+kr(a/60|0,"0",2)+kr(a%60,"0",2)}function j2(i,a){return kr(i.getUTCDate(),a,2)}function a3(i,a){return kr(i.getUTCHours(),a,2)}function z2(i,a){return kr(i.getUTCHours()%12||12,a,2)}function ic(i,a){return kr(1+nh.count(ya(i),i),a,3)}function H2(i,a){return kr(i.getUTCMilliseconds(),a,3)}function o3(i,a){return H2(i,a)+"000"}function W2(i,a){return kr(i.getUTCMonth()+1,a,2)}function s3(i,a){return kr(i.getUTCMinutes(),a,2)}function c3(i,a){return kr(i.getUTCSeconds(),a,2)}function q2(i){var a=i.getUTCDay();return a===0?7:a}function dd(i,a){return kr(E2.count(ya(i)-1,i),a,2)}function G2(i){var a=i.getUTCDay();return a>=4||a===0?Ll(i):Ll.ceil(i)}function ch(i,a){return i=G2(i),kr(Ll.count(ya(i),i)+(ya(i).getUTCDay()===4),a,2)}function l3(i){return i.getUTCDay()}function Tp(i,a){return kr(hd.count(ya(i)-1,i),a,2)}function u3(i,a){return kr(i.getUTCFullYear()%100,a,2)}function h3(i,a){return kr((i=G2(i)).getUTCFullYear()%100,a,2)}function V2(i,a){return kr(i.getUTCFullYear()%1e4,a,4)}function Rl(i,a){var l=i.getUTCDay();return kr((i=l>=4||l===0?Ll(i):Ll.ceil(i)).getUTCFullYear()%1e4,a,4)}function f3(){return"+0000"}function Ep(){return"%"}function Z2(i){return+i}function X2(i){return Math.floor(+i/1e3)}function d3(i){return new Date(i)}function p3(i){return i instanceof Date?+i:+new Date(+i)}function K2(i,a,l,p,m,b,x,E,D,N){var F=rd(),W=F.invert,H=F.domain,K=N(".%L"),yt=N(":%S"),ct=N("%I:%M"),Tt=N("%I %p"),vt=N("%a %d"),Mt=N("%b %d"),Dt=N("%B"),jt=N("%Y");function Qt(Ot){return(D(Ot)=12)]},q:function(Nt){return 1+~~(Nt.getMonth()/3)},Q:Z2,s:X2,S:Qb,u:Jb,U:t3,V:e3,w:n3,W:P2,x:null,X:null,y:r3,Y:U2,Z:$2,"%":Ep},jt={a:function(Nt){return x[Nt.getUTCDay()]},A:function(Nt){return b[Nt.getUTCDay()]},b:function(Nt){return D[Nt.getUTCMonth()]},B:function(Nt){return E[Nt.getUTCMonth()]},c:null,d:j2,e:j2,f:o3,g:h3,G:Rl,H:a3,I:z2,j:ic,L:H2,m:W2,M:s3,p:function(Nt){return m[+(Nt.getUTCHours()>=12)]},q:function(Nt){return 1+~~(Nt.getUTCMonth()/3)},Q:Z2,s:X2,S:c3,u:q2,U:dd,V:ch,w:l3,W:Tp,x:null,X:null,y:u3,Y:V2,Z:f3,"%":Ep},Qt={a:function(Nt,Yt,It){var Et=K.exec(Yt.slice(It));return Et?(Nt.w=yt.get(Et[0].toLowerCase()),It+Et[0].length):-1},A:function(Nt,Yt,It){var Et=W.exec(Yt.slice(It));return Et?(Nt.w=H.get(Et[0].toLowerCase()),It+Et[0].length):-1},b:function(Nt,Yt,It){var Et=vt.exec(Yt.slice(It));return Et?(Nt.m=Mt.get(Et[0].toLowerCase()),It+Et[0].length):-1},B:function(Nt,Yt,It){var Et=ct.exec(Yt.slice(It));return Et?(Nt.m=Tt.get(Et[0].toLowerCase()),It+Et[0].length):-1},c:function(Nt,Yt,It){return se(Nt,a,Yt,It)},d:kp,e:kp,f:Hb,g:N2,G:M2,H:sh,I:sh,j:Oa,L:zb,m:O2,M:Yc,p:function(Nt,Yt,It){var Et=N.exec(Yt.slice(It));return Et?(Nt.p=F.get(Et[0].toLowerCase()),It+Et[0].length):-1},q:xp,Q:qb,s:Gb,S:I2,u:wp,U:Yb,V:$b,w:fd,W:jb,x:function(Nt,Yt,It){return se(Nt,l,Yt,It)},X:function(Nt,Yt,It){return se(Nt,p,Yt,It)},y:N2,Y:M2,Z:D2,"%":Wb};function Ot(Nt,Yt){return function(It){var Et,$t,St,Ee=[],Ce=-1,qt=0,Me=Nt.length;for(It instanceof Date||(It=new Date(+It));++Ce53)return null;"w"in St||(St.w=1),"Z"in St?($t=(Et=_p(rh(St.y,0,1))).getUTCDay(),Et=$t>4||$t===0?hd.ceil(Et):hd(Et),Et=nh.offset(Et,7*(St.V-1)),St.y=Et.getUTCFullYear(),St.m=Et.getUTCMonth(),St.d=Et.getUTCDate()+(St.w+6)%7):($t=(Et=Jo(rh(St.y,0,1))).getDay(),Et=$t>4||$t===0?pp.ceil(Et):pp(Et),Et=Il.offset(Et,7*(St.V-1)),St.y=Et.getFullYear(),St.m=Et.getMonth(),St.d=Et.getDate()+(St.w+6)%7)}else("W"in St||"U"in St)&&("w"in St||(St.w="u"in St?St.u%7:"W"in St?1:0),$t="Z"in St?_p(rh(St.y,0,1)).getUTCDay():Jo(rh(St.y,0,1)).getDay(),St.m=0,St.d="W"in St?(St.w+6)%7+7*St.W-($t+5)%7:St.w+7*St.U-($t+6)%7);return"Z"in St?(St.H+=St.Z/100|0,St.M+=St.Z%100,_p(St)):Jo(St)}}function se(Nt,Yt,It,Et){for(var $t,St,Ee=0,Ce=Yt.length,qt=It.length;Ee=qt)return-1;if(($t=Yt.charCodeAt(Ee++))===37){if($t=Yt.charAt(Ee++),!(St=Qt[$t in ts?Yt.charAt(Ee++):$t])||(Et=St(Nt,It,Et))<0)return-1}else if($t!=It.charCodeAt(Et++))return-1}return Et}return Dt.x=Ot(l,Dt),Dt.X=Ot(p,Dt),Dt.c=Ot(a,Dt),jt.x=Ot(l,jt),jt.X=Ot(p,jt),jt.c=Ot(a,jt),{format:function(Nt){var Yt=Ot(Nt+="",Dt);return Yt.toString=function(){return Nt},Yt},parse:function(Nt){var Yt=ae(Nt+="",!1);return Yt.toString=function(){return Nt},Yt},utcFormat:function(Nt){var Yt=Ot(Nt+="",jt);return Yt.toString=function(){return Nt},Yt},utcParse:function(Nt){var Yt=ae(Nt+="",!0);return Yt.toString=function(){return Nt},Yt}}}({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"]}),C2=ih.format,ih.parse,ih.utcFormat,ih.utcParse;var m3=Array.prototype.find;function _3(){return this.firstElementChild}var Ap=Array.prototype.filter;function v3(){return Array.from(this.children)}function em(i){return new Array(i.length)}function pd(i,a){this.ownerDocument=i.ownerDocument,this.namespaceURI=i.namespaceURI,this._next=null,this._parent=i,this.__data__=a}function b3(i){return function(){return i}}function Ri(i,a,l,p,m,b){for(var x,E=0,D=a.length,N=b.length;Ea?1:i>=a?0:NaN}pd.prototype={constructor:pd,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,a){return this._parent.insertBefore(i,a)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};var Cp="http://www.w3.org/1999/xhtml";const lh={svg:"http://www.w3.org/2000/svg",xhtml:Cp,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Fl(i){var a=i+="",l=a.indexOf(":");return l>=0&&(a=i.slice(0,l))!=="xmlns"&&(i=i.slice(l+1)),lh.hasOwnProperty(a)?{space:lh[a],local:i}:i}function rm(i){return function(){this.removeAttribute(i)}}function _a(i){return function(){this.removeAttributeNS(i.space,i.local)}}function x3(i,a){return function(){this.setAttribute(i,a)}}function k3(i,a){return function(){this.setAttributeNS(i.space,i.local,a)}}function T3(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttribute(i):this.setAttribute(i,l)}}function E3(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,l)}}function Mp(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function S3(i){return function(){this.style.removeProperty(i)}}function A3(i,a,l){return function(){this.style.setProperty(i,a,l)}}function C3(i,a,l){return function(){var p=a.apply(this,arguments);p==null?this.style.removeProperty(i):this.style.setProperty(i,p,l)}}function Pl(i,a){return i.style.getPropertyValue(a)||Mp(i).getComputedStyle(i,null).getPropertyValue(a)}function M3(i){return function(){delete this[i]}}function N3(i,a){return function(){this[i]=a}}function D3(i,a){return function(){var l=a.apply(this,arguments);l==null?delete this[i]:this[i]=l}}function im(i){return i.trim().split(/^|\s+/)}function Np(i){return i.classList||new uh(i)}function uh(i){this._node=i,this._names=im(i.getAttribute("class")||"")}function jc(i,a){for(var l=Np(i),p=-1,m=a.length;++p=0&&(l=a.slice(p+1),a=a.slice(0,p)),{type:a,name:l}})}function pm(i){return function(){var a=this.__on;if(a){for(var l,p=0,m=-1,b=a.length;p=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};var Ul=[null];function Lr(i,a){this._groups=i,this._parents=a}function Ur(){return new Lr([[document.documentElement]],Ul)}Lr.prototype=Ur.prototype={constructor:Lr,select:function(i){typeof i!="function"&&(i=Bl(i));for(var a=this._groups,l=a.length,p=new Array(l),m=0;m=Qt&&(Qt=jt+1);!(Dt=Tt[Qt])&&++Qt=0;)(p=m[b])&&(x&&4^p.compareDocumentPosition(x)&&x.parentNode.insertBefore(p,x),x=p);return this},sort:function(i){function a(W,H){return W&&H?i(W.__data__,H.__data__):!W-!H}i||(i=w3);for(var l=this._groups,p=l.length,m=new Array(p),b=0;b1?this.each((a==null?S3:typeof a=="function"?C3:A3)(i,a,l==null?"":l)):Pl(this.node(),i)},property:function(i,a){return arguments.length>1?this.each((a==null?M3:typeof a=="function"?D3:N3)(i,a)):this.node()[i]},classed:function(i,a){var l=im(i+"");if(arguments.length<2){for(var p=Np(this.node()),m=-1,b=l.length;++mes)if(Math.abs(F*E-D*N)>es&&m){var H=l-b,K=p-x,yt=E*E+D*D,ct=H*H+K*K,Tt=Math.sqrt(yt),vt=Math.sqrt(W),Mt=m*Math.tan((Ji-Math.acos((yt+W-ct)/(2*Tt*vt)))/2),Dt=Mt/vt,jt=Mt/Tt;Math.abs(Dt-1)>es&&(this._+="L"+(i+Dt*N)+","+(a+Dt*F)),this._+="A"+m+","+m+",0,0,"+ +(F*H>N*K)+","+(this._x1=i+jt*E)+","+(this._y1=a+jt*D)}else this._+="L"+(this._x1=i)+","+(this._y1=a)},arc:function(i,a,l,p,m,b){i=+i,a=+a,b=!!b;var x=(l=+l)*Math.cos(p),E=l*Math.sin(p),D=i+x,N=a+E,F=1^b,W=b?p-m:m-p;if(l<0)throw new Error("negative radius: "+l);this._x1===null?this._+="M"+D+","+N:(Math.abs(this._x1-D)>es||Math.abs(this._y1-N)>es)&&(this._+="L"+D+","+N),l&&(W<0&&(W=W%gn+gn),W>gm?this._+="A"+l+","+l+",0,1,"+F+","+(i-x)+","+(a-E)+"A"+l+","+l+",0,1,"+F+","+(this._x1=D)+","+(this._y1=N):W>es&&(this._+="A"+l+","+l+",0,"+ +(W>=Ji)+","+F+","+(this._x1=i+l*Math.cos(m))+","+(this._y1=a+l*Math.sin(m))))},rect:function(i,a,l,p){this._+="M"+(this._x0=this._x1=+i)+","+(this._y0=this._y1=+a)+"h"+ +l+"v"+ +p+"h"+-l+"Z"},toString:function(){return this._}};const hn=bd;function Tr(i){return function(){return i}}var bi=Math.abs,zi=Math.atan2,cc=Math.cos,va=Math.max,wd=Math.min,Er=Math.sin,Ms=Math.sqrt,ba=1e-12,$l=Math.PI,jl=$l/2,dh=2*$l;function Co(i){return i>1?0:i<-1?$l:Math.acos(i)}function Lp(i){return i>=1?jl:i<=-1?-jl:Math.asin(i)}function ym(i){return i.innerRadius}function Rp(i){return i.outerRadius}function Bp(i){return i.startAngle}function Fp(i){return i.endAngle}function xd(i){return i&&i.padAngle}function kd(i,a,l,p,m,b,x,E){var D=l-i,N=p-a,F=x-m,W=E-b,H=W*D-F*N;if(!(H*HSt*St+Ee*Ee&&(se=Yt,Nt=It),{cx:se,cy:Nt,x01:-F,y01:-W,x11:se*(m/Qt-1),y11:Nt*(m/Qt-1)}}function Pp(){var i=ym,a=Rp,l=Tr(0),p=null,m=Bp,b=Fp,x=xd,E=null;function D(){var N,F,W=+i.apply(this,arguments),H=+a.apply(this,arguments),K=m.apply(this,arguments)-jl,yt=b.apply(this,arguments)-jl,ct=bi(yt-K),Tt=yt>K;if(E||(E=N=hn()),Hba)if(ct>dh-ba)E.moveTo(H*cc(K),H*Er(K)),E.arc(0,0,H,K,yt,!Tt),W>ba&&(E.moveTo(W*cc(yt),W*Er(yt)),E.arc(0,0,W,yt,K,Tt));else{var vt,Mt,Dt=K,jt=yt,Qt=K,Ot=yt,ae=ct,se=ct,Nt=x.apply(this,arguments)/2,Yt=Nt>ba&&(p?+p.apply(this,arguments):Ms(W*W+H*H)),It=wd(bi(H-W)/2,+l.apply(this,arguments)),Et=It,$t=It;if(Yt>ba){var St=Lp(Yt/W*Er(Nt)),Ee=Lp(Yt/H*Er(Nt));(ae-=2*St)>ba?(Qt+=St*=Tt?1:-1,Ot-=St):(ae=0,Qt=Ot=(K+yt)/2),(se-=2*Ee)>ba?(Dt+=Ee*=Tt?1:-1,jt-=Ee):(se=0,Dt=jt=(K+yt)/2)}var Ce=H*cc(Dt),qt=H*Er(Dt),Me=W*cc(Ot),Ne=W*Er(Ot);if(It>ba){var Te,me=H*cc(jt),ze=H*Er(jt),$e=W*cc(Qt),rn=W*Er(Qt);if(ct<$l&&(Te=kd(Ce,qt,$e,rn,me,ze,Me,Ne))){var bn=Ce-Te[0],Ve=qt-Te[1],yr=me-Te[0],Mr=ze-Te[1],Fn=1/Er(Co((bn*yr+Ve*Mr)/(Ms(bn*bn+Ve*Ve)*Ms(yr*yr+Mr*Mr)))/2),Gr=Ms(Te[0]*Te[0]+Te[1]*Te[1]);Et=wd(It,(W-Gr)/(Fn-1)),$t=wd(It,(H-Gr)/(Fn+1))}}se>ba?$t>ba?(vt=qa($e,rn,Ce,qt,H,$t,Tt),Mt=qa(me,ze,Me,Ne,H,$t,Tt),E.moveTo(vt.cx+vt.x01,vt.cy+vt.y01),$tba&&ae>ba?Et>ba?(vt=qa(Me,Ne,me,ze,W,-Et,Tt),Mt=qa(Ce,qt,$e,rn,W,-Et,Tt),E.lineTo(vt.cx+vt.x01,vt.cy+vt.y01),Eti?1:a>=i?0:NaN}function zl(i){return i}function Hl(){}function zc(i,a,l){i._context.bezierCurveTo((2*i._x0+i._x1)/3,(2*i._y0+i._y1)/3,(i._x0+2*i._x1)/3,(i._y0+2*i._y1)/3,(i._x0+4*i._x1+a)/6,(i._y0+4*i._y1+l)/6)}function ph(i){this._context=i}function Yr(i){return new ph(i)}function wa(i){this._context=i}function si(i){this._context=i}function Ia(i){this._context=i}function lc(i){return i<0?-1:1}function Up(i,a,l){var p=i._x1-i._x0,m=a-i._x1,b=(i._y1-i._y0)/(p||m<0&&-0),x=(l-i._y1)/(m||p<0&&-0),E=(b*m+x*p)/(p+m);return(lc(b)+lc(x))*Math.min(Math.abs(b),Math.abs(x),.5*Math.abs(E))||0}function Yp(i,a){var l=i._x1-i._x0;return l?(3*(i._y1-i._y0)/l-a)/2:a}function uc(i,a,l){var p=i._x0,m=i._y0,b=i._x1,x=i._y1,E=(b-p)/3;i._context.bezierCurveTo(p+E,m+E*a,b-E,x-E*l,b,x)}function Mo(i){this._context=i}function ns(i){this._context=new Wl(i)}function Wl(i){this._context=i}function gh(i){this._context=i}function yh(i){var a,l,p=i.length-1,m=new Array(p),b=new Array(p),x=new Array(p);for(m[0]=0,b[0]=2,x[0]=i[0]+2*i[1],a=1;a=0;--a)m[a]=(x[a]-m[a+1])/b[a];for(b[p-1]=(i[p]+m[p-1])/2,a=0;a=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(i,a){switch(i=+i,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,a):this._context.moveTo(i,a);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(i,a);else{var l=this._x*(1-this._t)+i*this._t;this._context.lineTo(l,this._y),this._context.lineTo(l,a)}}this._x=i,this._y=a}};var ql=new Date,Gl=new Date;function fo(i,a,l,p){function m(b){return i(b=arguments.length===0?new Date:new Date(+b)),b}return m.floor=function(b){return i(b=new Date(+b)),b},m.ceil=function(b){return i(b=new Date(b-1)),a(b,1),i(b),b},m.round=function(b){var x=m(b),E=m.ceil(b);return b-x0))return N;do N.push(D=new Date(+b)),a(b,E),i(b);while(D=x)for(;i(x),!b(x);)x.setTime(x-1)},function(x,E){if(x>=x)if(E<0)for(;++E<=0;)for(;a(x,-1),!b(x););else for(;--E>=0;)for(;a(x,1),!b(x););})},l&&(m.count=function(b,x){return ql.setTime(+b),Gl.setTime(+x),i(ql),i(Gl),Math.floor(l(ql,Gl))},m.every=function(b){return b=Math.floor(b),isFinite(b)&&b>0?b>1?m.filter(p?function(x){return p(x)%b==0}:function(x){return m.count(0,x)%b==0}):m:null}),m}const mh=864e5,Sd=6048e5;function Ns(i){return fo(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-i)%7),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCDate(a.getUTCDate()+7*l)},function(a,l){return(l-a)/Sd})}var $p=Ns(0),Ad=Ns(1);Ns(2),Ns(3);var Vl=Ns(4);Ns(5),Ns(6);var xa=fo(function(i){i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCDate(i.getUTCDate()+a)},function(i,a){return(a-i)/mh},function(i){return i.getUTCDate()-1});const oa=xa;function wi(i){return fo(function(a){a.setDate(a.getDate()-(a.getDay()+7-i)%7),a.setHours(0,0,0,0)},function(a,l){a.setDate(a.getDate()+7*l)},function(a,l){return(l-a-6e4*(l.getTimezoneOffset()-a.getTimezoneOffset()))/Sd})}var _h=wi(0),No=wi(1);wi(2),wi(3);var Wc=wi(4);wi(5),wi(6);var vm=fo(i=>i.setHours(0,0,0,0),(i,a)=>i.setDate(i.getDate()+a),(i,a)=>(a-i-6e4*(a.getTimezoneOffset()-i.getTimezoneOffset()))/mh,i=>i.getDate()-1);const jp=vm;var zp=fo(function(i){i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,a){i.setFullYear(i.getFullYear()+a)},function(i,a){return a.getFullYear()-i.getFullYear()},function(i){return i.getFullYear()});zp.every=function(i){return isFinite(i=Math.floor(i))&&i>0?fo(function(a){a.setFullYear(Math.floor(a.getFullYear()/i)*i),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,l){a.setFullYear(a.getFullYear()+l*i)}):null};const Zl=zp;var bm=fo(function(i){i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,a){i.setUTCFullYear(i.getUTCFullYear()+a)},function(i,a){return a.getUTCFullYear()-i.getUTCFullYear()},function(i){return i.getUTCFullYear()});bm.every=function(i){return isFinite(i=Math.floor(i))&&i>0?fo(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/i)*i),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,l){a.setUTCFullYear(a.getUTCFullYear()+l*i)}):null};const vh=bm;function ka(i){if(0<=i.y&&i.y<100){var a=new Date(-1,i.m,i.d,i.H,i.M,i.S,i.L);return a.setFullYear(i.y),a}return new Date(i.y,i.m,i.d,i.H,i.M,i.S,i.L)}function Hp(i){if(0<=i.y&&i.y<100){var a=new Date(Date.UTC(-1,i.m,i.d,i.H,i.M,i.S,i.L));return a.setUTCFullYear(i.y),a}return new Date(Date.UTC(i.y,i.m,i.d,i.H,i.M,i.S,i.L))}function Xl(i,a,l){return{y:i,m:a,d:l,H:0,M:0,S:0,L:0}}var bh,Ga,Cd={"-":"",_:" ",0:"0"},pi=/^\s*\d+/,wm=/^%/,L3=/[\\^$*+?|[\]().{}]/g;function Sr(i,a,l){var p=i<0?"-":"",m=(p?-i:i)+"",b=m.length;return p+(b[a.toLowerCase(),l]))}function R3(i,a,l){var p=pi.exec(a.slice(l,l+1));return p?(i.w=+p[0],l+p[0].length):-1}function km(i,a,l){var p=pi.exec(a.slice(l,l+1));return p?(i.u=+p[0],l+p[0].length):-1}function B3(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.U=+p[0],l+p[0].length):-1}function Kl(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.V=+p[0],l+p[0].length):-1}function Wp(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.W=+p[0],l+p[0].length):-1}function Md(i,a,l){var p=pi.exec(a.slice(l,l+4));return p?(i.y=+p[0],l+p[0].length):-1}function Nd(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.y=+p[0]+(+p[0]>68?1900:2e3),l+p[0].length):-1}function Tm(i,a,l){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(l,l+6));return p?(i.Z=p[1]?0:-(p[2]+(p[3]||"00")),l+p[0].length):-1}function Em(i,a,l){var p=pi.exec(a.slice(l,l+1));return p?(i.q=3*p[0]-3,l+p[0].length):-1}function Sm(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.m=p[0]-1,l+p[0].length):-1}function qp(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.d=+p[0],l+p[0].length):-1}function Am(i,a,l){var p=pi.exec(a.slice(l,l+3));return p?(i.m=0,i.d=+p[0],l+p[0].length):-1}function Gp(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.H=+p[0],l+p[0].length):-1}function F3(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.M=+p[0],l+p[0].length):-1}function Cm(i,a,l){var p=pi.exec(a.slice(l,l+2));return p?(i.S=+p[0],l+p[0].length):-1}function Dd(i,a,l){var p=pi.exec(a.slice(l,l+3));return p?(i.L=+p[0],l+p[0].length):-1}function Od(i,a,l){var p=pi.exec(a.slice(l,l+6));return p?(i.L=Math.floor(p[0]/1e3),l+p[0].length):-1}function Mm(i,a,l){var p=wm.exec(a.slice(l,l+1));return p?l+p[0].length:-1}function Nm(i,a,l){var p=pi.exec(a.slice(l));return p?(i.Q=+p[0],l+p[0].length):-1}function Vp(i,a,l){var p=pi.exec(a.slice(l));return p?(i.s=+p[0],l+p[0].length):-1}function Id(i,a){return Sr(i.getDate(),a,2)}function Dm(i,a){return Sr(i.getHours(),a,2)}function Om(i,a){return Sr(i.getHours()%12||12,a,2)}function P3(i,a){return Sr(1+jp.count(Zl(i),i),a,3)}function Im(i,a){return Sr(i.getMilliseconds(),a,3)}function Zp(i,a){return Im(i,a)+"000"}function Lm(i,a){return Sr(i.getMonth()+1,a,2)}function kh(i,a){return Sr(i.getMinutes(),a,2)}function Ld(i,a){return Sr(i.getSeconds(),a,2)}function Rd(i){var a=i.getDay();return a===0?7:a}function U3(i,a){return Sr(_h.count(Zl(i)-1,i),a,2)}function Bd(i){var a=i.getDay();return a>=4||a===0?Wc(i):Wc.ceil(i)}function Fd(i,a){return i=Bd(i),Sr(Wc.count(Zl(i),i)+(Zl(i).getDay()===4),a,2)}function Pd(i){return i.getDay()}function Xp(i,a){return Sr(No.count(Zl(i)-1,i),a,2)}function Ql(i,a){return Sr(i.getFullYear()%100,a,2)}function Y3(i,a){return Sr((i=Bd(i)).getFullYear()%100,a,2)}function $3(i,a){return Sr(i.getFullYear()%1e4,a,4)}function j3(i,a){var l=i.getDay();return Sr((i=l>=4||l===0?Wc(i):Wc.ceil(i)).getFullYear()%1e4,a,4)}function Rm(i){var a=i.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+Sr(a/60|0,"0",2)+Sr(a%60,"0",2)}function Ud(i,a){return Sr(i.getUTCDate(),a,2)}function z3(i,a){return Sr(i.getUTCHours(),a,2)}function Yd(i,a){return Sr(i.getUTCHours()%12||12,a,2)}function Bm(i,a){return Sr(1+oa.count(vh(i),i),a,3)}function Kp(i,a){return Sr(i.getUTCMilliseconds(),a,3)}function $d(i,a){return Kp(i,a)+"000"}function Fm(i,a){return Sr(i.getUTCMonth()+1,a,2)}function Pm(i,a){return Sr(i.getUTCMinutes(),a,2)}function Um(i,a){return Sr(i.getUTCSeconds(),a,2)}function H3(i){var a=i.getUTCDay();return a===0?7:a}function Ym(i,a){return Sr($p.count(vh(i)-1,i),a,2)}function $m(i){var a=i.getUTCDay();return a>=4||a===0?Vl(i):Vl.ceil(i)}function jm(i,a){return i=$m(i),Sr(Vl.count(vh(i),i)+(vh(i).getUTCDay()===4),a,2)}function zm(i){return i.getUTCDay()}function Hm(i,a){return Sr(Ad.count(vh(i)-1,i),a,2)}function W3(i,a){return Sr(i.getUTCFullYear()%100,a,2)}function q3(i,a){return Sr((i=$m(i)).getUTCFullYear()%100,a,2)}function Th(i,a){return Sr(i.getUTCFullYear()%1e4,a,4)}function Wm(i,a){var l=i.getUTCDay();return Sr((i=l>=4||l===0?Vl(i):Vl.ceil(i)).getUTCFullYear()%1e4,a,4)}function qm(){return"+0000"}function jd(){return"%"}function zd(i){return+i}function Hd(i){return Math.floor(+i/1e3)}bh=function(i){var a=i.dateTime,l=i.date,p=i.time,m=i.periods,b=i.days,x=i.shortDays,E=i.months,D=i.shortMonths,N=wh(m),F=xh(m),W=wh(b),H=xh(b),K=wh(x),yt=xh(x),ct=wh(E),Tt=xh(E),vt=wh(D),Mt=xh(D),Dt={a:function(Nt){return x[Nt.getDay()]},A:function(Nt){return b[Nt.getDay()]},b:function(Nt){return D[Nt.getMonth()]},B:function(Nt){return E[Nt.getMonth()]},c:null,d:Id,e:Id,f:Zp,g:Y3,G:j3,H:Dm,I:Om,j:P3,L:Im,m:Lm,M:kh,p:function(Nt){return m[+(Nt.getHours()>=12)]},q:function(Nt){return 1+~~(Nt.getMonth()/3)},Q:zd,s:Hd,S:Ld,u:Rd,U:U3,V:Fd,w:Pd,W:Xp,x:null,X:null,y:Ql,Y:$3,Z:Rm,"%":jd},jt={a:function(Nt){return x[Nt.getUTCDay()]},A:function(Nt){return b[Nt.getUTCDay()]},b:function(Nt){return D[Nt.getUTCMonth()]},B:function(Nt){return E[Nt.getUTCMonth()]},c:null,d:Ud,e:Ud,f:$d,g:q3,G:Wm,H:z3,I:Yd,j:Bm,L:Kp,m:Fm,M:Pm,p:function(Nt){return m[+(Nt.getUTCHours()>=12)]},q:function(Nt){return 1+~~(Nt.getUTCMonth()/3)},Q:zd,s:Hd,S:Um,u:H3,U:Ym,V:jm,w:zm,W:Hm,x:null,X:null,y:W3,Y:Th,Z:qm,"%":jd},Qt={a:function(Nt,Yt,It){var Et=K.exec(Yt.slice(It));return Et?(Nt.w=yt.get(Et[0].toLowerCase()),It+Et[0].length):-1},A:function(Nt,Yt,It){var Et=W.exec(Yt.slice(It));return Et?(Nt.w=H.get(Et[0].toLowerCase()),It+Et[0].length):-1},b:function(Nt,Yt,It){var Et=vt.exec(Yt.slice(It));return Et?(Nt.m=Mt.get(Et[0].toLowerCase()),It+Et[0].length):-1},B:function(Nt,Yt,It){var Et=ct.exec(Yt.slice(It));return Et?(Nt.m=Tt.get(Et[0].toLowerCase()),It+Et[0].length):-1},c:function(Nt,Yt,It){return se(Nt,a,Yt,It)},d:qp,e:qp,f:Od,g:Nd,G:Md,H:Gp,I:Gp,j:Am,L:Dd,m:Sm,M:F3,p:function(Nt,Yt,It){var Et=N.exec(Yt.slice(It));return Et?(Nt.p=F.get(Et[0].toLowerCase()),It+Et[0].length):-1},q:Em,Q:Nm,s:Vp,S:Cm,u:km,U:B3,V:Kl,w:R3,W:Wp,x:function(Nt,Yt,It){return se(Nt,l,Yt,It)},X:function(Nt,Yt,It){return se(Nt,p,Yt,It)},y:Nd,Y:Md,Z:Tm,"%":Mm};function Ot(Nt,Yt){return function(It){var Et,$t,St,Ee=[],Ce=-1,qt=0,Me=Nt.length;for(It instanceof Date||(It=new Date(+It));++Ce53)return null;"w"in St||(St.w=1),"Z"in St?($t=(Et=Hp(Xl(St.y,0,1))).getUTCDay(),Et=$t>4||$t===0?Ad.ceil(Et):Ad(Et),Et=oa.offset(Et,7*(St.V-1)),St.y=Et.getUTCFullYear(),St.m=Et.getUTCMonth(),St.d=Et.getUTCDate()+(St.w+6)%7):($t=(Et=ka(Xl(St.y,0,1))).getDay(),Et=$t>4||$t===0?No.ceil(Et):No(Et),Et=jp.offset(Et,7*(St.V-1)),St.y=Et.getFullYear(),St.m=Et.getMonth(),St.d=Et.getDate()+(St.w+6)%7)}else("W"in St||"U"in St)&&("w"in St||(St.w="u"in St?St.u%7:"W"in St?1:0),$t="Z"in St?Hp(Xl(St.y,0,1)).getUTCDay():ka(Xl(St.y,0,1)).getDay(),St.m=0,St.d="W"in St?(St.w+6)%7+7*St.W-($t+5)%7:St.w+7*St.U-($t+6)%7);return"Z"in St?(St.H+=St.Z/100|0,St.M+=St.Z%100,Hp(St)):ka(St)}}function se(Nt,Yt,It,Et){for(var $t,St,Ee=0,Ce=Yt.length,qt=It.length;Ee=qt)return-1;if(($t=Yt.charCodeAt(Ee++))===37){if($t=Yt.charAt(Ee++),!(St=Qt[$t in Cd?Yt.charAt(Ee++):$t])||(Et=St(Nt,It,Et))<0)return-1}else if($t!=It.charCodeAt(Et++))return-1}return Et}return Dt.x=Ot(l,Dt),Dt.X=Ot(p,Dt),Dt.c=Ot(a,Dt),jt.x=Ot(l,jt),jt.X=Ot(p,jt),jt.c=Ot(a,jt),{format:function(Nt){var Yt=Ot(Nt+="",Dt);return Yt.toString=function(){return Nt},Yt},parse:function(Nt){var Yt=ae(Nt+="",!1);return Yt.toString=function(){return Nt},Yt},utcFormat:function(Nt){var Yt=Ot(Nt+="",jt);return Yt.toString=function(){return Nt},Yt},utcParse:function(Nt){var Yt=ae(Nt+="",!0);return Yt.toString=function(){return Nt},Yt}}}({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"]}),Ga=bh.format,bh.parse,bh.utcFormat,bh.utcParse;var Qp={value:()=>{}};function Ds(){for(var i,a=0,l=arguments.length,p={};a=0&&(p=l.slice(m+1),l=l.slice(0,m)),l&&!a.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:p}})}function Gm(i,a){for(var l,p=0,m=i.length;p0)for(var l,p,m=new Array(l),b=0;b=0&&a._call.call(void 0,i),a=a._next;--rs})()}finally{rs=0,function(){for(var i,a,l=Os,p=1/0;l;)l._call?(p>l._time&&(p=l._time),i=l,l=l._next):(a=l._next,l._next=null,l=i?i._next=a:Os=a);hc=i,Nh(p)}(),dc=0}}function Jl(){var i=La.now(),a=i-qc;a>1e3&&(Sh-=a,qc=i)}function Nh(i){rs||(fc&&(fc=clearTimeout(fc)),i-dc>24?(i<1/0&&(fc=setTimeout(Mh,i-La.now()-Sh)),Eh&&(Eh=clearInterval(Eh))):(Eh||(qc=La.now(),Eh=setInterval(Jl,1e3)),rs=1,Do(Mh)))}function qd(i,a,l){var p=new pc;return a=a==null?0:+a,p.restart(m=>{p.stop(),i(m+a)},a,l),p}pc.prototype=Ch.prototype={constructor:pc,restart:function(i,a,l){if(typeof i!="function")throw new TypeError("callback is not a function");l=(l==null?Ah():+l)+(a==null?0:+a),this._next||hc===this||(hc?hc._next=this:Os=this,hc=this),this._call=i,this._time=l,Nh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Nh())}};var Dh=Zm("start","end","cancel","interrupt"),Oo=[];function is(i,a,l,p,m,b){var x=i.__transition;if(x){if(l in x)return}else i.__transition={};(function(E,D,N){var F,W=E.__transition;function H(ct){var Tt,vt,Mt,Dt;if(N.state!==1)return yt();for(Tt in W)if((Dt=W[Tt]).name===N.name){if(Dt.state===3)return qd(H);Dt.state===4?(Dt.state=6,Dt.timer.stop(),Dt.on.call("interrupt",E,E.__data__,Dt.index,Dt.group),delete W[Tt]):+Tt0)throw new Error("too late; already scheduled");return l}function os(i,a){var l=Io(i,a);if(l.state>3)throw new Error("too late; already running");return l}function Io(i,a){var l=i.__transition;if(!l||!(l=l[a]))throw new Error("transition not found");return l}function Is(i,a){return i=+i,a=+a,function(l){return i*(1-l)+a*l}}var Vd,Xm=180/Math.PI,tg={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function eg(i,a,l,p,m,b){var x,E,D;return(x=Math.sqrt(i*i+a*a))&&(i/=x,a/=x),(D=i*l+a*p)&&(l-=i*D,p-=a*D),(E=Math.sqrt(l*l+p*p))&&(l/=E,p/=E,D/=E),i*p180?F+=360:F-N>180&&(N+=360),H.push({i:W.push(m(W)+"rotate(",null,p)-2,x:Is(N,F)})):F&&W.push(m(W)+"rotate("+F+p)}(b.rotate,x.rotate,E,D),function(N,F,W,H){N!==F?H.push({i:W.push(m(W)+"skewX(",null,p)-2,x:Is(N,F)}):F&&W.push(m(W)+"skewX("+F+p)}(b.skewX,x.skewX,E,D),function(N,F,W,H,K,yt){if(N!==W||F!==H){var ct=K.push(m(K)+"scale(",null,",",null,")");yt.push({i:ct-4,x:Is(N,W)},{i:ct-2,x:Is(F,H)})}else W===1&&H===1||K.push(m(K)+"scale("+W+","+H+")")}(b.scaleX,b.scaleY,x.scaleX,x.scaleY,E,D),b=x=null,function(N){for(var F,W=-1,H=D.length;++Wb&&(m=a.slice(b,m),E[x]?E[x]+=m:E[++x]=m),(l=l[0])===(p=p[0])?E[x]?E[x]+=p:E[++x]=p:(E[++x]=null,D.push({i:x,x:Is(l,p)})),b=eu.lastIndex;return b=0&&(E=E.slice(0,D)),!E||E==="start"})}(a)?Gd:os;return function(){var x=b(this,i),E=x.on;E!==p&&(m=(p=E).copy()).on(a,l),x.on=m}}var i_=Tn.prototype.constructor;function Lo(i){return function(){this.style.removeProperty(i)}}function ug(i,a,l){return function(p){this.style.setProperty(i,a.call(this,p),l)}}function hg(i,a,l){var p,m;function b(){var x=a.apply(this,arguments);return x!==m&&(p=(m=x)&&ug(i,x,l)),p}return b._value=a,b}function a_(i){return function(a){this.textContent=i.call(this,a)}}function Xd(i){var a,l;function p(){var m=i.apply(this,arguments);return m!==l&&(a=(l=m)&&a_(m)),a}return p._value=i,p}var o_=0;function Ls(i,a,l,p){this._groups=i,this._parents=a,this._name=l,this._id=p}function fg(){return++o_}var Va=Tn.prototype;Ls.prototype={constructor:Ls,select:function(i){var a=this._name,l=this._id;typeof i!="function"&&(i=Bl(i));for(var p=this._groups,m=p.length,b=new Array(m),x=0;x2&&p.state<5,p.state=6,p.timer.stop(),p.on.call(m?"interrupt":"cancel",a,a.__data__,p.index,p.group),delete x[b]):E=!1;E&&delete a.__transition}})(this,i)})},Tn.prototype.transition=function(i){var a,l;i instanceof Ls?(a=i._id,i=i._name):(a=fg(),(l=dg).time=Ah(),i=i==null?null:i+"");for(var p=this._groups,m=p.length,b=0;ba?1:i>=a?0:NaN}gc.prototype={constructor:gc,appendChild:function(i){return this._parent.insertBefore(i,this._next)},insertBefore:function(i,a){return this._parent.insertBefore(i,a)},querySelector:function(i){return this._parent.querySelector(i)},querySelectorAll:function(i){return this._parent.querySelectorAll(i)}};var Yh="http://www.w3.org/1999/xhtml";const l_={svg:"http://www.w3.org/2000/svg",xhtml:Yh,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Qd(i){var a=i+="",l=a.indexOf(":");return l>=0&&(a=i.slice(0,l))!=="xmlns"&&(i=i.slice(l+1)),l_.hasOwnProperty(a)?{space:l_[a],local:i}:i}function vg(i){return function(){this.removeAttribute(i)}}function aw(i){return function(){this.removeAttributeNS(i.space,i.local)}}function bg(i,a){return function(){this.setAttribute(i,a)}}function ow(i,a){return function(){this.setAttributeNS(i.space,i.local,a)}}function wg(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttribute(i):this.setAttribute(i,l)}}function sw(i,a){return function(){var l=a.apply(this,arguments);l==null?this.removeAttributeNS(i.space,i.local):this.setAttributeNS(i.space,i.local,l)}}function Jd(i){return i.ownerDocument&&i.ownerDocument.defaultView||i.document&&i||i.defaultView}function cw(i){return function(){this.style.removeProperty(i)}}function lw(i,a,l){return function(){this.style.setProperty(i,a,l)}}function uw(i,a,l){return function(){var p=a.apply(this,arguments);p==null?this.style.removeProperty(i):this.style.setProperty(i,p,l)}}function nu(i,a){return i.style.getPropertyValue(a)||Jd(i).getComputedStyle(i,null).getPropertyValue(a)}function hw(i){return function(){delete this[i]}}function fw(i,a){return function(){this[i]=a}}function xg(i,a){return function(){var l=a.apply(this,arguments);l==null?delete this[i]:this[i]=l}}function u_(i){return i.trim().split(/^|\s+/)}function kg(i){return i.classList||new Tg(i)}function Tg(i){this._node=i,this._names=u_(i.getAttribute("class")||"")}function Vc(i,a){for(var l=kg(i),p=-1,m=a.length;++p=0&&(l=a.slice(p+1),a=a.slice(0,p)),{type:a,name:l}})}function mw(i){return function(){var a=this.__on;if(a){for(var l,p=0,m=-1,b=a.length;p=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(i){return this._names.indexOf(i)>=0}};var jh=[null];function Ro(i,a){this._groups=i,this._parents=a}function k_(){return new Ro([[document.documentElement]],jh)}Ro.prototype=k_.prototype={constructor:Ro,select:function(i){typeof i!="function"&&(i=gg(i));for(var a=this._groups,l=a.length,p=new Array(l),m=0;m=Qt&&(Qt=jt+1);!(Dt=Tt[Qt])&&++Qt=0;)(p=m[b])&&(x&&4^p.compareDocumentPosition(x)&&x.parentNode.insertBefore(p,x),x=p);return this},sort:function(i){function a(W,H){return W&&H?i(W.__data__,H.__data__):!W-!H}i||(i=iw);for(var l=this._groups,p=l.length,m=new Array(p),b=0;b1?this.each((a==null?cw:typeof a=="function"?uw:lw)(i,a,l==null?"":l)):nu(this.node(),i)},property:function(i,a){return arguments.length>1?this.each((a==null?hw:typeof a=="function"?xg:fw)(i,a)):this.node()[i]},classed:function(i,a){var l=u_(i+"");if(arguments.length<2){for(var p=kg(this.node()),m=-1,b=l.length;++m{}};function T_(){for(var i,a=0,l=arguments.length,p={};a=0&&(p=l.slice(m+1),l=l.slice(0,m)),l&&!a.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:p}})}function Sg(i,a){for(var l,p=0,m=i.length;p0)for(var l,p,m=new Array(l),b=0;b=0&&a._call.call(void 0,i),a=a._next;--iu})()}finally{iu=0,function(){for(var i,a,l=o1,p=1/0;l;)l._call?(p>l._time&&(p=l._time),i=l,l=l._next):(a=l._next,l._next=null,l=i?i._next=a:o1=a);yc=i,l1(p)}(),_c=0}}function S_(){var i=Wh.now(),a=i-Hh;a>1e3&&(s1-=a,Hh=i)}function l1(i){iu||(mc&&(mc=clearTimeout(mc)),i-_c>24?(i<1/0&&(mc=setTimeout(ou,i-Wh.now()-s1)),au&&(au=clearInterval(au))):(au||(Hh=Wh.now(),au=setInterval(S_,1e3)),iu=1,E_(ou)))}function Mg(i,a,l){var p=new c1;return a=a==null?0:+a,p.restart(m=>{p.stop(),i(m+a)},a,l),p}c1.prototype=Cg.prototype={constructor:c1,restart:function(i,a,l){if(typeof i!="function")throw new TypeError("callback is not a function");l=(l==null?Ag():+l)+(a==null?0:+a),this._next||yc===this||(yc?yc._next=this:o1=this,yc=this),this._call=i,this._time=l,l1()},stop:function(){this._call&&(this._call=null,this._time=1/0,l1())}};var xw=bw("start","end","cancel","interrupt"),kw=[];function u1(i,a,l,p,m,b){var x=i.__transition;if(x){if(l in x)return}else i.__transition={};(function(E,D,N){var F,W=E.__transition;function H(ct){var Tt,vt,Mt,Dt;if(N.state!==1)return yt();for(Tt in W)if((Dt=W[Tt]).name===N.name){if(Dt.state===3)return Mg(H);Dt.state===4?(Dt.state=6,Dt.timer.stop(),Dt.on.call("interrupt",E,E.__data__,Dt.index,Dt.group),delete W[Tt]):+Tt0)throw new Error("too late; already scheduled");return l}function ss(i,a){var l=Bo(i,a);if(l.state>3)throw new Error("too late; already running");return l}function Bo(i,a){var l=i.__transition;if(!l||!(l=l[a]))throw new Error("transition not found");return l}function Rs(i,a){return i=+i,a=+a,function(l){return i*(1-l)+a*l}}var f1,qh=180/Math.PI,Ng={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function A_(i,a,l,p,m,b){var x,E,D;return(x=Math.sqrt(i*i+a*a))&&(i/=x,a/=x),(D=i*l+a*p)&&(l-=i*D,p-=a*D),(E=Math.sqrt(l*l+p*p))&&(l/=E,p/=E,D/=E),i*p180?F+=360:F-N>180&&(N+=360),H.push({i:W.push(m(W)+"rotate(",null,p)-2,x:Rs(N,F)})):F&&W.push(m(W)+"rotate("+F+p)}(b.rotate,x.rotate,E,D),function(N,F,W,H){N!==F?H.push({i:W.push(m(W)+"skewX(",null,p)-2,x:Rs(N,F)}):F&&W.push(m(W)+"skewX("+F+p)}(b.skewX,x.skewX,E,D),function(N,F,W,H,K,yt){if(N!==W||F!==H){var ct=K.push(m(K)+"scale(",null,",",null,")");yt.push({i:ct-4,x:Rs(N,W)},{i:ct-2,x:Rs(F,H)})}else W===1&&H===1||K.push(m(K)+"scale("+W+","+H+")")}(b.scaleX,b.scaleY,x.scaleX,x.scaleY,E,D),b=x=null,function(N){for(var F,W=-1,H=D.length;++W>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):l===8?Zh(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):l===4?Zh(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=Fo.exec(i))?new Ra(a[1],a[2],a[3],1):(a=Bs.exec(i))?new Ra(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=D_.exec(i))?Zh(a[1],a[2],a[3],a[4]):(a=p1.exec(i))?Zh(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=Xc.exec(i))?Kh(a[1],a[2]/100,a[3]/100,1):(a=Ig.exec(i))?Kh(a[1],a[2]/100,a[3]/100,a[4]):g1.hasOwnProperty(i)?m1(g1[i]):i==="transparent"?new Ra(NaN,NaN,NaN,0):null}function m1(i){return new Ra(i>>16&255,i>>8&255,255&i,1)}function Zh(i,a,l,p){return p<=0&&(i=a=l=NaN),new Ra(i,a,l,p)}function ta(i){return i instanceof cs||(i=Vh(i)),i?new Ra((i=i.rgb()).r,i.g,i.b,i.opacity):new Ra}function Xh(i,a,l,p){return arguments.length===1?ta(i):new Ra(i,a,l,p==null?1:p)}function Ra(i,a,l,p){this.r=+i,this.g=+a,this.b=+l,this.opacity=+p}function O_(){return"#"+Kc(this.r)+Kc(this.g)+Kc(this.b)}function I_(){var i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===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))+(i===1?")":", "+i+")")}function Kc(i){return((i=Math.max(0,Math.min(255,Math.round(i)||0)))<16?"0":"")+i.toString(16)}function Kh(i,a,l,p){return p<=0?i=a=l=NaN:l<=0||l>=1?i=a=NaN:a<=0&&(i=NaN),new Po(i,a,l,p)}function Rg(i){if(i instanceof Po)return new Po(i.h,i.s,i.l,i.opacity);if(i instanceof cs||(i=Vh(i)),!i)return new Po;if(i instanceof Po)return i;var a=(i=i.rgb()).r/255,l=i.g/255,p=i.b/255,m=Math.min(a,l,p),b=Math.max(a,l,p),x=NaN,E=b-m,D=(b+m)/2;return E?(x=a===b?(l-p)/E+6*(l0&&D<1?0:x,new Po(x,E,D,i.opacity)}function Po(i,a,l,p){this.h=+i,this.s=+a,this.l=+l,this.opacity=+p}function Fs(i,a,l){return 255*(i<60?a+(l-a)*i/60:i<180?l:i<240?a+(l-a)*(240-i)/60:a)}Og(cs,Vh,{copy:function(i){return Object.assign(new this.constructor,this,i)},displayable:function(){return this.rgb().displayable()},hex:y1,formatHex:y1,formatHsl:function(){return Rg(this).formatHsl()},formatRgb:Lg,toString:Lg}),Og(Ra,Xh,N_(cs,{brighter:function(i){return i=i==null?Gh:Math.pow(Gh,i),new Ra(this.r*i,this.g*i,this.b*i,this.opacity)},darker:function(i){return i=i==null?d1:Math.pow(d1,i),new Ra(this.r*i,this.g*i,this.b*i,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:O_,formatHex:O_,formatRgb:I_,toString:I_})),Og(Po,function(i,a,l,p){return arguments.length===1?Rg(i):new Po(i,a,l,p==null?1:p)},N_(cs,{brighter:function(i){return i=i==null?Gh:Math.pow(Gh,i),new Po(this.h,this.s,this.l*i,this.opacity)},darker:function(i){return i=i==null?d1:Math.pow(d1,i),new Po(this.h,this.s,this.l*i,this.opacity)},rgb:function(){var i=this.h%360+360*(this.h<0),a=isNaN(i)||isNaN(this.s)?0:this.s,l=this.l,p=l+(l<.5?l:1-l)*a,m=2*l-p;return new Ra(Fs(i>=240?i-240:i+120,m,p),Fs(i,m,p),Fs(i<120?i+240:i-120,m,p),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 i=this.opacity;return((i=isNaN(i)?1:Math.max(0,Math.min(1,i)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(i===1?")":", "+i+")")}}));const Bg=i=>()=>i;function Fg(i,a){var l=a-i;return l?function(p,m){return function(b){return p+b*m}}(i,l):Bg(isNaN(i)?a:i)}const Pg=function i(a){var l=function(m){return(m=+m)==1?Fg:function(b,x){return x-b?function(E,D,N){return E=Math.pow(E,N),D=Math.pow(D,N)-E,N=1/N,function(F){return Math.pow(E+F*D,N)}}(b,x,m):Bg(isNaN(b)?x:b)}}(a);function p(m,b){var x=l((m=Xh(m)).r,(b=Xh(b)).r),E=l(m.g,b.g),D=l(m.b,b.b),N=Fg(m.opacity,b.opacity);return function(F){return m.r=x(F),m.g=E(F),m.b=D(F),m.opacity=N(F),m+""}}return p.gamma=i,p}(1);var _1=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,v1=new RegExp(_1.source,"g");function Cw(i,a){var l,p,m,b=_1.lastIndex=v1.lastIndex=0,x=-1,E=[],D=[];for(i+="",a+="";(l=_1.exec(i))&&(p=v1.exec(a));)(m=p.index)>b&&(m=a.slice(b,m),E[x]?E[x]+=m:E[++x]=m),(l=l[0])===(p=p[0])?E[x]?E[x]+=p:E[++x]=p:(E[++x]=null,D.push({i:x,x:Rs(l,p)})),b=v1.lastIndex;return b=0&&(E=E.slice(0,D)),!E||E==="start"})}(a)?h1:ss;return function(){var x=b(this,i),E=x.on;E!==p&&(m=(p=E).copy()).on(a,l),x.on=m}}var z_=zh.prototype.constructor;function b1(i){return function(){this.style.removeProperty(i)}}function zg(i,a,l){return function(p){this.style.setProperty(i,a.call(this,p),l)}}function Bi(i,a,l){var p,m;function b(){var x=a.apply(this,arguments);return x!==m&&(p=(m=x)&&zg(i,x,l)),p}return b._value=a,b}function Hg(i){return function(a){this.textContent=i.call(this,a)}}function Qc(i){var a,l;function p(){var m=i.apply(this,arguments);return m!==l&&(a=(l=m)&&Hg(m)),a}return p._value=i,p}var Iw=0;function us(i,a,l,p){this._groups=i,this._parents=a,this._name=l,this._id=p}function Wg(){return++Iw}var Ps=zh.prototype;us.prototype={constructor:us,select:function(i){var a=this._name,l=this._id;typeof i!="function"&&(i=gg(i));for(var p=this._groups,m=p.length,b=new Array(m),x=0;x2&&p.state<5,p.state=6,p.timer.stop(),p.on.call(m?"interrupt":"cancel",a,a.__data__,p.index,p.group),delete x[b]):E=!1;E&&delete a.__transition}})(this,i)})},zh.prototype.transition=function(i){var a,l;i instanceof us?(a=i._id,i=i._name):(a=Wg(),(l=w1).time=Ag(),i=i==null?null:i+"");for(var p=this._groups,m=p.length,b=0;b0?Us(fu,--Za):0,hu--,ci===10&&(hu=1,T1--),ci}function Uo(){return ci=Za2||A1(ci)>3?"":" "}function C1(i,a){for(;--a&&Uo()&&!(ci<48||ci>102||ci>57&&ci<65||ci>70&&ci<97););return S1(i,Jh()+(a<6&&vc()==32&&Uo()==32))}function pu(i){for(;Uo();)switch(ci){case i:return Za;case 34:case 39:i!==34&&i!==39&&pu(ci);break;case 40:i===41&&pu(i);break;case 92:Uo()}return Za}function V_(i,a){for(;Uo()&&i+ci!==57&&(i+ci!==84||vc()!==47););return"/*"+S1(a,Za-1)+"*"+el(i===47?i:Uo())}function nl(i){for(;!A1(vc());)Uo();return S1(i,Za)}function tf(i){return function(a){return fu="",a}(bc("",null,null,null,[""],i=function(a){return T1=hu=1,W_=Ys(fu=a),Za=0,[]}(i),0,[0],i))}function bc(i,a,l,p,m,b,x,E,D){for(var N=0,F=0,W=x,H=0,K=0,yt=0,ct=1,Tt=1,vt=1,Mt=0,Dt="",jt=m,Qt=b,Ot=p,ae=Dt;Tt;)switch(yt=Mt,Mt=Uo()){case 40:if(yt!=108&&ae.charCodeAt(W-1)==58){H_(ae+=x1(du(Mt),"&","&\f"),"&\f")!=-1&&(vt=-1);break}case 34:case 39:case 91:ae+=du(Mt);break;case 9:case 10:case 13:case 32:ae+=G_(yt);break;case 92:ae+=C1(Jh()-1,7);continue;case 47:switch(vc()){case 42:case 47:k1(Z_(V_(Uo(),Jh()),a,l),D);break;default:ae+="/"}break;case 123*ct:E[N++]=Ys(ae)*vt;case 125*ct:case 59:case 0:switch(Mt){case 0:case 125:Tt=0;case 59+F:K>0&&Ys(ae)-W&&k1(K>32?wc(ae+";",p,l,W-1):wc(x1(ae," ","")+";",p,l,W-2),D);break;case 59:ae+=";";default:if(k1(Ot=Xg(ae,a,l,N,F,m,E,Dt,jt=[],Qt=[],W),b),Mt===123)if(F===0)bc(ae,a,Ot,Ot,jt,b,W,E,Qt);else switch(H){case 100:case 109:case 115:bc(i,Ot,Ot,p&&k1(Xg(i,Ot,Ot,0,0,m,E,Dt,m,jt=[],W),Qt),m,Qt,W,E,p?jt:Qt);break;default:bc(ae,Ot,Ot,Ot,[""],Qt,0,E,Qt)}}N=F=K=0,ct=vt=1,Dt=ae="",W=x;break;case 58:W=1+Ys(ae),K=yt;default:if(ct<1){if(Mt==123)--ct;else if(Mt==125&&ct++==0&&q_()==125)continue}switch(ae+=el(Mt),Mt*ct){case 38:vt=F>0?1:(ae+="\f",-1);break;case 44:E[N++]=(Ys(ae)-1)*vt,vt=1;break;case 64:vc()===45&&(ae+=du(Uo())),H=vc(),F=W=Ys(Dt=ae+=nl(Jh())),Mt++;break;case 45:yt===45&&Ys(ae)==2&&(ct=0)}}return b}function Xg(i,a,l,p,m,b,x,E,D,N,F){for(var W=m-1,H=m===0?b:[""],K=Vg(H),yt=0,ct=0,Tt=0;yt0?H[vt]+" "+Mt:x1(Mt,/&\f/g,H[vt])))&&(D[Tt++]=Dt);return E1(i,a,l,m===0?qg:E,D,N,F)}function Z_(i,a,l){return E1(i,a,l,Qh,el(ci),uu(i,2,-2),0)}function wc(i,a,l,p){return E1(i,a,l,Gg,uu(i,0,p),uu(i,p+1,-1),p)}const Kg="8.14.0";var rl=c(9609),X_=c(7856),Rw=c.n(X_),K_=function(i){var a=i.replace(/\\u[\dA-F]{4}/gi,function(l){return String.fromCharCode(parseInt(l.replace(/\\u/g,""),16))});return a=(a=(a=a.replace(/\\x([0-9a-f]{2})/gi,function(l,p){return String.fromCharCode(parseInt(p,16))})).replace(/\\[\d\d\d]{3}/gi,function(l){return String.fromCharCode(parseInt(l.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(l){return String.fromCharCode(parseInt(l.replace(/\\/g,""),8))})},Q_=function(i){for(var a="",l=0;l>=0;){if(!((l=i.indexOf("=0)){a+=i,l=-1;break}a+=i.substr(0,l),(l=(i=i.substr(l+1)).indexOf("<\/script>"))>=0&&(l+=9,i=i.substr(l))}var p=K_(a);return(p=(p=(p=p.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/`)}if(l!==void 0)switch(yt){case"flowchart":case"flowchart-v2":l(ae,sr.bindFunctions);break;case"gantt":l(ae,Mu.bindFunctions);break;case"class":case"classDiagram":l(ae,go.bindFunctions);break;default:l(ae)}else _.debug("CB = undefined!");ml.forEach(function(Et){Et()}),ml=[];var Yt=x.securityLevel==="sandbox"?"#i"+i:"#d"+i,It=De(Yt).node();return It!==null&&typeof It.remove=="function"&&De(Yt).node().remove(),ae},parse:function(i){var a=re(),l=tr.detectInit(i,a);l&&_.debug("reinit ",l);var p,m=tr.detectType(i,a);switch(_.debug("Type "+m),m){case"git":(p=qs()).parser.yy=dl;break;case"flowchart":case"flowchart-v2":sr.clear(),(p=i0()).parser.yy=sr;break;case"sequence":(p=_4()).parser.yy=Lu;break;case"gantt":(p=Qv()).parser.yy=Mu;break;case"class":case"classDiagram":(p=mv()).parser.yy=go;break;case"state":case"stateDiagram":(p=xb()).parser.yy=j;break;case"info":_.debug("info info info"),(p=w0()).parser.yy=b0;break;case"pie":_.debug("pie"),(p=ab()).parser.yy=Hy;break;case"er":_.debug("er"),(p=Ey()).parser.yy=Sa;break;case"journey":_.debug("Journey"),(p=Rn()).parser.yy=cn;break;case"requirement":case"requirementDiagram":_.debug("RequirementDiagram"),(p=sb()).parser.yy=Ou}return p.parser.yy.graphType=m,p.parser.yy.parseError=function(b,x){throw{str:b,hash:x}},p.parse(i),p},parseDirective:function(i,a,l,p){try{if(a!==void 0)switch(a=a.trim(),l){case"open_directive":r2={};break;case"type_directive":r2.type=a.toLowerCase();break;case"arg_directive":r2.args=JSON.parse(a);break;case"close_directive":(function(m,b,x){switch(_.debug("Directive type=".concat(b.type," with args:"),b.args),b.type){case"init":case"initialize":["config"].forEach(function(E){b.args[E]!==void 0&&(x==="flowchart-v2"&&(x="flowchart"),b.args[x]=b.args[E],delete b.args[E])}),_.debug("sanitize in handleDirective",b.args),B1(b.args),_.debug("sanitize in handleDirective (done)",b.args),b.args,dv(b.args);break;case"wrap":case"nowrap":m&&m.setWrap&&m.setWrap(b.type==="wrap");break;case"themeCss":_.warn("themeCss encountered");break;default:_.warn("Unhandled directive: source: '%%{".concat(b.type,": ").concat(JSON.stringify(b.args?b.args:{}),"}%%"),b)}})(i,r2,p),r2=null}}catch(m){_.error("Error while rendering sequenceDiagram directive: ".concat(a," jison context: ").concat(l)),_.error(m.message)}},initialize:function(i){i&&i.fontFamily&&(i.themeVariables&&i.themeVariables.fontFamily||(i.themeVariables={fontFamily:i.fontFamily})),function(l){hv=Wi({},l)}(i),i&&i.theme&&yu[i.theme]?i.themeVariables=yu[i.theme].getThemeVariables(i.themeVariables):i&&(i.themeVariables=yu.default.getThemeVariables(i.themeVariables));var a=N4(i)==="object"?function(l){return qi=Wi({},rf),qi=Wi(qi,l),l.theme&&(qi.themeVariables=yu[l.theme].getThemeVariables(l.themeVariables)),F1=P1(qi,_u),qi}(i):fv();L4(a),T(a.logLevel)},reinitialize:function(){},getConfig:re,setConfig:function(i){return Wi(F1,i),re()},getSiteConfig:fv,updateSiteConfig:function(i){return qi=Wi(qi,i),P1(qi,_u),qi},reset:function(){U1()},globalReset:function(){U1(),L4(re())},defaultConfig:rf});T(re().logLevel),U1(re());const ia=U4;var R4=function(){mo.startOnLoad?ia.getConfig().startOnLoad&&mo.init():mo.startOnLoad===void 0&&(_.debug("In start, no config"),ia.getConfig().startOnLoad&&mo.init())};typeof document!="undefined"&&window.addEventListener("load",function(){R4()},!1);var mo={startOnLoad:!0,htmlLabels:!0,mermaidAPI:ia,parse:ia.parse,render:ia.render,init:function(){var i,a,l=this,p=ia.getConfig();arguments.length>=2?(arguments[0]!==void 0&&(mo.sequenceConfig=arguments[0]),i=arguments[1]):i=arguments[0],typeof arguments[arguments.length-1]=="function"?(a=arguments[arguments.length-1],_.debug("Callback function found")):p.mermaid!==void 0&&(typeof p.mermaid.callback=="function"?(a=p.mermaid.callback,_.debug("Callback function found")):_.debug("No Callback function found")),i=i===void 0?document.querySelectorAll(".mermaid"):typeof i=="string"?document.querySelectorAll(i):i instanceof window.Node?[i]:i,_.debug("Start On Load before: "+mo.startOnLoad),mo.startOnLoad!==void 0&&(_.debug("Start On Load inner: "+mo.startOnLoad),ia.updateSiteConfig({startOnLoad:mo.startOnLoad})),mo.ganttConfig!==void 0&&ia.updateSiteConfig({gantt:mo.ganttConfig});for(var m,b=new tr.initIdGeneratior(p.deterministicIds,p.deterministicIDSeed),x=function(D){var N=i[D];if(N.getAttribute("data-processed"))return"continue";N.setAttribute("data-processed",!0);var F="mermaid-".concat(b.next());m=N.innerHTML,m=tr.entityDecode(m).trim().replace(//gi,"
");var W=tr.detectInit(m);W&&_.debug("Detected early reinit: ",W);try{ia.render(F,m,function(H,K){N.innerHTML=H,a!==void 0&&a(F),K&&K(N)},N)}catch(H){_.warn("Syntax Error rendering"),_.warn(H),l.parseError&&l.parseError(H)}},E=0;E{s.exports={graphlib:c(6614),dagre:c(1463),intersect:c(8114),render:c(5787),util:c(8355),version:c(5689)}},9144:(s,h,c)=>{var d=c(8355);function f(v,_,T,C){var A=v.append("marker").attr("id",_).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");d.applyStyle(A,T[C+"Style"]),T[C+"Class"]&&A.attr("class",T[C+"Class"])}s.exports={default:f,normal:f,vee:function(v,_,T,C){var A=v.append("marker").attr("id",_).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");d.applyStyle(A,T[C+"Style"]),T[C+"Class"]&&A.attr("class",T[C+"Class"])},undirected:function(v,_,T,C){var A=v.append("marker").attr("id",_).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");d.applyStyle(A,T[C+"Style"]),T[C+"Class"]&&A.attr("class",T[C+"Class"])}}},5632:(s,h,c)=>{var d=c(8355),f=c(4322),v=c(1322);s.exports=function(_,T){var C,A=T.nodes().filter(function(B){return d.isSubgraph(T,B)}),L=_.selectAll("g.cluster").data(A,function(B){return B});return L.selectAll("*").remove(),L.enter().append("g").attr("class","cluster").attr("id",function(B){return T.node(B).id}).style("opacity",0),L=_.selectAll("g.cluster"),d.applyTransition(L,T).style("opacity",1),L.each(function(B){var Y=T.node(B),z=f.select(this);f.select(this).append("rect");var q=z.append("g").attr("class","label");v(q,Y,Y.clusterLabelPos)}),L.selectAll("rect").each(function(B){var Y=T.node(B),z=f.select(this);d.applyStyle(z,Y.style)}),C=L.exit?L.exit():L.selectAll(null),d.applyTransition(C,T).style("opacity",0).remove(),L}},6315:(s,h,c)=>{var d=c(1034),f=c(1322),v=c(8355),_=c(4322);s.exports=function(T,C){var A,L=T.selectAll("g.edgeLabel").data(C.edges(),function(B){return v.edgeToId(B)}).classed("update",!0);return L.exit().remove(),L.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(L=T.selectAll("g.edgeLabel")).each(function(B){var Y=_.select(this);Y.select(".label").remove();var z=C.edge(B),q=f(Y,C.edge(B),0,0).classed("label",!0),V=q.node().getBBox();z.labelId&&q.attr("id",z.labelId),d.has(z,"width")||(z.width=V.width),d.has(z,"height")||(z.height=V.height)}),A=L.exit?L.exit():L.selectAll(null),v.applyTransition(A,C).style("opacity",0).remove(),L}},940:(s,h,c)=>{var d=c(1034),f=c(7584),v=c(8355),_=c(4322);function T(C,A){var L=(_.line||_.svg.line)().x(function(B){return B.x}).y(function(B){return B.y});return(L.curve||L.interpolate)(C.curve),L(A)}s.exports=function(C,A,L){var B=C.selectAll("g.edgePath").data(A.edges(),function(q){return v.edgeToId(q)}).classed("update",!0),Y=function(q,V){var X=q.enter().append("g").attr("class","edgePath").style("opacity",0);return X.append("path").attr("class","path").attr("d",function(Q){var ot=V.edge(Q),nt=V.node(Q.v).elem;return T(ot,d.range(ot.points.length).map(function(){return ut=(st=nt).getBBox(),{x:(At=st.ownerSVGElement.getScreenCTM().inverse().multiply(st.getScreenCTM()).translate(ut.width/2,ut.height/2)).e,y:At.f};var st,ut,At}))}),X.append("defs"),X}(B,A);(function(q,V){var X=q.exit();v.applyTransition(X,V).style("opacity",0).remove()})(B,A);var z=B.merge!==void 0?B.merge(Y):B;return v.applyTransition(z,A).style("opacity",1),z.each(function(q){var V=_.select(this),X=A.edge(q);X.elem=this,X.id&&V.attr("id",X.id),v.applyClass(V,X.class,(V.classed("update")?"update ":"")+"edgePath")}),z.selectAll("path.path").each(function(q){var V=A.edge(q);V.arrowheadId=d.uniqueId("arrowhead");var X=_.select(this).attr("marker-end",function(){return"url("+(Q=location.href,ot=V.arrowheadId,Q.split("#")[0]+"#"+ot+")");var Q,ot}).style("fill","none");v.applyTransition(X,A).attr("d",function(Q){return function(ot,nt){var st=ot.edge(nt),ut=ot.node(nt.v),At=ot.node(nt.w),rt=st.points.slice(1,st.points.length-1);return rt.unshift(f(ut,rt[0])),rt.push(f(At,rt[rt.length-1])),T(st,rt)}(A,Q)}),v.applyStyle(X,V.style)}),z.selectAll("defs *").remove(),z.selectAll("defs").each(function(q){var V=A.edge(q);(0,L[V.arrowhead])(_.select(this),V.arrowheadId,V,"arrowhead")}),z}},607:(s,h,c)=>{var d=c(1034),f=c(1322),v=c(8355),_=c(4322);s.exports=function(T,C,A){var L,B=C.nodes().filter(function(z){return!v.isSubgraph(C,z)}),Y=T.selectAll("g.node").data(B,function(z){return z}).classed("update",!0);return Y.exit().remove(),Y.enter().append("g").attr("class","node").style("opacity",0),(Y=T.selectAll("g.node")).each(function(z){var q=C.node(z),V=_.select(this);v.applyClass(V,q.class,(V.classed("update")?"update ":"")+"node"),V.select("g.label").remove();var X=V.append("g").attr("class","label"),Q=f(X,q),ot=A[q.shape],nt=d.pick(Q.node().getBBox(),"width","height");q.elem=this,q.id&&V.attr("id",q.id),q.labelId&&X.attr("id",q.labelId),d.has(q,"width")&&(nt.width=q.width),d.has(q,"height")&&(nt.height=q.height),nt.width+=q.paddingLeft+q.paddingRight,nt.height+=q.paddingTop+q.paddingBottom,X.attr("transform","translate("+(q.paddingLeft-q.paddingRight)/2+","+(q.paddingTop-q.paddingBottom)/2+")");var st=_.select(this);st.select(".label-container").remove();var ut=ot(st,nt,q).classed("label-container",!0);v.applyStyle(ut,q.style);var At=ut.node().getBBox();q.width=At.width,q.height=At.height}),L=Y.exit?Y.exit():Y.selectAll(null),v.applyTransition(L,C).style("opacity",0).remove(),Y}},4322:(s,h,c)=>{var d;if(!d)try{d=c(7188)}catch{}d||(d=window.d3),s.exports=d},1463:(s,h,c)=>{var d;try{d=c(681)}catch{}d||(d=window.dagre),s.exports=d},6614:(s,h,c)=>{var d;try{d=c(8282)}catch{}d||(d=window.graphlib),s.exports=d},8114:(s,h,c)=>{s.exports={node:c(7584),circle:c(6587),ellipse:c(3260),polygon:c(5337),rect:c(8049)}},6587:(s,h,c)=>{var d=c(3260);s.exports=function(f,v,_){return d(f,v,v,_)}},3260:s=>{s.exports=function(h,c,d,f){var v=h.x,_=h.y,T=v-f.x,C=_-f.y,A=Math.sqrt(c*c*C*C+d*d*T*T),L=Math.abs(c*d*T/A);f.x{function h(c,d){return c*d>0}s.exports=function(c,d,f,v){var _,T,C,A,L,B,Y,z,q,V,X,Q,ot;if(_=d.y-c.y,C=c.x-d.x,L=d.x*c.y-c.x*d.y,q=_*f.x+C*f.y+L,V=_*v.x+C*v.y+L,!(q!==0&&V!==0&&h(q,V)||(T=v.y-f.y,A=f.x-v.x,B=v.x*f.y-f.x*v.y,Y=T*c.x+A*c.y+B,z=T*d.x+A*d.y+B,Y!==0&&z!==0&&h(Y,z)||(X=_*A-T*C)==0)))return Q=Math.abs(X/2),{x:(ot=C*B-A*L)<0?(ot-Q)/X:(ot+Q)/X,y:(ot=T*L-_*B)<0?(ot-Q)/X:(ot+Q)/X}}},7584:s=>{s.exports=function(h,c){return h.intersect(c)}},5337:(s,h,c)=>{var d=c(6808);s.exports=function(f,v,_){var T=f.x,C=f.y,A=[],L=Number.POSITIVE_INFINITY,B=Number.POSITIVE_INFINITY;v.forEach(function(ot){L=Math.min(L,ot.x),B=Math.min(B,ot.y)});for(var Y=T-f.width/2-L,z=C-f.height/2-B,q=0;q1&&A.sort(function(ot,nt){var st=ot.x-_.x,ut=ot.y-_.y,At=Math.sqrt(st*st+ut*ut),rt=nt.x-_.x,J=nt.y-_.y,pt=Math.sqrt(rt*rt+J*J);return At{s.exports=function(h,c){var d,f,v=h.x,_=h.y,T=c.x-v,C=c.y-_,A=h.width/2,L=h.height/2;return Math.abs(C)*A>Math.abs(T)*L?(C<0&&(L=-L),d=C===0?0:L*T/C,f=L):(T<0&&(A=-A),d=A,f=T===0?0:A*C/T),{x:v+d,y:_+f}}},8284:(s,h,c)=>{var d=c(8355);s.exports=function(f,v){var _=f.append("foreignObject").attr("width","100000"),T=_.append("xhtml:div");T.attr("xmlns","http://www.w3.org/1999/xhtml");var C=v.label;switch(typeof C){case"function":T.insert(C);break;case"object":T.insert(function(){return C});break;default:T.html(C)}d.applyStyle(T,v.labelStyle),T.style("display","inline-block"),T.style("white-space","nowrap");var A=T.node().getBoundingClientRect();return _.attr("width",A.width).attr("height",A.height),_}},1322:(s,h,c)=>{var d=c(7318),f=c(8284),v=c(8287);s.exports=function(_,T,C){var A=T.label,L=_.append("g");T.labelType==="svg"?v(L,T):typeof A!="string"||T.labelType==="html"?f(L,T):d(L,T);var B,Y=L.node().getBBox();switch(C){case"top":B=-T.height/2;break;case"bottom":B=T.height/2-Y.height;break;default:B=-Y.height/2}return L.attr("transform","translate("+-Y.width/2+","+B+")"),L}},8287:(s,h,c)=>{var d=c(8355);s.exports=function(f,v){var _=f;return _.node().appendChild(v.label),d.applyStyle(_,v.labelStyle),_}},7318:(s,h,c)=>{var d=c(8355);s.exports=function(f,v){for(var _=f.append("text"),T=function(A){for(var L,B="",Y=!1,z=0;z{var d;try{d={defaults:c(1747),each:c(6073),isFunction:c(3560),isPlainObject:c(8630),pick:c(9722),has:c(8721),range:c(6026),uniqueId:c(3955)}}catch{}d||(d=window._),s.exports=d},6381:(s,h,c)=>{var d=c(8355),f=c(4322);s.exports=function(v,_){var T=v.filter(function(){return!f.select(this).classed("update")});function C(A){var L=_.node(A);return"translate("+L.x+","+L.y+")"}T.attr("transform",C),d.applyTransition(v,_).style("opacity",1).attr("transform",C),d.applyTransition(T.selectAll("rect"),_).attr("width",function(A){return _.node(A).width}).attr("height",function(A){return _.node(A).height}).attr("x",function(A){return-_.node(A).width/2}).attr("y",function(A){return-_.node(A).height/2})}},4577:(s,h,c)=>{var d=c(8355),f=c(4322),v=c(1034);s.exports=function(_,T){function C(A){var L=T.edge(A);return v.has(L,"x")?"translate("+L.x+","+L.y+")":""}_.filter(function(){return!f.select(this).classed("update")}).attr("transform",C),d.applyTransition(_,T).style("opacity",1).attr("transform",C)}},4849:(s,h,c)=>{var d=c(8355),f=c(4322);s.exports=function(v,_){function T(C){var A=_.node(C);return"translate("+A.x+","+A.y+")"}v.filter(function(){return!f.select(this).classed("update")}).attr("transform",T),d.applyTransition(v,_).style("opacity",1).attr("transform",T)}},5787:(s,h,c)=>{var d=c(1034),f=c(4322),v=c(1463).layout;s.exports=function(){var A=c(607),L=c(5632),B=c(6315),Y=c(940),z=c(4849),q=c(4577),V=c(6381),X=c(4418),Q=c(9144),ot=function(nt,st){(function(wt){wt.nodes().forEach(function(gt){var bt=wt.node(gt);d.has(bt,"label")||wt.children(gt).length||(bt.label=gt),d.has(bt,"paddingX")&&d.defaults(bt,{paddingLeft:bt.paddingX,paddingRight:bt.paddingX}),d.has(bt,"paddingY")&&d.defaults(bt,{paddingTop:bt.paddingY,paddingBottom:bt.paddingY}),d.has(bt,"padding")&&d.defaults(bt,{paddingLeft:bt.padding,paddingRight:bt.padding,paddingTop:bt.padding,paddingBottom:bt.padding}),d.defaults(bt,_),d.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(Gt){bt[Gt]=Number(bt[Gt])}),d.has(bt,"width")&&(bt._prevWidth=bt.width),d.has(bt,"height")&&(bt._prevHeight=bt.height)}),wt.edges().forEach(function(gt){var bt=wt.edge(gt);d.has(bt,"label")||(bt.label=""),d.defaults(bt,T)})})(st);var ut=C(nt,"output"),At=C(ut,"clusters"),rt=C(ut,"edgePaths"),J=B(C(ut,"edgeLabels"),st),pt=A(C(ut,"nodes"),st,X);v(st),z(pt,st),q(J,st),Y(rt,st,Q);var xt=L(At,st);V(xt,st),function(wt){d.each(wt.nodes(),function(gt){var bt=wt.node(gt);d.has(bt,"_prevWidth")?bt.width=bt._prevWidth:delete bt.width,d.has(bt,"_prevHeight")?bt.height=bt._prevHeight:delete bt.height,delete bt._prevWidth,delete bt._prevHeight})}(st)};return ot.createNodes=function(nt){return arguments.length?(A=nt,ot):A},ot.createClusters=function(nt){return arguments.length?(L=nt,ot):L},ot.createEdgeLabels=function(nt){return arguments.length?(B=nt,ot):B},ot.createEdgePaths=function(nt){return arguments.length?(Y=nt,ot):Y},ot.shapes=function(nt){return arguments.length?(X=nt,ot):X},ot.arrows=function(nt){return arguments.length?(Q=nt,ot):Q},ot};var _={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},T={arrowhead:"normal",curve:f.curveLinear};function C(A,L){var B=A.select("g."+L);return B.empty()&&(B=A.append("g").attr("class",L)),B}},4418:(s,h,c)=>{var d=c(8049),f=c(3260),v=c(6587),_=c(5337);s.exports={rect:function(T,C,A){var L=T.insert("rect",":first-child").attr("rx",A.rx).attr("ry",A.ry).attr("x",-C.width/2).attr("y",-C.height/2).attr("width",C.width).attr("height",C.height);return A.intersect=function(B){return d(A,B)},L},ellipse:function(T,C,A){var L=C.width/2,B=C.height/2,Y=T.insert("ellipse",":first-child").attr("x",-C.width/2).attr("y",-C.height/2).attr("rx",L).attr("ry",B);return A.intersect=function(z){return f(A,L,B,z)},Y},circle:function(T,C,A){var L=Math.max(C.width,C.height)/2,B=T.insert("circle",":first-child").attr("x",-C.width/2).attr("y",-C.height/2).attr("r",L);return A.intersect=function(Y){return v(A,L,Y)},B},diamond:function(T,C,A){var L=C.width*Math.SQRT2/2,B=C.height*Math.SQRT2/2,Y=[{x:0,y:-B},{x:-L,y:0},{x:0,y:B},{x:L,y:0}],z=T.insert("polygon",":first-child").attr("points",Y.map(function(q){return q.x+","+q.y}).join(" "));return A.intersect=function(q){return _(A,Y,q)},z}}},8355:(s,h,c)=>{var d=c(1034);s.exports={isSubgraph:function(_,T){return!!_.children(T).length},edgeToId:function(_){return v(_.v)+":"+v(_.w)+":"+v(_.name)},applyStyle:function(_,T){T&&_.attr("style",T)},applyClass:function(_,T,C){T&&_.attr("class",T).attr("class",C+" "+_.attr("class"))},applyTransition:function(_,T){var C=T.graph();if(d.isPlainObject(C)){var A=C.transition;if(d.isFunction(A))return A(_)}return _}};var f=/:/g;function v(_){return _?String(_).replace(f,"\\:"):""}},5689:s=>{s.exports="0.6.4"},7188:(s,h,c)=>{c.r(h),c.d(h,{FormatSpecifier:()=>gd,active:()=>Nb,arc:()=>pf,area:()=>Py,areaRadial:()=>$y,ascending:()=>f,autoType:()=>Jb,axisBottom:()=>Oe,axisLeft:()=>on,axisRight:()=>Ue,axisTop:()=>Je,bisect:()=>A,bisectLeft:()=>C,bisectRight:()=>T,bisector:()=>v,blob:()=>d3,brush:()=>np,brushSelection:()=>Ib,brushX:()=>Jf,brushY:()=>Lb,buffer:()=>K2,chord:()=>ip,clientPoint:()=>Rc,cluster:()=>hw,color:()=>Ua,contourDensity:()=>oh,contours:()=>Li,create:()=>zv,creator:()=>ui,cross:()=>Y,csv:()=>Q2,csvFormat:()=>Hb,csvFormatBody:()=>Wb,csvFormatRow:()=>Gb,csvFormatRows:()=>qb,csvFormatValue:()=>L2,csvParse:()=>I2,csvParseRows:()=>zb,cubehelix:()=>ya,curveBasis:()=>tb,curveBasisClosed:()=>eb,curveBasisOpen:()=>p4,curveBundle:()=>nb,curveCardinal:()=>rb,curveCardinalClosed:()=>g4,curveCardinalOpen:()=>y4,curveCatmullRom:()=>ab,curveCatmullRomClosed:()=>zy,curveCatmullRomOpen:()=>Hy,curveLinear:()=>Eu,curveLinearClosed:()=>Vs,curveMonotoneX:()=>Tf,curveMonotoneY:()=>Ou,curveNatural:()=>Mi,curveStep:()=>lb,curveStepAfter:()=>hb,curveStepBefore:()=>ub,customEvent:()=>so,descending:()=>z,deviation:()=>X,dispatch:()=>ln,drag:()=>N2,dragDisable:()=>ni,dragEnable:()=>jr,dsv:()=>y3,dsvFormat:()=>sh,easeBack:()=>V2,easeBackIn:()=>u3,easeBackInOut:()=>V2,easeBackOut:()=>h3,easeBounce:()=>ch,easeBounceIn:()=>G2,easeBounceInOut:()=>l3,easeBounceOut:()=>ch,easeCircle:()=>q2,easeCircleIn:()=>s3,easeCircleInOut:()=>q2,easeCircleOut:()=>c3,easeCubic:()=>tc,easeCubicIn:()=>Wf,easeCubicInOut:()=>tc,easeCubicOut:()=>qf,easeElastic:()=>Ep,easeElasticIn:()=>f3,easeElasticInOut:()=>Z2,easeElasticOut:()=>Ep,easeExp:()=>W2,easeExpIn:()=>H2,easeExpInOut:()=>W2,easeExpOut:()=>o3,easeLinear:()=>F2,easePoly:()=>U2,easePolyIn:()=>r3,easePolyInOut:()=>U2,easePolyOut:()=>i3,easeQuad:()=>P2,easeQuadIn:()=>e3,easeQuadInOut:()=>P2,easeQuadOut:()=>n3,easeSin:()=>z2,easeSinIn:()=>j2,easeSinInOut:()=>z2,easeSinOut:()=>a3,entries:()=>hp,event:()=>kt,extent:()=>Q,forceCenter:()=>b3,forceCollide:()=>T3,forceLink:()=>S3,forceManyBody:()=>N3,forceRadial:()=>D3,forceSimulation:()=>M3,forceX:()=>im,forceY:()=>Np,format:()=>md,formatDefaultLocale:()=>hm,formatLocale:()=>um,formatPrefix:()=>Op,formatSpecifier:()=>hh,geoAlbers:()=>o_,geoAlbersUsa:()=>Ls,geoArea:()=>I3,geoAzimuthalEqualArea:()=>tw,geoAzimuthalEqualAreaRaw:()=>dg,geoAzimuthalEquidistant:()=>gg,geoAzimuthalEquidistantRaw:()=>pg,geoBounds:()=>bh,geoCentroid:()=>B3,geoCircle:()=>F3,geoClipAntimeridian:()=>Zp,geoClipCircle:()=>Lm,geoClipExtent:()=>U3,geoClipRectangle:()=>Rd,geoConicConformal:()=>nw,geoConicConformalRaw:()=>mg,geoConicEqualArea:()=>Xd,geoConicEqualAreaRaw:()=>a_,geoConicEquidistant:()=>c_,geoConicEquidistantRaw:()=>s_,geoContains:()=>$m,geoDistance:()=>Yd,geoEqualEarth:()=>iw,geoEqualEarthRaw:()=>_g,geoEquirectangular:()=>rw,geoEquirectangularRaw:()=>Bh,geoGnomonic:()=>l_,geoGnomonicRaw:()=>Yh,geoGraticule:()=>Hm,geoGraticule10:()=>W3,geoIdentity:()=>Qd,geoInterpolate:()=>q3,geoLength:()=>Rm,geoMercator:()=>ew,geoMercatorRaw:()=>Lh,geoNaturalEarth1:()=>aw,geoNaturalEarth1Raw:()=>vg,geoOrthographic:()=>ow,geoOrthographicRaw:()=>bg,geoPath:()=>Z3,geoProjection:()=>Lo,geoProjectionMutator:()=>ug,geoRotation:()=>qp,geoStereographic:()=>sw,geoStereographicRaw:()=>wg,geoStream:()=>Co,geoTransform:()=>X3,geoTransverseMercator:()=>cw,geoTransverseMercatorRaw:()=>Jd,gray:()=>Fb,hcl:()=>rc,hierarchy:()=>xg,histogram:()=>Bt,hsl:()=>kl,html:()=>em,image:()=>tm,interpolate:()=>Lc,interpolateArray:()=>D0,interpolateBasis:()=>Or,interpolateBasisClosed:()=>Oc,interpolateBlues:()=>Uv,interpolateBrBG:()=>Ev,interpolateBuGn:()=>Iv,interpolateBuPu:()=>xy,interpolateCividis:()=>e0,interpolateCool:()=>Yv,interpolateCubehelix:()=>f1,interpolateCubehelixDefault:()=>i4,interpolateCubehelixLong:()=>qh,interpolateDate:()=>$f,interpolateDiscrete:()=>ww,interpolateGnBu:()=>Rv,interpolateGreens:()=>yi,interpolateGreys:()=>ku,interpolateHcl:()=>ss,interpolateHclLong:()=>Bo,interpolateHsl:()=>xw,interpolateHslLong:()=>kw,interpolateHue:()=>c1,interpolateInferno:()=>Ka,interpolateLab:()=>u1,interpolateMagma:()=>o4,interpolateNumber:()=>da,interpolateNumberArray:()=>zu,interpolateObject:()=>jf,interpolateOrRd:()=>Ty,interpolateOranges:()=>t0,interpolatePRGn:()=>uf,interpolatePiYG:()=>$s,interpolatePlasma:()=>s4,interpolatePuBu:()=>n4,interpolatePuBuGn:()=>Bv,interpolatePuOr:()=>q1,interpolatePuRd:()=>js,interpolatePurples:()=>K1,interpolateRainbow:()=>Dy,interpolateRdBu:()=>Av,interpolateRdGy:()=>Cv,interpolateRdPu:()=>qr,interpolateRdYlBu:()=>Nv,interpolateRdYlGn:()=>ea,interpolateReds:()=>My,interpolateRgb:()=>Js,interpolateRgbBasis:()=>El,interpolateRgbBasisClosed:()=>xo,interpolateRound:()=>Cg,interpolateSinebow:()=>jv,interpolateSpectral:()=>G1,interpolateString:()=>ko,interpolateTransformCss:()=>I0,interpolateTransformSvg:()=>L0,interpolateTurbo:()=>sr,interpolateViridis:()=>i0,interpolateWarm:()=>Ny,interpolateYlGn:()=>r4,interpolateYlGnBu:()=>Fv,interpolateYlOrBr:()=>Cy,interpolateYlOrRd:()=>X1,interpolateZoom:()=>l1,interrupt:()=>ga,interval:()=>Zy,isoFormat:()=>Af,isoParse:()=>pb,json:()=>_3,keys:()=>th,lab:()=>eh,lch:()=>pp,line:()=>Sc,lineRadial:()=>h0,linkHorizontal:()=>Xv,linkRadial:()=>Kv,linkVertical:()=>Mu,local:()=>Hv,map:()=>Ss,matcher:()=>fn,max:()=>Ft,mean:()=>Jt,median:()=>le,merge:()=>pe,min:()=>be,mouse:()=>ws,namespace:()=>An,namespaces:()=>Nr,nest:()=>Bb,now:()=>tt,pack:()=>mw,packEnclose:()=>f_,packSiblings:()=>v_,pairs:()=>L,partition:()=>Ro,path:()=>Es,permute:()=>Pt,pie:()=>Uy,piecewise:()=>Ng,pointRadial:()=>Su,polygonArea:()=>C_,polygonCentroid:()=>Tw,polygonContains:()=>Og,polygonHull:()=>Dg,polygonLength:()=>N_,precisionFixed:()=>Ip,precisionPrefix:()=>fm,precisionRound:()=>dm,quadtree:()=>lh,quantile:()=>we,quantize:()=>A_,radialArea:()=>$y,radialLine:()=>h0,randomBates:()=>ls,randomExponential:()=>Aw,randomIrwinHall:()=>cu,randomLogNormal:()=>su,randomNormal:()=>Gh,randomUniform:()=>d1,range:()=>rt,rgb:()=>$i,ribbon:()=>sp,scaleBand:()=>y1,scaleDiverging:()=>Ta,scaleDivergingLog:()=>Ea,scaleDivergingPow:()=>$o,scaleDivergingSqrt:()=>br,scaleDivergingSymlog:()=>Ai,scaleIdentity:()=>Fg,scaleImplicit:()=>Ig,scaleLinear:()=>Bg,scaleLog:()=>B_,scaleOrdinal:()=>g1,scalePoint:()=>Vh,scalePow:()=>jg,scaleQuantile:()=>$_,scaleQuantize:()=>j_,scaleSequential:()=>cf,scaleSequentialLog:()=>lf,scaleSequentialPow:()=>by,scaleSequentialQuantile:()=>wv,scaleSequentialSqrt:()=>Zw,scaleSequentialSymlog:()=>vy,scaleSqrt:()=>Ow,scaleSymlog:()=>U_,scaleThreshold:()=>z_,scaleTime:()=>Fi,scaleUtc:()=>_y,scan:()=>Ze,schemeAccent:()=>H1,schemeBlues:()=>Pv,schemeBrBG:()=>Tv,schemeBuGn:()=>Ov,schemeBuPu:()=>Lv,schemeCategory10:()=>xv,schemeDark2:()=>Xw,schemeGnBu:()=>ky,schemeGreens:()=>hl,schemeGreys:()=>Tc,schemeOrRd:()=>xu,schemeOranges:()=>J1,schemePRGn:()=>Sv,schemePaired:()=>Kw,schemePastel1:()=>W1,schemePastel2:()=>kv,schemePiYG:()=>hf,schemePuBu:()=>Sa,schemePuBuGn:()=>V1,schemePuOr:()=>kc,schemePuRd:()=>Ey,schemePurples:()=>jo,schemeRdBu:()=>wy,schemeRdGy:()=>ul,schemeRdPu:()=>zs,schemeRdYlBu:()=>Mv,schemeRdYlGn:()=>ff,schemeReds:()=>Q1,schemeSet1:()=>Qw,schemeSet2:()=>Jw,schemeSet3:()=>t4,schemeSpectral:()=>Dv,schemeTableau10:()=>e4,schemeYlGn:()=>Ay,schemeYlGnBu:()=>Sy,schemeYlOrBr:()=>Z1,schemeYlOrRd:()=>fs,select:()=>_r,selectAll:()=>l4,selection:()=>Pa,selector:()=>Br,selectorAll:()=>nr,set:()=>nc,shuffle:()=>ye,stack:()=>sn,stackOffsetDiverging:()=>Sf,stackOffsetExpand:()=>_4,stackOffsetNone:()=>Ho,stackOffsetSilhouette:()=>Ac,stackOffsetWiggle:()=>ys,stackOrderAppearance:()=>Wy,stackOrderAscending:()=>qy,stackOrderDescending:()=>Vy,stackOrderInsideOut:()=>v4,stackOrderNone:()=>gl,stackOrderReverse:()=>Xs,stratify:()=>i1,style:()=>ai,sum:()=>Wt,svg:()=>pd,symbol:()=>d4,symbolCircle:()=>ps,symbolCross:()=>Qa,symbolDiamond:()=>xi,symbolSquare:()=>p0,symbolStar:()=>jy,symbolTriangle:()=>vf,symbolWye:()=>dl,symbols:()=>Nu,text:()=>Bl,thresholdFreedmanDiaconis:()=>_e,thresholdScott:()=>ge,thresholdSturges:()=>Gt,tickFormat:()=>Po,tickIncrement:()=>gt,tickStep:()=>bt,ticks:()=>wt,timeDay:()=>ci,timeDays:()=>fu,timeFormat:()=>ef,timeFormatDefaultLocale:()=>gy,timeFormatLocale:()=>J_,timeFriday:()=>uu,timeFridays:()=>hu,timeHour:()=>q_,timeHours:()=>Uo,timeInterval:()=>Bi,timeMillisecond:()=>pu,timeMilliseconds:()=>V_,timeMinute:()=>Jh,timeMinutes:()=>S1,timeMonday:()=>lu,timeMondays:()=>k1,timeMonth:()=>Wg,timeMonths:()=>Ps,timeParse:()=>tv,timeSaturday:()=>Ys,timeSaturdays:()=>W_,timeSecond:()=>du,timeSeconds:()=>G_,timeSunday:()=>el,timeSundays:()=>Vg,timeThursday:()=>Us,timeThursdays:()=>T1,timeTuesday:()=>x1,timeTuesdays:()=>Zg,timeWednesday:()=>H_,timeWednesdays:()=>Lw,timeWeek:()=>el,timeWeeks:()=>Vg,timeYear:()=>Qc,timeYears:()=>Iw,timeout:()=>Ke,timer:()=>ve,timerFlush:()=>Se,touch:()=>pa,touches:()=>u4,transition:()=>Hf,transpose:()=>ie,tree:()=>iu,treemap:()=>s1,treemapBinary:()=>Wh,treemapDice:()=>jh,treemapResquarify:()=>Ag,treemapSlice:()=>mc,treemapSliceDice:()=>E_,treemapSquarify:()=>_c,tsv:()=>J2,tsvFormat:()=>B2,tsvFormatBody:()=>Zb,tsvFormatRow:()=>Kb,tsvFormatRows:()=>Xb,tsvFormatValue:()=>Qb,tsvParse:()=>R2,tsvParseRows:()=>Vb,utcDay:()=>Ei,utcDays:()=>pr,utcFormat:()=>N1,utcFriday:()=>Kg,utcFridays:()=>M1,utcHour:()=>vv,utcHours:()=>Vw,utcMillisecond:()=>pu,utcMilliseconds:()=>V_,utcMinute:()=>my,utcMinutes:()=>bu,utcMonday:()=>bc,utcMondays:()=>Rw,utcMonth:()=>mv,utcMonths:()=>_v,utcParse:()=>nf,utcSaturday:()=>rl,utcSaturdays:()=>Bw,utcSecond:()=>du,utcSeconds:()=>G_,utcSunday:()=>tf,utcSundays:()=>X_,utcThursday:()=>wc,utcThursdays:()=>il,utcTuesday:()=>Xg,utcTuesdays:()=>K_,utcWednesday:()=>Z_,utcWednesdays:()=>Q_,utcWeek:()=>tf,utcWeeks:()=>X_,utcYear:()=>gi,utcYears:()=>Jg,values:()=>up,variance:()=>V,version:()=>d,voronoi:()=>Uu,window:()=>Pn,xml:()=>v3,zip:()=>oe,zoom:()=>M0,zoomIdentity:()=>Of,zoomTransform:()=>If});var d="5.16.0";function f(o,u){return ou?1:o>=u?0:NaN}function v(o){var u;return o.length===1&&(u=o,o=function(g,y){return f(u(g),y)}),{left:function(g,y,w,k){for(w==null&&(w=0),k==null&&(k=g.length);w>>1;o(g[M],y)<0?w=M+1:k=M}return w},right:function(g,y,w,k){for(w==null&&(w=0),k==null&&(k=g.length);w>>1;o(g[M],y)>0?k=M:w=M+1}return w}}}var _=v(f),T=_.right,C=_.left;const A=T;function L(o,u){u==null&&(u=B);for(var g=0,y=o.length-1,w=o[0],k=new Array(y<0?0:y);go?1:u>=o?0:NaN}function q(o){return o===null?NaN:+o}function V(o,u){var g,y,w=o.length,k=0,M=-1,S=0,O=0;if(u==null)for(;++M1)return O/(k-1)}function X(o,u){var g=V(o,u);return g&&Math.sqrt(g)}function Q(o,u){var g,y,w,k=o.length,M=-1;if(u==null){for(;++M=g)for(y=w=g;++Mg&&(y=g),w=g)for(y=w=g;++Mg&&(y=g),w0)return[o];if((y=u0)for(o=Math.ceil(o/M),u=Math.floor(u/M),k=new Array(w=Math.ceil(u-o+1));++S=0?(k>=J?10:k>=pt?5:k>=xt?2:1)*Math.pow(10,w):-Math.pow(10,-w)/(k>=J?10:k>=pt?5:k>=xt?2:1)}function bt(o,u,g){var y=Math.abs(u-o)/Math.max(0,g),w=Math.pow(10,Math.floor(Math.log(y)/Math.LN10)),k=y/w;return k>=J?w*=10:k>=pt?w*=5:k>=xt&&(w*=2),uj;)P.pop(),--G;var Z,at=new Array(G+1);for(k=0;k<=G;++k)(Z=at[k]=[]).x0=k>0?P[k-1]:U,Z.x1=k=1)return+g(o[y-1],y-1,o);var y,w=(y-1)*u,k=Math.floor(w),M=+g(o[k],k,o);return M+(+g(o[k+1],k+1,o)-M)*(w-k)}}function _e(o,u,g){return o=st.call(o,q).sort(f),Math.ceil((g-u)/(2*(we(o,.75)-we(o,.25))*Math.pow(o.length,-1/3)))}function ge(o,u,g){return Math.ceil((g-u)/(3.5*X(o)*Math.pow(o.length,-1/3)))}function Ft(o,u){var g,y,w=o.length,k=-1;if(u==null){for(;++k=g)for(y=g;++ky&&(y=g)}else for(;++k=g)for(y=g;++ky&&(y=g);return y}function Jt(o,u){var g,y=o.length,w=y,k=-1,M=0;if(u==null)for(;++k=0;)for(u=(y=o[w]).length;--u>=0;)g[--M]=y[u];return g}function be(o,u){var g,y,w=o.length,k=-1;if(u==null){for(;++k=g)for(y=g;++kg&&(y=g)}else for(;++k=g)for(y=g;++kg&&(y=g);return y}function Pt(o,u){for(var g=u.length,y=new Array(g);g--;)y[g]=o[u[g]];return y}function Ze(o,u){if(g=o.length){var g,y,w=0,k=0,M=o[k];for(u==null&&(u=f);++w=0&&(y=g.slice(w+1),g=g.slice(0,w)),g&&!u.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:y}})}function Hn(o,u){for(var g,y=0,w=o.length;y0)for(var g,y,w=new Array(g),k=0;ku?1:o>=u?0:NaN}nn.prototype={constructor:nn,appendChild:function(o){return this._parent.insertBefore(o,this._next)},insertBefore:function(o,u){return this._parent.insertBefore(o,u)},querySelector:function(o){return this._parent.querySelector(o)},querySelectorAll:function(o){return this._parent.querySelectorAll(o)}};var qn="http://www.w3.org/1999/xhtml";const Nr={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 An(o){var u=o+="",g=u.indexOf(":");return g>=0&&(u=o.slice(0,g))!=="xmlns"&&(o=o.slice(g+1)),Nr.hasOwnProperty(u)?{space:Nr[u],local:o}:o}function Vn(o){return function(){this.removeAttribute(o)}}function jn(o){return function(){this.removeAttributeNS(o.space,o.local)}}function Xn(o,u){return function(){this.setAttribute(o,u)}}function Kn(o,u){return function(){this.setAttributeNS(o.space,o.local,u)}}function rr(o,u){return function(){var g=u.apply(this,arguments);g==null?this.removeAttribute(o):this.setAttribute(o,g)}}function On(o,u){return function(){var g=u.apply(this,arguments);g==null?this.removeAttributeNS(o.space,o.local):this.setAttributeNS(o.space,o.local,g)}}function Pn(o){return o.ownerDocument&&o.ownerDocument.defaultView||o.document&&o||o.defaultView}function dn(o){return function(){this.style.removeProperty(o)}}function zn(o,u,g){return function(){this.style.setProperty(o,u,g)}}function wn(o,u,g){return function(){var y=u.apply(this,arguments);y==null?this.style.removeProperty(o):this.style.setProperty(o,y,g)}}function ai(o,u){return o.style.getPropertyValue(u)||Pn(o).getComputedStyle(o,null).getPropertyValue(u)}function mr(o){return function(){delete this[o]}}function Ui(o,u){return function(){this[o]=u}}function Un(o,u){return function(){var g=u.apply(this,arguments);g==null?delete this[o]:this[o]=g}}function vo(o){return o.trim().split(/^|\s+/)}function ua(o){return o.classList||new oi(o)}function oi(o){this._node=o,this._names=vo(o.getAttribute("class")||"")}function Fr(o,u){for(var g=ua(o),y=-1,w=u.length;++y=0&&(this._names.splice(u,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(o){return this._names.indexOf(o)>=0}};var Jn={},kt=null;function Kr(o,u,g){return o=ee(o,u,g),function(y){var w=y.relatedTarget;w&&(w===this||8&w.compareDocumentPosition(this))||o.call(this,y)}}function ee(o,u,g){return function(y){var w=kt;kt=y;try{o.call(this,this.__data__,u,g)}finally{kt=w}}}function Di(o){return o.trim().split(/^|\s+/).map(function(u){var g="",y=u.indexOf(".");return y>=0&&(g=u.slice(y+1),u=u.slice(0,y)),{type:u,name:g}})}function Zi(o){return function(){var u=this.__on;if(u){for(var g,y=0,w=-1,k=u.length;y=zt&&(zt=_t+1);!(lt=et[zt])&&++zt=0;)(y=w[k])&&(M&&4^y.compareDocumentPosition(M)&&M.parentNode.insertBefore(y,M),M=y);return this},sort:function(o){function u(j,P){return j&&P?o(j.__data__,P.__data__):!j-!P}o||(o=Wn);for(var g=this._groups,y=g.length,w=new Array(y),k=0;k1?this.each((u==null?dn:typeof u=="function"?wn:zn)(o,u,g==null?"":g)):ai(this.node(),o)},property:function(o,u){return arguments.length>1?this.each((u==null?mr:typeof u=="function"?Un:Ui)(o,u)):this.node()[o]},classed:function(o,u){var g=vo(o+"");if(arguments.length<2){for(var y=ua(this.node()),w=-1,k=g.length;++w>8&15|u>>4&240,u>>4&15|240&u,(15&u)<<4|15&u,1):g===8?lo(u>>24&255,u>>16&255,u>>8&255,(255&u)/255):g===4?lo(u>>12&15|u>>8&240,u>>8&15|u>>4&240,u>>4&15|240&u,((15&u)<<4|15&u)/255):null):(u=He.exec(o))?new ii(u[1],u[2],u[3],1):(u=vr.exec(o))?new ii(255*u[1]/100,255*u[2]/100,255*u[3]/100,1):(u=xr.exec(o))?lo(u[1],u[2],u[3],u[4]):(u=_i.exec(o))?lo(255*u[1]/100,255*u[2]/100,255*u[3]/100,u[4]):(u=ri.exec(o))?Ya(u[1],u[2]/100,u[3]/100,1):(u=bs.exec(o))?Ya(u[1],u[2]/100,u[3]/100,u[4]):aa.hasOwnProperty(o)?Nc(aa[o]):o==="transparent"?new ii(NaN,NaN,NaN,0):null}function Nc(o){return new ii(o>>16&255,o>>8&255,255&o,1)}function lo(o,u,g,y){return y<=0&&(o=u=g=NaN),new ii(o,u,g,y)}function Dc(o){return o instanceof Qr||(o=Ua(o)),o?new ii((o=o.rgb()).r,o.g,o.b,o.opacity):new ii}function $i(o,u,g,y){return arguments.length===1?Dc(o):new ii(o,u,g,y==null?1:y)}function ii(o,u,g,y){this.r=+o,this.g=+u,this.b=+g,this.opacity=+y}function vl(){return"#"+wl(this.r)+wl(this.g)+wl(this.b)}function bl(){var o=this.opacity;return((o=isNaN(o)?1:Math.max(0,Math.min(1,o)))===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))+(o===1?")":", "+o+")")}function wl(o){return((o=Math.max(0,Math.min(255,Math.round(o)||0)))<16?"0":"")+o.toString(16)}function Ya(o,u,g,y){return y<=0?o=u=g=NaN:g<=0||g>=1?o=u=NaN:u<=0&&(o=NaN),new $a(o,u,g,y)}function xl(o){if(o instanceof $a)return new $a(o.h,o.s,o.l,o.opacity);if(o instanceof Qr||(o=Ua(o)),!o)return new $a;if(o instanceof $a)return o;var u=(o=o.rgb()).r/255,g=o.g/255,y=o.b/255,w=Math.min(u,g,y),k=Math.max(u,g,y),M=NaN,S=k-w,O=(k+w)/2;return S?(M=u===k?(g-y)/S+6*(g0&&O<1?0:M,new $a(M,S,O,o.opacity)}function kl(o,u,g,y){return arguments.length===1?xl(o):new $a(o,u,g,y==null?1:y)}function $a(o,u,g,y){this.h=+o,this.s=+u,this.l=+g,this.opacity=+y}function je(o,u,g){return 255*(o<60?u+(g-u)*o/60:o<180?g:o<240?u+(g-u)*(240-o)/60:u)}function $u(o,u,g,y,w){var k=o*o,M=k*o;return((1-3*o+3*k-M)*u+(4-6*k+3*M)*g+(1+3*o+3*k-3*M)*y+M*w)/6}function Or(o){var u=o.length-1;return function(g){var y=g<=0?g=0:g>=1?(g=1,u-1):Math.floor(g*u),w=o[y],k=o[y+1],M=y>0?o[y-1]:2*w-k,S=y180||g<-180?g-360*Math.round(g/360):g):Ic(isNaN(o)?u:o)}function vi(o,u){var g=u-o;return g?Tl(o,g):Ic(isNaN(o)?u:o)}zr(Qr,Ua,{copy:function(o){return Object.assign(new this.constructor,this,o)},displayable:function(){return this.rgb().displayable()},hex:Hr,formatHex:Hr,formatHsl:function(){return xl(this).formatHsl()},formatRgb:Qs,toString:Qs}),zr(ii,$i,hi(Qr,{brighter:function(o){return o=o==null?Yi:Math.pow(Yi,o),new ii(this.r*o,this.g*o,this.b*o,this.opacity)},darker:function(o){return o=o==null?Ki:Math.pow(Ki,o),new ii(this.r*o,this.g*o,this.b*o,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:vl,formatHex:vl,formatRgb:bl,toString:bl})),zr($a,kl,hi(Qr,{brighter:function(o){return o=o==null?Yi:Math.pow(Yi,o),new $a(this.h,this.s,this.l*o,this.opacity)},darker:function(o){return o=o==null?Ki:Math.pow(Ki,o),new $a(this.h,this.s,this.l*o,this.opacity)},rgb:function(){var o=this.h%360+360*(this.h<0),u=isNaN(o)||isNaN(this.s)?0:this.s,g=this.l,y=g+(g<.5?g:1-g)*u,w=2*g-y;return new ii(je(o>=240?o-240:o+120,w,y),je(o,w,y),je(o<120?o+240:o-120,w,y),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 o=this.opacity;return((o=isNaN(o)?1:Math.max(0,Math.min(1,o)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(o===1?")":", "+o+")")}}));const Js=function o(u){var g=function(w){return(w=+w)==1?vi:function(k,M){return M-k?function(S,O,R){return S=Math.pow(S,R),O=Math.pow(O,R)-S,R=1/R,function(U){return Math.pow(S+U*O,R)}}(k,M,w):Ic(isNaN(k)?M:k)}}(u);function y(w,k){var M=g((w=$i(w)).r,(k=$i(k)).r),S=g(w.g,k.g),O=g(w.b,k.b),R=vi(w.opacity,k.opacity);return function(U){return w.r=M(U),w.g=S(U),w.b=O(U),w.opacity=R(U),w+""}}return y.gamma=o,y}(1);function ju(o){return function(u){var g,y,w=u.length,k=new Array(w),M=new Array(w),S=new Array(w);for(g=0;gk&&(w=u.slice(k,w),S[M]?S[M]+=w:S[++M]=w),(g=g[0])===(y=y[0])?S[M]?S[M]+=y:S[++M]=y:(S[++M]=null,O.push({i:M,x:da(g,y)})),k=Wu.lastIndex;return k=0&&u._call.call(null,o),u=u._next;--ji}function Le(){Qi=(Na=I.now())+Gn,ji=fi=0;try{Se()}finally{ji=0,function(){for(var o,u,g=Sl,y=1/0;g;)g._call?(y>g._time&&(y=g._time),o=g,g=g._next):(u=g._next,g._next=null,g=o?o._next=u:Sl=u);To=o,We(y)}(),Qi=0}}function Be(){var o=I.now(),u=o-Na;u>1e3&&(Gn-=u,Na=o)}function We(o){ji||(fi&&(fi=clearTimeout(fi)),o-Qi>24?(o<1/0&&(fi=setTimeout(Le,o-I.now()-Gn)),za&&(za=clearInterval(za))):(za||(Na=I.now(),za=setInterval(Be,1e3)),ji=1,$(Le)))}function Ke(o,u,g){var y=new Xt;return u=u==null?0:+u,y.restart(function(w){y.stop(),o(w+u)},u,g),y}Xt.prototype=ve.prototype={constructor:Xt,restart:function(o,u,g){if(typeof o!="function")throw new TypeError("callback is not a function");g=(g==null?tt():+g)+(u==null?0:+u),this._next||To===this||(To?To._next=this:Sl=this,To=this),this._call=o,this._time=g,We()},stop:function(){this._call&&(this._call=null,this._time=1/0,We())}};var En=ln("start","end","cancel","interrupt"),yn=[];function fr(o,u,g,y,w,k){var M=o.__transition;if(M){if(g in M)return}else o.__transition={};(function(S,O,R){var U,j=S.__transition;function P(at){var it,et,ht,lt;if(R.state!==1)return Z();for(it in j)if((lt=j[it]).name===R.name){if(lt.state===3)return Ke(P);lt.state===4?(lt.state=6,lt.timer.stop(),lt.on.call("interrupt",S,S.__data__,lt.index,lt.group),delete j[it]):+it0)throw new Error("too late; already scheduled");return g}function Ir(o,u){var g=ur(o,u);if(g.state>3)throw new Error("too late; already running");return g}function ur(o,u){var g=o.__transition;if(!g||!(g=g[u]))throw new Error("transition not found");return g}function ga(o,u){var g,y,w,k=o.__transition,M=!0;if(k){for(w in u=u==null?null:u+"",k)(g=k[w]).name===u?(y=g.state>2&&g.state<5,g.state=6,g.timer.stop(),g.on.call(y?"interrupt":"cancel",o,o.__data__,g.index,g.group),delete k[w]):M=!1;M&&delete o.__transition}}var xs,qu,O0,Gu,Eo=180/Math.PI,Vu={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function i2(o,u,g,y,w,k){var M,S,O;return(M=Math.sqrt(o*o+u*u))&&(o/=M,u/=M),(O=o*g+u*y)&&(g-=o*O,y-=u*O),(S=Math.sqrt(g*g+y*y))&&(g/=S,y/=S,O/=S),o*y180?U+=360:U-R>180&&(R+=360),P.push({i:j.push(w(j)+"rotate(",null,y)-2,x:da(R,U)})):U&&j.push(w(j)+"rotate("+U+y)}(k.rotate,M.rotate,S,O),function(R,U,j,P){R!==U?P.push({i:j.push(w(j)+"skewX(",null,y)-2,x:da(R,U)}):U&&j.push(w(j)+"skewX("+U+y)}(k.skewX,M.skewX,S,O),function(R,U,j,P,G,Z){if(R!==j||U!==P){var at=G.push(w(G)+"scale(",null,",",null,")");Z.push({i:at-4,x:da(R,j)},{i:at-2,x:da(U,P)})}else j===1&&P===1||G.push(w(G)+"scale("+j+","+P+")")}(k.scaleX,k.scaleY,M.scaleX,M.scaleY,S,O),k=M=null,function(R){for(var U,j=-1,P=O.length;++j=0&&(S=S.slice(0,O)),!S||S==="start"})}(u)?dr:Ir;return function(){var M=k(this,o),S=M.on;S!==y&&(w=(y=S).copy()).on(u,g),M.on=w}}var W0=Pa.prototype.constructor;function q0(o){return function(){this.style.removeProperty(o)}}function G0(o,u,g){return function(y){this.style.setProperty(o,u.call(this,y),g)}}function V0(o,u,g){var y,w;function k(){var M=u.apply(this,arguments);return M!==w&&(y=(w=M)&&G0(o,M,g)),y}return k._value=u,k}function Z0(o){return function(u){this.textContent=o.call(this,u)}}function Ab(o){var u,g;function y(){var w=o.apply(this,arguments);return w!==g&&(u=(g=w)&&Z0(w)),u}return y._value=o,y}var Cb=0;function Vo(o,u,g,y){this._groups=o,this._parents=u,this._name=g,this._id=y}function Hf(o){return Pa().transition(o)}function X0(){return++Cb}var Zo=Pa.prototype;function Wf(o){return o*o*o}function qf(o){return--o*o*o+1}function tc(o){return((o*=2)<=1?o*o*o:(o-=2)*o*o+2)/2}Vo.prototype=Hf.prototype={constructor:Vo,select:function(o){var u=this._name,g=this._id;typeof o!="function"&&(o=Br(o));for(var y=this._groups,w=y.length,k=new Array(w),M=0;M1&&g.name===u)return new Vo([[o]],Mb,u,+y)}return null}function K0(o){return function(){return o}}function Db(o,u,g){this.target=o,this.type=u,this.selection=g}function l2(){kt.stopImmediatePropagation()}function Q0(){kt.preventDefault(),kt.stopImmediatePropagation()}var u2={name:"drag"},Gf={name:"space"},Fc={name:"handle"},Pc={name:"center"};function Al(o){return[+o[0],+o[1]]}function Vf(o){return[Al(o[0]),Al(o[1])]}function Zf(o){return function(u){return pa(u,kt.touches,o)}}var Xf={name:"x",handles:["w","e"].map(Da),input:function(o,u){return o==null?null:[[+o[0],u[0][1]],[+o[1],u[1][1]]]},output:function(o){return o&&[o[0][0],o[1][0]]}},Cl={name:"y",handles:["n","s"].map(Da),input:function(o,u){return o==null?null:[[u[0][0],+o[0]],[u[1][0],+o[1]]]},output:function(o){return o&&[o[0][1],o[1][1]]}},Ha={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Da),input:function(o){return o==null?null:Vf(o)},output:function(o){return o}},Ko={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"},J0={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Kf={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},h2={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},f2={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Da(o){return{type:o}}function tp(){return!kt.ctrlKey&&!kt.button}function ep(){var o=this.ownerSVGElement||this;return o.hasAttribute("viewBox")?[[(o=o.viewBox.baseVal).x,o.y],[o.x+o.width,o.y+o.height]]:[[0,0],[o.width.baseVal.value,o.height.baseVal.value]]}function d2(){return navigator.maxTouchPoints||"ontouchstart"in this}function Qf(o){for(;!o.__brush;)if(!(o=o.parentNode))return;return o.__brush}function Ob(o){return o[0][0]===o[1][0]||o[0][1]===o[1][1]}function Ib(o){var u=o.__brush;return u?u.dim.output(u.selection):null}function Jf(){return Xu(Xf)}function Lb(){return Xu(Cl)}function np(){return Xu(Ha)}function Xu(o){var u,g=ep,y=tp,w=d2,k=!0,M=ln("start","brush","end"),S=6;function O(it){var et=it.property("__brush",at).selectAll(".overlay").data([Da("overlay")]);et.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Ko.overlay).merge(et).each(function(){var lt=Qf(this).extent;_r(this).attr("x",lt[0][0]).attr("y",lt[0][1]).attr("width",lt[1][0]-lt[0][0]).attr("height",lt[1][1]-lt[0][1])}),it.selectAll(".selection").data([Da("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Ko.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var ht=it.selectAll(".handle").data(o.handles,function(lt){return lt.type});ht.exit().remove(),ht.enter().append("rect").attr("class",function(lt){return"handle handle--"+lt.type}).attr("cursor",function(lt){return Ko[lt.type]}),it.each(R).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",P).filter(w).on("touchstart.brush",P).on("touchmove.brush",G).on("touchend.brush touchcancel.brush",Z).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function R(){var it=_r(this),et=Qf(this).selection;et?(it.selectAll(".selection").style("display",null).attr("x",et[0][0]).attr("y",et[0][1]).attr("width",et[1][0]-et[0][0]).attr("height",et[1][1]-et[0][1]),it.selectAll(".handle").style("display",null).attr("x",function(ht){return ht.type[ht.type.length-1]==="e"?et[1][0]-S/2:et[0][0]-S/2}).attr("y",function(ht){return ht.type[0]==="s"?et[1][1]-S/2:et[0][1]-S/2}).attr("width",function(ht){return ht.type==="n"||ht.type==="s"?et[1][0]-et[0][0]+S:S}).attr("height",function(ht){return ht.type==="e"||ht.type==="w"?et[1][1]-et[0][1]+S:S})):it.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function U(it,et,ht){var lt=it.__brush.emitter;return!lt||ht&<.clean?new j(it,et,ht):lt}function j(it,et,ht){this.that=it,this.args=et,this.state=it.__brush,this.active=0,this.clean=ht}function P(){if((!u||kt.touches)&&y.apply(this,arguments)){var it,et,ht,lt,_t,zt,Kt,Vt,ke,Ht,fe,mt=this,Ct=kt.target.__data__.type,ce=(k&&kt.metaKey?Ct="overlay":Ct)==="selection"?u2:k&&kt.altKey?Pc:Fc,ne=o===Cl?null:h2[Ct],ue=o===Xf?null:f2[Ct],Fe=Qf(mt),Xe=Fe.extent,mn=Fe.selection,$n=Xe[0][0],cr=Xe[0][1],cn=Xe[1][0],ir=Xe[1][1],Rn=0,Dn=0,hr=ne&&ue&&k&&kt.shiftKey,Vi=kt.touches?Zf(kt.changedTouches[0].identifier):ws,ki=Vi(mt),Ks=ki,Mc=U(mt,arguments,!0).beforestart();Ct==="overlay"?(mn&&(ke=!0),Fe.selection=mn=[[it=o===Cl?$n:ki[0],ht=o===Xf?cr:ki[1]],[_t=o===Cl?cn:it,Kt=o===Xf?ir:ht]]):(it=mn[0][0],ht=mn[0][1],_t=mn[1][0],Kt=mn[1][1]),et=it,lt=ht,zt=_t,Vt=Kt;var Bf=_r(mt).attr("pointer-events","none"),Ff=Bf.selectAll(".overlay").attr("cursor",Ko[Ct]);if(kt.touches)Mc.moved=N0,Mc.ended=ro;else{var vs=_r(kt.view).on("mousemove.brush",N0,!0).on("mouseup.brush",ro,!0);k&&vs.on("keydown.brush",n2,!0).on("keyup.brush",kb,!0),ni(kt.view)}l2(),ga(mt),R.call(mt),Mc.start()}function N0(){var io=Vi(mt);!hr||Ht||fe||(Math.abs(io[0]-Ks[0])>Math.abs(io[1]-Ks[1])?fe=!0:Ht=!0),Ks=io,ke=!0,Q0(),yo()}function yo(){var io;switch(Rn=Ks[0]-ki[0],Dn=Ks[1]-ki[1],ce){case Gf:case u2:ne&&(Rn=Math.max($n-it,Math.min(cn-_t,Rn)),et=it+Rn,zt=_t+Rn),ue&&(Dn=Math.max(cr-ht,Math.min(ir-Kt,Dn)),lt=ht+Dn,Vt=Kt+Dn);break;case Fc:ne<0?(Rn=Math.max($n-it,Math.min(cn-it,Rn)),et=it+Rn,zt=_t):ne>0&&(Rn=Math.max($n-_t,Math.min(cn-_t,Rn)),et=it,zt=_t+Rn),ue<0?(Dn=Math.max(cr-ht,Math.min(ir-ht,Dn)),lt=ht+Dn,Vt=Kt):ue>0&&(Dn=Math.max(cr-Kt,Math.min(ir-Kt,Dn)),lt=ht,Vt=Kt+Dn);break;case Pc:ne&&(et=Math.max($n,Math.min(cn,it-Rn*ne)),zt=Math.max($n,Math.min(cn,_t+Rn*ne))),ue&&(lt=Math.max(cr,Math.min(ir,ht-Dn*ue)),Vt=Math.max(cr,Math.min(ir,Kt+Dn*ue)))}zt0&&(it=et-Rn),ue<0?Kt=Vt-Dn:ue>0&&(ht=lt-Dn),ce=Gf,Ff.attr("cursor",Ko.selection),yo());break;default:return}Q0()}function kb(){switch(kt.keyCode){case 16:hr&&(Ht=fe=hr=!1,yo());break;case 18:ce===Pc&&(ne<0?_t=zt:ne>0&&(it=et),ue<0?Kt=Vt:ue>0&&(ht=lt),ce=Fc,yo());break;case 32:ce===Gf&&(kt.altKey?(ne&&(_t=zt-Rn*ne,it=et+Rn*ne),ue&&(Kt=Vt-Dn*ue,ht=lt+Dn*ue),ce=Pc):(ne<0?_t=zt:ne>0&&(it=et),ue<0?Kt=Vt:ue>0&&(ht=lt),ce=Fc),Ff.attr("cursor",Ko[Ct]),yo());break;default:return}Q0()}}function G(){U(this,arguments).moved()}function Z(){U(this,arguments).ended()}function at(){var it=this.__brush||{selection:null};return it.extent=Vf(g.apply(this,arguments)),it.dim=o,it}return O.move=function(it,et){it.selection?it.on("start.brush",function(){U(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){U(this,arguments).end()}).tween("brush",function(){var ht=this,lt=ht.__brush,_t=U(ht,arguments),zt=lt.selection,Kt=o.input(typeof et=="function"?et.apply(this,arguments):et,lt.extent),Vt=Lc(zt,Kt);function ke(Ht){lt.selection=Ht===1&&Kt===null?null:Vt(Ht),R.call(ht),_t.brush()}return zt!==null&&Kt!==null?ke:ke(1)}):it.each(function(){var ht=this,lt=arguments,_t=ht.__brush,zt=o.input(typeof et=="function"?et.apply(ht,lt):et,_t.extent),Kt=U(ht,lt).beforestart();ga(ht),_t.selection=zt===null?null:zt,R.call(ht),Kt.start().brush().end()})},O.clear=function(it){O.move(it,null)},j.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(it){so(new Db(O,it,o.output(this.state.selection)),M.apply,M,[it,this.that,this.args])}},O.extent=function(it){return arguments.length?(g=typeof it=="function"?it:K0(Vf(it)),O):g},O.filter=function(it){return arguments.length?(y=typeof it=="function"?it:K0(!!it),O):y},O.touchable=function(it){return arguments.length?(w=typeof it=="function"?it:K0(!!it),O):w},O.handleSize=function(it){return arguments.length?(S=+it,O):S},O.keyModifiers=function(it){return arguments.length?(k=!!it,O):k},O.on=function(){var it=M.on.apply(M,arguments);return it===M?O:it},O}var p2=Math.cos,g2=Math.sin,td=Math.PI,ed=td/2,y2=2*td,rp=Math.max;function Ml(o){return function(u,g){return o(u.source.value+u.target.value,g.source.value+g.target.value)}}function ip(){var o=0,u=null,g=null,y=null;function w(k){var M,S,O,R,U,j,P=k.length,G=[],Z=rt(P),at=[],it=[],et=it.groups=new Array(P),ht=new Array(P*P);for(M=0,U=-1;++UTs)if(Math.abs(U*S-O*R)>Ts&&w){var P=g-k,G=y-M,Z=S*S+O*O,at=P*P+G*G,it=Math.sqrt(Z),et=Math.sqrt(j),ht=w*Math.tan((nd-Math.acos((Z+j-at)/(2*it*et)))/2),lt=ht/et,_t=ht/it;Math.abs(lt-1)>Ts&&(this._+="L"+(o+lt*R)+","+(u+lt*U)),this._+="A"+w+","+w+",0,0,"+ +(U*P>R*G)+","+(this._x1=o+_t*S)+","+(this._y1=u+_t*O)}else this._+="L"+(this._x1=o)+","+(this._y1=u)},arc:function(o,u,g,y,w,k){o=+o,u=+u,k=!!k;var M=(g=+g)*Math.cos(y),S=g*Math.sin(y),O=o+M,R=u+S,U=1^k,j=k?y-w:w-y;if(g<0)throw new Error("negative radius: "+g);this._x1===null?this._+="M"+O+","+R:(Math.abs(this._x1-O)>Ts||Math.abs(this._y1-R)>Ts)&&(this._+="L"+O+","+R),g&&(j<0&&(j=j%rd+rd),j>m2?this._+="A"+g+","+g+",0,1,"+U+","+(o-M)+","+(u-S)+"A"+g+","+g+",0,1,"+U+","+(this._x1=O)+","+(this._y1=R):j>Ts&&(this._+="A"+g+","+g+",0,"+ +(j>=nd)+","+U+","+(this._x1=o+g*Math.cos(w))+","+(this._y1=u+g*Math.sin(w))))},rect:function(o,u,g,y){this._+="M"+(this._x0=this._x1=+o)+","+(this._y0=this._y1=+u)+"h"+ +g+"v"+ +y+"h"+-g+"Z"},toString:function(){return this._}};const Es=Ku;function id(o){return o.source}function Nl(o){return o.target}function _2(o){return o.radius}function v2(o){return o.startAngle}function b2(o){return o.endAngle}function sp(){var o=id,u=Nl,g=_2,y=v2,w=b2,k=null;function M(){var S,O=Rb.call(arguments),R=o.apply(this,O),U=u.apply(this,O),j=+g.apply(this,(O[0]=R,O)),P=y.apply(this,O)-ed,G=w.apply(this,O)-ed,Z=j*p2(P),at=j*g2(P),it=+g.apply(this,(O[0]=U,O)),et=y.apply(this,O)-ed,ht=w.apply(this,O)-ed;if(k||(k=S=Es()),k.moveTo(Z,at),k.arc(0,0,j,P,G),P===et&&G===ht||(k.quadraticCurveTo(0,0,it*p2(et),it*g2(et)),k.arc(0,0,it,et,ht)),k.quadraticCurveTo(0,0,Z,at),k.closePath(),S)return k=null,S+""||null}return M.radius=function(S){return arguments.length?(g=typeof S=="function"?S:ap(+S),M):g},M.startAngle=function(S){return arguments.length?(y=typeof S=="function"?S:ap(+S),M):y},M.endAngle=function(S){return arguments.length?(w=typeof S=="function"?S:ap(+S),M):w},M.source=function(S){return arguments.length?(o=S,M):o},M.target=function(S){return arguments.length?(u=S,M):u},M.context=function(S){return arguments.length?(k=S==null?null:S,M):k},M}var Wa="$";function Qu(){}function cp(o,u){var g=new Qu;if(o instanceof Qu)o.each(function(S,O){g.set(O,S)});else if(Array.isArray(o)){var y,w=-1,k=o.length;if(u==null)for(;++w=y.length)return o!=null&&S.sort(o),u!=null?u(S):S;for(var j,P,G,Z=-1,at=S.length,it=y[O++],et=Ss(),ht=R();++Zy.length)return S;var R,U=w[O-1];return u!=null&&O>=y.length?R=S.entries():(R=[],S.each(function(j,P){R.push({key:P,values:M(j,O)})})),U!=null?R.sort(function(j,P){return U(j.key,P.key)}):R}return g={object:function(S){return k(S,0,w2,x2)},map:function(S){return k(S,0,lp,k2)},entries:function(S){return M(k(S,0,lp,k2),0)},key:function(S){return y.push(S),g},sortKeys:function(S){return w[y.length-1]=S,g},sortValues:function(S){return o=S,g},rollup:function(S){return u=S,g}}}function w2(){return{}}function x2(o,u,g){o[u]=g}function lp(){return Ss()}function k2(o,u,g){o.set(u,g)}function Ju(){}var ec=Ss.prototype;function Dl(o,u){var g=new Ju;if(o instanceof Ju)o.each(function(k){g.add(k)});else if(o){var y=-1,w=o.length;if(u==null)for(;++y.008856451679035631?Math.pow(o,1/3):o/T2+cd}function dp(o){return o>fp?o*o*o:T2*(o-cd)}function Il(o){return 255*(o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055)}function As(o){return(o/=255)<=.04045?o/12.92:Math.pow((o+.055)/1.055,2.4)}function ud(o){if(o instanceof Qo)return new Qo(o.h,o.c,o.l,o.opacity);if(o instanceof So||(o=Ol(o)),o.a===0&&o.b===0)return new Qo(NaN,0y!=G>y&&g<(P-R)*(y-U)/(G-U)+R&&(w=-w)}return w}function ih(o,u,g){var y,w,k,M;return function(S,O,R){return(O[0]-S[0])*(R[1]-S[1])==(R[0]-S[0])*(O[1]-S[1])}(o,u,g)&&(w=o[y=+(o[0]===u[0])],k=g[y],M=u[y],w<=k&&k<=M||M<=k&&k<=w)}function C2(){}var ts=[[],[[[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 Li(){var o=1,u=1,g=Gt,y=S;function w(O){var R=g(O);if(Array.isArray(R))R=R.slice().sort(Pb);else{var U=Q(O),j=U[0],P=U[1];R=bt(j,P,R),R=rt(Math.floor(j/R)*R,Math.floor(P/R)*R,R)}return R.map(function(G){return k(O,G)})}function k(O,R){var U=[],j=[];return function(P,G,Z){var at,it,et,ht,lt,_t,zt=new Array,Kt=new Array;for(at=it=-1,ht=P[0]>=G,ts[ht<<1].forEach(Vt);++at=G,ts[et|ht<<1].forEach(Vt);for(ts[ht<<0].forEach(Vt);++it=G,lt=P[it*o]>=G,ts[ht<<1|lt<<2].forEach(Vt);++at=G,_t=lt,lt=P[it*o+at+1]>=G,ts[et|ht<<1|lt<<2|_t<<3].forEach(Vt);ts[ht|lt<<3].forEach(Vt)}for(at=-1,lt=P[it*o]>=G,ts[lt<<2].forEach(Vt);++at=G,ts[lt<<2|_t<<3].forEach(Vt);function Vt(ke){var Ht,fe,mt=[ke[0][0]+at,ke[0][1]+it],Ct=[ke[1][0]+at,ke[1][1]+it],ce=M(mt),ne=M(Ct);(Ht=Kt[ce])?(fe=zt[ne])?(delete Kt[Ht.end],delete zt[fe.start],Ht===fe?(Ht.ring.push(Ct),Z(Ht.ring)):zt[Ht.start]=Kt[fe.end]={start:Ht.start,end:fe.end,ring:Ht.ring.concat(fe.ring)}):(delete Kt[Ht.end],Ht.ring.push(Ct),Kt[Ht.end=ne]=Ht):(Ht=zt[ne])?(fe=Kt[ce])?(delete zt[Ht.start],delete Kt[fe.end],Ht===fe?(Ht.ring.push(Ct),Z(Ht.ring)):zt[fe.start]=Kt[Ht.end]={start:fe.start,end:Ht.end,ring:fe.ring.concat(Ht.ring)}):(delete zt[Ht.start],Ht.ring.unshift(mt),zt[Ht.start=ce]=Ht):zt[ce]=Kt[ne]={start:ce,end:ne,ring:[mt,Ct]}}ts[lt<<3].forEach(Vt)}(O,R,function(P){y(P,O,R),function(G){for(var Z=0,at=G.length,it=G[at-1][1]*G[0][0]-G[at-1][0]*G[0][1];++Z0?U.push([P]):j.push(P)}),j.forEach(function(P){for(var G,Z=0,at=U.length;Z0&&G0&&Z0&&U>0))throw new Error("invalid size");return o=R,u=U,w},w.thresholds=function(O){return arguments.length?(g=typeof O=="function"?O:Array.isArray(O)?Jo(A2.call(O)):Jo(O),w):g},w.smooth=function(O){return arguments.length?(y=O?S:C2,w):y===S},w}function vp(o,u,g){for(var y=o.width,w=o.height,k=1+(g<<1),M=0;M=g&&(S>=k&&(O-=o.data[S-k+M*y]),u.data[S-g+M*y]=O/Math.min(S+1,y-1+k-S,k))}function bp(o,u,g){for(var y=o.width,w=o.height,k=1+(g<<1),M=0;M=g&&(S>=k&&(O-=o.data[M+(S-k)*y]),u.data[M+(S-g)*y]=O/Math.min(S+1,w-1+k-S,k))}function kr(o){return o[0]}function Ub(o){return o[1]}function ah(){return 1}function oh(){var o=kr,u=Ub,g=ah,y=960,w=500,k=20,M=2,S=3*k,O=y+2*S>>M,R=w+2*S>>M,U=Jo(20);function j(et){var ht=new Float32Array(O*R),lt=new Float32Array(O*R);et.forEach(function(Kt,Vt,ke){var Ht=+o(Kt,Vt,ke)+S>>M,fe=+u(Kt,Vt,ke)+S>>M,mt=+g(Kt,Vt,ke);Ht>=0&&Ht=0&&fe>M),bp({width:O,height:R,data:lt},{width:O,height:R,data:ht},k>>M),vp({width:O,height:R,data:ht},{width:O,height:R,data:lt},k>>M),bp({width:O,height:R,data:lt},{width:O,height:R,data:ht},k>>M),vp({width:O,height:R,data:ht},{width:O,height:R,data:lt},k>>M),bp({width:O,height:R,data:lt},{width:O,height:R,data:ht},k>>M);var _t=U(ht);if(!Array.isArray(_t)){var zt=Ft(ht);_t=bt(0,zt,_t),(_t=rt(0,Math.floor(zt/_t)*_t,_t)).shift()}return Li().thresholds(_t).size([O,R])(ht).map(P)}function P(et){return et.value*=Math.pow(2,-2*M),et.coordinates.forEach(G),et}function G(et){et.forEach(Z)}function Z(et){et.forEach(at)}function at(et){et[0]=et[0]*Math.pow(2,M)-S,et[1]=et[1]*Math.pow(2,M)-S}function it(){return O=y+2*(S=3*k)>>M,R=w+2*S>>M,j}return j.x=function(et){return arguments.length?(o=typeof et=="function"?et:Jo(+et),j):o},j.y=function(et){return arguments.length?(u=typeof et=="function"?et:Jo(+et),j):u},j.weight=function(et){return arguments.length?(g=typeof et=="function"?et:Jo(+et),j):g},j.size=function(et){if(!arguments.length)return[y,w];var ht=Math.ceil(et[0]),lt=Math.ceil(et[1]);if(!(ht>=0||ht>=0))throw new Error("invalid size");return y=ht,w=lt,it()},j.cellSize=function(et){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return M=Math.floor(Math.log(et)/Math.LN2),it()},j.thresholds=function(et){return arguments.length?(U=typeof et=="function"?et:Array.isArray(et)?Jo(A2.call(et)):Jo(et),j):U},j.bandwidth=function(et){if(!arguments.length)return Math.sqrt(k*(k+1));if(!((et=+et)>=0))throw new Error("invalid bandwidth");return k=Math.round((Math.sqrt(4*et*et+1)-1)/2),it()},j}function fd(o){return function(){return o}}function wp(o,u,g,y,w,k,M,S,O,R){this.target=o,this.type=u,this.subject=g,this.identifier=y,this.active=w,this.x=k,this.y=M,this.dx=S,this.dy=O,this._=R}function Yb(){return!kt.ctrlKey&&!kt.button}function $b(){return this.parentNode}function jb(o){return o==null?{x:kt.x,y:kt.y}:o}function M2(){return navigator.maxTouchPoints||"ontouchstart"in this}function N2(){var o,u,g,y,w=Yb,k=$b,M=jb,S=M2,O={},R=ln("start","drag","end"),U=0,j=0;function P(_t){_t.on("mousedown.drag",G).filter(S).on("touchstart.drag",it).on("touchmove.drag",et).on("touchend.drag touchcancel.drag",ht).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function G(){if(!y&&w.apply(this,arguments)){var _t=lt("mouse",k.apply(this,arguments),ws,this,arguments);_t&&(_r(kt.view).on("mousemove.drag",Z,!0).on("mouseup.drag",at,!0),ni(kt.view),Cr(),g=!1,o=kt.clientX,u=kt.clientY,_t("start"))}}function Z(){if(mi(),!g){var _t=kt.clientX-o,zt=kt.clientY-u;g=_t*_t+zt*zt>j}O.mouse("drag")}function at(){_r(kt.view).on("mousemove.drag mouseup.drag",null),jr(kt.view,g),mi(),O.mouse("end")}function it(){if(w.apply(this,arguments)){var _t,zt,Kt=kt.changedTouches,Vt=k.apply(this,arguments),ke=Kt.length;for(_t=0;_t=j?Z=!0:(lt=S.charCodeAt(P++))===10?at=!0:lt===13&&(at=!0,S.charCodeAt(P)===10&&++P),S.slice(_t+1,ht-1).replace(/""/g,'"')}for(;P9999?"+"+Oa(G,6):Oa(G,4)}(O.getUTCFullYear())+"-"+Oa(O.getUTCMonth()+1,2)+"-"+Oa(O.getUTCDate(),2)+(P?"T"+Oa(R,2)+":"+Oa(U,2)+":"+Oa(j,2)+"."+Oa(P,3)+"Z":j?"T"+Oa(R,2)+":"+Oa(U,2)+":"+Oa(j,2)+"Z":U||R?"T"+Oa(R,2)+":"+Oa(U,2)+"Z":"")}(S):u.test(S+="")?'"'+S.replace(/"/g,'""')+'"':S}return{parse:function(S,O){var R,U,j=y(S,function(P,G){if(R)return R(P,G-1);U=P,R=O?function(Z,at){var it=O2(Z);return function(et,ht){return at(it(et),ht,Z)}}(P,O):O2(P)});return j.columns=U||[],j},parseRows:y,format:function(S,O){return O==null&&(O=kp(S)),[O.map(M).join(o)].concat(w(S,O)).join(` +`)},formatBody:function(S,O){return O==null&&(O=kp(S)),w(S,O).join(` +`)},formatRows:function(S){return S.map(k).join(` +`)},formatRow:k,formatValue:M}}var Yc=sh(","),I2=Yc.parse,zb=Yc.parseRows,Hb=Yc.format,Wb=Yc.formatBody,qb=Yc.formatRows,Gb=Yc.formatRow,L2=Yc.formatValue,$c=sh(" "),R2=$c.parse,Vb=$c.parseRows,B2=$c.format,Zb=$c.formatBody,Xb=$c.formatRows,Kb=$c.formatRow,Qb=$c.formatValue;function Jb(o){for(var u in o){var g,y,w=o[u].trim();if(w)if(w==="true")w=!0;else if(w==="false")w=!1;else if(w==="NaN")w=NaN;else if(isNaN(g=+w)){if(!(y=w.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;t3&&y[4]&&!y[7]&&(w=w.replace(/-/g,"/").replace(/T/," ")),w=new Date(w)}else w=g;else w=null;o[u]=w}return o}var t3=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function F2(o){return+o}function e3(o){return o*o}function n3(o){return o*(2-o)}function P2(o){return((o*=2)<=1?o*o:--o*(2-o)+1)/2}var r3=function o(u){function g(y){return Math.pow(y,u)}return u=+u,g.exponent=o,g}(3),i3=function o(u){function g(y){return 1-Math.pow(1-y,u)}return u=+u,g.exponent=o,g}(3),U2=function o(u){function g(y){return((y*=2)<=1?Math.pow(y,u):2-Math.pow(2-y,u))/2}return u=+u,g.exponent=o,g}(3),Y2=Math.PI,$2=Y2/2;function j2(o){return+o==1?1:1-Math.cos(o*$2)}function a3(o){return Math.sin(o*$2)}function z2(o){return(1-Math.cos(Y2*o))/2}function ic(o){return 1.0009775171065494*(Math.pow(2,-10*o)-.0009765625)}function H2(o){return ic(1-+o)}function o3(o){return 1-ic(o)}function W2(o){return((o*=2)<=1?ic(1-o):2-ic(o-1))/2}function s3(o){return 1-Math.sqrt(1-o*o)}function c3(o){return Math.sqrt(1- --o*o)}function q2(o){return((o*=2)<=1?1-Math.sqrt(1-o*o):Math.sqrt(1-(o-=2)*o)+1)/2}var dd=7.5625;function G2(o){return 1-ch(1-o)}function ch(o){return(o=+o)<.36363636363636365?dd*o*o:o<.7272727272727273?dd*(o-=.5454545454545454)*o+.75:o<.9090909090909091?dd*(o-=.8181818181818182)*o+.9375:dd*(o-=.9545454545454546)*o+.984375}function l3(o){return((o*=2)<=1?1-ch(1-o):ch(o-1)+1)/2}var Tp=1.70158,u3=function o(u){function g(y){return(y=+y)*y*(u*(y-1)+y)}return u=+u,g.overshoot=o,g}(Tp),h3=function o(u){function g(y){return--y*y*((y+1)*u+y)+1}return u=+u,g.overshoot=o,g}(Tp),V2=function o(u){function g(y){return((y*=2)<1?y*y*((u+1)*y-u):(y-=2)*y*((u+1)*y+u)+2)/2}return u=+u,g.overshoot=o,g}(Tp),Rl=2*Math.PI,f3=function o(u,g){var y=Math.asin(1/(u=Math.max(1,u)))*(g/=Rl);function w(k){return u*ic(- --k)*Math.sin((y-k)/g)}return w.amplitude=function(k){return o(k,g*Rl)},w.period=function(k){return o(u,k)},w}(1,.3),Ep=function o(u,g){var y=Math.asin(1/(u=Math.max(1,u)))*(g/=Rl);function w(k){return 1-u*ic(k=+k)*Math.sin((k+y)/g)}return w.amplitude=function(k){return o(k,g*Rl)},w.period=function(k){return o(u,k)},w}(1,.3),Z2=function o(u,g){var y=Math.asin(1/(u=Math.max(1,u)))*(g/=Rl);function w(k){return((k=2*k-1)<0?u*ic(-k)*Math.sin((y-k)/g):2-u*ic(k)*Math.sin((y+k)/g))/2}return w.amplitude=function(k){return o(k,g*Rl)},w.period=function(k){return o(u,k)},w}(1,.3);function X2(o){if(!o.ok)throw new Error(o.status+" "+o.statusText);return o.blob()}function d3(o,u){return fetch(o,u).then(X2)}function p3(o){if(!o.ok)throw new Error(o.status+" "+o.statusText);return o.arrayBuffer()}function K2(o,u){return fetch(o,u).then(p3)}function g3(o){if(!o.ok)throw new Error(o.status+" "+o.statusText);return o.text()}function Bl(o,u){return fetch(o,u).then(g3)}function Sp(o){return function(u,g,y){return arguments.length===2&&typeof g=="function"&&(y=g,g=void 0),Bl(u,g).then(function(w){return o(w,y)})}}function y3(o,u,g,y){arguments.length===3&&typeof g=="function"&&(y=g,g=void 0);var w=sh(o);return Bl(u,g).then(function(k){return w.parse(k,y)})}var Q2=Sp(I2),J2=Sp(R2);function tm(o,u){return new Promise(function(g,y){var w=new Image;for(var k in u)w[k]=u[k];w.onerror=y,w.onload=function(){g(w)},w.src=o})}function m3(o){if(!o.ok)throw new Error(o.status+" "+o.statusText);if(o.status!==204&&o.status!==205)return o.json()}function _3(o,u){return fetch(o,u).then(m3)}function Ap(o){return function(u,g){return Bl(u,g).then(function(y){return new DOMParser().parseFromString(y,o)})}}const v3=Ap("application/xml");var em=Ap("text/html"),pd=Ap("image/svg+xml");function b3(o,u){var g;function y(){var w,k,M=g.length,S=0,O=0;for(w=0;w=(k=(at+et)/2))?at=k:et=k,(U=g>=(M=(it+ht)/2))?it=M:ht=M,w=G,!(G=G[j=U<<1|R]))return w[j]=Z,o;if(S=+o._x.call(null,G.data),O=+o._y.call(null,G.data),u===S&&g===O)return Z.next=G,w?w[j]=Z:o._root=Z,o;do w=w?w[j]=new Array(4):o._root=new Array(4),(R=u>=(k=(at+et)/2))?at=k:et=k,(U=g>=(M=(it+ht)/2))?it=M:ht=M;while((j=U<<1|R)==(P=(O>=M)<<1|S>=k));return w[P]=G,w[j]=Z,o}function ma(o,u,g,y,w){this.node=o,this.x0=u,this.y0=g,this.x1=y,this.y1=w}function w3(o){return o[0]}function Cp(o){return o[1]}function lh(o,u,g){var y=new Fl(u==null?w3:u,g==null?Cp:g,NaN,NaN,NaN,NaN);return o==null?y:y.addAll(o)}function Fl(o,u,g,y,w,k){this._x=o,this._y=u,this._x0=g,this._y0=y,this._x1=w,this._y1=k,this._root=void 0}function rm(o){for(var u={data:o.data},g=u;o=o.next;)g=g.next={data:o.data};return u}var _a=lh.prototype=Fl.prototype;function x3(o){return o.x+o.vx}function k3(o){return o.y+o.vy}function T3(o){var u,g,y=1,w=1;function k(){for(var O,R,U,j,P,G,Z,at=u.length,it=0;itj+Ht||ztP+Ht||KtU.index){var fe=j-Vt.x-Vt.vx,mt=P-Vt.y-Vt.vy,Ct=fe*fe+mt*mt;CtO.r&&(O.r=O[R].r)}function S(){if(u){var O,R,U=u.length;for(g=new Array(U),O=0;OU&&(U=y),wj&&(j=w));if(O>U||R>j)return this;for(this.cover(O,R).cover(U,j),g=0;go||o>=w||y>u||u>=k;)switch(S=(uP||(k=O.y0)>G||(M=O.x1)=et)<<1|o>=it)&&(O=Z[Z.length-1],Z[Z.length-1]=Z[Z.length-1-R],Z[Z.length-1-R]=O)}else{var ht=o-+this._x.call(null,at.data),lt=u-+this._y.call(null,at.data),_t=ht*ht+lt*lt;if(_t=(S=(Z+it)/2))?Z=S:it=S,(U=M>=(O=(at+et)/2))?at=O:et=O,u=G,!(G=G[j=U<<1|R]))return this;if(!G.length)break;(u[j+1&3]||u[j+2&3]||u[j+3&3])&&(g=u,P=j)}for(;G.data!==o;)if(y=G,!(G=G.next))return this;return(w=G.next)&&delete G.next,y?(w?y.next=w:delete y.next,this):u?(w?u[j]=w:delete u[j],(G=u[0]||u[1]||u[2]||u[3])&&G===(u[3]||u[2]||u[1]||u[0])&&!G.length&&(g?g[P]=G:this._root=G),this):(this._root=w,this)},_a.removeAll=function(o){for(var u=0,g=o.length;u1?(at==null?S.remove(Z):S.set(Z,G(at)),u):S.get(Z)},find:function(Z,at,it){var et,ht,lt,_t,zt,Kt=0,Vt=o.length;for(it==null?it=1/0:it*=it,Kt=0;Kt1?(R.on(Z,at),u):R.on(Z)}}}function N3(){var o,u,g,y,w=Ri(-30),k=1,M=1/0,S=.81;function O(P){var G,Z=o.length,at=lh(o,A3,C3).visitAfter(U);for(g=P,G=0;G=M)){(P.data!==u||P.next)&&(it===0&&(lt+=(it=ac())*it),et===0&&(lt+=(et=ac())*et),lt1?y[0]+y.slice(2):y,+o.slice(g+1)]}function jc(o){return(o=uh(Math.abs(o)))?o[1]:NaN}var Dp,O3=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function hh(o){if(!(u=O3.exec(o)))throw new Error("invalid format: "+o);var u;return new gd({fill:u[1],align:u[2],sign:u[3],symbol:u[4],zero:u[5],width:u[6],comma:u[7],precision:u[8]&&u[8].slice(1),trim:u[9],type:u[10]})}function gd(o){this.fill=o.fill===void 0?" ":o.fill+"",this.align=o.align===void 0?">":o.align+"",this.sign=o.sign===void 0?"-":o.sign+"",this.symbol=o.symbol===void 0?"":o.symbol+"",this.zero=!!o.zero,this.width=o.width===void 0?void 0:+o.width,this.comma=!!o.comma,this.precision=o.precision===void 0?void 0:+o.precision,this.trim=!!o.trim,this.type=o.type===void 0?"":o.type+""}function am(o,u){var g=uh(o,u);if(!g)return o+"";var y=g[0],w=g[1];return w<0?"0."+new Array(-w).join("0")+y:y.length>w+1?y.slice(0,w+1)+"."+y.slice(w+1):y+new Array(w-y.length+2).join("0")}hh.prototype=gd.prototype,gd.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 om={"%":function(o,u){return(100*o).toFixed(u)},b:function(o){return Math.round(o).toString(2)},c:function(o){return o+""},d:function(o){return Math.abs(o=Math.round(o))>=1e21?o.toLocaleString("en").replace(/,/g,""):o.toString(10)},e:function(o,u){return o.toExponential(u)},f:function(o,u){return o.toFixed(u)},g:function(o,u){return o.toPrecision(u)},o:function(o){return Math.round(o).toString(8)},p:function(o,u){return am(100*o,u)},r:am,s:function(o,u){var g=uh(o,u);if(!g)return o+"";var y=g[0],w=g[1],k=w-(Dp=3*Math.max(-8,Math.min(8,Math.floor(w/3))))+1,M=y.length;return k===M?y:k>M?y+new Array(k-M+1).join("0"):k>0?y.slice(0,k)+"."+y.slice(k):"0."+new Array(1-k).join("0")+uh(o,Math.max(0,u+k-1))[0]},X:function(o){return Math.round(o).toString(16).toUpperCase()},x:function(o){return Math.round(o).toString(16)}};function sm(o){return o}var yd,md,Op,cm=Array.prototype.map,lm=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function um(o){var u,g,y=o.grouping===void 0||o.thousands===void 0?sm:(u=cm.call(o.grouping,Number),g=o.thousands+"",function(P,G){for(var Z=P.length,at=[],it=0,et=u[0],ht=0;Z>0&&et>0&&(ht+et+1>G&&(et=Math.max(1,G-ht)),at.push(P.substring(Z-=et,Z+et)),!((ht+=et+1)>G));)et=u[it=(it+1)%u.length];return at.reverse().join(g)}),w=o.currency===void 0?"":o.currency[0]+"",k=o.currency===void 0?"":o.currency[1]+"",M=o.decimal===void 0?".":o.decimal+"",S=o.numerals===void 0?sm:function(P){return function(G){return G.replace(/[0-9]/g,function(Z){return P[+Z]})}}(cm.call(o.numerals,String)),O=o.percent===void 0?"%":o.percent+"",R=o.minus===void 0?"-":o.minus+"",U=o.nan===void 0?"NaN":o.nan+"";function j(P){var G=(P=hh(P)).fill,Z=P.align,at=P.sign,it=P.symbol,et=P.zero,ht=P.width,lt=P.comma,_t=P.precision,zt=P.trim,Kt=P.type;Kt==="n"?(lt=!0,Kt="g"):om[Kt]||(_t===void 0&&(_t=12),zt=!0,Kt="g"),(et||G==="0"&&Z==="=")&&(et=!0,G="0",Z="=");var Vt=it==="$"?w:it==="#"&&/[boxX]/.test(Kt)?"0"+Kt.toLowerCase():"",ke=it==="$"?k:/[%p]/.test(Kt)?O:"",Ht=om[Kt],fe=/[defgprs%]/.test(Kt);function mt(Ct){var ce,ne,ue,Fe=Vt,Xe=ke;if(Kt==="c")Xe=Ht(Ct)+Xe,Ct="";else{var mn=(Ct=+Ct)<0||1/Ct<0;if(Ct=isNaN(Ct)?U:Ht(Math.abs(Ct),_t),zt&&(Ct=function(cn){t:for(var ir,Rn=cn.length,Dn=1,hr=-1;Dn0&&(hr=0)}return hr>0?cn.slice(0,hr)+cn.slice(ir+1):cn}(Ct)),mn&&+Ct==0&&at!=="+"&&(mn=!1),Fe=(mn?at==="("?at:R:at==="-"||at==="("?"":at)+Fe,Xe=(Kt==="s"?lm[8+Dp/3]:"")+Xe+(mn&&at==="("?")":""),fe){for(ce=-1,ne=Ct.length;++ce(ue=Ct.charCodeAt(ce))||ue>57){Xe=(ue===46?M+Ct.slice(ce+1):Ct.slice(ce))+Xe,Ct=Ct.slice(0,ce);break}}}lt&&!et&&(Ct=y(Ct,1/0));var $n=Fe.length+Ct.length+Xe.length,cr=$n>1)+Fe+Ct+Xe+cr.slice($n);break;default:Ct=cr+Fe+Ct+Xe}return S(Ct)}return _t=_t===void 0?6:/[gprs]/.test(Kt)?Math.max(1,Math.min(21,_t)):Math.max(0,Math.min(20,_t)),mt.toString=function(){return P+""},mt}return{format:j,formatPrefix:function(P,G){var Z=j(((P=hh(P)).type="f",P)),at=3*Math.max(-8,Math.min(8,Math.floor(jc(G)/3))),it=Math.pow(10,-at),et=lm[8+at/3];return function(ht){return Z(it*ht)+et}}}}function hm(o){return yd=um(o),md=yd.format,Op=yd.formatPrefix,yd}function Ip(o){return Math.max(0,-jc(Math.abs(o)))}function fm(o,u){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(jc(u)/3)))-jc(Math.abs(o)))}function dm(o,u){return o=Math.abs(o),u=Math.abs(u)-o,Math.max(0,jc(u)-jc(o))+1}function oc(){return new _d}function _d(){this.reset()}hm({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),_d.prototype={constructor:_d,reset:function(){this.s=this.t=0},add:function(o){pm(vd,o,this.t),pm(this,vd.s,this.s),this.s?this.t+=vd.t:this.s=vd.t},valueOf:function(){return this.s}};var vd=new _d;function pm(o,u,g){var y=o.s=u+g,w=y-u,k=y-w;o.t=u-k+(g-w)}var Yn=1e-6,fh=1e-12,or=Math.PI,di=or/2,Ul=or/4,Lr=2*or,Ur=180/or,Tn=or/180,De=Math.abs,sc=Math.atan,Ji=Math.atan2,gn=Math.cos,es=Math.ceil,gm=Math.exp,Yl=Math.log,bd=Math.pow,hn=Math.sin,Tr=Math.sign||function(o){return o>0?1:o<0?-1:0},bi=Math.sqrt,zi=Math.tan;function cc(o){return o>1?0:o<-1?or:Math.acos(o)}function va(o){return o>1?di:o<-1?-di:Math.asin(o)}function wd(o){return(o=hn(o/2))*o}function Er(){}function Ms(o,u){o&&$l.hasOwnProperty(o.type)&&$l[o.type](o,u)}var ba={Feature:function(o,u){Ms(o.geometry,u)},FeatureCollection:function(o,u){for(var g=o.features,y=-1,w=g.length;++y=0?1:-1,w=y*g,k=gn(u=(u*=Tn)/2+Ul),M=hn(u),S=Fp*M,O=Bp*k+S*gn(w),R=S*y*hn(w);xd.add(Ji(R,O)),Rp=o,Bp=k,Fp=M}function I3(o){return kd.reset(),Co(o,qa),2*kd}function Td(o){return[Ji(o[1],o[0]),va(o[2])]}function ho(o){var u=o[0],g=o[1],y=gn(g);return[y*gn(u),y*hn(u),hn(g)]}function Ed(o,u){return o[0]*u[0]+o[1]*u[1]+o[2]*u[2]}function zl(o,u){return[o[1]*u[2]-o[2]*u[1],o[2]*u[0]-o[0]*u[2],o[0]*u[1]-o[1]*u[0]]}function Hl(o,u){o[0]+=u[0],o[1]+=u[1],o[2]+=u[2]}function zc(o,u){return[o[0]*u,o[1]*u,o[2]*u]}function ph(o){var u=bi(o[0]*o[0]+o[1]*o[1]+o[2]*o[2]);o[0]/=u,o[1]/=u,o[2]/=u}var Yr,wa,si,Ia,lc,Up,Yp,uc,Mo,ns,Wl,gh,yh,Hc,ql,Gl,fo,mh,Sd,Ns,$p,Ad,Vl,xa,oa,wi,_h=oc(),No={point:Wc,lineStart:jp,lineEnd:zp,polygonStart:function(){No.point=Zl,No.lineStart=bm,No.lineEnd=vh,_h.reset(),qa.polygonStart()},polygonEnd:function(){qa.polygonEnd(),No.point=Wc,No.lineStart=jp,No.lineEnd=zp,xd<0?(Yr=-(si=180),wa=-(Ia=90)):_h>Yn?Ia=90:_h<-1e-6&&(wa=-90),ns[0]=Yr,ns[1]=si},sphere:function(){Yr=-(si=180),wa=-(Ia=90)}};function Wc(o,u){Mo.push(ns=[Yr=o,si=o]),uIa&&(Ia=u)}function vm(o,u){var g=ho([o*Tn,u*Tn]);if(uc){var y=zl(uc,g),w=zl([y[1],-y[0],0],y);ph(w),w=Td(w);var k,M=o-lc,S=M>0?1:-1,O=w[0]*Ur*S,R=De(M)>180;R^(S*lcIa&&(Ia=k):R^(S*lc<(O=(O+360)%360-180)&&OIa&&(Ia=u)),R?oka(Yr,si)&&(si=o):ka(o,si)>ka(Yr,si)&&(Yr=o):si>=Yr?(osi&&(si=o)):o>lc?ka(Yr,o)>ka(Yr,si)&&(si=o):ka(o,si)>ka(Yr,si)&&(Yr=o)}else Mo.push(ns=[Yr=o,si=o]);uIa&&(Ia=u),uc=g,lc=o}function jp(){No.point=vm}function zp(){ns[0]=Yr,ns[1]=si,No.point=Wc,uc=null}function Zl(o,u){if(uc){var g=o-lc;_h.add(De(g)>180?g+(g>0?360:-360):g)}else Up=o,Yp=u;qa.point(o,u),vm(o,u)}function bm(){qa.lineStart()}function vh(){Zl(Up,Yp),qa.lineEnd(),De(_h)>Yn&&(Yr=-(si=180)),ns[0]=Yr,ns[1]=si,uc=null}function ka(o,u){return(u-=o)<0?u+360:u}function Hp(o,u){return o[0]-u[0]}function Xl(o,u){return o[0]<=o[1]?o[0]<=u&&u<=o[1]:uka(y[0],y[1])&&(y[1]=w[1]),ka(w[0],y[1])>ka(y[0],y[1])&&(y[0]=w[0])):k.push(y=w);for(M=-1/0,u=0,y=k[g=k.length-1];u<=g;y=w,++u)w=k[u],(S=ka(y[1],w[0]))>M&&(M=S,Yr=w[0],si=y[1])}return Mo=ns=null,Yr===1/0||wa===1/0?[[NaN,NaN],[NaN,NaN]]:[[Yr,wa],[si,Ia]]}var Ga={sphere:Er,point:Cd,lineStart:wm,lineEnd:xm,polygonStart:function(){Ga.lineStart=wh,Ga.lineEnd=xh},polygonEnd:function(){Ga.lineStart=wm,Ga.lineEnd=xm}};function Cd(o,u){o*=Tn;var g=gn(u*=Tn);pi(g*gn(o),g*hn(o),hn(u))}function pi(o,u,g){++Wl,yh+=(o-yh)/Wl,Hc+=(u-Hc)/Wl,ql+=(g-ql)/Wl}function wm(){Ga.point=L3}function L3(o,u){o*=Tn;var g=gn(u*=Tn);xa=g*gn(o),oa=g*hn(o),wi=hn(u),Ga.point=Sr,pi(xa,oa,wi)}function Sr(o,u){o*=Tn;var g=gn(u*=Tn),y=g*gn(o),w=g*hn(o),k=hn(u),M=Ji(bi((M=oa*k-wi*w)*M+(M=wi*y-xa*k)*M+(M=xa*w-oa*y)*M),xa*y+oa*w+wi*k);gh+=M,Gl+=M*(xa+(xa=y)),fo+=M*(oa+(oa=w)),mh+=M*(wi+(wi=k)),pi(xa,oa,wi)}function xm(){Ga.point=Cd}function wh(){Ga.point=R3}function xh(){km(Ad,Vl),Ga.point=Cd}function R3(o,u){Ad=o,Vl=u,o*=Tn,u*=Tn,Ga.point=km;var g=gn(u);xa=g*gn(o),oa=g*hn(o),wi=hn(u),pi(xa,oa,wi)}function km(o,u){o*=Tn;var g=gn(u*=Tn),y=g*gn(o),w=g*hn(o),k=hn(u),M=oa*k-wi*w,S=wi*y-xa*k,O=xa*w-oa*y,R=bi(M*M+S*S+O*O),U=va(R),j=R&&-U/R;Sd+=j*M,Ns+=j*S,$p+=j*O,gh+=U,Gl+=U*(xa+(xa=y)),fo+=U*(oa+(oa=w)),mh+=U*(wi+(wi=k)),pi(xa,oa,wi)}function B3(o){Wl=gh=yh=Hc=ql=Gl=fo=mh=Sd=Ns=$p=0,Co(o,Ga);var u=Sd,g=Ns,y=$p,w=u*u+g*g+y*y;return wor?o+Math.round(-o/Lr)*Lr:o,u]}function Nd(o,u,g){return(o%=Lr)?u||g?Wp(Em(o),Sm(u,g)):Em(o):u||g?Sm(u,g):Md}function Tm(o){return function(u,g){return[(u+=o)>or?u-Lr:u<-or?u+Lr:u,g]}}function Em(o){var u=Tm(o);return u.invert=Tm(-o),u}function Sm(o,u){var g=gn(o),y=hn(o),w=gn(u),k=hn(u);function M(S,O){var R=gn(O),U=gn(S)*R,j=hn(S)*R,P=hn(O),G=P*g+U*y;return[Ji(j*w-G*k,U*g-P*y),va(G*w+j*k)]}return M.invert=function(S,O){var R=gn(O),U=gn(S)*R,j=hn(S)*R,P=hn(O),G=P*w-j*k;return[Ji(j*w+P*k,U*g+G*y),va(G*g-U*y)]},M}function qp(o){function u(g){return(g=o(g[0]*Tn,g[1]*Tn))[0]*=Ur,g[1]*=Ur,g}return o=Nd(o[0]*Tn,o[1]*Tn,o.length>2?o[2]*Tn:0),u.invert=function(g){return(g=o.invert(g[0]*Tn,g[1]*Tn))[0]*=Ur,g[1]*=Ur,g},u}function Am(o,u,g,y,w,k){if(g){var M=gn(u),S=hn(u),O=y*g;w==null?(w=u+y*Lr,k=u-O/2):(w=Gp(M,w),k=Gp(M,k),(y>0?wk)&&(w+=y*Lr));for(var R,U=w;y>0?U>k:U1&&u.push(u.pop().concat(u.shift()))},result:function(){var g=u;return u=[],o=null,g}}}function Dd(o,u){return De(o[0]-u[0])=0;--k)w.point((U=R[k])[0],U[1]);else y(P.x,P.p.x,-1,w);P=P.p}R=(P=P.o).z,G=!G}while(!P.v);w.lineEnd()}}}function Nm(o){if(u=o.length){for(var u,g,y=0,w=o[0];++y=0?1:-1,Ht=ke*Vt,fe=Ht>or,mt=at*zt;if(Vp.add(Ji(mt*ke*hn(Ht),it*Kt+mt*gn(Ht))),M+=fe?Vt+ke*Lr:Vt,fe^G>=g^lt>=g){var Ct=zl(ho(P),ho(ht));ph(Ct);var ce=zl(k,Ct);ph(ce);var ne=(fe^Vt>=0?-1:1)*va(ce[2]);(y>ne||y===ne&&(Ct[0]||Ct[1]))&&(S+=fe^Vt>=0?1:-1)}}return(M<-1e-6||M0){for(j||(w.polygonStart(),j=!0),w.lineStart(),_t=0;_t1&&2&ke&&Ht.push(Ht.pop().concat(Ht.shift())),M.push(Ht.filter(P3))}return P}}function P3(o){return o.length>1}function Im(o,u){return((o=o.x)[0]<0?o[1]-di-Yn:di-o[1])-((u=u.x)[0]<0?u[1]-di-Yn:di-u[1])}const Zp=Om(function(){return!0},function(o){var u,g=NaN,y=NaN,w=NaN;return{lineStart:function(){o.lineStart(),u=1},point:function(k,M){var S=k>0?or:-or,O=De(k-g);De(O-or)0?di:-di),o.point(w,y),o.lineEnd(),o.lineStart(),o.point(S,y),o.point(k,y),u=0):w!==S&&O>=or&&(De(g-w)Yn?sc((hn(U)*(Z=gn(P))*hn(j)-hn(P)*(G=gn(U))*hn(R))/(G*Z*at)):(U+P)/2}(g,y,k,M),o.point(w,y),o.lineEnd(),o.lineStart(),o.point(S,y),u=0),o.point(g=k,y=M),w=S},lineEnd:function(){o.lineEnd(),g=y=NaN},clean:function(){return 2-u}}},function(o,u,g,y){var w;if(o==null)w=g*di,y.point(-or,w),y.point(0,w),y.point(or,w),y.point(or,0),y.point(or,-w),y.point(0,-w),y.point(-or,-w),y.point(-or,0),y.point(-or,w);else if(De(o[0]-u[0])>Yn){var k=o[0]0,w=De(u)>Yn;function k(O,R){return gn(O)*gn(R)>u}function M(O,R,U){var j=[1,0,0],P=zl(ho(O),ho(R)),G=Ed(P,P),Z=P[0],at=G-Z*Z;if(!at)return!U&&O;var it=u*G/at,et=-u*Z/at,ht=zl(j,P),lt=zc(j,it);Hl(lt,zc(P,et));var _t=ht,zt=Ed(lt,_t),Kt=Ed(_t,_t),Vt=zt*zt-Kt*(Ed(lt,lt)-1);if(!(Vt<0)){var ke=bi(Vt),Ht=zc(_t,(-zt-ke)/Kt);if(Hl(Ht,lt),Ht=Td(Ht),!U)return Ht;var fe,mt=O[0],Ct=R[0],ce=O[1],ne=R[1];Ct0^Ht[1]<(De(Ht[0]-mt)or^(mt<=Ht[0]&&Ht[0]<=Ct)){var Xe=zc(_t,(-zt+ke)/Kt);return Hl(Xe,lt),[Ht,Td(Xe)]}}}function S(O,R){var U=y?o:or-o,j=0;return O<-U?j|=1:O>U&&(j|=2),R<-U?j|=4:R>U&&(j|=8),j}return Om(k,function(O){var R,U,j,P,G;return{lineStart:function(){P=j=!1,G=1},point:function(Z,at){var it,et=[Z,at],ht=k(Z,at),lt=y?ht?0:S(Z,at):ht?S(Z+(Z<0?or:-or),at):0;if(!R&&(P=j=ht)&&O.lineStart(),ht!==j&&(!(it=M(R,et))||Dd(R,it)||Dd(et,it))&&(et[2]=1),ht!==j)G=0,ht?(O.lineStart(),it=M(et,R),O.point(it[0],it[1])):(it=M(R,et),O.point(it[0],it[1],2),O.lineEnd()),R=it;else if(w&&R&&y^ht){var _t;lt&U||!(_t=M(et,R,!0))||(G=0,y?(O.lineStart(),O.point(_t[0][0],_t[0][1]),O.point(_t[1][0],_t[1][1]),O.lineEnd()):(O.point(_t[1][0],_t[1][1]),O.lineEnd(),O.lineStart(),O.point(_t[0][0],_t[0][1],3)))}!ht||R&&Dd(R,et)||O.point(et[0],et[1]),R=et,j=ht,U=lt},lineEnd:function(){j&&O.lineEnd(),R=null},clean:function(){return G|(P&&j)<<1}}},function(O,R,U,j){Am(j,o,g,U,O,R)},y?[0,-o]:[-or,o-or])}var kh=1e9,Ld=-kh;function Rd(o,u,g,y){function w(R,U){return o<=R&&R<=g&&u<=U&&U<=y}function k(R,U,j,P){var G=0,Z=0;if(R==null||(G=M(R,j))!==(Z=M(U,j))||O(R,U)<0^j>0)do P.point(G===0||G===3?o:g,G>1?y:u);while((G=(G+j+4)%4)!==Z);else P.point(U[0],U[1])}function M(R,U){return De(R[0]-o)0?0:3:De(R[0]-g)0?2:1:De(R[1]-u)0?1:0:U>0?3:2}function S(R,U){return O(R.x,U.x)}function O(R,U){var j=M(R,1),P=M(U,1);return j!==P?j-P:j===0?U[1]-R[1]:j===1?R[0]-U[0]:j===2?R[1]-U[1]:U[0]-R[0]}return function(R){var U,j,P,G,Z,at,it,et,ht,lt,_t,zt=R,Kt=Cm(),Vt={point:ke,lineStart:function(){Vt.point=Ht,j&&j.push(P=[]),lt=!0,ht=!1,it=et=NaN},lineEnd:function(){U&&(Ht(G,Z),at&&ht&&Kt.rejoin(),U.push(Kt.result())),Vt.point=ke,ht&&zt.lineEnd()},polygonStart:function(){zt=Kt,U=[],j=[],_t=!0},polygonEnd:function(){var fe=function(){for(var ce=0,ne=0,ue=j.length;ney&&(ir-Fe)*(y-Xe)>(Rn-Xe)*(o-Fe)&&++ce:Rn<=y&&(ir-Fe)*(y-Xe)<(Rn-Xe)*(o-Fe)&&--ce;return ce}(),mt=_t&&fe,Ct=(U=pe(U)).length;(mt||Ct)&&(R.polygonStart(),mt&&(R.lineStart(),k(null,null,1,R),R.lineEnd()),Ct&&Mm(U,S,fe,k,R),R.polygonEnd()),zt=R,U=j=P=null}};function ke(fe,mt){w(fe,mt)&&zt.point(fe,mt)}function Ht(fe,mt){var Ct=w(fe,mt);if(j&&P.push([fe,mt]),lt)G=fe,Z=mt,at=Ct,lt=!1,Ct&&(zt.lineStart(),zt.point(fe,mt));else if(Ct&&ht)zt.point(fe,mt);else{var ce=[it=Math.max(Ld,Math.min(kh,it)),et=Math.max(Ld,Math.min(kh,et))],ne=[fe=Math.max(Ld,Math.min(kh,fe)),mt=Math.max(Ld,Math.min(kh,mt))];(function(ue,Fe,Xe,mn,$n,cr){var cn,ir=ue[0],Rn=ue[1],Dn=0,hr=1,Vi=Fe[0]-ir,ki=Fe[1]-Rn;if(cn=Xe-ir,Vi||!(cn>0)){if(cn/=Vi,Vi<0){if(cn0){if(cn>hr)return;cn>Dn&&(Dn=cn)}if(cn=$n-ir,Vi||!(cn<0)){if(cn/=Vi,Vi<0){if(cn>hr)return;cn>Dn&&(Dn=cn)}else if(Vi>0){if(cn0)){if(cn/=ki,ki<0){if(cn0){if(cn>hr)return;cn>Dn&&(Dn=cn)}if(cn=cr-Rn,ki||!(cn<0)){if(cn/=ki,ki<0){if(cn>hr)return;cn>Dn&&(Dn=cn)}else if(ki>0){if(cn0&&(ue[0]=ir+Dn*Vi,ue[1]=Rn+Dn*ki),hr<1&&(Fe[0]=ir+hr*Vi,Fe[1]=Rn+hr*ki),!0}}}}})(ce,ne,o,u,g,y)?(ht||(zt.lineStart(),zt.point(ce[0],ce[1])),zt.point(ne[0],ne[1]),Ct||zt.lineEnd(),_t=!1):Ct&&(zt.lineStart(),zt.point(fe,mt),_t=!1)}it=fe,et=mt,ht=Ct}return Vt}}function U3(){var o,u,g,y=0,w=0,k=960,M=500;return g={stream:function(S){return o&&u===S?o:o=Rd(y,w,k,M)(u=S)},extent:function(S){return arguments.length?(y=+S[0][0],w=+S[0][1],k=+S[1][0],M=+S[1][1],o=u=null,g):[[y,w],[k,M]]}}}var Bd,Fd,Pd,Xp=oc(),Ql={sphere:Er,point:Er,lineStart:function(){Ql.point=$3,Ql.lineEnd=Y3},lineEnd:Er,polygonStart:Er,polygonEnd:Er};function Y3(){Ql.point=Ql.lineEnd=Er}function $3(o,u){Bd=o*=Tn,Fd=hn(u*=Tn),Pd=gn(u),Ql.point=j3}function j3(o,u){o*=Tn;var g=hn(u*=Tn),y=gn(u),w=De(o-Bd),k=gn(w),M=y*hn(w),S=Pd*g-Fd*y*k,O=Fd*g+Pd*y*k;Xp.add(Ji(bi(M*M+S*S),O)),Bd=o,Fd=g,Pd=y}function Rm(o){return Xp.reset(),Co(o,Ql),+Xp}var Ud=[null,null],z3={type:"LineString",coordinates:Ud};function Yd(o,u){return Ud[0]=o,Ud[1]=u,Rm(z3)}var Bm={Feature:function(o,u){return $d(o.geometry,u)},FeatureCollection:function(o,u){for(var g=o.features,y=-1,w=g.length;++y0&&(w=Yd(o[k],o[k-1]))>0&&g<=w&&y<=w&&(g+y-w)*(1-Math.pow((g-y)/w,2))Yn}).map(O)).concat(rt(es(k/G)*G,w,G).filter(function(lt){return De(lt%at)>Yn}).map(R))}return et.lines=function(){return ht().map(function(lt){return{type:"LineString",coordinates:lt}})},et.outline=function(){return{type:"Polygon",coordinates:[U(y).concat(j(M).slice(1),U(g).reverse().slice(1),j(S).reverse().slice(1))]}},et.extent=function(lt){return arguments.length?et.extentMajor(lt).extentMinor(lt):et.extentMinor()},et.extentMajor=function(lt){return arguments.length?(y=+lt[0][0],g=+lt[1][0],S=+lt[0][1],M=+lt[1][1],y>g&&(lt=y,y=g,g=lt),S>M&&(lt=S,S=M,M=lt),et.precision(it)):[[y,S],[g,M]]},et.extentMinor=function(lt){return arguments.length?(u=+lt[0][0],o=+lt[1][0],k=+lt[0][1],w=+lt[1][1],u>o&&(lt=u,u=o,o=lt),k>w&&(lt=k,k=w,w=lt),et.precision(it)):[[u,k],[o,w]]},et.step=function(lt){return arguments.length?et.stepMajor(lt).stepMinor(lt):et.stepMinor()},et.stepMajor=function(lt){return arguments.length?(Z=+lt[0],at=+lt[1],et):[Z,at]},et.stepMinor=function(lt){return arguments.length?(P=+lt[0],G=+lt[1],et):[P,G]},et.precision=function(lt){return arguments.length?(it=+lt,O=jm(k,w,90),R=zm(u,o,it),U=jm(S,M,90),j=zm(y,g,it),et):it},et.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function W3(){return Hm()()}function q3(o,u){var g=o[0]*Tn,y=o[1]*Tn,w=u[0]*Tn,k=u[1]*Tn,M=gn(y),S=hn(y),O=gn(k),R=hn(k),U=M*gn(g),j=M*hn(g),P=O*gn(w),G=O*hn(w),Z=2*va(bi(wd(k-y)+M*O*wd(w-g))),at=hn(Z),it=Z?function(et){var ht=hn(et*=Z)/at,lt=hn(Z-et)/at,_t=lt*U+ht*P,zt=lt*j+ht*G,Kt=lt*S+ht*R;return[Ji(zt,_t)*Ur,Ji(Kt,bi(_t*_t+zt*zt))*Ur]}:function(){return[g*Ur,y*Ur]};return it.distance=Z,it}function Th(o){return o}var Wm,qm,jd,zd,Hd=oc(),Qp=oc(),Ds={point:Er,lineStart:Er,lineEnd:Er,polygonStart:function(){Ds.lineStart=Wd,Ds.lineEnd=Vm},polygonEnd:function(){Ds.lineStart=Ds.lineEnd=Ds.point=Er,Hd.add(De(Qp)),Qp.reset()},result:function(){var o=Hd/2;return Hd.reset(),o}};function Wd(){Ds.point=G3}function G3(o,u){Ds.point=Gm,Wm=jd=o,qm=zd=u}function Gm(o,u){Qp.add(zd*o-jd*u),jd=o,zd=u}function Vm(){Gm(Wm,qm)}const Zm=Ds;var Os=1/0,hc=Os,rs=-Os,fc=rs,Eh={point:function(o,u){ors&&(rs=o),ufc&&(fc=u)},lineStart:Er,lineEnd:Er,polygonStart:Er,polygonEnd:Er,result:function(){var o=[[Os,hc],[rs,fc]];return rs=fc=-(hc=Os=1/0),o}};const qc=Eh;var dc,Sh,La,Do,Ah=0,Jp=0,pc=0,Ch=0,Mh=0,Jl=0,Nh=0,qd=0,Dh=0,Oo={point:is,lineStart:Gd,lineEnd:Is,polygonStart:function(){Oo.lineStart=Vd,Oo.lineEnd=Xm},polygonEnd:function(){Oo.point=is,Oo.lineStart=Gd,Oo.lineEnd=Is},result:function(){var o=Dh?[Nh/Dh,qd/Dh]:Jl?[Ch/Jl,Mh/Jl]:pc?[Ah/pc,Jp/pc]:[NaN,NaN];return Ah=Jp=pc=Ch=Mh=Jl=Nh=qd=Dh=0,o}};function is(o,u){Ah+=o,Jp+=u,++pc}function Gd(){Oo.point=os}function os(o,u){Oo.point=Io,is(La=o,Do=u)}function Io(o,u){var g=o-La,y=u-Do,w=bi(g*g+y*y);Ch+=w*(La+o)/2,Mh+=w*(Do+u)/2,Jl+=w,is(La=o,Do=u)}function Is(){Oo.point=is}function Vd(){Oo.point=tg}function Xm(){eg(dc,Sh)}function tg(o,u){Oo.point=eg,is(dc=La=o,Sh=Do=u)}function eg(o,u){var g=o-La,y=u-Do,w=bi(g*g+y*y);Ch+=w*(La+o)/2,Mh+=w*(Do+u)/2,Jl+=w,Nh+=(w=Do*o-La*u)*(La+o),qd+=w*(Do+u),Dh+=3*w,is(La=o,Do=u)}const ng=Oo;function Km(o){this._context=o}Km.prototype={_radius:4.5,pointRadius:function(o){return this._radius=o,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(o,u){switch(this._point){case 0:this._context.moveTo(o,u),this._point=1;break;case 1:this._context.lineTo(o,u);break;default:this._context.moveTo(o+this._radius,u),this._context.arc(o,u,this._radius,0,Lr)}},result:Er};var rg,Qm,Jm,Gc,tu,Oh=oc(),eu={point:Er,lineStart:function(){eu.point=V3},lineEnd:function(){rg&&ig(Qm,Jm),eu.point=Er},polygonStart:function(){rg=!0},polygonEnd:function(){rg=null},result:function(){var o=+Oh;return Oh.reset(),o}};function V3(o,u){eu.point=ig,Qm=Gc=o,Jm=tu=u}function ig(o,u){Gc-=o,tu-=u,Oh.add(bi(Gc*Gc+tu*tu)),Gc=o,tu=u}const t_=eu;function e_(){this._string=[]}function n_(o){return"m0,"+o+"a"+o+","+o+" 0 1,1 0,"+-2*o+"a"+o+","+o+" 0 1,1 0,"+2*o+"z"}function Z3(o,u){var g,y,w=4.5;function k(M){return M&&(typeof w=="function"&&y.pointRadius(+w.apply(this,arguments)),Co(M,g(y))),y.result()}return k.area=function(M){return Co(M,g(Zm)),Zm.result()},k.measure=function(M){return Co(M,g(t_)),t_.result()},k.bounds=function(M){return Co(M,g(qc)),qc.result()},k.centroid=function(M){return Co(M,g(ng)),ng.result()},k.projection=function(M){return arguments.length?(g=M==null?(o=null,Th):(o=M).stream,k):o},k.context=function(M){return arguments.length?(y=M==null?(u=null,new e_):new Km(u=M),typeof w!="function"&&y.pointRadius(w),k):u},k.pointRadius=function(M){return arguments.length?(w=typeof M=="function"?M:(y.pointRadius(+M),+M),k):w},k.projection(o).context(u)}function X3(o){return{stream:Ih(o)}}function Ih(o){return function(u){var g=new ag;for(var y in o)g[y]=o[y];return g.stream=u,g}}function ag(){}function og(o,u,g){var y=o.clipExtent&&o.clipExtent();return o.scale(150).translate([0,0]),y!=null&&o.clipExtent(null),Co(g,o.stream(qc)),u(qc.result()),y!=null&&o.clipExtent(y),o}function Zd(o,u,g){return og(o,function(y){var w=u[1][0]-u[0][0],k=u[1][1]-u[0][1],M=Math.min(w/(y[1][0]-y[0][0]),k/(y[1][1]-y[0][1])),S=+u[0][0]+(w-M*(y[1][0]+y[0][0]))/2,O=+u[0][1]+(k-M*(y[1][1]+y[0][1]))/2;o.scale(150*M).translate([S,O])},g)}function sg(o,u,g){return Zd(o,[[0,0],u],g)}function cg(o,u,g){return og(o,function(y){var w=+u,k=w/(y[1][0]-y[0][0]),M=(w-k*(y[1][0]+y[0][0]))/2,S=-k*y[0][1];o.scale(150*k).translate([M,S])},g)}function lg(o,u,g){return og(o,function(y){var w=+u,k=w/(y[1][1]-y[0][1]),M=-k*y[0][0],S=(w-k*(y[1][1]+y[0][1]))/2;o.scale(150*k).translate([M,S])},g)}e_.prototype={_radius:4.5,_circle:n_(4.5),pointRadius:function(o){return(o=+o)!==this._radius&&(this._radius=o,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(o,u){switch(this._point){case 0:this._string.push("M",o,",",u),this._point=1;break;case 1:this._string.push("L",o,",",u);break;default:this._circle==null&&(this._circle=n_(this._radius)),this._string.push("M",o,",",u,this._circle)}},result:function(){if(this._string.length){var o=this._string.join("");return this._string=[],o}return null}},ag.prototype={constructor:ag,point:function(o,u){this.stream.point(o,u)},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 K3=gn(30*Tn);function r_(o,u){return+u?function(g,y){function w(k,M,S,O,R,U,j,P,G,Z,at,it,et,ht){var lt=j-k,_t=P-M,zt=lt*lt+_t*_t;if(zt>4*y&&et--){var Kt=O+Z,Vt=R+at,ke=U+it,Ht=bi(Kt*Kt+Vt*Vt+ke*ke),fe=va(ke/=Ht),mt=De(De(ke)-1)y||De((lt*ue+_t*Fe)/zt-.5)>.3||O*Z+R*at+U*it2?ue[2]%360*Tn:0,ce()):[it*Ur,et*Ur,ht*Ur]},mt.angle=function(ue){return arguments.length?(lt=ue%360*Tn,ce()):lt*Ur},mt.reflectX=function(ue){return arguments.length?(_t=ue?-1:1,ce()):_t<0},mt.reflectY=function(ue){return arguments.length?(zt=ue?-1:1,ce()):zt<0},mt.precision=function(ue){return arguments.length?(M=r_(S,fe=ue*ue),ne()):bi(fe)},mt.fitExtent=function(ue,Fe){return Zd(mt,ue,Fe)},mt.fitSize=function(ue,Fe){return sg(mt,ue,Fe)},mt.fitWidth=function(ue,Fe){return cg(mt,ue,Fe)},mt.fitHeight=function(ue,Fe){return lg(mt,ue,Fe)},function(){return u=o.apply(this,arguments),mt.invert=u.invert&&Ct,ce()}}function hg(o){var u=0,g=or/3,y=ug(o),w=y(u,g);return w.parallels=function(k){return arguments.length?y(u=k[0]*Tn,g=k[1]*Tn):[u*Ur,g*Ur]},w}function a_(o,u){var g=hn(o),y=(g+hn(u))/2;if(De(y)=.12&&it<.234&&at>=-.425&&at<-.214?S:it>=.166&&it<.234&&at>=-.214&&at<-.115?O:M).invert(P)},U.stream=function(P){return o&&u===P?o:(G=[M.stream(u=P),S.stream(P),O.stream(P)],Z=G.length,o={point:function(at,it){for(var et=-1;++et0?S<-di+Yn&&(S=-di+Yn):S>di-Yn&&(S=di-Yn);var O=w/bd(Rh(S),y);return[O*hn(y*M),w-O*gn(y*M)]}return k.invert=function(M,S){var O=w-S,R=Tr(y)*bi(M*M+O*O),U=Ji(M,De(O))*Tr(O);return O*y<0&&(U-=or*Tr(M)*Tr(O)),[U/y,2*sc(bd(w/R,1/y))-di]},k}function nw(){return hg(mg).scale(109.5).parallels([30,30])}function Bh(o,u){return[o,u]}function rw(){return Lo(Bh).scale(152.63)}function s_(o,u){var g=gn(o),y=o===u?hn(o):(g-gn(u))/(u-o),w=g/y+o;if(De(y)2?y[2]+90:90]):[(y=g())[0],y[1],y[2]-90]},g([0,0,90]).scale(159.155)}function lw(o,u){return o.parent===u.parent?1:2}function uw(o,u){return o+u.x}function nu(o,u){return Math.max(o,u.y)}function hw(){var o=lw,u=1,g=1,y=!1;function w(k){var M,S=0;k.eachAfter(function(P){var G=P.children;G?(P.x=function(Z){return Z.reduce(uw,0)/Z.length}(G),P.y=function(Z){return 1+Z.reduce(nu,0)}(G)):(P.x=M?S+=o(P,M):0,P.y=0,M=P)});var O=function(P){for(var G;G=P.children;)P=G[0];return P}(k),R=function(P){for(var G;G=P.children;)P=G[G.length-1];return P}(k),U=O.x-o(O,R)/2,j=R.x+o(R,O)/2;return k.eachAfter(y?function(P){P.x=(P.x-k.x)*u,P.y=(k.y-P.y)*g}:function(P){P.x=(P.x-U)/(j-U)*u,P.y=(1-(k.y?P.y/k.y:1))*g})}return w.separation=function(k){return arguments.length?(o=k,w):o},w.size=function(k){return arguments.length?(y=!1,u=+k[0],g=+k[1],w):y?null:[u,g]},w.nodeSize=function(k){return arguments.length?(y=!0,u=+k[0],g=+k[1],w):y?[u,g]:null},w}function fw(o){var u=0,g=o.children,y=g&&g.length;if(y)for(;--y>=0;)u+=g[y].value;else u=1;o.value=u}function xg(o,u){var g,y,w,k,M,S=new Vc(o),O=+o.value&&(S.value=o.value),R=[S];for(u==null&&(u=u_);g=R.pop();)if(O&&(g.value=+g.data.value),(w=u(g.data))&&(M=w.length))for(g.children=new Array(M),k=M-1;k>=0;--k)R.push(y=g.children[k]=new Vc(w[k])),y.parent=g,y.depth=g.depth+1;return S.eachBefore(Tg)}function u_(o){return o.children}function kg(o){o.data=o.data.data}function Tg(o){var u=0;do o.height=u;while((o=o.parent)&&o.height<++u)}function Vc(o){this.data=o,this.depth=this.height=0,this.parent=null}_g.invert=function(o,u){for(var g,y=u,w=y*y,k=w*w*w,M=0;M<12&&(k=(w=(y-=g=(y*(gc+Fh*w+k*(Ph+Uh*w))-u)/(gc+3*Fh*w+k*(7*Ph+9*Uh*w)))*y)*w*w,!(De(g)Yn&&--w>0);return[o/(.8707+(k=y*y)*(k*(k*k*k*(.003971-.001529*k)-.013791)-.131979)),y]},bg.invert=Va(va),wg.invert=Va(function(o){return 2*sc(o)}),Jd.invert=function(o,u){return[-u,2*sc(gm(o))-di]},Vc.prototype=xg.prototype={constructor:Vc,count:function(){return this.eachAfter(fw)},each:function(o){var u,g,y,w,k=this,M=[k];do for(u=M.reverse(),M=[];k=u.pop();)if(o(k),g=k.children)for(y=0,w=g.length;y=0;--g)w.push(u[g]);return this},sum:function(o){return this.eachAfter(function(u){for(var g=+o(u.data)||0,y=u.children,w=y&&y.length;--w>=0;)g+=y[w].value;u.value=g})},sort:function(o){return this.eachBefore(function(u){u.children&&u.children.sort(o)})},path:function(o){for(var u=this,g=function(k,M){if(k===M)return k;var S=k.ancestors(),O=M.ancestors(),R=null;for(k=S.pop(),M=O.pop();k===M;)R=k,k=S.pop(),M=O.pop();return R}(u,o),y=[u];u!==g;)u=u.parent,y.push(u);for(var w=y.length;o!==g;)y.splice(w,0,o),o=o.parent;return y},ancestors:function(){for(var o=this,u=[o];o=o.parent;)u.push(o);return u},descendants:function(){var o=[];return this.each(function(u){o.push(u)}),o},leaves:function(){var o=[];return this.eachBefore(function(u){u.children||o.push(u)}),o},links:function(){var o=this,u=[];return o.each(function(g){g!==o&&u.push({source:g.parent,target:g})}),u},copy:function(){return xg(this).eachBefore(kg)}};var h_=Array.prototype.slice;function f_(o){for(var u,g,y=0,w=(o=function(M){for(var S,O,R=M.length;R;)O=Math.random()*R--|0,S=M[R],M[R]=M[O],M[O]=S;return M}(h_.call(o))).length,k=[];y0&&g*g>y*y+w*w}function Eg(o,u){for(var g=0;g(M*=M)?(y=(R+M-w)/(2*R),k=Math.sqrt(Math.max(0,M/R-y*y)),g.x=o.x-y*S-k*O,g.y=o.y-y*O+k*S):(y=(R+w-M)/(2*R),k=Math.sqrt(Math.max(0,w/R-y*y)),g.x=u.x+y*S-k*O,g.y=u.y+y*O+k*S)):(g.x=u.x+g.r,g.y=u.y)}function y_(o,u){var g=o.r+u.r-1e-6,y=u.x-o.x,w=u.y-o.y;return g>0&&g*g>y*y+w*w}function m_(o){var u=o._,g=o.next._,y=u.r+g.r,w=(u.x*g.r+g.x*u.r)/y,k=(u.y*g.r+g.y*u.r)/y;return w*w+k*k}function e1(o){this._=o,this.next=null,this.previous=null}function __(o){if(!(w=o.length))return 0;var u,g,y,w,k,M,S,O,R,U,j;if((u=o[0]).x=0,u.y=0,!(w>1))return u.r;if(g=o[1],u.x=-g.r,g.x=u.r,g.y=0,!(w>2))return u.r+g.r;g_(g,u,y=o[2]),u=new e1(u),g=new e1(g),y=new e1(y),u.next=y.previous=g,g.next=u.previous=y,y.next=g.previous=u;t:for(S=3;S0)throw new Error("cycle");return M}return g.id=function(y){return arguments.length?(o=n1(y),g):o},g.parentId=function(y){return arguments.length?(u=n1(y),g):u},g}function vw(o,u){return o.parent===u.parent?1:2}function Sg(o){var u=o.children;return u?u[0]:o.t}function a1(o){var u=o.children;return u?u[u.length-1]:o.t}function bw(o,u,g){var y=g/(u.i-o.i);u.c-=y,u.s+=g,o.c+=y,u.z+=g,u.m+=g}function o1(o,u,g){return o.a.parent===u.parent?o.a:g}function yc(o,u){this._=o,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=u}function iu(){var o=vw,u=1,g=1,y=null;function w(O){var R=function(et){for(var ht,lt,_t,zt,Kt,Vt=new yc(et,0),ke=[Vt];ht=ke.pop();)if(_t=ht._.children)for(ht.children=new Array(Kt=_t.length),zt=Kt-1;zt>=0;--zt)ke.push(lt=ht.children[zt]=new yc(_t[zt],zt)),lt.parent=ht;return(Vt.parent=new yc(null,0)).children=[Vt],Vt}(O);if(R.eachAfter(k),R.parent.m=-R.z,R.eachBefore(M),y)O.eachBefore(S);else{var U=O,j=O,P=O;O.eachBefore(function(et){et.xj.x&&(j=et),et.depth>P.depth&&(P=et)});var G=U===j?1:o(U,j)/2,Z=G-U.x,at=u/(j.x+G+Z),it=g/(P.depth||1);O.eachBefore(function(et){et.x=(et.x+Z)*at,et.y=et.depth*it})}return O}function k(O){var R=O.children,U=O.parent.children,j=O.i?U[O.i-1]:null;if(R){(function(G){for(var Z,at=0,it=0,et=G.children,ht=et.length;--ht>=0;)(Z=et[ht]).z+=at,Z.m+=at,at+=Z.s+(it+=Z.c)})(O);var P=(R[0].z+R[R.length-1].z)/2;j?(O.z=j.z+o(O._,j._),O.m=O.z-P):O.z=P}else j&&(O.z=j.z+o(O._,j._));O.parent.A=function(G,Z,at){if(Z){for(var it,et=G,ht=G,lt=Z,_t=et.parent.children[0],zt=et.m,Kt=ht.m,Vt=lt.m,ke=_t.m;lt=a1(lt),et=Sg(et),lt&&et;)_t=Sg(_t),(ht=a1(ht)).a=G,(it=lt.z+Vt-et.z-zt+o(lt._,et._))>0&&(bw(o1(lt,G,at),G,it),zt+=it,Kt+=it),Vt+=lt.m,zt+=et.m,ke+=_t.m,Kt+=ht.m;lt&&!a1(ht)&&(ht.t=lt,ht.m+=Vt-Kt),et&&!Sg(_t)&&(_t.t=et,_t.m+=zt-ke,at=G)}return at}(O,j,O.parent.A||U[0])}function M(O){O._.x=O.z+O.parent.m,O.m+=O.parent.m}function S(O){O.x*=u,O.y=O.depth*g}return w.separation=function(O){return arguments.length?(o=O,w):o},w.size=function(O){return arguments.length?(y=!1,u=+O[0],g=+O[1],w):y?null:[u,g]},w.nodeSize=function(O){return arguments.length?(y=!0,u=+O[0],g=+O[1],w):y?[u,g]:null},w}function mc(o,u,g,y,w){for(var k,M=o.children,S=-1,O=M.length,R=o.value&&(w-g)/o.value;++SP&&(P=S),it=U*U*at,(G=Math.max(P/it,it/j))>Z){U-=S;break}Z=G}et.push(M={value:U,dice:O1?y:1)},g}(au);function s1(){var o=_c,u=!1,g=1,y=1,w=[0],k=Zc,M=Zc,S=Zc,O=Zc,R=Zc;function U(P){return P.x0=P.y0=0,P.x1=g,P.y1=y,P.eachBefore(j),w=[0],u&&P.eachBefore(x_),P}function j(P){var G=w[P.depth],Z=P.x0+G,at=P.y0+G,it=P.x1-G,et=P.y1-G;it=P-1){var ht=S[j];return ht.x0=Z,ht.y0=at,ht.x1=it,void(ht.y1=et)}for(var lt=R[j],_t=G/2+lt,zt=j+1,Kt=P-1;zt>>1;R[Vt]<_t?zt=Vt+1:Kt=Vt}_t-R[zt-1]et-at){var fe=(Z*Ht+it*ke)/G;U(j,zt,ke,Z,at,fe,et),U(zt,P,Ht,fe,at,it,et)}else{var mt=(at*Ht+et*ke)/G;U(j,zt,ke,Z,at,it,mt),U(zt,P,Ht,Z,mt,it,et)}})(0,O,o.value,u,g,y,w)}function E_(o,u,g,y,w){(1&o.depth?mc:jh)(o,u,g,y,w)}const Ag=function o(u){function g(y,w,k,M,S){if((O=y._squarify)&&O.ratio===u)for(var O,R,U,j,P,G=-1,Z=O.length,at=y.value;++G1?y:1)},g}(au);function ww(o){var u=o.length;return function(g){return o[Math.max(0,Math.min(u-1,Math.floor(g*u)))]}}function c1(o,u){var g=Ma(+o,+u);return function(y){var w=g(y);return w-360*Math.floor(w/360)}}function Cg(o,u){return o=+o,u=+u,function(g){return Math.round(o*(1-g)+u*g)}}var ou=Math.SQRT2;function S_(o){return((o=Math.exp(o))+1/o)/2}function l1(o,u){var g,y,w=o[0],k=o[1],M=o[2],S=u[0],O=u[1],R=u[2],U=S-w,j=O-k,P=U*U+j*j;if(P<1e-12)y=Math.log(R/M)/ou,g=function(ht){return[w+ht*U,k+ht*j,M*Math.exp(ou*ht*y)]};else{var G=Math.sqrt(P),Z=(R*R-M*M+4*P)/(2*M*2*G),at=(R*R-M*M-4*P)/(2*R*2*G),it=Math.log(Math.sqrt(Z*Z+1)-Z),et=Math.log(Math.sqrt(at*at+1)-at);y=(et-it)/ou,g=function(ht){var lt,_t=ht*y,zt=S_(it),Kt=M/(2*G)*(zt*(lt=ou*_t+it,((lt=Math.exp(2*lt))-1)/(lt+1))-function(Vt){return((Vt=Math.exp(Vt))-1/Vt)/2}(it));return[w+Kt*U,k+Kt*j,M*zt/S_(ou*_t+it)]}}return g.duration=1e3*y,g}function Mg(o){return function(u,g){var y=o((u=kl(u)).h,(g=kl(g)).h),w=vi(u.s,g.s),k=vi(u.l,g.l),M=vi(u.opacity,g.opacity);return function(S){return u.h=y(S),u.s=w(S),u.l=k(S),u.opacity=M(S),u+""}}}const xw=Mg(Ma);var kw=Mg(vi);function u1(o,u){var g=vi((o=eh(o)).l,(u=eh(u)).l),y=vi(o.a,u.a),w=vi(o.b,u.b),k=vi(o.opacity,u.opacity);return function(M){return o.l=g(M),o.a=y(M),o.b=w(M),o.opacity=k(M),o+""}}function h1(o){return function(u,g){var y=o((u=rc(u)).h,(g=rc(g)).h),w=vi(u.c,g.c),k=vi(u.l,g.l),M=vi(u.opacity,g.opacity);return function(S){return u.h=y(S),u.c=w(S),u.l=k(S),u.opacity=M(S),u+""}}}const ss=h1(Ma);var Bo=h1(vi);function Rs(o){return function u(g){function y(w,k){var M=o((w=ya(w)).h,(k=ya(k)).h),S=vi(w.s,k.s),O=vi(w.l,k.l),R=vi(w.opacity,k.opacity);return function(U){return w.h=M(U),w.s=S(U),w.l=O(Math.pow(U,g)),w.opacity=R(U),w+""}}return g=+g,y.gamma=u,y}(1)}const f1=Rs(Ma);var qh=Rs(vi);function Ng(o,u){for(var g=0,y=u.length-1,w=u[0],k=new Array(y<0?0:y);g1&&Ew(o[g[y-2]],o[g[y-1]],o[w])<=0;)--y;g[y++]=w}return g.slice(0,y)}function Dg(o){if((g=o.length)<3)return null;var u,g,y=new Array(g),w=new Array(g);for(u=0;u=0;--u)R.push(o[y[k[u]][2]]);for(u=+S;uS!=R>S&&M<(O-g)*(S-y)/(R-y)+g&&(U=!U),O=g,R=y;return U}function N_(o){for(var u,g,y=-1,w=o.length,k=o[w-1],M=k[0],S=k[1],O=0;++y1);return y+w*S*Math.sqrt(-2*Math.log(M)/M)}}return g.source=o,g}(cs),su=function o(u){function g(){var y=Gh.source(u).apply(this,arguments);return function(){return Math.exp(y())}}return g.source=o,g}(cs),cu=function o(u){function g(y){return function(){for(var w=0,k=0;ky&&(u=g,g=y,y=u),function(w){return Math.max(g,Math.min(y,w))}}function O_(o,u,g){var y=o[0],w=o[1],k=u[0],M=u[1];return w2?I_:O_,w=k=null,j}function j(P){return isNaN(P=+P)?g:(w||(w=y(M.map(o),S,O)))(o(R(P)))}return j.invert=function(P){return R(u((k||(k=y(S,M.map(o),da)))(P)))},j.domain=function(P){return arguments.length?(M=p1.call(P,m1),R===ta||(R=Ra(M)),U()):M.slice()},j.range=function(P){return arguments.length?(S=Xc.call(P),U()):S.slice()},j.rangeRound=function(P){return S=Xc.call(P),O=Cg,U()},j.clamp=function(P){return arguments.length?(R=P?Ra(M):ta,j):R!==ta},j.interpolate=function(P){return arguments.length?(O=P,U()):O},j.unknown=function(P){return arguments.length?(g=P,j):g},function(P,G){return o=P,u=G,U()}}function Rg(o,u){return Kh()(o,u)}function Po(o,u,g,y){var w,k=bt(o,u,g);switch((y=hh(y==null?",f":y)).type){case"s":var M=Math.max(Math.abs(o),Math.abs(u));return y.precision!=null||isNaN(w=fm(k,M))||(y.precision=w),Op(y,M);case"":case"e":case"g":case"p":case"r":y.precision!=null||isNaN(w=dm(k,Math.max(Math.abs(o),Math.abs(u))))||(y.precision=w-(y.type==="e"));break;case"f":case"%":y.precision!=null||isNaN(w=Ip(k))||(y.precision=w-2*(y.type==="%"))}return md(y)}function Fs(o){var u=o.domain;return o.ticks=function(g){var y=u();return wt(y[0],y[y.length-1],g==null?10:g)},o.tickFormat=function(g,y){var w=u();return Po(w[0],w[w.length-1],g==null?10:g,y)},o.nice=function(g){g==null&&(g=10);var y,w=u(),k=0,M=w.length-1,S=w[k],O=w[M];return O0?y=gt(S=Math.floor(S/y)*y,O=Math.ceil(O/y)*y,g):y<0&&(y=gt(S=Math.ceil(S*y)/y,O=Math.floor(O*y)/y,g)),y>0?(w[k]=Math.floor(S/y)*y,w[M]=Math.ceil(O/y)*y,u(w)):y<0&&(w[k]=Math.ceil(S*y)/y,w[M]=Math.floor(O*y)/y,u(w)),o},o}function Bg(){var o=Rg(ta,ta);return o.copy=function(){return Kc(o,Bg())},Fo.apply(o,arguments),Fs(o)}function Fg(o){var u;function g(y){return isNaN(y=+y)?u:y}return g.invert=g,g.domain=g.range=function(y){return arguments.length?(o=p1.call(y,m1),g):o.slice()},g.unknown=function(y){return arguments.length?(u=y,g):u},g.copy=function(){return Fg(o).unknown(u)},o=arguments.length?p1.call(o,m1):[0,1],Fs(g)}function Pg(o,u){var g,y=0,w=(o=o.slice()).length-1,k=o[y],M=o[w];return M0){for(;atj)break;ht.push(Z)}}else for(;at=1;--G)if(!((Z=P*G)j)break;ht.push(Z)}}else ht=wt(at,it,Math.min(it-at,et)).map(g);return O?ht.reverse():ht},y.tickFormat=function(S,O){if(O==null&&(O=k===10?".0e":","),typeof O!="function"&&(O=md(O)),S===1/0)return O;S==null&&(S=10);var R=Math.max(1,k*S/y.ticks().length);return function(U){var j=U/g(Math.round(u(U)));return j*k0?y[S-1]:u[0],S=y?[w[y-1],g]:[w[R-1],w[R]]},M.unknown=function(O){return arguments.length&&(o=O),M},M.thresholds=function(){return w.slice()},M.copy=function(){return j_().domain([u,g]).range(k).unknown(o)},Fo.apply(Fs(M),arguments)}function z_(){var o,u=[.5],g=[0,1],y=1;function w(k){return k<=k?g[A(u,k,0,y)]:o}return w.domain=function(k){return arguments.length?(u=Xc.call(k),y=Math.min(u.length,g.length-1),w):u.slice()},w.range=function(k){return arguments.length?(g=Xc.call(k),y=Math.min(u.length,g.length-1),w):g.slice()},w.invertExtent=function(k){var M=g.indexOf(k);return[u[M-1],u[M]]},w.unknown=function(k){return arguments.length?(o=k,w):o},w.copy=function(){return z_().domain(u).range(g).unknown(o)},Fo.apply(w,arguments)}var b1=new Date,zg=new Date;function Bi(o,u,g,y){function w(k){return o(k=arguments.length===0?new Date:new Date(+k)),k}return w.floor=function(k){return o(k=new Date(+k)),k},w.ceil=function(k){return o(k=new Date(k-1)),u(k,1),o(k),k},w.round=function(k){var M=w(k),S=w.ceil(k);return k-M0))return R;do R.push(O=new Date(+k)),u(k,S),o(k);while(O=M)for(;o(M),!k(M);)M.setTime(M-1)},function(M,S){if(M>=M)if(S<0)for(;++S<=0;)for(;u(M,-1),!k(M););else for(;--S>=0;)for(;u(M,1),!k(M););})},g&&(w.count=function(k,M){return b1.setTime(+k),zg.setTime(+M),o(b1),o(zg),Math.floor(g(b1,zg))},w.every=function(k){return k=Math.floor(k),isFinite(k)&&k>0?k>1?w.filter(y?function(M){return y(M)%k==0}:function(M){return w.count(0,M)%k==0}):w:null}),w}var Hg=Bi(function(o){o.setMonth(0,1),o.setHours(0,0,0,0)},function(o,u){o.setFullYear(o.getFullYear()+u)},function(o,u){return u.getFullYear()-o.getFullYear()},function(o){return o.getFullYear()});Hg.every=function(o){return isFinite(o=Math.floor(o))&&o>0?Bi(function(u){u.setFullYear(Math.floor(u.getFullYear()/o)*o),u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,g){u.setFullYear(u.getFullYear()+g*o)}):null};const Qc=Hg;var Iw=Hg.range,us=Bi(function(o){o.setDate(1),o.setHours(0,0,0,0)},function(o,u){o.setMonth(o.getMonth()+u)},function(o,u){return u.getMonth()-o.getMonth()+12*(u.getFullYear()-o.getFullYear())},function(o){return o.getMonth()});const Wg=us;var Ps=us.range,w1=1e3,Jc=6e4,Qh=36e5,qg=864e5,Gg=6048e5;function tl(o){return Bi(function(u){u.setDate(u.getDate()-(u.getDay()+7-o)%7),u.setHours(0,0,0,0)},function(u,g){u.setDate(u.getDate()+7*g)},function(u,g){return(g-u-(g.getTimezoneOffset()-u.getTimezoneOffset())*Jc)/Gg})}var el=tl(0),lu=tl(1),x1=tl(2),H_=tl(3),Us=tl(4),uu=tl(5),Ys=tl(6),Vg=el.range,k1=lu.range,Zg=x1.range,Lw=H_.range,T1=Us.range,hu=uu.range,W_=Ys.range,Za=Bi(function(o){o.setHours(0,0,0,0)},function(o,u){o.setDate(o.getDate()+u)},function(o,u){return(u-o-(u.getTimezoneOffset()-o.getTimezoneOffset())*Jc)/qg},function(o){return o.getDate()-1});const ci=Za;var fu=Za.range,E1=Bi(function(o){o.setTime(o-o.getMilliseconds()-o.getSeconds()*w1-o.getMinutes()*Jc)},function(o,u){o.setTime(+o+u*Qh)},function(o,u){return(u-o)/Qh},function(o){return o.getHours()});const q_=E1;var Uo=E1.range,vc=Bi(function(o){o.setTime(o-o.getMilliseconds()-o.getSeconds()*w1)},function(o,u){o.setTime(+o+u*Jc)},function(o,u){return(u-o)/Jc},function(o){return o.getMinutes()});const Jh=vc;var S1=vc.range,A1=Bi(function(o){o.setTime(o-o.getMilliseconds())},function(o,u){o.setTime(+o+u*w1)},function(o,u){return(u-o)/w1},function(o){return o.getUTCSeconds()});const du=A1;var G_=A1.range,C1=Bi(function(){},function(o,u){o.setTime(+o+u)},function(o,u){return u-o});C1.every=function(o){return o=Math.floor(o),isFinite(o)&&o>0?o>1?Bi(function(u){u.setTime(Math.floor(u/o)*o)},function(u,g){u.setTime(+u+g*o)},function(u,g){return(g-u)/o}):C1:null};const pu=C1;var V_=C1.range;function nl(o){return Bi(function(u){u.setUTCDate(u.getUTCDate()-(u.getUTCDay()+7-o)%7),u.setUTCHours(0,0,0,0)},function(u,g){u.setUTCDate(u.getUTCDate()+7*g)},function(u,g){return(g-u)/Gg})}var tf=nl(0),bc=nl(1),Xg=nl(2),Z_=nl(3),wc=nl(4),Kg=nl(5),rl=nl(6),X_=tf.range,Rw=bc.range,K_=Xg.range,Q_=Z_.range,il=wc.range,M1=Kg.range,Bw=rl.range,Qg=Bi(function(o){o.setUTCHours(0,0,0,0)},function(o,u){o.setUTCDate(o.getUTCDate()+u)},function(o,u){return(u-o)/qg},function(o){return o.getUTCDate()-1});const Ei=Qg;var pr=Qg.range,Ae=Bi(function(o){o.setUTCMonth(0,1),o.setUTCHours(0,0,0,0)},function(o,u){o.setUTCFullYear(o.getUTCFullYear()+u)},function(o,u){return u.getUTCFullYear()-o.getUTCFullYear()},function(o){return o.getUTCFullYear()});Ae.every=function(o){return isFinite(o=Math.floor(o))&&o>0?Bi(function(u){u.setUTCFullYear(Math.floor(u.getUTCFullYear()/o)*o),u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,g){u.setUTCFullYear(u.getUTCFullYear()+g*o)}):null};const gi=Ae;var Jg=Ae.range;function ty(o){if(0<=o.y&&o.y<100){var u=new Date(-1,o.m,o.d,o.H,o.M,o.S,o.L);return u.setFullYear(o.y),u}return new Date(o.y,o.m,o.d,o.H,o.M,o.S,o.L)}function ey(o){if(0<=o.y&&o.y<100){var u=new Date(Date.UTC(-1,o.m,o.d,o.H,o.M,o.S,o.L));return u.setUTCFullYear(o.y),u}return new Date(Date.UTC(o.y,o.m,o.d,o.H,o.M,o.S,o.L))}function al(o,u,g){return{y:o,m:u,d:g,H:0,M:0,S:0,L:0}}function J_(o){var u=o.dateTime,g=o.date,y=o.time,w=o.periods,k=o.days,M=o.shortDays,S=o.months,O=o.shortMonths,R=ol(w),U=sl(w),j=ol(k),P=sl(k),G=ol(M),Z=sl(M),at=ol(S),it=sl(S),et=ol(O),ht=sl(O),lt={a:function(Ht){return M[Ht.getDay()]},A:function(Ht){return k[Ht.getDay()]},b:function(Ht){return O[Ht.getMonth()]},B:function(Ht){return S[Ht.getMonth()]},c:null,d:cl,e:cl,f:Wi,g:cy,G:rf,H:xc,I:cv,j:lv,L:ay,m:zw,M:Hw,p:function(Ht){return w[+(Ht.getHours()>=12)]},q:function(Ht){return 1+~~(Ht.getMonth()/3)},Q:vu,s:py,S:Ww,u:R1,U:oy,V:Xa,w:B1,W:uv,x:null,X:null,y:tr,Y:hv,Z:qi,"%":yv},_t={a:function(Ht){return M[Ht.getUTCDay()]},A:function(Ht){return k[Ht.getUTCDay()]},b:function(Ht){return O[Ht.getUTCMonth()]},B:function(Ht){return S[Ht.getUTCMonth()]},c:null,d:_u,e:_u,f:qw,g:fy,G:gv,H:F1,I:P1,j:fv,L:re,m:dv,M:U1,p:function(Ht){return w[+(Ht.getUTCHours()>=12)]},q:function(Ht){return 1+~~(Ht.getUTCMonth()/3)},Q:vu,s:py,S:ly,u:uy,U:hy,V:pv,w:Y1,W:af,x:null,X:null,y:of,Y:$1,Z:dy,"%":yv},zt={a:function(Ht,fe,mt){var Ct=G.exec(fe.slice(mt));return Ct?(Ht.w=Z[Ct[0].toLowerCase()],mt+Ct[0].length):-1},A:function(Ht,fe,mt){var Ct=j.exec(fe.slice(mt));return Ct?(Ht.w=P[Ct[0].toLowerCase()],mt+Ct[0].length):-1},b:function(Ht,fe,mt){var Ct=et.exec(fe.slice(mt));return Ct?(Ht.m=ht[Ct[0].toLowerCase()],mt+Ct[0].length):-1},B:function(Ht,fe,mt){var Ct=at.exec(fe.slice(mt));return Ct?(Ht.m=it[Ct[0].toLowerCase()],mt+Ct[0].length):-1},c:function(Ht,fe,mt){return ke(Ht,u,fe,mt)},d:D1,e:D1,f:ov,g:iy,G:nv,H:av,I:av,j:O1,L:jw,m:iv,M:I1,p:function(Ht,fe,mt){var Ct=R.exec(fe.slice(mt));return Ct?(Ht.p=U[Ct[0].toLowerCase()],mt+Ct[0].length):-1},q:rv,Q:L1,s:Yo,S:$w,u:mu,U:Pw,V:Uw,w:ry,W:Yw,x:function(Ht,fe,mt){return ke(Ht,g,fe,mt)},X:function(Ht,fe,mt){return ke(Ht,y,fe,mt)},y:iy,Y:nv,Z:po,"%":sv};function Kt(Ht,fe){return function(mt){var Ct,ce,ne,ue=[],Fe=-1,Xe=0,mn=Ht.length;for(mt instanceof Date||(mt=new Date(+mt));++Fe53)return null;"w"in ne||(ne.w=1),"Z"in ne?(ce=(Ct=ey(al(ne.y,0,1))).getUTCDay(),Ct=ce>4||ce===0?bc.ceil(Ct):bc(Ct),Ct=Ei.offset(Ct,7*(ne.V-1)),ne.y=Ct.getUTCFullYear(),ne.m=Ct.getUTCMonth(),ne.d=Ct.getUTCDate()+(ne.w+6)%7):(ce=(Ct=ty(al(ne.y,0,1))).getDay(),Ct=ce>4||ce===0?lu.ceil(Ct):lu(Ct),Ct=ci.offset(Ct,7*(ne.V-1)),ne.y=Ct.getFullYear(),ne.m=Ct.getMonth(),ne.d=Ct.getDate()+(ne.w+6)%7)}else("W"in ne||"U"in ne)&&("w"in ne||(ne.w="u"in ne?ne.u%7:"W"in ne?1:0),ce="Z"in ne?ey(al(ne.y,0,1)).getUTCDay():ty(al(ne.y,0,1)).getDay(),ne.m=0,ne.d="W"in ne?(ne.w+6)%7+7*ne.W-(ce+5)%7:ne.w+7*ne.U-(ce+6)%7);return"Z"in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,ey(ne)):ty(ne)}}function ke(Ht,fe,mt,Ct){for(var ce,ne,ue=0,Fe=fe.length,Xe=mt.length;ue=Xe)return-1;if((ce=fe.charCodeAt(ue++))===37){if(ce=fe.charAt(ue++),!(ne=zt[ce in ev?fe.charAt(ue++):ce])||(Ct=ne(Ht,mt,Ct))<0)return-1}else if(ce!=mt.charCodeAt(Ct++))return-1}return Ct}return lt.x=Kt(g,lt),lt.X=Kt(y,lt),lt.c=Kt(u,lt),_t.x=Kt(g,_t),_t.X=Kt(y,_t),_t.c=Kt(u,_t),{format:function(Ht){var fe=Kt(Ht+="",lt);return fe.toString=function(){return Ht},fe},parse:function(Ht){var fe=Vt(Ht+="",!1);return fe.toString=function(){return Ht},fe},utcFormat:function(Ht){var fe=Kt(Ht+="",_t);return fe.toString=function(){return Ht},fe},utcParse:function(Ht){var fe=Vt(Ht+="",!0);return fe.toString=function(){return Ht},fe}}}var gu,ef,tv,N1,nf,ev={"-":"",_:" ",0:"0"},Hi=/^\s*\d+/,ny=/^%/,Fw=/[\\^$*+?|[\]().{}]/g;function Ar(o,u,g){var y=o<0?"-":"",w=(y?-o:o)+"",k=w.length;return y+(k68?1900:2e3),g+y[0].length):-1}function po(o,u,g){var y=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(u.slice(g,g+6));return y?(o.Z=y[1]?0:-(y[2]+(y[3]||"00")),g+y[0].length):-1}function rv(o,u,g){var y=Hi.exec(u.slice(g,g+1));return y?(o.q=3*y[0]-3,g+y[0].length):-1}function iv(o,u,g){var y=Hi.exec(u.slice(g,g+2));return y?(o.m=y[0]-1,g+y[0].length):-1}function D1(o,u,g){var y=Hi.exec(u.slice(g,g+2));return y?(o.d=+y[0],g+y[0].length):-1}function O1(o,u,g){var y=Hi.exec(u.slice(g,g+3));return y?(o.m=0,o.d=+y[0],g+y[0].length):-1}function av(o,u,g){var y=Hi.exec(u.slice(g,g+2));return y?(o.H=+y[0],g+y[0].length):-1}function I1(o,u,g){var y=Hi.exec(u.slice(g,g+2));return y?(o.M=+y[0],g+y[0].length):-1}function $w(o,u,g){var y=Hi.exec(u.slice(g,g+2));return y?(o.S=+y[0],g+y[0].length):-1}function jw(o,u,g){var y=Hi.exec(u.slice(g,g+3));return y?(o.L=+y[0],g+y[0].length):-1}function ov(o,u,g){var y=Hi.exec(u.slice(g,g+6));return y?(o.L=Math.floor(y[0]/1e3),g+y[0].length):-1}function sv(o,u,g){var y=ny.exec(u.slice(g,g+1));return y?g+y[0].length:-1}function L1(o,u,g){var y=Hi.exec(u.slice(g));return y?(o.Q=+y[0],g+y[0].length):-1}function Yo(o,u,g){var y=Hi.exec(u.slice(g));return y?(o.s=+y[0],g+y[0].length):-1}function cl(o,u){return Ar(o.getDate(),u,2)}function xc(o,u){return Ar(o.getHours(),u,2)}function cv(o,u){return Ar(o.getHours()%12||12,u,2)}function lv(o,u){return Ar(1+ci.count(Qc(o),o),u,3)}function ay(o,u){return Ar(o.getMilliseconds(),u,3)}function Wi(o,u){return ay(o,u)+"000"}function zw(o,u){return Ar(o.getMonth()+1,u,2)}function Hw(o,u){return Ar(o.getMinutes(),u,2)}function Ww(o,u){return Ar(o.getSeconds(),u,2)}function R1(o){var u=o.getDay();return u===0?7:u}function oy(o,u){return Ar(el.count(Qc(o)-1,o),u,2)}function sy(o){var u=o.getDay();return u>=4||u===0?Us(o):Us.ceil(o)}function Xa(o,u){return o=sy(o),Ar(Us.count(Qc(o),o)+(Qc(o).getDay()===4),u,2)}function B1(o){return o.getDay()}function uv(o,u){return Ar(lu.count(Qc(o)-1,o),u,2)}function tr(o,u){return Ar(o.getFullYear()%100,u,2)}function cy(o,u){return Ar((o=sy(o)).getFullYear()%100,u,2)}function hv(o,u){return Ar(o.getFullYear()%1e4,u,4)}function rf(o,u){var g=o.getDay();return Ar((o=g>=4||g===0?Us(o):Us.ceil(o)).getFullYear()%1e4,u,4)}function qi(o){var u=o.getTimezoneOffset();return(u>0?"-":(u*=-1,"+"))+Ar(u/60|0,"0",2)+Ar(u%60,"0",2)}function _u(o,u){return Ar(o.getUTCDate(),u,2)}function F1(o,u){return Ar(o.getUTCHours(),u,2)}function P1(o,u){return Ar(o.getUTCHours()%12||12,u,2)}function fv(o,u){return Ar(1+Ei.count(gi(o),o),u,3)}function re(o,u){return Ar(o.getUTCMilliseconds(),u,3)}function qw(o,u){return re(o,u)+"000"}function dv(o,u){return Ar(o.getUTCMonth()+1,u,2)}function U1(o,u){return Ar(o.getUTCMinutes(),u,2)}function ly(o,u){return Ar(o.getUTCSeconds(),u,2)}function uy(o){var u=o.getUTCDay();return u===0?7:u}function hy(o,u){return Ar(tf.count(gi(o)-1,o),u,2)}function Si(o){var u=o.getUTCDay();return u>=4||u===0?wc(o):wc.ceil(o)}function pv(o,u){return o=Si(o),Ar(wc.count(gi(o),o)+(gi(o).getUTCDay()===4),u,2)}function Y1(o){return o.getUTCDay()}function af(o,u){return Ar(bc.count(gi(o)-1,o),u,2)}function of(o,u){return Ar(o.getUTCFullYear()%100,u,2)}function fy(o,u){return Ar((o=Si(o)).getUTCFullYear()%100,u,2)}function $1(o,u){return Ar(o.getUTCFullYear()%1e4,u,4)}function gv(o,u){var g=o.getUTCDay();return Ar((o=g>=4||g===0?wc(o):wc.ceil(o)).getUTCFullYear()%1e4,u,4)}function dy(){return"+0000"}function yv(){return"%"}function vu(o){return+o}function py(o){return Math.floor(+o/1e3)}function gy(o){return gu=J_(o),ef=gu.format,tv=gu.parse,N1=gu.utcFormat,nf=gu.utcParse,gu}gy({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 go=31536e6;function Gw(o){return new Date(o)}function sf(o){return o instanceof Date?+o:+new Date(+o)}function yy(o,u,g,y,w,k,M,S,O){var R=Rg(ta,ta),U=R.invert,j=R.domain,P=O(".%L"),G=O(":%S"),Z=O("%I:%M"),at=O("%I %p"),it=O("%a %d"),et=O("%b %d"),ht=O("%B"),lt=O("%Y"),_t=[[M,1,1e3],[M,5,5e3],[M,15,15e3],[M,30,3e4],[k,1,6e4],[k,5,3e5],[k,15,9e5],[k,30,18e5],[w,1,36e5],[w,3,108e5],[w,6,216e5],[w,12,432e5],[y,1,864e5],[y,2,1728e5],[g,1,6048e5],[u,1,2592e6],[u,3,7776e6],[o,1,go]];function zt(Vt){return(M(Vt)1)&&(o-=Math.floor(o));var u=Math.abs(o-.5);return n0.h=360*o-100,n0.s=1.5-1.5*u,n0.l=.8-.9*u,n0+""}var df=$i(),a4=Math.PI/3,$v=2*Math.PI/3;function jv(o){var u;return o=(.5-o)*Math.PI,df.r=255*(u=Math.sin(o))*u,df.g=255*(u=Math.sin(o+a4))*u,df.b=255*(u=Math.sin(o+$v))*u,df+""}function sr(o){return o=Math.max(0,Math.min(1,o)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+o*(1172.33-o*(10793.56-o*(33300.12-o*(38394.49-14825.05*o)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+o*(557.33+o*(1225.33-o*(3574.96-o*(1073.77+707.56*o)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+o*(3211.1-o*(15327.97-o*(27814-o*(22569.18-6838.66*o)))))))+")"}function r0(o){var u=o.length;return function(g){return o[Math.max(0,Math.min(u-1,Math.floor(g*u)))]}}const i0=r0(In("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var o4=r0(In("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Ka=r0(In("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),s4=r0(In("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function zv(o){return _r(ui(o).call(document.documentElement))}var c4=0;function Hv(){return new Oy}function Oy(){this._="@"+(++c4).toString(36)}function l4(o){return typeof o=="string"?new Nn([document.querySelectorAll(o)],[document.documentElement]):new Nn([o==null?[]:o],Xi)}function u4(o,u){u==null&&(u=ja().touches);for(var g=0,y=u?u.length:0,w=new Array(y);g1?0:o<-1?Hs:Math.acos(o)}function Gv(o){return o>=1?a0:o<=-1?-a0:Math.asin(o)}function Ly(o){return o.innerRadius}function Ry(o){return o.outerRadius}function o0(o){return o.startAngle}function ds(o){return o.endAngle}function By(o){return o&&o.padAngle}function Fy(o,u,g,y,w,k,M,S){var O=g-o,R=y-u,U=M-w,j=S-k,P=j*O-U*R;if(!(P*Pne*ne+ue*ue&&(ke=fe,Ht=mt),{cx:ke,cy:Ht,x01:-U,y01:-j,x11:ke*(w/zt-1),y11:Ht*(w/zt-1)}}function pf(){var o=Ly,u=Ry,g=lr(0),y=null,w=o0,k=ds,M=By,S=null;function O(){var R,U,j=+o.apply(this,arguments),P=+u.apply(this,arguments),G=w.apply(this,arguments)-a0,Z=k.apply(this,arguments)-a0,at=Wv(Z-G),it=Z>G;if(S||(S=R=Es()),Pna)if(at>Ws-na)S.moveTo(P*fl(G),P*Gi(G)),S.arc(0,0,P,G,Z,!it),j>na&&(S.moveTo(j*fl(Z),j*Gi(Z)),S.arc(0,0,j,Z,G,it));else{var et,ht,lt=G,_t=Z,zt=G,Kt=Z,Vt=at,ke=at,Ht=M.apply(this,arguments)/2,fe=Ht>na&&(y?+y.apply(this,arguments):Tu(j*j+P*P)),mt=Iy(Wv(P-j)/2,+g.apply(this,arguments)),Ct=mt,ce=mt;if(fe>na){var ne=Gv(fe/j*Gi(Ht)),ue=Gv(fe/P*Gi(Ht));(Vt-=2*ne)>na?(zt+=ne*=it?1:-1,Kt-=ne):(Vt=0,zt=Kt=(G+Z)/2),(ke-=2*ue)>na?(lt+=ue*=it?1:-1,_t-=ue):(ke=0,lt=_t=(G+Z)/2)}var Fe=P*fl(lt),Xe=P*Gi(lt),mn=j*fl(Kt),$n=j*Gi(Kt);if(mt>na){var cr,cn=P*fl(_t),ir=P*Gi(_t),Rn=j*fl(zt),Dn=j*Gi(zt);if(atna?ce>na?(et=Ec(Rn,Dn,Fe,Xe,P,ce,it),ht=Ec(cn,ir,mn,$n,P,ce,it),S.moveTo(et.cx+et.x01,et.cy+et.y01),cena&&Vt>na?Ct>na?(et=Ec(mn,$n,cn,ir,j,-Ct,it),ht=Ec(Fe,Xe,Rn,Dn,j,-Ct,it),S.lineTo(et.cx+et.x01,et.cy+et.y01),Ct=P;--G)S.point(ht[G],lt[G]);S.lineEnd(),S.areaEnd()}et&&(ht[j]=+o(Z,j,U),lt[j]=+g(Z,j,U),S.point(u?+u(Z,j,U):ht[j],y?+y(Z,j,U):lt[j]))}if(at)return S=null,at+""||null}function R(){return Sc().defined(w).curve(M).context(k)}return O.x=function(U){return arguments.length?(o=typeof U=="function"?U:lr(+U),u=null,O):o},O.x0=function(U){return arguments.length?(o=typeof U=="function"?U:lr(+U),O):o},O.x1=function(U){return arguments.length?(u=U==null?null:typeof U=="function"?U:lr(+U),O):u},O.y=function(U){return arguments.length?(g=typeof U=="function"?U:lr(+U),y=null,O):g},O.y0=function(U){return arguments.length?(g=typeof U=="function"?U:lr(+U),O):g},O.y1=function(U){return arguments.length?(y=U==null?null:typeof U=="function"?U:lr(+U),O):y},O.lineX0=O.lineY0=function(){return R().x(o).y(g)},O.lineY1=function(){return R().x(o).y(y)},O.lineX1=function(){return R().x(u).y(g)},O.defined=function(U){return arguments.length?(w=typeof U=="function"?U:lr(!!U),O):w},O.curve=function(U){return arguments.length?(M=U,k!=null&&(S=M(k)),O):M},O.context=function(U){return arguments.length?(U==null?k=S=null:S=M(k=U),O):k},O}function c0(o,u){return uo?1:u>=o?0:NaN}function mf(o){return o}function Uy(){var o=mf,u=c0,g=null,y=lr(0),w=lr(Ws),k=lr(0);function M(S){var O,R,U,j,P,G=S.length,Z=0,at=new Array(G),it=new Array(G),et=+y.apply(this,arguments),ht=Math.min(Ws,Math.max(-Ws,w.apply(this,arguments)-et)),lt=Math.min(Math.abs(ht)/G,k.apply(this,arguments)),_t=lt*(ht<0?-1:1);for(O=0;O0&&(Z+=P);for(u!=null?at.sort(function(zt,Kt){return u(it[zt],it[Kt])}):g!=null&&at.sort(function(zt,Kt){return g(S[zt],S[Kt])}),O=0,U=Z?(ht-G*_t)/Z:0;O0?P*U:0)+_t,it[R]={data:S[R],index:O,value:P,startAngle:et,endAngle:j,padAngle:lt};return it}return M.value=function(S){return arguments.length?(o=typeof S=="function"?S:lr(+S),M):o},M.sortValues=function(S){return arguments.length?(u=S,g=null,M):u},M.sort=function(S){return arguments.length?(g=S,u=null,M):g},M.startAngle=function(S){return arguments.length?(y=typeof S=="function"?S:lr(+S),M):y},M.endAngle=function(S){return arguments.length?(w=typeof S=="function"?S:lr(+S),M):w},M.padAngle=function(S){return arguments.length?(k=typeof S=="function"?S:lr(+S),M):k},M}s0.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(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._line?this._context.lineTo(o,u):this._context.moveTo(o,u);break;case 1:this._point=2;default:this._context.lineTo(o,u)}}};var l0=u0(Eu);function Yy(o){this._curve=o}function u0(o){function u(g){return new Yy(o(g))}return u._curve=o,u}function _f(o){var u=o.curve;return o.angle=o.x,delete o.x,o.radius=o.y,delete o.y,o.curve=function(g){return arguments.length?u(u0(g)):u()._curve},o}function h0(){return _f(Sc().curve(l0))}function $y(){var o=Py().curve(l0),u=o.curve,g=o.lineX0,y=o.lineX1,w=o.lineY0,k=o.lineY1;return o.angle=o.x,delete o.x,o.startAngle=o.x0,delete o.x0,o.endAngle=o.x1,delete o.x1,o.radius=o.y,delete o.y,o.innerRadius=o.y0,delete o.y0,o.outerRadius=o.y1,delete o.y1,o.lineStartAngle=function(){return _f(g())},delete o.lineX0,o.lineEndAngle=function(){return _f(y())},delete o.lineX1,o.lineInnerRadius=function(){return _f(w())},delete o.lineY0,o.lineOuterRadius=function(){return _f(k())},delete o.lineY1,o.curve=function(M){return arguments.length?u(u0(M)):u()._curve},o}function Su(o,u){return[(u=+u)*Math.cos(o-=Math.PI/2),u*Math.sin(o)]}Yy.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(o,u){this._curve.point(u*Math.sin(o),u*-Math.cos(o))}};var f0=Array.prototype.slice;function Au(o){return o.source}function Ci(o){return o.target}function d0(o){var u=Au,g=Ci,y=gf,w=yf,k=null;function M(){var S,O=f0.call(arguments),R=u.apply(this,O),U=g.apply(this,O);if(k||(k=S=Es()),o(k,+y.apply(this,(O[0]=R,O)),+w.apply(this,O),+y.apply(this,(O[0]=U,O)),+w.apply(this,O)),S)return k=null,S+""||null}return M.source=function(S){return arguments.length?(u=S,M):u},M.target=function(S){return arguments.length?(g=S,M):g},M.x=function(S){return arguments.length?(y=typeof S=="function"?S:lr(+S),M):y},M.y=function(S){return arguments.length?(w=typeof S=="function"?S:lr(+S),M):w},M.context=function(S){return arguments.length?(k=S==null?null:S,M):k},M}function Cu(o,u,g,y,w){o.moveTo(u,g),o.bezierCurveTo(u=(u+y)/2,g,u,w,y,w)}function Vv(o,u,g,y,w){o.moveTo(u,g),o.bezierCurveTo(u,g=(g+w)/2,y,g,y,w)}function Zv(o,u,g,y,w){var k=Su(u,g),M=Su(u,g=(g+w)/2),S=Su(y,g),O=Su(y,w);o.moveTo(k[0],k[1]),o.bezierCurveTo(M[0],M[1],S[0],S[1],O[0],O[1])}function Xv(){return d0(Cu)}function Mu(){return d0(Vv)}function Kv(){var o=d0(Zv);return o.angle=o.x,delete o.x,o.radius=o.y,delete o.y,o}const ps={draw:function(o,u){var g=Math.sqrt(u/Hs);o.moveTo(g,0),o.arc(0,0,g,0,Ws)}},Qa={draw:function(o,u){var g=Math.sqrt(u/5)/2;o.moveTo(-3*g,-g),o.lineTo(-g,-g),o.lineTo(-g,-3*g),o.lineTo(g,-3*g),o.lineTo(g,-g),o.lineTo(3*g,-g),o.lineTo(3*g,g),o.lineTo(g,g),o.lineTo(g,3*g),o.lineTo(-g,3*g),o.lineTo(-g,g),o.lineTo(-3*g,g),o.closePath()}};var Qv=Math.sqrt(1/3),f4=2*Qv;const xi={draw:function(o,u){var g=Math.sqrt(u/f4),y=g*Qv;o.moveTo(0,-g),o.lineTo(y,0),o.lineTo(0,g),o.lineTo(-y,0),o.closePath()}};var ca=Math.sin(Hs/10)/Math.sin(7*Hs/10),Pi=Math.sin(Ws/10)*ca,gs=-Math.cos(Ws/10)*ca;const jy={draw:function(o,u){var g=Math.sqrt(.8908130915292852*u),y=Pi*g,w=gs*g;o.moveTo(0,-g),o.lineTo(y,w);for(var k=1;k<5;++k){var M=Ws*k/5,S=Math.cos(M),O=Math.sin(M);o.lineTo(O*g,-S*g),o.lineTo(S*y-O*w,O*y+S*w)}o.closePath()}},p0={draw:function(o,u){var g=Math.sqrt(u),y=-g/2;o.rect(y,y,g,g)}};var g0=Math.sqrt(3);const vf={draw:function(o,u){var g=-Math.sqrt(u/(3*g0));o.moveTo(0,2*g),o.lineTo(-g0*g,-g),o.lineTo(g0*g,-g),o.closePath()}};var Ja=-.5,eo=Math.sqrt(3)/2,y0=1/Math.sqrt(12),Jv=3*(y0/2+1);const dl={draw:function(o,u){var g=Math.sqrt(u/Jv),y=g/2,w=g*y0,k=y,M=g*y0+g,S=-k,O=M;o.moveTo(y,w),o.lineTo(k,M),o.lineTo(S,O),o.lineTo(Ja*y-eo*w,eo*y+Ja*w),o.lineTo(Ja*k-eo*M,eo*k+Ja*M),o.lineTo(Ja*S-eo*O,eo*S+Ja*O),o.lineTo(Ja*y+eo*w,Ja*w-eo*y),o.lineTo(Ja*k+eo*M,Ja*M-eo*k),o.lineTo(Ja*S+eo*O,Ja*O-eo*S),o.closePath()}};var Nu=[ps,Qa,xi,p0,jy,vf,dl];function d4(){var o=lr(ps),u=lr(64),g=null;function y(){var w;if(g||(g=w=Es()),o.apply(this,arguments).draw(g,+u.apply(this,arguments)),w)return g=null,w+""||null}return y.type=function(w){return arguments.length?(o=typeof w=="function"?w:lr(w),y):o},y.size=function(w){return arguments.length?(u=typeof w=="function"?w:lr(+w),y):u},y.context=function(w){return arguments.length?(g=w==null?null:w,y):g},y}function qs(){}function zo(o,u,g){o._context.bezierCurveTo((2*o._x0+o._x1)/3,(2*o._y0+o._y1)/3,(o._x0+2*o._x1)/3,(o._y0+2*o._y1)/3,(o._x0+4*o._x1+u)/6,(o._y0+4*o._y1+g)/6)}function Zn(o){this._context=o}function tb(o){return new Zn(o)}function pl(o){this._context=o}function eb(o){return new pl(o)}function m0(o){this._context=o}function p4(o){return new m0(o)}function _0(o,u){this._basis=new Zn(o),this._beta=u}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:zo(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(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._line?this._context.lineTo(o,u):this._context.moveTo(o,u);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:zo(this,o,u)}this._x0=this._x1,this._x1=o,this._y0=this._y1,this._y1=u}},pl.prototype={areaStart:qs,areaEnd:qs,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(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._x2=o,this._y2=u;break;case 1:this._point=2,this._x3=o,this._y3=u;break;case 2:this._point=3,this._x4=o,this._y4=u,this._context.moveTo((this._x0+4*this._x1+o)/6,(this._y0+4*this._y1+u)/6);break;default:zo(this,o,u)}this._x0=this._x1,this._x1=o,this._y0=this._y1,this._y1=u}},m0.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(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var g=(this._x0+4*this._x1+o)/6,y=(this._y0+4*this._y1+u)/6;this._line?this._context.lineTo(g,y):this._context.moveTo(g,y);break;case 3:this._point=4;default:zo(this,o,u)}this._x0=this._x1,this._x1=o,this._y0=this._y1,this._y1=u}},_0.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var o=this._x,u=this._y,g=o.length-1;if(g>0)for(var y,w=o[0],k=u[0],M=o[g]-w,S=u[g]-k,O=-1;++O<=g;)y=O/g,this._basis.point(this._beta*o[O]+(1-this._beta)*(w+y*M),this._beta*u[O]+(1-this._beta)*(k+y*S));this._x=this._y=null,this._basis.lineEnd()},point:function(o,u){this._x.push(+o),this._y.push(+u)}};const nb=function o(u){function g(y){return u===1?new Zn(y):new _0(y,u)}return g.beta=function(y){return o(+y)},g}(.85);function bf(o,u,g){o._context.bezierCurveTo(o._x1+o._k*(o._x2-o._x0),o._y1+o._k*(o._y2-o._y0),o._x2+o._k*(o._x1-u),o._y2+o._k*(o._y1-g),o._x2,o._y2)}function v0(o,u){this._context=o,this._k=(1-u)/6}v0.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:bf(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._line?this._context.lineTo(o,u):this._context.moveTo(o,u);break;case 1:this._point=2,this._x1=o,this._y1=u;break;case 2:this._point=3;default:bf(this,o,u)}this._x0=this._x1,this._x1=this._x2,this._x2=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const rb=function o(u){function g(y){return new v0(y,u)}return g.tension=function(y){return o(+y)},g}(0);function b0(o,u){this._context=o,this._k=(1-u)/6}b0.prototype={areaStart:qs,areaEnd:qs,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(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._x3=o,this._y3=u;break;case 1:this._point=2,this._context.moveTo(this._x4=o,this._y4=u);break;case 2:this._point=3,this._x5=o,this._y5=u;break;default:bf(this,o,u)}this._x0=this._x1,this._x1=this._x2,this._x2=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const g4=function o(u){function g(y){return new b0(y,u)}return g.tension=function(y){return o(+y)},g}(0);function w0(o,u){this._context=o,this._k=(1-u)/6}w0.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(o,u){switch(o=+o,u=+u,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:bf(this,o,u)}this._x0=this._x1,this._x1=this._x2,this._x2=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const y4=function o(u){function g(y){return new w0(y,u)}return g.tension=function(y){return o(+y)},g}(0);function x0(o,u,g){var y=o._x1,w=o._y1,k=o._x2,M=o._y2;if(o._l01_a>na){var S=2*o._l01_2a+3*o._l01_a*o._l12_a+o._l12_2a,O=3*o._l01_a*(o._l01_a+o._l12_a);y=(y*S-o._x0*o._l12_2a+o._x2*o._l01_2a)/O,w=(w*S-o._y0*o._l12_2a+o._y2*o._l01_2a)/O}if(o._l23_a>na){var R=2*o._l23_2a+3*o._l23_a*o._l12_a+o._l12_2a,U=3*o._l23_a*(o._l23_a+o._l12_a);k=(k*R+o._x1*o._l23_2a-u*o._l12_2a)/U,M=(M*R+o._y1*o._l23_2a-g*o._l12_2a)/U}o._context.bezierCurveTo(y,w,k,M,o._x2,o._y2)}function ib(o,u){this._context=o,this._alpha=u}ib.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(o,u){if(o=+o,u=+u,this._point){var g=this._x2-o,y=this._y2-u;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(g*g+y*y,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(o,u):this._context.moveTo(o,u);break;case 1:this._point=2;break;case 2:this._point=3;default:x0(this,o,u)}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=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const ab=function o(u){function g(y){return u?new ib(y,u):new v0(y,0)}return g.alpha=function(y){return o(+y)},g}(.5);function wf(o,u){this._context=o,this._alpha=u}wf.prototype={areaStart:qs,areaEnd:qs,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(o,u){if(o=+o,u=+u,this._point){var g=this._x2-o,y=this._y2-u;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(g*g+y*y,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=o,this._y3=u;break;case 1:this._point=2,this._context.moveTo(this._x4=o,this._y4=u);break;case 2:this._point=3,this._x5=o,this._y5=u;break;default:x0(this,o,u)}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=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const zy=function o(u){function g(y){return u?new wf(y,u):new b0(y,0)}return g.alpha=function(y){return o(+y)},g}(.5);function k0(o,u){this._context=o,this._alpha=u}k0.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(o,u){if(o=+o,u=+u,this._point){var g=this._x2-o,y=this._y2-u;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(g*g+y*y,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:x0(this,o,u)}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=o,this._y0=this._y1,this._y1=this._y2,this._y2=u}};const Hy=function o(u){function g(y){return u?new k0(y,u):new w0(y,0)}return g.alpha=function(y){return o(+y)},g}(.5);function Gs(o){this._context=o}function Vs(o){return new Gs(o)}function ob(o){return o<0?-1:1}function xf(o,u,g){var y=o._x1-o._x0,w=u-o._x1,k=(o._y1-o._y0)/(y||w<0&&-0),M=(g-o._y1)/(w||y<0&&-0),S=(k*w+M*y)/(y+w);return(ob(k)+ob(M))*Math.min(Math.abs(k),Math.abs(M),.5*Math.abs(S))||0}function sb(o,u){var g=o._x1-o._x0;return g?(3*(o._y1-o._y0)/g-u)/2:u}function kf(o,u,g){var y=o._x0,w=o._y0,k=o._x1,M=o._y1,S=(k-y)/3;o._context.bezierCurveTo(y+S,w+S*u,k-S,M-S*g,k,M)}function ra(o){this._context=o}function Du(o){this._context=new Zs(o)}function Zs(o){this._context=o}function Tf(o){return new ra(o)}function Ou(o){return new Du(o)}function T0(o){this._context=o}function cb(o){var u,g,y=o.length-1,w=new Array(y),k=new Array(y),M=new Array(y);for(w[0]=0,k[0]=2,M[0]=o[0]+2*o[1],u=1;u=0;--u)w[u]=(M[u]-w[u+1])/k[u];for(k[y-1]=(o[y]+w[y-1])/2,u=0;u1)for(var g,y,w,k=1,M=o[u[0]],S=M.length;k=0;)g[u]=u;return g}function m4(o,u){return o[u]}function sn(){var o=lr([]),u=gl,g=Ho,y=m4;function w(k){var M,S,O=o.apply(this,arguments),R=k.length,U=O.length,j=new Array(U);for(M=0;M0){for(var g,y,w,k=0,M=o[0].length;k0)for(var g,y,w,k,M,S,O=0,R=o[u[0]].length;O0?(y[0]=k,y[1]=k+=w):w<0?(y[1]=M,y[0]=M+=w):(y[0]=0,y[1]=w)}function Ac(o,u){if((g=o.length)>0){for(var g,y=0,w=o[u[0]],k=w.length;y0&&(y=(g=o[u[0]]).length)>0){for(var g,y,w,k=0,M=1;Mk&&(k=u,y=g);return y}function qy(o){var u=o.map(Gy);return gl(o).sort(function(g,y){return u[g]-u[y]})}function Gy(o){for(var u,g=0,y=-1,w=o.length;++y=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(o,u){switch(o=+o,u=+u,this._point){case 0:this._point=1,this._line?this._context.lineTo(o,u):this._context.moveTo(o,u);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,u),this._context.lineTo(o,u);else{var g=this._x*(1-this._t)+o*this._t;this._context.lineTo(g,this._y),this._context.lineTo(g,u)}}this._x=o,this._y=u}};var Iu="%Y-%m-%dT%H:%M:%S.%LZ",yl=Date.prototype.toISOString?function(o){return o.toISOString()}:N1(Iu);const Af=yl;var db=+new Date("2000-01-01T00:00:00.000Z")?function(o){var u=new Date(o);return isNaN(u)?null:u}:nf(Iu);const pb=db;function Zy(o,u,g){var y=new Xt,w=u;return u==null?(y.restart(o,u,g),y):(u=+u,g=g==null?tt():+g,y.restart(function k(M){M+=w,y.restart(k,w+=u,g),o(M)},u,g),y)}function Xy(o){return function(){return o}}function gb(o){return o[0]}function yb(o){return o[1]}function E0(){this._=null}function Lu(o){o.U=o.C=o.L=o.R=o.P=o.N=null}function ml(o,u){var g=u,y=u.R,w=g.U;w?w.L===g?w.L=y:w.R=y:o._=y,y.U=w,g.U=y,g.R=y.L,g.R&&(g.R.U=g),y.L=g}function Cc(o,u){var g=u,y=u.L,w=g.U;w?w.L===g?w.L=y:w.R=y:o._=y,y.U=w,g.U=y,g.L=y.R,g.L&&(g.L.U=g),y.R=g}function Ky(o){for(;o.L;)o=o.L;return o}E0.prototype={constructor:E0,insert:function(o,u){var g,y,w;if(o){if(u.P=o,u.N=o.N,o.N&&(o.N.P=u),o.N=u,o.R){for(o=o.R;o.L;)o=o.L;o.L=u}else o.R=u;g=o}else this._?(o=Ky(this._),u.P=null,u.N=o,o.P=o.L=u,g=o):(u.P=u.N=null,this._=u,g=null);for(u.L=u.R=null,u.U=g,u.C=!0,o=u;g&&g.C;)g===(y=g.U).L?(w=y.R)&&w.C?(g.C=w.C=!1,y.C=!0,o=y):(o===g.R&&(ml(this,g),g=(o=g).U),g.C=!1,y.C=!0,Cc(this,y)):(w=y.L)&&w.C?(g.C=w.C=!1,y.C=!0,o=y):(o===g.L&&(Cc(this,g),g=(o=g).U),g.C=!1,y.C=!0,ml(this,y)),g=o.U;this._.C=!1},remove:function(o){o.N&&(o.N.P=o.P),o.P&&(o.P.N=o.N),o.N=o.P=null;var u,g,y,w=o.U,k=o.L,M=o.R;if(g=k?M?Ky(M):k:M,w?w.L===o?w.L=g:w.R=g:this._=g,k&&M?(y=g.C,g.C=o.C,g.L=k,k.U=g,g!==M?(w=g.U,g.U=o.U,o=g.R,w.L=o,g.R=M,M.U=g):(g.U=w,w=g,o=g.R)):(y=o.C,o=g),o&&(o.U=w),!y)if(o&&o.C)o.C=!1;else{do{if(o===this._)break;if(o===w.L){if((u=w.R).C&&(u.C=!1,w.C=!0,ml(this,w),u=w.R),u.L&&u.L.C||u.R&&u.R.C){u.R&&u.R.C||(u.L.C=!1,u.C=!0,Cc(this,u),u=w.R),u.C=w.C,w.C=u.R.C=!1,ml(this,w),o=this._;break}}else if((u=w.L).C&&(u.C=!1,w.C=!0,Cc(this,w),u=w.L),u.L&&u.L.C||u.R&&u.R.C){u.L&&u.L.C||(u.R.C=!1,u.C=!0,ml(this,u),u=w.L),u.C=w.C,w.C=u.L.C=!1,Cc(this,w),o=this._;break}u.C=!0,o=w,w=w.U}while(!o.C);o&&(o.C=!1)}}};const mb=E0;function Cf(o,u,g,y){var w=[null,null],k=la.push(w)-1;return w.left=o,w.right=u,g&&S0(w,o,u,g),y&&S0(w,u,o,y),no[o.index].halfedges.push(k),no[u.index].halfedges.push(k),w}function Mf(o,u,g){var y=[u,g];return y.left=o,y}function S0(o,u,g,y){o[0]||o[1]?o.left===g?o[1]=y:o[0]=y:(o[0]=y,o.left=u,o.right=g)}function Nf(o,u,g,y,w){var k,M=o[0],S=o[1],O=M[0],R=M[1],U=0,j=1,P=S[0]-O,G=S[1]-R;if(k=u-O,P||!(k>0)){if(k/=P,P<0){if(k0){if(k>j)return;k>U&&(U=k)}if(k=y-O,P||!(k<0)){if(k/=P,P<0){if(k>j)return;k>U&&(U=k)}else if(P>0){if(k0)){if(k/=G,G<0){if(k0){if(k>j)return;k>U&&(U=k)}if(k=w-R,G||!(k<0)){if(k/=G,G<0){if(k>j)return;k>U&&(U=k)}else if(G>0){if(k0||j<1)||(U>0&&(o[0]=[O+U*P,R+U*G]),j<1&&(o[1]=[O+j*P,R+j*G]),!0)}}}}}function b4(o,u,g,y,w){var k=o[1];if(k)return!0;var M,S,O=o[0],R=o.left,U=o.right,j=R[0],P=R[1],G=U[0],Z=U[1],at=(j+G)/2,it=(P+Z)/2;if(Z===P){if(at=y)return;if(j>G){if(O){if(O[1]>=w)return}else O=[at,g];k=[at,w]}else{if(O){if(O[1]1)if(j>G){if(O){if(O[1]>=w)return}else O=[(g-S)/M,g];k=[(w-S)/M,w]}else{if(O){if(O[1]=y)return}else O=[u,M*u+S];k=[y,M*y+S]}else{if(O){if(O[0]=-A4)){var G=O*O+R*R,Z=U*U+j*j,at=(j*G-R*Z)/P,it=(O*Z-U*G)/P,et=Jy.pop()||new x4;et.arc=o,et.site=w,et.x=at+M,et.y=(et.cy=it+S)+Math.sqrt(at*at+it*it),o.circle=et;for(var ht=null,lt=Df._;lt;)if(et.yRr)S=S.L;else{if(!((w=k-S4(S,M))>Rr)){y>-Rr?(u=S.P,g=S):w>-Rr?(u=S,g=S.N):u=g=S;break}if(!S.R){u=S;break}S=S.R}(function(zt){no[zt.index]={site:zt,halfedges:[]}})(o);var O=bb(o);if(Pu.insert(u,O),u||g){if(u===g)return Bu(u),g=bb(u.site),Pu.insert(O,g),O.edge=g.edge=Cf(u.site,O.site),Ru(u),void Ru(g);if(g){Bu(u),Bu(g);var R=u.site,U=R[0],j=R[1],P=o[0]-U,G=o[1]-j,Z=g.site,at=Z[0]-U,it=Z[1]-j,et=2*(P*it-G*at),ht=P*P+G*G,lt=at*at+it*it,_t=[(it*ht-G*lt)/et+U,(P*lt-at*ht)/et+j];S0(g.edge,R,Z,_t),O.edge=Cf(R,o,null,_t),g.edge=Cf(o,Z,null,_t),Ru(u),Ru(g)}else O.edge=Cf(u.site,O.site)}}function wb(o,u){var g=o.site,y=g[0],w=g[1],k=w-u;if(!k)return y;var M=o.P;if(!M)return-1/0;var S=(g=M.site)[0],O=g[1],R=O-u;if(!R)return S;var U=S-y,j=1/k-1/R,P=U/R;return j?(-P+Math.sqrt(P*P-2*j*(U*U/(-2*R)-O+R/2+w-k/2)))/j+y:(y+S)/2}function S4(o,u){var g=o.N;if(g)return wb(g,u);var y=o.site;return y[1]===u?y[0]:1/0}var Pu,no,Df,la,Rr=1e-6,A4=1e-12;function de(o,u,g){return(o[0]-g[0])*(u[1]-o[1])-(o[0]-u[0])*(g[1]-o[1])}function Qe(o,u){return u[1]-o[1]||u[0]-o[0]}function _l(o,u){var g,y,w,k=o.sort(Qe).pop();for(la=[],no=new Array(o.length),Pu=new mb,Df=new mb;;)if(w=Qy,k&&(!w||k[1]Rr||Math.abs(Z[0][1]-Z[1][1])>Rr)||delete la[at]})(M,S,O,R),function(U,j,P,G){var Z,at,it,et,ht,lt,_t,zt,Kt,Vt,ke,Ht,fe=no.length,mt=!0;for(Z=0;ZRr||Math.abs(Ht-Kt)>Rr)&&(ht.splice(et,0,la.push(Mf(it,Vt,Math.abs(ke-U)Rr?[U,Math.abs(zt-U)Rr?[Math.abs(Kt-G)Rr?[P,Math.abs(zt-P)Rr?[Math.abs(Kt-j)=S)return null;var O=o-w.site[0],R=u-w.site[1],U=O*O+R*R;do w=k.cells[y=M],M=null,w.halfedges.forEach(function(j){var P=k.edges[j],G=P.left;if(G!==w.site&&G||(G=P.right)){var Z=o-G[0],at=u-G[1],it=Z*Z+at*at;ity?(y+w)/2:Math.min(0,y)||Math.max(0,w),M>k?(k+M)/2:Math.min(0,k)||Math.max(0,M))}function M0(){var o,u,g=C4,y=Lf,w=C0,k=xb,M=e2,S=[0,1/0],O=[[-1/0,-1/0],[1/0,1/0]],R=250,U=l1,j=ln("start","zoom","end"),P=500,G=0;function Z(mt){mt.property("__zoom",Rf).on("wheel.zoom",zt).on("mousedown.zoom",Kt).on("dblclick.zoom",Vt).filter(M).on("touchstart.zoom",ke).on("touchmove.zoom",Ht).on("touchend.zoom touchcancel.zoom",fe).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function at(mt,Ct){return(Ct=Math.max(S[0],Math.min(S[1],Ct)))===mt.k?mt:new _s(Ct,mt.x,mt.y)}function it(mt,Ct,ce){var ne=Ct[0]-ce[0]*mt.k,ue=Ct[1]-ce[1]*mt.k;return ne===mt.x&&ue===mt.y?mt:new _s(mt.k,ne,ue)}function et(mt){return[(+mt[0][0]+ +mt[1][0])/2,(+mt[0][1]+ +mt[1][1])/2]}function ht(mt,Ct,ce){mt.on("start.zoom",function(){lt(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){lt(this,arguments).end()}).tween("zoom",function(){var ne=this,ue=arguments,Fe=lt(ne,ue),Xe=y.apply(ne,ue),mn=ce==null?et(Xe):typeof ce=="function"?ce.apply(ne,ue):ce,$n=Math.max(Xe[1][0]-Xe[0][0],Xe[1][1]-Xe[0][1]),cr=ne.__zoom,cn=typeof Ct=="function"?Ct.apply(ne,ue):Ct,ir=U(cr.invert(mn).concat($n/cr.k),cn.invert(mn).concat($n/cn.k));return function(Rn){if(Rn===1)Rn=cn;else{var Dn=ir(Rn),hr=$n/Dn[2];Rn=new _s(hr,mn[0]-Dn[0]*hr,mn[1]-Dn[1]*hr)}Fe.zoom(null,Rn)}})}function lt(mt,Ct,ce){return!ce&&mt.__zooming||new _t(mt,Ct)}function _t(mt,Ct){this.that=mt,this.args=Ct,this.active=0,this.extent=y.apply(mt,Ct),this.taps=0}function zt(){if(g.apply(this,arguments)){var mt=lt(this,arguments),Ct=this.__zoom,ce=Math.max(S[0],Math.min(S[1],Ct.k*Math.pow(2,k.apply(this,arguments)))),ne=ws(this);if(mt.wheel)mt.mouse[0][0]===ne[0]&&mt.mouse[0][1]===ne[1]||(mt.mouse[1]=Ct.invert(mt.mouse[0]=ne)),clearTimeout(mt.wheel);else{if(Ct.k===ce)return;mt.mouse=[ne,Ct.invert(ne)],ga(this),mt.start()}Wo(),mt.wheel=setTimeout(ue,150),mt.zoom("mouse",w(it(at(Ct,ce),mt.mouse[0],mt.mouse[1]),mt.extent,O))}function ue(){mt.wheel=null,mt.end()}}function Kt(){if(!u&&g.apply(this,arguments)){var mt=lt(this,arguments,!0),Ct=_r(kt.view).on("mousemove.zoom",Fe,!0).on("mouseup.zoom",Xe,!0),ce=ws(this),ne=kt.clientX,ue=kt.clientY;ni(kt.view),A0(),mt.mouse=[ce,this.__zoom.invert(ce)],ga(this),mt.start()}function Fe(){if(Wo(),!mt.moved){var mn=kt.clientX-ne,$n=kt.clientY-ue;mt.moved=mn*mn+$n*$n>G}mt.zoom("mouse",w(it(mt.that.__zoom,mt.mouse[0]=ws(mt.that),mt.mouse[1]),mt.extent,O))}function Xe(){Ct.on("mousemove.zoom mouseup.zoom",null),jr(kt.view,mt.moved),Wo(),mt.end()}}function Vt(){if(g.apply(this,arguments)){var mt=this.__zoom,Ct=ws(this),ce=mt.invert(Ct),ne=mt.k*(kt.shiftKey?.5:2),ue=w(it(at(mt,ne),Ct,ce),y.apply(this,arguments),O);Wo(),R>0?_r(this).transition().duration(R).call(ht,ue,Ct):_r(this).call(Z.transform,ue)}}function ke(){if(g.apply(this,arguments)){var mt,Ct,ce,ne,ue=kt.touches,Fe=ue.length,Xe=lt(this,arguments,kt.changedTouches.length===Fe);for(A0(),Ct=0;Ct{s.exports={graphlib:c(574),layout:c(8123),debug:c(7570),util:{time:c(1138).time,notime:c(1138).notime},version:c(8177)}},1207:(s,h,c)=>{var d=c(8436),f=c(4079);s.exports={run:function(v){var _=v.graph().acyclicer==="greedy"?f(v,function(T){return function(C){return T.edge(C).weight}}(v)):function(T){var C=[],A={},L={};return d.forEach(T.nodes(),function B(Y){d.has(L,Y)||(L[Y]=!0,A[Y]=!0,d.forEach(T.outEdges(Y),function(z){d.has(A,z.w)?C.push(z):B(z.w)}),delete A[Y])}),C}(v);d.forEach(_,function(T){var C=v.edge(T);v.removeEdge(T),C.forwardName=T.name,C.reversed=!0,v.setEdge(T.w,T.v,C,d.uniqueId("rev"))})},undo:function(v){d.forEach(v.edges(),function(_){var T=v.edge(_);if(T.reversed){v.removeEdge(_);var C=T.forwardName;delete T.reversed,delete T.forwardName,v.setEdge(_.w,_.v,T,C)}})}}},1133:(s,h,c)=>{var d=c(8436),f=c(1138);function v(_,T,C,A,L,B){var Y={width:0,height:0,rank:B,borderType:T},z=L[T][B-1],q=f.addDummyNode(_,"border",Y,C);L[T][B]=q,_.setParent(q,A),z&&_.setEdge(z,q,{weight:1})}s.exports=function(_){d.forEach(_.children(),function T(C){var A=_.children(C),L=_.node(C);if(A.length&&d.forEach(A,T),d.has(L,"minRank")){L.borderLeft=[],L.borderRight=[];for(var B=L.minRank,Y=L.maxRank+1;B{var d=c(8436);function f(C){d.forEach(C.nodes(),function(A){v(C.node(A))}),d.forEach(C.edges(),function(A){v(C.edge(A))})}function v(C){var A=C.width;C.width=C.height,C.height=A}function _(C){C.y=-C.y}function T(C){var A=C.x;C.x=C.y,C.y=A}s.exports={adjust:function(C){var A=C.graph().rankdir.toLowerCase();A!=="lr"&&A!=="rl"||f(C)},undo:function(C){var A=C.graph().rankdir.toLowerCase();A!=="bt"&&A!=="rl"||function(L){d.forEach(L.nodes(),function(B){_(L.node(B))}),d.forEach(L.edges(),function(B){var Y=L.edge(B);d.forEach(Y.points,_),d.has(Y,"y")&&_(Y)})}(C),A!=="lr"&&A!=="rl"||(function(L){d.forEach(L.nodes(),function(B){T(L.node(B))}),d.forEach(L.edges(),function(B){var Y=L.edge(B);d.forEach(Y.points,T),d.has(Y,"x")&&T(Y)})}(C),f(C))}}},7822:s=>{function h(){var f={};f._next=f._prev=f,this._sentinel=f}function c(f){f._prev._next=f._next,f._next._prev=f._prev,delete f._next,delete f._prev}function d(f,v){if(f!=="_next"&&f!=="_prev")return v}s.exports=h,h.prototype.dequeue=function(){var f=this._sentinel,v=f._prev;if(v!==f)return c(v),v},h.prototype.enqueue=function(f){var v=this._sentinel;f._prev&&f._next&&c(f),f._next=v._next,v._next._prev=f,v._next=f,f._prev=v},h.prototype.toString=function(){for(var f=[],v=this._sentinel,_=v._prev;_!==v;)f.push(JSON.stringify(_,d)),_=_._prev;return"["+f.join(", ")+"]"}},7570:(s,h,c)=>{var d=c(8436),f=c(1138),v=c(574).Graph;s.exports={debugOrdering:function(_){var T=f.buildLayerMatrix(_),C=new v({compound:!0,multigraph:!0}).setGraph({});return d.forEach(_.nodes(),function(A){C.setNode(A,{label:A}),C.setParent(A,"layer"+_.node(A).rank)}),d.forEach(_.edges(),function(A){C.setEdge(A.v,A.w,{},A.name)}),d.forEach(T,function(A,L){var B="layer"+L;C.setNode(B,{rank:"same"}),d.reduce(A,function(Y,z){return C.setEdge(Y,z,{style:"invis"}),z})}),C}}},574:(s,h,c)=>{var d;try{d=c(8282)}catch{}d||(d=window.graphlib),s.exports=d},4079:(s,h,c)=>{var d=c(8436),f=c(574).Graph,v=c(7822);s.exports=function(A,L){if(A.nodeCount()<=1)return[];var B=function(z,q){var V=new f,X=0,Q=0;d.forEach(z.nodes(),function(st){V.setNode(st,{v:st,in:0,out:0})}),d.forEach(z.edges(),function(st){var ut=V.edge(st.v,st.w)||0,At=q(st),rt=ut+At;V.setEdge(st.v,st.w,rt),Q=Math.max(Q,V.node(st.v).out+=At),X=Math.max(X,V.node(st.w).in+=At)});var ot=d.range(Q+X+3).map(function(){return new v}),nt=X+1;return d.forEach(V.nodes(),function(st){C(ot,nt,V.node(st))}),{graph:V,buckets:ot,zeroIdx:nt}}(A,L||_),Y=function(z,q,V){for(var X,Q=[],ot=q[q.length-1],nt=q[0];z.nodeCount();){for(;X=nt.dequeue();)T(z,q,V,X);for(;X=ot.dequeue();)T(z,q,V,X);if(z.nodeCount()){for(var st=q.length-2;st>0;--st)if(X=q[st].dequeue()){Q=Q.concat(T(z,q,V,X,!0));break}}}return Q}(B.graph,B.buckets,B.zeroIdx);return d.flatten(d.map(Y,function(z){return A.outEdges(z.v,z.w)}),!0)};var _=d.constant(1);function T(A,L,B,Y,z){var q=z?[]:void 0;return d.forEach(A.inEdges(Y.v),function(V){var X=A.edge(V),Q=A.node(V.v);z&&q.push({v:V.v,w:V.w}),Q.out-=X,C(L,B,Q)}),d.forEach(A.outEdges(Y.v),function(V){var X=A.edge(V),Q=V.w,ot=A.node(Q);ot.in-=X,C(L,B,ot)}),A.removeNode(Y.v),q}function C(A,L,B){B.out?B.in?A[B.out-B.in+L].enqueue(B):A[A.length-1].enqueue(B):A[0].enqueue(B)}},8123:(s,h,c)=>{var d=c(8436),f=c(1207),v=c(5995),_=c(8093),T=c(1138).normalizeRanks,C=c(4219),A=c(1138).removeEmptyRanks,L=c(2981),B=c(1133),Y=c(3258),z=c(3408),q=c(7873),V=c(1138),X=c(574).Graph;s.exports=function(wt,gt){var bt=gt&>.debugTiming?V.time:V.notime;bt("layout",function(){var Gt=bt(" buildLayoutGraph",function(){return function(Bt){var we=new X({multigraph:!0,compound:!0}),_e=xt(Bt.graph());return we.setGraph(d.merge({},ot,pt(_e,Q),d.pick(_e,nt))),d.forEach(Bt.nodes(),function(ge){var Ft=xt(Bt.node(ge));we.setNode(ge,d.defaults(pt(Ft,st),ut)),we.setParent(ge,Bt.parent(ge))}),d.forEach(Bt.edges(),function(ge){var Ft=xt(Bt.edge(ge));we.setEdge(ge,d.merge({},rt,pt(Ft,At),d.pick(Ft,J)))}),we}(wt)});bt(" runLayout",function(){(function(Bt,we){we(" makeSpaceForEdgeLabels",function(){(function(_e){var ge=_e.graph();ge.ranksep/=2,d.forEach(_e.edges(),function(Ft){var Jt=_e.edge(Ft);Jt.minlen*=2,Jt.labelpos.toLowerCase()!=="c"&&(ge.rankdir==="TB"||ge.rankdir==="BT"?Jt.width+=Jt.labeloffset:Jt.height+=Jt.labeloffset)})})(Bt)}),we(" removeSelfEdges",function(){(function(_e){d.forEach(_e.edges(),function(ge){if(ge.v===ge.w){var Ft=_e.node(ge.v);Ft.selfEdges||(Ft.selfEdges=[]),Ft.selfEdges.push({e:ge,label:_e.edge(ge)}),_e.removeEdge(ge)}})})(Bt)}),we(" acyclic",function(){f.run(Bt)}),we(" nestingGraph.run",function(){L.run(Bt)}),we(" rank",function(){_(V.asNonCompoundGraph(Bt))}),we(" injectEdgeLabelProxies",function(){(function(_e){d.forEach(_e.edges(),function(ge){var Ft=_e.edge(ge);if(Ft.width&&Ft.height){var Jt=_e.node(ge.v),le={rank:(_e.node(ge.w).rank-Jt.rank)/2+Jt.rank,e:ge};V.addDummyNode(_e,"edge-proxy",le,"_ep")}})})(Bt)}),we(" removeEmptyRanks",function(){A(Bt)}),we(" nestingGraph.cleanup",function(){L.cleanup(Bt)}),we(" normalizeRanks",function(){T(Bt)}),we(" assignRankMinMax",function(){(function(_e){var ge=0;d.forEach(_e.nodes(),function(Ft){var Jt=_e.node(Ft);Jt.borderTop&&(Jt.minRank=_e.node(Jt.borderTop).rank,Jt.maxRank=_e.node(Jt.borderBottom).rank,ge=d.max(ge,Jt.maxRank))}),_e.graph().maxRank=ge})(Bt)}),we(" removeEdgeLabelProxies",function(){(function(_e){d.forEach(_e.nodes(),function(ge){var Ft=_e.node(ge);Ft.dummy==="edge-proxy"&&(_e.edge(Ft.e).labelRank=Ft.rank,_e.removeNode(ge))})})(Bt)}),we(" normalize.run",function(){v.run(Bt)}),we(" parentDummyChains",function(){C(Bt)}),we(" addBorderSegments",function(){B(Bt)}),we(" order",function(){z(Bt)}),we(" insertSelfEdges",function(){(function(_e){var ge=V.buildLayerMatrix(_e);d.forEach(ge,function(Ft){var Jt=0;d.forEach(Ft,function(le,pe){var be=_e.node(le);be.order=pe+Jt,d.forEach(be.selfEdges,function(Pt){V.addDummyNode(_e,"selfedge",{width:Pt.label.width,height:Pt.label.height,rank:be.rank,order:pe+ ++Jt,e:Pt.e,label:Pt.label},"_se")}),delete be.selfEdges})})})(Bt)}),we(" adjustCoordinateSystem",function(){Y.adjust(Bt)}),we(" position",function(){q(Bt)}),we(" positionSelfEdges",function(){(function(_e){d.forEach(_e.nodes(),function(ge){var Ft=_e.node(ge);if(Ft.dummy==="selfedge"){var Jt=_e.node(Ft.e.v),le=Jt.x+Jt.width/2,pe=Jt.y,be=Ft.x-le,Pt=Jt.height/2;_e.setEdge(Ft.e,Ft.label),_e.removeNode(ge),Ft.label.points=[{x:le+2*be/3,y:pe-Pt},{x:le+5*be/6,y:pe-Pt},{x:le+be,y:pe},{x:le+5*be/6,y:pe+Pt},{x:le+2*be/3,y:pe+Pt}],Ft.label.x=Ft.x,Ft.label.y=Ft.y}})})(Bt)}),we(" removeBorderNodes",function(){(function(_e){d.forEach(_e.nodes(),function(ge){if(_e.children(ge).length){var Ft=_e.node(ge),Jt=_e.node(Ft.borderTop),le=_e.node(Ft.borderBottom),pe=_e.node(d.last(Ft.borderLeft)),be=_e.node(d.last(Ft.borderRight));Ft.width=Math.abs(be.x-pe.x),Ft.height=Math.abs(le.y-Jt.y),Ft.x=pe.x+Ft.width/2,Ft.y=Jt.y+Ft.height/2}}),d.forEach(_e.nodes(),function(ge){_e.node(ge).dummy==="border"&&_e.removeNode(ge)})})(Bt)}),we(" normalize.undo",function(){v.undo(Bt)}),we(" fixupEdgeLabelCoords",function(){(function(_e){d.forEach(_e.edges(),function(ge){var Ft=_e.edge(ge);if(d.has(Ft,"x"))switch(Ft.labelpos!=="l"&&Ft.labelpos!=="r"||(Ft.width-=Ft.labeloffset),Ft.labelpos){case"l":Ft.x-=Ft.width/2+Ft.labeloffset;break;case"r":Ft.x+=Ft.width/2+Ft.labeloffset}})})(Bt)}),we(" undoCoordinateSystem",function(){Y.undo(Bt)}),we(" translateGraph",function(){(function(_e){var ge=Number.POSITIVE_INFINITY,Ft=0,Jt=Number.POSITIVE_INFINITY,le=0,pe=_e.graph(),be=pe.marginx||0,Pt=pe.marginy||0;function Ze(ye){var Wt=ye.x,ie=ye.y,dt=ye.width,oe=ye.height;ge=Math.min(ge,Wt-dt/2),Ft=Math.max(Ft,Wt+dt/2),Jt=Math.min(Jt,ie-oe/2),le=Math.max(le,ie+oe/2)}d.forEach(_e.nodes(),function(ye){Ze(_e.node(ye))}),d.forEach(_e.edges(),function(ye){var Wt=_e.edge(ye);d.has(Wt,"x")&&Ze(Wt)}),ge-=be,Jt-=Pt,d.forEach(_e.nodes(),function(ye){var Wt=_e.node(ye);Wt.x-=ge,Wt.y-=Jt}),d.forEach(_e.edges(),function(ye){var Wt=_e.edge(ye);d.forEach(Wt.points,function(ie){ie.x-=ge,ie.y-=Jt}),d.has(Wt,"x")&&(Wt.x-=ge),d.has(Wt,"y")&&(Wt.y-=Jt)}),pe.width=Ft-ge+be,pe.height=le-Jt+Pt})(Bt)}),we(" assignNodeIntersects",function(){(function(_e){d.forEach(_e.edges(),function(ge){var Ft,Jt,le=_e.edge(ge),pe=_e.node(ge.v),be=_e.node(ge.w);le.points?(Ft=le.points[0],Jt=le.points[le.points.length-1]):(le.points=[],Ft=be,Jt=pe),le.points.unshift(V.intersectRect(pe,Ft)),le.points.push(V.intersectRect(be,Jt))})})(Bt)}),we(" reversePoints",function(){(function(_e){d.forEach(_e.edges(),function(ge){var Ft=_e.edge(ge);Ft.reversed&&Ft.points.reverse()})})(Bt)}),we(" acyclic.undo",function(){f.undo(Bt)})})(Gt,bt)}),bt(" updateInputGraph",function(){(function(Bt,we){d.forEach(Bt.nodes(),function(_e){var ge=Bt.node(_e),Ft=we.node(_e);ge&&(ge.x=Ft.x,ge.y=Ft.y,we.children(_e).length&&(ge.width=Ft.width,ge.height=Ft.height))}),d.forEach(Bt.edges(),function(_e){var ge=Bt.edge(_e),Ft=we.edge(_e);ge.points=Ft.points,d.has(Ft,"x")&&(ge.x=Ft.x,ge.y=Ft.y)}),Bt.graph().width=we.graph().width,Bt.graph().height=we.graph().height})(wt,Gt)})})};var Q=["nodesep","edgesep","ranksep","marginx","marginy"],ot={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},nt=["acyclicer","ranker","rankdir","align"],st=["width","height"],ut={width:0,height:0},At=["minlen","weight","width","height","labeloffset"],rt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},J=["labelpos"];function pt(wt,gt){return d.mapValues(d.pick(wt,gt),Number)}function xt(wt){var gt={};return d.forEach(wt,function(bt,Gt){gt[Gt.toLowerCase()]=bt}),gt}},8436:(s,h,c)=>{var d;try{d={cloneDeep:c(361),constant:c(5703),defaults:c(1747),each:c(6073),filter:c(3105),find:c(3311),flatten:c(5564),forEach:c(4486),forIn:c(2620),has:c(8721),isUndefined:c(2353),last:c(928),map:c(5161),mapValues:c(6604),max:c(6162),merge:c(3857),min:c(3632),minBy:c(2762),now:c(7771),pick:c(9722),range:c(6026),reduce:c(4061),sortBy:c(9734),uniqueId:c(3955),values:c(2628),zipObject:c(7287)}}catch{}d||(d=window._),s.exports=d},2981:(s,h,c)=>{var d=c(8436),f=c(1138);function v(_,T,C,A,L,B,Y){var z=_.children(Y);if(z.length){var q=f.addBorderNode(_,"_bt"),V=f.addBorderNode(_,"_bb"),X=_.node(Y);_.setParent(q,Y),X.borderTop=q,_.setParent(V,Y),X.borderBottom=V,d.forEach(z,function(Q){v(_,T,C,A,L,B,Q);var ot=_.node(Q),nt=ot.borderTop?ot.borderTop:Q,st=ot.borderBottom?ot.borderBottom:Q,ut=ot.borderTop?A:2*A,At=nt!==st?1:L-B[Y]+1;_.setEdge(q,nt,{weight:ut,minlen:At,nestingEdge:!0}),_.setEdge(st,V,{weight:ut,minlen:At,nestingEdge:!0})}),_.parent(Y)||_.setEdge(T,q,{weight:0,minlen:L+B[Y]})}else Y!==T&&_.setEdge(T,Y,{weight:0,minlen:C})}s.exports={run:function(_){var T=f.addDummyNode(_,"root",{},"_root"),C=function(Y){var z={};function q(V,X){var Q=Y.children(V);Q&&Q.length&&d.forEach(Q,function(ot){q(ot,X+1)}),z[V]=X}return d.forEach(Y.children(),function(V){q(V,1)}),z}(_),A=d.max(d.values(C))-1,L=2*A+1;_.graph().nestingRoot=T,d.forEach(_.edges(),function(Y){_.edge(Y).minlen*=L});var B=function(Y){return d.reduce(Y.edges(),function(z,q){return z+Y.edge(q).weight},0)}(_)+1;d.forEach(_.children(),function(Y){v(_,T,L,B,A,C,Y)}),_.graph().nodeRankFactor=L},cleanup:function(_){var T=_.graph();_.removeNode(T.nestingRoot),delete T.nestingRoot,d.forEach(_.edges(),function(C){_.edge(C).nestingEdge&&_.removeEdge(C)})}}},5995:(s,h,c)=>{var d=c(8436),f=c(1138);s.exports={run:function(v){v.graph().dummyChains=[],d.forEach(v.edges(),function(_){(function(T,C){var A,L,B,Y=C.v,z=T.node(Y).rank,q=C.w,V=T.node(q).rank,X=C.name,Q=T.edge(C),ot=Q.labelRank;if(V!==z+1){for(T.removeEdge(C),B=0,++z;z{var d=c(8436);s.exports=function(f,v,_){var T,C={};d.forEach(_,function(A){for(var L,B,Y=f.parent(A);Y;){if((L=f.parent(Y))?(B=C[L],C[L]=Y):(B=T,T=Y),B&&B!==Y)return void v.setEdge(B,Y);Y=L}})}},5439:(s,h,c)=>{var d=c(8436);s.exports=function(f,v){return d.map(v,function(_){var T=f.inEdges(_);if(T.length){var C=d.reduce(T,function(A,L){var B=f.edge(L),Y=f.node(L.v);return{sum:A.sum+B.weight*Y.order,weight:A.weight+B.weight}},{sum:0,weight:0});return{v:_,barycenter:C.sum/C.weight,weight:C.weight}}return{v:_}})}},3128:(s,h,c)=>{var d=c(8436),f=c(574).Graph;s.exports=function(v,_,T){var C=function(L){for(var B;L.hasNode(B=d.uniqueId("_root")););return B}(v),A=new f({compound:!0}).setGraph({root:C}).setDefaultNodeLabel(function(L){return v.node(L)});return d.forEach(v.nodes(),function(L){var B=v.node(L),Y=v.parent(L);(B.rank===_||B.minRank<=_&&_<=B.maxRank)&&(A.setNode(L),A.setParent(L,Y||C),d.forEach(v[T](L),function(z){var q=z.v===L?z.w:z.v,V=A.edge(q,L),X=d.isUndefined(V)?0:V.weight;A.setEdge(q,L,{weight:v.edge(z).weight+X})}),d.has(B,"minRank")&&A.setNode(L,{borderLeft:B.borderLeft[_],borderRight:B.borderRight[_]}))}),A}},6630:(s,h,c)=>{var d=c(8436);function f(v,_,T){for(var C=d.zipObject(T,d.map(T,function(q,V){return V})),A=d.flatten(d.map(_,function(q){return d.sortBy(d.map(v.outEdges(q),function(V){return{pos:C[V.w],weight:v.edge(V).weight}}),"pos")}),!0),L=1;L0;)V%2&&(X+=Y[V+1]),Y[V=V-1>>1]+=q.weight;z+=q.weight*X})),z}s.exports=function(v,_){for(var T=0,C=1;C<_.length;++C)T+=f(v,_[C-1],_[C]);return T}},3408:(s,h,c)=>{var d=c(8436),f=c(2588),v=c(6630),_=c(1026),T=c(3128),C=c(5093),A=c(574).Graph,L=c(1138);function B(q,V,X){return d.map(V,function(Q){return T(q,Q,X)})}function Y(q,V){var X=new A;d.forEach(q,function(Q){var ot=Q.graph().root,nt=_(Q,ot,X,V);d.forEach(nt.vs,function(st,ut){Q.node(st).order=ut}),C(Q,X,nt.vs)})}function z(q,V){d.forEach(V,function(X){d.forEach(X,function(Q,ot){q.node(Q).order=ot})})}s.exports=function(q){var V=L.maxRank(q),X=B(q,d.range(1,V+1),"inEdges"),Q=B(q,d.range(V-1,-1,-1),"outEdges"),ot=f(q);z(q,ot);for(var nt,st=Number.POSITIVE_INFINITY,ut=0,At=0;At<4;++ut,++At){Y(ut%2?X:Q,ut%4>=2),ot=L.buildLayerMatrix(q);var rt=v(q,ot);rt{var d=c(8436);s.exports=function(f){var v={},_=d.filter(f.nodes(),function(L){return!f.children(L).length}),T=d.max(d.map(_,function(L){return f.node(L).rank})),C=d.map(d.range(T+1),function(){return[]}),A=d.sortBy(_,function(L){return f.node(L).rank});return d.forEach(A,function L(B){if(!d.has(v,B)){v[B]=!0;var Y=f.node(B);C[Y.rank].push(B),d.forEach(f.successors(B),L)}}),C}},9567:(s,h,c)=>{var d=c(8436);s.exports=function(f,v){var _={};return d.forEach(f,function(T,C){var A=_[T.v]={indegree:0,in:[],out:[],vs:[T.v],i:C};d.isUndefined(T.barycenter)||(A.barycenter=T.barycenter,A.weight=T.weight)}),d.forEach(v.edges(),function(T){var C=_[T.v],A=_[T.w];d.isUndefined(C)||d.isUndefined(A)||(A.indegree++,C.out.push(_[T.w]))}),function(T){var C=[];function A(Y){return function(z){var q,V,X,Q;z.merged||(d.isUndefined(z.barycenter)||d.isUndefined(Y.barycenter)||z.barycenter>=Y.barycenter)&&(V=z,X=0,Q=0,(q=Y).weight&&(X+=q.barycenter*q.weight,Q+=q.weight),V.weight&&(X+=V.barycenter*V.weight,Q+=V.weight),q.vs=V.vs.concat(q.vs),q.barycenter=X/Q,q.weight=Q,q.i=Math.min(V.i,q.i),V.merged=!0)}}function L(Y){return function(z){z.in.push(Y),--z.indegree==0&&T.push(z)}}for(;T.length;){var B=T.pop();C.push(B),d.forEach(B.in.reverse(),A(B)),d.forEach(B.out,L(B))}return d.map(d.filter(C,function(Y){return!Y.merged}),function(Y){return d.pick(Y,["vs","i","barycenter","weight"])})}(d.filter(_,function(T){return!T.indegree}))}},1026:(s,h,c)=>{var d=c(8436),f=c(5439),v=c(9567),_=c(7304);s.exports=function T(C,A,L,B){var Y=C.children(A),z=C.node(A),q=z?z.borderLeft:void 0,V=z?z.borderRight:void 0,X={};q&&(Y=d.filter(Y,function(At){return At!==q&&At!==V}));var Q=f(C,Y);d.forEach(Q,function(At){if(C.children(At.v).length){var rt=T(C,At.v,L,B);X[At.v]=rt,d.has(rt,"barycenter")&&(J=At,pt=rt,d.isUndefined(J.barycenter)?(J.barycenter=pt.barycenter,J.weight=pt.weight):(J.barycenter=(J.barycenter*J.weight+pt.barycenter*pt.weight)/(J.weight+pt.weight),J.weight+=pt.weight))}var J,pt});var ot=v(Q,L);(function(At,rt){d.forEach(At,function(J){J.vs=d.flatten(J.vs.map(function(pt){return rt[pt]?rt[pt].vs:pt}),!0)})})(ot,X);var nt=_(ot,B);if(q&&(nt.vs=d.flatten([q,nt.vs,V],!0),C.predecessors(q).length)){var st=C.node(C.predecessors(q)[0]),ut=C.node(C.predecessors(V)[0]);d.has(nt,"barycenter")||(nt.barycenter=0,nt.weight=0),nt.barycenter=(nt.barycenter*nt.weight+st.order+ut.order)/(nt.weight+2),nt.weight+=2}return nt}},7304:(s,h,c)=>{var d=c(8436),f=c(1138);function v(_,T,C){for(var A;T.length&&(A=d.last(T)).i<=C;)T.pop(),_.push(A.vs),C++;return C}s.exports=function(_,T){var C,A=f.partition(_,function(Q){return d.has(Q,"barycenter")}),L=A.lhs,B=d.sortBy(A.rhs,function(Q){return-Q.i}),Y=[],z=0,q=0,V=0;L.sort((C=!!T,function(Q,ot){return Q.barycenterot.barycenter?1:C?ot.i-Q.i:Q.i-ot.i})),V=v(Y,B,V),d.forEach(L,function(Q){V+=Q.vs.length,Y.push(Q.vs),z+=Q.barycenter*Q.weight,q+=Q.weight,V=v(Y,B,V)});var X={vs:d.flatten(Y,!0)};return q&&(X.barycenter=z/q,X.weight=q),X}},4219:(s,h,c)=>{var d=c(8436);s.exports=function(f){var v=function(_){var T={},C=0;return d.forEach(_.children(),function A(L){var B=C;d.forEach(_.children(L),A),T[L]={low:B,lim:C++}}),T}(f);d.forEach(f.graph().dummyChains,function(_){for(var T=f.node(_),C=T.edgeObj,A=function(V,X,Q,ot){var nt,st,ut=[],At=[],rt=Math.min(X[Q].low,X[ot].low),J=Math.max(X[Q].lim,X[ot].lim);nt=Q;do nt=V.parent(nt),ut.push(nt);while(nt&&(X[nt].low>rt||J>X[nt].lim));for(st=nt,nt=ot;(nt=V.parent(nt))!==st;)At.push(nt);return{path:ut.concat(At.reverse()),lca:st}}(f,v,C.v,C.w),L=A.path,B=A.lca,Y=0,z=L[Y],q=!0;_!==C.w;){if(T=f.node(_),q){for(;(z=L[Y])!==B&&f.node(z).maxRank{var d=c(8436),f=c(574).Graph,v=c(1138);function _(V,X){var Q={};return d.reduce(X,function(ot,nt){var st=0,ut=0,At=ot.length,rt=d.last(nt);return d.forEach(nt,function(J,pt){var xt=function(gt,bt){if(gt.node(bt).dummy)return d.find(gt.predecessors(bt),function(Gt){return gt.node(Gt).dummy})}(V,J),wt=xt?V.node(xt).order:At;(xt||J===rt)&&(d.forEach(nt.slice(ut,pt+1),function(gt){d.forEach(V.predecessors(gt),function(bt){var Gt=V.node(bt),Bt=Gt.order;!(Btrt)&&C(Q,xt,J)})})}return d.reduce(X,function(nt,st){var ut,At=-1,rt=0;return d.forEach(st,function(J,pt){if(V.node(J).dummy==="border"){var xt=V.predecessors(J);xt.length&&(ut=V.node(xt[0]).order,ot(st,rt,pt,At,ut),rt=pt,At=ut)}ot(st,rt,st.length,ut,nt.length)}),st}),Q}function C(V,X,Q){if(X>Q){var ot=X;X=Q,Q=ot}var nt=V[X];nt||(V[X]=nt={}),nt[Q]=!0}function A(V,X,Q){if(X>Q){var ot=X;X=Q,Q=ot}return d.has(V[X],Q)}function L(V,X,Q,ot){var nt={},st={},ut={};return d.forEach(X,function(At){d.forEach(At,function(rt,J){nt[rt]=rt,st[rt]=rt,ut[rt]=J})}),d.forEach(X,function(At){var rt=-1;d.forEach(At,function(J){var pt=ot(J);if(pt.length){pt=d.sortBy(pt,function(Gt){return ut[Gt]});for(var xt=(pt.length-1)/2,wt=Math.floor(xt),gt=Math.ceil(xt);wt<=gt;++wt){var bt=pt[wt];st[J]===J&&rt{var d=c(8436),f=c(1138),v=c(3573).positionX;s.exports=function(_){(function(T){var C=f.buildLayerMatrix(T),A=T.graph().ranksep,L=0;d.forEach(C,function(B){var Y=d.max(d.map(B,function(z){return T.node(z).height}));d.forEach(B,function(z){T.node(z).y=L+Y/2}),L+=Y+A})})(_=f.asNonCompoundGraph(_)),d.forEach(v(_),function(T,C){_.node(C).x=T})}},300:(s,h,c)=>{var d=c(8436),f=c(574).Graph,v=c(6681).slack;function _(A,L){return d.forEach(A.nodes(),function B(Y){d.forEach(L.nodeEdges(Y),function(z){var q=z.v,V=Y===q?z.w:q;A.hasNode(V)||v(L,z)||(A.setNode(V,{}),A.setEdge(Y,V,{}),B(V))})}),A.nodeCount()}function T(A,L){return d.minBy(L.edges(),function(B){if(A.hasNode(B.v)!==A.hasNode(B.w))return v(L,B)})}function C(A,L,B){d.forEach(A.nodes(),function(Y){L.node(Y).rank+=B})}s.exports=function(A){var L,B,Y=new f({directed:!1}),z=A.nodes()[0],q=A.nodeCount();for(Y.setNode(z,{});_(Y,A){var d=c(6681).longestPath,f=c(300),v=c(2472);s.exports=function(T){switch(T.graph().ranker){case"network-simplex":default:(function(C){v(C)})(T);break;case"tight-tree":(function(C){d(C),f(C)})(T);break;case"longest-path":_(T)}};var _=d},2472:(s,h,c)=>{var d=c(8436),f=c(300),v=c(6681).slack,_=c(6681).longestPath,T=c(574).alg.preorder,C=c(574).alg.postorder,A=c(1138).simplify;function L(nt){nt=A(nt),_(nt);var st,ut=f(nt);for(z(ut),B(ut,nt);st=V(ut);)Q(ut,nt,st,X(ut,nt,st))}function B(nt,st){var ut=C(nt,nt.nodes());ut=ut.slice(0,ut.length-1),d.forEach(ut,function(At){(function(rt,J,pt){var xt=rt.node(pt).parent;rt.edge(pt,xt).cutvalue=Y(rt,J,pt)})(nt,st,At)})}function Y(nt,st,ut){var At=nt.node(ut).parent,rt=!0,J=st.edge(ut,At),pt=0;return J||(rt=!1,J=st.edge(At,ut)),pt=J.weight,d.forEach(st.nodeEdges(ut),function(xt){var wt,gt,bt=xt.v===ut,Gt=bt?xt.w:xt.v;if(Gt!==At){var Bt=bt===rt,we=st.edge(xt).weight;if(pt+=Bt?we:-we,wt=ut,gt=Gt,nt.hasEdge(wt,gt)){var _e=nt.edge(ut,Gt).cutvalue;pt+=Bt?-_e:_e}}}),pt}function z(nt,st){arguments.length<2&&(st=nt.nodes()[0]),q(nt,{},1,st)}function q(nt,st,ut,At,rt){var J=ut,pt=nt.node(At);return st[At]=!0,d.forEach(nt.neighbors(At),function(xt){d.has(st,xt)||(ut=q(nt,st,ut,xt,At))}),pt.low=J,pt.lim=ut++,rt?pt.parent=rt:delete pt.parent,ut}function V(nt){return d.find(nt.edges(),function(st){return nt.edge(st).cutvalue<0})}function X(nt,st,ut){var At=ut.v,rt=ut.w;st.hasEdge(At,rt)||(At=ut.w,rt=ut.v);var J=nt.node(At),pt=nt.node(rt),xt=J,wt=!1;J.lim>pt.lim&&(xt=pt,wt=!0);var gt=d.filter(st.edges(),function(bt){return wt===ot(0,nt.node(bt.v),xt)&&wt!==ot(0,nt.node(bt.w),xt)});return d.minBy(gt,function(bt){return v(st,bt)})}function Q(nt,st,ut,At){var rt=ut.v,J=ut.w;nt.removeEdge(rt,J),nt.setEdge(At.v,At.w,{}),z(nt),B(nt,st),function(pt,xt){var wt=d.find(pt.nodes(),function(bt){return!xt.node(bt).parent}),gt=T(pt,wt);gt=gt.slice(1),d.forEach(gt,function(bt){var Gt=pt.node(bt).parent,Bt=xt.edge(bt,Gt),we=!1;Bt||(Bt=xt.edge(Gt,bt),we=!0),xt.node(bt).rank=xt.node(Gt).rank+(we?Bt.minlen:-Bt.minlen)})}(nt,st)}function ot(nt,st,ut){return ut.low<=st.lim&&st.lim<=ut.lim}s.exports=L,L.initLowLimValues=z,L.initCutValues=B,L.calcCutValue=Y,L.leaveEdge=V,L.enterEdge=X,L.exchangeEdges=Q},6681:(s,h,c)=>{var d=c(8436);s.exports={longestPath:function(f){var v={};d.forEach(f.sources(),function _(T){var C=f.node(T);if(d.has(v,T))return C.rank;v[T]=!0;var A=d.min(d.map(f.outEdges(T),function(L){return _(L.w)-f.edge(L).minlen}));return A!==Number.POSITIVE_INFINITY&&A!=null||(A=0),C.rank=A})},slack:function(f,v){return f.node(v.w).rank-f.node(v.v).rank-f.edge(v).minlen}}},1138:(s,h,c)=>{var d=c(8436),f=c(574).Graph;function v(T,C,A,L){var B;do B=d.uniqueId(L);while(T.hasNode(B));return A.dummy=C,T.setNode(B,A),B}function _(T){return d.max(d.map(T.nodes(),function(C){var A=T.node(C).rank;if(!d.isUndefined(A))return A}))}s.exports={addDummyNode:v,simplify:function(T){var C=new f().setGraph(T.graph());return d.forEach(T.nodes(),function(A){C.setNode(A,T.node(A))}),d.forEach(T.edges(),function(A){var L=C.edge(A.v,A.w)||{weight:0,minlen:1},B=T.edge(A);C.setEdge(A.v,A.w,{weight:L.weight+B.weight,minlen:Math.max(L.minlen,B.minlen)})}),C},asNonCompoundGraph:function(T){var C=new f({multigraph:T.isMultigraph()}).setGraph(T.graph());return d.forEach(T.nodes(),function(A){T.children(A).length||C.setNode(A,T.node(A))}),d.forEach(T.edges(),function(A){C.setEdge(A,T.edge(A))}),C},successorWeights:function(T){var C=d.map(T.nodes(),function(A){var L={};return d.forEach(T.outEdges(A),function(B){L[B.w]=(L[B.w]||0)+T.edge(B).weight}),L});return d.zipObject(T.nodes(),C)},predecessorWeights:function(T){var C=d.map(T.nodes(),function(A){var L={};return d.forEach(T.inEdges(A),function(B){L[B.v]=(L[B.v]||0)+T.edge(B).weight}),L});return d.zipObject(T.nodes(),C)},intersectRect:function(T,C){var A,L,B=T.x,Y=T.y,z=C.x-B,q=C.y-Y,V=T.width/2,X=T.height/2;if(!z&&!q)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(q)*V>Math.abs(z)*X?(q<0&&(X=-X),A=X*z/q,L=X):(z<0&&(V=-V),A=V,L=V*q/z),{x:B+A,y:Y+L}},buildLayerMatrix:function(T){var C=d.map(d.range(_(T)+1),function(){return[]});return d.forEach(T.nodes(),function(A){var L=T.node(A),B=L.rank;d.isUndefined(B)||(C[B][L.order]=A)}),C},normalizeRanks:function(T){var C=d.min(d.map(T.nodes(),function(A){return T.node(A).rank}));d.forEach(T.nodes(),function(A){var L=T.node(A);d.has(L,"rank")&&(L.rank-=C)})},removeEmptyRanks:function(T){var C=d.min(d.map(T.nodes(),function(Y){return T.node(Y).rank})),A=[];d.forEach(T.nodes(),function(Y){var z=T.node(Y).rank-C;A[z]||(A[z]=[]),A[z].push(Y)});var L=0,B=T.graph().nodeRankFactor;d.forEach(A,function(Y,z){d.isUndefined(Y)&&z%B!=0?--L:L&&d.forEach(Y,function(q){T.node(q).rank+=L})})},addBorderNode:function(T,C,A,L){var B={width:0,height:0};return arguments.length>=4&&(B.rank=A,B.order=L),v(T,"border",B,C)},maxRank:_,partition:function(T,C){var A={lhs:[],rhs:[]};return d.forEach(T,function(L){C(L)?A.lhs.push(L):A.rhs.push(L)}),A},time:function(T,C){var A=d.now();try{return C()}finally{console.log(T+" time: "+(d.now()-A)+"ms")}},notime:function(T,C){return C()}}},8177:s=>{s.exports="0.8.5"},7856:function(s){s.exports=function(){var h=Object.hasOwnProperty,c=Object.setPrototypeOf,d=Object.isFrozen,f=Object.getPrototypeOf,v=Object.getOwnPropertyDescriptor,_=Object.freeze,T=Object.seal,C=Object.create,A=typeof Reflect!="undefined"&&Reflect,L=A.apply,B=A.construct;L||(L=function(Zt,Rt,he){return Zt.apply(Rt,he)}),_||(_=function(Zt){return Zt}),T||(T=function(Zt){return Zt}),B||(B=function(Zt,Rt){return new(Function.prototype.bind.apply(Zt,[null].concat(function(he){if(Array.isArray(he)){for(var an=0,xe=Array(he.length);an1?he-1:0),xe=1;xe/gm),Pt=T(/^data-[\-\w.\u00B7-\uFFFF]/),Ze=T(/^aria-[\-\w]+$/),ye=T(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wt=T(/^(?:\w+script|data):/i),ie=T(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Zt){return typeof Zt}:function(Zt){return Zt&&typeof Symbol=="function"&&Zt.constructor===Symbol&&Zt!==Symbol.prototype?"symbol":typeof Zt};function oe(Zt){if(Array.isArray(Zt)){for(var Rt=0,he=Array(Zt.length);Rt0&&arguments[0]!==void 0?arguments[0]:Lt(),he=function(Ut){return Zt(Ut)};if(he.version="2.3.5",he.removed=[],!Rt||!Rt.document||Rt.document.nodeType!==9)return he.isSupported=!1,he;var an=Rt.document,xe=Rt.document,Re=Rt.DocumentFragment,pn=Rt.HTMLTemplateElement,Je=Rt.Node,Ue=Rt.Element,Oe=Rt.NodeFilter,on=Rt.NamedNodeMap,qe=on===void 0?Rt.NamedNodeMap||Rt.MozNamedAttrMap:on,tn=Rt.HTMLFormElement,en=Rt.DOMParser,Pe=Rt.trustedTypes,Hn=Ue.prototype,Ie=xt(Hn,"cloneNode"),ln=xt(Hn,"nextSibling"),xn=xt(Hn,"childNodes"),Br=xt(Hn,"parentNode");if(typeof pn=="function"){var kn=xe.createElement("template");kn.content&&kn.content.ownerDocument&&(xe=kn.content.ownerDocument)}var nr=te(Pe,an),fn=nr?nr.createHTML(""):"",vn=xe,nn=vn.implementation,Cn=vn.createNodeIterator,Sn=vn.createDocumentFragment,Wn=vn.getElementsByTagName,qn=an.importNode,Nr={};try{Nr=pt(xe).documentMode?xe.documentMode:{}}catch{}var An={};he.isSupported=typeof Br=="function"&&nn&&nn.createHTMLDocument!==void 0&&Nr!==9;var Vn=pe,jn=be,Xn=Pt,Kn=Ze,rr=Wt,On=ie,Pn=ye,dn=null,zn=J({},[].concat(oe(wt),oe(gt),oe(bt),oe(Bt),oe(_e))),wn=null,ai=J({},[].concat(oe(ge),oe(Ft),oe(Jt),oe(le))),mr=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}})),Ui=null,Un=null,vo=!0,ua=!0,oi=!1,Fr=!1,$r=!1,Xr=!1,Jr=!1,Dr=!1,ti=!1,Pr=!1,Ni=!0,li=!0,ar=!1,Vr={},ha=null,ei=J({},["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"]),fa=null,oo=J({},["audio","video","img","source","image","track"]),ui=null,un=J({},["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",Ye="http://www.w3.org/1999/xhtml",Jn=Ye,kt=!1,Kr=void 0,ee=["application/xhtml+xml","text/html"],Di="text/html",Zi=void 0,Fa=null,so=xe.createElement("form"),bo=function(Ut){return Ut instanceof RegExp||Ut instanceof Function},wo=function(Ut){Fa&&Fa===Ut||(Ut&&(Ut===void 0?"undefined":dt(Ut))==="object"||(Ut={}),Ut=pt(Ut),dn="ALLOWED_TAGS"in Ut?J({},Ut.ALLOWED_TAGS):zn,wn="ALLOWED_ATTR"in Ut?J({},Ut.ALLOWED_ATTR):ai,ui="ADD_URI_SAFE_ATTR"in Ut?J(pt(un),Ut.ADD_URI_SAFE_ATTR):un,fa="ADD_DATA_URI_TAGS"in Ut?J(pt(oo),Ut.ADD_DATA_URI_TAGS):oo,ha="FORBID_CONTENTS"in Ut?J({},Ut.FORBID_CONTENTS):ei,Ui="FORBID_TAGS"in Ut?J({},Ut.FORBID_TAGS):{},Un="FORBID_ATTR"in Ut?J({},Ut.FORBID_ATTR):{},Vr="USE_PROFILES"in Ut&&Ut.USE_PROFILES,vo=Ut.ALLOW_ARIA_ATTR!==!1,ua=Ut.ALLOW_DATA_ATTR!==!1,oi=Ut.ALLOW_UNKNOWN_PROTOCOLS||!1,Fr=Ut.SAFE_FOR_TEMPLATES||!1,$r=Ut.WHOLE_DOCUMENT||!1,Dr=Ut.RETURN_DOM||!1,ti=Ut.RETURN_DOM_FRAGMENT||!1,Pr=Ut.RETURN_TRUSTED_TYPE||!1,Jr=Ut.FORCE_BODY||!1,Ni=Ut.SANITIZE_DOM!==!1,li=Ut.KEEP_CONTENT!==!1,ar=Ut.IN_PLACE||!1,Pn=Ut.ALLOWED_URI_REGEXP||Pn,Jn=Ut.NAMESPACE||Ye,Ut.CUSTOM_ELEMENT_HANDLING&&bo(Ut.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mr.tagNameCheck=Ut.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ut.CUSTOM_ELEMENT_HANDLING&&bo(Ut.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mr.attributeNameCheck=Ut.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ut.CUSTOM_ELEMENT_HANDLING&&typeof Ut.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(mr.allowCustomizedBuiltInElements=Ut.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Kr=Kr=ee.indexOf(Ut.PARSER_MEDIA_TYPE)===-1?Di:Ut.PARSER_MEDIA_TYPE,Zi=Kr==="application/xhtml+xml"?function(Ge){return Ge}:X,Fr&&(ua=!1),ti&&(Dr=!0),Vr&&(dn=J({},[].concat(oe(_e))),wn=[],Vr.html===!0&&(J(dn,wt),J(wn,ge)),Vr.svg===!0&&(J(dn,gt),J(wn,Ft),J(wn,le)),Vr.svgFilters===!0&&(J(dn,bt),J(wn,Ft),J(wn,le)),Vr.mathMl===!0&&(J(dn,Bt),J(wn,Jt),J(wn,le))),Ut.ADD_TAGS&&(dn===zn&&(dn=pt(dn)),J(dn,Ut.ADD_TAGS)),Ut.ADD_ATTR&&(wn===ai&&(wn=pt(wn)),J(wn,Ut.ADD_ATTR)),Ut.ADD_URI_SAFE_ATTR&&J(ui,Ut.ADD_URI_SAFE_ATTR),Ut.FORBID_CONTENTS&&(ha===ei&&(ha=pt(ha)),J(ha,Ut.FORBID_CONTENTS)),li&&(dn["#text"]=!0),$r&&J(dn,["html","head","body"]),dn.table&&(J(dn,["tbody"]),delete Ui.tbody),_&&_(Ut),Fa=Ut)},Zr=J({},["mi","mo","mn","ms","mtext"]),Xi=J({},["foreignobject","desc","title","annotation-xml"]),Nn=J({},gt);J(Nn,bt),J(Nn,Gt);var Ca=J({},Bt);J(Ca,we);var Pa=function(Ut){var Ge=Br(Ut);Ge&&Ge.tagName||(Ge={namespaceURI:Ye,tagName:"template"});var He=X(Ut.tagName),vr=X(Ge.tagName);if(Ut.namespaceURI===Mn)return Ge.namespaceURI===Ye?He==="svg":Ge.namespaceURI===Qn?He==="svg"&&(vr==="annotation-xml"||Zr[vr]):Boolean(Nn[He]);if(Ut.namespaceURI===Qn)return Ge.namespaceURI===Ye?He==="math":Ge.namespaceURI===Mn?He==="math"&&Xi[vr]:Boolean(Ca[He]);if(Ut.namespaceURI===Ye){if(Ge.namespaceURI===Mn&&!Xi[vr]||Ge.namespaceURI===Qn&&!Zr[vr])return!1;var xr=J({},["title","style","font","a","script"]);return!Ca[He]&&(xr[He]||!Nn[He])}return!1},_r=function(Ut){V(he.removed,{element:Ut});try{Ut.parentNode.removeChild(Ut)}catch{try{Ut.outerHTML=fn}catch{Ut.remove()}}},Cr=function(Ut,Ge){try{V(he.removed,{attribute:Ge.getAttributeNode(Ut),from:Ge})}catch{V(he.removed,{attribute:null,from:Ge})}if(Ge.removeAttribute(Ut),Ut==="is"&&!wn[Ut])if(Dr||ti)try{_r(Ge)}catch{}else try{Ge.setAttribute(Ut,"")}catch{}},mi=function(Ut){var Ge=void 0,He=void 0;if(Jr)Ut=""+Ut;else{var vr=Q(Ut,/^[\r\n\t ]+/);He=vr&&vr[0]}Kr==="application/xhtml+xml"&&(Ut=''+Ut+"");var xr=nr?nr.createHTML(Ut):Ut;if(Jn===Ye)try{Ge=new en().parseFromString(xr,Kr)}catch{}if(!Ge||!Ge.documentElement){Ge=nn.createDocument(Jn,"template",null);try{Ge.documentElement.innerHTML=kt?"":xr}catch{}}var _i=Ge.body||Ge.documentElement;return Ut&&He&&_i.insertBefore(xe.createTextNode(He),_i.childNodes[0]||null),Jn===Ye?Wn.call(Ge,$r?"html":"body")[0]:$r?Ge.documentElement:_i},ni=function(Ut){return Cn.call(Ut.ownerDocument||Ut,Ut,Oe.SHOW_ELEMENT|Oe.SHOW_COMMENT|Oe.SHOW_TEXT,null,!1)},jr=function(Ut){return Ut instanceof tn&&(typeof Ut.nodeName!="string"||typeof Ut.textContent!="string"||typeof Ut.removeChild!="function"||!(Ut.attributes instanceof qe)||typeof Ut.removeAttribute!="function"||typeof Ut.setAttribute!="function"||typeof Ut.namespaceURI!="string"||typeof Ut.insertBefore!="function")},zr=function(Ut){return(Je===void 0?"undefined":dt(Je))==="object"?Ut instanceof Je:Ut&&(Ut===void 0?"undefined":dt(Ut))==="object"&&typeof Ut.nodeType=="number"&&typeof Ut.nodeName=="string"},hi=function(Ut,Ge,He){An[Ut]&&z(An[Ut],function(vr){vr.call(he,Ge,He,Fa)})},Qr=function(Ut){var Ge=void 0;if(hi("beforeSanitizeElements",Ut,null),jr(Ut)||Q(Ut.nodeName,/[\u0080-\uFFFF]/))return _r(Ut),!0;var He=Zi(Ut.nodeName);if(hi("uponSanitizeElement",Ut,{tagName:He,allowedTags:dn}),!zr(Ut.firstElementChild)&&(!zr(Ut.content)||!zr(Ut.content.firstElementChild))&&ut(/<[/\w]/g,Ut.innerHTML)&&ut(/<[/\w]/g,Ut.textContent)||He==="select"&&ut(/