From 37485b234de5fd57ab7cd125087bcffd7569e88f Mon Sep 17 00:00:00 2001 From: Vitaly Pavlenko Date: Sun, 21 Jan 2024 18:15:27 +0400 Subject: [PATCH] Updates --- asset-manifest.json | 8 +-- index.html | 4 +- .../{main.1b881593.css => main.03c3f5a9.css} | 7 +- static/css/main.03c3f5a9.css.map | 1 + static/css/main.1b881593.css.map | 1 - .../js/{main.d8163a9c.js => main.2b5b8379.js} | 68 +++++++++---------- static/js/main.2b5b8379.js.map | 1 + static/js/main.d8163a9c.js.map | 1 - 8 files changed, 43 insertions(+), 48 deletions(-) rename static/css/{main.1b881593.css => main.03c3f5a9.css} (99%) create mode 100644 static/css/main.03c3f5a9.css.map delete mode 100644 static/css/main.1b881593.css.map rename static/js/{main.d8163a9c.js => main.2b5b8379.js} (75%) create mode 100644 static/js/main.2b5b8379.js.map delete mode 100644 static/js/main.d8163a9c.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 58a9219a0..95e429d14 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { - "main.css": "/static/css/main.1b881593.css", - "main.js": "/static/js/main.d8163a9c.js", - "main.css.map": "/static/css/main.1b881593.css.map", - "main.js.map": "/static/js/main.d8163a9c.js.map", + "main.css": "/static/css/main.03c3f5a9.css", + "main.js": "/static/js/main.2b5b8379.js", + "main.css.map": "/static/css/main.03c3f5a9.css.map", + "main.js.map": "/static/js/main.2b5b8379.js.map", "index.html": "/index.html" } \ No newline at end of file diff --git a/index.html b/index.html index 4712f5a88..01a6a9c1e 100644 --- a/index.html +++ b/index.html @@ -19,11 +19,11 @@ - +
- + diff --git a/static/css/main.1b881593.css b/static/css/main.03c3f5a9.css similarity index 99% rename from static/css/main.1b881593.css rename to static/css/main.03c3f5a9.css index 9f4ff5277..ebfcffd12 100644 --- a/static/css/main.1b881593.css +++ b/static/css/main.03c3f5a9.css @@ -963,11 +963,6 @@ img { opacity: 1; } -.noteRectangleTonal { - /* opacity: 0; */ - /* color: white !important; */ -} - .vertical-list-of-buttons { margin-bottom: 20px; } @@ -1003,4 +998,4 @@ img { display: inline-block; } -/*# sourceMappingURL=main.1b881593.css.map*/ \ No newline at end of file +/*# sourceMappingURL=main.03c3f5a9.css.map*/ \ No newline at end of file diff --git a/static/css/main.03c3f5a9.css.map b/static/css/main.03c3f5a9.css.map new file mode 100644 index 000000000..5413f187d --- /dev/null +++ b/static/css/main.03c3f5a9.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../index.css"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B;IACI,cAAc;IACd,kBAAkB;IAClB,cAAc;IACd,eAAe;IACf,mBAAmB;IACnB,eAAe;IACf,mBAAmB;;IAEnB,kBAAkB;IAClB,eAAe;IACf,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CACpB;;AAED;;;;;IAKI;;AAEJ;IACI,gBAAgB;IAChB,2CAA2C;IAC3C,gCAAgC;IAChC,oCAAoC;IACpC,qDAAqD;IACrD,mCAAmC;IACnC,aAAa;IACb,8CAA8C;IAC9C,0BAA0B;IAC1B,sBAAsB;CACzB;;AAED;IACI,sCAAsC;IACtC,eAAe;CAClB;;AAHD;IACI,sCAAsC;IACtC,eAAe;CAClB;;AAED;IACI,cAAc;IACd,+BAA+B;CAClC;;AAED,oBAAoB;;AAEpB;IACI,8BAA8B;IAC9B,iBAAiB;IACjB,uBAAuB;CAC1B;;AAED,uCAAuC;AACvC;;;;;;IAMI,uBAAuB;IACvB,2BAA2B;IAC3B,WAAW;IACX,oBAAoB;CACvB;;AAED;IACI,uBAAuB;CAC1B;;AAED;IACI,2BAA2B;CAC9B;;AAED;IACI,sBAAsB;IACtB,wBAAwB;IACxB,gBAAgB;CACnB;;AAED;IACI,yBAAyB;CAC5B;;AAED;IACI,0BAA0B;CAC7B;AACD;;;IAGI;;AAEJ,mBAAmB;;AAEnB;;IAEI,aA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;IACvB,gCAAgC;IAChC,gCAAgC;CACnC;;AAED;IACI,SAAS;IACT,UAAU;IACV,mBAAmB;CACtB;;AAED;IACI,iBAAiB;CACpB;;AAED;IACI,wBAAwB;IACxB,mCAAmC;IACnC,oCAAoC;IACpC,eAAe;CAClB;;AAED;IACI,qBAAc;IAAd,cAAc;IACd,gCAA4B;QAA5B,4BAA4B;IAC5B,wBAAmB;QAAnB,mBAAmB;IACnB,uBAA+B;QAA/B,+BAA+B;IAC/B,0BAA0B;CAC7B;;AAED;IACI,qCAAqC;IACrC,gCAAgC;IAChC,mBAAmB;CACtB;;AAED;IACI,iBAAiB;IACjB,qBAAc;IAAd,cAAc;IACd,qBAAa;QAAb,aAAa;IACb,uBAAoB;QAApB,oBAAoB;IACpB,sBAAwB;QAAxB,wBAAwB;IACxB,oBAAoB;CACvB;;AAED;IACI,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAiB;YAAjB,iBAAiB;CACpB;;AAED;IACI,WAAW;CACd;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,mCAAmC;IACnC,gBAAgB;IAChB,eAAe;CAClB;;AAED;IACI,kBAAkB;IAClB,oBAAoB;CACvB;;AAED;IACI,kBAAkB;IAClB,oBAAoB;CACvB;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,wlBAAwlB;IACxlB,YAAY;IACZ,aAAa;IACb,sBAAsB","file":"static/css/main.03c3f5a9.css","sourcesContent":["/* MSDOS 6.22 CSS Theme */\n:root {\n --charH: 19px;\n --charHneg: -19px;\n --charW1: 8px;\n --charW2: 16px;\n --charW2neg: -16px;\n --charW3: 24px;\n --charW3neg: -24px;\n\n --clickable: #ff0;\n --active: #800;\n --button: #66d;\n --focus: #00f;\n --background: #000;\n --shadow: #005;\n --neutral4: #fff;\n --neutral3: #ccc;\n --neutral2: #aaa;\n --neutral1: #777;\n --neutral0: #000;\n}\n\n/* @font-face {\n font-family: sans-serif;\n src: url(fonts/pxplus_chipplayer.ttf) format('truetype');\n font-weight: 400;\n font-style: normal\n} */\n\n.App {\n font-size: 16px;\n /* font-family: VGA_SquarePx, monospace; */\n font-family: 'Lato', sans-serif;\n -webkit-font-smoothing: antialiased;\n /* supports Japanese characters better than 'none' */\n -moz-osx-font-smoothing: grayscale;\n /* Firefox */\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n line-height: var(--charH);\n text-decoration: none;\n}\n\n*::selection {\n background: rgba(170, 170, 170, 0.99);\n color: #000088;\n}\n\n*:focus {\n outline: none;\n background-color: var(--focus);\n}\n\n/* Basic elements */\n\nbody {\n background: var(--background);\n overflow: hidden;\n color: var(--neutral2);\n}\n\n/* Margins in one direction (bottom) */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n color: var(--neutral4);\n margin: 0 0 var(--charH) 0;\n padding: 0;\n font-weight: normal;\n}\n\nstrong {\n color: var(--neutral4);\n}\n\np {\n margin: 0 0 var(--charH) 0;\n}\n\na {\n text-decoration: none;\n color: var(--clickable);\n cursor: pointer;\n}\n\na:focus {\n background: var(--focus);\n}\n\na:active {\n background: var(--active);\n}\n/* \na:visited {\n color: var(--clickable);\n} */\n\n/* Form elements */\n\nselect,\nbutton {\n border: none;\n background: none;\n border-radius: 2px;\n padding: 5px;\n -moz-appearance: none;\n -webkit-appearance: none;\n padding: 0 var(--charW1);\n color: var(--clickable);\n cursor: pointer;\n}\n\nselect {\n background-color: var(--button);\n background-image:\n /* A little down-arrow */\n linear-gradient(60deg, transparent 50%, var(--clickable) 50%),\n linear-gradient(120deg, var(--clickable) 50%, transparent 50%);\n background-position: calc(100% - var(--charW1)*1.5) 5px, calc(100% - var(--charW1)) 5px;\n background-size: calc(var(--charW1)*0.5) 12px, calc(var(--charW1)*0.5) 12px;\n background-repeat: no-repeat;\n padding-right: var(--charW2);\n max-width: 240px;\n}\n\nselect option {\n font-size: 14px;\n}\n\nbutton {\n background: var(--button);\n}\n\nbutton:active {\n background: var(--active);\n}\n\nbutton:disabled {\n background: var(--neutral1);\n color: var(--neutral3);\n}\n\n.box-button {\n padding: 0 var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n white-space: pre;\n}\n\n.box-button:active {\n box-shadow: none;\n}\n\ninput[type=text] {\n border: 0;\n border-radius: 0;\n background-color: var(--neutral2);\n color: var(--background);\n padding: 0 var(--charW1);\n width: 256px;\n height: var(--charH);\n /* Firefox */\n}\n\ninput[type=text]::selection {\n background-color: #FFFFFF;\n}\n\ninput[type=text]::-webkit-input-placeholder {\n color: var(--neutral1)\n}\n\ninput[type=checkbox]:focus,\ninput[type=radio]:focus,\ninput[type=range]:focus {\n background: var(--focus);\n}\n\nlabel {\n cursor: pointer;\n}\n\nlabel.inline {\n display: inline-block;\n margin-right: var(--charW1);\n}\n\nlabel.inline:last-child {\n margin-right: 0;\n}\n\ninput[type=checkbox],\ninput[type=radio] {\n -webkit-appearance: none;\n -moz-appearance: none;\n background: transparent;\n border: 0;\n border-radius: 0;\n outline: 0;\n width: 32px;\n margin: 0;\n color: var(--clickable);\n cursor: pointer;\n}\n\ninput[type=checkbox]:before {\n content: '[ ]';\n}\n\ninput[type=checkbox]:checked:before {\n content: '[×]';\n}\n\ninput[type=radio]:before {\n content: '( )';\n}\n\ninput[type=radio]:checked:before {\n content: '(●)';\n}\n\ninput[type=range] {\n margin: 0;\n -webkit-appearance: none;\n background: transparent;\n vertical-align: bottom;\n height: var(--charH);\n /* Firefox */\n width: 128px;\n /* Firefox */\n}\n\ninput[type=range]::-webkit-slider-runnable-track {\n height: 3px;\n border: 1px solid var(--clickable);\n margin: var(--charW1) 0;\n}\n\ninput[type=range]::-moz-range-track {\n /* Firefox */\n height: 3px;\n border: 1px solid var(--clickable);\n margin: var(--charW1) 0;\n box-sizing: border-box;\n}\n\ninput[type=range]:disabled::-webkit-slider-runnable-track {\n border-color: var(--neutral2);\n}\n\ninput[type=range]:disabled::-moz-range-track {\n border-color: var(--neutral2);\n}\n\n/* Firefox */\ninput[type=range]:disabled::-webkit-slider-thumb {\n background: var(--neutral2);\n}\n\ninput[type=range]:disabled::-moz-range-thumb {\n background: var(--neutral2);\n}\n\n/* Firefox */\ninput[type=range]:active::-webkit-slider-thumb {\n background: var(--clickable);\n}\n\ninput[type=range]:active::-moz-range-thumb {\n background: var(--clickable);\n}\n\n/* Firefox */\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n background: var(--clickable);\n border: 0;\n height: var(--charH);\n margin-top: -9px;\n width: var(--charW1);\n}\n\ninput[type=range]::-moz-range-thumb {\n /* Firefox */\n -moz-appearance: none;\n background: var(--clickable);\n border: 0;\n border-radius: 0;\n height: var(--charH);\n margin-top: -9px;\n width: var(--charW1);\n}\n\n/* Scrollbars */\n\nbody {\n /* Firefox */\n scrollbar-color: var(--clickable) var(--button);\n scrollbar-width: thin;\n}\n\n::-webkit-scrollbar {\n height: 10px;\n width: 1px;\n background: var(--button);\n}\n\n::-webkit-scrollbar-thumb {\n background: var(--clickable);\n -webkit-border-radius: 0;\n}\n\n/* Component overrides */\n\nbody,\n#root {\n margin: 0;\n}\n\n.App {\n padding: 0 var(--charW2);\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n font-variant-numeric: tabular-nums;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.AppHeader {\n padding: 0;\n margin: 3px 0 0 0;\n flex-grow: 0;\n}\n\n.AppHeader-subtitle {\n margin: var(--charH) 0 0 0;\n}\n\n.AppHeader-title,\n.AppHeader-title:visited,\n.AppHeader-title:link {\n color: var(--neutral4);\n}\n\n.AppHeader-byline {\n float: right;\n}\n\n.App-main {\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n overflow: hidden;\n height: 100%;\n margin: 0 var(--charW2neg);\n}\n\n.App-main-inner {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n min-width: 1px;\n /* prevents content width priority */\n margin-right: -1px;\n /* hide the right border of the content area */\n}\n\n.App-main-content-and-settings {\n display: flex;\n flex-direction: row;\n overflow: hidden;\n flex-grow: 1;\n}\n\n.App-main-content-area {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n padding: 15px 0px;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n border-right: 1px solid var(--clickable);\n}\n\n.App-main-content-area.settings {\n width: 360px;\n min-width: 360px;\n flex-grow: 0;\n}\n\n.AppFooter {\n margin: 0;\n flex-shrink: 0;\n display: flex;\n}\n\n@media screen and (max-width: 600px) {\n .AppFooter-art {\n display: none;\n }\n}\n\n.AppFooter-main {\n flex-grow: 1;\n overflow: auto;\n}\n\n/*\n Required due to strange flexbox/padding behavior in Safari.\n https://stackoverflow.com/questions/42802717\n*/\n.AppFooter-main-inner {\n /* padding: var(--charH) var(--charW2); */\n display: flex;\n flex-direction: column;\n}\n\n.AppFooter-settings {\n border-left: 1px solid var(--clickable);\n padding: var(--charH) var(--charW2);\n max-width: 360px;\n overflow-y: scroll;\n overflow-x: hidden;\n}\n\n.App-voice-label {\n width: 112px;\n white-space: nowrap;\n overflow-x: hidden;\n}\n\n.AppFooter-more-buttons {\n float: right;\n}\n\n@media screen and (max-width: 600px) {\n .AppFooter-more-buttons {\n display: none;\n }\n}\n\n.Slider {\n height: var(--charH);\n padding: 0;\n cursor: pointer;\n position: relative;\n width: 80%;\n box-sizing: border-box;\n border: 0;\n display: inline-block;\n}\n\n.Slider-rail {\n width: calc(100% + var(--charW1));\n height: 3px;\n margin-top: -2px;\n background: none;\n position: absolute;\n top: 50%;\n box-sizing: border-box;\n border: 1px solid var(--clickable);\n}\n\n.Slider-knob {\n height: var(--charH);\n width: var(--charW1);\n margin: 0;\n border-radius: 0;\n background-color: var(--clickable);\n position: absolute;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n.Browse-topRow {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--charH);\n}\n\n.BrowseList-row {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n /* background-color: black; */\n /* border-bottom: 1px dotted #555; */\n margin-bottom: 0px;\n margin-right: 10px;\n}\n\n.BrowseList-row-mainPage {\n /* margin-bottom: 100px */\n margin-right: 40px;\n}\n\n.BrowseList-row:has(a:hover) {\n color: var(--neutral4);\n}\n\n.BrowseList-colName {\n overflow-x: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n flex-grow: 1;\n}\n\n.BrowseList-colDir,\n.BrowseList-colSize {\n flex-shrink: 0;\n margin-left: calc(var(--charW1) * 2);\n}\n\n.BrowseList-colCount {\n flex-shrink: 0;\n margin-left: var(--charW1);\n width: calc(var(--charW1) * 5);\n text-align: right;\n}\n\n.BrowseList-colSize {\n text-align: right;\n text-transform: uppercase;\n white-space: nowrap;\n min-width: calc(var(--charW1) * 10);\n}\n\n.DirectoryLink-dim {\n color: var(--neutral2);\n}\n\n.DirectoryLink-folderIcon {\n vertical-align: bottom;\n}\n\n.DirectoryLink-folderIconDim {\n vertical-align: bottom;\n filter: grayscale(100%) brightness(0.75);\n}\n\n.PlayerParams h3 {\n margin-top: 0;\n}\n\n.PlayerParams-param {\n display: flex;\n flex-wrap: wrap;\n}\n\n.PlayerParams-param>input {\n margin-right: var(--charW1);\n}\n\n.PlayerParams-label {\n margin-right: var(--charW1);\n}\n\n.PlayerParams-voiceList {\n display: flex;\n flex-wrap: wrap;\n margin-right: calc(var(--charW1) * -1);\n max-width: calc(var(--charW1) * 60);\n}\n\n.Settings .PlayerParams-label:first-child {\n flex-shrink: 0;\n width: calc(var(--charW1) * 14);\n}\n\n.Settings .PlayerParams-group {\n margin-bottom: var(--charH);\n}\n\n.SongDetails {}\n\n.SongDetails-title {\n color: var(--neutral4);\n}\n\n.SongDetails-subtitle,\n.SongDetails-subtitle,\n.SongDetails-filepath {\n display: inline-block;\n margin-left: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.SongDetails-filepath a {\n color: var(--neutral2);\n}\n\n.Search-input {\n width: calc(var(--charW1) * 20);\n}\n\n.Search-clearButton {\n white-space: pre;\n}\n\n.Search-clearButton::before {\n content: ' ×';\n}\n\n.Search-clearButton::after {\n content: ' ';\n}\n\n.Search-results {\n margin-top: var(--charH);\n}\n\n.Search-resultsLabel {\n white-space: nowrap;\n}\n\n.Visualizer {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-end\n}\n\n.Visualizer-overlay {\n position: absolute;\n top: calc(4 * var(--charH));\n image-rendering: pixelated;\n}\n\n.Visualizer-options {\n padding: var(--charH) var(--charW2) 0;\n text-align: right;\n}\n\n.Visualizer-toggle {\n position: fixed;\n top: 0;\n right: 0;\n}\n\n.Visualizer-analyzer {\n display: block;\n image-rendering: pixelated;\n}\n\n.Visualizer-spectrogram {\n display: block;\n flex-grow: 1;\n flex-shrink: 0;\n min-height: 800px;\n image-rendering: pixelated;\n}\n\n.Visualizer-analyzer,\n.Visualizer-spectrogram {\n margin-left: 1px;\n /* Don't cover the right border of App-main-inner */\n}\n\n.TimeSlider {\n flex-grow: 1;\n margin-left: var(--charW2);\n /* margin: var(--charH) 0; */\n}\n\n.TimeSlider-labels,\n.VolumeSlider-labels {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.VolumeSlider {\n flex-shrink: 0;\n /* margin-top: var(--charH); */\n /* margin-bottom: var(--charH); */\n margin-left: var(--charW2);\n}\n\n@media screen and (max-width: 600px) {\n .VolumeSlider {\n display: none;\n }\n}\n\n.Song-now-playing {\n background-color: var(--button);\n color: var(--neutral3);\n}\n\ntd {\n padding: 0\n}\n\nimg {\n image-rendering: pixelated;\n}\n\n.tab-container {\n border-bottom: 1px solid var(--clickable);\n padding: 0 var(--charW2);\n display: flex;\n}\n\n.tab {\n display: inline-block;\n padding: 0 15px 0 15px;\n background: transparent;\n border: 1px solid var(--clickable);\n border-bottom: none;\n margin: 0 8px 0 0;\n border-radius: 3px 3px 0 0;\n}\n\n.tab-selected {\n border-bottom: 1px solid var(--background);\n background: var(--background);\n margin-bottom: -1px;\n}\n\n.error-box-outer {\n position: absolute;\n z-index: 100;\n display: flex;\n align-items: start;\n justify-content: center;\n height: 100%;\n width: 100%;\n pointer-events: none;\n top: 0;\n left: 0;\n transition: all 150ms steps(4);\n padding: 0 var(--charW2);\n box-sizing: border-box;\n}\n\n.error-box {\n background-color: var(--active);\n color: var(--neutral4);\n padding: var(--charH) var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n align-items: start;\n overflow: hidden;\n max-height: 100%;\n pointer-events: all;\n width: 100%;\n height: calc(4 * var(--charH));\n}\n\n.error-box-outer[hidden] {\n top: calc(-4 * var(--charH));\n visibility: hidden;\n}\n\n.error-box .message {\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n display: -webkit-box;\n max-height: 100%;\n overflow: hidden;\n padding-right: var(--charW1);\n text-overflow: ellipsis;\n white-space: initial;\n}\n\n/* message-box is used by Info box and DropMessage component. */\n.message-box-outer {\n position: absolute;\n z-index: 100;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n pointer-events: none;\n top: 0;\n left: 0;\n padding: var(--charH) var(--charW2);\n box-sizing: border-box;\n}\n\n.message-box-outer[hidden] {\n visibility: hidden;\n}\n\n.message-box {\n background-color: var(--button);\n padding: var(--charH) var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n box-sizing: border-box;\n display: flex;\n transition: all 250ms steps(5);\n visibility: visible;\n overflow: hidden;\n max-height: 100%;\n pointer-events: all;\n flex-direction: column;\n width: calc(90 * var(--charW1));\n height: calc(40 * var(--charH));\n}\n\n.message-box[hidden] {\n width: 0;\n height: 0;\n visibility: hidden;\n}\n\n.message-box[hidden] .message-box-inner {\n overflow: hidden;\n}\n\n.message-box-inner {\n color: var(--clickable);\n border: 1px solid var(--clickable);\n padding: var(--charH) var(--charW2);\n overflow: auto;\n}\n\n.message-box-footer {\n display: flex;\n flex-direction: row-reverse;\n align-content: end;\n justify-content: space-between;\n padding-top: var(--charH);\n}\n\n.drop-message {\n height: calc(9 * var(--charH) + 1px);\n width: calc(60 * var(--charW1));\n text-align: center;\n}\n\n.drop-message .message-box-inner {\n overflow: hidden;\n display: flex;\n flex-grow: 1;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n}\n\n.message-box-button {\n background: var(--background);\n padding: 0 var(--charW2);\n box-shadow: none;\n}\n\n.noteRectangleTonal:hover .noteText {\n opacity: 1;\n}\n\n.vertical-list-of-buttons {\n margin-bottom: 20px;\n}\n\n.vertical-list-of-buttons li {\n margin-bottom: 20px;\n}\n\n.modulation * {\n font-family: Helvetica, sans-serif;\n font-size: 12px;\n line-height: 1;\n}\n\n.course h2 {\n margin-top: 150px;\n margin-bottom: 30px;\n}\n\n.course h3 {\n margin-top: 100px;\n margin-bottom: 30px;\n}\n\n.course div {\n margin-bottom: 20px;\n}\n\n.octocat {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%0Aaria-label='GitHub' role='img'%0AviewBox='0 0 512 512'%3E%3Cpath%0Ad='m0 0H512V512H0'%0Afill='%23000000'/%3E%3Cpath fill='%23fff' d='M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-44c-71 16-86-34-86-34-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z'/%3E%3C/svg%3E\");\n width: 20px;\n height: 20px;\n display: inline-block;\n}"],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.1b881593.css.map b/static/css/main.1b881593.css.map deleted file mode 100644 index 3cadd983a..000000000 --- a/static/css/main.1b881593.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../index.css"],"names":[],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;CAC7B;;AAED;IACI,qCAAqC;IACrC,gCAAgC;IAChC,mBAAmB;CACtB;;AAED;IACI,iBAAiB;IACjB,qBAAc;IAAd,cAAc;IACd,qBAAa;QAAb,aAAa;IACb,uBAAoB;QAApB,oBAAoB;IACpB,sBAAwB;QAAxB,wBAAwB;IACxB,oBAAoB;CACvB;;AAED;IACI,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAiB;YAAjB,iBAAiB;CACpB;;AAED;IACI,WAAW;CACd;;AAED;IACI,iBAAiB;IACjB,8BAA8B;CACjC;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,mCAAmC;IACnC,gBAAgB;IAChB,eAAe;CAClB;;AAED;IACI,kBAAkB;IAClB,oBAAoB;CACvB;;AAED;IACI,kBAAkB;IAClB,oBAAoB;CACvB;;AAED;IACI,oBAAoB;CACvB;;AAED;IACI,wlBAAwlB;IACxlB,YAAY;IACZ,aAAa;IACb,sBAAsB","file":"static/css/main.1b881593.css","sourcesContent":["/* MSDOS 6.22 CSS Theme */\n:root {\n --charH: 19px;\n --charHneg: -19px;\n --charW1: 8px;\n --charW2: 16px;\n --charW2neg: -16px;\n --charW3: 24px;\n --charW3neg: -24px;\n\n --clickable: #ff0;\n --active: #800;\n --button: #66d;\n --focus: #00f;\n --background: #000;\n --shadow: #005;\n --neutral4: #fff;\n --neutral3: #ccc;\n --neutral2: #aaa;\n --neutral1: #777;\n --neutral0: #000;\n}\n\n/* @font-face {\n font-family: sans-serif;\n src: url(fonts/pxplus_chipplayer.ttf) format('truetype');\n font-weight: 400;\n font-style: normal\n} */\n\n.App {\n font-size: 16px;\n /* font-family: VGA_SquarePx, monospace; */\n font-family: 'Lato', sans-serif;\n -webkit-font-smoothing: antialiased;\n /* supports Japanese characters better than 'none' */\n -moz-osx-font-smoothing: grayscale;\n /* Firefox */\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n line-height: var(--charH);\n text-decoration: none;\n}\n\n*::selection {\n background: rgba(170, 170, 170, 0.99);\n color: #000088;\n}\n\n*:focus {\n outline: none;\n background-color: var(--focus);\n}\n\n/* Basic elements */\n\nbody {\n background: var(--background);\n overflow: hidden;\n color: var(--neutral2);\n}\n\n/* Margins in one direction (bottom) */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n color: var(--neutral4);\n margin: 0 0 var(--charH) 0;\n padding: 0;\n font-weight: normal;\n}\n\nstrong {\n color: var(--neutral4);\n}\n\np {\n margin: 0 0 var(--charH) 0;\n}\n\na {\n text-decoration: none;\n color: var(--clickable);\n cursor: pointer;\n}\n\na:focus {\n background: var(--focus);\n}\n\na:active {\n background: var(--active);\n}\n/* \na:visited {\n color: var(--clickable);\n} */\n\n/* Form elements */\n\nselect,\nbutton {\n border: none;\n background: none;\n border-radius: 2px;\n padding: 5px;\n -moz-appearance: none;\n -webkit-appearance: none;\n padding: 0 var(--charW1);\n color: var(--clickable);\n cursor: pointer;\n}\n\nselect {\n background-color: var(--button);\n background-image:\n /* A little down-arrow */\n linear-gradient(60deg, transparent 50%, var(--clickable) 50%),\n linear-gradient(120deg, var(--clickable) 50%, transparent 50%);\n background-position: calc(100% - var(--charW1)*1.5) 5px, calc(100% - var(--charW1)) 5px;\n background-size: calc(var(--charW1)*0.5) 12px, calc(var(--charW1)*0.5) 12px;\n background-repeat: no-repeat;\n padding-right: var(--charW2);\n max-width: 240px;\n}\n\nselect option {\n font-size: 14px;\n}\n\nbutton {\n background: var(--button);\n}\n\nbutton:active {\n background: var(--active);\n}\n\nbutton:disabled {\n background: var(--neutral1);\n color: var(--neutral3);\n}\n\n.box-button {\n padding: 0 var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n white-space: pre;\n}\n\n.box-button:active {\n box-shadow: none;\n}\n\ninput[type=text] {\n border: 0;\n border-radius: 0;\n background-color: var(--neutral2);\n color: var(--background);\n padding: 0 var(--charW1);\n width: 256px;\n height: var(--charH);\n /* Firefox */\n}\n\ninput[type=text]::selection {\n background-color: #FFFFFF;\n}\n\ninput[type=text]::-webkit-input-placeholder {\n color: var(--neutral1)\n}\n\ninput[type=checkbox]:focus,\ninput[type=radio]:focus,\ninput[type=range]:focus {\n background: var(--focus);\n}\n\nlabel {\n cursor: pointer;\n}\n\nlabel.inline {\n display: inline-block;\n margin-right: var(--charW1);\n}\n\nlabel.inline:last-child {\n margin-right: 0;\n}\n\ninput[type=checkbox],\ninput[type=radio] {\n -webkit-appearance: none;\n -moz-appearance: none;\n background: transparent;\n border: 0;\n border-radius: 0;\n outline: 0;\n width: 32px;\n margin: 0;\n color: var(--clickable);\n cursor: pointer;\n}\n\ninput[type=checkbox]:before {\n content: '[ ]';\n}\n\ninput[type=checkbox]:checked:before {\n content: '[×]';\n}\n\ninput[type=radio]:before {\n content: '( )';\n}\n\ninput[type=radio]:checked:before {\n content: '(●)';\n}\n\ninput[type=range] {\n margin: 0;\n -webkit-appearance: none;\n background: transparent;\n vertical-align: bottom;\n height: var(--charH);\n /* Firefox */\n width: 128px;\n /* Firefox */\n}\n\ninput[type=range]::-webkit-slider-runnable-track {\n height: 3px;\n border: 1px solid var(--clickable);\n margin: var(--charW1) 0;\n}\n\ninput[type=range]::-moz-range-track {\n /* Firefox */\n height: 3px;\n border: 1px solid var(--clickable);\n margin: var(--charW1) 0;\n box-sizing: border-box;\n}\n\ninput[type=range]:disabled::-webkit-slider-runnable-track {\n border-color: var(--neutral2);\n}\n\ninput[type=range]:disabled::-moz-range-track {\n border-color: var(--neutral2);\n}\n\n/* Firefox */\ninput[type=range]:disabled::-webkit-slider-thumb {\n background: var(--neutral2);\n}\n\ninput[type=range]:disabled::-moz-range-thumb {\n background: var(--neutral2);\n}\n\n/* Firefox */\ninput[type=range]:active::-webkit-slider-thumb {\n background: var(--clickable);\n}\n\ninput[type=range]:active::-moz-range-thumb {\n background: var(--clickable);\n}\n\n/* Firefox */\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n background: var(--clickable);\n border: 0;\n height: var(--charH);\n margin-top: -9px;\n width: var(--charW1);\n}\n\ninput[type=range]::-moz-range-thumb {\n /* Firefox */\n -moz-appearance: none;\n background: var(--clickable);\n border: 0;\n border-radius: 0;\n height: var(--charH);\n margin-top: -9px;\n width: var(--charW1);\n}\n\n/* Scrollbars */\n\nbody {\n /* Firefox */\n scrollbar-color: var(--clickable) var(--button);\n scrollbar-width: thin;\n}\n\n::-webkit-scrollbar {\n height: 10px;\n width: 1px;\n background: var(--button);\n}\n\n::-webkit-scrollbar-thumb {\n background: var(--clickable);\n -webkit-border-radius: 0;\n}\n\n/* Component overrides */\n\nbody,\n#root {\n margin: 0;\n}\n\n.App {\n padding: 0 var(--charW2);\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n font-variant-numeric: tabular-nums;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.AppHeader {\n padding: 0;\n margin: 3px 0 0 0;\n flex-grow: 0;\n}\n\n.AppHeader-subtitle {\n margin: var(--charH) 0 0 0;\n}\n\n.AppHeader-title,\n.AppHeader-title:visited,\n.AppHeader-title:link {\n color: var(--neutral4);\n}\n\n.AppHeader-byline {\n float: right;\n}\n\n.App-main {\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n overflow: hidden;\n height: 100%;\n margin: 0 var(--charW2neg);\n}\n\n.App-main-inner {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n min-width: 1px;\n /* prevents content width priority */\n margin-right: -1px;\n /* hide the right border of the content area */\n}\n\n.App-main-content-and-settings {\n display: flex;\n flex-direction: row;\n overflow: hidden;\n flex-grow: 1;\n}\n\n.App-main-content-area {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n min-width: 0;\n padding: 15px 0px;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n border-right: 1px solid var(--clickable);\n}\n\n.App-main-content-area.settings {\n width: 360px;\n min-width: 360px;\n flex-grow: 0;\n}\n\n.AppFooter {\n margin: 0;\n flex-shrink: 0;\n display: flex;\n}\n\n@media screen and (max-width: 600px) {\n .AppFooter-art {\n display: none;\n }\n}\n\n.AppFooter-main {\n flex-grow: 1;\n overflow: auto;\n}\n\n/*\n Required due to strange flexbox/padding behavior in Safari.\n https://stackoverflow.com/questions/42802717\n*/\n.AppFooter-main-inner {\n /* padding: var(--charH) var(--charW2); */\n display: flex;\n flex-direction: column;\n}\n\n.AppFooter-settings {\n border-left: 1px solid var(--clickable);\n padding: var(--charH) var(--charW2);\n max-width: 360px;\n overflow-y: scroll;\n overflow-x: hidden;\n}\n\n.App-voice-label {\n width: 112px;\n white-space: nowrap;\n overflow-x: hidden;\n}\n\n.AppFooter-more-buttons {\n float: right;\n}\n\n@media screen and (max-width: 600px) {\n .AppFooter-more-buttons {\n display: none;\n }\n}\n\n.Slider {\n height: var(--charH);\n padding: 0;\n cursor: pointer;\n position: relative;\n width: 80%;\n box-sizing: border-box;\n border: 0;\n display: inline-block;\n}\n\n.Slider-rail {\n width: calc(100% + var(--charW1));\n height: 3px;\n margin-top: -2px;\n background: none;\n position: absolute;\n top: 50%;\n box-sizing: border-box;\n border: 1px solid var(--clickable);\n}\n\n.Slider-knob {\n height: var(--charH);\n width: var(--charW1);\n margin: 0;\n border-radius: 0;\n background-color: var(--clickable);\n position: absolute;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n.Browse-topRow {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--charH);\n}\n\n.BrowseList-row {\n display: flex;\n justify-content: flex-start;\n flex-direction: column;\n /* background-color: black; */\n /* border-bottom: 1px dotted #555; */\n margin-bottom: 0px;\n margin-right: 10px;\n}\n\n.BrowseList-row-mainPage {\n /* margin-bottom: 100px */\n margin-right: 40px;\n}\n\n.BrowseList-row:has(a:hover) {\n color: var(--neutral4);\n}\n\n.BrowseList-colName {\n overflow-x: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n flex-grow: 1;\n}\n\n.BrowseList-colDir,\n.BrowseList-colSize {\n flex-shrink: 0;\n margin-left: calc(var(--charW1) * 2);\n}\n\n.BrowseList-colCount {\n flex-shrink: 0;\n margin-left: var(--charW1);\n width: calc(var(--charW1) * 5);\n text-align: right;\n}\n\n.BrowseList-colSize {\n text-align: right;\n text-transform: uppercase;\n white-space: nowrap;\n min-width: calc(var(--charW1) * 10);\n}\n\n.DirectoryLink-dim {\n color: var(--neutral2);\n}\n\n.DirectoryLink-folderIcon {\n vertical-align: bottom;\n}\n\n.DirectoryLink-folderIconDim {\n vertical-align: bottom;\n filter: grayscale(100%) brightness(0.75);\n}\n\n.PlayerParams h3 {\n margin-top: 0;\n}\n\n.PlayerParams-param {\n display: flex;\n flex-wrap: wrap;\n}\n\n.PlayerParams-param>input {\n margin-right: var(--charW1);\n}\n\n.PlayerParams-label {\n margin-right: var(--charW1);\n}\n\n.PlayerParams-voiceList {\n display: flex;\n flex-wrap: wrap;\n margin-right: calc(var(--charW1) * -1);\n max-width: calc(var(--charW1) * 60);\n}\n\n.Settings .PlayerParams-label:first-child {\n flex-shrink: 0;\n width: calc(var(--charW1) * 14);\n}\n\n.Settings .PlayerParams-group {\n margin-bottom: var(--charH);\n}\n\n.SongDetails {}\n\n.SongDetails-title {\n color: var(--neutral4);\n}\n\n.SongDetails-subtitle,\n.SongDetails-subtitle,\n.SongDetails-filepath {\n display: inline-block;\n margin-left: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.SongDetails-filepath a {\n color: var(--neutral2);\n}\n\n.Search-input {\n width: calc(var(--charW1) * 20);\n}\n\n.Search-clearButton {\n white-space: pre;\n}\n\n.Search-clearButton::before {\n content: ' ×';\n}\n\n.Search-clearButton::after {\n content: ' ';\n}\n\n.Search-results {\n margin-top: var(--charH);\n}\n\n.Search-resultsLabel {\n white-space: nowrap;\n}\n\n.Visualizer {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-end\n}\n\n.Visualizer-overlay {\n position: absolute;\n top: calc(4 * var(--charH));\n image-rendering: pixelated;\n}\n\n.Visualizer-options {\n padding: var(--charH) var(--charW2) 0;\n text-align: right;\n}\n\n.Visualizer-toggle {\n position: fixed;\n top: 0;\n right: 0;\n}\n\n.Visualizer-analyzer {\n display: block;\n image-rendering: pixelated;\n}\n\n.Visualizer-spectrogram {\n display: block;\n flex-grow: 1;\n flex-shrink: 0;\n min-height: 800px;\n image-rendering: pixelated;\n}\n\n.Visualizer-analyzer,\n.Visualizer-spectrogram {\n margin-left: 1px;\n /* Don't cover the right border of App-main-inner */\n}\n\n.TimeSlider {\n flex-grow: 1;\n margin-left: var(--charW2);\n /* margin: var(--charH) 0; */\n}\n\n.TimeSlider-labels,\n.VolumeSlider-labels {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.VolumeSlider {\n flex-shrink: 0;\n /* margin-top: var(--charH); */\n /* margin-bottom: var(--charH); */\n margin-left: var(--charW2);\n}\n\n@media screen and (max-width: 600px) {\n .VolumeSlider {\n display: none;\n }\n}\n\n.Song-now-playing {\n background-color: var(--button);\n color: var(--neutral3);\n}\n\ntd {\n padding: 0\n}\n\nimg {\n image-rendering: pixelated;\n}\n\n.tab-container {\n border-bottom: 1px solid var(--clickable);\n padding: 0 var(--charW2);\n display: flex;\n}\n\n.tab {\n display: inline-block;\n padding: 0 15px 0 15px;\n background: transparent;\n border: 1px solid var(--clickable);\n border-bottom: none;\n margin: 0 8px 0 0;\n border-radius: 3px 3px 0 0;\n}\n\n.tab-selected {\n border-bottom: 1px solid var(--background);\n background: var(--background);\n margin-bottom: -1px;\n}\n\n.error-box-outer {\n position: absolute;\n z-index: 100;\n display: flex;\n align-items: start;\n justify-content: center;\n height: 100%;\n width: 100%;\n pointer-events: none;\n top: 0;\n left: 0;\n transition: all 150ms steps(4);\n padding: 0 var(--charW2);\n box-sizing: border-box;\n}\n\n.error-box {\n background-color: var(--active);\n color: var(--neutral4);\n padding: var(--charH) var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n align-items: start;\n overflow: hidden;\n max-height: 100%;\n pointer-events: all;\n width: 100%;\n height: calc(4 * var(--charH));\n}\n\n.error-box-outer[hidden] {\n top: calc(-4 * var(--charH));\n visibility: hidden;\n}\n\n.error-box .message {\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n display: -webkit-box;\n max-height: 100%;\n overflow: hidden;\n padding-right: var(--charW1);\n text-overflow: ellipsis;\n white-space: initial;\n}\n\n/* message-box is used by Info box and DropMessage component. */\n.message-box-outer {\n position: absolute;\n z-index: 100;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n pointer-events: none;\n top: 0;\n left: 0;\n padding: var(--charH) var(--charW2);\n box-sizing: border-box;\n}\n\n.message-box-outer[hidden] {\n visibility: hidden;\n}\n\n.message-box {\n background-color: var(--button);\n padding: var(--charH) var(--charW2);\n box-shadow: var(--charW1) var(--charW1) var(--shadow);\n box-sizing: border-box;\n display: flex;\n transition: all 250ms steps(5);\n visibility: visible;\n overflow: hidden;\n max-height: 100%;\n pointer-events: all;\n flex-direction: column;\n width: calc(90 * var(--charW1));\n height: calc(40 * var(--charH));\n}\n\n.message-box[hidden] {\n width: 0;\n height: 0;\n visibility: hidden;\n}\n\n.message-box[hidden] .message-box-inner {\n overflow: hidden;\n}\n\n.message-box-inner {\n color: var(--clickable);\n border: 1px solid var(--clickable);\n padding: var(--charH) var(--charW2);\n overflow: auto;\n}\n\n.message-box-footer {\n display: flex;\n flex-direction: row-reverse;\n align-content: end;\n justify-content: space-between;\n padding-top: var(--charH);\n}\n\n.drop-message {\n height: calc(9 * var(--charH) + 1px);\n width: calc(60 * var(--charW1));\n text-align: center;\n}\n\n.drop-message .message-box-inner {\n overflow: hidden;\n display: flex;\n flex-grow: 1;\n align-items: center;\n justify-content: center;\n white-space: nowrap;\n}\n\n.message-box-button {\n background: var(--background);\n padding: 0 var(--charW2);\n box-shadow: none;\n}\n\n.noteRectangleTonal:hover .noteText {\n opacity: 1;\n}\n\n.noteRectangleTonal {\n /* opacity: 0; */\n /* color: white !important; */\n}\n\n.vertical-list-of-buttons {\n margin-bottom: 20px;\n}\n\n.vertical-list-of-buttons li {\n margin-bottom: 20px;\n}\n\n.modulation * {\n font-family: Helvetica, sans-serif;\n font-size: 12px;\n line-height: 1;\n}\n\n.course h2 {\n margin-top: 150px;\n margin-bottom: 30px;\n}\n\n.course h3 {\n margin-top: 100px;\n margin-bottom: 30px;\n}\n\n.course div {\n margin-bottom: 20px;\n}\n\n.octocat {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%0Aaria-label='GitHub' role='img'%0AviewBox='0 0 512 512'%3E%3Cpath%0Ad='m0 0H512V512H0'%0Afill='%23000000'/%3E%3Cpath fill='%23fff' d='M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-44c-71 16-86-34-86-34-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z'/%3E%3C/svg%3E\");\n width: 20px;\n height: 20px;\n display: inline-block;\n}"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.d8163a9c.js b/static/js/main.2b5b8379.js similarity index 75% rename from static/js/main.d8163a9c.js rename to static/js/main.2b5b8379.js index 508beaedb..745b7c2d6 100644 --- a/static/js/main.d8163a9c.js +++ b/static/js/main.2b5b8379.js @@ -329,7 +329,7 @@ function d(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported * See the License for the specific language governing permissions and * limitations under the License. */ -function g(e){return e&&e._delegate?e._delegate:e}}).call(this,n(15),n(17))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return M})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return B})),n.d(t,"h",(function(){return U})),n.d(t,"i",(function(){return F}));var a=n(13),r=n(0),i=n.n(r),o=n(2),s=n.n(o),l=n(10),u=n(11),p=n(7),c=n(33),d=n.n(c),m=(n(21),n(19)),f=n(16),h=n.n(f),y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function b(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,a){e=n,t.forEach((function(t){return t(e,a)}))}}}var g=i.a.createContext||function(e,t){var n,r,o="__create-react-context-"+function(){var e="__global_unique_id__";return y[e]=(y[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n=arguments.length,a=new Array(n),r=0;r=0;d--){var m=o[d];"."===m?i(o,d):".."===m?(i(o,d),c++):c&&(i(o,d),c--)}if(!u)for(;c--;c)o.unshift("..");!u||""===o[0]||o[0]&&r(o[0])||o.unshift("");var f=o.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,a){return e(t,n[a])}));if("object"==typeof t||"object"==typeof n){var a=s(t),r=s(n);return a!==t||r!==n?e(a,r):Object.keys(Object.assign({},t,n)).every((function(a){return e(t[a],n[a])}))}return!1},u=n(11);function p(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,a=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function h(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",a="",r=t.indexOf("#");-1!==r&&(a=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===a?"":a}}(e)).state=t:(void 0===(i=Object(a.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=o(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,a,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof a?a(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function a(){n&&e.apply(void 0,arguments)}return t.push(a),function(){n=!1,t=t.filter((function(e){return e!==a}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),a=0;at?n.splice(t,n.length-t,a):n.push(a),c({action:"PUSH",location:a,index:t,entries:n})}}))},replace:function(e,t){var a=h(e,t,d(),x.location);p.confirmTransitionTo(a,"REPLACE",n,(function(e){e&&(x.entries[x.index]=a,c({action:"REPLACE",location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t1?t-1:0),a=1;a0?" Args: "+n.join(", "):""))}var w=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,r=a;e>=r;)(r<<=1)<0&&S(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=a;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],a=this.indexOfGroup(e),r=a+n,i=a;i=I&&(I=t+1),D.set(e,t),N.set(t,e)},P="style["+T+'][data-styled-version="5.3.11"]',A=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),O=function(e,t,n){for(var a,r=n.split(","),i=0,o=r.length;i=0;n--){var a=t[n];if(a&&1===a.nodeType&&a.hasAttribute(T))return a}}(n),i=void 0!==r?r.nextSibling:null;a.setAttribute(T,"active"),a.setAttribute("data-styled-version","5.3.11");var o=j();return o&&a.setAttribute("nonce",o),n.insertBefore(a,i),a},F=function(){function e(e){var t=this.element=L(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,a=t.length;n=0){var n=document.createTextNode(t),a=this.nodes[e];return this.element.insertBefore(n,a||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(u+=e+",")})),a+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return a}(this)},e}(),H=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=W(t%52)+n;return(W(t%52)+n).replace(H,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return $(5381,e)};function K(e){for(var t=0;t>>0);if(!t.hasNameForId(a,o)){var s=n(i,"."+o,void 0,a);t.insertRules(a,o,s)}r.push(o),this.staticRulesId=o}else{for(var l=this.rules.length,u=$(this.baseHash,n.hash),p="",c=0;c>>0);if(!t.hasNameForId(a,h)){var y=n(p,"."+h,void 0,a);t.insertRules(a,h,y)}r.push(h)}}return r.join(" ")},e}(),J=/^\s*\/\/.*$/gm,Z=[":","[",".","#"];function ee(e){var t,n,a,r,i=void 0===e?b:e,o=i.options,s=void 0===o?b:o,u=i.plugins,p=void 0===u?y:u,c=new l.a(s),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,a,r,i,o,s,l,u,p,c){switch(n){case 1:if(0===p&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===u)return a+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+a),"";default:return a+(0===c?"/*|*/":"")}case-2:a.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,a,i){return 0===a&&-1!==Z.indexOf(i[n.length])||i.match(r)?e:"."+t};function h(e,i,o,s){void 0===s&&(s="&");var l=e.replace(J,""),u=i&&o?o+" "+i+" { "+l+" }":l;return t=s,n=i,a=new RegExp("\\"+n+"\\b","g"),r=new RegExp("(\\"+n+"\\b){2,}"),c(o||!i?"":i,u)}return c.use([].concat(p,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(a,f))},m,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=p.length?p.reduce((function(e,t){return t.name||S(15),$(e,t.name)}),5381).toString():"",h}var te=i.a.createContext(),ne=(te.Consumer,i.a.createContext()),ae=(ne.Consumer,new z),re=ee();function ie(){return Object(r.useContext)(te)||ae}function oe(){return Object(r.useContext)(ne)||re}function se(e){var t=Object(r.useState)(e.stylisPlugins),n=t[0],a=t[1],o=ie(),l=Object(r.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=Object(r.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(r.useEffect)((function(){s()(n,e.stylisPlugins)||a(e.stylisPlugins)}),[e.stylisPlugins]),i.a.createElement(te.Provider,{value:l},i.a.createElement(ne.Provider,{value:u},e.children))}var le=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=re);var a=n.name+t.hash;e.hasNameForId(n.id,a)||e.insertRules(n.id,a,t(n.rules,a,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=re),this.name+e.hash},e}(),ue=/([A-Z])/,pe=/([A-Z])/g,ce=/^ms-/,de=function(e){return"-"+e.toLowerCase()};function me(e){return ue.test(e)?e.replace(pe,de).replace(ce,"-ms-"):e}var fe=function(e){return null==e||!1===e||""===e};function he(e,t,n,a){if(Array.isArray(e)){for(var r,i=[],o=0,s=e.length;o1?t-1:0),a=1;a?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Te(e){return e.replace(ve,"-").replace(xe,"")}var Ee=function(e){return q(X(e)>>>0)};function _e(e){return"string"==typeof e&&!0}var Se=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},we=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function De(e,t,n){var a=e[n];Se(t)&&Se(a)?Ne(a,t):e[n]=t}function Ne(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=0||(r[n]=e[n]);return r}(t,["componentId"]),i=a&&a+"-"+(_e(e)?e:Te(v(e)));return Ce(e,m({},r,{attrs:E,componentId:i}),n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?Ne({},e.defaultProps,t):t}}),Object.defineProperty(S,"toString",{value:function(){return"."+S.styledComponentId}}),o&&d()(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}var Me=function(e){return function e(t,n,r){if(void 0===r&&(r=b),!Object(a.isValidElementType)(n))return S(1,String(n));var i=function(){return t(n,r,be.apply(void 0,arguments))};return i.withConfig=function(a){return e(t,n,m({},r,{},a))},i.attrs=function(a){return e(t,n,m({},r,{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},i}(Ce,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Me[e]=Me(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=K(e),z.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,a){var r=a(he(this.rules,t,n,a).join(""),""),i=this.componentId+e;n.insertRules(i,i,r)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,a){e>2&&z.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,a)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=j();return""},this.getStyleTags=function(){return e.sealed?S(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return S(2);var n=((t={})[T]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),a=j();return a&&(n.nonce=a),[i.a.createElement("style",m({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new z({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?S(2):i.a.createElement(se,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return S(3)}}();t.a=Me}).call(this,n(17))},function(e,t,n){"use strict";function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));function a(e,{include:t,exclude:n}={}){const a=e=>{const a=t=>"string"==typeof t?e===t:t.test(e);return t?t.some(a):!n||!n.some(a)};for(const[t,n]of(e=>{const t=new Set;do{for(const n of Reflect.ownKeys(e))t.add([e,n])}while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t})(e.constructor.prototype)){if("constructor"===n||!a(n))continue;const r=Reflect.getOwnPropertyDescriptor(t,n);r&&"function"==typeof r.value&&(e[n]=e[n].bind(e))}return e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var a=n(21),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return a.isMemo(e)?o:s[e.$$typeof]||r}s[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[a.Memo]=o;var u=Object.defineProperty,p=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,a){if("string"!=typeof n){if(f){var r=m(n);r&&r!==f&&e(t,r,a)}var o=p(n);c&&(o=o.concat(c(n)));for(var s=l(t),h=l(n),y=0;y1)for(var n=1;n=0;a--){var r=e[a];"."===r?e.splice(a,1):".."===r?(e.splice(a,1),n++):n&&(e.splice(a,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],a=0;a=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return(r?"/":"")+(t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===r(e,-1);return(e=n(a(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function a(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var r=a(e.split("/")),i=a(n.split("/")),o=Math.min(r.length,i.length),s=o,l=0;l=1;--i)if(47===(t=e.charCodeAt(i))){if(!r){a=i;break}}else r=!1;return-1===a?n?"/":".":n&&1===a?"/":e.slice(0,a)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,a=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){n=t+1;break}}else-1===a&&(r=!1,a=t+1);return-1===a?"":e.slice(n,a)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,a=-1,r=!0,i=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===a&&(r=!1,a=o+1),46===s?-1===t?t=o:1!==i&&(i=1):-1!==t&&(i=-1);else if(!r){n=o+1;break}}return-1===t||-1===a||0===i||1===i&&t===a-1&&t===n+1?"":e.slice(t,a)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(17))},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(68)},function(e,t,n){"use strict";e.exports=n(85)},function(e,t,n){"use strict";function a(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(87),r=n(88),i=n(4),o=n(89);function s(e,t){var n,i,o,s;if(e){if(25>(e=function(e){if(e){if(e instanceof ArrayBuffer)return e;if(e instanceof Uint8Array)return new Uint8Array(e).buffer}throw new Error("Unsupported buffer type, need ArrayBuffer or Uint8Array")}(e)).byteLength)throw new Error("A buffer of a valid MIDI file must have, at least, a size of 25bytes.");for(this.header=new a(e,t),this.tracks=[],i=a.HEADER_LENGTH,o=0,s=this.header.getTracksCount();o=e.byteLength-1)throw new Error("Couldn't find datas corresponding to the track #"+o+".");n=new r(e,i,t),this.tracks.push(n),i+=n.getTrackLength()+8}if(t&&i!==e.byteLength)throw new Error("It seems that the buffer contains too much datas.")}else this.header=new a,this.tracks=[new r]}s.prototype.getEvents=function(e,t){var n,a,r,o,s,l,u=0,p=[],c=this.header.getFormat(),d=this.header.getTickResolution();if(1!==c||1===this.tracks.length)for(r=0,o=this.tracks.length;rthis.tracks.length||0>e)throw Error("Invalid track index ("+e+")");t=(n=i.createParser(this.tracks[e].getTrackContent(),0,!1)).next();do{a.push(t),t=n.next()}while(t);return a},s.prototype.setTrackEvents=function(e,t){var n,a;if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");if(!t||!t.length)throw Error("A track must contain at least one event, none given.");n=i.getRequiredBufferLength(t),a=new Uint8Array(n),i.writeToTrack(t,a),this.tracks[e].setTrackContent(a)},s.prototype.deleteTrack=function(e){if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");this.tracks.splice(e,1),this.header.setTracksCount(this.tracks.length)},s.prototype.addTrack=function(e){var t;if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");t=new r,e===this.tracks.length?this.tracks.push(t):this.tracks.splice(e,0,t),this.header.setTracksCount(this.tracks.length)},s.prototype.getContent=function(){var e,t,n,r,i,o,s,l,u;for(e=a.HEADER_LENGTH,r=0,i=this.tracks.length;rArray(Math.abs(t)+1).join(e);var i=[0,2,4,-1,1,3,5],o=i.map(e=>Math.floor(7*e/12));var s={empty:!0,name:"",pc:"",acc:""},l=new Map;function u(e){const t=JSON.stringify(e),n=l.get(t);if(n)return n;const a="string"==typeof e?function(e){const t=function(e){const t=p.exec(e);return[t[1].toUpperCase(),t[2].replace(/x/g,"##"),t[3],t[4]]}(e);if(""===t[0]||""!==t[3])return s;const n=t[0],a=t[1],r=t[2],l=(n.charCodeAt(0)+3)%7,u=(e=>"b"===e[0]?-e.length:e.length)(a),d=r.length?+r:void 0,m=function(e){const{step:t,alt:n,oct:a,dir:r=1}=e,s=i[t]+7*n;return void 0===a?[r*s]:[r*s,r*(a-o[t]-4*n)]}({step:l,alt:u,oct:d}),f=n+a+r,h=n+a,y=(c[l]+u+120)%12,b=void 0===d?(x=c[l]+u,T=12,(x%T+T)%T-1188):c[l]+u+12*(d+1),g=b>=0&&b<=127?b:null,v=void 0===d?null:440*Math.pow(2,(b-69)/12);var x,T;return{empty:!1,acc:a,alt:u,chroma:y,coord:m,freq:v,height:b,letter:n,midi:g,name:f,oct:d,pc:h,step:l}}(e):null!==(d=e)&&"object"==typeof d&&"number"==typeof d.step&&"number"==typeof d.alt?u(function(e){const{step:t,alt:n,oct:a}=e,i=(e=>"CDEFGAB".charAt(e))(t);if(!i)return"";const o=i+(e=>e<0?r("b",-e):r("#",e))(n);return a||0===a?o+a:o}(e)):function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.name}(e)?u(e.name):s;var d;return l.set(t,a),a}var p=/^([a-gA-G]?)(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)$/;var c=[0,2,4,5,7,9,11];function d(e){if(+(t=e)>=0&&+t<=127)return+e;var t;const n=u(e);return n.empty?null:n.midi}var m=function(){function e(){}return e.version=function(){return a.VERSION},e.stringToBytes=function(e){return e.split("").map((function(e){return e.charCodeAt(0)}))},e.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},e.getPitch=function(e,t){return void 0===t&&(t="C4"),60-d(t)+d(e)},e.numberToVariableLength=function(e){for(var t=127&(e=Math.round(e));e>>=7;)t<<=8,t|=127&e|128;for(var n=[];n.push(255&t),128&t;)t>>=8;return n},e.stringByteCount=function(e){return encodeURI(e).split(/%..|./).length-1},e.numberFromBytes=function(e){var t,n="";return e.forEach((function(e){1==(t=e.toString(16)).length&&(t="0"+t),n+=t})),parseInt(n,16)},e.numberToBytes=function(e,t){t=t||1;var n=e.toString(16);1&n.length&&(n="0"+n);var a=n.match(/.{2}/g).map((function(e){return parseInt(e,16)}));if(a.length0;)a.unshift(0);return a},e.toArray=function(e){return Array.isArray(e)?e:[e]},e.convertVelocity=function(e){return e=e>100?100:e,Math.round(e/100*127)},e.getTickDuration=function(t){if(Array.isArray(t))return t.map((function(t){return e.getTickDuration(t)})).reduce((function(e,t){return e+t}),0);if("t"===(t=t.toString()).toLowerCase().charAt(0)){var n=parseInt(t.substring(1));if(isNaN(n)||n<0)throw new Error(t+" is not a valid duration.");return n}var r=e.numberFromBytes(a.HEADER_CHUNK_DIVISION)*e.getDurationMultiplier(t);return e.getRoundedIfClose(r)},e.getRoundedIfClose=function(e){var t=Math.round(e);return Math.abs(t-e)<1e-6?t:e},e.getPrecisionLoss=function(e){return Math.round(e)-e},e.getDurationMultiplier=function(e){if("0"===e)return 0;var t=e.match(/^(?d+)?(?\d+)(?:t(?\d*))?/);if(t){var n=Number(t.groups.base);if(1===n||0==(n&n-1)){var a=1/(n/4),r=t.groups,i=r.dotted,o=r.tuplet;if(i){var s=i.length,l=Math.pow(2,s);a+=a*((l-1)/l)}if("string"==typeof o)a=2*a/Number(o||"3");return a}}throw new Error(e+" is not a valid duration.")},e}(),f=function(e){this.channel=e.channel-1||0,this.controllerValue=e.controllerValue,this.controllerNumber=e.controllerNumber,this.delta=e.delta||0,this.name="ControllerChangeEvent",this.status=176,this.data=m.numberToVariableLength(e.delta).concat(this.status|this.channel,this.controllerNumber,this.controllerValue)},h=function(e){this.delta=e.delta||0,this.name="CopyrightEvent",this.text=e.text,this.type=2;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},y=function(e){this.delta=e.delta||0,this.name="CuePointEvent",this.text=e.text,this.type=7;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},b=function(e){this.delta=(null==e?void 0:e.delta)||0,this.name="EndTrackEvent",this.type=[47,0],this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type)},g=function(e){this.delta=e.delta||0,this.name="InstrumentNameEvent",this.text=e.text,this.type=4;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},v=function(e,t){this.name="KeySignatureEvent",this.type=89;var n=t||0;if(e=e||0,void 0===t){var r=e.length,i=e||"C";if(e[0]===e[0].toLowerCase()&&(n=1),r>1)switch(e.charAt(r-1)){case"m":case"-":n=1,i=(i=e.charAt(0).toLowerCase()).concat(e.substring(1,r-1));break;case"M":case"+":n=0,i=(i=e.charAt(0).toUpperCase()).concat(e.substring(1,r-1))}var o=[["Cb","Gb","Db","Ab","Eb","Bb","F","C","G","D","A","E","B","F#","C#"],["ab","eb","bb","f","c","g","d","a","e","b","f#","c#","g#","d#","a#"]][n].indexOf(i);e=-1===o?0:o-7}this.data=m.numberToVariableLength(0).concat(a.META_EVENT_ID,this.type,[2],m.numberToBytes(e,1),m.numberToBytes(n,1))},x=function(e){this.delta=e.delta||0,this.name="LyricEvent",this.text=e.text,this.type=5;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},T=function(e){this.delta=e.delta||0,this.name="MarkerEvent",this.text=e.text,this.type=6;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},E=function(){function e(e){this.name="NoteOnEvent",this.channel=e.channel||1,this.pitch=e.pitch,this.wait=e.wait||0,this.velocity=e.velocity||50,this.tick=e.tick||null,this.delta=null,this.data=e.data,this.status=144}return e.prototype.buildData=function(e,t,n){return void 0===n&&(n={}),this.data=[],this.tick?(this.tick=m.getRoundedIfClose(this.tick),0==e.tickPointer&&(this.delta=this.tick)):(this.delta=m.getTickDuration(this.wait),this.tick=m.getRoundedIfClose(e.tickPointer+this.delta)),this.deltaWithPrecisionCorrection=m.getRoundedIfClose(this.delta-t),this.data=m.numberToVariableLength(this.deltaWithPrecisionCorrection).concat(this.status|this.channel-1,m.getPitch(this.pitch,n.middleC),m.convertVelocity(this.velocity)),this},e}(),_=function(){function e(e){this.name="NoteOffEvent",this.channel=e.channel||1,this.pitch=e.pitch,this.velocity=e.velocity||50,this.tick=e.tick||null,this.data=e.data,this.delta=e.delta||m.getTickDuration(e.duration),this.status=128}return e.prototype.buildData=function(e,t,n){return void 0===n&&(n={}),null===this.tick&&(this.tick=m.getRoundedIfClose(this.delta+e.tickPointer)),this.deltaWithPrecisionCorrection=m.getRoundedIfClose(this.delta-t),this.data=m.numberToVariableLength(this.deltaWithPrecisionCorrection).concat(this.status|this.channel-1,m.getPitch(this.pitch,n.middleC),m.convertVelocity(this.velocity)),this},e}(),S=function(){function e(e){this.data=[],this.name="NoteEvent",this.pitch=m.toArray(e.pitch),this.channel=e.channel||1,this.duration=e.duration||"4",this.grace=e.grace,this.repeat=e.repeat||1,this.sequential=e.sequential||!1,this.tick=e.startTick||e.tick||null,this.velocity=e.velocity||50,this.wait=e.wait||0,this.tickDuration=m.getTickDuration(this.duration),this.restDuration=m.getTickDuration(this.wait),this.events=[]}return e.prototype.buildData=function(){var t=this;if(this.data=[],this.grace){this.grace=m.toArray(this.grace),this.grace.forEach((function(){var n=new e({pitch:t.grace,duration:"T1"});t.data=t.data.concat(n.data)}))}if(this.sequential)for(n=0;n0?0:t.wait,delta:n>0?0:m.getTickDuration(t.wait),velocity:t.velocity,pitch:e,tick:t.tick}),r=new _({channel:t.channel,duration:t.duration,velocity:t.velocity,pitch:e});t.events.push(a,r)}));else for(var n=0;n>7&127;this.data=m.numberToVariableLength(this.delta).concat(this.status|this.channel,n,a)}return e.prototype.scale14bits=function(e){return e<=0?Math.floor(16384*(e+1)/2):Math.floor(16383*(e+1)/2)},e}(),D=function(e){this.channel=e.channel||0,this.delta=e.delta||0,this.instrument=e.instrument,this.status=192,this.name="ProgramChangeEvent",this.data=m.numberToVariableLength(this.delta).concat(this.status|this.channel,this.instrument)},N=function(e){this.bpm=e.bpm,this.delta=e.delta||0,this.tick=e.tick,this.name="TempoEvent",this.type=81;var t=Math.round(6e7/this.bpm);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,[3],m.numberToBytes(t,3))},I=function(e){this.delta=e.delta||0,this.text=e.text,this.name="TextEvent",this.type=1;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(e.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},k=function(e,t,n,r){this.name="TimeSignatureEvent",this.type=88,this.data=m.numberToVariableLength(0).concat(a.META_EVENT_ID,this.type,[4],m.numberToBytes(e,1),m.numberToBytes(Math.log2(t),1),m.numberToBytes(n||24,1),m.numberToBytes(r||8,1))},C=function(e){this.delta=e.delta||0,this.name="TrackNameEvent",this.text=e.text,this.type=3;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},M=function(){function e(){this.type=a.TRACK_CHUNK_TYPE,this.data=[],this.size=[],this.events=[],this.explicitTickEvents=[],this.tickPointer=0}return e.prototype.addEvent=function(e,t){var n=this;return m.toArray(e).forEach((function(e,a){if(e instanceof S){if("function"==typeof t){var r=t(a,e);"object"==typeof r&&Object.assign(e,r)}null!==e.tick?n.explicitTickEvents.push(e):e.buildData().events.forEach((function(e){return n.events.push(e)}))}else n.events.push(e)})),this},e.prototype.buildData=function(e){var t=this;void 0===e&&(e={}),this.data=[],this.size=[],this.tickPointer=0;var n=0;return this.events.forEach((function(a){if(a instanceof E||a instanceof _){var r=a.buildData(t,n,e);n=m.getPrecisionLoss(a.deltaWithPrecisionCorrection||0),t.data=t.data.concat(r.data),t.tickPointer=m.getRoundedIfClose(a.tick)}else a instanceof N?(t.tickPointer=m.getRoundedIfClose(a.tick),t.data=t.data.concat(a.data)):t.data=t.data.concat(a.data)})),this.mergeExplicitTickEvents(),this.events.length&&this.events[this.events.length-1]instanceof b||(this.data=this.data.concat((new b).data)),this.size=m.numberToBytes(this.data.length,4),this},e.prototype.mergeExplicitTickEvents=function(){var e=this;this.explicitTickEvents.length&&(this.explicitTickEvents.sort((function(e,t){return e.tick-t.tick})),this.explicitTickEvents.forEach((function(t){t.buildData().events.forEach((function(t){return t.buildData(e)})),t.events.forEach((function(t){return e.mergeSingleEvent(t)}))})),this.explicitTickEvents=[],this.buildData())},e.prototype.mergeTrack=function(e){var t=this;return this.buildData(),e.buildData().events.forEach((function(e){return t.mergeSingleEvent(e)})),this},e.prototype.mergeSingleEvent=function(e){if(this.events.length){for(var t,n=0;ne.tick);n++)t=n;var a=t+1;e.delta=e.tick-this.events[t].tick,this.events.splice(a,0,e);for(n=a+1;n0&&a.addEvent(new S({pitch:"[c4]",duration:"0",wait:r,velocity:"0"})),a},e.prototype.convertPitch=function(e,t,n,a){var r;void 0===a&&(a=!1);var i=e.split("/"),o=i[0].substring(1).replace("n","");return a&&(null===(r=n.getAccidentals())||void 0===r||r.forEach((function(e){e.index===t&&("n"===e.type?o="":o+=e.type)}))),i[0][0]+o+i[1]},e.prototype.convertDuration=function(e){return"d".repeat(e.dots)+this.convertBaseDuration(e.duration)+(e.tuplet?"t"+e.tuplet.num_notes:"")},e.prototype.convertBaseDuration=function(e){switch(e){case"w":return"1";case"h":return"2";case"q":return"4";default:return e}},e}(),A=function(e){this.type=a.HEADER_CHUNK_TYPE;var t=e>1?a.HEADER_CHUNK_FORMAT1:a.HEADER_CHUNK_FORMAT0;this.data=t.concat(m.numberToBytes(e,2),a.HEADER_CHUNK_DIVISION),this.size=[0,0,0,this.data.length]},O=function(){function e(e,t){void 0===t&&(t={}),this.tracks=m.toArray(e),this.options=t}return e.prototype.buildData=function(){var e=this,t=[];return t.push(new A(this.tracks.length)),this.tracks.forEach((function(n){t.push(n.buildData(e.options))})),t},e.prototype.buildFile=function(){var e=[];return this.buildData().forEach((function(t){return e=e.concat(t.type,t.size,t.data)})),new Uint8Array(e)},e.prototype.base64=function(){if("function"==typeof btoa){for(var e="",n=this.buildFile(),a=n.byteLength,r=0;r0&&o.length>r&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(e,t,n){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=d.bind(a);return r.listener=n,a.wrapFn=r,r}function f(e,t,n){var a=e._events;if(void 0===a)return[];var r=a[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=r[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var u=l.length,p=y(l,u);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,r=i;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;a--)this.removeListener(e,t[a]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},function(e,t,n){"use strict"; + */}).call(this,n(15),n(17))},function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return D})),n.d(t,"d",(function(){return I})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"e",(function(){return f}));var a=n(7);function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,a=n+1,r=e.length;a=0;d--){var m=o[d];"."===m?i(o,d):".."===m?(i(o,d),c++):c&&(i(o,d),c--)}if(!u)for(;c--;c)o.unshift("..");!u||""===o[0]||o[0]&&r(o[0])||o.unshift("");var f=o.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,a){return e(t,n[a])}));if("object"==typeof t||"object"==typeof n){var a=s(t),r=s(n);return a!==t||r!==n?e(a,r):Object.keys(Object.assign({},t,n)).every((function(a){return e(t[a],n[a])}))}return!1},u=n(11);function p(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,a=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function h(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",a="",r=t.indexOf("#");-1!==r&&(a=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===a?"":a}}(e)).state=t:(void 0===(i=Object(a.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=o(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,a,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof a?a(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function a(){n&&e.apply(void 0,arguments)}return t.push(a),function(){n=!1,t=t.filter((function(e){return e!==a}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),a=0;at?n.splice(t,n.length-t,a):n.push(a),c({action:"PUSH",location:a,index:t,entries:n})}}))},replace:function(e,t){var a=h(e,t,d(),x.location);p.confirmTransitionTo(a,"REPLACE",n,(function(e){e&&(x.entries[x.index]=a,c({action:"REPLACE",location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t1?t-1:0),a=1;a0?" Args: "+n.join(", "):""))}var w=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,r=a;e>=r;)(r<<=1)<0&&S(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=a;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],a=this.indexOfGroup(e),r=a+n,i=a;i=I&&(I=t+1),D.set(e,t),N.set(t,e)},P="style["+T+'][data-styled-version="5.3.11"]',O=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),A=function(e,t,n){for(var a,r=n.split(","),i=0,o=r.length;i=0;n--){var a=t[n];if(a&&1===a.nodeType&&a.hasAttribute(T))return a}}(n),i=void 0!==r?r.nextSibling:null;a.setAttribute(T,"active"),a.setAttribute("data-styled-version","5.3.11");var o=j();return o&&a.setAttribute("nonce",o),n.insertBefore(a,i),a},F=function(){function e(e){var t=this.element=L(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,a=t.length;n=0){var n=document.createTextNode(t),a=this.nodes[e];return this.element.insertBefore(n,a||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(u+=e+",")})),a+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return a}(this)},e}(),H=/(a)(d)/gi,W=function(e){return String.fromCharCode(e+(e>25?39:97))};function q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=W(t%52)+n;return(W(t%52)+n).replace(H,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return $(5381,e)};function K(e){for(var t=0;t>>0);if(!t.hasNameForId(a,o)){var s=n(i,"."+o,void 0,a);t.insertRules(a,o,s)}r.push(o),this.staticRulesId=o}else{for(var l=this.rules.length,u=$(this.baseHash,n.hash),p="",c=0;c>>0);if(!t.hasNameForId(a,h)){var y=n(p,"."+h,void 0,a);t.insertRules(a,h,y)}r.push(h)}}return r.join(" ")},e}(),J=/^\s*\/\/.*$/gm,Z=[":","[",".","#"];function ee(e){var t,n,a,r,i=void 0===e?b:e,o=i.options,s=void 0===o?b:o,u=i.plugins,p=void 0===u?y:u,c=new l.a(s),d=[],m=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,a,r,i,o,s,l,u,p,c){switch(n){case 1:if(0===p&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===u)return a+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(r[0]+a),"";default:return a+(0===c?"/*|*/":"")}case-2:a.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,a,i){return 0===a&&-1!==Z.indexOf(i[n.length])||i.match(r)?e:"."+t};function h(e,i,o,s){void 0===s&&(s="&");var l=e.replace(J,""),u=i&&o?o+" "+i+" { "+l+" }":l;return t=s,n=i,a=new RegExp("\\"+n+"\\b","g"),r=new RegExp("(\\"+n+"\\b){2,}"),c(o||!i?"":i,u)}return c.use([].concat(p,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(a,f))},m,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=p.length?p.reduce((function(e,t){return t.name||S(15),$(e,t.name)}),5381).toString():"",h}var te=i.a.createContext(),ne=(te.Consumer,i.a.createContext()),ae=(ne.Consumer,new z),re=ee();function ie(){return Object(r.useContext)(te)||ae}function oe(){return Object(r.useContext)(ne)||re}function se(e){var t=Object(r.useState)(e.stylisPlugins),n=t[0],a=t[1],o=ie(),l=Object(r.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=Object(r.useMemo)((function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(r.useEffect)((function(){s()(n,e.stylisPlugins)||a(e.stylisPlugins)}),[e.stylisPlugins]),i.a.createElement(te.Provider,{value:l},i.a.createElement(ne.Provider,{value:u},e.children))}var le=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=re);var a=n.name+t.hash;e.hasNameForId(n.id,a)||e.insertRules(n.id,a,t(n.rules,a,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=re),this.name+e.hash},e}(),ue=/([A-Z])/,pe=/([A-Z])/g,ce=/^ms-/,de=function(e){return"-"+e.toLowerCase()};function me(e){return ue.test(e)?e.replace(pe,de).replace(ce,"-ms-"):e}var fe=function(e){return null==e||!1===e||""===e};function he(e,t,n,a){if(Array.isArray(e)){for(var r,i=[],o=0,s=e.length;o1?t-1:0),a=1;a?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Te(e){return e.replace(ve,"-").replace(xe,"")}var Ee=function(e){return q(X(e)>>>0)};function _e(e){return"string"==typeof e&&!0}var Se=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},we=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function De(e,t,n){var a=e[n];Se(t)&&Se(a)?Ne(a,t):e[n]=t}function Ne(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=0||(r[n]=e[n]);return r}(t,["componentId"]),i=a&&a+"-"+(_e(e)?e:Te(v(e)));return Ce(e,m({},r,{attrs:E,componentId:i}),n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?Ne({},e.defaultProps,t):t}}),Object.defineProperty(S,"toString",{value:function(){return"."+S.styledComponentId}}),o&&d()(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}var Me=function(e){return function e(t,n,r){if(void 0===r&&(r=b),!Object(a.isValidElementType)(n))return S(1,String(n));var i=function(){return t(n,r,be.apply(void 0,arguments))};return i.withConfig=function(a){return e(t,n,m({},r,{},a))},i.attrs=function(a){return e(t,n,m({},r,{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},i}(Ce,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Me[e]=Me(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=K(e),z.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,a){var r=a(he(this.rules,t,n,a).join(""),""),i=this.componentId+e;n.insertRules(i,i,r)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,a){e>2&&z.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,a)}}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=j();return""},this.getStyleTags=function(){return e.sealed?S(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return S(2);var n=((t={})[T]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),a=j();return a&&(n.nonce=a),[i.a.createElement("style",m({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new z({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?S(2):i.a.createElement(se,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return S(3)}}();t.a=Me}).call(this,n(17))},function(e,t,n){"use strict";function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));function a(e,{include:t,exclude:n}={}){const a=e=>{const a=t=>"string"==typeof t?e===t:t.test(e);return t?t.some(a):!n||!n.some(a)};for(const[t,n]of(e=>{const t=new Set;do{for(const n of Reflect.ownKeys(e))t.add([e,n])}while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t})(e.constructor.prototype)){if("constructor"===n||!a(n))continue;const r=Reflect.getOwnPropertyDescriptor(t,n);r&&"function"==typeof r.value&&(e[n]=e[n].bind(e))}return e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var a=n(21),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return a.isMemo(e)?o:s[e.$$typeof]||r}s[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[a.Memo]=o;var u=Object.defineProperty,p=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,a){if("string"!=typeof n){if(f){var r=m(n);r&&r!==f&&e(t,r,a)}var o=p(n);c&&(o=o.concat(c(n)));for(var s=l(t),h=l(n),y=0;y1)for(var n=1;n=0;a--){var r=e[a];"."===r?e.splice(a,1):".."===r?(e.splice(a,1),n++):n&&(e.splice(a,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],a=0;a=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return(r?"/":"")+(t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),o="/"===r(e,-1);return(e=n(a(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function a(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var r=a(e.split("/")),i=a(n.split("/")),o=Math.min(r.length,i.length),s=o,l=0;l=1;--i)if(47===(t=e.charCodeAt(i))){if(!r){a=i;break}}else r=!1;return-1===a?n?"/":".":n&&1===a?"/":e.slice(0,a)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,a=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){n=t+1;break}}else-1===a&&(r=!1,a=t+1);return-1===a?"":e.slice(n,a)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,a=-1,r=!0,i=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===a&&(r=!1,a=o+1),46===s?-1===t?t=o:1!==i&&(i=1):-1!==t&&(i=-1);else if(!r){n=o+1;break}}return-1===t||-1===a||0===i||1===i&&t===a-1&&t===n+1?"":e.slice(t,a)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(17))},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(68)},function(e,t,n){"use strict";e.exports=n(85)},function(e,t,n){"use strict";function a(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(87),r=n(88),i=n(4),o=n(89);function s(e,t){var n,i,o,s;if(e){if(25>(e=function(e){if(e){if(e instanceof ArrayBuffer)return e;if(e instanceof Uint8Array)return new Uint8Array(e).buffer}throw new Error("Unsupported buffer type, need ArrayBuffer or Uint8Array")}(e)).byteLength)throw new Error("A buffer of a valid MIDI file must have, at least, a size of 25bytes.");for(this.header=new a(e,t),this.tracks=[],i=a.HEADER_LENGTH,o=0,s=this.header.getTracksCount();o=e.byteLength-1)throw new Error("Couldn't find datas corresponding to the track #"+o+".");n=new r(e,i,t),this.tracks.push(n),i+=n.getTrackLength()+8}if(t&&i!==e.byteLength)throw new Error("It seems that the buffer contains too much datas.")}else this.header=new a,this.tracks=[new r]}s.prototype.getEvents=function(e,t){var n,a,r,o,s,l,u=0,p=[],c=this.header.getFormat(),d=this.header.getTickResolution();if(1!==c||1===this.tracks.length)for(r=0,o=this.tracks.length;rthis.tracks.length||0>e)throw Error("Invalid track index ("+e+")");t=(n=i.createParser(this.tracks[e].getTrackContent(),0,!1)).next();do{a.push(t),t=n.next()}while(t);return a},s.prototype.setTrackEvents=function(e,t){var n,a;if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");if(!t||!t.length)throw Error("A track must contain at least one event, none given.");n=i.getRequiredBufferLength(t),a=new Uint8Array(n),i.writeToTrack(t,a),this.tracks[e].setTrackContent(a)},s.prototype.deleteTrack=function(e){if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");this.tracks.splice(e,1),this.header.setTracksCount(this.tracks.length)},s.prototype.addTrack=function(e){var t;if(e>this.tracks.length||0>e)throw Error("Invalid track index ("+e+")");t=new r,e===this.tracks.length?this.tracks.push(t):this.tracks.splice(e,0,t),this.header.setTracksCount(this.tracks.length)},s.prototype.getContent=function(){var e,t,n,r,i,o,s,l,u;for(e=a.HEADER_LENGTH,r=0,i=this.tracks.length;rArray(Math.abs(t)+1).join(e);var i=[0,2,4,-1,1,3,5],o=i.map(e=>Math.floor(7*e/12));var s={empty:!0,name:"",pc:"",acc:""},l=new Map;function u(e){const t=JSON.stringify(e),n=l.get(t);if(n)return n;const a="string"==typeof e?function(e){const t=function(e){const t=p.exec(e);return[t[1].toUpperCase(),t[2].replace(/x/g,"##"),t[3],t[4]]}(e);if(""===t[0]||""!==t[3])return s;const n=t[0],a=t[1],r=t[2],l=(n.charCodeAt(0)+3)%7,u=(e=>"b"===e[0]?-e.length:e.length)(a),d=r.length?+r:void 0,m=function(e){const{step:t,alt:n,oct:a,dir:r=1}=e,s=i[t]+7*n;return void 0===a?[r*s]:[r*s,r*(a-o[t]-4*n)]}({step:l,alt:u,oct:d}),f=n+a+r,h=n+a,y=(c[l]+u+120)%12,b=void 0===d?(x=c[l]+u,T=12,(x%T+T)%T-1188):c[l]+u+12*(d+1),g=b>=0&&b<=127?b:null,v=void 0===d?null:440*Math.pow(2,(b-69)/12);var x,T;return{empty:!1,acc:a,alt:u,chroma:y,coord:m,freq:v,height:b,letter:n,midi:g,name:f,oct:d,pc:h,step:l}}(e):null!==(d=e)&&"object"==typeof d&&"number"==typeof d.step&&"number"==typeof d.alt?u(function(e){const{step:t,alt:n,oct:a}=e,i=(e=>"CDEFGAB".charAt(e))(t);if(!i)return"";const o=i+(e=>e<0?r("b",-e):r("#",e))(n);return a||0===a?o+a:o}(e)):function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.name}(e)?u(e.name):s;var d;return l.set(t,a),a}var p=/^([a-gA-G]?)(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)$/;var c=[0,2,4,5,7,9,11];function d(e){if(+(t=e)>=0&&+t<=127)return+e;var t;const n=u(e);return n.empty?null:n.midi}var m=function(){function e(){}return e.version=function(){return a.VERSION},e.stringToBytes=function(e){return e.split("").map((function(e){return e.charCodeAt(0)}))},e.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},e.getPitch=function(e,t){return void 0===t&&(t="C4"),60-d(t)+d(e)},e.numberToVariableLength=function(e){for(var t=127&(e=Math.round(e));e>>=7;)t<<=8,t|=127&e|128;for(var n=[];n.push(255&t),128&t;)t>>=8;return n},e.stringByteCount=function(e){return encodeURI(e).split(/%..|./).length-1},e.numberFromBytes=function(e){var t,n="";return e.forEach((function(e){1==(t=e.toString(16)).length&&(t="0"+t),n+=t})),parseInt(n,16)},e.numberToBytes=function(e,t){t=t||1;var n=e.toString(16);1&n.length&&(n="0"+n);var a=n.match(/.{2}/g).map((function(e){return parseInt(e,16)}));if(a.length0;)a.unshift(0);return a},e.toArray=function(e){return Array.isArray(e)?e:[e]},e.convertVelocity=function(e){return e=e>100?100:e,Math.round(e/100*127)},e.getTickDuration=function(t){if(Array.isArray(t))return t.map((function(t){return e.getTickDuration(t)})).reduce((function(e,t){return e+t}),0);if("t"===(t=t.toString()).toLowerCase().charAt(0)){var n=parseInt(t.substring(1));if(isNaN(n)||n<0)throw new Error(t+" is not a valid duration.");return n}var r=e.numberFromBytes(a.HEADER_CHUNK_DIVISION)*e.getDurationMultiplier(t);return e.getRoundedIfClose(r)},e.getRoundedIfClose=function(e){var t=Math.round(e);return Math.abs(t-e)<1e-6?t:e},e.getPrecisionLoss=function(e){return Math.round(e)-e},e.getDurationMultiplier=function(e){if("0"===e)return 0;var t=e.match(/^(?d+)?(?\d+)(?:t(?\d*))?/);if(t){var n=Number(t.groups.base);if(1===n||0==(n&n-1)){var a=1/(n/4),r=t.groups,i=r.dotted,o=r.tuplet;if(i){var s=i.length,l=Math.pow(2,s);a+=a*((l-1)/l)}if("string"==typeof o)a=2*a/Number(o||"3");return a}}throw new Error(e+" is not a valid duration.")},e}(),f=function(e){this.channel=e.channel-1||0,this.controllerValue=e.controllerValue,this.controllerNumber=e.controllerNumber,this.delta=e.delta||0,this.name="ControllerChangeEvent",this.status=176,this.data=m.numberToVariableLength(e.delta).concat(this.status|this.channel,this.controllerNumber,this.controllerValue)},h=function(e){this.delta=e.delta||0,this.name="CopyrightEvent",this.text=e.text,this.type=2;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},y=function(e){this.delta=e.delta||0,this.name="CuePointEvent",this.text=e.text,this.type=7;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},b=function(e){this.delta=(null==e?void 0:e.delta)||0,this.name="EndTrackEvent",this.type=[47,0],this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type)},g=function(e){this.delta=e.delta||0,this.name="InstrumentNameEvent",this.text=e.text,this.type=4;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},v=function(e,t){this.name="KeySignatureEvent",this.type=89;var n=t||0;if(e=e||0,void 0===t){var r=e.length,i=e||"C";if(e[0]===e[0].toLowerCase()&&(n=1),r>1)switch(e.charAt(r-1)){case"m":case"-":n=1,i=(i=e.charAt(0).toLowerCase()).concat(e.substring(1,r-1));break;case"M":case"+":n=0,i=(i=e.charAt(0).toUpperCase()).concat(e.substring(1,r-1))}var o=[["Cb","Gb","Db","Ab","Eb","Bb","F","C","G","D","A","E","B","F#","C#"],["ab","eb","bb","f","c","g","d","a","e","b","f#","c#","g#","d#","a#"]][n].indexOf(i);e=-1===o?0:o-7}this.data=m.numberToVariableLength(0).concat(a.META_EVENT_ID,this.type,[2],m.numberToBytes(e,1),m.numberToBytes(n,1))},x=function(e){this.delta=e.delta||0,this.name="LyricEvent",this.text=e.text,this.type=5;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},T=function(e){this.delta=e.delta||0,this.name="MarkerEvent",this.text=e.text,this.type=6;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},E=function(){function e(e){this.name="NoteOnEvent",this.channel=e.channel||1,this.pitch=e.pitch,this.wait=e.wait||0,this.velocity=e.velocity||50,this.tick=e.tick||null,this.delta=null,this.data=e.data,this.status=144}return e.prototype.buildData=function(e,t,n){return void 0===n&&(n={}),this.data=[],this.tick?(this.tick=m.getRoundedIfClose(this.tick),0==e.tickPointer&&(this.delta=this.tick)):(this.delta=m.getTickDuration(this.wait),this.tick=m.getRoundedIfClose(e.tickPointer+this.delta)),this.deltaWithPrecisionCorrection=m.getRoundedIfClose(this.delta-t),this.data=m.numberToVariableLength(this.deltaWithPrecisionCorrection).concat(this.status|this.channel-1,m.getPitch(this.pitch,n.middleC),m.convertVelocity(this.velocity)),this},e}(),_=function(){function e(e){this.name="NoteOffEvent",this.channel=e.channel||1,this.pitch=e.pitch,this.velocity=e.velocity||50,this.tick=e.tick||null,this.data=e.data,this.delta=e.delta||m.getTickDuration(e.duration),this.status=128}return e.prototype.buildData=function(e,t,n){return void 0===n&&(n={}),null===this.tick&&(this.tick=m.getRoundedIfClose(this.delta+e.tickPointer)),this.deltaWithPrecisionCorrection=m.getRoundedIfClose(this.delta-t),this.data=m.numberToVariableLength(this.deltaWithPrecisionCorrection).concat(this.status|this.channel-1,m.getPitch(this.pitch,n.middleC),m.convertVelocity(this.velocity)),this},e}(),S=function(){function e(e){this.data=[],this.name="NoteEvent",this.pitch=m.toArray(e.pitch),this.channel=e.channel||1,this.duration=e.duration||"4",this.grace=e.grace,this.repeat=e.repeat||1,this.sequential=e.sequential||!1,this.tick=e.startTick||e.tick||null,this.velocity=e.velocity||50,this.wait=e.wait||0,this.tickDuration=m.getTickDuration(this.duration),this.restDuration=m.getTickDuration(this.wait),this.events=[]}return e.prototype.buildData=function(){var t=this;if(this.data=[],this.grace){this.grace=m.toArray(this.grace),this.grace.forEach((function(){var n=new e({pitch:t.grace,duration:"T1"});t.data=t.data.concat(n.data)}))}if(this.sequential)for(n=0;n0?0:t.wait,delta:n>0?0:m.getTickDuration(t.wait),velocity:t.velocity,pitch:e,tick:t.tick}),r=new _({channel:t.channel,duration:t.duration,velocity:t.velocity,pitch:e});t.events.push(a,r)}));else for(var n=0;n>7&127;this.data=m.numberToVariableLength(this.delta).concat(this.status|this.channel,n,a)}return e.prototype.scale14bits=function(e){return e<=0?Math.floor(16384*(e+1)/2):Math.floor(16383*(e+1)/2)},e}(),D=function(e){this.channel=e.channel||0,this.delta=e.delta||0,this.instrument=e.instrument,this.status=192,this.name="ProgramChangeEvent",this.data=m.numberToVariableLength(this.delta).concat(this.status|this.channel,this.instrument)},N=function(e){this.bpm=e.bpm,this.delta=e.delta||0,this.tick=e.tick,this.name="TempoEvent",this.type=81;var t=Math.round(6e7/this.bpm);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,[3],m.numberToBytes(t,3))},I=function(e){this.delta=e.delta||0,this.text=e.text,this.name="TextEvent",this.type=1;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(e.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},k=function(e,t,n,r){this.name="TimeSignatureEvent",this.type=88,this.data=m.numberToVariableLength(0).concat(a.META_EVENT_ID,this.type,[4],m.numberToBytes(e,1),m.numberToBytes(Math.log2(t),1),m.numberToBytes(n||24,1),m.numberToBytes(r||8,1))},C=function(e){this.delta=e.delta||0,this.name="TrackNameEvent",this.text=e.text,this.type=3;var t=m.stringToBytes(this.text);this.data=m.numberToVariableLength(this.delta).concat(a.META_EVENT_ID,this.type,m.numberToVariableLength(t.length),t)},M=function(){function e(){this.type=a.TRACK_CHUNK_TYPE,this.data=[],this.size=[],this.events=[],this.explicitTickEvents=[],this.tickPointer=0}return e.prototype.addEvent=function(e,t){var n=this;return m.toArray(e).forEach((function(e,a){if(e instanceof S){if("function"==typeof t){var r=t(a,e);"object"==typeof r&&Object.assign(e,r)}null!==e.tick?n.explicitTickEvents.push(e):e.buildData().events.forEach((function(e){return n.events.push(e)}))}else n.events.push(e)})),this},e.prototype.buildData=function(e){var t=this;void 0===e&&(e={}),this.data=[],this.size=[],this.tickPointer=0;var n=0;return this.events.forEach((function(a){if(a instanceof E||a instanceof _){var r=a.buildData(t,n,e);n=m.getPrecisionLoss(a.deltaWithPrecisionCorrection||0),t.data=t.data.concat(r.data),t.tickPointer=m.getRoundedIfClose(a.tick)}else a instanceof N?(t.tickPointer=m.getRoundedIfClose(a.tick),t.data=t.data.concat(a.data)):t.data=t.data.concat(a.data)})),this.mergeExplicitTickEvents(),this.events.length&&this.events[this.events.length-1]instanceof b||(this.data=this.data.concat((new b).data)),this.size=m.numberToBytes(this.data.length,4),this},e.prototype.mergeExplicitTickEvents=function(){var e=this;this.explicitTickEvents.length&&(this.explicitTickEvents.sort((function(e,t){return e.tick-t.tick})),this.explicitTickEvents.forEach((function(t){t.buildData().events.forEach((function(t){return t.buildData(e)})),t.events.forEach((function(t){return e.mergeSingleEvent(t)}))})),this.explicitTickEvents=[],this.buildData())},e.prototype.mergeTrack=function(e){var t=this;return this.buildData(),e.buildData().events.forEach((function(e){return t.mergeSingleEvent(e)})),this},e.prototype.mergeSingleEvent=function(e){if(this.events.length){for(var t,n=0;ne.tick);n++)t=n;var a=t+1;e.delta=e.tick-this.events[t].tick,this.events.splice(a,0,e);for(n=a+1;n0&&a.addEvent(new S({pitch:"[c4]",duration:"0",wait:r,velocity:"0"})),a},e.prototype.convertPitch=function(e,t,n,a){var r;void 0===a&&(a=!1);var i=e.split("/"),o=i[0].substring(1).replace("n","");return a&&(null===(r=n.getAccidentals())||void 0===r||r.forEach((function(e){e.index===t&&("n"===e.type?o="":o+=e.type)}))),i[0][0]+o+i[1]},e.prototype.convertDuration=function(e){return"d".repeat(e.dots)+this.convertBaseDuration(e.duration)+(e.tuplet?"t"+e.tuplet.num_notes:"")},e.prototype.convertBaseDuration=function(e){switch(e){case"w":return"1";case"h":return"2";case"q":return"4";default:return e}},e}(),O=function(e){this.type=a.HEADER_CHUNK_TYPE;var t=e>1?a.HEADER_CHUNK_FORMAT1:a.HEADER_CHUNK_FORMAT0;this.data=t.concat(m.numberToBytes(e,2),a.HEADER_CHUNK_DIVISION),this.size=[0,0,0,this.data.length]},A=function(){function e(e,t){void 0===t&&(t={}),this.tracks=m.toArray(e),this.options=t}return e.prototype.buildData=function(){var e=this,t=[];return t.push(new O(this.tracks.length)),this.tracks.forEach((function(n){t.push(n.buildData(e.options))})),t},e.prototype.buildFile=function(){var e=[];return this.buildData().forEach((function(t){return e=e.concat(t.type,t.size,t.data)})),new Uint8Array(e)},e.prototype.base64=function(){if("function"==typeof btoa){for(var e="",n=this.buildFile(),a=n.byteLength,r=0;r0&&o.length>r&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(e,t,n){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=d.bind(a);return r.listener=n,a.wrapFn=r,r}function f(e,t,n){var a=e._events;if(void 0===a)return[];var r=a[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=r[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var u=l.length,p=y(l,u);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,r=i;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;a--)this.removeListener(e,t[a]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @@ -510,7 +510,7 @@ class o{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Pr * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */Error}).call(this,n(15),n(17))},function(e,t){e.exports=function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var a=n(32)("wks"),r=n(9),i=n(0).Symbol,o="function"==typeof i;(e.exports=function(e){return a[e]||(a[e]=o&&i[e]||(o?i:r)("Symbol."+e))}).store=a},function(e,t,n){var a=n(0),r=n(2),i=n(8),o=n(22),s=n(10),l=function(e,t,n){var u,p,c,d,m=e&l.F,f=e&l.G,h=e&l.S,y=e&l.P,b=e&l.B,g=f?a:h?a[t]||(a[t]={}):(a[t]||{}).prototype,v=f?r:r[t]||(r[t]={}),x=v.prototype||(v.prototype={});for(u in f&&(n=t),n)c=((p=!m&&g&&void 0!==g[u])?g:n)[u],d=b&&p?s(c,a):y&&"function"==typeof c?s(Function.call,c):c,g&&o(g,u,c,e&l.U),v[u]!=c&&i(v,u,d),y&&x[u]!=c&&(x[u]=c)};a.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var a=n(16),r=n(21);e.exports=n(3)?function(e,t,n){return a.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,a=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+a).toString(36))}},function(e,t,n){var a=n(24);e.exports=function(e,t,n){if(a(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,a){return e.call(t,n,a)};case 3:return function(n,a,r){return e.call(t,n,a,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var a=n(28),r=Math.min;e.exports=function(e){return e>0?r(a(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),a=e.name||"",r=e.type||"",i=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?a.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?i===t.replace(/\/.*$/,""):r===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var a=n(7),r=n(25)(3);a(a.P+a.F*!n(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var a=n(17),r=n(18),i=n(20),o=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var a=n(1);e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var a=n(1),r=n(0).document,i=a(r)&&a(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){var a=n(1);e.exports=function(e,t){if(!a(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!a(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var a=n(0),r=n(8),i=n(23),o=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(i(n,o)||r(n,o,e[t]?""+e[t]:l.join(String(t)))),e===a?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var a=n(10),r=n(26),i=n(27),o=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,p=4==e,c=6==e,d=5==e||c,m=t||s;return function(t,s,f){for(var h,y,b=i(t),g=r(b),v=a(s,f,3),x=o(g.length),T=0,E=n?m(t,x):l?m(t,0):void 0;x>T;T++)if((d||T in g)&&(y=v(h=g[T],T,b),e))if(n)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return h;case 6:return T;case 2:E.push(h)}else if(p)return!1;return c?-1:u||p?p:E}}},function(e,t,n){var a=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},function(e,t,n){var a=n(11);e.exports=function(e){return Object(a(e))}},function(e,t){var n=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:n)(e)}},function(e,t,n){var a=n(30);e.exports=function(e,t){return new(a(e))(t)}},function(e,t,n){var a=n(1),r=n(31),i=n(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),a(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var a=n(5);e.exports=Array.isArray||function(e){return"Array"==a(e)}},function(e,t,n){var a=n(0),r=a["__core-js_shared__"]||(a["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,n){"use strict";var a=n(4);e.exports=function(e,t){return!!e&&a((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var a=n(7),r=n(12),i=n(36),o="".endsWith;a(a.P+a.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,a=r(t.length),s=void 0===n?a:Math.min(r(n),a),l=String(e);return o?o.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var a=n(37),r=n(11);e.exports=function(e,t,n){if(a(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var a=n(1),r=n(5),i=n(6)("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var a=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},function(e,t,n){var a,r,i,o,s;a=n(82),r=n(43).utf8,i=n(83),o=n(43).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,u=1732584193,p=-271733879,c=-1732584194,d=271733878,m=0;m>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[l>>>5]|=128<>>9<<4)]=l;var f=s._ff,h=s._gg,y=s._hh,b=s._ii;for(m=0;m>>0,p=p+v>>>0,c=c+x>>>0,d=d+T>>>0}return a.endian([u,p,c,d])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},function(e,t,n){var a=n(25),r=n(86),i=n(29),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,p,c,d,m,f=0,h=!1,y=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=l,a=u;return l=u=void 0,f=t,c=e.apply(a,n)}function v(e){return f=e,d=setTimeout(T,t),h?g(e):c}function x(e){var n=e-m;return void 0===m||n>=t||n<0||y&&e-f>=p}function T(){var e=r();if(x(e))return E(e);d=setTimeout(T,function(e){var n=t-(e-m);return y?s(n,p-(e-f)):n}(e))}function E(e){return d=void 0,b&&l?g(e):(l=u=void 0,c)}function _(){var e=r(),n=x(e);if(l=arguments,u=this,m=e,n){if(void 0===d)return v(m);if(y)return clearTimeout(d),d=setTimeout(T,t),g(m)}return void 0===d&&(d=setTimeout(T,t)),c}return t=i(t)||0,a(n)&&(h=!!n.leading,p=(y="maxWait"in n)?o(i(n.maxWait)||0,t):p,b="trailing"in n?!!n.trailing:b),_.cancel=function(){void 0!==d&&clearTimeout(d),f=0,l=m=u=d=void 0},_.flush=function(){return void 0===d?c:E(r())},_}},function(e,t,n){var a=n(90)();e.exports=a},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAATAQMAAACjqR+MAAAAAXNSR0IB2cksfwAAAAZQTFRFAAAA//1U1uuHPwAAAAJ0Uk5TAP9bkSK1AAAAL0lEQVR4nGNgAAM7OwY9KxDS4GLQkQIx9KsY1D8xKDAxKH9iUCpiECpi4P/HgAQAzQsHS7Ya3FIAAAAASUVORK5CYII="},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y}));var a=n(14),r=n(56);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n6&&void 0!==arguments[6]?arguments[6]:-90,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:-30;o(this,e),Object(a.a)(this),this.core=t;var m=32,f=0,y=i.width,b=25.95,g=4504,v=this.core._cqt_init(n.sampleRate,y,m,b,g,f);v?(this.cqtFreqs=Array(y).fill().map((function(e,t){return p.core._cqt_bin_to_freq(t)})),l=this.cqtFreqs.map((function(e){return.5+.5*h(e)}))):console.error("Error initializing constant Q transform. Constant Q will be disabled."),this.cqtSize=v,this.dataPtr=this.core._malloc(4*v),this.paused=!0,this.mode=0,this.weighting=0,this.analyserNode=n.createAnalyser(),r.connect(this.analyserNode),this.analyserNode.minDecibels=c,this.analyserNode.maxDecibels=d,this.analyserNode.smoothingTimeConstant=0,this.analyserNode.fftSize=this.fftSize=2048,this.byteFrequencyData=new Uint8Array(this.analyserNode.frequencyBinCount),this.freqCanvas=i,this.specCanvas=s,this.tempCanvas=document.createElement("canvas"),this.tempCanvas.width=this.specCanvas.width,this.tempCanvas.height=this.specCanvas.height,this.freqCtx=this.freqCanvas.getContext("2d",{alpha:!1}),this.specCtx=this.specCanvas.getContext("2d",{alpha:!1}),this.tempCtx=this.tempCanvas.getContext("2d",{alpha:!1}),this.pianoKeysImage=u,this.lastData=[],this.updateFrame()}var t,n,r;return t=e,(n=[{key:"setPaused",value:function(e){this.paused&&!e&&requestAnimationFrame(this.updateFrame),this.paused=e}},{key:"setMode",value:function(e){this.mode=e,this.analyserNode.fftSize=2===e?this.cqtSize||2048:this.fftSize}},{key:"setFFTSize",value:function(e){this.fftSize=e,this.analyserNode.fftSize=e}},{key:"isRepeatedFrequencyData",value:function(e){for(var t=!0,n=0;n<40;n+=2)e[n]!==this.lastData[n]&&(t=!1),this.lastData[n]=e[n];return t}},{key:"setWeighting",value:function(e){this.weighting=e}},{key:"setSpeed",value:function(e){this.specSpeed=e}},{key:"updateFrame",value:function(){if(!this.paused){requestAnimationFrame(this.updateFrame);var e=this.freqCanvas.height,t=this.freqCanvas.width,n=e/256,a=this.specSpeed,r=this.byteFrequencyData,i=this.analyserNode,o=this.freqCtx,s=this.tempCtx;o.fillStyle="black",o.fillRect(0,0,this.freqCanvas.width,this.freqCanvas.height),s.fillStyle="#000033",s.fillRect(0,0,this.tempCanvas.width,a);var h=performance.now(),y=new Float32Array(this.core.HEAPF32.buffer,this.dataPtr,this.cqtSize),b=this.fftSize/2,g=!1;if(0===this.mode){i.getByteFrequencyData(r),g=this.isRepeatedFrequencyData(r);for(var v=0;v=200&&(console.log("[Viz] %s ms analysis, %s ms total (%s fps) (%s% utilization)",(c/m).toFixed(2),(d/m).toFixed(2),(1e3*m/(h-f)).toFixed(1),(100*d/(A-f)).toFixed(1)),c=0,m=0,d=0,f=h))}}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();if(e.AnalyserNode&&!e.AnalyserNode.prototype.getFloatTimeDomainData){var b=new Uint8Array(32768);e.AnalyserNode.prototype.getFloatTimeDomainData=function(e){this.getByteTimeDomainData(b);for(var t=0,n=e.length;t0?r(a(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),a=e.name||"",r=e.type||"",i=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?a.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?i===t.replace(/\/.*$/,""):r===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){"use strict";var a=n(7),r=n(25)(3);a(a.P+a.F*!n(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var a=n(17),r=n(18),i=n(20),o=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var a=n(1);e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var a=n(1),r=n(0).document,i=a(r)&&a(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){var a=n(1);e.exports=function(e,t){if(!a(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!a(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var a=n(0),r=n(8),i=n(23),o=n(9)("src"),s=Function.toString,l=(""+s).split("toString");n(2).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(i(n,o)||r(n,o,e[t]?""+e[t]:l.join(String(t)))),e===a?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var a=n(10),r=n(26),i=n(27),o=n(12),s=n(29);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,p=4==e,c=6==e,d=5==e||c,m=t||s;return function(t,s,f){for(var h,y,b=i(t),g=r(b),v=a(s,f,3),x=o(g.length),T=0,E=n?m(t,x):l?m(t,0):void 0;x>T;T++)if((d||T in g)&&(y=v(h=g[T],T,b),e))if(n)E[T]=y;else if(y)switch(e){case 3:return!0;case 5:return h;case 6:return T;case 2:E.push(h)}else if(p)return!1;return c?-1:u||p?p:E}}},function(e,t,n){var a=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},function(e,t,n){var a=n(11);e.exports=function(e){return Object(a(e))}},function(e,t){var n=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:n)(e)}},function(e,t,n){var a=n(30);e.exports=function(e,t){return new(a(e))(t)}},function(e,t,n){var a=n(1),r=n(31),i=n(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),a(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var a=n(5);e.exports=Array.isArray||function(e){return"Array"==a(e)}},function(e,t,n){var a=n(0),r=a["__core-js_shared__"]||(a["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,n){"use strict";var a=n(4);e.exports=function(e,t){return!!e&&a((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){"use strict";var a=n(7),r=n(12),i=n(36),o="".endsWith;a(a.P+a.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,a=r(t.length),s=void 0===n?a:Math.min(r(n),a),l=String(e);return o?o.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){var a=n(37),r=n(11);e.exports=function(e,t,n){if(a(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var a=n(1),r=n(5),i=n(6)("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var a=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,!"/./"[e](t)}catch(e){}}return!0}}])},function(e,t,n){var a,r,i,o,s;a=n(82),r=n(43).utf8,i=n(83),o=n(43).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,u=1732584193,p=-271733879,c=-1732584194,d=271733878,m=0;m>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[l>>>5]|=128<>>9<<4)]=l;var f=s._ff,h=s._gg,y=s._hh,b=s._ii;for(m=0;m>>0,p=p+v>>>0,c=c+x>>>0,d=d+T>>>0}return a.endian([u,p,c,d])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},function(e,t,n){var a=n(25),r=n(86),i=n(29),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,p,c,d,m,f=0,h=!1,y=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=l,a=u;return l=u=void 0,f=t,c=e.apply(a,n)}function v(e){return f=e,d=setTimeout(T,t),h?g(e):c}function x(e){var n=e-m;return void 0===m||n>=t||n<0||y&&e-f>=p}function T(){var e=r();if(x(e))return E(e);d=setTimeout(T,function(e){var n=t-(e-m);return y?s(n,p-(e-f)):n}(e))}function E(e){return d=void 0,b&&l?g(e):(l=u=void 0,c)}function _(){var e=r(),n=x(e);if(l=arguments,u=this,m=e,n){if(void 0===d)return v(m);if(y)return clearTimeout(d),d=setTimeout(T,t),g(m)}return void 0===d&&(d=setTimeout(T,t)),c}return t=i(t)||0,a(n)&&(h=!!n.leading,p=(y="maxWait"in n)?o(i(n.maxWait)||0,t):p,b="trailing"in n?!!n.trailing:b),_.cancel=function(){void 0!==d&&clearTimeout(d),f=0,l=m=u=d=void 0},_.flush=function(){return void 0===d?c:E(r())},_}},function(e,t,n){var a=n(90)();e.exports=a},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAATAQMAAACjqR+MAAAAAXNSR0IB2cksfwAAAAZQTFRFAAAA//1U1uuHPwAAAAJ0Uk5TAP9bkSK1AAAAL0lEQVR4nGNgAAM7OwY9KxDS4GLQkQIx9KsY1D8xKDAxKH9iUCpiECpi4P/HgAQAzQsHS7Ya3FIAAAAASUVORK5CYII="},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y}));var a=n(14),r=n(56);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n6&&void 0!==arguments[6]?arguments[6]:-90,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:-30;o(this,e),Object(a.a)(this),this.core=t;var m=32,f=0,y=i.width,b=25.95,g=4504,v=this.core._cqt_init(n.sampleRate,y,m,b,g,f);v?(this.cqtFreqs=Array(y).fill().map((function(e,t){return p.core._cqt_bin_to_freq(t)})),l=this.cqtFreqs.map((function(e){return.5+.5*h(e)}))):console.error("Error initializing constant Q transform. Constant Q will be disabled."),this.cqtSize=v,this.dataPtr=this.core._malloc(4*v),this.paused=!0,this.mode=0,this.weighting=0,this.analyserNode=n.createAnalyser(),r.connect(this.analyserNode),this.analyserNode.minDecibels=c,this.analyserNode.maxDecibels=d,this.analyserNode.smoothingTimeConstant=0,this.analyserNode.fftSize=this.fftSize=2048,this.byteFrequencyData=new Uint8Array(this.analyserNode.frequencyBinCount),this.freqCanvas=i,this.specCanvas=s,this.tempCanvas=document.createElement("canvas"),this.tempCanvas.width=this.specCanvas.width,this.tempCanvas.height=this.specCanvas.height,this.freqCtx=this.freqCanvas.getContext("2d",{alpha:!1}),this.specCtx=this.specCanvas.getContext("2d",{alpha:!1}),this.tempCtx=this.tempCanvas.getContext("2d",{alpha:!1}),this.pianoKeysImage=u,this.lastData=[],this.updateFrame()}var t,n,r;return t=e,(n=[{key:"setPaused",value:function(e){this.paused&&!e&&requestAnimationFrame(this.updateFrame),this.paused=e}},{key:"setMode",value:function(e){this.mode=e,this.analyserNode.fftSize=2===e?this.cqtSize||2048:this.fftSize}},{key:"setFFTSize",value:function(e){this.fftSize=e,this.analyserNode.fftSize=e}},{key:"isRepeatedFrequencyData",value:function(e){for(var t=!0,n=0;n<40;n+=2)e[n]!==this.lastData[n]&&(t=!1),this.lastData[n]=e[n];return t}},{key:"setWeighting",value:function(e){this.weighting=e}},{key:"setSpeed",value:function(e){this.specSpeed=e}},{key:"updateFrame",value:function(){if(!this.paused){requestAnimationFrame(this.updateFrame);var e=this.freqCanvas.height,t=this.freqCanvas.width,n=e/256,a=this.specSpeed,r=this.byteFrequencyData,i=this.analyserNode,o=this.freqCtx,s=this.tempCtx;o.fillStyle="black",o.fillRect(0,0,this.freqCanvas.width,this.freqCanvas.height),s.fillStyle="#000033",s.fillRect(0,0,this.tempCanvas.width,a);var h=performance.now(),y=new Float32Array(this.core.HEAPF32.buffer,this.dataPtr,this.cqtSize),b=this.fftSize/2,g=!1;if(0===this.mode){i.getByteFrequencyData(r),g=this.isRepeatedFrequencyData(r);for(var v=0;v=200&&(console.log("[Viz] %s ms analysis, %s ms total (%s fps) (%s% utilization)",(c/m).toFixed(2),(d/m).toFixed(2),(1e3*m/(h-f)).toFixed(1),(100*d/(O-f)).toFixed(1)),c=0,m=0,d=0,f=h))}}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();if(e.AnalyserNode&&!e.AnalyserNode.prototype.getFloatTimeDomainData){var b=new Uint8Array(32768);e.AnalyserNode.prototype.getFloatTimeDomainData=function(e){this.getByteTimeDomainData(b);for(var t=0,n=e.length;t{},this.resolve=()=>{},this.promise=new Pr * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - */(function(){var a,r,i,o,s,l,u,p,c,d,m,f,h,y,b,g,v,x,T,E,_,S,w,D,N,I,k,C,M,P,A,O,R,j,L,F,V,B,U,G,z,H,W,q,$,X,K,Y,Q,J,Z,ee,te,ne,ae,re,ie,oe,se,le,ue,pe,ce,de,me,fe,he,ye,be,ge,ve,xe,Te,Ee,_e,Se,we,De,Ne,Ie,ke=[].slice;Se=function(){var e,t,n,a,r;for(e={},a=0,t=(r="Boolean Number String Function Array Date RegExp Undefined Null".split(" ")).length;an&&(e=n),e},we=function(e){return e.length>=3?Array.prototype.slice.call(e):e[0]},_=function(e){var t,n;for(e._clipped=!1,e._unclipped=e.slice(0),t=n=0;n<3;t=++n)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]<0&&(e[t]=0),e[t]>255&&(e[t]=255)):3===t&&(e[t]<0&&(e[t]=0),e[t]>1&&(e[t]=1));return e._clipped||delete e._unclipped,e},o=Math.PI,ve=Math.round,w=Math.cos,C=Math.floor,ae=Math.pow,Y=Math.log,Te=Math.sin,Ee=Math.sqrt,y=Math.atan2,Z=Math.max,h=Math.abs,u=2*o,s=o/3,r=o/180,l=180/o,(E=function(){return arguments[0]instanceof a?arguments[0]:function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,arguments,(function(){}))}).default=E,f=[],null!==e&&null!=e.exports&&(e.exports=E),void 0===(n=function(){return E}.apply(t,[]))||(e.exports=n),E.version="1.4.1",m={},c=[],d=!1,a=function(){function e(){var e,t,n,a,r,i,o,s,l;for(i=this,t=[],s=0,a=arguments.length;s1&&(o=t[t.length-1]),null!=m[o])i._rgb=_(m[o](we(t.slice(0,-1))));else{for(d||(c=c.sort((function(e,t){return t.p-e.p})),d=!0),l=0,r=c.length;ln&&(e=n),e},we=function(e){return e.length>=3?Array.prototype.slice.call(e):e[0]},_=function(e){var t,n;for(e._clipped=!1,e._unclipped=e.slice(0),t=n=0;n<3;t=++n)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]<0&&(e[t]=0),e[t]>255&&(e[t]=255)):3===t&&(e[t]<0&&(e[t]=0),e[t]>1&&(e[t]=1));return e._clipped||delete e._unclipped,e},o=Math.PI,ve=Math.round,w=Math.cos,C=Math.floor,ae=Math.pow,Y=Math.log,Te=Math.sin,Ee=Math.sqrt,y=Math.atan2,Z=Math.max,h=Math.abs,u=2*o,s=o/3,r=o/180,l=180/o,(E=function(){return arguments[0]instanceof a?arguments[0]:function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,arguments,(function(){}))}).default=E,f=[],null!==e&&null!=e.exports&&(e.exports=E),void 0===(n=function(){return E}.apply(t,[]))||(e.exports=n),E.version="1.4.1",m={},c=[],d=!1,a=function(){function e(){var e,t,n,a,r,i,o,s,l;for(i=this,t=[],s=0,a=arguments.length;s1&&(o=t[t.length-1]),null!=m[o])i._rgb=_(m[o](we(t.slice(0,-1))));else{for(d||(c=c.sort((function(e,t){return t.p-e.p})),d=!0),l=0,r=c.length;l{},this.resolve=()=>{},this.promise=new Pr @preserve */ -E.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},function(){var e,t;for(e in t=[],x)t.push(x[e.toLowerCase()]=x[e])}(),E.colors=De={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},H=function(){var e,t,n,a,r,o,s;return a=(t=we(arguments))[0],e=t[1],n=t[2],o=(a+16)/116,r=isNaN(e)?o:o+e/500,s=isNaN(n)?o:o-n/200,o=i.Yn*W(o),r=i.Xn*W(r),s=i.Zn*W(s),[Ie(3.2404542*r-1.5371385*o-.4985314*s),Ie(-.969266*r+1.8760108*o+.041556*s),n=Ie(.0556434*r-.2040259*o+1.0572252*s),t.length>3?t[3]:1]},Ie=function(e){return 255*(e<=.00304?12.92*e:1.055*ae(e,1/2.4)-.055)},W=function(e){return e>i.t1?e*e*e:i.t2*(e-i.t0)},i={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},ce=function(){var e,t,n,a,r,i,o;return n=(a=we(arguments))[0],t=a[1],e=a[2],i=(r=ye(n,t,e))[0],[116*(o=r[1])-16,500*(i-o),200*(o-r[2])]},be=function(e){return(e/=255)<=.04045?e/12.92:ae((e+.055)/1.055,2.4)},Ne=function(e){return e>i.t3?ae(e,1/3):e/i.t2+i.t0},ye=function(){var e,t,n,a;return n=(a=we(arguments))[0],t=a[1],e=a[2],n=be(n),t=be(t),e=be(e),[Ne((.4124564*n+.3575761*t+.1804375*e)/i.Xn),Ne((.2126729*n+.7151522*t+.072175*e)/i.Yn),Ne((.0193339*n+.119192*t+.9503041*e)/i.Zn)]},E.lab=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["lab"]),(function(){}))},m.lab=H,a.prototype.lab=function(){return ce(this._rgb)},b=function(e){var t,n,a,r,i,o,s,l,u,p,c;return 2===(e=function(){var t,n,a;for(a=[],n=0,t=e.length;n=0&&t[3]<=1?"rgb":void 0}}),m.lrgb=m.rgb,B=function(e,t,n,r){var i,o;return i=e._rgb,o=t._rgb,new a(Ee(ae(i[0],2)*(1-n)+ae(o[0],2)*n),Ee(ae(i[1],2)*(1-n)+ae(o[1],2)*n),Ee(ae(i[2],2)*(1-n)+ae(o[2],2)*n),r)},p=function(e){var t,n,r,i,o;for(t=1/e.length,o=[0,0,0,0],r=0,n=e.length;r1&&(o[3]=1),new a(_(o))},f.push(["lrgb",B]),E.average=function(e,t){var n,a,r,i,s,l,u,c,d,m,f,h,b;if(null==t&&(t="rgb"),d=e.length,u=(e=e.map((function(e){return E(e)}))).splice(0,1)[0],"lrgb"===t)return p(e);for(c in i=[],s=0,l=0,h=u.get(t))h[c]=h[c]||0,i.push(isNaN(h[c])?0:1),"h"!==t.charAt(c)||isNaN(h[c])||(n=h[c]/180*o,s+=w(n),l+=Te(n));for(a=u.alpha(),f=0,m=e.length;f=360;)n-=360;h[c]=n}else h[c]=h[c]/i[c];return E(h,t).alpha(a/d)},P=function(e){var t,n;if(e.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return 4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]),[(n=parseInt(e,16))>>16,n>>8&255,255&n,1];if(e.match(/^#?([A-Fa-f0-9]{8})$/))return 9===e.length&&(e=e.substr(1)),[(n=parseInt(e,16))>>24&255,n>>16&255,n>>8&255,ve((255&n)/255*100)/100];if(null!=m.css&&(t=m.css(e)))return t;throw"unknown color: "+e},se=function(e,t){var n,a,r,i,o,s;return null==t&&(t="auto"),o=e[0],r=e[1],a=e[2],n=e[3],"auto"===t&&(t=n<1?"rgba":"rgb"),o=Math.round(o),r=Math.round(r),a=Math.round(a),s=(s="000000"+(o<<16|r<<8|a).toString(16)).substr(s.length-6),i=(i="0"+ve(255*n).toString(16)).substr(i.length-2),"#"+function(){switch(t.toLowerCase()){case"rgba":return s+i;case"argb":return i+s;default:return s}}()},m.hex=function(e){return P(e)},E.hex=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hex"]),(function(){}))},a.prototype.hex=function(e){return null==e&&(e="auto"),se(this._rgb,e)},c.push({p:4,test:function(e){if(1===arguments.length&&"string"===Se(e))return"hex"}}),R=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m;if(r=(e=we(arguments))[0],p=e[1],o=e[2],0===p)l=a=t=255*o;else{for(n=[0,0,0],c=2*o-(d=o<.5?o*(1+p):o+p-o*p),(m=[0,0,0])[0]=(r/=360)+1/3,m[1]=r,m[2]=r-1/3,i=s=0;s<=2;i=++s)m[i]<0&&(m[i]+=1),m[i]>1&&(m[i]-=1),6*m[i]<1?n[i]=c+6*(d-c)*m[i]:2*m[i]<1?n[i]=d:3*m[i]<2?n[i]=c+(d-c)*(2/3-m[i])*6:n[i]=c;l=(u=[ve(255*n[0]),ve(255*n[1]),ve(255*n[2])])[0],a=u[1],t=u[2]}return e.length>3?[l,a,t,e[3]]:[l,a,t]},ue=function(e,t,n){var a,r,i,o,s;return void 0!==e&&e.length>=3&&(e=(o=e)[0],t=o[1],n=o[2]),e/=255,t/=255,n/=255,i=Math.min(e,t,n),r=((Z=Math.max(e,t,n))+i)/2,Z===i?(s=0,a=Number.NaN):s=r<.5?(Z-i)/(Z+i):(Z-i)/(2-Z-i),e===Z?a=(t-n)/(Z-i):t===Z?a=2+(n-e)/(Z-i):n===Z&&(a=4+(e-t)/(Z-i)),(a*=60)<0&&(a+=360),[a,s,r]},E.hsl=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsl"]),(function(){}))},m.hsl=R,a.prototype.hsl=function(){return ue(this._rgb)},j=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b;if(r=(e=we(arguments))[0],h=e[1],b=e[2],b*=255,0===h)l=a=t=b;else switch(360===r&&(r=0),r>360&&(r-=360),r<0&&(r+=360),o=b*(1-h),s=b*(1-h*(n=(r/=60)-(i=C(r)))),y=b*(1-h*(1-n)),i){case 0:l=(u=[b,y,o])[0],a=u[1],t=u[2];break;case 1:l=(p=[s,b,o])[0],a=p[1],t=p[2];break;case 2:l=(c=[o,b,y])[0],a=c[1],t=c[2];break;case 3:l=(d=[o,s,b])[0],a=d[1],t=d[2];break;case 4:l=(m=[y,o,b])[0],a=m[1],t=m[2];break;case 5:l=(f=[b,o,s])[0],a=f[1],t=f[2]}return[l,a,t,e.length>3?e[3]:1]},pe=function(){var e,t,n,a,r,i,o,s,l;return i=(o=we(arguments))[0],n=o[1],e=o[2],r=Math.min(i,n,e),t=(Z=Math.max(i,n,e))-r,l=Z/255,0===Z?(a=Number.NaN,s=0):(s=t/Z,i===Z&&(a=(n-e)/t),n===Z&&(a=2+(e-i)/t),e===Z&&(a=4+(i-n)/t),(a*=60)<0&&(a+=360)),[a,s,l]},E.hsv=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsv"]),(function(){}))},m.hsv=j,a.prototype.hsv=function(){return pe(this._rgb)},te=function(e){return"number"===Se(e)&&e>=0&&e<=16777215?[e>>16,e>>8&255,255&e,1]:(console.warn("unknown num color: "+e),[0,0,0,1])},fe=function(){var e;return((e=we(arguments))[0]<<16)+(e[1]<<8)+e[2]},E.num=function(e){return new a(e,"num")},a.prototype.num=function(e){return null==e&&(e="rgb"),fe(this._rgb,e)},m.num=te,c.push({p:1,test:function(e){if(1===arguments.length&&"number"===Se(e)&&e>=0&&e<=16777215)return"num"}}),M=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b,g,v;if(s=(n=we(arguments))[0],r=n[1],t=n[2],o=o/100*255,e=255*(r/=100),0===r)c=o=a=t;else switch(360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360),p=(u=t*(1-r))+e*(1-(i=(s/=60)-(l=C(s)))),g=u+e*i,v=u+e,l){case 0:c=(d=[v,g,u])[0],o=d[1],a=d[2];break;case 1:c=(m=[p,v,u])[0],o=m[1],a=m[2];break;case 2:c=(f=[u,v,g])[0],o=f[1],a=f[2];break;case 3:c=(h=[u,p,v])[0],o=h[1],a=h[2];break;case 4:c=(y=[g,u,v])[0],o=y[1],a=y[2];break;case 5:c=(b=[v,u,p])[0],o=b[1],a=b[2]}return[c,o,a,n.length>3?n[3]:1]},oe=function(){var e,t,n,a,r,i,o,s,l;return s=(l=we(arguments))[0],r=l[1],t=l[2],o=Math.min(s,r,t),n=100*(a=(Z=Math.max(s,r,t))-o)/255,e=o/(255-a)*100,0===a?i=Number.NaN:(s===Z&&(i=(r-t)/a),r===Z&&(i=2+(t-s)/a),t===Z&&(i=4+(s-r)/a),(i*=60)<0&&(i+=360)),[i,n,e]},E.hcg=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hcg"]),(function(){}))},m.hcg=M,a.prototype.hcg=function(){return oe(this._rgb)},D=function(e){var t,n,a,r,i,o,s,l;if(e=e.toLowerCase(),null!=E.colors&&E.colors[e])return P(E.colors[e]);if(i=e.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(s=i.slice(1,4),r=o=0;o<=2;r=++o)s[r]=+s[r];s[3]=1}else if(i=e.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(s=i.slice(1,5),r=l=0;l<=3;r=++l)s[r]=+s[r];else if(i=e.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(s=i.slice(1,4),r=t=0;t<=2;r=++t)s[r]=ve(2.55*s[r]);s[3]=1}else if(i=e.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(s=i.slice(1,5),r=n=0;n<=2;r=++n)s[r]=ve(2.55*s[r]);s[3]=+s[3]}else(i=e.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?((a=i.slice(1,4))[1]*=.01,a[2]*=.01,(s=R(a))[3]=1):(i=e.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&((a=i.slice(1,4))[1]*=.01,a[2]*=.01,(s=R(a))[3]=+i[4]);return s},ie=function(e){var t;return"rgb"===(t=e[3]<1?"rgba":"rgb")?t+"("+e.slice(0,3).map(ve).join(",")+")":"rgba"===t?t+"("+e.slice(0,3).map(ve).join(",")+","+e[3]+")":void 0},ge=function(e){return ve(100*e)/100},O=function(e,t){var n;return n=t<1?"hsla":"hsl",e[0]=ge(e[0]||0),e[1]=ge(100*e[1])+"%",e[2]=ge(100*e[2])+"%","hsla"===n&&(e[3]=t),n+"("+e.join(",")+")"},m.css=function(e){return D(e)},E.css=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["css"]),(function(){}))},a.prototype.css=function(e){return null==e&&(e="rgb"),"rgb"===e.slice(0,3)?ie(this._rgb):"hsl"===e.slice(0,3)?O(this.hsl(),this.alpha()):void 0},m.named=function(e){return P(De[e])},c.push({p:5,test:function(e){if(1===arguments.length&&null!=De[e])return"named"}}),a.prototype.name=function(e){var t,n;for(n in arguments.length&&(De[e]&&(this._rgb=P(De[e])),this._rgb[3]=1),t=this.hex("rgb"),De)if(t===De[n])return n;return t},q=function(){var e,t,n,a;return n=(a=we(arguments))[0],e=a[1],t=a[2],[n,w(t*=r)*e,Te(t)*e]},$=function(){var e,t,n,a,r,i,o,s,l;return o=(n=we(arguments))[0],r=n[1],i=n[2],e=(s=q(o,r,i))[0],t=s[1],a=s[2],[(l=H(e,t,a))[0],l[1],a=l[2],n.length>3?n[3]:1]},z=function(){var e,t,n,a,r,i;return r=(i=we(arguments))[0],e=i[1],t=i[2],n=Ee(e*e+t*t),a=(y(t,e)*l+360)%360,0===ve(1e4*n)&&(a=Number.NaN),[r,n,a]},de=function(){var e,t,n,a,r,i,o;return r=(i=we(arguments))[0],n=i[1],t=i[2],a=(o=ce(r,n,t))[0],e=o[1],t=o[2],z(a,e,t)},E.lch=function(){var e;return e=we(arguments),new a(e,"lch")},E.hcl=function(){var e;return e=we(arguments),new a(e,"hcl")},m.lch=$,m.hcl=function(){var e,t,n,a;return t=(a=we(arguments))[0],e=a[1],n=a[2],$([n,e,t])},a.prototype.lch=function(){return de(this._rgb)},a.prototype.hcl=function(){return de(this._rgb).reverse()},re=function(e){var t,n,a,r,i,o;return null==e&&(e="rgb"),i=(o=we(arguments))[0],a=o[1],t=o[2],a/=255,t/=255,[(1-(i/=255)-(r=1-Math.max(i,Math.max(a,t))))*(n=r<1?1/(1-r):0),(1-a-r)*n,(1-t-r)*n,r]},S=function(){var e,t,n,a,r,i;return n=(t=we(arguments))[0],r=t[1],i=t[2],a=t[3],e=t.length>4?t[4]:1,1===a?[0,0,0,e]:[n>=1?0:255*(1-n)*(1-a),r>=1?0:255*(1-r)*(1-a),i>=1?0:255*(1-i)*(1-a),e]},m.cmyk=function(){return S(we(arguments))},E.cmyk=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["cmyk"]),(function(){}))},a.prototype.cmyk=function(){return re(this._rgb)},m.gl=function(){var e,t,n,a,r;for(a=function(){var e,n;for(t in n=[],e=we(arguments))r=e[t],n.push(r);return n}.apply(this,arguments),e=n=0;n<=2;e=++n)a[e]*=255;return a},E.gl=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["gl"]),(function(){}))},a.prototype.gl=function(){var e;return[(e=this._rgb)[0]/255,e[1]/255,e[2]/255,e[3]]},me=function(e,t,n){var a;return e=(a=we(arguments))[0],t=a[1],n=a[2],.2126*(e=Q(e))+.7152*(t=Q(t))+.0722*(n=Q(n))},Q=function(e){return(e/=255)<=.03928?e/12.92:ae((e+.055)/1.055,2.4)},G=function(e,t,n,r){var i,o;return i=e._rgb,o=t._rgb,new a(i[0]+n*(o[0]-i[0]),i[1]+n*(o[1]-i[1]),i[2]+n*(o[2]-i[2]),r)},f.push(["rgb",G]),a.prototype.luminance=function(e,t){var n,a,r,i,o;return null==t&&(t="rgb"),arguments.length?(i=this._rgb,0===e?i=[0,0,0,this._rgb[3]]:1===e?i=[255,255,255,this[3]]:(n=me(this._rgb),a=1e-7,r=20,o=function(n,i){var s,l;return s=(l=n.interpolate(i,.5,t)).luminance(),Math.abs(e-s)e?o(n,l):o(l,i)},i=n>e?o(E("black"),this).rgba():o(this,E("white")).rgba()),E(i).alpha(this.alpha())):me(this._rgb)},_e=function(e){var t,n,a,r;return(r=e/100)<66?(a=255,n=-155.25485562709179-.44596950469579133*(n=r-2)+104.49216199393888*Y(n),t=r<20?0:.8274096064007395*(t=r-10)-254.76935184120902+115.67994401066147*Y(t)):(a=351.97690566805693+.114206453784165*(a=r-55)-40.25366309332127*Y(a),n=325.4494125711974+.07943456536662342*(n=r-50)-28.0852963507957*Y(n),t=255),[a,n,t]},he=function(){var e,t,n,a,r,i,o,s;for(r=(i=we(arguments))[0],i[1],e=i[2],a=1e3,n=4e4,t=.4;n-a>t;)(o=_e(s=.5*(n+a)))[2]/o[0]>=e/r?n=s:a=s;return ve(s)},E.temperature=E.kelvin=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["temperature"]),(function(){}))},m.temperature=m.kelvin=m.K=_e,a.prototype.temperature=function(){return he(this._rgb)},a.prototype.kelvin=a.prototype.temperature,E.contrast=function(e,t){var n,r,i,o;return"string"!==(i=Se(e))&&"number"!==i||(e=new a(e)),"string"!==(o=Se(t))&&"number"!==o||(t=new a(t)),(n=e.luminance())>(r=t.luminance())?(n+.05)/(r+.05):(r+.05)/(n+.05)},E.distance=function(e,t,n){var r,i,o,s,l,u,p;for(i in null==n&&(n="lab"),"string"!==(l=Se(e))&&"number"!==l||(e=new a(e)),"string"!==(u=Se(t))&&"number"!==u||(t=new a(t)),o=e.get(n),s=t.get(n),p=0,o)p+=(r=(o[i]||0)-(s[i]||0))*r;return Math.sqrt(p)},E.deltaE=function(e,t,n,r){var i,s,l,u,p,c,d,m,f,b,g,v,x,T,E,_,S,D,N,I,k,C,M,P;for(null==n&&(n=1),null==r&&(r=1),"string"!==(E=Se(e))&&"number"!==E||(e=new a(e)),"string"!==(_=Se(t))&&"number"!==_||(t=new a(t)),i=(S=e.lab())[0],l=S[1],p=S[2],s=(D=t.lab())[0],u=D[1],c=D[2],d=Ee(l*l+p*p),m=Ee(u*u+c*c),I=i<16?.511:.040975*i/(1+.01765*i),N=.0638*d/(1+.0131*d)+.638,T=d<1e-6?0:180*y(p,l)/o;T<0;)T+=360;for(;T>=360;)T-=360;return k=T>=164&&T<=345?.56+h(.2*w(o*(T+168)/180)):.36+h(.4*w(o*(T+35)/180)),x=Ee((f=d*d*d*d)/(f+1900)),Ee((C=(i-s)/(n*I))*C+(M=(v=d-m)/(r*N))*M+((b=l-u)*b+(g=p-c)*g-v*v)/((P=N*(x*k+1-x))*P))},a.prototype.get=function(e){var t,n,a,r,i;return this,a=(r=e.split("."))[0],t=r[1],i=this[a](),t?(n=a.indexOf(t))>-1?i[n]:console.warn("unknown channel "+t+" in mode "+a):i},a.prototype.set=function(e,t){var n,a,r,i,o;if(this,r=(i=e.split("."))[0],n=i[1])if(o=this[r](),(a=r.indexOf(n))>-1)if("string"===Se(t))switch(t.charAt(0)){case"+":case"-":o[a]+=+t;break;case"*":o[a]*=+t.substr(1);break;case"/":o[a]/=+t.substr(1);break;default:o[a]=+t}else o[a]=t;else console.warn("unknown channel "+n+" in mode "+r);else o=t;return E(o,r).alpha(this.alpha())},a.prototype.clipped=function(){return this._rgb._clipped||!1},a.prototype.alpha=function(e){return arguments.length?E.rgb([this._rgb[0],this._rgb[1],this._rgb[2],e]):this._rgb[3]},a.prototype.darken=function(e){var t;return null==e&&(e=1),this,(t=this.lab())[0]-=i.Kn*e,E.lab(t).alpha(this.alpha())},a.prototype.brighten=function(e){return null==e&&(e=1),this.darken(-e)},a.prototype.darker=a.prototype.darken,a.prototype.brighter=a.prototype.brighten,a.prototype.saturate=function(e){var t;return null==e&&(e=1),this,(t=this.lch())[1]+=e*i.Kn,t[1]<0&&(t[1]=0),E.lch(t).alpha(this.alpha())},a.prototype.desaturate=function(e){return null==e&&(e=1),this.saturate(-e)},a.prototype.premultiply=function(){var e,t;return t=this.rgb(),e=this.alpha(),E(t[0]*e,t[1]*e,t[2]*e,e)},ee=function(e,t){return e*t/255},N=function(e,t){return e>t?t:e},X=function(e,t){return e>t?e:t},xe=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},ne=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},T=function(e,t){return 255*(1-(1-t/255)/(e/255))},I=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e},(g=function(e,t,n){if(!g[n])throw"unknown blend mode "+n;return g[n](e,t)}).normal=(v=function(e){return function(t,n){var a,r;return a=E(n).rgb(),r=E(t).rgb(),E(e(a,r),"rgb")}})((k=function(e){return function(t,n){var a,r,i;for(i=[],a=r=0;r<=3;a=++r)i[a]=e(t[a],n[a]);return i}})((function(e,t){return e}))),g.multiply=v(k(ee)),g.screen=v(k(xe)),g.overlay=v(k(ne)),g.darken=v(k(N)),g.lighten=v(k(X)),g.dodge=v(k(I)),g.burn=v(k(T)),E.blend=g,E.analyze=function(e){var t,n,a,r;for(a={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},n=0,t=e.length;na.max&&(a.max=r),a.count+=1);return a.domain=[a.min,a.max],a.limits=function(e,t){return E.limits(a,e,t)},a},E.scale=function(e,t){var n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b,g,v,x,T,_;return p="rgb",c=E("#ccc"),h=0,!1,o=[0,1],f=[],m=[0,0],n=!1,r=[],d=!1,u=0,l=1,i=!1,a={},y=!0,s=1,T=function(e){var t,n,a,i,o,s;if(null==e&&(e=["#fff","#000"]),null!=e&&"string"===Se(e)&&null!=E.brewer&&(e=E.brewer[e]||E.brewer[e.toLowerCase()]||e),"array"===Se(e)){for(1===e.length&&(e=[e[0],e[0]]),t=a=0,i=(e=e.slice(0)).length-1;0<=i?a<=i:a>=i;t=0<=i?++a:--a)n=e[t],"string"===Se(n)&&(e[t]=E(n));for(f.length=0,t=s=0,o=e.length-1;0<=o?s<=o:s>=o;t=0<=o?++s:--s)f.push(t/(e.length-1))}return x(),r=e},g=function(e){var t,a;if(null!=n){for(a=n.length-1,t=0;t=n[t];)t++;return t-1}return 0},_=function(e){return e},function(e){var t,a,r,i,o;return o=e,n.length>2&&(i=n.length-1,t=g(e),r=n[0]+(n[1]-n[0])*(0+.5*h),a=n[i-1]+(n[i]-n[i-1])*(1-.5*h),o=u+(n[t]+.5*(n[t+1]-n[t])-r)/(a-r)*(l-u)),o},v=function(e,t){var i,o,d,h,b,v,x;if(null==t&&(t=!1),isNaN(e)||null===e)return c;if(x=t?e:n&&n.length>2?g(e)/(n.length-2):l!==u?(e-u)/(l-u):1,t||(x=_(x)),1!==s&&(x=ae(x,s)),x=m[0]+x*(1-m[0]-m[1]),x=Math.min(1,Math.max(0,x)),d=Math.floor(1e4*x),y&&a[d])i=a[d];else{if("array"===Se(r))for(o=h=0,v=f.length-1;0<=v?h<=v:h>=v;o=0<=v?++h:--h){if(x<=(b=f[o])){i=r[o];break}if(x>=b&&o===f.length-1){i=r[o];break}if(x>b&&x=p;t=0<=p?++c:--c)f.push(t/(a-1));return o=[u,l],b},b.mode=function(e){return arguments.length?(p=e,x(),b):p},b.range=function(e,t){return T(e),b},b.out=function(e){return d=e,b},b.spread=function(e){return arguments.length?(h=e,b):h},b.correctLightness=function(e){return null==e&&(e=!0),i=e,x(),_=i?function(e){var t,n,a,r,i,o,s,l,u;for(t=v(0,!0).lab()[0],n=v(1,!0).lab()[0],s=t>n,a=v(e,!0).lab()[0],r=a-(i=t+(n-t)*e),l=0,u=1,o=20;Math.abs(r)>.01&&o-- >0;)s&&(r*=-1),r<0?(l=e,e+=.5*(u-e)):(u=e,e+=.5*(l-e)),a=v(e,!0).lab()[0],r=a-i;return e}:function(e){return e},b},b.padding=function(e){return null!=e?("number"===Se(e)&&(e=[e,e]),m=e,b):m},b.colors=function(t,a){var i,s,l,u,p,c,d,m;if(arguments.length<2&&(a="hex"),p=[],0===arguments.length)p=r.slice(0);else if(1===t)p=[b(.5)];else if(t>1)s=o[0],i=o[1]-s,p=function(){c=[];for(var e=0;0<=t?et;0<=t?e++:e--)c.push(e);return c}.apply(this).map((function(e){return b(s+e/(t-1)*i)}));else{if(e=[],d=[],n&&n.length>2)for(l=m=1,u=n.length;1<=u?mu;l=1<=u?++m:--m)d.push(.5*(n[l-1]+n[l]));else d=o;p=d.map((function(e){return b(e)}))}return E[a]&&(p=p.map((function(e){return e[a]()}))),p},b.cache=function(e){return null!=e?(y=e,b):y},b.gamma=function(e){return null!=e?(s=e,b):s},b.nodata=function(e){return null!=e?(c=E(e),b):c},b},null==E.scales&&(E.scales={}),E.scales.cool=function(){return E.scale([E.hsl(180,1,.9),E.hsl(250,.7,.4)])},E.scales.hot=function(){return E.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},E.analyze=function(e,t,n){var a,r,i,o,s,l;if(s={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},null==n&&(n=function(){return!0}),a=function(e){null==e||isNaN(e)||(s.values.push(e),s.sum+=e,es.max&&(s.max=e),s.count+=1)},l=function(e,r){if(n(e,r))return null!=t&&"function"===Se(t)?a(t(e)):null!=t&&"string"===Se(t)||"number"===Se(t)?a(e[t]):a(e)},"array"===Se(e))for(o=0,i=e.length;o=B;S=1<=B?++j:--j)N.push(k+S/n*(Z-k));N.push(Z)}else if("l"===t.substr(0,1)){if(k<=0)throw"Logarithmic scales are only possible for values > 0";for(M=Math.LOG10E*Y(k),I=Math.LOG10E*Y(Z),N.push(k),S=ue=1,U=n-1;1<=U?ue<=U:ue>=U;S=1<=U?++ue:--ue)N.push(ae(10,M+S/n*(I-M)));N.push(Z)}else if("q"===t.substr(0,1)){for(N.push(k),S=a=1,$=n-1;1<=$?a<=$:a>=$;S=1<=$?++a:--a)L=(le.length-1)*S/n,(F=C(L))===L?N.push(le[F]):(V=L-F,N.push(le[F]*(1-V)+le[F+1]*V));N.push(Z)}else if("k"===t.substr(0,1)){for(A=le.length,b=new Array(A),T=new Array(n),re=!0,O=0,v=null,(v=[]).push(k),S=r=1,X=n-1;1<=X?r<=X:r>=X;S=1<=X?++r:--r)v.push(k+S/n*(Z-k));for(v.push(Z);re;){for(w=i=0,K=n-1;0<=K?i<=K:i>=K;w=0<=K?++i:--i)T[w]=0;for(S=o=0,Q=A-1;0<=Q?o<=Q:o>=Q;S=0<=Q?++o:--o){for(se=le[S],P=Number.MAX_VALUE,w=s=0,J=n-1;0<=J?s<=J:s>=J;w=0<=J?++s:--s)(_=h(v[w]-se))=ee;w=0<=ee?++l:--l)R[w]=null;for(S=u=0,te=A-1;0<=te?u<=te:u>=te;S=0<=te?++u:--u)null===R[x=b[S]]?R[x]=le[S]:R[x]+=le[S];for(w=p=0,ne=n-1;0<=ne?p<=ne:p>=ne;w=0<=ne?++p:--p)R[w]*=1/T[w];for(re=!1,w=c=0,G=n-1;0<=G?c<=G:c>=G;w=0<=G?++c:--c)if(R[w]!==v[S]){re=!0;break}v=R,++O>200&&(re=!1)}for(D={},w=d=0,z=n-1;0<=z?d<=z:d>=z;w=0<=z?++d:--d)D[w]=[];for(S=m=0,H=A-1;0<=H?m<=H:m>=H;S=0<=H?++m:--m)D[x=b[S]].push(le[S]);for(ie=[],w=f=0,W=n-1;0<=W?f<=W:f>=W;w=0<=W?++f:--f)ie.push(D[w][0]),ie.push(D[w][D[w].length-1]);for(ie=ie.sort((function(e,t){return e-t})),N.push(ie[0]),S=y=1,q=ie.length-1;y<=q;S=y+=2)oe=ie[S],isNaN(oe)||-1!==N.indexOf(oe)||N.push(oe)}return N},A=function(e,t,n){var a,r,i,o;return e=(a=we(arguments))[0],t=a[1],n=a[2],isNaN(e)&&(e=0),(e/=360)<1/3?i=1-((r=(1-t)/3)+(o=(1+t*w(u*e)/w(s-u*e))/3)):e<2/3?r=1-((o=(1-t)/3)+(i=(1+t*w(u*(e-=1/3))/w(s-u*e))/3)):o=1-((i=(1-t)/3)+(r=(1+t*w(u*(e-=2/3))/w(s-u*e))/3)),[255*(o=K(n*o*3)),255*(i=K(n*i*3)),255*(r=K(n*r*3)),a.length>3?a[3]:1]},le=function(){var e,t,n,a,r,i,o;return r=(i=we(arguments))[0],t=i[1],e=i[2],u=2*Math.PI,r/=255,t/=255,e/=255,0===(o=1-Math.min(r,t,e)/(a=(r+t+e)/3))?n=0:(n=(r-t+(r-e))/2,n/=Math.sqrt((r-t)*(r-t)+(r-e)*(t-e)),n=Math.acos(n),e>t&&(n=u-n),n/=u),[360*n,o,a]},E.hsi=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsi"]),(function(){}))},m.hsi=A,a.prototype.hsi=function(){return le(this._rgb)},F=function(e,t,n,a){var r,i,o,s,l,u,p,c,d,m;return"hsl"===a?(d=e.hsl(),m=t.hsl()):"hsv"===a?(d=e.hsv(),m=t.hsv()):"hcg"===a?(d=e.hcg(),m=t.hcg()):"hsi"===a?(d=e.hsi(),m=t.hsi()):"lch"!==a&&"hcl"!==a||(a="hcl",d=e.hcl(),m=t.hcl()),"h"===a.substr(0,1)&&(i=d[0],p=d[1],s=d[2],o=m[0],c=m[1],l=m[2]),isNaN(i)||isNaN(o)?isNaN(i)?isNaN(o)?r=Number.NaN:(r=o,1!==s&&0!==s||"hsv"===a||(u=c)):(r=i,1!==l&&0!==l||"hsv"===a||(u=p)):r=i+n*(o>i&&o-i>180?o-(i+360):o180?o+360-i:o-i),null==u&&(u=p+n*(c-p)),E[a](r,u,s+n*(l-s))},U=function(e,t,n,a){var r,i;return r=e.num(),i=t.num(),E.num(r+(i-r)*n,"num")},(f=f.concat(function(){var e,t,n,a;for(a=[],t=0,e=(n=["hsv","hsl","hsi","hcl","lch","hcg"]).length;ta&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0m)&&(V=(G=G.replace(" ",":")).length),01024){for(var t=0,n=r.length-i;t-1};f.prototype.append=function(e,t){e=c(e),t=d(t);var n=this.map[e];this.map[e]=n?n+","+t:t},f.prototype.delete=function(e){delete this.map[c(e)]},f.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},f.prototype.set=function(e,t){this.map[c(e)]=d(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),m(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),m(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),m(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},v.call(x.prototype),v.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var p=[301,302,303,307,308];E.redirect=function(e,t){if(-1===p.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},e.Headers=f,e.Request=x,e.Response=E,e.fetch=function(e,t){return new Promise((function(n,r){var i=new x(e,t),o=new XMLHttpRequest;o.onload=function(){var e,t,a={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new f,e.split(/\r?\n/).forEach((function(e){var n=e.split(":"),a=n.shift().trim();if(a){var r=n.join(":").trim();t.append(a,r)}})),t)};a.url="responseURL"in o?o.responseURL:a.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;n(new E(r,a))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&a&&(o.responseType="blob"),i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})),o.send(void 0===i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function m(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(a&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(r&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(i&&a&&s(e))this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(e)&&!l(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var e,t,n,a=h(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=y(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a-1?a:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function T(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),a=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(r))}})),t}function E(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict"; +E.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},function(){var e,t;for(e in t=[],x)t.push(x[e.toLowerCase()]=x[e])}(),E.colors=De={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},H=function(){var e,t,n,a,r,o,s;return a=(t=we(arguments))[0],e=t[1],n=t[2],o=(a+16)/116,r=isNaN(e)?o:o+e/500,s=isNaN(n)?o:o-n/200,o=i.Yn*W(o),r=i.Xn*W(r),s=i.Zn*W(s),[Ie(3.2404542*r-1.5371385*o-.4985314*s),Ie(-.969266*r+1.8760108*o+.041556*s),n=Ie(.0556434*r-.2040259*o+1.0572252*s),t.length>3?t[3]:1]},Ie=function(e){return 255*(e<=.00304?12.92*e:1.055*ae(e,1/2.4)-.055)},W=function(e){return e>i.t1?e*e*e:i.t2*(e-i.t0)},i={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},ce=function(){var e,t,n,a,r,i,o;return n=(a=we(arguments))[0],t=a[1],e=a[2],i=(r=ye(n,t,e))[0],[116*(o=r[1])-16,500*(i-o),200*(o-r[2])]},be=function(e){return(e/=255)<=.04045?e/12.92:ae((e+.055)/1.055,2.4)},Ne=function(e){return e>i.t3?ae(e,1/3):e/i.t2+i.t0},ye=function(){var e,t,n,a;return n=(a=we(arguments))[0],t=a[1],e=a[2],n=be(n),t=be(t),e=be(e),[Ne((.4124564*n+.3575761*t+.1804375*e)/i.Xn),Ne((.2126729*n+.7151522*t+.072175*e)/i.Yn),Ne((.0193339*n+.119192*t+.9503041*e)/i.Zn)]},E.lab=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["lab"]),(function(){}))},m.lab=H,a.prototype.lab=function(){return ce(this._rgb)},b=function(e){var t,n,a,r,i,o,s,l,u,p,c;return 2===(e=function(){var t,n,a;for(a=[],n=0,t=e.length;n=0&&t[3]<=1?"rgb":void 0}}),m.lrgb=m.rgb,B=function(e,t,n,r){var i,o;return i=e._rgb,o=t._rgb,new a(Ee(ae(i[0],2)*(1-n)+ae(o[0],2)*n),Ee(ae(i[1],2)*(1-n)+ae(o[1],2)*n),Ee(ae(i[2],2)*(1-n)+ae(o[2],2)*n),r)},p=function(e){var t,n,r,i,o;for(t=1/e.length,o=[0,0,0,0],r=0,n=e.length;r1&&(o[3]=1),new a(_(o))},f.push(["lrgb",B]),E.average=function(e,t){var n,a,r,i,s,l,u,c,d,m,f,h,b;if(null==t&&(t="rgb"),d=e.length,u=(e=e.map((function(e){return E(e)}))).splice(0,1)[0],"lrgb"===t)return p(e);for(c in i=[],s=0,l=0,h=u.get(t))h[c]=h[c]||0,i.push(isNaN(h[c])?0:1),"h"!==t.charAt(c)||isNaN(h[c])||(n=h[c]/180*o,s+=w(n),l+=Te(n));for(a=u.alpha(),f=0,m=e.length;f=360;)n-=360;h[c]=n}else h[c]=h[c]/i[c];return E(h,t).alpha(a/d)},P=function(e){var t,n;if(e.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return 4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]),[(n=parseInt(e,16))>>16,n>>8&255,255&n,1];if(e.match(/^#?([A-Fa-f0-9]{8})$/))return 9===e.length&&(e=e.substr(1)),[(n=parseInt(e,16))>>24&255,n>>16&255,n>>8&255,ve((255&n)/255*100)/100];if(null!=m.css&&(t=m.css(e)))return t;throw"unknown color: "+e},se=function(e,t){var n,a,r,i,o,s;return null==t&&(t="auto"),o=e[0],r=e[1],a=e[2],n=e[3],"auto"===t&&(t=n<1?"rgba":"rgb"),o=Math.round(o),r=Math.round(r),a=Math.round(a),s=(s="000000"+(o<<16|r<<8|a).toString(16)).substr(s.length-6),i=(i="0"+ve(255*n).toString(16)).substr(i.length-2),"#"+function(){switch(t.toLowerCase()){case"rgba":return s+i;case"argb":return i+s;default:return s}}()},m.hex=function(e){return P(e)},E.hex=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hex"]),(function(){}))},a.prototype.hex=function(e){return null==e&&(e="auto"),se(this._rgb,e)},c.push({p:4,test:function(e){if(1===arguments.length&&"string"===Se(e))return"hex"}}),R=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m;if(r=(e=we(arguments))[0],p=e[1],o=e[2],0===p)l=a=t=255*o;else{for(n=[0,0,0],c=2*o-(d=o<.5?o*(1+p):o+p-o*p),(m=[0,0,0])[0]=(r/=360)+1/3,m[1]=r,m[2]=r-1/3,i=s=0;s<=2;i=++s)m[i]<0&&(m[i]+=1),m[i]>1&&(m[i]-=1),6*m[i]<1?n[i]=c+6*(d-c)*m[i]:2*m[i]<1?n[i]=d:3*m[i]<2?n[i]=c+(d-c)*(2/3-m[i])*6:n[i]=c;l=(u=[ve(255*n[0]),ve(255*n[1]),ve(255*n[2])])[0],a=u[1],t=u[2]}return e.length>3?[l,a,t,e[3]]:[l,a,t]},ue=function(e,t,n){var a,r,i,o,s;return void 0!==e&&e.length>=3&&(e=(o=e)[0],t=o[1],n=o[2]),e/=255,t/=255,n/=255,i=Math.min(e,t,n),r=((Z=Math.max(e,t,n))+i)/2,Z===i?(s=0,a=Number.NaN):s=r<.5?(Z-i)/(Z+i):(Z-i)/(2-Z-i),e===Z?a=(t-n)/(Z-i):t===Z?a=2+(n-e)/(Z-i):n===Z&&(a=4+(e-t)/(Z-i)),(a*=60)<0&&(a+=360),[a,s,r]},E.hsl=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsl"]),(function(){}))},m.hsl=R,a.prototype.hsl=function(){return ue(this._rgb)},j=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b;if(r=(e=we(arguments))[0],h=e[1],b=e[2],b*=255,0===h)l=a=t=b;else switch(360===r&&(r=0),r>360&&(r-=360),r<0&&(r+=360),o=b*(1-h),s=b*(1-h*(n=(r/=60)-(i=C(r)))),y=b*(1-h*(1-n)),i){case 0:l=(u=[b,y,o])[0],a=u[1],t=u[2];break;case 1:l=(p=[s,b,o])[0],a=p[1],t=p[2];break;case 2:l=(c=[o,b,y])[0],a=c[1],t=c[2];break;case 3:l=(d=[o,s,b])[0],a=d[1],t=d[2];break;case 4:l=(m=[y,o,b])[0],a=m[1],t=m[2];break;case 5:l=(f=[b,o,s])[0],a=f[1],t=f[2]}return[l,a,t,e.length>3?e[3]:1]},pe=function(){var e,t,n,a,r,i,o,s,l;return i=(o=we(arguments))[0],n=o[1],e=o[2],r=Math.min(i,n,e),t=(Z=Math.max(i,n,e))-r,l=Z/255,0===Z?(a=Number.NaN,s=0):(s=t/Z,i===Z&&(a=(n-e)/t),n===Z&&(a=2+(e-i)/t),e===Z&&(a=4+(i-n)/t),(a*=60)<0&&(a+=360)),[a,s,l]},E.hsv=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsv"]),(function(){}))},m.hsv=j,a.prototype.hsv=function(){return pe(this._rgb)},te=function(e){return"number"===Se(e)&&e>=0&&e<=16777215?[e>>16,e>>8&255,255&e,1]:(console.warn("unknown num color: "+e),[0,0,0,1])},fe=function(){var e;return((e=we(arguments))[0]<<16)+(e[1]<<8)+e[2]},E.num=function(e){return new a(e,"num")},a.prototype.num=function(e){return null==e&&(e="rgb"),fe(this._rgb,e)},m.num=te,c.push({p:1,test:function(e){if(1===arguments.length&&"number"===Se(e)&&e>=0&&e<=16777215)return"num"}}),M=function(){var e,t,n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b,g,v;if(s=(n=we(arguments))[0],r=n[1],t=n[2],o=o/100*255,e=255*(r/=100),0===r)c=o=a=t;else switch(360===s&&(s=0),s>360&&(s-=360),s<0&&(s+=360),p=(u=t*(1-r))+e*(1-(i=(s/=60)-(l=C(s)))),g=u+e*i,v=u+e,l){case 0:c=(d=[v,g,u])[0],o=d[1],a=d[2];break;case 1:c=(m=[p,v,u])[0],o=m[1],a=m[2];break;case 2:c=(f=[u,v,g])[0],o=f[1],a=f[2];break;case 3:c=(h=[u,p,v])[0],o=h[1],a=h[2];break;case 4:c=(y=[g,u,v])[0],o=y[1],a=y[2];break;case 5:c=(b=[v,u,p])[0],o=b[1],a=b[2]}return[c,o,a,n.length>3?n[3]:1]},oe=function(){var e,t,n,a,r,i,o,s,l;return s=(l=we(arguments))[0],r=l[1],t=l[2],o=Math.min(s,r,t),n=100*(a=(Z=Math.max(s,r,t))-o)/255,e=o/(255-a)*100,0===a?i=Number.NaN:(s===Z&&(i=(r-t)/a),r===Z&&(i=2+(t-s)/a),t===Z&&(i=4+(s-r)/a),(i*=60)<0&&(i+=360)),[i,n,e]},E.hcg=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hcg"]),(function(){}))},m.hcg=M,a.prototype.hcg=function(){return oe(this._rgb)},D=function(e){var t,n,a,r,i,o,s,l;if(e=e.toLowerCase(),null!=E.colors&&E.colors[e])return P(E.colors[e]);if(i=e.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(s=i.slice(1,4),r=o=0;o<=2;r=++o)s[r]=+s[r];s[3]=1}else if(i=e.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(s=i.slice(1,5),r=l=0;l<=3;r=++l)s[r]=+s[r];else if(i=e.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(s=i.slice(1,4),r=t=0;t<=2;r=++t)s[r]=ve(2.55*s[r]);s[3]=1}else if(i=e.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(s=i.slice(1,5),r=n=0;n<=2;r=++n)s[r]=ve(2.55*s[r]);s[3]=+s[3]}else(i=e.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?((a=i.slice(1,4))[1]*=.01,a[2]*=.01,(s=R(a))[3]=1):(i=e.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&((a=i.slice(1,4))[1]*=.01,a[2]*=.01,(s=R(a))[3]=+i[4]);return s},ie=function(e){var t;return"rgb"===(t=e[3]<1?"rgba":"rgb")?t+"("+e.slice(0,3).map(ve).join(",")+")":"rgba"===t?t+"("+e.slice(0,3).map(ve).join(",")+","+e[3]+")":void 0},ge=function(e){return ve(100*e)/100},A=function(e,t){var n;return n=t<1?"hsla":"hsl",e[0]=ge(e[0]||0),e[1]=ge(100*e[1])+"%",e[2]=ge(100*e[2])+"%","hsla"===n&&(e[3]=t),n+"("+e.join(",")+")"},m.css=function(e){return D(e)},E.css=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["css"]),(function(){}))},a.prototype.css=function(e){return null==e&&(e="rgb"),"rgb"===e.slice(0,3)?ie(this._rgb):"hsl"===e.slice(0,3)?A(this.hsl(),this.alpha()):void 0},m.named=function(e){return P(De[e])},c.push({p:5,test:function(e){if(1===arguments.length&&null!=De[e])return"named"}}),a.prototype.name=function(e){var t,n;for(n in arguments.length&&(De[e]&&(this._rgb=P(De[e])),this._rgb[3]=1),t=this.hex("rgb"),De)if(t===De[n])return n;return t},q=function(){var e,t,n,a;return n=(a=we(arguments))[0],e=a[1],t=a[2],[n,w(t*=r)*e,Te(t)*e]},$=function(){var e,t,n,a,r,i,o,s,l;return o=(n=we(arguments))[0],r=n[1],i=n[2],e=(s=q(o,r,i))[0],t=s[1],a=s[2],[(l=H(e,t,a))[0],l[1],a=l[2],n.length>3?n[3]:1]},z=function(){var e,t,n,a,r,i;return r=(i=we(arguments))[0],e=i[1],t=i[2],n=Ee(e*e+t*t),a=(y(t,e)*l+360)%360,0===ve(1e4*n)&&(a=Number.NaN),[r,n,a]},de=function(){var e,t,n,a,r,i,o;return r=(i=we(arguments))[0],n=i[1],t=i[2],a=(o=ce(r,n,t))[0],e=o[1],t=o[2],z(a,e,t)},E.lch=function(){var e;return e=we(arguments),new a(e,"lch")},E.hcl=function(){var e;return e=we(arguments),new a(e,"hcl")},m.lch=$,m.hcl=function(){var e,t,n,a;return t=(a=we(arguments))[0],e=a[1],n=a[2],$([n,e,t])},a.prototype.lch=function(){return de(this._rgb)},a.prototype.hcl=function(){return de(this._rgb).reverse()},re=function(e){var t,n,a,r,i,o;return null==e&&(e="rgb"),i=(o=we(arguments))[0],a=o[1],t=o[2],a/=255,t/=255,[(1-(i/=255)-(r=1-Math.max(i,Math.max(a,t))))*(n=r<1?1/(1-r):0),(1-a-r)*n,(1-t-r)*n,r]},S=function(){var e,t,n,a,r,i;return n=(t=we(arguments))[0],r=t[1],i=t[2],a=t[3],e=t.length>4?t[4]:1,1===a?[0,0,0,e]:[n>=1?0:255*(1-n)*(1-a),r>=1?0:255*(1-r)*(1-a),i>=1?0:255*(1-i)*(1-a),e]},m.cmyk=function(){return S(we(arguments))},E.cmyk=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["cmyk"]),(function(){}))},a.prototype.cmyk=function(){return re(this._rgb)},m.gl=function(){var e,t,n,a,r;for(a=function(){var e,n;for(t in n=[],e=we(arguments))r=e[t],n.push(r);return n}.apply(this,arguments),e=n=0;n<=2;e=++n)a[e]*=255;return a},E.gl=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["gl"]),(function(){}))},a.prototype.gl=function(){var e;return[(e=this._rgb)[0]/255,e[1]/255,e[2]/255,e[3]]},me=function(e,t,n){var a;return e=(a=we(arguments))[0],t=a[1],n=a[2],.2126*(e=Q(e))+.7152*(t=Q(t))+.0722*(n=Q(n))},Q=function(e){return(e/=255)<=.03928?e/12.92:ae((e+.055)/1.055,2.4)},G=function(e,t,n,r){var i,o;return i=e._rgb,o=t._rgb,new a(i[0]+n*(o[0]-i[0]),i[1]+n*(o[1]-i[1]),i[2]+n*(o[2]-i[2]),r)},f.push(["rgb",G]),a.prototype.luminance=function(e,t){var n,a,r,i,o;return null==t&&(t="rgb"),arguments.length?(i=this._rgb,0===e?i=[0,0,0,this._rgb[3]]:1===e?i=[255,255,255,this[3]]:(n=me(this._rgb),a=1e-7,r=20,o=function(n,i){var s,l;return s=(l=n.interpolate(i,.5,t)).luminance(),Math.abs(e-s)e?o(n,l):o(l,i)},i=n>e?o(E("black"),this).rgba():o(this,E("white")).rgba()),E(i).alpha(this.alpha())):me(this._rgb)},_e=function(e){var t,n,a,r;return(r=e/100)<66?(a=255,n=-155.25485562709179-.44596950469579133*(n=r-2)+104.49216199393888*Y(n),t=r<20?0:.8274096064007395*(t=r-10)-254.76935184120902+115.67994401066147*Y(t)):(a=351.97690566805693+.114206453784165*(a=r-55)-40.25366309332127*Y(a),n=325.4494125711974+.07943456536662342*(n=r-50)-28.0852963507957*Y(n),t=255),[a,n,t]},he=function(){var e,t,n,a,r,i,o,s;for(r=(i=we(arguments))[0],i[1],e=i[2],a=1e3,n=4e4,t=.4;n-a>t;)(o=_e(s=.5*(n+a)))[2]/o[0]>=e/r?n=s:a=s;return ve(s)},E.temperature=E.kelvin=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["temperature"]),(function(){}))},m.temperature=m.kelvin=m.K=_e,a.prototype.temperature=function(){return he(this._rgb)},a.prototype.kelvin=a.prototype.temperature,E.contrast=function(e,t){var n,r,i,o;return"string"!==(i=Se(e))&&"number"!==i||(e=new a(e)),"string"!==(o=Se(t))&&"number"!==o||(t=new a(t)),(n=e.luminance())>(r=t.luminance())?(n+.05)/(r+.05):(r+.05)/(n+.05)},E.distance=function(e,t,n){var r,i,o,s,l,u,p;for(i in null==n&&(n="lab"),"string"!==(l=Se(e))&&"number"!==l||(e=new a(e)),"string"!==(u=Se(t))&&"number"!==u||(t=new a(t)),o=e.get(n),s=t.get(n),p=0,o)p+=(r=(o[i]||0)-(s[i]||0))*r;return Math.sqrt(p)},E.deltaE=function(e,t,n,r){var i,s,l,u,p,c,d,m,f,b,g,v,x,T,E,_,S,D,N,I,k,C,M,P;for(null==n&&(n=1),null==r&&(r=1),"string"!==(E=Se(e))&&"number"!==E||(e=new a(e)),"string"!==(_=Se(t))&&"number"!==_||(t=new a(t)),i=(S=e.lab())[0],l=S[1],p=S[2],s=(D=t.lab())[0],u=D[1],c=D[2],d=Ee(l*l+p*p),m=Ee(u*u+c*c),I=i<16?.511:.040975*i/(1+.01765*i),N=.0638*d/(1+.0131*d)+.638,T=d<1e-6?0:180*y(p,l)/o;T<0;)T+=360;for(;T>=360;)T-=360;return k=T>=164&&T<=345?.56+h(.2*w(o*(T+168)/180)):.36+h(.4*w(o*(T+35)/180)),x=Ee((f=d*d*d*d)/(f+1900)),Ee((C=(i-s)/(n*I))*C+(M=(v=d-m)/(r*N))*M+((b=l-u)*b+(g=p-c)*g-v*v)/((P=N*(x*k+1-x))*P))},a.prototype.get=function(e){var t,n,a,r,i;return this,a=(r=e.split("."))[0],t=r[1],i=this[a](),t?(n=a.indexOf(t))>-1?i[n]:console.warn("unknown channel "+t+" in mode "+a):i},a.prototype.set=function(e,t){var n,a,r,i,o;if(this,r=(i=e.split("."))[0],n=i[1])if(o=this[r](),(a=r.indexOf(n))>-1)if("string"===Se(t))switch(t.charAt(0)){case"+":case"-":o[a]+=+t;break;case"*":o[a]*=+t.substr(1);break;case"/":o[a]/=+t.substr(1);break;default:o[a]=+t}else o[a]=t;else console.warn("unknown channel "+n+" in mode "+r);else o=t;return E(o,r).alpha(this.alpha())},a.prototype.clipped=function(){return this._rgb._clipped||!1},a.prototype.alpha=function(e){return arguments.length?E.rgb([this._rgb[0],this._rgb[1],this._rgb[2],e]):this._rgb[3]},a.prototype.darken=function(e){var t;return null==e&&(e=1),this,(t=this.lab())[0]-=i.Kn*e,E.lab(t).alpha(this.alpha())},a.prototype.brighten=function(e){return null==e&&(e=1),this.darken(-e)},a.prototype.darker=a.prototype.darken,a.prototype.brighter=a.prototype.brighten,a.prototype.saturate=function(e){var t;return null==e&&(e=1),this,(t=this.lch())[1]+=e*i.Kn,t[1]<0&&(t[1]=0),E.lch(t).alpha(this.alpha())},a.prototype.desaturate=function(e){return null==e&&(e=1),this.saturate(-e)},a.prototype.premultiply=function(){var e,t;return t=this.rgb(),e=this.alpha(),E(t[0]*e,t[1]*e,t[2]*e,e)},ee=function(e,t){return e*t/255},N=function(e,t){return e>t?t:e},X=function(e,t){return e>t?e:t},xe=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},ne=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},T=function(e,t){return 255*(1-(1-t/255)/(e/255))},I=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e},(g=function(e,t,n){if(!g[n])throw"unknown blend mode "+n;return g[n](e,t)}).normal=(v=function(e){return function(t,n){var a,r;return a=E(n).rgb(),r=E(t).rgb(),E(e(a,r),"rgb")}})((k=function(e){return function(t,n){var a,r,i;for(i=[],a=r=0;r<=3;a=++r)i[a]=e(t[a],n[a]);return i}})((function(e,t){return e}))),g.multiply=v(k(ee)),g.screen=v(k(xe)),g.overlay=v(k(ne)),g.darken=v(k(N)),g.lighten=v(k(X)),g.dodge=v(k(I)),g.burn=v(k(T)),E.blend=g,E.analyze=function(e){var t,n,a,r;for(a={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},n=0,t=e.length;na.max&&(a.max=r),a.count+=1);return a.domain=[a.min,a.max],a.limits=function(e,t){return E.limits(a,e,t)},a},E.scale=function(e,t){var n,a,r,i,o,s,l,u,p,c,d,m,f,h,y,b,g,v,x,T,_;return p="rgb",c=E("#ccc"),h=0,!1,o=[0,1],f=[],m=[0,0],n=!1,r=[],d=!1,u=0,l=1,i=!1,a={},y=!0,s=1,T=function(e){var t,n,a,i,o,s;if(null==e&&(e=["#fff","#000"]),null!=e&&"string"===Se(e)&&null!=E.brewer&&(e=E.brewer[e]||E.brewer[e.toLowerCase()]||e),"array"===Se(e)){for(1===e.length&&(e=[e[0],e[0]]),t=a=0,i=(e=e.slice(0)).length-1;0<=i?a<=i:a>=i;t=0<=i?++a:--a)n=e[t],"string"===Se(n)&&(e[t]=E(n));for(f.length=0,t=s=0,o=e.length-1;0<=o?s<=o:s>=o;t=0<=o?++s:--s)f.push(t/(e.length-1))}return x(),r=e},g=function(e){var t,a;if(null!=n){for(a=n.length-1,t=0;t=n[t];)t++;return t-1}return 0},_=function(e){return e},function(e){var t,a,r,i,o;return o=e,n.length>2&&(i=n.length-1,t=g(e),r=n[0]+(n[1]-n[0])*(0+.5*h),a=n[i-1]+(n[i]-n[i-1])*(1-.5*h),o=u+(n[t]+.5*(n[t+1]-n[t])-r)/(a-r)*(l-u)),o},v=function(e,t){var i,o,d,h,b,v,x;if(null==t&&(t=!1),isNaN(e)||null===e)return c;if(x=t?e:n&&n.length>2?g(e)/(n.length-2):l!==u?(e-u)/(l-u):1,t||(x=_(x)),1!==s&&(x=ae(x,s)),x=m[0]+x*(1-m[0]-m[1]),x=Math.min(1,Math.max(0,x)),d=Math.floor(1e4*x),y&&a[d])i=a[d];else{if("array"===Se(r))for(o=h=0,v=f.length-1;0<=v?h<=v:h>=v;o=0<=v?++h:--h){if(x<=(b=f[o])){i=r[o];break}if(x>=b&&o===f.length-1){i=r[o];break}if(x>b&&x=p;t=0<=p?++c:--c)f.push(t/(a-1));return o=[u,l],b},b.mode=function(e){return arguments.length?(p=e,x(),b):p},b.range=function(e,t){return T(e),b},b.out=function(e){return d=e,b},b.spread=function(e){return arguments.length?(h=e,b):h},b.correctLightness=function(e){return null==e&&(e=!0),i=e,x(),_=i?function(e){var t,n,a,r,i,o,s,l,u;for(t=v(0,!0).lab()[0],n=v(1,!0).lab()[0],s=t>n,a=v(e,!0).lab()[0],r=a-(i=t+(n-t)*e),l=0,u=1,o=20;Math.abs(r)>.01&&o-- >0;)s&&(r*=-1),r<0?(l=e,e+=.5*(u-e)):(u=e,e+=.5*(l-e)),a=v(e,!0).lab()[0],r=a-i;return e}:function(e){return e},b},b.padding=function(e){return null!=e?("number"===Se(e)&&(e=[e,e]),m=e,b):m},b.colors=function(t,a){var i,s,l,u,p,c,d,m;if(arguments.length<2&&(a="hex"),p=[],0===arguments.length)p=r.slice(0);else if(1===t)p=[b(.5)];else if(t>1)s=o[0],i=o[1]-s,p=function(){c=[];for(var e=0;0<=t?et;0<=t?e++:e--)c.push(e);return c}.apply(this).map((function(e){return b(s+e/(t-1)*i)}));else{if(e=[],d=[],n&&n.length>2)for(l=m=1,u=n.length;1<=u?mu;l=1<=u?++m:--m)d.push(.5*(n[l-1]+n[l]));else d=o;p=d.map((function(e){return b(e)}))}return E[a]&&(p=p.map((function(e){return e[a]()}))),p},b.cache=function(e){return null!=e?(y=e,b):y},b.gamma=function(e){return null!=e?(s=e,b):s},b.nodata=function(e){return null!=e?(c=E(e),b):c},b},null==E.scales&&(E.scales={}),E.scales.cool=function(){return E.scale([E.hsl(180,1,.9),E.hsl(250,.7,.4)])},E.scales.hot=function(){return E.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},E.analyze=function(e,t,n){var a,r,i,o,s,l;if(s={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0},null==n&&(n=function(){return!0}),a=function(e){null==e||isNaN(e)||(s.values.push(e),s.sum+=e,es.max&&(s.max=e),s.count+=1)},l=function(e,r){if(n(e,r))return null!=t&&"function"===Se(t)?a(t(e)):null!=t&&"string"===Se(t)||"number"===Se(t)?a(e[t]):a(e)},"array"===Se(e))for(o=0,i=e.length;o=B;S=1<=B?++j:--j)N.push(k+S/n*(Z-k));N.push(Z)}else if("l"===t.substr(0,1)){if(k<=0)throw"Logarithmic scales are only possible for values > 0";for(M=Math.LOG10E*Y(k),I=Math.LOG10E*Y(Z),N.push(k),S=ue=1,U=n-1;1<=U?ue<=U:ue>=U;S=1<=U?++ue:--ue)N.push(ae(10,M+S/n*(I-M)));N.push(Z)}else if("q"===t.substr(0,1)){for(N.push(k),S=a=1,$=n-1;1<=$?a<=$:a>=$;S=1<=$?++a:--a)L=(le.length-1)*S/n,(F=C(L))===L?N.push(le[F]):(V=L-F,N.push(le[F]*(1-V)+le[F+1]*V));N.push(Z)}else if("k"===t.substr(0,1)){for(O=le.length,b=new Array(O),T=new Array(n),re=!0,A=0,v=null,(v=[]).push(k),S=r=1,X=n-1;1<=X?r<=X:r>=X;S=1<=X?++r:--r)v.push(k+S/n*(Z-k));for(v.push(Z);re;){for(w=i=0,K=n-1;0<=K?i<=K:i>=K;w=0<=K?++i:--i)T[w]=0;for(S=o=0,Q=O-1;0<=Q?o<=Q:o>=Q;S=0<=Q?++o:--o){for(se=le[S],P=Number.MAX_VALUE,w=s=0,J=n-1;0<=J?s<=J:s>=J;w=0<=J?++s:--s)(_=h(v[w]-se))=ee;w=0<=ee?++l:--l)R[w]=null;for(S=u=0,te=O-1;0<=te?u<=te:u>=te;S=0<=te?++u:--u)null===R[x=b[S]]?R[x]=le[S]:R[x]+=le[S];for(w=p=0,ne=n-1;0<=ne?p<=ne:p>=ne;w=0<=ne?++p:--p)R[w]*=1/T[w];for(re=!1,w=c=0,G=n-1;0<=G?c<=G:c>=G;w=0<=G?++c:--c)if(R[w]!==v[S]){re=!0;break}v=R,++A>200&&(re=!1)}for(D={},w=d=0,z=n-1;0<=z?d<=z:d>=z;w=0<=z?++d:--d)D[w]=[];for(S=m=0,H=O-1;0<=H?m<=H:m>=H;S=0<=H?++m:--m)D[x=b[S]].push(le[S]);for(ie=[],w=f=0,W=n-1;0<=W?f<=W:f>=W;w=0<=W?++f:--f)ie.push(D[w][0]),ie.push(D[w][D[w].length-1]);for(ie=ie.sort((function(e,t){return e-t})),N.push(ie[0]),S=y=1,q=ie.length-1;y<=q;S=y+=2)oe=ie[S],isNaN(oe)||-1!==N.indexOf(oe)||N.push(oe)}return N},O=function(e,t,n){var a,r,i,o;return e=(a=we(arguments))[0],t=a[1],n=a[2],isNaN(e)&&(e=0),(e/=360)<1/3?i=1-((r=(1-t)/3)+(o=(1+t*w(u*e)/w(s-u*e))/3)):e<2/3?r=1-((o=(1-t)/3)+(i=(1+t*w(u*(e-=1/3))/w(s-u*e))/3)):o=1-((i=(1-t)/3)+(r=(1+t*w(u*(e-=2/3))/w(s-u*e))/3)),[255*(o=K(n*o*3)),255*(i=K(n*i*3)),255*(r=K(n*r*3)),a.length>3?a[3]:1]},le=function(){var e,t,n,a,r,i,o;return r=(i=we(arguments))[0],t=i[1],e=i[2],u=2*Math.PI,r/=255,t/=255,e/=255,0===(o=1-Math.min(r,t,e)/(a=(r+t+e)/3))?n=0:(n=(r-t+(r-e))/2,n/=Math.sqrt((r-t)*(r-t)+(r-e)*(t-e)),n=Math.acos(n),e>t&&(n=u-n),n/=u),[360*n,o,a]},E.hsi=function(){return function(e,t,n){n.prototype=e.prototype;var a=new n,r=e.apply(a,t);return Object(r)===r?r:a}(a,ke.call(arguments).concat(["hsi"]),(function(){}))},m.hsi=O,a.prototype.hsi=function(){return le(this._rgb)},F=function(e,t,n,a){var r,i,o,s,l,u,p,c,d,m;return"hsl"===a?(d=e.hsl(),m=t.hsl()):"hsv"===a?(d=e.hsv(),m=t.hsv()):"hcg"===a?(d=e.hcg(),m=t.hcg()):"hsi"===a?(d=e.hsi(),m=t.hsi()):"lch"!==a&&"hcl"!==a||(a="hcl",d=e.hcl(),m=t.hcl()),"h"===a.substr(0,1)&&(i=d[0],p=d[1],s=d[2],o=m[0],c=m[1],l=m[2]),isNaN(i)||isNaN(o)?isNaN(i)?isNaN(o)?r=Number.NaN:(r=o,1!==s&&0!==s||"hsv"===a||(u=c)):(r=i,1!==l&&0!==l||"hsv"===a||(u=p)):r=i+n*(o>i&&o-i>180?o-(i+360):o180?o+360-i:o-i),null==u&&(u=p+n*(c-p)),E[a](r,u,s+n*(l-s))},U=function(e,t,n,a){var r,i;return r=e.num(),i=t.num(),E.num(r+(i-r)*n,"num")},(f=f.concat(function(){var e,t,n,a;for(a=[],t=0,e=(n=["hsv","hsl","hsi","hcl","lch","hcg"]).length;ta&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0m)&&(V=(G=G.replace(" ",":")).length),01024){for(var t=0,n=r.length-i;t-1};f.prototype.append=function(e,t){e=c(e),t=d(t);var n=this.map[e];this.map[e]=n?n+","+t:t},f.prototype.delete=function(e){delete this.map[c(e)]},f.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},f.prototype.set=function(e,t){this.map[c(e)]=d(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),m(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),m(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),m(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},v.call(x.prototype),v.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var p=[301,302,303,307,308];E.redirect=function(e,t){if(-1===p.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},e.Headers=f,e.Request=x,e.Response=E,e.fetch=function(e,t){return new Promise((function(n,r){var i=new x(e,t),o=new XMLHttpRequest;o.onload=function(){var e,t,a={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new f,e.split(/\r?\n/).forEach((function(e){var n=e.split(":"),a=n.shift().trim();if(a){var r=n.join(":").trim();t.append(a,r)}})),t)};a.url="responseURL"in o?o.responseURL:a.headers.get("X-Request-URL");var r="response"in o?o.response:o.responseText;n(new E(r,a))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&a&&(o.responseType="blob"),i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})),o.send(void 0===i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function m(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(a&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(r&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(i&&a&&s(e))this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(e)&&!l(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var e,t,n,a=h(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=y(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a-1?a:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function T(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),a=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(r))}})),t}function E(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict"; /** @license React v16.14.0 * react.production.min.js * @@ -570,7 +570,7 @@ E.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var a=n(28),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nC.length&&C.push(e)}function A(e,t,n){return null==e?0:function e(t,n,a,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case o:l=!0}}if(l)return a(r,t,""===n?"."+O(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;uC.length&&C.push(e)}function O(e,t,n){return null==e?0:function e(t,n,a,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case o:l=!0}}if(l)return a(r,t,""===n?"."+A(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u