From d64f6c66e2ad041b0af0e4348d34ef9a1f817e39 Mon Sep 17 00:00:00 2001 From: prabhat gautam Date: Thu, 25 Aug 2022 20:42:11 +0530 Subject: [PATCH] Fixed #852 --- .../Webkul/UI/publishable/assets/css/ui.css | 2 +- .../Webkul/UI/publishable/assets/js/ui.js | 2 +- .../UI/publishable/assets/mix-manifest.json | 138 +++++++++--------- .../assets/js/components/date-range.vue | 48 +++++- .../Webkul/UI/src/Resources/lang/ar/app.php | 8 + .../Webkul/UI/src/Resources/lang/en/app.php | 7 + .../Webkul/UI/src/Resources/lang/tr/app.php | 7 + 7 files changed, 140 insertions(+), 72 deletions(-) diff --git a/packages/Webkul/UI/publishable/assets/css/ui.css b/packages/Webkul/UI/publishable/assets/css/ui.css index 18b65601a..eeb182acd 100644 --- a/packages/Webkul/UI/publishable/assets/css/ui.css +++ b/packages/Webkul/UI/publishable/assets/css/ui.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/Roboto-Medium.ttf)}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/Roboto-Regular.ttf)}.icon{background-size:cover;display:inline-block;height:20px;width:20px}.menu-fold-icon{background-image:url(../images/menu-fold-icon.svg);height:24px;width:24px}.menu-fold-icon:hover{background-image:url(../images/menu-fold-active-icon.svg)}.menu-unfold-icon{background-image:url(../images/menu-unfold-icon.svg);height:24px;width:24px}.menu-unfold-icon:hover{background-image:url(../images/menu-unfold-active-icon.svg)}.arrow-down-icon{background-image:url(../images/arrow-down-icon.svg)}.arrow-up-icon{background-image:url(../images/arrow-up-icon.svg)}.arrow-left-icon{background-image:url(../images/arrow-left-icon.svg)}.arrow-right-icon{background-image:url(../images/arrow-right-icon.svg)}.arrow-left-line-icon{background-image:url(../images/arrow-left-line-icon.svg)}.arrow-right-line-icon{background-image:url(../images/arrow-right-line-icon.svg)}.arrow-down-s-icon{background-image:url(../images/arrow-down-s-icon.svg)}.add-icon{background-image:url(../images/add-icon.svg)}.close-icon{background-image:url(../images/close-icon.svg)}.close-white-icon{background-image:url(../images/close-white-icon.svg)}.circle-check-white-icon{background-image:url(../images/circle-check-white-icon.svg)}.circle-close-white-icon{background-image:url(../images/circle-close-white-icon.svg)}.circle-info-white-icon{background-image:url(../images/circle-info-white-icon.svg)}.calendar-icon{background-image:url(../images/calendar-icon.svg)}.time-icon{background-image:url(../images/time-icon.svg)}.align-justify-icon{background-image:url(../images/align-justify-icon.svg)}.reply-icon{background-image:url(../images/reply-icon.svg)}.reply-white-icon{background-image:url(../images/reply-white-icon.svg)}.reply-all-icon{background-image:url(../images/reply-all-icon.svg)}.reply-all-white-icon{background-image:url(../images/reply-all-white-icon.svg)}.forward-icon{background-image:url(../images/forward-icon.svg)}.forward-white-icon{background-image:url(../images/forward-white-icon.svg)}.trash-icon{background-image:url(../images/trash-icon.svg)}.trash-white-icon{background-image:url(../images/trash-white-icon.svg)}.pencil-icon{background-image:url(../images/pencil-icon.svg)}.pencil-underline-icon{background-image:url(../images/pencil-underline-icon.svg)}.eye-icon{background-image:url(../images/eye-icon.svg)}.folder-icon{background-image:url(../images/folder-icon.svg)}.plus-primary-icon{background-image:url(../images/plus-primary-icon.svg)}.plus-black-icon{background-image:url(../images/plus-black-icon.svg)}.plus-white-icon{background-image:url(../images/plus-white-icon.svg)}.download-icon{background-image:url(../images/download-icon.svg)}.search-icon{background-image:url(../images/search-icon.svg)}.ellipsis-icon{background-image:url(../images/ellipsis-icon.svg)}.attachment-icon,.ellipsis-icon{height:24px!important;width:24px!important}.attachment-icon{background-image:url(../images/attachment-icon.svg)}.link-icon{background-image:url(../images/link-icon.svg)}.external-link-icon,.link-icon{height:24px!important;width:24px!important}.external-link-icon{background-image:url(../images/external-link-icon.svg)}.tags-icon{background-image:url(../images/tags-icon.svg)}.loader-icon{background-image:url(../images/loader-icon.svg)}.loader-active-icon,.loader-icon{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-timing-function:linear;animation-timing-function:linear;height:24px!important;width:24px!important}.loader-active-icon{background-image:url(../images/loader-active-icon.svg)}.alert-danger-icon{background-image:url(../images/alert-danger-icon.svg)}.upload-icon{background-image:url(../images/upload-icon.svg)}.export-icon{background-image:url(../images/export-icon.svg)}@-webkit-keyframes jelly{0%{opacity:0;transform:translateY(0) scale(.7)}70%{opacity:1;transform:translateY(5px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes jelly{0%{opacity:0;transform:translateY(0) scale(.7)}70%{opacity:1;transform:translateY(5px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@-webkit-keyframes jelly-out{0%{opacity:1;transform:translateY(0) scale(1)}30%{opacity:1;transform:translateY(-5px) scale(1.05)}to{opacity:0;transform:translateY(0) scale(.7)}}@keyframes jelly-out{0%{opacity:1;transform:translateY(0) scale(1)}30%{opacity:1;transform:translateY(-5px) scale(1.05)}to{opacity:0;transform:translateY(0) scale(.7)}}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes meter-animate-before{0%{transform:rotate(-45deg)}to{transform:rotate(315deg)}}@keyframes meter-animate-before{0%{transform:rotate(-45deg)}to{transform:rotate(315deg)}}.rtl .search-filter .control{border-bottom-left-radius:0;border-bottom-right-radius:3px;border-left:0;border-right:2px solid #c7c7c7;border-top-left-radius:0;border-top-right-radius:3px;padding-right:10px}.rtl .search-filter .icon-wrapper{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0;float:left}.rtl .alert-wrapper .alert{left:unset;margin-right:-324px;right:50%}.rtl .table .table-header .table-action{text-align:left}.rtl .table .table-header .table-action .export-import{margin-left:20px;margin-right:0}.rtl .table .table-body .custom-design-container{right:1200px}.rtl .table .sidebar-filter{left:-420px;right:unset}.rtl .table .sidebar-filter header h1 .right{text-align:left}.rtl .table .sidebar-filter.show{left:0;right:unset}.rtl .table .sidebar-filter .field-container{padding-left:25px;padding-right:0}.rtl .table .sidebar-filter .field-container i.close-icon{left:0;right:unset}.rtl .table .datagrid-filters{display:inline-block}.rtl .table .datagrid-filters.per-page{margin-left:10px;margin-right:10px}.rtl .sidebar-filter header h1 .right,.rtl .table .datagrid-filters .filter-right,.rtl .table table tbody tr td.action,.rtl .table table thead th.actions{text-align:left}.rtl .filtered-tags .filter-tag .cross-icon,.rtl .filtered-tags .filter-tag .wrapper{margin-left:0;margin-right:10px}.rtl .float-left{float:right}.rtl .float-right{float:left}.rtl .field-container label.required:after,.rtl .form-group label.required:after{padding-left:0;padding-right:4px}.rtl .field-container.date .control,.rtl .field-container.datetime .control,.rtl .field-container.time .control,.rtl .form-group.date .control,.rtl .form-group.datetime .control,.rtl .form-group.time .control{padding-right:40px}.rtl .field-container.date .date-container input[type=text],.rtl .field-container.datetime .date-container input[type=text],.rtl .field-container.time .date-container input[type=text],.rtl .form-group.date .date-container input[type=text],.rtl .form-group.datetime .date-container input[type=text],.rtl .form-group.time .date-container input[type=text]{padding-left:22px}.rtl .field-container.date .datetime-container:after,.rtl .field-container.date .time-container:after,.rtl .field-container.datetime .datetime-container:after,.rtl .field-container.datetime .time-container:after,.rtl .field-container.time .datetime-container:after,.rtl .field-container.time .time-container:after,.rtl .form-group.date .datetime-container:after,.rtl .form-group.date .time-container:after,.rtl .form-group.datetime .datetime-container:after,.rtl .form-group.datetime .time-container:after,.rtl .form-group.time .datetime-container:after,.rtl .form-group.time .time-container:after{left:10px;margin-left:unset;margin-right:-34px;right:unset}.rtl .field-container .input-group .input-group-prepend .btn,.rtl .field-container .input-group .input-group-prepend .control,.rtl .form-group .input-group .input-group-prepend .btn,.rtl .form-group .input-group .input-group-prepend .control{border-bottom-left-radius:0;border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px}.rtl .field-container .input-group .input-group-append,.rtl .form-group .input-group .input-group-append{margin-right:-1px}.rtl .field-container .input-group .input-group-append .btn,.rtl .field-container .input-group .input-group-append .control,.rtl .form-group .input-group .input-group-append .btn,.rtl .form-group .input-group .input-group-append .control{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0}.rtl .field-container .input-group .trash-icon,.rtl .form-group .input-group .trash-icon{cursor:pointer;margin-left:0;margin-right:7px;margin-top:21px}.rtl .settings-container .panel .setting-link-container .setting-link-item a .setting-info{margin-left:0;margin-right:25px}.rtl .tree-wrapper .tree-container .tree-item.active>.tree-item{padding-left:0;padding-right:30px}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}:focus{outline:none}body{background:#fff;color:#263238;font-family:Roboto;font-size:18px;font-weight:400;letter-spacing:-.26px;line-height:22px}a{color:#0e90d9}a:active,a:focus,a:hover,a:link,a:visited{color:#0e90d9;text-decoration:none}::-moz-selection{background-color:#0e90d9;color:#fff}::selection{background-color:#0e90d9;color:#fff}:-ms-input-placeholder{color:#546e7a;opacity:.5}::-moz-placeholder{color:#546e7a;opacity:.5}::placeholder{color:#546e7a;opacity:.5}textarea{resize:none}ul{list-style:none;margin:0;padding:0}h1{font-size:24px;margin-top:0}h1,h2{color:#263238;font-weight:500}h2{font-size:20px}h3{font-size:18px}h3,h4{color:#263238;font-weight:500}h4{font-size:16px}h5{color:#263238;font-size:14px;font-weight:500}.hide{display:none!important}.btn{border:2px solid transparent;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;font:inherit;font-weight:500;padding:10px 14px;transition:.2s cubic-bezier(.4,0,.2,1)}.btn:active,.btn:focus,.btn:hover{opacity:.75}.btn.btn-sm{font-size:14px;height:40px;padding:7px 12px}.btn.btn-md{padding:10px 14px}.btn.btn-lg{font-size:24px;padding:12px 18px}.btn.btn-xl{font-size:24px;padding:14px 22px}.btn.btn-primary{background:#0e90d9;color:#fff}.btn.btn-primary-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.btn.btn-secondary{background:#546e7a;color:#fff}.btn.btn-secondary-outline{background:#fff;border:2px solid #546e7a;color:#546e7a}.btn.btn-danger{background:#ff4d50;color:#fff}.btn.btn-danger-outline{background:#fff;border:2px solid #ff4d50;color:#ff4d50}.btn.btn-success{background:#53c41a;color:#fff}.btn.btn-success-outline{background:#fff;border:2px solid #53c41a;color:#53c41a}.btn.btn-warning{background:#fbad15;color:#fff}.btn.btn-warning-outline{background:#fff;border:2px solid #fbad15;color:#fbad15}.btn.btn-white{background:#fff;color:#0e90d9}.btn.btn-white.text-black{color:#000}.btn.btn-white-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.btn:disabled,.btn[disabled=disabled],.btn[disabled=disabled]:active,.btn[disabled=disabled]:hover{background:#b1b1ae;box-shadow:none;cursor:not-allowed;opacity:1}.dropdown-list{background-color:#fff;border:1px solid #f0f0f0;box-shadow:0 2px 5px 0 rgba(39,49,58,.15);display:none;margin-bottom:20px;position:absolute;text-align:left;width:215px;z-index:10}.dropdown-list.bottom-left{left:0;top:42px}.dropdown-list.bottom-right{right:0;top:42px}.dropdown-list.top-left{bottom:0;left:42px}.dropdown-list.top-right{bottom:0;right:42px}.dropdown-list .dropdown-container{overflow-y:auto}.dropdown-list .dropdown-container ul{list-style-type:none;margin:0;padding:0}.dropdown-list .dropdown-container ul li{color:#546e7a;cursor:pointer;font-size:16px;padding:8px 12px}.dropdown-list .dropdown-container ul li a:active,.dropdown-list .dropdown-container ul li a:focus,.dropdown-list .dropdown-container ul li a:link,.dropdown-list .dropdown-container ul li a:visited{color:#546e7a;display:block}.dropdown-list .dropdown-container ul li:hover{background-color:#0e90d9;color:#fff}.dropdown-list .dropdown-container ul li:hover a{color:#fff}.table{overflow-x:auto!important;width:100%}.table .table-header{align-items:center;display:grid;grid-template-columns:repeat(2,auto);margin-bottom:20px}.table .table-header h1{display:inline-block;margin-bottom:0}.table .table-header .table-action{text-align:right}.table .table-header .table-action .export-import{cursor:pointer;margin-right:20px}.table .table-header .table-action .export-import .icon{height:24px;margin-bottom:2px;vertical-align:middle;width:24px}.table .table-header .table-action .export-import span{color:#546e7a}.table .table-header .table-action button{max-height:40px;padding:8px 14px}.table .table-body .custom-design-container{background-color:#fff;border:1px solid #c1c2c3;margin-top:8px;padding:10px;position:absolute;right:25px;width:350px}.table .table-body .custom-design-container .form-group{grid-gap:5px;align-items:center;display:grid;grid-template-columns:150px auto 150px;margin:20px 0;text-align:center}.table .table-body .custom-design-container .form-group.date .date-container{display:inline-block}.table .table-body .custom-design-container .form-group.date .date-container .control{height:40px;margin:0}.table .table-body .custom-design-container .form-group.date .date-container:after{top:calc(50% - 2px)}.table .table-body .custom-design-container i.close-icon{cursor:pointer;float:right}.table .table-body .checkbox{margin:0;text-overflow:unset}.table .table-body .empty-table div{left:calc(50% - 75px);position:absolute;top:calc(50% - 50px)}.table .table-body .empty-table div img{width:150px}.table .table-body .empty-table div span{display:block;margin-top:20px}.table table{background:#fff;border:none;border-collapse:collapse;border-radius:4px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);font-size:16px;margin-top:20px;table-layout:fixed;text-align:left;width:100%}.table table td,.table table th{border-bottom:1px solid #c1c2c3;border-right:1px solid #c1c2c3;color:#546e7a;padding:10px;text-overflow:ellipsis;vertical-align:top;width:100%}.table table thead th{border-bottom:1px solid hsla(210,2%,76%,.5);border-right:0;color:#263238;cursor:not-allowed;font-weight:500;text-transform:capitalize}.table table thead th.master-checkbox{text-overflow:unset;width:41px}.table table thead th.id{width:80px}.table table thead th.actions{text-align:right;width:100px}.table table thead th.actions .action{display:inline-flex}.table table thead th.actions .icon{cursor:pointer;vertical-align:middle}.table table tbody tr{border-bottom:1px solid hsla(210,2%,76%,.5)}.table table tbody tr.active{background-color:#d4edfb;border-bottom:1px solid rgba(14,144,217,.35)}.table table tbody tr td{background-color:hsla(0,0%,100%,.5);border-bottom:none;border-right:0;color:#263238;word-break:break-all}.table table tbody tr td.empty{text-align:center}.table table tbody tr td.action-container a{cursor:pointer}.table table tbody tr td .bold{font-weight:500}.table table tbody tr td.action{text-align:right}.table table tbody tr td.action a{cursor:pointer;margin-right:5px}.table table tbody tr td.action a:last-child{margin-right:0}.table table tbody tr td .spinner-container{margin-top:5px}.table table tbody tr:last-child td{border-bottom:0}.table table tbody tr.active td,.table table tbody tr:hover td{background-color:hsla(210,2%,76%,.1)}.table table tbody tr.no-records{text-align:center}.table .form-group{margin-bottom:0;width:100%}.table .form-group .control{width:100%}.table .form-group.datagrid-filters{margin-bottom:20px}.table .form-group.datagrid-filters input[type=search].control{font-size:15px;height:40px;margin:0;width:280px}.table .dropdown-container{margin-bottom:0;padding:0;position:relative;width:100%}.table .dropdown-container.dropdown-list ul{background-color:#fff;margin-bottom:20px;margin-top:10px;padding:15px;position:absolute;width:100%}.table .dropdown-container.dropdown-list ul li .form-group{margin-bottom:15px}.table .dropdown-container.dropdown-list .apply-filter{padding:10px;width:100%}.table .filtered-tags{margin:20px 0 0}.table .filtered-tags .filter-tag{grid-gap:5px;align-items:center;display:grid;display:inline-grid;grid-template-columns:repeat(2,auto);margin-right:20px;text-transform:capitalize;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .filtered-tags .filter-tag .wrapper{grid-gap:10px;align-items:center;background:#e7e7e7;border-radius:2px;color:#000311;display:grid;display:inline-grid;font-size:14px;grid-template-columns:auto 20px;line-height:40px;padding:0 10px}.table .filtered-tags .filter-tag .wrapper .icon.close-icon{cursor:pointer;position:relative;top:-2px}.table .search-filter{display:inline-block;margin-right:6px;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .search-filter .input-search-icon{left:7px;position:absolute;top:10px;z-index:1}.table .search-filter .input-search-icon~input[type=search]{padding-left:30px}.table .search-filter .control{-webkit-appearance:none;border:1px solid #c1c2c3;color:#546e7a;font-size:15px;height:40px;margin:0;padding-left:10px;width:280px}.table .search-filter .contorl:focus{border-color:#0041ff}.table .search-filter .icon-wrapper{border:2px solid #c7c7c7;border-radius:3px;border-bottom-left-radius:0;border-top-left-radius:0;float:right;height:36px;padding:3px;width:36px}.table .datagrid-filters{align-items:center;display:grid;grid-template-columns:repeat(2,auto);width:100%}.table .datagrid-filters .filter-right{text-align:right}.table .datagrid-filters .filter-right .pagination{display:inline-block;height:40px;margin-right:6px}.table .datagrid-filters .filter-right .pagination .page-item .icon{top:10px;vertical-align:top}.table .datagrid-filters .filter-right .filter-btn{cursor:pointer;display:inline-block}.table .datagrid-filters .filter-right .filter-btn .grid-dropdown-header{align-items:center;background-color:#fff;border:1px solid #546e7a;border-radius:3px;color:#546e7a;display:inline-flex;font-weight:500;height:40px;justify-content:space-between;padding:0 7px 0 10px;vertical-align:middle;width:105px}.table .datagrid-filters .filter-right .filter-btn .grid-dropdown-header .arrow-icon-down{float:right}.table .datagrid-filters .dropdown-filters{display:inline-block;margin-right:6px}.table .datagrid-filters .dropdown-filters.per-page .form-group{grid-gap:10px;align-items:center;display:grid;grid-template-columns:repeat(2,auto)}.table .datagrid-filters .dropdown-filters.per-page .form-group .control{border:1px solid #c1c2c3;height:40px;margin:0}.table .datagrid-filters .form-group,.table .datagrid-filters .form-group .control{font-size:16px}.table .tabs-container{align-items:center;display:grid;grid-template-columns:repeat(2,auto);margin:20px 0}.table .tabs-container .tabs-right-container{text-align:right}.table .tabs-container .tabs-right-container section{display:inline-block}.table .tabs-container .tabs-right-container .covered{border:1px solid;padding:7px ​10px}.table .tabs-container .tabs-right-container .group{vertical-align:top}.table .mass-actions{display:inline-block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .mass-actions .control{font-size:16px;height:40px;margin:0;padding:9px 10px;width:140px}.table .mass-actions button{height:40px;vertical-align:middle}.pagination{margin-top:20px}.pagination .page-item{background:#fff;border:1px solid #c1c2c3;display:inline-block;font-size:16px;height:100%;margin-right:5px;padding:0 9px;text-decoration:none;vertical-align:middle}.pagination .page-item.previous{border-radius:3px 0 0 3px}.pagination .page-item.next{border-radius:0 3px 3px 0}.pagination .page-item.disabled{cursor:not-allowed!important}.pagination .page-item.active{background:#0041ff;border-color:#0041ff;color:#fff}.pagination .page-item .icon{position:relative;top:4px;vertical-align:middle}.pagination.tab-view{height:34px;margin-top:0}.pagination.tab-view .previous{border-right:0;float:left}.pagination.tab-view .next,.pagination.tab-view .previous{cursor:pointer;margin:0}.pagination.full-view{margin-top:120px}.pagination a,.pagination i{font-size:16px!important;font-weight:700}.field-container,.form-group{color:#546e7a;display:block;font-size:18px;margin-bottom:20px;position:relative;width:100%}.field-container label,.form-group label{display:block;font-size:16px}.field-container label.required:after,.form-group label.required:after{color:#ff4d50;content:"*";display:inline-block;font-weight:700;padding-left:4px}.field-container textarea.control,.form-group textarea.control{height:100px;padding:10px}.field-container .control,.form-group .control{background:#fff;border:1px solid #c1c2c3;border-radius:3px;color:#546e7a;display:inline-block;font-size:18px;margin-bottom:5px;margin-top:10px;padding:10px;transition:.2s cubic-bezier(.4,0,.2,1);vertical-align:middle;width:100%}.field-container .control:focus,.form-group .control:focus{border-color:#0e90d9}.field-container .control[disabled=disabled],.form-group .control[disabled=disabled]{background-color:#c1c2c3;border-color:#c1c2c3;cursor:not-allowed}.field-container .control[multiple],.form-group .control[multiple]{height:100px}.field-container .control-faker,.form-group .control-faker{border:1px solid #c1c2c3;border-radius:3px;margin-bottom:5px;margin-top:10px;padding:10px;word-break:break-all}.field-container.date .control,.field-container.datetime .control,.field-container.time .control,.form-group.date .control,.form-group.datetime .control,.form-group.time .control{padding-right:40px}.field-container.date .date-container,.field-container.date .datetime-container,.field-container.date .time-container,.field-container.datetime .date-container,.field-container.datetime .datetime-container,.field-container.datetime .time-container,.field-container.time .date-container,.field-container.time .datetime-container,.field-container.time .time-container,.form-group.date .date-container,.form-group.date .datetime-container,.form-group.date .time-container,.form-group.datetime .date-container,.form-group.datetime .datetime-container,.form-group.datetime .time-container,.form-group.time .date-container,.form-group.time .datetime-container,.form-group.time .time-container{position:relative}.field-container.date .date-container:after,.field-container.date .datetime-container:after,.field-container.date .time-container:after,.field-container.datetime .date-container:after,.field-container.datetime .datetime-container:after,.field-container.datetime .time-container:after,.field-container.time .date-container:after,.field-container.time .datetime-container:after,.field-container.time .time-container:after,.form-group.date .date-container:after,.form-group.date .datetime-container:after,.form-group.date .time-container:after,.form-group.datetime .date-container:after,.form-group.datetime .datetime-container:after,.form-group.datetime .time-container:after,.form-group.time .date-container:after,.form-group.time .datetime-container:after,.form-group.time .time-container:after{background-image:url(../images/calendar-icon.svg);content:"";height:24px;margin-left:-34px;margin-top:-9px;pointer-events:none;position:absolute;right:10px;top:29px;width:24px}.field-container.date .time-container:after,.field-container.datetime .time-container:after,.field-container.time .time-container:after,.form-group.date .time-container:after,.form-group.datetime .time-container:after,.form-group.time .time-container:after{background-image:url(../images/time-icon.svg)}.field-container .control-info,.form-group .control-info{color:#adadad;display:block;font-size:16px;font-style:italic}.field-container .control-error,.form-group .control-error{color:#ff4d50;display:none;margin-top:5px}.field-container.has-error .control:not([aria-invalid=false]),.form-group.has-error .control:not([aria-invalid=false]){border-color:#ff4d50}.field-container.has-error .control-error,.form-group.has-error .control-error{display:block;width:100%}.field-container.has-error.hide-error input,.form-group.has-error.hide-error input{border:1px solid #c1c2c3!important}.field-container.has-error.hide-error .control-error,.form-group.has-error.hide-error .control-error{display:none!important}.field-container .address-left,.form-group .address-left{float:left;padding-right:5px;width:50%}.field-container .address-left .control,.form-group .address-left .control{height:204px;margin-bottom:0}.field-container .address-right,.form-group .address-right{display:inline-block;padding-left:5px;width:50%}.field-container .address-right .control,.field-container.input-group,.form-group .address-right .control,.form-group.input-group{margin-bottom:0}.field-container .input-group,.form-group .input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.field-container .input-group .input-group-append,.field-container .input-group .input-group-prepend,.form-group .input-group .input-group-append,.form-group .input-group .input-group-prepend{display:flex}.field-container .input-group>.control,.field-container .input-group>.date-container,.field-container .input-group>.datetime-container,.form-group .input-group>.control,.form-group .input-group>.date-container,.form-group .input-group>.datetime-container{flex:1 1 auto;position:relative;width:1%!important}.field-container .input-group>.control:not(:first-child),.field-container .input-group>.date-container:not(:first-child),.field-container .input-group>.datetime-container:not(:first-child),.form-group .input-group>.control:not(:first-child),.form-group .input-group>.date-container:not(:first-child),.form-group .input-group>.datetime-container:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.field-container .input-group>.control:not(:last-child),.field-container .input-group>.date-container:not(:last-child),.field-container .input-group>.datetime-container:not(:last-child),.form-group .input-group>.control:not(:last-child),.form-group .input-group>.date-container:not(:last-child),.form-group .input-group>.datetime-container:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.field-container .input-group>.date-container:not(:first-child),.field-container .input-group>.datetime-container:not(:first-child),.form-group .input-group>.date-container:not(:first-child),.form-group .input-group>.datetime-container:not(:first-child){margin-left:10px}.field-container .input-group>.date-container:not(:last-child),.field-container .input-group>.datetime-container:not(:last-child),.form-group .input-group>.date-container:not(:last-child),.form-group .input-group>.datetime-container:not(:last-child){margin-right:10px}.field-container .input-group .input-group-prepend,.form-group .input-group .input-group-prepend{margin-right:-1px}.field-container .input-group .input-group-prepend .btn,.field-container .input-group .input-group-prepend .control,.form-group .input-group .input-group-prepend .btn,.form-group .input-group .input-group-prepend .control{border-bottom-right-radius:0;border-top-right-radius:0}.field-container .input-group .input-group-append,.form-group .input-group .input-group-append{margin-left:-1px}.field-container .input-group .input-group-append .btn,.field-container .input-group .input-group-append .control,.form-group .input-group .input-group-append .btn,.form-group .input-group .input-group-append .control{border-bottom-left-radius:0;border-top-left-radius:0}.field-container .input-group .trash-icon,.form-group .input-group .trash-icon{cursor:pointer;margin-left:7px;margin-top:21px}.field-container .loader-active-icon,.form-group .loader-active-icon{position:absolute;right:4px;top:14px}.checkbox{display:inline-block;margin:10px 5px 5px 0;position:relative}.checkbox .checkbox-dash,.checkbox .checkbox-view{background-image:url(../images/checkbox-icon.svg);display:inline-block!important;height:24px;margin:0 5px 0 0;vertical-align:middle;width:24px}.checkbox .checkbox-dash{background-image:url(../images/checkbox-dash-icon.svg)}.checkbox input{height:24px;opacity:0;position:absolute;width:24px;z-index:100}.checkbox input:checked+.checkbox-view{background-image:url(../images/checkbox-checked-icon.svg)}.checkbox input:disabled+.checkbox-view{cursor:not-allowed;opacity:.5}.radio{display:block;margin:10px 5px 5px 0;position:relative}.radio .radio-view{background-image:url(../images/radio-icon.svg);display:inline-block!important;height:24px;margin:0 5px 0 0;vertical-align:middle;width:24px}.radio input{left:0;opacity:0;position:absolute;top:0;z-index:100}.radio input:checked+.radio-view{background-image:url(../images/radio-checked-icon.svg)}.radio input:disabled+.radio-view{cursor:not-allowed;opacity:.5}.form-group .switch{display:inline-block;height:34px;margin-bottom:5px;margin-top:10px;position:relative;width:60px}.form-group .switch .slider{background-color:#c1c2c3;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.2s}.form-group .switch .slider:before{background-color:#fff;bottom:4px;content:"";height:26px;left:4px;position:absolute;transition:.2s;width:26px}.form-group .switch .slider.round{border-radius:34px}.form-group .switch .slider.round:before{border-radius:50%}.form-group .switch input{height:0;opacity:0;width:0}.form-group .switch input:checked+.slider{background-color:#0e90d9}.form-group .switch input:focus+.slider{box-shadow:0 0 1px #0e90d9}.form-group .switch input:checked+.slider:before{transform:translateX(26px)}.alert-wrapper{bottom:10px;position:fixed;right:10px;width:100%;z-index:100}.alert-wrapper .alert{-webkit-animation:jelly .5s ease-in-out;animation:jelly .5s ease-in-out;border-radius:3px;box-shadow:0 4px 15.36px .64px rgba(0,0,0,.1),0 2px 6px 0 rgba(0,0,0,.12);display:block;left:50%;margin-bottom:10px;margin-left:-324px;padding:15px 44px;position:relative;text-align:left;transform-origin:center top;width:648px;z-index:500}.alert-wrapper .alert.error{background:#ff4d50}.alert-wrapper .alert.info{background:#204d74}.alert-wrapper .alert.success{background:#53c41a}.alert-wrapper .alert.warning{background:#fbad15}.alert-wrapper .alert .icon{position:absolute}.alert-wrapper .alert .icon:first-child{left:10px;top:15px}.alert-wrapper .alert .icon:last-child{cursor:pointer;right:10px;top:10px}.alert-wrapper .alert p{color:#fff;font-size:16px;margin:0}.tabs ul li{display:inline-block}.tabs ul li a{color:#546e7a;cursor:pointer;display:block;font-weight:500;padding:10px 30px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tabs ul li.has-error a{color:#ff4d50}.tabs ul li.active a{box-shadow:inset 0 -2px 0 #0e90d9;color:#0e90d9}.tabs-content{background:#fff;border:none;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);padding:30px}.pill{display:inline-block;height:34px}.pill .tabs ul li{font-size:16px}.pill .tabs ul li:first-child a{padding-left:0}.pill .tabs ul li a{padding:6px 15px}.pill .tabs ul li.active a{background:#0e90d9;border-radius:22px;color:#fff;padding:5px 15px}.group{display:inline-block;height:34px}.group .tabs ul li{border:1px solid #c1c2c3;font-size:16px}.group .tabs ul li:not(:last-child){border-right:0}.group .tabs ul li.active{background:#0e90d9;border-radius:0!important}.group .tabs ul li.active a{color:#fff}.group .tabs ul li a{padding:5px 10px}.accordian,accordian{display:inline-block;width:100%}.accordian .accordian-header,.accordian div[slot*=header],accordian .accordian-header,accordian div[slot*=header]{border-bottom:1px solid #c1c2c3;color:#546e7a;cursor:pointer;display:inline-block;font-size:18px;font-weight:500;margin-top:-1px;padding:15px 30px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.accordian .accordian-header h1,.accordian div[slot*=header] h1,accordian .accordian-header h1,accordian div[slot*=header] h1{display:inline-block;font-weight:500;margin:0}.accordian .accordian-header .icon,.accordian div[slot*=header] .icon,accordian .accordian-header .icon,accordian div[slot*=header] .icon{float:right}.accordian .accordian-header .icon.left,.accordian div[slot*=header] .icon.left,accordian .accordian-header .icon.left,accordian div[slot*=header] .icon.left{float:left}.accordian.has-error .accordian-header,accordian.has-error .accordian-header{color:#ff4d50}.accordian .accordian-content,.accordian div[slot*=body],accordian .accordian-content,accordian div[slot*=body]{border:1px solid #d3d3d3;border-top:0;display:none;padding:30px;width:100%}.accordian.active>.accordian-content,accordian.active>.accordian-content{display:inline-block}.panel .panel-header{color:#263238;color:#546e7a;font-size:18px;font-weight:500;padding:16px 0}.panel .panel-body{background-color:#fff;border:none;border-radius:3px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);padding:16px}modal{display:none}.modal-overlay{background:#263238;bottom:0;display:none;left:0;opacity:.5;overflow-y:auto;position:fixed;right:0;top:0;z-index:10}.modal-container{-webkit-animation:jelly .5s ease-in-out;animation:jelly .5s ease-in-out;background:#fff;border-radius:8px;left:50%;margin-left:-300px;max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:auto;position:fixed;top:100px;width:600px;z-index:11}.modal-container .modal-header{align-items:center;background:#fff;border-bottom:1px solid #c1c2c3;display:grid;grid-template-columns:repeat(2,auto);padding:20px 20px 10px;position:relative;width:inherit;z-index:10}.modal-container .modal-header h3{display:table-cell;font-weight:500;margin:0;vertical-align:middle}.modal-container .modal-header h2{display:inline-block;margin:0}.modal-container .modal-header .header-actions{text-align:right}.modal-container .modal-header .header-actions .icon{cursor:pointer}.modal-container .modal-body{padding:30px;position:relative}.modal-container .modal-body .tabs-content{box-shadow:none}.modal-open{overflow:hidden}.modal-open .modal-overlay{display:block}.badge{border:2px solid transparent;border-radius:4px;color:#fff;display:inline-block;font-size:16px}.badge.badge-pill,.badge.badge-sm{padding:2px 8px}.badge.badge-md{padding:4px 10px}.badge.badge-lg{padding:6px 12px}.badge.badge-xl{padding:8px 14px}.badge.badge-pill{border-radius:10rem}.badge.badge-primary{background:#0e90d9;color:#fff}.badge.badge-primary-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.badge.badge-secondary{background:#546e7a;color:#fff}.badge.badge-secondary-outline{background:#fff;border:2px solid #546e7a;color:#546e7a}.badge.badge-danger{background:#ff4d50;color:#fff}.badge.badge-danger-outline{background:#fff;border:2px solid #ff4d50;color:#ff4d50}.badge.badge-success{background:#53c41a;color:#fff}.badge.badge-success-outline{background:#fff;border:2px solid #53c41a;color:#53c41a}.badge.badge-warning{background:#fbad15;color:#fff}.badge.badge-warning-outline{background:#fff;border:2px solid #fbad15;color:#fbad15}.badge.badge-white,.badge.badge-white-outline{background:#fff;color:#0e90d9}.badge.badge-white-outline{border:2px solid #0e90d9}.badge.badge-round{height:8px;margin-right:5px;padding:0;width:8px}.overlay-loader{left:50%;margin-left:-24px;margin-top:-24px;position:fixed;top:50%;z-index:11}.tooltip{display:block!important;z-index:10000}.tooltip.hide{display:none!important}.tooltip .tooltip-inner{background:#0e90d9;border-radius:4px;color:#fff;font-size:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{border-color:#0e90d9;border-style:solid;height:0;margin:5px;position:absolute;width:0;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-width:5px 5px 0;bottom:-5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:0 5px 5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0;top:-5px}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-top-color:transparent!important;border-width:5px 5px 5px 0;left:-5px;margin-left:0;margin-right:0;top:calc(50% - 5px)}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-bottom-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:5px 0 5px 5px;margin-left:0;margin-right:0;right:-5px;top:calc(50% - 5px)}.sidebar-filter{background-color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.18);display:inline-block;height:100vh;overflow-y:scroll;padding:30px 15px 30px 20px;position:fixed;right:-420px;top:0;transition:.35s cubic-bezier(.4,0,.2,1);width:420px;z-index:10}.sidebar-filter.show{right:0}.sidebar-filter header{border-bottom:1px solid #c1c2c3;margin-bottom:25px;padding-bottom:25px}.sidebar-filter header h1{align-items:center;display:grid;font-weight:400;grid-template-columns:repeat(2,auto);margin:0;padding:0}.sidebar-filter header h1 .right{text-align:right}.sidebar-filter header h1 .right label{color:#0e90d9;cursor:pointer;display:inline-block;font-size:18px;margin-right:20px}.sidebar-filter header h1 .right i.close-icon{vertical-align:middle}.sidebar-filter .field-container{margin-bottom:10px;padding-right:25px;position:relative}.sidebar-filter .field-container label{font-weight:500}.sidebar-filter .field-container .control{font-size:16px;max-height:40px}.sidebar-filter .field-container .control.half{width:151px}.sidebar-filter .field-container .middle-text{margin:0 8px}.sidebar-filter .field-container .date-container{display:inline-block}.sidebar-filter .field-container .enter-new{display:inline-block;width:100%}.sidebar-filter .field-container .enter-new input{width:100%}.sidebar-filter .field-container>i.close-icon{position:absolute;right:0;top:17px}.sidebar-filter .selected-options{margin-top:10px}.sidebar-filter .selected-options .badge{background-color:#f7f8f9;color:#546e7a;margin-bottom:10px}.sidebar-filter .form-group{margin-bottom:20px}.sidebar-filter i.add-icon,.sidebar-filter i.close-icon{cursor:pointer}.tree-wrapper .icon{margin-right:10px}.tree-wrapper .checkbox{margin-bottom:15px!important;margin-top:0!important}.tree-wrapper .tree-item{padding-left:30px}.tree-wrapper .tree-item.active>.arrow-down-icon{background-image:url(../images/arrow-down-icon.svg)}.tree-wrapper .tree-item>.arrow-down-icon{background-image:url(../images/arrow-right-icon.svg);cursor:pointer}.tree-wrapper .tree-container>.tree-item{padding:0}.tree-wrapper .tree-container .tree-item>.tree-item{display:none}.tree-wrapper .tree-container .tree-item.active>.tree-item{display:block}ol.breadcrumb{font-size:14px;font-weight:400;list-style:none;margin-bottom:5px;margin-top:0;padding:0}ol.breadcrumb li.breadcrumb-item{display:inline-block}ol.breadcrumb li.breadcrumb-item+.breadcrumb-item:before{content:"/";display:inline-block;padding-left:5px;padding-right:5px}.float-left{float:left}.float-right{float:right}.ml-10{margin-left:10px}.pl-0{padding-left:0!important}.fs-18{font-size:18px!important}.tags-control{height:43px;padding:4px!important}.tags-control ul.tags{display:flex}.tags-control ul.tags li{float:left}.tags-control ul.tags li.tag-choice{background-color:#f7f8f9;border-radius:30px;color:#263238;font-size:14px;margin-right:10px;padding:4px 8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.tags-control ul.tags li.tag-input{flex:1 1 20px;margin:0;padding:0;white-space:nowrap}.tags-control ul.tags li.tag-input input{border:0;color:#546e7a;font-size:18px;outline:0;padding:6px 10px;width:100%}.attachment-wrapper .attachment-item{margin-bottom:10px}.attachment-wrapper .attachment-item span{border:2px solid #546e7a;display:inline-block;padding:8px 5px}.attachment-wrapper .attachment-item span input{display:none}.attachment-wrapper .attachment-item span .icon{cursor:pointer}.attachment-wrapper .add-attachment-link{display:inline-block;font-size:18px;margin-top:10px}.row-grid-3{grid-row-gap:15px;grid-column-gap:15px;align-items:center;display:grid;grid-auto-rows:auto;grid-template-columns:repeat(3,1fr)}.bar{background-color:#d4edfb;height:10px}.bar>div{height:10px;transition:.35s cubic-bezier(.4,0,.2,1)}.bar>div.primary{background-color:#0e90d9}.bar>div.warning{background-color:#fbad15}.bar>div.success{background-color:#53c41a}.bar>div.danger{background-color:#ff4d50}.spinner-container{position:relative;text-align:center;top:calc(50% - 24px);width:100%}.spinner-container .meter{border:6px solid #0e90d9;border-radius:50%;box-sizing:border-box;display:inline-block;height:48px;width:48px}.spinner-container .meter:before{-webkit-animation:meter-animate-before 1s linear infinite;animation:meter-animate-before 1s linear infinite;background-color:#0e90d9;border-radius:3px;box-sizing:border-box;content:" ";display:inline-block;height:20px;position:absolute;text-align:center;top:5px;transform-origin:center bottom;width:6px}.spinner-container.full-page{background-color:hsla(0,0%,100%,.7);height:100%;left:0;position:fixed;top:0;width:100%;z-index:11}.spinner-container.full-page .meter{position:relative;top:50%}.spinner-container.full-page .meter:before{top:0}.cursor-pointer{cursor:pointer!important}.display-grid{display:grid}.column-grid-2{grid-gap:10px;align-items:center;display:grid;grid-template-columns:repeat(2,auto)}.bar-chart canvas~img,.line-chart canvas~img{display:none} +@charset "UTF-8";@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/Roboto-Medium.ttf)}@font-face{font-display:swap;font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/Roboto-Regular.ttf)}.icon{background-size:cover;display:inline-block;height:20px;width:20px}.menu-fold-icon{background-image:url(../images/menu-fold-icon.svg);height:24px;width:24px}.menu-fold-icon:hover{background-image:url(../images/menu-fold-active-icon.svg)}.menu-unfold-icon{background-image:url(../images/menu-unfold-icon.svg);height:24px;width:24px}.menu-unfold-icon:hover{background-image:url(../images/menu-unfold-active-icon.svg)}.arrow-down-icon{background-image:url(../images/arrow-down-icon.svg)}.arrow-up-icon{background-image:url(../images/arrow-up-icon.svg)}.arrow-left-icon{background-image:url(../images/arrow-left-icon.svg)}.arrow-right-icon{background-image:url(../images/arrow-right-icon.svg)}.arrow-left-line-icon{background-image:url(../images/arrow-left-line-icon.svg)}.arrow-right-line-icon{background-image:url(../images/arrow-right-line-icon.svg)}.arrow-down-s-icon{background-image:url(../images/arrow-down-s-icon.svg)}.add-icon{background-image:url(../images/add-icon.svg)}.close-icon{background-image:url(../images/close-icon.svg)}.close-white-icon{background-image:url(../images/close-white-icon.svg)}.circle-check-white-icon{background-image:url(../images/circle-check-white-icon.svg)}.circle-close-white-icon{background-image:url(../images/circle-close-white-icon.svg)}.circle-info-white-icon{background-image:url(../images/circle-info-white-icon.svg)}.calendar-icon{background-image:url(../images/calendar-icon.svg)}.time-icon{background-image:url(../images/time-icon.svg)}.align-justify-icon{background-image:url(../images/align-justify-icon.svg)}.reply-icon{background-image:url(../images/reply-icon.svg)}.reply-white-icon{background-image:url(../images/reply-white-icon.svg)}.reply-all-icon{background-image:url(../images/reply-all-icon.svg)}.reply-all-white-icon{background-image:url(../images/reply-all-white-icon.svg)}.forward-icon{background-image:url(../images/forward-icon.svg)}.forward-white-icon{background-image:url(../images/forward-white-icon.svg)}.trash-icon{background-image:url(../images/trash-icon.svg)}.trash-white-icon{background-image:url(../images/trash-white-icon.svg)}.pencil-icon{background-image:url(../images/pencil-icon.svg)}.pencil-underline-icon{background-image:url(../images/pencil-underline-icon.svg)}.eye-icon{background-image:url(../images/eye-icon.svg)}.folder-icon{background-image:url(../images/folder-icon.svg)}.plus-primary-icon{background-image:url(../images/plus-primary-icon.svg)}.plus-black-icon{background-image:url(../images/plus-black-icon.svg)}.plus-white-icon{background-image:url(../images/plus-white-icon.svg)}.download-icon{background-image:url(../images/download-icon.svg)}.search-icon{background-image:url(../images/search-icon.svg)}.ellipsis-icon{background-image:url(../images/ellipsis-icon.svg)}.attachment-icon,.ellipsis-icon{height:24px!important;width:24px!important}.attachment-icon{background-image:url(../images/attachment-icon.svg)}.link-icon{background-image:url(../images/link-icon.svg)}.external-link-icon,.link-icon{height:24px!important;width:24px!important}.external-link-icon{background-image:url(../images/external-link-icon.svg)}.tags-icon{background-image:url(../images/tags-icon.svg)}.loader-icon{background-image:url(../images/loader-icon.svg)}.loader-active-icon,.loader-icon{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-timing-function:linear;animation-timing-function:linear;height:24px!important;width:24px!important}.loader-active-icon{background-image:url(../images/loader-active-icon.svg)}.alert-danger-icon{background-image:url(../images/alert-danger-icon.svg)}.upload-icon{background-image:url(../images/upload-icon.svg)}.export-icon{background-image:url(../images/export-icon.svg)}@-webkit-keyframes jelly{0%{opacity:0;transform:translateY(0) scale(.7)}70%{opacity:1;transform:translateY(5px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes jelly{0%{opacity:0;transform:translateY(0) scale(.7)}70%{opacity:1;transform:translateY(5px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@-webkit-keyframes jelly-out{0%{opacity:1;transform:translateY(0) scale(1)}30%{opacity:1;transform:translateY(-5px) scale(1.05)}to{opacity:0;transform:translateY(0) scale(.7)}}@keyframes jelly-out{0%{opacity:1;transform:translateY(0) scale(1)}30%{opacity:1;transform:translateY(-5px) scale(1.05)}to{opacity:0;transform:translateY(0) scale(.7)}}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@-webkit-keyframes meter-animate-before{0%{transform:rotate(-45deg)}to{transform:rotate(315deg)}}@keyframes meter-animate-before{0%{transform:rotate(-45deg)}to{transform:rotate(315deg)}}.rtl .search-filter .control{border-bottom-left-radius:0;border-bottom-right-radius:3px;border-left:0;border-right:2px solid #c7c7c7;border-top-left-radius:0;border-top-right-radius:3px;padding-right:10px}.rtl .search-filter .icon-wrapper{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0;float:left}.rtl .alert-wrapper .alert{left:unset;margin-right:-324px;right:50%}.rtl .table .table-header .table-action{text-align:left}.rtl .table .table-header .table-action .export-import{margin-left:20px;margin-right:0}.rtl .table .table-body .custom-design-container{right:1200px}.rtl .table .sidebar-filter{left:-420px;right:unset}.rtl .table .sidebar-filter header h1 .right{text-align:left}.rtl .table .sidebar-filter.show{left:0;right:unset}.rtl .table .sidebar-filter .field-container{padding-left:25px;padding-right:0}.rtl .table .sidebar-filter .field-container i.close-icon{left:0;right:unset}.rtl .table .datagrid-filters{display:inline-block}.rtl .table .datagrid-filters.per-page{margin-left:10px;margin-right:10px}.rtl .sidebar-filter header h1 .right,.rtl .table .datagrid-filters .filter-right,.rtl .table table tbody tr td.action,.rtl .table table thead th.actions{text-align:left}.rtl .filtered-tags .filter-tag .cross-icon,.rtl .filtered-tags .filter-tag .wrapper{margin-left:0;margin-right:10px}.rtl .float-left{float:right}.rtl .float-right{float:left}.rtl .field-container label.required:after,.rtl .form-group label.required:after{padding-left:0;padding-right:4px}.rtl .field-container.date .control,.rtl .field-container.datetime .control,.rtl .field-container.time .control,.rtl .form-group.date .control,.rtl .form-group.datetime .control,.rtl .form-group.time .control{padding-right:40px}.rtl .field-container.date .date-container input[type=text],.rtl .field-container.datetime .date-container input[type=text],.rtl .field-container.time .date-container input[type=text],.rtl .form-group.date .date-container input[type=text],.rtl .form-group.datetime .date-container input[type=text],.rtl .form-group.time .date-container input[type=text]{padding-left:22px}.rtl .field-container.date .datetime-container:after,.rtl .field-container.date .time-container:after,.rtl .field-container.datetime .datetime-container:after,.rtl .field-container.datetime .time-container:after,.rtl .field-container.time .datetime-container:after,.rtl .field-container.time .time-container:after,.rtl .form-group.date .datetime-container:after,.rtl .form-group.date .time-container:after,.rtl .form-group.datetime .datetime-container:after,.rtl .form-group.datetime .time-container:after,.rtl .form-group.time .datetime-container:after,.rtl .form-group.time .time-container:after{left:10px;margin-left:unset;margin-right:-34px;right:unset}.rtl .field-container .input-group .input-group-prepend .btn,.rtl .field-container .input-group .input-group-prepend .control,.rtl .form-group .input-group .input-group-prepend .btn,.rtl .form-group .input-group .input-group-prepend .control{border-bottom-left-radius:0;border-bottom-right-radius:3px;border-top-left-radius:0;border-top-right-radius:3px}.rtl .field-container .input-group .input-group-append,.rtl .form-group .input-group .input-group-append{margin-right:-1px}.rtl .field-container .input-group .input-group-append .btn,.rtl .field-container .input-group .input-group-append .control,.rtl .form-group .input-group .input-group-append .btn,.rtl .form-group .input-group .input-group-append .control{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0}.rtl .field-container .input-group .trash-icon,.rtl .form-group .input-group .trash-icon{cursor:pointer;margin-left:0;margin-right:7px;margin-top:21px}.rtl .settings-container .panel .setting-link-container .setting-link-item a .setting-info{margin-left:0;margin-right:25px}.rtl .tree-wrapper .tree-container .tree-item.active>.tree-item{padding-left:0;padding-right:30px}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}:focus{outline:none}body{background:#fff;color:#263238;font-family:Roboto;font-size:18px;font-weight:400;letter-spacing:-.26px;line-height:22px}a{color:#0e90d9}a:active,a:focus,a:hover,a:link,a:visited{color:#0e90d9;text-decoration:none}::-moz-selection{background-color:#0e90d9;color:#fff}::selection{background-color:#0e90d9;color:#fff}::-moz-placeholder{color:#546e7a;opacity:.5}::placeholder{color:#546e7a;opacity:.5}textarea{resize:none}ul{list-style:none;margin:0;padding:0}h1{font-size:24px;margin-top:0}h1,h2{color:#263238;font-weight:500}h2{font-size:20px}h3{font-size:18px}h3,h4{color:#263238;font-weight:500}h4{font-size:16px}h5{color:#263238;font-size:14px;font-weight:500}.hide{display:none!important}.btn{border:2px solid transparent;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;font:inherit;font-weight:500;padding:10px 14px;transition:.2s cubic-bezier(.4,0,.2,1)}.btn:active,.btn:focus,.btn:hover{opacity:.75}.btn.btn-sm{font-size:14px;height:40px;padding:7px 12px}.btn.btn-md{padding:10px 14px}.btn.btn-lg{font-size:24px;padding:12px 18px}.btn.btn-xl{font-size:24px;padding:14px 22px}.btn.btn-primary{background:#0e90d9;color:#fff}.btn.btn-primary-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.btn.btn-secondary{background:#546e7a;color:#fff}.btn.btn-secondary-outline{background:#fff;border:2px solid #546e7a;color:#546e7a}.btn.btn-danger{background:#ff4d50;color:#fff}.btn.btn-danger-outline{background:#fff;border:2px solid #ff4d50;color:#ff4d50}.btn.btn-success{background:#53c41a;color:#fff}.btn.btn-success-outline{background:#fff;border:2px solid #53c41a;color:#53c41a}.btn.btn-warning{background:#fbad15;color:#fff}.btn.btn-warning-outline{background:#fff;border:2px solid #fbad15;color:#fbad15}.btn.btn-white{background:#fff;color:#0e90d9}.btn.btn-white.text-black{color:#000}.btn.btn-white-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.btn:disabled,.btn[disabled=disabled],.btn[disabled=disabled]:active,.btn[disabled=disabled]:hover{background:#b1b1ae;box-shadow:none;cursor:not-allowed;opacity:1}.dropdown-list{background-color:#fff;border:1px solid #f0f0f0;box-shadow:0 2px 5px 0 rgba(39,49,58,.15);display:none;margin-bottom:20px;position:absolute;text-align:left;width:215px;z-index:10}.dropdown-list.bottom-left{left:0;top:42px}.dropdown-list.bottom-right{right:0;top:42px}.dropdown-list.top-left{bottom:0;left:42px}.dropdown-list.top-right{bottom:0;right:42px}.dropdown-list .dropdown-container{overflow-y:auto}.dropdown-list .dropdown-container ul{list-style-type:none;margin:0;padding:0}.dropdown-list .dropdown-container ul li{color:#546e7a;cursor:pointer;font-size:16px;padding:8px 12px}.dropdown-list .dropdown-container ul li a:active,.dropdown-list .dropdown-container ul li a:focus,.dropdown-list .dropdown-container ul li a:link,.dropdown-list .dropdown-container ul li a:visited{color:#546e7a;display:block}.dropdown-list .dropdown-container ul li:hover{background-color:#0e90d9;color:#fff}.dropdown-list .dropdown-container ul li:hover a{color:#fff}.table{overflow-x:auto!important;width:100%}.table .table-header{align-items:center;display:grid;grid-template-columns:repeat(2,auto);margin-bottom:20px}.table .table-header h1{display:inline-block;margin-bottom:0}.table .table-header .table-action{text-align:right}.table .table-header .table-action .export-import{cursor:pointer;margin-right:20px}.table .table-header .table-action .export-import .icon{height:24px;margin-bottom:2px;vertical-align:middle;width:24px}.table .table-header .table-action .export-import span{color:#546e7a}.table .table-header .table-action button{max-height:40px;padding:8px 14px}.table .table-body .custom-design-container{background-color:#fff;border:1px solid #c1c2c3;margin-top:8px;padding:10px;position:absolute;right:25px;width:350px}.table .table-body .custom-design-container .form-group{grid-gap:5px;align-items:center;display:grid;grid-template-columns:150px auto 150px;margin:20px 0;text-align:center}.table .table-body .custom-design-container .form-group.date .date-container{display:inline-block}.table .table-body .custom-design-container .form-group.date .date-container .control{height:40px;margin:0}.table .table-body .custom-design-container .form-group.date .date-container:after{top:calc(50% - 2px)}.table .table-body .custom-design-container i.close-icon{cursor:pointer;float:right}.table .table-body .checkbox{margin:0;text-overflow:unset}.table .table-body .empty-table div{left:calc(50% - 75px);position:absolute;top:calc(50% - 50px)}.table .table-body .empty-table div img{width:150px}.table .table-body .empty-table div span{display:block;margin-top:20px}.table table{background:#fff;border:none;border-collapse:collapse;border-radius:4px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);font-size:16px;margin-top:20px;table-layout:fixed;text-align:left;width:100%}.table table td,.table table th{border-bottom:1px solid #c1c2c3;border-right:1px solid #c1c2c3;color:#546e7a;padding:10px;text-overflow:ellipsis;vertical-align:top;width:100%}.table table thead th{border-bottom:1px solid hsla(210,2%,76%,.5);border-right:0;color:#263238;cursor:not-allowed;font-weight:500;text-transform:capitalize}.table table thead th.master-checkbox{text-overflow:unset;width:41px}.table table thead th.id{width:80px}.table table thead th.actions{text-align:right;width:100px}.table table thead th.actions .action{display:inline-flex}.table table thead th.actions .icon{cursor:pointer;vertical-align:middle}.table table tbody tr{border-bottom:1px solid hsla(210,2%,76%,.5)}.table table tbody tr.active{background-color:#d4edfb;border-bottom:1px solid rgba(14,144,217,.35)}.table table tbody tr td{background-color:hsla(0,0%,100%,.5);border-bottom:none;border-right:0;color:#263238;word-break:break-all}.table table tbody tr td.empty{text-align:center}.table table tbody tr td.action-container a{cursor:pointer}.table table tbody tr td .bold{font-weight:500}.table table tbody tr td.action{text-align:right}.table table tbody tr td.action a{cursor:pointer;margin-right:5px}.table table tbody tr td.action a:last-child{margin-right:0}.table table tbody tr td .spinner-container{margin-top:5px}.table table tbody tr:last-child td{border-bottom:0}.table table tbody tr.active td,.table table tbody tr:hover td{background-color:hsla(210,2%,76%,.1)}.table table tbody tr.no-records{text-align:center}.table .form-group{margin-bottom:0;width:100%}.table .form-group .control{width:100%}.table .form-group.datagrid-filters{margin-bottom:20px}.table .form-group.datagrid-filters input[type=search].control{font-size:15px;height:40px;margin:0;width:280px}.table .dropdown-container{margin-bottom:0;padding:0;position:relative;width:100%}.table .dropdown-container.dropdown-list ul{background-color:#fff;margin-bottom:20px;margin-top:10px;padding:15px;position:absolute;width:100%}.table .dropdown-container.dropdown-list ul li .form-group{margin-bottom:15px}.table .dropdown-container.dropdown-list .apply-filter{padding:10px;width:100%}.table .filtered-tags{margin:20px 0 0}.table .filtered-tags .filter-tag{grid-gap:5px;align-items:center;display:grid;display:inline-grid;grid-template-columns:repeat(2,auto);margin-right:20px;text-transform:capitalize;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .filtered-tags .filter-tag .wrapper{grid-gap:10px;align-items:center;background:#e7e7e7;border-radius:2px;color:#000311;display:grid;display:inline-grid;font-size:14px;grid-template-columns:auto 20px;line-height:40px;padding:0 10px}.table .filtered-tags .filter-tag .wrapper .icon.close-icon{cursor:pointer;position:relative;top:-2px}.table .search-filter{display:inline-block;margin-right:6px;position:relative;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .search-filter .input-search-icon{left:7px;position:absolute;top:10px;z-index:1}.table .search-filter .input-search-icon~input[type=search]{padding-left:30px}.table .search-filter .control{-webkit-appearance:none;border:1px solid #c1c2c3;color:#546e7a;font-size:15px;height:40px;margin:0;padding-left:10px;width:280px}.table .search-filter .contorl:focus{border-color:#0041ff}.table .search-filter .icon-wrapper{border:2px solid #c7c7c7;border-radius:3px;border-bottom-left-radius:0;border-top-left-radius:0;float:right;height:36px;padding:3px;width:36px}.table .datagrid-filters{align-items:center;display:grid;grid-template-columns:repeat(2,auto);width:100%}.table .datagrid-filters .filter-right{text-align:right}.table .datagrid-filters .filter-right .pagination{display:inline-block;height:40px;margin-right:6px}.table .datagrid-filters .filter-right .pagination .page-item .icon{top:10px;vertical-align:top}.table .datagrid-filters .filter-right .filter-btn{cursor:pointer;display:inline-block}.table .datagrid-filters .filter-right .filter-btn .grid-dropdown-header{align-items:center;background-color:#fff;border:1px solid #546e7a;border-radius:3px;color:#546e7a;display:inline-flex;font-weight:500;height:40px;justify-content:space-between;padding:0 7px 0 10px;vertical-align:middle;width:105px}.table .datagrid-filters .filter-right .filter-btn .grid-dropdown-header .arrow-icon-down{float:right}.table .datagrid-filters .dropdown-filters{display:inline-block;margin-right:6px}.table .datagrid-filters .dropdown-filters.per-page .form-group{grid-gap:10px;align-items:center;display:grid;grid-template-columns:repeat(2,auto)}.table .datagrid-filters .dropdown-filters.per-page .form-group .control{border:1px solid #c1c2c3;height:40px;margin:0}.table .datagrid-filters .form-group,.table .datagrid-filters .form-group .control{font-size:16px}.table .tabs-container{align-items:center;display:grid;grid-template-columns:repeat(2,auto);margin:20px 0}.table .tabs-container .tabs-right-container{text-align:right}.table .tabs-container .tabs-right-container section{display:inline-block}.table .tabs-container .tabs-right-container .covered{border:1px solid;padding:7px ​10px}.table .tabs-container .tabs-right-container .group{vertical-align:top}.table .mass-actions{display:inline-block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.table .mass-actions .control{font-size:16px;height:40px;margin:0;padding:9px 10px;width:140px}.table .mass-actions button{height:40px;vertical-align:middle}.pagination{margin-top:20px}.pagination .page-item{background:#fff;border:1px solid #c1c2c3;display:inline-block;font-size:16px;height:100%;margin-right:5px;padding:0 9px;text-decoration:none;vertical-align:middle}.pagination .page-item.previous{border-radius:3px 0 0 3px}.pagination .page-item.next{border-radius:0 3px 3px 0}.pagination .page-item.disabled{cursor:not-allowed!important}.pagination .page-item.active{background:#0041ff;border-color:#0041ff;color:#fff}.pagination .page-item .icon{position:relative;top:4px;vertical-align:middle}.pagination.tab-view{height:34px;margin-top:0}.pagination.tab-view .previous{border-right:0;float:left}.pagination.tab-view .next,.pagination.tab-view .previous{cursor:pointer;margin:0}.pagination.full-view{margin-top:120px}.pagination a,.pagination i{font-size:16px!important;font-weight:700}.field-container,.form-group{color:#546e7a;display:block;font-size:18px;margin-bottom:20px;position:relative;width:100%}.field-container label,.form-group label{display:block;font-size:16px}.field-container label.required:after,.form-group label.required:after{color:#ff4d50;content:"*";display:inline-block;font-weight:700;padding-left:4px}.field-container textarea.control,.form-group textarea.control{height:100px;padding:10px}.field-container .control,.form-group .control{background:#fff;border:1px solid #c1c2c3;border-radius:3px;color:#546e7a;display:inline-block;font-size:18px;margin-bottom:5px;margin-top:10px;padding:10px;transition:.2s cubic-bezier(.4,0,.2,1);vertical-align:middle;width:100%}.field-container .control:focus,.form-group .control:focus{border-color:#0e90d9}.field-container .control[disabled=disabled],.form-group .control[disabled=disabled]{background-color:#c1c2c3;border-color:#c1c2c3;cursor:not-allowed}.field-container .control[multiple],.form-group .control[multiple]{height:100px}.field-container .control-faker,.form-group .control-faker{border:1px solid #c1c2c3;border-radius:3px;margin-bottom:5px;margin-top:10px;padding:10px;word-break:break-all}.field-container.date .control,.field-container.datetime .control,.field-container.time .control,.form-group.date .control,.form-group.datetime .control,.form-group.time .control{padding-right:40px}.field-container.date .date-container,.field-container.date .datetime-container,.field-container.date .time-container,.field-container.datetime .date-container,.field-container.datetime .datetime-container,.field-container.datetime .time-container,.field-container.time .date-container,.field-container.time .datetime-container,.field-container.time .time-container,.form-group.date .date-container,.form-group.date .datetime-container,.form-group.date .time-container,.form-group.datetime .date-container,.form-group.datetime .datetime-container,.form-group.datetime .time-container,.form-group.time .date-container,.form-group.time .datetime-container,.form-group.time .time-container{position:relative}.field-container.date .date-container:after,.field-container.date .datetime-container:after,.field-container.date .time-container:after,.field-container.datetime .date-container:after,.field-container.datetime .datetime-container:after,.field-container.datetime .time-container:after,.field-container.time .date-container:after,.field-container.time .datetime-container:after,.field-container.time .time-container:after,.form-group.date .date-container:after,.form-group.date .datetime-container:after,.form-group.date .time-container:after,.form-group.datetime .date-container:after,.form-group.datetime .datetime-container:after,.form-group.datetime .time-container:after,.form-group.time .date-container:after,.form-group.time .datetime-container:after,.form-group.time .time-container:after{background-image:url(../images/calendar-icon.svg);content:"";height:24px;margin-left:-34px;margin-top:-9px;pointer-events:none;position:absolute;right:10px;top:29px;width:24px}.field-container.date .time-container:after,.field-container.datetime .time-container:after,.field-container.time .time-container:after,.form-group.date .time-container:after,.form-group.datetime .time-container:after,.form-group.time .time-container:after{background-image:url(../images/time-icon.svg)}.field-container .control-info,.form-group .control-info{color:#adadad;display:block;font-size:16px;font-style:italic}.field-container .control-error,.form-group .control-error{color:#ff4d50;display:none;margin-top:5px}.field-container.has-error .control:not([aria-invalid=false]),.form-group.has-error .control:not([aria-invalid=false]){border-color:#ff4d50}.field-container.has-error .control-error,.form-group.has-error .control-error{display:block;width:100%}.field-container.has-error.hide-error input,.form-group.has-error.hide-error input{border:1px solid #c1c2c3!important}.field-container.has-error.hide-error .control-error,.form-group.has-error.hide-error .control-error{display:none!important}.field-container .address-left,.form-group .address-left{float:left;padding-right:5px;width:50%}.field-container .address-left .control,.form-group .address-left .control{height:204px;margin-bottom:0}.field-container .address-right,.form-group .address-right{display:inline-block;padding-left:5px;width:50%}.field-container .address-right .control,.field-container.input-group,.form-group .address-right .control,.form-group.input-group{margin-bottom:0}.field-container .input-group,.form-group .input-group{align-items:stretch;display:flex;flex-wrap:wrap;position:relative;width:100%}.field-container .input-group .input-group-append,.field-container .input-group .input-group-prepend,.form-group .input-group .input-group-append,.form-group .input-group .input-group-prepend{display:flex}.field-container .input-group>.control,.field-container .input-group>.date-container,.field-container .input-group>.datetime-container,.form-group .input-group>.control,.form-group .input-group>.date-container,.form-group .input-group>.datetime-container{flex:1 1 auto;position:relative;width:1%!important}.field-container .input-group>.control:not(:first-child),.field-container .input-group>.date-container:not(:first-child),.field-container .input-group>.datetime-container:not(:first-child),.form-group .input-group>.control:not(:first-child),.form-group .input-group>.date-container:not(:first-child),.form-group .input-group>.datetime-container:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.field-container .input-group>.control:not(:last-child),.field-container .input-group>.date-container:not(:last-child),.field-container .input-group>.datetime-container:not(:last-child),.form-group .input-group>.control:not(:last-child),.form-group .input-group>.date-container:not(:last-child),.form-group .input-group>.datetime-container:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.field-container .input-group>.date-container:not(:first-child),.field-container .input-group>.datetime-container:not(:first-child),.form-group .input-group>.date-container:not(:first-child),.form-group .input-group>.datetime-container:not(:first-child){margin-left:10px}.field-container .input-group>.date-container:not(:last-child),.field-container .input-group>.datetime-container:not(:last-child),.form-group .input-group>.date-container:not(:last-child),.form-group .input-group>.datetime-container:not(:last-child){margin-right:10px}.field-container .input-group .input-group-prepend,.form-group .input-group .input-group-prepend{margin-right:-1px}.field-container .input-group .input-group-prepend .btn,.field-container .input-group .input-group-prepend .control,.form-group .input-group .input-group-prepend .btn,.form-group .input-group .input-group-prepend .control{border-bottom-right-radius:0;border-top-right-radius:0}.field-container .input-group .input-group-append,.form-group .input-group .input-group-append{margin-left:-1px}.field-container .input-group .input-group-append .btn,.field-container .input-group .input-group-append .control,.form-group .input-group .input-group-append .btn,.form-group .input-group .input-group-append .control{border-bottom-left-radius:0;border-top-left-radius:0}.field-container .input-group .trash-icon,.form-group .input-group .trash-icon{cursor:pointer;margin-left:7px;margin-top:21px}.field-container .loader-active-icon,.form-group .loader-active-icon{position:absolute;right:4px;top:14px}.checkbox{display:inline-block;margin:10px 5px 5px 0;position:relative}.checkbox .checkbox-dash,.checkbox .checkbox-view{background-image:url(../images/checkbox-icon.svg);display:inline-block!important;height:24px;margin:0 5px 0 0;vertical-align:middle;width:24px}.checkbox .checkbox-dash{background-image:url(../images/checkbox-dash-icon.svg)}.checkbox input{height:24px;opacity:0;position:absolute;width:24px;z-index:100}.checkbox input:checked+.checkbox-view{background-image:url(../images/checkbox-checked-icon.svg)}.checkbox input:disabled+.checkbox-view{cursor:not-allowed;opacity:.5}.radio{display:block;margin:10px 5px 5px 0;position:relative}.radio .radio-view{background-image:url(../images/radio-icon.svg);display:inline-block!important;height:24px;margin:0 5px 0 0;vertical-align:middle;width:24px}.radio input{left:0;opacity:0;position:absolute;top:0;z-index:100}.radio input:checked+.radio-view{background-image:url(../images/radio-checked-icon.svg)}.radio input:disabled+.radio-view{cursor:not-allowed;opacity:.5}.form-group .switch{display:inline-block;height:34px;margin-bottom:5px;margin-top:10px;position:relative;width:60px}.form-group .switch .slider{background-color:#c1c2c3;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.2s}.form-group .switch .slider:before{background-color:#fff;bottom:4px;content:"";height:26px;left:4px;position:absolute;transition:.2s;width:26px}.form-group .switch .slider.round{border-radius:34px}.form-group .switch .slider.round:before{border-radius:50%}.form-group .switch input{height:0;opacity:0;width:0}.form-group .switch input:checked+.slider{background-color:#0e90d9}.form-group .switch input:focus+.slider{box-shadow:0 0 1px #0e90d9}.form-group .switch input:checked+.slider:before{transform:translateX(26px)}.alert-wrapper{bottom:10px;position:fixed;right:10px;width:100%;z-index:100}.alert-wrapper .alert{-webkit-animation:jelly .5s ease-in-out;animation:jelly .5s ease-in-out;border-radius:3px;box-shadow:0 4px 15.36px .64px rgba(0,0,0,.1),0 2px 6px 0 rgba(0,0,0,.12);display:block;left:50%;margin-bottom:10px;margin-left:-324px;padding:15px 44px;position:relative;text-align:left;transform-origin:center top;width:648px;z-index:500}.alert-wrapper .alert.error{background:#ff4d50}.alert-wrapper .alert.info{background:#204d74}.alert-wrapper .alert.success{background:#53c41a}.alert-wrapper .alert.warning{background:#fbad15}.alert-wrapper .alert .icon{position:absolute}.alert-wrapper .alert .icon:first-child{left:10px;top:15px}.alert-wrapper .alert .icon:last-child{cursor:pointer;right:10px;top:10px}.alert-wrapper .alert p{color:#fff;font-size:16px;margin:0}.tabs ul li{display:inline-block}.tabs ul li a{color:#546e7a;cursor:pointer;display:block;font-weight:500;padding:10px 30px;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tabs ul li.has-error a{color:#ff4d50}.tabs ul li.active a{box-shadow:inset 0 -2px 0 #0e90d9;color:#0e90d9}.tabs-content{background:#fff;border:none;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);padding:30px}.pill{display:inline-block;height:34px}.pill .tabs ul li{font-size:16px}.pill .tabs ul li:first-child a{padding-left:0}.pill .tabs ul li a{padding:6px 15px}.pill .tabs ul li.active a{background:#0e90d9;border-radius:22px;color:#fff;padding:5px 15px}.group{display:inline-block;height:34px}.group .tabs ul li{border:1px solid #c1c2c3;font-size:16px}.group .tabs ul li:not(:last-child){border-right:0}.group .tabs ul li.active{background:#0e90d9;border-radius:0!important}.group .tabs ul li.active a{color:#fff}.group .tabs ul li a{padding:5px 10px}.accordian,accordian{display:inline-block;width:100%}.accordian .accordian-header,.accordian div[slot*=header],accordian .accordian-header,accordian div[slot*=header]{border-bottom:1px solid #c1c2c3;color:#546e7a;cursor:pointer;display:inline-block;font-size:18px;font-weight:500;margin-top:-1px;padding:15px 30px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.accordian .accordian-header h1,.accordian div[slot*=header] h1,accordian .accordian-header h1,accordian div[slot*=header] h1{display:inline-block;font-weight:500;margin:0}.accordian .accordian-header .icon,.accordian div[slot*=header] .icon,accordian .accordian-header .icon,accordian div[slot*=header] .icon{float:right}.accordian .accordian-header .icon.left,.accordian div[slot*=header] .icon.left,accordian .accordian-header .icon.left,accordian div[slot*=header] .icon.left{float:left}.accordian.has-error .accordian-header,accordian.has-error .accordian-header{color:#ff4d50}.accordian .accordian-content,.accordian div[slot*=body],accordian .accordian-content,accordian div[slot*=body]{border:1px solid #d3d3d3;border-top:0;display:none;padding:30px;width:100%}.accordian.active>.accordian-content,accordian.active>.accordian-content{display:inline-block}.panel .panel-header{color:#263238;color:#546e7a;font-size:18px;font-weight:500;padding:16px 0}.panel .panel-body{background-color:#fff;border:none;border-radius:3px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);padding:16px}modal{display:none}.modal-overlay{background:#263238;bottom:0;display:none;left:0;opacity:.5;overflow-y:auto;position:fixed;right:0;top:0;z-index:10}.modal-container{-webkit-animation:jelly .5s ease-in-out;animation:jelly .5s ease-in-out;background:#fff;border-radius:8px;left:50%;margin-left:-300px;max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:auto;position:fixed;top:100px;width:600px;z-index:11}.modal-container .modal-header{align-items:center;background:#fff;border-bottom:1px solid #c1c2c3;display:grid;grid-template-columns:repeat(2,auto);padding:20px 20px 10px;position:relative;width:inherit;z-index:10}.modal-container .modal-header h3{display:table-cell;font-weight:500;margin:0;vertical-align:middle}.modal-container .modal-header h2{display:inline-block;margin:0}.modal-container .modal-header .header-actions{text-align:right}.modal-container .modal-header .header-actions .icon{cursor:pointer}.modal-container .modal-body{padding:30px;position:relative}.modal-container .modal-body .tabs-content{box-shadow:none}.modal-open{overflow:hidden}.modal-open .modal-overlay{display:block}.badge{border:2px solid transparent;border-radius:4px;color:#fff;display:inline-block;font-size:16px}.badge.badge-pill,.badge.badge-sm{padding:2px 8px}.badge.badge-md{padding:4px 10px}.badge.badge-lg{padding:6px 12px}.badge.badge-xl{padding:8px 14px}.badge.badge-pill{border-radius:10rem}.badge.badge-primary{background:#0e90d9;color:#fff}.badge.badge-primary-outline{background:#fff;border:2px solid #0e90d9;color:#0e90d9}.badge.badge-secondary{background:#546e7a;color:#fff}.badge.badge-secondary-outline{background:#fff;border:2px solid #546e7a;color:#546e7a}.badge.badge-danger{background:#ff4d50;color:#fff}.badge.badge-danger-outline{background:#fff;border:2px solid #ff4d50;color:#ff4d50}.badge.badge-success{background:#53c41a;color:#fff}.badge.badge-success-outline{background:#fff;border:2px solid #53c41a;color:#53c41a}.badge.badge-warning{background:#fbad15;color:#fff}.badge.badge-warning-outline{background:#fff;border:2px solid #fbad15;color:#fbad15}.badge.badge-white,.badge.badge-white-outline{background:#fff;color:#0e90d9}.badge.badge-white-outline{border:2px solid #0e90d9}.badge.badge-round{height:8px;margin-right:5px;padding:0;width:8px}.overlay-loader{left:50%;margin-left:-24px;margin-top:-24px;position:fixed;top:50%;z-index:11}.tooltip{display:block!important;z-index:10000}.tooltip.hide{display:none!important}.tooltip .tooltip-inner{background:#0e90d9;border-radius:4px;color:#fff;font-size:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{border-color:#0e90d9;border-style:solid;height:0;margin:5px;position:absolute;width:0;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-width:5px 5px 0;bottom:-5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:0 5px 5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0;top:-5px}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-top-color:transparent!important;border-width:5px 5px 5px 0;left:-5px;margin-left:0;margin-right:0;top:calc(50% - 5px)}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-bottom-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:5px 0 5px 5px;margin-left:0;margin-right:0;right:-5px;top:calc(50% - 5px)}.sidebar-filter{background-color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.18);display:inline-block;height:100vh;overflow-y:scroll;padding:30px 15px 30px 20px;position:fixed;right:-420px;top:0;transition:.35s cubic-bezier(.4,0,.2,1);width:420px;z-index:10}.sidebar-filter.show{right:0}.sidebar-filter header{border-bottom:1px solid #c1c2c3;margin-bottom:25px;padding-bottom:25px}.sidebar-filter header h1{align-items:center;display:grid;font-weight:400;grid-template-columns:repeat(2,auto);margin:0;padding:0}.sidebar-filter header h1 .right{text-align:right}.sidebar-filter header h1 .right label{color:#0e90d9;cursor:pointer;display:inline-block;font-size:18px;margin-right:20px}.sidebar-filter header h1 .right i.close-icon{vertical-align:middle}.sidebar-filter .field-container{margin-bottom:10px;padding-right:25px;position:relative}.sidebar-filter .field-container label{font-weight:500}.sidebar-filter .field-container .control{font-size:16px;max-height:40px}.sidebar-filter .field-container .control.half{width:151px}.sidebar-filter .field-container .middle-text{margin:0 8px}.sidebar-filter .field-container .date-container{display:inline-block}.sidebar-filter .field-container .enter-new{display:inline-block;width:100%}.sidebar-filter .field-container .enter-new input{width:100%}.sidebar-filter .field-container>i.close-icon{position:absolute;right:0;top:17px}.sidebar-filter .selected-options{margin-top:10px}.sidebar-filter .selected-options .badge{background-color:#f7f8f9;color:#546e7a;margin-bottom:10px}.sidebar-filter .form-group{margin-bottom:20px}.sidebar-filter i.add-icon,.sidebar-filter i.close-icon{cursor:pointer}.tree-wrapper .icon{margin-right:10px}.tree-wrapper .checkbox{margin-bottom:15px!important;margin-top:0!important}.tree-wrapper .tree-item{padding-left:30px}.tree-wrapper .tree-item.active>.arrow-down-icon{background-image:url(../images/arrow-down-icon.svg)}.tree-wrapper .tree-item>.arrow-down-icon{background-image:url(../images/arrow-right-icon.svg);cursor:pointer}.tree-wrapper .tree-container>.tree-item{padding:0}.tree-wrapper .tree-container .tree-item>.tree-item{display:none}.tree-wrapper .tree-container .tree-item.active>.tree-item{display:block}ol.breadcrumb{font-size:14px;font-weight:400;list-style:none;margin-bottom:5px;margin-top:0;padding:0}ol.breadcrumb li.breadcrumb-item{display:inline-block}ol.breadcrumb li.breadcrumb-item+.breadcrumb-item:before{content:"/";display:inline-block;padding-left:5px;padding-right:5px}.float-left{float:left}.float-right{float:right}.ml-10{margin-left:10px}.pl-0{padding-left:0!important}.fs-18{font-size:18px!important}.tags-control{height:43px;padding:4px!important}.tags-control ul.tags{display:flex}.tags-control ul.tags li{float:left}.tags-control ul.tags li.tag-choice{background-color:#f7f8f9;border-radius:30px;color:#263238;font-size:14px;margin-right:10px;padding:4px 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.tags-control ul.tags li.tag-input{flex:1 1 20px;margin:0;padding:0;white-space:nowrap}.tags-control ul.tags li.tag-input input{border:0;color:#546e7a;font-size:18px;outline:0;padding:6px 10px;width:100%}.attachment-wrapper .attachment-item{margin-bottom:10px}.attachment-wrapper .attachment-item span{border:2px solid #546e7a;display:inline-block;padding:8px 5px}.attachment-wrapper .attachment-item span input{display:none}.attachment-wrapper .attachment-item span .icon{cursor:pointer}.attachment-wrapper .add-attachment-link{display:inline-block;font-size:18px;margin-top:10px}.row-grid-3{grid-row-gap:15px;grid-column-gap:15px;align-items:center;display:grid;grid-auto-rows:auto;grid-template-columns:repeat(3,1fr)}.bar{background-color:#d4edfb;height:10px}.bar>div{height:10px;transition:.35s cubic-bezier(.4,0,.2,1)}.bar>div.primary{background-color:#0e90d9}.bar>div.warning{background-color:#fbad15}.bar>div.success{background-color:#53c41a}.bar>div.danger{background-color:#ff4d50}.spinner-container{position:relative;text-align:center;top:calc(50% - 24px);width:100%}.spinner-container .meter{border:6px solid #0e90d9;border-radius:50%;box-sizing:border-box;display:inline-block;height:48px;width:48px}.spinner-container .meter:before{-webkit-animation:meter-animate-before 1s linear infinite;animation:meter-animate-before 1s linear infinite;background-color:#0e90d9;border-radius:3px;box-sizing:border-box;content:" ";display:inline-block;height:20px;position:absolute;text-align:center;top:5px;transform-origin:center bottom;width:6px}.spinner-container.full-page{background-color:hsla(0,0%,100%,.7);height:100%;left:0;position:fixed;top:0;width:100%;z-index:11}.spinner-container.full-page .meter{position:relative;top:50%}.spinner-container.full-page .meter:before{top:0}.cursor-pointer{cursor:pointer!important}.display-grid{display:grid}.column-grid-2{grid-gap:10px;align-items:center;display:grid;grid-template-columns:repeat(2,auto)}.bar-chart canvas~img,.line-chart canvas~img{display:none} diff --git a/packages/Webkul/UI/publishable/assets/js/ui.js b/packages/Webkul/UI/publishable/assets/js/ui.js index 95f8fcf44..95adfe1ac 100644 --- a/packages/Webkul/UI/publishable/assets/js/ui.js +++ b/packages/Webkul/UI/publishable/assets/js/ui.js @@ -1,2 +1,2 @@ /*! For license information please see ui.js.LICENSE.txt */ -(()=>{var e,t={26981:(e,t,n)=>{"use strict";n(11983);var r,a=(r=n(40115))&&r.__esModule?r:{default:r};a.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),a.default._babelPolyfill=!0},11983:(e,t,n)=>{"use strict";n(16266),n(10990),n(70911),n(14160),n(6197),n(96728),n(54039),n(93568),n(78051),n(38250),n(15434),n(54952),n(96337),n(35666)},66225:(e,t,n)=>{"use strict";const r={filters:{},tableData:{records:{data:{}},columns:[],actions:[],tabFilters:[],massactions:[],paginationData:{has_pages:!1}},allSelected:!1,sidebarFilter:!1,selectedTableRows:[],filterData:{deal_amount_range:{label:"Deal Amount Range",type:"integer_range",values:["1000","50000"]},contact_person:{label:"Contact Person",type:"add",placeholder:"Add Person",input_field_placeholder:"Enter Person",values:["Shubham","Webkul"]},date_range:{label:"Date Range",type:"date_range",values:["2021-04-02","2021-04-03"]},status:{label:"Status",type:"dropdown",placeholder:"Select Status",values:["Won","Lost"],options:["Won","Lost"]},phone_number:{label:"Phone",type:"add",placeholder:"Add Number",input_field_placeholder:"Enter Number",values:["987654321","987654321"]}},customTabFilter:!1};const a={toggleSidebarFilter:function(e){var t=e.state;t.sidebarFilter=!t.sidebarFilter,$(".sidebar-filter").toggleClass("show")},updateFilterValues:function(e,t){(0,e.commit)("UPDATE_FILTER_VALUES",t)},selectAllRows:function(e,t){(0,e.commit)("SELECT_ALL_ROWS",t)},selectTableRow:function(e,t){(0,e.commit)("SELECT_TABLE_ROW",t)},updateTableData:function(e,t){e.state.tableData=t}};const i={UPDATE_FILTER_VALUES:function(e,t){var n,r=(null==t?void 0:t.key)||null;if(r)for(var a in e.tableData.columns)a==r&&(r=e.tableData.columns[a].index,e.tableData.columns[a].values=t.values);EventBus.$emit("updateFilter",{key:r,value:null==t||null===(n=t.values)||void 0===n?void 0:n.toString(),cond:(null==t?void 0:t.condition)||"in"})},SELECT_ALL_ROWS:function(e,t){t&&e.selectedTableRows.length>0?(e.selectedTableRows=[],e.allSelected=!1):(e.selectedTableRows=[],e.allSelected=t||!e.allSelected,e.tableData.records.data.forEach((function(t){e.allSelected&&e.selectedTableRows.push(t.id)})))},SELECT_TABLE_ROW:function(e,t){var n=!1;e.selectedTableRows.forEach((function(r,a){r==t&&(n=!0,e.selectedTableRows.splice(a,1))})),n||e.selectedTableRows.push(t),e.allSelected=e.tableData.records.data.length==e.selectedTableRows.length}};const o=new(n(20629).ZP.Store)({state:r,actions:a,mutations:i});function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n=0)return 1;return 0}();var h=d&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),c))}};function f(e){return e&&"[object Function]"==={}.toString.call(e)}function p(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function m(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function _(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=p(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:_(m(e))}function g(e){return e&&e.referenceNode?e.referenceNode:e}var v=d&&!(!window.MSInputMethodContext||!document.documentMode),y=d&&/MSIE 10/.test(navigator.userAgent);function b(e){return 11===e?v:10===e?y:v||y}function M(e){if(!e)return document.documentElement;for(var t=b(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===p(n,"position")?M(n):n:e?e.ownerDocument.documentElement:document.documentElement}function w(e){return null!==e.parentNode?w(e.parentNode):e}function k(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(a,0);var o,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(a))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&M(o.firstElementChild)!==o?M(l):l;var u=w(e);return u.host?k(u.host,t):k(e,w(t).host)}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var a=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||a;return i[n]}return e[n]}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=x(t,"top"),a=x(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=a*i,e.right+=a*i,e}function D(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function Y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],b(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function S(e){var t=e.body,n=e.documentElement,r=b(10)&&getComputedStyle(n);return{height:Y("Height",t,n,r),width:Y("Width",t,n,r)}}var T=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},C=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=b(10),a="HTML"===t.nodeName,i=A(e),o=A(t),s=_(e),l=p(t),u=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var c=P({top:i.top-o.top-u,left:i.left-o.left-d,width:i.width,height:i.height});if(c.marginTop=0,c.marginLeft=0,!r&&a){var h=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);c.top-=u-h,c.bottom-=u-h,c.left-=d-f,c.right-=d-f,c.marginTop=h,c.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(c=L(c,t)),c}function H(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=E(e,n),a=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:x(n),s=t?0:x(n,"left"),l={top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:a,height:i};return P(l)}function F(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===p(e,"position"))return!0;var n=m(e);return!!n&&F(n)}function N(e){if(!e||!e.parentElement||b())return document.documentElement;for(var t=e.parentElement;t&&"none"===p(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=a?N(e):k(e,g(t));if("viewport"===r)i=H(o,a);else{var s=void 0;"scrollParent"===r?"BODY"===(s=_(m(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=E(s,o,a);if("HTML"!==s.nodeName||F(o))i=l;else{var u=S(e.ownerDocument),d=u.height,c=u.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=c+l.left}}var h="number"==typeof(n=n||0);return i.left+=h?n:n.left||0,i.top+=h?n:n.top||0,i.right-=h?n:n.right||0,i.bottom-=h?n:n.bottom||0,i}function R(e){return e.width*e.height}function W(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=I(n,r,i,a),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(s).map((function(e){return j({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),d=u.length>0?u[0].key:l[0].key,c=e.split("-")[1];return d+(c?"-"+c:"")}function z(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=r?N(t):k(t,g(n));return E(n,a,r)}function V(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function B(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function U(e,t,n){n=n.split("-")[0];var r=V(e),a={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),o=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return a[o]=t[o]+t[l]/2-r[l]/2,a[s]=n===s?t[s]-r[u]:t[B(s)],a}function G(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function J(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=G(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&f(n)&&(t.offsets.popper=P(t.offsets.popper),t.offsets.reference=P(t.offsets.reference),t=n(t,e))})),t}function Z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=z(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=W(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=U(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=J(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function q(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function K(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=ue.indexOf(e),r=ue.slice(n+1).concat(ue.slice(0,n));return t?r.reverse():r}var ce="flip",he="clockwise",fe="counterclockwise";function pe(e,t,n,r){var a=[0,0],i=-1!==["right","left"].indexOf(r),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=o.indexOf(G(o,(function(e){return-1!==e.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(u=u.map((function(e,r){var a=(1===r?!i:i)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+a[1],o=a[2];if(!i)return e;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}return P(s)[t]/100*i}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,a,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){ae(n)&&(a[t]+=n*("-"===e[r-1]?-1:1))}))})),a}var me={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var a=e.offsets,i=a.reference,o=a.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",d={start:O({},l,i[l]),end:O({},l,i[l]+i[u]-o[u])};e.offsets.popper=j({},o,d[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,a=e.offsets,i=a.popper,o=a.reference,s=r.split("-")[0],l=void 0;return l=ae(+n)?[+n,0]:pe(n,i,o,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||M(e.instance.popper);e.instance.reference===n&&(n=M(n));var r=K("transform"),a=e.instance.popper.style,i=a.top,o=a.left,s=a[r];a.top="",a.left="",a[r]="";var l=I(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);a.top=i,a.left=o,a[r]=s,t.boundaries=l;var u=t.priority,d=e.offsets.popper,c={primary:function(e){var n=d[e];return d[e]l[e]&&!t.escapeWithReference&&(r=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),O({},n,r)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=j({},d,c[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,a=e.placement.split("-")[0],i=Math.floor,o=-1!==["top","bottom"].indexOf(a),s=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return n[s]i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!se(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],i=e.offsets,o=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(a),u=l?"height":"width",d=l?"Top":"Left",c=d.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",m=V(r)[u];s[f]-mo[f]&&(e.offsets.popper[c]+=s[c]+m-o[f]),e.offsets.popper=P(e.offsets.popper);var _=s[c]+s[u]/2-m/2,g=p(e.instance.popper),v=parseFloat(g["margin"+d]),y=parseFloat(g["border"+d+"Width"]),b=_-e.offsets.popper[c]-v-y;return b=Math.max(Math.min(o[u]-m,b),0),e.arrowElement=r,e.offsets.arrow=(O(n={},c,Math.round(b)),O(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(q(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],a=B(r),i=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case ce:o=[r,a];break;case he:o=de(r);break;case fe:o=de(r,!0);break;default:o=t.behavior}return o.forEach((function(s,l){if(r!==s||o.length===l+1)return e;r=e.placement.split("-")[0],a=B(r);var u=e.offsets.popper,d=e.offsets.reference,c=Math.floor,h="left"===r&&c(u.right)>c(d.left)||"right"===r&&c(u.left)c(d.top)||"bottom"===r&&c(u.top)c(n.right),m=c(u.top)c(n.bottom),g="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&_,v=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(v&&"start"===i&&f||v&&"end"===i&&p||!v&&"start"===i&&m||!v&&"end"===i&&_),b=!!t.flipVariationsByContent&&(v&&"start"===i&&p||v&&"end"===i&&f||!v&&"start"===i&&_||!v&&"end"===i&&m),M=y||b;(h||g||M)&&(e.flipped=!0,(h||g)&&(r=o[l+1]),M&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=j({},e.offsets.popper,U(e.instance.popper,e.offsets.reference,e.placement)),e=J(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,a=r.popper,i=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return a[o?"left":"top"]=i[n]-(s?a[o?"width":"height"]:0),e.placement=B(t),e.offsets.popper=P(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!se(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=G(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=h(this.update.bind(this)),this.options=j({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(j({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=j({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return j({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&f(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return C(e,[{key:"update",value:function(){return Z.call(this)}},{key:"destroy",value:function(){return X.call(this)}},{key:"enableEventListeners",value:function(){return ne.call(this)}},{key:"disableEventListeners",value:function(){return re.call(this)}}]),e}();_e.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,_e.placements=le,_e.Defaults=me;const ge=_e;var ve,ye=n(18446),be=n.n(ye);function Me(){Me.init||(Me.init=!0,ve=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}())}function we(e,t,n,r,a,i,o,s,l,u){"boolean"!=typeof o&&(l=s,s=o,o=!1);var d,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,a&&(c.functional=!0)),r&&(c._scopeId=r),i?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=d):t&&(d=o?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(c.functional){var h=c.render;c.render=function(e,t){return d.call(t),h(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,d):[d]}return n}var ke={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;Me(),this.$nextTick((function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()}));var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",ve&&this.$el.appendChild(t),t.data="about:blank",ve||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ve&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},xe=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};xe._withStripped=!0;var Le=we({render:xe,staticRenderFns:[]},undefined,ke,"data-v-8859cc6c",false,undefined,!1,void 0,void 0,void 0);var De={version:"1.0.1",install:function(e){e.component("resize-observer",Le),e.component("ResizeObserver",Le)}},Ye=null;"undefined"!=typeof window?Ye=window.Vue:void 0!==n.g&&(Ye=n.g.Vue),Ye&&Ye.use(De);var Se=n(82492),Te=n.n(Se),Ce=function(){};function Oe(e){return"string"==typeof e&&(e=e.split(" ")),e}function je(e,t){var n,r=Oe(t);n=e.className instanceof Ce?Oe(e.className.baseVal):Oe(e.className),r.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}function Pe(e,t){var n,r=Oe(t);n=e.className instanceof Ce?Oe(e.className.baseVal):Oe(e.className),r.forEach((function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)})),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}"undefined"!=typeof window&&(Ce=window.SVGAnimatedString);var Ae=!1;if("undefined"!=typeof window){Ae=!1;try{var Ee=Object.defineProperty({},"passive",{get:function(){Ae=!0}});window.addEventListener("test",null,Ee)}catch(e){}}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t
',trigger:"hover focus",offset:0},Ie=[],Re=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"_events",[]),l(this,"_setTooltipNodeEvent",(function(e,t,n,a){var i=e.relatedreference||e.toElement||e.relatedTarget;return!!r._tooltipNode.contains(i)&&(r._tooltipNode.addEventListener(e.type,(function n(i){var o=i.relatedreference||i.toElement||i.relatedTarget;r._tooltipNode.removeEventListener(e.type,n),t.contains(o)||r._scheduleHide(t,a.delay,a,i)})),!0)})),n=Fe(Fe({},Ne),n),t.jquery&&(t=t[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=t,this.options=n,this._isOpen=!1,this._init()}var t,n,r;return t=e,(n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||Ke.options.defaultClass;be()(this._classes,n)||(this.setClasses(n),t=!0),e=Ue(e);var r=!1,a=!1;for(var i in this.options.offset===e.offset&&this.options.placement===e.placement||(r=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(a=!0),e)this.options[i]=e[i];if(this._tooltipNode)if(a){var o=this._isOpen;this.dispose(),this._init(),o&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),e=e.filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})),this._setEventListeners(this.reference,e,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(e,t){var n=this,r=window.document.createElement("div");r.innerHTML=t.trim();var a=r.childNodes[0];return a.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),a.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(a.addEventListener("mouseenter",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)})),a.addEventListener("click",(function(t){return n._scheduleHide(e,n.options.delay,n.options,t)}))),a}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then((function(){n.popperInstance&&n.popperInstance.update()}))}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise((function(r,a){var i=t.html,o=n._tooltipNode;if(o){var s=o.querySelector(n.options.innerSelector);if(1===e.nodeType){if(i){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(e)}}else{if("function"==typeof e){var l=e();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,t.loadingClass&&je(o,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),l.then((function(e){return t.loadingClass&&Pe(o,t.loadingClass),n._applyContent(e,t)})).then(r).catch(a)):n._applyContent(l,t).then(r).catch(a))}i?s.innerHTML=e:s.innerText=e}r()}}))}},{key:"_show",value:function(e,t){if(!t||"string"!=typeof t.container||document.querySelector(t.container)){clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(je(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(e,t);return n&&this._tooltipNode&&je(this._tooltipNode,this._classes),je(e,["v-tooltip-open"]),r}}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,Ie.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var r=e.getAttribute("title")||t.title;if(!r)return this;var a=this._create(e,t.template);this._tooltipNode=a,e.setAttribute("aria-describedby",a.id);var i=this._findContainer(t.container,e);this._append(a,i);var o=Fe(Fe({},t.popperOptions),{},{placement:t.placement});return o.modifiers=Fe(Fe({},o.modifiers),{},{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(o.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new ge(e,a,o),this._setContent(r,t),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&a.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var e=Ie.indexOf(this);-1!==e&&Ie.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=Ke.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout((function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._removeTooltipNode())}),t)),Pe(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var e=this._tooltipNode.parentNode;e&&(e.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(t){var n=t.func,r=t.event;e.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var r=this,a=[],i=[];t.forEach((function(e){switch(e){case"hover":a.push("mouseenter"),i.push("mouseleave"),r.options.hideOnTargetClick&&i.push("click");break;case"focus":a.push("focus"),i.push("blur"),r.options.hideOnTargetClick&&i.push("click");break;case"click":a.push("click"),i.push("click")}})),a.forEach((function(t){var a=function(t){!0!==r._isOpen&&(t.usedByTooltip=!0,r._scheduleShow(e,n.delay,n,t))};r._events.push({event:t,func:a}),e.addEventListener(t,a)})),i.forEach((function(t){var a=function(t){!0!==t.usedByTooltip&&r._scheduleHide(e,n.delay,n,t)};r._events.push({event:t,func:a}),e.addEventListener(t,a)}))}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var r=this,a=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return r._show(e,n)}),a)}},{key:"_scheduleHide",value:function(e,t,n,r){var a=this,i=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==a._isOpen&&a._tooltipNode.ownerDocument.body.contains(a._tooltipNode)){if("mouseleave"===r.type&&a._setTooltipNodeEvent(r,e,t,n))return;a._hide(e,n)}}),i)}}])&&u(t.prototype,n),r&&u(t,r),e}();function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t
',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function Ue(e){var t={placement:void 0!==e.placement?e.placement:Ke.options.defaultPlacement,delay:void 0!==e.delay?e.delay:Ke.options.defaultDelay,html:void 0!==e.html?e.html:Ke.options.defaultHtml,template:void 0!==e.template?e.template:Ke.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:Ke.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:Ke.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:Ke.options.defaultTrigger,offset:void 0!==e.offset?e.offset:Ke.options.defaultOffset,container:void 0!==e.container?e.container:Ke.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:Ke.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:Ke.options.autoHide,hideOnTargetClick:void 0!==e.hideOnTargetClick?e.hideOnTargetClick:Ke.options.defaultHideOnTargetClick,loadingClass:void 0!==e.loadingClass?e.loadingClass:Ke.options.defaultLoadingClass,loadingContent:void 0!==e.loadingContent?e.loadingContent:Ke.options.defaultLoadingContent,popperOptions:ze({},void 0!==e.popperOptions?e.popperOptions:Ke.options.defaultPopperOptions)};if(t.offset){var n=s(t.offset),r=t.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, ".concat(r)),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:r}}return t.trigger&&-1!==t.trigger.indexOf("click")&&(t.hideOnTargetClick=!1),t}function Ge(e,t){for(var n=e.placement,r=0;r<$e.length;r++){var a=$e[r];t[a]&&(n=a)}return n}function Je(e){var t=s(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function Ze(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip,delete e._tooltipOldShow),e._tooltipTargetClasses&&(Pe(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function qe(e,t){var n=t.value;t.oldValue;var r,a=t.modifiers,i=Je(n);i&&Ve.enabled?(e._tooltip?((r=e._tooltip).setContent(i),r.setOptions(ze(ze({},n),{},{placement:Ge(n,a)}))):r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Je(t),a=void 0!==t.classes?t.classes:Ke.options.defaultClass,i=ze({title:r},Ue(ze(ze({},"object"===s(t)?t:{}),{},{placement:Ge(t,n)}))),o=e._tooltip=new Re(e,i);o.setClasses(a),o._vueEl=e;var l=void 0!==t.targetClasses?t.targetClasses:Ke.options.defaultTargetClass;return e._tooltipTargetClasses=l,je(e,l),o}(e,n,a),void 0!==n.show&&n.show!==e._tooltipOldShow&&(e._tooltipOldShow=n.show,n.show?r.show():r.hide())):Ze(e)}var Ke={options:Be,bind:qe,update:qe,unbind:function(e){Ze(e)}};function Xe(e){e.addEventListener("click",et),e.addEventListener("touchstart",tt,!!Ae&&{passive:!0})}function Qe(e){e.removeEventListener("click",et),e.removeEventListener("touchstart",tt),e.removeEventListener("touchend",nt),e.removeEventListener("touchcancel",rt)}function et(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function tt(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",nt),t.addEventListener("touchcancel",rt)}}function nt(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function rt(e){e.currentTarget.$_vclosepopover_touch=!1}var at={bind:function(e,t){var n=t.value,r=t.modifiers;e.$_closePopoverModifiers=r,(void 0===n||n)&&Xe(e)},update:function(e,t){var n=t.value,r=t.oldValue,a=t.modifiers;e.$_closePopoverModifiers=a,n!==r&&(void 0===n||n?Xe(e):Qe(e))},unbind:function(e){Qe(e)}};function it(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ot(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=t.event;t.skipDelay;var r=t.force,a=void 0!==r&&r;!a&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){e.$_beingShowed=!1}))},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay,this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var r=this.$_findContainer(this.container,t);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){e.hidden||(e.isOpen=!0)}))}if(!this.popperInstance){var a=ot(ot({},this.popperOptions),{},{placement:this.placement});if(a.modifiers=ot(ot({},a.modifiers),{},{arrow:ot(ot({},a.modifiers&&a.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var i=this.$_getOffset();a.modifiers.offset=ot(ot({},a.modifiers&&a.modifiers.offset),{},{offset:i})}this.boundariesElement&&(a.modifiers.preventOverflow=ot(ot({},a.modifiers&&a.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new ge(t,n,a),requestAnimationFrame((function(){if(e.hidden)return e.hidden=!1,void e.$_hide();!e.$_isDisposed&&e.popperInstance?(e.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(e.hidden)return e.hidden=!1,void e.$_hide();e.$_isDisposed?e.dispose():e.isOpen=!0}))):e.dispose()}))}var o=this.openGroup;if(o)for(var s,l=0;l1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(e.isOpen){if(t&&"mouseleave"===t.type)if(e.$_setTooltipNodeEvent(t))return;e.$_hide()}}),r)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,r=this.$refs.popover,a=e.relatedreference||e.toElement||e.relatedTarget;return!!r.contains(a)&&(r.addEventListener(e.type,(function a(i){var o=i.relatedreference||i.toElement||i.relatedTarget;r.removeEventListener(e.type,a),n.contains(o)||t.hide({event:i})})),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach((function(t){var n=t.func,r=t.event;e.removeEventListener(r,n)})),this.$_events=[]},$_updatePopper:function(e){this.popperInstance&&(e(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),e&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){t.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function ht(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var r=ut[n];if(r.$refs.popover){var a=r.$refs.popover.contains(e.target);requestAnimationFrame((function(){(e.closeAllPopover||e.closePopover&&a||r.autoHide&&!a)&&r.$_handleGlobalClose(e,t)}))}},r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(!e.installed){e.installed=!0;var r={};Te()(r,Be,n),gt.options=r,Ke.options=r,t.directive("tooltip",Ke),t.directive("close-popover",at),t.component("VPopover",_t)}},get enabled(){return Ve.enabled},set enabled(e){Ve.enabled=e}},vt=null;"undefined"!=typeof window?vt=window.Vue:void 0!==n.g&&(vt=n.g.Vue),vt&&vt.use(gt);const yt=gt;var bt=n(27144),Mt=n.n(bt),wt=n(94023);n(25314);Vue.use(Mt()),Vue.use(n(42513)),window.EventBus=new Vue,window.debounce=n(20863),yt.options.disposeTimeout=0,Vue.directive("tooltip",yt.VTooltip),Vue.directive("debounce",n(91722).Z),Vue.filter("formatDate",(function(e){if(e){var t=new Date(e);return"".concat(t.getDate()," ").concat(t.toLocaleString("default",{month:"short"})," ").concat(t.getFullYear()," ").concat(t.getHours(),":").concat(t.getMinutes())}})),Vue.filter("toFixed",(function(e,t){if(e)return parseFloat(e).toFixed(t||2)})),Vue.config.productionTip=!1,Vue.mixin({store:o,methods:{addFlashMessages:function(e){e.type=e.type||"success",window.addFlashMessages(e)},toggleButtonDisable:function(e){for(var t=document.getElementsByTagName("button"),n=0;nt?e.substring(0,t)+n:e})),Vue.filter("date",(function(e){return e?moment(val).format("YYYY-MM-DD"):""})),n(48917),n(26981)},89774:e=>{e.exports={methods:{__:function(e,t){var n=e.split("."),r=window._translations;return n.forEach((function(e){r=r[e]})),t&&Object.keys(t).forEach((function(e){var n=t[e];r=r.replace(":".concat(e),n)})),r}}}},20863:e=>{e.exports=function(e,t){var n=null;return function(){clearTimeout(n);var r=arguments,a=this;n=setTimeout((function(){e.apply(a,r)}),t)}}},53353:()=>{$((function(){function e(){if(dropdown=$(".dropdown-open"),!dropdown.find(".dropdown-list").hasClass("top-left")&&!dropdown.find(".dropdown-list").hasClass("top-right")&&dropdown.length){dropdown=dropdown.find(".dropdown-list"),height=dropdown.height()+50;var e=dropdown.offset().top-70,t=$(window).height()-e-dropdown.height();t>e||height1&&(a-=1)),[360*a,100*i,100*u]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var n=t[e];if(n)return n;var a,i=1/0;for(var o in r)if(r.hasOwnProperty(o)){var s=l(e,r[o]);s.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[i=255*l,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(r=o+1/3*-(u-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[u]=255*i;return a},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,a=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*n/(r+n)),(r+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}},a.hsv.hsl=function(e){var t,n,r,a=e[0],i=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-i)*o,n=i*s,[a,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,a,i,o,s,l=e[0]/360,u=e[1]/100,d=e[2]/100,c=u+d;switch(c>1&&(u/=c,d/=c),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),a=u+r*((n=1-d)-u),t){default:case 6:case 0:i=n,o=a,s=u;break;case 1:i=a,o=n,s=u;break;case 2:i=u,o=n,s=a;break;case 3:i=u,o=a,s=n;break;case 4:i=a,o=u,s=n;break;case 5:i=n,o=u,s=a}return[255*i,255*o,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},a.xyz.rgb=function(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,a=e[0];t=e[1]/500+(n=(a+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],a=e[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+a*a),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255,i=Math.max(Math.max(n,r),a),o=Math.min(Math.min(n,r),a),s=i-o;return t=s<=0?0:i===n?(r-a)/s%6:i===r?2+(a-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,a=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var a=[0,0,0],i=t%1*6,o=i%1,s=1-o,l=0;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return l=(1-n)*r,[255*(n*a[0]+l),255*(n*a[1]+l),255*(n*a[2]+l)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(){for(var e={},t=Object.keys(a),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function h(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,a=0;a=0&&t<1?j(Math.round(255*t)):"")}function k(e,t){return t<1||e[3]&&e[3]<1?x(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function x(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function L(e,t){return t<1||e[3]&&e[3]<1?D(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"}function D(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function Y(e,t){return t<1||e[3]&&e[3]<1?S(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function S(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function T(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function C(e){return P[e.slice(0,3)]}function O(e,t,n){return Math.min(Math.max(t,e),n)}function j(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var P={};for(var A in p)P[p[A]]=A;var E=function(e){return e instanceof E?e:this instanceof E?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=m.getRgba(e))?this.setValues("rgb",t):(t=m.getHsla(e))?this.setValues("hsl",t):(t=m.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new E(e);var t};E.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new E,r=this.values,a=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?a[i]=e.slice(0):"[object Number]"===t?a[i]=e:console.error("unexpected color value:",e));return n}},E.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},E.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},E.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r=0;a--)t.call(n,e[a],a);else for(a=0;a=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-W.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*W.easeInBounce(2*e):.5*W.easeOutBounce(2*e-1)+.5}},z={effects:W};R.easingEffects=W;var V=Math.PI,$=V/180,B=2*V,U=V/2,G=V/4,J=2*V/3,Z={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,a,i){if(i){var o=Math.min(i,a/2,r/2),s=t+o,l=n+o,u=t+r-o,d=n+a-o;e.moveTo(t,l),st.left-n&&e.xt.top-n&&e.y0&&e.requestAnimationFrame()},advance:function(){for(var e,t,n,r,a=this.animations,i=0;i=n?(oe.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(i,1)):++i}},ve=oe.options.resolve,ye=["push","pop","shift","splice","unshift"];function be(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),ye.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),a=r.apply(this,t);return oe.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),a}})})))}function Me(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(ye.forEach((function(t){delete e[t]})),delete e._chartjs)}}var we=function(e,t){this.initialize(e,t)};oe.extend(we.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.chart,r=n.scales,a=e.getDataset(),i=n.options.scales;null!==t.xAxisID&&t.xAxisID in r&&!a.xAxisID||(t.xAxisID=a.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in r&&!a.yAxisID||(t.yAxisID=a.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Me(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),a=n.getDataset().data||[],i=r.data;for(e=0,t=a.length;er&&e.insertElements(r,a-r)},insertElements:function(e,t){for(var n=0;na?(i=a/t.innerRadius,e.arc(o,s,t.innerRadius-a,r+i,n-i,!0)):e.arc(o,s,a,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function De(e,t,n,r){var a,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+xe,Le(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=xe,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+xe,n.startAngle,!0),a=0;as;)a-=xe;for(;a=o&&a<=s,u=i>=n.innerRadius&&i<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/xe)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+xe,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;ee.x&&(t=Re(t,"left","right")):e.basen?n:r,r:l.right||a<0?0:a>t?t:a,b:l.bottom||i<0?0:i>n?n:i,l:l.left||o<0?0:o>t?t:o}}function Ve(e){var t=Ie(e),n=t.right-t.left,r=t.bottom-t.top,a=ze(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b}}}function $e(e,t,n){var r=null===t,a=null===n,i=!(!e||r&&a)&&Ie(e);return i&&(r||t>=i.left&&t<=i.right)&&(a||n>=i.top&&n<=i.bottom)}X._set("global",{elements:{rectangle:{backgroundColor:Fe,borderColor:Fe,borderSkipped:"bottom",borderWidth:0}}});var Be=pe.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=Ve(t),r=n.outer,a=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===a.w&&r.h===a.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return $e(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return Ne(n)?$e(n,e,null):$e(n,null,t)},inXRange:function(e){return $e(this._view,e,null)},inYRange:function(e){return $e(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return Ne(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return Ne(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Ue={},Ge=Se,Je=Oe,Ze=He,qe=Be;Ue.Arc=Ge,Ue.Line=Je,Ue.Point=Ze,Ue.Rectangle=qe;var Ke=oe._deprecated,Xe=oe.valueOrDefault;function Qe(e,t){var n,r,a,i,o=e._length;for(a=1,i=t.length;a0?Math.min(o,Math.abs(r-n)):o,n=r;return o}function et(e,t,n){var r,a,i=n.barThickness,o=t.stackCount,s=t.pixels[e],l=oe.isNullOrUndef(i)?Qe(t.scale,t.pixels):-1;return oe.isNullOrUndef(i)?(r=l*n.categoryPercentage,a=n.barPercentage):(r=i*o,a=1),{chunk:r/o,ratio:a,start:s-r/2}}function tt(e,t,n){var r,a=t.pixels,i=a[e],o=e>0?a[e-1]:null,s=e=0&&_.min>=0?_.min:_.max,M=void 0===_.start?_.end:_.max>=0&&_.min>=0?_.max-_.min:_.min-_.max,w=m.length;if(v||void 0===v&&void 0!==y)for(r=0;r=0&&u.max>=0?u.max:u.min,(_.min<0&&i<0||_.max>=0&&i>0)&&(b+=i));return o=h.getPixelForValue(b),l=(s=h.getPixelForValue(b+M))-o,void 0!==g&&Math.abs(l)=0&&!f||M<0&&f?o-g:o+g),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,r){var a=this,i="flex"===r.barThickness?tt(t,n,r):et(t,n,r),o=a.getStackIndex(e,a.getMeta().stack),s=i.start+i.chunk*o+i.chunk/2,l=Math.min(Xe(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var e=this,t=e.chart,n=e._getValueScale(),r=e.getMeta().data,a=e.getDataset(),i=r.length,o=0;for(oe.canvas.clipArea(t.ctx,t.chartArea);o=st?-lt:v<-st?lt:0)+_,b=Math.cos(v),M=Math.sin(v),w=Math.cos(y),k=Math.sin(y),x=v<=0&&y>=0||y>=lt,L=v<=ut&&y>=ut||y>=lt+ut,D=v<=-ut&&y>=-ut||y>=st+ut,Y=v===-st||y>=st?-1:Math.min(b,b*m,w,w*m),S=D?-1:Math.min(M,M*m,k,k*m),T=x?1:Math.max(b,b*m,w,w*m),C=L?1:Math.max(M,M*m,k,k*m);u=(T-Y)/2,d=(C-S)/2,c=-(T+Y)/2,h=-(C+S)/2}for(r=0,a=p.length;r0&&!isNaN(e)?lt*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,a,i,o,s,l,u=this,d=0,c=u.chart;if(!e)for(t=0,n=c.data.datasets.length;t(d=s>d?s:d)?l:d);return d},setHoverStyle:function(e){var t=e._model,n=e._options,r=oe.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=ot(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=ot(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=ot(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&pt(u[e-1]._model,l)&&(n.controlPointPreviousX=d(n.controlPointPreviousX,l.left,l.right),n.controlPointPreviousY=d(n.controlPointPreviousY,l.top,l.bottom)),e0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return Ct(e,t,{intersect:!1})},point:function(e,t){return Yt(e,Lt(t,e))},nearest:function(e,t,n){var r=Lt(t,e);n.axis=n.axis||"xy";var a=Tt(n.axis);return St(e,r,n.intersect,a)},x:function(e,t,n){var r=Lt(t,e),a=[],i=!1;return Dt(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a},y:function(e,t,n){var r=Lt(t,e),a=[],i=!1;return Dt(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a}}},jt=oe.extend;function Pt(e,t){return oe.where(e,(function(e){return e.pos===t}))}function At(e,t){return e.sort((function(e,n){var r=t?n:e,a=t?e:n;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function Et(e){var t,n,r,a=[];for(t=0,n=(e||[]).length;t div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Gt=n(Object.freeze({__proto__:null,default:Ut})),Jt="$chartjs",Zt="chartjs-",qt=Zt+"size-monitor",Kt=Zt+"render-monitor",Xt=Zt+"render-animation",Qt=["animationstart","webkitAnimationStart"],en={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function tn(e,t){var n=oe.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function nn(e,t){var n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[Jt]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var i=tn(e,"width");void 0!==i&&(e.width=i)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=tn(e,"height");void 0!==i&&(e.height=o)}return e}var rn=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function an(e,t,n){e.addEventListener(t,n,rn)}function on(e,t,n){e.removeEventListener(t,n,rn)}function sn(e,t,n,r,a){return{type:e,chart:t,native:a||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function ln(e,t){var n=en[e.type]||e.type,r=oe.getRelativePosition(e,t);return sn(n,t,r.x,r.y,e)}function un(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,oe.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}function dn(e){var t=document.createElement("div");return t.className=e||"",t}function cn(e){var t=1e6,n=dn(qt),r=dn(qt+"-expand"),a=dn(qt+"-shrink");r.appendChild(dn()),a.appendChild(dn()),n.appendChild(r),n.appendChild(a),n._reset=function(){r.scrollLeft=t,r.scrollTop=t,a.scrollLeft=t,a.scrollTop=t};var i=function(){n._reset(),e()};return an(r,"scroll",i.bind(r,"expand")),an(a,"scroll",i.bind(a,"shrink")),n}function hn(e,t){var n=e[Jt]||(e[Jt]={}),r=n.renderProxy=function(e){e.animationName===Xt&&t()};oe.each(Qt,(function(t){an(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add(Kt)}function fn(e){var t=e[Jt]||{},n=t.renderProxy;n&&(oe.each(Qt,(function(t){on(e,t,n)})),delete t.renderProxy),e.classList.remove(Kt)}function pn(e,t,n){var r=e[Jt]||(e[Jt]={}),a=r.resizer=cn(un((function(){if(r.resizer){var a=n.options.maintainAspectRatio&&e.parentNode,i=a?a.clientWidth:0;t(sn("resize",n)),a&&a.clientWidth0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:a>0&&i.index-1?e.split("\n"):e}function Yn(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,a=e._datasetIndex,i=e._chart.getDatasetMeta(a).controller,o=i._getIndexScale(),s=i._getValueScale();return{xLabel:t?t.getLabelForIndex(r,a):"",yLabel:n?n.getLabelForIndex(r,a):"",label:o?""+o.getLabelForIndex(r,a):"",value:s?""+s.getLabelForIndex(r,a):"",index:r,datasetIndex:a,x:e._model.x,y:e._model.y}}function Sn(e){var t=X.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:wn(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:wn(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:wn(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:wn(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:wn(e.titleFontStyle,t.defaultFontStyle),titleFontSize:wn(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:wn(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:wn(e.footerFontStyle,t.defaultFontStyle),footerFontSize:wn(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Tn(e,t){var n=e._chart.ctx,r=2*t.yPadding,a=0,i=t.body,o=i.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,u=t.titleFontSize,d=t.bodyFontSize,c=t.footerFontSize;r+=s*u,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*d,r+=o?(o-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*c,r+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){a=Math.max(a,n.measureText(e).width+h)};return n.font=oe.fontString(u,t._titleFontStyle,t._titleFontFamily),oe.each(t.title,f),n.font=oe.fontString(d,t._bodyFontStyle,t._bodyFontFamily),oe.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?d+2:0,oe.each(i,(function(e){oe.each(e.before,f),oe.each(e.lines,f),oe.each(e.after,f)})),h=0,n.font=oe.fontString(c,t._footerFontStyle,t._footerFontFamily),oe.each(t.footer,f),{width:a+=2*t.xPadding,height:r}}function Cn(e,t){var n,r,a,i,o,s=e._model,l=e._chart,u=e._chart.chartArea,d="center",c="center";s.yl.height-t.height&&(c="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===c?(n=function(e){return e<=h},r=function(e){return e>h}):(n=function(e){return e<=t.width/2},r=function(e){return e>=l.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",c=o(s.y))):r(s.x)&&(d="right",i(s.x)&&(d="center",c=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:c}}function On(e,t,n,r){var a=e.x,i=e.y,o=e.caretSize,s=e.caretPadding,l=e.cornerRadius,u=n.xAlign,d=n.yAlign,c=o+s,h=l+s;return"right"===u?a-=t.width:"center"===u&&((a-=t.width/2)+t.width>r.width&&(a=r.width-t.width),a<0&&(a=0)),"top"===d?i+=c:i-="bottom"===d?t.height+c:t.height/2,"center"===d?"left"===u?a+=c:"right"===u&&(a-=c):"left"===u?a-=h:"right"===u&&(a+=h),{x:a,y:i}}function jn(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Pn(e){return Ln([],Dn(e))}var An=pe.extend({initialize:function(){this._model=Sn(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options.callbacks,n=t.beforeTitle.apply(e,arguments),r=t.title.apply(e,arguments),a=t.afterTitle.apply(e,arguments),i=[];return i=Ln(i,Dn(n)),i=Ln(i,Dn(r)),i=Ln(i,Dn(a))},getBeforeBody:function(){return Pn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,a=[];return oe.each(e,(function(e){var i={before:[],lines:[],after:[]};Ln(i.before,Dn(r.beforeLabel.call(n,e,t))),Ln(i.lines,r.label.call(n,e,t)),Ln(i.after,Dn(r.afterLabel.call(n,e,t))),a.push(i)})),a},getAfterBody:function(){return Pn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),i=[];return i=Ln(i,Dn(n)),i=Ln(i,Dn(r)),i=Ln(i,Dn(a))},update:function(e){var t,n,r=this,a=r._options,i=r._model,o=r._model=Sn(a),s=r._active,l=r._data,u={xAlign:i.xAlign,yAlign:i.yAlign},d={x:i.x,y:i.y},c={width:i.width,height:i.height},h={x:i.caretX,y:i.caretY};if(s.length){o.opacity=1;var f=[],p=[];h=xn[a.position].call(r,s,r._eventPosition);var m=[];for(t=0,n=s.length;t0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=a,this.drawBackground(r,t,e,n),r.y+=t.yPadding,oe.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),oe.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t=this,n=t._options,r=!1;return t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:(t._active=t._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&t._active.reverse()),(r=!oe.arrayEquals(t._active,t._lastActive))&&(t._lastActive=t._active,(n.enabled||n.custom)&&(t._eventPosition={x:e.x,y:e.y},t.update(!0),t.pivot())),r}}),En=xn,Hn=An;Hn.positioners=En;var Fn=oe.valueOrDefault;function Nn(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var a,i,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?oe.merge(t[e][a],[Mn.getScaleDefaults(i),o]):oe.merge(t[e][a],o)}else oe._merger(e,t,n,r)}})}function In(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var a=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=Nn(a,i):"scale"===e?t[e]=oe.merge(a,[Mn.getScaleDefaults(i.type),i]):oe._merger(e,t,n,r)}})}function Rn(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=In(X.global,X[e.type],e.options||{}),e}function Wn(e){var t=e.options;oe.each(e.scales,(function(t){$t.removeBox(e,t)})),t=In(X.global,X[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function zn(e,t,n){var r,a=function(e){return e.id===r};do{r=t+n++}while(oe.findIndex(e,a)>=0);return r}function Vn(e){return"top"===e||"bottom"===e}function $n(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}X._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Bn=function(e,t){return this.construct(e,t),this};oe.extend(Bn.prototype,{construct:function(e,t){var n=this;t=Rn(t);var r=yn.acquireContext(e,t),a=r&&r.canvas,i=a&&a.height,o=a&&a.width;n.id=oe.uid(),n.ctx=r,n.canvas=a,n.config=t,n.width=o,n.height=i,n.aspectRatio=i?o/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Bn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return bn.notify(e,"beforeInit"),oe.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),bn.notify(e,"afterInit"),e},clear:function(){return oe.canvas.clear(this),this},stop:function(){return ge.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(oe.getMaximumWidth(r))),o=Math.max(0,Math.floor(a?i/a:oe.getMaximumHeight(r)));if((t.width!==i||t.height!==o)&&(r.width=t.width=i,r.height=t.height=o,r.style.width=i+"px",r.style.height=o+"px",oe.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:o};bn.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;oe.each(t.xAxes,(function(e,n){e.id||(e.id=zn(t.xAxes,"x-axis-",n))})),oe.each(t.yAxes,(function(e,n){e.id||(e.id=zn(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],a=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),oe.each(r,(function(t){var r=t.options,i=r.id,o=Fn(r.type,t.dtype);Vn(r.position)!==Vn(t.dposition)&&(r.position=t.dposition),a[i]=!0;var s=null;if(i in n&&n[i].type===o)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var l=Mn.getScaleConstructor(o);if(!l)return;s=new l({id:i,type:o,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),oe.each(a,(function(e,t){e||delete n[t]})),e.scales=n,Mn.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],a=n.data.datasets;for(e=0,t=a.length;e=0;--n)r.drawDataset(t[n],e);bn.notify(r,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r={meta:e,index:e.index,easingValue:t};!1!==bn.notify(n,"beforeDatasetDraw",[r])&&(e.controller.draw(t),bn.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==bn.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),bn.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return Ot.modes.single(this,e)},getElementsAtEvent:function(e){return Ot.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Ot.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=Ot.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return Ot.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:e}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t=0;r--){var a=e[r];if(t(a))return a}},oe.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},oe.almostEquals=function(e,t,n){return Math.abs(e-t)=e},oe.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},oe.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},oe.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},oe.toRadians=function(e){return e*(Math.PI/180)},oe.toDegrees=function(e){return e*(180/Math.PI)},oe._decimalPlaces=function(e){if(oe.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},oe.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},oe.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},oe.aliasPixel=function(e){return e%2==0?0:.5},oe._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,a=n/2;return Math.round((t-a)*r)/r+a},oe.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),u=s/(s+l),d=l/(s+l),c=r*(u=isNaN(u)?0:u),h=r*(d=isNaN(d)?0:d);return{previous:{x:i.x-c*(o.x-a.x),y:i.y-c*(o.y-a.y)},next:{x:i.x+h*(o.x-a.x),y:i.y+h*(o.y-a.y)}}},oe.EPSILON=Number.EPSILON||1e-14,oe.splineCurveMonotone=function(e){var t,n,r,a,i,o,s,l,u,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),c=d.length;for(t=0;t0?d[t-1]:null,(a=t0?d[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},oe.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},oe.niceNum=function(e,t){var n=Math.floor(oe.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},oe.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},oe.getRelativePosition=function(e,t){var n,r,a=e.originalEvent||e,i=e.target||e.srcElement,o=i.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=a.clientX,r=a.clientY);var l=parseFloat(oe.getStyle(i,"padding-left")),u=parseFloat(oe.getStyle(i,"padding-top")),d=parseFloat(oe.getStyle(i,"padding-right")),c=parseFloat(oe.getStyle(i,"padding-bottom")),h=o.right-o.left-l-d,f=o.bottom-o.top-u-c;return{x:n=Math.round((n-o.left-l)/h*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-u)/f*i.height/t.currentDevicePixelRatio)}},oe.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},oe.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},oe._calculatePadding=function(e,t,n){return(t=oe.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},oe._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},oe.getMaximumWidth=function(e){var t=oe._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-oe._calculatePadding(t,"padding-left",n)-oe._calculatePadding(t,"padding-right",n),a=oe.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},oe.getMaximumHeight=function(e){var t=oe._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-oe._calculatePadding(t,"padding-top",n)-oe._calculatePadding(t,"padding-bottom",n),a=oe.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},oe.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},oe.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,a=e.height,i=e.width;r.height=a*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=a+"px",r.style.width=i+"px")}},oe.fontString=function(e,t,n){return t+" "+e+"px "+n},oe.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var o,s,l,u,d,c=0,h=n.length;for(o=0;on.length){for(o=0;or&&(r=i),r},oe.numberOfLabelLines=function(e){var t=1;return oe.each(e,(function(e){oe.isArray(e)&&e.length>t&&(t=e.length)})),t},oe.color=H?function(e){return e instanceof CanvasGradient&&(e=X.global.defaultColor),H(e)}:function(e){return console.error("Color.js not found!"),e},oe.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:oe.color(e).saturate(.5).darken(.1).rgbString()}};function Jn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Zn(e){this.options=e||{}}oe.extend(Zn.prototype,{formats:Jn,parse:Jn,format:Jn,add:Jn,diff:Jn,startOf:Jn,endOf:Jn,_create:function(e){return e}}),Zn.override=function(e){oe.extend(Zn.prototype,e)};var qn={_date:Zn},Kn={formatters:{values:function(e){return oe.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=oe.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=oe.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),i=e.toFixed(l)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(oe.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},Xn=oe.isArray,Qn=oe.isNullOrUndef,er=oe.valueOrDefault,tr=oe.valueAtIndexOrDefault;function nr(e,t){for(var n=[],r=e.length/t,a=0,i=e.length;al+u)))return o}function ar(e,t){oe.each(e,(function(e){var n,r=e.gc,a=r.length/2;if(a>t){for(n=0;nu)return i;return Math.max(u,1)}function fr(e){var t,n,r=[];for(t=0,n=e.length;t=h||d<=1||!s.isHorizontal()?s.labelRotation=c:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(a=l.offset?s.maxWidth/d:r/(d-1))&&(a=r/(d-(l.offset?.5:1)),i=s.maxHeight-or(l.gridLines)-u.padding-sr(l.scaleLabel),o=Math.sqrt(t*t+n*n),f=oe.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(i/o,1))-Math.asin(n/o))),f=Math.max(c,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){oe.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){oe.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,a=r.ticks,i=r.scaleLabel,o=r.gridLines,s=e._isVisible(),l="bottom"===r.position,u=e.isHorizontal();if(u?t.width=e.maxWidth:s&&(t.width=or(o)+sr(i)),u?s&&(t.height=or(o)+sr(i)):t.height=e.maxHeight,a.display&&s){var d=ur(a),c=e._getLabelSizes(),h=c.first,f=c.last,p=c.widest,m=c.highest,_=.4*d.minor.lineHeight,g=a.padding;if(u){var v=0!==e.labelRotation,y=oe.toRadians(e.labelRotation),b=Math.cos(y),M=Math.sin(y),w=M*p.width+b*(m.height-(v?m.offset:0))+(v?0:_);t.height=Math.min(e.maxHeight,t.height+w+g);var k,x,L=e.getPixelForTick(0)-e.left,D=e.right-e.getPixelForTick(e.getTicks().length-1);v?(k=l?b*h.width+M*h.offset:M*(h.height-h.offset),x=l?M*(f.height-f.offset):b*f.width+M*f.offset):(k=h.width/2,x=f.width/2),e.paddingLeft=Math.max((k-L)*e.width/(e.width-L),0)+3,e.paddingRight=Math.max((x-D)*e.width/(e.width-D),0)+3}else{var Y=a.mirror?0:p.width+g+_;t.width=Math.min(e.maxWidth,t.width+Y),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),u?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){oe.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Qn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.afterTickToLabelConversion(),n=0,r=e.length;nr-1?null:t.getPixelForDecimal(e*a+(n?a/2:0))},getPixelForDecimal:function(e){var t=this;return t._reversePixels&&(e=1-e),t._startPixel+e*t._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,a,i=this,o=i.options.ticks,s=i._length,l=o.maxTicksLimit||s/i._tickSize()+1,u=o.major.enabled?fr(e):[],d=u.length,c=u[0],h=u[d-1];if(d>l)return pr(e,u,d/l),dr(e);if(r=hr(u,e,s,l),d>0){for(t=0,n=d-1;t1?(h-c)/(d-1):null,mr(e,r,oe.isNullOrUndef(a)?0:c-a,c),mr(e,r,h,oe.isNullOrUndef(a)?e.length:h+a),dr(e)}return mr(e,r),dr(e)},_tickSize:function(){var e=this,t=e.options.ticks,n=oe.toRadians(e.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=e._getLabelSizes(),o=t.autoSkipPadding||0,s=i?i.widest.width+o:0,l=i?i.highest.height+o:0;return e.isHorizontal()?l*r>s*a?s/r:l/a:l*a=0&&(o=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this,t=e._getLabels(),n=e.minIndex,r=e.maxIndex;e.ticks=0===n&&r===t.length-1?t:t.slice(n,r+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[t].data[e]):n._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;gr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,a,i,o=this;return vr(t)||vr(n)||(e=o.chart.data.datasets[n].data[t]),vr(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=oe.valueOrDefault(r,e),t=-1!==(i=a.indexOf(e))?i:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,n=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(n,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Mr=yr;br._defaults=Mr;var wr=oe.noop,kr=oe.isNullOrUndef;function xr(e,t){var n,r,a,i,o=[],s=1e-14,l=e.stepSize,u=l||1,d=e.maxTicks-1,c=e.min,h=e.max,f=e.precision,p=t.min,m=t.max,_=oe.niceNum((m-p)/d/u)*u;if(_d&&(_=oe.niceNum(i*_/d/u)*u),l||kr(f)?n=Math.pow(10,oe._decimalPlaces(_)):(n=Math.pow(10,f),_=Math.ceil(_*n)/n),r=Math.floor(p/_)*_,a=Math.ceil(m/_)*_,l&&(!kr(c)&&oe.almostWhole(c/_,_/1e3)&&(r=c),!kr(h)&&oe.almostWhole(h/_,_/1e3)&&(a=h)),i=(a-r)/_,i=oe.almostEquals(i,Math.round(i),_/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,a=Math.round(a*n)/n,o.push(kr(c)?r:c);for(var g=1;g0&&r>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==i&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this,n=t.options.ticks,r=n.stepSize,a=n.maxTicksLimit;return r?e=Math.ceil(t.max/r)-Math.floor(t.min/r)+1:(e=t._computeTickLimit(),a=a||11),a&&(e=Math.min(a,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wr,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:oe.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=xr(r,e);e.handleDirectionalChanges(),e.max=oe.max(a),e.min=oe.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),gr.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,a=t.max;gr.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(a-r)/Math.max(n.length-1,1)/2,a+=e),t._startValue=r,t._endValue=a,t._valueRange=a-r}}),Dr={position:"left",ticks:{callback:Kn.formatters.linear}},Yr=0,Sr=1;function Tr(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}function Cr(e,t,n,r){var a,i,o=e.options,s=Tr(t,o.stacked,n),l=s.pos,u=s.neg,d=r.length;for(a=0;at.length-1?null:this.getPixelForValue(t[e])}}),Pr=Dr;jr._defaults=Pr;var Ar=oe.valueOrDefault,Er=oe.math.log10;function Hr(e,t){var n,r,a=[],i=Ar(e.min,Math.pow(10,Math.floor(Er(t.min)))),o=Math.floor(Er(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===i?(n=Math.floor(Er(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Er(i)),r=Math.floor(i/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(i),10==++r&&(r=1,l=++n>=0?1:l),i=Math.round(r*Math.pow(10,n)*l)/l}while(n=0?e:t}var Ir=gr.extend({determineDataLimits:function(){var e,t,n,r,a,i,o=this,s=o.options,l=o.chart,u=l.data.datasets,d=o.isHorizontal();function c(e){return d?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e0){var t=oe.min(e),n=oe.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Er(e.max))):e.minNotZero=n)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:Nr(t.min),max:Nr(t.max)},a=e.ticks=Hr(r,e);e.max=oe.max(a),e.min=oe.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),gr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Er(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;gr.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Ar(e.options.ticks.fontSize,X.global.defaultFontSize)/e._length),e._startValue=Er(t),e._valueOffset=n,e._valueRange=(Er(e.max)-Er(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(Er(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Rr=Fr;Ir._defaults=Rr;var Wr=oe.valueOrDefault,zr=oe.valueAtIndexOrDefault,Vr=oe.options.resolve,$r={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Kn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Br(e){var t=e.ticks;return t.display&&e.display?Wr(t.fontSize,X.global.defaultFontSize)+2*t.backdropPaddingY:0}function Ur(e,t,n){return oe.isArray(n)?{w:oe.longestText(e,e.font,n),h:n.length*t}:{w:e.measureText(n).width,h:t}}function Gr(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function Jr(e){var t,n,r,a=oe.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=a.string,e._pointLabelSizes=[];var s=e.chart.data.labels.length;for(t=0;ti.r&&(i.r=d.end,o.r=l),c.starti.b&&(i.b=c.end,o.b=l)}e.setReductions(e.drawingArea,i,o)}function Zr(e){return 0===e||180===e?"center":e<180?"left":"right"}function qr(e,t,n,r){var a,i,o=n.y+r/2;if(oe.isArray(t))for(a=0,i=t.length;a270||e<90)&&(n.y-=t.h)}function Xr(e){var t=e.ctx,n=e.options,r=n.pointLabels,a=Br(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=oe.options._parseFont(r);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?a/2:0,u=e.getPointPosition(s,i+l+5),d=zr(r.fontColor,s,X.global.defaultFontColor);t.fillStyle=d;var c=e.getIndexAngle(s),h=oe.toDegrees(c);t.textAlign=Zr(h),Kr(h,e._pointLabelSizes[s],u),qr(t,e.pointLabels[s],u,o.lineHeight)}t.restore()}function Qr(e,t,n,r){var a,i=e.ctx,o=t.circular,s=e.chart.data.labels.length,l=zr(t.color,r-1),u=zr(t.lineWidth,r-1);if((o||s)&&l&&u){if(i.save(),i.strokeStyle=l,i.lineWidth=u,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),o)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{a=e.getPointPosition(0,n),i.moveTo(a.x,a.y);for(var d=1;d0&&r>0?n:0)},_drawGrid:function(){var e,t,n,r=this,a=r.ctx,i=r.options,o=i.gridLines,s=i.angleLines,l=Wr(s.lineWidth,o.lineWidth),u=Wr(s.color,o.color);if(i.pointLabels.display&&Xr(r),o.display&&oe.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),Qr(r,o,t,n))})),s.display&&l&&u){for(a.save(),a.lineWidth=l,a.strokeStyle=u,a.setLineDash&&(a.setLineDash(Vr([s.borderDash,o.borderDash,[]])),a.lineDashOffset=Vr([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),a.beginPath(),a.moveTo(r.xCenter,r.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,a,i=e.getIndexAngle(0),o=oe.options._parseFont(n),s=Wr(n.fontColor,X.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",oe.each(e.ticks,(function(i,l){(0!==l||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:oe.noop}),na=$r;ta._defaults=na;var ra=oe._deprecated,aa=oe.options.resolve,ia=oe.valueOrDefault,oa=Number.MIN_SAFE_INTEGER||-9007199254740991,sa=Number.MAX_SAFE_INTEGER||9007199254740991,la={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ua=Object.keys(la);function da(e,t){return e-t}function ca(e){var t,n,r,a={},i=[];for(t=0,n=e.length;tt&&s=0&&o<=s;){if(a=e[(r=o+s>>1)-1]||null,i=e[r],!a)return{lo:null,hi:i};if(i[t]n))return{lo:a,hi:i};s=r-1}}return{lo:i,hi:null}}function _a(e,t,n,r){var a=ma(e,t,n),i=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-i[t],l=s?(n-i[t])/s:0,u=(o[r]-i[r])*l;return i[r]+u}function ga(e,t){var n=e._adapter,r=e.options.time,a=r.parser,i=a||r.format,o=t;return"function"==typeof a&&(o=a(o)),oe.isFinite(o)||(o="string"==typeof i?n.parse(o,i):n.parse(o)),null!==o?+o:(a||"function"!=typeof i||(o=i(t),oe.isFinite(o)||(o=n.parse(o))),o)}function va(e,t){if(oe.isNullOrUndef(t))return null;var n=e.options.time,r=ga(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ya(e,t,n,r){var a,i,o,s=ua.length;for(a=ua.indexOf(e);a=ua.indexOf(n);i--)if(o=ua[i],la[o].common&&e._adapter.diff(a,r,o)>=t-1)return o;return ua[n?ua.indexOf(n):0]}function Ma(e){for(var t=ua.indexOf(e)+1,n=ua.length;t1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=c;a=0&&(t[i].major=!0);return t}function La(e,t,n){var r,a,i=[],o={},s=t.length;for(r=0;r1?ca(p).sort(da):p.sort(da),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=va(s,ha(d))||h,f=va(s,fa(d))||f,h=h===sa?+u.startOf(Date.now(),c):h,f=f===oa?+u.endOf(Date.now(),c)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:m,labels:_}},buildTicks:function(){var e,t,n,r=this,a=r.min,i=r.max,o=r.options,s=o.ticks,l=o.time,u=r._timestamps,d=[],c=r.getLabelCapacity(a),h=s.source,f=o.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:wa(r,a,i,c),"ticks"===o.bounds&&u.length&&(a=u[0],i=u[u.length-1]),a=va(r,ha(o))||a,i=va(r,fa(o))||i,e=0,t=u.length;e=a&&n<=i&&d.push(n);return r.min=a,r.max=i,r._unit=l.unit||(s.autoSkip?ya(l.minUnit,r.min,r.max,c):ba(r,d.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?Ma(r._unit):void 0,r._table=pa(r._timestamps.data,a,i,f),r._offsets=ka(r._table,d,a,i,o),s.reverse&&d.reverse(),La(r,d,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,a=n.chart.data,i=n.options.time,o=a.labels&&e=0&&e0?s:1}}),Sa=Da;Ya._defaults=Sa;var Ta={category:br,linear:jr,logarithmic:Ir,radialLinear:ta,time:Ya},Ca={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};qn._date.override("function"==typeof e?{_id:"moment",formats:function(){return Ca},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),X._set("global",{plugins:{filler:{propagate:!0}}});var Oa={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),a=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=a.length||0;return i?function(e,t){return t=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function Pa(e){var t,n=e.el._model||{},r=e.el._scale||{},a=e.fill,i=null;if(isFinite(a))return null;if("start"===a?i=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===a?i=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?i=n.scaleZero:r.getBasePixel&&(i=r.getBasePixel()),null!=i){if(void 0!==i.x&&void 0!==i.y)return i;if(oe.isFinite(i))return{x:(t=r.isHorizontal())?i:null,y:t?null:i}}return null}function Aa(e){var t,n,r,a,i,o=e.el._scale,s=o.options,l=o.chart.data.labels.length,u=e.fill,d=[];if(!l)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),a=0;a0;--i)oe.canvas.lineTo(e,n[i],n[i-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),i=a-1;i>0;--i)e.arc(o,s,l,n[i].angle,n[i-1].angle,!0)}}function Ra(e,t,n,r,a,i){var o,s,l,u,d,c,h,f,p=t.length,m=r.spanGaps,_=[],g=[],v=0,y=0;for(e.beginPath(),o=0,s=p;o=0;--n)(t=l[n].$filler)&&t.visible&&(a=(r=t.el)._view,i=r._children||[],o=t.mapper,s=a.backgroundColor||X.global.defaultColor,o&&s&&i.length&&(oe.canvas.clipArea(u,e.chartArea),Ra(u,i,o,a,s,r._loop),oe.canvas.unclipArea(u)))}},za=oe.rtl.getRtlAdapter,Va=oe.noop,$a=oe.valueOrDefault;function Ba(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}X._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,a=document.createElement("ul"),i=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=i.length;tl.width)&&(c+=o+n.padding,d[d.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:o},d[d.length-1]+=r+n.padding})),l.height+=c}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,_=0,g=0;oe.each(e.legendItems,(function(e,t){var r=Ba(n,o)+o/2+a.measureText(e.text).width;t>0&&g+o+2*h>l.height&&(m+=_+n.padding,f.push(_),p.push(g),_=0,g=0),_=Math.max(_,r),g+=o+h,s[t]={left:0,top:0,width:r,height:o}})),m+=_,f.push(_),p.push(g),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:Va,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=X.global,a=r.defaultColor,i=r.elements.line,o=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var d,c=za(t.rtl,e.left,e.minSize.width),h=e.ctx,f=$a(n.fontColor,r.defaultFontColor),p=oe.options._parseFont(n),m=p.size;h.textAlign=c.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var _=Ba(n,m),g=e.legendHitBoxes,v=function(e,t,r){if(!(isNaN(_)||_<=0)){h.save();var o=$a(r.lineWidth,i.borderWidth);if(h.fillStyle=$a(r.fillStyle,a),h.lineCap=$a(r.lineCap,i.borderCapStyle),h.lineDashOffset=$a(r.lineDashOffset,i.borderDashOffset),h.lineJoin=$a(r.lineJoin,i.borderJoinStyle),h.lineWidth=o,h.strokeStyle=$a(r.strokeStyle,a),h.setLineDash&&h.setLineDash($a(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,l=c.xPlus(e,_/2),u=t+m/2;oe.canvas.drawPoint(h,r.pointStyle,s,l,u,r.rotation)}else h.fillRect(c.leftForLtr(e,_),t,_,m),0!==o&&h.strokeRect(c.leftForLtr(e,_),t,_,m);h.restore()}},y=function(e,t,n,r){var a=m/2,i=c.xPlus(e,_+a),o=t+a;h.fillText(n.text,i,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(i,o),h.lineTo(c.xPlus(i,r),o),h.stroke())},b=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},M=e.isHorizontal();d=M?{x:e.left+b(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+b(o,s[0]),line:0},oe.rtl.overrideTextDirection(e.ctx,t.textDirection);var w=m+n.padding;oe.each(e.legendItems,(function(t,r){var a=h.measureText(t.text).width,i=_+m/2+a,f=d.x,p=d.y;c.setWidth(e.minSize.width),M?r>0&&f+i+n.padding>e.left+e.minSize.width&&(p=d.y+=w,d.line++,f=d.x=e.left+b(l,u[d.line])):r>0&&p+w>e.top+e.minSize.height&&(f=d.x=f+e.columnWidths[d.line]+n.padding,d.line++,p=d.y=e.top+b(o,s[d.line]));var k=c.x(f);v(k,p,t),g[r].left=c.leftForLtr(k,g[r].width),g[r].top=p,y(k,p,t,a),M?d.x+=i+n.padding:d.y+=w})),oe.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,a,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(a=i.legendHitBoxes,n=0;n=(r=a[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!r.onHover&&!r.onLeave)return}else{if("click"!==a)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===a?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function Ga(e,t){var n=new Ua({ctx:e.ctx,options:t,chart:e});$t.configure(e,n,t),$t.addBox(e,n),e.legend=n}var Ja={id:"legend",_element:Ua,beforeInit:function(e){var t=e.options.legend;t&&Ga(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(oe.mergeIf(t,X.global.legend),n?($t.configure(e,n,t),n.options=t):Ga(e,t)):n&&($t.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Za=oe.noop;X._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var qa=pe.extend({initialize:function(e){var t=this;oe.extend(t,e),t.legendHitBoxes=[]},beforeUpdate:Za,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Za,beforeSetDimensions:Za,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Za,beforeBuildLabels:Za,buildLabels:Za,afterBuildLabels:Za,beforeFit:Za,fit:function(){var e,t=this,n=t.options,r=t.minSize={},a=t.isHorizontal();n.display?(e=(oe.isArray(n.text)?n.text.length:1)*oe.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=a?t.maxWidth:e,t.height=r.height=a?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Za,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,a,i,o=oe.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,d=e.top,c=e.left,h=e.bottom,f=e.right;t.fillStyle=oe.valueOrDefault(n.fontColor,X.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(a=c+(f-c)/2,i=d+l,r=f-c):(a="left"===n.position?c+l:f-l,i=d+(h-d)/2,r=h-d,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(a,i),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(oe.isArray(p))for(var m=0,_=0;_{n(95767),n(68132),n(48388),n(37470),n(94882),n(41520),n(27476),n(79622),n(89375),n(43533),n(84672),n(64157),n(35095),n(49892),n(75115),n(99176),n(68838),n(96253),n(39730),n(6059),n(48377),n(71084),n(64299),n(11246),n(30726),n(1901),n(75972),n(53403),n(92516),n(49371),n(86479),n(91736),n(51889),n(65177),n(81246),n(76503),n(66786),n(50932),n(57526),n(21591),n(9073),n(80347),n(30579),n(4669),n(67710),n(45789),n(33514),n(99978),n(58472),n(86946),n(35068),n(413),n(50191),n(98306),n(64564),n(39115),n(29539),n(96620),n(62850),n(10823),n(17732),n(40856),n(80703),n(91539),n(5292),n(45177),n(73694),n(37648),n(27795),n(4531),n(23605),n(6780),n(69937),n(10511),n(81822),n(19977),n(91031),n(46331),n(41560),n(20774),n(30522),n(58295),n(87842),n(50110),n(20075),n(24336),n(19371),n(98837),n(26773),n(15745),n(33057),n(3750),n(23369),n(99564),n(32e3),n(48977),n(52310),n(94899),n(31842),n(56997),n(83946),n(18269),n(66108),n(76774),n(21466),n(59357),n(76142),n(51876),n(40851),n(88416),n(98184),n(30147),n(59192),n(30142),n(1786),n(75368),n(46964),n(62152),n(74821),n(79103),n(81303),n(83318),n(70162),n(33834),n(21572),n(82139),n(10685),n(85535),n(17347),n(83049),n(96633),n(68989),n(78270),n(64510),n(73984),n(75769),n(50055),n(96014),e.exports=n(25645)},70911:(e,t,n)=>{n(1268),e.exports=n(25645).Array.flatMap},10990:(e,t,n)=>{n(62773),e.exports=n(25645).Array.includes},15434:(e,t,n)=>{n(83276),e.exports=n(25645).Object.entries},78051:(e,t,n)=>{n(98351),e.exports=n(25645).Object.getOwnPropertyDescriptors},38250:(e,t,n)=>{n(96409),e.exports=n(25645).Object.values},54952:(e,t,n)=>{"use strict";n(40851),n(9865),e.exports=n(25645).Promise.finally},6197:(e,t,n)=>{n(92770),e.exports=n(25645).String.padEnd},14160:(e,t,n)=>{n(41784),e.exports=n(25645).String.padStart},54039:(e,t,n)=>{n(94325),e.exports=n(25645).String.trimRight},96728:(e,t,n)=>{n(65869),e.exports=n(25645).String.trimLeft},93568:(e,t,n)=>{n(79665),e.exports=n(28787).f("asyncIterator")},40115:(e,t,n)=>{n(34579),e.exports=n(11327).global},85663:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},12159:(e,t,n)=>{var r=n(36727);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},11327:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},19216:(e,t,n)=>{var r=n(85663);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},89666:(e,t,n)=>{e.exports=!n(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},97467:(e,t,n)=>{var r=n(36727),a=n(33938).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},83856:(e,t,n)=>{var r=n(33938),a=n(11327),i=n(19216),o=n(41818),s=n(27069),l=function(e,t,n){var u,d,c,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,_=e&l.B,g=e&l.W,v=f?a:a[t]||(a[t]={}),y=v.prototype,b=f?r:p?r[t]:(r[t]||{}).prototype;for(u in f&&(n=t),n)(d=!h&&b&&void 0!==b[u])&&s(v,u)||(c=d?b[u]:n[u],v[u]=f&&"function"!=typeof b[u]?n[u]:_&&d?i(c,r):g&&b[u]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):m&&"function"==typeof c?i(Function.call,c):c,m&&((v.virtual||(v.virtual={}))[u]=c,e&l.R&&y&&!y[u]&&o(y,u,c)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},7929:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},33938:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},27069:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},41818:(e,t,n)=>{var r=n(4743),a=n(83101);e.exports=n(89666)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},33758:(e,t,n)=>{e.exports=!n(89666)&&!n(7929)((function(){return 7!=Object.defineProperty(n(97467)("div"),"a",{get:function(){return 7}}).a}))},36727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},4743:(e,t,n)=>{var r=n(12159),a=n(33758),i=n(33206),o=Object.defineProperty;t.f=n(89666)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},83101:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},33206:(e,t,n)=>{var r=n(36727);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},34579:(e,t,n)=>{var r=n(83856);r(r.G,{global:n(33938)})},24963:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},83365:(e,t,n)=>{var r=n(92032);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},17722:(e,t,n)=>{var r=n(86314)("unscopables"),a=Array.prototype;null==a[r]&&n(87728)(a,r,{}),e.exports=function(e){a[r][e]=!0}},76793:(e,t,n)=>{"use strict";var r=n(24496)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},83328:e=>{e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},27007:(e,t,n)=>{var r=n(55286);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},5216:(e,t,n)=>{"use strict";var r=n(20508),a=n(92337),i=n(10875);e.exports=[].copyWithin||function(e,t){var n=r(this),o=i(n.length),s=a(e,o),l=a(t,o),u=arguments.length>2?arguments[2]:void 0,d=Math.min((void 0===u?o:a(u,o))-l,o-s),c=1;for(l0;)l in n?n[s]=n[l]:delete n[s],s+=c,l+=c;return n}},46852:(e,t,n)=>{"use strict";var r=n(20508),a=n(92337),i=n(10875);e.exports=function(e){for(var t=r(this),n=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,n),l=o>2?arguments[2]:void 0,u=void 0===l?n:a(l,n);u>s;)t[s++]=e;return t}},79315:(e,t,n)=>{var r=n(22110),a=n(10875),i=n(92337);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=a(l.length),d=i(o,u);if(e&&n!=n){for(;u>d;)if((s=l[d++])!=s)return!0}else for(;u>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},10050:(e,t,n)=>{var r=n(741),a=n(49797),i=n(20508),o=n(10875),s=n(16886);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,d=4==e,c=6==e,h=5==e||c,f=t||s;return function(t,s,p){for(var m,_,g=i(t),v=a(g),y=r(s,p,3),b=o(v.length),M=0,w=n?f(t,b):l?f(t,0):void 0;b>M;M++)if((h||M in v)&&(_=y(m=v[M],M,g),e))if(n)w[M]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return M;case 2:w.push(m)}else if(d)return!1;return c?-1:u||d?d:w}}},37628:(e,t,n)=>{var r=n(24963),a=n(20508),i=n(49797),o=n(10875);e.exports=function(e,t,n,s,l){r(t);var u=a(e),d=i(u),c=o(u.length),h=l?c-1:0,f=l?-1:1;if(n<2)for(;;){if(h in d){s=d[h],h+=f;break}if(h+=f,l?h<0:c<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:c>h;h+=f)h in d&&(s=t(s,d[h],h,u));return s}},42736:(e,t,n)=>{var r=n(55286),a=n(4302),i=n(86314)("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},16886:(e,t,n)=>{var r=n(42736);e.exports=function(e,t){return new(r(e))(t)}},34398:(e,t,n)=>{"use strict";var r=n(24963),a=n(55286),i=n(97242),o=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],a=0;a{var r=n(92032),a=n(86314)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},92032:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9824:(e,t,n)=>{"use strict";var r=n(99275).f,a=n(42503),i=n(24408),o=n(741),s=n(83328),l=n(3531),u=n(42923),d=n(15436),c=n(2974),h=n(67057),f=n(84728).fastKey,p=n(1616),m=h?"_s":"size",_=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,d,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[u],e)}));return i(d.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=p(this,t),r=_(n,e);if(r){var a=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=a),a&&(a.p=i),n._f==r&&(n._f=a),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){p(this,t);for(var n,r=o(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!_(p(this,t),e)}}),h&&r(d.prototype,"size",{get:function(){return p(this,t)[m]}}),d},def:function(e,t,n){var r,a,i=_(e,t);return i?i.v=n:(e._l=i={i:a=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==a&&(e._i[a]=i)),e},getEntry:_,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?d(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,d(1))}),n?"entries":"values",!n,!0),c(t)}}},23657:(e,t,n)=>{"use strict";var r=n(24408),a=n(84728).getWeak,i=n(27007),o=n(55286),s=n(83328),l=n(3531),u=n(10050),d=n(79181),c=n(1616),h=u(5),f=u(6),p=0,m=function(e){return e._l||(e._l=new _)},_=function(){this.a=[]},g=function(e,t){return h(e.a,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(c(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!o(e))return!1;var n=a(e);return!0===n?m(c(this,t)).has(e):n&&d(n,this._i)}}),u},def:function(e,t,n){var r=a(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},45795:(e,t,n)=>{"use strict";var r=n(3816),a=n(42985),i=n(77234),o=n(24408),s=n(84728),l=n(3531),u=n(83328),d=n(55286),c=n(74253),h=n(7462),f=n(22943),p=n(40266);e.exports=function(e,t,n,m,_,g){var v=r[e],y=v,b=_?"set":"add",M=y&&y.prototype,w={},k=function(e){var t=M[e];i(M,e,"delete"==e||"has"==e?function(e){return!(g&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!d(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(g||M.forEach&&!c((function(){(new y).entries().next()})))){var x=new y,L=x[b](g?{}:-0,1)!=x,D=c((function(){x.has(1)})),Y=h((function(e){new y(e)})),S=!g&&c((function(){for(var e=new y,t=5;t--;)e[b](t,t);return!e.has(-0)}));Y||((y=t((function(t,n){u(t,y,e);var r=p(new v,t,y);return null!=n&&l(n,_,r[b],r),r}))).prototype=M,M.constructor=y),(D||S)&&(k("delete"),k("has"),_&&k("get")),(S||L)&&k(b),g&&M.clear&&delete M.clear}else y=m.getConstructor(t,e,_,b),o(y.prototype,n),s.NEED=!0;return f(y,e),w[e]=y,a(a.G+a.W+a.F*(y!=v),w),g||m.setStrong(y,e,_),y}},25645:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},92811:(e,t,n)=>{"use strict";var r=n(99275),a=n(90681);e.exports=function(e,t,n){t in e?r.f(e,t,a(0,n)):e[t]=n}},741:(e,t,n)=>{var r=n(24963);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},53537:(e,t,n)=>{"use strict";var r=n(74253),a=Date.prototype.getTime,i=Date.prototype.toISOString,o=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(a.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+o(e.getUTCMonth()+1)+"-"+o(e.getUTCDate())+"T"+o(e.getUTCHours())+":"+o(e.getUTCMinutes())+":"+o(e.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}:i},870:(e,t,n)=>{"use strict";var r=n(27007),a=n(21689),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return a(r(this),e!=i)}},91355:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},67057:(e,t,n)=>{e.exports=!n(74253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},62457:(e,t,n)=>{var r=n(55286),a=n(3816).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},74430:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:(e,t,n)=>{var r=n(47184),a=n(64548),i=n(14682);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var o,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,o=s[u++])&&t.push(o);return t}},42985:(e,t,n)=>{var r=n(3816),a=n(25645),i=n(87728),o=n(77234),s=n(741),l=function(e,t,n){var u,d,c,h,f=e&l.F,p=e&l.G,m=e&l.S,_=e&l.P,g=e&l.B,v=p?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=p?a:a[t]||(a[t]={}),b=y.prototype||(y.prototype={});for(u in p&&(n=t),n)c=((d=!f&&v&&void 0!==v[u])?v:n)[u],h=g&&d?s(c,r):_&&"function"==typeof c?s(Function.call,c):c,v&&o(v,u,c,e&l.U),y[u]!=c&&i(y,u,h),_&&b[u]!=c&&(b[u]=c)};r.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},8852:(e,t,n)=>{var r=n(86314)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},74253:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},28082:(e,t,n)=>{"use strict";n(18269);var r=n(77234),a=n(87728),i=n(74253),o=n(91355),s=n(86314),l=n(21165),u=s("species"),d=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),c=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!d||"split"===e&&!c){var m=/./[h],_=n(o,h,""[e],(function(e,t,n,r,a){return t.exec===l?f&&!a?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=_[0],v=_[1];r(String.prototype,e,g),a(RegExp.prototype,h,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},53218:(e,t,n)=>{"use strict";var r=n(27007);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},13325:(e,t,n)=>{"use strict";var r=n(4302),a=n(55286),i=n(10875),o=n(741),s=n(86314)("isConcatSpreadable");e.exports=function e(t,n,l,u,d,c,h,f){for(var p,m,_=d,g=0,v=!!h&&o(h,f,3);g0)_=e(t,n,p,i(p.length),_,c-1)-1;else{if(_>=9007199254740991)throw TypeError();t[_]=p}_++}g++}return _}},3531:(e,t,n)=>{var r=n(741),a=n(28851),i=n(86555),o=n(27007),s=n(10875),l=n(69002),u={},d={},c=e.exports=function(e,t,n,c,h){var f,p,m,_,g=h?function(){return e}:l(e),v=r(n,c,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>y;y++)if((_=t?v(o(p=e[y])[0],p[1]):v(e[y]))===u||_===d)return _}else for(m=g.call(e);!(p=m.next()).done;)if((_=a(m,v,p.value,t))===u||_===d)return _};c.BREAK=u,c.RETURN=d},40018:(e,t,n)=>{e.exports=n(3825)("native-function-to-string",Function.toString)},3816:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},79181:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},87728:(e,t,n)=>{var r=n(99275),a=n(90681);e.exports=n(67057)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},40639:(e,t,n)=>{var r=n(3816).document;e.exports=r&&r.documentElement},1734:(e,t,n)=>{e.exports=!n(67057)&&!n(74253)((function(){return 7!=Object.defineProperty(n(62457)("div"),"a",{get:function(){return 7}}).a}))},40266:(e,t,n)=>{var r=n(55286),a=n(27375).set;e.exports=function(e,t,n){var i,o=t.constructor;return o!==n&&"function"==typeof o&&(i=o.prototype)!==n.prototype&&r(i)&&a&&a(e,i),e}},97242:e=>{e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},49797:(e,t,n)=>{var r=n(92032);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},86555:(e,t,n)=>{var r=n(87234),a=n(86314)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},4302:(e,t,n)=>{var r=n(92032);e.exports=Array.isArray||function(e){return"Array"==r(e)}},18367:(e,t,n)=>{var r=n(55286),a=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&a(e)===e}},55286:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},55364:(e,t,n)=>{var r=n(55286),a=n(92032),i=n(86314)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},28851:(e,t,n)=>{var r=n(27007);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},49988:(e,t,n)=>{"use strict";var r=n(42503),a=n(90681),i=n(22943),o={};n(87728)(o,n(86314)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:a(1,n)}),i(e,t+" Iterator")}},42923:(e,t,n)=>{"use strict";var r=n(4461),a=n(42985),i=n(77234),o=n(87728),s=n(87234),l=n(49988),u=n(22943),d=n(468),c=n(86314)("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};e.exports=function(e,t,n,_,g,v,y){l(n,t,_);var b,M,w,k=function(e){if(!h&&e in Y)return Y[e];switch(e){case f:case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",L=g==p,D=!1,Y=e.prototype,S=Y[c]||Y["@@iterator"]||g&&Y[g],T=S||k(g),C=g?L?k("entries"):T:void 0,O="Array"==t&&Y.entries||S;if(O&&(w=d(O.call(new e)))!==Object.prototype&&w.next&&(u(w,x,!0),r||"function"==typeof w[c]||o(w,c,m)),L&&S&&S.name!==p&&(D=!0,T=function(){return S.call(this)}),r&&!y||!h&&!D&&Y[c]||o(Y,c,T),s[t]=T,s[x]=m,g)if(b={values:L?T:k(p),keys:v?T:k(f),entries:C},y)for(M in b)M in Y||i(Y,M,b[M]);else a(a.P+a.F*(h||D),t,b);return b}},7462:(e,t,n)=>{var r=n(86314)("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],o=i[r]();o.next=function(){return{done:n=!0}},i[r]=function(){return o},e(i)}catch(e){}return n}},15436:e=>{e.exports=function(e,t){return{value:t,done:!!e}}},87234:e=>{e.exports={}},4461:e=>{e.exports=!1},13086:e=>{var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},34934:(e,t,n)=>{var r=n(61801),a=Math.pow,i=a(2,-52),o=a(2,-23),s=a(2,127)*(2-o),l=a(2,-126);e.exports=Math.fround||function(e){var t,n,a=Math.abs(e),u=r(e);return as||n!=n?u*(1/0):u*n}},46206:e=>{e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},61801:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},84728:(e,t,n)=>{var r=n(93953)("meta"),a=n(55286),i=n(79181),o=n(99275).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(74253)((function(){return l(Object.preventExtensions({}))})),d=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},c=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[r].w},onFreeze:function(e){return u&&c.NEED&&l(e)&&!i(e,r)&&d(e),e}}},14351:(e,t,n)=>{var r=n(3816),a=n(74193).set,i=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,l="process"==n(92032)(o);e.exports=function(){var e,t,n,u=function(){var r,a;for(l&&(r=o.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){o.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var d=s.resolve(void 0);n=function(){d.then(u)}}else n=function(){a.call(r,u)};else{var c=!0,h=document.createTextNode("");new i(u).observe(h,{characterData:!0}),n=function(){h.data=c=!c}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},43499:(e,t,n)=>{"use strict";var r=n(24963);function a(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new a(e)}},35345:(e,t,n)=>{"use strict";var r=n(67057),a=n(47184),i=n(64548),o=n(14682),s=n(20508),l=n(49797),u=Object.assign;e.exports=!u||n(74253)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,d=1,c=i.f,h=o.f;u>d;)for(var f,p=l(arguments[d++]),m=c?a(p).concat(c(p)):a(p),_=m.length,g=0;_>g;)f=m[g++],r&&!h.call(p,f)||(n[f]=p[f]);return n}:u},42503:(e,t,n)=>{var r=n(27007),a=n(35588),i=n(74430),o=n(69335)("IE_PROTO"),s=function(){},l=function(){var e,t=n(62457)("iframe"),r=i.length;for(t.style.display="none",n(40639).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("