Repository: sosy-lab/benchexec (language: python)

Issue:
Add Reset Button to the scatter and quantile plot webpage
Can we consider adding a reset button to the scatter and quantile plot webpage?
The reset button will provide a convenient way for users to revert the graph to its original state, resetting all modifications made through the dropdown list.
https://sosy-lab.github.io/benchexec/example-table/svcomp-simple-cbmc-cpachecker.table.html#/scatter



Discussion / hints:
Yes, I would say this is a nice idea.
Can I work on this ?
Sure, AFAIK there is nobody working on it right now.

Fix patch:
diff --git a/benchexec/tablegenerator/react-table/build/main.min.css b/benchexec/tablegenerator/react-table/build/main.min.css
index 87193d187..867bb8dc7 100644
--- a/benchexec/tablegenerator/react-table/build/main.min.css
+++ b/benchexec/tablegenerator/react-table/build/main.min.css
@@ -1,1 +1,1 @@
-body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{overflow-x:hidden}.App{font-family:Droid Sans,Liberation Sans,Ubuntu,Trebuchet MS,Tahoma,Arial,Verdana,sans-serif}.correct{color:green}.error{color:#f0f}.correct-unconfirmed,.unknown{color:#71bcff}.wrong{color:red}.link{color:#71bcff;text-decoration:underline}.btn,.link{cursor:pointer}.btn{background-size:300% 100%;box-shadow:0 4px 12px 0 rgba(113,188,255,.2);height:35px;margin:0 10px 9px 0;text-align:center;transition:all .4s ease-in-out}.btn:hover{background:#71bcff}.btn:disabled{cursor:default}.btn:disabled,.btn:disabled:hover{background:#a9a9a9}.btn-apply{background:#71bcff;box-shadow:0 4px 12px 0 rgba(113,188,255,.5);margin-left:100px}.btn-apply:hover{background:#fff}.selectColumns{background-color:#fff;cursor:pointer;font-weight:700}.selectColumns:hover{background-color:#ccc}.header__tool-infos{font-weight:700}.table{white-space:nowrap}.table .table-container{min-width:-webkit-fit-content!important;min-width:-moz-fit-content!important;min-width:fit-content!important}.table .table-content{overflow:auto}.table.sticky .td,.table.sticky .th{background:#fff}.table.sticky .header{position:-webkit-sticky;position:sticky;text-align:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.table.sticky .body{position:relative;z-index:0}.table.sticky [data-sticky-td]{position:-webkit-sticky;position:sticky}.table.sticky [data-sticky-last-left-td]{border-right:1px solid #ccc}.table.sticky [data-sticky-first-right-td]{border-left:1px solid #ccc}.table .table-header .th.outer{background-color:#f7f7f7}.table .table-header .clickable{display:flex;justify-content:center}.table .table-header .clickable:hover{background-color:#ccc;cursor:pointer}.table .td,.table .th{overflow:hidden}.table .resizer{background-color:transparent!important;bottom:0;display:inline-block;position:absolute;right:0;top:0;-webkit-transform:translateX(50%);transform:translateX(50%);width:36px;z-index:2}.table .resizer.isResizing{background:red}.table .separator{background:#adadad!important;margin:0!important;max-width:2px;padding:0!important}.overview{background:#fff}.overview .filterBox{background-color:#fff;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);display:flex;flex-direction:column;height:100vh;max-width:-webkit-max-content;max-width:max-content;min-width:-webkit-min-content;min-width:min-content;position:absolute;right:0;transition:all .5s ease-in-out;width:40vw;z-index:9998}.overview .filterBox .filter-card{-webkit-touch-callout:none;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);margin-top:18px;-webkit-user-select:none;user-select:none;width:100%}.overview .filterBox .filter-card--container{margin-bottom:8px;overflow-y:scroll}.overview .filterBox .filter-card--body{display:flex;flex-direction:column;list-style:none;margin:10px 25px;text-align:left}.overview .filterBox .filter-card--body--list{list-style:none}.overview .filterBox .filter-card--body--empty-rows{margin-bottom:1em}.overview .filterBox .filter-card--body .task-id-filters{align-items:center;display:flex;flex-direction:column;justify-content:space-between}.overview .filterBox .filter-card--body .task-id-filters input{margin-bottom:15px}.overview .filterBox .filter-card--range-container{display:flex;justify-content:space-between}.overview .filterBox .filter-card--range-input-fields{grid-gap:1rem;display:grid}.overview .filterBox .filter-card--range-input-fields input{width:93%}.overview .filterBox .filter-card--range-input-fields .range-input-fields--min{grid-column-end:2;grid-column-start:1}.overview .filterBox .filter-card--range-input-fields .range-input-fields--max{grid-column-end:3;grid-column-start:2}.overview .filterBox .filter-card--header{align-items:center;background-color:#b8ddff;display:flex;min-height:35px;position:relative;width:100%}.overview .filterBox .filter-card--header .filter-selection{margin-left:25px}.overview .filterBox .filter-card--header .check-button{color:green;margin-left:15px}.overview .filterBox .filter-card--header .delete-button{cursor:pointer;position:absolute;right:12px}.overview .filterBox .filter-card--header .title{font-size:18px;margin:0 0 0 25px;padding:3px}.overview .filterBox--hidden{right:-100vw}.overview .filterBox--header{align-items:center;background-color:#88c7ff;display:flex;height:35px;padding:5px 20px}.overview .filterBox--header--icon{cursor:pointer;margin-right:15px}.overview .filterBox--header--reset{background-color:hsla(0,0%,100%,.5);border:none;cursor:auto;height:100%}.overview .filterBox--header--reset-icon{cursor:pointer;position:absolute;right:20px}.overview .filterBox--header--reset:disabled{background:none;border:none;color:#000;display:inline-block;font-weight:600}.overview .filterBox--header--reset:disabled .hide{display:none}.overview .filterBox--container{align-items:center;display:flex;flex-direction:column;margin-left:20px;margin-right:20px;text-align:center}.overview .filterBox--container h4{font-size:18px;margin-bottom:0;margin-top:2.5rem}.overview .filterBox--container .hidden{display:none!important}.overview .filterBox--container .filter-add-button{align-items:center;background-color:#71bcff;border-radius:28px;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);color:#fff;cursor:pointer;display:flex;flex-direction:row;justify-content:center;min-height:23px;min-width:23px;padding:5px;transition:all .5s ease-in-out}.overview .menu{align-items:flex-start;background:#71bcff;display:flex;font-weight:700;padding:10px 10px 0;width:calc(100% - 20px);z-index:100}.overview .menu .menu-item{background:hsla(0,0%,100%,.5);border-radius:8px 8px 0 0;color:#000;font-size:14px;height:17px;margin-right:1px;padding:8px 13px;text-decoration:none;white-space:nowrap}.overview .menu .menu-item.selected{background:#fff}.overview .route-container{max-height:calc(100vh - 43px);overflow:auto}.overview button{cursor:pointer}.overview button:disabled{display:none}.overview button.reset{background:hsla(0,0%,100%,.5);border:none;border-radius:0 0 8px 8px;color:#000;display:block;font-size:12px;padding:5px;position:fixed;right:10px;top:0}.overview button.reset .filter-icon{margin-left:10px;margin-right:5px}.overview button.reset .highlight{font-weight:700}.overview button.reset:disabled{cursor:auto}.overview button.reset:disabled .hide{visibility:hidden}#summary{padding-top:30px;text-align:center}#summary #benchmark_setup{margin:40px 0;overflow-x:scroll;width:100%}#summary #benchmark_setup table{border-collapse:collapse;width:100%}#summary #benchmark_setup table td,#summary #benchmark_setup table th{border:1px solid #ddd;padding:8px}#summary #benchmark_setup table .options ul{margin:0;padding:0 0 0 17px}#summary #benchmark_setup table .options li{font-size:9pt;list-style:none;text-align:left}#summary #benchmark_setup table .benchmark,#summary #benchmark_setup table th{font-weight:700}#summary #benchmark_setup table tr:nth-child(2n){background-color:#eee}#summary #benchmark_setup table tr:hover{background-color:#ddd}#summary #benchmark_setup table th{padding-bottom:8px;padding-top:8px;text-align:left;width:14vw}#summary #statistics #statistics-placeholder{background-color:#f7f7f7;border-bottom:1px solid #adadad;border-top:1px solid #adadad;padding:1em}#summary #statistics #statistics-table>.table .table-content .td{padding:8px 5px}#summary #statistics #statistics-table>.table .table-content .table-header .tr:nth-of-type(2){box-shadow:0 2px 15px 0 rgba(0,0,0,.15);position:relative;z-index:10}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th{padding:5px}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th:not(:first-of-type){border-right:1px solid rgba(0,0,0,.05)}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th.outer{text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th .header-data{height:100%}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th .selectColumns{display:block;overflow:hidden;text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-body .td .cell{padding:0;text-align:right}#summary #statistics #statistics-table>.table .table-content .table-body .row-title{font-weight:700;overflow:hidden;text-align:left;text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-body .tr{border-bottom:1px solid #adadad}#summary p{margin-top:40px}.main-table .table{display:flex;flex-direction:column;height:calc(100vh - 43px)}.main-table .table a{display:block;text-decoration:none}.main-table .table a:hover{background-color:#ccc}.main-table .table a:focus{outline:1px dotted red}.main-table .table .tr .td:first-of-type,.main-table .table .tr .th:first-of-type{border-right:1px solid #ccc}.main-table .table .fixed-task-header{justify-content:space-around;margin:auto;width:33%}.main-table .table .fixed-task-header input{width:100%}.main-table .table .table-content{flex:auto 1;overflow-y:scroll}.main-table .table .table-content .td{border-right:1px solid rgba(0,0,0,.02)}.main-table .table .table-content .td.reg-column{align-items:center;display:flex;justify-content:flex-end}.main-table .table .table-content .td.reg-column a{width:100%}.main-table .table .table-content .td.reg-column div{padding:5px 3px}.main-table .table .table-content .table-header{position:-webkit-sticky;position:sticky;top:0;z-index:3}.main-table .table .table-content .table-header>.tr:first-of-type{border-bottom:1px solid #f2f2f2}.main-table .table .table-content .table-header .shadow-container{box-shadow:0 2px 15px 0 rgba(0,0,0,.15);position:relative;z-index:10}.main-table .table .table-content .table-header .shadow-container .th:not(:first-of-type){border-right:1px solid rgba(0,0,0,.05)}.main-table .table .table-content .table-header .tr.filter{border-bottom:1px solid rgba(0,0,0,.05)}.main-table .table .table-content .th.header{position:relative}.main-table .table .table-content .th.header:last-child{overflow:hidden}.main-table .table .table-content .th.header.fixed-task,.main-table .table .table-content .th.header.reg-column{font-weight:400}.main-table .table .table-content .th.header:not(.separator):not(.filter)>*{overflow:hidden;padding:5px;text-overflow:ellipsis}.main-table .table .table-content .th.header .header-sort-container{height:calc(100% - 10px)}.main-table .table .table-content .th.header .header-sort-container.sorted-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,.6)}.main-table .table .table-content .th.header .header-sort-container.sorted-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,.6)}.main-table .table .table-content .th.header.filter{padding:5px}.main-table .table .table-content .th.header.filter .filter-field{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-size:inherit;padding:5px 7px;text-align:right;width:100%}.main-table .table .table-content .th.header.filter .filter-field *{text-align:left}.main-table .table .table-content .table-body span{text-align:center}.main-table .table .table-content .table-body .tr{border-bottom:1px solid #f2f2f2}.main-table .table .table-content .table-body .tr:hover .td{background:#f2f2f2}.main-table .table .table-content .table-body .row_id:not(:first-child){border-left:1px solid #000;color:#484848;font-size:9pt;height:100%;margin-left:5px;padding-left:5px}.main-table .table .table-content .table-body .td{padding:1px;text-align:right}.main-table .table .table-content .table-body .td>a{margin-left:1ex;padding:5px 3px}.main-table .table .table-content .table-body .row__name--cellLink{color:#000}.main-table .table .pagination{align-items:stretch;align-items:center;background:#fff;border-top:2px solid rgba(0,0,0,.1);bottom:0;box-shadow:0 0 15px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap;justify-content:space-between;padding:3px;position:-webkit-sticky;position:sticky;z-index:99;z-index:1}.main-table .table .pagination .pagination-container{align-items:center;display:flex;height:100%;justify-content:space-around}.main-table .table .pagination .pagination-container#pagination-next,.main-table .table .pagination .pagination-container#pagination-previous{flex:1 1}.main-table .table .pagination .pagination-container#pagination-next .pagination-element,.main-table .table .pagination .pagination-container#pagination-previous .pagination-element{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.main-table .table .pagination .pagination-container#pagination-center{display:flex;flex:1.5 1;flex-direction:row;flex-wrap:wrap;justify-content:space-around}.main-table .table .pagination .pagination-container#pagination-center input,.main-table .table .pagination .pagination-container#pagination-center select{background:#fff;border:1px solid rgba(0,0,0,.1)}.main-table .table .pagination .pagination-container#pagination-center .pagination-element{margin:3px 10px}.main-table .table .pagination .pagination-container .pagination-element{border-radius:3px;text-align:center}.main-table .table .pagination .pagination-container .pagination-element.button{background:rgba(0,0,0,.1);border-radius:3px;color:rgba(0,0,0,.6);cursor:pointer;outline-width:0;transition:all .1s ease}.main-table .table .pagination .pagination-container .pagination-element.button.disabled{cursor:default;opacity:.5}.main-table .table .pagination .pagination-container .pagination-element.button:not(.disabled):hover{background:rgba(0,0,0,.3);color:#fff}.main-table .table .pagination .pagination-container .pagination-element#goto-page-element{white-space:nowrap}.main-table .table .pagination .pagination-container .pagination-element#goto-page-element input{border-radius:3px;font-size:inherit;margin:0 5px;padding:5px 7px;text-align:center;width:55px}.main-table .table .pagination .pagination-container .pagination-element#set-page-element select{border-radius:3px;font-size:inherit;padding:5px 7px}.main-table .aborted{text-align:center}.main-table .aborted:after{content:"—"}.main-table input::-webkit-input-placeholder{color:#d3d3d3}.main-table input::placeholder{color:#d3d3d3}.quantilePlot{margin:20px}.quantilePlot .rv-discrete-color-legend{max-width:50vw;width:-webkit-max-content;width:max-content}.quantilePlot .rv-discrete-color-legend-item.clickable{padding:3px 10px;white-space:normal}.quantilePlot .rv-discrete-color-legend-item.clickable:hover{background:#ccc}.quantilePlot .settings-legend-container{justify-content:space-between}.quantilePlot .settings-container{flex-grow:0;min-width:0}.quantilePlot .settings-border-container,.quantilePlot .settings-subcontainer{justify-content:left;min-width:0}.quantilePlot .settings-subcontainer.flexible-width{flex:1 1 50%}.quantilePlot .setting.flexible-width{flex:1 0 60%;max-width:-webkit-max-content;max-width:max-content;min-width:0}.quantilePlot .setting.flexible-width .setting-select{min-width:120px}.scatterPlot{margin:20px;text-align:center}.scatterPlot__select select{margin:10px}.scatterPlot .middle-line .rv-xy-plot__axis__line{stroke:#71bcff}.scatterPlot__plot{margin:auto}.scatterPlot button{margin:10px}.scatterPlot .settings-container{margin-right:0}.scatterPlot .settings-subcontainer.flexible-width{flex:1 1 40vw;max-width:-webkit-max-content;max-width:max-content;min-width:0}.scatterPlot .settings-subcontainer.flexible-width .setting{flex:1 1 45%;max-width:-webkit-max-content;max-width:max-content;min-width:250px}.scatterPlot .settings-subcontainer.flexible-width .setting .setting-select{min-width:150px}.scatterPlot .settings-subcontainer.flexible-width .setting.icon{min-width:0}.scatterPlot .settings-subcontainer.flexible-width .setting.icon:hover{cursor:pointer}.settings-legend-container{display:flex}.settings-container{align-items:flex-start;display:flex;flex-grow:1;justify-content:center;margin-right:1em}.settings-border-container{border:1px solid rgba(0,0,0,.3);display:inline-flex;flex-wrap:wrap;justify-content:center;max-width:100%;padding:.5em}.settings-subcontainer{display:flex;flex-wrap:wrap;justify-content:center}.setting{align-items:center;display:flex}.setting-label{padding:.4em 1em;white-space:nowrap}.setting-label.with-tooltip{text-decoration:underline}.setting-label.with-tooltip:hover{cursor:help}.setting-select{border:1px solid #c3c3c3;border-radius:3px;cursor:pointer;height:25px;margin:.4em 1em .4em 0;padding-left:10px}.setting .disabled,.setting.disabled{color:rgba(0,0,0,.4)}.setting .disabled .setting-select,.setting.disabled .setting-select{cursor:not-allowed}.rv-discrete-color-legend{border:1px solid rgba(0,0,0,.3)}.rv-discrete-color-legend-item.clickable{white-space:nowrap}.plot__noresults{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.info{margin:40px}.info-header{display:flex;justify-content:space-between;margin:40px 0}.info-header h1{margin:0}.info-header span{border:1px solid #71bcff;font-size:9pt;padding:5px}.ReactModal__Body--open{overflow:hidden;-webkit-user-select:none;user-select:none}.ReactModal__Overlay{z-index:900}.overlay{background:#fff;border:5px solid gray;border-radius:5px;bottom:40px;left:20px;overflow:scroll;position:fixed;right:20px;top:80px;-webkit-user-select:text;user-select:text}.overlay h1{margin-bottom:40px}.overlay td,.overlay th{background:#fff;color:#8e8d8d;cursor:pointer;text-align:center}.overlay td label,.overlay th label{cursor:pointer}.overlay td.checked,.overlay th.checked{color:#000}.overlay th:first-child{background:#fff}.overlay td:first-child{text-align:left;width:30%}.overlay input{display:none}.overlay__buttons{display:flex;justify-content:center;width:100%}.overlay__buttons .btn{margin-top:50px;width:20vw}.overlay th{border-bottom:1px solid #000}.overlay .closing{border-radius:4px;cursor:pointer;font-size:120%}.overlay .closing:hover{background:#000;color:#fff}.overlay.second-level .link-overlay-header-container{background-color:#fff}.overlay.second-level .link-overlay-text{margin-top:0}.overlay .link-overlay-file-link{background-color:inherit;border:none;color:blue;font:inherit;text-decoration:underline}.overlay .link-overlay-file-link:hover{cursor:pointer}.overlay .link-overlay-header-container{display:flex;flex-direction:row-reverse;height:30px;justify-content:space-between;left:0;padding:10px 10px 0;pointer-events:none;position:-webkit-sticky;position:sticky;top:0}.overlay .link-overlay-header-container>*{pointer-events:auto}.overlay .link-overlay-back-button:hover{cursor:pointer}.overlay .link-overlay-back-icon{margin-right:1em}.overlay .link-overlay-text{margin-top:-30px;padding:0 10px 10px}.rt-td{text-align:left}.ReactTable{border:none!important}.tooltip{border-bottom:1px dotted #000;display:inline-block;position:relative;z-index:10}.tooltip .tooltiptext{background-color:#555;border-radius:6px;color:#fff;left:50%;margin-left:-60px;opacity:0;padding:5px 0;position:absolute;text-align:center;top:100%;transition:opacity .3s;visibility:hidden;width:120px;z-index:999999}.tooltip .tooltiptext:after{border:5px solid transparent;border-bottom-color:#000;bottom:100%;content:" ";left:50%;margin-left:-5px;position:absolute}.tooltip:hover .tooltiptext{opacity:1;visibility:visible}@media only screen and (max-width:700px){.quantilePlot .settings-legend-container{flex-wrap:wrap;justify-content:center}.quantilePlot .setting,.quantilePlot .setting-select,.quantilePlot .settings-subcontainer{flex-grow:1}.quantilePlot .setting.flexible-width{max-width:90vw;min-width:18em}.quantilePlot .setting.flexible-width .setting-select{max-width:75vw}.quantilePlot .settings-container{margin-right:0}.quantilePlot .rv-discrete-color-legend{margin:1em 0;max-width:95vw}}
\ No newline at end of file
+body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{overflow-x:hidden}.App{font-family:Droid Sans,Liberation Sans,Ubuntu,Trebuchet MS,Tahoma,Arial,Verdana,sans-serif}.correct{color:green}.error{color:#f0f}.correct-unconfirmed,.unknown{color:#71bcff}.wrong{color:red}.link{color:#71bcff;text-decoration:underline}.btn,.link{cursor:pointer}.btn{background-size:300% 100%;box-shadow:0 4px 12px 0 rgba(113,188,255,.2);height:35px;margin:0 10px 9px 0;text-align:center;transition:all .4s ease-in-out}.btn:hover{background:#71bcff}.btn:disabled{cursor:default}.btn:disabled,.btn:disabled:hover{background:#a9a9a9}.btn-apply{background:#71bcff;box-shadow:0 4px 12px 0 rgba(113,188,255,.5);margin-left:100px}.btn-apply:hover{background:#fff}.selectColumns{background-color:#fff;cursor:pointer;font-weight:700}.selectColumns:hover{background-color:#ccc}.header__tool-infos{font-weight:700}.table{white-space:nowrap}.table .table-container{min-width:-webkit-fit-content!important;min-width:-moz-fit-content!important;min-width:fit-content!important}.table .table-content{overflow:auto}.table.sticky .td,.table.sticky .th{background:#fff}.table.sticky .header{position:-webkit-sticky;position:sticky;text-align:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.table.sticky .body{position:relative;z-index:0}.table.sticky [data-sticky-td]{position:-webkit-sticky;position:sticky}.table.sticky [data-sticky-last-left-td]{border-right:1px solid #ccc}.table.sticky [data-sticky-first-right-td]{border-left:1px solid #ccc}.table .table-header .th.outer{background-color:#f7f7f7}.table .table-header .clickable{display:flex;justify-content:center}.table .table-header .clickable:hover{background-color:#ccc;cursor:pointer}.table .td,.table .th{overflow:hidden}.table .resizer{background-color:transparent!important;bottom:0;display:inline-block;position:absolute;right:0;top:0;-webkit-transform:translateX(50%);transform:translateX(50%);width:36px;z-index:2}.table .resizer.isResizing{background:red}.table .separator{background:#adadad!important;margin:0!important;max-width:2px;padding:0!important}.overview{background:#fff}.overview .filterBox{background-color:#fff;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);display:flex;flex-direction:column;height:100vh;max-width:-webkit-max-content;max-width:max-content;min-width:-webkit-min-content;min-width:min-content;position:absolute;right:0;transition:all .5s ease-in-out;width:40vw;z-index:9998}.overview .filterBox .filter-card{-webkit-touch-callout:none;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);margin-top:18px;-webkit-user-select:none;user-select:none;width:100%}.overview .filterBox .filter-card--container{margin-bottom:8px;overflow-y:scroll}.overview .filterBox .filter-card--body{display:flex;flex-direction:column;list-style:none;margin:10px 25px;text-align:left}.overview .filterBox .filter-card--body--list{list-style:none}.overview .filterBox .filter-card--body--empty-rows{margin-bottom:1em}.overview .filterBox .filter-card--body .task-id-filters{align-items:center;display:flex;flex-direction:column;justify-content:space-between}.overview .filterBox .filter-card--body .task-id-filters input{margin-bottom:15px}.overview .filterBox .filter-card--range-container{display:flex;justify-content:space-between}.overview .filterBox .filter-card--range-input-fields{grid-gap:1rem;display:grid}.overview .filterBox .filter-card--range-input-fields input{width:93%}.overview .filterBox .filter-card--range-input-fields .range-input-fields--min{grid-column-end:2;grid-column-start:1}.overview .filterBox .filter-card--range-input-fields .range-input-fields--max{grid-column-end:3;grid-column-start:2}.overview .filterBox .filter-card--header{align-items:center;background-color:#b8ddff;display:flex;min-height:35px;position:relative;width:100%}.overview .filterBox .filter-card--header .filter-selection{margin-left:25px}.overview .filterBox .filter-card--header .check-button{color:green;margin-left:15px}.overview .filterBox .filter-card--header .delete-button{cursor:pointer;position:absolute;right:12px}.overview .filterBox .filter-card--header .title{font-size:18px;margin:0 0 0 25px;padding:3px}.overview .filterBox--hidden{right:-100vw}.overview .filterBox--header{align-items:center;background-color:#88c7ff;display:flex;height:35px;padding:5px 20px}.overview .filterBox--header--icon{cursor:pointer;margin-right:15px}.overview .filterBox--header--reset{background-color:hsla(0,0%,100%,.5);border:none;cursor:auto;height:100%}.overview .filterBox--header--reset-icon{cursor:pointer;position:absolute;right:20px}.overview .filterBox--header--reset:disabled{background:none;border:none;color:#000;display:inline-block;font-weight:600}.overview .filterBox--header--reset:disabled .hide{display:none}.overview .filterBox--container{align-items:center;display:flex;flex-direction:column;margin-left:20px;margin-right:20px;text-align:center}.overview .filterBox--container h4{font-size:18px;margin-bottom:0;margin-top:2.5rem}.overview .filterBox--container .hidden{display:none!important}.overview .filterBox--container .filter-add-button{align-items:center;background-color:#71bcff;border-radius:28px;box-shadow:0 3px 6px 0 rgba(0,0,0,.15);color:#fff;cursor:pointer;display:flex;flex-direction:row;justify-content:center;min-height:23px;min-width:23px;padding:5px;transition:all .5s ease-in-out}.overview .menu{align-items:flex-start;background:#71bcff;display:flex;font-weight:700;padding:10px 10px 0;width:calc(100% - 20px);z-index:100}.overview .menu .menu-item{background:hsla(0,0%,100%,.5);border-radius:8px 8px 0 0;color:#000;font-size:14px;height:17px;margin-right:1px;padding:8px 13px;text-decoration:none;white-space:nowrap}.overview .menu .menu-item.selected{background:#fff}.overview .route-container{max-height:calc(100vh - 43px);overflow:auto}.overview button{cursor:pointer}.overview button:disabled{display:none}.overview button.reset{background:hsla(0,0%,100%,.5);border:none;border-radius:0 0 8px 8px;color:#000;display:block;font-size:12px;padding:5px;position:fixed;right:10px;top:0}.overview button.reset .filter-icon{margin-left:10px;margin-right:5px}.overview button.reset .highlight{font-weight:700}.overview button.reset:disabled{cursor:auto}.overview button.reset:disabled .hide{visibility:hidden}#summary{padding-top:30px;text-align:center}#summary #benchmark_setup{margin:40px 0;overflow-x:scroll;width:100%}#summary #benchmark_setup table{border-collapse:collapse;width:100%}#summary #benchmark_setup table td,#summary #benchmark_setup table th{border:1px solid #ddd;padding:8px}#summary #benchmark_setup table .options ul{margin:0;padding:0 0 0 17px}#summary #benchmark_setup table .options li{font-size:9pt;list-style:none;text-align:left}#summary #benchmark_setup table .benchmark,#summary #benchmark_setup table th{font-weight:700}#summary #benchmark_setup table tr:nth-child(2n){background-color:#eee}#summary #benchmark_setup table tr:hover{background-color:#ddd}#summary #benchmark_setup table th{padding-bottom:8px;padding-top:8px;text-align:left;width:14vw}#summary #statistics #statistics-placeholder{background-color:#f7f7f7;border-bottom:1px solid #adadad;border-top:1px solid #adadad;padding:1em}#summary #statistics #statistics-table>.table .table-content .td{padding:8px 5px}#summary #statistics #statistics-table>.table .table-content .table-header .tr:nth-of-type(2){box-shadow:0 2px 15px 0 rgba(0,0,0,.15);position:relative;z-index:10}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th{padding:5px}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th:not(:first-of-type){border-right:1px solid rgba(0,0,0,.05)}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th.outer{text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th .header-data{height:100%}#summary #statistics #statistics-table>.table .table-content .table-header .tr .th .selectColumns{display:block;overflow:hidden;text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-body .td .cell{padding:0;text-align:right}#summary #statistics #statistics-table>.table .table-content .table-body .row-title{font-weight:700;overflow:hidden;text-align:left;text-overflow:ellipsis}#summary #statistics #statistics-table>.table .table-content .table-body .tr{border-bottom:1px solid #adadad}#summary p{margin-top:40px}.main-table .table{display:flex;flex-direction:column;height:calc(100vh - 43px)}.main-table .table a{display:block;text-decoration:none}.main-table .table a:hover{background-color:#ccc}.main-table .table a:focus{outline:1px dotted red}.main-table .table .tr .td:first-of-type,.main-table .table .tr .th:first-of-type{border-right:1px solid #ccc}.main-table .table .fixed-task-header{justify-content:space-around;margin:auto;width:33%}.main-table .table .fixed-task-header input{width:100%}.main-table .table .table-content{flex:auto 1;overflow-y:scroll}.main-table .table .table-content .td{border-right:1px solid rgba(0,0,0,.02)}.main-table .table .table-content .td.reg-column{align-items:center;display:flex;justify-content:flex-end}.main-table .table .table-content .td.reg-column a{width:100%}.main-table .table .table-content .td.reg-column div{padding:5px 3px}.main-table .table .table-content .table-header{position:-webkit-sticky;position:sticky;top:0;z-index:3}.main-table .table .table-content .table-header>.tr:first-of-type{border-bottom:1px solid #f2f2f2}.main-table .table .table-content .table-header .shadow-container{box-shadow:0 2px 15px 0 rgba(0,0,0,.15);position:relative;z-index:10}.main-table .table .table-content .table-header .shadow-container .th:not(:first-of-type){border-right:1px solid rgba(0,0,0,.05)}.main-table .table .table-content .table-header .tr.filter{border-bottom:1px solid rgba(0,0,0,.05)}.main-table .table .table-content .th.header{position:relative}.main-table .table .table-content .th.header:last-child{overflow:hidden}.main-table .table .table-content .th.header.fixed-task,.main-table .table .table-content .th.header.reg-column{font-weight:400}.main-table .table .table-content .th.header:not(.separator):not(.filter)>*{overflow:hidden;padding:5px;text-overflow:ellipsis}.main-table .table .table-content .th.header .header-sort-container{height:calc(100% - 10px)}.main-table .table .table-content .th.header .header-sort-container.sorted-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,.6)}.main-table .table .table-content .th.header .header-sort-container.sorted-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,.6)}.main-table .table .table-content .th.header.filter{padding:5px}.main-table .table .table-content .th.header.filter .filter-field{background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-size:inherit;padding:5px 7px;text-align:right;width:100%}.main-table .table .table-content .th.header.filter .filter-field *{text-align:left}.main-table .table .table-content .table-body span{text-align:center}.main-table .table .table-content .table-body .tr{border-bottom:1px solid #f2f2f2}.main-table .table .table-content .table-body .tr:hover .td{background:#f2f2f2}.main-table .table .table-content .table-body .row_id:not(:first-child){border-left:1px solid #000;color:#484848;font-size:9pt;height:100%;margin-left:5px;padding-left:5px}.main-table .table .table-content .table-body .td{padding:1px;text-align:right}.main-table .table .table-content .table-body .td>a{margin-left:1ex;padding:5px 3px}.main-table .table .table-content .table-body .row__name--cellLink{color:#000}.main-table .table .pagination{align-items:stretch;align-items:center;background:#fff;border-top:2px solid rgba(0,0,0,.1);bottom:0;box-shadow:0 0 15px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap;justify-content:space-between;padding:3px;position:-webkit-sticky;position:sticky;z-index:99;z-index:1}.main-table .table .pagination .pagination-container{align-items:center;display:flex;height:100%;justify-content:space-around}.main-table .table .pagination .pagination-container#pagination-next,.main-table .table .pagination .pagination-container#pagination-previous{flex:1 1}.main-table .table .pagination .pagination-container#pagination-next .pagination-element,.main-table .table .pagination .pagination-container#pagination-previous .pagination-element{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.main-table .table .pagination .pagination-container#pagination-center{display:flex;flex:1.5 1;flex-direction:row;flex-wrap:wrap;justify-content:space-around}.main-table .table .pagination .pagination-container#pagination-center input,.main-table .table .pagination .pagination-container#pagination-center select{background:#fff;border:1px solid rgba(0,0,0,.1)}.main-table .table .pagination .pagination-container#pagination-center .pagination-element{margin:3px 10px}.main-table .table .pagination .pagination-container .pagination-element{border-radius:3px;text-align:center}.main-table .table .pagination .pagination-container .pagination-element.button{background:rgba(0,0,0,.1);border-radius:3px;color:rgba(0,0,0,.6);cursor:pointer;outline-width:0;transition:all .1s ease}.main-table .table .pagination .pagination-container .pagination-element.button.disabled{cursor:default;opacity:.5}.main-table .table .pagination .pagination-container .pagination-element.button:not(.disabled):hover{background:rgba(0,0,0,.3);color:#fff}.main-table .table .pagination .pagination-container .pagination-element#goto-page-element{white-space:nowrap}.main-table .table .pagination .pagination-container .pagination-element#goto-page-element input{border-radius:3px;font-size:inherit;margin:0 5px;padding:5px 7px;text-align:center;width:55px}.main-table .table .pagination .pagination-container .pagination-element#set-page-element select{border-radius:3px;font-size:inherit;padding:5px 7px}.main-table .aborted{text-align:center}.main-table .aborted:after{content:"—"}.main-table input::-webkit-input-placeholder{color:#d3d3d3}.main-table input::placeholder{color:#d3d3d3}.quantilePlot{margin:20px}.quantilePlot .rv-discrete-color-legend{max-width:50vw;width:-webkit-max-content;width:max-content}.quantilePlot .rv-discrete-color-legend-item.clickable{padding:3px 10px;white-space:normal}.quantilePlot .rv-discrete-color-legend-item.clickable:hover{background:#ccc}.quantilePlot .settings-legend-container{justify-content:space-between}.quantilePlot .settings-container{flex-grow:0;min-width:0}.quantilePlot .settings-border-container,.quantilePlot .settings-subcontainer{justify-content:left;min-width:0}.quantilePlot .settings-subcontainer.flexible-width{flex:1 1 50%}.quantilePlot .setting.flexible-width{flex:1 0 60%;max-width:-webkit-max-content;max-width:max-content;min-width:0}.quantilePlot .setting.flexible-width .setting-select{min-width:120px}.scatterPlot{margin:20px;text-align:center}.scatterPlot__select select{margin:10px}.scatterPlot .middle-line .rv-xy-plot__axis__line{stroke:#71bcff}.scatterPlot__plot{margin:auto}.scatterPlot button{margin:10px}.scatterPlot .settings-container{margin-right:0}.scatterPlot .settings-subcontainer.flexible-width{flex:1 1 40vw;max-width:-webkit-max-content;max-width:max-content;min-width:0}.scatterPlot .settings-subcontainer.flexible-width .setting{flex:1 1 45%;max-width:-webkit-max-content;max-width:max-content;min-width:250px}.scatterPlot .settings-subcontainer.flexible-width .setting .setting-select{min-width:150px}.scatterPlot .settings-subcontainer.flexible-width .setting.icon{min-width:0}.scatterPlot .settings-subcontainer.flexible-width .setting.icon:hover{cursor:pointer}.settings-legend-container{display:flex}.settings-container{align-items:flex-start;display:flex;flex-grow:1;justify-content:center;margin-right:1em}.settings-border-container{border:1px solid rgba(0,0,0,.3);display:inline-flex;flex-wrap:wrap;justify-content:center;max-width:100%;padding:.5em}.settings-subcontainer{flex-wrap:wrap;justify-content:center}.setting,.settings-subcontainer{align-items:center;display:flex}.setting-label{padding:.4em 1em;white-space:nowrap}.setting-label.with-tooltip{text-decoration:underline}.setting-label.with-tooltip:hover{cursor:help}.setting-select{border:1px solid #c3c3c3;border-radius:3px;cursor:pointer;height:25px;margin:.4em 1em .4em 0;padding-left:10px}.setting-button{height:25px;margin:.4em 1em}.setting .disabled,.setting.disabled{color:rgba(0,0,0,.4)}.setting .disabled .setting-select,.setting.disabled .setting-select{cursor:not-allowed}.rv-discrete-color-legend{border:1px solid rgba(0,0,0,.3)}.rv-discrete-color-legend-item.clickable{white-space:nowrap}.plot__noresults{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.info{margin:40px}.info-header{display:flex;justify-content:space-between;margin:40px 0}.info-header h1{margin:0}.info-header span{border:1px solid #71bcff;font-size:9pt;padding:5px}.ReactModal__Body--open{overflow:hidden;-webkit-user-select:none;user-select:none}.ReactModal__Overlay{z-index:900}.overlay{background:#fff;border:5px solid gray;border-radius:5px;bottom:40px;left:20px;overflow:scroll;position:fixed;right:20px;top:80px;-webkit-user-select:text;user-select:text}.overlay h1{margin-bottom:40px}.overlay td,.overlay th{background:#fff;color:#8e8d8d;cursor:pointer;text-align:center}.overlay td label,.overlay th label{cursor:pointer}.overlay td.checked,.overlay th.checked{color:#000}.overlay th:first-child{background:#fff}.overlay td:first-child{text-align:left;width:30%}.overlay input{display:none}.overlay__buttons{display:flex;justify-content:center;width:100%}.overlay__buttons .btn{margin-top:50px;width:20vw}.overlay th{border-bottom:1px solid #000}.overlay .closing{border-radius:4px;cursor:pointer;font-size:120%}.overlay .closing:hover{background:#000;color:#fff}.overlay.second-level .link-overlay-header-container{background-color:#fff}.overlay.second-level .link-overlay-text{margin-top:0}.overlay .link-overlay-file-link{background-color:inherit;border:none;color:blue;font:inherit;text-decoration:underline}.overlay .link-overlay-file-link:hover{cursor:pointer}.overlay .link-overlay-header-container{display:flex;flex-direction:row-reverse;height:30px;justify-content:space-between;left:0;padding:10px 10px 0;pointer-events:none;position:-webkit-sticky;position:sticky;top:0}.overlay .link-overlay-header-container>*{pointer-events:auto}.overlay .link-overlay-back-button:hover{cursor:pointer}.overlay .link-overlay-back-icon{margin-right:1em}.overlay .link-overlay-text{margin-top:-30px;padding:0 10px 10px}.rt-td{text-align:left}.ReactTable{border:none!important}.tooltip{border-bottom:1px dotted #000;display:inline-block;position:relative;z-index:10}.tooltip .tooltiptext{background-color:#555;border-radius:6px;color:#fff;left:50%;margin-left:-60px;opacity:0;padding:5px 0;position:absolute;text-align:center;top:100%;transition:opacity .3s;visibility:hidden;width:120px;z-index:999999}.tooltip .tooltiptext:after{border:5px solid transparent;border-bottom-color:#000;bottom:100%;content:" ";left:50%;margin-left:-5px;position:absolute}.tooltip:hover .tooltiptext{opacity:1;visibility:visible}@media only screen and (max-width:700px){.quantilePlot .settings-legend-container{flex-wrap:wrap;justify-content:center}.quantilePlot .setting,.quantilePlot .setting-select,.quantilePlot .settings-subcontainer{flex-grow:1}.quantilePlot .setting.flexible-width{max-width:90vw;min-width:18em}.quantilePlot .setting.flexible-width .setting-select{max-width:75vw}.quantilePlot .settings-container{margin-right:0}.quantilePlot .rv-discrete-color-legend{margin:1em 0;max-width:95vw}}
\ No newline at end of file
diff --git a/benchexec/tablegenerator/react-table/build/main.min.js b/benchexec/tablegenerator/react-table/build/main.min.js
index 84ed47c11..4f3f6c487 100644
--- a/benchexec/tablegenerator/react-table/build/main.min.js
+++ b/benchexec/tablegenerator/react-table/build/main.min.js
@@ -1,1 +1,1 @@
-!function(){var e={7415:function(e,t,n){"use strict";var i=n(7313),r=n(1168),s=n(5671),l=n(3144),a=n(136),o=n(1129),c=n(1413),u=n(3433),d=n(8303),h=n(3830),g=n(7762),f=n(9439),p=n(4942),m=n(5110),v=n(8567),I=n(5987),b=n(4506),C=n(2229),x=n.n(C),y=n(1969),Z=n(1875),j=n(6417),A=["ids"],F=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var r;return(0,s.Z)(this,n),(r=t.call(this,e)).childRef=i.createRef(),r}return(0,l.Z)(n,[{key:"render",value:function(){var e=this;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{ref:this.childRef,children:this.props.children}),(0,j.jsx)("button",{title:"Copy to clipboard",style:{margin:"1ex"},onClick:function(){x()(e.childRef.current.innerText,{format:"text/plain"})},children:(0,j.jsx)(y.G,{icon:Z.kZ_})})]})}}]),n}(i.Component),W="##########",N=function(e){return"count"===e.type||"measure"===e.type},B=function(e){return void 0===e||null===e},G=function(e,t){return B(e)||B(e.raw)?t:e.raw},w=function(e,t){var n=G(e,"").toLowerCase(),i=G(t,"").toLowerCase();return""===n?1:""===i?-1:n>i?1:n<i?-1:0},Y=function(e){return 0===e||200===e},S=function(e,t){var n,i=[],r=(0,g.Z)(t);try{for(r.s();!(n=r.n()).done;){var s=n.value;s!==e&&i.push(s)}}catch(l){r.e(l)}finally{r.f()}return i},V=function(e,t,n){var i=e.max_width;return t&&(i=Math.max(i,t)),n&&(i=Math.min(i,n)),i||(i=10),8*i+20},k=function(e,t,n){var i=function(e,t){var n,i=t,r=(0,g.Z)(e);try{for(r.s();!(n=r.n()).done;)if(i=i[n.value],B(i))return}catch(s){r.e(s)}finally{r.f()}return i}(e,n);return void 0===i?t:i},R=function(e){return e.unit?(0,j.jsxs)(j.Fragment,{children:[e.display_title,(0,j.jsx)("br",{}),"(".concat(e.unit,")")]}):e.display_title},H=function(e){var t=e.tool,n=e.date,i=e.niceName;return"".concat(t," ").concat(n," ").concat(i)},T=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],X=function(e){var t=(e||document.location.href).split("?"),n=t.length>1?t.slice(1).join("?"):void 0;if(void 0===n||0===n.length)return{};var i,r=n.split("&").map((function(e){return e.split("=")})),s={},l=(0,g.Z)(r);try{for(l.s();!(i=l.n()).done;){var a=(0,b.Z)(i.value),o=a[0],c=a.slice(1);s[decodeURI(o)]="filter"===o?c.join("="):decodeURI(c.join("="))}}catch(u){l.e(u)}finally{l.f()}return s},K=function(e){return Object.keys(e).filter((function(t){return void 0!==e[t]&&null!==e[t]})).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=X(e),i=(0,c.Z)((0,c.Z)({},n),t),r=K(i),s=e.split("?")[0];return{newUrl:r.length>0?"".concat(s,"?").concat(r):s,queryString:"?".concat(r)}},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=L(document.location.href,e),i=n.newUrl,r=n.queryString;t&&t.push?t.push(r):document.location.href=i},U=function(e){for(var t=[],n=0,i=Object.entries(e);n<i.length;n++){var r=(0,f.Z)(i[n],2),s=r[0],l=r[1];t.push("".concat(s,"(").concat(l.map(escape).join(","),")"))}return t.join(",")},D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i={};if(e.length>Math.floor(t.length/2)){var r,s=[],l=(0,g.Z)(t);try{for(l.s();!(r=l.n()).done;){var a=r.value;e.includes(a)||s.push(n?a.trim():a)}}catch(o){l.e(o)}finally{l.f()}i.notIn=s}else i.in=e.map((function(e){return n?e.trim():e}));return U(i)};function E(e,t,n,i,r){var s=[],l=e.statusValues,a=e.categoryValues,o=t[n][i],c=r[n][i],u=!!l,d=u&&l.length!==o.length,h=!!a,g=h&&a.length!==c.length;if(u){if(d){var f=D(l,o);s.push("status(".concat(f,")"))}h||s.push("category(empty())")}if(h&&(u||s.push("status(empty())"),g)){var p=D(a,c,!0);s.push("category(".concat(p,")"))}return s.join(",")}function P(e){if("string"!==typeof e)throw new Error("Invalid value type");return e.replaceAll("(","%28").replaceAll(")","%29")}var M,J=function(e){if("string"!==typeof e)throw new Error("Invalid value type for converting to RegExp");return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"ui")},z=function(e){if("string"!==typeof e)throw new Error("Invalid filter ID");var t=e.split("_");if(2===t.length)throw new Error("Invalid filter ID");return{tool:t[0],name:t.length>2?t.slice(1,-1).join("_"):void 0,column:t.length>2?t.at(-1):void 0}},_=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={},r=0,s="",l=(0,g.Z)(e);try{for(l.s();!(t=l.n()).done;){var a=t.value;if("("!==a){if(")"!==a)0!==r||","!==a?s+=a:s="";else if(s+=a,0===--r){var o=s.indexOf("("),c=s.substr(0,o),u=s.substr(o+1,s.length-1-(o+1));i[c]=n?decodeURIComponent(u):u}}else s+=a,r++}}catch(d){l.e(d)}finally{l.f()}return i},Q=function(e,t,n,i,r){return"values"===e?[{values:t.split(",").map(unescape)}]:"value"===e?[{value:unescape(t)}]:"status"===e||"category"===e?function(e,t,n,i,r){for(var s=_(t),l=[],a=0,o=Object.entries(s);a<o.length;a++){var c=(0,f.Z)(o[a],2),d=c[0],h=c[1];if("in"===d){var p=h.split(",").map(unescape);"category"===e&&(p=p.map((function(e){return"".concat(e," ")}))),l.push.apply(l,(0,u.Z)(p.map((function(e){return{value:e}}))))}if("notIn"===d){var m=h.split(",").map(unescape),v=[];if("category"===e){m=m.map((function(e){return"".concat(e," ")}));var I,b=(0,g.Z)(i[r]);try{for(b.s();!(I=b.n()).done;){var C=I.value;m.includes(C)||v.push({value:C})}}catch(j){b.e(j)}finally{b.f()}}else{var x,y=(0,g.Z)(n[r]);try{for(y.s();!(x=y.n()).done;){var Z=x.value;m.includes(Z)||v.push({value:Z})}}catch(j){y.e(j)}finally{y.f()}}l.push.apply(l,v)}}return l}(e,t,n,i,r):void 0},q=function(e){var t=e.categoryValues,n=e.statusValues;return function(e){for(var i=_(e),r=[],s=0,l=Object.entries(i);s<l.length;s++){var a=(0,f.Z)(l[s],2),o=a[0],d=a[1];if("id"!==o)if("id_any"!==o)for(var h=o,p=_(d),m={},v=0,I=Object.entries(p);v<I.length;v++){for(var b=(0,f.Z)(I[v],2),C=b[0],x=b[1],y=C.split("*"),Z=(0,f.Z)(y,2),j=Z[0],A=Z[1],F="".concat(h,"_").concat(decodeURIComponent(A),"_").concat(j),W=m[F]||[],N=_(x),B=0,G=Object.entries(N);B<G.length;B++){var w=(0,f.Z)(G[B],2),Y=w[0],S=w[1];W.push.apply(W,(0,u.Z)(Q(Y,S,n[h],t[h],j)))}for(var V=!1,k=!1,R=0,H=Object.keys(N);R<H.length;R++){var T=H[R];"status"===T?V=!0:"category"===T&&(k=!0)}(V&&!k||!V&&k)&&(V?W.push.apply(W,(0,u.Z)(t[h][j].map((function(e){return{value:e}})))):W.push.apply(W,(0,u.Z)(n[h][j].map((function(e){return{value:e}})))));var X,K=(0,g.Z)(W);try{for(K.s();!(X=K.n()).done;){var L=X.value;r.push((0,c.Z)({id:F},L))}}catch(U){K.e(U)}finally{K.f()}}else r.push((0,c.Z)((0,c.Z)({id:"id"},_(d,!0)),{},{isTableTabFilter:!0}));else{var O=_(d);r.push((0,c.Z)({id:"id"},Q("values",O.values)[0]))}}return r}},$=function(e,t){var n=function(e){var t=e.statusValues,n=e.categoryValues;return function(e){var i,r={},s=[],l=(0,g.Z)(e);try{for(l.s();!(i=l.n()).done;){var a=i.value,o=a.id,c=a.value,u=a.values,d=a.isTableTabFilter;if("id"!==o){var h=z(o),p=h.tool,m=h.name,v=h.column,b=r[p]||{},C=b[v]||{name:escape(m)};if(t[p][v]||n[p][v])if(c.endsWith(" ")){var x=C.categoryValues||[];x.push(c),C.categoryValues=x}else{var y=C.statusValues||[];y.push(c),C.statusValues=y}else C.value=c;b[v]=C,r[p]=b}else u&&u.length>0?r.ids={values:u.map((function(e){return e||""}))}:d&&s.push({id:o,value:c})}}catch(K){l.e(K)}finally{l.f()}var Z=r.ids,j=(0,I.Z)(r,A),F=[];Z&&F.push("id(values(".concat(Z.values.map((function(e){return P(encodeURIComponent(e))})).join(","),"))")),s&&s.forEach((function(e){F.push("id_any(value(".concat(P(encodeURIComponent(e.value)),"))"))}));for(var W=0,N=Object.entries(j);W<N.length;W++){for(var B=(0,f.Z)(N[W],2),G=B[0],w=B[1],Y=[],S=0,V=Object.entries(w);S<V.length;S++){var k=(0,f.Z)(V[S],2),R=k[0],H=k[1],T="".concat(R,"*").concat(H.name,"*"),X=void 0;""!==(X=H.statusValues||H.categoryValues?E(H,t,G,R,n):"value(".concat(escape(H.value),")"))&&Y.push("".concat(T,"(").concat(X,")"))}Y.length>0&&F.push("".concat(G,"(").concat(Y.join(","),")"))}return F.join(",")}}({statusValues:e,categoryValues:t});return function(e,t){if(!e)return O({filter:void 0},t);var i=n(e);return O(i?{filter:i}:{filter:void 0},t)}},ee="&#x2008;",te="&#x2007;",ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unknown";(0,s.Z)(this,e),this._defaultOptions={whitespaceFormat:!1,html:!1,leadingZero:!0,additionalFormatting:function(e){return e}},this.significantDigits=t,this.maxPositiveDecimalPosition=-1,this.maxNegativeDecimalPosition=-1,this.name=n}return(0,l.Z)(e,[{key:"addDataItem",value:function(e){var t=this.format(e).split(/\.|,/),n=(0,f.Z)(t,2),i=n[0],r=n[1];this.maxPositiveDecimalPosition=Math.max(this.maxPositiveDecimalPosition,i&&"0"!==i?i.length:0),this.maxNegativeDecimalPosition=Math.max(this.maxNegativeDecimalPosition,r?r.length:0)}},{key:"format",value:function(e){var t=e.toString(),n="",i="",r=0,s=0,l=!1,a=!1;if("NaN"===t)return"NaN";if(t.endsWith("Infinity"))return t.replace("Infinity","Inf");if(t.includes("e")){var o=t.split("-"),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=0;u.includes(".")&&(h=1),t=Number(e).toFixed(Number(d)+h)}for(var g=t.replace(/,/,".").indexOf(".");s<this.significantDigits-1&&t.length>r;){var p=t[r];if("."===p||","===p)n+=".",a=!0;else{if(!l){if("0"===p){r+=1,a&&(n+=p);continue}l=!0}n+=p,s+=1}r+=1}if(i=t.substring(r),""===n&&""===i&&(n=t),"."===n[0]&&(n="0".concat(n)),""!==i){var m="."===i[0];if(i=i.replace(/\./,""),i="".concat(i[0],".").concat(i.substr(1)),i=Math.round(Number(i)),(i=isNaN(i)?"":i.toString()).length>1&&"."!==i[0]){var v=i[0];i=i[1];for(var I=n.length,b=n.split("."),C=(0,f.Z)(b,2)[1],x=C&&C.length-1||0,y=C?"0.":"",Z=x;Z>0;)y+="0",Z-=1;for(n=function(e,t){var n=e,i=t;if("string"===typeof e&&(n=Number(e)),"string"===typeof t&&(i=Number(t)),Number.isInteger(n)||Number.isInteger(i))return n+i;var r=e.toString(),s=r.length,l=r.indexOf("."),a=t.toString(),o=a.length,c=a.indexOf("."),u=Math.max(s-l,o-c)-1;return Number((n+i).toFixed(u))}(n,y+=v).toFixed(x+1).substr(0,I);n.length<I;)n+="0"}var j=g;for(m&&(i=".".concat(i)),-1===g&&(j=t.length);n.length+i.length<j;)i+="0"}return"".concat(n).concat(i)}},{key:"build",value:function(){var e=this;return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,c.Z)((0,c.Z)({},e._defaultOptions),n),r=i.whitespaceFormat,s=i.html,l=i.leadingZero,a=i.additionalFormatting,o={significantDigits:e.significantDigits,maxDecimalInputLength:e.maxNegativeDecimalPosition};if(B(e.significantDigits))return a(t.toString(),o);var u=e.format(t);if("NaN"===(u=a(u,o)))return u;if(r){var d=s?ee:" ",h=u.split(/\.|,/),g=(0,f.Z)(h,2),p=g[0],m=g[1];"0"!==p||l||(p=m?"":"0"),p=p||"";for(var v=(m=m||"")?".":d;m.length<e.maxNegativeDecimalPosition;)m+=" ";return s&&(p=p.replace(/ /g,te),m=m.replace(/ /g,te)),"".concat(p).concat(m?v:"").concat(m)}return!l&&u.startsWith("0.")?u.substr(1):u}}}]),e}(),ie=function(e){var t=X(),n=[];t.hidden&&(n=t.hidden.split(",").filter((function(t){return Number.isInteger(parseInt(t))&&e.some((function(e){return e.toolIdx===parseInt(t)}))})).map((function(e){return parseInt(e)})));var i={};return Object.keys(t).filter((function(e){return/hidden[0-9]+/.test(e)})).forEach((function(n){var r=parseInt(n.replace("hidden","")),s=e.find((function(e){return e.toolIdx===r}));Number.isInteger(r)&&s&&(i[r]=t[n].split(",").filter((function(e){return Number.isInteger(parseInt(e))&&s.columns.some((function(t){return t.colIdx===parseInt(e)}))})).map((function(e){return parseInt(e)})))})),n.forEach((function(t){i[t]=e.find((function(e){return e.toolIdx===t})).columns.map((function(e){return e.colIdx}))})),e.forEach((function(e){i[e.toolIdx]||(i[e.toolIdx]=[])})),i},re=function(e,t){var n,i=e.find((function(e){return n=e.columns.find((function(n){return"status"!==n.type&&!t[e.toolIdx].includes(n.colIdx)}))}));return n||(i=e.find((function(e){return n=e.columns.find((function(n){return"status"===n.type&&!t[e.toolIdx].includes(n.colIdx)}))}))),i&&n?[i.toolIdx,n.colIdx]:[void 0,void 0]},se=function(e,t){var n,i={},r=(0,g.Z)(e);try{for(r.s();!(n=r.n()).done;){i[n.value]=!0}}catch(o){r.e(o)}finally{r.f()}var s,l=(0,g.Z)(t);try{for(l.s();!(s=l.n()).done;){var a=s.value;if(B(i[a]))return!1}}catch(o){l.e(o)}finally{l.f()}return!0},le=function(e){var t=e.toString().split(/,|\./),n=(0,f.Z)(t,2)[1];if(B(n)||0===n.length)return 1;for(var i=".",r=0;r<n.length-1;r+=1)i+="0";return i+="1"},ae=function(e){var t=[];return(e=e.filter((function(e,t){return t%2===0&&0!==t}))).forEach((function(e){return t.push(e.columns.filter((function(e){return e.hidden})).map((function(e){return e.id})))})),t.flat()},oe=["handler"],ce=["column","title","children"],ue=["runSet"],de=["cell","href","toggleLinkOverlay","force"],he=function(e){var t=e.handler,n=(0,I.Z)(e,oe);return(0,j.jsx)("span",(0,c.Z)((0,c.Z)({onClick:t,title:"",className:"selectColumns"},n),{},{children:"Click here to select columns"}))},ge=function(e){var t=e.column,n=e.title,i=void 0===n?"Click here to sort. Hold shift to multi-sort":n,r=e.children,s=(0,I.Z)(e,ce);return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({title:i},s),{},{children:r||R(t)}))},fe=function(e){var t=e.runSet,n=(0,I.Z)(e,ue);return(0,j.jsx)("span",(0,c.Z)((0,c.Z)({className:"header__tool-infos"},n),{},{title:H(t),children:H(t)}))},pe=function(e){var t=e.cell,n=e.href,i=void 0===n?t.value.href:n,r=e.toggleLinkOverlay,s=e.force,l=void 0!==s&&s,a=(0,I.Z)(e,de),o=t.value.html,u=o?void 0:t.value.raw;return l||u||o?i?(0,j.jsx)("a",(0,c.Z)((0,c.Z)({href:i,onClick:function(e){return r(e,i)},dangerouslySetInnerHTML:o?{__html:o}:void 0},a),{},{children:u})):(0,j.jsx)("div",(0,c.Z)((0,c.Z)({dangerouslySetInnerHTML:o?{__html:o}:void 0},a),{},{children:u})):null},me=function(e){return Object.freeze({Header:"",accessor:"separator"+e,className:"separator",columns:[{accessor:"separator"+e,className:"separator",width:2,minWidth:2}]})},ve=function(e,t,n){return[me(t),{Header:(0,j.jsx)(fe,{runSet:e}),columns:e.columns.map((function(e,i){return n(t,e,i)})),id:"runset-column"}]},Ie=n(1330),be=n.n(Ie),Ce=["distincts","categories","statuses"],xe="empty_row",ye=function(e){return function(t){var n=(0,u.Z)(t);if(e.diff&&(n=n.filter((function(t){var n,i=(0,g.Z)(e.diff);try{for(i.s();!(n=i.n()).done;){var r,s=n.value.col,l={},a=(0,g.Z)(t.results);try{for(a.s();!(r=a.n()).done;){var o=r.value.values[s].raw;l[o]||(l[o]=!0)}}catch(c){a.e(c)}finally{a.f()}if(1===Object.keys(l).length)return!1}}catch(c){i.e(c)}finally{i.f()}return!0}))),!B(e.id)){var i=e.id,r=i.value,s=i.values;if(r){var l=J(r);n=n.filter((function(e){return e.id.some((function(e){return e===r||l.test(e)}))}))}else{var a=s.map((function(e){return{filterRegex:J(e),filterValue:e}}));n=n.filter((function(e){var t=e.id;return a.every((function(e,n){var i=e.filterRegex,r=e.filterValue,s=t[n];return!(!B(r)&&""!==r)||!B(s)&&""!==s&&(s===r||i.test(s))}))}))}}var o=n.filter((function(t){for(var n in function(e,t){return Object.keys(t).filter((function(t){return!e.includes(t)})).reduce((function(e,n){return e[n]=t[n],e}),{})}(["diff","id"],e))for(var i in e[n]){var r,s=!1,l=!1,a=!1,o=(0,g.Z)(e[n][i]);try{for(o.s();!(r=o.n()).done;){var c=r.value,u=c.value,d=c.min,h=c.max,f=c.category,p=c.status;if(B(d)||B(h))if(B(f))if(B(p)){var m=t.results[n].values[i].raw;if(B(m)){s=!1;continue}s=s||u===m||m.includes(u)}else{var v="empty"===t.results[n].category&&p===xe;a=t.results[n].values[i].raw===p||a||v,s=l&&a}else s=(l=t.results[n].category===f||l)&&a;else{var I=t.results[n].values[i].raw;if(B(I)){s=!1;continue}var b=Number(I);s=s||b>=d&&b<=h}if(s)break}}catch(C){o.e(C)}finally{o.f()}if(!s)return!1}return!0}));return o}},Ze=(M={},(0,p.Z)(M,"empty","Empty rows"),(0,p.Z)(M,"aborted","\u2014"),M),je=[50,100,250,500,1e3,2500],Ae=function(){var e=X();return e.sort?e.sort.split(";").map((function(e){var t=e.split(",");return{id:t[0],desc:"desc"===t[1]}})):[]},Fe=function(e){var t=(0,i.useState)(!0),n=(0,f.Z)(t,2),r=n[0],s=n[1],l=(0,i.useState)(Ie()),a=(0,f.Z)(l,2),o=a[0],d=a[1],p=(0,i.useState)({}),I=(0,f.Z)(p,2),b=I[0],C=I[1],x=(0,i.useState)(!1),y=(0,f.Z)(x,2),Z=y[0],A=y[1],F=(0,h.k6)(),Y=function(t){"id"===t.id&&(t.isTableTabFilter=!0);var n=[].concat((0,u.Z)(e.filters.filter((function(e){return e.id!==t.id}))),[t]);n=n.filter((function(e){return""!==e.value})),e.addTypeToFilter(n);var i=[];if("status"===t.type){var r=z(t.id),s=r.tool,l=r.name,a=r.column,o=t.value;if("all"===o.trim())i=function(t){var n,i=t.tool,r=t.name,s=t.column,l=[],a=(0,g.Z)(e.statusValues[i][s]);try{for(a.s();!(n=a.n()).done;){var o=n.value;l.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:o})}}catch(f){a.e(f)}finally{a.f()}var c,u=(0,g.Z)(e.categoryValues[i][s]);try{for(u.s();!(c=u.n()).done;){var d=c.value,h="".concat(d," ");l.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:h})}}catch(f){u.e(f)}finally{u.f()}return l}({tool:s,name:l,column:a}),n=n.filter((function(e){var n=e.id,i=e.value;return!(n===t.id&&"all"===i.trim())}));else i=function(t){var n,i=t.tool,r=t.name,s=t.column,l=t.isCategory,a=l?e.statusValues:e.categoryValues,o=[],c=(0,g.Z)(a[i][s]);try{for(c.s();!(n=c.n()).done;){var u=n.value;o.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:"".concat(u).concat(l?"":" ")})}}catch(d){c.e(d)}finally{c.f()}return o}({tool:s,name:l,column:a,isCategory:" "===o[o.length-1]})}e.addTypeToFilter(i),e.filterPlotData([].concat((0,u.Z)(n),(0,u.Z)(i)),!0)};function S(e){var t=e.column,n=t.id,r=(t.filter,e.currFilters),s=n+"_filter",l=r.find((function(e){return e.id===n})),a=l?l.value:"",o=(0,i.useState)(""),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=(0,i.useState)(a),g=(0,f.Z)(h,2),p=g[0],m=g[1],v="id"===n&&Z?"To edit, please clear task filter in the sidebar":"text";return(0,j.jsx)("input",{id:s,className:"filter-field",placeholder:v,defaultValue:p,onChange:function(e){var t=e.target.value;m(t),clearTimeout(u),d(setTimeout((function(){Y({id:n,value:t}),document.getElementById(s).focus()}),500))},disabled:"id"===n&&Z,type:"search"})}function R(t){var n=t.column,i=n.id,r=(n.filter,t.runSetIdx),s=t.columnIdx,l=e.categoryValues[r][s],a=function(e){var t=e.categoryFilters,n=e.statusFilters,i=e.categoryFilterValues,r=e.statusFilterValues,s=[];return se(t,i)||(s=t),se(n,r)||(s=[].concat((0,u.Z)(s),(0,u.Z)(n))),s}({categoryFilters:k([r,"categories"],[],o),statusFilters:k([r,s],[],o),categoryFilterValues:l.map((function(e){return"".concat(e," ")})),statusFilterValues:e.statusValues[r][s]}),c=0===a.length,d=a.length>1||a[0]===W,h=a&&a[0],g=(c?"all ":d&&"multiple")||h;return(0,j.jsxs)("select",{className:"filter-field",onChange:function(e){return Y({id:i,value:e.target.value})},value:g,children:[d&&(0,j.jsx)("option",{value:"multiple",disabled:!0,children:a.map((function(e){return e.trim()})).filter((function(e){return"all"!==e&&e!==W})).join(", ")||"No filters selected"}),(0,j.jsx)("option",{value:"all ",children:"Show all"}),l.filter((function(e){return e in Ze})).map((function(e){return(0,j.jsx)("option",{value:e+" ",children:Ze[e]},e)})),(0,j.jsx)("optgroup",{label:"Category",children:l.filter((function(e){return!(e in Ze)})).sort().map((function(e){return(0,j.jsx)("option",{value:e+" ",className:e,children:e},e)}))}),(0,j.jsx)("optgroup",{label:"Status",children:e.statusValues[r][s].filter((function(e){return e!==xe})).sort().map((function(e){return(0,j.jsx)("option",{value:e,children:e},e)}))})]})}function H(e){var t=e.column,n=t.id,r=(t.filter,e.currFilters),s=n+"_filter",l=r.find((function(e){return e.id===n})),a=l?l.value:"",o=(0,i.useState)(""),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=(0,i.useState)(a),g=(0,f.Z)(h,2),p=g[0],m=g[1];return(0,j.jsx)("input",{id:s,className:"filter-field",placeholder:"Min:Max",defaultValue:p,onChange:function(e){var t=e.target.value;m(t),clearTimeout(u),d(setTimeout((function(){Y({id:n,value:t}),document.getElementById(s).focus()}),500))},type:"search",pattern:"([+-]?[0-9]*(\\.[0-9]*)?)(:[+-]?[0-9]*(\\.[0-9]*)?)?"})}var T=(0,i.useCallback)((function(t){return(0,j.jsx)(S,(0,c.Z)((0,c.Z)({disableTaskText:Z},t),{},{currFilters:e.filters}))}),[Z,e.filters]),K=(0,i.useCallback)((function(t){return(0,j.jsx)(H,(0,c.Z)((0,c.Z)({},t),{},{currFilters:e.filters}))}),[e.filters]),L=(0,i.useMemo)((function(){var t=function(t,n,i){if("status"===n.type)return function(t,n,i){var r="".concat(t,"_").concat(n.display_title,"_").concat(i),s=b[r];return{id:r,Header:(0,j.jsx)(ge,{column:n}),className:"reg-column",hidden:e.hiddenCols[t].includes(n.colIdx),minWidth:50,width:s||V(n,10),accessor:function(e){return e.results[t].values[i]},Cell:function(n){var i,r=n.row.original.results[t].category,s=n.row.original.results[t].href;return"aborted"===r?(s=void 0,i="Result missing because run was aborted or not executed"):"empty"===r?i="Result missing because task was not part of benchmark set":s&&(i="Click here to show output of tool"),(0,j.jsx)(pe,{cell:n,href:s,className:r,toggleLinkOverlay:e.toggleLinkOverlay,title:i,force:!0})},sortType:function(e,t,n,i){return w(e.values[n],t.values[n])},filter:function(e){return e},Filter:function(e){return(0,j.jsx)(R,(0,c.Z)((0,c.Z)({},e),{},{runSetIdx:t,columnIdx:i}))}}}(t,n,i);var r="".concat(t,"_").concat(n.display_title,"_").concat(i),s=b[r],l=N(n)?K:T;return{id:r,Header:(0,j.jsx)(ge,{column:n}),className:"reg-column",hidden:e.hiddenCols[t].includes(n.colIdx),minWidth:50,width:s||V(n),accessor:function(e){return e.results[t].values[i]},Cell:function(t){return(0,j.jsx)(pe,{cell:t,toggleLinkOverlay:e.toggleLinkOverlay})},filter:function(e){return e},Filter:l,sortType:function(e,t,i,r){return N(n)?(s=e.values[i],l=t.values[i],G(s,1/0)-G(l,1/0)):w(e.values[i],t.values[i]);var s,l}}},n=e.tools.map((function(e,n){return ve(e,n,t)})).flat();return[{Header:function(){return(0,j.jsx)("div",{className:"fixed-task-header",children:(0,j.jsx)("form",{children:(0,j.jsxs)("label",{title:"Fix the first column",children:["Fixed task:",(0,j.jsx)("input",{name:"fixed",type:"checkbox",checked:r,onChange:function(e){var t=e.target;return s(t.checked)}})]})})})},className:"fixed-task",id:"task-id-column",sticky:r?"left":"",columns:[(0,c.Z)((0,c.Z)({width:.3*window.innerWidth,minWidth:230},b.id&&{width:b.id}),{},{Header:(0,j.jsx)(ge,{children:(0,j.jsx)(he,{handler:e.selectColumn})}),accessor:"id",Cell:function(t){var n=t.row.original.id.map((function(e){return(0,j.jsx)("span",{className:"row_id",children:e},e)})),i=t.row.original.href;return i?(0,j.jsx)("a",{className:"row__name--cellLink",href:i,title:"Click here to show source code",onClick:function(t){return e.toggleLinkOverlay(t,i)},children:n},i):(0,j.jsx)("span",{title:"This task has no associated file",children:n})},Filter:T,sortType:function(e,t,n,i){var r=Array.isArray(e.values[n])?e.values[n].join():e.values[n],s=Array.isArray(t.values[n])?t.values[n].join():t.values[n];return r>s?1:r<s?-1:0}})]}].concat(n)}),[b,r,e,T,K]),U=(0,i.useMemo)((function(){return e.tableData}),[e.tableData]),D=(0,i.useMemo)((function(){return{Filter:(0,j.jsx)(j.Fragment,{})}}),[]),E=(0,m.useTable)({columns:L,data:U,defaultColumn:D,initialState:{sortBy:Ae(),pageIndex:parseInt(X().page)-1||0,hiddenColumns:ae(L),pageSize:parseInt(X().pageSize)||250}},m.useFilters,m.useFlexLayout,m.useResizeColumns,m.useSortBy,m.usePagination,v.useSticky),P=E.getTableProps,M=E.getTableBodyProps,J=E.headerGroups,_=(E.rows,E.prepareRow),Q=E.page,q=E.canPreviousPage,$=E.canNextPage,ee=E.pageOptions,te=E.pageCount,ne=E.gotoPage,ie=E.nextPage,re=E.previousPage,le=E.setPageSize,oe=E.setSortBy,ce=E.state,ue=ce.pageIndex,de=ce.pageSize,fe=ce.sortBy,me=ce.columnResizing;function Ie(){var t,n={},i=(0,g.Z)(e.filters);try{for(i.s();!(t=i.n()).done;){var r=t.value,s=r.value,l=r.id,a=z(l),o=a.tool,c=a.column,u=n[o]||{};if("string"===typeof s&&" "===s[s.length-1]){var d=u.categories||[];d.push(s),u.categories=d}else{var h=u[c]||[];h.push(s),u[c]=h}n[o]=u}}catch(f){i.e(f)}finally{i.f()}return n}(0,i.useEffect)((function(){var e=fe.map((function(e){return e.id+","+(e.desc?"desc":"asc")})).join(";"),t=e.length?e:void 0;O({sort:t})}),[fe]),(0,i.useEffect)((function(){O({pageSize:250!==de?de:void 0})}),[de]),(0,i.useEffect)((function(){var e=ue&&0!==ue?Number(ue)+1:void 0;O({page:e})}),[ue]),(0,i.useEffect)((function(){var e=me.columnWidths;!me.isResizingColumn&&Object.keys(e).length>0&&C((0,c.Z)((0,c.Z)({},b),e))}),[me,b]),(0,i.useEffect)((function(){var t,n=(0,g.Z)(e.filters);try{for(n.s();!(t=n.n()).done;){var i=t.value,r=i.values;"id"===i.id&&A(!B(r))}}catch(l){n.e(l)}finally{n.f()}var s=Ie();be()(s,o)||d(s),ue>=te&&ne(te-1)}),[e.filters,o,ne,ue,te]),(0,i.useEffect)((function(){return F.listen((function(e){le(X().pageSize||250),oe(Ae()),ne(X().page-1||0)}))}),[F,ne,le,oe]);var Ce=function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header ".concat(e.headers?"outer ":"").concat(e.className)})),{},{children:[(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.canSort&&(!e.className||!e.className.includes("separator"))&&e.getSortByToggleProps({className:"header-sort-container clickable ".concat(e.isSorted?e.isSortedDesc?"sorted-desc ":"sorted-asc ":"")})),{},{children:e.render("Header")})),(!e.className||!e.className.includes("separator"))&&(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getResizerProps()),{},{className:"resizer ".concat(e.isResizing?"isResizing":"")}))]}))}))}))};return(0,j.jsx)("div",{className:"main-table",children:(0,j.jsxs)("div",{className:"table sticky",children:[(0,j.jsx)("div",{className:"table-content",children:(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({className:"table-container"},P()),{},{children:[function(e){var t=e[0],n=e.filter((function(e){return e.headers.some((function(e){return e.canFilter}))}));return(0,j.jsxs)("div",{className:"table-header",children:[Ce(t),(0,j.jsxs)("div",{className:"shadow-container",children:[e.slice(1).map(Ce),n.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup filter"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header filter ".concat(e.headers?"outer ":"").concat(e.className)})),{},{children:e.canFilter?e.render("Filter"):null}))}))}))}))]})]})}(J),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},M()),{},{className:"table-body body",children:Q.map((function(e){return _(e),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getRowProps()),{},{className:"tr",children:e.cells.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getCellProps({className:"td "+(e.column.className||"")})),{},{children:e.render("Cell")}))}))}))}))}))]}))}),(0,j.jsxs)("div",{className:"pagination",children:[(0,j.jsxs)("div",{id:"pagination-previous",className:"pagination-container",children:[(0,j.jsx)("div",{onClick:function(){return re()},className:"pagination-element button".concat(q?"":" disabled"),children:"Previous"})," "]}),(0,j.jsxs)("div",{id:"pagination-center",className:"pagination-container",children:[(0,j.jsxs)("div",{id:"goto-page-element",className:"pagination-element",children:["Page",(0,j.jsx)("input",{"aria-label":"jump to page",type:"number",value:Number(ue)+1,onChange:function(e){return ne(Number(e.target.value)-1)}}),"of ",ee.length]}),(0,j.jsx)("div",{id:"set-page-element",className:"pagination-element",children:(0,j.jsx)("select",{value:de,onChange:function(e){return le(Number(e.target.value))},children:je.map((function(e){return(0,j.jsxs)("option",{value:e,children:[e," rows"]},e)}))})})]}),(0,j.jsxs)("div",{id:"pagination-next",className:"pagination-container",children:[(0,j.jsx)("div",{onClick:function(){return ie()},className:"pagination-element button".concat($?"":" disabled"),children:"Next"})," "]})]})]})})},We=n(4165),Ne=n(5861);n(9e3);var Be=[],Ge={},we=1,Ye=[{template:"data:text/plain;base64,Ly8gVGhpcyBmaWxlIGlzIHBhcnQgb2YgQmVuY2hFeGVjLCBhIGZyYW1ld29yayBmb3IgcmVsaWFibGUgYmVuY2htYXJraW5nOgovLyBodHRwczovL2dpdGh1Yi5jb20vc29zeS1sYWIvYmVuY2hleGVjCi8vCi8vIFNQRFgtRmlsZUNvcHlyaWdodFRleHQ6IDIwMTktMjAyMCBEaXJrIEJleWVyIDxodHRwczovL3d3dy5zb3N5LWxhYi5vcmc+Ci8vCi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBBcGFjaGUtMi4wCgovLyBDT1BZIE9GIHV0aWxzLmpzLCBhcyBpbXBvcnRzIHdpbGwgbm90IHdvcmsgaGVyZQovKioKICogRnVuY3Rpb24gdG8gc2FmZWx5IGFkZCB0d28gbnVtYmVycyBpbiBhIHdheSB0aGF0IHNob3VsZCBtaXRpZ2F0ZSBlcnJvcnMKICogY2F1c2VkIGJ5IGluYWNjdXJhdGUgZmxvYXRpbmcgcG9pbnQgb3BlcmF0aW9ucyBpbiB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mlhbmNlLAogICAgICB2YWx1ZXMuaXRlbXMubGVuZ3RoLAogICAgKTsKCiAgICBmb3IgKGNvbnN0IFtrZXksIHZhbF0gb2YgT2JqZWN0LmVudHJpZXModmFsdWVzKSkgewogICAgICBpZiAoa2V5ID09PSAibWV0YSIpIHsKICAgICAgICBjb250aW51ZTsKICAgICAgfQogICAgICB2YWx1ZXNba2V5XSA9IHZhbC50b1N0cmluZygpOwogICAgfQogICAgLy8gY2xlYXJpbmcgbWVtb3J5CiAgICBkZWxldGUgdmFsdWVzLml0ZW1zOwogICAgZGVsZXRlIHZhbHVlcy52YXJpYW5jZTsKICAgIGJ1Y2tldHNbYnVja2V0XSA9IHZhbHVlczsKICB9CgogIGZvciAoY29uc3QgW2tleSwgdmFsdWVdIG9mIE9iamVjdC5lbnRyaWVzKHRvdGFsKSkgewogICAgaWYgKGtleSA9PT0gIm1ldGEiKSB7CiAgICAgIGNvbnRpbnVlOwogICAgfQogICAgdG90YWxba2V5XSA9IHZhbHVlLnRvU3RyaW5nKCk7CiAgfQoKICBkZWxldGUgdG90YWwuaXRlbXM7CiAgZGVsZXRlIHRvdGFsLnZhcmlhbmNlOwoKICBjb25zdCByZXN1bHQgPSB7IGNvbHVtblR5cGUsIHRvdGFsLCAuLi5idWNrZXRzIH07CiAgcG9zdFJlc3VsdChyZXN1bHQsIHRyYW5zYWN0aW9uKTsKfTsKCmNvbnN0IHBvc3RSZXN1bHQgPSAocmVzdWx0LCB0cmFuc2FjdGlvbikgPT4gewogIC8vIGhhbmRsaW5nIGluIHRlc3RzCiAgaWYgKHRoaXMubW9ja2VkUG9zdE1lc3NhZ2UpIHsKICAgIHRoaXMubW9ja2VkUG9zdE1lc3NhZ2UoeyByZXN1bHQsIHRyYW5zYWN0aW9uIH0pOwogICAgcmV0dXJuOwogIH0KICBwb3N0TWVzc2FnZSh7IHJlc3VsdCwgdHJhbnNhY3Rpb24gfSk7Cn07Cg==",poolSize:8,name:"stats"}].map((function(e){for(var t=e.template,n=e.poolSize,i=e.name,r=[],s=function(e){var n=new Worker(t),i={worker:n,busy:!1};n.onmessage=function(e){return function(e,t){var n=e.data,i=n.transaction,r=n.result,s=Ge[i];t.busy=!1,s(r),delete Ge[i]}(e,i)},r.push(i)},l=0;l<n;l+=1)s();return{name:i,pool:r}})).reduce((function(e,t){var n=t.name,i=t.pool;return(0,c.Z)((0,c.Z)({},e),{},(0,p.Z)({},n,i))}),{}),Se=function e(){var t=Be.shift();if(t){var n=function(e){var t=Ye[e].filter((function(e){return!e.busy}))[0];return t?t.busy?null:(t.busy=!0,t):null}(t.name);if(!n)return Be.unshift(t),void setImmediate(e);var i=we;we+=1;var r={data:t.data,transaction:i};Ge[i]=t.callback,n.worker.postMessage(r),setImmediate(e)}},Ve=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.name,i=t.data,e.abrupt("return",new Promise((function(e){Be.push({name:n,data:i,callback:e}),setImmediate(Se)})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ke=["columnType"],Re=["meta"],He={total:{title:"all results"},correct:{indent:1,title:"correct results",description:"(property holds + result is true) OR (property does not hold + result is false)"},correct_true:{indent:2,title:"correct true",description:"property holds + result is true"},correct_false:{indent:2,title:"correct false",description:"property does not hold + result is false"},correct_unconfirmed:{indent:1,title:"correct-unconfirmed results",description:"(property holds + result is true) OR (property does not hold + result is false), but unconfirmed"},correct_unconfirmed_true:{indent:2,title:"correct-unconfirmed true",description:"property holds + result is true, but unconfirmed"},correct_unconfirmed_false:{indent:2,title:"correct-unconfirmed false",description:"property does not hold + result is false, but unconfirmed"},wrong:{indent:1,title:"incorrect results",description:"(property holds + result is false) OR (property does not hold + result is true)"},wrong_true:{indent:2,title:"incorrect true",description:"property does not hold + result is true"},wrong_false:{indent:2,title:"incorrect false",description:"property holds + result is false"}},Te=function(e){return e.filter((function(e){return He[e.id]}))},Xe=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i,r,s,l,a,o;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tools,i=t.tableData,r=t.stats,s=Ke(n),e.next=4,Je({tools:n,tableData:i,formatter:s});case 4:return l=e.sent,a=r.map((function(e){return e.id})).filter((function(e){return He[e]})),o=Oe(l,s,a),l=o.map((function(e,t){var i,r=[],s=n[t].columns,l=0,a=s[l],o=(0,g.Z)(e);try{for(o.s();!(i=o.n()).done;){for(var c=i.value,u=c.title;l<s.length&&u!==a.title;)r.push({}),a=s[++l];if(l>=s.length)break;r.push(c),a=s[++l]}}catch(d){o.e(d)}finally{o.f()}return r})),e.abrupt("return",Te(r).map((function(e){var t=e.content.map((function(t,n){return l[n].map((function(t){return t[e.id]}))}));return(0,c.Z)((0,c.Z)({},e),{},{content:t})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ke=function(e){return e.map((function(e,t){return e.columns.map((function(e,n){var i=e.number_of_significant_digits;return new ne(i,"".concat(t,"-").concat(n))}))}))},Le=function(e,t,n){return function(n,i){var r=i.significantDigits,s=Number(n),l=n.split("."),a=(0,f.Z)(l,2),o=a[0],c=a[1];if(["sum","avg","stdev"].includes(e)){var u,d;if(B(r)&&"sum"!==e)return s.toFixed(2);var h=o.replace(/^0+/,""),g=c||"";""===h&&(g=g.replace(/^0+/,""));var p=t-(null!==(u=null===c||void 0===c?void 0:c.length)&&void 0!==u?u:0),m=r-(h.length+g.length),v=m>0,I=(null!==(d=null===c||void 0===c?void 0:c.length)&&void 0!==d?d:0)+m;if(p>0&&v&&"stdev"!==e)return p>m?s.toFixed(I):s.toFixed(t);if("avg"===e&&!v&&p<0&&"0"===n[n.length-1])return s.toFixed(t);if("stdev"===e&&v)return s.toFixed(I)}return n}},Oe=function(e,t,n){var i=e.map((function(e,i){return e.map((function(e,r){var s,l={columnType:e.columnType},a=(0,g.Z)(n);try{for(a.s();!(s=a.n()).done;){var o,c=s.value,u=e[c];u&&(l[c]=u,null!==(o=null===u||void 0===u?void 0:u.sum)&&void 0!==o&&o&&t[i][r].addDataItem(u.sum))}}catch(d){a.e(d)}finally{a.f()}return l}))}));for(var r in t)for(var s in t[r])t[r][s]=t[r][s].build();return i.map((function(e,n){return e.map((function(e,i){e.columnType;var r=(0,I.Z)(e,ke),s={};if(void 0!==r.total){for(var l=0,a=Object.entries(r);l<a.length;l++){for(var o=(0,f.Z)(a[l],2),c=o[0],u=o[1],d={},h=null===u||void 0===u?void 0:u.meta,g=0,p=Object.entries(u);g<p.length;g++){var m,v=(0,f.Z)(p[g],2),b=v[0],C=v[1];if(!Re.includes(b)){var x=null!==(m=null===h||void 0===h?void 0:h.maxDecimals)&&void 0!==m?m:0;if("title"!==b){if(!B(C)&&(!isNaN(C)||"NaN"===C)&&t[n][i])try{d[b]="sum"===b?t[n][i](C,{leadingZero:!1,whitespaceFormat:!0,html:!0,additionalFormatting:Le(b,x)}):t[n][i](C,{leadingZero:!0,whitespaceFormat:!1,html:!1,additionalFormatting:Le(b,x)})}catch(y){console.error({key:b,value:C,formatter:t[n][i],e:y})}}else s.title=C}}s[c]=d}return s}})).filter((function(e){return!B(e)}))}))},Ue="false",De="false",Ee="other",Pe=function(e,t,n,i,r){return e.map((function(e){var r,s=n(t,e),l=i(t,e);return{categoryType:s.replace(/-/g,"_"),resultType:B(r=l)?Ee:"true"===r?"true":r===Ue||r.startsWith("".concat(Ue,"("))&&r.endsWith(")")?De:Ee,row:e.results[t].values}}))},Me=function(e){return function(t,n){var i,r=[],s=(0,g.Z)(t);try{for(s.s();!(i=s.n()).done;){var l=i.value,a=l.row,o=l.categoryType,c=l.resultType;for(var u in a){var d=a[u].raw,h=r[u]||[],f=e[n].columns[u],p=f.type,m=f.title;h.push({categoryType:o,resultType:c,column:d,columnType:p,columnTitle:m}),r[u]=h}}}catch(v){s.e(v)}finally{s.f()}return r}},Je=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i,r,s,l,a,o,c,u,d,h,g,f,p,m,v,I;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(o in n=t.tools,i=t.tableData,t.formatter,r=function(e,t){return t.results[e].category},s=function(e,t){return t.results[e].values[0].raw},l=[],a=[],n)a.push(Pe(i,o,r,s));for(d in c=Me(n),u=a.map(c))u[d]=u[d].filter((function(e){return!B(e)}));for(h in u){for(p in g=u[h],f=[],g)m=g[p],f.push(Ve({name:"stats",data:m}));l[h]=f}return v=l.map((function(e){return Promise.all(e)})),e.next=13,Promise.all(v);case 13:return I=e.sent,e.abrupt("return",I);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ze=.15*window.innerWidth,_e=function(e){return Object.keys(e).filter((function(t){return e[t]&&"sum"!==t})).map((function(t){return"".concat(t,": ").concat(e[t])})).join(", ")||void 0},Qe=function(e){var t=e.selectColumn,n=e.tools,r=e.switchToQuantile,s=e.hiddenCols,l=e.tableData,a=e.onStatsReady,o=e.stats,u=e.filtered,d=void 0!==u&&u,h=(0,i.useState)(d?[]:o),g=(0,f.Z)(h,2),p=g[0],I=g[1],b=(0,i.useState)(!0),C=(0,f.Z)(b,2),x=C[0],y=C[1];(0,i.useEffect)((function(){var e=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(){var t;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!d){e.next=7;break}return e.next=3,Xe({tools:n,tableData:l,stats:o});case 3:t=e.sent,I(t),e.next=8;break;case 7:I(o);case 8:a&&a();case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[n,l,a,false,o,d]);var Z=function(e){return(0,j.jsx)("div",{className:"table-header",children:e.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header ".concat(e.headers?"outer ":"").concat(e.className||"")})),{},{children:[e.render("Header"),(!e.className||!e.className.includes("separator"))&&(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getResizerProps()),{},{className:"resizer ".concat(e.isResizing?"isResizing":"")}))]}))}))}))}))})},A=function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},Y()),{},{className:"table-body body",children:e.map((function(e){return R(e),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getRowProps()),{},{className:"tr",children:e.cells.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getCellProps({className:"td "+(e.column.className||"")})),{},{children:e.render("Cell")}))}))}))}))}))},F=(0,i.useMemo)((function(){var e=n.map((function(e,t){return ve(e,t,function(e){var t=e.switchToQuantile,n=e.hiddenCols;return function(e,i,r){return{id:"".concat(e,"_").concat(i.display_title,"_").concat(r),Header:(0,j.jsx)(ge,{column:i,className:"header-data clickable",title:"Show Quantile Plot of this column",onClick:function(e){return t(i)}}),hidden:n[e].includes(i.colIdx)||!(N(i)||"status"===i.type),width:V(i,null,"status"===i.type?6:null),minWidth:30,accessor:function(t){return t.content[e][r]},Cell:function(e){var t,n=null===(t=e.value)||void 0===t?void 0:t.sum;return"status"===i.type&&(n=void 0===e.value?0:null===e.value?null:Number.isInteger(Number(e.value.sum))?Number(e.value.sum):e.value.sum),B(n)?(0,j.jsx)("div",{className:"cell",children:"-"}):(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:n},className:"cell",title:"status"!==i.type?_e(e.value):void 0})}}}}({switchToQuantile:r,hiddenCols:s}))})).flat();return[{Header:function(){return(0,j.jsx)("form",{children:(0,j.jsxs)("label",{title:"Fix the first column",children:["Fixed row title:",(0,j.jsx)("input",{id:"fixed-row-title",name:"fixed",type:"checkbox",checked:x,onChange:function(e){var t=e.target;return y(t.checked)}})]})})},id:"row-title",sticky:x?"left":"",width:ze,minWidth:100,columns:[{id:"summary",width:ze,minWidth:100,Header:(0,j.jsx)(he,{handler:t}),Cell:function(e){return(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:(e.row.original.title||"&nbsp;".repeat(4*He[e.row.original.id].indent)+He[e.row.original.id].title)+(d?" of selected rows":"")},title:e.row.original.description||He[e.row.original.id].description,className:"row-title"})}}]}].concat(e)}),[d,x,r,s,t,n]),W=(0,i.useMemo)((function(){return p}),[p]),G=(0,m.useTable)({columns:F,data:W,initialState:{hiddenColumns:ae(F)}},m.useFilters,m.useResizeColumns,m.useFlexLayout,v.useSticky),w=G.getTableProps,Y=G.getTableBodyProps,S=G.headerGroups,k=G.rows,R=G.prepareRow;return(0,j.jsxs)("div",{id:"statistics",children:[(0,j.jsx)("h2",{children:"Statistics"}),function(e,t){return d&&0===p.length?(0,j.jsx)("p",{id:"statistics-placeholder",children:"Please wait while the statistics are being calculated."}):(0,j.jsx)("div",{id:"statistics-table",children:(0,j.jsx)("div",{className:"table sticky",children:(0,j.jsx)("div",{className:"table-content",children:(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({className:"table-container"},w()),{},{children:[Z(e),A(t)]}))})})})}(S,k)]})},qe=["displayName","tool","limit","host","os","system","date","runset","branch","options","property"],$e=function(e){var t=function(e){return e.split(/[\s]+-/).map((function(e,t){return(0,j.jsx)("li",{children:(0,j.jsx)("code",{children:0===t?e:"-".concat(e)})},e)}))},n=function(e,t){return e?(0,j.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:t}):t},i=function(e){var t=e.tool,i=e.version,r=e.project_url,s=e.version_url;return(0,j.jsxs)(j.Fragment,{children:[n(r,t)," ",n(s,i)]})};return(0,j.jsxs)("div",{id:"summary",children:[(0,j.jsxs)("div",{id:"benchmark_setup",children:[(0,j.jsx)("h2",{children:"Benchmark Setup"}),(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:qe.map((function(t){return e.tableHeader[t]})).filter((function(e){return null!==e})).map((function(e){return(0,j.jsxs)("tr",{className:e.id,children:[(0,j.jsx)("th",{children:e.name},"td-"+e.id),e.content.map((function(n,r){return function(e,n,r,s){var l="options"===e,a="tool"===e;return(0,j.jsx)("td",{colSpan:r,className:"header__tool-row".concat(l&&" options"),children:l?(0,j.jsx)("ul",{children:t(n)}):a?i(n):n},n+s)}(e.id,n[0],n[1],r)}))]},"tr-"+e.id)}))})})]}),(0,j.jsx)(Qe,{selectColumn:e.selectColumn,tools:e.tools,switchToQuantile:e.switchToQuantile,hiddenCols:e.hiddenCols,tableData:e.tableData,onStatsReady:e.onStatsReady,stats:e.stats,filtered:e.filtered}),(0,j.jsxs)("p",{children:["Generated by"," ",(0,j.jsxs)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec",target:"_blank",rel:"noopener noreferrer",children:[" ","BenchExec ",e.version]})]})]})},et=n(4463),tt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))).knownLicenses=["BSD-3-Clause","CC-BY-4.0","ISC","MIT","Zlib"],e.linkifyLicense=function(e){return(0,j.jsx)("a",{href:"https://spdx.org/licenses/"+e,target:"_blank",rel:"noopener noreferrer",children:e},e)},e.linkifyLicenses=function(t){return t.split(/([A-Za-z0-9.-]+)/).map((function(t){return e.knownLicenses.includes(t)?e.linkifyLicense(t):t}))},e.render=function(){return(0,j.jsxs)("div",{children:[(0,j.jsx)("h4",{children:(0,j.jsxs)("a",{href:"https://www.npmjs.com/package/"+e.props.name+"/v/"+e.props.version,target:"_blank",rel:"noopener noreferrer",children:[e.props.name," ",e.props.version]})}),e.props.repository&&(0,j.jsxs)(j.Fragment,{children:["Source:"," ",(0,j.jsx)("a",{href:e.props.repository,target:"_blank",rel:"noopener noreferrer",children:e.props.repository}),(0,j.jsx)("br",{})]}),e.props.copyright&&(0,j.jsxs)(j.Fragment,{children:[e.props.copyright,(0,j.jsx)("br",{})]}),"License: ",(0,j.jsx)(j.Fragment,{children:e.linkifyLicenses(e.props.licenses)}),void 0!==e.props.licenseId&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("br",{}),(0,j.jsxs)("details",{children:[(0,j.jsx)("summary",{children:"Full text of license"}),(0,j.jsx)("pre",{children:et.licenses[e.props.licenseId]})]})]})]})},e}return(0,l.Z)(n)}(i.Component),nt=function(e){return(0,j.jsxs)("div",{className:"info",children:[(0,j.jsx)("div",{className:"info-header",children:(0,j.jsx)("h1",{children:"Info and Help"})}),(0,j.jsx)("h3",{children:"Summary"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows environment information and a summary of the results."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"})," ",(0,j.jsx)("br",{})," The columns to show can be selected by clicking on ",(0,j.jsx)("em",{children:"Click here to select columns"})," or"," ",(0,j.jsx)("span",{className:"link",onClick:e.selectColumn,children:"here"}),"."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Quantile plot:"})," ",(0,j.jsx)("br",{}),"A quantile plot for a column can be shown by clicking on the respective column header (e.g.,"," ",(0,j.jsx)("em",{children:"cputime"}),")."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Fixed row title:"})," ",(0,j.jsx)("br",{}),"Deselect to let the left-most column scroll together with the rest of the table."]})]}),(0,j.jsx)("h3",{children:"Table"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows the detailed results."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Fixed task:"})," ",(0,j.jsx)("br",{}),"Deselect to let the left-most column with the task name scroll together with the rest of the table."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"})," ",(0,j.jsx)("br",{})," The columns to show can be selected by clicking on ",(0,j.jsx)("em",{children:"Click here to select columns"})," or"," ",(0,j.jsx)("span",{className:"link",onClick:e.selectColumn,children:"here"}),"."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Filter rows:"})," ",(0,j.jsx)("br",{}),"Filters can be applied to every column in the row below the column header. Numeric columns accept a range filter like ",(0,j.jsx)("em",{children:"min:max"}),", where both ",(0,j.jsx)("em",{children:"min"})," and ",(0,j.jsx)("em",{children:"max"})," are numeric values that can also be omitted for half-open ranges. For text columns (like the task name) any row matches that contains the entered filter value. Several filters can be combined and will be applied together. All filters can be deleted at once with the ",(0,j.jsx)("em",{children:"Reset Filters"})," button in the top right corner."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Sort rows:"})," ",(0,j.jsx)("br",{})," Rows can be sorted by clicking on the column header. Clicking again will toggle the sort order (ascending vs. descending). Hold ",(0,j.jsx)("kbd",{children:"Shift"})," while clicking for adding a column to the sort order."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Tool output:"})," ",(0,j.jsx)("br",{}),"Clicking on a cell in the status column will show the tool output of this run."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Task definition:"})," ",(0,j.jsx)("br",{})," Clicking on the task name will show the content of the respective file."]})]}),(0,j.jsx)("h3",{children:" Quantile Plot and Scatter Plot"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows plots of the results that are currently visible in the table."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Correct results only:"})," ",(0,j.jsx)("br",{}),"In addition to the currently applied filter, the plots by default show only correct results. Click ",(0,j.jsx)("em",{children:"Switch to All Results"})," to toggle this behavior."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"}),(0,j.jsx)("br",{}),"The drop-down fields above the plots allow to choose which columns are shown in the plot."]})]}),(0,j.jsx)("h3",{children:"About"}),(0,j.jsxs)("p",{children:["This table was generated by"," ",(0,j.jsxs)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec",target:"_blank",rel:"noopener noreferrer",children:["BenchExec ",e.version]}),". For feedback, questions, and bug reports please use our"," ",(0,j.jsx)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22HTML+table%22",target:"_blank",rel:"noopener noreferrer",children:"issue tracker"}),"."]}),(0,j.jsxs)("p",{children:["License:"," ",(0,j.jsx)("a",{className:"link",href:"https://www.apache.org/licenses/LICENSE-2.0",target:"_blank",rel:"noopener noreferrer",children:"Apache 2.0 License"})]}),(0,j.jsxs)("details",{children:[(0,j.jsx)("summary",{children:"This application includes third-party dependencies under different licenses. Click here to view them."}),et.dependencies.map((function(e){return(0,j.jsx)(tt,(0,c.Z)({},e),e.name+e.version)}))]})]})},it=n(9284),rt=n.n(it),st=n(935),lt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),(i=t.call(this,e)).renderTools=function(){return i.props.tools.map((function(e){var t=e.toolIdx,n=i.state.hiddenCols[t].length!==e.columns.length,r=H(e);return(0,j.jsxs)("tr",{id:r,children:[(0,j.jsx)("td",{id:r,className:n?"checked":"",children:(0,j.jsxs)("label",{children:[r,(0,j.jsx)("input",{name:r+"--"+t,type:"checkbox",checked:n,onChange:function(e){return i.toggleToolHidden(t,e)}})]})}),i.renderToolColumns(t)]},"tr"+r+t)}))},i.renderToolColumns=function(e){var t=i.props.tools.find((function(t){return t.toolIdx===e}));return i.state.selectableCols.map((function(n){if(t.columns.some((function(e){return e.display_title===n}))){var r=!t.columns.filter((function(e){return e.display_title===n})).map((function(e){return e.colIdx})).some((function(t){return i.state.hiddenCols[e].includes(t)}));return(0,j.jsx)("td",{id:"td"+e+n,className:r?"checked":"",children:(0,j.jsxs)("label",{children:[n,(0,j.jsx)("input",{id:e+"--"+n,name:e+"--"+n,type:"checkbox",checked:r,onChange:function(t){return i.toggleToolColHidden(e,n,t)}})]})},n)}return(0,j.jsx)("td",{},n)}))},i.renderColumnHeaders=function(){return i.state.selectableCols.map((function(e){var t=Object.values(i.state.hiddenCols).some((function(t,n){var r=i.props.tools.find((function(e){return e.toolIdx===n}));return!r.columns.filter((function(t){return t.display_title===e})).map((function(e){return e.colIdx})).some((function(e){return t.includes(e)}))&&r.columns.some((function(t){return t.display_title===e}))}));return(0,j.jsx)("th",{id:"td-all-"+e,className:t?"checked":"",children:(0,j.jsxs)("label",{children:[e,(0,j.jsx)("input",{name:e,type:"checkbox",checked:t,onChange:function(t){return i.toggleWholeColHidden(e,t)}})]})},"key"+e)}))},i.toggleAllColsHidden=function(){var e={};i.props.tools.forEach((function(t){return e[t.toolIdx]=[]})),i.state.isButtonOnDeselect&&i.props.tools.forEach((function(t){e[t.toolIdx]=t.columns.map((function(e){return e.colIdx}))})),i.setState((function(t){return{isButtonOnDeselect:!t.isButtonOnDeselect,hiddenCols:e}}))},i.toggleToolHidden=function(e,t){var n=t.target,r=("checkbox"===n.type?n.checked:n.value)?[]:i.props.tools.find((function(t){return t.toolIdx===e})).columns.map((function(e){return e.colIdx}));i.setHiddenColsForTool(e,r)},i.toggleToolColHidden=function(e,t,n){var r=n.target,s="checkbox"===r.type?r.checked:r.value,l=i.props.tools.find((function(t){return t.toolIdx===e})).columns.filter((function(e){return e.display_title===t})).map((function(e){return e.colIdx}));s?i.removeFromHiddenCols(e,l):i.addToHiddenCols(e,l)},i.toggleWholeColHidden=function(e,t){var n=t.target,r="checkbox"===n.type?n.checked:n.value;i.props.tools.forEach((function(t){var n=t.columns.filter((function(t){return t.display_title===e}));if(n.length>0){var s=n.map((function(e){return e.colIdx}));r?i.removeFromHiddenCols(t.toolIdx,s):i.addToHiddenCols(t.toolIdx,s)}}))},i.addToHiddenCols=function(e,t){var n=(0,u.Z)(new Set(i.state.hiddenCols[e].concat(t)));i.setHiddenColsForTool(e,n)},i.removeFromHiddenCols=function(e,t){var n=i.state.hiddenCols[e].filter((function(e){return!t.includes(e)}));i.setHiddenColsForTool(e,n)},i.handlePopState=function(){window.history.back()};var r=e.tools.map((function(e){return e.columns})).flat().filter((function(e,t,n){return t===n.findIndex((function(t){return t.display_title===e.display_title}))})).map((function(e){return e.display_title}));return i.state={isButtonOnDeselect:!0,hiddenCols:i.props.hiddenCols,selectableCols:r},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){window.history.pushState({},"",""),window.addEventListener("popstate",this.props.close,!1)}},{key:"componentWillUnmount",value:function(){var e=this;window.removeEventListener("popstate",this.props.close,!1);var t={},n=[];Object.entries(this.state.hiddenCols).forEach((function(i){var r=(0,f.Z)(i,2),s=r[0],l=r[1],a=e.props.tools.find((function(e){return e.toolIdx===parseInt(s)})).columns;l.length===a.length?n.push(s):l.length>0?t["hidden"+s]=l.toString():t["hidden"+s]=null})),n.length>0?t.hidden=n.toString():t.hidden=null,O(t,this.props.history)}},{key:"setHiddenColsForTool",value:function(e,t){this.setState((function(n){return{hiddenCols:(0,c.Z)((0,c.Z)({},n.hiddenCols),{},(0,p.Z)({},e,t))}}))}},{key:"render",value:function(){var e=this;rt().setAppElement(document.getElementById("root"));var t=this.props.tools.every((function(t){return t.columns.length===e.state.hiddenCols[t.toolIdx].length}));return(0,j.jsxs)(rt(),{ariaHideApp:!1,className:"overlay",isOpen:!0,onRequestClose:function(){return e.handlePopState()},children:[(0,j.jsx)("div",{className:"link-overlay-header-container",children:(0,j.jsx)(y.G,{icon:st.YIN,onClick:function(){return e.handlePopState()},className:"closing"})}),(0,j.jsx)("h1",{children:"Select the columns to display"}),(0,j.jsx)("table",{className:"selectRows",children:(0,j.jsxs)("tbody",{children:[(0,j.jsxs)("tr",{className:"selectColumn_all",children:[(0,j.jsx)("th",{}),this.renderColumnHeaders()]}),this.renderTools()]})}),(0,j.jsxs)("div",{className:"overlay__buttons",children:[(0,j.jsx)("button",{className:"btn",onClick:this.toggleAllColsHidden,children:this.state.isButtonOnDeselect?"Deselect all":"Select all"}),(0,j.jsx)("button",{className:"btn btn-apply",onClick:function(){return e.handlePopState()},disabled:t,children:"Apply and close"}),(0,j.jsx)("input",{})]})]})}}]),n}(i.Component),at=(n(8350),n(9468)),ot=function(e,t,n,i,r,s){return(0,j.jsxs)("div",{className:"setting".concat(s?" disabled":""),title:r,children:[(0,j.jsxs)("span",{className:"setting-label".concat(r?" with-tooltip":""),children:[e,":"]}),(0,j.jsxs)("select",{className:"setting-select",name:"setting-"+e,value:s?"disabled":t,onChange:n,disabled:s,children:[Object.values(i).map((function(t){return(0,j.jsx)("option",{value:t,name:t+" "+e,children:t},t)})),s?(0,j.jsx)("option",{value:"disabled",name:"disabled",children:"\u2e3a"}):""]})]})},ct=function(e,t,n,i,r){return(0,j.jsxs)("div",{className:"setting",title:r,children:[(0,j.jsxs)("span",{className:"setting-label".concat(r?" with-tooltip":""),children:[e,":"]}),(0,j.jsx)("select",{id:"setting-"+e,className:"setting-select",name:"setting-"+e,value:t,onChange:n,children:Object.entries(i).map((function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1];return(0,j.jsx)("optgroup",{label:i,children:r.map((function(t){return(0,j.jsx)("option",{value:t.value,name:t.name+" "+e,children:t.name},t.value)}))},i)}))})]})};function ut(e,t,n){var i=[1e8,1e7,1e6,1e5,1e4].find((function(e){return t>e})),r=i?i/1e3:1;return Array(Math.ceil(t/r)).fill().map((function(e,t){return t*r})).filter((function(t){return t>=e})).map((function(e){var t=n(e);return[Number.parseFloat(t[0].toPrecision(4)),Number.parseFloat(t[1].toPrecision(4))]}))}var dt=n(4391),ht=n.n(dt),gt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).refreshUrlState=function(){i.setState(i.setup())},i.checkForNumericalSelections=function(){return"ordinal"!==i.handleType(i.state.toolY,i.state.columnY)&&"ordinal"!==i.handleType(i.state.toolX,i.state.columnX)},i.renderData=function(){var e=[];i.hasInvalidLog=!1,i.state.areAllColsHidden||i.props.table.forEach((function(t){var n=t.results[i.state.toolX],r=t.results[i.state.toolY],s=n.values[i.state.columnX].raw,l=r.values[i.state.columnY].raw,a=void 0!==s&&null!==s&&void 0!==l&&null!==l,o=i.state.results===i.resultsOptions.correct;a&&(!o||o&&"correct"===n.category&&"correct"===r.category)&&(i.state.scaling===i.scalingOptions.logarithmic&&(s<=0||l<=0)?i.hasInvalidLog=!0:e.push({x:s,y:l,info:i.props.getRowName(t)}))})),i.setMinMaxValues(e),i.lineCount=e.length,i.dataArray=e;var t=i.state.regression!==i.regressionOptions.none,n=i.checkForNumericalSelections();if(t)if(0!==i.lineCount&&n){var r=e.map((function(e){return[parseFloat(e.x),parseFloat(e.y)]})),s=ht().linear(r),l=function(e,t,n,i,r){var s=function(e){return e[0]},l=function(e){return e[1]},a=function(e,t){return e+t};i=Math.floor(i),r=Math.ceil(r);var o=Math.sqrt(e.map((function(e,n){return[l(e),l(t[n])]})).map((function(e){return Math.pow(e[1]-e[0],2)})).reduce(a)/e.length),c=e.map((function(e){return s(e)})).reduce(a)/e.length,u=Math.sqrt(e.map((function(e){return Math.pow(s(e)-c,2)})).reduce(a)/e.length),d=ut(i,r,n),h=0===o||0===u?d.map((function(e){return 0})):d.map((function(t){return Number.parseFloat((1.96*o*Math.sqrt(1/e.length+Math.pow(s(t)-c,2)/((e.length-1)*Math.pow(u,2)))).toPrecision(4))}));return{upperBorderData:d.map((function(e,t){return[s(e),l(e)+h[t]]})),lowerBorderData:d.map((function(e,t){return[s(e),l(e)-h[t]]}))}}(r,s.points,s.predict,i.minX,i.maxX),a=[[i.minX,s.predict(i.minX)[1]],[i.maxX,s.predict(i.maxX)[1]]];s.points=Array.from(new Set(s.points.map(JSON.stringify)),JSON.parse).concat(a);var o=i.props.tools[i.state.toolX].columns[i.state.columnX].unit,c=i.props.tools[i.state.toolY].columns[i.state.columnY].unit,u="Estimation technique: ordinary least squares (OLS)\n                          Predictor variable (X-Axis) in ".concat(o,": ").concat(i.state.nameX,"\n                          Response variable (Y-Axis) in ").concat(c,": ").concat(i.state.nameY,"\n                          Regression coefficient: ").concat(s.equation[0],"\n                          Intercept: ").concat(s.equation[1],"\n                          Equation: ").concat(s.string,"\n                          Coefficient of Determination: ").concat(s.r2).replace(/^ +/gm,"");i.regressionData={regression:s,text:u,upperConfidenceBorderData:l.upperBorderData,lowerConfidenceBorderData:l.lowerBorderData}}else O({regression:i.regressionOptions.none})},i.setMinMaxValues=function(e){var t=e.map((function(e){return e.x})),n=e.map((function(e){return e.y}));i.maxX=i.findMaxValue(t),i.maxY=i.findMaxValue(n),i.minX=i.findMinValue(t),i.minY=i.findMinValue(n)},i.findMaxValue=function(e){var t=Math.max.apply(Math,(0,u.Z)(e));return t<3?3:t},i.findMinValue=function(e){var t=Math.min.apply(Math,(0,u.Z)(e));return t>2?1:t},i.renderRegressionLine=function(e){var t=i.prepareRegressionLineData(e);return(0,j.jsx)(at.LU,{className:"regression-line",data:t,style:{stroke:"green"},onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})},opacity:"0"},"reg-line-"+e)},i.renderConfidenceIntervalLine=function(e,t){var n=i.prepareLineData(e);return(0,j.jsx)(at.eh,{className:"regression-line",data:n,style:{stroke:"gray"}},"conf-line-".concat(t,"-").concat(e))},i.prepareRegressionLineData=function(e){return e.sort((function(e,t){return e[0]-t[0]})).map((function(e,t){var n=Math.round(100*i.regressionData.lowerConfidenceBorderData[t][1])/100,r=Math.round(100*i.regressionData.upperConfidenceBorderData[t][1])/100;return{x:e[0],y:e[1],"95% Confidence Interval":"[".concat(n,",").concat(r,"]")}})).sort((function(e,t){return e.x-t.x}))},i.prepareLineData=function(e){return e.map((function(e){return{x:e[0],y:e[1]}})).sort((function(e,t){return e.x-t.x}))},i.handleType=function(e,t){var n=i.props.tools[e].columns[t].type;return"text"===n||"status"===n?"ordinal":i.state.scaling===i.scalingOptions.logarithmic?"log":"linear"},i.extractAxisInfoByName=function(e,t){var n,r=e.split("-"),s=(0,f.Z)(r,2),l=s[0],a=s[1];return n={},(0,p.Z)(n,"data".concat(t),e),(0,p.Z)(n,"tool".concat(t),l),(0,p.Z)(n,"column".concat(t),a),(0,p.Z)(n,"name".concat(t),i.props.tools[l].columns.find((function(e){return e.colIdx===parseInt(a)})).display_title+" ("+H(i.props.tools[l])+")"),n},i.setAxis=function(e,t){var n;i.array=[];var r=e.target.value.split("-"),s=(0,f.Z)(r,2),l=s[0],a=s[1];a=a.replace("___","-"),O((n={},(0,p.Z)(n,"tool".concat(t),l),(0,p.Z)(n,"column".concat(t),a),n))},i.swapAxes=function(){i.array=[],O({toolX:i.state.toolY,toolY:i.state.toolX,columnX:i.state.columnY,columnY:i.state.columnX})},i.scalingOptions={linear:"Linear",logarithmic:"Logarithmic"},i.resultsOptions={all:"All",correct:"Correct only"},i.regressionOptions={none:"None",linear:"Linear"},i.lineOptgroupOptions={"f(x) = cx and f(x) = x/c":[{name:"c = 1.1",value:1.1},{name:"c = 1.2",value:1.2},{name:"c = 1.5",value:1.5},{name:"c = 2",value:2},{name:"c = 3",value:3},{name:"c = 4",value:4},{name:"c = 5",value:5},{name:"c = 6",value:6},{name:"c = 7",value:7},{name:"c = 8",value:8},{name:"c = 9",value:9},{name:"c = 10",value:10},{name:"c = 100",value:100},{name:"c = 1000",value:1e3},{name:"c = 10000",value:1e4},{name:"c = 100000",value:1e5},{name:"c = 1000000",value:1e6}]},i.defaultValues={scaling:i.scalingOptions.logarithmic,results:i.resultsOptions.correct,regression:i.regressionOptions.none,line:Object.values(i.lineOptgroupOptions)[0][11].value},i.state=i.setup(),i.maxX="",i.minX="",i.lineCount=1,i}return(0,l.Z)(n,[{key:"setup",value:function(){var e,t,n,i=H(this.props.tools[0])+" "+this.props.columns[0][1],r=(0,c.Z)((0,c.Z)({},this.defaultValues),X()),s=r.results,l=r.scaling,a=r.toolX,o=r.toolY,u=r.columnX,d=r.columnY,h=r.line,g=r.regression;if(B(a)||B(u)){var p=re(this.props.tools,this.props.hiddenCols),m=(0,f.Z)(p,2),v=m[0],I=m[1];n=void 0===v,a=v,e="".concat(v,"-").concat(I)}else n=!1,e="".concat(a,"-").concat(u);if(B(o)||B(d)){var b=re(this.props.tools,this.props.hiddenCols),C=(0,f.Z)(b,2),x=C[0],y=C[1];n=void 0===x,o=x,t="".concat(x,"-").concat(y)}else n=!1,t="".concat(o,"-").concat(d);var Z={dataX:e,dataY:t,results:s,scaling:l,regression:g,toolX:0,toolY:0,line:h,columnX:1,columnY:1,nameX:i,nameY:i,value:!1,areAllColsHidden:n};return e&&!n&&(Z=(0,c.Z)((0,c.Z)({},Z),this.extractAxisInfoByName(e,"X"))),t&&!n&&(Z=(0,c.Z)((0,c.Z)({},Z),this.extractAxisInfoByName(t,"Y"))),Z}},{key:"componentDidMount",value:function(){window.addEventListener("popstate",this.refreshUrlState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("popstate",this.refreshUrlState)}},{key:"renderAllSettings",value:function(){var e=this,t=this.props.tools.reduce((function(t,n,i){return Object.assign(t,(0,p.Z)({},H(n),n.columns.filter((function(t){return!e.props.hiddenCols[i].includes(t.colIdx)})).map((function(e,t){return{name:e.display_title,value:i+"-"+e.colIdx}}))))}),{});return(0,j.jsx)("div",{className:"settings-container",children:(0,j.jsxs)("div",{className:"settings-border-container",children:[(0,j.jsxs)("div",{className:"settings-subcontainer flexible-width",children:[ct("X-Axis",this.state.dataX,(function(t){return e.setAxis(t,"X")}),t),(0,j.jsx)("span",{className:"setting icon",children:(0,j.jsx)(y.G,{icon:st.Ssp,onClick:function(){return e.swapAxes()}})}),ct("Y-Axis",this.state.dataY,(function(t){return e.setAxis(t,"Y")}),t)]}),(0,j.jsxs)("div",{className:"settings-subcontainer",children:[ot("Scaling",this.state.scaling,(function(e){return O({scaling:e.target.value})}),this.scalingOptions),ot("Results",this.state.results,(function(e){return O({results:e.target.value})}),this.resultsOptions,"In addition to which results are selected here, any filters will still be applied."),(0,j.jsx)("div",{className:"settings-subcontainer",children:ct("Aux. Lines",this.state.line,(function(e){return O({line:e.target.value})}),this.lineOptgroupOptions,"Adds the two auxiliary lines f(x) = cx and f(x) = x/c to the plot, with c being the chosen factor in the dropdown.")})]}),(0,j.jsx)("div",{className:"settings-subcontainer",children:ot("Regression",this.state.regression,(function(t){e.checkForNumericalSelections()?O({regression:t.target.value}):alert("Regressions are only available for numerical selections.")}),this.regressionOptions,this.state.regression!==this.regressionOptions.none&&this.regressionData?this.regressionData.text:void 0)})]})})}},{key:"renderRegressionAndConfidenceIntervals",value:function(){var e=ut(Math.floor(this.minX),Math.ceil(this.maxX),this.regressionData.regression.predict);return[this.renderConfidenceIntervalLine(this.regressionData.upperConfidenceBorderData,"upper"),this.renderConfidenceIntervalLine(this.regressionData.lowerConfidenceBorderData,"lower"),this.renderRegressionLine(e)]}},{key:"render",value:function(){var e=this;this.renderData();var t=this.state.scaling===this.scalingOptions.linear,n=this.props.isFlexible?at.wu:at.dp,i=this.props.isFlexible?{height:window.innerHeight-200}:{height:1e3,width:1500},r=this.maxX>this.maxY?this.maxX:this.maxY;return(0,j.jsxs)("div",{className:"scatterPlot",children:[!this.state.areAllColsHidden&&this.renderAllSettings(),(0,j.jsxs)(n,(0,c.Z)((0,c.Z)({className:"scatterPlot__plot",margin:{left:90},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX),xDomain:"ordinal"!==this.handleType(this.state.toolX,this.state.columnX)?[this.minX,this.maxX]:null,yDomain:"ordinal"!==this.handleType(this.state.toolY,this.state.columnY)?[this.minY,this.maxY]:null},i),{},{children:[(0,j.jsx)(at.pW,{yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.xL,{yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.Ci,{className:"middle-line",axisStart:{x:t?0:1,y:t?0:1},axisEnd:{x:r,y:r},axisDomain:[0,1e10],style:{ticks:{stroke:"#009440",opacity:0},text:{stroke:"none",fill:"#009440",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Ci,{axisStart:{x:t?0:this.state.line,y:t?0:1},axisEnd:{x:this.maxX,y:this.maxX/this.state.line},axisDomain:[0,1e10],style:{ticks:{stroke:"#ADDDE1",opacity:0},text:{stroke:"none",fill:"#6b6b76",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Ci,{axisStart:{x:t?0:1,y:t?0:this.state.line},axisEnd:{x:this.maxX,y:this.maxX*this.state.line},axisDomain:[0,1e10],style:{ticks:{stroke:"#ADDDE1",opacity:0},text:{stroke:"none",fill:"#6b6b76",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Kc,{title:this.state.nameX,tickFormat:function(e){return e},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.B2,{title:this.state.nameY,tickFormat:function(e){return e},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.e9,{data:this.dataArray,onValueMouseOver:function(t,n){return e.setState({value:t})},onValueMouseOut:function(t,n){return e.setState({value:null})}}),this.state.regression!==this.regressionOptions.none&&this.checkForNumericalSelections()&&this.regressionData&&0!==this.lineCount&&this.renderRegressionAndConfidenceIntervals(),this.state.value?(0,j.jsx)(at.kW,{value:this.state.value}):null]})),this.state.areAllColsHidden?(0,j.jsx)("div",{className:"plot__noresults",children:"No columns to show!"}):0===this.lineCount&&(0,j.jsxs)("div",{className:"plot__noresults",children:["No"," ",this.state.results===this.resultsOptions.correct&&"correct"," ","results",this.props.table.length>0&&" with valid data points",this.hasInvalidLog&&" (negative values are not shown in logarithmic plot)"]})]})}}]),n}(i.Component),ft=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).isColRelevantForTool=function(e,t){return i.isColVisible(t,e)&&"text"!==e.type&&"status"!==e.type},i.isToolRelevantForCol=function(e,t){var n=e.columns.find((function(e){return e.display_title===t}));return i.isToolVisible(e)&&n&&i.isColVisible(e.toolIdx,n.colIdx)},i.isColVisibleInAnyTool=function(e){return i.props.tools.some((function(t){return t.columns.some((function(n){return n.colIdx===e.colIdx&&i.isColVisible(t.toolIdx,n.colIdx)}))}))},i.isInVisibleRunsetSupportingScore=function(e){return i.props.tools.filter((function(e){return i.isToolVisible(e)})).some((function(t){return t.scoreBased&&t.columns.some((function(t){return t.display_title===e}))}))},i.isToolVisible=function(e){return e.columns.length!==i.props.hiddenCols[e.toolIdx].length},i.isColVisible=function(e,t){return!i.props.hiddenCols[e].includes(t)},i.updateDimensions=function(){i.setState({height:window.innerHeight})},i.refreshUrlState=function(){i.setState(i.setPlotData())},i.renderLegend=function(){if(i.state.isValue)return i.props.tools.filter((function(e){return i.isToolRelevantForCol(e,i.state.selection)})).map(H).map((function(e){return{title:e,disabled:i.state.isInvisible.some((function(t){return t===e})),strokeWidth:4}}));var e=i.props.tools[i.state.selection.split("-")[1]];return i.state.areAllColsHidden?[]:e.columns.filter((function(t){return i.isColRelevantForTool(t.colIdx,e.toolIdx)})).map((function(e){return{title:e.display_title,disabled:i.state.isInvisible.some((function(t){return t===e.display_title})),strokeWidth:4}}))},i.renderAll=function(){var e=i.state.selection;if(i.state.isValue){var t=i.state.plot===i.plotOptions.scoreBased?i.props.tools.filter((function(e){return e.scoreBased})):i.props.tools;t.forEach((function(t){return i.renderData(e,t.toolIdx,e+t.toolIdx)}))}else if(!i.state.areAllColsHidden){var n=i.state.selection.split("-")[1],r=i.props.tools[n];r.columns.filter((function(e){return i.isColRelevantForTool(e.colIdx,r.toolIdx)&&i.isColVisible(r.toolIdx,e.colIdx)})).forEach((function(e){return i.renderData(e.display_title,n,e.display_title)}))}},i.renderData=function(e,t,n){var r=i.state.plot===i.plotOptions.scoreBased,s="ordinal"===i.handleType(),l=i.props.tools[t].columns.findIndex((function(t){return t.display_title===e})),a=[],o=0;(!i.state.isValue||l>=0&&i.isColVisible(t,l))&&(a=i.props.table.map((function(e){var n=e.results[t],a=null;return"correct"===n.category||!i.state.isResultSelectionDisabled&&i.state.results!==i.resultsOptions.correct?(a=n.values[l].raw||null,s||null===a||(a=isFinite(+a)?+a:null)):r&&n.score&&"correct"!==n.category&&(o+=n.score),{value:a,rowName:i.props.getRowName(e),score:n.score}})),i.state.plot!==i.plotOptions.direct&&(a=a.filter((function(e){return null!==e.value})),a=i.sortArray(a,e))),i.hasInvalidLog=!1;var c=[],u=r?o:0;a.forEach((function(n){var s=n.value,l=n.rowName,a=n.score,o=i.state.scaling===i.scalingOptions.logarithmic&&s<=0;u+=r?a:1,null===s||o||c.push({x:u,y:s,task:l,series:i.state.isValue?H(i.props.tools[t]):e}),o&&(i.hasInvalidLog=!0)})),i[n]=c},i.sortArray=function(e,t){var n=i.possibleValues.find((function(e){return e.display_title===t}));return i.state.isValue&&["text","status"].includes(n.type)?e.sort((function(e,t){return e.value>t.value?1:t.value>e.value?-1:0})):e.sort((function(e,t){return+e.value-+t.value}))},i.renderColumns=function(){return i.possibleValues.map((function(e){var t=i.state.plot===i.plotOptions.scoreBased&&!i.isInVisibleRunsetSupportingScore(e.display_title);return(0,j.jsx)("option",{value:e.display_title,name:e.display_title,disabled:t,className:t?"disabled":"",children:e.display_title},e.display_title)}))},i.renderLines=function(){i.lineCount=0;var e=function(){return T[(i.lineCount-1)%T.length]};if(i.state.isValue)return i.props.tools.map((function(t,n){if(!i.isToolRelevantForCol(t,i.state.selection)||i.state.plot===i.plotOptions.scoreBased&&!t.scoreBased)return null;var r=i.state.selection,s=i[r+n],l=H(t);return i.lineCount++,(0,j.jsx)(at.LU,{data:s,color:e(),opacity:i.handleLineState(l),onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})}},l)})).filter((function(e){return!!e}));if(!i.state.areAllColsHidden){var t=i.state.selection.split("-")[1],n=i.props.tools[t];return n.columns.filter((function(e){return i.isColRelevantForTool(e.colIdx,n.toolIdx)})).map((function(t){var n=i[t.display_title];return i.lineCount++,(0,j.jsx)(at.LU,{data:n,color:e(),opacity:i.handleLineState(t.display_title),onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})}},t.display_title)}))}},i.handleLineState=function(e){return i.state.isInvisible.indexOf(e)<0?1:0},i.toggleShow=function(e){var t=e.target;i.setState((0,p.Z)({},t.name,t.checked))},i.handleType=function(){var e=i.state.selection,t=i.possibleValues.findIndex((function(t){return t.display_title===e})),n=i.state.isValue&&t>=0?i.possibleValues[t].type:null;return!i.state.isValue||"text"!==n&&"status"!==n?i.state.scaling===i.scalingOptions.linear?"linear":"log":"ordinal"},i.plotOptions={quantile:"Quantile Plot",direct:"Direct Plot"},i.scalingOptions={linear:"Linear",logarithmic:"Logarithmic"},i.resultsOptions={all:"All",correct:"Correct only"},i.defaultValues={plot:i.plotOptions.quantile,scaling:i.scalingOptions.logarithmic,results:i.resultsOptions.correct},i.checkForScoreBasedPlot(),i.possibleValues=[],i.lineCount=1,i.state=i.setPlotData(),i}return(0,l.Z)(n,[{key:"setPlotData",value:function(){var e=this,t=X(),n=(0,c.Z)((0,c.Z)({},this.defaultValues),t),i=n.selection,r=n.plot,s=n.scaling,l=n.results,a=i,o=this.props.tools.map((function(e){return e.toolIdx})).join(""),u=new RegExp("runset-["+o+"]"),d=void 0===i||!u.test(i);if(i=d?this.getColumnSelection(i):this.getRunsetSelection(i),r===this.plotOptions.scoreBased&&(d&&!this.isInVisibleRunsetSupportingScore(i)||!d)){this.setPossibleValues();var h=this.possibleValues.find((function(t){return"status"!==t.type&&e.isInVisibleRunsetSupportingScore(t.display_title)}));h||(h=this.possibleValues.find((function(t){return e.isInVisibleRunsetSupportingScore(t.display_title)}))),i=h?h.display_title:i,d=!0}return a&&i&&a!==i&&O({selection:i}),{selection:i,plot:r,scaling:s,results:l,isValue:d,isInvisible:[],areAllColsHidden:void 0===i,isResultSelectionDisabled:r===this.plotOptions.scoreBased}}},{key:"getColumnSelection",value:function(e){var t=e?this.props.tools.map((function(e){return e.columns})).flat().find((function(t){return t.display_title===e})):this.props.preSelection;if(!t||!this.isColVisibleInAnyTool(t)){var n=re(this.props.tools,this.props.hiddenCols),i=(0,f.Z)(n,2),r=i[0],s=i[1];t=void 0!==r?this.props.tools.find((function(e){return e.toolIdx===r})).columns.find((function(e){return e.colIdx===s})):void 0}return t&&t.display_title}},{key:"getRunsetSelection",value:function(e){var t=this,n=parseInt(e.split("-")[1]);return this.props.tools.find((function(e){return e.toolIdx===n})).columns.some((function(e){return t.isColVisible(n,e.colIdx)}))||(n=re(this.props.tools,this.props.hiddenCols)[0]),void 0!==n?"runset-"+n:void 0}},{key:"checkForScoreBasedPlot",value:function(){var e=this;this.props.tools.some((function(t){return t.scoreBased&&e.isToolVisible(t)}))&&(this.plotOptions=(0,c.Z)({scoreBased:"Score-based Quantile Plot"},this.plotOptions),this.props.tools.every((function(t){return t.scoreBased&&e.isToolVisible(t)}))&&(this.defaultValues.plot=this.plotOptions.scoreBased))}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.updateDimensions),window.addEventListener("popstate",this.refreshUrlState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateDimensions),window.removeEventListener("popstate",this.refreshUrlState)}},{key:"setPossibleValues",value:function(){var e=this;this.props.tools.forEach((function(t){t.columns.forEach((function(n){e.isColVisible(t.toolIdx,n.colIdx)&&!e.possibleValues.some((function(e){return e.display_title===n.display_title}))&&e.possibleValues.push(n)}))}))}},{key:"renderAllSettings",value:function(){var e=this,t=this.state.plot===this.plotOptions.scoreBased?"Score-based Quantile Plots always show correct results offset by the score of wrong results. Any defined filters will still be applied.":"In addition to which results are selected here, any defined filters will still be applied.";return(0,j.jsxs)("div",{className:"settings-legend-container",children:[(0,j.jsx)("div",{className:"settings-container",children:(0,j.jsxs)("div",{className:"settings-border-container",children:[(0,j.jsxs)("div",{className:"settings-subcontainer flexible-width",children:[(0,j.jsxs)("div",{className:"setting flexible-width",children:[(0,j.jsx)("span",{className:"setting-label",children:"Selection:"}),(0,j.jsxs)("select",{className:"setting-select",name:"setting-Selection",value:this.state.selection,onChange:function(e){return O({selection:e.target.value})},children:[(0,j.jsx)("optgroup",{label:"Runsets",children:this.props.tools.map((function(t,n){var i=e.state.plot===e.plotOptions.scoreBased;return e.isToolVisible(t)?(0,j.jsx)("option",{value:"runset-"+n,name:"Runset "+n,disabled:i,className:i?"disabled":"",children:H(t)},"runset-"+n):null}))}),(0,j.jsx)("optgroup",{label:"Columns",children:this.renderColumns()})]})]}),ot("Plot",this.state.plot,(function(e){return O({plot:e.target.value})}),this.plotOptions)]}),(0,j.jsxs)("div",{className:"settings-subcontainer",children:[ot("Scaling",this.state.scaling,(function(e){return O({scaling:e.target.value})}),this.scalingOptions),ot("Results",this.state.results,(function(e){return O({results:e.target.value})}),this.resultsOptions,t,this.state.isResultSelectionDisabled)]})]})}),(0,j.jsx)("div",{children:(0,j.jsx)(at.Ri,{colors:T,items:this.renderLegend(),onItemClick:function(t,n){var i;if(i=t.title.toString(),!(e.state.isInvisible.indexOf(i)<0))return e.setState({isInvisible:e.state.isInvisible.filter((function(e){return e!==i}))});e.setState({isInvisible:e.state.isInvisible.concat([i])})}})})]})}},{key:"render",value:function(){this.setPossibleValues(),this.renderAll();var e=this.props.isFlexible?at.wu:at.dp,t=this.props.isFlexible?{height:window.innerHeight-200}:{height:1e3,width:1500};return(0,j.jsxs)("div",{className:"quantilePlot",children:[!this.state.areAllColsHidden&&this.renderAllSettings(),(0,j.jsxs)(e,(0,c.Z)((0,c.Z)({margin:{left:90},yType:this.handleType()},t),{},{children:[(0,j.jsx)(at.pW,{}),(0,j.jsx)(at.xL,{}),(0,j.jsx)(at.Kc,{tickFormat:function(e){return e}}),(0,j.jsx)(at.B2,{tickFormat:function(e){return e}}),this.state.value?(0,j.jsx)(at.kW,{value:this.state.value}):null,this.renderLines()]})),this.state.areAllColsHidden?(0,j.jsx)("div",{className:"plot__noresults",children:"No columns to show!"}):0===this.lineCount&&(0,j.jsx)("div",{className:"plot__noresults",children:this.hasInvalidLog?"All results have undefined values":"No correct results"})]})}}]),n}(i.Component),pt=n(8282),mt=(n(8995),(0,pt.u7)(pt.ZP.Range)),vt=500,It=setTimeout((function(){}),vt),bt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filter||{values:[]},l=r.values,a=r.min,o=r.max,c=r.type,u=r.number_of_significant_digits,d=0,h=0;if("measure"===c||"number"===c){var g=new ne(u).build();d=g(a),h=g(o);var f=l&&l[0];if(f&&f.includes(":")){var p=i.handleMinMaxValue(f,u);d=p.min,h=p.max}}return i.state={title:e.availableFilters&&e.availableFilters.length?e.availableFilters[0].title:"",values:[],idx:k(["availableFilters",0,"idx"],0,e),active:!0,selectedDistincts:[],sliderMin:d,sliderMax:h,numericMin:null,numericMax:null},i}return(0,l.Z)(n,[{key:"sendFilterUpdate",value:function(e){var t=this.props.filter,n=t.type,i=t.categories;i&&i.includes("empty ")&&!e.includes(xe)&&(e=e.concat(xe)),0===e.length&&"status"===n?this.props.onFilterUpdate({values:[W],title:this.state.title||this.props.title}):this.props.onFilterUpdate({values:e,title:this.state.title||this.props.title})}},{key:"componentDidUpdate",value:function(e,t){if(this.props.filter&&(!e.filter||e.filter.values!==this.props.filter.values)){var n=this.props.filter,i=n.values,r=n.number_of_significant_digits,s=(0,f.Z)(i,1)[0];if(s&&s.includes(":")){var l=this.handleMinMaxValue(s,r),a=l.min,o=l.max;this.setState({sliderMin:a,sliderMax:o,numericMin:a,numericMax:o})}}}},{key:"handleMinMaxValue",value:function(e,t){var n=new ne(t).build(),i=this.props.filter||{min:0,max:1/0},r=i.min,s=i.max,l=e.split(":"),a=(0,f.Z)(l,2),o=a[0],c=a[1];return{min:""!==o.trim()?o:n(r),max:""!==c.trim()?c:n(s)}}},{key:"handleNumberChange",value:function(e,t){var n,i,r={};if(r.sliderMin=Number(null!==(n=this.state.numericMin)&&void 0!==n?n:this.state.sliderMin),r.sliderMax=Number(null!==(i=this.state.numericMax)&&void 0!==i?i:this.state.sliderMax),r.sliderMin>r.sliderMax){var s=r.sliderMax;r.sliderMax=r.sliderMin,r.sliderMin=s}var l=r.sliderMin<=Number(e)?"":r.sliderMin,a=r.sliderMax>=Number(t)?"":r.sliderMax;r.values=["".concat(l,":").concat(a)],this.setState(r),this.sendFilterUpdate(r.values)}},{key:"render",value:function(){var e=this,t=this.props,n=t.filter,r=t.editable,s=t.availableFilters,l=i.createRef();return(0,j.jsxs)("div",{className:"filter-card",children:[function(t,i){return(0,j.jsx)("div",{className:"filter-card--header",children:i?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{style:{marginLeft:"12px"},children:"Add filter for: "}),(0,j.jsxs)("select",{className:"filter-selection",defaultValue:"-1",ref:l,onChange:function(t){var n=t.target.value;-1!==n&&(e.setState({idx:-1,active:!0}),l.current.value="-1",e.props.addFilter(n))},children:[(0,j.jsx)("option",{value:"-1",disabled:!0,children:"Column"}),s.map((function(e){var t=e.idx,n=e.display_title;return(0,j.jsx)("option",{value:t,children:n},t)}))]})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("h4",{className:"title",children:"".concat(n.display_title," ").concat(n.unit?"("+n.unit+")":"")}),(0,j.jsx)(y.G,{className:"delete-button",icon:st.$aW,onClick:function(){e.props.removeFilter()}})]})})}(this.props.name,r),function(t){if(!t)return null;var n,r=t.title,s=t.type,l=t.number_of_significant_digits,a=t.categories,o=t.statuses,c=t.values,d=void 0===c?[]:c,h=t.min,g=t.max,p=i.createRef();if("status"===s)n=(0,j.jsxs)(j.Fragment,{children:[e.props.filter.categories&&e.props.filter.categories.includes("empty ")&&(0,j.jsxs)("div",{className:"filter-card--body--empty-rows",children:["Empty rows"," ",(0,j.jsx)("input",{type:"checkbox",name:"empty-rows",ref:p,checked:d.includes("empty "),onChange:function(t){var n="empty ";if(t.target.checked){var i=[].concat((0,u.Z)(d),[n]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(n,d);e.setState({values:r}),e.sendFilterUpdate(r)}}})]}),"Category",(0,j.jsx)("ul",{className:"filter-card--body--list",children:a.filter((function(e){return"empty "!==e})).sort().map((function(t){var n=i.createRef();return(0,j.jsxs)("li",{children:[(0,j.jsx)("input",{type:"checkbox",name:"cat-".concat(t),checked:d.includes(t),ref:n,onChange:function(n){if(n.target.checked){var i=[].concat((0,u.Z)(d),[t]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(t,d);e.setState({values:r}),e.sendFilterUpdate(r)}}}),(0,j.jsx)("label",{htmlFor:"cat-".concat(t),onClick:function(){return n.current.click()},className:t,children:t})]},t)}))}),"Status",(0,j.jsx)("ul",{className:"filter-card--body--list",children:o.sort().map((function(t){var n=i.createRef();return(0,j.jsxs)("li",{children:[(0,j.jsx)("input",{type:"checkbox",name:"stat-".concat(t),ref:n,checked:d.includes(t),onChange:function(n){if(n.target.checked){var i=[].concat((0,u.Z)(d),[t]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(t,d);e.setState({values:r}),e.sendFilterUpdate(r)}}}),(0,j.jsx)("label",{htmlFor:"stat-".concat(t),onClick:function(){return n.current.click()},children:t})]},t)}))})]});else if("text"===s){var m=(0,f.Z)(d,1)[0];n=(0,j.jsx)("input",{type:"text",name:"text-".concat(r),placeholder:"Search for value",value:m,onChange:function(t){var n=t.target.value;clearTimeout(It),e.setState({values:[n]}),It=setTimeout((function(){e.sendFilterUpdate([n])}),vt)}})}else{var v=new ne(l).build();h=v(h),g=v(g);var I=le(h),b=le(g),C=I.length>b.length?I:b;n=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("div",{className:"filter-card--range-container",children:[(0,j.jsx)("b",{children:h}),(0,j.jsx)("b",{children:g})]}),(0,j.jsx)(mt,{min:Number(h),max:Number(g),step:C,defaultValue:[Number(h),Number(g)],value:[Number(e.state.sliderMin),Number(e.state.sliderMax)],onChange:function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1];e.setState({sliderMin:v(i),sliderMax:v(r)})},onAfterChange:function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1],s=v(i),l=v(r),a=s===h?"":s,o=l===g?"":l;e.setState({sliderMin:s,sliderMax:l,numericMin:i,numericMax:r,values:["".concat(a,":").concat(o)]}),e.sendFilterUpdate(["".concat(a,":").concat(o)])}}),(0,j.jsxs)("div",{className:"filter-card--range-input-fields",children:[(0,j.jsx)("label",{className:"range-input-fields--min",htmlFor:"inp-".concat(r,"-min"),children:"minimum"}),(0,j.jsx)("label",{className:"range-input-fields--max",htmlFor:"inp-".concat(r,"-max"),children:"maximum"}),(0,j.jsx)("input",{type:"number",name:"inp-".concat(r,"-min"),value:null!==e.state.numericMin?e.state.numericMin:e.state.sliderMin,lang:"en-US",step:C,onChange:function(t){var n=t.target.value;e.numericMinTimeout&&clearTimeout(e.numericMinTimeout),e.setState({numericMin:n}),e.numericMinTimeout=setTimeout((function(){return e.handleNumberChange(h,g)}),vt)}}),(0,j.jsx)("input",{type:"number",name:"inp-".concat(r,"-max"),step:C,lang:"en-US",value:null!==e.state.numericMax?e.state.numericMax:e.state.sliderMax,onChange:function(t){var n=t.target.value;e.numericMaxTimeout&&clearTimeout(e.numericMaxTimeout),e.setState({numericMax:n}),e.numericMaxTimeout=setTimeout((function(){return e.handleNumberChange(h,g)}),vt)}})]})]})}return(0,j.jsx)("div",{className:"filter-card--body",children:n})}(this.props.filter)]})}}]),n}(i.PureComponent),Ct=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filters,l=e.toolName,a=e.currentFilters;for(var o in a)r[o]=(0,c.Z)((0,c.Z)((0,c.Z)({},r[o]),a[o]),{},{touched:r[o].touched+1,filtering:!0});return i.props.resetFilterHook((function(){return i.resetAllFilters()})),i.state={filters:r,toolName:l,addingFilter:!1,numCards:0},i}return(0,l.Z)(n,[{key:"getActiveFilters",value:function(){return this.state.filters.filter((function(e){return e.filtering})).sort((function(e,t){return e.numCards-t.numCards}))}},{key:"setFilter",value:function(e,t){var n=e.title,i=e.values,r=e.filtering,s=void 0===r||r,l=this.state.filters;l[t].values=i,l[t].filtering=s,l[t].touched+=1,this.setState({filters:(0,u.Z)(l)}),this.props.updateFilters({title:n,values:i},t)}},{key:"addFilter",value:function(e){var t=this.state,n=t.filters,i=t.numCards,r={filtering:!0,numCards:i,touched:0};"status"===n[e].type&&(r.values=[].concat((0,u.Z)(n[e].categories),(0,u.Z)(n[e].statuses))),n[e]=(0,c.Z)((0,c.Z)({},n[e]),r),this.setState({filters:n,addingFilter:!1,numCards:i+1})}},{key:"resetAllFilters",value:function(){var e=this.state.filters.filter((function(e){return e.filtering})),t=this.state.filters.map((function(e){return(0,c.Z)((0,c.Z)({},e),{},{filtering:!1,values:[]})}));this.setState({filters:(0,u.Z)(t)});var n,i=(0,g.Z)(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;r.values&&this.props.updateFilters({title:r.display_title,values:[]},r.idx)}}catch(s){i.e(s)}finally{i.f()}}},{key:"removeFilter",value:function(e,t){var n=this.state.filters;n[e].filtering=!1,n[e].values=[],this.setState({filters:(0,u.Z)(n)}),this.props.updateFilters({title:t,values:[]},e)}},{key:"componentDidUpdate",value:function(e){var t=e.currentFilters,n=this.props.currentFilters;if(!be()(t,n)){var i=this.state.filters;for(var r in n)i[r]=(0,c.Z)((0,c.Z)((0,c.Z)({},i[r]),n[r]),{},{touched:i[r].touched+1,filtering:!0});i=i.map((function(e,t){var i=!(!n[t]&&0!==e.touched);return(0,c.Z)((0,c.Z)({},e),{},{filtering:i,values:i?e.values:[]})})),this.setState({filters:(0,u.Z)(i)})}}},{key:"render",value:function(){var e=this,t=this.getActiveFilters(),n=this.props.hiddenCols||[],i=this.state.filters.filter((function(e,t){return!e.filtering&&!n.includes(t)}));return(0,j.jsxs)("div",{className:"filterBox--container",children:[(0,j.jsx)("h4",{className:"section-header",children:this.state.toolName}),t.length>0&&t.map((function(t,n){return(0,j.jsx)(bt,{onFilterUpdate:function(n){return e.setFilter(n,t.idx)},title:t.display_title,removeFilter:function(){return e.removeFilter(t.idx,t.display_title)},filter:t},"".concat(e.props.toolName,"-").concat(t.display_title,"-").concat(t.numCards))})),i.length&&(0,j.jsx)(bt,{availableFilters:i,editable:"true",style:{marginBottom:20},addFilter:function(t){return e.addFilter(t)},onFilterUpdate:function(t){return e.setFilter(t)}})||void 0,(0,j.jsx)("br",{})]})}}]),n}(i.PureComponent),xt=setTimeout((function(){}),500),yt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).state={values:i.extractFilters()},e.resetFilterHook((function(){return i.resetIdFilters()})),i}return(0,l.Z)(n,[{key:"resetIdFilters",value:function(){this.setState({values:{}}),this.sendFilterUpdate({})}},{key:"sendFilterUpdate",value:function(e){this.props.updateFilters(e)}},{key:"extractFilters",value:function(){for(var e=0,t={},n=0,i=Object.keys(this.props.ids);n<i.length;n++){t[i[n]]=k(["filters",e++],"",this.props)}return t}},{key:"componentDidUpdate",value:function(e){if(!be()(this.props.filters,e.filters)){var t=this.extractFilters();this.setState({values:t})}}},{key:"render",value:function(){var e=this,t=this.props.ids||{};return(0,j.jsx)("div",{className:"filterBox--container",children:(0,j.jsxs)("div",{className:"filter-card",children:[(0,j.jsx)("div",{className:"filter-card--header",children:(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("h4",{className:"title",children:"Task filter"})})}),function(){var n=Object.entries(t).map((function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1],s=e.state.values[i]||"",l="text-task-".concat(i);return(0,j.jsxs)("div",{className:"task-id-filters",children:[(0,j.jsx)("label",{htmlFor:l,children:i}),(0,j.jsx)("br",{}),(0,j.jsx)("input",{type:"text",name:l,placeholder:r,value:s,onChange:function(t){var n=t.target.value;clearTimeout(xt);var r={values:(0,c.Z)((0,c.Z)({},e.state.values),{},(0,p.Z)({},i,n))};xt=setTimeout((function(){e.sendFilterUpdate((0,c.Z)((0,c.Z)({},e.state.values),{},(0,p.Z)({},i,n)))}),500),e.setState(r)}})]},l)}));return(0,j.jsx)("div",{className:"filter-card--body",children:n})}()]})})}}]),n}(i.PureComponent),Zt=n(6123),jt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filtered;return i.listeners=[],i.resetFilterHook=function(e){return i.listeners.push(e)},i.state={filters:i.createFiltersFromReactTableStructure(r),idFilters:i.retrieveIdFilters(r)},i}return(0,l.Z)(n,[{key:"componentDidUpdate",value:function(e){be()(e.filtered,this.props.filtered)||this.setState({filters:this.createFiltersFromReactTableStructure(this.props.filtered),idFilters:this.retrieveIdFilters(this.props.filtered)})}},{key:"resetAllFilters",value:function(){this.resetAllContainers(),this.resetIdFilters()}},{key:"resetIdFilters",value:function(){this.setState({idFilters:null}),this.sendFilters({filter:this.state.filters,idFilter:null})}},{key:"resetAllContainers",value:function(){this.listeners.forEach((function(e){return e()}))}},{key:"retrieveIdFilters",value:function(e){var t=e.find((function(e){return"id"===e.id}));return t?t.values:[]}},{key:"createFiltersFromReactTableStructure",value:function(e){if(!e||!e.length)return[];var t,n=[],i=(0,g.Z)(e.flat());try{for(i.s();!(t=i.n()).done;){var r=t.value,s=r.id,l=r.value;if("id"!==s){var a=z(s),o=a.tool,c=a.name,u=a.column,d=n[o]||[];d[u]?d[u].values.push(l):d[u]={title:c,values:[l]},n[o]=d}}}catch(h){i.e(h)}finally{i.f()}return n}},{key:"flattenFilterStructure",value:function(){return Object.values(Object.values(this.state.filters))}},{key:"sendFilters",value:function(e){var t=e.filter,n=e.idFilter,i=(0,u.Z)(t.map((function(e,t){return null===e||void 0===e?null:e.map((function(e,n){return e.values.map((function(i){return{id:"".concat(t,"_").concat(e.title,"_").concat(n),value:i}}))}))})).flat(3).filter((function(e){return null!==e&&void 0!==e})));n&&n.length>0&&i.push({id:"id",values:n}),this.props.addTypeToFilter(i),this.props.setFilter(i,!0)}},{key:"updateFilters",value:function(e,t,n){var i=(0,u.Z)(this.state.filters),r=this.state.idFilters;i[e]=i[e]||[],i[e][t]=n,this.setState({filters:i}),this.sendFilters({filter:i,idFilter:r})}},{key:"updateIdFilters",value:function(e){var t=Object.keys(this.props.ids).map((function(t){return e[t]})),n=t.some((function(e){return""!==e&&!B(e)}))?t:void 0;this.setState({idFilters:n}),this.sendFilters({filter:this.state.filters,idFilter:n})}},{key:"render",value:function(){var e=this,t=this.props.hiddenCols||[];return(0,j.jsxs)("div",{className:Zt("filterBox",{"filterBox--hidden":!this.props.visible}),children:[(0,j.jsxs)("div",{className:"filterBox--header",children:[(0,j.jsx)(y.G,{icon:st.YIN,className:"filterBox--header--icon",onClick:this.props.hide}),this.props.headerComponent,(0,j.jsx)(y.G,{icon:st.$aW,className:"filterBox--header--reset-icon",onClick:function(){return e.resetAllFilters()}})]}),(0,j.jsxs)("div",{className:"filter-card--container",children:[(0,j.jsx)(yt,{ids:this.props.ids,updateFilters:function(t){return e.updateIdFilters(t)},resetFilterHook:this.resetFilterHook,filters:this.state.idFilters}),this.props.filterable.map((function(n,i){return(0,j.jsx)(Ct,{resetFilterHook:e.resetFilterHook,updateFilters:function(t,n){return e.updateFilters(i,n,t)},currentFilters:e.state.filters[i]||[],toolName:n.name,filters:n.columns,hiddenCols:t[i]},"filtercontainer-".concat(i))}))]})]})}}]),n}(i.PureComponent),At=n(6123),Ft=n.n(At),Wt=n(9737),Nt=n.n(Wt),Bt=n(7177),Gt=n.n(Bt),wt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).prepareTextForRendering=function(){if(""!==i.props.yamlText){var e=Gt().parseDocument(i.props.yamlText,{prettyErrors:!0}),t=e.get("input_files");t&&(Array.isArray(t.items)?t.items.forEach((function(e){e.value=i.encloseFileInTags(e.value)})):e.set("input_files",i.encloseFileInTags(t)));var n=e.get("properties");n&&Array.isArray(n.items)&&n.items.forEach((function(e){Array.isArray(e.items)&&e.items.forEach((function(e){"property_file"===e.key.value&&(e.value.value=i.encloseFileInTags(e.value.value))}))})),i.setState({content:e})}},i.encloseFileInTags=function(e){return i.state.splitterTag+i.state.fileTag+e+i.state.fileTag+i.state.splitterTag},i.loadFileInViewer=function(e,t){e.preventDefault(),i.props.loadNewFile(t)},i.state={splitterTag:"<splitter#9d81y23>",fileTag:"<file#092nt43>",content:i.props.yamlText},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.prepareTextForRendering()}},{key:"componentDidUpdate",value:function(e){e.yamlText!==this.props.yamlText&&this.prepareTextForRendering()}},{key:"render",value:function(){var e=this;if(this.state.content.errors&&this.state.content.errors.length>0)return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("div",{className:"link-overlay-text",children:["Errors parsing YAML file:",(0,j.jsx)("ul",{children:this.state.content.errors.map((function(e,t){return(0,j.jsx)("li",{children:(0,j.jsx)("pre",{children:e.message})},t)}))}),(0,j.jsx)("pre",{children:this.props.yamlText}),";"]})});Gt().scalarOptions.str.fold={lineWidth:0};var t=this.state.content.toString().split(this.state.splitterTag).map((function(t){return t.match("^".concat(e.state.fileTag,"(?:.)+").concat(e.state.fileTag,"$"))?(t=t.replace(new RegExp(e.state.fileTag,"g"),""),(0,j.jsx)("a",{onClick:function(n){return e.loadFileInViewer(n,t)},className:"link-overlay-file-link",href:e.props.createHref(t),children:t},t)):t}));return(0,j.jsx)("pre",{className:"link-overlay-text",children:t})}}]),n}(i.Component),Yt=n(1842);Yt.jQ({useWebWorkers:!1});var St={},Vt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),(i=t.call(this,e)).loadNewFile=function(e){var t=i.createFileUrl(e);i.setState({isYAML:i.isYAMLFile(e),isSecondLevel:!0,content:"loading file: ".concat(t)}),i.loadFile(t)},i.loadOriginalFile=function(){i.setState({isYAML:i.isYAMLFile(i.props.link),isSecondLevel:!1,content:"loading file: ".concat(i.props.link),error:void 0}),i.loadFile(i.props.link)},i.loadOriginalFileIfEnter=function(e){"Enter"===e.key&&i.loadOriginalFile()},i.createFileUrl=function(e){return Nt().join(i.props.link,"../"+e)},i.loadFile=i.loadFileXMLHttpRequest,i.loadFileFromZip=function(e){var t=decodeURIComponent(e),n=t.lastIndexOf("/")>t.lastIndexOf("\\")?"/":"\\",r=t.lastIndexOf(n),s=t.substring(0,r)+".zip",l=t.split(n),a="".concat(l[l.length-2],"/").concat(l[l.length-1]);s in St?i.loadFileFromZipEntries(St[s],a,s):i.readZipArchive(s,a)},i.readZipArchive=function(e,t){new Yt.Mr(new Yt.R(e)).getEntries().then((function(n){i.handleZipEntries(n,t,e)}),(function(n){i.readZipArchiveNoHttpRange(e,t)}))},i.readZipArchiveNoHttpRange=function(e,t){new Yt.Mr(new Yt.pE(e)).getEntries().then((function(n){i.handleZipEntries(n,t,e)}),(function(n){i.readZipArchiveManually(e,t)}))},i.readZipArchiveManually=function(e,t){try{var n=new XMLHttpRequest;n.responseType="arraybuffer",n.addEventListener("load",(function(){var r=new Uint8Array(n.response);new Yt.Mr(new Yt.I8(r)).getEntries().then((function(n){return i.handleZipEntries(n,t,e)}),i.setError)}),!1),n.addEventListener("error",i.setError,!1),n.open("GET",e),n.send()}catch(r){i.setError('HTTP request for the file "'.concat(t,'" failed'),r)}},i.handleZipEntries=function(e,t,n){St[n]=e,i.loadFileFromZipEntries(e,t,n)},i.loadFileFromZipEntries=function(e,t,n){var r=e.find((function(e){return e.filename===t}));r?r.getData(new Yt.Ek).then((function(e){i.setState({content:e})})):i.setError('Could not find the file "'.concat(t,'" in "').concat(n,'"'))},i.setError=function(e,t){var n=t&&"string"===typeof t?t:e;i.setState({error:"".concat(n)})},i.handlePopState=function(){window.history.back(),window.addEventListener("click",i.props.close,!1)},i.renderHelpMessageForLocalLogs=function(){if("file:"!==window.location.protocol)return null;var e=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("p",{children:["If you are using ",(0,j.jsx)("strong",{children:"Chrome"})," or a Chrome-based browser, try launching it with the command-line option"," ",(0,j.jsx)("strong",{children:(0,j.jsx)("code",{children:"--allow-file-access-from-files"})}),"."]}),(0,j.jsxs)("p",{children:["If you are using ",(0,j.jsx)("strong",{children:"Firefox"}),", please open the extended settings by entering ",(0,j.jsx)("code",{children:"about:config"})," in the URL bar, search for"," ",(0,j.jsx)("strong",{children:(0,j.jsx)("code",{children:"security.fileuri.strict_origin_policy"})})," ","and set this option to ",(0,j.jsx)("code",{children:"false"})," by double-clicking on it and restart your browser (",(0,j.jsx)("a",{href:"https://kb.mozillazine.org/Security.fileuri.strict_origin_policy",children:"more details"}),")."]}),(0,j.jsx)("p",{children:(0,j.jsx)("strong",{children:"Note that these settings will allow local web pages to access all of your files, so make sure to not open any untrusted local HTML documents."})})]}),t=new URL(i.state.currentFile,document.baseURI),n=function(e,t){var n=e.pathname.split("/"),i=t.pathname.split("/"),r=n.findIndex((function(e,t){return e!==i[t]}));return[n.slice(0,r).join("/"),n.slice(r).join("/")]}(window.location,t),r=(0,f.Z)(n,2),s=r[0],l=r[1];if(":"===window.location.pathname[2]){if(!s)return(0,j.jsxs)(j.Fragment,{children:[e,(0,j.jsx)("p",{children:"Alternatively, you can start a local web server serving the directories with the tables and result files, but for doing so you first need to make sure that table and result files are on the same partition."})]});"/"===s[0]&&(s=s.substring(1))}var a="127.0.0.1",o=8e3,c="http://".concat(a,":").concat(o,"/").concat(l).concat(window.location.hash);return(0,j.jsxs)(j.Fragment,{children:[e,(0,j.jsxs)("p",{children:["Alternatively, you can start a local web server serving the directories with the tables and result files.",(0,j.jsx)("br",{}),"To do so, execute the following command and then open"," ",(0,j.jsx)("a",{href:c,children:"this link"})," (adjust the port number ",o," if it is already used on your system):",(0,j.jsx)("br",{}),(0,j.jsx)(F,{children:(0,j.jsxs)("code",{children:["python3 -m http.server -b ",a," ",o," -d ",s||"/"]})})]})]})};var r=!!e.link&&i.isYAMLFile(e.link);return i.state={isYAML:r,content:"loading file: ".concat(e.link),currentFile:e.link,isSecondLevel:!1},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.loadFile(this.props.link),window.history.pushState({},"",""),window.addEventListener("popstate",this.props.close,!1)}},{key:"componentDidUpdate",value:function(){var e=document.getElementById("modal-container");e&&e.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("popstate",this.props.close,!1),window.removeEventListener("click",this.props.close,!1)}},{key:"isYAMLFile",value:function(e){return e.endsWith(".yml")}},{key:"loadFileFetch",value:function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=19;break}return this.setState({currentFile:t}),e.prev=2,e.next=5,fetch(t);case 5:if(n=e.sent,!Y(n.status)){e.next=13;break}return e.next=9,n.text();case 9:i=e.sent,this.setState({content:i}),e.next=14;break;case 13:throw Error("Received response status ".concat(n.status));case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(2),this.loadFileFromZip(t);case 19:case"end":return e.stop()}}),e,this,[[2,16]])})));return function(t){return e.apply(this,arguments)}}()},{key:"loadFileXMLHttpRequest",value:function(e){var t=this;if(e)try{this.setState({currentFile:e});var n=new XMLHttpRequest;n.addEventListener("load",(function(){if(Y(n.status)){var i=n.responseText;t.setState({content:i})}else t.loadFileFromZip(e)})),n.addEventListener("error",(function(){return t.loadFileFromZip(e)})),n.open("GET",e),n.send()}catch(i){this.loadFileFromZip(e)}}},{key:"render",value:function(){var e=this;return rt().setAppElement(document.getElementById("root")),(0,j.jsxs)(rt(),{id:"modal-container",ariaHideApp:!1,className:Ft()("overlay",{"second-level":this.state.isSecondLevel}),isOpen:!0,onRequestClose:function(){return e.handlePopState()},children:[(0,j.jsxs)("div",{className:"link-overlay-header-container",children:[(0,j.jsx)(y.G,{icon:st.YIN,onClick:function(){return e.handlePopState()},className:"closing"}),this.state.isSecondLevel?(0,j.jsxs)("span",{className:"link-overlay-back-button",tabIndex:"0",role:"button",onClick:this.loadOriginalFile,onKeyDown:this.loadOriginalFileIfEnter,children:[(0,j.jsx)(y.G,{className:"link-overlay-back-icon",icon:st.acZ}),"Back to task definition"]}):""]}),this.state.error?(0,j.jsxs)("div",{className:"link-overlay-text",children:[(0,j.jsxs)("p",{style:{marginTop:"0"},children:["Error while loading content (",this.state.error,")."]}),(0,j.jsxs)("p",{children:["This could be a problem of the"," ",(0,j.jsx)("a",{href:"https://en.wikipedia.org/wiki/Same-origin_policy",children:"same-origin policy"})," ","of your browser."]}),this.renderHelpMessageForLocalLogs(),(0,j.jsxs)("p",{children:["You can also try to download the file:"," ",(0,j.jsx)("a",{href:this.state.currentFile,children:this.state.currentFile})]})]}):this.state.isYAML?(0,j.jsx)(wt,{yamlText:this.state.content,createHref:this.createFileUrl,loadNewFile:this.loadNewFile}):(0,j.jsx)("pre",{className:"link-overlay-text",children:this.state.content})]})}}]),n}(i.Component),kt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))).render=function(){return(0,j.jsxs)("button",{className:e.props.className||"reset",onClick:e.props.onClick,disabled:B(e.props.enabled)?!e.props.isFiltered:!e.props.enabled,children:[(0,j.jsxs)("span",{children:["Showing ",(0,j.jsx)("span",{className:"highlight",children:e.props.filteredCount})," of"," "]}),(e.props.className||"").includes("tooltip")&&(0,j.jsx)("span",{className:"tooltiptext tooltip-bottom",children:"Open filter menu"}),e.props.totalCount," tasks",!(e.props.className||"").includes("header")&&(0,j.jsx)(y.G,{icon:st.G_j,className:"filter-icon"})]})},e}return(0,l.Z)(n)}(i.Component);n(9e3);var Rt=[{key:"summary",title:"Summary",path:"/"},{key:"table",title:"Table",path:"/table"},{key:"quantile",title:"Quantile Plot",path:"/quantile"},{key:"scatter",title:"Scatter Plot",path:"/scatter"},{key:"info",title:"Info",path:"/info",icon:(0,j.jsx)(y.G,{icon:st.Fuz})}],Ht=function(){return(Rt.find((function(e){return e.path===document.location.hash.split("?")[0].substr(1)}))||{key:"summary"}).key},Tt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var r;(0,s.Z)(this,n),(r=t.call(this,e)).addTypeToFilter=function(e){return e.filter((function(e){return"id"!==e.id})).forEach((function(e){var t=e.id.split("_"),n=r.state.tools[t[0]].columns[t.at(-1)].type;e.type=n}))},r.getFiltersFromUrl=function(){var e=r.filterUrlRetriever()||[];return r.addTypeToFilter(e),be()(r.lastFiltered,e)?null:e},r.updateFiltersFromUrl=function(){var e=r.getFiltersFromUrl();e&&(r.filteredData=r.runFilter(e),r.setState({tableData:r.filteredData,filtered:e}),r.lastFiltered=e)},r.updateState=function(){return r.setState({active:Ht(),hiddenCols:ie(r.state.tools)})},r.toggleSelectColumns=function(e){e.stopPropagation(),r.setState((function(e){return{showSelectColumns:!e.showSelectColumns}}))},r.toggleLinkOverlay=function(e,t){e.preventDefault(),r.setState((function(e){return{showLinkOverlay:!e.showLinkOverlay,link:t}}))},r.setFilter=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.filteredData=t?e:e.map((function(e){return e._original}))},r.filterPlotData=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r.lastImmediate&&clearImmediate(r.lastImmediate),r.lastImmediate=setImmediate((function(){r.filterUrlSetter(e,r.routerRef.current.history),r.lastFiltered=e.filter((function(e){return e.values&&e.values.length>0||e.value}))})),t&&r.setFilter(r.runFilter(e),!0),r.setState({tableData:r.filteredData,filtered:e})},r.resetFilters=function(){r.setState({tableData:r.originalTable,filtered:[]})},r.findAllValuesOfColumn=function(e,t){return r.originalTools.map((function(n,i){return n.columns.map((function(s,l){if(e(n,s)){var a=r.originalTable.map((function(e){return t(e.results[i],e.results[i].values[l])})).filter(Boolean);return(0,u.Z)(new Set(a)).sort()}}))}))},r.getRowName=function(e){return e.id.filter((function(e){return e})).join(" | ")},r.getRelevantUrlParams=function(){return(document.location.href.split("?")[1]||"").split("&").filter((function(e){return e.startsWith("hidden")||e.startsWith("filter")})).join("&")},r.switchToQuantile=function(e){r.setState({quantilePreSelection:e});var t=r.getRelevantUrlParams();document.location.hash="#/quantile"+(t?"?"+t:"")};var l,a=function(e){var t=e.head,n=e.tools,i=e.rows,r=e.stats,s=e.props,l=e.initial;return{tableHeader:t,taskIdNames:t.task_id_names,tools:n.map((function(e,t){return(0,c.Z)((0,c.Z)({},e),{},{toolIdx:t,columns:e.columns.map((function(e,t){return(0,c.Z)((0,c.Z)({},e),{},{colIdx:t})})),scoreBased:i.every((function(e){return void 0!==e.results[t].score}))})})),columns:n.map((function(e){return e.columns.map((function(e){return e.title}))})),tableData:i,stats:r,properties:s,initial:l}}(e.data),o=a.tableHeader,d=a.taskIdNames,h=a.tools,f=a.columns,p=a.tableData,m=a.stats,v=a.initial;v&&!document.location.href.includes("#")&&(l=v,document.location.href=encodeURI("".concat(document.location.href,"#").concat(l)));var b=function(e){var t=e.tools,n=e.rows;return t.map((function(e,t){var i,r=e.tool,s=e.date,l=e.niceName,a="".concat(r," ").concat(s," ").concat(l),o=e.columns.map((function(e,t){if(e)return"status"===e.type?(i=t,(0,c.Z)((0,c.Z)({},e),{},{categories:{},statuses:{},idx:t})):"text"===e.type?(0,c.Z)((0,c.Z)({},e),{},{distincts:{},idx:t}):(0,c.Z)((0,c.Z)({},e),{},{min:1/0,max:-1/0,idx:t})}));B(i)||(o[i]=(0,c.Z)((0,c.Z)({},o[i]),{},{categories:{},statuses:{}}));var u,d=(0,g.Z)(n);try{for(d.s();!(u=d.n()).done;){var h=u.value.results[t];for(var f in B(i)||(o[i].categories["".concat(h.category," ")]=!0),h.values){var p=h.values[f].raw,m=o[f];m&&!B(p)&&("status"===m.type?m.statuses[p]=!0:"text"===m.type?m.distincts[p]=!0:(m.min=Math.min(m.min,Number(p)),m.max=Math.max(m.max,Number(p))))}}}catch(v){d.e(v)}finally{d.f()}return{name:a,columns:o.map((function(e){var t=e.distincts,n=e.categories,i=e.statuses,r=(0,I.Z)(e,Ce);return t?(0,c.Z)((0,c.Z)({},r),{},{distincts:Object.keys(t)}):n?(0,c.Z)((0,c.Z)({},r),{},{categories:Object.keys(n),statuses:Object.keys(i)}):r}))}}))}(r.props.data);r.originalTable=p,r.originalTools=h,r.taskIdNames=d,r.columns=f,r.stats=m,r.tableHeader=o,r.filteredData=[],r.routerRef=i.createRef(),r.state={tools:h,tableData:p,filterable:b,showSelectColumns:!1,showLinkOverlay:!1,filtered:[],filterBoxVisible:!1,active:Ht(),quantilePreSelection:h[0].columns[1],hiddenCols:ie(h)},r.statusValues=r.findAllValuesOfColumn((function(e,t){return"status"===t.type}),(function(e,t){return G(t)})),r.originalTools.forEach((function(e,t){return e.columns.filter((function(e){return"status"===e.type})).forEach((function(e,n){r.originalTable.some((function(e){return"empty"===e.results[t].category}))&&r.statusValues[t][n].push(xe)}))})),r.categoryValues=r.findAllValuesOfColumn((function(e,t){return"status"===t.type}),(function(e,t){return e.category}));var C=r.categoryValues.map((function(e){return e&&e.map((function(e){return e&&e.map((function(e){return"".concat(e," ")}))}))}));r.filterUrlSetter=$(r.statusValues,C),r.filterUrlRetriever=function(e,t){var n=q({categoryValues:t,statusValues:e});return function(e){var t=X(e);return t.filter?n(t.filter):null}}(r.statusValues,C);var x=r.getFiltersFromUrl();return x&&(r.filteredData=r.runFilter(x),r.lastFiltered=x,r.state=(0,c.Z)((0,c.Z)({},r.state),{},{tableData:r.filteredData,filtered:x})),r}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.removeHistoryListener=this.routerRef.current.history.listen((function(t,n){e.updateState(),"POP"===n&&e.updateFiltersFromUrl()}))}},{key:"componentWillUnmount",value:function(){this.removeHistoryListener()}},{key:"runFilter",value:function(e){var t=e.reduce((function(e,t){var n=t.id,i=t.value,r=t.type,s=t.values;if(B(i)&&B(s)||"string"===typeof i&&"all"===i.trim())return e;if("id"===n)return e.id={value:i,values:s},e;var l,a=z(n),o=a.tool,c=a.column;if("diff"===i)return e.diff||(e.diff=[]),e.diff.push({col:c}),e;if(e[o]||(e[o]={}),N({type:r})&&i.includes(":")){var u=i.split(":"),d=(0,f.Z)(u,2),h=d[0],g=d[1];l={min:h=""===h?-1/0:Number(h),max:g=""===g?1/0:Number(g)}}else l=" "===i[i.length-1]?{category:i.substr(0,i.length-1)}:"status"===r?{status:i}:{value:i};return e[o][c]||(e[o][c]=[]),e[o][c].push(l),e}),{});return ye(t)(this.originalTable)}},{key:"render",value:function(){var e,t,n=this,i=function(e){var t=e.className,i=e.isReset,r=void 0!==i&&i,s=e.onClick,l=e.enabled;return(0,j.jsx)(kt,{className:t,showFilterText:r,onClick:s,enabled:l,isFiltered:!!n.state.filtered.length,resetFilters:n.resetFilters,filteredCount:n.state.tableData.length,totalCount:n.originalTable.length})},r=this.getRelevantUrlParams();return(0,j.jsx)(d.UT,{ref:this.routerRef,children:(0,j.jsxs)("div",{className:"overview",children:[(0,j.jsxs)("div",{className:"overview-container",children:[(0,j.jsx)(jt,{headerComponent:i({className:"filterBox--header--reset",isReset:!0,enabled:!1}),tableHeader:this.tableHeader,tools:this.state.tools,selectColumn:this.toggleSelectColumns,filterable:this.state.filterable,setFilter:this.filterPlotData,resetFilters:this.resetFilters,filtered:this.state.filtered,visible:this.state.filterBoxVisible,hiddenCols:this.state.hiddenCols,hide:function(){n.setState({filterBoxVisible:!1})},ids:(e=this.originalTable,t=this.taskIdNames,k(["0","id"],[],e).reduce((function(e,n,i){return(0,c.Z)((0,c.Z)({},e),{},(0,p.Z)({},t[i],n))}),{})),addTypeToFilter:this.addTypeToFilter}),(0,j.jsxs)("div",{className:"menu",children:[Rt.map((function(e){var t=e.key,i=e.title,s=e.path,l=e.icon;return(0,j.jsxs)(d.rU,{className:Ft()("menu-item",{selected:n.state.active===t}),to:s+(r?"?"+r:""),onClick:function(){return n.setState((function(){return{active:t}}))},children:[i," ",l||""]},s)})),i({className:"reset tooltip",enabled:!0,onClick:function(){n.setState({filterBoxVisible:!0})}})]}),(0,j.jsx)("div",{className:"route-container",children:(0,j.jsxs)(h.rs,{children:[(0,j.jsx)(h.AW,{exact:!0,path:"/",children:(0,j.jsx)($e,{tools:this.state.tools,tableHeader:this.tableHeader,version:this.props.data.version,selectColumn:this.toggleSelectColumns,stats:this.stats,onStatsReady:this.props.onStatsReady,switchToQuantile:this.switchToQuantile,tableData:this.state.tableData,hiddenCols:this.state.hiddenCols,filtered:this.state.filtered.length>0})}),(0,j.jsx)(h.AW,{path:"/table",children:(0,j.jsx)(Fe,{tableData:this.state.tableData,tools:this.state.tools,selectColumn:this.toggleSelectColumns,filterPlotData:this.filterPlotData,filters:this.state.filtered,toggleLinkOverlay:this.toggleLinkOverlay,statusValues:this.statusValues,categoryValues:this.categoryValues,hiddenCols:this.state.hiddenCols,addTypeToFilter:this.addTypeToFilter})}),(0,j.jsx)(h.AW,{path:"/quantile",children:(0,j.jsx)(ft,{table:this.state.tableData,tools:this.state.tools,preSelection:this.state.quantilePreSelection,getRowName:this.getRowName,hiddenCols:this.state.hiddenCols,isFlexible:this.props.renderPlotsFlexible})}),(0,j.jsx)(h.AW,{path:"/scatter",children:(0,j.jsx)(gt,{table:this.state.tableData,columns:this.columns,tools:this.state.tools,getRowName:this.getRowName,hiddenCols:this.state.hiddenCols,isFlexible:this.props.renderPlotsFlexible})}),(0,j.jsx)(h.AW,{path:"/info",children:(0,j.jsx)(nt,{version:this.props.data.version,selectColumn:this.toggleSelectColumns})})]})})]}),(0,j.jsxs)("div",{children:[this.state.showSelectColumns&&(0,j.jsx)(lt,{close:this.toggleSelectColumns,currColumns:this.columns,tableHeader:this.tableHeader,tools:this.state.tools,hiddenCols:this.state.hiddenCols,history:this.routerRef.current.history}),this.state.showLinkOverlay&&(0,j.jsx)(Vt,{close:this.toggleLinkOverlay,link:this.state.link,toggleLinkOverlay:this.toggleLinkOverlay})]})]})})}}]),n}(i.Component);var Xt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){return(0,s.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n,[{key:"render",value:function(){return(0,j.jsx)("div",{className:"App",children:(0,j.jsx)("main",{children:(0,j.jsx)(Tt,{data:window.data,renderPlotsFlexible:!0,onStatsReady:this.props.onStatsReady})})})}}]),n}(i.Component),Kt=Xt;r.render((0,j.jsx)(Kt,{}),document.getElementById("root")),document.getElementById("msg-container").remove()},4654:function(){}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,function(){var e=[];n.O=function(t,i,r,s){if(!i){var l=1/0;for(u=0;u<e.length;u++){i=e[u][0],r=e[u][1],s=e[u][2];for(var a=!0,o=0;o<i.length;o++)(!1&s||l>=s)&&Object.keys(n.O).every((function(e){return n.O[e](i[o])}))?i.splice(o--,1):(a=!1,s<l&&(l=s));if(a){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[i,r,s]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={179:0};n.O.j=function(t){return 0===e[t]};var t=function(t,i){var r,s,l=i[0],a=i[1],o=i[2],c=0;if(l.some((function(t){return 0!==e[t]}))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(o)var u=o(n)}for(t&&t(i);c<l.length;c++)s=l[c],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},i=self.webpackChunkbenchexec_react_table=self.webpackChunkbenchexec_react_table||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var i=n.O(void 0,[216],(function(){return n(7415)}));i=n.O(i)}();
\ No newline at end of file
+!function(){var e={7415:function(e,t,n){"use strict";var i=n(7313),r=n(1168),s=n(5671),l=n(3144),a=n(136),o=n(1129),c=n(1413),u=n(3433),d=n(8303),h=n(3830),g=n(7762),f=n(9439),p=n(4942),m=n(5110),v=n(8567),I=n(5987),b=n(4506),C=n(2229),x=n.n(C),y=n(1969),Z=n(1875),j=n(6417),A=["ids"],F=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var r;return(0,s.Z)(this,n),(r=t.call(this,e)).childRef=i.createRef(),r}return(0,l.Z)(n,[{key:"render",value:function(){var e=this;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{ref:this.childRef,children:this.props.children}),(0,j.jsx)("button",{title:"Copy to clipboard",style:{margin:"1ex"},onClick:function(){x()(e.childRef.current.innerText,{format:"text/plain"})},children:(0,j.jsx)(y.G,{icon:Z.kZ_})})]})}}]),n}(i.Component),W="##########",N=function(e){return"count"===e.type||"measure"===e.type},B=function(e){return void 0===e||null===e},G=function(e,t){return B(e)||B(e.raw)?t:e.raw},w=function(e,t){var n=G(e,"").toLowerCase(),i=G(t,"").toLowerCase();return""===n?1:""===i?-1:n>i?1:n<i?-1:0},Y=function(e){return 0===e||200===e},S=function(e,t){var n,i=[],r=(0,g.Z)(t);try{for(r.s();!(n=r.n()).done;){var s=n.value;s!==e&&i.push(s)}}catch(l){r.e(l)}finally{r.f()}return i},V=function(e,t,n){var i=e.max_width;return t&&(i=Math.max(i,t)),n&&(i=Math.min(i,n)),i||(i=10),8*i+20},k=function(e,t,n){var i=function(e,t){var n,i=t,r=(0,g.Z)(e);try{for(r.s();!(n=r.n()).done;)if(i=i[n.value],B(i))return}catch(s){r.e(s)}finally{r.f()}return i}(e,n);return void 0===i?t:i},R=function(e){return e.unit?(0,j.jsxs)(j.Fragment,{children:[e.display_title,(0,j.jsx)("br",{}),"(".concat(e.unit,")")]}):e.display_title},H=function(e){var t=e.tool,n=e.date,i=e.niceName;return"".concat(t," ").concat(n," ").concat(i)},T=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],X=function(e){var t=(e||document.location.href).split("?"),n=t.length>1?t.slice(1).join("?"):void 0;if(void 0===n||0===n.length)return{};var i,r=n.split("&").map((function(e){return e.split("=")})),s={},l=(0,g.Z)(r);try{for(l.s();!(i=l.n()).done;){var a=(0,b.Z)(i.value),o=a[0],c=a.slice(1);s[decodeURI(o)]="filter"===o?c.join("="):decodeURI(c.join("="))}}catch(u){l.e(u)}finally{l.f()}return s},K=function(e){return Object.keys(e).filter((function(t){return void 0!==e[t]&&null!==e[t]})).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=X(e),i=(0,c.Z)((0,c.Z)({},n),t),r=K(i),s=e.split("?")[0];return{newUrl:r.length>0?"".concat(s,"?").concat(r):s,queryString:"?".concat(r)}},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=L(document.location.href,e),i=n.newUrl,r=n.queryString;t&&t.push?t.push(r):document.location.href=i},U=function(e){for(var t=[],n=0,i=Object.entries(e);n<i.length;n++){var r=(0,f.Z)(i[n],2),s=r[0],l=r[1];t.push("".concat(s,"(").concat(l.map(escape).join(","),")"))}return t.join(",")},D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i={};if(e.length>Math.floor(t.length/2)){var r,s=[],l=(0,g.Z)(t);try{for(l.s();!(r=l.n()).done;){var a=r.value;e.includes(a)||s.push(n?a.trim():a)}}catch(o){l.e(o)}finally{l.f()}i.notIn=s}else i.in=e.map((function(e){return n?e.trim():e}));return U(i)};function E(e,t,n,i,r){var s=[],l=e.statusValues,a=e.categoryValues,o=t[n][i],c=r[n][i],u=!!l,d=u&&l.length!==o.length,h=!!a,g=h&&a.length!==c.length;if(u){if(d){var f=D(l,o);s.push("status(".concat(f,")"))}h||s.push("category(empty())")}if(h&&(u||s.push("status(empty())"),g)){var p=D(a,c,!0);s.push("category(".concat(p,")"))}return s.join(",")}function P(e){if("string"!==typeof e)throw new Error("Invalid value type");return e.replaceAll("(","%28").replaceAll(")","%29")}var M,J=function(e){if("string"!==typeof e)throw new Error("Invalid value type for converting to RegExp");return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"ui")},z=function(e){if("string"!==typeof e)throw new Error("Invalid filter ID");var t=e.split("_");if(2===t.length)throw new Error("Invalid filter ID");return{tool:t[0],name:t.length>2?t.slice(1,-1).join("_"):void 0,column:t.length>2?t.at(-1):void 0}},_=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={},r=0,s="",l=(0,g.Z)(e);try{for(l.s();!(t=l.n()).done;){var a=t.value;if("("!==a){if(")"!==a)0!==r||","!==a?s+=a:s="";else if(s+=a,0===--r){var o=s.indexOf("("),c=s.substr(0,o),u=s.substr(o+1,s.length-1-(o+1));i[c]=n?decodeURIComponent(u):u}}else s+=a,r++}}catch(d){l.e(d)}finally{l.f()}return i},Q=function(e,t,n,i,r){return"values"===e?[{values:t.split(",").map(unescape)}]:"value"===e?[{value:unescape(t)}]:"status"===e||"category"===e?function(e,t,n,i,r){for(var s=_(t),l=[],a=0,o=Object.entries(s);a<o.length;a++){var c=(0,f.Z)(o[a],2),d=c[0],h=c[1];if("in"===d){var p=h.split(",").map(unescape);"category"===e&&(p=p.map((function(e){return"".concat(e," ")}))),l.push.apply(l,(0,u.Z)(p.map((function(e){return{value:e}}))))}if("notIn"===d){var m=h.split(",").map(unescape),v=[];if("category"===e){m=m.map((function(e){return"".concat(e," ")}));var I,b=(0,g.Z)(i[r]);try{for(b.s();!(I=b.n()).done;){var C=I.value;m.includes(C)||v.push({value:C})}}catch(j){b.e(j)}finally{b.f()}}else{var x,y=(0,g.Z)(n[r]);try{for(y.s();!(x=y.n()).done;){var Z=x.value;m.includes(Z)||v.push({value:Z})}}catch(j){y.e(j)}finally{y.f()}}l.push.apply(l,v)}}return l}(e,t,n,i,r):void 0},q=function(e){var t=e.categoryValues,n=e.statusValues;return function(e){for(var i=_(e),r=[],s=0,l=Object.entries(i);s<l.length;s++){var a=(0,f.Z)(l[s],2),o=a[0],d=a[1];if("id"!==o)if("id_any"!==o)for(var h=o,p=_(d),m={},v=0,I=Object.entries(p);v<I.length;v++){for(var b=(0,f.Z)(I[v],2),C=b[0],x=b[1],y=C.split("*"),Z=(0,f.Z)(y,2),j=Z[0],A=Z[1],F="".concat(h,"_").concat(decodeURIComponent(A),"_").concat(j),W=m[F]||[],N=_(x),B=0,G=Object.entries(N);B<G.length;B++){var w=(0,f.Z)(G[B],2),Y=w[0],S=w[1];W.push.apply(W,(0,u.Z)(Q(Y,S,n[h],t[h],j)))}for(var V=!1,k=!1,R=0,H=Object.keys(N);R<H.length;R++){var T=H[R];"status"===T?V=!0:"category"===T&&(k=!0)}(V&&!k||!V&&k)&&(V?W.push.apply(W,(0,u.Z)(t[h][j].map((function(e){return{value:e}})))):W.push.apply(W,(0,u.Z)(n[h][j].map((function(e){return{value:e}})))));var X,K=(0,g.Z)(W);try{for(K.s();!(X=K.n()).done;){var L=X.value;r.push((0,c.Z)({id:F},L))}}catch(U){K.e(U)}finally{K.f()}}else r.push((0,c.Z)((0,c.Z)({id:"id"},_(d,!0)),{},{isTableTabFilter:!0}));else{var O=_(d);r.push((0,c.Z)({id:"id"},Q("values",O.values)[0]))}}return r}},$=function(e,t){var n=function(e){var t=e.statusValues,n=e.categoryValues;return function(e){var i,r={},s=[],l=(0,g.Z)(e);try{for(l.s();!(i=l.n()).done;){var a=i.value,o=a.id,c=a.value,u=a.values,d=a.isTableTabFilter;if("id"!==o){var h=z(o),p=h.tool,m=h.name,v=h.column,b=r[p]||{},C=b[v]||{name:escape(m)};if(t[p][v]||n[p][v])if(c.endsWith(" ")){var x=C.categoryValues||[];x.push(c),C.categoryValues=x}else{var y=C.statusValues||[];y.push(c),C.statusValues=y}else C.value=c;b[v]=C,r[p]=b}else u&&u.length>0?r.ids={values:u.map((function(e){return e||""}))}:d&&s.push({id:o,value:c})}}catch(K){l.e(K)}finally{l.f()}var Z=r.ids,j=(0,I.Z)(r,A),F=[];Z&&F.push("id(values(".concat(Z.values.map((function(e){return P(encodeURIComponent(e))})).join(","),"))")),s&&s.forEach((function(e){F.push("id_any(value(".concat(P(encodeURIComponent(e.value)),"))"))}));for(var W=0,N=Object.entries(j);W<N.length;W++){for(var B=(0,f.Z)(N[W],2),G=B[0],w=B[1],Y=[],S=0,V=Object.entries(w);S<V.length;S++){var k=(0,f.Z)(V[S],2),R=k[0],H=k[1],T="".concat(R,"*").concat(H.name,"*"),X=void 0;""!==(X=H.statusValues||H.categoryValues?E(H,t,G,R,n):"value(".concat(escape(H.value),")"))&&Y.push("".concat(T,"(").concat(X,")"))}Y.length>0&&F.push("".concat(G,"(").concat(Y.join(","),")"))}return F.join(",")}}({statusValues:e,categoryValues:t});return function(e,t){if(!e)return O({filter:void 0},t);var i=n(e);return O(i?{filter:i}:{filter:void 0},t)}},ee="&#x2008;",te="&#x2007;",ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unknown";(0,s.Z)(this,e),this._defaultOptions={whitespaceFormat:!1,html:!1,leadingZero:!0,additionalFormatting:function(e){return e}},this.significantDigits=t,this.maxPositiveDecimalPosition=-1,this.maxNegativeDecimalPosition=-1,this.name=n}return(0,l.Z)(e,[{key:"addDataItem",value:function(e){var t=this.format(e).split(/\.|,/),n=(0,f.Z)(t,2),i=n[0],r=n[1];this.maxPositiveDecimalPosition=Math.max(this.maxPositiveDecimalPosition,i&&"0"!==i?i.length:0),this.maxNegativeDecimalPosition=Math.max(this.maxNegativeDecimalPosition,r?r.length:0)}},{key:"format",value:function(e){var t=e.toString(),n="",i="",r=0,s=0,l=!1,a=!1;if("NaN"===t)return"NaN";if(t.endsWith("Infinity"))return t.replace("Infinity","Inf");if(t.includes("e")){var o=t.split("-"),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=0;u.includes(".")&&(h=1),t=Number(e).toFixed(Number(d)+h)}for(var g=t.replace(/,/,".").indexOf(".");s<this.significantDigits-1&&t.length>r;){var p=t[r];if("."===p||","===p)n+=".",a=!0;else{if(!l){if("0"===p){r+=1,a&&(n+=p);continue}l=!0}n+=p,s+=1}r+=1}if(i=t.substring(r),""===n&&""===i&&(n=t),"."===n[0]&&(n="0".concat(n)),""!==i){var m="."===i[0];if(i=i.replace(/\./,""),i="".concat(i[0],".").concat(i.substr(1)),i=Math.round(Number(i)),(i=isNaN(i)?"":i.toString()).length>1&&"."!==i[0]){var v=i[0];i=i[1];for(var I=n.length,b=n.split("."),C=(0,f.Z)(b,2)[1],x=C&&C.length-1||0,y=C?"0.":"",Z=x;Z>0;)y+="0",Z-=1;for(n=function(e,t){var n=e,i=t;if("string"===typeof e&&(n=Number(e)),"string"===typeof t&&(i=Number(t)),Number.isInteger(n)||Number.isInteger(i))return n+i;var r=e.toString(),s=r.length,l=r.indexOf("."),a=t.toString(),o=a.length,c=a.indexOf("."),u=Math.max(s-l,o-c)-1;return Number((n+i).toFixed(u))}(n,y+=v).toFixed(x+1).substr(0,I);n.length<I;)n+="0"}var j=g;for(m&&(i=".".concat(i)),-1===g&&(j=t.length);n.length+i.length<j;)i+="0"}return"".concat(n).concat(i)}},{key:"build",value:function(){var e=this;return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,c.Z)((0,c.Z)({},e._defaultOptions),n),r=i.whitespaceFormat,s=i.html,l=i.leadingZero,a=i.additionalFormatting,o={significantDigits:e.significantDigits,maxDecimalInputLength:e.maxNegativeDecimalPosition};if(B(e.significantDigits))return a(t.toString(),o);var u=e.format(t);if("NaN"===(u=a(u,o)))return u;if(r){var d=s?ee:" ",h=u.split(/\.|,/),g=(0,f.Z)(h,2),p=g[0],m=g[1];"0"!==p||l||(p=m?"":"0"),p=p||"";for(var v=(m=m||"")?".":d;m.length<e.maxNegativeDecimalPosition;)m+=" ";return s&&(p=p.replace(/ /g,te),m=m.replace(/ /g,te)),"".concat(p).concat(m?v:"").concat(m)}return!l&&u.startsWith("0.")?u.substr(1):u}}}]),e}(),ie=function(e){var t=X(),n=[];t.hidden&&(n=t.hidden.split(",").filter((function(t){return Number.isInteger(parseInt(t))&&e.some((function(e){return e.toolIdx===parseInt(t)}))})).map((function(e){return parseInt(e)})));var i={};return Object.keys(t).filter((function(e){return/hidden[0-9]+/.test(e)})).forEach((function(n){var r=parseInt(n.replace("hidden","")),s=e.find((function(e){return e.toolIdx===r}));Number.isInteger(r)&&s&&(i[r]=t[n].split(",").filter((function(e){return Number.isInteger(parseInt(e))&&s.columns.some((function(t){return t.colIdx===parseInt(e)}))})).map((function(e){return parseInt(e)})))})),n.forEach((function(t){i[t]=e.find((function(e){return e.toolIdx===t})).columns.map((function(e){return e.colIdx}))})),e.forEach((function(e){i[e.toolIdx]||(i[e.toolIdx]=[])})),i},re=function(e,t){var n,i=e.find((function(e){return n=e.columns.find((function(n){return"status"!==n.type&&!t[e.toolIdx].includes(n.colIdx)}))}));return n||(i=e.find((function(e){return n=e.columns.find((function(n){return"status"===n.type&&!t[e.toolIdx].includes(n.colIdx)}))}))),i&&n?[i.toolIdx,n.colIdx]:[void 0,void 0]},se=function(e,t){var n,i={},r=(0,g.Z)(e);try{for(r.s();!(n=r.n()).done;){i[n.value]=!0}}catch(o){r.e(o)}finally{r.f()}var s,l=(0,g.Z)(t);try{for(l.s();!(s=l.n()).done;){var a=s.value;if(B(i[a]))return!1}}catch(o){l.e(o)}finally{l.f()}return!0},le=function(e){var t=e.toString().split(/,|\./),n=(0,f.Z)(t,2)[1];if(B(n)||0===n.length)return 1;for(var i=".",r=0;r<n.length-1;r+=1)i+="0";return i+="1"},ae=function(e){var t=[];return(e=e.filter((function(e,t){return t%2===0&&0!==t}))).forEach((function(e){return t.push(e.columns.filter((function(e){return e.hidden})).map((function(e){return e.id})))})),t.flat()},oe=["handler"],ce=["column","title","children"],ue=["runSet"],de=["cell","href","toggleLinkOverlay","force"],he=function(e){var t=e.handler,n=(0,I.Z)(e,oe);return(0,j.jsx)("span",(0,c.Z)((0,c.Z)({onClick:t,title:"",className:"selectColumns"},n),{},{children:"Click here to select columns"}))},ge=function(e){var t=e.column,n=e.title,i=void 0===n?"Click here to sort. Hold shift to multi-sort":n,r=e.children,s=(0,I.Z)(e,ce);return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({title:i},s),{},{children:r||R(t)}))},fe=function(e){var t=e.runSet,n=(0,I.Z)(e,ue);return(0,j.jsx)("span",(0,c.Z)((0,c.Z)({className:"header__tool-infos"},n),{},{title:H(t),children:H(t)}))},pe=function(e){var t=e.cell,n=e.href,i=void 0===n?t.value.href:n,r=e.toggleLinkOverlay,s=e.force,l=void 0!==s&&s,a=(0,I.Z)(e,de),o=t.value.html,u=o?void 0:t.value.raw;return l||u||o?i?(0,j.jsx)("a",(0,c.Z)((0,c.Z)({href:i,onClick:function(e){return r(e,i)},dangerouslySetInnerHTML:o?{__html:o}:void 0},a),{},{children:u})):(0,j.jsx)("div",(0,c.Z)((0,c.Z)({dangerouslySetInnerHTML:o?{__html:o}:void 0},a),{},{children:u})):null},me=function(e){return Object.freeze({Header:"",accessor:"separator"+e,className:"separator",columns:[{accessor:"separator"+e,className:"separator",width:2,minWidth:2}]})},ve=function(e,t,n){return[me(t),{Header:(0,j.jsx)(fe,{runSet:e}),columns:e.columns.map((function(e,i){return n(t,e,i)})),id:"runset-column"}]},Ie=n(1330),be=n.n(Ie),Ce=["distincts","categories","statuses"],xe="empty_row",ye=function(e){return function(t){var n=(0,u.Z)(t);if(e.diff&&(n=n.filter((function(t){var n,i=(0,g.Z)(e.diff);try{for(i.s();!(n=i.n()).done;){var r,s=n.value.col,l={},a=(0,g.Z)(t.results);try{for(a.s();!(r=a.n()).done;){var o=r.value.values[s].raw;l[o]||(l[o]=!0)}}catch(c){a.e(c)}finally{a.f()}if(1===Object.keys(l).length)return!1}}catch(c){i.e(c)}finally{i.f()}return!0}))),!B(e.id)){var i=e.id,r=i.value,s=i.values;if(r){var l=J(r);n=n.filter((function(e){return e.id.some((function(e){return e===r||l.test(e)}))}))}else{var a=s.map((function(e){return{filterRegex:J(e),filterValue:e}}));n=n.filter((function(e){var t=e.id;return a.every((function(e,n){var i=e.filterRegex,r=e.filterValue,s=t[n];return!(!B(r)&&""!==r)||!B(s)&&""!==s&&(s===r||i.test(s))}))}))}}var o=n.filter((function(t){for(var n in function(e,t){return Object.keys(t).filter((function(t){return!e.includes(t)})).reduce((function(e,n){return e[n]=t[n],e}),{})}(["diff","id"],e))for(var i in e[n]){var r,s=!1,l=!1,a=!1,o=(0,g.Z)(e[n][i]);try{for(o.s();!(r=o.n()).done;){var c=r.value,u=c.value,d=c.min,h=c.max,f=c.category,p=c.status;if(B(d)||B(h))if(B(f))if(B(p)){var m=t.results[n].values[i].raw;if(B(m)){s=!1;continue}s=s||u===m||m.includes(u)}else{var v="empty"===t.results[n].category&&p===xe;a=t.results[n].values[i].raw===p||a||v,s=l&&a}else s=(l=t.results[n].category===f||l)&&a;else{var I=t.results[n].values[i].raw;if(B(I)){s=!1;continue}var b=Number(I);s=s||b>=d&&b<=h}if(s)break}}catch(C){o.e(C)}finally{o.f()}if(!s)return!1}return!0}));return o}},Ze=(M={},(0,p.Z)(M,"empty","Empty rows"),(0,p.Z)(M,"aborted","\u2014"),M),je=[50,100,250,500,1e3,2500],Ae=function(){var e=X();return e.sort?e.sort.split(";").map((function(e){var t=e.split(",");return{id:t[0],desc:"desc"===t[1]}})):[]},Fe=function(e){var t=(0,i.useState)(!0),n=(0,f.Z)(t,2),r=n[0],s=n[1],l=(0,i.useState)(Ie()),a=(0,f.Z)(l,2),o=a[0],d=a[1],p=(0,i.useState)({}),I=(0,f.Z)(p,2),b=I[0],C=I[1],x=(0,i.useState)(!1),y=(0,f.Z)(x,2),Z=y[0],A=y[1],F=(0,h.k6)(),Y=function(t){"id"===t.id&&(t.isTableTabFilter=!0);var n=[].concat((0,u.Z)(e.filters.filter((function(e){return e.id!==t.id}))),[t]);n=n.filter((function(e){return""!==e.value})),e.addTypeToFilter(n);var i=[];if("status"===t.type){var r=z(t.id),s=r.tool,l=r.name,a=r.column,o=t.value;if("all"===o.trim())i=function(t){var n,i=t.tool,r=t.name,s=t.column,l=[],a=(0,g.Z)(e.statusValues[i][s]);try{for(a.s();!(n=a.n()).done;){var o=n.value;l.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:o})}}catch(f){a.e(f)}finally{a.f()}var c,u=(0,g.Z)(e.categoryValues[i][s]);try{for(u.s();!(c=u.n()).done;){var d=c.value,h="".concat(d," ");l.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:h})}}catch(f){u.e(f)}finally{u.f()}return l}({tool:s,name:l,column:a}),n=n.filter((function(e){var n=e.id,i=e.value;return!(n===t.id&&"all"===i.trim())}));else i=function(t){var n,i=t.tool,r=t.name,s=t.column,l=t.isCategory,a=l?e.statusValues:e.categoryValues,o=[],c=(0,g.Z)(a[i][s]);try{for(c.s();!(n=c.n()).done;){var u=n.value;o.push({id:"".concat(i,"_").concat(r,"_").concat(s),value:"".concat(u).concat(l?"":" ")})}}catch(d){c.e(d)}finally{c.f()}return o}({tool:s,name:l,column:a,isCategory:" "===o[o.length-1]})}e.addTypeToFilter(i),e.filterPlotData([].concat((0,u.Z)(n),(0,u.Z)(i)),!0)};function S(e){var t=e.column,n=t.id,r=(t.filter,e.currFilters),s=n+"_filter",l=r.find((function(e){return e.id===n})),a=l?l.value:"",o=(0,i.useState)(""),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=(0,i.useState)(a),g=(0,f.Z)(h,2),p=g[0],m=g[1],v="id"===n&&Z?"To edit, please clear task filter in the sidebar":"text";return(0,j.jsx)("input",{id:s,className:"filter-field",placeholder:v,defaultValue:p,onChange:function(e){var t=e.target.value;m(t),clearTimeout(u),d(setTimeout((function(){Y({id:n,value:t}),document.getElementById(s).focus()}),500))},disabled:"id"===n&&Z,type:"search"})}function R(t){var n=t.column,i=n.id,r=(n.filter,t.runSetIdx),s=t.columnIdx,l=e.categoryValues[r][s],a=function(e){var t=e.categoryFilters,n=e.statusFilters,i=e.categoryFilterValues,r=e.statusFilterValues,s=[];return se(t,i)||(s=t),se(n,r)||(s=[].concat((0,u.Z)(s),(0,u.Z)(n))),s}({categoryFilters:k([r,"categories"],[],o),statusFilters:k([r,s],[],o),categoryFilterValues:l.map((function(e){return"".concat(e," ")})),statusFilterValues:e.statusValues[r][s]}),c=0===a.length,d=a.length>1||a[0]===W,h=a&&a[0],g=(c?"all ":d&&"multiple")||h;return(0,j.jsxs)("select",{className:"filter-field",onChange:function(e){return Y({id:i,value:e.target.value})},value:g,children:[d&&(0,j.jsx)("option",{value:"multiple",disabled:!0,children:a.map((function(e){return e.trim()})).filter((function(e){return"all"!==e&&e!==W})).join(", ")||"No filters selected"}),(0,j.jsx)("option",{value:"all ",children:"Show all"}),l.filter((function(e){return e in Ze})).map((function(e){return(0,j.jsx)("option",{value:e+" ",children:Ze[e]},e)})),(0,j.jsx)("optgroup",{label:"Category",children:l.filter((function(e){return!(e in Ze)})).sort().map((function(e){return(0,j.jsx)("option",{value:e+" ",className:e,children:e},e)}))}),(0,j.jsx)("optgroup",{label:"Status",children:e.statusValues[r][s].filter((function(e){return e!==xe})).sort().map((function(e){return(0,j.jsx)("option",{value:e,children:e},e)}))})]})}function H(e){var t=e.column,n=t.id,r=(t.filter,e.currFilters),s=n+"_filter",l=r.find((function(e){return e.id===n})),a=l?l.value:"",o=(0,i.useState)(""),c=(0,f.Z)(o,2),u=c[0],d=c[1],h=(0,i.useState)(a),g=(0,f.Z)(h,2),p=g[0],m=g[1];return(0,j.jsx)("input",{id:s,className:"filter-field",placeholder:"Min:Max",defaultValue:p,onChange:function(e){var t=e.target.value;m(t),clearTimeout(u),d(setTimeout((function(){Y({id:n,value:t}),document.getElementById(s).focus()}),500))},type:"search",pattern:"([+-]?[0-9]*(\\.[0-9]*)?)(:[+-]?[0-9]*(\\.[0-9]*)?)?"})}var T=(0,i.useCallback)((function(t){return(0,j.jsx)(S,(0,c.Z)((0,c.Z)({disableTaskText:Z},t),{},{currFilters:e.filters}))}),[Z,e.filters]),K=(0,i.useCallback)((function(t){return(0,j.jsx)(H,(0,c.Z)((0,c.Z)({},t),{},{currFilters:e.filters}))}),[e.filters]),L=(0,i.useMemo)((function(){var t=function(t,n,i){if("status"===n.type)return function(t,n,i){var r="".concat(t,"_").concat(n.display_title,"_").concat(i),s=b[r];return{id:r,Header:(0,j.jsx)(ge,{column:n}),className:"reg-column",hidden:e.hiddenCols[t].includes(n.colIdx),minWidth:50,width:s||V(n,10),accessor:function(e){return e.results[t].values[i]},Cell:function(n){var i,r=n.row.original.results[t].category,s=n.row.original.results[t].href;return"aborted"===r?(s=void 0,i="Result missing because run was aborted or not executed"):"empty"===r?i="Result missing because task was not part of benchmark set":s&&(i="Click here to show output of tool"),(0,j.jsx)(pe,{cell:n,href:s,className:r,toggleLinkOverlay:e.toggleLinkOverlay,title:i,force:!0})},sortType:function(e,t,n,i){return w(e.values[n],t.values[n])},filter:function(e){return e},Filter:function(e){return(0,j.jsx)(R,(0,c.Z)((0,c.Z)({},e),{},{runSetIdx:t,columnIdx:i}))}}}(t,n,i);var r="".concat(t,"_").concat(n.display_title,"_").concat(i),s=b[r],l=N(n)?K:T;return{id:r,Header:(0,j.jsx)(ge,{column:n}),className:"reg-column",hidden:e.hiddenCols[t].includes(n.colIdx),minWidth:50,width:s||V(n),accessor:function(e){return e.results[t].values[i]},Cell:function(t){return(0,j.jsx)(pe,{cell:t,toggleLinkOverlay:e.toggleLinkOverlay})},filter:function(e){return e},Filter:l,sortType:function(e,t,i,r){return N(n)?(s=e.values[i],l=t.values[i],G(s,1/0)-G(l,1/0)):w(e.values[i],t.values[i]);var s,l}}},n=e.tools.map((function(e,n){return ve(e,n,t)})).flat();return[{Header:function(){return(0,j.jsx)("div",{className:"fixed-task-header",children:(0,j.jsx)("form",{children:(0,j.jsxs)("label",{title:"Fix the first column",children:["Fixed task:",(0,j.jsx)("input",{name:"fixed",type:"checkbox",checked:r,onChange:function(e){var t=e.target;return s(t.checked)}})]})})})},className:"fixed-task",id:"task-id-column",sticky:r?"left":"",columns:[(0,c.Z)((0,c.Z)({width:.3*window.innerWidth,minWidth:230},b.id&&{width:b.id}),{},{Header:(0,j.jsx)(ge,{children:(0,j.jsx)(he,{handler:e.selectColumn})}),accessor:"id",Cell:function(t){var n=t.row.original.id.map((function(e){return(0,j.jsx)("span",{className:"row_id",children:e},e)})),i=t.row.original.href;return i?(0,j.jsx)("a",{className:"row__name--cellLink",href:i,title:"Click here to show source code",onClick:function(t){return e.toggleLinkOverlay(t,i)},children:n},i):(0,j.jsx)("span",{title:"This task has no associated file",children:n})},Filter:T,sortType:function(e,t,n,i){var r=Array.isArray(e.values[n])?e.values[n].join():e.values[n],s=Array.isArray(t.values[n])?t.values[n].join():t.values[n];return r>s?1:r<s?-1:0}})]}].concat(n)}),[b,r,e,T,K]),U=(0,i.useMemo)((function(){return e.tableData}),[e.tableData]),D=(0,i.useMemo)((function(){return{Filter:(0,j.jsx)(j.Fragment,{})}}),[]),E=(0,m.useTable)({columns:L,data:U,defaultColumn:D,initialState:{sortBy:Ae(),pageIndex:parseInt(X().page)-1||0,hiddenColumns:ae(L),pageSize:parseInt(X().pageSize)||250}},m.useFilters,m.useFlexLayout,m.useResizeColumns,m.useSortBy,m.usePagination,v.useSticky),P=E.getTableProps,M=E.getTableBodyProps,J=E.headerGroups,_=(E.rows,E.prepareRow),Q=E.page,q=E.canPreviousPage,$=E.canNextPage,ee=E.pageOptions,te=E.pageCount,ne=E.gotoPage,ie=E.nextPage,re=E.previousPage,le=E.setPageSize,oe=E.setSortBy,ce=E.state,ue=ce.pageIndex,de=ce.pageSize,fe=ce.sortBy,me=ce.columnResizing;function Ie(){var t,n={},i=(0,g.Z)(e.filters);try{for(i.s();!(t=i.n()).done;){var r=t.value,s=r.value,l=r.id,a=z(l),o=a.tool,c=a.column,u=n[o]||{};if("string"===typeof s&&" "===s[s.length-1]){var d=u.categories||[];d.push(s),u.categories=d}else{var h=u[c]||[];h.push(s),u[c]=h}n[o]=u}}catch(f){i.e(f)}finally{i.f()}return n}(0,i.useEffect)((function(){var e=fe.map((function(e){return e.id+","+(e.desc?"desc":"asc")})).join(";"),t=e.length?e:void 0;O({sort:t})}),[fe]),(0,i.useEffect)((function(){O({pageSize:250!==de?de:void 0})}),[de]),(0,i.useEffect)((function(){var e=ue&&0!==ue?Number(ue)+1:void 0;O({page:e})}),[ue]),(0,i.useEffect)((function(){var e=me.columnWidths;!me.isResizingColumn&&Object.keys(e).length>0&&C((0,c.Z)((0,c.Z)({},b),e))}),[me,b]),(0,i.useEffect)((function(){var t,n=(0,g.Z)(e.filters);try{for(n.s();!(t=n.n()).done;){var i=t.value,r=i.values;"id"===i.id&&A(!B(r))}}catch(l){n.e(l)}finally{n.f()}var s=Ie();be()(s,o)||d(s),ue>=te&&ne(te-1)}),[e.filters,o,ne,ue,te]),(0,i.useEffect)((function(){return F.listen((function(e){le(X().pageSize||250),oe(Ae()),ne(X().page-1||0)}))}),[F,ne,le,oe]);var Ce=function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header ".concat(e.headers?"outer ":"").concat(e.className)})),{},{children:[(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.canSort&&(!e.className||!e.className.includes("separator"))&&e.getSortByToggleProps({className:"header-sort-container clickable ".concat(e.isSorted?e.isSortedDesc?"sorted-desc ":"sorted-asc ":"")})),{},{children:e.render("Header")})),(!e.className||!e.className.includes("separator"))&&(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getResizerProps()),{},{className:"resizer ".concat(e.isResizing?"isResizing":"")}))]}))}))}))};return(0,j.jsx)("div",{className:"main-table",children:(0,j.jsxs)("div",{className:"table sticky",children:[(0,j.jsx)("div",{className:"table-content",children:(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({className:"table-container"},P()),{},{children:[function(e){var t=e[0],n=e.filter((function(e){return e.headers.some((function(e){return e.canFilter}))}));return(0,j.jsxs)("div",{className:"table-header",children:[Ce(t),(0,j.jsxs)("div",{className:"shadow-container",children:[e.slice(1).map(Ce),n.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup filter"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header filter ".concat(e.headers?"outer ":"").concat(e.className)})),{},{children:e.canFilter?e.render("Filter"):null}))}))}))}))]})]})}(J),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},M()),{},{className:"table-body body",children:Q.map((function(e){return _(e),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getRowProps()),{},{className:"tr",children:e.cells.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getCellProps({className:"td "+(e.column.className||"")})),{},{children:e.render("Cell")}))}))}))}))}))]}))}),(0,j.jsxs)("div",{className:"pagination",children:[(0,j.jsxs)("div",{id:"pagination-previous",className:"pagination-container",children:[(0,j.jsx)("div",{onClick:function(){return re()},className:"pagination-element button".concat(q?"":" disabled"),children:"Previous"})," "]}),(0,j.jsxs)("div",{id:"pagination-center",className:"pagination-container",children:[(0,j.jsxs)("div",{id:"goto-page-element",className:"pagination-element",children:["Page",(0,j.jsx)("input",{"aria-label":"jump to page",type:"number",value:Number(ue)+1,onChange:function(e){return ne(Number(e.target.value)-1)}}),"of ",ee.length]}),(0,j.jsx)("div",{id:"set-page-element",className:"pagination-element",children:(0,j.jsx)("select",{value:de,onChange:function(e){return le(Number(e.target.value))},children:je.map((function(e){return(0,j.jsxs)("option",{value:e,children:[e," rows"]},e)}))})})]}),(0,j.jsxs)("div",{id:"pagination-next",className:"pagination-container",children:[(0,j.jsx)("div",{onClick:function(){return ie()},className:"pagination-element button".concat($?"":" disabled"),children:"Next"})," "]})]})]})})},We=n(4165),Ne=n(5861);n(9e3);var Be=[],Ge={},we=1,Ye=[{template:"data:text/plain;base64,Ly8gVGhpcyBmaWxlIGlzIHBhcnQgb2YgQmVuY2hFeGVjLCBhIGZyYW1ld29yayBmb3IgcmVsaWFibGUgYmVuY2htYXJraW5nOgovLyBodHRwczovL2dpdGh1Yi5jb20vc29zeS1sYWIvYmVuY2hleGVjCi8vCi8vIFNQRFgtRmlsZUNvcHlyaWdodFRleHQ6IDIwMTktMjAyMCBEaXJrIEJleWVyIDxodHRwczovL3d3dy5zb3N5LWxhYi5vcmc+Ci8vCi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBBcGFjaGUtMi4wCgovLyBDT1BZIE9GIHV0aWxzLmpzLCBhcyBpbXBvcnRzIHdpbGwgbm90IHdvcmsgaGVyZQovKioKICogRnVuY3Rpb24gdG8gc2FmZWx5IGFkZCB0d28gbnVtYmVycyBpbiBhIHdheSB0aGF0IHNob3VsZCBtaXRpZ2F0ZSBlcnJvcnMKICogY2F1c2VkIGJ5IGluYWNjdXJhdGUgZmxvYXRpbmcgcG9pbnQgb3BlcmF0aW9ucyBpbiBqYXZhc2NyaXB0CiAqIEBwYXJhbSB7TnVtYmVyfFN0cmluZ30gYSAtIFRoZSBiYXNlIG51bWJlcgogKiBAcGFyYW0ge051bWJlcnxTdHJpbmd9IGIgLSBUaGUgbnVtYmVyIHRvIGFkZAogKgogKiBAcmV0dXJucyB7TnVtYmVyfSBUaGUgcmVzdWx0IG9mIHRoZSBhZGRpdGlvbgogKi8KY29u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5maW5pdHk7CiAgY29uc3QgdG90YWxIYXNQb3NJbmYgPSBOdW1iZXIodG90YWwubWF4KSA9PT0gSW5maW5pdHk7CiAgdG90YWwuc3RkZXYgPSBjYWxjdWxhdGVTdGRldigKICAgIHRvdGFsSGFzTmVnSW5mLAogICAgdG90YWxIYXNQb3NJbmYsCiAgICB0b3RhbC52YXJpYW5jZSwKICAgIGNvcHkubGVuZ3RoLAogICk7CgogIGZvciAoY29uc3QgW2J1Y2tldCwgdmFsdWVzXSBvZiBPYmplY3QuZW50cmllcyhidWNrZXRzKSkgewogICAgaWYgKHNob3VsZFNraXBCdWNrZXQoYnVja2V0TmFOSW5mbywgYnVja2V0KSkgewogICAgICBmb3IgKGNvbnN0IFtrZXksIHZhbF0gb2YgT2JqZWN0LmVudHJpZXModmFsdWVzKSkgewogICAgICAgIHZhbHVlc1trZXldID0gdmFsLnRvU3RyaW5nKCk7CiAgICAgIH0KICAgICAgYnVja2V0c1tidWNrZXRdID0gdmFsdWVzOwogICAgICBjb250aW51ZTsKICAgIH0KICAgIGNvbnN0IHZhbHVlc0hhdmVOZWdJbmYgPSBOdW1iZXIodmFsdWVzLm1pbikgPT09IC1JbmZpbml0eTsKICAgIGNvbnN0IHZhbHVlc0hhdmVQb3NJbmYgPSBOdW1iZXIodG90YWwubWF4KSA9PT0gSW5maW5pdHk7CiAgICB2YWx1ZXMuc3RkZXYgPSBjYWxjdWxhdGVTdGRldigKICAgICAgdmFsdWVzSGF2ZU5lZ0luZiwKICAgICAgdmFsdWVzSGF2ZVBvc0luZiwKICAgICAgdmFsdWVzLnZhcmlhbmNlLAogICAgICB2YWx1ZXMuaXRlbXMubGVuZ3RoLAogICAgKTsKCiAgICBmb3IgKGNvbnN0IFtrZXksIHZhbF0gb2YgT2JqZWN0LmVudHJpZXModmFsdWVzKSkgewogICAgICBpZiAoa2V5ID09PSAibWV0YSIpIHsKICAgICAgICBjb250aW51ZTsKICAgICAgfQogICAgICB2YWx1ZXNba2V5XSA9IHZhbC50b1N0cmluZygpOwogICAgfQogICAgLy8gY2xlYXJpbmcgbWVtb3J5CiAgICBkZWxldGUgdmFsdWVzLml0ZW1zOwogICAgZGVsZXRlIHZhbHVlcy52YXJpYW5jZTsKICAgIGJ1Y2tldHNbYnVja2V0XSA9IHZhbHVlczsKICB9CgogIGZvciAoY29uc3QgW2tleSwgdmFsdWVdIG9mIE9iamVjdC5lbnRyaWVzKHRvdGFsKSkgewogICAgaWYgKGtleSA9PT0gIm1ldGEiKSB7CiAgICAgIGNvbnRpbnVlOwogICAgfQogICAgdG90YWxba2V5XSA9IHZhbHVlLnRvU3RyaW5nKCk7CiAgfQoKICBkZWxldGUgdG90YWwuaXRlbXM7CiAgZGVsZXRlIHRvdGFsLnZhcmlhbmNlOwoKICBjb25zdCByZXN1bHQgPSB7IGNvbHVtblR5cGUsIHRvdGFsLCAuLi5idWNrZXRzIH07CiAgcG9zdFJlc3VsdChyZXN1bHQsIHRyYW5zYWN0aW9uKTsKfTsKCmNvbnN0IHBvc3RSZXN1bHQgPSAocmVzdWx0LCB0cmFuc2FjdGlvbikgPT4gewogIC8vIGhhbmRsaW5nIGluIHRlc3RzCiAgaWYgKHRoaXMubW9ja2VkUG9zdE1lc3NhZ2UpIHsKICAgIHRoaXMubW9ja2VkUG9zdE1lc3NhZ2UoeyByZXN1bHQsIHRyYW5zYWN0aW9uIH0pOwogICAgcmV0dXJuOwogIH0KICBwb3N0TWVzc2FnZSh7IHJlc3VsdCwgdHJhbnNhY3Rpb24gfSk7Cn07Cg==",poolSize:8,name:"stats"}].map((function(e){for(var t=e.template,n=e.poolSize,i=e.name,r=[],s=function(e){var n=new Worker(t),i={worker:n,busy:!1};n.onmessage=function(e){return function(e,t){var n=e.data,i=n.transaction,r=n.result,s=Ge[i];t.busy=!1,s(r),delete Ge[i]}(e,i)},r.push(i)},l=0;l<n;l+=1)s();return{name:i,pool:r}})).reduce((function(e,t){var n=t.name,i=t.pool;return(0,c.Z)((0,c.Z)({},e),{},(0,p.Z)({},n,i))}),{}),Se=function e(){var t=Be.shift();if(t){var n=function(e){var t=Ye[e].filter((function(e){return!e.busy}))[0];return t?t.busy?null:(t.busy=!0,t):null}(t.name);if(!n)return Be.unshift(t),void setImmediate(e);var i=we;we+=1;var r={data:t.data,transaction:i};Ge[i]=t.callback,n.worker.postMessage(r),setImmediate(e)}},Ve=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.name,i=t.data,e.abrupt("return",new Promise((function(e){Be.push({name:n,data:i,callback:e}),setImmediate(Se)})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ke=["columnType"],Re=["meta"],He={total:{title:"all results"},correct:{indent:1,title:"correct results",description:"(property holds + result is true) OR (property does not hold + result is false)"},correct_true:{indent:2,title:"correct true",description:"property holds + result is true"},correct_false:{indent:2,title:"correct false",description:"property does not hold + result is false"},correct_unconfirmed:{indent:1,title:"correct-unconfirmed results",description:"(property holds + result is true) OR (property does not hold + result is false), but unconfirmed"},correct_unconfirmed_true:{indent:2,title:"correct-unconfirmed true",description:"property holds + result is true, but unconfirmed"},correct_unconfirmed_false:{indent:2,title:"correct-unconfirmed false",description:"property does not hold + result is false, but unconfirmed"},wrong:{indent:1,title:"incorrect results",description:"(property holds + result is false) OR (property does not hold + result is true)"},wrong_true:{indent:2,title:"incorrect true",description:"property does not hold + result is true"},wrong_false:{indent:2,title:"incorrect false",description:"property holds + result is false"}},Te=function(e){return e.filter((function(e){return He[e.id]}))},Xe=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i,r,s,l,a,o;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.tools,i=t.tableData,r=t.stats,s=Ke(n),e.next=4,Je({tools:n,tableData:i,formatter:s});case 4:return l=e.sent,a=r.map((function(e){return e.id})).filter((function(e){return He[e]})),o=Oe(l,s,a),l=o.map((function(e,t){var i,r=[],s=n[t].columns,l=0,a=s[l],o=(0,g.Z)(e);try{for(o.s();!(i=o.n()).done;){for(var c=i.value,u=c.title;l<s.length&&u!==a.title;)r.push({}),a=s[++l];if(l>=s.length)break;r.push(c),a=s[++l]}}catch(d){o.e(d)}finally{o.f()}return r})),e.abrupt("return",Te(r).map((function(e){var t=e.content.map((function(t,n){return l[n].map((function(t){return t[e.id]}))}));return(0,c.Z)((0,c.Z)({},e),{},{content:t})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ke=function(e){return e.map((function(e,t){return e.columns.map((function(e,n){var i=e.number_of_significant_digits;return new ne(i,"".concat(t,"-").concat(n))}))}))},Le=function(e,t,n){return function(n,i){var r=i.significantDigits,s=Number(n),l=n.split("."),a=(0,f.Z)(l,2),o=a[0],c=a[1];if(["sum","avg","stdev"].includes(e)){var u,d;if(B(r)&&"sum"!==e)return s.toFixed(2);var h=o.replace(/^0+/,""),g=c||"";""===h&&(g=g.replace(/^0+/,""));var p=t-(null!==(u=null===c||void 0===c?void 0:c.length)&&void 0!==u?u:0),m=r-(h.length+g.length),v=m>0,I=(null!==(d=null===c||void 0===c?void 0:c.length)&&void 0!==d?d:0)+m;if(p>0&&v&&"stdev"!==e)return p>m?s.toFixed(I):s.toFixed(t);if("avg"===e&&!v&&p<0&&"0"===n[n.length-1])return s.toFixed(t);if("stdev"===e&&v)return s.toFixed(I)}return n}},Oe=function(e,t,n){var i=e.map((function(e,i){return e.map((function(e,r){var s,l={columnType:e.columnType},a=(0,g.Z)(n);try{for(a.s();!(s=a.n()).done;){var o,c=s.value,u=e[c];u&&(l[c]=u,null!==(o=null===u||void 0===u?void 0:u.sum)&&void 0!==o&&o&&t[i][r].addDataItem(u.sum))}}catch(d){a.e(d)}finally{a.f()}return l}))}));for(var r in t)for(var s in t[r])t[r][s]=t[r][s].build();return i.map((function(e,n){return e.map((function(e,i){e.columnType;var r=(0,I.Z)(e,ke),s={};if(void 0!==r.total){for(var l=0,a=Object.entries(r);l<a.length;l++){for(var o=(0,f.Z)(a[l],2),c=o[0],u=o[1],d={},h=null===u||void 0===u?void 0:u.meta,g=0,p=Object.entries(u);g<p.length;g++){var m,v=(0,f.Z)(p[g],2),b=v[0],C=v[1];if(!Re.includes(b)){var x=null!==(m=null===h||void 0===h?void 0:h.maxDecimals)&&void 0!==m?m:0;if("title"!==b){if(!B(C)&&(!isNaN(C)||"NaN"===C)&&t[n][i])try{d[b]="sum"===b?t[n][i](C,{leadingZero:!1,whitespaceFormat:!0,html:!0,additionalFormatting:Le(b,x)}):t[n][i](C,{leadingZero:!0,whitespaceFormat:!1,html:!1,additionalFormatting:Le(b,x)})}catch(y){console.error({key:b,value:C,formatter:t[n][i],e:y})}}else s.title=C}}s[c]=d}return s}})).filter((function(e){return!B(e)}))}))},Ue="false",De="false",Ee="other",Pe=function(e,t,n,i,r){return e.map((function(e){var r,s=n(t,e),l=i(t,e);return{categoryType:s.replace(/-/g,"_"),resultType:B(r=l)?Ee:"true"===r?"true":r===Ue||r.startsWith("".concat(Ue,"("))&&r.endsWith(")")?De:Ee,row:e.results[t].values}}))},Me=function(e){return function(t,n){var i,r=[],s=(0,g.Z)(t);try{for(s.s();!(i=s.n()).done;){var l=i.value,a=l.row,o=l.categoryType,c=l.resultType;for(var u in a){var d=a[u].raw,h=r[u]||[],f=e[n].columns[u],p=f.type,m=f.title;h.push({categoryType:o,resultType:c,column:d,columnType:p,columnTitle:m}),r[u]=h}}}catch(v){s.e(v)}finally{s.f()}return r}},Je=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i,r,s,l,a,o,c,u,d,h,g,f,p,m,v,I;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(o in n=t.tools,i=t.tableData,t.formatter,r=function(e,t){return t.results[e].category},s=function(e,t){return t.results[e].values[0].raw},l=[],a=[],n)a.push(Pe(i,o,r,s));for(d in c=Me(n),u=a.map(c))u[d]=u[d].filter((function(e){return!B(e)}));for(h in u){for(p in g=u[h],f=[],g)m=g[p],f.push(Ve({name:"stats",data:m}));l[h]=f}return v=l.map((function(e){return Promise.all(e)})),e.next=13,Promise.all(v);case 13:return I=e.sent,e.abrupt("return",I);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ze=.15*window.innerWidth,_e=function(e){return Object.keys(e).filter((function(t){return e[t]&&"sum"!==t})).map((function(t){return"".concat(t,": ").concat(e[t])})).join(", ")||void 0},Qe=function(e){var t=e.selectColumn,n=e.tools,r=e.switchToQuantile,s=e.hiddenCols,l=e.tableData,a=e.onStatsReady,o=e.stats,u=e.filtered,d=void 0!==u&&u,h=(0,i.useState)(d?[]:o),g=(0,f.Z)(h,2),p=g[0],I=g[1],b=(0,i.useState)(!0),C=(0,f.Z)(b,2),x=C[0],y=C[1];(0,i.useEffect)((function(){var e=function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(){var t;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!d){e.next=7;break}return e.next=3,Xe({tools:n,tableData:l,stats:o});case 3:t=e.sent,I(t),e.next=8;break;case 7:I(o);case 8:a&&a();case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[n,l,a,false,o,d]);var Z=function(e){return(0,j.jsx)("div",{className:"table-header",children:e.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({className:"tr headergroup"},e.getHeaderGroupProps()),{},{children:e.headers.map((function(e){return(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({},e.getHeaderProps({className:"th header ".concat(e.headers?"outer ":"").concat(e.className||"")})),{},{children:[e.render("Header"),(!e.className||!e.className.includes("separator"))&&(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getResizerProps()),{},{className:"resizer ".concat(e.isResizing?"isResizing":"")}))]}))}))}))}))})},A=function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},Y()),{},{className:"table-body body",children:e.map((function(e){return R(e),(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getRowProps()),{},{className:"tr",children:e.cells.map((function(e){return(0,j.jsx)("div",(0,c.Z)((0,c.Z)({},e.getCellProps({className:"td "+(e.column.className||"")})),{},{children:e.render("Cell")}))}))}))}))}))},F=(0,i.useMemo)((function(){var e=n.map((function(e,t){return ve(e,t,function(e){var t=e.switchToQuantile,n=e.hiddenCols;return function(e,i,r){return{id:"".concat(e,"_").concat(i.display_title,"_").concat(r),Header:(0,j.jsx)(ge,{column:i,className:"header-data clickable",title:"Show Quantile Plot of this column",onClick:function(e){return t(i)}}),hidden:n[e].includes(i.colIdx)||!(N(i)||"status"===i.type),width:V(i,null,"status"===i.type?6:null),minWidth:30,accessor:function(t){return t.content[e][r]},Cell:function(e){var t,n=null===(t=e.value)||void 0===t?void 0:t.sum;return"status"===i.type&&(n=void 0===e.value?0:null===e.value?null:Number.isInteger(Number(e.value.sum))?Number(e.value.sum):e.value.sum),B(n)?(0,j.jsx)("div",{className:"cell",children:"-"}):(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:n},className:"cell",title:"status"!==i.type?_e(e.value):void 0})}}}}({switchToQuantile:r,hiddenCols:s}))})).flat();return[{Header:function(){return(0,j.jsx)("form",{children:(0,j.jsxs)("label",{title:"Fix the first column",children:["Fixed row title:",(0,j.jsx)("input",{id:"fixed-row-title",name:"fixed",type:"checkbox",checked:x,onChange:function(e){var t=e.target;return y(t.checked)}})]})})},id:"row-title",sticky:x?"left":"",width:ze,minWidth:100,columns:[{id:"summary",width:ze,minWidth:100,Header:(0,j.jsx)(he,{handler:t}),Cell:function(e){return(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:(e.row.original.title||"&nbsp;".repeat(4*He[e.row.original.id].indent)+He[e.row.original.id].title)+(d?" of selected rows":"")},title:e.row.original.description||He[e.row.original.id].description,className:"row-title"})}}]}].concat(e)}),[d,x,r,s,t,n]),W=(0,i.useMemo)((function(){return p}),[p]),G=(0,m.useTable)({columns:F,data:W,initialState:{hiddenColumns:ae(F)}},m.useFilters,m.useResizeColumns,m.useFlexLayout,v.useSticky),w=G.getTableProps,Y=G.getTableBodyProps,S=G.headerGroups,k=G.rows,R=G.prepareRow;return(0,j.jsxs)("div",{id:"statistics",children:[(0,j.jsx)("h2",{children:"Statistics"}),function(e,t){return d&&0===p.length?(0,j.jsx)("p",{id:"statistics-placeholder",children:"Please wait while the statistics are being calculated."}):(0,j.jsx)("div",{id:"statistics-table",children:(0,j.jsx)("div",{className:"table sticky",children:(0,j.jsx)("div",{className:"table-content",children:(0,j.jsxs)("div",(0,c.Z)((0,c.Z)({className:"table-container"},w()),{},{children:[Z(e),A(t)]}))})})})}(S,k)]})},qe=["displayName","tool","limit","host","os","system","date","runset","branch","options","property"],$e=function(e){var t=function(e){return e.split(/[\s]+-/).map((function(e,t){return(0,j.jsx)("li",{children:(0,j.jsx)("code",{children:0===t?e:"-".concat(e)})},e)}))},n=function(e,t){return e?(0,j.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:t}):t},i=function(e){var t=e.tool,i=e.version,r=e.project_url,s=e.version_url;return(0,j.jsxs)(j.Fragment,{children:[n(r,t)," ",n(s,i)]})};return(0,j.jsxs)("div",{id:"summary",children:[(0,j.jsxs)("div",{id:"benchmark_setup",children:[(0,j.jsx)("h2",{children:"Benchmark Setup"}),(0,j.jsx)("table",{children:(0,j.jsx)("tbody",{children:qe.map((function(t){return e.tableHeader[t]})).filter((function(e){return null!==e})).map((function(e){return(0,j.jsxs)("tr",{className:e.id,children:[(0,j.jsx)("th",{children:e.name},"td-"+e.id),e.content.map((function(n,r){return function(e,n,r,s){var l="options"===e,a="tool"===e;return(0,j.jsx)("td",{colSpan:r,className:"header__tool-row".concat(l&&" options"),children:l?(0,j.jsx)("ul",{children:t(n)}):a?i(n):n},n+s)}(e.id,n[0],n[1],r)}))]},"tr-"+e.id)}))})})]}),(0,j.jsx)(Qe,{selectColumn:e.selectColumn,tools:e.tools,switchToQuantile:e.switchToQuantile,hiddenCols:e.hiddenCols,tableData:e.tableData,onStatsReady:e.onStatsReady,stats:e.stats,filtered:e.filtered}),(0,j.jsxs)("p",{children:["Generated by"," ",(0,j.jsxs)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec",target:"_blank",rel:"noopener noreferrer",children:[" ","BenchExec ",e.version]})]})]})},et=n(4463),tt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))).knownLicenses=["BSD-3-Clause","CC-BY-4.0","ISC","MIT","Zlib"],e.linkifyLicense=function(e){return(0,j.jsx)("a",{href:"https://spdx.org/licenses/"+e,target:"_blank",rel:"noopener noreferrer",children:e},e)},e.linkifyLicenses=function(t){return t.split(/([A-Za-z0-9.-]+)/).map((function(t){return e.knownLicenses.includes(t)?e.linkifyLicense(t):t}))},e.render=function(){return(0,j.jsxs)("div",{children:[(0,j.jsx)("h4",{children:(0,j.jsxs)("a",{href:"https://www.npmjs.com/package/"+e.props.name+"/v/"+e.props.version,target:"_blank",rel:"noopener noreferrer",children:[e.props.name," ",e.props.version]})}),e.props.repository&&(0,j.jsxs)(j.Fragment,{children:["Source:"," ",(0,j.jsx)("a",{href:e.props.repository,target:"_blank",rel:"noopener noreferrer",children:e.props.repository}),(0,j.jsx)("br",{})]}),e.props.copyright&&(0,j.jsxs)(j.Fragment,{children:[e.props.copyright,(0,j.jsx)("br",{})]}),"License: ",(0,j.jsx)(j.Fragment,{children:e.linkifyLicenses(e.props.licenses)}),void 0!==e.props.licenseId&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("br",{}),(0,j.jsxs)("details",{children:[(0,j.jsx)("summary",{children:"Full text of license"}),(0,j.jsx)("pre",{children:et.licenses[e.props.licenseId]})]})]})]})},e}return(0,l.Z)(n)}(i.Component),nt=function(e){return(0,j.jsxs)("div",{className:"info",children:[(0,j.jsx)("div",{className:"info-header",children:(0,j.jsx)("h1",{children:"Info and Help"})}),(0,j.jsx)("h3",{children:"Summary"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows environment information and a summary of the results."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"})," ",(0,j.jsx)("br",{})," The columns to show can be selected by clicking on ",(0,j.jsx)("em",{children:"Click here to select columns"})," or"," ",(0,j.jsx)("span",{className:"link",onClick:e.selectColumn,children:"here"}),"."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Quantile plot:"})," ",(0,j.jsx)("br",{}),"A quantile plot for a column can be shown by clicking on the respective column header (e.g.,"," ",(0,j.jsx)("em",{children:"cputime"}),")."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Fixed row title:"})," ",(0,j.jsx)("br",{}),"Deselect to let the left-most column scroll together with the rest of the table."]})]}),(0,j.jsx)("h3",{children:"Table"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows the detailed results."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Fixed task:"})," ",(0,j.jsx)("br",{}),"Deselect to let the left-most column with the task name scroll together with the rest of the table."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"})," ",(0,j.jsx)("br",{})," The columns to show can be selected by clicking on ",(0,j.jsx)("em",{children:"Click here to select columns"})," or"," ",(0,j.jsx)("span",{className:"link",onClick:e.selectColumn,children:"here"}),"."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Filter rows:"})," ",(0,j.jsx)("br",{}),"Filters can be applied to every column in the row below the column header. Numeric columns accept a range filter like ",(0,j.jsx)("em",{children:"min:max"}),", where both ",(0,j.jsx)("em",{children:"min"})," and ",(0,j.jsx)("em",{children:"max"})," are numeric values that can also be omitted for half-open ranges. For text columns (like the task name) any row matches that contains the entered filter value. Several filters can be combined and will be applied together. All filters can be deleted at once with the ",(0,j.jsx)("em",{children:"Reset Filters"})," button in the top right corner."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Sort rows:"})," ",(0,j.jsx)("br",{})," Rows can be sorted by clicking on the column header. Clicking again will toggle the sort order (ascending vs. descending). Hold ",(0,j.jsx)("kbd",{children:"Shift"})," while clicking for adding a column to the sort order."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Tool output:"})," ",(0,j.jsx)("br",{}),"Clicking on a cell in the status column will show the tool output of this run."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Task definition:"})," ",(0,j.jsx)("br",{})," Clicking on the task name will show the content of the respective file."]})]}),(0,j.jsx)("h3",{children:" Quantile Plot and Scatter Plot"}),(0,j.jsxs)("ul",{children:[(0,j.jsx)("li",{children:"Shows plots of the results that are currently visible in the table."}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Correct results only:"})," ",(0,j.jsx)("br",{}),"In addition to the currently applied filter, the plots by default show only correct results. Click ",(0,j.jsx)("em",{children:"Switch to All Results"})," to toggle this behavior."]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("strong",{children:"Select columns:"}),(0,j.jsx)("br",{}),"The drop-down fields above the plots allow to choose which columns are shown in the plot."]})]}),(0,j.jsx)("h3",{children:"About"}),(0,j.jsxs)("p",{children:["This table was generated by"," ",(0,j.jsxs)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec",target:"_blank",rel:"noopener noreferrer",children:["BenchExec ",e.version]}),". For feedback, questions, and bug reports please use our"," ",(0,j.jsx)("a",{className:"link",href:"https://github.com/sosy-lab/benchexec/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22HTML+table%22",target:"_blank",rel:"noopener noreferrer",children:"issue tracker"}),"."]}),(0,j.jsxs)("p",{children:["License:"," ",(0,j.jsx)("a",{className:"link",href:"https://www.apache.org/licenses/LICENSE-2.0",target:"_blank",rel:"noopener noreferrer",children:"Apache 2.0 License"})]}),(0,j.jsxs)("details",{children:[(0,j.jsx)("summary",{children:"This application includes third-party dependencies under different licenses. Click here to view them."}),et.dependencies.map((function(e){return(0,j.jsx)(tt,(0,c.Z)({},e),e.name+e.version)}))]})]})},it=n(9284),rt=n.n(it),st=n(935),lt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),(i=t.call(this,e)).renderTools=function(){return i.props.tools.map((function(e){var t=e.toolIdx,n=i.state.hiddenCols[t].length!==e.columns.length,r=H(e);return(0,j.jsxs)("tr",{id:r,children:[(0,j.jsx)("td",{id:r,className:n?"checked":"",children:(0,j.jsxs)("label",{children:[r,(0,j.jsx)("input",{name:r+"--"+t,type:"checkbox",checked:n,onChange:function(e){return i.toggleToolHidden(t,e)}})]})}),i.renderToolColumns(t)]},"tr"+r+t)}))},i.renderToolColumns=function(e){var t=i.props.tools.find((function(t){return t.toolIdx===e}));return i.state.selectableCols.map((function(n){if(t.columns.some((function(e){return e.display_title===n}))){var r=!t.columns.filter((function(e){return e.display_title===n})).map((function(e){return e.colIdx})).some((function(t){return i.state.hiddenCols[e].includes(t)}));return(0,j.jsx)("td",{id:"td"+e+n,className:r?"checked":"",children:(0,j.jsxs)("label",{children:[n,(0,j.jsx)("input",{id:e+"--"+n,name:e+"--"+n,type:"checkbox",checked:r,onChange:function(t){return i.toggleToolColHidden(e,n,t)}})]})},n)}return(0,j.jsx)("td",{},n)}))},i.renderColumnHeaders=function(){return i.state.selectableCols.map((function(e){var t=Object.values(i.state.hiddenCols).some((function(t,n){var r=i.props.tools.find((function(e){return e.toolIdx===n}));return!r.columns.filter((function(t){return t.display_title===e})).map((function(e){return e.colIdx})).some((function(e){return t.includes(e)}))&&r.columns.some((function(t){return t.display_title===e}))}));return(0,j.jsx)("th",{id:"td-all-"+e,className:t?"checked":"",children:(0,j.jsxs)("label",{children:[e,(0,j.jsx)("input",{name:e,type:"checkbox",checked:t,onChange:function(t){return i.toggleWholeColHidden(e,t)}})]})},"key"+e)}))},i.toggleAllColsHidden=function(){var e={};i.props.tools.forEach((function(t){return e[t.toolIdx]=[]})),i.state.isButtonOnDeselect&&i.props.tools.forEach((function(t){e[t.toolIdx]=t.columns.map((function(e){return e.colIdx}))})),i.setState((function(t){return{isButtonOnDeselect:!t.isButtonOnDeselect,hiddenCols:e}}))},i.toggleToolHidden=function(e,t){var n=t.target,r=("checkbox"===n.type?n.checked:n.value)?[]:i.props.tools.find((function(t){return t.toolIdx===e})).columns.map((function(e){return e.colIdx}));i.setHiddenColsForTool(e,r)},i.toggleToolColHidden=function(e,t,n){var r=n.target,s="checkbox"===r.type?r.checked:r.value,l=i.props.tools.find((function(t){return t.toolIdx===e})).columns.filter((function(e){return e.display_title===t})).map((function(e){return e.colIdx}));s?i.removeFromHiddenCols(e,l):i.addToHiddenCols(e,l)},i.toggleWholeColHidden=function(e,t){var n=t.target,r="checkbox"===n.type?n.checked:n.value;i.props.tools.forEach((function(t){var n=t.columns.filter((function(t){return t.display_title===e}));if(n.length>0){var s=n.map((function(e){return e.colIdx}));r?i.removeFromHiddenCols(t.toolIdx,s):i.addToHiddenCols(t.toolIdx,s)}}))},i.addToHiddenCols=function(e,t){var n=(0,u.Z)(new Set(i.state.hiddenCols[e].concat(t)));i.setHiddenColsForTool(e,n)},i.removeFromHiddenCols=function(e,t){var n=i.state.hiddenCols[e].filter((function(e){return!t.includes(e)}));i.setHiddenColsForTool(e,n)},i.handlePopState=function(){window.history.back()};var r=e.tools.map((function(e){return e.columns})).flat().filter((function(e,t,n){return t===n.findIndex((function(t){return t.display_title===e.display_title}))})).map((function(e){return e.display_title}));return i.state={isButtonOnDeselect:!0,hiddenCols:i.props.hiddenCols,selectableCols:r},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){window.history.pushState({},"",""),window.addEventListener("popstate",this.props.close,!1)}},{key:"componentWillUnmount",value:function(){var e=this;window.removeEventListener("popstate",this.props.close,!1);var t={},n=[];Object.entries(this.state.hiddenCols).forEach((function(i){var r=(0,f.Z)(i,2),s=r[0],l=r[1],a=e.props.tools.find((function(e){return e.toolIdx===parseInt(s)})).columns;l.length===a.length?n.push(s):l.length>0?t["hidden"+s]=l.toString():t["hidden"+s]=null})),n.length>0?t.hidden=n.toString():t.hidden=null,O(t,this.props.history)}},{key:"setHiddenColsForTool",value:function(e,t){this.setState((function(n){return{hiddenCols:(0,c.Z)((0,c.Z)({},n.hiddenCols),{},(0,p.Z)({},e,t))}}))}},{key:"render",value:function(){var e=this;rt().setAppElement(document.getElementById("root"));var t=this.props.tools.every((function(t){return t.columns.length===e.state.hiddenCols[t.toolIdx].length}));return(0,j.jsxs)(rt(),{ariaHideApp:!1,className:"overlay",isOpen:!0,onRequestClose:function(){return e.handlePopState()},children:[(0,j.jsx)("div",{className:"link-overlay-header-container",children:(0,j.jsx)(y.G,{icon:st.YIN,onClick:function(){return e.handlePopState()},className:"closing"})}),(0,j.jsx)("h1",{children:"Select the columns to display"}),(0,j.jsx)("table",{className:"selectRows",children:(0,j.jsxs)("tbody",{children:[(0,j.jsxs)("tr",{className:"selectColumn_all",children:[(0,j.jsx)("th",{}),this.renderColumnHeaders()]}),this.renderTools()]})}),(0,j.jsxs)("div",{className:"overlay__buttons",children:[(0,j.jsx)("button",{className:"btn",onClick:this.toggleAllColsHidden,children:this.state.isButtonOnDeselect?"Deselect all":"Select all"}),(0,j.jsx)("button",{className:"btn btn-apply",onClick:function(){return e.handlePopState()},disabled:t,children:"Apply and close"}),(0,j.jsx)("input",{})]})]})}}]),n}(i.Component),at=(n(8350),n(9468)),ot=function(e,t,n,i,r,s){return(0,j.jsxs)("div",{className:"setting".concat(s?" disabled":""),title:r,children:[(0,j.jsxs)("span",{className:"setting-label".concat(r?" with-tooltip":""),children:[e,":"]}),(0,j.jsxs)("select",{className:"setting-select",name:"setting-"+e,value:s?"disabled":t,onChange:n,disabled:s,children:[Object.values(i).map((function(t){return(0,j.jsx)("option",{value:t,name:t+" "+e,children:t},t)})),s?(0,j.jsx)("option",{value:"disabled",name:"disabled",children:"\u2e3a"}):""]})]})},ct=function(e){return(0,j.jsx)("button",{className:"setting-button",onClick:function(){return e()},children:"Reset plot"})},ut=function(e,t,n,i,r){return(0,j.jsxs)("div",{className:"setting",title:r,children:[(0,j.jsxs)("span",{className:"setting-label".concat(r?" with-tooltip":""),children:[e,":"]}),(0,j.jsx)("select",{id:"setting-"+e,className:"setting-select",name:"setting-"+e,value:t,onChange:n,children:Object.entries(i).map((function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1];return(0,j.jsx)("optgroup",{label:i,children:r.map((function(t){return(0,j.jsx)("option",{value:t.value,name:t.name+" "+e,children:t.name},t.value)}))},i)}))})]})};function dt(e,t,n){var i=[1e8,1e7,1e6,1e5,1e4].find((function(e){return t>e})),r=i?i/1e3:1;return Array(Math.ceil(t/r)).fill().map((function(e,t){return t*r})).filter((function(t){return t>=e})).map((function(e){var t=n(e);return[Number.parseFloat(t[0].toPrecision(4)),Number.parseFloat(t[1].toPrecision(4))]}))}var ht=n(4391),gt=n.n(ht),ft=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).refreshUrlState=function(){i.setState(i.setup())},i.checkForNumericalSelections=function(){return"ordinal"!==i.handleType(i.state.toolY,i.state.columnY)&&"ordinal"!==i.handleType(i.state.toolX,i.state.columnX)},i.renderData=function(){var e=[];i.hasInvalidLog=!1,i.state.areAllColsHidden||i.props.table.forEach((function(t){var n=t.results[i.state.toolX],r=t.results[i.state.toolY],s=n.values[i.state.columnX].raw,l=r.values[i.state.columnY].raw,a=void 0!==s&&null!==s&&void 0!==l&&null!==l,o=i.state.results===i.resultsOptions.correct;a&&(!o||o&&"correct"===n.category&&"correct"===r.category)&&(i.state.scaling===i.scalingOptions.logarithmic&&(s<=0||l<=0)?i.hasInvalidLog=!0:e.push({x:s,y:l,info:i.props.getRowName(t)}))})),i.setMinMaxValues(e),i.lineCount=e.length,i.dataArray=e;var t=i.state.regression!==i.regressionOptions.none,n=i.checkForNumericalSelections();if(t)if(0!==i.lineCount&&n){var r=e.map((function(e){return[parseFloat(e.x),parseFloat(e.y)]})),s=gt().linear(r),l=function(e,t,n,i,r){var s=function(e){return e[0]},l=function(e){return e[1]},a=function(e,t){return e+t};i=Math.floor(i),r=Math.ceil(r);var o=Math.sqrt(e.map((function(e,n){return[l(e),l(t[n])]})).map((function(e){return Math.pow(e[1]-e[0],2)})).reduce(a)/e.length),c=e.map((function(e){return s(e)})).reduce(a)/e.length,u=Math.sqrt(e.map((function(e){return Math.pow(s(e)-c,2)})).reduce(a)/e.length),d=dt(i,r,n),h=0===o||0===u?d.map((function(e){return 0})):d.map((function(t){return Number.parseFloat((1.96*o*Math.sqrt(1/e.length+Math.pow(s(t)-c,2)/((e.length-1)*Math.pow(u,2)))).toPrecision(4))}));return{upperBorderData:d.map((function(e,t){return[s(e),l(e)+h[t]]})),lowerBorderData:d.map((function(e,t){return[s(e),l(e)-h[t]]}))}}(r,s.points,s.predict,i.minX,i.maxX),a=[[i.minX,s.predict(i.minX)[1]],[i.maxX,s.predict(i.maxX)[1]]];s.points=Array.from(new Set(s.points.map(JSON.stringify)),JSON.parse).concat(a);var o=i.props.tools[i.state.toolX].columns[i.state.columnX].unit,c=i.props.tools[i.state.toolY].columns[i.state.columnY].unit,u="Estimation technique: ordinary least squares (OLS)\n                          Predictor variable (X-Axis) in ".concat(o,": ").concat(i.state.nameX,"\n                          Response variable (Y-Axis) in ").concat(c,": ").concat(i.state.nameY,"\n                          Regression coefficient: ").concat(s.equation[0],"\n                          Intercept: ").concat(s.equation[1],"\n                          Equation: ").concat(s.string,"\n                          Coefficient of Determination: ").concat(s.r2).replace(/^ +/gm,"");i.regressionData={regression:s,text:u,upperConfidenceBorderData:l.upperBorderData,lowerConfidenceBorderData:l.lowerBorderData}}else O({regression:i.regressionOptions.none})},i.setMinMaxValues=function(e){var t=e.map((function(e){return e.x})),n=e.map((function(e){return e.y}));i.maxX=i.findMaxValue(t),i.maxY=i.findMaxValue(n),i.minX=i.findMinValue(t),i.minY=i.findMinValue(n)},i.findMaxValue=function(e){var t=Math.max.apply(Math,(0,u.Z)(e));return t<3?3:t},i.findMinValue=function(e){var t=Math.min.apply(Math,(0,u.Z)(e));return t>2?1:t},i.renderRegressionLine=function(e){var t=i.prepareRegressionLineData(e);return(0,j.jsx)(at.LU,{className:"regression-line",data:t,style:{stroke:"green"},onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})},opacity:"0"},"reg-line-"+e)},i.renderConfidenceIntervalLine=function(e,t){var n=i.prepareLineData(e);return(0,j.jsx)(at.eh,{className:"regression-line",data:n,style:{stroke:"gray"}},"conf-line-".concat(t,"-").concat(e))},i.prepareRegressionLineData=function(e){return e.sort((function(e,t){return e[0]-t[0]})).map((function(e,t){var n=Math.round(100*i.regressionData.lowerConfidenceBorderData[t][1])/100,r=Math.round(100*i.regressionData.upperConfidenceBorderData[t][1])/100;return{x:e[0],y:e[1],"95% Confidence Interval":"[".concat(n,",").concat(r,"]")}})).sort((function(e,t){return e.x-t.x}))},i.prepareLineData=function(e){return e.map((function(e){return{x:e[0],y:e[1]}})).sort((function(e,t){return e.x-t.x}))},i.handleType=function(e,t){var n=i.props.tools[e].columns[t].type;return"text"===n||"status"===n?"ordinal":i.state.scaling===i.scalingOptions.logarithmic?"log":"linear"},i.extractAxisInfoByName=function(e,t){var n,r=e.split("-"),s=(0,f.Z)(r,2),l=s[0],a=s[1];return n={},(0,p.Z)(n,"data".concat(t),e),(0,p.Z)(n,"tool".concat(t),l),(0,p.Z)(n,"column".concat(t),a),(0,p.Z)(n,"name".concat(t),i.props.tools[l].columns.find((function(e){return e.colIdx===parseInt(a)})).display_title+" ("+H(i.props.tools[l])+")"),n},i.setAxis=function(e,t){var n;i.array=[];var r=e.target.value.split("-"),s=(0,f.Z)(r,2),l=s[0],a=s[1];a=a.replace("___","-"),O((n={},(0,p.Z)(n,"tool".concat(t),l),(0,p.Z)(n,"column".concat(t),a),n))},i.swapAxes=function(){i.array=[],O({toolX:i.state.toolY,toolY:i.state.toolX,columnX:i.state.columnY,columnY:i.state.columnX})},i.scalingOptions={linear:"Linear",logarithmic:"Logarithmic"},i.resultsOptions={all:"All",correct:"Correct only"},i.regressionOptions={none:"None",linear:"Linear"},i.lineOptgroupOptions={"f(x) = cx and f(x) = x/c":[{name:"c = 1.1",value:1.1},{name:"c = 1.2",value:1.2},{name:"c = 1.5",value:1.5},{name:"c = 2",value:2},{name:"c = 3",value:3},{name:"c = 4",value:4},{name:"c = 5",value:5},{name:"c = 6",value:6},{name:"c = 7",value:7},{name:"c = 8",value:8},{name:"c = 9",value:9},{name:"c = 10",value:10},{name:"c = 100",value:100},{name:"c = 1000",value:1e3},{name:"c = 10000",value:1e4},{name:"c = 100000",value:1e5},{name:"c = 1000000",value:1e6}]},i.defaultValues={scaling:i.scalingOptions.logarithmic,results:i.resultsOptions.correct,regression:i.regressionOptions.none,line:Object.values(i.lineOptgroupOptions)[0][11].value},i.state=i.setup(),i.maxX="",i.minX="",i.lineCount=1,i}return(0,l.Z)(n,[{key:"setup",value:function(){var e,t,n,i=H(this.props.tools[0])+" "+this.props.columns[0][1],r=(0,c.Z)((0,c.Z)({},this.defaultValues),X()),s=r.results,l=r.scaling,a=r.toolX,o=r.toolY,u=r.columnX,d=r.columnY,h=r.line,g=r.regression;if(B(a)||B(u)){var p=re(this.props.tools,this.props.hiddenCols),m=(0,f.Z)(p,2),v=m[0],I=m[1];n=void 0===v,a=v,e="".concat(v,"-").concat(I)}else n=!1,e="".concat(a,"-").concat(u);if(B(o)||B(d)){var b=re(this.props.tools,this.props.hiddenCols),C=(0,f.Z)(b,2),x=C[0],y=C[1];n=void 0===x,o=x,t="".concat(x,"-").concat(y)}else n=!1,t="".concat(o,"-").concat(d);var Z={dataX:e,dataY:t,results:s,scaling:l,regression:g,toolX:0,toolY:0,line:h,columnX:1,columnY:1,nameX:i,nameY:i,value:!1,areAllColsHidden:n};return e&&!n&&(Z=(0,c.Z)((0,c.Z)({},Z),this.extractAxisInfoByName(e,"X"))),t&&!n&&(Z=(0,c.Z)((0,c.Z)({},Z),this.extractAxisInfoByName(t,"Y"))),Z}},{key:"componentDidMount",value:function(){window.addEventListener("popstate",this.refreshUrlState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("popstate",this.refreshUrlState)}},{key:"renderAllSettings",value:function(){var e=this,t=this.props.tools.reduce((function(t,n,i){return Object.assign(t,(0,p.Z)({},H(n),n.columns.filter((function(t){return!e.props.hiddenCols[i].includes(t.colIdx)})).map((function(e,t){return{name:e.display_title,value:i+"-"+e.colIdx}}))))}),{});return(0,j.jsx)("div",{className:"settings-container",children:(0,j.jsxs)("div",{className:"settings-border-container",children:[(0,j.jsxs)("div",{className:"settings-subcontainer flexible-width",children:[ut("X-Axis",this.state.dataX,(function(t){return e.setAxis(t,"X")}),t),(0,j.jsx)("span",{className:"setting icon",children:(0,j.jsx)(y.G,{icon:st.Ssp,onClick:function(){return e.swapAxes()}})}),ut("Y-Axis",this.state.dataY,(function(t){return e.setAxis(t,"Y")}),t)]}),(0,j.jsxs)("div",{className:"settings-subcontainer",children:[ot("Scaling",this.state.scaling,(function(e){return O({scaling:e.target.value})}),this.scalingOptions),ot("Results",this.state.results,(function(e){return O({results:e.target.value})}),this.resultsOptions,"In addition to which results are selected here, any filters will still be applied."),(0,j.jsx)("div",{className:"settings-subcontainer",children:ut("Aux. Lines",this.state.line,(function(e){return O({line:e.target.value})}),this.lineOptgroupOptions,"Adds the two auxiliary lines f(x) = cx and f(x) = x/c to the plot, with c being the chosen factor in the dropdown.")})]}),(0,j.jsxs)("div",{className:"settings-subcontainer",children:[ot("Regression",this.state.regression,(function(t){e.checkForNumericalSelections()?O({regression:t.target.value}):alert("Regressions are only available for numerical selections.")}),this.regressionOptions,this.state.regression!==this.regressionOptions.none&&this.regressionData?this.regressionData.text:void 0),ct((function(){return O({columnX:null,columnY:null,line:null,regression:null,results:null,scaling:null,toolX:null,toolY:null})}))]})]})})}},{key:"renderRegressionAndConfidenceIntervals",value:function(){var e=dt(Math.floor(this.minX),Math.ceil(this.maxX),this.regressionData.regression.predict);return[this.renderConfidenceIntervalLine(this.regressionData.upperConfidenceBorderData,"upper"),this.renderConfidenceIntervalLine(this.regressionData.lowerConfidenceBorderData,"lower"),this.renderRegressionLine(e)]}},{key:"render",value:function(){var e=this;this.renderData();var t=this.state.scaling===this.scalingOptions.linear,n=this.props.isFlexible?at.wu:at.dp,i=this.props.isFlexible?{height:window.innerHeight-200}:{height:1e3,width:1500},r=this.maxX>this.maxY?this.maxX:this.maxY;return(0,j.jsxs)("div",{className:"scatterPlot",children:[!this.state.areAllColsHidden&&this.renderAllSettings(),(0,j.jsxs)(n,(0,c.Z)((0,c.Z)({className:"scatterPlot__plot",margin:{left:90},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX),xDomain:"ordinal"!==this.handleType(this.state.toolX,this.state.columnX)?[this.minX,this.maxX]:null,yDomain:"ordinal"!==this.handleType(this.state.toolY,this.state.columnY)?[this.minY,this.maxY]:null},i),{},{children:[(0,j.jsx)(at.pW,{yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.xL,{yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.Ci,{className:"middle-line",axisStart:{x:t?0:1,y:t?0:1},axisEnd:{x:r,y:r},axisDomain:[0,1e10],style:{ticks:{stroke:"#009440",opacity:0},text:{stroke:"none",fill:"#009440",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Ci,{axisStart:{x:t?0:this.state.line,y:t?0:1},axisEnd:{x:this.maxX,y:this.maxX/this.state.line},axisDomain:[0,1e10],style:{ticks:{stroke:"#ADDDE1",opacity:0},text:{stroke:"none",fill:"#6b6b76",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Ci,{axisStart:{x:t?0:1,y:t?0:this.state.line},axisEnd:{x:this.maxX,y:this.maxX*this.state.line},axisDomain:[0,1e10],style:{ticks:{stroke:"#ADDDE1",opacity:0},text:{stroke:"none",fill:"#6b6b76",fontWeight:600,opacity:0}}}),(0,j.jsx)(at.Kc,{title:this.state.nameX,tickFormat:function(e){return e},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.B2,{title:this.state.nameY,tickFormat:function(e){return e},yType:this.handleType(this.state.toolY,this.state.columnY),xType:this.handleType(this.state.toolX,this.state.columnX)}),(0,j.jsx)(at.e9,{data:this.dataArray,onValueMouseOver:function(t,n){return e.setState({value:t})},onValueMouseOut:function(t,n){return e.setState({value:null})}}),this.state.regression!==this.regressionOptions.none&&this.checkForNumericalSelections()&&this.regressionData&&0!==this.lineCount&&this.renderRegressionAndConfidenceIntervals(),this.state.value?(0,j.jsx)(at.kW,{value:this.state.value}):null]})),this.state.areAllColsHidden?(0,j.jsx)("div",{className:"plot__noresults",children:"No columns to show!"}):0===this.lineCount&&(0,j.jsxs)("div",{className:"plot__noresults",children:["No"," ",this.state.results===this.resultsOptions.correct&&"correct"," ","results",this.props.table.length>0&&" with valid data points",this.hasInvalidLog&&" (negative values are not shown in logarithmic plot)"]})]})}}]),n}(i.Component),pt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).isColRelevantForTool=function(e,t){return i.isColVisible(t,e)&&"text"!==e.type&&"status"!==e.type},i.isToolRelevantForCol=function(e,t){var n=e.columns.find((function(e){return e.display_title===t}));return i.isToolVisible(e)&&n&&i.isColVisible(e.toolIdx,n.colIdx)},i.isColVisibleInAnyTool=function(e){return i.props.tools.some((function(t){return t.columns.some((function(n){return n.colIdx===e.colIdx&&i.isColVisible(t.toolIdx,n.colIdx)}))}))},i.isInVisibleRunsetSupportingScore=function(e){return i.props.tools.filter((function(e){return i.isToolVisible(e)})).some((function(t){return t.scoreBased&&t.columns.some((function(t){return t.display_title===e}))}))},i.isToolVisible=function(e){return e.columns.length!==i.props.hiddenCols[e.toolIdx].length},i.isColVisible=function(e,t){return!i.props.hiddenCols[e].includes(t)},i.updateDimensions=function(){i.setState({height:window.innerHeight})},i.refreshUrlState=function(){i.setState(i.setPlotData())},i.renderLegend=function(){if(i.state.isValue)return i.props.tools.filter((function(e){return i.isToolRelevantForCol(e,i.state.selection)})).map(H).map((function(e){return{title:e,disabled:i.state.isInvisible.some((function(t){return t===e})),strokeWidth:4}}));var e=i.props.tools[i.state.selection.split("-")[1]];return i.state.areAllColsHidden?[]:e.columns.filter((function(t){return i.isColRelevantForTool(t.colIdx,e.toolIdx)})).map((function(e){return{title:e.display_title,disabled:i.state.isInvisible.some((function(t){return t===e.display_title})),strokeWidth:4}}))},i.renderAll=function(){var e=i.state.selection;if(i.state.isValue){var t=i.state.plot===i.plotOptions.scoreBased?i.props.tools.filter((function(e){return e.scoreBased})):i.props.tools;t.forEach((function(t){return i.renderData(e,t.toolIdx,e+t.toolIdx)}))}else if(!i.state.areAllColsHidden){var n=i.state.selection.split("-")[1],r=i.props.tools[n];r.columns.filter((function(e){return i.isColRelevantForTool(e.colIdx,r.toolIdx)&&i.isColVisible(r.toolIdx,e.colIdx)})).forEach((function(e){return i.renderData(e.display_title,n,e.display_title)}))}},i.renderData=function(e,t,n){var r=i.state.plot===i.plotOptions.scoreBased,s="ordinal"===i.handleType(),l=i.props.tools[t].columns.findIndex((function(t){return t.display_title===e})),a=[],o=0;(!i.state.isValue||l>=0&&i.isColVisible(t,l))&&(a=i.props.table.map((function(e){var n=e.results[t],a=null;return"correct"===n.category||!i.state.isResultSelectionDisabled&&i.state.results!==i.resultsOptions.correct?(a=n.values[l].raw||null,s||null===a||(a=isFinite(+a)?+a:null)):r&&n.score&&"correct"!==n.category&&(o+=n.score),{value:a,rowName:i.props.getRowName(e),score:n.score}})),i.state.plot!==i.plotOptions.direct&&(a=a.filter((function(e){return null!==e.value})),a=i.sortArray(a,e))),i.hasInvalidLog=!1;var c=[],u=r?o:0;a.forEach((function(n){var s=n.value,l=n.rowName,a=n.score,o=i.state.scaling===i.scalingOptions.logarithmic&&s<=0;u+=r?a:1,null===s||o||c.push({x:u,y:s,task:l,series:i.state.isValue?H(i.props.tools[t]):e}),o&&(i.hasInvalidLog=!0)})),i[n]=c},i.sortArray=function(e,t){var n=i.possibleValues.find((function(e){return e.display_title===t}));return i.state.isValue&&["text","status"].includes(n.type)?e.sort((function(e,t){return e.value>t.value?1:t.value>e.value?-1:0})):e.sort((function(e,t){return+e.value-+t.value}))},i.renderColumns=function(){return i.possibleValues.map((function(e){var t=i.state.plot===i.plotOptions.scoreBased&&!i.isInVisibleRunsetSupportingScore(e.display_title);return(0,j.jsx)("option",{value:e.display_title,name:e.display_title,disabled:t,className:t?"disabled":"",children:e.display_title},e.display_title)}))},i.renderLines=function(){i.lineCount=0;var e=function(){return T[(i.lineCount-1)%T.length]};if(i.state.isValue)return i.props.tools.map((function(t,n){if(!i.isToolRelevantForCol(t,i.state.selection)||i.state.plot===i.plotOptions.scoreBased&&!t.scoreBased)return null;var r=i.state.selection,s=i[r+n],l=H(t);return i.lineCount++,(0,j.jsx)(at.LU,{data:s,color:e(),opacity:i.handleLineState(l),onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})}},l)})).filter((function(e){return!!e}));if(!i.state.areAllColsHidden){var t=i.state.selection.split("-")[1],n=i.props.tools[t];return n.columns.filter((function(e){return i.isColRelevantForTool(e.colIdx,n.toolIdx)})).map((function(t){var n=i[t.display_title];return i.lineCount++,(0,j.jsx)(at.LU,{data:n,color:e(),opacity:i.handleLineState(t.display_title),onValueMouseOver:function(e,t){return i.setState({value:e})},onValueMouseOut:function(e,t){return i.setState({value:null})}},t.display_title)}))}},i.handleLineState=function(e){return i.state.isInvisible.indexOf(e)<0?1:0},i.toggleShow=function(e){var t=e.target;i.setState((0,p.Z)({},t.name,t.checked))},i.handleType=function(){var e=i.state.selection,t=i.possibleValues.findIndex((function(t){return t.display_title===e})),n=i.state.isValue&&t>=0?i.possibleValues[t].type:null;return!i.state.isValue||"text"!==n&&"status"!==n?i.state.scaling===i.scalingOptions.linear?"linear":"log":"ordinal"},i.plotOptions={quantile:"Quantile Plot",direct:"Direct Plot"},i.scalingOptions={linear:"Linear",logarithmic:"Logarithmic"},i.resultsOptions={all:"All",correct:"Correct only"},i.defaultValues={plot:i.plotOptions.quantile,scaling:i.scalingOptions.logarithmic,results:i.resultsOptions.correct},i.checkForScoreBasedPlot(),i.possibleValues=[],i.lineCount=1,i.state=i.setPlotData(),i}return(0,l.Z)(n,[{key:"setPlotData",value:function(){var e=this,t=X(),n=(0,c.Z)((0,c.Z)({},this.defaultValues),t),i=n.selection,r=n.plot,s=n.scaling,l=n.results,a=i,o=this.props.tools.map((function(e){return e.toolIdx})).join(""),u=new RegExp("runset-["+o+"]"),d=void 0===i||!u.test(i);if(i=d?this.getColumnSelection(i):this.getRunsetSelection(i),r===this.plotOptions.scoreBased&&(d&&!this.isInVisibleRunsetSupportingScore(i)||!d)){this.setPossibleValues();var h=this.possibleValues.find((function(t){return"status"!==t.type&&e.isInVisibleRunsetSupportingScore(t.display_title)}));h||(h=this.possibleValues.find((function(t){return e.isInVisibleRunsetSupportingScore(t.display_title)}))),i=h?h.display_title:i,d=!0}return a&&i&&a!==i&&O({selection:i}),{selection:i,plot:r,scaling:s,results:l,isValue:d,isInvisible:[],areAllColsHidden:void 0===i,isResultSelectionDisabled:r===this.plotOptions.scoreBased}}},{key:"getColumnSelection",value:function(e){var t=e?this.props.tools.map((function(e){return e.columns})).flat().find((function(t){return t.display_title===e})):this.props.preSelection;if(!t||!this.isColVisibleInAnyTool(t)){var n=re(this.props.tools,this.props.hiddenCols),i=(0,f.Z)(n,2),r=i[0],s=i[1];t=void 0!==r?this.props.tools.find((function(e){return e.toolIdx===r})).columns.find((function(e){return e.colIdx===s})):void 0}return t&&t.display_title}},{key:"getRunsetSelection",value:function(e){var t=this,n=parseInt(e.split("-")[1]);return this.props.tools.find((function(e){return e.toolIdx===n})).columns.some((function(e){return t.isColVisible(n,e.colIdx)}))||(n=re(this.props.tools,this.props.hiddenCols)[0]),void 0!==n?"runset-"+n:void 0}},{key:"checkForScoreBasedPlot",value:function(){var e=this;this.props.tools.some((function(t){return t.scoreBased&&e.isToolVisible(t)}))&&(this.plotOptions=(0,c.Z)({scoreBased:"Score-based Quantile Plot"},this.plotOptions),this.props.tools.every((function(t){return t.scoreBased&&e.isToolVisible(t)}))&&(this.defaultValues.plot=this.plotOptions.scoreBased))}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.updateDimensions),window.addEventListener("popstate",this.refreshUrlState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateDimensions),window.removeEventListener("popstate",this.refreshUrlState)}},{key:"setPossibleValues",value:function(){var e=this;this.props.tools.forEach((function(t){t.columns.forEach((function(n){e.isColVisible(t.toolIdx,n.colIdx)&&!e.possibleValues.some((function(e){return e.display_title===n.display_title}))&&e.possibleValues.push(n)}))}))}},{key:"renderAllSettings",value:function(){var e=this,t=this.state.plot===this.plotOptions.scoreBased?"Score-based Quantile Plots always show correct results offset by the score of wrong results. Any defined filters will still be applied.":"In addition to which results are selected here, any defined filters will still be applied.";return(0,j.jsxs)("div",{className:"settings-legend-container",children:[(0,j.jsx)("div",{className:"settings-container",children:(0,j.jsxs)("div",{className:"settings-border-container",children:[(0,j.jsxs)("div",{className:"settings-subcontainer flexible-width",children:[(0,j.jsxs)("div",{className:"setting flexible-width",children:[(0,j.jsx)("span",{className:"setting-label",children:"Selection:"}),(0,j.jsxs)("select",{className:"setting-select",name:"setting-Selection",value:this.state.selection,onChange:function(e){return O({selection:e.target.value})},children:[(0,j.jsx)("optgroup",{label:"Runsets",children:this.props.tools.map((function(t,n){var i=e.state.plot===e.plotOptions.scoreBased;return e.isToolVisible(t)?(0,j.jsx)("option",{value:"runset-"+n,name:"Runset "+n,disabled:i,className:i?"disabled":"",children:H(t)},"runset-"+n):null}))}),(0,j.jsx)("optgroup",{label:"Columns",children:this.renderColumns()})]})]}),ot("Plot",this.state.plot,(function(e){return O({plot:e.target.value})}),this.plotOptions)]}),(0,j.jsxs)("div",{className:"settings-subcontainer",children:[ot("Scaling",this.state.scaling,(function(e){return O({scaling:e.target.value})}),this.scalingOptions),ot("Results",this.state.results,(function(e){return O({results:e.target.value})}),this.resultsOptions,t,this.state.isResultSelectionDisabled),ct((function(){return O({selection:null,plot:null,scaling:null,results:null})}))]})]})}),(0,j.jsx)("div",{children:(0,j.jsx)(at.Ri,{colors:T,items:this.renderLegend(),onItemClick:function(t,n){var i;if(i=t.title.toString(),!(e.state.isInvisible.indexOf(i)<0))return e.setState({isInvisible:e.state.isInvisible.filter((function(e){return e!==i}))});e.setState({isInvisible:e.state.isInvisible.concat([i])})}})})]})}},{key:"render",value:function(){this.setPossibleValues(),this.renderAll();var e=this.props.isFlexible?at.wu:at.dp,t=this.props.isFlexible?{height:window.innerHeight-200}:{height:1e3,width:1500};return(0,j.jsxs)("div",{className:"quantilePlot",children:[!this.state.areAllColsHidden&&this.renderAllSettings(),(0,j.jsxs)(e,(0,c.Z)((0,c.Z)({margin:{left:90},yType:this.handleType()},t),{},{children:[(0,j.jsx)(at.pW,{}),(0,j.jsx)(at.xL,{}),(0,j.jsx)(at.Kc,{tickFormat:function(e){return e}}),(0,j.jsx)(at.B2,{tickFormat:function(e){return e}}),this.state.value?(0,j.jsx)(at.kW,{value:this.state.value}):null,this.renderLines()]})),this.state.areAllColsHidden?(0,j.jsx)("div",{className:"plot__noresults",children:"No columns to show!"}):0===this.lineCount&&(0,j.jsx)("div",{className:"plot__noresults",children:this.hasInvalidLog?"All results have undefined values":"No correct results"})]})}}]),n}(i.Component),mt=n(8282),vt=(n(8995),(0,mt.u7)(mt.ZP.Range)),It=500,bt=setTimeout((function(){}),It),Ct=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filter||{values:[]},l=r.values,a=r.min,o=r.max,c=r.type,u=r.number_of_significant_digits,d=0,h=0;if("measure"===c||"number"===c){var g=new ne(u).build();d=g(a),h=g(o);var f=l&&l[0];if(f&&f.includes(":")){var p=i.handleMinMaxValue(f,u);d=p.min,h=p.max}}return i.state={title:e.availableFilters&&e.availableFilters.length?e.availableFilters[0].title:"",values:[],idx:k(["availableFilters",0,"idx"],0,e),active:!0,selectedDistincts:[],sliderMin:d,sliderMax:h,numericMin:null,numericMax:null},i}return(0,l.Z)(n,[{key:"sendFilterUpdate",value:function(e){var t=this.props.filter,n=t.type,i=t.categories;i&&i.includes("empty ")&&!e.includes(xe)&&(e=e.concat(xe)),0===e.length&&"status"===n?this.props.onFilterUpdate({values:[W],title:this.state.title||this.props.title}):this.props.onFilterUpdate({values:e,title:this.state.title||this.props.title})}},{key:"componentDidUpdate",value:function(e,t){if(this.props.filter&&(!e.filter||e.filter.values!==this.props.filter.values)){var n=this.props.filter,i=n.values,r=n.number_of_significant_digits,s=(0,f.Z)(i,1)[0];if(s&&s.includes(":")){var l=this.handleMinMaxValue(s,r),a=l.min,o=l.max;this.setState({sliderMin:a,sliderMax:o,numericMin:a,numericMax:o})}}}},{key:"handleMinMaxValue",value:function(e,t){var n=new ne(t).build(),i=this.props.filter||{min:0,max:1/0},r=i.min,s=i.max,l=e.split(":"),a=(0,f.Z)(l,2),o=a[0],c=a[1];return{min:""!==o.trim()?o:n(r),max:""!==c.trim()?c:n(s)}}},{key:"handleNumberChange",value:function(e,t){var n,i,r={};if(r.sliderMin=Number(null!==(n=this.state.numericMin)&&void 0!==n?n:this.state.sliderMin),r.sliderMax=Number(null!==(i=this.state.numericMax)&&void 0!==i?i:this.state.sliderMax),r.sliderMin>r.sliderMax){var s=r.sliderMax;r.sliderMax=r.sliderMin,r.sliderMin=s}var l=r.sliderMin<=Number(e)?"":r.sliderMin,a=r.sliderMax>=Number(t)?"":r.sliderMax;r.values=["".concat(l,":").concat(a)],this.setState(r),this.sendFilterUpdate(r.values)}},{key:"render",value:function(){var e=this,t=this.props,n=t.filter,r=t.editable,s=t.availableFilters,l=i.createRef();return(0,j.jsxs)("div",{className:"filter-card",children:[function(t,i){return(0,j.jsx)("div",{className:"filter-card--header",children:i?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{style:{marginLeft:"12px"},children:"Add filter for: "}),(0,j.jsxs)("select",{className:"filter-selection",defaultValue:"-1",ref:l,onChange:function(t){var n=t.target.value;-1!==n&&(e.setState({idx:-1,active:!0}),l.current.value="-1",e.props.addFilter(n))},children:[(0,j.jsx)("option",{value:"-1",disabled:!0,children:"Column"}),s.map((function(e){var t=e.idx,n=e.display_title;return(0,j.jsx)("option",{value:t,children:n},t)}))]})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("h4",{className:"title",children:"".concat(n.display_title," ").concat(n.unit?"("+n.unit+")":"")}),(0,j.jsx)(y.G,{className:"delete-button",icon:st.$aW,onClick:function(){e.props.removeFilter()}})]})})}(this.props.name,r),function(t){if(!t)return null;var n,r=t.title,s=t.type,l=t.number_of_significant_digits,a=t.categories,o=t.statuses,c=t.values,d=void 0===c?[]:c,h=t.min,g=t.max,p=i.createRef();if("status"===s)n=(0,j.jsxs)(j.Fragment,{children:[e.props.filter.categories&&e.props.filter.categories.includes("empty ")&&(0,j.jsxs)("div",{className:"filter-card--body--empty-rows",children:["Empty rows"," ",(0,j.jsx)("input",{type:"checkbox",name:"empty-rows",ref:p,checked:d.includes("empty "),onChange:function(t){var n="empty ";if(t.target.checked){var i=[].concat((0,u.Z)(d),[n]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(n,d);e.setState({values:r}),e.sendFilterUpdate(r)}}})]}),"Category",(0,j.jsx)("ul",{className:"filter-card--body--list",children:a.filter((function(e){return"empty "!==e})).sort().map((function(t){var n=i.createRef();return(0,j.jsxs)("li",{children:[(0,j.jsx)("input",{type:"checkbox",name:"cat-".concat(t),checked:d.includes(t),ref:n,onChange:function(n){if(n.target.checked){var i=[].concat((0,u.Z)(d),[t]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(t,d);e.setState({values:r}),e.sendFilterUpdate(r)}}}),(0,j.jsx)("label",{htmlFor:"cat-".concat(t),onClick:function(){return n.current.click()},className:t,children:t})]},t)}))}),"Status",(0,j.jsx)("ul",{className:"filter-card--body--list",children:o.sort().map((function(t){var n=i.createRef();return(0,j.jsxs)("li",{children:[(0,j.jsx)("input",{type:"checkbox",name:"stat-".concat(t),ref:n,checked:d.includes(t),onChange:function(n){if(n.target.checked){var i=[].concat((0,u.Z)(d),[t]);e.setState({values:i}),e.sendFilterUpdate(i)}else{var r=S(t,d);e.setState({values:r}),e.sendFilterUpdate(r)}}}),(0,j.jsx)("label",{htmlFor:"stat-".concat(t),onClick:function(){return n.current.click()},children:t})]},t)}))})]});else if("text"===s){var m=(0,f.Z)(d,1)[0];n=(0,j.jsx)("input",{type:"text",name:"text-".concat(r),placeholder:"Search for value",value:m,onChange:function(t){var n=t.target.value;clearTimeout(bt),e.setState({values:[n]}),bt=setTimeout((function(){e.sendFilterUpdate([n])}),It)}})}else{var v=new ne(l).build();h=v(h),g=v(g);var I=le(h),b=le(g),C=I.length>b.length?I:b;n=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("div",{className:"filter-card--range-container",children:[(0,j.jsx)("b",{children:h}),(0,j.jsx)("b",{children:g})]}),(0,j.jsx)(vt,{min:Number(h),max:Number(g),step:C,defaultValue:[Number(h),Number(g)],value:[Number(e.state.sliderMin),Number(e.state.sliderMax)],onChange:function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1];e.setState({sliderMin:v(i),sliderMax:v(r)})},onAfterChange:function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1],s=v(i),l=v(r),a=s===h?"":s,o=l===g?"":l;e.setState({sliderMin:s,sliderMax:l,numericMin:i,numericMax:r,values:["".concat(a,":").concat(o)]}),e.sendFilterUpdate(["".concat(a,":").concat(o)])}}),(0,j.jsxs)("div",{className:"filter-card--range-input-fields",children:[(0,j.jsx)("label",{className:"range-input-fields--min",htmlFor:"inp-".concat(r,"-min"),children:"minimum"}),(0,j.jsx)("label",{className:"range-input-fields--max",htmlFor:"inp-".concat(r,"-max"),children:"maximum"}),(0,j.jsx)("input",{type:"number",name:"inp-".concat(r,"-min"),value:null!==e.state.numericMin?e.state.numericMin:e.state.sliderMin,lang:"en-US",step:C,onChange:function(t){var n=t.target.value;e.numericMinTimeout&&clearTimeout(e.numericMinTimeout),e.setState({numericMin:n}),e.numericMinTimeout=setTimeout((function(){return e.handleNumberChange(h,g)}),It)}}),(0,j.jsx)("input",{type:"number",name:"inp-".concat(r,"-max"),step:C,lang:"en-US",value:null!==e.state.numericMax?e.state.numericMax:e.state.sliderMax,onChange:function(t){var n=t.target.value;e.numericMaxTimeout&&clearTimeout(e.numericMaxTimeout),e.setState({numericMax:n}),e.numericMaxTimeout=setTimeout((function(){return e.handleNumberChange(h,g)}),It)}})]})]})}return(0,j.jsx)("div",{className:"filter-card--body",children:n})}(this.props.filter)]})}}]),n}(i.PureComponent),xt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filters,l=e.toolName,a=e.currentFilters;for(var o in a)r[o]=(0,c.Z)((0,c.Z)((0,c.Z)({},r[o]),a[o]),{},{touched:r[o].touched+1,filtering:!0});return i.props.resetFilterHook((function(){return i.resetAllFilters()})),i.state={filters:r,toolName:l,addingFilter:!1,numCards:0},i}return(0,l.Z)(n,[{key:"getActiveFilters",value:function(){return this.state.filters.filter((function(e){return e.filtering})).sort((function(e,t){return e.numCards-t.numCards}))}},{key:"setFilter",value:function(e,t){var n=e.title,i=e.values,r=e.filtering,s=void 0===r||r,l=this.state.filters;l[t].values=i,l[t].filtering=s,l[t].touched+=1,this.setState({filters:(0,u.Z)(l)}),this.props.updateFilters({title:n,values:i},t)}},{key:"addFilter",value:function(e){var t=this.state,n=t.filters,i=t.numCards,r={filtering:!0,numCards:i,touched:0};"status"===n[e].type&&(r.values=[].concat((0,u.Z)(n[e].categories),(0,u.Z)(n[e].statuses))),n[e]=(0,c.Z)((0,c.Z)({},n[e]),r),this.setState({filters:n,addingFilter:!1,numCards:i+1})}},{key:"resetAllFilters",value:function(){var e=this.state.filters.filter((function(e){return e.filtering})),t=this.state.filters.map((function(e){return(0,c.Z)((0,c.Z)({},e),{},{filtering:!1,values:[]})}));this.setState({filters:(0,u.Z)(t)});var n,i=(0,g.Z)(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;r.values&&this.props.updateFilters({title:r.display_title,values:[]},r.idx)}}catch(s){i.e(s)}finally{i.f()}}},{key:"removeFilter",value:function(e,t){var n=this.state.filters;n[e].filtering=!1,n[e].values=[],this.setState({filters:(0,u.Z)(n)}),this.props.updateFilters({title:t,values:[]},e)}},{key:"componentDidUpdate",value:function(e){var t=e.currentFilters,n=this.props.currentFilters;if(!be()(t,n)){var i=this.state.filters;for(var r in n)i[r]=(0,c.Z)((0,c.Z)((0,c.Z)({},i[r]),n[r]),{},{touched:i[r].touched+1,filtering:!0});i=i.map((function(e,t){var i=!(!n[t]&&0!==e.touched);return(0,c.Z)((0,c.Z)({},e),{},{filtering:i,values:i?e.values:[]})})),this.setState({filters:(0,u.Z)(i)})}}},{key:"render",value:function(){var e=this,t=this.getActiveFilters(),n=this.props.hiddenCols||[],i=this.state.filters.filter((function(e,t){return!e.filtering&&!n.includes(t)}));return(0,j.jsxs)("div",{className:"filterBox--container",children:[(0,j.jsx)("h4",{className:"section-header",children:this.state.toolName}),t.length>0&&t.map((function(t,n){return(0,j.jsx)(Ct,{onFilterUpdate:function(n){return e.setFilter(n,t.idx)},title:t.display_title,removeFilter:function(){return e.removeFilter(t.idx,t.display_title)},filter:t},"".concat(e.props.toolName,"-").concat(t.display_title,"-").concat(t.numCards))})),i.length&&(0,j.jsx)(Ct,{availableFilters:i,editable:"true",style:{marginBottom:20},addFilter:function(t){return e.addFilter(t)},onFilterUpdate:function(t){return e.setFilter(t)}})||void 0,(0,j.jsx)("br",{})]})}}]),n}(i.PureComponent),yt=setTimeout((function(){}),500),Zt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).state={values:i.extractFilters()},e.resetFilterHook((function(){return i.resetIdFilters()})),i}return(0,l.Z)(n,[{key:"resetIdFilters",value:function(){this.setState({values:{}}),this.sendFilterUpdate({})}},{key:"sendFilterUpdate",value:function(e){this.props.updateFilters(e)}},{key:"extractFilters",value:function(){for(var e=0,t={},n=0,i=Object.keys(this.props.ids);n<i.length;n++){t[i[n]]=k(["filters",e++],"",this.props)}return t}},{key:"componentDidUpdate",value:function(e){if(!be()(this.props.filters,e.filters)){var t=this.extractFilters();this.setState({values:t})}}},{key:"render",value:function(){var e=this,t=this.props.ids||{};return(0,j.jsx)("div",{className:"filterBox--container",children:(0,j.jsxs)("div",{className:"filter-card",children:[(0,j.jsx)("div",{className:"filter-card--header",children:(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("h4",{className:"title",children:"Task filter"})})}),function(){var n=Object.entries(t).map((function(t){var n=(0,f.Z)(t,2),i=n[0],r=n[1],s=e.state.values[i]||"",l="text-task-".concat(i);return(0,j.jsxs)("div",{className:"task-id-filters",children:[(0,j.jsx)("label",{htmlFor:l,children:i}),(0,j.jsx)("br",{}),(0,j.jsx)("input",{type:"text",name:l,placeholder:r,value:s,onChange:function(t){var n=t.target.value;clearTimeout(yt);var r={values:(0,c.Z)((0,c.Z)({},e.state.values),{},(0,p.Z)({},i,n))};yt=setTimeout((function(){e.sendFilterUpdate((0,c.Z)((0,c.Z)({},e.state.values),{},(0,p.Z)({},i,n)))}),500),e.setState(r)}})]},l)}));return(0,j.jsx)("div",{className:"filter-card--body",children:n})}()]})})}}]),n}(i.PureComponent),jt=n(6123),At=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),i=t.call(this,e);var r=e.filtered;return i.listeners=[],i.resetFilterHook=function(e){return i.listeners.push(e)},i.state={filters:i.createFiltersFromReactTableStructure(r),idFilters:i.retrieveIdFilters(r)},i}return(0,l.Z)(n,[{key:"componentDidUpdate",value:function(e){be()(e.filtered,this.props.filtered)||this.setState({filters:this.createFiltersFromReactTableStructure(this.props.filtered),idFilters:this.retrieveIdFilters(this.props.filtered)})}},{key:"resetAllFilters",value:function(){this.resetAllContainers(),this.resetIdFilters()}},{key:"resetIdFilters",value:function(){this.setState({idFilters:null}),this.sendFilters({filter:this.state.filters,idFilter:null})}},{key:"resetAllContainers",value:function(){this.listeners.forEach((function(e){return e()}))}},{key:"retrieveIdFilters",value:function(e){var t=e.find((function(e){return"id"===e.id}));return t?t.values:[]}},{key:"createFiltersFromReactTableStructure",value:function(e){if(!e||!e.length)return[];var t,n=[],i=(0,g.Z)(e.flat());try{for(i.s();!(t=i.n()).done;){var r=t.value,s=r.id,l=r.value;if("id"!==s){var a=z(s),o=a.tool,c=a.name,u=a.column,d=n[o]||[];d[u]?d[u].values.push(l):d[u]={title:c,values:[l]},n[o]=d}}}catch(h){i.e(h)}finally{i.f()}return n}},{key:"flattenFilterStructure",value:function(){return Object.values(Object.values(this.state.filters))}},{key:"sendFilters",value:function(e){var t=e.filter,n=e.idFilter,i=(0,u.Z)(t.map((function(e,t){return null===e||void 0===e?null:e.map((function(e,n){return e.values.map((function(i){return{id:"".concat(t,"_").concat(e.title,"_").concat(n),value:i}}))}))})).flat(3).filter((function(e){return null!==e&&void 0!==e})));n&&n.length>0&&i.push({id:"id",values:n}),this.props.addTypeToFilter(i),this.props.setFilter(i,!0)}},{key:"updateFilters",value:function(e,t,n){var i=(0,u.Z)(this.state.filters),r=this.state.idFilters;i[e]=i[e]||[],i[e][t]=n,this.setState({filters:i}),this.sendFilters({filter:i,idFilter:r})}},{key:"updateIdFilters",value:function(e){var t=Object.keys(this.props.ids).map((function(t){return e[t]})),n=t.some((function(e){return""!==e&&!B(e)}))?t:void 0;this.setState({idFilters:n}),this.sendFilters({filter:this.state.filters,idFilter:n})}},{key:"render",value:function(){var e=this,t=this.props.hiddenCols||[];return(0,j.jsxs)("div",{className:jt("filterBox",{"filterBox--hidden":!this.props.visible}),children:[(0,j.jsxs)("div",{className:"filterBox--header",children:[(0,j.jsx)(y.G,{icon:st.YIN,className:"filterBox--header--icon",onClick:this.props.hide}),this.props.headerComponent,(0,j.jsx)(y.G,{icon:st.$aW,className:"filterBox--header--reset-icon",onClick:function(){return e.resetAllFilters()}})]}),(0,j.jsxs)("div",{className:"filter-card--container",children:[(0,j.jsx)(Zt,{ids:this.props.ids,updateFilters:function(t){return e.updateIdFilters(t)},resetFilterHook:this.resetFilterHook,filters:this.state.idFilters}),this.props.filterable.map((function(n,i){return(0,j.jsx)(xt,{resetFilterHook:e.resetFilterHook,updateFilters:function(t,n){return e.updateFilters(i,n,t)},currentFilters:e.state.filters[i]||[],toolName:n.name,filters:n.columns,hiddenCols:t[i]},"filtercontainer-".concat(i))}))]})]})}}]),n}(i.PureComponent),Ft=n(6123),Wt=n.n(Ft),Nt=n(9737),Bt=n.n(Nt),Gt=n(7177),wt=n.n(Gt),Yt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,e)).prepareTextForRendering=function(){if(""!==i.props.yamlText){var e=wt().parseDocument(i.props.yamlText,{prettyErrors:!0}),t=e.get("input_files");t&&(Array.isArray(t.items)?t.items.forEach((function(e){e.value=i.encloseFileInTags(e.value)})):e.set("input_files",i.encloseFileInTags(t)));var n=e.get("properties");n&&Array.isArray(n.items)&&n.items.forEach((function(e){Array.isArray(e.items)&&e.items.forEach((function(e){"property_file"===e.key.value&&(e.value.value=i.encloseFileInTags(e.value.value))}))})),i.setState({content:e})}},i.encloseFileInTags=function(e){return i.state.splitterTag+i.state.fileTag+e+i.state.fileTag+i.state.splitterTag},i.loadFileInViewer=function(e,t){e.preventDefault(),i.props.loadNewFile(t)},i.state={splitterTag:"<splitter#9d81y23>",fileTag:"<file#092nt43>",content:i.props.yamlText},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.prepareTextForRendering()}},{key:"componentDidUpdate",value:function(e){e.yamlText!==this.props.yamlText&&this.prepareTextForRendering()}},{key:"render",value:function(){var e=this;if(this.state.content.errors&&this.state.content.errors.length>0)return(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)("div",{className:"link-overlay-text",children:["Errors parsing YAML file:",(0,j.jsx)("ul",{children:this.state.content.errors.map((function(e,t){return(0,j.jsx)("li",{children:(0,j.jsx)("pre",{children:e.message})},t)}))}),(0,j.jsx)("pre",{children:this.props.yamlText}),";"]})});wt().scalarOptions.str.fold={lineWidth:0};var t=this.state.content.toString().split(this.state.splitterTag).map((function(t){return t.match("^".concat(e.state.fileTag,"(?:.)+").concat(e.state.fileTag,"$"))?(t=t.replace(new RegExp(e.state.fileTag,"g"),""),(0,j.jsx)("a",{onClick:function(n){return e.loadFileInViewer(n,t)},className:"link-overlay-file-link",href:e.props.createHref(t),children:t},t)):t}));return(0,j.jsx)("pre",{className:"link-overlay-text",children:t})}}]),n}(i.Component),St=n(1842);St.jQ({useWebWorkers:!1});var Vt={},kt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;(0,s.Z)(this,n),(i=t.call(this,e)).loadNewFile=function(e){var t=i.createFileUrl(e);i.setState({isYAML:i.isYAMLFile(e),isSecondLevel:!0,content:"loading file: ".concat(t)}),i.loadFile(t)},i.loadOriginalFile=function(){i.setState({isYAML:i.isYAMLFile(i.props.link),isSecondLevel:!1,content:"loading file: ".concat(i.props.link),error:void 0}),i.loadFile(i.props.link)},i.loadOriginalFileIfEnter=function(e){"Enter"===e.key&&i.loadOriginalFile()},i.createFileUrl=function(e){return Bt().join(i.props.link,"../"+e)},i.loadFile=i.loadFileXMLHttpRequest,i.loadFileFromZip=function(e){var t=decodeURIComponent(e),n=t.lastIndexOf("/")>t.lastIndexOf("\\")?"/":"\\",r=t.lastIndexOf(n),s=t.substring(0,r)+".zip",l=t.split(n),a="".concat(l[l.length-2],"/").concat(l[l.length-1]);s in Vt?i.loadFileFromZipEntries(Vt[s],a,s):i.readZipArchive(s,a)},i.readZipArchive=function(e,t){new St.Mr(new St.R(e)).getEntries().then((function(n){i.handleZipEntries(n,t,e)}),(function(n){i.readZipArchiveNoHttpRange(e,t)}))},i.readZipArchiveNoHttpRange=function(e,t){new St.Mr(new St.pE(e)).getEntries().then((function(n){i.handleZipEntries(n,t,e)}),(function(n){i.readZipArchiveManually(e,t)}))},i.readZipArchiveManually=function(e,t){try{var n=new XMLHttpRequest;n.responseType="arraybuffer",n.addEventListener("load",(function(){var r=new Uint8Array(n.response);new St.Mr(new St.I8(r)).getEntries().then((function(n){return i.handleZipEntries(n,t,e)}),i.setError)}),!1),n.addEventListener("error",i.setError,!1),n.open("GET",e),n.send()}catch(r){i.setError('HTTP request for the file "'.concat(t,'" failed'),r)}},i.handleZipEntries=function(e,t,n){Vt[n]=e,i.loadFileFromZipEntries(e,t,n)},i.loadFileFromZipEntries=function(e,t,n){var r=e.find((function(e){return e.filename===t}));r?r.getData(new St.Ek).then((function(e){i.setState({content:e})})):i.setError('Could not find the file "'.concat(t,'" in "').concat(n,'"'))},i.setError=function(e,t){var n=t&&"string"===typeof t?t:e;i.setState({error:"".concat(n)})},i.handlePopState=function(){window.history.back(),window.addEventListener("click",i.props.close,!1)},i.renderHelpMessageForLocalLogs=function(){if("file:"!==window.location.protocol)return null;var e=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("p",{children:["If you are using ",(0,j.jsx)("strong",{children:"Chrome"})," or a Chrome-based browser, try launching it with the command-line option"," ",(0,j.jsx)("strong",{children:(0,j.jsx)("code",{children:"--allow-file-access-from-files"})}),"."]}),(0,j.jsxs)("p",{children:["If you are using ",(0,j.jsx)("strong",{children:"Firefox"}),", please open the extended settings by entering ",(0,j.jsx)("code",{children:"about:config"})," in the URL bar, search for"," ",(0,j.jsx)("strong",{children:(0,j.jsx)("code",{children:"security.fileuri.strict_origin_policy"})})," ","and set this option to ",(0,j.jsx)("code",{children:"false"})," by double-clicking on it and restart your browser (",(0,j.jsx)("a",{href:"https://kb.mozillazine.org/Security.fileuri.strict_origin_policy",children:"more details"}),")."]}),(0,j.jsx)("p",{children:(0,j.jsx)("strong",{children:"Note that these settings will allow local web pages to access all of your files, so make sure to not open any untrusted local HTML documents."})})]}),t=new URL(i.state.currentFile,document.baseURI),n=function(e,t){var n=e.pathname.split("/"),i=t.pathname.split("/"),r=n.findIndex((function(e,t){return e!==i[t]}));return[n.slice(0,r).join("/"),n.slice(r).join("/")]}(window.location,t),r=(0,f.Z)(n,2),s=r[0],l=r[1];if(":"===window.location.pathname[2]){if(!s)return(0,j.jsxs)(j.Fragment,{children:[e,(0,j.jsx)("p",{children:"Alternatively, you can start a local web server serving the directories with the tables and result files, but for doing so you first need to make sure that table and result files are on the same partition."})]});"/"===s[0]&&(s=s.substring(1))}var a="127.0.0.1",o=8e3,c="http://".concat(a,":").concat(o,"/").concat(l).concat(window.location.hash);return(0,j.jsxs)(j.Fragment,{children:[e,(0,j.jsxs)("p",{children:["Alternatively, you can start a local web server serving the directories with the tables and result files.",(0,j.jsx)("br",{}),"To do so, execute the following command and then open"," ",(0,j.jsx)("a",{href:c,children:"this link"})," (adjust the port number ",o," if it is already used on your system):",(0,j.jsx)("br",{}),(0,j.jsx)(F,{children:(0,j.jsxs)("code",{children:["python3 -m http.server -b ",a," ",o," -d ",s||"/"]})})]})]})};var r=!!e.link&&i.isYAMLFile(e.link);return i.state={isYAML:r,content:"loading file: ".concat(e.link),currentFile:e.link,isSecondLevel:!1},i}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.loadFile(this.props.link),window.history.pushState({},"",""),window.addEventListener("popstate",this.props.close,!1)}},{key:"componentDidUpdate",value:function(){var e=document.getElementById("modal-container");e&&e.focus()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("popstate",this.props.close,!1),window.removeEventListener("click",this.props.close,!1)}},{key:"isYAMLFile",value:function(e){return e.endsWith(".yml")}},{key:"loadFileFetch",value:function(){var e=(0,Ne.Z)((0,We.Z)().mark((function e(t){var n,i;return(0,We.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=19;break}return this.setState({currentFile:t}),e.prev=2,e.next=5,fetch(t);case 5:if(n=e.sent,!Y(n.status)){e.next=13;break}return e.next=9,n.text();case 9:i=e.sent,this.setState({content:i}),e.next=14;break;case 13:throw Error("Received response status ".concat(n.status));case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(2),this.loadFileFromZip(t);case 19:case"end":return e.stop()}}),e,this,[[2,16]])})));return function(t){return e.apply(this,arguments)}}()},{key:"loadFileXMLHttpRequest",value:function(e){var t=this;if(e)try{this.setState({currentFile:e});var n=new XMLHttpRequest;n.addEventListener("load",(function(){if(Y(n.status)){var i=n.responseText;t.setState({content:i})}else t.loadFileFromZip(e)})),n.addEventListener("error",(function(){return t.loadFileFromZip(e)})),n.open("GET",e),n.send()}catch(i){this.loadFileFromZip(e)}}},{key:"render",value:function(){var e=this;return rt().setAppElement(document.getElementById("root")),(0,j.jsxs)(rt(),{id:"modal-container",ariaHideApp:!1,className:Wt()("overlay",{"second-level":this.state.isSecondLevel}),isOpen:!0,onRequestClose:function(){return e.handlePopState()},children:[(0,j.jsxs)("div",{className:"link-overlay-header-container",children:[(0,j.jsx)(y.G,{icon:st.YIN,onClick:function(){return e.handlePopState()},className:"closing"}),this.state.isSecondLevel?(0,j.jsxs)("span",{className:"link-overlay-back-button",tabIndex:"0",role:"button",onClick:this.loadOriginalFile,onKeyDown:this.loadOriginalFileIfEnter,children:[(0,j.jsx)(y.G,{className:"link-overlay-back-icon",icon:st.acZ}),"Back to task definition"]}):""]}),this.state.error?(0,j.jsxs)("div",{className:"link-overlay-text",children:[(0,j.jsxs)("p",{style:{marginTop:"0"},children:["Error while loading content (",this.state.error,")."]}),(0,j.jsxs)("p",{children:["This could be a problem of the"," ",(0,j.jsx)("a",{href:"https://en.wikipedia.org/wiki/Same-origin_policy",children:"same-origin policy"})," ","of your browser."]}),this.renderHelpMessageForLocalLogs(),(0,j.jsxs)("p",{children:["You can also try to download the file:"," ",(0,j.jsx)("a",{href:this.state.currentFile,children:this.state.currentFile})]})]}):this.state.isYAML?(0,j.jsx)(Yt,{yamlText:this.state.content,createHref:this.createFileUrl,loadNewFile:this.loadNewFile}):(0,j.jsx)("pre",{className:"link-overlay-text",children:this.state.content})]})}}]),n}(i.Component),Rt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))).render=function(){return(0,j.jsxs)("button",{className:e.props.className||"reset",onClick:e.props.onClick,disabled:B(e.props.enabled)?!e.props.isFiltered:!e.props.enabled,children:[(0,j.jsxs)("span",{children:["Showing ",(0,j.jsx)("span",{className:"highlight",children:e.props.filteredCount})," of"," "]}),(e.props.className||"").includes("tooltip")&&(0,j.jsx)("span",{className:"tooltiptext tooltip-bottom",children:"Open filter menu"}),e.props.totalCount," tasks",!(e.props.className||"").includes("header")&&(0,j.jsx)(y.G,{icon:st.G_j,className:"filter-icon"})]})},e}return(0,l.Z)(n)}(i.Component);n(9e3);var Ht=[{key:"summary",title:"Summary",path:"/"},{key:"table",title:"Table",path:"/table"},{key:"quantile",title:"Quantile Plot",path:"/quantile"},{key:"scatter",title:"Scatter Plot",path:"/scatter"},{key:"info",title:"Info",path:"/info",icon:(0,j.jsx)(y.G,{icon:st.Fuz})}],Tt=function(){return(Ht.find((function(e){return e.path===document.location.hash.split("?")[0].substr(1)}))||{key:"summary"}).key},Xt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var r;(0,s.Z)(this,n),(r=t.call(this,e)).addTypeToFilter=function(e){return e.filter((function(e){return"id"!==e.id})).forEach((function(e){var t=e.id.split("_"),n=r.state.tools[t[0]].columns[t.at(-1)].type;e.type=n}))},r.getFiltersFromUrl=function(){var e=r.filterUrlRetriever()||[];return r.addTypeToFilter(e),be()(r.lastFiltered,e)?null:e},r.updateFiltersFromUrl=function(){var e=r.getFiltersFromUrl();e&&(r.filteredData=r.runFilter(e),r.setState({tableData:r.filteredData,filtered:e}),r.lastFiltered=e)},r.updateState=function(){return r.setState({active:Tt(),hiddenCols:ie(r.state.tools)})},r.toggleSelectColumns=function(e){e.stopPropagation(),r.setState((function(e){return{showSelectColumns:!e.showSelectColumns}}))},r.toggleLinkOverlay=function(e,t){e.preventDefault(),r.setState((function(e){return{showLinkOverlay:!e.showLinkOverlay,link:t}}))},r.setFilter=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.filteredData=t?e:e.map((function(e){return e._original}))},r.filterPlotData=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r.lastImmediate&&clearImmediate(r.lastImmediate),r.lastImmediate=setImmediate((function(){r.filterUrlSetter(e,r.routerRef.current.history),r.lastFiltered=e.filter((function(e){return e.values&&e.values.length>0||e.value}))})),t&&r.setFilter(r.runFilter(e),!0),r.setState({tableData:r.filteredData,filtered:e})},r.resetFilters=function(){r.setState({tableData:r.originalTable,filtered:[]})},r.findAllValuesOfColumn=function(e,t){return r.originalTools.map((function(n,i){return n.columns.map((function(s,l){if(e(n,s)){var a=r.originalTable.map((function(e){return t(e.results[i],e.results[i].values[l])})).filter(Boolean);return(0,u.Z)(new Set(a)).sort()}}))}))},r.getRowName=function(e){return e.id.filter((function(e){return e})).join(" | ")},r.getRelevantUrlParams=function(){return(document.location.href.split("?")[1]||"").split("&").filter((function(e){return e.startsWith("hidden")||e.startsWith("filter")})).join("&")},r.switchToQuantile=function(e){r.setState({quantilePreSelection:e});var t=r.getRelevantUrlParams();document.location.hash="#/quantile"+(t?"?"+t:"")};var l,a=function(e){var t=e.head,n=e.tools,i=e.rows,r=e.stats,s=e.props,l=e.initial;return{tableHeader:t,taskIdNames:t.task_id_names,tools:n.map((function(e,t){return(0,c.Z)((0,c.Z)({},e),{},{toolIdx:t,columns:e.columns.map((function(e,t){return(0,c.Z)((0,c.Z)({},e),{},{colIdx:t})})),scoreBased:i.every((function(e){return void 0!==e.results[t].score}))})})),columns:n.map((function(e){return e.columns.map((function(e){return e.title}))})),tableData:i,stats:r,properties:s,initial:l}}(e.data),o=a.tableHeader,d=a.taskIdNames,h=a.tools,f=a.columns,p=a.tableData,m=a.stats,v=a.initial;v&&!document.location.href.includes("#")&&(l=v,document.location.href=encodeURI("".concat(document.location.href,"#").concat(l)));var b=function(e){var t=e.tools,n=e.rows;return t.map((function(e,t){var i,r=e.tool,s=e.date,l=e.niceName,a="".concat(r," ").concat(s," ").concat(l),o=e.columns.map((function(e,t){if(e)return"status"===e.type?(i=t,(0,c.Z)((0,c.Z)({},e),{},{categories:{},statuses:{},idx:t})):"text"===e.type?(0,c.Z)((0,c.Z)({},e),{},{distincts:{},idx:t}):(0,c.Z)((0,c.Z)({},e),{},{min:1/0,max:-1/0,idx:t})}));B(i)||(o[i]=(0,c.Z)((0,c.Z)({},o[i]),{},{categories:{},statuses:{}}));var u,d=(0,g.Z)(n);try{for(d.s();!(u=d.n()).done;){var h=u.value.results[t];for(var f in B(i)||(o[i].categories["".concat(h.category," ")]=!0),h.values){var p=h.values[f].raw,m=o[f];m&&!B(p)&&("status"===m.type?m.statuses[p]=!0:"text"===m.type?m.distincts[p]=!0:(m.min=Math.min(m.min,Number(p)),m.max=Math.max(m.max,Number(p))))}}}catch(v){d.e(v)}finally{d.f()}return{name:a,columns:o.map((function(e){var t=e.distincts,n=e.categories,i=e.statuses,r=(0,I.Z)(e,Ce);return t?(0,c.Z)((0,c.Z)({},r),{},{distincts:Object.keys(t)}):n?(0,c.Z)((0,c.Z)({},r),{},{categories:Object.keys(n),statuses:Object.keys(i)}):r}))}}))}(r.props.data);r.originalTable=p,r.originalTools=h,r.taskIdNames=d,r.columns=f,r.stats=m,r.tableHeader=o,r.filteredData=[],r.routerRef=i.createRef(),r.state={tools:h,tableData:p,filterable:b,showSelectColumns:!1,showLinkOverlay:!1,filtered:[],filterBoxVisible:!1,active:Tt(),quantilePreSelection:h[0].columns[1],hiddenCols:ie(h)},r.statusValues=r.findAllValuesOfColumn((function(e,t){return"status"===t.type}),(function(e,t){return G(t)})),r.originalTools.forEach((function(e,t){return e.columns.filter((function(e){return"status"===e.type})).forEach((function(e,n){r.originalTable.some((function(e){return"empty"===e.results[t].category}))&&r.statusValues[t][n].push(xe)}))})),r.categoryValues=r.findAllValuesOfColumn((function(e,t){return"status"===t.type}),(function(e,t){return e.category}));var C=r.categoryValues.map((function(e){return e&&e.map((function(e){return e&&e.map((function(e){return"".concat(e," ")}))}))}));r.filterUrlSetter=$(r.statusValues,C),r.filterUrlRetriever=function(e,t){var n=q({categoryValues:t,statusValues:e});return function(e){var t=X(e);return t.filter?n(t.filter):null}}(r.statusValues,C);var x=r.getFiltersFromUrl();return x&&(r.filteredData=r.runFilter(x),r.lastFiltered=x,r.state=(0,c.Z)((0,c.Z)({},r.state),{},{tableData:r.filteredData,filtered:x})),r}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.removeHistoryListener=this.routerRef.current.history.listen((function(t,n){e.updateState(),"POP"===n&&e.updateFiltersFromUrl()}))}},{key:"componentWillUnmount",value:function(){this.removeHistoryListener()}},{key:"runFilter",value:function(e){var t=e.reduce((function(e,t){var n=t.id,i=t.value,r=t.type,s=t.values;if(B(i)&&B(s)||"string"===typeof i&&"all"===i.trim())return e;if("id"===n)return e.id={value:i,values:s},e;var l,a=z(n),o=a.tool,c=a.column;if("diff"===i)return e.diff||(e.diff=[]),e.diff.push({col:c}),e;if(e[o]||(e[o]={}),N({type:r})&&i.includes(":")){var u=i.split(":"),d=(0,f.Z)(u,2),h=d[0],g=d[1];l={min:h=""===h?-1/0:Number(h),max:g=""===g?1/0:Number(g)}}else l=" "===i[i.length-1]?{category:i.substr(0,i.length-1)}:"status"===r?{status:i}:{value:i};return e[o][c]||(e[o][c]=[]),e[o][c].push(l),e}),{});return ye(t)(this.originalTable)}},{key:"render",value:function(){var e,t,n=this,i=function(e){var t=e.className,i=e.isReset,r=void 0!==i&&i,s=e.onClick,l=e.enabled;return(0,j.jsx)(Rt,{className:t,showFilterText:r,onClick:s,enabled:l,isFiltered:!!n.state.filtered.length,resetFilters:n.resetFilters,filteredCount:n.state.tableData.length,totalCount:n.originalTable.length})},r=this.getRelevantUrlParams();return(0,j.jsx)(d.UT,{ref:this.routerRef,children:(0,j.jsxs)("div",{className:"overview",children:[(0,j.jsxs)("div",{className:"overview-container",children:[(0,j.jsx)(At,{headerComponent:i({className:"filterBox--header--reset",isReset:!0,enabled:!1}),tableHeader:this.tableHeader,tools:this.state.tools,selectColumn:this.toggleSelectColumns,filterable:this.state.filterable,setFilter:this.filterPlotData,resetFilters:this.resetFilters,filtered:this.state.filtered,visible:this.state.filterBoxVisible,hiddenCols:this.state.hiddenCols,hide:function(){n.setState({filterBoxVisible:!1})},ids:(e=this.originalTable,t=this.taskIdNames,k(["0","id"],[],e).reduce((function(e,n,i){return(0,c.Z)((0,c.Z)({},e),{},(0,p.Z)({},t[i],n))}),{})),addTypeToFilter:this.addTypeToFilter}),(0,j.jsxs)("div",{className:"menu",children:[Ht.map((function(e){var t=e.key,i=e.title,s=e.path,l=e.icon;return(0,j.jsxs)(d.rU,{className:Wt()("menu-item",{selected:n.state.active===t}),to:s+(r?"?"+r:""),onClick:function(){return n.setState((function(){return{active:t}}))},children:[i," ",l||""]},s)})),i({className:"reset tooltip",enabled:!0,onClick:function(){n.setState({filterBoxVisible:!0})}})]}),(0,j.jsx)("div",{className:"route-container",children:(0,j.jsxs)(h.rs,{children:[(0,j.jsx)(h.AW,{exact:!0,path:"/",children:(0,j.jsx)($e,{tools:this.state.tools,tableHeader:this.tableHeader,version:this.props.data.version,selectColumn:this.toggleSelectColumns,stats:this.stats,onStatsReady:this.props.onStatsReady,switchToQuantile:this.switchToQuantile,tableData:this.state.tableData,hiddenCols:this.state.hiddenCols,filtered:this.state.filtered.length>0})}),(0,j.jsx)(h.AW,{path:"/table",children:(0,j.jsx)(Fe,{tableData:this.state.tableData,tools:this.state.tools,selectColumn:this.toggleSelectColumns,filterPlotData:this.filterPlotData,filters:this.state.filtered,toggleLinkOverlay:this.toggleLinkOverlay,statusValues:this.statusValues,categoryValues:this.categoryValues,hiddenCols:this.state.hiddenCols,addTypeToFilter:this.addTypeToFilter})}),(0,j.jsx)(h.AW,{path:"/quantile",children:(0,j.jsx)(pt,{table:this.state.tableData,tools:this.state.tools,preSelection:this.state.quantilePreSelection,getRowName:this.getRowName,hiddenCols:this.state.hiddenCols,isFlexible:this.props.renderPlotsFlexible})}),(0,j.jsx)(h.AW,{path:"/scatter",children:(0,j.jsx)(ft,{table:this.state.tableData,columns:this.columns,tools:this.state.tools,getRowName:this.getRowName,hiddenCols:this.state.hiddenCols,isFlexible:this.props.renderPlotsFlexible})}),(0,j.jsx)(h.AW,{path:"/info",children:(0,j.jsx)(nt,{version:this.props.data.version,selectColumn:this.toggleSelectColumns})})]})})]}),(0,j.jsxs)("div",{children:[this.state.showSelectColumns&&(0,j.jsx)(lt,{close:this.toggleSelectColumns,currColumns:this.columns,tableHeader:this.tableHeader,tools:this.state.tools,hiddenCols:this.state.hiddenCols,history:this.routerRef.current.history}),this.state.showLinkOverlay&&(0,j.jsx)(kt,{close:this.toggleLinkOverlay,link:this.state.link,toggleLinkOverlay:this.toggleLinkOverlay})]})]})})}}]),n}(i.Component);var Kt=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(){return(0,s.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n,[{key:"render",value:function(){return(0,j.jsx)("div",{className:"App",children:(0,j.jsx)("main",{children:(0,j.jsx)(Xt,{data:window.data,renderPlotsFlexible:!0,onStatsReady:this.props.onStatsReady})})})}}]),n}(i.Component),Lt=Kt;r.render((0,j.jsx)(Lt,{}),document.getElementById("root")),document.getElementById("msg-container").remove()},4654:function(){}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,function(){var e=[];n.O=function(t,i,r,s){if(!i){var l=1/0;for(u=0;u<e.length;u++){i=e[u][0],r=e[u][1],s=e[u][2];for(var a=!0,o=0;o<i.length;o++)(!1&s||l>=s)&&Object.keys(n.O).every((function(e){return n.O[e](i[o])}))?i.splice(o--,1):(a=!1,s<l&&(l=s));if(a){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[i,r,s]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={179:0};n.O.j=function(t){return 0===e[t]};var t=function(t,i){var r,s,l=i[0],a=i[1],o=i[2],c=0;if(l.some((function(t){return 0!==e[t]}))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(o)var u=o(n)}for(t&&t(i);c<l.length;c++)s=l[c],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},i=self.webpackChunkbenchexec_react_table=self.webpackChunkbenchexec_react_table||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var i=n.O(void 0,[216],(function(){return n(7415)}));i=n.O(i)}();
\ No newline at end of file
diff --git a/benchexec/tablegenerator/react-table/src/App.scss b/benchexec/tablegenerator/react-table/src/App.scss
index 485a7e0e8..8653756ce 100644
--- a/benchexec/tablegenerator/react-table/src/App.scss
+++ b/benchexec/tablegenerator/react-table/src/App.scss
@@ -841,6 +841,9 @@ $content-height: calc(100vh - 43px); // height of .menu sums up to 43px
   }
 }
 
+//------------------plot------------------
+$plot-select-button-height: 25px;
+
 .quantilePlot {
   margin: 20px;
 
@@ -977,6 +980,7 @@ $content-height: calc(100vh - 43px); // height of .menu sums up to 43px
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
+  align-items: center;
 }
 
 .setting {
@@ -1000,12 +1004,17 @@ $content-height: calc(100vh - 43px); // height of .menu sums up to 43px
     margin: 0.4em 1em;
     margin-left: 0;
     border: 1px solid #c3c3c3;
-    height: 25px;
+    height: $plot-select-button-height;
     padding-left: 10px;
     border-radius: 3px;
     cursor: pointer;
   }
 
+  &-button {
+    height: $plot-select-button-height;
+    margin: 0.4em 1em;
+  }
+
   &.disabled,
   .disabled {
     color: rgba(0, 0, 0, 0.4);
diff --git a/benchexec/tablegenerator/react-table/src/components/QuantilePlot.js b/benchexec/tablegenerator/react-table/src/components/QuantilePlot.js
index 855ba00b0..b91394c18 100644
--- a/benchexec/tablegenerator/react-table/src/components/QuantilePlot.js
+++ b/benchexec/tablegenerator/react-table/src/components/QuantilePlot.js
@@ -25,7 +25,7 @@ import {
   getURLParameters,
   getFirstVisibles,
 } from "../utils/utils";
-import { renderSetting } from "../utils/plot";
+import { renderResetButton, renderSetting } from "../utils/plot";
 
 export default class QuantilePlot extends React.Component {
   constructor(props) {
@@ -565,6 +565,14 @@ export default class QuantilePlot extends React.Component {
                 resultsTooltip,
                 this.state.isResultSelectionDisabled,
               )}
+              {renderResetButton(() =>
+                setURLParameter({
+                  selection: null,
+                  plot: null,
+                  scaling: null,
+                  results: null,
+                }),
+              )}
             </div>
           </div>
         </div>
diff --git a/benchexec/tablegenerator/react-table/src/components/ScatterPlot.js b/benchexec/tablegenerator/react-table/src/components/ScatterPlot.js
index 6fb6a7f59..e4af2276e 100644
--- a/benchexec/tablegenerator/react-table/src/components/ScatterPlot.js
+++ b/benchexec/tablegenerator/react-table/src/components/ScatterPlot.js
@@ -32,6 +32,7 @@ import {
   renderOptgroupsSetting,
   getConfidenceIntervalBorders,
   getDataPointsOfRegression,
+  renderResetButton,
 } from "../utils/plot";
 import calcRegression from "regression";
 import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
@@ -372,6 +373,18 @@ export default class ScatterPlot extends React.Component {
                 ? this.regressionData.text
                 : undefined,
             )}
+            {renderResetButton(() =>
+              setURLParameter({
+                columnX: null,
+                columnY: null,
+                line: null,
+                regression: null,
+                results: null,
+                scaling: null,
+                toolX: null,
+                toolY: null,
+              }),
+            )}
           </div>
         </div>
       </div>
diff --git a/benchexec/tablegenerator/react-table/src/utils/plot.js b/benchexec/tablegenerator/react-table/src/utils/plot.js
index 83ccc9aba..72daa95fd 100644
--- a/benchexec/tablegenerator/react-table/src/utils/plot.js
+++ b/benchexec/tablegenerator/react-table/src/utils/plot.js
@@ -54,6 +54,19 @@ const renderSetting = (
   );
 };
 
+/**
+ * Renders a button to reset all modifications applied to plot.
+ *
+ * @param {function} resetHandler handler function triggered by button click to reset plot modifications
+ **/
+const renderResetButton = (resetHandler) => {
+  return (
+    <button className="setting-button" onClick={() => resetHandler()}>
+      Reset plot
+    </button>
+  );
+};
+
 /**
  * Renders a setting (= a dropdown menu with its label) for one of the plots.
  *
@@ -198,6 +211,7 @@ function getDataPointsOfRegression(minX, maxX, regF) {
 export {
   renderSetting,
   renderOptgroupsSetting,
+  renderResetButton,
   getConfidenceIntervalBorders,
   getDataPointsOfRegression,
 };
diff --git a/benchexec/tablegenerator/react-table/src/utils/utils.js b/benchexec/tablegenerator/react-table/src/utils/utils.js
index 81b246522..14518e2c4 100644
--- a/benchexec/tablegenerator/react-table/src/utils/utils.js
+++ b/benchexec/tablegenerator/react-table/src/utils/utils.js
@@ -254,8 +254,8 @@ export const constructQueryString = (params) => {
  * @returns {string} - The constructed URL hash
  */
 export const constructHashURL = (url, params = {}) => {
-  const exisitingParams = getURLParameters(url);
-  const mergedParams = { ...exisitingParams, ...params };
+  const existingParams = getURLParameters(url);
+  const mergedParams = { ...existingParams, ...params };
 
   const queryString = constructQueryString(mergedParams);
   const baseURL = url.split("?")[0];


Test patch:
diff --git a/benchexec/tablegenerator/react-table/src/tests/__snapshots__/QuantilePlot.test.js.snap b/benchexec/tablegenerator/react-table/src/tests/__snapshots__/QuantilePlot.test.js.snap
index 085515c23..052ef0e5b 100644
--- a/benchexec/tablegenerator/react-table/src/tests/__snapshots__/QuantilePlot.test.js.snap
+++ b/benchexec/tablegenerator/react-table/src/tests/__snapshots__/QuantilePlot.test.js.snap
@@ -222,6 +222,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -499,6 +504,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -776,6 +786,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -3052,6 +3067,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -4936,6 +4956,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -9042,6 +9067,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -11608,6 +11638,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -14303,6 +14338,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -18643,6 +18683,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -20198,6 +20243,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -22170,6 +22220,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -24392,6 +24447,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -26222,6 +26282,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -28830,6 +28895,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Direct Plot should mat
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -31194,6 +31264,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -31471,6 +31546,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -31748,6 +31828,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -34024,6 +34109,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -35908,6 +35998,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -40014,6 +40109,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -42580,6 +42680,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -45275,6 +45380,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -49615,6 +49725,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -51170,6 +51285,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -53142,6 +53262,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -55364,6 +55489,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -57194,6 +57324,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -59802,6 +59937,11 @@ exports[`Quantile Plot tests for file big-table.diff.html Quantile Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -62138,6 +62278,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -63662,6 +63807,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -65186,6 +65336,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -66710,6 +66865,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -68234,6 +68394,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -69758,6 +69923,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -71282,6 +71452,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -72590,6 +72765,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Direct Plot should m
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -73898,6 +74078,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -75422,6 +75607,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -76946,6 +77136,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -78470,6 +78665,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -79994,6 +80194,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -81518,6 +81723,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -83042,6 +83252,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -84350,6 +84565,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Quantile Plot should
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -85658,6 +85878,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Score-based Quantile
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
@@ -87182,6 +87407,11 @@ exports[`Quantile Plot tests for file rows-with-scores.html Score-based Quantile
        </option>
       </select>
      </div>
+     <button
+      className="setting-button"
+     >
+      Reset plot
+     </button>
     </div>
    </div>
   </div>
diff --git a/benchexec/tablegenerator/react-table/src/tests/__snapshots__/ScatterPlot.test.js.snap b/benchexec/tablegenerator/react-table/src/tests/__snapshots__/ScatterPlot.test.js.snap
index d52eebf6c..e01881c4d 100644
--- a/benchexec/tablegenerator/react-table/src/tests/__snapshots__/ScatterPlot.test.js.snap
+++ b/benchexec/tablegenerator/react-table/src/tests/__snapshots__/ScatterPlot.test.js.snap
@@ -516,6 +516,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -4110,6 +4115,11 @@ Coefficient of Determination: 0.02"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -7704,6 +7714,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -11298,6 +11313,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -11834,6 +11854,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -15937,6 +15962,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -16473,6 +16503,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -19415,6 +19450,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -23333,6 +23373,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -27224,6 +27269,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -31115,6 +31165,11 @@ Coefficient of Determination: 0.87"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -34655,6 +34710,11 @@ Coefficient of Determination: 0.02"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -38249,6 +38309,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -41843,6 +41908,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -45502,6 +45572,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -49161,6 +49236,11 @@ Coefficient of Determination: 0.07"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -53117,6 +53197,11 @@ Coefficient of Determination: 0.09"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -57073,6 +57158,11 @@ Coefficient of Determination: 0.94"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -60732,6 +60822,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -64391,6 +64486,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -68024,6 +68124,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -71954,6 +72059,11 @@ Coefficient of Determination: 0.67"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -75587,6 +75697,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -76123,6 +76238,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -76659,6 +76779,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -77195,6 +77320,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -77731,6 +77861,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -78267,6 +78402,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -78803,6 +78943,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -79339,6 +79484,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -79875,6 +80025,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -80411,6 +80566,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -80947,6 +81107,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -114708,6 +114873,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -148388,6 +148558,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -183742,6 +183917,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -184278,6 +184458,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -218471,6 +218656,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -252475,6 +252665,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -286479,6 +286674,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -320240,6 +320440,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -353893,6 +354098,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -354429,6 +354639,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -354965,6 +355180,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -355501,6 +355721,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -356037,6 +356262,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -356573,6 +356803,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -357109,6 +357344,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -357645,6 +357885,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -358181,6 +358426,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -415234,6 +415484,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -472206,6 +472461,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -529691,6 +529951,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -586987,6 +587252,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -644283,6 +644553,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -701336,6 +701611,11 @@ Coefficient of Determination: -Infinity"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -758281,6 +758561,11 @@ Coefficient of Determination: 0.14"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -774302,6 +774587,11 @@ Coefficient of Determination: 0.03"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -790323,6 +790613,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -790859,6 +791154,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -804974,6 +805274,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -805510,6 +805815,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -818464,6 +818774,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -834809,6 +835124,11 @@ Coefficient of Determination: 0.69"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -851127,6 +851447,11 @@ Coefficient of Determination: 0.66"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -867445,6 +867770,11 @@ Coefficient of Determination: 0.13"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -883466,6 +883796,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -899487,6 +899822,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -913466,6 +913806,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -927742,6 +928087,11 @@ Coefficient of Determination: 0.86"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -942018,6 +942368,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -955997,6 +956352,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -970351,6 +970711,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -973644,6 +974009,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -976937,6 +977307,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -977473,6 +977848,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -981485,6 +981865,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -982021,6 +982406,11 @@ Coefficient of Determination: NaN"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -984872,6 +985262,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -988489,6 +988884,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -992079,6 +992479,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -995669,6 +996074,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -998908,6 +999318,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1002201,6 +1002616,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1005494,6 +1005914,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1009153,6 +1009578,11 @@ Coefficient of Determination: 0.05"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1013109,6 +1013539,11 @@ Coefficient of Determination: 0.06"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1017065,6 +1017500,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1020724,6 +1021164,11 @@ Coefficient of Determination: 0.01"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1024383,6 +1024828,11 @@ Coefficient of Determination: 0"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1028287,6 +1028737,11 @@ Coefficient of Determination: 1"
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1031887,6 +1032342,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1033099,6 +1033559,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1034311,6 +1034776,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1035523,6 +1035993,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1036735,6 +1037210,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1037947,6 +1038427,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1039159,6 +1039644,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1040397,6 +1040887,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1041635,6 +1042130,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1042873,6 +1043373,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1044111,6 +1044616,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1045349,6 +1045859,11 @@ exports[`Scatter Plot with columns of different runsets should match HTML snapsh
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1046587,6 +1047102,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1047116,6 +1047636,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1047645,6 +1048170,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1048174,6 +1048704,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1048703,6 +1049238,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1049232,6 +1049772,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1049761,6 +1050306,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1052494,6 +1053044,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1055227,6 +1055782,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1057856,6 +1058416,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1060485,6 +1061050,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1061014,6 +1061584,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1061543,6 +1062118,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1063372,6 +1063952,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1065201,6 +1065786,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1066413,6 +1067003,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1067625,6 +1068220,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1069350,6 +1069950,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1071075,6 +1071680,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1073313,6 +1073923,11 @@ exports[`Scatter Plot with columns of different types should match HTML snapshot
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1075551,6 +1076166,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1078284,6 +1078904,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1081017,6 +1081642,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1081546,6 +1082176,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1082075,6 +1082710,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1085876,6 +1086516,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1089677,6 +1090322,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1090206,6 +1090856,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1090735,6 +1091390,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1093375,6 +1094035,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1096015,6 +1096680,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1098644,6 +1099314,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1101273,6 +1101948,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1104330,6 +1105010,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1107387,6 +1108072,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1110066,6 +1110756,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1112745,6 +1113440,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1113274,6 +1113974,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1113803,6 +1114508,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1114332,6 +1115042,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1114861,6 +1115576,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1115390,6 +1116110,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1115919,6 +1116644,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1116448,6 +1117178,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1116977,6 +1117712,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1117506,6 +1118246,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1118035,6 +1118780,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1123564,6 +1124314,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1129093,6 +1129848,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1129622,6 +1130382,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1130151,6 +1130916,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1134519,6 +1135289,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1138887,6 +1139662,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1142152,6 +1142932,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1145417,6 +1146202,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1145946,6 +1146736,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1146475,6 +1147270,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1147004,6 +1147804,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1147533,6 +1148338,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1148062,6 +1148872,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1148591,6 +1149406,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1151798,6 +1152618,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1155005,6 +1155830,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1157109,6 +1157939,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1159213,6 +1160048,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1161451,6 +1162291,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1163689,6 +1164534,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1164218,6 +1165068,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1164747,6 +1165602,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1168953,6 +1169813,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1173159,6 +1174024,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1173688,6 +1174558,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1174217,6 +1175092,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1177262,6 +1178142,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1180307,6 +1181192,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1183260,6 +1184150,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1186213,6 +1187108,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1189594,6 +1190494,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1192975,6 +1193880,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1194804,6 +1195714,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1196633,6 +1197548,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1197162,6 +1198082,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1197691,6 +1198616,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1200669,6 +1201599,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1203647,6 +1204582,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1204176,6 +1205116,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1204705,6 +1205650,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1206522,6 +1207472,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1208339,6 +1209294,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1210064,6 +1211024,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1211789,6 +1212754,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1213942,6 +1214912,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1216095,6 +1217070,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1217307,6 +1218287,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1218519,6 +1219504,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1220294,6 +1221284,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1222069,6 +1223064,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1222598,6 +1223598,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1223127,6 +1224132,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1226928,6 +1227938,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1230729,6 +1231744,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1231258,6 +1232278,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1231787,6 +1232812,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1234427,6 +1235457,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1237067,6 +1238102,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1239642,6 +1240682,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1242217,6 +1243262,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1245220,6 +1246270,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1248223,6 +1249278,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>
@@ -1250848,6 +1251908,11 @@ exports[`Scatter Plot with columns of same runset should match HTML snapshot wit
       </option>
      </select>
     </div>
+    <button
+     className="setting-button"
+    >
+     Reset plot
+    </button>
    </div>
   </div>
  </div>