diff --git a/assets/index--3qHtnnk.css b/assets/index--3qHtnnk.css deleted file mode 100644 index 10c71f5..0000000 --- a/assets/index--3qHtnnk.css +++ /dev/null @@ -1 +0,0 @@ -:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-ms-user-select:none;user-select:none}.pickr{display:flex!important}*{font-style:normal!important}div.svelte-atylgd{display:flex;width:82px;height:16px;margin-top:6px;margin-left:6px;border-radius:3px;border-width:1px;border-style:solid;border-color:#c3c3c3}svg.svelte-atylgd{margin-top:5px;margin-left:6px}rect.svelte-atylgd{width:10px;height:10px;fill:#c3c3c3}span.svelte-atylgd{font-size:11px;color:#c3c3c3;margin-left:9px;margin-right:5px}svg.svelte-w97xpw{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;width:41px;height:25px;fill:#c3c3c3}svg.svelte-19yb7u8{margin-top:6px;margin-right:24px}div.svelte-18j4gou{position:relative;display:flex;flex-direction:row;justify-content:space-between;height:28px;width:100%;z-index:1;opacity:1}div.svelte-jqetik{--side-margin:5px;--padding-left:5px;display:flex;flex-direction:row;height:45px;width:calc(100% - calc(2 * var(--side-margin)) - var(--padding-left));border-radius:5px;margin-left:var(--side-margin);padding-left:var(--padding-left);justify-content:space-between;opacity:1}.reference_version.svelte-jqetik{display:flex;justify-content:center;align-items:center;margin-right:10px;font-weight:600;opacity:.1}.window-panel-main.svelte-jqetik{display:flex;flex-direction:row}i.svelte-jqetik{border-right:1px solid #2f2f2f}#play.svelte-jqetik:active{background-color:var(--on);background-image:none}#rec.svelte-jqetik:active{background-color:var(--rec);background-image:none}.normal-button.svelte-jqetik{width:39px;height:35px;background-image:linear-gradient(var(--button-gradient),var(--button-background));color:#fff;font-size:11px;margin-top:5px;margin-right:6px;display:flex;justify-content:center;align-items:center;border:1px solid var(--button-stroke);border-radius:3px}.button-active.svelte-jqetik:active{filter:brightness(.8)}.play-button.svelte-jqetik{width:39px;height:35px;background-image:linear-gradient(var(--button-gradient),var(--button-background));color:#fff;font-size:11px;display:flex;justify-content:center;align-items:center}.play-button-group.svelte-jqetik{height:35px;margin-top:5px;margin-right:5px;display:flex;justify-content:center;align-items:center;border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden}.hitech-group.svelte-jqetik{height:39px;width:416px;margin-left:1px;margin-right:7px;margin-top:2px;display:flex;font-size:14px;font-weight:500;font-family:Franklin Gothic Medium,Arial Narrow,Arial,sans-serif;letter-spacing:1px;background-color:#1f1f1f;border:1px solid #2f2f2f;border-radius:3px;overflow:hidden}.hitech-part1.svelte-jqetik{width:50px;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-right:1px solid #2f2f2f}.hitech-part2.svelte-jqetik{--padding-right:6px;--padding-top:1px;width:calc(67px - var(--padding-right));height:calc(100% - var(--padding-top));display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-right:var(--padding-right);padding-top:var(--padding-top);border-right:1px solid #2f2f2f;color:var(--hitech-on)}.hitech-part3.svelte-jqetik{--padding-right:6px;--padding-top:1px;width:calc(103px - var(--padding-right));height:calc(100% - var(--padding-top));display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-right:var(--padding-right);padding-top:var(--padding-top);border-right:1px solid #2f2f2f;color:var(--hitech-on)}.hitech-part4.svelte-jqetik{width:35px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-right:1px solid #2f2f2f}.hitech-part5.svelte-jqetik{width:157px;height:100%;display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;color:var(--hitech-on)}.hitech-row.svelte-jqetik{display:flex;flex-direction:row}div.svelte-1rppgdg{display:flex;flex-direction:row;justify-content:space-between;height:34px;opacity:1}aside.svelte-1rppgdg{display:flex;flex-direction:row;justify-content:center;padding-left:10px;padding-right:10px}span.svelte-1rppgdg{display:flex;justify-content:center}i.svelte-1rppgdg{margin-top:7px;margin-left:4px;margin-right:13px;font-size:11px}.inspector.svelte-1rppgdg{margin-top:5px;margin-left:3px;margin-right:0}.bottom-button.svelte-1rppgdg{margin-top:5px;margin-left:4px;margin-right:6px}.seperator.svelte-1rppgdg{margin-top:5px;margin-left:0;margin-right:0}div.svelte-159p7te{--border-width:2px;display:flex;flex-direction:column;width:calc(161px - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));border-radius:3px;border:2px solid var(--panel-stroke);overflow:hidden;background-color:var(--panel-body);opacity:1}span.svelte-159p7te{width:100%}.on.svelte-159p7te{width:22px;height:25px;margin-top:8px;margin-left:3px}.title.svelte-159p7te{height:18px;background-color:var(--panel-body);font-size:11px;display:flex;text-align:center;justify-content:center;padding-top:2px}.sub-title.svelte-159p7te{height:18px;background-color:var(--display-background);font-size:11px;display:flex;text-align:center;padding-top:3px;padding-left:3px;font-style:italic;border-bottom:2px solid var(--panel-stroke)}.color-palette.svelte-159p7te{display:flex;flex-wrap:wrap;padding-top:2px;padding-bottom:2px;padding-left:2px;height:52px;width:156px;border-bottom:2px solid var(--panel-stroke);background-color:var(--display-background)}.color.svelte-159p7te{width:15px;height:15px;margin-right:2px;margin-bottom:2px}.comment.svelte-159p7te{height:102px;border-bottom:2px solid var(--panel-stroke);background-color:var(--display-background);padding-left:3px;font-size:10px;font-style:italic}.active-area.svelte-159p7te{display:flex;flex-direction:row;align-items:center;height:25px;padding-top:2px;padding-left:1px;font-size:12px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke)}.channel-area.svelte-159p7te{display:flex;flex-direction:column;height:53px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke)}.channel-row.svelte-159p7te{display:flex;align-items:center;padding-left:4px;height:26px;font-size:11px}.channel-all-button.svelte-159p7te{display:flex;align-items:center;padding-left:4px;margin-left:2px;height:18px;width:40px;font-size:11px;border:1px solid var(--button-stroke);border-radius:3px;background-image:linear-gradient(var(--button-gradient),var(--button-background))}.channel-on-button.svelte-159p7te{display:flex;flex-direction:row;align-items:center;margin-top:1px;padding-left:6px;margin-left:5px;height:22px;width:102px;font-size:11px;border-radius:3px;color:#000;overflow:hidden}.channel-on-right.svelte-159p7te{display:flex;flex-direction:row;align-items:center;justify-content:space-around;padding-left:6px;margin-left:5px;width:100%;height:100%;font-size:11px;background-color:var(--display-background);overflow:hidden}.arrow-right.svelte-159p7te{margin-left:3px;margin-right:2px}.bend-row.svelte-159p7te{display:flex;align-items:center;padding-left:4px;height:26px;font-size:11px}.device-area.svelte-159p7te{display:flex;flex-direction:column;height:153px;border-bottom:2px solid var(--panel-stroke)}.device-nav.svelte-159p7te{display:flex;width:100%;height:26px;background-color:var(--hole-light);border-bottom:2px solid var(--hole-medium)}.device-in.svelte-159p7te{display:flex;height:100%;background-color:var(--hole-medium)}.device-button.svelte-159p7te{display:flex;justify-content:center;align-items:center;width:25%;height:26px;background-color:var(--hole-medium);border-bottom:2px solid var(--hole-medium)}.device-button-r.svelte-159p7te{display:flex;justify-content:center;align-items:center;width:25%;height:26px;background-color:var(--hole-light);border-bottom:2px solid var(--hole-medium)}.send-area.svelte-159p7te{display:flex;flex-direction:column;height:51px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke)}.send-button.svelte-159p7te{display:flex;align-items:center;height:20px;width:148px;margin-top:2px;margin-left:3px;background-image:linear-gradient(var(--button-gradient),var(--button-background));border:1px solid var(--button-stroke);border-radius:5px;font-size:11px}.mixer-area.svelte-159p7te{display:flex;flex-direction:row;height:155px;background-color:var(--panel-body)}.mixer-half.svelte-159p7te{display:flex;align-items:center;flex-direction:column;margin-right:2px;width:78px;height:100%;font-size:12px}.mixer-button.svelte-159p7te{display:flex;width:76px;height:20px;margin-left:2px;border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden}.mixer-button-n.svelte-159p7te{display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:bolder;background-image:linear-gradient(var(--button-gradient),var(--button-background));border-left:1px solid var(--button-stroke)}.mixer-button-r.svelte-159p7te{display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:bolder;background-color:var(--rec)}.mixer-volume.svelte-159p7te{display:flex;align-items:center;justify-content:center;width:78px;height:24px;margin-top:3px;margin-left:2px;background-color:var(--hole-medium);border-radius:3px;overflow:hidden}.mixer-limiter.svelte-159p7te{display:flex;align-items:end;justify-content:flex-end;width:78px;height:118px;margin-top:3px;margin-left:2px;background-color:var(--hole-medium);border-radius:3px;overflow:hidden}.instrument.svelte-zts7k{display:flex;justify-content:center;align-items:center;width:199px;height:43px;font-size:11px}.channels-row.svelte-zts7k{display:flex;flex-direction:row}.button.svelte-zts7k{display:flex;align-items:center;justify-content:center;margin-right:3px;width:19px;height:14px;font-size:15px;font-weight:bolder;background-image:linear-gradient(var(--button-gradient),var(--button-background));border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden}div.svelte-485e2d{display:flex;flex-direction:column;width:100%;height:401px;border-radius:3px;border:2px solid var(--active-panel-stroke);background-color:#2f2f2f;overflow:hidden;opacity:1}i.svelte-485e2d{font-size:11px}.arrange-row.svelte-485e2d{display:flex;flex-direction:row;width:100%;height:100%}.arranger.svelte-485e2d{background-color:var(--dark-timeline-background);width:100%;height:calc(100% - 1px);border-left:1px solid var(--top-level-timeline-header-background);border-bottom:1px solid var(--top-level-timeline-header-background)}.channels.svelte-485e2d{display:flex;flex-direction:column;justify-content:space-between;width:427px;height:377px;border-right:1px solid var(--hole-dark);border-bottom:1px solid var(--hole-dark);background-color:var(--hole-dark)}.channels-row.svelte-485e2d{display:flex;flex-direction:row}.bottom-bar.svelte-485e2d{width:100%;height:25px;background-color:var(--hole-light)}div.svelte-1p97y0a{display:flex;width:100%;height:243px;border-radius:3px;border:2px solid var(--panel-stroke);margin-top:3px;background-color:var(--hole-dark)}.column.svelte-1p97y0a{display:flex;flex-direction:column;justify-content:space-between;padding-top:10px;padding-bottom:10px;align-items:center;font-size:10px;font-weight:700;width:28px;margin-right:2px;background-color:var(--device-header);overflow:hidden;white-space:nowrap}.rotate.svelte-1p97y0a{transform:rotate(-90deg)}.line.svelte-1p97y0a{width:100%;height:5px}div.svelte-1q5krv1{--border-width:2px;display:flex;flex-direction:column;width:825px;height:100%;margin-right:7px;margin-left:3px}div.svelte-q1jjt6{--border-width:2px;width:calc(222px - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));background-color:var(--hole-medium);border-radius:3px;border:2px solid var(--panel-stroke);overflow:hidden;opacity:1}i.svelte-q1jjt6{display:flex;align-items:center}.text.svelte-q1jjt6{margin-left:2px}.top-nav.svelte-q1jjt6{display:flex;width:100%;height:40px;border-bottom:2px solid var(--panel-stroke)}.everything-bar.svelte-q1jjt6{display:flex;flex-direction:column;align-items:center;font-size:11px;padding-top:7px;width:100%;height:123px}.search-bar.svelte-q1jjt6{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-top:6px;width:204px;height:21px;background-color:var(--hole-dark);border-radius:3px}.locations.svelte-q1jjt6{display:flex;flex-direction:row;width:200px;height:70px;margin-top:4px;color:#f5f5f5}.location-side.svelte-q1jjt6{display:flex;flex-direction:column;justify-content:space-around;width:100px;height:70px;padding-left:0}.files.svelte-q1jjt6{display:flex;width:100%;height:413px;background-color:var(--hole-dark)}.bottom-bar.svelte-q1jjt6{display:flex;width:100%;height:100%;box-shadow:#202020 0 0 10px}div.svelte-11joe25{--width:1228px;--height:768px;--top-margin:50px;display:flex;flex-direction:column;min-width:var(--width);margin:auto;width:var(--width);height:var(--height);box-shadow:#202020 0 0 15px;cursor:pointer}span.svelte-11joe25{--side-margin:5px;width:calc(100% - calc(2 * var(--side-margin)));height:655px;display:flex;flex-direction:row;margin-top:3px;margin-bottom:2px;margin-left:5px;opacity:1}div.svelte-gyjpao{--content-padding:50px;display:flex;width:calc(100% - max(var(--sidebar-width),var(--sidebar-min-width)) - 2*var(--content-padding));overflow:auto;padding:var(--content-padding);scrollbar-color:#444 #333}/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */.pickr{position:relative;overflow:visible;transform:translateY(0)}.pickr *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pickr .pcr-button{position:relative;height:2em;width:2em;padding:.5em;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;border-radius:.15em;background:url('data:image/svg+xml;utf8, ') no-repeat center;background-size:0;transition:all .3s}.pickr .pcr-button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pickr .pcr-button:before{z-index:initial}.pickr .pcr-button:after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;transition:background .3s;background:var(--pcr-color);border-radius:.15em}.pickr .pcr-button.clear{background-size:70%}.pickr .pcr-button.clear:before{opacity:0}.pickr .pcr-button.clear:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px var(--pcr-color)}.pickr .pcr-button.disabled{cursor:not-allowed}.pickr *,.pcr-app *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pickr input:focus,.pickr input.pcr-active,.pickr button:focus,.pickr button.pcr-active,.pcr-app input:focus,.pcr-app input.pcr-active,.pcr-app button:focus,.pcr-app button.pcr-active{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px var(--pcr-color)}.pickr .pcr-palette,.pickr .pcr-slider,.pcr-app .pcr-palette,.pcr-app .pcr-slider{transition:box-shadow .3s}.pickr .pcr-palette:focus,.pickr .pcr-slider:focus,.pcr-app .pcr-palette:focus,.pcr-app .pcr-slider:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #00000040}.pcr-app{position:fixed;display:flex;flex-direction:column;z-index:10000;border-radius:.1em;background:#fff;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;box-shadow:0 .15em 1.5em #0000001a,0 0 1em #00000008;left:0;top:0}.pcr-app.visible{transition:opacity .3s;visibility:visible;opacity:1}.pcr-app .pcr-swatches{display:flex;flex-wrap:wrap;margin-top:.75em}.pcr-app .pcr-swatches.pcr-last{margin:0}@supports (display: grid){.pcr-app .pcr-swatches{display:grid;align-items:center;grid-template-columns:repeat(auto-fit,1.75em)}}.pcr-app .pcr-swatches>button{font-size:1em;position:relative;width:calc(1.75em - 5px);height:calc(1.75em - 5px);border-radius:.15em;cursor:pointer;margin:2.5px;flex-shrink:0;justify-self:center;transition:all .15s;overflow:hidden;background:#0000;z-index:1}.pcr-app .pcr-swatches>button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:6px;border-radius:.15em;z-index:-1}.pcr-app .pcr-swatches>button:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--pcr-color);border:1px solid rgba(0,0,0,.05);border-radius:.15em;box-sizing:border-box}.pcr-app .pcr-swatches>button:hover{filter:brightness(1.05)}.pcr-app .pcr-swatches>button:not(.pcr-active){box-shadow:none}.pcr-app .pcr-interaction{display:flex;flex-wrap:wrap;align-items:center;margin:0 -.2em}.pcr-app .pcr-interaction>*{margin:0 .2em}.pcr-app .pcr-interaction input{letter-spacing:.07em;font-size:.75em;text-align:center;cursor:pointer;color:#75797e;background:#f1f3f4;border-radius:.15em;transition:all .15s;padding:.45em .5em;margin-top:.75em}.pcr-app .pcr-interaction input:hover{filter:brightness(.975)}.pcr-app .pcr-interaction input:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #4285f4bf}.pcr-app .pcr-interaction .pcr-result{color:#75797e;text-align:left;flex:1 1 8em;min-width:8em;transition:all .2s;border-radius:.15em;background:#f1f3f4;cursor:text}.pcr-app .pcr-interaction .pcr-result::-moz-selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-result::selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-type.active{color:#fff;background:#4285f4}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff;width:auto}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff}.pcr-app .pcr-interaction .pcr-save:hover,.pcr-app .pcr-interaction .pcr-cancel:hover,.pcr-app .pcr-interaction .pcr-clear:hover{filter:brightness(.925)}.pcr-app .pcr-interaction .pcr-save{background:#4285f4}.pcr-app .pcr-interaction .pcr-clear,.pcr-app .pcr-interaction .pcr-cancel{background:#f44250}.pcr-app .pcr-interaction .pcr-clear:focus,.pcr-app .pcr-interaction .pcr-cancel:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #f44250bf}.pcr-app .pcr-selection .pcr-picker{position:absolute;height:18px;width:18px;border:2px solid #fff;border-radius:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pcr-app .pcr-selection .pcr-color-palette,.pcr-app .pcr-selection .pcr-color-chooser,.pcr-app .pcr-selection .pcr-color-opacity{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;cursor:grab;cursor:-webkit-grab}.pcr-app .pcr-selection .pcr-color-palette:active,.pcr-app .pcr-selection .pcr-color-chooser:active,.pcr-app .pcr-selection .pcr-color-opacity:active{cursor:grabbing;cursor:-webkit-grabbing}.pcr-app[data-theme=monolith]{width:14.25em;max-width:95vw;padding:.8em}.pcr-app[data-theme=monolith] .pcr-selection{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview{position:relative;z-index:1;width:100%;height:1em;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.5em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color{cursor:pointer;transition:background-color .3s,box-shadow .3s;border-radius:.15em 0 0 .15em;z-index:2}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{border-radius:0 .15em .15em 0}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{background:var(--pcr-color);width:50%;height:100%}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette{width:100%;height:8em;z-index:1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette{border-radius:.15em;width:100%;height:100%}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity{height:.5em;margin-top:.75em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-picker,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-picker{top:50%;transform:translateY(-50%)}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{flex-grow:1;border-radius:50em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{background:linear-gradient(to right,transparent,black),url('data:image/svg+xml;utf8, ');background-size:100%,.25em}div.svelte-1qaizyl{display:flex;align-items:center;flex-direction:row;justify-content:space-between;min-height:40px;color:#000;background-color:#f5f5f5;border-bottom:1px solid #a5a5a5;padding-top:10px;padding-bottom:10px}section.svelte-1qaizyl{display:flex;flex-direction:column;justify-content:space-between;width:100%}div.svelte-1qaizyl:hover{cursor:pointer}span.svelte-1qaizyl{margin-left:10px;margin-right:10px}span.info.svelte-1qaizyl{font-size:12px;color:gray}code.svelte-1qaizyl{margin-right:30px;width:20px;height:20px;border:1px solid black}i.svelte-1qaizyl{margin-right:20px}aside.svelte-3wzjex{display:var(--display-aside);flex-direction:column;height:100%;width:100%;background-color:gray;z-index:2}nav.svelte-3wzjex{display:flex;flex-direction:row;width:100%}section.svelte-3wzjex{--topbar-height:40px;--button-height:40px;--span-height:30px;height:100%;overflow-y:auto}span.svelte-3wzjex{--span-height:30px;padding-left:10px;padding-right:10px;font-size:large;font-weight:700;height:var(--span-height);background-color:#8f8f8f}input.svelte-3wzjex{height:30px;padding:5px 10px;border:none;color:#f5f5f5;background-color:#6f6f6f;font-weight:600}input.svelte-3wzjex:focus{outline:none}.svelte-3wzjex::placeholder{color:#d3d3d3;opacity:1}button.svelte-3wzjex{--button-height:40px;border:none;display:flex;align-items:center;justify-content:center;width:50%;height:var(--button-height);color:#f5f5f5;background-color:#4f4f4f;font-size:larger;font-weight:700}button.svelte-3wzjex:hover{background-color:#6f6f6f;cursor:pointer}a.svelte-3wzjex{--button-height:40px;text-decoration:none;border:none;display:flex;align-items:center;justify-content:center;width:50%;height:var(--button-height);background-color:#4f4f4f;font-size:larger;font-weight:700;color:#f5f5f5}a.svelte-3wzjex:hover{background-color:#6f6f6f;cursor:pointer}h1.svelte-3wzjex{font-size:22px;margin:auto;color:#010101}.modal.svelte-3wzjex{position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex}.modal-box.svelte-3wzjex{--modal-box-height:320px;--modal-box-width:460px;position:relative;top:calc(100vh - var(--modal-box-height) - var(--topbar-height) - 4*22px);left:min(calc(max(var(--sidebar-width),var(--sidebar-min-width)) + 60px),calc(60vw - var(--modal-box-width)/1.7));width:var(--modal-box-width);height:var(--modal-box-height);padding:20px;background-color:#f5f5f5;color:#020202;border-top-right-radius:25px;border:2px solid #020202;box-shadow:#010101 0 10px 25px}div.svelte-zhh6it{display:flex;justify-content:space-between;position:absolute;width:75px;top:12px;right:-99px;height:30px;background-color:#d3d3d3;z-index:2;box-shadow:#2c2c2c 0 0 15px;background-color:#2f2f2f;border-radius:5px;overflow:hidden}button.svelte-zhh6it{border:none;color:#f5f5f5;text-decoration:none;width:25px;background-color:#2f2f2f}button.svelte-zhh6it:hover{background-color:#4f4f4f}i.svelte-zhh6it{display:flex;justify-content:center;align-items:center;font-weight:600;font-size:12px;width:100%;background-color:#6f6f6f}div.svelte-1ybg2mg{position:relative;display:flex;border-right:1px solid #000000;box-shadow:2px 0 4px #0003;z-index:3;height:100%;width:max(var(--sidebar-width),var(--sidebar-min-width))}span.svelte-1ybg2mg{position:absolute;display:flex;justify-content:center;align-items:center;right:-22px;top:30%;background-color:#f5f5f5;width:20px;height:60px;border:1px solid #000000;border-top-right-radius:10px;border-bottom-right-radius:10px}span.svelte-1ybg2mg:hover{background-color:#d3d3d3;cursor:pointer}svg.svelte-uzr26j{margin-right:2px}@media only screen and (max-width: 719px){#how-to.svelte-1m0co9p{display:none}}@media only screen and (min-width: 720px){#how-to.svelte-1m0co9p{display:flex}}@media only screen and (max-width: 539px){#main-title.svelte-1m0co9p{display:none}}@media only screen and (min-width: 540px){#main-title.svelte-1m0co9p{display:flex}}nav.svelte-1m0co9p{--topbar-height:40px;display:flex;flex-direction:row;justify-content:space-between;height:var(--topbar-height);background-color:#2f2f2f;z-index:3;box-shadow:0 2px 4px #0003}span.svelte-1m0co9p{display:flex;flex-direction:row;margin-left:10px;margin-right:10px}button.svelte-1m0co9p{display:flex;flex-direction:row;align-items:center;background-color:#2f2f2f;border:none;color:#f5f5f5;text-decoration:none;font-size:16px;font-weight:500;margin:4px;cursor:pointer}button.svelte-1m0co9p:hover{background-color:#4f4f4f}a.svelte-1m0co9p{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#2f2f2f;border:none;color:#f5f5f5;text-decoration:none;font-size:16px;font-weight:600;margin:4px;padding:4px;cursor:pointer;overflow:hidden}h1.svelte-1m0co9p{margin:auto;color:#010101}code.svelte-1m0co9p{font-style:normal;font-size:medium;font-weight:700}.note.svelte-1m0co9p{font-style:italic;font-size:smaller}.modal.svelte-1m0co9p{position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex}.modal-box.svelte-1m0co9p{--topbar-height:40px;--modal-box-width:460px;position:relative;top:calc(var(--topbar-height) + 20px);left:calc(100vw - var(--modal-box-width) - 60px);width:var(--modal-box-width);height:160px;padding:20px;background-color:#f5f5f5;color:#020202;border-bottom-left-radius:25px;border:2px solid #020202;box-shadow:#010101 0 10px 25px}main.svelte-190v44n{display:flex;flex-direction:column;height:100vh;overflow-x:hidden;overflow-y:hidden}div.svelte-190v44n{--topbar-height:40px;position:relative;display:flex;flex-direction:row;height:calc(100% - var(--topbar-height))}@media only screen and (max-width: 349px){main.svelte-190v44n{display:flex}.smallscreen.svelte-190v44n{position:absolute;top:0;left:0;display:flex;height:calc(100vh - 20px);width:calc(100vw - 20px);flex-direction:column;padding:10px;justify-content:center;align-items:center;text-align:center;opacity:.8;background-color:#242424;z-index:10}}@media only screen and (min-width: 350px){.smallscreen.svelte-190v44n{display:none}} diff --git a/assets/index-Bfa62cUM.css b/assets/index-Bfa62cUM.css new file mode 100644 index 0000000..28bd964 --- /dev/null +++ b/assets/index-Bfa62cUM.css @@ -0,0 +1 @@ +:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-ms-user-select:none;user-select:none}.pickr{display:flex!important}*{font-style:normal!important}div.svelte-129q6s6{display:flex;width:82px;height:16px;margin-top:6px;margin-left:6px;border-radius:3px;border-width:1px;border-style:solid;border-color:#c3c3c3}svg.svelte-129q6s6{margin-top:5px;margin-left:6px}rect.svelte-129q6s6{width:10px;height:10px;fill:#c3c3c3}span.svelte-129q6s6{font-size:11px;color:var(--light-text);margin-left:9px;margin-right:5px}svg.svelte-w97xpw{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;width:41px;height:25px;fill:#c3c3c3}svg.svelte-19yb7u8{margin-top:6px;margin-right:24px}div.svelte-18j4gou{position:relative;display:flex;flex-direction:row;justify-content:space-between;height:28px;width:100%;z-index:1;opacity:1}div.svelte-hfuv26{--side-margin:5px;--padding-left:5px;display:flex;flex-direction:row;height:45px;width:calc(100% - calc(2 * var(--side-margin)) - var(--padding-left));border-radius:5px;margin-left:var(--side-margin);padding-left:var(--padding-left);justify-content:space-between;opacity:1}.reference_version.svelte-hfuv26{display:flex;justify-content:center;align-items:center;margin-right:10px;font-weight:600;opacity:.1}.window-panel-main.svelte-hfuv26{display:flex;flex-direction:row}i.svelte-hfuv26{border-right:1px solid #2f2f2f}#play.svelte-hfuv26:active{background-color:var(--on);background-image:none}#rec.svelte-hfuv26:active{background-color:var(--rec);background-image:none}.normal-button.svelte-hfuv26{width:39px;height:35px;background-image:linear-gradient(var(--button-gradient),var(--button-background));color:var(--light-text);font-size:11px;margin-top:5px;margin-right:6px;display:flex;justify-content:center;align-items:center;border:1px solid var(--button-stroke);border-radius:3px}.button-active.svelte-hfuv26:active{filter:brightness(.8)}.play-button.svelte-hfuv26{width:39px;height:35px;background-image:linear-gradient(var(--button-gradient),var(--button-background));color:var(--light-text);font-size:11px;display:flex;justify-content:center;align-items:center}.play-button-group.svelte-hfuv26{height:35px;margin-top:5px;margin-right:5px;display:flex;justify-content:center;align-items:center;border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden}.hitech-group.svelte-hfuv26{height:39px;width:416px;margin-left:1px;margin-right:7px;margin-top:2px;display:flex;font-size:14px;font-weight:500;font-family:Franklin Gothic Medium,Arial Narrow,Arial,sans-serif;letter-spacing:1px;background-color:#1f1f1f;border:1px solid #2f2f2f;border-radius:3px;overflow:hidden}.hitech-part1.svelte-hfuv26{width:50px;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-right:1px solid #2f2f2f}.hitech-part2.svelte-hfuv26{--padding-right:6px;--padding-top:1px;width:calc(67px - var(--padding-right));height:calc(100% - var(--padding-top));display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-right:var(--padding-right);padding-top:var(--padding-top);border-right:1px solid #2f2f2f;color:var(--hitech-on)}.hitech-part3.svelte-hfuv26{--padding-right:6px;--padding-top:1px;width:calc(103px - var(--padding-right));height:calc(100% - var(--padding-top));display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-right:var(--padding-right);padding-top:var(--padding-top);border-right:1px solid #2f2f2f;color:var(--hitech-on)}.hitech-part4.svelte-hfuv26{width:35px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-right:1px solid #2f2f2f}.hitech-part5.svelte-hfuv26{width:157px;height:100%;display:flex;flex-direction:row;justify-content:space-evenly;align-items:center;color:var(--hitech-on)}.hitech-row.svelte-hfuv26{display:flex;flex-direction:row}div.svelte-1rppgdg{display:flex;flex-direction:row;justify-content:space-between;height:34px;opacity:1}aside.svelte-1rppgdg{display:flex;flex-direction:row;justify-content:center;padding-left:10px;padding-right:10px}span.svelte-1rppgdg{display:flex;justify-content:center}i.svelte-1rppgdg{margin-top:7px;margin-left:4px;margin-right:13px;font-size:11px}.inspector.svelte-1rppgdg{margin-top:5px;margin-left:3px;margin-right:0}.bottom-button.svelte-1rppgdg{margin-top:5px;margin-left:4px;margin-right:6px}.seperator.svelte-1rppgdg{margin-top:5px;margin-left:0;margin-right:0}div.svelte-12lhl6v{--border-width:2px;display:flex;flex-direction:column;width:calc(161px - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));border-radius:3px;border:2px solid var(--panel-stroke);overflow:hidden;background-color:var(--panel-body);opacity:1}span.svelte-12lhl6v{width:100%}.on.svelte-12lhl6v{width:22px;height:25px;margin-top:8px;margin-left:3px}.title.svelte-12lhl6v{height:18px;background-color:var(--panel-body);font-size:11px;display:flex;text-align:center;justify-content:center;padding-top:2px}.sub-title.svelte-12lhl6v{height:18px;background-color:var(--display-background);font-size:11px;display:flex;text-align:center;padding-top:3px;padding-left:3px;font-style:italic;border-bottom:2px solid var(--panel-stroke);color:var(--light-text)}.color-palette.svelte-12lhl6v{display:flex;flex-wrap:wrap;padding-top:2px;padding-bottom:2px;padding-left:2px;height:52px;width:156px;border-bottom:2px solid var(--panel-stroke);background-color:var(--display-background)}.color.svelte-12lhl6v{width:15px;height:15px;margin-right:2px;margin-bottom:2px}.comment.svelte-12lhl6v{height:102px;border-bottom:2px solid var(--panel-stroke);background-color:var(--display-background);padding-left:3px;font-size:10px;font-style:italic}.active-area.svelte-12lhl6v{display:flex;flex-direction:row;align-items:center;height:25px;padding-top:2px;padding-left:1px;font-size:12px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke);color:var(--light-text)}.channel-area.svelte-12lhl6v{display:flex;flex-direction:column;height:53px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke);color:var(--light-text)}.channel-row.svelte-12lhl6v{display:flex;align-items:center;padding-left:4px;height:26px;font-size:11px}.channel-all-button.svelte-12lhl6v{display:flex;align-items:center;padding-left:4px;margin-left:2px;height:18px;width:40px;font-size:11px;border:1px solid var(--button-stroke);border-radius:3px;background-image:linear-gradient(var(--button-gradient),var(--button-background))}.channel-on-button.svelte-12lhl6v{display:flex;flex-direction:row;align-items:center;margin-top:1px;padding-left:6px;margin-left:5px;height:22px;width:102px;font-size:11px;border-radius:3px;color:var(--dark-text);overflow:hidden}.channel-on-right.svelte-12lhl6v{display:flex;flex-direction:row;align-items:center;justify-content:space-around;padding-left:6px;margin-left:5px;width:100%;height:100%;font-size:11px;background-color:var(--display-background);overflow:hidden}.arrow-right.svelte-12lhl6v{margin-left:3px;margin-right:2px}.bend-row.svelte-12lhl6v{display:flex;align-items:center;padding-left:4px;height:26px;font-size:11px}.device-area.svelte-12lhl6v{display:flex;flex-direction:column;height:153px;border-bottom:2px solid var(--panel-stroke)}.device-nav.svelte-12lhl6v{display:flex;width:100%;height:26px;background-color:var(--hole-light);border-bottom:2px solid var(--hole-medium)}.device-in.svelte-12lhl6v{display:flex;height:100%;background-color:var(--hole-medium)}.device-button.svelte-12lhl6v{display:flex;justify-content:center;align-items:center;width:25%;height:26px;background-color:var(--hole-medium);border-bottom:2px solid var(--hole-medium)}.device-button-r.svelte-12lhl6v{display:flex;justify-content:center;align-items:center;width:25%;height:26px;background-color:var(--hole-light);border-bottom:2px solid var(--hole-medium)}.send-area.svelte-12lhl6v{display:flex;flex-direction:column;height:51px;background-color:var(--hole-light);border-bottom:2px solid var(--panel-stroke)}.send-button.svelte-12lhl6v{display:flex;align-items:center;height:20px;width:148px;margin-top:2px;margin-left:3px;background-image:linear-gradient(var(--button-gradient),var(--button-background));border:1px solid var(--button-stroke);border-radius:5px;font-size:11px;color:var(--light-text)}.mixer-area.svelte-12lhl6v{display:flex;flex-direction:row;height:155px;background-color:var(--panel-body)}.mixer-half.svelte-12lhl6v{display:flex;align-items:center;flex-direction:column;margin-right:2px;width:78px;height:100%;font-size:12px}.mixer-button.svelte-12lhl6v{display:flex;width:76px;height:20px;margin-left:2px;border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden}.mixer-button-n.svelte-12lhl6v{display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:bolder;background-image:linear-gradient(var(--button-gradient),var(--button-background));border-left:1px solid var(--button-stroke);color:var(--light-text)}.mixer-button-r.svelte-12lhl6v{display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:bolder;background-color:var(--rec)}.mixer-volume.svelte-12lhl6v{display:flex;align-items:center;justify-content:center;width:78px;height:24px;margin-top:3px;margin-left:2px;background-color:var(--hole-medium);border-radius:3px;overflow:hidden}.mixer-limiter.svelte-12lhl6v{display:flex;align-items:end;justify-content:flex-end;width:78px;height:118px;margin-top:3px;margin-left:2px;background-color:var(--hole-medium);border-radius:3px;overflow:hidden}.instrument.svelte-kxtnu6{display:flex;justify-content:center;align-items:center;width:199px;height:43px;font-size:11px}.channels-row.svelte-kxtnu6{display:flex;flex-direction:row}.button.svelte-kxtnu6{display:flex;align-items:center;justify-content:center;margin-right:3px;width:19px;height:14px;font-size:15px;font-weight:bolder;background-image:linear-gradient(var(--button-gradient),var(--button-background));border:1px solid var(--button-stroke);border-radius:3px;overflow:hidden;color:var(--light-text)}div.svelte-ztiviv{display:flex;flex-direction:column;width:100%;height:401px;border-radius:3px;border:2px solid var(--active-panel-stroke);background-color:#2f2f2f;overflow:hidden;opacity:1}i.svelte-ztiviv{font-size:11px;color:var(--light-text)}.arrange-row.svelte-ztiviv{display:flex;flex-direction:row;width:100%;height:100%}.arranger.svelte-ztiviv{background-color:var(--dark-timeline-background);width:100%;height:calc(100% - 1px);border-left:1px solid var(--top-level-timeline-header-background);border-bottom:1px solid var(--top-level-timeline-header-background)}.channels.svelte-ztiviv{display:flex;flex-direction:column;justify-content:space-between;width:427px;height:377px;border-right:1px solid var(--hole-dark);border-bottom:1px solid var(--hole-dark);background-color:var(--hole-dark)}.channels-row.svelte-ztiviv{display:flex;flex-direction:row}.bottom-bar.svelte-ztiviv{width:100%;height:25px;background-color:var(--hole-light)}div.svelte-pnz0g3{display:flex;width:100%;height:243px;border-radius:3px;border:2px solid var(--panel-stroke);margin-top:3px;background-color:var(--hole-dark)}i.svelte-pnz0g3{color:var(--light-text)}.column.svelte-pnz0g3{display:flex;flex-direction:column;justify-content:space-between;padding-top:10px;padding-bottom:10px;align-items:center;font-size:10px;font-weight:700;width:28px;margin-right:2px;background-color:var(--device-header);overflow:hidden;white-space:nowrap}.rotate.svelte-pnz0g3{transform:rotate(-90deg)}.line.svelte-pnz0g3{width:100%;height:5px}div.svelte-1q5krv1{--border-width:2px;display:flex;flex-direction:column;width:825px;height:100%;margin-right:7px;margin-left:3px}div.svelte-q1jjt6{--border-width:2px;width:calc(222px - 2 * var(--border-width));height:calc(100% - 2 * var(--border-width));background-color:var(--hole-medium);border-radius:3px;border:2px solid var(--panel-stroke);overflow:hidden;opacity:1}i.svelte-q1jjt6{display:flex;align-items:center}.text.svelte-q1jjt6{margin-left:2px}.top-nav.svelte-q1jjt6{display:flex;width:100%;height:40px;border-bottom:2px solid var(--panel-stroke)}.everything-bar.svelte-q1jjt6{display:flex;flex-direction:column;align-items:center;font-size:11px;padding-top:7px;width:100%;height:123px}.search-bar.svelte-q1jjt6{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-top:6px;width:204px;height:21px;background-color:var(--hole-dark);border-radius:3px}.locations.svelte-q1jjt6{display:flex;flex-direction:row;width:200px;height:70px;margin-top:4px;color:#f5f5f5}.location-side.svelte-q1jjt6{display:flex;flex-direction:column;justify-content:space-around;width:100px;height:70px;padding-left:0}.files.svelte-q1jjt6{display:flex;width:100%;height:413px;background-color:var(--hole-dark)}.bottom-bar.svelte-q1jjt6{display:flex;width:100%;height:100%;box-shadow:#202020 0 0 10px}div.svelte-11joe25{--width:1228px;--height:768px;--top-margin:50px;display:flex;flex-direction:column;min-width:var(--width);margin:auto;width:var(--width);height:var(--height);box-shadow:#202020 0 0 15px;cursor:pointer}span.svelte-11joe25{--side-margin:5px;width:calc(100% - calc(2 * var(--side-margin)));height:655px;display:flex;flex-direction:row;margin-top:3px;margin-bottom:2px;margin-left:5px;opacity:1}div.svelte-gyjpao{--content-padding:50px;display:flex;width:calc(100% - max(var(--sidebar-width),var(--sidebar-min-width)) - 2*var(--content-padding));overflow:auto;padding:var(--content-padding);scrollbar-color:#444 #333}/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */.pickr{position:relative;overflow:visible;transform:translateY(0)}.pickr *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pickr .pcr-button{position:relative;height:2em;width:2em;padding:.5em;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;border-radius:.15em;background:url('data:image/svg+xml;utf8, ') no-repeat center;background-size:0;transition:all .3s}.pickr .pcr-button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pickr .pcr-button:before{z-index:initial}.pickr .pcr-button:after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;transition:background .3s;background:var(--pcr-color);border-radius:.15em}.pickr .pcr-button.clear{background-size:70%}.pickr .pcr-button.clear:before{opacity:0}.pickr .pcr-button.clear:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px var(--pcr-color)}.pickr .pcr-button.disabled{cursor:not-allowed}.pickr *,.pcr-app *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pickr input:focus,.pickr input.pcr-active,.pickr button:focus,.pickr button.pcr-active,.pcr-app input:focus,.pcr-app input.pcr-active,.pcr-app button:focus,.pcr-app button.pcr-active{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px var(--pcr-color)}.pickr .pcr-palette,.pickr .pcr-slider,.pcr-app .pcr-palette,.pcr-app .pcr-slider{transition:box-shadow .3s}.pickr .pcr-palette:focus,.pickr .pcr-slider:focus,.pcr-app .pcr-palette:focus,.pcr-app .pcr-slider:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #00000040}.pcr-app{position:fixed;display:flex;flex-direction:column;z-index:10000;border-radius:.1em;background:#fff;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;box-shadow:0 .15em 1.5em #0000001a,0 0 1em #00000008;left:0;top:0}.pcr-app.visible{transition:opacity .3s;visibility:visible;opacity:1}.pcr-app .pcr-swatches{display:flex;flex-wrap:wrap;margin-top:.75em}.pcr-app .pcr-swatches.pcr-last{margin:0}@supports (display: grid){.pcr-app .pcr-swatches{display:grid;align-items:center;grid-template-columns:repeat(auto-fit,1.75em)}}.pcr-app .pcr-swatches>button{font-size:1em;position:relative;width:calc(1.75em - 5px);height:calc(1.75em - 5px);border-radius:.15em;cursor:pointer;margin:2.5px;flex-shrink:0;justify-self:center;transition:all .15s;overflow:hidden;background:#0000;z-index:1}.pcr-app .pcr-swatches>button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:6px;border-radius:.15em;z-index:-1}.pcr-app .pcr-swatches>button:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--pcr-color);border:1px solid rgba(0,0,0,.05);border-radius:.15em;box-sizing:border-box}.pcr-app .pcr-swatches>button:hover{filter:brightness(1.05)}.pcr-app .pcr-swatches>button:not(.pcr-active){box-shadow:none}.pcr-app .pcr-interaction{display:flex;flex-wrap:wrap;align-items:center;margin:0 -.2em}.pcr-app .pcr-interaction>*{margin:0 .2em}.pcr-app .pcr-interaction input{letter-spacing:.07em;font-size:.75em;text-align:center;cursor:pointer;color:#75797e;background:#f1f3f4;border-radius:.15em;transition:all .15s;padding:.45em .5em;margin-top:.75em}.pcr-app .pcr-interaction input:hover{filter:brightness(.975)}.pcr-app .pcr-interaction input:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #4285f4bf}.pcr-app .pcr-interaction .pcr-result{color:#75797e;text-align:left;flex:1 1 8em;min-width:8em;transition:all .2s;border-radius:.15em;background:#f1f3f4;cursor:text}.pcr-app .pcr-interaction .pcr-result::-moz-selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-result::selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-type.active{color:#fff;background:#4285f4}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff;width:auto}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff}.pcr-app .pcr-interaction .pcr-save:hover,.pcr-app .pcr-interaction .pcr-cancel:hover,.pcr-app .pcr-interaction .pcr-clear:hover{filter:brightness(.925)}.pcr-app .pcr-interaction .pcr-save{background:#4285f4}.pcr-app .pcr-interaction .pcr-clear,.pcr-app .pcr-interaction .pcr-cancel{background:#f44250}.pcr-app .pcr-interaction .pcr-clear:focus,.pcr-app .pcr-interaction .pcr-cancel:focus{box-shadow:0 0 0 1px #ffffffd9,0 0 0 3px #f44250bf}.pcr-app .pcr-selection .pcr-picker{position:absolute;height:18px;width:18px;border:2px solid #fff;border-radius:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pcr-app .pcr-selection .pcr-color-palette,.pcr-app .pcr-selection .pcr-color-chooser,.pcr-app .pcr-selection .pcr-color-opacity{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;cursor:grab;cursor:-webkit-grab}.pcr-app .pcr-selection .pcr-color-palette:active,.pcr-app .pcr-selection .pcr-color-chooser:active,.pcr-app .pcr-selection .pcr-color-opacity:active{cursor:grabbing;cursor:-webkit-grabbing}.pcr-app[data-theme=monolith]{width:14.25em;max-width:95vw;padding:.8em}.pcr-app[data-theme=monolith] .pcr-selection{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview{position:relative;z-index:1;width:100%;height:1em;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.5em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color{cursor:pointer;transition:background-color .3s,box-shadow .3s;border-radius:.15em 0 0 .15em;z-index:2}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{border-radius:0 .15em .15em 0}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{background:var(--pcr-color);width:50%;height:100%}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette{width:100%;height:8em;z-index:1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette{border-radius:.15em;width:100%;height:100%}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity{height:.5em;margin-top:.75em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-picker,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-picker{top:50%;transform:translateY(-50%)}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{flex-grow:1;border-radius:50em}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{background:linear-gradient(to right,transparent,black),url('data:image/svg+xml;utf8, ');background-size:100%,.25em}div.svelte-1qaizyl{display:flex;align-items:center;flex-direction:row;justify-content:space-between;min-height:40px;color:#000;background-color:#f5f5f5;border-bottom:1px solid #a5a5a5;padding-top:10px;padding-bottom:10px}section.svelte-1qaizyl{display:flex;flex-direction:column;justify-content:space-between;width:100%}div.svelte-1qaizyl:hover{cursor:pointer}span.svelte-1qaizyl{margin-left:10px;margin-right:10px}span.info.svelte-1qaizyl{font-size:12px;color:gray}code.svelte-1qaizyl{margin-right:30px;width:20px;height:20px;border:1px solid black}i.svelte-1qaizyl{margin-right:20px}aside.svelte-3wzjex{display:var(--display-aside);flex-direction:column;height:100%;width:100%;background-color:gray;z-index:2}nav.svelte-3wzjex{display:flex;flex-direction:row;width:100%}section.svelte-3wzjex{--topbar-height:40px;--button-height:40px;--span-height:30px;height:100%;overflow-y:auto}span.svelte-3wzjex{--span-height:30px;padding-left:10px;padding-right:10px;font-size:large;font-weight:700;height:var(--span-height);background-color:#8f8f8f}input.svelte-3wzjex{height:30px;padding:5px 10px;border:none;color:#f5f5f5;background-color:#6f6f6f;font-weight:600}input.svelte-3wzjex:focus{outline:none}.svelte-3wzjex::placeholder{color:#d3d3d3;opacity:1}button.svelte-3wzjex{--button-height:40px;border:none;display:flex;align-items:center;justify-content:center;width:50%;height:var(--button-height);color:#f5f5f5;background-color:#4f4f4f;font-size:larger;font-weight:700}button.svelte-3wzjex:hover{background-color:#6f6f6f;cursor:pointer}a.svelte-3wzjex{--button-height:40px;text-decoration:none;border:none;display:flex;align-items:center;justify-content:center;width:50%;height:var(--button-height);background-color:#4f4f4f;font-size:larger;font-weight:700;color:#f5f5f5}a.svelte-3wzjex:hover{background-color:#6f6f6f;cursor:pointer}h1.svelte-3wzjex{font-size:22px;margin:auto;color:#010101}.modal.svelte-3wzjex{position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex}.modal-box.svelte-3wzjex{--modal-box-height:320px;--modal-box-width:460px;position:relative;top:calc(100vh - var(--modal-box-height) - var(--topbar-height) - 4*22px);left:min(calc(max(var(--sidebar-width),var(--sidebar-min-width)) + 60px),calc(60vw - var(--modal-box-width)/1.7));width:var(--modal-box-width);height:var(--modal-box-height);padding:20px;background-color:#f5f5f5;color:#020202;border-top-right-radius:25px;border:2px solid #020202;box-shadow:#010101 0 10px 25px}div.svelte-zhh6it{display:flex;justify-content:space-between;position:absolute;width:75px;top:12px;right:-99px;height:30px;background-color:#d3d3d3;z-index:2;box-shadow:#2c2c2c 0 0 15px;background-color:#2f2f2f;border-radius:5px;overflow:hidden}button.svelte-zhh6it{border:none;color:#f5f5f5;text-decoration:none;width:25px;background-color:#2f2f2f}button.svelte-zhh6it:hover{background-color:#4f4f4f}i.svelte-zhh6it{display:flex;justify-content:center;align-items:center;font-weight:600;font-size:12px;width:100%;background-color:#6f6f6f}div.svelte-1ybg2mg{position:relative;display:flex;border-right:1px solid #000000;box-shadow:2px 0 4px #0003;z-index:3;height:100%;width:max(var(--sidebar-width),var(--sidebar-min-width))}span.svelte-1ybg2mg{position:absolute;display:flex;justify-content:center;align-items:center;right:-22px;top:30%;background-color:#f5f5f5;width:20px;height:60px;border:1px solid #000000;border-top-right-radius:10px;border-bottom-right-radius:10px}span.svelte-1ybg2mg:hover{background-color:#d3d3d3;cursor:pointer}svg.svelte-uzr26j{margin-right:2px}@media only screen and (max-width: 719px){#how-to.svelte-1m0co9p{display:none}}@media only screen and (min-width: 720px){#how-to.svelte-1m0co9p{display:flex}}@media only screen and (max-width: 539px){#main-title.svelte-1m0co9p{display:none}}@media only screen and (min-width: 540px){#main-title.svelte-1m0co9p{display:flex}}nav.svelte-1m0co9p{--topbar-height:40px;display:flex;flex-direction:row;justify-content:space-between;height:var(--topbar-height);background-color:#2f2f2f;z-index:3;box-shadow:0 2px 4px #0003}span.svelte-1m0co9p{display:flex;flex-direction:row;margin-left:10px;margin-right:10px}button.svelte-1m0co9p{display:flex;flex-direction:row;align-items:center;background-color:#2f2f2f;border:none;color:#f5f5f5;text-decoration:none;font-size:16px;font-weight:500;margin:4px;cursor:pointer}button.svelte-1m0co9p:hover{background-color:#4f4f4f}a.svelte-1m0co9p{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#2f2f2f;border:none;color:#f5f5f5;text-decoration:none;font-size:16px;font-weight:600;margin:4px;padding:4px;cursor:pointer;overflow:hidden}h1.svelte-1m0co9p{margin:auto;color:#010101}code.svelte-1m0co9p{font-style:normal;font-size:medium;font-weight:700}.note.svelte-1m0co9p{font-style:italic;font-size:smaller}.modal.svelte-1m0co9p{position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex}.modal-box.svelte-1m0co9p{--topbar-height:40px;--modal-box-width:460px;position:relative;top:calc(var(--topbar-height) + 20px);left:calc(100vw - var(--modal-box-width) - 60px);width:var(--modal-box-width);height:160px;padding:20px;background-color:#f5f5f5;color:#020202;border-bottom-left-radius:25px;border:2px solid #020202;box-shadow:#010101 0 10px 25px}main.svelte-190v44n{display:flex;flex-direction:column;height:100vh;overflow-x:hidden;overflow-y:hidden}div.svelte-190v44n{--topbar-height:40px;position:relative;display:flex;flex-direction:row;height:calc(100% - var(--topbar-height))}@media only screen and (max-width: 349px){main.svelte-190v44n{display:flex}.smallscreen.svelte-190v44n{position:absolute;top:0;left:0;display:flex;height:calc(100vh - 20px);width:calc(100vw - 20px);flex-direction:column;padding:10px;justify-content:center;align-items:center;text-align:center;opacity:.8;background-color:#242424;z-index:10}}@media only screen and (min-width: 350px){.smallscreen.svelte-190v44n{display:none}} diff --git a/assets/index-Dd7JcON-.js b/assets/index-Dd7JcON-.js new file mode 100644 index 0000000..4a18716 --- /dev/null +++ b/assets/index-Dd7JcON-.js @@ -0,0 +1,54 @@ +var _n=Object.defineProperty;var xn=(n,e,i)=>e in n?_n(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i;var Xe=(n,e,i)=>xn(n,typeof e!="symbol"?e+"":e,i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function i(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=i(s);fetch(s.href,a)}})();function R(){}function bn(n){return n()}function Vt(){return Object.create(null)}function ht(n){n.forEach(bn)}function kn(n){return typeof n=="function"}function $e(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}function $n(n){return Object.keys(n).length===0}function l(n,e){n.appendChild(e)}function se(n,e,i){n.insertBefore(e,i||null)}function oe(n){n.parentNode&&n.parentNode.removeChild(n)}function xt(n,e){for(let i=0;in.removeEventListener(e,i,r)}function t(n,e,i){i==null?n.removeAttribute(e):n.getAttribute(e)!==i&&n.setAttribute(e,i)}function Tn(n){return Array.from(n.childNodes)}function Gt(n,e){e=""+e,n.data!==e&&(n.data=e)}function Kt(n,e){n.value=e??""}function o(n,e,i,r){i==null?n.style.removeProperty(e):n.style.setProperty(e,i,"")}let St;function Mt(n){St=n}function Bn(){if(!St)throw new Error("Function called outside component initialization");return St}function jt(n){Bn().$$.on_mount.push(n)}const $t=[],Wt=[];let Tt=[];const Yt=[],Mn=Promise.resolve();let Rt=!1;function Sn(){Rt||(Rt=!0,Mn.then(yn))}function Zt(n){Tt.push(n)}const Dt=new Set;let Lt=0;function yn(){if(Lt!==0)return;const n=St;do{try{for(;Lt<$t.length;){const e=$t[Lt];Lt++,Mt(e),An(e.$$)}}catch(e){throw $t.length=0,Lt=0,e}for(Mt(null),$t.length=0,Lt=0;Wt.length;)Wt.pop()();for(let e=0;en.indexOf(r)===-1?e.push(r):i.push(r)),i.forEach(r=>r()),Tt=e}const Pt=new Set;let wt;function Ot(){wt={r:0,c:[],p:wt}}function It(){wt.r||ht(wt.c),wt=wt.p}function fe(n,e){n&&n.i&&(Pt.delete(n),n.i(e))}function he(n,e,i,r){if(n&&n.o){if(Pt.has(n))return;Pt.add(n),wt.c.push(()=>{Pt.delete(n),r&&(i&&n.d(1),r())}),n.o(e)}else r&&r()}function Je(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function zt(n,e){he(n,1,1,()=>{e.delete(n.key)})}function Nt(n,e,i,r,s,a,c,p,w,v,x,_){let T=n.length,M=a.length,S=T;const F={};for(;S--;)F[n[S].key]=S;const N=[],V=new Map,ue=new Map,le=[];for(S=M;S--;){const te=_(s,a,S),D=i(te);let I=c.get(D);I?le.push(()=>I.p(te,e)):(I=v(D,te),I.c()),V.set(D,N[S]=I),D in F&&ue.set(D,Math.abs(S-F[D]))}const ie=new Set,Te=new Set;function ye(te){fe(te,1),te.m(p,x),c.set(te.key,te),x=te.first,M--}for(;T&&M;){const te=N[M-1],D=n[T-1],I=te.key,de=D.key;te===D?(x=te.first,T--,M--):V.has(de)?!c.has(I)||ie.has(I)?ye(te):Te.has(de)?T--:ue.get(I)>ue.get(de)?(Te.add(I),ye(te)):(ie.add(de),T--):(w(D,c),T--)}for(;T--;){const te=n[T];V.has(te.key)||w(te,c)}for(;M;)ye(N[M-1]);return ht(le),N}function be(n){n&&n.c()}function me(n,e,i){const{fragment:r,after_update:s}=n.$$;r&&r.m(e,i),Zt(()=>{const a=n.$$.on_mount.map(bn).filter(kn);n.$$.on_destroy?n.$$.on_destroy.push(...a):ht(a),n.$$.on_mount=[]}),s.forEach(Zt)}function we(n,e){const i=n.$$;i.fragment!==null&&(Hn(i.after_update),ht(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function En(n,e){n.$$.dirty[0]===-1&&($t.push(n),Sn(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{const S=M.length?M[0]:T;return v.ctx&&s(v.ctx[_],v.ctx[_]=S)&&(!v.skip_bound&&v.bound[_]&&v.bound[_](S),x&&En(n,_)),T}):[],v.update(),x=!0,ht(v.before_update),v.fragment=r?r(v.ctx):!1,e.target){if(e.hydrate){const _=Tn(e.target);v.fragment&&v.fragment.l(_),_.forEach(oe)}else v.fragment&&v.fragment.c();e.intro&&fe(n.$$.fragment),me(n,e.target,e.anchor),yn()}Mt(w)}class Me{constructor(){Xe(this,"$$");Xe(this,"$$set")}$destroy(){we(this,1),this.$destroy=R}$on(e,i){if(!kn(i))return R;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(i),()=>{const s=r.indexOf(i);s!==-1&&r.splice(s,1)}}$set(e){this.$$set&&!$n(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Pn="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Pn);const Ct=[];function qt(n,e=R){let i;const r=new Set;function s(p){if($e(n,p)&&(n=p,i)){const w=!Ct.length;for(const v of r)v[1](),Ct.push(v,n);if(w){for(let v=0;v{r.delete(v),r.size===0&&i&&(i(),i=null)}}return{set:s,update:a,subscribe:c}}const At={advanced:{"Timeline Playhead":"#000000ff"},window:{"Abstract Button Pressed Background":"#3b3b3b","Abstract Button Selected Background":"#474747","Abstract Button Stroke":"#323232","Abstract Button Unselected Background":"#545454","Activation Green":"#29e17c","Activation Red":"#ff4021","Activation Yellow":"#e3d538","Active Inverted Toggle Icon (Playing)":"#dedede","Active Panel stroke":"#787878","Active Toggle Icon (Playing)":"#dedede","Analyzed Beat Color":"#3cb2e9","Audio Event Boundary":"#0000007b","Automation Color":"#8fa4ff","Beat Marker Color":"#e36315","Bitwig 16-Track":"#0076c7","Bitwig 8-Track":"#29ccb9","Bitwig CI":"#ff5a00","Bitwig Essentials":"#2e9ce6","Bitwig Mint":"#04a1a8","Bitwig Producer":"#ffc933","Bitwig Red":"#e41f38","Button background":"#76767680","Button in tree background":"#505050","Button stroke":"#323232","Checkbox background":"#62626280","Close button mouse over background":"#0000005a","Close button pressed background":"#000000a6","Comp fill":"#005eb478","Content Background":"#e2e2e2","Dark Panel Sub-frame Fill":"#434343","Dark Panel Sub-frame Stroke":"#383838","Dark Separator Line":"#989898","Dark Text":"#141414","Dark tree background (selected)":"#387097","Dark tree background (standby selected)":"#2c3b45","Dark tree hover background change":"#ffffff0a","Dark tree separator":"#565656","Dark tree text":"#ffffff","Dark tree text (selected)":"#ffffff","Default text":"#000000","Device Header":"#3c3c3c","Device Header (selected)":"#646464","Device Locked Overlay":"#0e5ca180","Device Tint Future":"#58859564","Device Tint Military":"#305d0247","Device Tint Retro":"#c07b4c52","Display Background":"#1d1d1d","Display Background (error)":"#521226","Display Loop Markers":"#00ffbe","Display Start/End Markers":"#d8d900","Display Waveform":"#ffffff","Drop Indicator":"#ffffff","Emboss Highlight":"#ffffff19","Emboss Shadow":"#0000003c","Error Text":"#ff3232c8","Field background":"#d1d1d1","Grey Display Background":"#1d1d1d64","Grid Line (Primary)":"#ffffffa0","Grid Line (Secondary)":"#ffffff50","Hitcount background":"#8181817f","Hitcount text color":"#ffffff7f","Hitech background":"#2b3236","Hitech on":"#3ebaff","Hole (dark)":"#0d0d0d","Hole (light)":"#414141","Hole (medium)":"#2e2e2e","Implicit On (subtle)":"#e47611","Inspector Section Frame":"#424242","Inverted Selected Borderless Button background":"#767676","Knob Body Darkest":"#1e1e1e","Knob Body Lighter":"#969696","Knob Body Lightest":"#c4c4c4","Knob Emboss Highlight":"#ffffff00","Knob Emboss Shadow":"#00000000","Knob Line":"#f2f2f2","Knob Line Dark":"#0a0a0a","Knob Stroke":"#282828","Knob Value Color":"#ff7d0f","Launcher Mapping Indication":"#6c6c6c","Led Off":"#545454","Led On":"#ff0000","Light Separator Line":"#aaaaaa","Light Text":"#ffffff","Light Tooltip Background":"#d7d7d7","Lighter Text":"#ffffff","Link Text":"#e41f38ff","List Item Background":"#d1d1d1","List Separator":"#9c9c9c",Mapping:"#3effba","Mapping indication 1":"#f41b3e","Mapping indication 2":"#ff7f17","Mapping indication 3":"#fceb23","Mapping indication 4":"#5bc515","Mapping indication 5":"#65ce92","Mapping indication 6":"#5ca8ee","Mapping indication 7":"#c36eff","Mapping indication 8":"#ff54b0","Medium Light Text":"#ffffffb4","Menu Icon":"#c3c3c3","Menu background":"#353535","Menu description text":"#8c8c8c","Menu separator":"#8c8c8c","Menu stroke":"#272727","Menu text":"#ffffff","Meter Clipping":"#ff0000","Meter Gain Reduction":"#5386b6","Meter Hitech":"#23d1d4","Meter Hitech Background":"#23343e","Meter Muted":"#979797","Meter Normal":"#8ccb2a","Meter Red":"#ff8b00","Meter Yellow":"#ffde42","Modern Dark Scrollbar Handle (active)":"#000000ff","Modern Dark Scrollbar Handle (inactive)":"#000000aa","Modern Scrollbar Background (active)":"#78787834","Modern Scrollbar Handle (active)":"#787878ff","Modern Scrollbar Handle (inactive)":"#82828264","Modulation Mapping Background (polyphonic)":"#3aff9e32","Modulation Mapping Background Color":"#3dd9ff32","Modulation Mapping Color":"#3dd9ff","Modulation Mapping Color (polyphonic)":"#3aff9e","Modulation Mapping Color (subtractive)":"#5a8291","Monitoring buttons color":"#cfc500","Mouse Over Inverted Toggle Icon":"#000000a0","Mouse Over Toggle Icon":"#bababa","Normal Inverted Toggle Icon":"#00000050","Normal Toggle Icon":"#9e9e9e","Notification Background":"#d1d1d1","Notification Error":"#e5102b","Notification Normal":"#00888c","Number field bar background":"#e57e0e",On:"#ff8713","On (subtle)":"#f07f1180","On (subtler)":"#f07f1140","Onset Marker Color":"#4c70c0","Panel Blue":"#5ca8ee","Panel Green":"#4abc00","Panel Lime":"#bbdd21","Panel Mint":"#26d098","Panel Orange":"#ff7f17","Panel Purple":"#c36eff","Panel Red":"#ff1c40","Panel Turquoise":"#1be3e5","Panel Yellow":"#ffde42","Panel body":"#535353","Panel stroke":"#535353","Popup Notification Background":"#000000b4","Popup insert":"#747474","Popup overlay background color":"#171717b4","Pressed Inverted Toggle Icon":"#000000","Pressed On":"#ca6a10","Pressed Toggle Icon":"#858585","Pressed button background":"#62626280","Pressed view button background":"#373737","Progress background":"#39495ebb","Progress bar":"#5cbcff","Record button color":"#ec0808","Rubber button stroke":"#7a7a7a","Rubber highlight button stroke":"#ff8d0050",Scrollbar:"#787878","Scrollbar background":"#2e2e2e00","Selected Dashboard Tree":"#383838","Selected Panel body":"#9c9c9c","Selected Panel stroke":"#a1a1a1","Selected Panel stroke (standby)":"#818181",Selection:"#ffffff",Shadow:"#0000004d","Standby selection":"#e5e5e5","Subtle Dark Text":"#444444","Subtle Light Text":"#ffffff78","Subtler Light Text":"#ffffff3c","The Grid (background)":"#0d0d0d","The Grid (stroke)":"#181818","Timeline edit tool chooser background":"#323232","Tooltip Background":"#3c3c3c","Tooltip Stroke":"#a4a4a4","Tree Item Background":"#d1d1d1","Tree Separator":"#00000000","User Automation Override Color":"#27d927","View button background":"#2e2e2e00",Warning:"#ed1b1b","Window background":"#2e2e2e"},arranger:{"Add Modulation Button Color":"#bb33b1","Audio connection in modular environment":"#c14524","Audio64 connection in modular environment":"#d281f4","Automation button glow color":"#93ff9240","Background color of the modular environment.":"#000000","Clip Automation Button Color":"#d93232","Clip Automation Color":"#8d0a0a","Clip Modulation Color":"#881390","Compressed Audio Port in modular environment":"#ff8000","Current Atom Value Color":"#005270","Dark Timeline Background":"#797979","Dark Timeline Header Background":"#323232","Event connection in modular environment":"#3c7399","Header Loop Region Background":"#00000032","Header Time Selection Across All Lanes Fill":"#7e9898c8","Header Time Selection Across All Lanes Stroke":"#dedede","Header Time Selection Cursor Stroke":"#dedede","Header Time Selection Fill":"#a7939dc8","Header Time Selection Standby Cursor Stroke":"#b0b0b0","Header Time Selection Standby Fill":"#ffffff06","Header Time Selection Standby Stroke":"#a7a7a7","Header Time Selection Stroke":"#f7f7f7","Insert preview time":"#d2d2d2d2","Irrelevant Timeline Background":"#858585","Irrelevant Timeline Header Background":"#323232","Irrelevant Timeline Header Overlay":"#ffffff0a","Irrelevant Timeline Overlay":"#0000000a","Light Timeline Background":"#8f8f8f","Light Timeline Header Background":"#353535","Loop Region Background":"#ffffff32","Multiply Modulation Button Color":"#bb33b1","Note Expression Color":"#055988","Polyphonic Desktop Object":"#3c7399","Record button color implicit":"#b02929","Record button glow color":"#ff000040","Selected matrix slot color":"#676767","Send (post) value color":"#ffe019","Send (pre) value color":"#4df4ff","Time Selection Across All Lanes Fill":"#5e9898c8","Time Selection Across All Lanes Stroke":"#f7f7f7","Time Selection Cursor Stroke":"#ffffff","Time Selection Fill":"#7dc3d05d","Time Selection Inactive Fill":"#ffffff1e","Time Selection Inactive Stroke":"#cecece","Time Selection Not Selected Fill":"#00000000","Time Selection Not Selected Stroke":"#cecece","Time Selection Standby Cursor Stroke":"#f7f7f7","Time Selection Standby Fill":"#ffffff46","Time Selection Standby Stroke":"#cecece","Time Selection Stroke":"#f7f7f7","Timeline Background Pattern":"#00000014","Timeline Cue Marker":"#535353","Timeline Header Background Pattern":"#ffffff0a","Timeline Header Cue Marker":"#545454","Timeline Header Primary Grid":"#828282","Timeline Header Secondary Grid":"#565656","Timeline Header Tooltip Background":"#484848c8","Timeline Header Tooltip Text":"#aaaaaa","Timeline Primary Grid":"#00000064","Timeline Secondary Grid":"#00000014","Timeline Tooltip Background":"#998e8ec8","Timeline Tooltip Text":"#2a2a2a","Top Level Timeline Background":"#a6a6a6","Top Level Timeline Header Background":"#323232","Track Automation Button Color":"#4f9ddb","Track Automation Color":"#055988"}};let jn=structuredClone(At),Qe=qt(jn);function Dn(n){let e,i,r,s,a,c,p,w,v,x,_;return{c(){e=u("div"),i=m("svg"),r=m("rect"),s=b(),a=u("span"),a.textContent="New 1*",c=b(),p=m("svg"),w=m("line"),x=m("line"),t(r,"width","10"),t(r,"height","10"),t(r,"fill","#c3c3c3"),t(r,"class","svelte-129q6s6"),t(i,"width","6"),t(i,"height","6"),t(i,"viewBox","0 0 6 6"),t(i,"class","svelte-129q6s6"),t(a,"class","svelte-129q6s6"),t(w,"x1","0"),t(w,"y1","0"),t(w,"x2","7"),t(w,"y2","7"),t(w,"stroke",v=n[0].window["Light Text"]),t(x,"x1","0"),t(x,"y1","7"),t(x,"x2","7"),t(x,"y2","0"),t(x,"stroke",_=n[0].window["Light Text"]),t(p,"width","7"),t(p,"height","7"),t(p,"class","svelte-129q6s6"),o(e,"--light-text",n[0].window["Light Text"]),t(e,"class","svelte-129q6s6")},m(T,M){se(T,e,M),l(e,i),l(i,r),l(e,s),l(e,a),l(e,c),l(e,p),l(p,w),l(p,x)},p(T,[M]){M&1&&v!==(v=T[0].window["Light Text"])&&t(w,"stroke",v),M&1&&_!==(_=T[0].window["Light Text"])&&t(x,"stroke",_),M&1&&o(e,"--light-text",T[0].window["Light Text"])},i:R,o:R,d(T){T&&oe(e)}}}function On(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class In extends Me{constructor(e){super(),Be(this,e,On,Dn,$e,{})}}function zn(n){let e,i;return{c(){e=m("svg"),i=m("path"),t(i,"d","m 35.833295,17.83332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 21.33328,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z M 35.833295,12.5 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -26.6666,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,-5.33332 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m -15.99996,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z m 5.33332,0 a 1.999995,1.999995 0 0 1 -3.99999,0 1.999995,1.999995 0 1 1 3.99999,0 z"),t(e,"width","41"),t(e,"height","25"),t(e,"viewBox","0 0 41 25"),t(e,"class","svelte-w97xpw")},m(r,s){se(r,e,s),l(e,i)},p:R,i:R,o:R,d(r){r&&oe(e)}}}class Nn extends Me{constructor(e){super(),Be(this,e,null,zn,$e,{})}}function Rn(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(i,r){se(i,e,r)},p:R,i:R,o:R,d(i){i&&oe(e)}}}class Zn extends Me{constructor(e){super(),Be(this,e,null,Rn,$e,{})}}function Fn(n){let e,i,r,s,a,c,p;return i=new In({}),s=new Nn({}),c=new Zn({}),{c(){e=u("div"),be(i.$$.fragment),r=b(),be(s.$$.fragment),a=b(),be(c.$$.fragment),t(e,"id","top_bar"),t(e,"class","svelte-18j4gou")},m(w,v){se(w,e,v),me(i,e,null),l(e,r),me(s,e,null),l(e,a),me(c,e,null),p=!0},p:R,i(w){p||(fe(i.$$.fragment,w),fe(s.$$.fragment,w),fe(c.$$.fragment,w),p=!0)},o(w){he(i.$$.fragment,w),he(s.$$.fragment,w),he(c.$$.fragment,w),p=!1},d(w){w&&oe(e),we(i),we(s),we(c)}}}let Gn=class extends Me{constructor(e){super(),Be(this,e,null,Fn,$e,{})}};function qn(n){let e,i;return{c(){e=m("svg"),i=m("path"),t(i,"d","M12.011,5L13.249,5L13.249,4L12.011,4L12.011,2.989L11.022,2.989L11.022,1.751L10.022,1.751L10.022,2.989L9.022,2.989L9.022,1.751L8.022,1.751L8.022,2.989L7.022,2.989L7.022,1.751L6.022,1.751L6.022,2.989L5.022,2.989L5.022,1.751L4.022,1.751L4.022,2.989L3.011,2.989L3.011,4L1.773,4L1.773,5L3.011,5L3.011,6L1.773,6L1.773,7L3.011,7L3.011,8L1.773,8L1.773,9L3.011,9L3.011,10L1.773,10L1.773,11L3.011,11L3.011,12.011L4.022,12.011L4.022,13.249L5.022,13.249L5.022,12.011L6.022,12.011L6.022,13.249L7.022,13.249L7.022,12.011L8.022,12.011L8.022,13.249L9.022,13.249L9.022,12.011L10.022,12.011L10.022,13.249L11.022,13.249L11.022,12.011L12.011,12.011L12.011,11L13.249,11L13.249,10L12.011,10L12.011,9L13.249,9L13.249,8L12.011,8L12.011,7L13.249,7L13.249,6L12.011,6L12.011,5ZM11,4L4,4L4,11L11,11L11,4Z"),t(e,"width","16px"),t(e,"height","16px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(r,s){se(r,e,s),l(e,i)},p(r,[s]){s&1&&o(e,"fill",r[0])},i:R,o:R,d(r){r&&oe(e)}}}function Un(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class Ln extends Me{constructor(e){super(),Be(this,e,Un,qn,$e,{color:0})}}function Vn(n){let e,i,r,s;return{c(){e=m("svg"),i=m("g"),r=m("path"),s=m("path"),t(r,"d","M2.5,5.5L6,3.25L6,5L11,5L11,6L6,6L6,7.75L2.5,5.5Z"),o(r,"fill-rule","nonzero"),o(r,"stroke-width","0.4px"),t(s,"d","M12.5,9.5L9,11.75L9,10L4,10L4,9L9,9L9,7.25L12.5,9.5Z"),o(s,"fill-rule","nonzero"),o(s,"stroke-width","0.4px"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),o(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(a,c){se(a,e,c),l(e,i),l(i,r),l(i,s)},p(a,[c]){c&1&&o(e,"fill",a[0])},i:R,o:R,d(a){a&&oe(e)}}}function Kn(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class Wn extends Me{constructor(e){super(),Be(this,e,Kn,Vn,$e,{color:0})}}function Yn(n){let e,i,r,s,a,c,p,w;return{c(){e=m("svg"),i=m("svg"),r=m("g"),s=m("g"),a=m("path"),c=m("circle"),p=m("circle"),w=m("rect"),t(a,"d","m 25.782997,9 1,0 0,3 -1,0 z M 23.638553,9 25,9 l 0,3 -1.361447,0 z m -0.711214,0 -1.842068,0 0,-1.4851612 L 16.209514,10.5 l 4.875757,2.985161 0,-1.485161 1.842068,0 z"),t(r,"transform","matrix(1.3821435,0,0,1.6397775,-20.617873,-9.7176634)"),t(i,"viewBox","0 0 19 17"),o(c,"opacity","1"),o(c,"fill-opacity","1"),o(c,"stroke","none"),o(c,"stroke-width","0.80000001"),o(c,"stroke-miterlimit","4"),o(c,"stroke-dasharray","none"),o(c,"stroke-opacity","1"),t(c,"cx","9.5"),t(c,"cy","14.5"),t(c,"r","1.5"),t(p,"r","1.5"),t(p,"cy","12.5"),t(p,"cx","15.5"),o(p,"opacity","1"),o(p,"fill-opacity","1"),o(p,"stroke","none"),o(p,"stroke-width","0.80000001"),o(p,"stroke-miterlimit","4"),o(p,"stroke-dasharray","none"),o(p,"stroke-opacity","1"),o(w,"opacity","1"),o(w,"fill-opacity","1"),o(w,"stroke","none"),o(w,"stroke-width","0.80000001"),o(w,"stroke-miterlimit","4"),o(w,"stroke-dasharray","none"),o(w,"stroke-opacity","1"),t(w,"width","6.2426505"),t(w,"height","0.85626048"),t(w,"x","5.3736782"),t(w,"y","16.265125"),t(w,"transform","matrix(0.94662364,-0.32234094,0.27606531,0.96113888,0,0)"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19"),t(e,"height","17"),t(e,"fill",n[0])},m(v,x){se(v,e,x),l(e,i),l(i,r),l(r,s),l(s,a),l(e,c),l(e,p),l(e,w)},p(v,[x]){x&1&&t(e,"fill",v[0])},i:R,o:R,d(v){v&&oe(e)}}}function Xn(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class Jn extends Me{constructor(e){super(),Be(this,e,Xn,Yn,$e,{color:0})}}function Qn(n){let e,i;return{c(){e=m("svg"),i=m("path"),t(i,"d","M 13.286,3.3735223 12.714,2.9462003 9.684,6.1078536 7.5,1.3940678 3,11.105932 h 9 L 10.004,6.7982789 13.286,3.3735223 z M 7.5,3.7257982 8.955,6.8671448 7.432,8.4572419 H 5.308 L 7.5,3.7257982 z M 9.692,8.4572419 H 8.414 L 9.275,7.5575701 9.692,8.4572419 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","15"),t(e,"height","13"),t(e,"viewBox","0 0 15 13"),t(e,"fill",n[0]),o(e,"margin-top","5px")},m(r,s){se(r,e,s),l(e,i)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:R,o:R,d(r){r&&oe(e)}}}function eo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class to extends Me{constructor(e){super(),Be(this,e,eo,Qn,$e,{color:0})}}function no(n){let e,i;return{c(){e=m("svg"),i=m("path"),t(i,"d","m 13.4375,14.25 -5.787,0 3.161,-4.3890002 1.217,0.8770002 -1.449,2.012 2.858,0 c 1.704,0 3.091,-1.458 3.091,-3.2500002 0,-1.7919996 -1.387,-3.2499996 -3.091,-3.2499996 l -7.877,0 c -1.704,0 -3.09,1.458 -3.09,3.2499996 C 2.4705,11.292 3.8565,12.75 5.5605,12.75 l 0,1.5 c -2.531,0 -4.59,-2.131 -4.59,-4.7500002 0,-2.6189996 2.059,-4.7499996 4.59,-4.7499996 l 7.878,0 c 2.531,0 4.591,2.131 4.591,4.7499996 0,2.6190002 -2.06,4.7500002 -4.592,4.7500002 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","19px"),t(e,"height","19px"),t(e,"viewBox","0 0 19 19"),t(e,"fill",n[0])},m(r,s){se(r,e,s),l(e,i)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:R,o:R,d(r){r&&oe(e)}}}function oo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class lo extends Me{constructor(e){super(),Be(this,e,oo,no,$e,{color:0})}}function io(n){let e,i;return{c(){e=m("svg"),i=m("path"),o(i,"stroke","none"),t(i,"d","m 15.25,10.8 -4.934,0 -3.999,-3 -4.567,0 0,-1.6 4.933,0 4.001,3 4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){se(r,e,s),l(e,i)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:R,o:R,d(r){r&&oe(e)}}}function ro(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class so extends Me{constructor(e){super(),Be(this,e,ro,io,$e,{color:0})}}function ao(n){let e,i;return{c(){e=m("svg"),i=m("path"),t(i,"d","m 6.683,10.8 -4.933,0 0,-1.6 4.567,0 3.999,-3 4.934,0 0,1.6 -4.566,0 z"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","17"),t(e,"height","17"),t(e,"viewBox","0 0 17 17"),t(e,"fill",n[0])},m(r,s){se(r,e,s),l(e,i)},p(r,[s]){s&1&&t(e,"fill",r[0])},i:R,o:R,d(r){r&&oe(e)}}}function co(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class uo extends Me{constructor(e){super(),Be(this,e,co,ao,$e,{color:0})}}function po(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J,K,Y,ne,xe,Q,Pe,Ce,He,Ee,je,Ze,Ie,j,H,G,Se,Ae,qe,ze,ve;return ce=new Ln({props:{color:n[0].window["Hitech on"]}}),y=new Wn({props:{color:n[0].window["Hitech on"]}}),K=new Jn({props:{color:"#cfcfcf"}}),ne=new to({props:{color:"#cfcfcf"}}),Pe=new lo({props:{color:"#cfcfcf"}}),Ze=new so({props:{color:"#cfcfcf"}}),j=new uo({props:{color:"#cfcfcf"}}),{c(){e=u("div"),i=u("span"),r=u("span"),r.textContent="FILE",s=b(),a=u("span"),c=u("span"),c.textContent="PLAY",p=u("i"),w=b(),v=u("span"),x=m("svg"),_=m("path"),M=b(),S=u("i"),F=b(),N=u("span"),V=m("svg"),ue=m("rect"),ie=b(),Te=u("i"),ye=b(),te=u("span"),D=m("svg"),I=m("circle"),Le=b(),ae=u("span"),re=u("span"),X=u("span"),be(ce.$$.fragment),$=b(),d=u("span"),g=b(),h=u("span"),be(y.$$.fragment),f=b(),k=u("span"),C=u("span"),L=b(),A=u("span"),E=b(),O=u("span"),O.innerHTML='110.00 4/4',U=b(),Z=u("span"),Z.innerHTML='1.1.1.00 0:00.000',W=b(),J=u("span"),be(K.$$.fragment),Y=b(),be(ne.$$.fragment),xe=b(),Q=u("span"),be(Pe.$$.fragment),Ce=b(),He=u("span"),He.innerHTML='1.1.1.00 0:00.000',Ee=b(),je=u("span"),be(Ze.$$.fragment),Ie=b(),be(j.$$.fragment),H=b(),G=u("span"),G.textContent="ADD",Se=b(),Ae=u("span"),Ae.textContent="EDIT",qe=b(),ze=u("span"),ze.textContent="Bitwig Studio 5.1.9",t(r,"class","normal-button button-active button-background svelte-hfuv26"),t(c,"class","play-button button-active button-background svelte-hfuv26"),t(p,"class","svelte-hfuv26"),t(_,"stroke-width","1.5"),t(_,"d","M18.25 12L5.75 5.75V18.25L18.25 12Z"),t(x,"class","light-text"),t(x,"width","24"),t(x,"fill",T=n[0].window["Light Text"]),t(x,"viewBox","0 0 24 24"),t(v,"id","play"),t(v,"class","play-button button-background svelte-hfuv26"),t(S,"class","svelte-hfuv26"),t(ue,"width","11"),t(ue,"height","11"),t(ue,"fill",le=n[0].window["Light Text"]),t(V,"class","light-text"),t(V,"width","11"),t(V,"height","11"),t(N,"class","play-button button-active button-background svelte-hfuv26"),t(Te,"class","svelte-hfuv26"),t(I,"cx","6.5"),t(I,"cy","6.5"),t(I,"r","6.5"),t(I,"fill",de=n[0].window["Light Text"]),t(D,"class","light-text"),t(D,"width","13"),t(D,"height","13"),t(te,"id","rec"),t(te,"class","play-button button-background svelte-hfuv26"),t(a,"class","play-button-group svelte-hfuv26"),o(d,"margin-top","3px"),o(d,"margin-left","3px"),o(d,"width","20px"),o(d,"height","10px"),o(d,"background-color",n[0].window["Hitech on"]),o(d,"opacity","0.3"),t(X,"class","hitech-row svelte-hfuv26"),o(C,"margin-top","2px"),o(C,"margin-left","3px"),o(C,"width","20px"),o(C,"height","4px"),o(C,"background-color",n[0].window["Hitech on"]),o(C,"opacity","0.3"),o(A,"margin-top","1px"),o(A,"margin-left","3px"),o(A,"width","20px"),o(A,"height","4px"),o(A,"background-color",n[0].window["Hitech on"]),o(A,"opacity","0.3"),o(k,"display","flex"),o(k,"flex-direction","column"),t(h,"class","hitech-row svelte-hfuv26"),t(re,"class","hitech-part1 svelte-hfuv26"),t(O,"class","hitech-part2 svelte-hfuv26"),t(Z,"class","hitech-part3 svelte-hfuv26"),t(J,"class","hitech-part4 svelte-hfuv26"),o(He,"display","flex"),o(He,"flex-direction","column"),o(He,"margin-left","5px"),o(je,"display","flex"),o(je,"flex-direction","column"),o(je,"margin-left","5px"),t(Q,"class","hitech-part5 svelte-hfuv26"),t(ae,"class","hitech-group svelte-hfuv26"),t(G,"class","normal-button button-active button-background svelte-hfuv26"),t(Ae,"class","normal-button button-active button-background svelte-hfuv26"),t(i,"class","window-panel-main svelte-hfuv26"),t(ze,"class","reference_version svelte-hfuv26"),t(e,"id","panel"),t(e,"class","panel-body svelte-hfuv26"),o(e,"--light-text",n[0].window["Light Text"]),o(e,"--dark-text",n[0].window["Dark Text"]),o(e,"--hitech-background",n[0].window["Hitech background"]),o(e,"--hitech-on",n[0].window["Hitech on"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"background-color",n[0].window["Panel body"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--on",n[0].window.On),o(e,"--rec",n[0].window["Record button color"])},m(ee,_e){se(ee,e,_e),l(e,i),l(i,r),l(i,s),l(i,a),l(a,c),l(a,p),l(a,w),l(a,v),l(v,x),l(x,_),l(v,M),l(a,S),l(a,F),l(a,N),l(N,V),l(V,ue),l(N,ie),l(a,Te),l(a,ye),l(a,te),l(te,D),l(D,I),l(i,Le),l(i,ae),l(ae,re),l(re,X),me(ce,X,null),l(X,$),l(X,d),l(re,g),l(re,h),me(y,h,null),l(h,f),l(h,k),l(k,C),l(k,L),l(k,A),l(ae,E),l(ae,O),l(ae,U),l(ae,Z),l(ae,W),l(ae,J),me(K,J,null),l(J,Y),me(ne,J,null),l(ae,xe),l(ae,Q),me(Pe,Q,null),l(Q,Ce),l(Q,He),l(Q,Ee),l(Q,je),me(Ze,je,null),l(je,Ie),me(j,je,null),l(i,H),l(i,G),l(i,Se),l(i,Ae),l(e,qe),l(e,ze),ve=!0},p(ee,[_e]){(!ve||_e&1&&T!==(T=ee[0].window["Light Text"]))&&t(x,"fill",T),(!ve||_e&1&&le!==(le=ee[0].window["Light Text"]))&&t(ue,"fill",le),(!ve||_e&1&&de!==(de=ee[0].window["Light Text"]))&&t(I,"fill",de);const De={};_e&1&&(De.color=ee[0].window["Hitech on"]),ce.$set(De),(!ve||_e&1)&&o(d,"background-color",ee[0].window["Hitech on"]);const z={};_e&1&&(z.color=ee[0].window["Hitech on"]),y.$set(z),(!ve||_e&1)&&o(C,"background-color",ee[0].window["Hitech on"]),(!ve||_e&1)&&o(A,"background-color",ee[0].window["Hitech on"]),(!ve||_e&1)&&o(e,"--light-text",ee[0].window["Light Text"]),(!ve||_e&1)&&o(e,"--dark-text",ee[0].window["Dark Text"]),(!ve||_e&1)&&o(e,"--hitech-background",ee[0].window["Hitech background"]),(!ve||_e&1)&&o(e,"--hitech-on",ee[0].window["Hitech on"]),(!ve||_e&1)&&o(e,"--button-stroke",ee[0].window["Button stroke"]),(!ve||_e&1)&&o(e,"background-color",ee[0].window["Panel body"]),(!ve||_e&1)&&o(e,"--button-background",ee[0].window["Button background"]),(!ve||_e&1)&&o(e,"--button-gradient",ee[0].window["Button background"].length==9?ee[0].window["Button background"].substring(0,7)+"D0":"#767676"),(!ve||_e&1)&&o(e,"--on",ee[0].window.On),(!ve||_e&1)&&o(e,"--rec",ee[0].window["Record button color"])},i(ee){ve||(fe(ce.$$.fragment,ee),fe(y.$$.fragment,ee),fe(K.$$.fragment,ee),fe(ne.$$.fragment,ee),fe(Pe.$$.fragment,ee),fe(Ze.$$.fragment,ee),fe(j.$$.fragment,ee),ve=!0)},o(ee){he(ce.$$.fragment,ee),he(y.$$.fragment,ee),he(K.$$.fragment,ee),he(ne.$$.fragment,ee),he(Pe.$$.fragment,ee),he(Ze.$$.fragment,ee),he(j.$$.fragment,ee),ve=!1},d(ee){ee&&oe(e),we(ce),we(y),we(K),we(ne),we(Pe),we(Ze),we(j)}}}function fo(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class ho extends Me{constructor(e){super(),Be(this,e,fo,po,$e,{})}}const gt=qt(100);function go(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J,K,Y,ne,xe,Q;return{c(){e=u("div"),i=u("aside"),r=u("span"),s=m("svg"),a=m("g"),c=m("path"),w=b(),v=u("span"),v.innerHTML='',x=b(),_=u("span"),T=u("i"),M=Fe("ARRANGE"),S=b(),F=u("i"),F.textContent="MIX",N=b(),V=u("i"),V.textContent="EDIT",ue=b(),le=u("span"),le.innerHTML='',ie=b(),Te=u("span"),Te.innerHTML='',ye=b(),te=u("span"),te.innerHTML='',D=b(),I=u("span"),de=m("svg"),Le=m("g"),ae=m("g"),re=m("svg"),X=m("path"),ce=m("path"),$=m("rect"),g=b(),h=u("span"),h.innerHTML='',y=b(),f=u("aside"),k=u("span"),C=m("svg"),L=m("g"),A=m("path"),O=b(),U=u("span"),U.innerHTML='',Z=b(),W=u("span"),W.innerHTML='',J=b(),K=u("span"),K.innerHTML='',Y=b(),ne=u("span"),ne.innerHTML='',xe=b(),Q=u("span"),Q.innerHTML='',t(c,"d","M9.507,6.55C9.09,6.536 8.767,6.405 8.53,6.175C8.288,5.94 8.157,5.615 8.157,5.19C8.157,5.186 8.157,5.183 8.157,5.18C8.171,4.755 8.319,4.406 8.595,4.13C8.874,3.851 9.226,3.708 9.655,3.708C10.088,3.708 10.419,3.831 10.657,4.055C10.9,4.283 11.033,4.607 11.033,5.034C11.033,5.474 10.89,5.834 10.614,6.117C10.337,6.402 9.973,6.55 9.517,6.55C9.514,6.55 9.511,6.55 9.507,6.55ZM9.534,15.292C9.067,15.292 8.721,15.144 8.488,14.878C8.265,14.624 8.139,14.248 8.139,13.741C8.139,13.306 8.228,12.773 8.409,12.143C8.41,12.142 8.41,12.14 8.411,12.138C8.585,11.572 8.674,11.061 8.674,10.603C8.674,10.401 8.65,10.228 8.597,10.083C8.559,9.979 8.481,9.903 8.37,9.847C8.154,9.739 7.994,9.633 7.887,9.532C7.733,9.388 7.657,9.211 7.657,9C7.657,8.784 7.747,8.544 7.955,8.289C8.135,8.07 8.366,7.886 8.652,7.74C8.942,7.592 9.237,7.519 9.534,7.519C10.049,7.519 10.386,7.724 10.565,8.098C10.712,8.406 10.792,8.81 10.792,9.31C10.792,9.83 10.705,10.533 10.527,11.419C10.44,11.856 10.395,12.21 10.395,12.483C10.395,12.672 10.425,12.821 10.512,12.919C10.619,13.041 10.793,13.157 11.027,13.274C11.031,13.275 11.035,13.277 11.038,13.28C11.243,13.393 11.343,13.565 11.343,13.793C11.343,13.956 11.286,14.163 11.153,14.407C11.028,14.635 10.831,14.841 10.556,15.02C10.283,15.198 9.943,15.292 9.534,15.292Z"),o(c,"fill-rule","nonzero"),t(s,"width","19px"),t(s,"height","19px"),t(s,"viewBox","0 0 19 19"),t(s,"fill",p=n[0].window.On),o(s,"fill-rule","evenodd"),o(s,"clip-rule","evenodd"),o(s,"stroke-linejoin","round"),o(s,"stroke-miterlimit","2"),t(r,"class","inspector svelte-1rppgdg"),t(v,"class","seperator svelte-1rppgdg"),o(T,"color",n[0].window.On),o(T,"font-weight","bold"),t(T,"class","svelte-1rppgdg"),t(F,"class","svelte-1rppgdg"),t(V,"class","svelte-1rppgdg"),t(_,"class","svelte-1rppgdg"),t(le,"class","seperator svelte-1rppgdg"),t(Te,"class","bottom-button svelte-1rppgdg"),t(te,"class","bottom-button svelte-1rppgdg"),t(X,"d","M17,4.482C17,3.112 15.888,2 14.518,2L4.482,2C3.112,2 2,3.112 2,4.482L2,14.518C2,15.888 3.112,17 4.482,17L14.518,17C15.888,17 17,15.888 17,14.518L17,4.482Z"),o(X,"fill-opacity","0.3"),t(ce,"d","M17,4.482L17,14.518C17,15.888 15.888,17 14.518,17L4.482,17C3.112,17 2,15.888 2,14.518L2,4.482C2,3.112 3.112,2 4.482,2L14.518,2C15.888,2 17,3.112 17,4.482ZM16,4.482C16,3.664 15.336,3 14.518,3L4.482,3C3.664,3 3,3.664 3,4.482L3,14.518C3,15.336 3.664,16 4.482,16L14.518,16C15.336,16 16,15.336 16,14.518L16,4.482Z"),t(re,"viewBox","0 0 19 19"),t($,"x","2.882"),t($,"y","3"),t($,"width","3.118"),t($,"height","13"),t(de,"width","19px"),t(de,"height","19px"),t(de,"fill",d=n[0].window.On),o(de,"fill-rule","evenodd"),o(de,"clip-rule","evenodd"),o(de,"stroke-linejoin","round"),o(de,"stroke-miterlimit","2"),t(I,"class","bottom-button svelte-1rppgdg"),t(h,"class","bottom-button svelte-1rppgdg"),t(i,"class","svelte-1rppgdg"),t(A,"fill",E=n[0].window.On),t(A,"d","M15.41,14.957C15.567,14.8 15.655,14.587 15.655,14.366C15.655,14.144 15.567,13.932 15.41,13.775C14.484,12.849 12.794,11.16 12.794,11.16C13.332,10.316 13.625,9.337 13.625,8.312C13.625,6.892 13.072,5.559 12.069,4.555C11.065,3.551 9.731,3 8.312,3C6.892,3 5.558,3.553 4.555,4.556C3.552,5.559 2.999,6.892 2.999,8.312C2.999,9.732 3.552,11.065 4.555,12.068C5.558,13.072 6.893,13.623 8.312,13.623C9.338,13.623 10.315,13.33 11.159,12.794C11.159,12.794 12.849,14.484 13.776,15.41C14.102,15.736 14.631,15.736 14.957,15.41C15.104,15.262 15.263,15.104 15.41,14.957ZM5.699,10.925C5,10.227 4.616,9.299 4.616,8.312C4.616,7.325 5,6.398 5.699,5.699C6.397,5.001 7.325,4.617 8.312,4.617C9.297,4.617 10.226,5.001 10.924,5.699C11.623,6.398 12.008,7.325 12.008,8.312C12.008,9.299 11.624,10.227 10.926,10.925C10.226,11.624 9.298,12.006 8.312,12.006C7.325,12.006 6.397,11.624 5.699,10.925Z"),o(A,"fill-rule","nonzero"),t(C,"width","19px"),t(C,"height","19px"),t(C,"viewBox","0 0 19 19"),o(C,"fill-rule","evenodd"),o(C,"clip-rule","evenodd"),o(C,"stroke-linejoin","round"),o(C,"stroke-miterlimit","2"),t(k,"class","bottom-button svelte-1rppgdg"),t(U,"class","bottom-button svelte-1rppgdg"),t(W,"class","bottom-button svelte-1rppgdg"),t(K,"class","bottom-button svelte-1rppgdg"),t(ne,"class","seperator svelte-1rppgdg"),t(Q,"class","bottom-button svelte-1rppgdg"),t(f,"class","svelte-1rppgdg"),t(e,"id","bottom_bar"),t(e,"class","svelte-1rppgdg")},m(Pe,Ce){se(Pe,e,Ce),l(e,i),l(i,r),l(r,s),l(s,a),l(a,c),l(i,w),l(i,v),l(i,x),l(i,_),l(_,T),l(T,M),l(_,S),l(_,F),l(_,N),l(_,V),l(i,ue),l(i,le),l(i,ie),l(i,Te),l(i,ye),l(i,te),l(i,D),l(i,I),l(I,de),l(de,Le),l(Le,ae),l(ae,re),l(re,X),l(re,ce),l(Le,$),l(i,g),l(i,h),l(e,y),l(e,f),l(f,k),l(k,C),l(C,L),l(L,A),l(f,O),l(f,U),l(f,Z),l(f,W),l(f,J),l(f,K),l(f,Y),l(f,ne),l(f,xe),l(f,Q)},p(Pe,[Ce]){Ce&1&&p!==(p=Pe[0].window.On)&&t(s,"fill",p),Ce&1&&o(T,"color",Pe[0].window.On),Ce&1&&d!==(d=Pe[0].window.On)&&t(de,"fill",d),Ce&1&&E!==(E=Pe[0].window.On)&&t(A,"fill",E)},i:R,o:R,d(Pe){Pe&&oe(e)}}}function mo(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class wo extends Me{constructor(e){super(),Be(this,e,mo,go,$e,{})}}function vo(n){let e,i,r,s,a,c,p;return{c(){e=m("svg"),i=m("g"),r=m("g"),s=m("svg"),a=m("path"),c=m("path"),p=m("rect"),t(a,"d","M13,5.482C13,4.112 11.888,3 10.518,3L4.482,3C3.112,3 2,4.112 2,5.482L2,9.518C2,10.888 3.112,12 4.482,12L10.518,12C11.888,12 13,10.888 13,9.518L13,5.482Z"),o(a,"fill-opacity","0.3"),t(c,"d","M13,5.482L13,9.518C13,10.888 11.888,12 10.518,12L4.482,12C3.112,12 2,10.888 2,9.518L2,5.482C2,4.112 3.112,3 4.482,3L10.518,3C11.888,3 13,4.112 13,5.482ZM12,5.482C12,4.664 11.336,4 10.518,4L4.482,4C3.664,4 3,4.664 3,5.482L3,9.518C3,10.336 3.664,11 4.482,11L10.518,11C11.336,11 12,10.336 12,9.518L12,5.482Z"),t(s,"viewBox","0 0 15 15"),t(p,"x","3"),t(p,"y","4"),t(p,"width","3"),t(p,"height","7"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(w,v){se(w,e,v),l(e,i),l(i,r),l(r,s),l(s,a),l(s,c),l(r,p)},p(w,[v]){v&1&&t(e,"fill",w[0])},i:R,o:R,d(w){w&&oe(e)}}}function bo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}let ko=class extends Me{constructor(e){super(),Be(this,e,bo,vo,$e,{color:0})}};function yo(n){let e,i,r,s,a,c,p,w,v,x,_,T;return{c(){e=m("svg"),i=m("g"),r=m("svg"),s=m("g"),a=m("path"),c=m("path"),p=m("svg"),w=m("rect"),v=m("defs"),x=m("linearGradient"),_=m("stop"),T=m("stop"),t(a,"d","M18,3L22.6,6.5L18,10.001L18,3Z"),o(a,"fill-rule","nonzero"),t(c,"d","M3,6.5C3,8.987 5.013,11 7.5,11C9.987,11 12,8.987 12,6.5C12,4.013 9.987,2 7.5,2C5.013,2 3,4.013 3,6.5ZM8.226,3.673L8.226,5.327C8.226,5.699 7.925,6 7.554,6L7.446,6C7.075,6 6.774,5.699 6.774,5.327L6.774,3.673C6.774,3.301 7.075,3 7.446,3L7.554,3C7.925,3 8.226,3.301 8.226,3.673Z"),o(c,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(w,"x","13"),t(w,"y","6"),t(w,"width","5"),t(w,"height","1"),t(_,"offset","0"),o(_,"stop-color",n[0]),o(_,"stop-opacity","0.7"),t(T,"offset","1"),o(T,"stop-color",n[0]),o(T,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,7.50001,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(M,S){se(M,e,S),l(e,i),l(i,r),l(r,s),l(s,a),l(r,c),l(i,p),l(p,w),l(e,v),l(v,x),l(x,_),l(x,T)},p(M,[S]){S&1&&o(_,"stop-color",M[0]),S&1&&o(T,"stop-color",M[0]),S&1&&t(e,"fill",M[0])},i:R,o:R,d(M){M&&oe(e)}}}function Lo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class Co extends Me{constructor(e){super(),Be(this,e,Lo,yo,$e,{color:0})}}function _o(n){let e,i,r;return{c(){e=m("svg"),i=m("g"),r=m("path"),t(r,"d","M6,10.5C6,12.987 8.013,15 10.5,15C12.987,15 15,12.987 15,10.5C15,8.013 12.987,6 10.5,6C8.013,6 6,8.013 6,10.5ZM11.226,7.673L11.226,9.327C11.226,9.699 10.925,10 10.554,10L10.446,10C10.075,10 9.774,9.699 9.774,9.327L9.774,7.673C9.774,7.301 10.075,7 10.446,7L10.554,7C10.925,7 11.226,7.301 11.226,7.673Z"),t(e,"width","21px"),t(e,"height","21px"),t(e,"viewBox","0 0 21 21"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(s,a){se(s,e,a),l(e,i),l(i,r)},p(s,[a]){a&1&&t(e,"fill",s[0])},i:R,o:R,d(s){s&&oe(e)}}}function xo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class $o extends Me{constructor(e){super(),Be(this,e,xo,_o,$e,{color:0})}}function To(n){let e,i,r,s,a,c,p,w,v,x,_,T;return{c(){e=m("svg"),i=m("g"),r=m("svg"),s=m("g"),a=m("path"),c=m("path"),p=m("svg"),w=m("rect"),v=m("defs"),x=m("linearGradient"),_=m("stop"),T=m("stop"),t(a,"d","M8,3L12.6,6.5L8,10.001L8,3Z"),o(a,"fill-rule","nonzero"),t(c,"d","M13.9,6.5C13.9,8.987 15.913,11 18.4,11C20.887,11 22.9,8.987 22.9,6.5C22.9,4.013 20.887,2 18.4,2C15.913,2 13.9,4.013 13.9,6.5ZM19.126,3.673L19.126,5.327C19.126,5.699 18.825,6 18.454,6L18.346,6C17.975,6 17.674,5.699 17.674,5.327L17.674,3.673C17.674,3.301 17.975,3 18.346,3L18.454,3C18.825,3 19.126,3.301 19.126,3.673Z"),o(c,"fill","url(#_Linear1)"),t(r,"viewBox","0 0 26 13"),t(w,"x","3"),t(w,"y","6"),t(w,"width","5"),t(w,"height","1"),t(_,"offset","0"),o(_,"stop-color",n[0]),o(_,"stop-opacity","0.7"),t(T,"offset","1"),o(T,"stop-color",n[0]),o(T,"stop-opacity","1"),t(x,"id","_Linear1"),t(x,"x1","0"),t(x,"y1","0"),t(x,"x2","1"),t(x,"y2","0"),t(x,"gradientUnits","userSpaceOnUse"),t(x,"gradientTransform","matrix(1.88496e-05,-9.00001,9.00001,1.88496e-05,18.4,11)"),t(e,"width","26px"),t(e,"height","13px"),t(e,"fill",n[0]),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(M,S){se(M,e,S),l(e,i),l(i,r),l(r,s),l(s,a),l(r,c),l(i,p),l(p,w),l(e,v),l(v,x),l(x,_),l(x,T)},p(M,[S]){S&1&&o(_,"stop-color",M[0]),S&1&&o(T,"stop-color",M[0]),S&1&&t(e,"fill",M[0])},i:R,o:R,d(M){M&&oe(e)}}}function Bo(n,e,i){let{color:r="#ffffff"}=e;return n.$$set=s=>{"color"in s&&i(0,r=s.color)},[r]}class Mo extends Me{constructor(e){super(),Be(this,e,Bo,To,$e,{color:0})}}function So(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J,K,Y,ne,xe,Q,Pe,Ce,He,Ee,je,Ze,Ie,j,H,G,Se,Ae,qe,ze,ve,ee,_e,De,z,pe,et,dt,Ge,rt,Ue,ct,Ve,ut,pt,mt,Ye,Ke,Bt,We,Ne;return V=new Ln({props:{color:"#0f0f0f"}}),g=new ko({props:{color:n[0].window.On}}),f=new $o({props:{color:"#cfcfcf"}}),L=new Co({props:{color:"#cfcfcf"}}),O=new Mo({props:{color:"#cfcfcf"}}),{c(){e=u("div"),i=u("span"),i.textContent="INSTRUMENT TRACK",r=b(),s=u("span"),s.textContent="Inst 1",a=b(),c=u("span"),c.innerHTML=' ',p=b(),w=u("span"),w.textContent="Comment",v=b(),x=u("span"),_=m("svg"),T=m("circle"),S=b(),F=u("span"),N=u("span"),be(V.$$.fragment),ue=Fe(` + Active`),le=b(),ie=u("span"),Te=u("span"),Te.innerHTML=`Channel + All 1`,ye=b(),te=u("span"),D=Fe(`P. Bend + `),I=u("span"),de=Fe(`→Expr. + `),Le=u("span"),ae=u("code"),ae.textContent="2",re=u("code"),re.textContent="2",X=b(),ce=u("span"),$=u("span"),d=u("span"),be(g.$$.fragment),h=b(),y=u("span"),be(f.$$.fragment),k=b(),C=u("span"),be(L.$$.fragment),A=b(),E=u("span"),be(O.$$.fragment),U=b(),Z=u("span"),Z.innerHTML='',W=b(),J=u("span"),K=u("span"),Y=u("span"),ne=m("svg"),xe=m("path"),Pe=Fe(` + All ins`),Ce=b(),He=u("span"),Ee=m("svg"),je=m("g"),Ze=m("path"),j=b(),H=u("i"),H.textContent="Master",G=b(),Se=u("span"),Ae=u("span"),Ae.textContent="Sends",qe=b(),ze=u("span"),ve=u("span"),ee=u("span"),_e=m("svg"),De=m("circle"),pe=b(),et=u("span"),et.textContent="S",dt=b(),Ge=u("span"),Ge.textContent="M",rt=b(),Ue=u("span"),ct=m("svg"),Ve=m("line"),pt=b(),mt=u("span"),Ye=u("span"),Ke=u("span"),Bt=b(),We=u("span"),t(i,"id","insp_title"),t(i,"class","title svelte-12lhl6v"),t(s,"class","sub-title display-background svelte-12lhl6v"),t(c,"class","color-palette display-background svelte-12lhl6v"),t(w,"class","comment display-background svelte-12lhl6v"),t(T,"cx","8"),t(T,"cy","8"),t(T,"r","8"),t(T,"fill",M=n[0].window.On),t(_,"class","on svelte-12lhl6v"),t(_,"width","16"),t(_,"height","16"),t(N,"id","cpu_svg"),o(N,"display","flex"),o(N,"align-items","center"),o(N,"width","fit-content"),t(N,"class","svelte-12lhl6v"),o(F,"position","absolute"),o(F,"height","100%"),o(F,"display","flex"),o(F,"align-items","center"),o(F,"margin-left","3px"),t(F,"class","svelte-12lhl6v"),t(x,"class","active-area hole-light svelte-12lhl6v"),o(x,"position","relative"),t(Te,"class","channel-row svelte-12lhl6v"),t(Le,"class","channel-on-right display-background svelte-12lhl6v"),o(Le,"color",n[0].window.On),t(I,"class","channel-on-button on svelte-12lhl6v"),o(I,"background-color",n[0].window.On),t(te,"class","bend-row svelte-12lhl6v"),t(ie,"class","channel-area hole-light svelte-12lhl6v"),t(d,"class","device-button hole-medium svelte-12lhl6v"),t(y,"class","device-button-r hole-light svelte-12lhl6v"),o(y,"background-color","none"),t(C,"class","device-button-r hole-light svelte-12lhl6v"),o(C,"background-color","none"),t(E,"class","device-button-r hole-light svelte-12lhl6v"),o(E,"background-color","none"),t($,"class","device-nav hole-light svelte-12lhl6v"),t(Z,"class","device-in hole-medium svelte-12lhl6v"),t(ce,"class","device-area svelte-12lhl6v"),t(xe,"d","m 6.5,5.5 -2.5,0 0,4 2.5,0 3.5,2.5 0,-9 z"),t(ne,"fill",Q=n[0].window["Monitoring buttons color"]),t(ne,"x","0px"),t(ne,"y","0px"),t(ne,"width","15px"),t(ne,"height","15px"),t(ne,"viewBox","0 0 15 15"),o(Y,"display","flex"),o(Y,"align-items","center"),o(Y,"width","17px"),o(Y,"height","100%"),o(Y,"border-right","1px solid "+n[0].window["Button stroke"]),o(Y,"margin-left","2px"),o(Y,"margin-right","3px"),t(Y,"class","svelte-12lhl6v"),t(K,"class","send-button button-background svelte-12lhl6v"),t(Ze,"d","M1.59,1l-0.684,0l0,9l0.692,0l0,-5.857l1.038,4.63l0.693,0l0,-4.369l1.054,3.141l0.676,0l0,-2.704l1.075,1.886l0.656,0l0,-1.664l1.14,1.078l0.591,-0.315l1.385,0.001l0,-0.654l-2.022,0l-1.194,-0.9l-0.592,0l0,1.068l-1.075,-1.886l-0.656,0l0,1.914l-1.054,-3.142l-0.677,0l0,3.402l-1.046,-4.629Z"),o(Ze,"fill-rule","nonzero"),t(Ee,"width","11px"),t(Ee,"height","11px"),t(Ee,"fill",Ie=n[0].window["Light Text"]),t(Ee,"viewBox","0 0 11 11"),o(Ee,"margin-left","5px"),o(Ee,"fill-rule","evenodd"),o(Ee,"clip-rule","evenodd"),o(Ee,"stroke-linejoin","round"),o(Ee,"stroke-miterlimit","1.41421"),o(H,"margin-left","5px"),t(He,"class","send-button button-background svelte-12lhl6v"),t(J,"class","send-area hole-light svelte-12lhl6v"),t(Ae,"class","mixer-half hole-light svelte-12lhl6v"),o(Ae,"background-color","var(--hole-light)"),t(De,"cx","5"),t(De,"cy","5"),t(De,"r","5"),t(De,"fill",z=n[0].window["Dark Text"]),t(_e,"class","circle dark-text"),t(_e,"width","10px"),t(_e,"height","10px"),t(ee,"class","mixer-button-r rec svelte-12lhl6v"),t(et,"class","mixer-button-n button-background svelte-12lhl6v"),t(Ge,"class","mixer-button-n button-background svelte-12lhl6v"),t(ve,"class","mixer-button svelte-12lhl6v"),t(Ve,"x1","1"),t(Ve,"y1","2px"),t(Ve,"x2","1"),t(Ve,"y2","18px"),t(Ve,"stroke",ut=n[0].window.On),t(ct,"width","2px"),t(ct,"height","20px"),t(ct,"viewBox","0 0 2 20"),t(Ue,"class","mixer-volume hole-medium svelte-12lhl6v"),o(Ke,"margin-right","4px"),o(Ke,"width","32px"),o(Ke,"height","2px"),o(Ke,"background-color",n[0].window.On),o(Ke,"opacity","0.7"),t(Ke,"class","svelte-12lhl6v"),o(We,"margin-right","5px"),o(We,"margin-bottom","5px"),o(We,"width","30px"),o(We,"height","51px"),o(We,"background-color",n[0].window.On),o(We,"opacity","0.3"),t(We,"class","svelte-12lhl6v"),o(Ye,"display","flex"),o(Ye,"flex-direction","column"),o(Ye,"align-items","center"),o(Ye,"width","fit-content"),t(Ye,"class","svelte-12lhl6v"),t(mt,"class","mixer-limiter hole-medium svelte-12lhl6v"),t(ze,"class","mixer-half svelte-12lhl6v"),t(Se,"class","mixer-area svelte-12lhl6v"),o(e,"--light-text",n[0].window["Light Text"]),o(e,"--dark-text",n[0].window["Dark Text"]),o(e,"--rec",n[0].window["Record button color"]),o(e,"--display-background",n[0].window["Display Background"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),o(e,"--hole-light",n[0].window["Hole (light)"]),o(e,"--button-stroke",n[0].window["Button stroke"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--button-background",n[0].window["Button background"]),o(e,"--button-gradient",n[0].window["Button background"].length==9?n[0].window["Button background"].substring(0,7)+"D0":"#767676"),t(e,"class","svelte-12lhl6v")},m(ke,q){se(ke,e,q),l(e,i),l(e,r),l(e,s),l(e,a),l(e,c),l(e,p),l(e,w),l(e,v),l(e,x),l(x,_),l(_,T),l(x,S),l(x,F),l(F,N),me(V,N,null),l(x,ue),l(e,le),l(e,ie),l(ie,Te),l(ie,ye),l(ie,te),l(te,D),l(te,I),l(I,de),l(I,Le),l(Le,ae),l(Le,re),l(e,X),l(e,ce),l(ce,$),l($,d),me(g,d,null),l($,h),l($,y),me(f,y,null),l($,k),l($,C),me(L,C,null),l($,A),l($,E),me(O,E,null),l(ce,U),l(ce,Z),l(e,W),l(e,J),l(J,K),l(K,Y),l(Y,ne),l(ne,xe),l(K,Pe),l(J,Ce),l(J,He),l(He,Ee),l(Ee,je),l(je,Ze),l(He,j),l(He,H),l(e,G),l(e,Se),l(Se,Ae),l(Se,qe),l(Se,ze),l(ze,ve),l(ve,ee),l(ee,_e),l(_e,De),l(ve,pe),l(ve,et),l(ve,dt),l(ve,Ge),l(ze,rt),l(ze,Ue),l(Ue,ct),l(ct,Ve),l(ze,pt),l(ze,mt),l(mt,Ye),l(Ye,Ke),l(Ye,Bt),l(Ye,We),Ne=!0},p(ke,[q]){(!Ne||q&1&&M!==(M=ke[0].window.On))&&t(T,"fill",M),(!Ne||q&1)&&o(Le,"color",ke[0].window.On),(!Ne||q&1)&&o(I,"background-color",ke[0].window.On);const ft={};q&1&&(ft.color=ke[0].window.On),g.$set(ft),(!Ne||q&1&&Q!==(Q=ke[0].window["Monitoring buttons color"]))&&t(ne,"fill",Q),(!Ne||q&1)&&o(Y,"border-right","1px solid "+ke[0].window["Button stroke"]),(!Ne||q&1&&Ie!==(Ie=ke[0].window["Light Text"]))&&t(Ee,"fill",Ie),(!Ne||q&1&&z!==(z=ke[0].window["Dark Text"]))&&t(De,"fill",z),(!Ne||q&1&&ut!==(ut=ke[0].window.On))&&t(Ve,"stroke",ut),(!Ne||q&1)&&o(Ke,"background-color",ke[0].window.On),(!Ne||q&1)&&o(We,"background-color",ke[0].window.On),(!Ne||q&1)&&o(e,"--light-text",ke[0].window["Light Text"]),(!Ne||q&1)&&o(e,"--dark-text",ke[0].window["Dark Text"]),(!Ne||q&1)&&o(e,"--rec",ke[0].window["Record button color"]),(!Ne||q&1)&&o(e,"--display-background",ke[0].window["Display Background"]),(!Ne||q&1)&&o(e,"--hole-light",ke[0].window["Hole (light)"]),(!Ne||q&1)&&o(e,"--hole-medium",ke[0].window["Hole (medium)"]),(!Ne||q&1)&&o(e,"--hole-light",ke[0].window["Hole (light)"]),(!Ne||q&1)&&o(e,"--button-stroke",ke[0].window["Button stroke"]),(!Ne||q&1)&&o(e,"--panel-body",ke[0].window["Panel body"]),(!Ne||q&1)&&o(e,"--panel-stroke",ke[0].window["Panel stroke"]),(!Ne||q&1)&&o(e,"--button-background",ke[0].window["Button background"]),(!Ne||q&1)&&o(e,"--button-gradient",ke[0].window["Button background"].length==9?ke[0].window["Button background"].substring(0,7)+"D0":"#767676")},i(ke){Ne||(fe(V.$$.fragment,ke),fe(g.$$.fragment,ke),fe(f.$$.fragment,ke),fe(L.$$.fragment,ke),fe(O.$$.fragment,ke),Ne=!0)},o(ke){he(V.$$.fragment,ke),he(g.$$.fragment,ke),he(f.$$.fragment,ke),he(L.$$.fragment,ke),he(O.$$.fragment,ke),Ne=!1},d(ke){ke&&oe(e),we(V),we(g),we(f),we(L),we(O)}}}function Ao(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class Ho extends Me{constructor(e){super(),Be(this,e,Ao,So,$e,{})}}function Xt(n){let e,i,r,s,a;return{c(){e=m("svg"),i=m("g"),r=m("path"),t(r,"d","M2.5,12.276L2.5,2.724C3.005,5.988 3.817,8.774 5.045,10.908L5.045,4.085C5.65,6.628 6.47,8.551 7.602,9.577L7.602,5.476C8.152,7.234 9.044,8.211 10.211,8.565L10.105,6.115C11.22,7.809 11.76,8.164 12.874,7.5"),o(r,"fill","none"),o(r,"stroke-width","1px"),t(e,"class",s=n[1]?"dark-text":"light-text"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"stroke",a=n[1]?n[5].window["Dark Text"]:n[5].window["Light Text"]),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","1.5")},m(c,p){se(c,e,p),l(e,i),l(i,r)},p(c,p){p&2&&s!==(s=c[1]?"dark-text":"light-text")&&t(e,"class",s),p&34&&a!==(a=c[1]?c[5].window["Dark Text"]:c[5].window["Light Text"])&&t(e,"stroke",a)},d(c){c&&oe(e)}}}function Jt(n){let e,i,r,s,a;return{c(){e=m("svg"),i=m("g"),r=m("path"),t(r,"d","M13,2L13,13L9.669,13L9.669,8.609L10.184,8.609C10.406,8.609 10.585,8.429 10.585,8.207L10.585,2L13,2ZM8.342,2L8.342,8.207C8.342,8.429 8.522,8.609 8.743,8.609L9.258,8.609L9.258,13L5.742,13L5.742,8.609L6.257,8.609C6.478,8.609 6.658,8.429 6.658,8.207L6.658,2L8.342,2ZM4.415,2L4.415,8.207C4.415,8.429 4.594,8.609 4.816,8.609L5.331,8.609L5.331,13L2,13L2,2L4.415,2Z"),t(e,"class",s=n[1]?"dark-text":"light-text"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill",a=n[1]?n[5].window["Dark Text"]:n[5].window["Light Text"]),o(e,"opacity","0.7"),o(e,"margin-left","6px"),o(e,"margin-top","4px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(c,p){se(c,e,p),l(e,i),l(i,r)},p(c,p){p&2&&s!==(s=c[1]?"dark-text":"light-text")&&t(e,"class",s),p&34&&a!==(a=c[1]?c[5].window["Dark Text"]:c[5].window["Light Text"])&&t(e,"fill",a)},d(c){c&&oe(e)}}}function Qt(n){let e,i,r,s,a,c,p;return{c(){e=m("svg"),i=m("g"),r=m("svg"),s=m("path"),a=m("rect"),t(s,"d","M3,10.5L1.45,5.114C1.45,5.114 3.559,6.117 4.561,6.593C4.852,6.732 5.202,6.624 5.364,6.344C5.757,5.667 6.47,4.437 6.963,3.587C7.074,3.395 7.279,3.277 7.5,3.277C7.721,3.277 7.926,3.395 8.037,3.587C8.53,4.437 9.243,5.667 9.636,6.344C9.798,6.624 10.148,6.732 10.439,6.593C11.441,6.117 13.55,5.114 13.55,5.114L12,10.5L3,10.5"),o(s,"fill-rule","nonzero"),t(r,"viewBox","0 0 15 15"),t(a,"x","3"),t(a,"y","11"),t(a,"width","9"),t(a,"height","1"),o(a,"fill-rule","nonzero"),t(e,"class",c=n[1]?"dark-text":"light-text"),t(e,"width","15px"),t(e,"height","15px"),t(e,"fill",p=n[1]?n[5].window["Dark Text"]:n[5].window["Light Text"]),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(w,v){se(w,e,v),l(e,i),l(i,r),l(r,s),l(i,a)},p(w,v){v&2&&c!==(c=w[1]?"dark-text":"light-text")&&t(e,"class",c),v&34&&p!==(p=w[1]?w[5].window["Dark Text"]:w[5].window["Light Text"])&&t(e,"fill",p)},d(w){w&&oe(e)}}}function en(n){let e,i,r,s,a;return{c(){e=m("svg"),i=m("g"),r=m("path"),t(r,"d","M3.014,4.956L3.16,4.811C3.16,4.893 3.097,4.961 3.017,4.97C3.016,4.965 3.015,4.961 3.014,4.956ZM3.16,4.811C3.16,4.485 3.424,4.221 3.75,4.221L6.25,4.221C7.819,4.221 9.09,5.492 9.09,7.061L9.09,10C9.09,10.065 9.129,10.123 9.189,10.148C9.249,10.172 9.317,10.159 9.363,10.113L11.47,8.007L12.304,8.841L8.5,12.646L4.696,8.841L5.53,8.007C5.53,8.007 7.637,10.113 7.637,10.113C7.683,10.159 7.751,10.172 7.811,10.148C7.871,10.123 7.91,10.065 7.91,10L7.91,6.828C7.91,6.04 7.271,5.401 6.483,5.401L3.75,5.401C3.593,5.401 3.443,5.339 3.333,5.228C3.222,5.118 3.16,4.968 3.16,4.811Z"),o(r,"fill-rule","nonzero"),t(e,"class",s=n[1]?"dark-text":"light-text"),t(e,"width","15px"),t(e,"height","15px"),t(e,"viewBox","0 0 15 15"),t(e,"fill",a=n[1]?n[5].window["Dark Text"]:n[5].window["Light Text"]),o(e,"margin-left","6px"),o(e,"margin-top","3px"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(c,p){se(c,e,p),l(e,i),l(i,r)},p(c,p){p&2&&s!==(s=c[1]?"dark-text":"light-text")&&t(e,"class",s),p&34&&a!==(a=c[1]?c[5].window["Dark Text"]:c[5].window["Light Text"])&&t(e,"fill",a)},d(c){c&&oe(e)}}}function Eo(n){let e,i;return{c(){e=m("svg"),i=m("rect"),t(i,"x","7"),t(i,"y","5"),t(i,"width","9"),t(i,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){se(r,e,s),l(e,i)},p:R,d(r){r&&oe(e)}}}function Po(n){let e,i,r;return{c(){e=m("svg"),i=m("circle"),t(i,"cx","11.5"),t(i,"cy","9.5"),t(i,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){se(s,e,a),l(e,i)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&oe(e)}}}function jo(n){let e,i;return{c(){e=m("svg"),i=m("rect"),t(i,"x","7"),t(i,"y","5"),t(i,"width","9"),t(i,"height","9"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill","#4f4f4f")},m(r,s){se(r,e,s),l(e,i)},p:R,d(r){r&&oe(e)}}}function Do(n){let e,i,r;return{c(){e=m("svg"),i=m("circle"),t(i,"cx","11.5"),t(i,"cy","9.5"),t(i,"r","5"),t(e,"x","0px"),t(e,"y","0px"),t(e,"width","23px"),t(e,"height","19px"),t(e,"fill",r=n[5].window["Normal Toggle Icon"])},m(s,a){se(s,e,a),l(e,i)},p(s,a){a&32&&r!==(r=s[5].window["Normal Toggle Icon"])&&t(e,"fill",r)},d(s){s&&oe(e)}}}function Oo(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J,K,Y,ne,xe,Q,Pe,Ce,He,Ee,je,Ze,Ie,j,H=n[0]==="a"&&Xt(n),G=n[0]==="i"&&Jt(n),Se=n[0]==="m"&&Qt(n),Ae=n[0]==="f"&&en(n);function qe(z,pe){return z[2]?Po:Eo}let ze=qe(n),ve=ze(n);function ee(z,pe){return z[2]?Do:jo}let _e=ee(n),De=_e(n);return{c(){e=u("span"),i=u("span"),r=u("span"),s=u("span"),a=b(),c=u("span"),p=u("span"),w=u("i"),v=Fe(n[4]),x=b(),_=u("span"),T=u("span"),M=m("svg"),S=m("circle"),le=b(),ie=u("span"),ie.textContent="S",Te=b(),ye=u("span"),ye.textContent="M",te=b(),D=u("span"),H&&H.c(),I=b(),G&&G.c(),de=b(),Se&&Se.c(),Le=b(),Ae&&Ae.c(),ae=b(),re=u("span"),X=u("span"),ce=b(),$=u("span"),d=b(),g=u("span"),h=m("svg"),y=m("rect"),f=m("rect"),k=m("rect"),L=b(),A=u("span"),O=b(),U=u("span"),Z=u("span"),W=m("svg"),J=m("rect"),Y=b(),ne=u("span"),ve.c(),xe=b(),Q=u("span"),De.c(),Pe=b(),Ce=u("span"),He=m("svg"),Ee=m("rect"),je=m("rect"),Ze=m("rect"),Ie=m("svg"),j=m("polygon"),o(s,"height","100%"),o(s,"width","6px"),o(s,"background-color",n[3]),o(w,"margin-left","6px"),o(w,"color",n[1]?n[5].window["Dark Text"]:n[5].window["Light Text"]),t(S,"cx","4.5"),t(S,"cy","4.5"),t(S,"r","4.5"),t(S,"fill",F=n[2]?n[5].window["Dark Text"]:n[5].window["Light Text"]),t(M,"class",N="circle "+(n[2]?"dark-text":"light-text")),t(M,"width","9px"),t(M,"height","9px"),t(T,"class",V="button "+(n[2]?"rec":"button-background")+" svelte-kxtnu6"),t(T,"style",ue=n[2]?"background-color:red;background-image:none;":""),t(ie,"class","button button-background svelte-kxtnu6"),t(ye,"class","button button-background svelte-kxtnu6"),o(_,"display","flex"),o(p,"display","flex"),o(p,"justify-content","space-between"),o(p,"width","100%"),t(X,"class","on"),o(X,"display","flex"),o(X,"width","52px"),o(X,"height","14px"),o(X,"background-color",n[5].window.On),o(X,"opacity","0.3"),t($,"class","on"),o($,"display","flex"),o($,"width","1px"),o($,"height","14px"),o($,"background-color",n[5].window.On),o($,"opacity","0.7"),t(re,"class","display-background"),o(re,"align-items","center"),o(re,"margin-left","5px"),o(re,"margin-top","3px"),o(re,"display","flex"),o(re,"width","123px"),o(re,"height","13px"),o(re,"background-color",n[5].window["Display Background"]),o(re,"border","2px solid "+n[5].window["Display Background"]),o(re,"border-radius","3px"),o(re,"overflow","hidden"),t(y,"x","3"),t(y,"y","3"),t(y,"width","9"),t(y,"height","2"),t(f,"x","3"),t(f,"y","6.5"),t(f,"width","9"),t(f,"height","1.989"),t(k,"x","3"),t(k,"y","10"),t(k,"width","9"),t(k,"height","2"),t(h,"width","15px"),t(h,"height","15px"),t(h,"fill",C=n[5].window["Light Text"]),o(h,"fill-rule","evenodd"),o(h,"clip-rule","evenodd"),o(h,"stroke-linejoin","round"),o(h,"stroke-miterlimit","1.41421"),t(g,"class","button button-background svelte-kxtnu6"),o(g,"margin-top","3px"),o(g,"margin-left","6px"),o(D,"display","flex"),o(D,"justify-content","space-between"),o(D,"width","100%"),o(c,"display","flex"),o(c,"flex-direction","column"),o(c,"width","100%"),o(A,"margin-right","4px"),o(A,"height","37px"),o(A,"width","8px"),o(A,"background-color",n[5].window["Display Background"]),t(r,"class",E="instrument "+(n[1]?"selected-inst":"unselected-inst")+" svelte-kxtnu6"),o(r,"display","flex"),o(r,"justify-content","flex-start"),o(r,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"]),o(i,"display","flex"),t(J,"x","7"),t(J,"y","5"),t(J,"width","9"),t(J,"height","9"),t(W,"x","0px"),t(W,"y","0px"),t(W,"width","23px"),t(W,"height","19px"),t(W,"fill",K=n[5].window["Normal Toggle Icon"]),t(Z,"class","panel-body"),o(Z,"display","flex"),o(Z,"justify-content","center"),o(Z,"align-items","center"),o(Z,"width","25px"),o(Z,"height","43px"),o(Z,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(Z,"background-color",n[5].window["Panel body"]),t(ne,"class","hole-medium"),o(ne,"display","flex"),o(ne,"justify-content","flex-start"),o(ne,"align-items","center"),o(ne,"width","85px"),o(ne,"height","43px"),o(ne,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(ne,"background-color",n[5].window["Hole (medium)"]),t(Q,"class","hole-medium"),o(Q,"display","flex"),o(Q,"justify-content","flex-start"),o(Q,"align-items","center"),o(Q,"width","84px"),o(Q,"height","43px"),o(Q,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(Q,"background-color",n[5].window["Hole (medium)"]),o(Q,"box-shadow","inset #202020 -10px 0px 12px -10px"),t(Ee,"x","2"),t(Ee,"y","2"),t(Ee,"width","11"),t(Ee,"height","3"),t(je,"x","2"),t(je,"y","6"),t(je,"width","11"),t(je,"height","3"),t(Ze,"x","2"),t(Ze,"y","10"),t(Ze,"width","7"),t(Ze,"height","3"),t(j,"points","15,12.5 10,15 10,10 "),t(Ie,"viewBox","0 0 15 15"),t(He,"x","0px"),t(He,"y","0px"),t(He,"width","15px"),t(He,"height","15px"),t(He,"fill","#696969"),t(Ce,"class","button-in-tree-background"),o(Ce,"display","flex"),o(Ce,"justify-content","center"),o(Ce,"align-items","center"),o(Ce,"width","23px"),o(Ce,"height","43px"),o(Ce,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(Ce,"background-color",n[5].window["Button in tree background"]),o(U,"display","flex"),t(e,"class","channels-row svelte-kxtnu6"),o(e,"--light-text",n[5].window["Light Text"]),o(e,"--button-gradient",n[5].window["Button background"].length==9?n[5].window["Button background"].substring(0,7)+"D0":"#767676"),o(e,"--button-background",n[5].window["Button background"]),o(e,"--button-stroke",n[5].window["Button stroke"]),o(e,"display","flex"),o(e,"justify-content","space-between"),o(e,"border-top","1px solid "+n[5].window["Hole (dark)"]),o(e,"border-left","1px solid "+n[5].window["Hole (dark)"]),o(e,"background-color",n[1]?n[5].window["Selected Panel body"]:n[5].window["Panel body"])},m(z,pe){se(z,e,pe),l(e,i),l(i,r),l(r,s),l(r,a),l(r,c),l(c,p),l(p,w),l(w,v),l(p,x),l(p,_),l(_,T),l(T,M),l(M,S),l(_,le),l(_,ie),l(_,Te),l(_,ye),l(c,te),l(c,D),H&&H.m(D,null),l(D,I),G&&G.m(D,null),l(D,de),Se&&Se.m(D,null),l(D,Le),Ae&&Ae.m(D,null),l(D,ae),l(D,re),l(re,X),l(re,ce),l(re,$),l(D,d),l(D,g),l(g,h),l(h,y),l(h,f),l(h,k),l(r,L),l(r,A),l(e,O),l(e,U),l(U,Z),l(Z,W),l(W,J),l(U,Y),l(U,ne),ve.m(ne,null),l(U,xe),l(U,Q),De.m(Q,null),l(U,Pe),l(U,Ce),l(Ce,He),l(He,Ee),l(He,je),l(He,Ze),l(He,Ie),l(Ie,j)},p(z,[pe]){pe&8&&o(s,"background-color",z[3]),pe&16&&Gt(v,z[4]),pe&34&&o(w,"color",z[1]?z[5].window["Dark Text"]:z[5].window["Light Text"]),pe&36&&F!==(F=z[2]?z[5].window["Dark Text"]:z[5].window["Light Text"])&&t(S,"fill",F),pe&4&&N!==(N="circle "+(z[2]?"dark-text":"light-text"))&&t(M,"class",N),pe&4&&V!==(V="button "+(z[2]?"rec":"button-background")+" svelte-kxtnu6")&&t(T,"class",V),pe&4&&ue!==(ue=z[2]?"background-color:red;background-image:none;":"")&&t(T,"style",ue),z[0]==="a"?H?H.p(z,pe):(H=Xt(z),H.c(),H.m(D,I)):H&&(H.d(1),H=null),z[0]==="i"?G?G.p(z,pe):(G=Jt(z),G.c(),G.m(D,de)):G&&(G.d(1),G=null),z[0]==="m"?Se?Se.p(z,pe):(Se=Qt(z),Se.c(),Se.m(D,Le)):Se&&(Se.d(1),Se=null),z[0]==="f"?Ae?Ae.p(z,pe):(Ae=en(z),Ae.c(),Ae.m(D,ae)):Ae&&(Ae.d(1),Ae=null),pe&32&&o(X,"background-color",z[5].window.On),pe&32&&o($,"background-color",z[5].window.On),pe&32&&o(re,"background-color",z[5].window["Display Background"]),pe&32&&o(re,"border","2px solid "+z[5].window["Display Background"]),pe&32&&C!==(C=z[5].window["Light Text"])&&t(h,"fill",C),pe&32&&o(A,"background-color",z[5].window["Display Background"]),pe&2&&E!==(E="instrument "+(z[1]?"selected-inst":"unselected-inst")+" svelte-kxtnu6")&&t(r,"class",E),pe&34&&o(r,"background-color",z[1]?z[5].window["Selected Panel body"]:z[5].window["Panel body"]),pe&32&&K!==(K=z[5].window["Normal Toggle Icon"])&&t(W,"fill",K),pe&32&&o(Z,"border-left","1px solid "+z[5].window["Hole (dark)"]),pe&32&&o(Z,"background-color",z[5].window["Panel body"]),ze===(ze=qe(z))&&ve?ve.p(z,pe):(ve.d(1),ve=ze(z),ve&&(ve.c(),ve.m(ne,null))),pe&32&&o(ne,"border-left","1px solid "+z[5].window["Hole (dark)"]),pe&32&&o(ne,"background-color",z[5].window["Hole (medium)"]),_e===(_e=ee(z))&&De?De.p(z,pe):(De.d(1),De=_e(z),De&&(De.c(),De.m(Q,null))),pe&32&&o(Q,"border-left","1px solid "+z[5].window["Hole (dark)"]),pe&32&&o(Q,"background-color",z[5].window["Hole (medium)"]),pe&32&&o(Ce,"border-left","1px solid "+z[5].window["Hole (dark)"]),pe&32&&o(Ce,"background-color",z[5].window["Button in tree background"]),pe&32&&o(e,"--light-text",z[5].window["Light Text"]),pe&32&&o(e,"--button-gradient",z[5].window["Button background"].length==9?z[5].window["Button background"].substring(0,7)+"D0":"#767676"),pe&32&&o(e,"--button-background",z[5].window["Button background"]),pe&32&&o(e,"--button-stroke",z[5].window["Button stroke"]),pe&32&&o(e,"border-top","1px solid "+z[5].window["Hole (dark)"]),pe&32&&o(e,"border-left","1px solid "+z[5].window["Hole (dark)"]),pe&34&&o(e,"background-color",z[1]?z[5].window["Selected Panel body"]:z[5].window["Panel body"])},i:R,o:R,d(z){z&&oe(e),H&&H.d(),G&&G.d(),Se&&Se.d(),Ae&&Ae.d(),ve.d(),De.d()}}}function Io(n,e,i){let{type:r}=e,{isSelected:s=!1}=e,{isRec:a=!1}=e,{color:c="#808080"}=e,{name:p}=e,w;return Qe.subscribe(v=>{i(5,w=v)}),n.$$set=v=>{"type"in v&&i(0,r=v.type),"isSelected"in v&&i(1,s=v.isSelected),"isRec"in v&&i(2,a=v.isRec),"color"in v&&i(3,c=v.color),"name"in v&&i(4,p=v.name)},[r,s,a,c,p,w]}class Ht extends Me{constructor(e){super(),Be(this,e,Io,Oo,$e,{type:0,isSelected:1,isRec:2,color:3,name:4})}}function tn(n,e,i){const r=n.slice();return r[2]=e[i],r}function nn(n,e,i){const r=n.slice();return r[2]=e[i],r}function on(n,e,i){const r=n.slice();return r[2]=e[i],r}function ln(n,e,i){const r=n.slice();return r[2]=e[i],r}function rn(n,e,i){const r=n.slice();return r[2]=e[i],r}function sn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(i,r){se(i,e,r)},p:R,d(i){i&&oe(e)}}}function an(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(i,r){se(i,e,r)},p:R,d(i){i&&oe(e)}}}function cn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(i,r){se(i,e,r)},p:R,d(i){i&&oe(e)}}}function dn(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(i,r){se(i,e,r)},p:R,d(i){i&&oe(e)}}}function un(n){let e;return{c(){e=u("span"),o(e,"height","100%"),o(e,"margin-left","16px"),o(e,"border-right",n[2]%4==0?"1px solid #00000080":"0.5px solid #00000040")},m(i,r){se(i,e,r)},p:R,d(i){i&&oe(e)}}}function zo(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J,K,Y,ne,xe,Q,Pe,Ce,He,Ee,je,Ze,Ie,j,H,G,Se,Ae,qe,ze,ve,ee,_e,De,z,pe,et,dt,Ge,rt,Ue,ct,Ve,ut,pt,mt,Ye,Ke,Bt,We,Ne,ke,q;je=new Ht({props:{name:"Inst 1",type:"i",color:"#FF5706",isSelected:!0,isRec:!0}}),Ie=new Ht({props:{name:"Audio 2",type:"a",color:"#D99D10"}}),ze=new Ht({props:{name:"FX 1",type:"f"}}),ee=new Ht({props:{name:"Master",type:"m"}});let ft=Je(n[1]),tt=[];for(let B=0;B{i(0,r=a)});let s=Array.from({length:No},(a,c)=>c);return[r,s]}class Zo extends Me{constructor(e){super(),Be(this,e,Ro,zo,$e,{})}}function Fo(n){let e,i,r,s;return{c(){e=u("div"),i=u("span"),i.innerHTML=' PROJECT ',r=b(),s=u("span"),s.innerHTML=' INST 1 ',t(i,"class","column svelte-pnz0g3"),t(s,"class","column svelte-pnz0g3"),t(e,"id","device-bg"),o(e,"--light-text",n[0].window["Light Text"]),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--device-header",n[0].window["Device Header"]),t(e,"class","svelte-pnz0g3")},m(a,c){se(a,e,c),l(e,i),l(e,r),l(e,s)},p(a,[c]){c&1&&o(e,"--light-text",a[0].window["Light Text"]),c&1&&o(e,"--hole-dark",a[0].window["Hole (dark)"]),c&1&&o(e,"--panel-body",a[0].window["Panel body"]),c&1&&o(e,"--panel-stroke",a[0].window["Panel stroke"]),c&1&&o(e,"--device-header",a[0].window["Device Header"])},i:R,o:R,d(a){a&&oe(e)}}}function Go(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class qo extends Me{constructor(e){super(),Be(this,e,Go,Fo,$e,{})}}function Uo(n){let e,i,r,s,a;return i=new Zo({}),s=new qo({}),{c(){e=u("div"),be(i.$$.fragment),r=b(),be(s.$$.fragment),t(e,"class","svelte-1q5krv1")},m(c,p){se(c,e,p),me(i,e,null),l(e,r),me(s,e,null),a=!0},p:R,i(c){a||(fe(i.$$.fragment,c),fe(s.$$.fragment,c),a=!0)},o(c){he(i.$$.fragment,c),he(s.$$.fragment,c),a=!1},d(c){c&&oe(e),we(i),we(s)}}}class Vo extends Me{constructor(e){super(),Be(this,e,null,Uo,$e,{})}}function Ko(n){let e,i,r,s,a,c,p;return{c(){e=m("svg"),i=m("g"),r=m("g"),s=m("g"),a=m("g"),c=m("path"),p=m("path"),t(c,"d","M8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.063C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.063L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(c,"fill","rgb(179,179,179)"),o(c,"fill-rule","nonzero"),t(p,"d","M4.285,5.493C4.289,5.488 4.293,5.484 4.297,5.48C4.581,5.148 5.068,5.055 5.456,5.269C5.459,5.271 5.461,5.272 5.464,5.273L7.879,6.651L7.879,3.907C7.879,3.623 8.008,3.355 8.221,3.185C8.296,3.118 8.381,3.064 8.473,3.024C8.522,3.003 8.573,2.988 8.626,2.98C8.702,2.969 8.779,2.967 8.846,2.973L10.187,2.973C10.481,2.973 10.758,3.112 10.934,3.346C11.055,3.508 11.121,3.705 11.121,3.906L11.121,6.651C11.121,6.651 13.535,5.274 13.535,5.274C13.677,5.191 13.839,5.148 14.004,5.148C14.347,5.148 14.664,5.338 14.826,5.64L15.509,6.851C15.512,6.856 15.514,6.86 15.516,6.864C15.707,7.223 15.643,7.665 15.369,7.946C15.323,8 15.272,8.048 15.216,8.09C15.197,8.105 15.176,8.118 15.155,8.13L12.798,9.5L15.155,10.87C15.189,10.889 15.221,10.912 15.25,10.937C15.271,10.955 15.29,10.973 15.299,10.983C15.346,11.024 15.39,11.07 15.428,11.12C15.656,11.411 15.691,11.812 15.515,12.139C15.513,12.142 15.511,12.145 15.509,12.149L14.822,13.367C14.801,13.404 14.777,13.438 14.75,13.469C14.739,13.482 14.727,13.495 14.715,13.507C14.711,13.512 14.707,13.516 14.703,13.52C14.419,13.852 13.932,13.945 13.544,13.731C13.541,13.729 13.539,13.728 13.536,13.727L11.121,12.349L11.121,15.093C11.121,15.387 10.982,15.664 10.747,15.84C10.586,15.961 10.389,16.027 10.188,16.027L8.813,16.027C8.519,16.027 8.242,15.888 8.066,15.654C7.945,15.492 7.879,15.295 7.879,15.094L7.879,12.349C7.879,12.349 5.465,13.726 5.465,13.726C5.323,13.809 5.161,13.852 4.996,13.852C4.653,13.852 4.336,13.662 4.174,13.36L3.491,12.149C3.488,12.144 3.486,12.14 3.484,12.136C3.293,11.777 3.357,11.335 3.631,11.054C3.677,11 3.728,10.952 3.784,10.91C3.803,10.895 3.824,10.882 3.845,10.87L6.202,9.5L3.845,8.13C3.811,8.111 3.779,8.088 3.75,8.063C3.729,8.045 3.71,8.027 3.701,8.017C3.654,7.976 3.61,7.93 3.572,7.88C3.344,7.589 3.309,7.188 3.485,6.861C3.487,6.858 3.489,6.855 3.491,6.851L4.178,5.633C4.199,5.596 4.223,5.562 4.25,5.531C4.261,5.518 4.273,5.505 4.285,5.493ZM8.719,3.594C8.684,3.609 8.652,3.63 8.625,3.656C8.546,3.715 8.5,3.808 8.5,3.906L8.5,7.719L5.156,5.813C5.017,5.736 4.841,5.777 4.75,5.906C4.739,5.916 4.728,5.926 4.719,5.938L4.031,7.156C3.972,7.266 3.984,7.402 4.063,7.5C4.08,7.524 4.101,7.545 4.125,7.563C4.135,7.574 4.145,7.584 4.156,7.594L7.438,9.5L4.156,11.406C4.133,11.424 4.112,11.445 4.094,11.469C3.991,11.565 3.965,11.719 4.031,11.844L4.719,13.062C4.772,13.166 4.88,13.232 4.996,13.232C5.053,13.232 5.108,13.216 5.156,13.188L8.5,11.281L8.5,15.094C8.5,15.161 8.522,15.227 8.563,15.281C8.621,15.36 8.714,15.406 8.813,15.406L10.188,15.406C10.255,15.406 10.321,15.384 10.375,15.344C10.454,15.285 10.5,15.192 10.5,15.094L10.5,11.281L13.844,13.188C13.983,13.264 14.159,13.223 14.25,13.094C14.261,13.084 14.272,13.074 14.281,13.062L14.969,11.844C15.028,11.734 15.016,11.598 14.938,11.5C14.92,11.476 14.899,11.455 14.875,11.438C14.865,11.426 14.855,11.416 14.844,11.406L11.563,9.5L14.844,7.594C14.867,7.576 14.888,7.555 14.906,7.531C15.009,7.435 15.035,7.281 14.969,7.156L14.281,5.938C14.228,5.834 14.12,5.768 14.004,5.768C13.947,5.768 13.892,5.784 13.844,5.813L10.5,7.719L10.5,3.906C10.5,3.839 10.478,3.773 10.438,3.719C10.379,3.64 10.286,3.594 10.188,3.594L8.813,3.594C8.781,3.589 8.75,3.589 8.719,3.594Z"),o(p,"fill-opacity","0.66"),t(a,"transform","matrix(0.665624,0,0,0.665624,3.17657,16.1778)"),t(r,"transform","matrix(1.21053,0,0,1.21053,31,17.2632)"),t(i,"transform","matrix(1,0,0,1,-31,-33)"),t(e,"width","23px"),t(e,"height","23px"),t(e,"viewBox","0 0 23 23"),o(e,"fill-rule","evenodd"),o(e,"clip-rule","evenodd"),o(e,"stroke-linejoin","round"),o(e,"stroke-miterlimit","2")},m(w,v){se(w,e,v),l(e,i),l(i,r),l(r,s),l(s,a),l(a,c),l(a,p)},p:R,i:R,o:R,d(w){w&&oe(e)}}}class _t extends Me{constructor(e){super(),Be(this,e,null,Ko,$e,{})}}function Wo(n){let e;return{c(){e=u("div"),e.innerHTML=' '},m(i,r){se(i,e,r)},p:R,i:R,o:R,d(i){i&&oe(e)}}}class Yo extends Me{constructor(e){super(),Be(this,e,null,Wo,$e,{})}}function Xo(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F,N,V,ue,le,ie,Te,ye,te,D,I,de,Le,ae,re,X,ce,$,d,g,h,y,f,k,C,L,A,E,O,U,Z,W,J;return r=new Yo({}),ie=new _t({}),D=new _t({}),ae=new _t({}),d=new _t({}),f=new _t({}),A=new _t({}),{c(){e=u("div"),i=u("span"),be(r.$$.fragment),s=b(),a=u("span"),c=u("i"),c.textContent="Everything",p=b(),w=u("span"),v=u("span"),v.innerHTML=' Search',x=b(),_=m("svg"),T=m("line"),S=m("line"),N=b(),V=u("span"),ue=u("span"),le=u("i"),be(ie.$$.fragment),Te=Fe("Location"),ye=b(),te=u("i"),be(D.$$.fragment),I=Fe("Category"),de=b(),Le=u("i"),be(ae.$$.fragment),re=Fe("Device"),X=b(),ce=u("span"),$=u("i"),be(d.$$.fragment),g=Fe("File Kind"),h=b(),y=u("i"),be(f.$$.fragment),k=Fe("Creator"),C=b(),L=u("i"),be(A.$$.fragment),E=Fe("Tags"),O=b(),U=u("span"),U.innerHTML='',Z=b(),W=u("span"),W.innerHTML="",t(i,"class","top-nav svelte-q1jjt6"),t(c,"class","svelte-q1jjt6"),o(v,"display","flex"),o(v,"align-items","center"),t(T,"x1","0"),t(T,"y1","0"),t(T,"x2","7"),t(T,"y2","7"),t(T,"stroke",M=n[0].window["Light Text"]),t(S,"x1","0"),t(S,"y1","7"),t(S,"x2","7"),t(S,"y2","0"),t(S,"stroke",F=n[0].window["Light Text"]),t(_,"width","7"),t(_,"height","7"),o(_,"margin-right","10px"),t(w,"class","search-bar hole-dark svelte-q1jjt6"),t(le,"class","svelte-q1jjt6"),t(te,"class","svelte-q1jjt6"),t(Le,"class","svelte-q1jjt6"),t(ue,"class","location-side svelte-q1jjt6"),t($,"class","svelte-q1jjt6"),t(y,"class","svelte-q1jjt6"),t(L,"class","svelte-q1jjt6"),t(ce,"class","location-side svelte-q1jjt6"),t(V,"class","locations svelte-q1jjt6"),t(a,"class","everything-bar svelte-q1jjt6"),t(U,"class","files hole-dark svelte-q1jjt6"),t(W,"class","bottom-bar svelte-q1jjt6"),t(e,"id","browser-panel"),o(e,"--hole-dark",n[0].window["Hole (dark)"]),o(e,"--panel-body",n[0].window["Panel body"]),o(e,"--panel-stroke",n[0].window["Panel stroke"]),o(e,"--hole-medium",n[0].window["Hole (medium)"]),t(e,"class","svelte-q1jjt6")},m(K,Y){se(K,e,Y),l(e,i),me(r,i,null),l(e,s),l(e,a),l(a,c),l(a,p),l(a,w),l(w,v),l(w,x),l(w,_),l(_,T),l(_,S),l(a,N),l(a,V),l(V,ue),l(ue,le),me(ie,le,null),l(le,Te),l(ue,ye),l(ue,te),me(D,te,null),l(te,I),l(ue,de),l(ue,Le),me(ae,Le,null),l(Le,re),l(V,X),l(V,ce),l(ce,$),me(d,$,null),l($,g),l(ce,h),l(ce,y),me(f,y,null),l(y,k),l(ce,C),l(ce,L),me(A,L,null),l(L,E),l(e,O),l(e,U),l(e,Z),l(e,W),J=!0},p(K,[Y]){(!J||Y&1&&M!==(M=K[0].window["Light Text"]))&&t(T,"stroke",M),(!J||Y&1&&F!==(F=K[0].window["Light Text"]))&&t(S,"stroke",F),(!J||Y&1)&&o(e,"--hole-dark",K[0].window["Hole (dark)"]),(!J||Y&1)&&o(e,"--panel-body",K[0].window["Panel body"]),(!J||Y&1)&&o(e,"--panel-stroke",K[0].window["Panel stroke"]),(!J||Y&1)&&o(e,"--hole-medium",K[0].window["Hole (medium)"])},i(K){J||(fe(r.$$.fragment,K),fe(ie.$$.fragment,K),fe(D.$$.fragment,K),fe(ae.$$.fragment,K),fe(d.$$.fragment,K),fe(f.$$.fragment,K),fe(A.$$.fragment,K),J=!0)},o(K){he(r.$$.fragment,K),he(ie.$$.fragment,K),he(D.$$.fragment,K),he(ae.$$.fragment,K),he(d.$$.fragment,K),he(f.$$.fragment,K),he(A.$$.fragment,K),J=!1},d(K){K&&oe(e),we(r),we(ie),we(D),we(ae),we(d),we(f),we(A)}}}function Jo(n,e,i){let r;return Qe.subscribe(s=>{i(0,r=s)}),[r]}class Qo extends Me{constructor(e){super(),Be(this,e,Jo,Xo,$e,{})}}let Et=null;const Re=(n,e)=>{n.stopPropagation(),setTimeout(()=>{const i=document.getElementById(e);i.scrollIntoView({behavior:"smooth",block:"center"}),i.parentElement.parentElement.style.backgroundColor="lime",Et!==null&&Et!==i&&(Et.parentElement.parentElement.style.backgroundColor="whitesmoke"),Et=i},0)},Oe=qt("window"),el=()=>{Array.from(document.getElementsByClassName("panel-body")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Panel body")})}),Array.from(document.getElementsByClassName("button-background")).forEach(n=>{if(n.id=="rec"){n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Record button color")});return}if(n.id=="play"){n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"On")});return}n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Button background")})}),Array.from(document.getElementsByClassName("hitech-group")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Hitech on")})})},tl=()=>{document.getElementById("top_bar").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"Window background")})},nl=()=>{document.getElementById("browser-panel").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"Hole (medium)")}),Array.from(document.getElementsByClassName("hole-dark")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Hole (dark)")})})},ol=()=>{document.getElementById("device-bg").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"Hole (dark)")}),Array.from(document.getElementsByClassName("column")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Device Header")})})},ll=()=>{document.getElementById("insp_title").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"Panel body")}),document.getElementById("cpu_svg").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"On")}),Array.from(document.getElementsByClassName("display-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Display Background")})}),Array.from(document.getElementsByClassName("hole-light")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Hole (light)")})}),Array.from(document.getElementsByClassName("hole-medium")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Hole (medium)")})}),Array.from(document.getElementsByClassName("on")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"On")})}),Array.from(document.getElementsByClassName("rec")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Record button color")})})},il=()=>{document.getElementById("bottom_bar").addEventListener("mousedown",n=>{Oe.set("window"),Re(n,"Window background")})},rl=()=>{Array.from(document.getElementsByClassName("top-level-timeline-header-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("arranger"),Re(e,"Top Level Timeline Header Background")})}),Array.from(document.getElementsByClassName("light-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("arranger"),Re(e,"Light Timeline Background")})}),Array.from(document.getElementsByClassName("dark-timeline-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("arranger"),Re(e,"Dark Timeline Background")})}),Array.from(document.getElementsByClassName("button-in-tree-background")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Button in tree background")})})},sl=()=>{Array.from(document.getElementsByClassName("selected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Selected Panel body")})}),Array.from(document.getElementsByClassName("unselected-inst")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Panel body")})})},al=()=>{Array.from(document.getElementsByClassName("light-text")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Light Text")})}),Array.from(document.getElementsByClassName("dark-text")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Dark Text")})}),Array.from(document.getElementsByClassName("normal-toggle-icon")).forEach(n=>{n.addEventListener("mousedown",e=>{Oe.set("window"),Re(e,"Normal Toggle Icon")})})},cl=()=>{el(),tl(),nl(),ol(),ll(),il(),rl(),sl(),al()};function dl(n){let e,i,r,s,a,c,p,w,v,x,_,T,M,S,F;return i=new Gn({}),s=new ho({}),p=new Ho({}),v=new Vo({}),_=new Qo({}),M=new wo({}),{c(){e=u("div"),be(i.$$.fragment),r=b(),be(s.$$.fragment),a=b(),c=u("span"),be(p.$$.fragment),w=b(),be(v.$$.fragment),x=b(),be(_.$$.fragment),T=b(),be(M.$$.fragment),t(c,"class","svelte-11joe25"),t(e,"id","bitwig"),t(e,"style",S=" background-color: "+n[0].window["Window background"]+"; zoom: "+n[1]+"%;"),t(e,"class","svelte-11joe25")},m(N,V){se(N,e,V),me(i,e,null),l(e,r),me(s,e,null),l(e,a),l(e,c),me(p,c,null),l(c,w),me(v,c,null),l(c,x),me(_,c,null),l(e,T),me(M,e,null),F=!0},p(N,[V]){(!F||V&3&&S!==(S=" background-color: "+N[0].window["Window background"]+"; zoom: "+N[1]+"%;"))&&t(e,"style",S)},i(N){F||(fe(i.$$.fragment,N),fe(s.$$.fragment,N),fe(p.$$.fragment,N),fe(v.$$.fragment,N),fe(_.$$.fragment,N),fe(M.$$.fragment,N),F=!0)},o(N){he(i.$$.fragment,N),he(s.$$.fragment,N),he(p.$$.fragment,N),he(v.$$.fragment,N),he(_.$$.fragment,N),he(M.$$.fragment,N),F=!1},d(N){N&&oe(e),we(i),we(s),we(p),we(v),we(_),we(M)}}}function ul(n,e,i){let r;Qe.subscribe(a=>{i(0,r=a)});let s=100;return gt.subscribe(a=>{i(1,s=a)}),jt(()=>{cl()}),[r,s]}class pl extends Me{constructor(e){super(),Be(this,e,ul,dl,$e,{})}}const fl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAN0lEQVQ4jWN8+vQpA24gJSWFU46BgQlDhAQwqnlkaGb8//8/hiACPHv2DENsZAfYqGZSAAMDAwDAoQjTb+zK0AAAAABJRU5ErkJggg==";function hl(n){let e,i,r;return i=new pl({}),{c(){e=u("div"),be(i.$$.fragment),o(e,"background-image","url("+fl+")"),t(e,"class","svelte-gyjpao")},m(s,a){se(s,e,a),me(i,e,null),r=!0},p:R,i(s){r||(fe(i.$$.fragment,s),r=!0)},o(s){he(i.$$.fragment,s),r=!1},d(s){s&&oe(e),we(i)}}}class gl extends Me{constructor(e){super(),Be(this,e,null,hl,$e,{})}}const ml={advanced:{"Timeline Playhead":"The playhead in the timeline while the track is playing."},window:{"Abstract Button Pressed Background":"","Abstract Button Selected Background":"","Abstract Button Stroke":"","Abstract Button Unselected Background":"","Activation Green":'Status of Activation inside "Manage Licenses" popup.',"Activation Red":'Status of Activation inside "Manage Licenses" popup.',"Activation Yellow":'Status of Activation inside "Manage Licenses" popup.',"Active Inverted Toggle Icon (Playing)":"","Active Panel stroke":"Border of active (selected) panel of the UI. E.g. arranger, browser, etc.","Active Toggle Icon (Playing)":"","Analyzed Beat Color":"","Audio Event Boundary":"Boundaries of audio event in clip view.","Automation Color":"","Beat Marker Color":"Manually added beat markers (inverted when the beat marker is selected)","Bitwig 16-Track":"","Bitwig 8-Track":"","Bitwig CI":"","Bitwig Essentials":"","Bitwig Mint":"This color is used in the circle that flashes in the top right corner of the screen when a project loads.","Bitwig Producer":"","Bitwig Red":"","Button background":"All default buttons colors (transport etc.)","Button in tree background":"","Button stroke":"Buttons border","Checkbox background":"","Close button mouse over background":"","Close button pressed background":"","Comp fill":"","Content Background":"","Dark Panel Sub-frame Fill":"","Dark Panel Sub-frame Stroke":"","Dark Separator Line":"","Dark Text":"Main black text color.","Dark tree background (selected)":"The selected entry in the right-side browser when panel is focussed.","Dark tree background (standby selected)":"The selected entry in the right-side browser when panel is not focussed.","Dark tree hover background change":"","Dark tree separator":"","Dark tree text":"","Dark tree text (selected)":"","Default text":"","Device Header":"","Device Header (selected)":"","Device Locked Overlay":"","Device Tint Future":"","Device Tint Military":"","Device Tint Retro":"","Display Background":"Changes the background of all display elements, for example in the sampler, the transport details, and some elements in the inspector - Also changes one of the 2 colors that make the gradients of various devices (such as sampler and comp+)","Display Background (error)":"","Display Loop Markers":"","Display Start/End Markers":"","Display Waveform":"","Drop Indicator":"","Emboss Highlight":"","Emboss Shadow":"","Error Text":"","Field background":"","Grey Display Background":"","Grid Line (Primary)":"","Grid Line (Secondary)":"","Hitcount background":"","Hitcount text color":"","Hitech background":"","Hitech on":"The transport color, as well as the blue text on the right-side panel.","Hole (dark)":"Seemingly affects all major background spaces such as background of the tracks / scenes, background of the device pane and background of browsers.","Hole (light)":"Affects smaller background elements.","Hole (medium)":"Affects other smaller background elements.","Implicit On (subtle)":"","Inspector Section Frame":"","Inverted Selected Borderless Button background":"","Knob Body Darkest":"The body of dark knobs.","Knob Body Lighter":"The body of lighter knobs","Knob Body Lightest":"The body of the lightest / white knobs","Knob Emboss Highlight":"","Knob Emboss Shadow":"","Knob Line":"The knob pointer on dark knobs.","Knob Line Dark":"The knob pointer on light knobs.","Knob Stroke":"The stroke around the knob.","Knob Value Color":"The main colored value for a knob.","Launcher Mapping Indication":"","Led Off":"","Led On":"","Light Separator Line":"","Light Text":"Main white text color.","Light Tooltip Background":"","Lighter Text":"","Link Text":"","List Item Background":"","List Separator":"",Mapping:"","Mapping indication 1":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 2":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 3":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 4":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 5":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 6":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 7":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Mapping indication 8":"These are the coloured indicators that appear above remote controls when you're using a capable MIDI controller.","Medium Light Text":"","Menu Icon":"","Menu background":"","Menu description text":"","Menu separator":"","Menu stroke":"","Menu text":"","Meter Clipping":"The highest value in a meter (clipping)","Meter Gain Reduction":"","Meter Hitech":"CPU/IO Meter colors","Meter Hitech Background":"Background of CPU/IO Meter color","Meter Muted":"","Meter Normal":"The lowest value in a meter","Meter Red":"The second highest value in a meter","Meter Yellow":"The second lowest value in a meter","Modern Dark Scrollbar Handle (active)":"","Modern Dark Scrollbar Handle (inactive)":"","Modern Scrollbar Background (active)":"Color of browser and devices panel scrollbars when hovered.","Modern Scrollbar Handle (active)":"Color of browser scrollbars and devices panel handle when hovered.","Modern Scrollbar Handle (inactive)":"","Modulation Mapping Background (polyphonic)":"","Modulation Mapping Background Color":"","Modulation Mapping Color":"","Modulation Mapping Color (polyphonic)":"","Modulation Mapping Color (subtractive)":"","Monitoring buttons color":"The Solo button","Mouse Over Inverted Toggle Icon":"","Mouse Over Toggle Icon":"","Normal Inverted Toggle Icon":"","Normal Toggle Icon":"","Notification Background":"Background of top right notification (when loading projects, etc.)","Notification Error":"Text color for the notifications when there is an error.","Notification Normal":"Text color for notifications","Number field bar background":"",On:'The "main" orange button color (for Play, Mute etc). Probably, this also affects the color of the track volume faders.',"On (subtle)":"","On (subtler)":"","Onset Marker Color":"","Panel Blue":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Green":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Lime":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Mint":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Orange":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Purple":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Red":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Turquoise":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel Yellow":'This colors starting with "Panel..." are responsible for the colors of the connection lines in the Grid. These also affect various colors in all devices (knobs, displays etc.)',"Panel body":"Affects the main background of most elements, including devices and track background colors - This is also overlayed on top of the buttons in BW's top bar, so it also affects them. A darker color will also make the buttons darker.","Panel stroke":"Border of most elements, also the main UI (it's basically the color for separating sections of the UI).","Popup Notification Background":"","Popup insert":"","Popup overlay background color":"","Pressed Inverted Toggle Icon":"","Pressed On":'Same as "On" but when mouse is clicked and held. Makes sense to use a darker variant of the color used for "On"',"Pressed Toggle Icon":"","Pressed button background":"","Pressed view button background":"","Progress background":"Background of progress bar (in notifications, not sure if anywhere else)","Progress bar":"Color fill of progress bar","Record button color":"This is obviously the record button color, but also the automation write and overdub buttons next to it. It also affects the dark red of the overdub button when it's on (but recording is off)","Rubber button stroke":"","Rubber highlight button stroke":"",Scrollbar:"Color of arranger area scrollbar.","Scrollbar background":"","Selected Dashboard Tree":"","Selected Panel body":"Background of selected track in arranger (not sure if also somewhere else)","Selected Panel stroke":"","Selected Panel stroke (standby)":"",Selection:"",Shadow:"A shadow that is added if the tracks extend beyond the displayed area.","Standby selection":"","Subtle Dark Text":"","Subtle Light Text":"","Subtler Light Text":"","The Grid (background)":"The squares in the grid","The Grid (stroke)":"The lines between squares in the grid","Timeline edit tool chooser background":"","Tooltip Background":"","Tooltip Stroke":"","Tree Item Background":"","Tree Separator":"","User Automation Override Color":"The color of the icon when manually overriding automation (Has a uneditable slight gradient on the icon to give it a slight bump). And also the color of the dot next to the parameter on devices.","View button background":"",Warning:"","Window background":"Window background color (the very top bar color etc.)"},arranger:{"Add Modulation Button Color":"Button that switches to additive modulation mode in the edit window.","Audio connection in modular environment":"","Audio64 connection in modular environment":"","Automation button glow color":"","Background color of the modular environment.":"","Clip Automation Button Color":"","Clip Automation Color":"","Clip Modulation Color":"","Compressed Audio Port in modular environment":"","Current Atom Value Color":"Automation line when no automation is present (no nodes)","Dark Timeline Background":"This is the unused portion of the arranger.","Dark Timeline Header Background":"Background of the timeline on top of the arranger (90% sure)","Event connection in modular environment":"","Header Loop Region Background":"","Header Time Selection Across All Lanes Fill":"","Header Time Selection Across All Lanes Stroke":"","Header Time Selection Cursor Stroke":"","Header Time Selection Fill":"","Header Time Selection Standby Cursor Stroke":"","Header Time Selection Standby Fill":"","Header Time Selection Standby Stroke":"","Header Time Selection Stroke":"","Insert preview time":"","Irrelevant Timeline Background":"","Irrelevant Timeline Header Background":"","Irrelevant Timeline Header Overlay":"","Irrelevant Timeline Overlay":"","Light Timeline Background":"","Light Timeline Header Background":"","Loop Region Background":"","Multiply Modulation Button Color":'Button that switches to multiply modulation mode in the edit window. Next to "Add Modulation Button Color"',"Note Expression Color":"","Polyphonic Desktop Object":"","Record button color implicit":"","Record button glow color":"","Selected matrix slot color":"","Send (post) value color":"Knob color for send value in Post mode","Send (pre) value color":"Knob color for send value in Pre mode","Time Selection Across All Lanes Fill":"","Time Selection Across All Lanes Stroke":"","Time Selection Cursor Stroke":"","Time Selection Fill":"","Time Selection Inactive Fill":"","Time Selection Inactive Stroke":"","Time Selection Not Selected Fill":"","Time Selection Not Selected Stroke":"","Time Selection Standby Cursor Stroke":"","Time Selection Standby Fill":"","Time Selection Standby Stroke":"","Time Selection Stroke":"","Timeline Background Pattern":"Darkens black key area on piano roll background","Timeline Cue Marker":"","Timeline Header Background Pattern":"","Timeline Header Cue Marker":"","Timeline Header Primary Grid":"","Timeline Header Secondary Grid":"","Timeline Header Tooltip Background":"","Timeline Header Tooltip Text":"","Timeline Primary Grid":"","Timeline Secondary Grid":"","Timeline Tooltip Background":"","Timeline Tooltip Text":"","Top Level Timeline Background":"","Top Level Timeline Header Background":"","Track Automation Button Color":"Indicator that automation is active on a parameter.","Track Automation Color":"The background and points of automation."}};function wl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Cn={exports:{}};/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */(function(n,e){(function(i,r){n.exports=r()})(self,()=>(()=>{var i={d:($,d)=>{for(var g in d)i.o(d,g)&&!i.o($,g)&&Object.defineProperty($,g,{enumerable:!0,get:d[g]})},o:($,d)=>Object.prototype.hasOwnProperty.call($,d),r:$=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty($,Symbol.toStringTag,{value:"Module"}),Object.defineProperty($,"__esModule",{value:!0})}},r={};i.d(r,{default:()=>X});var s={};function a($,d,g,h,y={}){d instanceof HTMLCollection||d instanceof NodeList?d=Array.from(d):Array.isArray(d)||(d=[d]),Array.isArray(g)||(g=[g]);for(const f of d)for(const k of g)f[$](k,h,{capture:!1,...y});return Array.prototype.slice.call(arguments,1)}i.r(s),i.d(s,{adjustableInputNumbers:()=>T,createElementFromString:()=>w,createFromTemplate:()=>v,eventPath:()=>x,off:()=>p,on:()=>c,resolveElement:()=>_});const c=a.bind(null,"addEventListener"),p=a.bind(null,"removeEventListener");function w($){const d=document.createElement("div");return d.innerHTML=$.trim(),d.firstElementChild}function v($){const d=(h,y)=>{const f=h.getAttribute(y);return h.removeAttribute(y),f},g=(h,y={})=>{const f=d(h,":obj"),k=d(h,":ref"),C=f?y[f]={}:y;k&&(y[k]=h);for(const L of Array.from(h.children)){const A=d(L,":arr"),E=g(L,A?{}:C);A&&(C[A]||(C[A]=[])).push(Object.keys(E).length?E:L)}return y};return g(w($))}function x($){let d=$.path||$.composedPath&&$.composedPath();if(d)return d;let g=$.target.parentElement;for(d=[$.target,g];g=g.parentElement;)d.push(g);return d.push(document,window),d}function _($){return $ instanceof Element?$:typeof $=="string"?$.split(/>>/g).reduce((d,g,h,y)=>(d=d.querySelector(g),hg){function g(h){const y=[.001,.01,.1][Number(h.shiftKey||2*h.ctrlKey)]*(h.deltaY<0?1:-1);let f=0,k=$.selectionStart;$.value=$.value.replace(/[\d.]+/g,(C,L)=>L<=k&&L+C.length>=k?(k=L,d(Number(C),y,f)):(f++,C)),$.focus(),$.setSelectionRange(k,k),h.preventDefault(),$.dispatchEvent(new Event("input"))}c($,"focus",()=>c(window,"wheel",g,{passive:!1})),c($,"blur",()=>p(window,"wheel",g))}const{min:M,max:S,floor:F,round:N}=Math;function V($,d,g){d/=100,g/=100;const h=F($=$/360*6),y=$-h,f=g*(1-d),k=g*(1-y*d),C=g*(1-(1-y)*d),L=h%6;return[255*[g,k,f,f,C,g][L],255*[C,g,g,k,f,f][L],255*[f,f,C,g,g,k][L]]}function ue($,d,g){const h=(2-(d/=100))*(g/=100)/2;return h!==0&&(d=h===1?0:h<.5?d*g/(2*h):d*g/(2-2*h)),[$,100*d,100*h]}function le($,d,g){const h=M($/=255,d/=255,g/=255),y=S($,d,g),f=y-h;let k,C;if(f===0)k=C=0;else{C=f/y;const L=((y-$)/6+f/2)/f,A=((y-d)/6+f/2)/f,E=((y-g)/6+f/2)/f;$===y?k=E-A:d===y?k=1/3+L-E:g===y&&(k=2/3+A-L),k<0?k+=1:k>1&&(k-=1)}return[360*k,100*C,100*y]}function ie($,d,g,h){return d/=100,g/=100,[...le(255*(1-M(1,($/=100)*(1-(h/=100))+h)),255*(1-M(1,d*(1-h)+h)),255*(1-M(1,g*(1-h)+h)))]}function Te($,d,g){d/=100;const h=2*(d*=(g/=100)<.5?g:1-g)/(g+d)*100,y=100*(g+d);return[$,isNaN(h)?0:h,y]}function ye($){return le(...$.match(/.{2}/g).map(d=>parseInt(d,16)))}function te($){$=$.match(/^[a-zA-Z]+$/)?function(y){if(y.toLowerCase()==="black")return"#000";const f=document.createElement("canvas").getContext("2d");return f.fillStyle=y,f.fillStyle==="#000"?null:f.fillStyle}($):$;const d={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},g=y=>y.map(f=>/^(|\d+)\.\d+|\d+$/.test(f)?Number(f):void 0);let h;e:for(const y in d)if(h=d[y].exec($))switch(y){case"cmyk":{const[,f,k,C,L]=g(h);if(f>100||k>100||C>100||L>100)break e;return{values:ie(f,k,C,L),type:y}}case"rgba":{let[,f,,k,,C,,,L]=g(h);if(f=h[2]==="%"?f/100*255:f,k=h[4]==="%"?k/100*255:k,C=h[6]==="%"?C/100*255:C,L=h[9]==="%"?L/100:L,f>255||k>255||C>255||L<0||L>1)break e;return{values:[...le(f,k,C),L],a:L,type:y}}case"hexa":{let[,f]=h;f.length!==4&&f.length!==3||(f=f.split("").map(L=>L+L).join(""));const k=f.substring(0,6);let C=f.substring(6);return C=C?parseInt(C,16)/255:void 0,{values:[...ye(k),C],a:C,type:y}}case"hsla":{let[,f,k,C,,L]=g(h);if(L=h[6]==="%"?L/100:L,f>360||k>100||C>100||L<0||L>1)break e;return{values:[...Te(f,k,C),L],a:L,type:y}}case"hsva":{let[,f,k,C,,L]=g(h);if(L=h[6]==="%"?L/100:L,f>360||k>100||C>100||L<0||L>1)break e;return{values:[f,k,C,L],a:L,type:y}}}return{values:null,type:null}}function D($=0,d=0,g=0,h=1){const y=(k,C)=>(L=-1)=>C(~L?k.map(A=>Number(A.toFixed(L))):k),f={h:$,s:d,v:g,a:h,toHSVA(){const k=[f.h,f.s,f.v,f.a];return k.toString=y(k,C=>`hsva(${C[0]}, ${C[1]}%, ${C[2]}%, ${f.a})`),k},toHSLA(){const k=[...ue(f.h,f.s,f.v),f.a];return k.toString=y(k,C=>`hsla(${C[0]}, ${C[1]}%, ${C[2]}%, ${f.a})`),k},toRGBA(){const k=[...V(f.h,f.s,f.v),f.a];return k.toString=y(k,C=>`rgba(${C[0]}, ${C[1]}, ${C[2]}, ${f.a})`),k},toCMYK(){const k=function(C,L,A){const E=V(C,L,A),O=E[0]/255,U=E[1]/255,Z=E[2]/255,W=M(1-O,1-U,1-Z);return[100*(W===1?0:(1-O-W)/(1-W)),100*(W===1?0:(1-U-W)/(1-W)),100*(W===1?0:(1-Z-W)/(1-W)),100*W]}(f.h,f.s,f.v);return k.toString=y(k,C=>`cmyk(${C[0]}%, ${C[1]}%, ${C[2]}%, ${C[3]}%)`),k},toHEXA(){const k=function(L,A,E){return V(L,A,E).map(O=>N(O).toString(16).padStart(2,"0"))}(f.h,f.s,f.v),C=f.a>=1?"":Number((255*f.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return C&&k.push(C),k.toString=()=>`#${k.join("").toUpperCase()}`,k},clone:()=>D(f.h,f.s,f.v,f.a)};return f}const I=$=>Math.max(Math.min($,1),0);function de($){const d={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},$),_keyboard(f){const{options:k}=d,{type:C,key:L}=f;if(document.activeElement===k.wrapper){const{lock:A}=d.options,E=L==="ArrowUp",O=L==="ArrowRight",U=L==="ArrowDown",Z=L==="ArrowLeft";if(C==="keydown"&&(E||O||U||Z)){let W=0,J=0;A==="v"?W=E||O?1:-1:A==="h"?W=E||O?-1:1:(J=E?-1:U?1:0,W=Z?-1:O?1:0),d.update(I(d.cache.x+.01*W),I(d.cache.y+.01*J)),f.preventDefault()}else L.startsWith("Arrow")&&(d.options.onstop(),f.preventDefault())}},_tapstart(f){c(document,["mouseup","touchend","touchcancel"],d._tapstop),c(document,["mousemove","touchmove"],d._tapmove),f.cancelable&&f.preventDefault(),d._tapmove(f)},_tapmove(f){const{options:k,cache:C}=d,{lock:L,element:A,wrapper:E}=k,O=E.getBoundingClientRect();let U=0,Z=0;if(f){const K=f&&f.touches&&f.touches[0];U=f?(K||f).clientX:0,Z=f?(K||f).clientY:0,UO.left+O.width&&(U=O.left+O.width),ZO.top+O.height&&(Z=O.top+O.height),U-=O.left,Z-=O.top}else C&&(U=C.x*O.width,Z=C.y*O.height);L!=="h"&&(A.style.left=`calc(${U/O.width*100}% - ${A.offsetWidth/2}px)`),L!=="v"&&(A.style.top=`calc(${Z/O.height*100}% - ${A.offsetHeight/2}px)`),d.cache={x:U/O.width,y:Z/O.height};const W=I(U/O.width),J=I(Z/O.height);switch(L){case"v":return k.onchange(W);case"h":return k.onchange(J);default:return k.onchange(W,J)}},_tapstop(){d.options.onstop(),p(document,["mouseup","touchend","touchcancel"],d._tapstop),p(document,["mousemove","touchmove"],d._tapmove)},trigger(){d._tapmove()},update(f=0,k=0){const{left:C,top:L,width:A,height:E}=d.options.wrapper.getBoundingClientRect();d.options.lock==="h"&&(k=f),d._tapmove({clientX:C+A*f,clientY:L+E*k})},destroy(){const{options:f,_tapstart:k,_keyboard:C}=d;p(document,["keydown","keyup"],C),p([f.wrapper,f.element],"mousedown",k),p([f.wrapper,f.element],"touchstart",k,{passive:!1})}},{options:g,_tapstart:h,_keyboard:y}=d;return c([g.wrapper,g.element],"mousedown",h),c([g.wrapper,g.element],"touchstart",h,{passive:!1}),c(document,["keydown","keyup"],y),d}function Le($={}){$=Object.assign({onchange:()=>0,className:"",elements:[]},$);const d=c($.elements,"click",g=>{$.elements.forEach(h=>h.classList[g.target===h?"add":"remove"]($.className)),$.onchange(g),g.stopPropagation()});return{destroy:()=>p(...d)}}const ae={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},re=($,d,g)=>{const h=typeof $!="object"||$ instanceof HTMLElement?{reference:$,popper:d,...g}:$;return{update(y=h){const{reference:f,popper:k}=Object.assign(h,y);if(!k||!f)throw new Error("Popper- or reference-element missing.");return((C,L,A)=>{const{container:E,arrow:O,margin:U,padding:Z,position:W,variantFlipOrder:J,positionFlipOrder:K}={container:document.documentElement.getBoundingClientRect(),...ae,...A},{left:Y,top:ne}=L.style;L.style.left="0",L.style.top="0";const xe=C.getBoundingClientRect(),Q=L.getBoundingClientRect(),Pe={t:xe.top-Q.height-U,b:xe.bottom+U,r:xe.right+U,l:xe.left-Q.width-U},Ce={vs:xe.left,vm:xe.left+xe.width/2-Q.width/2,ve:xe.left+xe.width-Q.width,hs:xe.top,hm:xe.bottom-xe.height/2-Q.height/2,he:xe.bottom-Q.height},[He,Ee="middle"]=W.split("-"),je=K[He],Ze=J[Ee],{top:Ie,left:j,bottom:H,right:G}=E;for(const Se of je){const Ae=Se==="t"||Se==="b";let qe=Pe[Se];const[ze,ve]=Ae?["top","left"]:["left","top"],[ee,_e]=Ae?[Q.height,Q.width]:[Q.width,Q.height],[De,z]=Ae?[H,G]:[G,H],[pe,et]=Ae?[Ie,j]:[j,Ie];if(!(qeDe))for(const dt of Ze){let Ge=Ce[(Ae?"v":"h")+dt];if(!(Gez)){if(Ge-=Q[ve],qe-=Q[ze],L.style[ve]=`${Ge}px`,L.style[ze]=`${qe}px`,O){const rt=Ae?xe.width/2:xe.height/2,Ue=_e/2,ct=rt>Ue,Ve=Ge+{s:ct?Ue:rt,m:Ue,e:ct?Ue:_e-rt}[dt],ut=qe+{t:ee,b:0,r:0,l:ee}[Se];O.style[ve]=`${Ve}px`,O.style[ze]=`${ut}px`}return Se+dt}}}return L.style.left=Y,L.style.top=ne,null})(f,k,h)}}},ce=class ce{constructor(d){Xe(this,"_initializingActive",!0);Xe(this,"_recalc",!0);Xe(this,"_nanopop",null);Xe(this,"_root",null);Xe(this,"_color",D());Xe(this,"_lastColor",D());Xe(this,"_swatchColors",[]);Xe(this,"_setupAnimationFrame",null);Xe(this,"_eventListener",{init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]});this.options=d=Object.assign({...ce.DEFAULT_OPTIONS},d);const{swatches:g,components:h,theme:y,sliders:f,lockOpacity:k,padding:C}=d;["nano","monolith"].includes(y)&&!f&&(d.sliders="h"),h.interaction||(h.interaction={});const{preview:L,opacity:A,hue:E,palette:O}=h;h.opacity=!k&&A,h.palette=O||L||A||E,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),g&&g.length&&g.forEach(J=>this.addSwatch(J));const{button:U,app:Z}=this._root;this._nanopop=re(U,Z,{margin:C}),U.setAttribute("role","button"),U.setAttribute("aria-label",this._t("btn:toggle"));const W=this;this._setupAnimationFrame=requestAnimationFrame(function J(){if(!Z.offsetWidth)return requestAnimationFrame(J);W.setColor(d.default),W._rePositioningPicker(),d.defaultRepresentation&&(W._representation=d.defaultRepresentation,W.setColorRepresentation(W._representation)),d.showAlways&&W.show(),W._initializingActive=!1,W._emit("init")})}_preBuild(){const{options:d}=this;for(const g of["el","container"])d[g]=_(d[g]);this._root=(g=>{const{components:h,useAsButton:y,inline:f,appClass:k,theme:C,lockOpacity:L}=g.options,A=Z=>Z?"":'style="display:none" hidden',E=Z=>g._t(Z),O=v(` +
+ + ${y?"":''} + +
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+ +
+ + + + + + + + + + + +
+
+
+ `),U=O.interaction;return U.options.find(Z=>!Z.hidden&&!Z.classList.add("active")),U.type=()=>U.options.find(Z=>Z.classList.contains("active")),O})(this),d.useAsButton&&(this._root.button=d.el),d.container.appendChild(this._root.root)}_finalBuild(){const d=this.options,g=this._root;if(d.container.removeChild(g.root),d.inline){const h=d.el.parentElement;d.el.nextSibling?h.insertBefore(g.app,d.el.nextSibling):h.appendChild(g.app)}else d.container.appendChild(g.app);d.useAsButton?d.inline&&d.el.remove():d.el.parentNode.replaceChild(g.root,d.el),d.disabled&&this.disable(),d.comparison||(g.button.style.transition="none",d.useAsButton||(g.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){const d=this,g=this.options.components,h=(d.options.sliders||"v").repeat(2),[y,f]=h.match(/^[vh]+$/g)?h:[],k=()=>this._color||(this._color=this._lastColor.clone()),C={palette:de({element:d._root.palette.picker,wrapper:d._root.palette.palette,onstop:()=>d._emit("changestop","slider",d),onchange(L,A){if(!g.palette)return;const E=k(),{_root:O,options:U}=d,{lastColor:Z,currentColor:W}=O.preview;d._recalc&&(E.s=100*L,E.v=100-100*A,E.v<0&&(E.v=0),d._updateOutput("slider"));const J=E.toRGBA().toString(0);this.element.style.background=J,this.wrapper.style.background=` + linear-gradient(to top, rgba(0, 0, 0, ${E.a}), transparent), + linear-gradient(to left, hsla(${E.h}, 100%, 50%, ${E.a}), rgba(255, 255, 255, ${E.a})) + `,U.comparison?U.useAsButton||d._lastColor||Z.style.setProperty("--pcr-color",J):(O.button.style.setProperty("--pcr-color",J),O.button.classList.remove("clear"));const K=E.toHEXA().toString();for(const{el:Y,color:ne}of d._swatchColors)Y.classList[K===ne.toHEXA().toString()?"add":"remove"]("pcr-active");W.style.setProperty("--pcr-color",J)}}),hue:de({lock:f==="v"?"h":"v",element:d._root.hue.picker,wrapper:d._root.hue.slider,onstop:()=>d._emit("changestop","slider",d),onchange(L){if(!g.hue||!g.palette)return;const A=k();d._recalc&&(A.h=360*L),this.element.style.backgroundColor=`hsl(${A.h}, 100%, 50%)`,C.palette.trigger()}}),opacity:de({lock:y==="v"?"h":"v",element:d._root.opacity.picker,wrapper:d._root.opacity.slider,onstop:()=>d._emit("changestop","slider",d),onchange(L){if(!g.opacity||!g.palette)return;const A=k();d._recalc&&(A.a=Math.round(100*L)/100),this.element.style.background=`rgba(0, 0, 0, ${A.a})`,C.palette.trigger()}}),selectable:Le({elements:d._root.interaction.options,className:"active",onchange(L){d._representation=L.target.getAttribute("data-type").toUpperCase(),d._recalc&&d._updateOutput("swatch")}})};this._components=C}_bindEvents(){const{_root:d,options:g}=this,h=[c(d.interaction.clear,"click",()=>this._clearColor()),c([d.interaction.cancel,d.preview.lastColor],"click",()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")}),c(d.interaction.save,"click",()=>{!this.applyColor()&&!g.showAlways&&this.hide()}),c(d.interaction.result,["keyup","input"],y=>{this.setColor(y.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),y.stopImmediatePropagation()}),c(d.interaction.result,["focus","blur"],y=>{this._recalc=y.type==="blur",this._recalc&&this._updateOutput(null)}),c([d.palette.palette,d.palette.picker,d.hue.slider,d.hue.picker,d.opacity.slider,d.opacity.picker],["mousedown","touchstart"],()=>this._recalc=!0,{passive:!0})];if(!g.showAlways){const y=g.closeWithKey;h.push(c(d.button,"click",()=>this.isOpen()?this.hide():this.show()),c(document,"keyup",f=>this.isOpen()&&(f.key===y||f.code===y)&&this.hide()),c(document,["touchstart","mousedown"],f=>{this.isOpen()&&!x(f).some(k=>k===d.app||k===d.button)&&this.hide()},{capture:!0}))}if(g.adjustableNumbers){const y={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};T(d.interaction.result,(f,k,C)=>{const L=y[this.getColorRepresentation().toLowerCase()];if(L){const A=L[C],E=f+(A>=100?1e3*k:k);return E<=0?0:Number((E{f.isOpen()&&(g.closeOnScroll&&f.hide(),y===null?(y=setTimeout(()=>y=null,100),requestAnimationFrame(function k(){f._rePositioningPicker(),y!==null&&requestAnimationFrame(k)})):(clearTimeout(y),y=setTimeout(()=>y=null,100)))},{capture:!0}))}this._eventBindings=h}_rePositioningPicker(){const{options:d}=this;if(!d.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:d.position})){const g=this._root.app,h=g.getBoundingClientRect();g.style.top=(window.innerHeight-h.height)/2+"px",g.style.left=(window.innerWidth-h.width)/2+"px"}}_updateOutput(d){const{_root:g,_color:h,options:y}=this;if(g.interaction.type()){const f=`to${g.interaction.type().getAttribute("data-type")}`;g.interaction.result.value=typeof h[f]=="function"?h[f]().toString(y.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",h,d,this)}_clearColor(d=!1){const{_root:g,options:h}=this;h.useAsButton||g.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),g.button.classList.add("clear"),h.showAlways||this.hide(),this._lastColor=null,this._initializingActive||d||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(d){const{values:g,type:h,a:y}=te(d),{lockOpacity:f}=this.options,k=y!==void 0&&y!==1;return g&&g.length===3&&(g[3]=void 0),{values:!g||f&&k?null:g,type:h}}_t(d){return this.options.i18n[d]||ce.I18N_DEFAULTS[d]}_emit(d,...g){this._eventListener[d].forEach(h=>h(...g,this))}on(d,g){return this._eventListener[d].push(g),this}off(d,g){const h=this._eventListener[d]||[],y=h.indexOf(g);return~y&&h.splice(y,1),this}addSwatch(d){const{values:g}=this._parseLocalColor(d);if(g){const{_swatchColors:h,_root:y}=this,f=D(...g),k=w(`'} - -
-
-
- -
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
- -
- -
- - - - - - - - - - - -
-
- - `),K=q.interaction;return K.options.find(Q=>!Q.hidden&&!Q.classList.add("active")),K.type=()=>K.options.find(Q=>Q.classList.contains("active")),q})(this),c.useAsButton&&(this._root.button=c.el),c.container.appendChild(this._root.root)}_finalBuild(){const c=this.options,p=this._root;if(c.container.removeChild(p.root),c.inline){const g=c.el.parentElement;c.el.nextSibling?g.insertBefore(p.app,c.el.nextSibling):g.appendChild(p.app)}else c.container.appendChild(p.app);c.useAsButton?c.inline&&c.el.remove():c.el.parentNode.replaceChild(p.root,c.el),c.disabled&&this.disable(),c.comparison||(p.button.style.transition="none",c.useAsButton||(p.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){const c=this,p=this.options.components,g=(c.options.sliders||"v").repeat(2),[_,h]=g.match(/^[vh]+$/g)?g:[],y=()=>this._color||(this._color=this._lastColor.clone()),v={palette:J({element:c._root.palette.picker,wrapper:c._root.palette.palette,onstop:()=>c._emit("changestop","slider",c),onchange(k,L){if(!p.palette)return;const P=y(),{_root:q,options:K}=c,{lastColor:Q,currentColor:O}=q.preview;c._recalc&&(P.s=100*k,P.v=100-100*L,P.v<0&&(P.v=0),c._updateOutput("slider"));const Z=P.toRGBA().toString(0);this.element.style.background=Z,this.wrapper.style.background=` - linear-gradient(to top, rgba(0, 0, 0, ${P.a}), transparent), - linear-gradient(to left, hsla(${P.h}, 100%, 50%, ${P.a}), rgba(255, 255, 255, ${P.a})) - `,K.comparison?K.useAsButton||c._lastColor||Q.style.setProperty("--pcr-color",Z):(q.button.style.setProperty("--pcr-color",Z),q.button.classList.remove("clear"));const G=P.toHEXA().toString();for(const{el:X,color:ke}of c._swatchColors)X.classList[G===ke.toHEXA().toString()?"add":"remove"]("pcr-active");O.style.setProperty("--pcr-color",Z)}}),hue:J({lock:h==="v"?"h":"v",element:c._root.hue.picker,wrapper:c._root.hue.slider,onstop:()=>c._emit("changestop","slider",c),onchange(k){if(!p.hue||!p.palette)return;const L=y();c._recalc&&(L.h=360*k),this.element.style.backgroundColor=`hsl(${L.h}, 100%, 50%)`,v.palette.trigger()}}),opacity:J({lock:_==="v"?"h":"v",element:c._root.opacity.picker,wrapper:c._root.opacity.slider,onstop:()=>c._emit("changestop","slider",c),onchange(k){if(!p.opacity||!p.palette)return;const L=y();c._recalc&&(L.a=Math.round(100*k)/100),this.element.style.background=`rgba(0, 0, 0, ${L.a})`,v.palette.trigger()}}),selectable:we({elements:c._root.interaction.options,className:"active",onchange(k){c._representation=k.target.getAttribute("data-type").toUpperCase(),c._recalc&&c._updateOutput("swatch")}})};this._components=v}_bindEvents(){const{_root:c,options:p}=this,g=[d(c.interaction.clear,"click",()=>this._clearColor()),d([c.interaction.cancel,c.preview.lastColor],"click",()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")}),d(c.interaction.save,"click",()=>{!this.applyColor()&&!p.showAlways&&this.hide()}),d(c.interaction.result,["keyup","input"],_=>{this.setColor(_.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),_.stopImmediatePropagation()}),d(c.interaction.result,["focus","blur"],_=>{this._recalc=_.type==="blur",this._recalc&&this._updateOutput(null)}),d([c.palette.palette,c.palette.picker,c.hue.slider,c.hue.picker,c.opacity.slider,c.opacity.picker],["mousedown","touchstart"],()=>this._recalc=!0,{passive:!0})];if(!p.showAlways){const _=p.closeWithKey;g.push(d(c.button,"click",()=>this.isOpen()?this.hide():this.show()),d(document,"keyup",h=>this.isOpen()&&(h.key===_||h.code===_)&&this.hide()),d(document,["touchstart","mousedown"],h=>{this.isOpen()&&!x(h).some(y=>y===c.app||y===c.button)&&this.hide()},{capture:!0}))}if(p.adjustableNumbers){const _={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};B(c.interaction.result,(h,y,v)=>{const k=_[this.getColorRepresentation().toLowerCase()];if(k){const L=k[v],P=h+(L>=100?1e3*y:y);return P<=0?0:Number((P{h.isOpen()&&(p.closeOnScroll&&h.hide(),_===null?(_=setTimeout(()=>_=null,100),requestAnimationFrame(function y(){h._rePositioningPicker(),_!==null&&requestAnimationFrame(y)})):(clearTimeout(_),_=setTimeout(()=>_=null,100)))},{capture:!0}))}this._eventBindings=g}_rePositioningPicker(){const{options:c}=this;if(!c.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:c.position})){const p=this._root.app,g=p.getBoundingClientRect();p.style.top=(window.innerHeight-g.height)/2+"px",p.style.left=(window.innerWidth-g.width)/2+"px"}}_updateOutput(c){const{_root:p,_color:g,options:_}=this;if(p.interaction.type()){const h=`to${p.interaction.type().getAttribute("data-type")}`;p.interaction.result.value=typeof g[h]=="function"?g[h]().toString(_.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",g,c,this)}_clearColor(c=!1){const{_root:p,options:g}=this;g.useAsButton||p.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),p.button.classList.add("clear"),g.showAlways||this.hide(),this._lastColor=null,this._initializingActive||c||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(c){const{values:p,type:g,a:_}=F(c),{lockOpacity:h}=this.options,y=_!==void 0&&_!==1;return p&&p.length===3&&(p[3]=void 0),{values:!p||h&&y?null:p,type:g}}_t(c){return this.options.i18n[c]||le.I18N_DEFAULTS[c]}_emit(c,...p){this._eventListener[c].forEach(g=>g(...p,this))}on(c,p){return this._eventListener[c].push(p),this}off(c,p){const g=this._eventListener[c]||[],_=g.indexOf(p);return~_&&g.splice(_,1),this}addSwatch(c){const{values:p}=this._parseLocalColor(c);if(p){const{_swatchColors:g,_root:_}=this,h=U(...p),y=b(`