diff --git a/client/.eslintrc.js b/client/.eslintrc.js index 4b7a55dca..f3dae34f9 100644 --- a/client/.eslintrc.js +++ b/client/.eslintrc.js @@ -14,7 +14,6 @@ module.exports = { 'vue/require-default-prop': 'off', 'vue/require-prop-types': 'off', }, - ignorePatterns: ['service-worker.js'], parserOptions: { parser: 'babel-eslint', }, diff --git a/client/dist/css/app.css b/client/dist/css/app.css index 49f9ac9f5..7c92f79f5 100644 --- a/client/dist/css/app.css +++ b/client/dist/css/app.css @@ -1 +1 @@ -.LoginLayout{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-bottom:calc(60px + .1vh)}.LoginLayout__logo{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:30px 20px;text-align:center}.LoginLayout__logo img{max-height:80px;max-width:100%}.LoginLayout__body{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.LoginLayout__footer{display:none;position:absolute;bottom:0;width:100%;padding:10px 15px;background-color:#1f1f1f;color:#636363;font-size:.8rem;line-height:1.52rem;text-align:center}@media (min-width:580px){.LoginLayout__logo img{max-height:120px}}@media (min-width:768px){.LoginLayout{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LoginLayout__logo img{max-height:200px}.LoginLayout__footer{display:block}}.Login__message{background-color:#1f1f1f;padding:20px;font-size:1.2rem;text-align:center}.Login__message--default{color:#8a8a8a}.Login__message--error{color:#fd423f}.Login__message--success{color:#5ebd00}.Login__body{padding:30px 20px}.Login__form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.Login__form__input{width:200px;margin-right:10px;margin-bottom:1rem}.Login__form__submit{padding:9px 10px}@media (min-width:600px){.Login__form{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Login__form__input{margin-bottom:0}}.ErrorDetails{font-size:1.1rem;font-weight:400}.ErrorDetails__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.ErrorDetails__title{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:1.5rem;color:#fd423f}.ErrorDetails__btn-close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.ErrorDetails__main{padding:.7rem 1rem 2rem}.ErrorDetails__no-details-info{font-weight:600;color:#fd935e}.ErrorDetails hr{opacity:.15}.ErrorDetails__content{color:#a3a3a3}.ErrorDetails__subtitle{font-size:1.3rem}.ErrorDetails__file,.ErrorDetails__message{font-family:monospace;font-weight:600}.ErrorDetails__trace{max-height:150px;overflow-y:auto;color:#242424}.ErrorDetails__traceItem{margin-bottom:.5rem;color:#a3a3a3}.ErrorDetails__traceItem__index{display:inline-block;width:3rem;font-weight:600}.ErrorDetails__traceItem__info{font-family:monospace;color:#a3a3a3}.ErrorDetails__traceItem__info:not(:nth-child(2)){margin-left:3rem}.ErrorDetails__footer{padding:1.5rem 1rem 0;text-align:center}.ErrorDetails__is-copied{margin-top:0;color:#5ebd00}.Help__loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.Help__loading .fa-spin{margin-bottom:.1rem;margin-right:.5rem;font-size:1.8rem;line-height:1rem}.Help__message{position:relative;white-space:pre-line;padding-left:1.8rem;text-align:left}.Help__message:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;top:0;left:0;font-family:Font Awesome\ 5 Free;font-weight:900;vertical-align:middle;font-size:1.2rem;margin-top:.1rem}.Help__error-details-button{font-weight:400}.Help--success{color:#5ebd00}.Help--success .Help__message:before{content:"\f00c"}.Help--info .Help__message:before{content:"\f05a"}.Help--error{color:#fd423f;font-weight:600}.SwitchToggle{-ms-flex-align:center}.SwitchToggle,.SwitchToggle__slide{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center}.SwitchToggle__slide{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;width:3.74rem;height:1.7rem;background:#333;border-radius:1.7rem;cursor:pointer}.SwitchToggle__button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:1.7rem;height:1.7rem;border-radius:50%;background:#616161;-webkit-box-shadow:1px 2px 4px 0 rgba(0,0,0,.5);box-shadow:1px 2px 4px 0 rgba(0,0,0,.5)}.SwitchToggle:hover .SwitchToggle__slide{background-color:#404040}.SwitchToggle:hover .SwitchToggle__button{background-color:#757575}.SwitchToggle__label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:.5rem}.SwitchToggle__label__locked{font-style:italic}.SwitchToggle--enabled .SwitchToggle__slide{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.SwitchToggle--enabled .SwitchToggle__button{background-color:#477000}.SwitchToggle--enabled:hover .SwitchToggle__button{background-color:#578a00}.SwitchToggle--locked .SwitchToggle__button,.SwitchToggle--locked .SwitchToggle__slide{opacity:.5;cursor:not-allowed}.SwitchToggle--locked:hover .SwitchToggle__slide{background:#333}.SwitchToggle--locked:hover .SwitchToggle__button{background:#616161}.FormField{-webkit-box-flex:1;-ms-flex:1;flex:1}.FormField__label{display:block;padding:5px 0}.FormField__label__required{color:#fd423f}.FormField__input-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.FormField__datepicker,.FormField__input,.FormField__textarea{width:90%}.FormField__addon{display:inline-block;min-width:2.7rem;padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:0 4px 4px 0}.FormField__textarea{min-height:50px}.FormField__error{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;margin-top:.3rem;color:#fd423f}.FormField__error__text{padding-left:140px}.FormField--with-addon .FormField__input{display:inline-block;border-radius:4px 0 0 4px}.FormField__datepicker__input{width:100%;max-width:300px}@media screen and (min-width:768px){.FormField{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.FormField__label{-webkit-box-flex:0;-ms-flex:0 0 140px;flex:0 0 140px;text-align:right;padding:0 10px}.FormField__datepicker,.FormField__input,.FormField__textarea{-webkit-box-flex:1;-ms-flex:1;flex:1}.FormField__addon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}}.UserProfile__title{margin-bottom:2rem}.UserProfile__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.UserProfile .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.UserProfile__postal-code .FormField__input{max-width:70px}.UserProfile__password-edit-toggle{display:block;margin-top:1rem}.UserProfile__section-password{display:none!important}.UserProfile__password-edit-cancel{float:right}.UserProfile__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:2.8rem;min-width:200px}.UserProfile__extras__buttons{margin-top:2rem;text-align:center}.UserProfile--password-edit .UserProfile__section-password{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.UserProfile--password-edit .UserProfile__password-edit-toggle,.UserProfile--password-edit .UserProfile__section-infos{display:none!important}@media screen and (min-width:768px){.UserProfile__password-edit-toggle,.UserProfile__title{margin-left:140px}}.UserSettings__title{margin-bottom:2rem}.UserSettings__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.UserSettings .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.UserSettings__hours .FormField__input{max-width:70px}.UserSettings__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px}.UserSettings__extras__buttons{margin-top:2rem;text-align:center}@media screen and (min-width:768px){.UserSettings__title{margin-left:140px}}.EventMaterials__categories,.EventMaterials__footer,.EventMaterials__toggle{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-bottom:1.5rem}.EventMaterials__category{padding:0 .5rem;border-left:3px solid #383838}.EventMaterials__title{margin:0 0 .5rem}.EventMaterials__list{margin:0 0 .5rem;padding:0}.EventMaterials__item,.EventMaterials__subtotal{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex}.EventMaterials__item__name,.EventMaterials__subtotal__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventMaterials__item__price,.EventMaterials__subtotal__price{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:.8rem;color:#8a8a8a;text-align:right}.EventMaterials__item{margin-bottom:.35rem;border-bottom:1px dashed #383838}.EventMaterials__item__quantity-first{-webkit-box-flex:0;-ms-flex:0 0 35px;flex:0 0 35px;color:#8a8a8a;padding-right:1rem;text-align:right}.EventMaterials__item__quantity{-webkit-box-flex:0;-ms-flex:0 0 3rem;flex:0 0 3rem;margin:0 .8rem 0 .8rem}.EventMaterials__item__quantity .fa-times{margin-right:.2rem;color:#8a8a8a;font-size:.8rem}.EventMaterials__item__total{-webkit-box-flex:0;-ms-flex:0 0 5rem;flex:0 0 5rem;margin-left:.8rem;text-align:right}.EventMaterials__subtotal{padding:.5rem 0 0;font-size:1.1rem}.EventMaterials__subtotal__name{text-align:right;color:#8a8a8a}.EventMaterials__subtotal__price{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:#e3e3e3;font-weight:600}.EventMissingMaterials{color:#e3e3e3}.EventMissingMaterials__title{font-size:1.2rem;margin-bottom:1rem}.EventMissingMaterials__title .fas{width:1.5rem;margin-right:.5rem;text-align:center}.EventMissingMaterials__help{color:#a3a3a3}.EventMissingMaterials__error{color:#fd423f;margin:0 0 1.5rem}.EventMissingMaterials__list{margin:0 0 1.5rem;padding:0}.EventMissingMaterials__item{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:.5rem;border-bottom:1px dashed #383838;color:#fd423f}.EventMissingMaterials__item__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventMissingMaterials__item__quantity{-webkit-box-flex:0;-ms-flex:0 0 14.5rem;flex:0 0 14.5rem;margin:0 .8rem}.EventBilling__last-bill{margin-bottom:2rem}.EventBilling__last-bill__no-bill,.EventBilling__last-bill__regenerate__text{margin:0 0 .5rem;color:#8a8a8a;font-style:italic;margin-bottom:2rem}.EventBilling__last-bill__not-billable{color:#fd423f}.EventBilling__last-bill__not-billable__text{margin:0;font-style:italic}.EventBilling__last-bill__discount-input .FormField__input{max-width:90px}.EventBilling__last-bill__discount-target-input .FormField__input{max-width:110px}.EventBilling__last-bill__beneficiary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:1rem}.EventBilling__last-bill__beneficiary__label{display:block;padding:5px 0}.EventBilling__last-bill__save{margin-top:1.2rem}.EventBilling__last-bill__download{font-size:1.1rem;margin-bottom:1rem}.EventBilling__last-bill__download__text{margin:0 0 .5rem}.EventBilling__last-bill__download__link{display:inline-block;margin-top:.5rem;padding:1rem 1rem 1rem .5rem;border:1px solid;border-radius:4px}.EventBilling__last-bill .fas{width:1.5rem;margin-right:.5rem;text-align:center}@media (min-width:768px){.EventBilling__last-bill__beneficiary{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:2.5rem}.EventBilling__last-bill__beneficiary__label{-webkit-box-flex:0;-ms-flex:0 0 140px;flex:0 0 140px;padding:0 10px;text-align:right}.EventBilling__last-bill__beneficiary__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventBilling__last-bill__save{margin-top:1rem;padding-left:140px}}.EventTotals{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 .5rem;text-align:right;font-size:1.1rem}.EventTotals .fas{margin:0 .3rem;font-size:.95rem;color:#8a8a8a}.EventTotals__base{margin-bottom:1rem}.EventTotals__grand,.EventTotals__grand-discount{font-size:1.7rem;margin-bottom:.5rem}.EventTotals__discount,.EventTotals__discountable{margin-top:1rem;margin-bottom:.5rem}.EventTotals__daily{color:#8a8a8a}.EventTotals__replacement{margin-top:1.5rem}.EventDetailsHeader{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.EventDetailsHeader__status{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 1rem 0 0;font-size:2rem}.EventDetailsHeader__status .fa-check{color:#da4207}.EventDetailsHeader__details{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#a3a3a3}.EventDetailsHeader__details__title{margin:0 0 .4rem;font-size:1.4rem;font-weight:800;color:#e3e3e3}.EventDetailsHeader__details__location-dates{margin-bottom:.2rem;font-size:1.2rem}.EventDetailsHeader__details__in-progress{color:#5ebd00;font-size:1rem}.EventDetailsHeader__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 1rem}.EventDetailsHeader__actions__print{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:5px;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.EventDetailsHeader__actions__print:focus,.EventDetailsHeader__actions__print:hover,.EventDetailsHeader__actions__print:visited{background-color:#757575;color:#fff;outline:0}.EventDetailsHeader__actions__print:active{background-color:#4d4d4d}.EventDetailsHeader .close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.EventDetails{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.EventDetails,.EventDetails__loading{display:-webkit-box;display:-ms-flexbox;display:flex}.EventDetails__loading{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:250px;background:#333;color:#a3a3a3}.EventDetails__loading .fas{margin-right:.5rem}.EventDetails__content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:200px;max-height:100vh;overflow-y:auto}.EventDetails__content__body{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:1.5rem;background-color:#242424}.EventDetails__error{margin-bottom:1rem;color:#fd423f}.EventDetails__assignees,.EventDetails__beneficiaries,.EventDetails__confirmation,.EventDetails__description,.EventDetails__location,.EventDetails__materials-empty,.EventDetails__no-beneficiary{font-size:1.2rem;margin-bottom:1rem}.EventDetails__assignees .fas,.EventDetails__beneficiaries .fas,.EventDetails__confirmation .fas,.EventDetails__description .fas,.EventDetails__location .fas,.EventDetails__materials-empty .fas,.EventDetails__no-beneficiary .fas{width:1.5rem;margin-right:.5rem;text-align:center}.EventDetails__assignee,.EventDetails__beneficiary{display:inline-block}.EventDetails__assignee+.EventDetails__assignee,.EventDetails__beneficiary+.EventDetails__beneficiary{margin-left:.5rem}.EventDetails__assignee+.EventDetails__assignee:before,.EventDetails__beneficiary+.EventDetails__beneficiary:before{content:"|";margin-right:.3rem;color:#e3e3e3}.EventDetails__no-beneficiary{color:#fd423f}.EventDetails__confirmation{color:#fd935e}.EventDetails__confirmation--confirmed{color:#5ebd00}.EventDetails__description{color:#a3a3a3;white-space:pre-wrap;line-height:1.5}.EventDetails__materials-empty{color:#fd423f}.EventDetails__materials-empty .fas{margin-right:.3rem}.EventDetails__not-billable{font-size:1.2rem;color:#fd935e}.EventDetails__totals .EventTotals{padding:0;text-align:left}.CalendarHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:1rem 1rem 0}.CalendarHeader__timeline-actions{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:center}.CalendarHeader__filters,.CalendarHeader__timeline-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:1rem}.CalendarHeader__filters{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.CalendarHeader__loading-container{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px;min-width:130px;margin-bottom:1rem}.CalendarHeader__actions{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:1rem}.CalendarHeader__actions,.CalendarHeader__loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.CalendarHeader__loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fd935e;font-weight:600}.CalendarHeader__loading .fa-spin{margin-bottom:.1rem;margin-right:.5rem;font-size:1.8rem}.CalendarHeader__center-date{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:.5rem}.CalendarHeader__center-date .FormField__label{display:none;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-left:0}.CalendarHeader__center-date .FormField__datepicker{width:100%}.CalendarHeader__center-date .FormField__datepicker__input{padding:8px 10px}.CalendarHeader__button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 .5rem 0 0}.CalendarHeader__button__title{display:none;margin-left:.5rem}.CalendarHeader__filter{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.CalendarHeader__filter__label{max-width:170px}.CalendarHeader__filter .SwitchToggle{margin-top:3px}.CalendarHeader__filter__select{padding:.55rem .78rem}.CalendarHeader__filter--active{color:#fd935e}.CalendarHeader__filter--active .CalendarHeader__filter__select{background-color:#b4320e}.CalendarHeader__filter--active .CalendarHeader__filter__label{color:#fd935e}.CalendarHeader__filter--active .SwitchToggle__button{background-color:#b4320e}@media (min-width:580px){.CalendarHeader{padding:1rem 2rem 0}.CalendarHeader__button__title{display:inline-block}}@media (min-width:768px){.CalendarHeader__center-date{min-width:200px}.CalendarHeader__center-date .FormField__label{display:block}}@media (min-width:1400px){.CalendarHeader__filters{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.Calendar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.Calendar__loading{position:absolute;top:50px;left:50%}.Calendar__timeline{-webkit-box-flex:1;-ms-flex:1;flex:1}.Calendar .Help{-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;margin:1rem 0}@-webkit-keyframes animBackground{0%{background-position:0 0}to{background-position:40px 0}}@keyframes animBackground{0%{background-position:0 0}to{background-position:40px 0}}.Breadcrumb__step{padding:1rem .8rem;border:1px solid #636363;border-radius:1.5rem;text-align:left;font-size:1.1rem;color:#636363;cursor:default}.Breadcrumb__step__name{font-weight:800}.Breadcrumb__step--active{color:#a3a3a3;border-color:#a3a3a3;cursor:pointer}.Breadcrumb__step--current{color:#e3e3e3;border-color:#e3e3e3}.Breadcrumb__step--validated{color:#5ebd00;border-color:#5ebd00;cursor:pointer}.Breadcrumb__step+.Breadcrumb__step{margin-top:1rem}.EventMiniSummary{position:relative;padding:1rem .8rem;border:1px solid #636363;border-radius:8px;text-align:center;color:#a3a3a3}.EventMiniSummary__not-saved{position:absolute;color:#fd935e}.EventMiniSummary__title{font-size:1.1rem;font-weight:800}.EventMiniSummary__detail,.EventMiniSummary__total{margin-top:.8rem;line-height:1.4rem;text-transform:capitalize}.EventMiniSummary__total{font-size:1.4rem;color:#e3e3e3}.EventMiniSummary--not-saved{border-color:#fd935e}.EventMiniSummary--confirmed .fa-check{color:#5ebd00}.EventStep1__save-btn{margin-bottom:1rem}.EventStep1__dates{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem}.EventStep1__dates__fields{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventStep1__dates__duration{-webkit-box-flex:0;-ms-flex:0 0 150px;flex:0 0 150px;text-align:center}.EventStep1__description .FormField__textarea,.EventStep1__location .FormField__input{max-width:500px}.EventStep1__is-billable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem}.EventStep1__is-billable .FormField,.EventStep1__is-billable__help{-webkit-box-flex:1;-ms-flex:1;flex:1}.MultipleItem__item-action-btn{height:35px;margin-left:.6rem}.MultipleItem__value-field{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:9px 10px;min-height:2.7rem;color:#ededed;border:1px solid #454545;border-radius:4px}.MultipleItem__value-field--loading{color:#8a8a8a}.MultipleItem__value-field--error{font-style:italic;color:#fd423f}.MultipleItem .v-select{-webkit-box-flex:1;-ms-flex:1;flex:1}.MultipleItem__actions{margin-left:140px;padding:1rem 0}.MultipleItem__actions button{padding:5px 10px}.EventStep2__help{margin-left:140px}.EventStep2__help .fas{font-size:1.2rem;margin-right:.3rem}.EventStep2__save-btn,.EventStep3__save-btn{margin-bottom:1rem}.MaterialsFilters{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.MaterialsFilters__item,.MaterialsFilters__reset{margin-left:0;margin-bottom:1rem;margin-right:.5rem;padding:8px 10px}.MaterialsFilters .v-select{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;min-width:150px;margin-bottom:1rem;margin-right:.5rem;padding:5.5px 10px}.MaterialsFilters .v-select .vs__selected-options{padding:0;font-size:.9rem}.MaterialsFilters .v-select .vs__selected-options .vs__selected{padding:.1rem .5rem;margin:0 .2rem .2rem 0}.MaterialsFilters .v-select .vs__selected-options .vs__selected .vs__deselect{padding:.3rem .4rem;margin:0 .2rem}.MaterialsFilters .v-select .vs__search{padding:.3rem 0}.MaterialsFilters__item--is-active{background-color:#9c2b0c!important}.MaterialsListQuantity{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:9rem;min-width:9rem}.MaterialsListQuantity button{padding:6px 8px}.MaterialsListQuantity__number{width:3rem;margin:0 .3rem;padding:5px 8px}.MaterialsList{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}.MaterialsList,.MaterialsList__header{display:-webkit-box;display:-ms-flexbox;display:flex}.MaterialsList__header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.MaterialsList__header .MaterialsFilters{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1rem 0}.MaterialsList__header__extra-filters{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:1rem}.MaterialsList__header__extra-filters__filter{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.MaterialsList__header__extra-filters__filter .SwitchToggle{margin-top:.3rem}.MaterialsList__error{color:#fd423f;margin:1rem 0}.MaterialsList__main{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.MaterialsList__loading{position:absolute;right:0;top:.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.MaterialsList__loading .fas{margin-right:.3rem}.MaterialsList .VueTables__table thead{display:none}.MaterialsList .VueTables__table .VueTables__row td{background:none;border-bottom-color:#383838}.MaterialsList .VueTables__table .VueTables__row:first-child td{border-top:1px solid #383838}.MaterialsList__qty{color:#8a8a8a!important;font-weight:600}.MaterialsList__ref{font-weight:600}.MaterialsList__name{color:#8a8a8a!important}.MaterialsList__remaining{min-width:4.5rem}.MaterialsList__remaining--zero{color:#fd935e}.MaterialsList__remaining--empty{color:#fd423f}.MaterialsList__price{text-align:right}.MaterialsList__price .fas{margin-left:.3rem;color:#8a8a8a}.MaterialsList__quantity{width:9rem;min-width:9rem}.MaterialsList__quantity button{padding:6px 8px}.MaterialsList__quantity__number{width:3rem;margin:0 .3rem;padding:5px 8px 6px}.MaterialsList__amount{width:5rem;min-width:5rem;text-align:right}.MaterialsList__actions{width:45px;min-width:45px}.MaterialsList__actions button{padding:6px 8px}.MaterialsList__add-more{text-align:center;margin:1rem 0 50px}.EventStep4 .Form__actions{position:fixed;bottom:0;left:315px;right:15px;margin:0;padding:1rem 0 .5rem;background:#242424}.EventStep4__save-btn{margin-bottom:1rem}@media (min-width:1024px){.EventStep4 .Form__actions{left:360px}}.EventOverview{color:#e3e3e3}.EventOverview__title{font-size:1.5rem;margin:1rem 0 1.5rem}.EventOverview__dates-location{margin:0 0 1.5rem;font-size:1.2rem}.EventOverview__description{padding-top:0;padding-bottom:1.5rem;white-space:pre-wrap;line-height:1.5}.EventOverview__dates-location .fas,.EventOverview__description .fas{width:1.5rem;margin-right:.5rem;margin-bottom:.5rem;font-size:1.2rem;text-align:center}.EventOverview__billing,.EventOverview__main,.EventOverview__materials{margin-bottom:1.5rem;border-bottom:1px solid #383838}.EventOverview__missing-materials{margin-bottom:1.5rem}.EventOverview__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.EventOverview__section{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px;margin-bottom:1.5rem;margin-right:1.5rem}.EventOverview__billing-title,.EventOverview__info__term,.EventOverview__materials__title{margin:0 0 1.5rem;font-size:1.2rem;font-weight:600}.EventOverview__billing-title .far,.EventOverview__billing-title .fas,.EventOverview__info__term .far,.EventOverview__info__term .fas,.EventOverview__materials__title .far,.EventOverview__materials__title .fas{width:1.5rem;margin-right:.5rem;margin-bottom:.5rem;text-align:center}.EventOverview__info{margin:0}.EventOverview__info+.EventOverview__info{margin-top:1.5rem}.EventOverview__info__term{margin-bottom:.5rem}.EventOverview__info__term:after{content:":"}.EventOverview__info__value{display:block;margin:0;font-size:1.1rem}.EventOverview__info__list{margin:0;padding:0}.EventOverview__info__list-item{list-style:inside;margin-left:.2rem}.EventOverview__info--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.EventOverview__info--vertical .EventOverview__info__value{margin-top:.5rem;margin-left:0}.EventOverview__materials__empty{color:#fd423f}.EventOverview__materials__empty .fas{margin-right:.3rem}.EventOverview__billing{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;padding-bottom:1.5rem}.EventOverview__billing .EventBilling{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:300px;padding:0 .5rem;padding-right:1rem;border-left:3px solid #383838}.EventOverview__billing .EventTotals{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-bottom:1.5rem;padding-left:1rem;border-left:3px solid #383838}@media (min-width:1024px){.EventOverview__billing{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.EventStep5 .EventOverview{margin-bottom:1.5rem}.EventStep5 .EventMissingMaterials,.EventStep5__confirmation{border-bottom:1px solid #383838}.EventStep5__confirmation{padding-bottom:1.5rem;margin-bottom:1.5rem}.EventStep5__confirmation .fas{margin-right:.3rem}.EventStep5__confirmation__title{font-size:1.2rem;font-weight:600;margin:0 0 1.5rem;color:#e3e3e3}.EventStep5__confirmation__help{margin-bottom:1.5rem;color:#fd935e}.EventStep5__confirmation__help p{margin:0;padding-right:.5rem;line-height:1.4}.EventStep5__confirmation__help--confirmed{color:#5ebd00}.EventStep5__confirmation__actions__print{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:5px;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.EventStep5__confirmation__actions__print:focus,.EventStep5__confirmation__actions__print:hover,.EventStep5__confirmation__actions__print:visited{background-color:#757575;color:#fff;outline:0}.EventStep5__confirmation__actions__print:active{background-color:#4d4d4d}.Event{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Event__panel{position:fixed;padding:7px 0;text-align:right;width:160px}.Event__panel__help{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Event__panel__help .Help{margin:1rem .5rem;line-height:1.5}.Event__panel__help .Help__error{text-align:center}.Event__panel__help .Help__loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Event .EventMiniSummary{width:100%;margin-top:1rem}.Event .EventStep1,.Event .EventStep2,.Event .EventStep3,.Event .EventStep4,.Event .EventStep5{margin-left:180px;min-width:250px;max-width:600px}.Event .EventStep4{width:100%;max-width:none}.Event .EventStep5{width:100%;max-width:850px}@media (min-width:1024px){.Event__panel{width:200px}.Event .EventStep1,.Event .EventStep2,.Event .EventStep3,.Event .EventStep4,.Event .EventStep5{margin-left:220px}}.Users__pseudo .fas{padding-right:.5rem}.Users__no-profile{color:#636363;font-style:italic}.Users__address,.Users__email,.Users__group,.Users__phone{display:none}.Users__actions{width:7.5rem;min-width:7.5rem}.Users__actions .info{font-size:.9rem}@media (min-width:768px){.Users__email,.Users__group{display:table-cell}}@media (min-width:1024px){.Users__address,.Users__phone{display:table-cell}}.User{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.User .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.User__postal-code .FormField__input{max-width:70px}.User .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:200px}.Beneficiaries__address,.Beneficiaries__email,.Beneficiaries__nickname,.Beneficiaries__note{display:none}@media (min-width:580px){.Beneficiaries__email{display:table-cell}}@media (min-width:768px){.Beneficiaries__nickname{display:table-cell}}@media (min-width:1024px){.Beneficiaries__address,.Beneficiaries__note{display:table-cell}}.PersonForm{min-width:200px;max-width:600px;margin-right:1rem}.PersonForm__company{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:1rem}.PersonForm__company .FormField{-webkit-box-flex:1;-ms-flex:1;flex:1}.PersonForm__company__edit-btn{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-top:2rem}.PersonForm__phone .FormField__input{max-width:120px}.PersonForm__postal-code .FormField__input{max-width:70px}.PersonForm__notes .FormField__label{-ms-flex-item-align:start;align-self:flex-start;padding-top:.6rem}.PersonForm__notes .FormField__textarea{min-height:120px}@media screen and (min-width:768px){.PersonForm__company__edit-btn{margin-top:0}.PersonForm__add-company{margin-left:140px}}.Beneficiary__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Beneficiary .PersonForm{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Beneficiary .Help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}@media screen and (min-width:580px){.Beneficiary .Help{display:block}}.CompanyForm{min-width:200px;max-width:600px;margin-right:1rem}.CompanyForm__phone .FormField__input{max-width:120px}.CompanyForm__postal-code .FormField__input{max-width:70px}.CompanyForm__notes .FormField__label{-ms-flex-item-align:start;align-self:flex-start;padding-top:.6rem}.CompanyForm__notes .FormField__textarea{min-height:120px}.Company__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Company .CompanyForm{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:0}.Company__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:2.8rem;min-width:180px}.Company .Help{display:none;margin-bottom:1rem}.Company__persons{padding:.5rem 1rem;max-width:350px;background-color:#333;color:#e3e3e3}.Company__persons__title{margin:.5rem 0;font-size:1.1rem}.Company__persons__list{margin:0;padding:.5rem}.Company__persons__item{list-style:none;margin-bottom:.5rem}.Company__persons__item .fas{margin-right:.2rem}@media screen and (min-width:768px){.Company .CompanyForm{margin-right:1.5rem}.Company .Help{display:block}}.PromptDate__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem 2rem;background-color:#333}.PromptDate__header__title{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:1.4rem}.PromptDate__header__btn-close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.PromptDate__main{padding:2rem 1rem}.PromptDate__datepicker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.PromptDate__datepicker__input{width:100%;max-width:300px;font-size:1.1rem}.PromptDate hr{opacity:.15;margin:0}.PromptDate__footer{padding:2rem;text-align:center}.AssignTagsHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.AssignTagsHeader__title{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 .4rem;font-size:1.1rem;font-weight:800;color:#e3e3e3}.AssignTagsHeader .close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.AssignTags{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.AssignTags .AssignTagsHeader,.AssignTags__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.AssignTags__content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:150px;padding:.7rem 1rem 0}.AssignTags__content .vs__dropdown-menu{max-height:150px}.AssignTags__help{color:#8a8a8a}.AssignTags__form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.AssignTags__form .v-select{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:1rem}.AssignTags__form__remove-all{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:3rem}.AssignTags__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:1.5rem 1rem}.AssignTags__actions .fas+span{margin-left:.35rem}.AssignTags__error{margin-right:.7rem;color:#fd423f;font-weight:800}.MaterialTags{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.MaterialTags__item{list-style:none;padding:.3rem .5rem;margin:0 .35rem .35rem 0;background:#1f1f1f;border-radius:10px}.Materials__main-view{position:relative}.Materials__filters{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.Materials__filters .MaterialsFilters{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-right:1rem}.Materials__quantities-date{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin-bottom:1rem}.Materials__quantities-date__displayed{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#e3e3e3;font-weight:600}.Materials__quantities-date__label{max-width:140px;margin:0 1rem 0 0;white-space:pre-line;text-align:center;color:#fd935e}.Materials__quantities-date__button{padding:9px 10px}.Materials__category,.Materials__description,.Materials__park,.Materials__quantity-out,.Materials__ref,.Materials__rental-price,.Materials__replacement-price,.Materials__tags{display:none}.Materials__category{white-space:nowrap}.Materials__rental-price,.Materials__replacement-price{text-align:right!important}.Materials__quantity,.Materials__quantity-out,.Materials__remaining-quantity{text-align:center!important}.Materials__remaining-quantity{color:#fd935e!important;font-weight:800}.Materials__tags-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:-.35rem;cursor:pointer}.Materials__tags-list:hover{color:#fc864a}.Materials__add-tags{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:.35rem;padding:.4rem .55rem;font-size:.85rem}.Materials__actions{min-width:110px}@media (min-width:768px){.Materials__category,.Materials__ref,.Materials__rental-price,.Materials__replacement-price{display:table-cell}}@media (min-width:1024px){.Materials__quantity-out,.Materials__tags{display:table-cell}}@media (min-width:1400px){.Materials__description,.Materials__park{display:table-cell}.Materials__filters{position:absolute;-webkit-box-align:center;-ms-flex-align:center;align-items:center;left:240px;right:calc(3rem + 45px);z-index:1}.Materials__filters,.Materials__filters .MaterialsFilters{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.Material{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:6rem}.Material .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Material__no-attribute-help{margin:0 0 1rem;color:#636363;font-style:italic}.Material__attributes{margin-bottom:1.5rem}.Material__modify-attribute-link{margin-bottom:2rem}.Material__ref .FormField__input{max-width:180px}.Material__price .FormField__input,.Material__quantity .FormField__input{max-width:80px}.Material .Help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}@media screen and (min-width:580px){.Material .Help{display:block}}@media screen and (min-width:768px){.Material__modify-attribute-link,.Material__no-attribute-help{margin-left:140px}}.MaterialViewInfosAttributes__list__item{margin-bottom:.3rem}.MaterialViewInfosAttributes__list__item__value{font-weight:700}.MaterialViewInfos{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:6rem}.MaterialViewInfos__main{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:250px;margin-right:3rem}.MaterialViewInfos__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:250px;padding:1rem 0 0}.MaterialViewInfos__rental-price,.MaterialViewInfos__stock-quantity{font-weight:700;margin-bottom:.3rem}.MaterialViewInfos__out-of-order{color:#fd423f}.MaterialViewInfos__categories{margin:1.5rem 0}.MaterialViewInfos__dates{color:#8a8a8a;margin-top:1.5rem}.MaterialViewDocumentsItem{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;margin:0 0 10px;padding:0;background:#1f1f1f;color:#e3e3e3;border-radius:4px}.MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem__no-link{display:block;padding:1rem}.MaterialViewDocumentsItem__icon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:1.8rem}.MaterialViewDocumentsItem__icon .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem__icon .MaterialViewDocumentsItem__no-link{margin-left:1rem}.MaterialViewDocumentsItem__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.MaterialViewDocumentsItem__size{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:#8a8a8a;margin-right:1rem}.MaterialViewDocumentsItem__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:1rem}.MaterialViewDocumentsItem--with-link .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem--with-link .MaterialViewDocumentsItem__no-link{color:#e3e3e3}.MaterialViewDocumentsItem--with-link:hover{background-color:#2c2c2c}.MaterialViewDocumentsItem--with-link:hover .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem--with-link:hover .MaterialViewDocumentsItem__no-link{color:#fc864a}.Progressbar{position:relative;height:20px;width:100%;background:rgba(3,3,3,.75);border-radius:4px}.Progressbar__progress{position:absolute;left:0;top:0;bottom:0;background:#116f49;border-radius:4px;text-align:center;overflow:hidden}.MaterialViewDocumentsUpload{min-width:300px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-left:1px solid #454545;background-color:transparent;-webkit-transition:background-color .3s ease-out;transition:background-color .3s ease-out}.MaterialViewDocumentsUpload__title{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:30px 0 15px;font-size:1.2rem}.MaterialViewDocumentsUpload__choose-files{margin:15px 0}.MaterialViewDocumentsUpload__send-list{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;margin:0;padding:.5rem 1rem}.MaterialViewDocumentsUpload__file-errors{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1rem 0;padding:0 1rem}.MaterialViewDocumentsUpload__file-errors__item{list-style:none;color:#fd423f;padding:.5rem 0}.MaterialViewDocumentsUpload__actions{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:20px 0;text-align:center}.MaterialViewDocumentsUpload__actions__file-input{display:none}.MaterialViewDocumentsUpload__actions .Help{margin:1rem 0}.MaterialViewDocumentsUpload .Progressbar{margin-left:2rem}.MaterialViewDocumentsUpload--drag-over{background-color:rgba(224,68,6,.15)}.MaterialViewDocuments{height:calc(100% - 10px);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.MaterialViewDocuments__main{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:300px}.MaterialViewDocuments__main .Help{margin-top:2rem;text-align:center}.MaterialViewDocuments__no-document{margin:30px 0 0;text-align:center;font-size:1.2rem;color:#8a8a8a;font-style:italic}.MaterialViewDocuments__list{margin:0;padding:0 1rem 0 0}.MaterialViewDocuments .MaterialViewDocumentsUpload{-webkit-box-flex:1;-ms-flex:1;flex:1}.MaterialView{height:100%}.MaterialView>.Help{margin-bottom:1rem}.MaterialView__body{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}.MaterialView__body .vue-tablist{margin-bottom:1rem}.MaterialView__body .vue-tabpanel{-webkit-box-flex:1;-ms-flex:1;flex:1}.AttributeEditForm{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:800px;background-color:#363636}.AttributeEditForm__name{-webkit-box-flex:0;-ms-flex:0 0 220px;flex:0 0 220px;padding:.8rem .5rem}.AttributeEditForm__type{-webkit-box-flex:0;-ms-flex:0 0 170px;flex:0 0 170px;padding:.8rem .5rem}.AttributeEditForm__unit{-ms-flex:0 0 80px;flex:0 0 80px}.AttributeEditForm__max-length,.AttributeEditForm__unit{-webkit-box-flex:0;padding:.8rem .5rem;text-align:center}.AttributeEditForm__max-length{-ms-flex:0 0 115px;flex:0 0 115px}.AttributeEditForm__categories{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:.8rem .5rem}.AttributeEditForm__categories__item{margin-top:4px;opacity:.6}.AttributeEditForm__categories__item--selected,.AttributeEditForm__categories__item--selected:focus,.AttributeEditForm__categories__item--selected:hover{opacity:1;background-color:#116f49}.AttributeEditForm__input,.AttributeEditForm__select{width:100%}.AttributeEditForm__error{color:#fd423f;padding:0}.AttributeEditForm__error li{list-style:inside}.Attributes__header .Help{margin-top:.5rem}.Attributes__back-button{margin-top:.5rem;margin-right:1rem}.Attributes__no-data{background-color:#363636;margin:0;padding:1.5rem .5rem;text-align:center;font-style:italic}.Attributes__items{width:100%;min-width:800px;margin:0;background-color:#363636;color:#e3e3e3;border-collapse:collapse}.Attributes__items__header{font-weight:600;background-color:#2e2e2e;color:#a3a3a3;text-align:left}.Attributes__items__categories,.Attributes__items__delete,.Attributes__items__edit-name,.Attributes__items__max-length,.Attributes__items__name,.Attributes__items__type,.Attributes__items__unit{padding:.8rem .5rem;border-bottom:1px solid #242424}.Attributes__items__name-error{color:#fd423f;font-weight:400}.Attributes__items__edit-name{height:45px;text-align:center}.Attributes__items__edit-name__edit-button{visibility:hidden;-webkit-transition:none;transition:none;padding:5px 8px;font-size:.9rem}.Attributes__items__delete{width:30px}.Attributes__items__delete__button{visibility:hidden;-webkit-transition:none;transition:none;padding:5px 8px;font-size:.9rem}.Attributes__items__delete__button--show,.Attributes__items__line:hover .Attributes__items__delete__button,.Attributes__items__line:hover .Attributes__items__edit-name__edit-button{visibility:visible}.Attributes__items__name{width:220px;font-weight:700}.Attributes__items__edit-name{width:85px}.Attributes__items__type{width:170px}.Attributes__items__unit{width:80px;text-align:center}.Attributes__items__max-length{width:125px;text-align:center}.Attributes__items__categories__empty{color:#8a8a8a;font-style:italic}.Attributes__actions{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:1rem}.Attributes__actions--add{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.Tags__empty{width:100%;margin-top:2rem;text-align:center;color:#636363;font-size:1.2rem;font-style:italic;font-weight:400}.Tags__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.Tags__edit-button{padding:.33rem .6rem;margin-left:.5rem;-webkit-transition:visibility 10ms;transition:visibility 10ms}.Tags__item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:2rem;min-width:18rem;margin:.5rem 2rem .5rem 0;padding:.6rem 1rem;background:#1f1f1f;border-radius:10px;font-size:1.2rem}.Tags__item__name{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#e3e3e3}.Tags__item__name .fas{margin-right:.4rem;color:#8a8a8a}.Tags__item--protected .Tags__item__name{color:#636363}@media (min-width:1024px){.Tags__edit-button{visibility:hidden}.Tags__item:hover .Tags__edit-button{visibility:visible}}.Technicians__address,.Technicians__email,.Technicians__nickname,.Technicians__note{display:none}@media (min-width:580px){.Technicians__email{display:table-cell}}@media (min-width:768px){.Technicians__nickname{display:table-cell}}@media (min-width:1024px){.Technicians__address,.Technicians__note{display:table-cell}}.Technician{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Technician .PersonForm{-webkit-box-flex:2;-ms-flex:2;flex:2}.Technician .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}.Categories__items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:0!important}.Categories__category{-webkit-box-flex:1;-ms-flex:1 0 220px;flex:1 0 220px;max-width:500px;margin-bottom:2rem;padding:.6rem 1rem;background:#1f1f1f;border-radius:10px;margin-right:1rem}.Categories__sub-categories{margin-left:2.3rem}.Categories__sub-category{margin-top:.5rem}.Categories__category__name,.Categories__sub-category__name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:2.2rem;font-size:1.2rem;color:#e3e3e3}.Categories__category__name .fas,.Categories__sub-category__name .fas{margin-right:.6rem;font-size:1.3rem}.Categories__category__actions,.Categories__sub-category__actions{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;min-width:110px}.Categories__edit-button{padding:4px 8px;margin-left:.5rem;-webkit-transition:visibility 10ms;transition:visibility 10ms}.Categories__edit-button .fas{margin:0;font-size:1rem}.Categories__add-link{display:block;margin-top:.5rem}.Categories__add-link:hover{color:#fc864a}@media (min-width:580px){.Categories__category{margin-right:2rem}}@media (min-width:1024px){.Categories__edit-button,.Categories__link-button{visibility:hidden}.Categories__category{margin-right:2.5rem}.Categories__category__name:hover .Categories__edit-button,.Categories__category__name:hover .Categories__link-button,.Categories__sub-category__name:hover .Categories__edit-button,.Categories__sub-category__name:hover .Categories__link-button{visibility:visible}}.Parks__address,.Parks__note,.Parks__opening-hours{display:none}.Parks__total-stock{color:#8a8a8a}.Parks__total-amount{display:block;color:#8a8a8a}@media (min-width:580px){.Parks__address{display:table-cell}}@media (min-width:768px){.Parks__note,.Parks__opening-hours{display:table-cell}}.Park{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Park .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Park .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}.Park__postal-code .FormField__input{max-width:70px}.TopMenu{position:relative;z-index:100}.TopMenu__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 1rem}.TopMenu__welcome{display:none}.TopMenu__dropdown-btn{padding:0 2rem;text-transform:capitalize}.TopMenu__dropdown{position:absolute;top:50px;right:0;width:180px;z-index:99;margin:0;padding:0;background:#333;-webkit-box-shadow:-2px 6px 6px rgba(0,0,0,.25);box-shadow:-2px 6px 6px rgba(0,0,0,.25);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transition:-webkit-transform .15s ease-in-out;transition:-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out;transition:transform .15s ease-in-out,-webkit-transform .15s ease-in-out}.TopMenu__dropdown__nickname{padding:0 2rem .5rem;text-align:center;font-size:1.2rem;text-transform:capitalize}.TopMenu__dropdown__item{padding:1rem 1rem}.TopMenu__dropdown__item .fas{font-size:1.5rem;margin-right:1rem}.TopMenu__dropdown__item--active{background-color:#242424;color:#fff}.TopMenu__dropdown__item--active:hover{background-color:#242424}.TopMenu__dropdown--open{-webkit-transform:none;transform:none}.TopMenu__dropdown-btn,.TopMenu__dropdown__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.TopMenu__dropdown-btn:hover,.TopMenu__dropdown__item:hover{background-color:#262626;color:#fc864a}@media (min-width:580px){.TopMenu__welcome{display:inline-block}.TopMenu__dropdown-btn{padding:0 1rem}.TopMenu__dropdown-btn .fas{margin-left:1rem}.TopMenu__dropdown__nickname{display:none}}.MainHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;max-height:50px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#333}.MainHeader__logo{display:none;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center;padding:.2rem .2rem 0}.MainHeader__logo img{height:3rem}.MainHeader__menu-toggle{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 2rem;-ms-flex-item-align:stretch;align-self:stretch}.MainHeader__title{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#fff;font-size:1.6rem;font-weight:400}.MainHeader__menu{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-item-align:stretch;align-self:stretch}@media (min-width:580px){.MainHeader__logo{display:block}.MainHeader__menu-toggle{display:none}.MainHeader__title{padding-left:1rem}}@media (min-width:1024px){.MainHeader__logo{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px}}.SideMenu__item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%;text-align:center;padding:1rem 0;list-style:none;font-size:1rem;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.SideMenu__item__title{display:inline-block}.SideMenu__item .fas{font-size:1.5rem;margin-bottom:.5rem}.SideMenu__item:hover{background-color:#262626;color:#fc864a}.SideMenu__item--active{color:#fff}.SideMenu__item--active,.SideMenu__item--active:hover{background-color:#242424}@media (min-width:580px){.SideMenu__item__title{display:none}}@media (min-width:1024px){.SideMenu__item__title{display:inline-block}}.SideNav{position:absolute;width:130px;left:-130px;height:calc(100% - 50px);z-index:100;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;background-color:#333;-webkit-transition:left .3s cubic-bezier(0,.72,.43,1);transition:left .3s cubic-bezier(0,.72,.43,1)}.SideNav__logo{text-align:center;padding:.5rem 0}.SideNav__logo img{height:3rem}.SideNav__menu{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;overflow:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.SideNav__footer{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:.7rem;text-align:center;padding:10px 5px}.SideNav--opened{left:0}@media (min-width:580px){.SideNav{position:static;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;left:0;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.SideNav__footer,.SideNav__logo{display:none}}@media (min-width:1024px){.SideNav{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px}.SideNav__footer{display:block}}*{-webkit-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;margin:0;padding:0;font-size:13px;font-family:Avenir,Helvetica,Arial,sans-serif}body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;background-color:#242424}a:not(.button),a:not(.button):active,a:not(.button):visited{color:#fb6418;text-decoration:none;cursor:pointer}a:not(.button):hover{color:#fc864a}.button,button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.button+.button,.button+button,button+.button,button+button{margin-left:5px}.button:focus,.button:hover,button:focus,button:hover{background-color:#757575;color:#fff;outline:0}.button:active,button:active{background-color:#4d4d4d;color:#e04406}.button.info,button.info{background-color:#116f49}.button.info:focus,.button.info:hover,button.info:focus,button.info:hover{background-color:#169260}.button.info:active,button.info:active{background-color:#0c4c32;color:#e04406}.button.success,button.success{background-color:#477000}.button.success:focus,.button.success:hover,button.success:focus,button.success:hover{background-color:#578a00}.button.success:active,button.success:active{background-color:#375700;color:#e04406}.button.warning,button.warning{background-color:#b4320e}.button.warning:focus,.button.warning:hover,button.warning:focus,button.warning:hover{background-color:#da3d11}.button.warning:active,button.warning:active{background-color:#8e270b;color:#e04406}.button.danger,button.danger{background-color:#ad0101}.button.danger:focus,.button.danger:hover,button.danger:focus,button.danger:hover{background-color:#d60101}.button.danger:active,button.danger:active{background-color:#840101;color:#e04406}.button[disabled],button[disabled]{cursor:not-allowed;opacity:.6}.Form__fieldset{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.Form__fieldset__title{margin:0 0 1.5rem}.Form__actions,.Form__fieldset+.Form__fieldset{margin-top:3rem}.Form__actions{text-align:left;padding-bottom:3rem}.Form .FormField+.FormField{margin-top:1rem}.Form input+input{margin-left:1rem}.Form--fixed-actions .Form__actions{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:2;padding:1.5rem 0;text-align:center;background:#242424;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.5);box-shadow:0 2px 10px rgba(0,0,0,.5)}@media screen and (min-width:580px){.Form--fixed-actions .Form__actions{left:50px}}@media screen and (min-width:768px){.Form__fieldset__title{margin:0 1.5rem 1.5rem 140px}.Form__actions{padding-left:140px}}@media screen and (min-width:1024px){.Form--fixed-actions .Form__actions{left:130px}}input,textarea{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1rem;outline:0}input:focus,textarea:focus{border-color:#116f49}input:disabled,textarea:disabled{background-color:#242424;color:#999;border-color:#454545}select{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:8px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-size:1rem;outline:0}select:focus{border-color:#116f49}select:disabled{background-color:#242424;color:#999;border-color:#454545}.content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;height:100%;overflow:auto}.content__header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.content__main-view{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:.5rem 1rem}.content__header+.content__main-view{padding-top:0}.content__footer{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:0 1rem .5rem}@media (min-width:580px){.content__main-view{padding:1rem 2rem}.content__footer{padding:0 2rem 1rem}}.header-page{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:.5rem 1rem}.header-page__help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;color:#757575}.header-page__error{margin-top:.5rem;color:#fd423f;font-weight:600}.header-page__actions{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:200px;padding:.55rem 0}.header-page__actions button+button{margin:0 0 0 1rem}@media (min-width:580px){.header-page{padding:1rem 2rem}}@media (min-width:768px){.header-page__help{display:block;min-height:25px;margin-right:.78rem}.header-page__actions{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;min-width:auto}}.item-actions{text-align:right}.item-actions__button{min-width:27px;min-height:24px;padding:.35rem .6rem}.item-actions__button+.item-actions__button{margin-left:.5rem}.timeline-event .far,.timeline-event .fas{width:1.2rem;text-align:center}.timeline-event .fa-exclamation-triangle{color:#fd423f}.timeline-event--past{background-color:#828282!important;color:#e3e3e3!important}.timeline-event--past.vis-selected{background-color:#9c9c9c!important}.timeline-event--confirmed{background-color:#da4207!important}.timeline-event--confirmed.vis-selected{background-color:#f85a1c!important}.timeline-event--current{background-size:40px 40px;background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);-webkit-animation:animBackground 3s linear infinite;animation:animBackground 3s linear infinite}.vdp-datepicker__calendar{background-color:#454545!important;border-color:#5c5c5c!important;color:#fff!important}.vdp-datepicker__calendar header .next:not(.disabled):hover,.vdp-datepicker__calendar header .prev:not(.disabled):hover,.vdp-datepicker__calendar header .up:not(.disabled):hover{background-color:#116f49!important}.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover{border-color:#5c5c5c!important}.vdp-datepicker__calendar .cell.disabled{color:#636363!important}.vdp-datepicker__calendar .cell.selected,.vdp-datepicker__calendar .cell.selected.highlighted,.vdp-datepicker__calendar .cell.selected:hover{background-color:#116f49!important}.tooltip{z-index:999}.tooltip .tooltip-inner{padding:.5rem .78rem;background:rgba(3,3,3,.75);color:#a3a3a3;border-radius:3px}.VuePagination__pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0}.VuePagination__pagination-item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;list-style:none}.VuePagination__pagination-item .page-link{padding:.35rem .65rem;background:#333;cursor:pointer}.VuePagination__pagination-item .page-link:hover{background:#262626}.VuePagination__pagination-item .page-link[disabled]{background:#333;color:#636363;cursor:default}.VuePagination__pagination-item .page-link.active{color:#a3a3a3;background:#454545}.VuePagination__pagination-item .page-link.active:hover{background:#262626}.VuePagination__count{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#636363}.VueTables{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.VueTables .row{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.VueTables .col-md-12{display:-webkit-box;display:-ms-flexbox;display:flex}.VueTables .col-md-12>div,.VueTables .col-md-12>nav{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables .col-md-12>.pull-left{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.VueTables .col-md-12>.pull-right{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables label{display:none}.VueTables__search-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables__search-field input{min-width:180px}.VueTables .table-responsive,.VueTables__search-limit{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables .table-responsive{margin-top:1rem}.VueTables__table{width:100%;border-collapse:collapse}.VueTables th{text-align:left;white-space:nowrap;background:#2e2e2e}.VueTables th:focus{outline:0}.VueTables__sortable{padding:.78rem .35rem;cursor:pointer}.VueTables__limit{margin-left:1rem}.VueTables__actions{width:6rem;min-width:6rem;text-align:left}.VueTables__sort-icon{float:none;margin-left:.5rem;opacity:.5}.VueTables td{padding:.45rem;background:#363636;color:#e3e3e3;border-bottom:1px solid #242424}.VueTables td:focus{outline:0}.VueTables__no-results td{padding:.78rem;text-align:center;font-style:italic;color:#8a8a8a}.VueTables__columns-dropdown-wrapper{display:none;position:relative;margin-left:1rem;text-align:right}.VueTables__columns-dropdown-wrapper .dropdown-toggle{padding:.78rem;background:none;border:1px solid #616161;color:#757575}.VueTables__columns-dropdown-wrapper .dropdown-toggle:hover{border-color:#e3e3e3;color:#e3e3e3}.VueTables__columns-dropdown .dropdown-menu{position:absolute;z-index:1;right:0;margin:0;padding:10px;background-color:#333;-webkit-box-shadow:3px 3px 14px rgba(0,0,0,.4);box-shadow:3px 3px 14px rgba(0,0,0,.4)}.VueTables__columns-dropdown .dropdown-menu li{list-style:none}.VueTables__columns-dropdown .dropdown-menu li a{display:-webkit-box;display:-ms-flexbox;display:flex}.VueTables__columns-dropdown .dropdown-menu li:last-child{display:none}@media (min-width:1024px){.VueTables__columns-dropdown-wrapper{display:block}}.swal2-popup.swal2-toast{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;-webkit-box-shadow:0 0 .625em #d9d9d9;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast,.swal2-popup.swal2-toast .swal2-header{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.swal2-popup.swal2-toast .swal2-header{padding:0}.swal2-popup.swal2-toast .swal2-title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1.8em;font-weight:700}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{-ms-flex-preferred-size:auto!important;flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em;padding:0}.swal2-popup.swal2-toast .swal2-styled{margin:.125em .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 1.5em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:.625em;overflow-x:hidden;-webkit-transition:background-color .1s;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:transparent!important}.swal2-container.swal2-top,.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{-ms-flex:1;flex:1;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-pack:center}.swal2-container.swal2-grow-fullscreen>.swal2-modal,.swal2-container.swal2-grow-row>.swal2-modal{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-flex:1;-webkit-box-pack:center;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{-ms-flex:1;flex:1;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center}.swal2-container.swal2-grow-column{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.swal2-container.swal2-no-transition{-webkit-transition:none!important;transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:5px;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:-webkit-box;display:-ms-flexbox;display:flex;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;margin:1.25em auto 0;padding:0 1.6em}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.1)),to(rgba(0,0,0,.1)));background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.2)),to(rgba(0,0,0,.2)));background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;-webkit-box-shadow:none;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{background:initial;background-color:#2778c4}.swal2-styled.swal2-confirm,.swal2-styled.swal2-deny{border:0;border-radius:.25em;color:#fff;font-size:1.0625em}.swal2-styled.swal2-deny{background:initial;background-color:#d14529}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#757575;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:none;-webkit-box-shadow:0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;-webkit-transition:color .1s ease-out;transition:color .1s ease-out;border:none;border-radius:5px;background:transparent;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{-webkit-transform:none;transform:none;background:transparent;color:#f27474}.swal2-close:focus{outline:none;-webkit-box-shadow:inset 0 0 0 3px rgba(100,150,200,.5);box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;-webkit-transition:border-color .3s,-webkit-box-shadow .3s;transition:border-color .3s,-webkit-box-shadow .3s;transition:border-color .3s,box-shadow .3s;transition:border-color .3s,box-shadow .3s,-webkit-box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;-webkit-box-shadow:0 0 2px #f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;-webkit-box-shadow:0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-input-label{display:-webkit-box;display:-ms-flexbox;display:flex;margin:1em auto}.swal2-input-label,.swal2-validation-message{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.swal2-validation-message{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 -2.7em;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message:before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;-ms-flex-negative:0;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;-ms-flex-negative:0;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{-webkit-transition:none;transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-webkit-keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotate(2deg);transform:translateY(-.625em) rotate(2deg)}33%{-webkit-transform:translateY(0) rotate(-2deg);transform:translateY(0) rotate(-2deg)}66%{-webkit-transform:translateY(.3125em) rotate(2deg);transform:translateY(.3125em) rotate(2deg)}to{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg)}}@keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotate(2deg);transform:translateY(-.625em) rotate(2deg)}33%{-webkit-transform:translateY(0) rotate(-2deg);transform:translateY(0) rotate(-2deg)}66%{-webkit-transform:translateY(.3125em) rotate(2deg);transform:translateY(.3125em) rotate(2deg)}to{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg)}}@-webkit-keyframes swal2-toast-hide{to{-webkit-transform:rotate(1deg);transform:rotate(1deg);opacity:0}}@keyframes swal2-toast-hide{to{-webkit-transform:rotate(1deg);transform:rotate(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}to{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}to{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}to{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}to{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}to{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}to{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}to{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}to{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}to{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}to{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - 1.25em);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.4);box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-item-align:stretch;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-container{font-family:Avenir,Helvetica,Arial,sans-serif}.swal2-popup{background:#333;-webkit-box-shadow:1px 1px 20px rgba(0,0,0,.5);box-shadow:1px 1px 20px rgba(0,0,0,.5)}.swal2-title{color:#e3e3e3;font-size:1.5rem}.swal2-content{color:#e3e3e3;white-space:pre-line}.swal2-file,.swal2-input,.swal2-textarea{padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1rem;outline:0}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border-color:#116f49;-webkit-box-shadow:none;box-shadow:none}.swal2-styled:focus{-webkit-box-shadow:none;box-shadow:none}.swal2-icon.swal2-warning{border-color:#b4320e;color:#da3d11}.swal2-confirm{background-color:#116f49!important}.swal2-confirm:focus,.swal2-confirm:hover{background-color:#169260!important}.swal2-confirm:active{background-color:#0c4c32!important;color:#e04406}.swal2-confirm--trash{background-color:#b4320e!important}.swal2-confirm--trash:focus,.swal2-confirm--trash:hover{background-color:#da3d11!important}.swal2-confirm--trash:active{background-color:#8e270b!important;color:#e04406}.swal2-confirm--delete{background-color:#ad0101!important}.swal2-confirm--delete:focus,.swal2-confirm--delete:hover{background-color:#d60101!important}.swal2-confirm--delete:active{background-color:#840101!important;color:#e04406}.swal2-confirm--success{background-color:#477000!important}.swal2-confirm--success:focus,.swal2-confirm--success:hover{background-color:#619900!important}.swal2-confirm--success:active{background-color:#2d4700!important;color:#e04406}.swal2-cancel{background-color:#616161!important}.swal2-cancel:focus,.swal2-cancel:hover{background-color:#757575!important}.swal2-cancel:active{background-color:#4d4d4d!important;color:#e04406}.vis-timeline{border:none!important;background-color:#363636}.vis-timeline .vis-panel.vis-bottom,.vis-timeline .vis-panel.vis-center,.vis-timeline .vis-panel.vis-left,.vis-timeline .vis-panel.vis-right,.vis-timeline .vis-panel.vis-top{border:none}.vis-timeline .vis-time-axis.vis-foreground{background:hsla(0,0%,100%,.05);-webkit-box-shadow:0 0 5px rgba(0,0,0,.25);box-shadow:0 0 5px rgba(0,0,0,.25)}.vis-timeline .vis-grid.vis-vertical{border-color:#545454!important}.vis-timeline .vis-grid.vis-today{background-color:#5b382a!important}.vis-timeline .vis-grid.vis-sunday{background:hsla(0,0%,100%,.1)}.vis-timeline .vis-time-axis .vis-text{text-align:center;color:#a3a3a3}.vis-timeline .vis-time-axis .vis-text.vis-major{margin-left:.5rem;text-transform:capitalize;font-weight:800}.vis-timeline .vis-current-time{max-height:calc(100% - 42px);margin-top:42px;background-color:#bb481b}.vis-item{margin:0;padding:1.2rem 1.1rem;border:none!important;border-radius:10px!important;-webkit-box-shadow:1px 2px 3px rgba(0,0,0,.5);box-shadow:1px 2px 3px rgba(0,0,0,.5);font-size:1rem}.vis-item .vis-item-content{padding:0 0 .1rem 0!important}.vis-item:not(.vis-readonly){cursor:pointer}.vis-item:not(.vis-readonly) .vis-drag-left,.vis-item:not(.vis-readonly) .vis-drag-right{width:32px!important;background:rgba(0,0,0,.1)}.vis-item:not(.vis-readonly) .vis-drag-left{border-radius:10px 0 0 10px;left:0!important}.vis-item:not(.vis-readonly) .vis-drag-right{border-radius:0 10px 10px 0;right:0!important}.vis-item.vis-readonly .vis-drag-center{cursor:no-drop!important}.vis-item .vis-delete{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32px!important;height:100%!important;right:-32px!important;border-radius:3px}.vis-item .vis-delete:after{color:#fd423f;content:"\f1f8"!important;font-family:Font Awesome\ 5 Free!important;font-weight:900!important;font-size:1.7rem!important}.vis-group>.vis-item{background-color:#028358;color:#fff}.vis-group>.vis-item.vis-selected{background-color:#03b57a}div.vis-tooltip{max-width:50%;margin:30px 0 0 15px;padding:.5rem 1rem!important;border:none!important;border-radius:3px;background-color:rgba(3,3,3,.75)!important;color:#e3e3e3!important;white-space:pre-wrap!important;font-family:Avenir,Helvetica,Arial,sans-serif!important}div.vis-tooltip .far,div.vis-tooltip .fas{width:1.5rem;text-align:center;margin-bottom:3px}div.vis-tooltip .fa-exclamation-triangle{color:#fd423f}div.vis-tooltip .fa-check{color:#5ebd00}.vm--overlay{padding:1.5rem;background:rgba(0,0,0,.5)!important;overflow:auto}.vm--modal{background:#242424!important;-webkit-box-shadow:3px 8px 20px 0 #151515!important;box-shadow:3px 8px 20px 0 #151515!important;color:#e3e3e3!important;overflow:visible!important}.vue-tablist{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;border-bottom:1px solid #454545;margin-bottom:1rem}.vue-tab{position:relative;bottom:-1px;margin-right:1px;padding:10px 16px;border-bottom:2px solid #454545;border-radius:4px 4px 0 0;background-color:#333;color:#a3a3a3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.vue-tab .fab,.vue-tab .far,.vue-tab .fas{margin-right:.3rem}.vue-tab[aria-selected=true]{border-color:#116f49;color:#e3e3e3}.vue-tab[aria-disabled=true]{cursor:not-allowed;color:#636363}@media (min-width:1024px){.vue-tablist{margin-bottom:2rem}}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;-webkit-transition:opacity .15s cubic-bezier(1,.5,.8,1);transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 0 4px 0;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__dropdown-toggle,.vs__selected-options{display:-webkit-box;display:-ms-flexbox;display:flex}.vs__selected-options{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855),-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);-webkit-transition-timing-function:cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{-webkit-transform:rotate(180deg) scale(1);transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;margin-right:8px}.vs__dropdown-menu{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.15);box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.vs__dropdown-option:hover{cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__dropdown-option--disabled{background:inherit;color:rgba(60,60,60,.5)}.vs__dropdown-option--disabled:hover{cursor:inherit}.vs__selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0 2px;padding:0 .25em;z-index:0}.vs__deselect{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0 0;padding:0 7px;background:none;-webkit-box-shadow:none;box-shadow:none;width:0;max-width:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;z-index:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search:hover{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{-ms-flex-item-align:center;align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39.2%,.1);border-right:.9em solid hsla(0,0%,39.2%,.1);border-bottom:.9em solid hsla(0,0%,39.2%,.1);border-left:.9em solid rgba(60,60,60,.45);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;-webkit-transition:opacity .1s;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1}.v-select{padding:0 10px;background-color:#454545;border:1px solid #454545;border-radius:4px;font-size:1rem}.vs__dropdown-toggle{border:none;padding:0}.vs__dropdown-menu{width:calc(100% + 2px);left:-1px;background:#454545;border:1px solid #116f49;border-top:none;border-radius:0 0 4px 4px}.vs__dropdown-option{padding:.4rem .9rem;color:#ededed}.vs__dropdown-option--highlight{background:#116f49;color:#ededed}.vs__selected-options{padding:.4rem 2px 0}.vs__selected-options .vs__selected{padding:.3rem .7rem;margin-bottom:.4rem;background-color:rgba(3,3,3,.75)}.vs__selected-options .vs__deselect{padding:.3rem .4rem}.vs__selected-options .vs__deselect svg{fill:#8a8a8a}.vs__selected-options .vs__deselect:hover{background-color:#1f1f1f}.vs__selected-options .vs__deselect:hover svg{fill:#a3a3a3}.vs__selected{margin:0 1rem 0 0;padding:0;border:none;line-height:normal;color:#ededed}.vs__search,.vs__search:focus{margin:0;padding:9px 0;border:none;line-height:normal;font-size:1rem}.vs__actions{padding:0}.vs__clear{margin:0 .6rem 0 0;padding:.6rem;fill:#ad0101;cursor:pointer}.vs__clear:focus,.vs__clear:hover{background:none;fill:#e00101}.vs__open-indicator{fill:#636363;cursor:default}.vs--open{border-color:#116f49}.vs--single.vs--open .vs__selected{position:relative}.text-muted{color:#636363}#app{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}#app,.main{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;height:100%;overflow:auto}.main{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;color:#a3a3a3}.main__body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;overflow:auto;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch} \ No newline at end of file +.LoginLayout{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-bottom:calc(60px + .1vh)}.LoginLayout__logo{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:30px 20px;text-align:center}.LoginLayout__logo img{max-height:80px;max-width:100%}.LoginLayout__body{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.LoginLayout__footer{display:none;position:absolute;bottom:0;width:100%;padding:10px 15px;background-color:#1f1f1f;color:#636363;font-size:.8rem;line-height:1.52rem;text-align:center}@media (min-width:580px){.LoginLayout__logo img{max-height:120px}}@media (min-width:768px){.LoginLayout{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LoginLayout__logo img{max-height:200px}.LoginLayout__footer{display:block}}.Login__message{background-color:#1f1f1f;padding:20px;font-size:1.2rem;text-align:center}.Login__message--default{color:#8a8a8a}.Login__message--error{color:#fd423f}.Login__message--success{color:#5ebd00}.Login__body{padding:30px 20px}.Login__form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.Login__form__input{width:200px;margin-right:10px;margin-bottom:1rem}.Login__form__submit{padding:9px 10px}@media (min-width:600px){.Login__form{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Login__form__input{margin-bottom:0}}.ErrorDetails{font-size:1.1rem;font-weight:400}.ErrorDetails__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.ErrorDetails__title{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:1.5rem;color:#fd423f}.ErrorDetails__btn-close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.ErrorDetails__main{padding:.7rem 1rem 2rem}.ErrorDetails__no-details-info{font-weight:600;color:#fd935e}.ErrorDetails hr{opacity:.15}.ErrorDetails__content{color:#a3a3a3}.ErrorDetails__subtitle{font-size:1.3rem}.ErrorDetails__file,.ErrorDetails__message{font-family:monospace;font-weight:600}.ErrorDetails__trace{max-height:150px;overflow-y:auto;color:#242424}.ErrorDetails__traceItem{margin-bottom:.5rem;color:#a3a3a3}.ErrorDetails__traceItem__index{display:inline-block;width:3rem;font-weight:600}.ErrorDetails__traceItem__info{font-family:monospace;color:#a3a3a3}.ErrorDetails__traceItem__info:not(:nth-child(2)){margin-left:3rem}.ErrorDetails__footer{padding:1.5rem 1rem 0;text-align:center}.ErrorDetails__is-copied{margin-top:0;color:#5ebd00}.Help__loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.Help__loading .fa-spin{margin-bottom:.1rem;margin-right:.5rem;font-size:1.8rem;line-height:1rem}.Help__message{position:relative;white-space:pre-line;padding-left:1.8rem;text-align:left}.Help__message:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-style:normal;font-variant:normal;font-weight:400;line-height:1;position:absolute;top:0;left:0;font-family:Font Awesome\ 5 Free;font-weight:900;vertical-align:middle;font-size:1.2rem;margin-top:.1rem}.Help__error-details-button{font-weight:400}.Help--success{color:#5ebd00}.Help--success .Help__message:before{content:"\f00c"}.Help--info .Help__message:before{content:"\f05a"}.Help--error{color:#fd423f;font-weight:600}.SwitchToggle{-ms-flex-align:center}.SwitchToggle,.SwitchToggle__slide{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center}.SwitchToggle__slide{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;width:3.74rem;height:1.7rem;background:#333;border-radius:1.7rem;cursor:pointer}.SwitchToggle__button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:1.7rem;height:1.7rem;border-radius:50%;background:#616161;-webkit-box-shadow:1px 2px 4px 0 rgba(0,0,0,.5);box-shadow:1px 2px 4px 0 rgba(0,0,0,.5)}.SwitchToggle:hover .SwitchToggle__slide{background-color:#404040}.SwitchToggle:hover .SwitchToggle__button{background-color:#757575}.SwitchToggle__label{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:.5rem}.SwitchToggle__label__locked{font-style:italic}.SwitchToggle--enabled .SwitchToggle__slide{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.SwitchToggle--enabled .SwitchToggle__button{background-color:#477000}.SwitchToggle--enabled:hover .SwitchToggle__button{background-color:#578a00}.SwitchToggle--locked .SwitchToggle__button,.SwitchToggle--locked .SwitchToggle__slide{opacity:.5;cursor:not-allowed}.SwitchToggle--locked:hover .SwitchToggle__slide{background:#333}.SwitchToggle--locked:hover .SwitchToggle__button{background:#616161}.FormField{-webkit-box-flex:1;-ms-flex:1;flex:1}.FormField__label{display:block;padding:5px 0}.FormField__label__required{color:#fd423f}.FormField__input-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.FormField__datepicker,.FormField__input,.FormField__textarea{width:90%}.FormField__addon{display:inline-block;min-width:2.7rem;padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:0 4px 4px 0}.FormField__textarea{min-height:50px}.FormField__error{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;margin-top:.3rem;color:#fd423f}.FormField__error__text{padding-left:140px}.FormField--with-addon .FormField__input{display:inline-block;border-radius:4px 0 0 4px}.FormField__datepicker__input{width:100%;max-width:300px}@media screen and (min-width:768px){.FormField{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.FormField__label{-webkit-box-flex:0;-ms-flex:0 0 140px;flex:0 0 140px;text-align:right;padding:0 10px}.FormField__datepicker,.FormField__input,.FormField__textarea{-webkit-box-flex:1;-ms-flex:1;flex:1}.FormField__addon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}}.UserProfile__title{margin-bottom:2rem}.UserProfile__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.UserProfile .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.UserProfile__postal-code .FormField__input{max-width:70px}.UserProfile__password-edit-toggle{display:block;margin-top:1rem}.UserProfile__section-password{display:none!important}.UserProfile__password-edit-cancel{float:right}.UserProfile__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:2.8rem;min-width:200px}.UserProfile__extras__buttons{margin-top:2rem;text-align:center}.UserProfile--password-edit .UserProfile__section-password{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.UserProfile--password-edit .UserProfile__password-edit-toggle,.UserProfile--password-edit .UserProfile__section-infos{display:none!important}@media screen and (min-width:768px){.UserProfile__password-edit-toggle,.UserProfile__title{margin-left:140px}}.UserSettings__title{margin-bottom:2rem}.UserSettings__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.UserSettings .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.UserSettings__hours .FormField__input{max-width:70px}.UserSettings__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px}.UserSettings__extras__buttons{margin-top:2rem;text-align:center}@media screen and (min-width:768px){.UserSettings__title{margin-left:140px}}.EventMaterials__categories,.EventMaterials__footer,.EventMaterials__toggle{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-bottom:1.5rem}.EventMaterials__category{padding:0 .5rem;border-left:3px solid #383838}.EventMaterials__title{margin:0 0 .5rem}.EventMaterials__list{margin:0 0 .5rem;padding:0}.EventMaterials__item,.EventMaterials__subtotal{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex}.EventMaterials__item__name,.EventMaterials__subtotal__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventMaterials__item__price,.EventMaterials__subtotal__price{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:.8rem;color:#8a8a8a;text-align:right}.EventMaterials__item{margin-bottom:.35rem;border-bottom:1px dashed #383838}.EventMaterials__item__quantity-first{-webkit-box-flex:0;-ms-flex:0 0 35px;flex:0 0 35px;color:#8a8a8a;padding-right:1rem;text-align:right}.EventMaterials__item__quantity{-webkit-box-flex:0;-ms-flex:0 0 3rem;flex:0 0 3rem;margin:0 .8rem 0 .8rem}.EventMaterials__item__quantity .fa-times{margin-right:.2rem;color:#8a8a8a;font-size:.8rem}.EventMaterials__item__total{-webkit-box-flex:0;-ms-flex:0 0 5rem;flex:0 0 5rem;margin-left:.8rem;text-align:right}.EventMaterials__subtotal{padding:.5rem 0 0;font-size:1.1rem}.EventMaterials__subtotal__name{text-align:right;color:#8a8a8a}.EventMaterials__subtotal__price{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:#e3e3e3;font-weight:600}.EventMissingMaterials{color:#e3e3e3}.EventMissingMaterials__title{font-size:1.2rem;margin-bottom:1rem}.EventMissingMaterials__title .fas{width:1.5rem;margin-right:.5rem;text-align:center}.EventMissingMaterials__help{color:#a3a3a3}.EventMissingMaterials__error{color:#fd423f;margin:0 0 1.5rem}.EventMissingMaterials__list{margin:0 0 1.5rem;padding:0}.EventMissingMaterials__item{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:.5rem;border-bottom:1px dashed #383838;color:#fd423f}.EventMissingMaterials__item__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventMissingMaterials__item__quantity{-webkit-box-flex:0;-ms-flex:0 0 14.5rem;flex:0 0 14.5rem;margin:0 .8rem}.EventBilling__last-bill{margin-bottom:2rem}.EventBilling__last-bill__no-bill,.EventBilling__last-bill__regenerate__text{margin:0 0 .5rem;color:#8a8a8a;font-style:italic;margin-bottom:2rem}.EventBilling__last-bill__not-billable{color:#fd423f}.EventBilling__last-bill__not-billable__text{margin:0;font-style:italic}.EventBilling__last-bill__discount-input .FormField__input{max-width:90px}.EventBilling__last-bill__discount-target-input .FormField__input{max-width:110px}.EventBilling__last-bill__beneficiary{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:1rem}.EventBilling__last-bill__beneficiary__label{display:block;padding:5px 0}.EventBilling__last-bill__save{margin-top:1.2rem}.EventBilling__last-bill__download{font-size:1.1rem;margin-bottom:1rem}.EventBilling__last-bill__download__text{margin:0 0 .5rem}.EventBilling__last-bill__download__link{display:inline-block;margin-top:.5rem;padding:1rem 1rem 1rem .5rem;border:1px solid;border-radius:4px}.EventBilling__last-bill .fas{width:1.5rem;margin-right:.5rem;text-align:center}@media (min-width:768px){.EventBilling__last-bill__beneficiary{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:2.5rem}.EventBilling__last-bill__beneficiary__label{-webkit-box-flex:0;-ms-flex:0 0 140px;flex:0 0 140px;padding:0 10px;text-align:right}.EventBilling__last-bill__beneficiary__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventBilling__last-bill__save{margin-top:1rem;padding-left:140px}}.EventTotals{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 .5rem;text-align:right;font-size:1.1rem}.EventTotals .fas{margin:0 .3rem;font-size:.95rem;color:#8a8a8a}.EventTotals__base{margin-bottom:1rem}.EventTotals__grand,.EventTotals__grand-discount{font-size:1.7rem;margin-bottom:.5rem}.EventTotals__discount,.EventTotals__discountable{margin-top:1rem;margin-bottom:.5rem}.EventTotals__daily{color:#8a8a8a}.EventTotals__replacement{margin-top:1.5rem}.EventDetailsHeader{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.EventDetailsHeader__status{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 1rem 0 0;font-size:2rem}.EventDetailsHeader__status .fa-check{color:#da4207}.EventDetailsHeader__details{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#a3a3a3}.EventDetailsHeader__details__title{margin:0 0 .4rem;font-size:1.4rem;font-weight:800;color:#e3e3e3}.EventDetailsHeader__details__location-dates{margin-bottom:.2rem;font-size:1.2rem}.EventDetailsHeader__details__in-progress{color:#5ebd00;font-size:1rem}.EventDetailsHeader__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 1rem}.EventDetailsHeader__actions__print{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:5px;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.EventDetailsHeader__actions__print:focus,.EventDetailsHeader__actions__print:hover,.EventDetailsHeader__actions__print:visited{background-color:#757575;color:#fff;outline:0}.EventDetailsHeader__actions__print:active{background-color:#4d4d4d}.EventDetailsHeader .close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.EventDetails{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.EventDetails,.EventDetails__loading{display:-webkit-box;display:-ms-flexbox;display:flex}.EventDetails__loading{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:250px;background:#333;color:#a3a3a3}.EventDetails__loading .fas{margin-right:.5rem}.EventDetails__content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:200px;max-height:100vh;overflow-y:auto}.EventDetails__content__body{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:1.5rem;background-color:#242424}.EventDetails__error{margin-bottom:1rem;color:#fd423f}.EventDetails__assignees,.EventDetails__beneficiaries,.EventDetails__confirmation,.EventDetails__description,.EventDetails__location,.EventDetails__materials-empty,.EventDetails__no-beneficiary{font-size:1.2rem;margin-bottom:1rem}.EventDetails__assignees .fas,.EventDetails__beneficiaries .fas,.EventDetails__confirmation .fas,.EventDetails__description .fas,.EventDetails__location .fas,.EventDetails__materials-empty .fas,.EventDetails__no-beneficiary .fas{width:1.5rem;margin-right:.5rem;text-align:center}.EventDetails__assignee,.EventDetails__beneficiary{display:inline-block}.EventDetails__assignee+.EventDetails__assignee,.EventDetails__beneficiary+.EventDetails__beneficiary{margin-left:.5rem}.EventDetails__assignee+.EventDetails__assignee:before,.EventDetails__beneficiary+.EventDetails__beneficiary:before{content:"|";margin-right:.3rem;color:#e3e3e3}.EventDetails__no-beneficiary{color:#fd423f}.EventDetails__confirmation{color:#fd935e}.EventDetails__confirmation--confirmed{color:#5ebd00}.EventDetails__description{color:#a3a3a3;white-space:pre-wrap;line-height:1.5}.EventDetails__materials-empty{color:#fd423f}.EventDetails__materials-empty .fas{margin-right:.3rem}.EventDetails__not-billable{font-size:1.2rem;color:#fd935e}.EventDetails__totals .EventTotals{padding:0;text-align:left}.CalendarHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:1rem 1rem 0}.CalendarHeader__timeline-actions{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:center}.CalendarHeader__filters,.CalendarHeader__timeline-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:1rem}.CalendarHeader__filters{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.CalendarHeader__loading-container{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px;min-width:130px;margin-bottom:1rem}.CalendarHeader__actions{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:1rem}.CalendarHeader__actions,.CalendarHeader__loading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.CalendarHeader__loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fd935e;font-weight:600}.CalendarHeader__loading .fa-spin{margin-bottom:.1rem;margin-right:.5rem;font-size:1.8rem}.CalendarHeader__center-date{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:.5rem}.CalendarHeader__center-date .FormField__label{display:none;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-left:0}.CalendarHeader__center-date .FormField__datepicker{width:100%}.CalendarHeader__center-date .FormField__datepicker__input{padding:8px 10px}.CalendarHeader__button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:0 .5rem 0 0}.CalendarHeader__button__title{display:none;margin-left:.5rem}.CalendarHeader__filter{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-right:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.CalendarHeader__filter__label{max-width:170px}.CalendarHeader__filter .SwitchToggle{margin-top:3px}.CalendarHeader__filter__select{padding:.55rem .78rem}.CalendarHeader__filter--active{color:#fd935e}.CalendarHeader__filter--active .CalendarHeader__filter__select{background-color:#b4320e}.CalendarHeader__filter--active .CalendarHeader__filter__label{color:#fd935e}.CalendarHeader__filter--active .SwitchToggle__button{background-color:#b4320e}@media (min-width:580px){.CalendarHeader{padding:1rem 2rem 0}.CalendarHeader__button__title{display:inline-block}}@media (min-width:768px){.CalendarHeader__center-date{min-width:200px}.CalendarHeader__center-date .FormField__label{display:block}}@media (min-width:1400px){.CalendarHeader__filters{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.Calendar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.Calendar__loading{position:absolute;top:50px;left:50%}.Calendar__timeline{-webkit-box-flex:1;-ms-flex:1;flex:1}.Calendar .Help{-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;margin:1rem 0}@-webkit-keyframes animBackground{0%{background-position:0 0}to{background-position:40px 0}}@keyframes animBackground{0%{background-position:0 0}to{background-position:40px 0}}.Breadcrumb__step{padding:1rem .8rem;border:1px solid #636363;border-radius:1.5rem;text-align:left;font-size:1.1rem;color:#636363;cursor:default}.Breadcrumb__step__name{font-weight:800}.Breadcrumb__step--active{color:#a3a3a3;border-color:#a3a3a3;cursor:pointer}.Breadcrumb__step--current{color:#e3e3e3;border-color:#e3e3e3}.Breadcrumb__step--validated{color:#5ebd00;border-color:#5ebd00;cursor:pointer}.Breadcrumb__step+.Breadcrumb__step{margin-top:1rem}.EventMiniSummary{position:relative;padding:1rem .8rem;border:1px solid #636363;border-radius:8px;text-align:center;color:#a3a3a3}.EventMiniSummary__not-saved{position:absolute;color:#fd935e}.EventMiniSummary__title{font-size:1.1rem;font-weight:800}.EventMiniSummary__detail,.EventMiniSummary__total{margin-top:.8rem;line-height:1.4rem;text-transform:capitalize}.EventMiniSummary__total{font-size:1.4rem;color:#e3e3e3}.EventMiniSummary--not-saved{border-color:#fd935e}.EventMiniSummary--confirmed .fa-check{color:#5ebd00}.EventStep1__save-btn{margin-bottom:1rem}.EventStep1__dates{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem}.EventStep1__dates__fields{-webkit-box-flex:1;-ms-flex:1;flex:1}.EventStep1__dates__duration{-webkit-box-flex:0;-ms-flex:0 0 150px;flex:0 0 150px;text-align:center}.EventStep1__description .FormField__textarea,.EventStep1__location .FormField__input{max-width:500px}.EventStep1__is-billable{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:1rem}.EventStep1__is-billable .FormField,.EventStep1__is-billable__help{-webkit-box-flex:1;-ms-flex:1;flex:1}.MultipleItem__item-action-btn{height:35px;margin-left:.6rem}.MultipleItem__value-field{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:9px 10px;min-height:2.7rem;color:#ededed;border:1px solid #454545;border-radius:4px}.MultipleItem__value-field--loading{color:#8a8a8a}.MultipleItem__value-field--error{font-style:italic;color:#fd423f}.MultipleItem .v-select{-webkit-box-flex:1;-ms-flex:1;flex:1}.MultipleItem__actions{margin-left:140px;padding:1rem 0}.MultipleItem__actions button{padding:5px 10px}.EventStep2__help{margin-left:140px}.EventStep2__help .fas{font-size:1.2rem;margin-right:.3rem}.EventStep2__save-btn,.EventStep3__save-btn{margin-bottom:1rem}.MaterialsFilters{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.MaterialsFilters__item,.MaterialsFilters__reset{margin-left:0;margin-bottom:1rem;margin-right:.5rem;padding:8px 10px}.MaterialsFilters .v-select{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;min-width:150px;margin-bottom:1rem;margin-right:.5rem;padding:5.5px 10px}.MaterialsFilters .v-select .vs__selected-options{padding:0;font-size:.9rem}.MaterialsFilters .v-select .vs__selected-options .vs__selected{padding:.1rem .5rem;margin:0 .2rem .2rem 0}.MaterialsFilters .v-select .vs__selected-options .vs__selected .vs__deselect{padding:.3rem .4rem;margin:0 .2rem}.MaterialsFilters .v-select .vs__search{padding:.3rem 0}.MaterialsFilters__item--is-active{background-color:#9c2b0c!important}.MaterialsListQuantity{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:9rem;min-width:9rem}.MaterialsListQuantity button{padding:6px 8px}.MaterialsListQuantity__number{width:3rem;margin:0 .3rem;padding:5px 8px}.MaterialsList{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}.MaterialsList,.MaterialsList__header{display:-webkit-box;display:-ms-flexbox;display:flex}.MaterialsList__header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.MaterialsList__header .MaterialsFilters{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1rem 0}.MaterialsList__header__extra-filters{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:1rem}.MaterialsList__header__extra-filters__filter{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.MaterialsList__header__extra-filters__filter .SwitchToggle{margin-top:.3rem}.MaterialsList__error{color:#fd423f;margin:1rem 0}.MaterialsList__main{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.MaterialsList__loading{position:absolute;right:0;top:.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.MaterialsList__loading .fas{margin-right:.3rem}.MaterialsList .VueTables__table thead{display:none}.MaterialsList .VueTables__table .VueTables__row td{background:none;border-bottom-color:#383838}.MaterialsList .VueTables__table .VueTables__row:first-child td{border-top:1px solid #383838}.MaterialsList__qty{color:#8a8a8a!important;font-weight:600}.MaterialsList__ref{font-weight:600}.MaterialsList__name{color:#8a8a8a!important}.MaterialsList__remaining{min-width:4.5rem}.MaterialsList__remaining--zero{color:#fd935e}.MaterialsList__remaining--empty{color:#fd423f}.MaterialsList__price{text-align:right}.MaterialsList__price .fas{margin-left:.3rem;color:#8a8a8a}.MaterialsList__quantity{width:9rem;min-width:9rem}.MaterialsList__quantity button{padding:6px 8px}.MaterialsList__quantity__number{width:3rem;margin:0 .3rem;padding:5px 8px 6px}.MaterialsList__amount{width:5rem;min-width:5rem;text-align:right}.MaterialsList__actions{width:45px;min-width:45px}.MaterialsList__actions button{padding:6px 8px}.MaterialsList__add-more{text-align:center;margin:1rem 0 50px}.EventStep4 .Form__actions{position:fixed;bottom:0;left:315px;right:15px;margin:0;padding:1rem 0 .5rem;background:#242424}.EventStep4__save-btn{margin-bottom:1rem}@media (min-width:1024px){.EventStep4 .Form__actions{left:360px}}.EventOverview{color:#e3e3e3}.EventOverview__title{font-size:1.5rem;margin:1rem 0 1.5rem}.EventOverview__dates-location{margin:0 0 1.5rem;font-size:1.2rem}.EventOverview__description{padding-top:0;padding-bottom:1.5rem;white-space:pre-wrap;line-height:1.5}.EventOverview__dates-location .fas,.EventOverview__description .fas{width:1.5rem;margin-right:.5rem;margin-bottom:.5rem;font-size:1.2rem;text-align:center}.EventOverview__billing,.EventOverview__main,.EventOverview__materials{margin-bottom:1.5rem;border-bottom:1px solid #383838}.EventOverview__missing-materials{margin-bottom:1.5rem}.EventOverview__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.EventOverview__section{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:200px;margin-bottom:1.5rem;margin-right:1.5rem}.EventOverview__billing-title,.EventOverview__info__term,.EventOverview__materials__title{margin:0 0 1.5rem;font-size:1.2rem;font-weight:600}.EventOverview__billing-title .far,.EventOverview__billing-title .fas,.EventOverview__info__term .far,.EventOverview__info__term .fas,.EventOverview__materials__title .far,.EventOverview__materials__title .fas{width:1.5rem;margin-right:.5rem;margin-bottom:.5rem;text-align:center}.EventOverview__info{margin:0}.EventOverview__info+.EventOverview__info{margin-top:1.5rem}.EventOverview__info__term{margin-bottom:.5rem}.EventOverview__info__term:after{content:":"}.EventOverview__info__value{display:block;margin:0;font-size:1.1rem}.EventOverview__info__list{margin:0;padding:0}.EventOverview__info__list-item{list-style:inside;margin-left:.2rem}.EventOverview__info--vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.EventOverview__info--vertical .EventOverview__info__value{margin-top:.5rem;margin-left:0}.EventOverview__materials__empty{color:#fd423f}.EventOverview__materials__empty .fas{margin-right:.3rem}.EventOverview__billing{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;padding-bottom:1.5rem}.EventOverview__billing .EventBilling{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:300px;padding:0 .5rem;padding-right:1rem;border-left:3px solid #383838}.EventOverview__billing .EventTotals{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-bottom:1.5rem;padding-left:1rem;border-left:3px solid #383838}@media (min-width:1024px){.EventOverview__billing{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.EventStep5 .EventOverview{margin-bottom:1.5rem}.EventStep5 .EventMissingMaterials,.EventStep5__confirmation{border-bottom:1px solid #383838}.EventStep5__confirmation{padding-bottom:1.5rem;margin-bottom:1.5rem}.EventStep5__confirmation .fas{margin-right:.3rem}.EventStep5__confirmation__title{font-size:1.2rem;font-weight:600;margin:0 0 1.5rem;color:#e3e3e3}.EventStep5__confirmation__help{margin-bottom:1.5rem;color:#fd935e}.EventStep5__confirmation__help p{margin:0;padding-right:.5rem;line-height:1.4}.EventStep5__confirmation__help--confirmed{color:#5ebd00}.EventStep5__confirmation__actions__print{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:inline-block;margin-left:5px;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.EventStep5__confirmation__actions__print:focus,.EventStep5__confirmation__actions__print:hover,.EventStep5__confirmation__actions__print:visited{background-color:#757575;color:#fff;outline:0}.EventStep5__confirmation__actions__print:active{background-color:#4d4d4d}.Event{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Event__panel{position:fixed;padding:7px 0;text-align:right;width:160px}.Event__panel__help{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Event__panel__help .Help{margin:1rem .5rem;line-height:1.5}.Event__panel__help .Help__error{text-align:center}.Event__panel__help .Help__loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.Event .EventMiniSummary{width:100%;margin-top:1rem}.Event .EventStep1,.Event .EventStep2,.Event .EventStep3,.Event .EventStep4,.Event .EventStep5{margin-left:180px;min-width:250px;max-width:600px}.Event .EventStep4{width:100%;max-width:none}.Event .EventStep5{width:100%;max-width:850px}@media (min-width:1024px){.Event__panel{width:200px}.Event .EventStep1,.Event .EventStep2,.Event .EventStep3,.Event .EventStep4,.Event .EventStep5{margin-left:220px}}.Users__pseudo .fas{padding-right:.5rem}.Users__no-profile{color:#636363;font-style:italic}.Users__address,.Users__email,.Users__group,.Users__phone{display:none}.Users__actions{width:7.5rem;min-width:7.5rem}.Users__actions .info{font-size:.9rem}@media (min-width:768px){.Users__email,.Users__group{display:table-cell}}@media (min-width:1024px){.Users__address,.Users__phone{display:table-cell}}.User{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.User .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.User__postal-code .FormField__input{max-width:70px}.User .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:200px}.Beneficiaries__address,.Beneficiaries__email,.Beneficiaries__nickname,.Beneficiaries__note{display:none}@media (min-width:580px){.Beneficiaries__email{display:table-cell}}@media (min-width:768px){.Beneficiaries__nickname{display:table-cell}}@media (min-width:1024px){.Beneficiaries__address,.Beneficiaries__note{display:table-cell}}.PersonForm{min-width:200px;max-width:600px;margin-right:1rem}.PersonForm__company{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:1rem}.PersonForm__company .FormField{-webkit-box-flex:1;-ms-flex:1;flex:1}.PersonForm__company__edit-btn{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-top:2rem}.PersonForm__phone .FormField__input{max-width:120px}.PersonForm__postal-code .FormField__input{max-width:70px}.PersonForm__notes .FormField__label{-ms-flex-item-align:start;align-self:flex-start;padding-top:.6rem}.PersonForm__notes .FormField__textarea{min-height:120px}@media screen and (min-width:768px){.PersonForm__company__edit-btn{margin-top:0}.PersonForm__add-company{margin-left:140px}}.Beneficiary__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Beneficiary .PersonForm{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Beneficiary .Help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}@media screen and (min-width:580px){.Beneficiary .Help{display:block}}.CompanyForm{min-width:200px;max-width:600px;margin-right:1rem}.CompanyForm__phone .FormField__input{max-width:120px}.CompanyForm__postal-code .FormField__input{max-width:70px}.CompanyForm__notes .FormField__label{-ms-flex-item-align:start;align-self:flex-start;padding-top:.6rem}.CompanyForm__notes .FormField__textarea{min-height:120px}.Company__main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Company .CompanyForm{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:0}.Company__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:2.8rem;min-width:180px}.Company .Help{display:none;margin-bottom:1rem}.Company__persons{padding:.5rem 1rem;max-width:350px;background-color:#333;color:#e3e3e3}.Company__persons__title{margin:.5rem 0;font-size:1.1rem}.Company__persons__list{margin:0;padding:.5rem}.Company__persons__item{list-style:none;margin-bottom:.5rem}.Company__persons__item .fas{margin-right:.2rem}@media screen and (min-width:768px){.Company .CompanyForm{margin-right:1.5rem}.Company .Help{display:block}}.PromptDate__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.5rem 2rem;background-color:#333}.PromptDate__header__title{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:1.4rem}.PromptDate__header__btn-close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.PromptDate__main{padding:2rem 1rem}.PromptDate__datepicker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.PromptDate__datepicker__input{width:100%;max-width:300px;font-size:1.1rem}.PromptDate hr{opacity:.15;margin:0}.PromptDate__footer{padding:2rem;text-align:center}.AssignTagsHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.7rem 1rem;background-color:#333}.AssignTagsHeader__title{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 .4rem;font-size:1.1rem;font-weight:800;color:#e3e3e3}.AssignTagsHeader .close{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;background:none;border:none}.AssignTags{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.AssignTags .AssignTagsHeader,.AssignTags__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.AssignTags__content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:150px;padding:.7rem 1rem 0}.AssignTags__content .vs__dropdown-menu{max-height:150px}.AssignTags__help{color:#8a8a8a}.AssignTags__form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.AssignTags__form .v-select{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-right:1rem}.AssignTags__form__remove-all{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:3rem}.AssignTags__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:1.5rem 1rem}.AssignTags__actions .fas+span{margin-left:.35rem}.AssignTags__error{margin-right:.7rem;color:#fd423f;font-weight:800}.MaterialTags{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;margin:0}.MaterialTags__item{list-style:none;padding:.3rem .5rem;margin:0 .35rem .35rem 0;background:#1f1f1f;border-radius:10px}.Materials__main-view{position:relative}.Materials__filters{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.Materials__filters .MaterialsFilters{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-right:1rem}.Materials__quantities-date{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin-bottom:1rem}.Materials__quantities-date__displayed{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#e3e3e3;font-weight:600}.Materials__quantities-date__label{max-width:140px;margin:0 1rem 0 0;white-space:pre-line;text-align:center;color:#fd935e}.Materials__quantities-date__button{padding:9px 10px}.Materials__category,.Materials__description,.Materials__park,.Materials__quantity-out,.Materials__ref,.Materials__rental-price,.Materials__replacement-price,.Materials__tags{display:none}.Materials__category{white-space:nowrap}.Materials__rental-price,.Materials__replacement-price{text-align:right!important}.Materials__quantity,.Materials__quantity-out,.Materials__remaining-quantity{text-align:center!important}.Materials__remaining-quantity{color:#fd935e!important;font-weight:800}.Materials__tags-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:-.35rem;cursor:pointer}.Materials__tags-list:hover{color:#fc864a}.Materials__add-tags{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:.35rem;padding:.4rem .55rem;font-size:.85rem}.Materials__actions{min-width:110px}@media (min-width:768px){.Materials__category,.Materials__ref,.Materials__rental-price,.Materials__replacement-price{display:table-cell}}@media (min-width:1024px){.Materials__quantity-out,.Materials__tags{display:table-cell}}@media (min-width:1400px){.Materials__description,.Materials__park{display:table-cell}.Materials__filters{position:absolute;-webkit-box-align:center;-ms-flex-align:center;align-items:center;left:240px;right:calc(3rem + 45px);z-index:1}.Materials__filters,.Materials__filters .MaterialsFilters{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.Material{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:6rem}.Material .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Material__no-attribute-help{margin:0 0 1rem;color:#636363;font-style:italic}.Material__attributes{margin-bottom:1.5rem}.Material__modify-attribute-link{margin-bottom:2rem}.Material__ref .FormField__input{max-width:180px}.Material__price .FormField__input,.Material__quantity .FormField__input{max-width:80px}.Material .Help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}@media screen and (min-width:580px){.Material .Help{display:block}}@media screen and (min-width:768px){.Material__modify-attribute-link,.Material__no-attribute-help{margin-left:140px}}.MaterialViewInfosAttributes__list__item{margin-bottom:.3rem}.MaterialViewInfosAttributes__list__item__value{font-weight:700}.MaterialViewInfos{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:6rem}.MaterialViewInfos__main{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:250px;margin-right:3rem}.MaterialViewInfos__extras{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:250px;padding:1rem 0 0}.MaterialViewInfos__rental-price,.MaterialViewInfos__stock-quantity{font-weight:700;margin-bottom:.3rem}.MaterialViewInfos__out-of-order{color:#fd423f}.MaterialViewInfos__categories{margin:1.5rem 0}.MaterialViewInfos__dates{color:#8a8a8a;margin-top:1.5rem}.MaterialViewDocumentsItem{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;margin:0 0 10px;padding:0;background:#1f1f1f;color:#e3e3e3;border-radius:4px}.MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem__no-link{display:block;padding:1rem}.MaterialViewDocumentsItem__icon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:1.8rem}.MaterialViewDocumentsItem__icon .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem__icon .MaterialViewDocumentsItem__no-link{margin-left:1rem}.MaterialViewDocumentsItem__name{-webkit-box-flex:1;-ms-flex:1;flex:1}.MaterialViewDocumentsItem__size{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;color:#8a8a8a;margin-right:1rem}.MaterialViewDocumentsItem__actions{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:1rem}.MaterialViewDocumentsItem--with-link .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem--with-link .MaterialViewDocumentsItem__no-link{color:#e3e3e3}.MaterialViewDocumentsItem--with-link:hover{background-color:#2c2c2c}.MaterialViewDocumentsItem--with-link:hover .MaterialViewDocumentsItem__link,.MaterialViewDocumentsItem--with-link:hover .MaterialViewDocumentsItem__no-link{color:#fc864a}.Progressbar{position:relative;height:20px;width:100%;background:rgba(3,3,3,.75);border-radius:4px}.Progressbar__progress{position:absolute;left:0;top:0;bottom:0;background:#116f49;border-radius:4px;text-align:center;overflow:hidden}.MaterialViewDocumentsUpload{min-width:300px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-left:1px solid #454545;background-color:transparent;-webkit-transition:background-color .3s ease-out;transition:background-color .3s ease-out}.MaterialViewDocumentsUpload__title{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin:30px 0 15px;font-size:1.2rem}.MaterialViewDocumentsUpload__choose-files{margin:15px 0}.MaterialViewDocumentsUpload__send-list{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;margin:0;padding:.5rem 1rem}.MaterialViewDocumentsUpload__file-errors{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1rem 0;padding:0 1rem}.MaterialViewDocumentsUpload__file-errors__item{list-style:none;color:#fd423f;padding:.5rem 0}.MaterialViewDocumentsUpload__actions{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:20px 0;text-align:center}.MaterialViewDocumentsUpload__actions__file-input{display:none}.MaterialViewDocumentsUpload__actions .Help{margin:1rem 0}.MaterialViewDocumentsUpload .Progressbar{margin-left:2rem}.MaterialViewDocumentsUpload--drag-over{background-color:rgba(224,68,6,.15)}.MaterialViewDocuments{height:calc(100% - 10px);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.MaterialViewDocuments__main{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:300px}.MaterialViewDocuments__main .Help{margin-top:2rem;text-align:center}.MaterialViewDocuments__no-document{margin:30px 0 0;text-align:center;font-size:1.2rem;color:#8a8a8a;font-style:italic}.MaterialViewDocuments__list{margin:0;padding:0 1rem 0 0}.MaterialViewDocuments .MaterialViewDocumentsUpload{-webkit-box-flex:1;-ms-flex:1;flex:1}.MaterialView{height:100%}.MaterialView>.Help{margin-bottom:1rem}.MaterialView__body{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}.MaterialView__body .vue-tablist{margin-bottom:1rem}.MaterialView__body .vue-tabpanel{-webkit-box-flex:1;-ms-flex:1;flex:1}.AttributeEditForm{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:800px;background-color:#363636}.AttributeEditForm__name{-webkit-box-flex:0;-ms-flex:0 0 220px;flex:0 0 220px;padding:.8rem .5rem}.AttributeEditForm__type{-webkit-box-flex:0;-ms-flex:0 0 170px;flex:0 0 170px;padding:.8rem .5rem}.AttributeEditForm__unit{-ms-flex:0 0 80px;flex:0 0 80px}.AttributeEditForm__max-length,.AttributeEditForm__unit{-webkit-box-flex:0;padding:.8rem .5rem;text-align:center}.AttributeEditForm__max-length{-ms-flex:0 0 115px;flex:0 0 115px}.AttributeEditForm__categories{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:.8rem .5rem}.AttributeEditForm__categories__item{margin-top:4px;opacity:.6}.AttributeEditForm__categories__item--selected,.AttributeEditForm__categories__item--selected:focus,.AttributeEditForm__categories__item--selected:hover{opacity:1;background-color:#116f49}.AttributeEditForm__input,.AttributeEditForm__select{width:100%}.AttributeEditForm__error{color:#fd423f;padding:0}.AttributeEditForm__error li{list-style:inside}.Attributes__header .Help{margin-top:.5rem}.Attributes__back-button{margin-top:.5rem;margin-right:1rem}.Attributes__no-data{background-color:#363636;margin:0;padding:1.5rem .5rem;text-align:center;font-style:italic}.Attributes__items{width:100%;min-width:800px;margin:0;background-color:#363636;color:#e3e3e3;border-collapse:collapse}.Attributes__items__header{font-weight:600;background-color:#2e2e2e;color:#a3a3a3;text-align:left}.Attributes__items__categories,.Attributes__items__delete,.Attributes__items__edit-name,.Attributes__items__max-length,.Attributes__items__name,.Attributes__items__type,.Attributes__items__unit{padding:.8rem .5rem;border-bottom:1px solid #242424}.Attributes__items__name-error{color:#fd423f;font-weight:400}.Attributes__items__edit-name{height:45px;text-align:center}.Attributes__items__edit-name__edit-button{visibility:hidden;-webkit-transition:none;transition:none;padding:5px 8px;font-size:.9rem}.Attributes__items__delete{width:30px}.Attributes__items__delete__button{visibility:hidden;-webkit-transition:none;transition:none;padding:5px 8px;font-size:.9rem}.Attributes__items__delete__button--show,.Attributes__items__line:hover .Attributes__items__delete__button,.Attributes__items__line:hover .Attributes__items__edit-name__edit-button{visibility:visible}.Attributes__items__name{width:220px;font-weight:700}.Attributes__items__edit-name{width:85px}.Attributes__items__type{width:170px}.Attributes__items__unit{width:80px;text-align:center}.Attributes__items__max-length{width:125px;text-align:center}.Attributes__items__categories__empty{color:#8a8a8a;font-style:italic}.Attributes__actions{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:1rem}.Attributes__actions--add{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.Tags__empty{width:100%;margin-top:2rem;text-align:center;color:#636363;font-size:1.2rem;font-style:italic;font-weight:400}.Tags__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.Tags__edit-button{padding:.33rem .6rem;margin-left:.5rem;-webkit-transition:visibility 10ms;transition:visibility 10ms}.Tags__item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:2rem;min-width:18rem;margin:.5rem 2rem .5rem 0;padding:.6rem 1rem;background:#1f1f1f;border-radius:10px;font-size:1.2rem}.Tags__item__name{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#e3e3e3}.Tags__item__name .fas{margin-right:.4rem;color:#8a8a8a}.Tags__item--protected .Tags__item__name{color:#636363}@media (min-width:1024px){.Tags__edit-button{visibility:hidden}.Tags__item:hover .Tags__edit-button{visibility:visible}}.Technicians__address,.Technicians__email,.Technicians__nickname,.Technicians__note{display:none}@media (min-width:580px){.Technicians__email{display:table-cell}}@media (min-width:768px){.Technicians__nickname{display:table-cell}}@media (min-width:1024px){.Technicians__address,.Technicians__note{display:table-cell}}.Technician{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Technician .PersonForm{-webkit-box-flex:2;-ms-flex:2;flex:2}.Technician .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}.Categories__items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:0!important}.Categories__category{-webkit-box-flex:1;-ms-flex:1 0 220px;flex:1 0 220px;max-width:500px;margin-bottom:2rem;padding:.6rem 1rem;background:#1f1f1f;border-radius:10px;margin-right:1rem}.Categories__sub-categories{margin-left:2.3rem}.Categories__sub-category{margin-top:.5rem}.Categories__category__name,.Categories__sub-category__name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:2.2rem;font-size:1.2rem;color:#e3e3e3}.Categories__category__name .fas,.Categories__sub-category__name .fas{margin-right:.6rem;font-size:1.3rem}.Categories__category__actions,.Categories__sub-category__actions{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;min-width:110px}.Categories__edit-button{padding:4px 8px;margin-left:.5rem;-webkit-transition:visibility 10ms;transition:visibility 10ms}.Categories__edit-button .fas{margin:0;font-size:1rem}.Categories__add-link{display:block;margin-top:.5rem}.Categories__add-link:hover{color:#fc864a}@media (min-width:580px){.Categories__category{margin-right:2rem}}@media (min-width:1024px){.Categories__edit-button,.Categories__link-button{visibility:hidden}.Categories__category{margin-right:2.5rem}.Categories__category__name:hover .Categories__edit-button,.Categories__category__name:hover .Categories__link-button,.Categories__sub-category__name:hover .Categories__edit-button,.Categories__sub-category__name:hover .Categories__link-button{visibility:visible}}.Parks__address,.Parks__note,.Parks__opening-hours{display:none}.Parks__total-stock{color:#8a8a8a}.Parks__total-amount{display:block;color:#8a8a8a}@media (min-width:580px){.Parks__address{display:table-cell}}@media (min-width:768px){.Parks__note,.Parks__opening-hours{display:table-cell}}.Park{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:3rem}.Park .Form{-webkit-box-flex:2;-ms-flex:2;flex:2;min-width:200px;max-width:600px;margin-right:1rem}.Park .Help{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-top:3.8rem;min-width:150px}.Park__postal-code .FormField__input{max-width:70px}.TopMenu{position:relative;z-index:100}.TopMenu__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:0 1rem}.TopMenu__welcome{display:none}.TopMenu__dropdown-btn{padding:0 2rem;text-transform:capitalize}.TopMenu__dropdown{position:absolute;top:50px;right:0;width:180px;z-index:99;margin:0;padding:0;background:#333;-webkit-box-shadow:-2px 6px 6px rgba(0,0,0,.25);box-shadow:-2px 6px 6px rgba(0,0,0,.25);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transition:-webkit-transform .15s ease-in-out;transition:-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out;transition:transform .15s ease-in-out,-webkit-transform .15s ease-in-out}.TopMenu__dropdown__nickname{padding:0 2rem .5rem;text-align:center;font-size:1.2rem;text-transform:capitalize}.TopMenu__dropdown__item{padding:1rem 1rem}.TopMenu__dropdown__item .fas{font-size:1.5rem;margin-right:1rem}.TopMenu__dropdown__item--active{background-color:#242424;color:#fff}.TopMenu__dropdown__item--active:hover{background-color:#242424}.TopMenu__dropdown--open{-webkit-transform:none;transform:none}.TopMenu__dropdown-btn,.TopMenu__dropdown__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.TopMenu__dropdown-btn:hover,.TopMenu__dropdown__item:hover{background-color:#262626;color:#fc864a}@media (min-width:580px){.TopMenu__welcome{display:inline-block}.TopMenu__dropdown-btn{padding:0 1rem}.TopMenu__dropdown-btn .fas{margin-left:1rem}.TopMenu__dropdown__nickname{display:none}}.MainHeader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;max-height:50px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#333}.MainHeader__logo{display:none;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center;padding:.2rem .2rem 0}.MainHeader__logo img{height:3rem}.MainHeader__menu-toggle{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 2rem;-ms-flex-item-align:stretch;align-self:stretch}.MainHeader__title{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#fff;font-size:1.6rem;font-weight:400}.MainHeader__menu{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-item-align:stretch;align-self:stretch}@media (min-width:580px){.MainHeader__logo{display:block}.MainHeader__menu-toggle{display:none}.MainHeader__title{padding-left:1rem}}@media (min-width:1024px){.MainHeader__logo{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px}}.SideMenu__item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%;text-align:center;padding:1rem 0;list-style:none;font-size:1rem;cursor:pointer;-webkit-transition:all .3s;transition:all .3s}.SideMenu__item__title{display:inline-block}.SideMenu__item .fas{font-size:1.5rem;margin-bottom:.5rem}.SideMenu__item:hover{background-color:#262626;color:#fc864a}.SideMenu__item--active{color:#fff}.SideMenu__item--active,.SideMenu__item--active:hover{background-color:#242424}@media (min-width:580px){.SideMenu__item__title{display:none}}@media (min-width:1024px){.SideMenu__item__title{display:inline-block}}.SideNav{position:absolute;width:130px;left:-130px;height:calc(100% - 50px);z-index:100;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;background-color:#333;-webkit-transition:left .3s cubic-bezier(0,.72,.43,1);transition:left .3s cubic-bezier(0,.72,.43,1)}.SideNav__logo{text-align:center;padding:.5rem 0}.SideNav__logo img{height:3rem}.SideNav__menu{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;overflow:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.SideNav__footer{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:.7rem;text-align:center;padding:10px 5px}.SideNav--opened{left:0}@media (min-width:580px){.SideNav{position:static;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;left:0;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.SideNav__footer,.SideNav__logo{display:none}}@media (min-width:1024px){.SideNav{-webkit-box-flex:0;-ms-flex:0 0 130px;flex:0 0 130px}.SideNav__footer{display:block}}*{-webkit-box-sizing:border-box;box-sizing:border-box}body,html{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;margin:0;padding:0;font-size:13px;font-family:Avenir,Helvetica,Arial,sans-serif}body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;background-color:#242424}a:not(.button),a:not(.button):active,a:not(.button):visited{color:#fb6418;text-decoration:none;cursor:pointer}a:not(.button):hover{color:#fc864a}.button,button{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:.55rem .78rem;border:none;border-radius:2px;cursor:pointer;background-color:#616161;color:#e0e0e0;line-height:1.25;font-size:1rem;-webkit-transition:all .3s;transition:all .3s}.button+.button,.button+button,button+.button,button+button{margin-left:5px}.button:focus,.button:hover,button:focus,button:hover{background-color:#757575;color:#fff;outline:0}.button:active,button:active{background-color:#4d4d4d;color:#e04406}.button.info,button.info{background-color:#116f49}.button.info:focus,.button.info:hover,button.info:focus,button.info:hover{background-color:#169260}.button.info:active,button.info:active{background-color:#0c4c32;color:#e04406}.button.success,button.success{background-color:#477000}.button.success:focus,.button.success:hover,button.success:focus,button.success:hover{background-color:#578a00}.button.success:active,button.success:active{background-color:#375700;color:#e04406}.button.warning,button.warning{background-color:#b4320e}.button.warning:focus,.button.warning:hover,button.warning:focus,button.warning:hover{background-color:#da3d11}.button.warning:active,button.warning:active{background-color:#8e270b;color:#e04406}.button.danger,button.danger{background-color:#ad0101}.button.danger:focus,.button.danger:hover,button.danger:focus,button.danger:hover{background-color:#d60101}.button.danger:active,button.danger:active{background-color:#840101;color:#e04406}.button[disabled],button[disabled]{cursor:not-allowed;opacity:.6}.Form__fieldset{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.Form__fieldset__title{margin:0 0 1.5rem}.Form__actions,.Form__fieldset+.Form__fieldset{margin-top:3rem}.Form__actions{text-align:left;padding-bottom:3rem}.Form .FormField+.FormField{margin-top:1rem}.Form input+input{margin-left:1rem}.Form--fixed-actions .Form__actions{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:2;padding:1.5rem 0;text-align:center;background:#242424;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.5);box-shadow:0 2px 10px rgba(0,0,0,.5)}@media screen and (min-width:580px){.Form--fixed-actions .Form__actions{left:50px}}@media screen and (min-width:768px){.Form__fieldset__title{margin:0 1.5rem 1.5rem 140px}.Form__actions{padding-left:140px}}@media screen and (min-width:1024px){.Form--fixed-actions .Form__actions{left:130px}}input,textarea{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1rem;outline:0}input:focus,textarea:focus{border-color:#116f49}input:disabled,textarea:disabled{background-color:#242424;color:#999;border-color:#454545}select{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding:8px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-size:1rem;outline:0}select:focus{border-color:#116f49}select:disabled{background-color:#242424;color:#999;border-color:#454545}.content{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;height:100%;overflow:auto}.content__header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.content__main-view{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:.5rem 1rem}.content__header+.content__main-view{padding-top:0}.content__footer{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:0 1rem .5rem}@media (min-width:580px){.content__main-view{padding:1rem 2rem}.content__footer{padding:0 2rem 1rem}}.header-page{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:.5rem 1rem}.header-page__help{display:none;-webkit-box-flex:1;-ms-flex:1;flex:1;color:#757575}.header-page__error{margin-top:.5rem;color:#fd423f;font-weight:600}.header-page__actions{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;min-width:200px;padding:.55rem 0}.header-page__actions button+button{margin:0 0 0 1rem}@media (min-width:580px){.header-page{padding:1rem 2rem}}@media (min-width:768px){.header-page__help{display:block;min-height:25px;margin-right:.78rem}.header-page__actions{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;min-width:auto}}.item-actions{text-align:right}.item-actions__button{min-width:27px;min-height:24px;padding:.35rem .6rem}.item-actions__button+.item-actions__button{margin-left:.5rem}.timeline-event .far,.timeline-event .fas{width:1.2rem;text-align:center}.timeline-event .fa-exclamation-triangle{color:#fd423f}.timeline-event--past{background-color:#828282!important;color:#e3e3e3!important}.timeline-event--past.vis-selected{background-color:#9c9c9c!important}.timeline-event--confirmed{background-color:#da4207!important}.timeline-event--confirmed.vis-selected{background-color:#f85a1c!important}.timeline-event--current{background-size:40px 40px;background-image:linear-gradient(45deg,hsla(0,0%,100%,.1) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.1) 0,hsla(0,0%,100%,.1) 75%,transparent 0,transparent);-webkit-animation:animBackground 3s linear infinite;animation:animBackground 3s linear infinite}.vdp-datepicker__calendar{background-color:#454545!important;border-color:#5c5c5c!important;color:#fff!important}.vdp-datepicker__calendar header .next:not(.disabled):hover,.vdp-datepicker__calendar header .prev:not(.disabled):hover,.vdp-datepicker__calendar header .up:not(.disabled):hover{background-color:#116f49!important}.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).day:hover,.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).month:hover,.vdp-datepicker__calendar .cell:not(.blank):not(.disabled).year:hover{border-color:#5c5c5c!important}.vdp-datepicker__calendar .cell.disabled{color:#636363!important}.vdp-datepicker__calendar .cell.selected,.vdp-datepicker__calendar .cell.selected.highlighted,.vdp-datepicker__calendar .cell.selected:hover{background-color:#116f49!important}.tooltip{z-index:999}.tooltip .tooltip-inner{padding:.5rem .78rem;background:rgba(3,3,3,.75);color:#a3a3a3;border-radius:3px}.VuePagination__pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0}.VuePagination__pagination-item{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;list-style:none}.VuePagination__pagination-item .page-link{padding:.35rem .65rem;background:#333;cursor:pointer}.VuePagination__pagination-item .page-link:hover{background:#262626}.VuePagination__pagination-item .page-link[disabled]{background:#333;color:#636363;cursor:default}.VuePagination__pagination-item .page-link.active{color:#a3a3a3;background:#454545}.VuePagination__pagination-item .page-link.active:hover{background:#262626}.VuePagination__count{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#636363}.VueTables{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.VueTables .row{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.VueTables .col-md-12{display:-webkit-box;display:-ms-flexbox;display:flex}.VueTables .col-md-12>div,.VueTables .col-md-12>nav{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables .col-md-12>.pull-left{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.VueTables .col-md-12>.pull-right{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables label{display:none}.VueTables__search-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables__search-field input{min-width:180px}.VueTables .table-responsive,.VueTables__search-limit{-webkit-box-flex:1;-ms-flex:1;flex:1}.VueTables .table-responsive{margin-top:1rem}.VueTables__table{width:100%;border-collapse:collapse}.VueTables th{text-align:left;white-space:nowrap;background:#2e2e2e}.VueTables th:focus{outline:0}.VueTables__sortable{padding:.78rem .35rem;cursor:pointer}.VueTables__limit{margin-left:1rem}.VueTables__actions{width:6rem;min-width:6rem;text-align:left}.VueTables__sort-icon{float:none;margin-left:.5rem;opacity:.5}.VueTables td{padding:.45rem;background:#363636;color:#e3e3e3;border-bottom:1px solid #242424}.VueTables td:focus{outline:0}.VueTables__no-results td{padding:.78rem;text-align:center;font-style:italic;color:#8a8a8a}.VueTables__columns-dropdown-wrapper{display:none;position:relative;margin-left:1rem;text-align:right}.VueTables__columns-dropdown-wrapper .dropdown-toggle{padding:.78rem;background:none;border:1px solid #616161;color:#757575}.VueTables__columns-dropdown-wrapper .dropdown-toggle:hover{border-color:#e3e3e3;color:#e3e3e3}.VueTables__columns-dropdown .dropdown-menu{position:absolute;z-index:1;right:0;margin:0;padding:10px;background-color:#333;-webkit-box-shadow:3px 3px 14px rgba(0,0,0,.4);box-shadow:3px 3px 14px rgba(0,0,0,.4)}.VueTables__columns-dropdown .dropdown-menu li{list-style:none}.VueTables__columns-dropdown .dropdown-menu li a{display:-webkit-box;display:-ms-flexbox;display:flex}.VueTables__columns-dropdown .dropdown-menu li:last-child{display:none}@media (min-width:1024px){.VueTables__columns-dropdown-wrapper{display:block}}.swal2-popup.swal2-toast{-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;-webkit-box-shadow:0 0 .625em #d9d9d9;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast,.swal2-popup.swal2-toast .swal2-header{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.swal2-popup.swal2-toast .swal2-header{padding:0}.swal2-popup.swal2-toast .swal2-title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:1.8em;font-weight:700}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{-ms-flex-preferred-size:auto!important;flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em;padding:0}.swal2-popup.swal2-toast .swal2-styled{margin:.125em .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(100,150,200,.5)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 1.5em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:.625em;overflow-x:hidden;-webkit-transition:background-color .1s;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:transparent!important}.swal2-container.swal2-top,.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{-ms-flex:1;flex:1;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-pack:center}.swal2-container.swal2-grow-fullscreen>.swal2-modal,.swal2-container.swal2-grow-row>.swal2-modal{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-flex:1;-webkit-box-pack:center;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{-ms-flex:1;flex:1;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center}.swal2-container.swal2-grow-column{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.swal2-container.swal2-no-transition{-webkit-transition:none!important;transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:5px;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:-webkit-box;display:-ms-flexbox;display:flex;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;margin:1.25em auto 0;padding:0 1.6em}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.1)),to(rgba(0,0,0,.1)));background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.2)),to(rgba(0,0,0,.2)));background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;-webkit-box-shadow:none;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{background:initial;background-color:#2778c4}.swal2-styled.swal2-confirm,.swal2-styled.swal2-deny{border:0;border-radius:.25em;color:#fff;font-size:1.0625em}.swal2-styled.swal2-deny{background:initial;background-color:#d14529}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#757575;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:none;-webkit-box-shadow:0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;-webkit-transition:color .1s ease-out;transition:color .1s ease-out;border:none;border-radius:5px;background:transparent;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{-webkit-transform:none;transform:none;background:transparent;color:#f27474}.swal2-close:focus{outline:none;-webkit-box-shadow:inset 0 0 0 3px rgba(100,150,200,.5);box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;-webkit-transition:border-color .3s,-webkit-box-shadow .3s;transition:border-color .3s,-webkit-box-shadow .3s;transition:border-color .3s,box-shadow .3s;transition:border-color .3s,box-shadow .3s,-webkit-box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;-webkit-box-shadow:0 0 2px #f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;-webkit-box-shadow:0 0 0 3px rgba(100,150,200,.5);box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-input-label{display:-webkit-box;display:-ms-flexbox;display:flex;margin:1em auto}.swal2-input-label,.swal2-validation-message{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.swal2-validation-message{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 -2.7em;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message:before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;-webkit-box-sizing:content-box;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;-ms-flex-negative:0;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;-ms-flex-negative:0;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{-webkit-transition:none;transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-webkit-keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotate(2deg);transform:translateY(-.625em) rotate(2deg)}33%{-webkit-transform:translateY(0) rotate(-2deg);transform:translateY(0) rotate(-2deg)}66%{-webkit-transform:translateY(.3125em) rotate(2deg);transform:translateY(.3125em) rotate(2deg)}to{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg)}}@keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotate(2deg);transform:translateY(-.625em) rotate(2deg)}33%{-webkit-transform:translateY(0) rotate(-2deg);transform:translateY(0) rotate(-2deg)}66%{-webkit-transform:translateY(.3125em) rotate(2deg);transform:translateY(.3125em) rotate(2deg)}to{-webkit-transform:translateY(0) rotate(0deg);transform:translateY(0) rotate(0deg)}}@-webkit-keyframes swal2-toast-hide{to{-webkit-transform:rotate(1deg);transform:rotate(1deg);opacity:0}}@keyframes swal2-toast-hide{to{-webkit-transform:rotate(1deg);transform:rotate(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}to{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}to{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}to{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}to{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}to{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}to{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}to{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}to{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}to{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}to{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}to{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - 1.25em);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.4);box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-item-align:stretch;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-container{font-family:Avenir,Helvetica,Arial,sans-serif}.swal2-popup{background:#333;-webkit-box-shadow:1px 1px 20px rgba(0,0,0,.5);box-shadow:1px 1px 20px rgba(0,0,0,.5)}.swal2-title{color:#e3e3e3;font-size:1.5rem}.swal2-content{color:#e3e3e3;white-space:pre-line}.swal2-file,.swal2-input,.swal2-textarea{padding:9px 10px;background-color:#454545;color:#ededed;border:1px solid #454545;border-radius:4px;font-family:Avenir,Helvetica,Arial,sans-serif;font-size:1rem;outline:0}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border-color:#116f49;-webkit-box-shadow:none;box-shadow:none}.swal2-styled:focus{-webkit-box-shadow:none;box-shadow:none}.swal2-icon.swal2-warning{border-color:#b4320e;color:#da3d11}.swal2-confirm{background-color:#116f49!important}.swal2-confirm:focus,.swal2-confirm:hover{background-color:#169260!important}.swal2-confirm:active{background-color:#0c4c32!important;color:#e04406}.swal2-confirm--trash{background-color:#b4320e!important}.swal2-confirm--trash:focus,.swal2-confirm--trash:hover{background-color:#da3d11!important}.swal2-confirm--trash:active{background-color:#8e270b!important;color:#e04406}.swal2-confirm--delete{background-color:#ad0101!important}.swal2-confirm--delete:focus,.swal2-confirm--delete:hover{background-color:#d60101!important}.swal2-confirm--delete:active{background-color:#840101!important;color:#e04406}.swal2-confirm--success{background-color:#477000!important}.swal2-confirm--success:focus,.swal2-confirm--success:hover{background-color:#619900!important}.swal2-confirm--success:active{background-color:#2d4700!important;color:#e04406}.swal2-cancel{background-color:#616161!important}.swal2-cancel:focus,.swal2-cancel:hover{background-color:#757575!important}.swal2-cancel:active{background-color:#4d4d4d!important;color:#e04406}.vis-timeline{border:none!important;background-color:#363636}.vis-timeline .vis-panel.vis-bottom,.vis-timeline .vis-panel.vis-center,.vis-timeline .vis-panel.vis-left,.vis-timeline .vis-panel.vis-right,.vis-timeline .vis-panel.vis-top{border:none}.vis-timeline .vis-time-axis.vis-foreground{background:hsla(0,0%,100%,.05);-webkit-box-shadow:0 0 5px rgba(0,0,0,.25);box-shadow:0 0 5px rgba(0,0,0,.25)}.vis-timeline .vis-grid.vis-vertical{border-color:#545454!important}.vis-timeline .vis-grid.vis-today{background-color:#5b382a!important}.vis-timeline .vis-grid.vis-sunday{background:hsla(0,0%,100%,.1)}.vis-timeline .vis-time-axis .vis-text{text-align:center;color:#a3a3a3}.vis-timeline .vis-time-axis .vis-text.vis-major{margin-left:.5rem;text-transform:capitalize;font-weight:800}.vis-timeline .vis-current-time{max-height:calc(100% - 42px);margin-top:42px;background-color:#bb481b}.vis-item{margin:0;padding:1.2rem 1.1rem;border:none!important;border-radius:10px!important;-webkit-box-shadow:1px 2px 3px rgba(0,0,0,.5);box-shadow:1px 2px 3px rgba(0,0,0,.5);font-size:1rem}.vis-item .vis-item-content{padding:0 0 .1rem 0!important}.vis-item:not(.vis-readonly){cursor:pointer}.vis-item:not(.vis-readonly) .vis-drag-left,.vis-item:not(.vis-readonly) .vis-drag-right{width:32px!important;background:rgba(0,0,0,.1)}.vis-item:not(.vis-readonly) .vis-drag-left{border-radius:10px 0 0 10px;left:0!important}.vis-item:not(.vis-readonly) .vis-drag-right{border-radius:0 10px 10px 0;right:0!important}.vis-item.vis-readonly .vis-drag-center{cursor:no-drop!important}.vis-item .vis-delete{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:32px!important;height:100%!important;right:-32px!important;border-radius:3px}.vis-item .vis-delete:after{color:#fd423f;content:"\f1f8"!important;font-family:Font Awesome\ 5 Free!important;font-weight:900!important;font-size:1.7rem!important}.vis-group>.vis-item{background-color:#028358;color:#fff}.vis-group>.vis-item.vis-selected{background-color:#03b57a}div.vis-tooltip{max-width:50%;margin:30px 0 0 15px;padding:.5rem 1rem!important;border:none!important;border-radius:3px;background-color:rgba(3,3,3,.75)!important;color:#e3e3e3!important;white-space:pre-wrap!important;font-family:Avenir,Helvetica,Arial,sans-serif!important}div.vis-tooltip .far,div.vis-tooltip .fas{width:1.5rem;text-align:center;margin-bottom:3px}div.vis-tooltip .fa-exclamation-triangle{color:#fd423f}div.vis-tooltip .fa-check{color:#5ebd00}.vm--overlay{padding:1.5rem;background:rgba(0,0,0,.5)!important;overflow:auto}.vm--modal{background:#242424!important;-webkit-box-shadow:3px 8px 20px 0 #151515!important;box-shadow:3px 8px 20px 0 #151515!important;color:#e3e3e3!important;overflow:visible!important}.vue-tablist{list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;margin:0;border-bottom:1px solid #454545;margin-bottom:1rem}.vue-tab{position:relative;bottom:-1px;margin-right:1px;padding:10px 16px;border-bottom:2px solid #454545;border-radius:4px 4px 0 0;background-color:#333;color:#a3a3a3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.vue-tab .fab,.vue-tab .far,.vue-tab .fas{margin-right:.3rem}.vue-tab[aria-selected=true]{border-color:#116f49;color:#e3e3e3}.vue-tab[aria-disabled=true]{cursor:not-allowed;color:#636363}@media (min-width:1024px){.vue-tablist{margin-bottom:2rem}}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;-webkit-transition:opacity .15s cubic-bezier(1,.5,.8,1);transition:opacity .15s cubic-bezier(1,.5,.8,1)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{cursor:not-allowed;background-color:#f8f8f8}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 0 4px 0;background:none;border:1px solid rgba(60,60,60,.26);border-radius:4px;white-space:normal}.vs__dropdown-toggle,.vs__selected-options{display:-webkit-box;display:-ms-flexbox;display:flex}.vs__selected-options{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 6px 0 3px}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:rgba(60,60,60,.5);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855);transition:transform .15s cubic-bezier(1,-.115,.975,.855),-webkit-transform .15s cubic-bezier(1,-.115,.975,.855);-webkit-transition-timing-function:cubic-bezier(1,-.115,.975,.855);transition-timing-function:cubic-bezier(1,-.115,.975,.855)}.vs--open .vs__open-indicator{-webkit-transform:rotate(180deg) scale(1);transform:rotate(180deg) scale(1)}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:rgba(60,60,60,.5);padding:0;border:0;background-color:transparent;margin-right:8px}.vs__dropdown-menu{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:calc(100% - 1px);left:0;z-index:1000;padding:5px 0;margin:0;width:100%;max-height:350px;min-width:160px;overflow-y:auto;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.15);box-shadow:0 3px 6px 0 rgba(0,0,0,.15);border:1px solid rgba(60,60,60,.26);border-top-style:none;text-align:left;list-style:none;background:#fff}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:3px 20px;clear:both;color:#333;white-space:nowrap}.vs__dropdown-option:hover{cursor:pointer}.vs__dropdown-option--highlight{background:#5897fb;color:#fff}.vs__dropdown-option--disabled{background:inherit;color:rgba(60,60,60,.5)}.vs__dropdown-option--disabled:hover{cursor:inherit}.vs__selected{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f0f0f0;border:1px solid rgba(60,60,60,.26);border-radius:4px;color:#333;line-height:1.4;margin:4px 2px 0 2px;padding:0 .25em;z-index:0}.vs__deselect{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:rgba(60,60,60,.5);text-shadow:0 1px 0 #fff}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:1.4;font-size:1em;border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0 0;padding:0 7px;background:none;-webkit-box-shadow:none;box-shadow:none;width:0;max-width:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;z-index:1}.vs__search::-webkit-input-placeholder{color:inherit}.vs__search::-moz-placeholder{color:inherit}.vs__search:-ms-input-placeholder{color:inherit}.vs__search::-ms-input-placeholder{color:inherit}.vs__search::placeholder{color:inherit}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search:hover{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{-ms-flex-item-align:center;align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid hsla(0,0%,39.2%,.1);border-right:.9em solid hsla(0,0%,39.2%,.1);border-bottom:.9em solid hsla(0,0%,39.2%,.1);border-left:.9em solid rgba(60,60,60,.45);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;-webkit-transition:opacity .1s;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em}.vs--loading .vs__spinner{opacity:1}.v-select{padding:0 10px;background-color:#454545;border:1px solid #454545;border-radius:4px;font-size:1rem}.vs__dropdown-toggle{border:none;padding:0}.vs__dropdown-menu{width:calc(100% + 2px);left:-1px;background:#454545;border:1px solid #116f49;border-top:none;border-radius:0 0 4px 4px}.vs__dropdown-option{padding:.4rem .9rem;color:#ededed}.vs__dropdown-option--highlight{background:#116f49;color:#ededed}.vs__selected-options{padding:.4rem 2px 0}.vs__selected-options .vs__selected{padding:.3rem .7rem;margin-bottom:.4rem;background-color:rgba(3,3,3,.75)}.vs__selected-options .vs__deselect{padding:.3rem .4rem}.vs__selected-options .vs__deselect svg{fill:#8a8a8a}.vs__selected-options .vs__deselect:hover{background-color:#1f1f1f}.vs__selected-options .vs__deselect:hover svg{fill:#a3a3a3}.vs__selected{margin:0 1rem 0 0;padding:0;border:none;line-height:normal;color:#ededed}.vs__search,.vs__search:focus{margin:0;padding:9px 0;border:none;line-height:normal;font-size:1rem}.vs__actions{padding:0}.vs__clear{margin:0 .6rem 0 0;padding:.6rem;fill:#ad0101;cursor:pointer}.vs__clear:focus,.vs__clear:hover{background:none;fill:#e00101}.vs__open-indicator{fill:#636363;cursor:default}.vs--open{border-color:#116f49}.vs--single.vs--open .vs__selected{position:relative}.text-muted{color:#636363}#app{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;color:#e3e3e3}#app,.main{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;height:100%;overflow:auto}.main{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;color:#a3a3a3}.main__body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;overflow:auto;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch} \ No newline at end of file diff --git a/client/dist/css/chunk-vendors.css b/client/dist/css/chunk-vendors.css index d4c8e6630..c7d0c6247 100644 --- a/client/dist/css/chunk-vendors.css +++ b/client/dist/css/chunk-vendors.css @@ -2,6 +2,6 @@ /*! - * Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com + * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../img/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/fa-regular-400.eot);src:url(../fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-regular-400.woff2) format("woff2"),url(../fonts/fa-regular-400.woff) format("woff"),url(../fonts/fa-regular-400.ttf) format("truetype"),url(../img/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:block;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../img/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900} \ No newline at end of file diff --git a/client/dist/fonts/fa-brands-400.eot b/client/dist/fonts/fa-brands-400.eot index cdef69f09..d05ea581f 100644 Binary files a/client/dist/fonts/fa-brands-400.eot and b/client/dist/fonts/fa-brands-400.eot differ diff --git a/client/dist/fonts/fa-brands-400.ttf b/client/dist/fonts/fa-brands-400.ttf index 8ecb67b04..fc567cd2f 100644 Binary files a/client/dist/fonts/fa-brands-400.ttf and b/client/dist/fonts/fa-brands-400.ttf differ diff --git a/client/dist/fonts/fa-brands-400.woff b/client/dist/fonts/fa-brands-400.woff index 9bd812abc..db70e73e4 100644 Binary files a/client/dist/fonts/fa-brands-400.woff and b/client/dist/fonts/fa-brands-400.woff differ diff --git a/client/dist/fonts/fa-brands-400.woff2 b/client/dist/fonts/fa-brands-400.woff2 index 2acd92d78..b8a8f656e 100644 Binary files a/client/dist/fonts/fa-brands-400.woff2 and b/client/dist/fonts/fa-brands-400.woff2 differ diff --git a/client/dist/fonts/fa-regular-400.eot b/client/dist/fonts/fa-regular-400.eot index 21808cc74..fae180dac 100644 Binary files a/client/dist/fonts/fa-regular-400.eot and b/client/dist/fonts/fa-regular-400.eot differ diff --git a/client/dist/fonts/fa-regular-400.ttf b/client/dist/fonts/fa-regular-400.ttf index 2775fa1e1..d1ac9ba11 100644 Binary files a/client/dist/fonts/fa-regular-400.ttf and b/client/dist/fonts/fa-regular-400.ttf differ diff --git a/client/dist/fonts/fa-regular-400.woff b/client/dist/fonts/fa-regular-400.woff index e4acf9193..e9f54b13d 100644 Binary files a/client/dist/fonts/fa-regular-400.woff and b/client/dist/fonts/fa-regular-400.woff differ diff --git a/client/dist/fonts/fa-regular-400.woff2 b/client/dist/fonts/fa-regular-400.woff2 index 708621ffb..9df490e8c 100644 Binary files a/client/dist/fonts/fa-regular-400.woff2 and b/client/dist/fonts/fa-regular-400.woff2 differ diff --git a/client/dist/fonts/fa-solid-900.eot b/client/dist/fonts/fa-solid-900.eot index ccebb264e..afe315244 100644 Binary files a/client/dist/fonts/fa-solid-900.eot and b/client/dist/fonts/fa-solid-900.eot differ diff --git a/client/dist/fonts/fa-solid-900.ttf b/client/dist/fonts/fa-solid-900.ttf index bc640928c..f33e81629 100644 Binary files a/client/dist/fonts/fa-solid-900.ttf and b/client/dist/fonts/fa-solid-900.ttf differ diff --git a/client/dist/fonts/fa-solid-900.woff b/client/dist/fonts/fa-solid-900.woff index 7a14a11eb..73c1a4d5d 100644 Binary files a/client/dist/fonts/fa-solid-900.woff and b/client/dist/fonts/fa-solid-900.woff differ diff --git a/client/dist/fonts/fa-solid-900.woff2 b/client/dist/fonts/fa-solid-900.woff2 index 9a4633d9c..dc52d954d 100644 Binary files a/client/dist/fonts/fa-solid-900.woff2 and b/client/dist/fonts/fa-solid-900.woff2 differ diff --git a/client/dist/img/fa-brands-400.svg b/client/dist/img/fa-brands-400.svg index 54da424a7..4e48a4669 100644 --- a/client/dist/img/fa-brands-400.svg +++ b/client/dist/img/fa-brands-400.svg @@ -2,11 +2,11 @@ -Created by FontForge 20200314 at Wed Jan 13 11:57:55 2021 +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 By Robert Madole Copyright (c) Font Awesome - + -Created by FontForge 20200314 at Wed Jan 13 11:57:54 2021 +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 By Robert Madole Copyright (c) Font Awesome - + -Created by FontForge 20200314 at Wed Jan 13 11:57:55 2021 +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 By Robert Madole Copyright (c) Font Awesome - + - + 1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e||0===e.length)return[];var s=e.map((function(e){var a=e.id,s=t?t(e):e.name||"N/A";return{value:a,label:s}}));return a&&s.unshift({value:"",label:a}),s}),S=T,F={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("countries").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},x=(a("7db0"),a("3835")),L={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])},parkName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}},firstPark:function(e){var t=Object(x["a"])(e.list,1),a=t[0];return a}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("parks").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("parks").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},O={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])},categoryName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}},subCategoryName:function(e){return function(t){var a=null;return e.list.forEach((function(e){if(!a){var s=e.sub_categories.find((function(e){return e.id===t}));a=s?s.name:null}})),a}}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("categories").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("categories").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},j={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,(function(e){return e.legal_name}),n[i]["please-choose"])}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("companies").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("companies").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},q=(a("4de4"),a("caad"),a("2532"),{namespaced:!0,state:{list:[],isFetched:!1,error:null,protected:[v.beneficiaryTagName.toLowerCase(),v.technicianTagName.toLowerCase()]},getters:{options:function(e,t){return S(e.list.filter((function(e){return!t.isProtected(e.name)})))},isProtected:function(e){return function(t){return e.protected.includes(t.toLowerCase())}},tagName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("tags").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("tags").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}}),A=(a("96cf"),a("1da1")),N=function(e){return{id:e.id,groupId:e.group_id,firstName:e.first_name,lastName:e.last_name,pseudo:e.pseudo,email:e.email,locale:e.settings?e.settings.language:"en",restrictedParks:e.restricted_parks}},I=function(e){var t=v.auth,a=t.cookie,s=t.timeout,i={};if(s){var n=60*s*60*1e3,r=new Date((new Date).getTime()+n);i.expires=r}$.set(a,e,i)},P={namespaced:!0,state:{user:null},getters:{isLogged:function(e){return!!e.user},is:function(e){return function(t){if(!e.user)return!1;var a=Array.isArray(t)?t:[t];return a.includes(e.user.groupId)}}},mutations:{setUser:function(e,t){e.user=t},setUserProfile:function(e,t){e.user.firstName=t.first_name,e.user.lastName=t.last_name,e.user.pseudo=t.pseudo,e.user.email=t.email},setLocale:function(e,t){e.user.locale=t}},actions:{fetch:function(e){return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.dispatch,s=e.commit,$.get(v.auth.cookie)){t.next=4;break}return s("setUser",null),t.abrupt("return");case 4:return t.prev=4,t.next=7,D.get("/session");case 7:i=t.sent,n=i.data,s("setUser",N(n)),t.next=15;break;case 12:t.prev=12,t.t0=t["catch"](4),401===t.t0.httpCode?a("logout"):console.error("Error:",t.t0.message||t.t0.code);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})))()},login:function(e,t){return Object(A["a"])(regeneratorRuntime.mark((function a(){var s,i,n,r,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return s=e.dispatch,i=e.commit,a.next=3,D.post("session",t);case 3:n=a.sent,r=n.data,i("setUser",N(r.user)),I(r.token),o=r.user.settings.language.toLowerCase(),window.localStorage.setItem("userLocale",o),s("i18n/setLocale",{locale:o},{root:!0});case 10:case"end":return a.stop()}}),a)})))()},logout:function(e){return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,s=!1,!s){t.next=6;break}return window.location.assign("".concat(v.baseUrl,"/logout")),t.next=6,new Promise((function(e,t){setTimeout(t,5e3)}));case 6:a("setUser",null),$.remove(v.auth.cookie);case 8:case"end":return t.stop()}}),t)})))()}}};i["default"].use(M["a"]);var B=new M["a"].Store({state:{pageTitle:"",pageSubTitle:""},mutations:{setPageTitle:function(e,t){e.pageTitle=t},setPageSubTitle:function(e,t){e.pageSubTitle=t}},modules:{countries:F,parks:L,categories:O,companies:j,tags:q,auth:P}}),R={"hello-nick":"Hello {nick}!","your-profile":"Your profile","your-settings":"Your settings","logout-quit":"Quit Robert","action-add":"Add","action-edit":"Edit","action-view":"Display details","action-trash":"Trash bin","action-restore":"Restore","action-delete":"Delete","action-enable":"Enable","action-disable":"Disable","action-refresh":"Refresh data",yes:"Yes",no:"No","help-loading":"Loading...","please-confirm":"Please confirm...","yes-delete":"Yes, move in trash bin","yes-permanently-delete":"Yes, permanently delete","yes-restore":"Oui, restaurer",cancel:"Cancel",close:"Close","copy-to-clipboard":"Copy to clipboard","copied-in-clipboard":"Copied in clipboard!","almost-done":"Almost done...","please-choose":"Please choose...","start-typing-to-search":"Start typing to search...","type-at-least-count-chars-to-search":["Type again, at least {count} character to search...","Type again, at least {count} characters to search..."],"no-result-found-try-another-search":"No results. Try another search term.","create-select-item-label":"Create a {label}","add-item":"Add a {item}","remove-item":"Remove this {item}","cancel-add-item":"Cancel adding {item}","item-not-found":"{item} not found. Element may have been deleted.",locked:"locked",save:"Save",add:"Add",saving:"Saving...",saved:"{entity} saved.","choose-date":"Choose this date","reset-date":"Reset date",actions:"Actions",informations:"Informations","connexion-infos":"Credentials","personnal-infos":"Personnal informations","minimal-infos":"Minimal informations","billing-infos":"Billing informations",documents:"Documents",billing:"Billing","extra-infos":"Extra informations","special-attributes":"Special attributes",pseudo:"Pseudo","email-address-or-pseudo":"E-mail address or Pseudo",password:"Password","first-name":"First name","last-name":"Last name",name:"Name",nickname:"Nickname",company:"Company","legal-name":"Legal name",contact:"Contact","contact-details":"Contact details","other-infos":"Other informations",email:"E-mail",phone:"Phone",address:"Address",street:"Street and Number","postal-code":"Postal code",city:"City",locality:"City",country:"Pays",group:"Group",admin:"Administrator",member:"Member",visitor:"Visitor","opening-hours":"Opening hours",notes:"Notes",description:"Description",ref:"Ref.",reference:"Reference",park:"Park",prices:"Prices","rental-price":"Rental price","replacement-price":"Replacement price","rent-price":"Rent. price","repl-price":"Repl. price","value-per-day":"{value} / day","serial-number":"Serial n°",quantity:"Stock qty",quantities:"Quantities","quantity-out-of-order":"Out of order qty","remaining-quantity":"Remaining qty",discountable:"Discountable?","material-is-discountable":"The material is «਀discountable »: a discount amount can be applied to this material.","hidden-on-bill":"Hidden on bill?","material-not-displayed-on-bill":"The material is not displayed on bills.","price-must-be-zero":"the rental price must be 0","all-parks":"All parks combined","all-categories":"All categories","all-sub-categories":"All sub-categories","not-limited":"not limited","open-trash-bin":"Display trash bin","display-not-deleted-items":"Display not deleted items","created-at":"Created at:","updated-at":"Updated at:","event-details":"Event's details",title:"Title","start-date":"Start Date","end-date":"End Date",location:"Location",duration:"Duration","duration-days":"Duration {duration} days",confirmed:"Confirmed","not-confirmed":"Not confirmed","is-billable":"Is billable?","is-not-billable-help":"« Loan » Mode: no billing.","is-billable-help":"« Rent » Mode: billing possible.","event-not-billable":"This event is defined as « not billable ».","enable-billable-event":"Enable billing for this event",confirm:"Confirm","set-back-on-hold":"Set back on hold","set-event-confirmed":"Confirm event","set-back-event-pending":"Set back event on hold",print:"Print","print-summary":"Print this summary",in:"In","open-in-openstreetmap":"Search in OpenStreetMap","on-date":"On {date}","from-date-to-date":"from {from} to {to}",or:"or",for:"For",with:"With","in-progress":"in progress","show-materials-details":"Show detailed materials list","hide-materials-details":"Hide materials list",bill:"Bill","no-bill-help":"No bill for this event yet.","missing-beneficiary":"Missing beneficiary","not-billable-help":"You can't create a bill for an event without at least one beneficiary.","click-edit-to-create-one":"Click on « Edit » button to add one.","download-bill-help1":"Bill n° {number}, generated on {date}","download-bill-help2":"with a discount rate of {discountRate} %","download-bill-help3":"for an amount of {amount}","create-bill-help":"You can create a new bill for the first beneficiary in the list, and give it a discount rate or amount:","contact-someone-to-create-bill":"If needed, contact a member of the team and ask them to edit the invoice.",discount:"Discount","without-discount":"Without discount","wanted-rate":"Rate in %","wanted-amount":"Wanted amount","create-bill":"Create bill","download-bill-pdf":"Download PDF file","regenerate-bill-help":"You can regenerate the bill to change discount, or if the event has been modified.","click-here-to-regenerate":"Click here to create a new bill.",total:"Total","total-discountable":"Total discountable","items-count":["{count} item","{count} items"],"stock-items-count":"{count} in stock","out-of-order-items-count":"{count} out of order","sub-total":"Sub-total","total-amount":"Total amount","total-amount-with-discount":"Total with discount","replacement-total":"Total replacement price",day:"day",days:"days",ratio:"ratio","ratio-long":"Ratio",tags:"Tags","add-tags":"Add tags","choose-tags-below":"Choose tags below:","entity-name-tags":"Tags of « {entityName} »","remove-all-tags":"Remove all tags","remaining-count":"{count} remaining",event:"Event",user:"User",beneficiary:"Beneficiary",material:"Material",category:"Category","sub-category":"Sub-category",categories:"Categories",technician:"Technicien","this-feature-is-coming-soon":"This feature implementation is in progress.",french:"Français",english:"English"},V={"page-login":{title:"Login",welcome:"Hello! Who are you?",connexion:"Enter Robert","please-wait":"Authentication, please wait...",bye:"See you !",footer:"Robert2 is a free (as in 'freedom') software. You can copy and redistribute it freely, except for commercial purpose.","official-website":"Official website","community-forum":"Community Forum",error:{"bad-infos":"Given infos ar not correct. Please give your e-mail address or pseudo, and your password.","expired-session":"Your session has expired. Please log back in!","not-allowed":"You tried to visit a page with restricted access. Please log in with an account who can access this page."}},"page-profile":{title:"Your profile",help:"If you change your email, pseudo or password, do not forget them before logging-out!","you-are-group":"You are: {group}.","edit-password":"Change your password","password-confirmation":"Password confirmation","password-confirmation-must-match":"Password and its confirmation must be identical.","password-modified":"Your password was modified.",saved:"Your profile was saved."},"page-settings":{title:"Your settings",help:"The « duration of a session » is the time allowed before you're automatically logged out.","auth-token-validity-duration":"Max. duration of a session",interface:"Interface",language:"Language",hours:"hours",saved:"Settings saved."},"page-calendar":{title:"Calendar",help:"Click and drag to move timeline.\n Use mouse wheel to zoom in / out.\n Double-click on an empty column to create an event with start date pre-filled.","help-center-view-on-today":"Center calendar on today","help-add-event":"Create a new event","add-event":"New event","confirm-delete":"Move this event in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this event?","confirm-restore":"Do you really want to restore this event?","event-deleted":"The event was deleted.","event-saved":"The event was saved.","loading-event":"Loading event...","help-timeline-event-operations":"Click once to select the event, in order to move, resize or delete it.\n Double-click on an event to open its preview, and modify its details.","center-on-today":"Center on today","center-on":"Center on","this-event-is-past":"This event is past.","this-event-is-currently-running":"This event is currently running.","this-event-is-confirmed":"This event is confirmed.","this-event-is-locked-past-confirmed":"This event is locked because it's confirmed, and past.","this-event-has-missing-materials":"This event has missing materials.","all-events":"All events","event-with-missing-material-only":"Events with missing material only?","display-all-parks":"All parks"},"page-events":{"help-edit":"","back-to-calendar":"Back to calendar",add:"New event",edit:"Modify event « {pageSubTitle} »","edit-title":"Modify event","edit-event":"Modify event","save-and-back-to-calendar":"Save and back to calendar","save-and-continue":"Save and continue",step:"Step","event-informations":"Informations","event-beneficiaries":"Beneficiaries","event-technicians":"Technicians","event-materials":"Materials","event-summary":"Summary","event-confirmation":"Confirmation",saved:"Event saved.","not-saved":"Event has not saved modifications","display-only-selected-materials":"Display event's selected materials only?","display-all-materials-to-add-some":"Display all materials to add some","display-only-event-materials":"Display only event's materials","event-not-confirmed-help":"The event is not confirmed yet. It is subject to change at any time.","event-confirmed-help":"The event is confirmed: its information should no longer change.","event-missing-materials":"Missing materials","event-missing-materials-help":"These are the missing materials for the period of the event, because it is used in another event, the number needed is too high, or there are some out of order. These materials must therefore be added to the park, or rented from another company.","warning-no-material":"Warning: this event is empty, there is no material at the moment!","warning-no-beneficiary":"Warning: this event has no beneficiaries!","missing-material-count":"Need {quantity}, missing {missing}!","beneficiary-billing-help":"Only the first beneficiary in the list will be displayed on the bill."},"page-users":{title:"Users",help:"You can send an email to an user by clicking on his/her address.","help-edit":"- Group « Administrator » group gives all access rights to user.\n - Group « Member » allow user to use most parts of Robert application.\n - Group « Visitor » group gives a limited access to some data.","action-add":"New user",add:"New user",edit:"Modify user « {pageSubTitle} »","edit-title":"Modify user","confirm-delete":"Move this user in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this user?","confirm-restore":"Do you really want to restore this user?",saved:"User saved.","profile-missing-or-deleted":"Profile missing or deleted"},"page-beneficiaries":{title:"Beneficiaries",help:"You can send an email to a beneficiary by clicking on his/her address.","action-add":"New beneficiary",add:"New beneficiary",edit:"Modify beneficiary « {pageSubTitle} »","edit-title":"Modify beneficiary","beneficiary-type":"Beneficiary type",person:"Natural person (individual)",company:"Legal entity (company)","help-edit":"Only first name and last name are mandatory.","confirm-delete":"Move this beneficiary in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this beneficiary?","confirm-restore":"Do you really want to restore this beneficiary?",saved:"Beneficiary saved."},"page-companies":{title:"Companies",add:"New company",edit:"Modify company « {pageSubTitle} »","edit-title":"Modify company","edit-btn":"Modify company","create-new":"Add a new company","help-edit":"The legal name of the company is mandatory.","attached-persons":"People attached to the company",saved:"Company saved."},"page-materials":{title:"Materials",help:"You can choose a park, a category or some tags to filter materials.","action-add":"New material","manage-attributes":"Manage special attributes","display-quantities-at-date":"Display quantities at date...","remaining-quantities-on-date":"Remaining quantities\n on {date}",add:"New material",edit:"Modify material « {pageSubTitle} »","edit-title":"Modify material","help-edit":"Give a short name, and use the description field to detail the material if needed.",view:"Details of material « {pageSubTitle} »","confirm-delete":"Move this material in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this material?","confirm-restore":"Do you really want to restore this material?",saved:"Material saved.","clear-filters":"Clear filters"},"page-materials-view":{documents:{"no-document":"No document yet.","drag-and-drop-files-here":"Drag and drop files here ↓ to add them.","choose-files":"Or click here to choose files to add","send-files":["Send file","Send {count} files"],"click-to-open":"Click to open / download file","confirm-permanently-delete":"Do you really want to permanently delete this document?",saved:"Documents saved.",deleted:"Document deleted."}},"page-attributes":{title:"Material special attributes",help:"Here you can add fields that allows you to describe your material according to your own criteria.\n Once created, a special attribute cannot be modified (except for its name).","go-back-to-material":"Back to material",name:"Name of the attribute",type:"Attribute type",unit:"Unit","max-length":"Max. length","type-string":"Text","type-integer":"Integer number","type-float":"Decimal number","type-boolean":"Boolean (Yes/No)","type-date":"Date","no-limit":"No limit","add-attributes":"Add attributes","no-attribute-yet":"No attribute yet.","add-btn":"Add an attribute","limited-to-categories":"Limited to categories","confirm-permanently-delete":"Do you really want to permanently delete this special attribute?\n\n WARNING: All data related to this special attribute will be deleted DEFINITIVELY!!","second-confirm":{"confirm-permanently-delete":"Sorry to insist, but this operation is IRREVERSIBLE.\n\n Do you REALLY want to remove this special attribute?"}},"page-categories":{title:"Categories",help:"Manage material's categories and sub-categories.","action-add":"New category","prompt-add":"New category","category-name":"Category name",create:"Create category","prompt-modify":"Add a sub-category","confirm-delete":"Move this category in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this category?","confirm-restore":"Do you really want to restore this category?",saved:"Category saved.",deleted:"Category deleted.","display-materials":"See the material of this category"},"page-subcategories":{add:"Do you really want to delete this category?","prompt-add":"New sub-category of « {categoryName} »","sub-category-name":"Sub-category name",create:"Create sub-category","prompt-modify":"Modify sub-category","confirm-delete":"Move this sub in trash bin-category?","confirm-permanently-delete":"Do you really want to permanently delete this sub-category?","confirm-restore":"Do you really want to restore this sub-category?",saved:"Sub-category saved.",deleted:"Sub-category deleted.","display-materials":"See the material of this sub-category"},"page-technicians":{title:"Technicians",help:"You can send an email to a technician by clicking on his/her address.","action-add":"New technician",add:"New technician",edit:"Modify technician « {pageSubTitle} »","edit-title":"Modify technician","help-edit":"Only first name and last name are mandatory.","confirm-delete":"Move this technician in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this technician?","confirm-restore":"Do you really want to restore this technician?",saved:"Technician saved."},"page-parks":{title:"Material parks",help:"You can click on the number of items in the park to display the list.","action-add":"New materials park",add:"New materials park",edit:"Modify park « {pageSubTitle} »","edit-title":"Modify park","help-edit":"Only the name of the park is mandatory.","confirm-delete":"Move this park in trash bin? This won't delete materials in this park.","confirm-permanently-delete":"Do you really want to permanently delete this park? WARNING: this will delete all materials of this park!!","confirm-restore":"Do you really want to restore this park?",saved:"Park saved.","total-items":"Totals","display-events-for-park":"See events"},"page-tags":{title:"Tags",help:"Non-modifiables tags are those used by the system.","no-item":"No tag yet.","no-item-in-trash":"No tag in trash bin.","action-add":"New tag","prompt-add":"New tag","tag-name":"Tag name",create:"Create tag",add:"New tag","prompt-modify":"Modify tag","confirm-delete":"Move this tag in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this tag?","confirm-restore":"Do you really want to restore this tag?",saved:"Tag saved.",deleted:"Tag deleted."}},H={errors:{"api-unreachable":"Sorry, but Robert2 API is unreachable... Please check your access to network.",default:"Error {code}: {reason}",validation:"Please check form informations.","already-exists":"This record already exists.","show-details":"Show error details","details-title":"Details of error","details-intro1":"You can copy and paste the following to get help from the community.","details-intro2":"Please copy it as is, because it's written in markdown to help reading on","details-intro-forum":"the forum","details-intro3":"or on","details-intro-not-detailed":"To get more details about the error, you can modify the parameter `displayErrorDetails` to 'true' in file 'src/App/Config/settings.json'.","details-request":"API request:","details-message":"Error message","details-file":"File:","details-stacktrace":"Stack trace:","file-type-not-allowed":"Type '{type}' not supported.","file-size-exceeded":"File too large. Maximum {max}.","file-already-exists":"This file already exists in the list."}},U=Object(g["a"])(Object(g["a"])(Object(g["a"])({},R),V),H),z={"hello-nick":"Bonjour {nick} !","your-profile":"Votre profil","your-settings":"Vos paramètres","logout-quit":"Quitter Robert","action-add":"Ajouter","action-edit":"Modifier","action-view":"Afficher en détail","action-trash":"Corbeille","action-restore":"Restaurer","action-delete":"Supprimer","action-enable":"Activer","action-disable":"Désactiver","action-refresh":"Rafraîchir les données",yes:"Oui",no:"Non","help-loading":"Chargement...","please-confirm":"Veuillez confirmer...","yes-delete":"Oui, mettre à la corbeille","yes-permanently-delete":"Oui, supprimer définitivement","yes-restore":"Oui, restaurer",cancel:"Annuler",close:"Fermer","copy-to-clipboard":"Copier dans le presse-papier","copied-in-clipboard":"Copié dans le presse-papier !","almost-done":"Presque terminé...","please-choose":"Veuillez choisir...","start-typing-to-search":"Commencez à écrire pour rechercher...","type-at-least-count-chars-to-search":["Entrez encore au moins {count} lettre pour rechercher...","Entrez encore au moins {count} lettres pour rechercher..."],"no-result-found-try-another-search":"Aucun résultat. Essayez avec une autre recherche.","create-select-item-label":"Créer un {label}","add-item":"Ajouter un {item}","remove-item":"Enlever ce {item}","cancel-add-item":"Annuler l'ajout de {item}","item-not-found":"{item} introuvable. Peut-être a-t-il été supprimé ?",locked:"verrouillé",save:"Sauvegarder",add:"Ajouter",saving:"Sauvegarde...",saved:"{entity} sauvegardé.","choose-date":"Choisir cette date","reset-date":"Réinitialiser la date",actions:"Actions",informations:"Informations","connexion-infos":"Informations de connexion","personnal-infos":"Informations personnelles","minimal-infos":"Informations minimales","extra-infos":"Informations supplémentaires","billing-infos":"Informations de facturation",documents:"Documents",billing:"Facturation","special-attributes":"Caractéristiques spéciales",pseudo:"Pseudo","email-address-or-pseudo":"Adresse e-mail ou Pseudo",password:"Mot de passe","first-name":"Prénom","last-name":"Nom",name:"Nom",nickname:"Surnom",company:"Société","legal-name":"Raison sociale",contact:"Contact","contact-details":"Coordonnées","other-infos":"Autres informations",email:"E-mail",phone:"Téléphone",address:"Adresse",street:"Rue et N°","postal-code":"Code postal",city:"Ville",locality:"Ville",country:"Pays",group:"Groupe",admin:"Administrateur",member:"Membre",visitor:"Visiteur","opening-hours":"Horaires d'ouverture",notes:"Notes",description:"Description",ref:"Réf.",reference:"Référence",park:"Parc",prices:"Tarifs","rental-price":"Tarif location","replacement-price":"Prix de remplacement","rent-price":"Tarif loc.","repl-price":"Val. rempl.","value-per-day":"{value} / jour","serial-number":"N° de série",quantity:"Qté stock",quantities:"Quantités","quantity-out-of-order":"Qté en panne","remaining-quantity":"Qté restante",discountable:"Remisable ?","material-is-discountable":"Le matériel est « remisable » : une remise peut être appliquée sur ce matériel.","hidden-on-bill":"Caché sur la facture ?","material-not-displayed-on-bill":"Le matériel n'est pas affiché sur les factures.","price-must-be-zero":"le tarif de location doit être égal à 0","all-parks":"Tous parcs confondus","all-categories":"Toutes catégories","all-sub-categories":"Toutes sous-catégories","not-limited":"non limité","open-trash-bin":"Afficher la corbeille","display-not-deleted-items":"Afficher les enregistrements non supprimés","created-at":"Créé le :","updated-at":"Modifié le :","event-details":"Détails de l'événement",title:"Titre","start-date":"Date de début","end-date":"Date de fin",location:"Lieu",duration:"Durée","duration-days":"Durée {duration} jours",confirmed:"Confirmé","not-confirmed":"Non confirmé","is-billable":"Est facturable ?","is-not-billable-help":"Mode « prêt » : pas de facturation.","is-billable-help":"Mode « location » : facturation possible.","event-not-billable":"Cet événement est défini comme « non facturable ».","enable-billable-event":"Activer la facturation pour cet événement",confirm:"Confirmer","set-back-on-hold":"Remettre en attente","set-event-confirmed":"Confirmer l'événement","set-back-event-pending":"Remettre l'événement en attente",print:"Imprimer","print-summary":"Imprimer ce récap",in:"À","open-in-openstreetmap":"Rechercher dans OpenStreetMap","on-date":"Le {date}","from-date-to-date":"du {from} au {to}",or:"ou",for:"Pour",with:"Avec","in-progress":"en cours","show-materials-details":"Afficher la liste détaillée du matériel","hide-materials-details":"Cacher la liste du matériel",bill:"Facture","no-bill-help":"Cet événement n'a aucune facture pour le moment.","missing-beneficiary":"Bénéficiaire manquant","not-billable-help":"Vous ne pouvez pas créer de facture pour un événement qui n'a pas encore de bénéficiaire.","click-edit-to-create-one":"Cliquez sur le bouton « Modifier » pour en ajouter un.","download-bill-help1":"Facture n° {number}, générée le {date}","download-bill-help2":"avec une remise de {discountRate} %","download-bill-help3":"pour un montant de {amount}","create-bill-help":"Vous pouvez créer une facture au nom du premier bénéficiaire de la liste, en utilisant une remise (taux ou montant) :","contact-someone-to-create-bill":"Si besoin, contactez un membre de l'équipe pour lui demander d'éditer la facture.",discount:"Remise","without-discount":"sans remise","wanted-rate":"Taux en %","wanted-amount":"Montant souhaité","create-bill":"Créer la facture","download-bill-pdf":"Télécharger au format PDF","regenerate-bill-help":"Vous pouvez re-générer la facture pour en changer la remise, ou si l'événement a été modifié.","click-here-to-regenerate":"Cliquez ici pour refaire une facture.",total:"Total","total-discountable":"Total remisable","items-count":["{count} article","{count} articles"],"stock-items-count":"{count} en stock","out-of-order-items-count":"{count} en panne","sub-total":"Sous-total","total-amount":"Montant total","total-amount-with-discount":"Total après remise","replacement-total":"Valeur de remplacement totale",day:"jour",days:"jours",ratio:"coef.","ratio-long":"Coefficient",tags:"Étiquettes","add-tags":"Ajouter des étiquettes","choose-tags-below":"Choisissez les étiquettes ci-dessous :","entity-name-tags":"Étiquettes de « {entityName} »","remove-all-tags":"Enlever tous les tags","remaining-count":"reste {count}",event:"Événement",user:"Utilisateur",beneficiary:"Bénéficiaire",material:"Matériel",category:"Catégorie","sub-category":"Sous-catégorie",categories:"Catégories",technician:"Technicien","this-feature-is-coming-soon":"Cette fonctionnalité est en cours de développement.",french:"Français",english:"English"},Q={"page-login":{title:"Connexion",welcome:"Bonjour ! Qui êtes vous ?",connexion:"Connexion","please-wait":"Authentification, merci de patienter...",bye:"À bientôt !",footer:"Robert2 est un logiciel libre. Vous pouvez le copier et le redistribuer librement, sauf pour une utilisation commerciale.","official-website":"Site web officiel","community-forum":"Forum de la communauté",error:{"bad-infos":"Les informations fournies sont incorrectes. Utilisez votre adresse e-mail ou votre pseudo, et votre mot de passe.","expired-session":"Votre session a expiré. Merci de vous reconnecter !","not-allowed":"Vous avez essayé d'accéder à une page dont l'accès vous est interdit. Merci de vous connecter avec un compte qui y a accès."}},"page-profile":{title:"Votre profil",help:"Si vous modifiez votre email, votre pseudo ou votre mot de passe, ne les oubliez pas avant de vous déconnecter !","you-are-group":"Vous êtes : {group}.","edit-password":"Modifier votre mot de passe","password-confirmation":"Confirmation du mot passe","password-confirmation-must-match":"Le mot de passe et sa confirmation doivent être identiques.","password-modified":"Votre mot de passe a bien été modifié.",saved:"Votre profil a bien été sauvegardé."},"page-settings":{title:"Vos paramètres",help:"La « durée d'une session » est le temps imparti avant votre déconnexion automatique de l'application.","auth-token-validity-duration":"Durée max. d'une session",interface:"Interface",language:"Langue",hours:"heures",saved:"Paramètres sauvegardés."},"page-calendar":{title:"Calendrier",help:"Cliquez-glissez pour déplacer la frise temporelle.\n Utilisez la molette pour zoomer / dézoomer.\n Double-cliquez sur une colonne vide pour créer un événement avec la date de départ pré-remplie.","help-center-view-on-today":"Centrer le calendrier sur aujourd'hui","help-add-event":"Créer un nouvel événement","add-event":"Nouvel événement","confirm-delete":"Mettre cet événement à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cet événement ?","confirm-restore":"Voulez-vous vraiment restaurer cet événement ?","event-deleted":"L'événement a bien été supprimé.","event-saved":"L'événement a bien été sauvegardé.","loading-event":"Chargement de l'événement...","help-timeline-event-operations":"Cliquez une fois pour sélectionner l'événement, afin de le déplacer, le redimensionner ou le supprimer.\n Double-cliquez sur l'événement pour en ouvrir l'aperçu, et en modifier les détails.","center-on-today":"Centrer sur aujourd'hui","center-on":"Centrer sur le","this-event-is-past":"Cet événement est passé.","this-event-is-currently-running":"Cet événement se déroule en ce moment.","this-event-is-confirmed":"Cet événement est confirmé.","this-event-is-locked-past-confirmed":"Cet événement est verrouillé car il est confirmé, et déjà passé.","this-event-has-missing-materials":"Cet événement a du matériel manquant.","all-events":"Tous les événements","event-with-missing-material-only":"Événements en manque de matériel uniquement ?","display-all-parks":"Tous les parcs"},"page-events":{"help-edit":"","back-to-calendar":"Retour au calendrier",add:"Nouvel événement",edit:"Modifier l'événement « {pageSubTitle} »","edit-event":"Modifier l'événement","save-and-back-to-calendar":"Sauvegarder et retour au calendrier","save-and-continue":"Sauvegarder et continuer",step:"Étape","event-informations":"Informations","event-beneficiaries":"Bénéficiaires","event-technicians":"Techniciens","event-materials":"Matériel","event-summary":"Récapitulatif","event-confirmation":"Confirmation",saved:"Événement sauvegardé.","not-saved":"L'événement comporte des modifications non sauvegardées","display-only-selected-materials":"Afficher uniquement le matériel de l'événement ?","display-all-materials-to-add-some":"Afficher tout le matériel pour en ajouter","display-only-event-materials":"Afficher uniquement le matériel de l'événement","event-not-confirmed-help":"L'événement n'est pas encore confirmé, il est susceptible de changer à tout moment.","event-confirmed-help":"L'événement est confirmé : Ses informations ne devraient plus changer.","event-missing-materials":"Matériel manquant","event-missing-materials-help":"Il s'agit du matériel manquant pour la période de l'événement, car il est utilisé dans un autre événement, le nombre voulu est trop important, ou quelques uns sont en panne. Ce matériel doit donc être ajouté au parc, ou bien loué auprès d'une autre société.","warning-no-material":"Attention, cet événement est vide, il ne contient aucun matériel pour le moment !","warning-no-beneficiary":"Attention, cet événement n'a aucun bénéficiaire !","missing-material-count":"Besoin de {quantity}, il en manque {missing} !","beneficiary-billing-help":"Seul le premier bénéficiaire de la liste apparaîtra sur la facture."},"page-users":{title:"Utilisateurs",help:"Vous pouvez envoyer un email à un utilisateur en cliquant sur son adresse.","help-edit":"- Le groupe « Administrateur » donne tous les droits à l'utilisateur.\n - Le groupe « Membre » permet à l'utilisateur d'utiliser la plupart des fonctions de Robert.\n - Le groupe « Visiteur » donne un accès limité à certaines données.","action-add":"Nouvel utilisateur",add:"Nouvel utilisateur",edit:"Modifier l'utilisateur « {pageSubTitle} »","edit-title":"Modifier l'utilisateur","confirm-delete":"Mettre cet utilisateur à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cet utilisateur ?","confirm-restore":"Voulez-vous vraiment restaurer cet utilisateur ?",saved:"Utilisateur sauvegardé.","profile-missing-or-deleted":"Profil manquant ou supprimé"},"page-beneficiaries":{title:"Bénéficiaires",help:"Vous pouvez envoyer un email à un bénéficiaire en cliquant sur son adresse.","action-add":"Nouveau bénéficiaire",add:"Nouveau bénéficiaire",edit:"Modifier le bénéficiaire « {pageSubTitle} »","edit-title":"Modifier le bénéficiaire","beneficiary-type":"Type de bénéficiaire",person:"Personne physique (individu)",company:"Personne morale (entreprise)","help-edit":"Seuls le nom et le prénom de la personne sont obligatoires.","confirm-delete":"Mettre ce bénéficiaire à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce bénéficiaire ?","confirm-restore":"Voulez-vous vraiment restaurer ce bénéficiaire ?",saved:"Bénéficiaire sauvegardé."},"page-companies":{title:"Sociétés",add:"Nouvelle société",edit:"Modifier la société « {pageSubTitle} »","edit-title":"Modifier la société","edit-btn":"Modifier la société","create-new":"Ajouter une nouvelle société","help-edit":"La raison sociale (nom de la société) est obligatoire.","attached-persons":"Personnes associées à la société",saved:"Société sauvegardée."},"page-materials":{title:"Matériel",help:"Vous pouvez choisir un parc, une catégorie ou des étiquettes pour filtrer le matériel.","action-add":"Nouveau matériel","manage-attributes":"Gérer les caractéristiques spéciales","display-quantities-at-date":"Afficher les quantités à date...","remaining-quantities-on-date":"Quantités restantes\n le {date}",add:"Nouveau matériel",edit:"Modifier le matériel « {pageSubTitle} »","edit-title":"Modifier le matériel","help-edit":"Trouvez un nom assez court, et utilisez plutôt la description pour détailler le matériel si besoin.",view:"Détails du matériel « {pageSubTitle} »","confirm-delete":"Mettre ce matériel à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce matériel ?","confirm-restore":"Voulez-vous vraiment restaurer ce matériel ?",saved:"Matériel sauvegardé.","clear-filters":"Réinitialiser les filtres"},"page-materials-view":{title:"Détails du matériel",documents:{"no-document":"Aucun document pour le moment.","drag-and-drop-files-here":"Glissez-déposez des fichiers ici ↓ pour les ajouter.","choose-files":"Ou cliquez ici pour choisir des fichiers à ajouter","send-files":["Envoyer le fichier","Envoyer {count} fichiers"],"click-to-open":"Cliquez pour ouvrir / télécharger le fichier","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce document ?",saved:"Documents sauvegardés.",deleted:"Document supprimé."}},"page-attributes":{title:"Caractéristiques spéciales du matériel",help:"Ici vous pouvez ajouter les champs qui permettent de décrire votre matériel selon vos propres critères.\n Une fois créée, une caractéristique spéciale ne pourra plus être modifiée (sauf son nom).","go-back-to-material":"Retourner au matériel",name:"Nom de la caractéristique",type:"Type de donnée",unit:"Unité","max-length":"Taille max.","type-string":"Texte","type-integer":"Nombre entier","type-float":"Nombre décimal","type-boolean":"Booléen (Oui / Non)","type-date":"Date","no-limit":"Sans limite","add-attributes":"Ajouter des caractéristiques","no-attribute-yet":"Aucune caractéristique spéciale pour le moment.","add-btn":"Ajouter une caractéristique","limited-to-categories":"Limitée aux catégories","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette caractéristique spéciale ?\n\n ATTENTION : Toutes les données relative à cette caractéristique spéciale seront supprimées DÉFINITIVEMENT !!","second-confirm":{"confirm-permanently-delete":"Désolé d'insister, mais cette opération IRRÉVERSIBLE.\n\n Voulez-vous VRAIMENT supprimer cette caractéristique spéciale ?"}},"page-categories":{title:"Catégories",help:"Gestion des catégories et sous-catégories de matériel.","action-add":"Nouvelle catégorie","prompt-add":"Nouvelle catégorie","category-name":"Nom de la catégorie",create:"Créer la catégorie","prompt-modify":"Modifier la catégorie","confirm-delete":"Mettre cette catégorie à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette catégorie ?","confirm-restore":"Voulez-vous vraiment restaurer cette catégorie ?",saved:"Catégorie sauvegardée.",deleted:"Catégorie supprimée.","display-materials":"Voir le matériel de la catégorie"},"page-subcategories":{add:"Ajouter une sous-catégorie","prompt-add":"Nouvelle sous-catégorie de « {categoryName} »","sub-category-name":"Nom de la sous-catégorie",create:"Créer la sous-catégorie","prompt-modify":"Modifier la sous-catégorie","confirm-delete":"Mettre cette sous-catégorie à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette sous-catégorie ?","confirm-restore":"Voulez-vous vraiment restaurer cette sous-catégorie ?",saved:"Sous-catégorie sauvegardée.",deleted:"Sous-catégorie supprimée.","display-materials":"Voir le matériel de la sous-catégorie"},"page-technicians":{title:"Techniciens",help:"Vous pouvez envoyer un email à un technicien en cliquant sur son adresse.","action-add":"Nouveau technicien",add:"Nouveau technicien",edit:"Modifier le technicien « {pageSubTitle} »","edit-title":"Modifier le technicien","help-edit":"Seuls le nom et le prénom de la personne sont obligatoires.","confirm-delete":"Mettre ce technicien à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce technicien ?","confirm-restore":"Voulez-vous vraiment restaurer ce technicien ?",saved:"Technicien sauvegardé."},"page-parks":{title:"Parcs de matériel",help:"Vous pouvez cliquer sur le nombre d'articles que contient le parc pour en afficher la liste.","action-add":"Nouveau parc de matériel",add:"Nouveau parc de matériel",edit:"Modifier le parc « {pageSubTitle} »","edit-title":"Modifier le parc","help-edit":"Seul le nom du parc est obligatoire.","confirm-delete":"Mettre ce parc à la corbeille ? Cela ne supprimera pas le matériel qu'il contient.","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce parc ? ATTENTION, cela supprimera tout le matériel contenu dans ce parc !!","confirm-restore":"Voulez-vous vraiment restaurer ce parc ?",saved:"Parc sauvegardé.","total-items":"Totaux","display-events-for-park":"Voir les événements"},"page-tags":{title:"Étiquettes",help:"Les étiquettes non modifiables sont celles utilisées par le système.","no-item":"Aucune étiquette.","no-item-in-trash":"Aucune étiquette dans la corbeille.","action-add":"Nouvelle étiquette","prompt-add":"Nouvelle étiquette","tag-name":"Nom de l'étiquette",create:"Créer l'étiquette",add:"Nouvelle étiquette","prompt-modify":"Modifier l'étiquette","confirm-delete":"Mettre cette étiquette à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette étiquette ?","confirm-restore":"Voulez-vous vraiment restaurer cette étiquette ?",saved:"Étiquette sauvegardée.",deleted:"Étiquette supprimée."}},Y={errors:{"api-unreachable":"Désolé, mais l'API de Robert2 est inaccessible... Veuillez vérifier votre accès au réseau.",default:"Erreur {code} : {reason}",validation:"Veuillez vérifier les informations du formulaire.","already-exists":"Cet enregistrement existe déjà.","show-details":"Voir le détail de l'erreur","details-title":"Détails de l'erreur","details-intro1":"Vous pouvez copier ce qui suit, pour obtenir de l'aide de la part de la communauté.","details-intro2":"Merci de le copier tel quel, car c'est écrit en markdown pour faciliter la lecture sur","details-intro-forum":"le forum","details-intro3":"ou sur","details-intro-not-detailed":"Pour obtenir plus de détails sur l'erreur, vous pouvez modifier le paramètre `displayErrorDetails` à 'true' dans le fichier 'src/App/Config/settings.json'.","details-request":"Requête API :","details-message":"Message de l'erreur","details-file":"Fichier :","details-stacktrace":"Trace de la pile :","file-type-not-allowed":"Le type '{type}' n'est pas pris en charge.","file-size-exceeded":"Fichier trop gros. Maximum {max}.","file-already-exists":"Ce fichier est déjà présent dans la liste."}},G=Object(g["a"])(Object(g["a"])(Object(g["a"])({},z),Q),Y),W={en:U,fr:G},K={count:"Enregistrements {from} à {to} sur {count}|{count} enregistrements|Un enregistrement",first:"Première",last:"Dernière",filter:"Filtre :",filterPlaceholder:"Rechercher un nom...",limit:"Enregistrements :",page:"Page :",noResults:"Aucun enregistrement trouvé.",filterBy:"Filtrer par {column}",loading:"Chargement...",defaultOption:"Sélection {column}",columns:"Col."},J={count:"Showing {from} to {to} of {count} records|{count} records|One record",first:"First",last:"Last",filter:"Filter:",filterPlaceholder:"Search a name...",limit:"Records:",page:"Page:",noResults:"No matching records",filterBy:"Filter by {column}",loading:"Loading...",defaultOption:"Select {column}",columns:"Col."},Z={fr:K,en:J},X=(a("99af"),a("13d5"),a("8c4f")),ee="Robert2",te="YYYY-MM-DD HH:mm:ss",ae="YYYY-MM-DD",se=500,ie=["application/pdf","application/zip","application/x-rar-compressed","image/jpeg","image/png","image/webp","text/plain","application/vnd.oasis.opendocument.spreadsheet","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.oasis.opendocument.text","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],ne=10485760,re=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Layout",[a("div",{staticClass:"Login"},[a("div",{staticClass:"Login__message",class:"Login__message--"+e.message.type},[e.message.isLoading?a("i",{staticClass:"fa fa-circle-o-notch fa-spin"}):e._e(),e._v(" "+e._s(e.message.text)+" ")]),a("div",{staticClass:"Login__body"},[a("form",{staticClass:"Login__form",on:{submit:function(t){return t.preventDefault(),e.login(t)}}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credentials.identifier,expression:"credentials.identifier"}],staticClass:"Login__form__input",attrs:{type:"text",placeholder:e.$t("email-address-or-pseudo")},domProps:{value:e.credentials.identifier},on:{input:function(t){t.target.composing||e.$set(e.credentials,"identifier",t.target.value)}}}),a("input",{directives:[{name:"model",rawName:"v-model",value:e.credentials.password,expression:"credentials.password"}],staticClass:"Login__form__input",attrs:{type:"password",placeholder:e.$t("password")},domProps:{value:e.credentials.password},on:{input:function(t){t.target.composing||e.$set(e.credentials,"password",t.target.value)}}}),a("button",{staticClass:"Login__form__submit info",attrs:{type:"submit"}},[a("i",{staticClass:"fa fa-user-alt"}),e._v(" "+e._s(e.$t("page-login.connexion"))+" ")])])])])])},oe=[],le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"LoginLayout"},[a("div",{staticClass:"LoginLayout__logo"},[a("Logo")],1),a("div",{staticClass:"LoginLayout__body"},[e._t("default")],2),a("div",{staticClass:"LoginLayout__footer"},[e._v(" "+e._s(e.$t("page-login.footer"))),a("br"),e._v(" | "),a("a",{attrs:{href:"http://robertmanager.org",target:"_blank"}},[e._v(e._s(e.$t("page-login.official-website")))]),e._v(" | "),a("a",{attrs:{href:"http://forum.robertmanager.org",target:"_blank"}},[e._v(e._s(e.$t("page-login.community-forum")))]),e._v(" | "),a("a",{attrs:{href:"https://github.com/robert-2/Robert2",target:"_blank"}},[e._v("Github project")]),e._v(" | v"+e._s(e.apiVersion)+" ")])])},ce=[],ue=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("img",{attrs:{src:e.src,alt:"Robert²"}})},de=[],me=a("bf6b"),pe=a.n(me),fe=a("4179"),_e=a.n(fe),he={name:"Logo",props:{minimalist:Boolean},computed:{src:function(){return this.minimalist?pe.a:_e.a}}},ve=he,ge=a("2877"),be=Object(ge["a"])(ve,ue,de,!1,null,null,null),ye=be.exports,Ce={name:"LoginLayout",components:{Logo:ye},data:function(){return{apiVersion:v.api.version}}},we=Ce,ke=(a("b5ed"),Object(ge["a"])(we,le,ce,!1,null,null,null)),$e=ke.exports,Ee={name:"Login",components:{Layout:$e},data:function(){var e="default",t=this.$t("page-login.welcome"),a=this.$route.hash;switch(a){case"#bye":e="success",t=this.$t("page-login.bye");break;case"#expired":e="error",t=this.$t("page-login.error.expired-session");break;case"#restricted":e="error",t=this.$t("page-login.error.not-allowed");break;default:break}return{message:{type:e,text:t,isLoading:!1},credentials:{identifier:"",password:""}}},methods:{login:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n,r,o,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.message={type:"default",text:e.$t("page-login.please-wait"),isLoading:!0},t.prev=1,t.next=4,e.$store.dispatch("auth/login",Object(g["a"])({},e.credentials));case 4:a=window.localStorage.getItem("lastVisited"),s=a&&"/login"!==a?a:"/",e.$router.replace(s||"/"),t.next=18;break;case 9:if(t.prev=9,t.t0=t["catch"](1),t.t0.response){t.next=14;break}return e.errorMessage({code:0,message:"network error"}),t.abrupt("return");case 14:i=t.t0.response,n=i.status,r=i.data,o=404!==n||r.error?404:0,l=r.error?r.error.message:"network error",e.errorMessage({code:o,message:l});case 18:case"end":return t.stop()}}),t,null,[[1,9]])})))()},errorMessage:function(e){var t=this.$t("errors.api-unreachable");404===e.code&&(t=this.$t("page-login.error.bad-infos")),this.message={type:"error",text:t,isLoading:!1}}}},De=Ee,Me=(a("4b04"),Object(ge["a"])(De,re,oe,!1,null,null,null)),Te=Me.exports,Se=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view UserProfile",class:{"UserProfile--password-edit":e.isPasswordEdit}},[a("h3",{staticClass:"UserProfile__title"},[e._v(" "+e._s(e.$t("page-profile.you-are-group",{group:e.$t(e.groupId)}))+" ")]),a("div",{staticClass:"UserProfile__content"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("connexion-infos"))+" ")]),a("FormField",{attrs:{name:"pseudo",label:"pseudo",required:"",errors:e.errors.pseudo},model:{value:e.user.pseudo,callback:function(t){e.$set(e.user,"pseudo",t)},expression:"user.pseudo"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",required:"",errors:e.errors.email},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),e.isPasswordEdit?e._e():a("a",{staticClass:"UserProfile__password-edit-toggle",attrs:{role:"button"},on:{click:e.togglePasswordEdit}},[e._v(" "+e._s(e.$t("page-profile.edit-password"))+" ")]),a("section",{staticClass:"Form__fieldset UserProfile__section-password"},[a("h4",{staticClass:"Form__fieldset__title"},[a("a",{staticClass:"UserProfile__password-edit-cancel",attrs:{role:"button"},on:{click:e.togglePasswordEdit}},[e._v(" "+e._s(e.$t("cancel"))+" ")]),e._v(" "+e._s(e.$t("page-profile.edit-password"))+" ")]),a("FormField",{attrs:{name:"password",label:"password",type:"password",errors:e.errors.password},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}}),a("FormField",{attrs:{name:"passwordConfirmation",label:"page-profile.password-confirmation",type:"password"},model:{value:e.user.password_confirmation,callback:function(t){e.$set(e.user,"password_confirmation",t)},expression:"user.password_confirmation"}})],1),a("section",{staticClass:"Form__fieldset UserProfile__section-infos"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",errors:e.errors.first_name},model:{value:e.user.person.first_name,callback:function(t){e.$set(e.user.person,"first_name",t)},expression:"user.person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",errors:e.errors.last_name},model:{value:e.user.person.last_name,callback:function(t){e.$set(e.user.person,"last_name",t)},expression:"user.person.last_name"}}),a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.user.person.nickname,callback:function(t){e.$set(e.user.person,"nickname",t)},expression:"user.person.nickname"}}),a("FormField",{attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.user.person.phone,callback:function(t){e.$set(e.user.person,"phone",t)},expression:"user.person.phone"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.user.person.street,callback:function(t){e.$set(e.user.person,"street",t)},expression:"user.person.street"}}),a("FormField",{staticClass:"UserProfile__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.user.person.postal_code,callback:function(t){e.$set(e.user.person,"postal_code",t)},expression:"user.person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.user.person.locality,callback:function(t){e.$set(e.user.person,"locality",t)},expression:"user.person.locality"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("div",{staticClass:"UserProfile__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),a("div",{staticClass:"UserProfile__extras__buttons"},[a("router-link",{attrs:{to:"/settings",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-cogs"}),e._v(" "+e._s(e.$t("your-settings"))+" ")])]}}])})],1)],1)])])])},Fe=[],xe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Help",class:"Help--"+e.modifier},[e.isLoading?a("div",{staticClass:"Help__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e(),!e.isLoading&&e.error?a("div",{staticClass:"Help__error"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.errorData.message)+" "),500===e.errorData.code?a("p",[a("a",{staticClass:"Help__error-details-button",on:{click:e.displayErrorDetails}},[a("i",{staticClass:"fas fa-external-link-alt"}),e._v(" "+e._s(e.$t("errors.show-details"))+" ")])]):e._e()]):e._e(),!e.$t(e.messageText)||e.error||e.isLoading?e._e():a("div",{staticClass:"Help__message"},[e._v(" "+e._s(e.$t(e.messageText))+" ")])])},Le=[],Oe={width:900,height:"auto",minHeight:300,adaptive:!0,draggable:!1,name:"defaultModal"},je=Oe,qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ErrorDetails"},[a("div",{staticClass:"ErrorDetails__header"},[a("h2",{staticClass:"ErrorDetails__title"},[e._v(" "+e._s(e.$t("errors.details-title"))+" ")]),a("button",{staticClass:"ErrorDetails__btn-close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])]),a("div",{staticClass:"ErrorDetails__main"},[a("p",[e._v(" "+e._s(e.$t("errors.details-intro1"))+" "+e._s(e.$t("errors.details-intro2"))+" "),a("a",{attrs:{href:"https://forum.robertmanager.org",target:"_blank"}},[e._v(" "+e._s(e.$t("errors.details-intro-forum"))+" ")]),e._v(" "+e._s(e.$t("errors.details-intro3"))+" "),a("a",{attrs:{href:"https://github.com/Robert-2/Robert2/issues",target:"_blank"}},[e._v("Github")]),e._v(". ")]),e.data.requested?e._e():a("p",{staticClass:"ErrorDetails__no-details-info"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("errors.details-intro-not-detailed"))+" ")]),a("hr"),a("div",{ref:"errorContent",staticClass:"ErrorDetails__content"},[e.data.requested?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-request"))+" ")]),a("p",{staticClass:"ErrorDetails__request"},[e._v(" `"+e._s(e.data.requested)+"` ")])]):e._e(),a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-message"))+" ("),a("span",{staticClass:"ErrorDetails__code"},[e._v(e._s(e.data.code))]),e._v(") : ")]),a("p",{staticClass:"ErrorDetails__message"},[e._v(" `"+e._s(e.data.message)+"` ")]),e.file.length>0?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-file"))+" ")]),a("p",{staticClass:"ErrorDetails__file"},[e._v(" `"+e._s(e.file)+"` ")])]):e._e(),e.trace.length>0?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-stacktrace"))+" ")]),a("div",{staticClass:"ErrorDetails__trace"},[e._v(" >! Details"),a("br"),e._v(" ```log"),a("br"),e._l(e.trace,(function(t,s){return a("div",{key:s,staticClass:"ErrorDetails__traceItem"},[a("span",{staticClass:"ErrorDetails__traceItem__index"},[e._v("- "+e._s(s)+": ")]),a("span",{staticClass:"ErrorDetails__traceItem__info"},[t.class?a("span",[e._v(e._s(t.class)+"::")]):e._e(),e._v(e._s(t.function)+" "),a("br")]),t.file?a("span",{staticClass:"ErrorDetails__traceItem__info"},[e._v(" File: "+e._s(t.file)+", line "+e._s(t.line)+" ")]):e._e()])})),e._v(" ``` ")],2)]):e._e()]),a("hr"),a("div",{staticClass:"ErrorDetails__footer"},[e.isCopied?a("p",{staticClass:"ErrorDetails__is-copied"},[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("copied-in-clipboard"))+" ")]):e._e(),a("button",{staticClass:"info",on:{click:e.copyErrorContent}},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.$t("copy-to-clipboard"))+" ")]),a("button",{on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.$t("close"))+" ")])])])])},Ae=[],Ne=(a("1276"),function(e){if(!e)return"";var t=e.split("/src/");return t.length>0?"src/".concat(t[1]):e}),Ie={name:"ErrorDetails",props:["data"],data:function(){return{isCopied:!1}},computed:{file:function(){return Ne(this.data.file)},trace:function(){return this.data.stackTrace?this.data.stackTrace.map((function(e){var t=e.file;return Object(g["a"])(Object(g["a"])({},e),{},{file:Ne(t)})})):[]}},methods:{copyErrorContent:function(){var e=document.createRange();e.selectNode(this.$refs.errorContent),window.getSelection().removeAllRanges(),window.getSelection().addRange(e),document.execCommand("copy"),this.isCopied=!0,window.getSelection().removeAllRanges()}}},Pe=Ie,Be=(a("8633"),Object(ge["a"])(Pe,qe,Ae,!1,null,null,null)),Re=Be.exports,Ve={name:"Help",props:{message:{required:!0,default:""},error:{type:Error,default:null},isLoading:{type:Boolean,default:!1}},data:function(){return{errorDetailsModalOpened:!1}},computed:{modifier:function(){return this.isLoading?"info":this.error?"error":this.message.type?this.message.type:"info"},messageText:function(){return this.message.text?this.message.text:this.message},networkError:function(){var e,t,a,s;return{code:(null===(e=this.error)||void 0===e||null===(t=e.response)||void 0===t?void 0:t.status)||0,text:(null===(a=this.error)||void 0===a||null===(s=a.response)||void 0===s?void 0:s.statusText)||this.$t("errors.api-unreachable")}},errorData:function(){var e,t;if(null===(e=this.error)||void 0===e||!e.response)return{code:"",message:this.$t("errors.api-unreachable")};var a=this.error.response,s=a.status;if(400===s){var i,n=(null===(i=a.data)||void 0===i?void 0:i.error)||{details:{}},r=n.details;return{code:"",message:this.$t("errors.validation"),details:r}}if(409===s)return{code:"",message:this.$t("errors.already-exists")};var o={requested:"",code:500,message:"Unknown error",file:"",stackTrace:[]};return(null===(t=a.data)||void 0===t?void 0:t.error)||o}},methods:{displayErrorDetails:function(){var e=this;this.errorDetailsModalOpened||(this.errorDetailsModalOpened=!0,this.$modal.show(Re,{data:this.errorData},je,{"before-close":function(){e.errorDetailsModalOpened=!1}}))}}},He=Ve,Ue=(a("ef5b"),Object(ge["a"])(He,xe,Le,!1,null,null,null)),ze=Ue.exports,Qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"FormField",class:e.addon?"FormField--with-addon":""},[e.label?a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "),e.required?a("span",{staticClass:"FormField__label__required"},[e._v("*")]):e._e()]):e._e(),["text","email","tel","password","number"].includes(e.type)?a("div",{staticClass:"FormField__input-wrapper"},[a("input",{staticClass:"FormField__input",attrs:{type:e.type,step:"number"===e.type?e.step||.01:null,min:"number"===e.type&&e.min||null,max:"number"===e.type&&e.max||null,name:e.name,autocomplete:"password"===e.type?"new-password":"off",disabled:e.disabled,placeholder:e.$t(e.placeholder)},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},change:function(t){return e.$emit("change",t.target.value)}}}),e.addon?a("div",{staticClass:"FormField__addon"},[e._v(" "+e._s(e.addon)+" ")]):e._e()]):e._e(),"select"===e.type?a("select",{key:e.renderKey,attrs:{name:e.name,disabled:e.disabled},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},change:function(t){return e.$emit("change",t.target.value)}}},e._l(e.options,(function(t){return a("option",{key:t.value,domProps:{value:t.value}},[e._v(" "+e._s(e.$t(t.label))+" ")])})),0):e._e(),"textarea"===e.type?a("textarea",{staticClass:"FormField__textarea",attrs:{name:e.name,disabled:e.disabled,placeholder:e.$t(e.placeholder)},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}}):e._e(),e._v(" "),"date"===e.type?a("Datepicker",{staticClass:"FormField__datepicker",attrs:{value:e.value,language:e.datepickerLang,format:e.datepickerOptions.format,"disabled-dates":e.datepickerOptions.disabled,placeholder:e.$t(e.placeholder),"input-class":"FormField__datepicker__input","monday-first":""},on:{input:e.handleDatepickerChange}}):e._e(),"switch"===e.type?a("div",{staticClass:"FormField__switch"},[a("SwitchToggle",{attrs:{value:e.value,locked:e.disabled,lockedReason:e.disabledReason},on:{input:e.handleSwitchChange}})],1):e._e(),e.errors?a("div",{staticClass:"FormField__error"},[a("span",{staticClass:"FormField__error__text"},[e._v(e._s(e.errors[0]))])]):e._e()],1)},Ye=[],Ge=(a("a9e3"),a("fa33")),We=a("ee9b"),Ke=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SwitchToggle",class:e.classnames,on:{click:e.handleSwitch}},[e._m(0),a("div",{staticClass:"SwitchToggle__label"},[e.value?a("span",[e._v(e._s(e.$t("yes")))]):e._e(),e.value?e._e():a("span",[e._v(e._s(e.$t("no")))]),e.locked&&e.lockedReason?a("span",{staticClass:"SwitchToggle__label__locked"},[e._v(" ("+e._s(e.$t("locked"))+": "+e._s(e.lockedReason)+") ")]):e._e()])])},Je=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SwitchToggle__slide"},[a("div",{staticClass:"SwitchToggle__button"})])}],Ze={name:"SwitchToggle",props:{value:Boolean,locked:Boolean,lockedReason:String},computed:{classnames:function(){return{"SwitchToggle--enabled":this.value,"SwitchToggle--locked":this.locked}}},methods:{handleSwitch:function(){this.locked||this.$emit("input",!this.value)}}},Xe=Ze,et=(a("5ffb"),Object(ge["a"])(Xe,Ke,Je,!1,null,null,null)),tt=et.exports,at=["text","email","password","number","tel","select","textarea","date","switch"],st={name:"FormField",components:{Datepicker:Ge["a"],SwitchToggle:tt},props:{label:String,name:String,type:{validator:function(e){return at.includes(e)},default:"text"},required:Boolean,disabled:Boolean,disabledReason:String,placeholder:String,value:[String,Number,Date,Boolean],step:Number,min:Number,max:Number,addon:String,options:Array,errors:Array,datepickerOptions:Object},data:function(){return{datepickerLang:We[B.state.i18n.locale],renderKey:1}},watch:{options:function(){this.renderKey+=1}},methods:{handleDatepickerChange:function(e){this.$emit("input",e);var t=r()(e).format("YYYY-MM-DD");this.$emit("change",{field:this.name,newValue:t,newDate:e})},handleSwitchChange:function(e){this.$emit("input",e),this.$emit("change",{field:this.name,newValue:e})}}},it=st,nt=(a("f62a"),Object(ge["a"])(it,Qe,Ye,!1,null,null,null)),rt=nt.exports,ot={name:"UserProfile",components:{Help:ze,FormField:rt},data:function(){var e=this.$store.state.auth.user;return{help:"page-profile.help",error:null,isLoading:!1,isPasswordEdit:!1,user:{id:e.id,pseudo:e.pseudo,email:e.email,password:"",password_confirmation:"",group_id:e.groupId,person:{first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}},errors:{pseudo:null,email:null,password:null,group_id:null,person:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null}}}},computed:{groupId:function(){return this.$store.state.auth.user.groupId}},mounted:function(){this.fetch()},methods:{fetch:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.resetHelpLoading(),t.prev=3,t.next=6,e.$http.get("".concat(s,"/").concat(a));case 6:i=t.sent,n=i.data,e.setUserData(n),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),e.displayError(t.t0);case 14:return t.prev=14,e.isLoading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[3,11,14,17]])})))()},save:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n,r,o,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.user,s=a.id,i=a.password,s){t.next=3;break}return t.abrupt("return");case 3:if(n=Object(g["a"])({},e.user),!i){t.next=12;break}if(i===e.user.password_confirmation){t.next=9;break}return e.errors.password=[e.$t("page-profile.password-confirmation-must-match")],e.displayError(e.$t("errors.validation")),t.abrupt("return");case 9:e.errors.password=null,delete n.password_confirmation,delete n.person;case 12:return r=e.$route.meta.resource,e.resetHelpLoading(),t.prev=14,t.next=17,e.$http.put("".concat(r,"/").concat(s),n);case 17:o=t.sent,l=o.data,c=e.isPasswordEdit?"page-profile.password-modified":"page-profile.saved",e.help={type:"success",text:c},e.isPasswordEdit=!1,e.setUserData(l),e.$store.commit("auth/setUserProfile",l),t.next=29;break;case 26:t.prev=26,t.t0=t["catch"](14),e.displayError(t.t0);case 29:return t.prev=29,e.isLoading=!1,t.finish(29);case 32:case"end":return t.stop()}}),t,null,[[14,26,29,32]])})))()},resetHelpLoading:function(){this.help="page-profile.help",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-profile.help",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setUserData:function(e){var t=e.person;t||(t={first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}),this.user=Object(g["a"])(Object(g["a"])({},e),{},{person:t})},togglePasswordEdit:function(e){e.preventDefault(),this.isPasswordEdit=!this.isPasswordEdit,this.isPasswordEdit||(this.user.password="",this.user.password_confirmation="")}}},lt=ot,ct=(a("52dc"),Object(ge["a"])(lt,Se,Fe,!1,null,null,null)),ut=ct.exports,dt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view UserSettings"},[a("h3",{staticClass:"UserSettings__title"},[e._v(" "+e._s(e.$t("page-settings.interface"))+" ")]),a("div",{staticClass:"UserSettings__content"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("section",{staticClass:"Form__fieldset"},[a("FormField",{attrs:{name:"language",label:"page-settings.language",type:"select",options:e.langsOptions,errors:e.errors.language},model:{value:e.settings.language,callback:function(t){e.$set(e.settings,"language",t)},expression:"settings.language"}}),a("FormField",{staticClass:"UserSettings__hours",attrs:{name:"auth_token_validity_duration",label:"page-settings.auth-token-validity-duration",type:"number",addon:e.$t("hours"),errors:e.errors.auth_token_validity_duration},model:{value:e.settings.auth_token_validity_duration,callback:function(t){e.$set(e.settings,"auth_token_validity_duration",t)},expression:"settings.auth_token_validity_duration"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("div",{staticClass:"UserSettings__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),a("div",{staticClass:"UserSettings__extras__buttons"},[a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-user-alt"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}])})],1)],1)])])])},mt=[],pt={name:"UserSettings",components:{Help:ze,FormField:rt},data:function(){return{help:"page-settings.help",error:null,isLoading:!0,langsOptions:[{label:"french",value:"FR"},{label:"english",value:"EN"}],settings:{language:"",auth_token_validity_duration:""},errors:{language:null,auth_token_validity_duration:null}}},mounted:function(){this.fetch()},methods:{fetch:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.isLoading=!0,t.prev=3,t.next=6,e.$http.get("".concat(s,"/").concat(a,"/settings"));case 6:i=t.sent,n=i.data,e.settings=n,t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),e.displayError(t.t0);case 14:return t.prev=14,e.isLoading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[3,11,14,17]])})))()},save:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,n,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.isLoading=!0,t.prev=3,t.next=6,e.$http.put("".concat(s,"/").concat(a,"/settings"),e.settings);case 6:n=t.sent,r=n.data,e.settings=r,e.help={type:"success",text:"page-settings.saved"},o=r.language.toLowerCase(),localStorage.setItem("userLocale",o),e.$store.commit("auth/setLocale",r.language),i["default"].i18n.set(o),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](3),e.displayError(t.t0);case 19:return t.prev=19,e.isLoading=!1,t.finish(19);case 22:case"end":return t.stop()}}),t,null,[[3,16,19,22]])})))()},displayError:function(e){var t,a;this.help="page-settings.help",this.error=e;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))}}},ft=pt,_t=(a("5afa"),Object(ge["a"])(ft,dt,mt,!1,null,null,null)),ht=_t.exports,vt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__header"},[a("CalendarHeader",{ref:"Header",attrs:{isLoading:e.isLoading},on:{"set-center-date":e.setCenterDate,refresh:e.getEventsData,filterMissingMaterials:e.handleFilterMissingMaterial,filterByPark:e.handleFilterByPark}})],1),a("div",{ref:"Container",staticClass:"content__main-view Calendar"},[a("i",{staticClass:"fas fa-circle-notch fa-3x fa-spin Calendar__loading"}),a("Timeline",{ref:"Timeline",staticClass:"Calendar__timeline",attrs:{items:e.events,options:e.timelineOptions,events:["itemover","itemout","doubleClick","items-remove","rangechanged"]},on:{itemover:e.onItemOver,itemout:e.onItemOut,"double-click":e.onDoubleClick,"items-remove":e.onRemoved,rangechanged:e.onRangeChanged}}),a("Help",{attrs:{message:e.help,error:e.error}})],1)])},gt=[],bt=(a("25eb"),a("2909")),yt=a("13d9"),Ct=a("3dd1"),wt=a.n(Ct),kt=function(e,t){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return wt.a.fire({title:e("please-confirm"),text:e("page-".concat(t,a?".confirm-delete":".confirm-permanently-delete")),icon:"warning",showCancelButton:!0,customClass:{confirmButton:a?"swal2-confirm--trash":"swal2-confirm--delete"},confirmButtonText:e(a?"yes-delete":"yes-permanently-delete"),cancelButtonText:e("cancel")})},$t=function(e,t){return wt.a.fire({title:e("please-confirm"),text:e("page-".concat(t,".confirm-restore")),icon:"warning",showCancelButton:!0,customClass:{confirmButton:"swal2-confirm--restore"},confirmButtonText:e("yes-restore"),cancelButtonText:e("cancel")})},Et=function(e,t,a){var s=a.titleData,i=void 0===s?void 0:s,n=a.placeholder,r=void 0===n?"":n,o=a.confirmText,l=void 0===o?"save":o,c=a.inputType,u=void 0===c?"text":c,d=a.inputValue,m=void 0===d?"":d;return wt.a.fire({title:e(t,i),input:u,inputPlaceholder:e(r),inputValue:m,showCancelButton:!0,customClass:{confirmButton:"swal2-confirm--success"},confirmButtonText:e(l),cancelButtonText:e("cancel")})},Dt={ConfirmDelete:kt,ConfirmRestore:$t,Prompt:Et},Mt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventDetails"},[e.isLoading?a("section",{staticClass:"EventDetails__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin fa-2x"}),e._v(" "+e._s(e.$t("page-calendar.loading-event"))+" ")]):e._e(),!e.isLoading&&e.event?a("section",{staticClass:"EventDetails__content"},[a("Header",{attrs:{event:e.event},on:{close:function(t){return e.$emit("close")},saved:e.handleSaved,error:e.handleError}}),a("div",{staticClass:"EventDetails__content__body"},[a("Help",{attrs:{message:e.help,error:e.error}}),a("tabs",[a("tab",{attrs:{"title-slot":"infos"}},[e.event.location?a("div",{staticClass:"EventDetails__location"},[a("i",{staticClass:"fas fa-map-marker-alt"}),e._v(" "+e._s(e.$t("in"))+" "),a("strong",[e._v(e._s(e.event.location))]),a("a",{attrs:{href:"https://www.openstreetmap.org/search?query="+e.event.location,target:"_blank",title:e.$t("open-in-openstreetmap")}},[e._v(" "),a("i",{staticClass:"fas fa-external-link-alt"})])]):e._e(),0===e.beneficiaries.length?a("div",{staticClass:"EventDetails__no-beneficiary"},[a("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" "+e._s(e.$t("page-events.warning-no-beneficiary"))+" ")]):e._e(),e.beneficiaries.length>0?a("div",{staticClass:"EventDetails__beneficiaries"},[a("i",{staticClass:"fas fa-address-book"}),e._v(" "+e._s(e.$t("for"))+" "),e._l(e.beneficiaries,(function(t){return a("div",{key:t.id,staticClass:"EventDetails__beneficiary"},[a("router-link",{attrs:{to:"/beneficiaries/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.name)+" ")]),t.company?a("router-link",{attrs:{to:"/companies/"+t.company_id,title:e.$t("action-edit")}},[e._v(" ("+e._s(t.company)+") ")]):e._e()],1)}))],2):e._e(),e.assignees.length>0?a("div",{staticClass:"EventDetails__assignees"},[a("i",{staticClass:"fas fa-people-carry"}),e._v(" "+e._s(e.$t("with"))+" "),e._l(e.assignees,(function(t){return a("div",{key:t.id,staticClass:"EventDetails__assignee"},[a("router-link",{attrs:{to:"/technicians/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.name)+" ")])],1)}))],2):e._e(),e.event.description?a("p",{staticClass:"EventDetails__description"},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.event.description)+" ")]):e._e(),e.hasMaterials&&!e.event.isPast?a("div",{staticClass:"EventDetails__confirmation",class:{"EventDetails__confirmation--confirmed":e.event.is_confirmed}},[e.event.is_confirmed?e._e():a("p",[a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("page-events.event-not-confirmed-help"))+" ")]),e.event.is_confirmed?a("p",[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("page-events.event-confirmed-help"))+" ")]):e._e()]):e._e()]),a("tab",{attrs:{"title-slot":"materials",disabled:!e.hasMaterials}},[a("EventMissingMaterials",{attrs:{eventId:e.event.id}}),e.hasMaterials?a("EventMaterials",{attrs:{materials:e.event.materials,start:e.event.startDate,end:e.event.endDate,withRentalPrices:e.showBilling&&e.event.is_billable,hideDetails:e.event.materials.length>16}}):e._e()],1),e.showBilling?a("tab",{attrs:{"title-slot":"billing",disabled:!e.hasMaterials}},[e.hasMaterials&&e.event.is_billable?a("EventBilling",{attrs:{beneficiaries:e.event.beneficiaries,lastBill:e.lastBill,materials:e.event.materials,start:e.event.startDate,end:e.event.endDate,loading:e.billLoading},on:{discountRateChange:e.handleChangeDiscountRate,createBill:e.handleCreateBill}}):e._e(),e.event.is_billable?e._e():a("div",{staticClass:"EventDetails__not-billable"},[a("p",[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("event-not-billable"))+" ")]),!e.event.is_confirmed&&e.userCanEditBill?a("p",[a("button",{staticClass:"success",on:{click:e.setEventIsBillable}},[e._v(" "+e._s(e.$t("enable-billable-event"))+" ")])]):e._e()])],1):e._e(),a("template",{slot:"infos"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("informations"))+" ")]),a("template",{slot:"materials"},[a("i",{staticClass:"fas fa-box"}),e._v(" "+e._s(e.$t("material"))+" ")]),a("template",{slot:"billing"},[a("i",{staticClass:"fas fa-file-invoice-dollar"}),e._v(" "+e._s(e.$t("billing"))+" ")])],2),e.hasMaterials?a("div",{staticClass:"EventDetails__totals"},[a("EventTotals",{attrs:{materials:e.event.materials,withRentalPrices:e.showBilling&&e.event.is_billable,discountRate:e.discountRate,start:e.event.startDate,end:e.event.endDate}})],1):e._e(),e.hasMaterials?e._e():a("div",{staticClass:"EventDetails__materials-empty"},[a("p",[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("page-events.warning-no-material"))+" ")]),e.event.isPast?e._e():a("router-link",{attrs:{to:"/events/"+e.event.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("page-events.edit-event"))+" ")])]}}],null,!1,906362114)})],1)],1)],1):e._e()])},Tt=[],St=a("0652"),Ft=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventMaterials"},[!e.showMaterialsList||e.materials.length>30?a("div",{staticClass:"EventMaterials__toggle"},[a("button",{class:{info:!e.showMaterialsList},on:{click:function(t){e.showMaterialsList=!e.showMaterialsList}}},[a("i",{staticClass:"fas",class:{"fa-eye":!e.showMaterialsList,"fa-eye-slash":e.showMaterialsList}}),e._v(" "+e._s(e.$t(e.showMaterialsList?"hide-materials-details":"show-materials-details"))+" ")])]):e._e(),e.showMaterialsList?a("div",{staticClass:"EventMaterials__categories"},e._l(e.categories,(function(t,s){return a("div",{key:t.id,staticClass:"EventMaterials__category"},[a("h4",{staticClass:"EventMaterials__title"},[e._v(" "+e._s(t.name)+" ")]),a("ul",{staticClass:"EventMaterials__list"},e._l(t.materials,(function(t){return a("li",{key:t.id,staticClass:"EventMaterials__item"},[a("div",{staticClass:"EventMaterials__item__quantity-first"},[e._v(" "+e._s(t.pivot.quantity)+" ")]),a("div",{staticClass:"EventMaterials__item__name"},[e._v(" "+e._s(t.name)+" ")]),e.withRentalPrices?a("div",{staticClass:"EventMaterials__item__price"},[e._v(" "+e._s(e.formatAmount(t.rental_price))+" ")]):e._e(),a("div",{staticClass:"EventMaterials__item__quantity"},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(t.pivot.quantity)+" ")]),e.withRentalPrices?a("div",{staticClass:"EventMaterials__item__total"},[e._v(" "+e._s(e.formatAmount(t.pivot.quantity*t.rental_price))+" ")]):e._e()])})),0),e.withRentalPrices?a("div",{staticClass:"EventMaterials__subtotal"},[s===e.categories.length-1?a("button",{on:{click:function(t){e.showMaterialsList=!1}}},[a("i",{staticClass:"fas fa-eye-slash"}),e._v(" "+e._s(e.$t("hide-materials-details"))+" ")]):e._e(),a("div",{staticClass:"EventMaterials__subtotal__name"},[e._v(" "+e._s(e.$t("sub-total"))+" ")]),a("div",{staticClass:"EventMaterials__subtotal__price"},[e._v(" "+e._s(e.formatAmount(t.subTotal))+" ")])]):e._e()])})),0):e._e()])},xt=[],Lt=function(e){var t=v.currency.iso;return e.toLocaleString(void 0,{style:"currency",currency:t,currencyDisplay:"symbol",useGrouping:!0})},Ot=Lt,jt=(a("c740"),function(e,t){if(!e||0===e.length||!t)return[];var a=[];return e.forEach((function(e){var s=e.category_id,i=e.rental_price,n=e.pivot,r=a.findIndex((function(e){return e.id===s}));if(r<0){var o=t(s);a.push({id:s,name:o}),r=a.length-1}var l=n.quantity;a[r].materials?(a[r].materials.push(e),a[r].subTotal+=l*i):(a[r].materials=[e],a[r].subTotal=l*i)})),a.forEach((function(e){e.materials.sort((function(e,t){var a=e.rental_price*e.pivot.quantity,s=t.rental_price*t.pivot.quantity;return a>s?-1:1}))})),a}),qt=jt,At={name:"EventMaterials",props:{materials:Array,start:Object,end:Object,withRentalPrices:{type:Boolean,default:!0},hideDetails:{type:Boolean,default:!1}},data:function(){return{showMaterialsList:!this.hideDetails}},computed:{categories:function(){var e=B.getters["categories/categoryName"];return qt(this.materials,e)}},created:function(){B.dispatch("categories/fetch")},methods:{formatAmount:function(e){return Ot(e)}}},Nt=At,It=(a("86c6"),Object(ge["a"])(Nt,Ft,xt,!1,null,null,null)),Pt=It.exports,Bt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.hasMissingMaterials||e.error?a("div",{staticClass:"EventMissingMaterials"},[a("h3",{staticClass:"EventMissingMaterials__title"},[a("i",{staticClass:"fas fa-box-open"}),e._v(" "+e._s(e.$t("page-events.event-missing-materials"))+" ")]),a("p",{staticClass:"EventMissingMaterials__help"},[e._v(" "+e._s(e.$t("page-events.event-missing-materials-help"))+" ")]),e.error?a("div",{staticClass:"EventMissingMaterials__error"},[e._v(" "+e._s(e.error)+" ")]):e._e(),a("ul",{staticClass:"EventMissingMaterials__list"},e._l(e.missingMaterials,(function(t){return a("li",{key:t.id,staticClass:"EventMissingMaterials__item"},[a("div",{staticClass:"EventMissingMaterials__item__name"},[e._v(" "+e._s(t.name)+" ")]),a("div",{staticClass:"EventMissingMaterials__item__quantity"},[e._v(" "+e._s(e.$t("page-events.missing-material-count",e.getMissingCount(t)))+" ")])])})),0)]):e._e()},Rt=[],Vt={name:"EventMissingMaterials",props:{eventId:Number},data:function(){return{hasMissingMaterials:!1,missingMaterials:[],error:null}},mounted:function(){this.fetchMissingMaterials()},methods:{fetchMissingMaterials:function(){var e=this;this.$http.get("events/".concat(this.eventId,"/missing-materials")).then((function(t){var a=t.data;e.missingMaterials=a,e.hasMissingMaterials=a.length>0})).catch(this.displayError)},getMissingCount:function(e){var t=e.pivot.quantity;return{quantity:t,missing:e.missing_quantity}},displayError:function(e){this.error=e}}},Ht=Vt,Ut=(a("5b9a"),Object(ge["a"])(Ht,Bt,Rt,!1,null,null,null)),zt=Ut.exports,Qt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"EventBilling"},[a("div",{staticClass:"EventBilling__last-bill"},[!e.lastBill||e.displayCreateBill||e.loading?e._e():a("div",{staticClass:"EventBilling__last-bill__download"},[a("p",{staticClass:"EventBilling__last-bill__download__text"},[e._v(" "+e._s(e.$t("download-bill-help1",{number:e.lastBill.number,date:e.lastBill.date.format("L")}))+" "),e.discountRate>0?a("span",[e._v(e._s(e.$t("download-bill-help2",{discountRate:e.discountRate}))+",")]):e._e(),0===e.discountRate?a("span",[e._v(e._s(e.$t("without-discount"))+",")]):e._e(),e._v(" "+e._s(e.$t("download-bill-help3",{amount:e.formatAmount(e.lastBill.due_amount)}))+". ")]),a("a",{staticClass:"EventBilling__last-bill__download__link",attrs:{href:e.billPdfUrl}},[a("i",{staticClass:"fas fa-download"}),e._v(" "+e._s(e.$t("download-bill-pdf"))+" ")])]),e.lastBill&&e.userCanEdit?a("div",{staticClass:"EventBilling__last-bill__regenerate"},[a("p",{staticClass:"EventBilling__last-bill__regenerate__text"},[e._v(" "+e._s(e.$t("regenerate-bill-help"))+" ")]),e.displayCreateBill||e.loading?e._e():a("a",{attrs:{href:"#"},on:{click:e.openBillRegeneration}},[a("i",{staticClass:"fas fa-sync"}),e._v(" "+e._s(e.$t("click-here-to-regenerate"))+" ")])]):e._e(),e.isBillable?e._e():a("div",{staticClass:"EventBilling__last-bill__not-billable"},[a("h3",{staticClass:"EventBilling__last-bill__not-billable__title"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("missing-beneficiary"))+" ")]),e.userCanEdit?a("p",{staticClass:"EventBilling__last-bill__not-billable__text"},[e._v(" "+e._s(e.$t("not-billable-help"))),a("br"),e._v(" "+e._s(e.$t("click-edit-to-create-one"))+" ")]):e._e()]),!e.lastBill&&e.isBillable?a("p",{staticClass:"EventBilling__last-bill__no-bill"},[e._v(" "+e._s(e.$t("no-bill-help"))),a("br"),e.userCanEdit?a("span",[e._v(e._s(e.$t("create-bill-help")))]):a("span",[e._v(e._s(e.$t("contact-someone-to-create-bill")))])]):e._e(),e.displayCreateBill||e.loading||!e.lastBill&&e.isBillable&&e.userCanEdit?a("form",{staticClass:"Form EventBilling__last-bill__create",attrs:{method:"POST"},on:{submit:e.createBill}},[a("div",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(e._s(e.$t("discount")))]),a("FormField",{staticClass:"EventBilling__last-bill__discount-input",attrs:{name:"discountRate",type:"number",step:1e-4,min:0,max:99.9999,addon:"%",label:"wanted-rate",disabled:e.loading},model:{value:e.discountRate,callback:function(t){e.discountRate=t},expression:"discountRate"}}),a("FormField",{staticClass:"EventBilling__last-bill__discount-target-input",attrs:{value:e.discountTarget,name:"discountTarget",type:"number",step:.01,min:0,max:e.grandTotal,addon:e.currency,label:"wanted-amount",disabled:e.loading},on:{change:e.recalcDiscountRate}}),a("div",{staticClass:"EventBilling__last-bill__beneficiary"},[a("label",{staticClass:"EventBilling__last-bill__beneficiary__label"},[e._v(" "+e._s(e.$t("beneficiary"))+" ")]),a("div",{staticClass:"EventBilling__last-bill__beneficiary__name"},[a("router-link",{key:e.beneficiaries[0].id,attrs:{to:"/beneficiaries/"+e.beneficiaries[0].id,title:e.$t("action-edit")}},[e._v(" "+e._s(e.beneficiaries[0].full_name)+" ")])],1)])],1),a("div",{staticClass:"EventBilling__last-bill__save"},[a("button",{staticClass:"success",attrs:{type:"submit"}},[e.loading?a("i",{staticClass:"fas fa-spinner fa-spin"}):e._e(),e._v(" "+e._s(e.$t("create-bill"))+" ")]),e.lastBill?a("button",{attrs:{type:"button"},on:{click:e.closeBillRegeneration}},[e._v(" "+e._s(e.$t("cancel"))+" ")]):e._e()])]):e._e()])])},Yt=[],Gt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.pivot.quantity}),0):0},Wt=Gt,Kt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.rental_price*t.pivot.quantity}),0):0},Jt=Kt,Zt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return t.is_discountable?e+t.rental_price*t.pivot.quantity:e}),0):0},Xt=Zt,ea=(a("9129"),function(e,t){if("number"!==typeof e||Number.isNaN(e))return 0;if(0===e||0===t)return 0;var a=v.degressiveRate(t);return e*a}),ta=ea,aa=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.replacement_price*t.pivot.quantity}),0):0},sa=aa,ia=(a("35b3"),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Math.round((e+Number.EPSILON)*Math.pow(10,t))/Math.pow(10,t)}),na=ia,ra={name:"EventBilling",components:{FormField:rt},props:{lastBill:Object,beneficiaries:Array,materials:Array,loading:Boolean,start:Object,end:Object},data:function(){return{duration:this.end?this.end.diff(this.start,"days")+1:1,discountRate:this.lastBill?this.lastBill.discount_rate:0,currency:v.currency.symbol,isBillable:this.beneficiaries.length>0,displayCreateBill:!1}},watch:{discountRate:function(e){this.$emit("discountRateChange",parseFloat(e))}},computed:{userCanEdit:function(){return this.$store.getters["auth/is"](["admin","member"])},billPdfUrl:function(){var e=v.baseUrl,t=this.lastBill||{id:null},a=t.id;return"".concat(e,"/bills/").concat(a,"/pdf")},ratio:function(){return v.degressiveRate(this.duration)},itemsCount:function(){return Wt(this.materials)},total:function(){return Jt(this.materials)},grandTotal:function(){return ta(this.total,this.duration)},totalDiscountable:function(){return Xt(this.materials)},grandTotalDiscountable:function(){return ta(this.totalDiscountable,this.duration)},discountAmount:function(){return this.grandTotalDiscountable*(this.discountRate/100)},discountTarget:{get:function(){return na(this.grandTotal-this.discountAmount)},set:function(e){var t=this.grandTotal-e,a=t/this.grandTotalDiscountable*100;this.discountRate=na(a,4)}},grandTotalWithDiscount:function(){return this.grandTotal-this.discountAmount},replacementTotal:function(){return sa(this.materials)}},methods:{recalcDiscountRate:function(e){this.discountTarget=parseFloat(e)},createBill:function(e){e.preventDefault(),this.displayCreateBill=!1,this.loading||this.$emit("createBill",this.discountRate)},openBillRegeneration:function(){this.displayCreateBill=!0},closeBillRegeneration:function(){this.displayCreateBill=!1},formatAmount:function(e){return Ot(e)}}},oa=ra,la=(a("19d4"),Object(ge["a"])(oa,Qt,Yt,!1,null,null,null)),ca=la.exports,ua=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"EventTotals"},[e.withRentalPrices?a("div",[a("div",{staticClass:"EventTotals__base"},[e._v(" "+e._s(e.$t("total"))+": "),a("span",{staticClass:"EventTotals__items-count"},[e._v(" "+e._s(e.$t("items-count",{count:e.itemsCount},e.itemsCount))+" ")]),a("span",{staticClass:"EventTotals__daily-total"},[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.formatAmount(e.total))+" ")]),a("span",{staticClass:"EventTotals__duration"},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.duration)+" "+e._s(e.duration>1?e.$t("days"):e.$t("day"))+" ")]),a("span",{staticClass:"EventTotals__ratio"},[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.$t("ratio"))+" "+e._s(e.ratio)+" ")])]),a("div",{staticClass:"EventTotals__grand"},[e._v(" "+e._s(e.$t("total-amount"))+": "+e._s(e.formatAmount(e.grandTotal))+" ")]),e.discountRate>0&&e.totalDiscountable!==e.total?a("div",{staticClass:"EventTotals__discountable"},[e._v(" "+e._s(e.$t("total-discountable"))+": "+e._s(e.formatAmount(e.totalDiscountable))+" / "+e._s(e.$t("day"))+" "),a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.formatAmount(e.grandTotalDiscountable))+" ")]):e._e(),e.discountRate>0?a("div",{staticClass:"EventTotals__discount"},[e._v(" "+e._s(e.$t("discount"))+" "+e._s(e.discountRate)+" % "),a("i",{staticClass:"fas fa-arrow-right"}),e._v(" - "+e._s(e.formatAmount(e.discountAmount))+" ")]):e._e(),e.discountRate>0?a("div",{staticClass:"EventTotals__grand-discount"},[e._v(" "+e._s(e.$t("total-amount-with-discount"))+": "+e._s(e.formatAmount(e.grandTotalWithDiscount))+" ")]):e._e(),e.duration>1?a("div",{staticClass:"EventTotals__daily"},[e._v(" ("+e._s(e.formatAmount(e.grandTotalWithDiscount/e.duration))+" / "+e._s(e.$t("day"))+") ")]):e._e()]):e._e(),a("div",{staticClass:"EventTotals__replacement"},[e._v(" "+e._s(e.$t("replacement-total"))+": "+e._s(e.formatAmount(e.replacementTotal))+" ")])])},da=[],ma={name:"EventTotals",components:{FormField:rt},props:{materials:Array,withRentalPrices:Boolean,discountRate:Number,start:Object,end:Object},data:function(){return{duration:this.end?this.end.diff(this.start,"days")+1:1,currency:v.currency.symbol}},created:function(){B.dispatch("categories/fetch")},computed:{ratio:function(){return v.degressiveRate(this.duration)},itemsCount:function(){return Wt(this.materials)},total:function(){return Jt(this.materials)},grandTotal:function(){return ta(this.total,this.duration)},totalDiscountable:function(){return Xt(this.materials)},grandTotalDiscountable:function(){return ta(this.totalDiscountable,this.duration)},discountAmount:function(){return this.grandTotalDiscountable*(this.discountRate/100)},discountTarget:{get:function(){return na(this.grandTotal-this.discountAmount)},set:function(e){var t=this.grandTotal-e,a=t/this.grandTotalDiscountable*100;this.discountRate=na(a,4)}},grandTotalWithDiscount:function(){return this.grandTotal-this.discountAmount},replacementTotal:function(){return sa(this.materials)}},methods:{recalcDiscountRate:function(e){this.discountTarget=parseFloat(e)},formatAmount:function(e){return Ot(e)}}},pa=ma,fa=(a("9b72"),Object(ge["a"])(pa,ua,da,!1,null,null,null)),_a=fa.exports,ha=function(e){var t=e.start_date,a=e.end_date,s=e.is_confirmed,i=e.has_missing_materials,n=r()(),o=r()(t),l=r()(a),c=l.isBefore(n,"day"),u=n.isBetween(o,l,"day","[]");return Object(g["a"])(Object(g["a"])({},e),{},{startDate:o,endDate:l,isConfirmed:s,isPast:c,isCurrent:u,hasMissingMaterials:i})},va=ha,ga=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"EventDetailsHeader"},[a("div",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.event.isConfirmed?e.$t("confirmed"):e.$t("not-confirmed"),expression:"event.isConfirmed ? $t('confirmed') : $t('not-confirmed')",modifiers:{bottom:!0}}],staticClass:"EventDetailsHeader__status"},[e.event.isConfirmed?e._e():a("i",{staticClass:"far fa-calendar-times"}),e.event.isConfirmed?a("i",{staticClass:"fas fa-check"}):e._e()]),a("div",{staticClass:"EventDetailsHeader__details"},[a("h4",{staticClass:"EventDetailsHeader__details__title"},[e._v(" "+e._s(e.event.title)+" ")]),a("div",{staticClass:"EventDetailsHeader__details__location-dates"},[e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" "),e.event.isCurrent?a("span",{staticClass:"EventDetailsHeader__details__in-progress"},[e._v(" ("+e._s(e.$t("in-progress"))+") ")]):e._e()])]),a("div",{staticClass:"EventDetailsHeader__actions"},[a("router-link",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],attrs:{to:"/events/"+e.event.id,disabled:e.event.isConfirmed,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("action-edit"))+" ")])]}}])}),e.event.isConfirmed?e._e():a("button",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],staticClass:"success",attrs:{disabled:e.event.materials&&0===e.event.materials.length},on:{click:e.confirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("confirm"))+" ")]),e.event.isConfirmed?a("button",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],staticClass:"warning",on:{click:e.unconfirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("set-back-on-hold"))+" ")]):e._e(),e.isPrintable?a("a",{staticClass:"EventDetailsHeader__actions__print",attrs:{href:e.eventSummaryPdfUrl,target:"_blank"}},[a("i",{staticClass:"fas fa-print"}),e._v(" "+e._s(e.$t("print"))+" ")]):e._e()],1),a("button",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])])},ba=[],ya={name:"CalendarEventDetailsHeader",props:["event","onSaved","onError"],data:function(){return{isConfirming:!1,fromToDates:{}}},computed:{isPrintable:function(){return this.event.materials&&this.event.materials.length>0&&this.event.beneficiaries&&this.event.beneficiaries.length>0},isVisitor:function(){return this.$store.getters["auth/is"]("visitor")},eventSummaryPdfUrl:function(){var e=v.baseUrl,t=this.event||{id:null},a=t.id;return"".concat(e,"/events/").concat(a,"/pdf")}},created:function(){var e=this.$props.event;e&&(this.fromToDates={from:e.startDate.format("L"),to:e.endDate.format("L")})},methods:{confirmEvent:function(){this.setEventConfirmation(!0)},unconfirmEvent:function(){this.setEventConfirmation(!1)},setEventConfirmation:function(e){var t=this,a=this.$props.event.id,s="events/".concat(a);this.isConfirming=!0,this.$http.put(s,{id:a,is_confirmed:e}).then((function(e){var a=e.data;t.$emit("saved",a)})).catch((function(e){t.$emit("error",e)})).finally((function(){t.isConfirming=!1}))}}},Ca=ya,wa=(a("d464"),Object(ge["a"])(Ca,ga,ba,!1,null,null,null)),ka=wa.exports,$a={name:"EventDetails",components:{Header:ka,Tabs:St["b"],Tab:St["a"],Help:ze,EventMaterials:Pt,EventMissingMaterials:zt,EventBilling:ca,EventTotals:_a},props:{eventId:{type:Number,required:!0}},data:function(){return{help:"",error:null,isLoading:!1,event:null,beneficiaries:[],discountRate:0,assignees:[],showBilling:"none"!==v.billingMode,lastBill:null,billLoading:!1}},created:function(){this.getEvent()},computed:{hasMaterials:function(){var e,t;return(null===(e=this.event)||void 0===e||null===(t=e.materials)||void 0===t?void 0:t.length)>0},userCanEditBill:function(){return this.$store.getters["auth/is"](["admin","member"])}},methods:{getEvent:function(){var e=this,t=this.$props.eventId,a="events/".concat(t);this.error=null,this.isLoading=!0,this.$http.get(a).then((function(t){var a=t.data;e.setData(a),e.isLoading=!1})).catch(this.handleError)},handleChangeDiscountRate:function(e){this.discountRate=e},handleCreateBill:function(e){var t=this;this.error=null,this.billLoading=!0;var a=this.$props.eventId,s="events/".concat(a,"/bill");this.$http.post(s,{discountRate:e}).then((function(e){var a=e.data;t.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)})})).catch(this.handleError).finally((function(){t.billLoading=!1}))},setEventIsBillable:function(){var e=this;this.error=null,this.isLoading=!0;var t=this.$props.eventId,a={is_billable:!0};this.$http.put("events/".concat(t),a).then((function(t){var a=t.data;e.setData(a),e.isLoading=!1})).catch(this.handleError)},handleSaved:function(e){this.error=null,this.setData(e),this.$emit("event-updated",e)},handleError:function(e){this.error=e,this.isLoading=!1},setData:function(e){if(this.event=Object(g["a"])(Object(g["a"])({},va(e)),e),e.beneficiaries&&(this.beneficiaries=e.beneficiaries.map((function(e){return{id:e.id,name:e.full_name,company_id:e.company_id?e.company_id:null,company:e.company?e.company.legal_name:null}}))),e.assignees&&(this.assignees=e.assignees.map((function(e){return{id:e.id,name:e.full_name}}))),e.bills.length>0){var t=Object(x["a"])(e.bills,1),a=t[0];this.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)}),this.discountRate=a?a.discount_rate:0}}}},Ea=$a,Da=(a("3293"),Object(ge["a"])(Ea,Mt,Tt,!1,null,null,null)),Ma=Da.exports,Ta=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"CalendarHeader"},[a("div",{staticClass:"CalendarHeader__timeline-actions"},[a("div",{staticClass:"CalendarHeader__center-date"},[a("FormField",{attrs:{name:"centerDate",label:"page-calendar.center-on",type:"date","datepicker-options":e.datepickerOptions},on:{change:e.setCenterDate},model:{value:e.centerDate,callback:function(t){e.centerDate=t},expression:"centerDate"}})],1),a("button",{staticClass:"CalendarHeader__button info",attrs:{disabled:e.isToday,title:e.$t("page-calendar.center-on-today")},on:{click:function(t){return e.centerToday()}}},[a("i",{staticClass:"fas fa-compress-arrows-alt"}),a("span",{staticClass:"CalendarHeader__button__title"},[e._v(e._s(e.$t("page-calendar.center-on-today")))])]),a("button",{staticClass:"CalendarHeader__button info",attrs:{title:e.$t("action-refresh"),disabled:e.isLoading},on:{click:function(t){return e.refresh()}}},[a("i",{staticClass:"fas fa-sync-alt"}),a("span",{staticClass:"CalendarHeader__button__title"},[e._v(e._s(e.$t("action-refresh")))])])]),a("div",{staticClass:"CalendarHeader__filters"},[e.parks.length>1?a("div",{staticClass:"CalendarHeader__filter",class:{"CalendarHeader__filter--active":!!e.filters.park}},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.park,expression:"filters.park"}],staticClass:"CalendarHeader__filter__select",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"park",t.target.multiple?a:a[0])},e.handleFilterParkChange]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("page-calendar.display-all-parks"))+" ")]),e._l(e.parks,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2)]):e._e(),a("div",{staticClass:"CalendarHeader__filter",class:{"CalendarHeader__filter--active":e.filters.hasMissingMaterials}},[a("label",{staticClass:"CalendarHeader__filter__label"},[e._v(" "+e._s(e.$t("page-calendar.event-with-missing-material-only"))+" ")]),a("SwitchToggle",{attrs:{value:e.filters.hasMissingMaterials},on:{input:e.handleFilterMissingMaterialChange}})],1)]),a("div",{staticClass:"CalendarHeader__loading-container"},[e.isLoading?a("div",{staticClass:"CalendarHeader__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e()]),a("div",{staticClass:"CalendarHeader__actions"},[a("router-link",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],attrs:{to:"/events/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"success",on:{click:s}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-calendar.add-event"))+" ")])]}}])})],1)])},Sa=[],Fa={name:"CalendarHeader",components:{Help:ze,FormField:rt,SwitchToggle:tt},props:{isLoading:Boolean},data:function(){return{centerDate:"",datepickerOptions:{format:"d MMMM yyyy"},filters:{park:this.$route.query.park||"",hasMissingMaterials:!1}}},computed:{parks:function(){return this.$store.state.parks.list},isToday:function(){return r()(this.centerDate).isSame(r()(),"day")},isVisitor:function(){return this.$store.getters["auth/is"]("visitor")}},mounted:function(){this.$store.dispatch("parks/fetch")},methods:{setCenterDate:function(e){var t=r()(e.newDate).hour(12).minute(0).toDate();this.$emit("set-center-date",t)},centerToday:function(){var e=r()().hour(12).minute(0).toDate();this.$emit("set-center-date",e)},refresh:function(){this.$emit("refresh")},changePeriod:function(e){var t=r()(e.start),a=r()(e.end),s=a.diff(t,"hours");this.centerDate=t.add(s/2,"hours").format()},handleFilterMissingMaterialChange:function(e){this.filters.hasMissingMaterials=e,this.$emit("filterMissingMaterials",e)},handleFilterParkChange:function(e){var t=e.currentTarget.value;this.$emit("filterByPark",t)}}},xa=Fa,La=(a("8d7f"),Object(ge["a"])(xa,Ta,Sa,!1,null,null,null)),Oa=La.exports,ja=(a("a15b"),function(e){var t=e.isPast,a=e.isCurrent,s=e.isConfirmed,i=e.hasMissingMaterials,n=["timeline-event"];return t&&n.push("timeline-event--past"),a&&n.push("timeline-event--current"),s&&(n.push("timeline-event--locked"),t||n.push("timeline-event--confirmed")),i&&n.push("timeline-event--with-warning"),n}),qa=ja,Aa=function(e){var t=e.isPast,a=e.isCurrent,s=e.isConfirmed,i=e.hasMissingMaterials,n=[];return t&&!s&&n.push({icon:"history",i18nKey:"this-event-is-past"}),a&&n.push({icon:"running",i18nKey:"this-event-is-currently-running"}),s&&n.push({icon:t?"lock":"check",i18nKey:t?"this-event-is-locked-past-confirmed":"this-event-is-confirmed"}),i&&n.push({icon:"exclamation-triangle",i18nKey:"this-event-has-missing-materials"}),n},Na=Aa,Ia=function(e,t){var a=function(e,t){return' ').concat(t)},s=va(e),i=s.title,n=s.location,r=s.startDate,o=s.endDate,l=s.isPast,c=s.isConfirmed,u=s.hasMissingMaterials,d=s.beneficiaries,m=s.assignees,p=i;u&&(p=a("exclamation-triangle",p)),c&&(p=a(l?"lock":"check",p));var f=a("map-marker-alt",n||"?");n&&(p="".concat(p," − ").concat(f));var _=a("clock",t("from-date-to-date",{from:r.format("L"),to:o.format("L")})),h=a("exclamation-triangle","(".concat(t("missing-beneficiary"),")"));if(d.length>0){var v=d.map((function(e){return e.full_name}));h=a("address-book","".concat(t("for")," ").concat(v.join(", ")))}var b="";if(m.length>0){var y=m.map((function(e){return e.full_name}));b=a("people-carry","".concat(t("with")," ").concat(y.join(", ")))}var C=Na(s).map((function(e){var s=e.icon,i=e.i18nKey;return a(s,t("page-calendar.".concat(i)))})).join("\n");return Object(g["a"])(Object(g["a"])({},s),{},{content:p,start:r,end:o,editable:!c,className:qa(s).join(" "),title:["".concat(i,""),"\n".concat(f,"\n").concat(_,"\n").concat(h,"\n").concat(b,"\n"),C].join("\n")})},Pa=Ia,Ba=864e5,Ra={name:"Calendar",components:{CalendarHeader:Oa,Timeline:yt["a"],EventDetails:Ma,Help:ze},data:function(){var e=this,t=r()().subtract(2,"days").startOf("day"),a=r()().add(5,"days").endOf("day"),s=localStorage.getItem("calendarStart"),i=localStorage.getItem("calendarEnd");s&&i&&(t=s,a=i);var n=this.$store.getters["auth/is"]("visitor"),o=this.$route.query.park;return{help:"page-calendar.help",error:null,isLoading:!1,fetchStart:r()().subtract(8,"days").startOf("day"),fetchEnd:r()().add(1,"months").endOf("month"),isModalOpened:!1,hasMissingMaterialFilter:!1,parkId:o?Number.parseInt(o,10):null,events:[],allEvents:[],timelineOptions:{selectable:!n,editable:{add:!1,updateTime:!0,updateGroup:!1,remove:!0,overrideItems:!1},start:t,end:a,locale:this.$store.state.i18n.locale,minHeight:"100%",orientation:"top",zoomMin:7*Ba,zoomMax:6*Ba*30,tooltip:{followMouse:!0,overflowMethod:"flip"},moment:function(e){return r()(e)},onMove:function(t,a){if(!n){var s="".concat(e.$route.meta.resource,"/").concat(t.id),i=r()(t.end);0===i.hour()&&i.subtract(1,"day").endOf("day");var o={start_date:r()(t.start).format(te),end_date:i.format(te)};e.error=null,e.isLoading=!0,e.$http.put(s,o).then((function(){e.isLoading=!1,e.help={type:"success",text:"page-calendar.event-saved"},a(t),e.getEventsData()})).catch((function(t){a(null),e.showError(t)}))}},onRemove:function(t,a){n||Dt.ConfirmDelete(e.$t,"calendar").then((function(s){if(s.value){e.error=null,e.isLoading=!0;var i="".concat(e.$route.meta.resource,"/").concat(t.id);e.$http.delete(i).then((function(){a(t)}))}else a(null)}))}}}},mounted:function(){this.getEventsData()},methods:{filterEvents:function(){var e=this,t=Object(bt["a"])(this.allEvents);this.parkId&&(t=t.filter((function(t){var a=t.parks;return null===a||void 0===a?void 0:a.includes(e.parkId)}))),this.hasMissingMaterialFilter&&(t=t.filter((function(e){var t=e.hasMissingMaterials;return!!t}))),this.events=t},getEventsData:function(){var e=this;this.error=null,this.isLoading=!0,this.isModalOpened=!1;var t={start:this.fetchStart.format("YYYY-MM-DD HH:mm:ss"),end:this.fetchEnd.format("YYYY-MM-DD HH:mm:ss")};this.$http.get(this.$route.meta.resource,{params:t}).then((function(t){var a=t.data;e.events=a.data.map((function(t){return Pa(t,e.$t)})),e.allEvents=Object(bt["a"])(e.events),e.filterEvents(),e.isLoading=!1})).catch((function(t){e.showError(t)}))},onRangeChanged:function(e){localStorage.setItem("calendarStart",e.start),localStorage.setItem("calendarEnd",e.end),this.$refs.Header.changePeriod(e);var t=!1;this.fetchStart.isAfter(e.start)&&(this.fetchStart=r()(e.start).subtract(8,"days").startOf("day"),t=!0),this.fetchEnd.isBefore(e.end)&&(this.fetchEnd=r()(e.end).add(1,"months").endOf("month"),t=!0),t&&this.getEventsData()},setCenterDate:function(e){this.$refs.Timeline.moveTo(e)},onItemOver:function(){this.help="page-calendar.help-timeline-event-operations"},onItemOut:function(){this.help="page-calendar.help"},onDoubleClick:function(e){if(!this.isModalOpened){var t=e.item;if(t)return this.openEventModal(t),void(this.isModalOpened=!0);var a=r()(e.time).startOf("day").format(ae);this.$router.push({path:"/events/new",query:{startDate:a}})}},openEventModal:function(e){var t=this;this.$modal.show(Ma,{eventId:e},je,{"before-close":function(){t.getEventsData()}})},onRemoved:function(){this.isLoading&&(this.help={type:"success",text:"page-calendar.event-deleted"},this.error=null,this.isLoading=!1)},showError:function(e){this.error=e,this.isLoading=!1},handleFilterMissingMaterial:function(e){this.hasMissingMaterialFilter=e,this.filterEvents()},handleFilterByPark:function(e){this.parkId=""===e?null:Number.parseInt(e,10),this.filterEvents()}}},Va=Ra,Ha=(a("f59e"),Object(ge["a"])(Va,vt,gt,!1,null,null,null)),Ua=Ha.exports,za=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Event"},[a("div",{staticClass:"Event__panel"},[a("Breadcrumb",{attrs:{event:e.event,steps:e.steps,"current-step":e.currentStep},on:{openStep:e.openStep}}),a("MiniSummary"),a("div",{staticClass:"Event__panel__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)],1),1===e.currentStep?a("EventStep1",{attrs:{event:e.event},on:{loading:e.startLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),2===e.currentStep?a("EventStep2",{attrs:{event:e.event},on:{loading:e.startLoading,stopLoading:e.stopLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),3===e.currentStep?a("EventStep3",{attrs:{event:e.event},on:{loading:e.startLoading,stopLoading:e.stopLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),4===e.currentStep?a("EventStep4",{attrs:{event:e.event},on:{loading:e.startLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),5===e.currentStep?a("EventStep5",{attrs:{event:e.event},on:{error:e.displayError,updateEvent:e.setEventData}}):e._e()],1)])])},Qa=[],Ya=(a("a4d3"),a("e01a"),function(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=e;r.a.isMoment(e)||(a=r()(e));var s=t;return r.a.isMoment(t)||(s=r()(t)),a.isSame(s,"day")}),Ga=Ya,Wa=new M["a"].Store({state:{title:"",dates:{start:null,end:null},location:null,description:null,materials:[],isConfirmed:!1,isBillable:!0,isSaved:!1},mutations:{reset:function(e){e.title="",e.dates={start:null,end:null},e.location=null,e.description=null,e.materials=[],e.isConfirmed=!1,e.isBillable=!0,e.isSaved=!0},init:function(e,t){e.title=t.title,e.dates={start:t.start_date,end:t.end_date},e.location=t.location,e.description=t.description,e.isBillable=t.is_billable,e.materials=t.materials,e.isConfirmed=t.is_confirmed},setIsSaved:function(e,t){e.isSaved=t}},actions:{checkIsSaved:function(e,t){var a=e.commit,s=e.state,i=t.title===s.title&&Ga(t.start_date,s.dates.start)&&Ga(t.end_date,s.dates.end)&&t.location===s.location&&t.description===s.description&&t.is_confirmed===s.isConfirmed&&t.is_billable===s.isBillable;a("setIsSaved",i)}}}),Ka=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Breadcrumb"},e._l(e.steps,(function(t){return a("div",{key:t.id,staticClass:"Breadcrumb__step",class:{"Breadcrumb__step--current":e.isCurrent(t),"Breadcrumb__step--active":e.isActive(t),"Breadcrumb__step--validated":!e.isCurrent(t)&&e.isValidated(t)},on:{click:function(a){return e.openStep(t)}}},[e.isCurrent(t)?a("i",{staticClass:"fas fa-arrow-right"}):e._e(),!e.isCurrent(t)&&e.isValidated(t)?a("i",{staticClass:"fas fa-check"}):e._e(),e._v(" "+e._s(t.id)+" - "),a("span",{staticClass:"Breadcrumb__step__name"},[e._v(" "+e._s(t.name)+" ")])])})),0)},Ja=[],Za={name:"Breadcrumb",props:["event","steps","currentStep"],methods:{openStep:function(e){this.isActive(e)&&this.$emit("openStep",e.id)},isCurrent:function(e){return e.id===this.currentStep},isActive:function(e){var t=this.steps.findIndex((function(t){return t.id===e.id}));if(t<0)return!1;var a=this.steps[t-1]||null;return this.isCurrent(e)||this.isValidated(e)||a&&this.isValidated(a)},isValidated:function(e){var t=this,a=!0;return e.fields.forEach((function(e){t.event[e]&&0!==t.event[e].length||(a=!1)})),a}}},Xa=Za,es=(a("3ed7"),Object(ge["a"])(Xa,Ka,Ja,!1,null,null,null)),ts=es.exports,as=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventMiniSummary",class:{"EventMiniSummary--confirmed":e.isConfirmed,"EventMiniSummary--not-saved":!e.isSaved}},[e.isSaved?e._e():a("div",{directives:[{name:"tooltip",rawName:"v-tooltip.right-end",value:e.$t("page-events.not-saved"),expression:"$t('page-events.not-saved')",modifiers:{"right-end":!0}}],staticClass:"EventMiniSummary__not-saved"},[a("i",{staticClass:"fas fa-exclamation-triangle"})]),e.title?a("div",{staticClass:"EventMiniSummary__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),e.location?a("div",{staticClass:"EventMiniSummary__detail"},[e._v(" "+e._s(e.$t("in"))+" "+e._s(e.location)+" ")]):e._e(),e.dates.start&&e.dates.end?a("div",{staticClass:"EventMiniSummary__detail"},[1===e.duration?a("span",[e._v(" "+e._s(e.$t("on-date",{date:e.fromToDates.from}))+" ")]):e._e(),e.duration>1?a("span",[e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" ")]):e._e(),a("br"),e._v(" "+e._s(e.$t("duration-days",{duration:e.duration}))+" "),a("br"),e.showPrices?a("span",[e._v(" "+e._s(e.$t("ratio"))+" "+e._s(e.ratio)+" ")]):e._e()]):e._e(),e.showPrices?a("div",{staticClass:"EventMiniSummary__total"},[e._v(" "+e._s(e.$t("total"))+" "),a("strong",[e._v(e._s(e.grandTotal))])]):e._e(),a("div",{staticClass:"EventMiniSummary__detail"},[e.isConfirmed?a("span",[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("confirmed"))+" ")]):a("span",{},[a("i",{staticClass:"far fa-question-circle"}),e._v(" "+e._s(e.$t("not-confirmed"))+" ")])])])},ss=[],is={name:"EventMiniSummary",computed:{title:function(){return Wa.state.title},dates:function(){return Wa.state.dates},location:function(){return Wa.state.location},materials:function(){return Wa.state.materials},isConfirmed:function(){return Wa.state.isConfirmed},isSaved:function(){return Wa.state.isSaved},showPrices:function(){return"none"!==v.billingMode&&Wa.state.isBillable},fromToDates:function(){var e=this.dates,t=e.start,a=e.end;return{from:t?r()(t).format("L"):"",to:a?r()(a).format("L"):""}},duration:function(){var e=this.dates,t=e.start,a=e.end;return t&&a?r()(a).diff(t,"days")+1:0},ratio:function(){return v.degressiveRate(this.duration)},grandTotal:function(){var e=Jt(this.materials),t=ta(e,this.duration);return Ot(t)}},methods:{formatAmount:function(e){return Ot(e)}}},ns=is,rs=(a("ae27"),Object(ge["a"])(ns,as,ss,!1,null,null,null)),os=rs.exports,ls=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep1",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"title",label:"title",required:"",errors:e.errors.title},on:{input:e.checkIsSavedEvent},model:{value:e.event.title,callback:function(t){e.$set(e.event,"title",t)},expression:"event.title"}}),a("div",{staticClass:"EventStep1__dates"},[a("div",{staticClass:"EventStep1__dates__fields"},[a("FormField",{attrs:{name:"start_date",label:"start-date",type:"date",required:"",errors:e.errors.start_date,"datepicker-options":e.startDatepickerOptions},on:{change:e.handleStartDateChange},model:{value:e.event.start_date,callback:function(t){e.$set(e.event,"start_date",t)},expression:"event.start_date"}}),a("FormField",{attrs:{name:"end_date",label:"end-date",type:"date",required:"",errors:e.errors.end_date,"datepicker-options":e.endDatepickerOptions},on:{change:e.refreshDatesLimits},model:{value:e.event.end_date,callback:function(t){e.$set(e.event,"end_date",t)},expression:"event.end_date"}})],1),e.duration>0?a("div",{staticClass:"EventStep1__dates__duration"},[e._v(" "+e._s(e.$t("duration-days",{duration:e.duration}))+" ")]):e._e()])],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("event-details"))+" ")]),a("FormField",{staticClass:"EventStep1__location",attrs:{name:"location",label:"location",errors:e.errors.location},on:{input:e.checkIsSavedEvent},model:{value:e.event.location,callback:function(t){e.$set(e.event,"location",t)},expression:"event.location"}}),a("FormField",{staticClass:"EventStep1__description",attrs:{name:"description",label:"description",type:"textarea",errors:e.errors.description},on:{input:e.checkIsSavedEvent},model:{value:e.event.description,callback:function(t){e.$set(e.event,"description",t)},expression:"event.description"}}),e.showIsBillable?a("div",{staticClass:"EventStep1__is-billable"},[a("FormField",{attrs:{name:"is_billable",label:"is-billable",type:"switch",errors:e.errors.is_billable},on:{change:e.checkIsSavedEvent},model:{value:e.event.is_billable,callback:function(t){e.$set(e.event,"is_billable",t)},expression:"event.is_billable"}}),a("div",{staticClass:"EventStep1__is-billable__help"},[a("i",{staticClass:"fas fa-arrow-right"}),e.event.is_billable?e._e():a("span",[e._v(" "+e._s(e.$t("is-not-billable-help"))+" ")]),e.event.is_billable?a("span",[e._v(" "+e._s(e.$t("is-billable-help"))+" ")]):e._e()])],1):e._e()],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep1__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep1__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},cs=[],us=a("15fd"),ds={name:"EventStep1",components:{FormField:rt},props:{event:Object},data:function(){return{startDatepickerOptions:{format:"d MMMM yyyy",disabled:{from:null,to:null}},endDatepickerOptions:{format:"d MMMM yyyy",disabled:{from:null,to:null}},duration:0,showIsBillable:"partial"===v.billingMode,errors:{title:null,start_date:null,end_date:null,location:null,description:null}}},mounted:function(){this.refreshDatesLimits()},watch:{event:"refreshDatesLimits"},methods:{refreshDatesLimits:function(){var e=this.event.start_date;e&&(this.endDatepickerOptions.disabled.to=r()(e).toDate()),this.calcDuration(),this.checkIsSavedEvent()},handleStartDateChange:function(e){var t=e.newDate,a=this.event.end_date;if(a){var s=r()(t),i=r()(a);i.isBefore(s)&&(this.event.end_date=s.toDate())}this.refreshDatesLimits()},calcDuration:function(){var e=this.event,t=e.start_date,a=e.end_date;t&&a&&(this.duration=r()(a).diff(t,"days")+1)},checkIsSavedEvent:function(){Wa.dispatch("checkIsSaved",this.event)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:2})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var o=this.event,l=(o.user,o.beneficiaries,o.assignees,o.materials,Object(us["a"])(o,["user","beneficiaries","assignees","materials"])),c=Object(g["a"])(Object(g["a"])({},l),{},{start_date:r()(this.event.start_date).startOf("day").format(te),end_date:r()(this.event.end_date).endOf("day").format(te)});i(n,c).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},ms=ds,ps=(a("313d"),Object(ge["a"])(ms,ls,cs,!1,null,null,null)),fs=ps.exports,_s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep2",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("page-events.event-beneficiaries"))+" ")]),a("MultipleItem",{attrs:{label:"beneficiary",field:"full_name",fetchEntity:"persons",fetchParams:e.fetchParams,selectedItems:e.event.beneficiaries,createItemPath:"/beneficiaries/new",formatOptions:e.formatItemOptions,getItemLabel:e.getItemLabel},on:{itemsUpdated:e.updateItems}}),e.showBillingHelp?a("p",{staticClass:"EventStep2__help"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("page-events.beneficiary-billing-help"))+" ")]):e._e()],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep2__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep2__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},hs=[],vs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MultipleItem"},[e._l(e.notSavedSelectedItems,(function(t,s){return a("div",{key:t.id||"unknown-"+s,staticClass:"MultipleItem__item FormField"},[a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "+e._s(s+1)+" ")]),a("div",{staticClass:"MultipleItem__value-field"},[t?a("span",[e._v(e._s(e.getItemLabel(t)||"N/A"))]):a("span",{staticClass:"MultipleItem__value-field--error"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("item-not-found",{item:e.$t(e.label)}))+" ")])]),a("button",{staticClass:"MultipleItem__item-action-btn danger",attrs:{title:e.$t("remove-item",{item:e.$t(e.label)})},on:{click:function(a){a.preventDefault(),e.removeItem(t.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})])])})),e.askNewItem?a("div",{staticClass:"MultipleItem__item FormField"},[a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "+e._s(e.itemsIds.length+1)+" ")]),a("VueSelect",{attrs:{filterable:!1,options:e.selectableOptions},on:{search:e.handleSearch,input:e.insertNewItem},scopedSlots:e._u([{key:"no-options",fn:function(t){var s=t.search;return[0===s.length?a("span",[e._v(" "+e._s(e.$t("start-typing-to-search"))+" ")]):e._e(),s.length>0&&s.length=e.minSearchCharacters?a("div",[a("p",[e._v(e._s(e.$t("no-result-found-try-another-search")))]),a("router-link",{attrs:{to:e.createItemPath,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"success",on:{click:s}},[e._v(" "+e._s(e.$t("create-select-item-label",{label:e.$t(e.label)}))+" ")])]}}],null,!0)})],1):e._e()]}}],null,!1,562345421),model:{value:e.newItem,callback:function(t){e.newItem=t},expression:"newItem"}}),a("button",{staticClass:"MultipleItem__item-action-btn warning",attrs:{title:e.$t("cancel-add-item",{item:e.$t(e.label)})},on:{click:e.cancelNewItem}},[a("i",{staticClass:"fas fa-ban"})])],1):e._e(),a("div",{staticClass:"MultipleItem__actions"},[e.askNewItem?e._e():a("button",{staticClass:"success",on:{click:e.startAddItem}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("add-item",{item:e.$t(e.label)}))+" ")])])],2)},gs=[],bs=(a("841c"),a("4a7a")),ys=a.n(bs),Cs=a("b012"),ws=a.n(Cs),ks={name:"MultipleItem",components:{VueSelect:ys.a},props:{fetchEntity:String,fetchParams:Object,label:String,field:String,selectedItems:Array,createItemPath:String,formatOptions:Function,getItemLabel:Function},data:function(){var e={value:null,label:this.$t("please-choose")};return{itemsIds:this.selectedItems.map((function(e){return e.id})),notSavedSelectedItems:Object(bt["a"])(this.selectedItems),minSearchCharacters:2,askNewItem:!1,fieldOptions:[],newItem:e,defaultItem:e}},computed:{selectableOptions:function(){var e=this;return this.fieldOptions.filter((function(t){return!e.itemsIds.includes(t.value)}))}},methods:{handleSearch:function(e,t){e.length0&&(r+=" − ".concat(i.legal_name)),n&&n.length>0&&(r+=" − ".concat(n)),r},Ts=Ms,Ss={name:"EventStep2",components:{MultipleItem:Ds},props:["event"],data:function(){return{beneficiariesIds:this.event.beneficiaries.map((function(e){return e.id})),showBillingHelp:"none"!==v.billingMode,fetchParams:{tags:[v.beneficiaryTagName]},errors:{}}},mounted:function(){Wa.commit("setIsSaved",!0)},methods:{updateItems:function(e){this.beneficiariesIds=e;var t=this.event.beneficiaries.map((function(e){return e.id})),a=e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})));Wa.commit("setIsSaved",0===a.length)},formatItemOptions:function(e){return S(e,Ts)},getItemLabel:function(e){return Ts(e)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:3})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i={beneficiaries:this.beneficiariesIds};this.$http.put("".concat(s,"/").concat(a),i).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},Fs=Ss,xs=(a("3bec"),Object(ge["a"])(Fs,_s,hs,!1,null,null,null)),Ls=xs.exports,Os=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep3",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("page-events.event-technicians"))+" ")]),a("MultipleItem",{attrs:{label:"technician",field:"full_name",fetchEntity:"persons",fetchParams:e.fetchParams,selectedItems:e.event.assignees,createItemPath:"/technicians/new",formatOptions:e.formatItemOptions,getItemLabel:e.getItemLabel},on:{itemsUpdated:e.updateItems}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep3__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep3__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},js=[],qs={name:"EventStep3",components:{MultipleItem:Ds},props:["event"],data:function(){return{assigneesIds:this.event.assignees.map((function(e){return e.id})),fetchParams:{tags:[v.technicianTagName]},errors:{}}},mounted:function(){Wa.commit("setIsSaved",!0)},methods:{updateItems:function(e){this.assigneesIds=e;var t=this.event.beneficiaries.map((function(e){return e.id})),a=e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})));Wa.commit("setIsSaved",0===a.length)},formatItemOptions:function(e){return S(e,Ts)},getItemLabel:function(e){return Ts(e)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:4})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i={assignees:this.assigneesIds};this.$http.put("".concat(s,"/").concat(a),i).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},As=qs,Ns=(a("02d6"),Object(ge["a"])(As,Os,js,!1,null,null,null)),Is=Ns.exports,Ps=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep4",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("MaterialsList",{attrs:{eventId:e.event.id,initialList:e.event.materials,eventIsBillable:e.event.is_billable},on:{change:e.handleChange}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep4__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep4__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},Bs=[],Rs=(a("45fc"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsList"},[a("header",{staticClass:"MaterialsList__header"},[a("MaterialsFilter",{attrs:{baseRoute:"/events/"+e.eventId},on:{change:e.setFilters}}),a("div",{staticClass:"MaterialsList__header__extra-filters"},[e.hasMaterial?a("div",{staticClass:"MaterialsList__header__extra-filters__filter"},[e._v(" "+e._s(e.$t("page-events.display-only-selected-materials"))+" "),a("SwitchToggle",{attrs:{value:e.showSelectedOnly},on:{input:e.handleToggleSelectedOnly}})],1):e._e()])],1),e.error?a("div",{staticClass:"MaterialsList__error"},[e._v(e._s(e.error))]):e._e(),a("div",{staticClass:"MaterialsList__main"},[e.isLoading?a("div",{staticClass:"MaterialsList__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin fa-2x"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e(),a("v-client-table",{ref:"DataTable",attrs:{name:"materialsListTable",data:e.materials,columns:e.columns,options:e.tableOptions},scopedSlots:e._u([{key:"qty",fn:function(t){return a("div",{},[a("span",{key:"qty-"+t.row.id+"-"+e.renderId},[e._v(" "+e._s(e.getQuantity(t.row.id)>0?e.getQuantity(t.row.id)+" ×":"")+" ")])])}},{key:"remaining_quantity",fn:function(t){return a("div",{},[a("span",{key:"remain-qty-"+t.row.id+"-"+e.renderId,staticClass:"MaterialsList__remaining",class:{"MaterialsList__remaining--zero":t.row.remaining_quantity===e.getQuantity(t.row.id),"MaterialsList__remaining--empty":t.row.remaining_quantity0,expression:"getQuantity(material.row.id) > 0"}],key:"clear-"+t.row.id+"-"+e.renderId,staticClass:"warning",attrs:{type:"button",role:"button"},on:{click:function(a){return e.setQuantity(t.row.id,0)}}},[a("i",{staticClass:"fas fa-backspace"})])])}}])}),!e.isLoading&&e.hasMaterial?a("div",{staticClass:"MaterialsList__add-more"},[e.showSelectedOnly?a("button",{attrs:{type:"button",role:"button"},on:{click:function(t){return e.handleToggleSelectedOnly(!1)}}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-events.display-all-materials-to-add-some"))+" ")]):e._e(),e.showSelectedOnly?e._e():a("button",{attrs:{type:"button",role:"button"},on:{click:function(t){return e.handleToggleSelectedOnly(!0)}}},[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("page-events.display-only-event-materials"))+" ")])]):e._e()],1)])}),Vs=[],Hs=(a("8ba4"),function(e){return"number"===typeof e?!Number.isNaN(e)&&Number.isInteger(parseFloat(e)):/^-?[0-9]+$/.test(e)}),Us=Hs,zs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsFilters"},[e.parks.length>1?a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.park,expression:"filters.park"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.park},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"park",t.target.multiple?a:a[0])},e.changePark]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-parks"))+" ")]),e._l(e.parks,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2):e._e(),a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.category,expression:"filters.category"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.category},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"category",t.target.multiple?a:a[0])},e.changeCategory]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-categories"))+" ")]),e._l(e.categories,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2),a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.subCategory,expression:"filters.subCategory"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.subCategory},attrs:{disabled:0===e.selectedCategory.sub_categories.length},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"subCategory",t.target.multiple?a:a[0])},e.changeSubCategory]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-sub-categories"))+" ")]),e._l(e.selectedCategory.sub_categories,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2),a("VueSelect",{staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":e.filters.tags.length>0},attrs:{options:e.$store.getters["tags/options"],placeholder:e.$t("tags"),multiple:""},on:{input:e.setQueryFilters},model:{value:e.filters.tags,callback:function(t){e.$set(e.filters,"tags",t)},expression:"filters.tags"}}),e.isFilterEmpty?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("page-materials.clear-filters"),expression:"$t('page-materials.clear-filters')"}],staticClass:"MaterialsFilters__reset warning",on:{click:e.clearFilters}},[a("i",{staticClass:"fas fa-backspace"})])],1)},Qs=[],Ys={name:"MaterialsFilters",components:{VueSelect:ys.a},props:{baseRoute:String},data:function(){return{filters:{park:this.$route.query.park||"",category:this.$route.query.category||"",subCategory:this.$route.query.subCategory||"",tags:[]},selectedCategory:{sub_categories:[]}}},computed:{parks:function(){return B.state.parks.list},categories:function(){return B.state.categories.list},isFilterEmpty:function(){return""===this.filters.park&&""===this.filters.category&&""===this.filters.subCategory&&0===this.filters.tags.length}},mounted:function(){B.dispatch("parks/fetch"),B.dispatch("categories/fetch"),B.dispatch("tags/fetch")},watch:{categories:function(){var e=this.filters,t=e.category,a=e.subCategory;a.length>0&&this.categories.length>0&&(this.selectedCategory=this.categories.find((function(e){return e.id===parseInt(t,10)}))||{sub_categories:[]})}},methods:{changePark:function(e){this.filters.park=parseInt(e.currentTarget.value,10)||"",this.setQueryFilters()},changeCategory:function(e){var t=parseInt(e.currentTarget.value,10)||"";this.selectedCategory=t?this.categories.find((function(e){return e.id===t})):{sub_categories:[]},this.filters.category=t,this.filters.subCategory="",this.setQueryFilters()},changeSubCategory:function(e){this.filters.subCategory=parseInt(e.currentTarget.value,10)||"",this.setQueryFilters()},clearFilters:function(){this.selectedCategory={sub_categories:[]},this.filters={park:"",category:"",subCategory:"",tags:[]},this.setQueryFilters()},setQueryFilters:function(){var e=this.filters,t=e.park,a=e.category,s=e.subCategory,i=e.tags,n={park:t||null,category:a||null,subCategory:s||null,tags:i.map((function(e){return e.label}))},r={};t&&(r.park=t),a&&(r.category=a),s&&(r.subCategory=s),i.length>0&&(r.tags=JSON.stringify(i.map((function(e){return e.label})))),this.$router.push({path:this.baseRoute,query:r}),this.$emit("change",n)}}},Gs=Ys,Ws=(a("3cc7"),Object(ge["a"])(Gs,zs,Qs,!1,null,null,null)),Ks=Ws.exports,Js=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsListQuantity"},[a("button",{class:{info:e.quantity>0},attrs:{type:"button",role:"button",disabled:0===e.quantity},on:{click:function(t){return e.$emit("decrement")}}},[a("i",{staticClass:"fas fa-minus"})]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.quantity,expression:"quantity"}],staticClass:"MaterialsListQuantity__number",domProps:{value:e.quantity},on:{input:[function(t){t.target.composing||(e.quantity=t.target.value)},e.updateQuantityDebounced],focus:function(e){return e.target.select()}}}),a("button",{class:{info:e.quantity0;return{error:null,renderId:1,hasMaterial:a,showSelectedOnly:a,isLoading:!0,columns:t,materials:[],tableOptions:{columnsDropdown:!1,preserveState:!1,orderBy:{column:"reference",ascending:!0},initialPage:1,perPage:a?ii:v.defaultPaginationLimit,columnsClasses:{qty:"MaterialsList__qty",reference:"MaterialsList__ref",name:"MaterialsList__name",remaining_quantity:"MaterialsList__remaining",price:"MaterialsList__price",quantity:"MaterialsList__quantity",amount:"MaterialsList__amount",actions:"MaterialsList__actions"},initFilters:this.getFilters(),customFilters:[{name:"park",callback:function(e,t){return e.park_id===t}},{name:"category",callback:function(e,t){return e.category_id===t}},{name:"subCategory",callback:function(e,t){return e.sub_category_id===t}},{name:"tags",callback:function(e,t){return 0===t.length||e.tags.some((function(e){return t.includes(e.name)}))}},{name:"onlySelected",callback:function(t,a){return!a||e.getQuantity(t.id)>0}}]}}},created:function(){si.commit("init",this.initialList)},mounted:function(){this.fetchMaterials()},methods:{fetchMaterials:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,e.$refs.DataTable.setLoadingState(!0),t.next=5,e.$http.get("materials/while-event/".concat(e.eventId));case 5:a=t.sent,s=a.data,e.materials=s,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.showError(t.t0);case 13:return t.prev=13,e.isLoading=!1,e.$refs.DataTable.setLoadingState(!1),t.finish(13);case 17:case"end":return t.stop()}}),t,null,[[0,10,13,17]])})))()},getFilters:function(){var e={onlySelected:this.showSelectedOnly};return this.$route.query.park&&Us(this.$route.query.park)&&(e.park=parseInt(this.$route.query.park,10)),this.$route.query.category&&(e.category=this.$route.query.category),this.$route.query.subCategory&&(e.subCategory=this.$route.query.subCategory),this.$route.query.tags&&(e.tags=JSON.parse(this.$route.query.tags)),e},handleToggleSelectedOnly:function(e){this.$refs.DataTable.setCustomFilters({onlySelected:e}),this.$refs.DataTable.setLimit(e?ii:v.defaultPaginationLimit),this.showSelectedOnly=e},setFilters:function(e){var t=this.showSelectedOnly,a=Object(g["a"])(Object(g["a"])({},e),{},{onlySelected:t});this.$refs.DataTable.setCustomFilters(a)},getQuantity:function(e){return si.getters.getQuantity(e)},getRemainingQuantity:function(e){return e.remaining_quantity-si.getters.getQuantity(e.id)},setQuantity:function(e,t){var a=parseInt(t,10)||0;si.commit("setQuantity",{id:e,quantity:a}),this.handleQuantitiesChange()},decrement:function(e){si.commit("decrement",e),this.handleQuantitiesChange()},increment:function(e){si.commit("increment",e),this.handleQuantitiesChange()},handleQuantitiesChange:function(){this.renderId+=1;var e=Object.keys(si.state.quantities);this.hasMaterial=e.length>0,this.hasMaterial||this.handleToggleSelectedOnly(!1);var t=e.map((function(e){return{id:parseInt(e,10),quantity:si.getters.getQuantity(e)}}));this.$emit("change",t)},formatAmount:function(e){return Ot(e)},showError:function(e){this.isLoading=!1,this.error=e.message}}},ri=ni,oi=(a("d0bc"),Object(ge["a"])(ri,Rs,Vs,!1,null,null,null)),li=oi.exports,ci={name:"EventStep4",components:{MaterialsList:li},props:{event:Object},data:function(){return{materials:this.event.materials.map((function(e){var t=e.id,a=e.pivot;return{id:t,quantity:a.quantity}}))}},methods:{handleChange:function(e){this.materials=e;var t=this.event.materials.map((function(e){var t=e.id,a=e.pivot;return{id:t,quantity:a.quantity}})),a=e.filter((function(e){var a=e.id,s=e.quantity;return 0!==s&&!t.some((function(e){var t=e.id,i=e.quantity;return a===t&&s===i}))})).concat(t.filter((function(t){var a=t.id,s=t.quantity;return!e.some((function(e){var t=e.id,i=e.quantity;return a===t&&s===i}))}))),s=a.length>0;Wa.commit("setIsSaved",!s),s&&this.debouncedSave()},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:5})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},debouncedSave:Object(Cs["debounce"])((function(){this.save({gotoStep:4})}),se),save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i=this.materials.filter((function(e){var t=e.quantity;return t>0}));this.$http.put("".concat(s,"/").concat(a),{materials:i}).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},ui=ci,di=(a("f8c6"),Object(ge["a"])(ui,Ps,Bs,!1,null,null,null)),mi=di.exports,pi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventStep5"},[a("EventOverview",{attrs:{event:e.event}}),e.event.materials.length>0?a("section",{staticClass:"EventStep5__confirmation"},[a("h3",{staticClass:"EventStep5__confirmation__title"},[e._v(" "+e._s(e.$t("page-events.event-confirmation"))+" ")]),a("div",{staticClass:"EventStep5__confirmation__help",class:{"EventStep5__confirmation__help--confirmed":e.event.is_confirmed}},[e.event.is_confirmed?e._e():a("p",[e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("page-events.event-not-confirmed-help"))+" ")]),e.event.is_confirmed?a("p",[e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("page-events.event-confirmed-help"))+" ")]):e._e()]),a("div",{staticClass:"EventStep5__confirmation__actions"},[e.event.is_confirmed?e._e():a("button",{staticClass:"success",on:{click:e.confirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("set-event-confirmed"))+" ")]),e.event.is_confirmed?a("button",{staticClass:"warning",on:{click:e.unconfirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("set-back-event-pending"))+" ")]):e._e(),e.event.beneficiaries.length>0?a("a",{staticClass:"EventStep5__confirmation__actions__print",attrs:{href:e.eventSummaryPdfUrl,target:"_blank"}},[a("i",{staticClass:"fas fa-print"}),e._v(" "+e._s(e.$t("print-summary"))+" ")]):e._e()])]):e._e(),a("section",[a("router-link",{attrs:{to:"/",exact:"",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"EventStep5__back-btn info",on:{click:s}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.back-to-calendar"))+" ")])]}}])})],1)],1)},fi=[],_i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventOverview"},[a("div",{staticClass:"EventOverview__header"},[a("h1",{staticClass:"EventOverview__title"},[e._v(e._s(e.event.title))]),a("h2",{staticClass:"EventOverview__dates-location"},[a("i",{staticClass:"fas fa-map-marker-alt"}),e.event.location?a("span",[e._v(" "+e._s(e.$t("in"))+" "+e._s(e.event.location)+", ")]):e._e(),e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" ")])]),e.event.description?a("p",{staticClass:"EventOverview__description"},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.event.description)+" ")]):e._e(),a("div",{staticClass:"EventOverview__main"},[e.event.beneficiaries.length>0?a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info EventOverview__info--vertical"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"fas fa-address-book"}),e._v(" "+e._s(e.$t("page-events.event-beneficiaries"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[a("ul",{staticClass:"EventOverview__info__list"},e._l(e.event.beneficiaries,(function(t){return a("li",{key:t.id,staticClass:"EventOverview__info__list-item"},[a("router-link",{attrs:{to:"/beneficiaries/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.full_name)+" ")]),t.company?a("router-link",{attrs:{to:"/companies/"+t.company_id,title:e.$t("action-edit")}},[e._v(" ("+e._s(t.company.legal_name)+") ")]):e._e()],1)})),0)])])]):e._e(),e.event.assignees.length>0?a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info EventOverview__info--vertical"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"fas fa-people-carry"}),e._v(" "+e._s(e.$t("page-events.event-technicians"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[a("ul",{staticClass:"EventOverview__info__list"},e._l(e.event.assignees,(function(t){return a("li",{key:t.id,staticClass:"EventOverview__info__list-item"},[a("router-link",{key:t.id,staticClass:"EventOverview__info__link",attrs:{to:"/technicians/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.full_name)+" ")])],1)})),0)])])]):e._e(),a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"far fa-clock"}),e._v(" "+e._s(e.$t("duration"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[e._v(" "+e._s(e.duration)+" "+e._s(e.$t("days"))+" ")])])])]),a("div",{staticClass:"EventOverview__materials"},[a("h3",{staticClass:"EventOverview__materials__title"},[a("i",{staticClass:"fas fa-box"}),e._v(" "+e._s(e.$t("page-events.event-materials"))+" ")]),e.hasMaterials?a("EventMaterials",{attrs:{materials:e.event.materials,start:e.startDate,end:e.endDate,withRentalPrices:e.showBilling&&e.event.is_billable,hideDetails:e.showBilling&&e.event.is_billable}}):e._e()],1),e.showBilling&&e.event.is_billable?a("h3",{staticClass:"EventOverview__billing-title"},[a("i",{staticClass:"fas fa-file-invoice-dollar"}),e._v(" "+e._s(e.$t("billing"))+" ")]):e._e(),a("div",{staticClass:"EventOverview__billing"},[e.hasMaterials&&e.showBilling&&e.event.is_billable?a("EventBilling",{attrs:{beneficiaries:e.event.beneficiaries,lastBill:e.lastBill,materials:e.event.materials,start:e.startDate,end:e.endDate,loading:e.billLoading},on:{discountRateChange:e.handleChangeDiscountRate,createBill:e.handleCreateBill}}):e._e(),e.hasMaterials?a("EventTotals",{attrs:{materials:e.event.materials,withRentalPrices:e.showBilling&&e.event.is_billable,discountRate:e.discountRate,start:e.startDate,end:e.endDate}}):e._e(),e.hasMaterials?e._e():a("p",{staticClass:"EventOverview__materials__empty"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("page-events.warning-no-material"))+" ")])],1),a("div",{staticClass:"EventOverview__missing-materials"},[a("EventMissingMaterials",{attrs:{eventId:e.event.id}})],1)])},hi=[],vi={name:"EventOverview",components:{EventMaterials:Pt,EventMissingMaterials:zt,EventBilling:ca,EventTotals:_a},props:{event:Object},data:function(){var e=Object(x["a"])(this.event.bills,1),t=e[0],a=t?t.discount_rate:0;return{showBilling:"none"!==v.billingMode,lastBill:t?Object(g["a"])(Object(g["a"])({},t),{},{date:r()(t.date)}):null,billLoading:!1,discountRate:a}},computed:{startDate:function(){return r()(this.event.start_date)},endDate:function(){return r()(this.event.end_date)},hasMaterials:function(){return this.event.materials.length>0},fromToDates:function(){return{from:this.startDate.format("L"),to:this.endDate.format("L")}},duration:function(){var e=this.event,t=e.start_date,a=e.end_date;return t&&a?r()(a).diff(t,"days")+1:0}},methods:{handleChangeDiscountRate:function(e){this.discountRate=e},handleCreateBill:function(e){var t=this;this.billLoading=!0;var a=this.event.id;this.$http.post("events/".concat(a,"/bill"),{discountRate:e}).then((function(e){var a=e.data;t.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)})})).catch(this.handleError).finally((function(){t.billLoading=!1}))}}},gi=vi,bi=(a("6aae"),Object(ge["a"])(gi,_i,hi,!1,null,null,null)),yi=bi.exports,Ci={name:"EventStep5",components:{EventOverview:yi},props:{event:Object},data:function(){return{isConfirming:!1}},computed:{eventSummaryPdfUrl:function(){var e=v.baseUrl,t=this.event||{id:null},a=t.id;return"".concat(e,"/events/").concat(a,"/pdf")}},methods:{confirmEvent:function(){this.setEventConfirmation(!0)},unconfirmEvent:function(){this.setEventConfirmation(!1)},printEvent:function(){console.log("TODO: PRINT EVENT")},setEventConfirmation:function(e){var t=this,a=this.$props.event.id,s="".concat(this.$route.meta.resource,"/").concat(a);this.isConfirming=!0,this.$http.put(s,{id:a,is_confirmed:e}).then((function(e){var a=e.data;t.$emit("updateEvent",a)})).catch((function(e){t.$emit("error",e)})).finally((function(){t.isConfirming=!1}))}}},wi=Ci,ki=(a("95a4"),Object(ge["a"])(wi,pi,fi,!1,null,null,null)),$i=ki.exports,Ei={name:"Event",components:{Help:ze,Breadcrumb:ts,MiniSummary:os,EventStep1:fs,EventStep2:Ls,EventStep3:Is,EventStep4:mi,EventStep5:$i},data:function(){var e=this.$store.state.auth.user;return{help:"page-events.help-edit",error:null,isLoading:!1,steps:[{id:1,name:this.$t("page-events.event-informations"),fields:["title","start_date","end_date"]},{id:2,name:this.$t("page-events.event-beneficiaries"),fields:["beneficiaries"]},{id:3,name:this.$t("page-events.event-technicians"),fields:["assignees"]},{id:4,name:this.$t("page-events.event-materials"),fields:["materials"]},{id:5,name:this.$t("page-events.event-summary"),fields:["none"]}],currentStep:1,event:{id:this.$route.params.id||null,title:"",start_date:this.$route.query.startDate||"",end_date:"",location:"",description:"",is_confirmed:!1,user_id:e.id,is_billable:!0,beneficiaries:[],technicians:[],materials:[]}}},mounted:function(){this.getEventData(),Wa.commit("reset")},methods:{getEventData:function(){var e=this,t=this.event.id;if(t&&"new"!==t){this.startLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setEventData(a,{from:"get"}),e.stopLoading()})).catch(this.displayError)}},setEventData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:"save"};"get"===t.from?this.help="page-events.help-edit":this.help={type:"success",text:"page-events.saved"},this.error=null,this.isLoading=!1,this.event=e,B.commit("setPageSubTitle",this.event.title),Wa.commit("init",this.event)},openStep:function(e){this.currentStep=e},startLoading:function(){this.isLoading=!0},stopLoading:function(){this.isLoading=!1},displayError:function(e){this.error=e,this.isLoading=!1}}},Di=Ei,Mi=(a("b0bc"),Object(ge["a"])(Di,za,Qa,!1,null,null,null)),Ti=Mi.exports,Si=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Users"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/users/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Users__create success",on:{click:s}},[a("i",{staticClass:"fas fa-user-plus"}),e._v(" "+e._s(e.$t("page-users.action-add"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view"},[a("v-server-table",{ref:"DataTable",attrs:{name:"UsersTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"pseudo",fn:function(t){return a("div",{},[a("i",{staticClass:"fas",class:t.row.id===e.currentUserId?"fa-user-circle":"fa-user"}),e._v(" "+e._s(t.row.pseudo)+" ")])}},{key:"full_name",fn:function(t){return a("div",{},[t.row.person?a("span",[e._v(" "+e._s(t.row.person.first_name)+" "+e._s(t.row.person.last_name)+" ")]):a("span",{staticClass:"Users__no-profile"},[e._v(" "+e._s(e.$t("page-users.profile-missing-or-deleted"))+" ")])])}},{key:"group_id",fn:function(t){return a("div",{},[e._v(" "+e._s(e.$t(t.row.group_id))+" ")])}},{key:"email",fn:function(t){return a("div",{},[t.row.id!==e.currentUserId?a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(" "+e._s(t.row.email)+" ")]):a("span",[e._v(e._s(t.row.email))])])}},{key:"phone",fn:function(t){return a("div",{},[t.row.person?a("span",[e._v(" "+e._s(t.row.person.phone)+" ")]):e._e()])}},{key:"address",fn:function(t){return a("div",{},[e._v(" "+e._s(t.row.person.street)),a("br"),e._v(" "+e._s(t.row.person.postal_code)+" "+e._s(t.row.person.locality)+" ")])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Users__actions"},[t.row.id===e.currentUserId?a("div",[a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}],null,!0)})],1):a("div",[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/users/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed||"admin"===t.row.group_id?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed&&"admin"!==t.row.group_id?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)])}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Users__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},Fi=[],xi={name:"Users",components:{Help:ze},data:function(){var e=this;return{help:"page-users.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["pseudo","full_name","group_id","email","phone","address","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"pseudo",ascending:!0},initialPage:this.$route.query.page||1,sortable:["pseudo","group_id","email"],columnsDisplay:{address:"mobile"},headings:{pseudo:this.$t("pseudo"),full_name:this.$t("name"),group_id:this.$t("group"),email:this.$t("email"),phone:this.$t("phone"),address:this.$t("address"),actions:""},columnsClasses:{pseudo:"Users__pseudo",full_name:"Users__name",group_id:"Users__group",email:"Users__email",phone:"Users__phone",address:"Users__address"},requestFunction:function(t){e.error=null,e.isLoading=!0;var a=Object(g["a"])(Object(g["a"])({},t),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},computed:{currentUserId:function(){return this.$store.state.auth.user.id}},methods:{deleteUser:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"users",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreUser:function(e){var t=this;Dt.ConfirmRestore(this.$t,"users").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},refreshTable:function(){this.help="page-users.help",this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.error=e,this.isLoading=!1}}},Li=xi,Oi=(a("235b"),Object(ge["a"])(Li,Si,Fi,!1,null,null,null)),ji=Oi.exports,qi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"User"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:e.saveUser}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("connexion-infos"))+" ")]),a("FormField",{attrs:{name:"pseudo",label:"pseudo",required:"",errors:e.errors.pseudo},model:{value:e.user.pseudo,callback:function(t){e.$set(e.user,"pseudo",t)},expression:"user.pseudo"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",required:"",errors:e.errors.email},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}}),e.user.id?e._e():a("FormField",{attrs:{name:"password",label:"password",type:"password",required:"",errors:e.errors.password},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}}),a("FormField",{attrs:{name:"group_id",label:"group",type:"select",required:"",options:e.groupOptions,errors:e.errors.group_id},model:{value:e.user.group_id,callback:function(t){e.$set(e.user,"group_id",t)},expression:"user.group_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",errors:e.errors.first_name},model:{value:e.user.person.first_name,callback:function(t){e.$set(e.user.person,"first_name",t)},expression:"user.person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",errors:e.errors.last_name},model:{value:e.user.person.last_name,callback:function(t){e.$set(e.user.person,"last_name",t)},expression:"user.person.last_name"}}),a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.user.person.nickname,callback:function(t){e.$set(e.user.person,"nickname",t)},expression:"user.person.nickname"}}),a("FormField",{attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.user.person.phone,callback:function(t){e.$set(e.user.person,"phone",t)},expression:"user.person.phone"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.user.person.street,callback:function(t){e.$set(e.user.person,"street",t)},expression:"user.person.street"}}),a("FormField",{staticClass:"User__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.user.person.postal_code,callback:function(t){e.$set(e.user.person,"postal_code",t)},expression:"user.person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.user.person.locality,callback:function(t){e.$set(e.user.person,"locality",t)},expression:"user.person.locality"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Ai=[],Ni={name:"User",components:{Help:ze,FormField:rt},data:function(){return{help:"page-users.help-edit",error:null,isLoading:!1,user:{id:this.$route.params.id||null,pseudo:"",email:"",password:"",group_id:"member",person:{first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}},errors:{pseudo:null,email:null,password:null,group_id:null,person:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null}},groupOptions:[{value:"admin",label:"admin"},{value:"member",label:"member"},{value:"visitor",label:"visitor"}]}},mounted:function(){this.getUserData()},methods:{getUserData:function(){var e=this,t=this.user.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setUserData(a),e.isLoading=!1})).catch(this.displayError)}},saveUser:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.user.id,s=this.$route.meta.resource,i=this.$http.post,n="users/signup";this.user.id&&(i=this.$http.put,n="".concat(s,"/").concat(a)),i(n,Object(g["a"])({},this.user)).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-users.saved"},t.setUserData(a),setTimeout((function(){t.$router.push("/users")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-users.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-users.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setUserData:function(e){this.user=e,e.person||(this.user.person={first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}),B.commit("setPageSubTitle",this.user.pseudo)}}},Ii=Ni,Pi=(a("50b8"),Object(ge["a"])(Ii,qi,Ai,!1,null,null,null)),Bi=Pi.exports,Ri=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Beneficiaries"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/beneficiaries/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Beneficiaries__create success",on:{click:s}},[a("i",{staticClass:"fas fa-user-plus"}),e._v(" "+e._s(e.$t("page-beneficiaries.action-add"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view"},[a("v-server-table",{ref:"DataTable",attrs:{name:"BeneficiariesTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"company",fn:function(t){return a("div",{},[t.row.company?a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/companies/"+t.row.company.id}},[e._v(" "+e._s(t.row.company.legal_name)+" "),a("i",{staticClass:"fas fa-edit"})]):e._e()],1)}},{key:"email",fn:function(t){return a("div",{},[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])])}},{key:"phone",fn:function(t){return a("div",{},[t.row.phone?a("div",[e._v(" "+e._s(t.row.phone)+" ")]):e._e(),t.row.company?a("div",[e._v(" "+e._s(t.row.company.phone)+" ")]):e._e()])}},{key:"address",fn:function(t){return a("div",{},[t.row.company&&t.row.company.postal_code&&t.row.locality?a("div",[e._v(" "+e._s(t.row.company.street)),a("br"),e._v(" "+e._s(t.row.company.postal_code)+" "+e._s(t.row.company.locality)+" ")]):a("div",[e._v(" "+e._s(t.row.street)),a("br"),e._v(" "+e._s(t.row.postal_code)+" "+e._s(t.row.locality)+" ")])])}},{key:"note",fn:function(t){return a("div",{},[t.row.company?a("pre",[e._v(e._s(t.row.company.note))]):a("pre",[e._v(e._s(t.row.note))])])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Beneficiaries__actions"},[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/beneficiaries/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Beneficiaries__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},Vi=[],Hi={name:"Beneficiaries",components:{Help:ze},data:function(){var e=this;return{help:"page-beneficiaries.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["last_name","first_name","company","email","phone","address","note","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"last_name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["last_name","first_name","company","email"],columnsDisplay:{note:"mobile"},headings:{last_name:this.$t("last-name"),first_name:this.$t("first-name"),company:this.$t("company"),email:this.$t("email"),phone:this.$t("phone"),address:this.$t("address"),note:this.$t("notes"),actions:""},columnsClasses:{company:"Beneficiaries__company",email:"Beneficiaries__email",address:"Beneficiaries__address",note:"Beneficiaries__note"},requestFunction:function(t){e.isLoading=!0,e.error=null;var a=Object(g["a"])(Object(g["a"])({},t),{},{tags:[v.beneficiaryTagName],deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},methods:{deleteBeneficiary:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"beneficiaries",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreBeneficiary:function(e){var t=this;Dt.ConfirmRestore(this.$t,"beneficiaries").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.isLoading=!1,this.error=e}}},Ui=Hi,zi=(a("b574"),Object(ge["a"])(Ui,Ri,Vi,!1,null,null,null)),Qi=zi.exports,Yi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view Beneficiary"},[a("div",{staticClass:"Beneficiary__main"},[a("PersonForm",{attrs:{person:e.person,errors:e.errors,withCompany:""},on:{submit:e.saveBeneficiary}}),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Gi=[],Wi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form PersonForm",attrs:{method:"POST"},on:{submit:e.doSubmit}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",required:"",errors:e.errors.first_name},model:{value:e.person.first_name,callback:function(t){e.$set(e.person,"first_name",t)},expression:"person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",required:"",errors:e.errors.last_name},model:{value:e.person.last_name,callback:function(t){e.$set(e.person,"last_name",t)},expression:"person.last_name"}}),e.withCompany?e._e():a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.person.nickname,callback:function(t){e.$set(e.person,"nickname",t)},expression:"person.nickname"}})],1),e.withCompany?a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("company"))+" ")]),a("div",{staticClass:"PersonForm__company"},[a("FormField",{attrs:{name:"company_id",label:"company",type:"select",options:e.companiesOptions,errors:e.errors.company_id},model:{value:e.person.company_id,callback:function(t){e.$set(e.person,"company_id",t)},expression:"person.company_id"}}),e.person.company_id?a("router-link",{attrs:{to:"/companies/"+e.person.company_id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"PersonForm__company__edit-btn info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("page-companies.edit-btn"))+" ")])]}}],null,!1,770691493)}):e._e()],1),a("router-link",{staticClass:"PersonForm__add-company",attrs:{to:"/companies/new"}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-companies.create-new"))+" ")])],1):e._e(),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("contact"))+" ")]),a("FormField",{staticClass:"PersonForm__phone",attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.person.phone,callback:function(t){e.$set(e.person,"phone",t)},expression:"person.phone"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",errors:e.errors.email},model:{value:e.person.email,callback:function(t){e.$set(e.person,"email",t)},expression:"person.email"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.person.street,callback:function(t){e.$set(e.person,"street",t)},expression:"person.street"}}),a("FormField",{staticClass:"PersonForm__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.person.postal_code,callback:function(t){e.$set(e.person,"postal_code",t)},expression:"person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.person.locality,callback:function(t){e.$set(e.person,"locality",t)},expression:"person.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.person.country_id,callback:function(t){e.$set(e.person,"country_id",t)},expression:"person.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{staticClass:"PersonForm__notes",attrs:{label:"notes",name:"note",type:"textarea",errors:e.errors.note},model:{value:e.person.note,callback:function(t){e.$set(e.person,"note",t)},expression:"person.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-save"}),e._v(" "+e._s(e.$t("save"))+" ")]),a("button",{attrs:{type:"button"},on:{click:e.goBack}},[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("cancel"))+" ")])])])},Ki=[],Ji={name:"PersonForm",components:{FormField:rt},props:{person:Object,errors:Object,withCompany:Boolean},computed:{countriesOptions:function(){return B.getters["countries/options"]},companiesOptions:function(){return B.getters["companies/options"]}},mounted:function(){B.dispatch("countries/fetch"),B.dispatch("companies/fetch")},methods:{doSubmit:function(e){this.$emit("submit",e)},goBack:function(){this.$router.back()}}},Zi=Ji,Xi=(a("704a"),Object(ge["a"])(Zi,Wi,Ki,!1,null,null,null)),en=Xi.exports,tn={name:"Beneficiary",components:{Help:ze,PersonForm:en},data:function(){return{help:"page-beneficiaries.help-edit",error:null,isLoading:!1,person:{id:this.$route.params.id||null,email:"",first_name:"",last_name:"",company_id:"",nickname:"",phone:"",street:"",postal_code:"",locality:"",country_id:"",note:""},errors:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null,note:null}}},mounted:function(){this.getBeneficiaryData()},methods:{getBeneficiaryData:function(){var e=this,t=this.person.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setPerson(a),e.isLoading=!1})).catch(this.displayError)}},saveBeneficiary:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.person.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object(g["a"])({},this.person);a||(r.tags=[v.beneficiaryTagName]),i(n,r).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-beneficiaries.saved"},t.setPerson(a),setTimeout((function(){t.$router.push("/beneficiaries")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-beneficiaries.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-beneficiaries.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setPerson:function(e){this.person=e;var t=e.full_name||"".concat(e.first_name," ").concat(e.last_name);B.commit("setPageSubTitle",t)}}},an=tn,sn=(a("3cfd"),Object(ge["a"])(an,Yi,Gi,!1,null,null,null)),nn=sn.exports,rn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view Company"},[a("div",{staticClass:"Company__main"},[a("CompanyForm",{attrs:{company:e.company,errors:e.errors},on:{submit:e.saveCompany}}),a("div",{staticClass:"Company__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),e.persons.length>0?a("div",{staticClass:"Company__persons"},[a("h4",{staticClass:"Company__persons__title"},[e._v(" "+e._s(e.$t("page-companies.attached-persons"))+" ")]),a("ul",{staticClass:"Company__persons__list"},e._l(e.persons,(function(t){return a("li",{key:t.id,staticClass:"Company__persons__item"},[a("i",{staticClass:"fas fa-user"}),a("router-link",{attrs:{to:"/beneficiaries/"+t.id}},[e._v(" "+e._s(t.full_name)+" ")])],1)})),0)]):e._e()],1)],1)])])},on=[],ln=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form CompanyForm",attrs:{method:"POST"},on:{submit:e.doSubmit}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("informations"))+" ")]),a("FormField",{attrs:{name:"legal_name",label:"legal-name",required:"",errors:e.errors.legal_name},model:{value:e.company.legal_name,callback:function(t){e.$set(e.company,"legal_name",t)},expression:"company.legal_name"}}),a("FormField",{staticClass:"CompanyForm__phone",attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.company.phone,callback:function(t){e.$set(e.company,"phone",t)},expression:"company.phone"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("address"))+" ")]),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.company.street,callback:function(t){e.$set(e.company,"street",t)},expression:"company.street"}}),a("FormField",{staticClass:"CompanyForm__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.company.postal_code,callback:function(t){e.$set(e.company,"postal_code",t)},expression:"company.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.company.locality,callback:function(t){e.$set(e.company,"locality",t)},expression:"company.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.company.country_id,callback:function(t){e.$set(e.company,"country_id",t)},expression:"company.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{staticClass:"CompanyForm__notes",attrs:{label:"notes",name:"note",type:"textarea",errors:e.errors.note},model:{value:e.company.note,callback:function(t){e.$set(e.company,"note",t)},expression:"company.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-save"}),e._v(" "+e._s(e.$t("save"))+" ")]),a("button",{attrs:{type:"button"},on:{click:e.goBack}},[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("cancel"))+" ")])])])},cn=[],un={name:"CompanyForm",components:{FormField:rt},props:["company","errors"],computed:{countriesOptions:function(){return B.getters["countries/options"]}},mounted:function(){B.dispatch("countries/fetch")},methods:{doSubmit:function(e){this.$emit("submit",e)},goBack:function(){this.$router.back()}}},dn=un,mn=(a("5af6"),Object(ge["a"])(dn,ln,cn,!1,null,null,null)),pn=mn.exports,fn={name:"Company",components:{Help:ze,CompanyForm:pn},data:function(){return{help:"page-companies.help-edit",error:null,isLoading:!1,company:{id:this.$route.params.id||null,legal_name:"",street:"",postal_code:"",locality:"",country_id:"",phone:"",note:""},persons:[],errors:{legal_name:null,street:null,postal_code:null,locality:null,country_id:null,phone:null}}},mounted:function(){this.getCompanyData(),this.getCompanyPersons()},methods:{getCompanyData:function(){var e=this,t=this.company.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setCompany(a),e.isLoading=!1})).catch(this.displayError)}},getCompanyPersons:function(){var e=this,t=this.company.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t,"/persons")).then((function(t){var a=t.data;e.persons=a.data,e.isLoading=!1})).catch(this.displayError)}},saveCompany:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.company.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object(g["a"])({},this.company);a||(r.tags=[v.beneficiaryTagName]),i(n,r).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-companies.saved"},t.setCompany(a),B.dispatch("companies/refresh"),setTimeout((function(){t.$router.back()}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-companies.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-companies.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setCompany:function(e){this.company=e,B.commit("setPageSubTitle",e.legal_name)}}},_n=fn,hn=(a("a993"),Object(ge["a"])(_n,rn,on,!1,null,null,null)),vn=hn.exports,gn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Materials"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/materials/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Materials__create success",on:{click:s}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-materials.action-add"))+" ")])]}}])}),a("router-link",{attrs:{to:"/attributes",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{on:{click:s}},[a("i",{staticClass:"fas fa-cog"}),e._v(" "+e._s(e.$t("page-materials.manage-attributes"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view Materials__main-view"},[a("div",{staticClass:"Materials__filters"},[a("MaterialsFilters",{attrs:{baseRoute:"/materials"},on:{change:e.refreshTableAndPagination}}),a("div",{staticClass:"Materials__quantities-date"},[null===e.dateForQuantities?a("button",{staticClass:"Materials__quantities-date__button",on:{click:e.showQuantityAtDateModal}},[e._v(" "+e._s(e.$t("page-materials.display-quantities-at-date"))+" ")]):a("div",{staticClass:"Materials__quantities-date__displayed"},[a("p",{staticClass:"Materials__quantities-date__label"},[e._v(" "+e._s(e.$t("page-materials.remaining-quantities-on-date",{date:e.dateForQuantities.format("LL")}))+" ")]),a("button",{staticClass:"Materials__quantities-date__button warning",on:{click:e.removeDateForQuantities}},[e._v(" "+e._s(e.$t("reset-date"))+" ")])])])],1),a("v-server-table",{ref:"DataTable",attrs:{name:"materialsTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"park",fn:function(t){return a("div",{},[e._v(" "+e._s(e.getParkName(t.row.park_id))+" ")])}},{key:"category",fn:function(t){return a("div",{},[a("i",{staticClass:"fas fa-folder-open"}),e._v(" "+e._s(e.getCategoryName(t.row.category_id))+" "),t.row.sub_category_id?a("div",[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.getSubCategoryName(t.row.sub_category_id))+" ")]):e._e()])}},{key:"rental_price",fn:function(t){return a("div",{},[e._v(" "+e._s(e.formatAmount(t.row.rental_price))+" ")])}},{key:"replacement_price",fn:function(t){return a("div",{},[e._v(" "+e._s(e.formatAmount(t.row.replacement_price))+" ")])}},{key:"tags",fn:function(t){return a("div",{staticClass:"Materials__tags-list",attrs:{role:"button"},on:{click:function(a){return e.setTags(t.row)}}},[a("MaterialTags",{attrs:{tags:t.row.tags}}),0!==t.row.tags.length||e.isTrashDisplayed?e._e():a("span",{staticClass:"Materials__add-tags"},[e._v(" "+e._s(e.$t("add-tags"))+" ")])],1)}},{key:"actions",fn:function(t){return a("div",{staticClass:"Materials__actions"},[a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-view"),expression:"$t('action-view')"}],attrs:{to:"/materials/"+t.row.id+"/view",custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button success",on:{click:t}},[a("i",{staticClass:"fas fa-eye"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/materials/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Materials__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},bn=[],yn=(a("a434"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"PromptDate"},[a("div",{staticClass:"PromptDate__header"},[a("h2",{staticClass:"PromptDate__header__title"},[e._v(" "+e._s(e.title)+" ")]),a("button",{staticClass:"PromptDate__header__btn-close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])]),a("div",{staticClass:"PromptDate__main"},[a("Datepicker",{staticClass:"PromptDate__datepicker",attrs:{value:e.currentDate,language:e.datepickerLang,format:e.formatDate,placeholder:e.$t(e.placeholder),"input-class":"PromptDate__datepicker__input","monday-first":""},on:{input:e.handleChange}})],1),a("hr"),a("div",{staticClass:"PromptDate__footer"},[a("button",{staticClass:"success",on:{click:e.handleSubmit}},[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("choose-date"))+" ")]),a("button",{on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.$t("close"))+" ")])])])}),Cn=[],wn={name:"PromptDate",components:{Datepicker:Ge["a"]},props:{title:String,defaultDate:[String,Date],format:String,placeholder:String},data:function(){return{currentDate:this.defaultDate,datepickerLang:We[B.state.i18n.locale]}},methods:{formatDate:function(e){return this.format||r()(e).format("LL")},handleChange:function(e){this.currentDate=e},handleSubmit:function(){this.$emit("close",{date:this.currentDate})}}},kn=wn,$n=(a("b81d"),Object(ge["a"])(kn,yn,Cn,!1,null,null,null)),En=$n.exports,Dn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"AssignTags"},[a("Header",{attrs:{title:e.title},on:{close:function(t){return e.$emit("close")}}}),a("div",{staticClass:"AssignTags__content"},[a("p",{staticClass:"AssignTags__help"},[e._v(e._s(e.$t("choose-tags-below")))]),a("div",{staticClass:"AssignTags__form"},[a("VueSelect",{attrs:{options:e.$store.getters["tags/options"],"close-on-select":!1,multiple:""},model:{value:e.tags,callback:function(t){e.tags=t},expression:"tags"}}),a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("remove-all-tags"),expression:"$t('remove-all-tags')"}],staticClass:"AssignTags__form__remove-all",on:{click:e.removeAll}},[a("i",{staticClass:"fas fa-backspace"})])],1)]),a("div",{staticClass:"AssignTags__actions"},[e.error?a("p",{staticClass:"AssignTags__error"},[e._v(e._s(e.error))]):e._e(),a("button",{staticClass:"success",on:{click:e.save}},[e.isLoading?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isLoading?a("span",[e._v(e._s(e.$t("saving")))]):a("span",[e._v(e._s(e.$t("save")))])]),a("button",{on:{click:function(t){return e.$emit("close")}}},[e._v(" "+e._s(e.$t("cancel"))+" ")])])],1)},Mn=[],Tn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"AssignTagsHeader"},[a("h4",{staticClass:"AssignTagsHeader__title"},[a("i",{staticClass:"fas fa-tags"}),e._v(" "+e._s(e.title)+" ")]),a("button",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])])},Sn=[],Fn={name:"AssignTagsHeader",props:["title"]},xn=Fn,Ln=(a("56e7"),Object(ge["a"])(xn,Tn,Sn,!1,null,null,null)),On=Ln.exports,jn={name:"AssignTags",components:{Header:On,VueSelect:ys.a},props:["entity","id","name","initialTags"],data:function(){return{isLoading:!1,title:this.$t("entity-name-tags",{entityName:this.name||""}),tags:this.initialTags?this.initialTags.map((function(e){var t=e.id,a=e.name;return{label:a,value:t}})):[],error:null}},methods:{save:function(){var e=this;this.isLoading=!0;var t=this.tags.map((function(e){return e.label}));this.$http.put("".concat(this.entity,"/").concat(this.id),{tags:t}).then((function(){e.$emit("saved"),e.$emit("close")})).catch((function(t){if(t.response){var a=t.response.data.error.message;e.error=a}else e.error=t})).finally((function(){e.isLoading=!1}))},removeAll:function(){this.tags=[]}}},qn=jn,An=(a("4a4d"),Object(ge["a"])(qn,Dn,Mn,!1,null,null,null)),Nn=An.exports,In=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"MaterialTags"},e._l(e.tags,(function(t){return a("li",{key:t.id,staticClass:"MaterialTags__item"},[a("i",{staticClass:"fas fa-tag"}),e._v(" "+e._s(t.name)+" ")])})),0)},Pn=[],Bn={name:"MaterialTags",props:{tags:Array}},Rn=Bn,Vn=(a("3da3"),Object(ge["a"])(Rn,In,Pn,!1,null,null,null)),Hn=Vn.exports,Un={name:"Materials",components:{Help:ze,MaterialsFilters:Ks,MaterialTags:Hn},data:function(){var e=this,t=["reference","name","description","park","category","rental_price","replacement_price","stock_quantity","out_of_order_quantity","tags","actions"];"none"===v.billingMode&&(t=t.filter((function(e){return"rental_price"!==e})));var a=t.findIndex((function(e){return"stock_quantity"===e}));return{help:"page-materials.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,quantityColumnIndex:a,dateForQuantities:null,columns:t,options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["reference","name","description","rental_price","replacement_price","stock_quantity","out_of_order_quantity"],columnsDisplay:{park:"mobile",description:"mobile",replacement_price:"mobile",out_of_order_quantity:"mobile"},headings:{reference:this.$t("ref"),name:this.$t("name"),description:this.$t("description"),park:this.$t("park"),category:this.$t("category"),rental_price:this.$t("rent-price"),replacement_price:this.$t("repl-price"),stock_quantity:this.$t("quantity"),remaining_quantity:this.$t("remaining-quantity"),out_of_order_quantity:this.$t("quantity-out-of-order"),tags:this.$t("tags"),actions:""},columnsClasses:{reference:"Materials__ref",name:"Materials__name",park:"Materials__park",category:"Materials__category",description:"Materials__description",rental_price:"Materials__rental-price",replacement_price:"Materials__replacement-price",stock_quantity:"Materials__quantity",remaining_quantity:"Materials__remaining-quantity",out_of_order_quantity:"Materials__quantity-out",tags:"Materials__tags"},requestFunction:function(t){e.isLoading=!0;var a=e.getFilters(),s=Object(g["a"])(Object(g["a"])(Object(g["a"])({},t),a),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get("materials",{params:s}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},mounted:function(){B.dispatch("categories/fetch"),B.dispatch("tags/fetch")},methods:{getParkName:function(e){return B.getters["parks/parkName"](e)||"--"},getCategoryName:function(e){return B.getters["categories/categoryName"](e)},getSubCategoryName:function(e){return B.getters["categories/subCategoryName"](e)},getFilters:function(){var e={};return this.$route.query.park&&(e.park=this.$route.query.park),this.$route.query.category&&(e.category=this.$route.query.category),this.$route.query.subCategory&&(e.subCategory=this.$route.query.subCategory),this.$route.query.tags&&(e.tags=JSON.parse(this.$route.query.tags)),this.dateForQuantities&&(e.dateForQuantities=this.dateForQuantities.format("YYYY-MM-DD")),e},deleteMaterial:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"materials",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("materials/".concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreMaterial:function(e){var t=this;Dt.ConfirmRestore(this.$t,"materials").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("materials/restore/".concat(e)).then(t.refreshTable).catch(t.showError))}))},setTags:function(e){var t=this,a=e.id,s=e.name,i=e.tags;if(!this.isTrashDisplayed){var n=Object(g["a"])(Object(g["a"])({},je),{},{width:600,draggable:!0,clickToClose:!1});this.$modal.show(Nn,{entity:"materials",id:a,name:s,initialTags:i},n,{"before-close":function(){t.refreshTable()}})}},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.getData()},refreshTableAndPagination:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTableAndPagination()},showError:function(e){this.isLoading=!1,this.error=e},formatAmount:function(e){return null!==e?Ot(e):""},showQuantityAtDateModal:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.dateForQuantities){t.next=2;break}return t.abrupt("return");case 2:a=Object(g["a"])(Object(g["a"])({},je),{},{width:600,draggable:!0,clickToClose:!1}),e.$modal.show(En,{title:e.$t("page-materials.display-quantities-at-date"),defaultDate:new Date},a,{"before-close":function(t){var a=t.params;a&&(e.dateForQuantities=r()(a.date),e.refreshTable(),e.columns.splice(e.quantityColumnIndex,1,"remaining_quantity"))}});case 4:case"end":return t.stop()}}),t)})))()},removeDateForQuantities:function(){this.dateForQuantities=null,this.columns.splice(this.quantityColumnIndex,1,"stock_quantity"),this.refreshTable()}}},zn=Un,Qn=(a("0e0d"),Object(ge["a"])(zn,gn,bn,!1,null,null,null)),Yn=Qn.exports,Gn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Material"},[a("form",{key:e.entitiesState,staticClass:"Form Form--fixed-actions",attrs:{method:"POST"},on:{submit:e.saveMaterial}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"name",label:"name",required:"",errors:e.errors.name},model:{value:e.material.name,callback:function(t){e.$set(e.material,"name",t)},expression:"material.name"}}),a("FormField",{staticClass:"Material__ref",attrs:{name:"reference",label:"reference",required:"",errors:e.errors.reference},model:{value:e.material.reference,callback:function(t){e.$set(e.material,"reference",t)},expression:"material.reference"}}),a("FormField",{attrs:{name:"park_id",label:"park",type:"select",required:"",options:e.parksOptions,errors:e.errors.park_id},model:{value:e.material.park_id,callback:function(t){e.$set(e.material,"park_id",t)},expression:"material.park_id"}}),a("FormField",{attrs:{name:"category_id",label:"category",type:"select",required:"",options:e.categoriesOptions,errors:e.errors.category_id},on:{change:e.handleCategoryChange},model:{value:e.material.category_id,callback:function(t){e.$set(e.material,"category_id",t)},expression:"material.category_id"}}),a("FormField",{attrs:{name:"sub_category_id",label:"sub-category",type:"select",options:e.subCategoriesOptions,errors:e.errors.sub_category_id},model:{value:e.material.sub_category_id,callback:function(t){e.$set(e.material,"sub_category_id",t)},expression:"material.sub_category_id"}}),a("FormField",{directives:[{name:"show",rawName:"v-show",value:e.showBilling,expression:"showBilling"}],staticClass:"Material__price",attrs:{name:"rental_price",label:"rental-price",type:"number",addon:e.currency,required:"",errors:e.errors.rental_price},on:{input:e.updateRentalPrice},model:{value:e.material.rental_price,callback:function(t){e.$set(e.material,"rental_price",t)},expression:"material.rental_price"}}),a("FormField",{staticClass:"Material__quantity",attrs:{name:"stock_quantity",label:"quantity",type:"number",step:1,required:"",errors:e.errors.stock_quantity},model:{value:e.material.stock_quantity,callback:function(t){e.$set(e.material,"stock_quantity",t)},expression:"material.stock_quantity"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("extra-infos"))+" ")]),a("FormField",{attrs:{name:"description",label:"description",type:"textarea",errors:e.errors.description},model:{value:e.material.description,callback:function(t){e.$set(e.material,"description",t)},expression:"material.description"}}),a("FormField",{staticClass:"Material__price",attrs:{name:"replacement_price",label:"replacement-price",type:"number",addon:e.currency,errors:e.errors.replacement_price},model:{value:e.material.replacement_price,callback:function(t){e.$set(e.material,"replacement_price",t)},expression:"material.replacement_price"}}),a("FormField",{staticClass:"Material__quantity",attrs:{name:"out_of_order_quantity",label:"quantity-out-of-order",type:"number",step:1,errors:e.errors.out_of_order_quantity},model:{value:e.material.out_of_order_quantity,callback:function(t){e.$set(e.material,"out_of_order_quantity",t)},expression:"material.out_of_order_quantity"}}),a("FormField",{attrs:{name:"note",label:"notes",type:"textarea",errors:e.errors.note},model:{value:e.material.note,callback:function(t){e.$set(e.material,"note",t)},expression:"material.note"}})],1),e.showBilling?a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("billing-infos"))+" ")]),a("FormField",{attrs:{name:"is_discountable",label:"discountable",type:"switch",errors:e.errors.is_discountable},model:{value:e.material.is_discountable,callback:function(t){e.$set(e.material,"is_discountable",t)},expression:"material.is_discountable"}}),a("FormField",{attrs:{name:"is_hidden_on_bill",disabled:e.material.rental_price>0,disabledReason:e.$t("price-must-be-zero"),label:"hidden-on-bill",type:"switch",errors:e.errors.is_hidden_on_bill},model:{value:e.material.is_hidden_on_bill,callback:function(t){e.$set(e.material,"is_hidden_on_bill",t)},expression:"material.is_hidden_on_bill"}})],1):e._e(),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("special-attributes"))+" ")]),0===e.extraAttributes.length?a("p",{staticClass:"Material__no-attribute-help"},[e._v(" "+e._s(e.$t("page-attributes.no-attribute-yet"))+" ")]):e._e(),e.extraAttributes.length>0?a("div",{staticClass:"Material__attributes"},e._l(e.extraAttributes,(function(t){return a("FormField",{key:t.id,attrs:{name:t.name,label:t.name,addon:t.unit,type:e.getAttributeType(t.type),datepickerOptions:{format:"dd/MM/yyyy"}},on:{change:e.handleAttributeChange},model:{value:e.materialAttributes[t.id],callback:function(a){e.$set(e.materialAttributes,t.id,a)},expression:"materialAttributes[extraAttribute.id]"}})})),1):e._e(),a("router-link",{staticClass:"Material__modify-attribute-link",attrs:{to:"/attributes"}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-attributes.add-attributes"))+" ")])],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Wn=[],Kn=a("ade3"),Jn={name:"Material",components:{Help:ze,FormField:rt},data:function(){var e="none"!==v.billingMode;return{help:"page-materials.help-edit",error:null,isLoading:!1,extraAttributes:[],showBilling:e,material:{id:this.$route.params.id||null,name:"",reference:"",park_id:"",category_id:"",rental_price:e?"":0,stock_quantity:"1",description:"",sub_category_id:"",replacement_price:"",out_of_order_quantity:"0",note:"",is_hidden_on_bill:!1,is_discountable:!0,attributes:[]},materialAttributes:{},errors:{name:null,reference:null,park_id:null,category_id:null,rental_price:null,stock_quantity:null},currency:v.currency.symbol,subCategoriesOptions:[{value:"",label:this.$t("please-choose")}]}},computed:{entitiesState:function(){var e=B.state,t=e.parks,a=e.categories;return t.isFetched&&a.isFetched?"ready":"fetching"},parksOptions:function(){return B.getters["parks/options"]},firstPark:function(){return B.getters["parks/firstPark"]},categoriesOptions:function(){return B.getters["categories/options"]}},mounted:function(){B.dispatch("parks/fetch"),B.dispatch("categories/fetch"),this.fetchMaterial(),this.setDefaultPark()},watch:{firstPark:function(){this.setDefaultPark()}},methods:{fetchMaterial:function(){var e=this,t=this.material.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setMaterialData(a),e.fetchAttributes(),e.isLoading=!1})).catch(this.displayError)}else this.fetchAttributes()},setDefaultPark:function(){var e;null===this.material.id&&(this.material.park_id=(null===(e=this.firstPark)||void 0===e?void 0:e.id)||"")},fetchAttributes:function(){var e=this;this.extraAttributes=[];var t=this.material.category_id;t&&this.$http.get("attributes?category=".concat(t)).then((function(t){var a=t.data;e.extraAttributes=a})).catch(this.displayError)},getAttributeType:function(e){switch(e){case"integer":case"float":return"number";case"boolean":return"switch";case"date":return"date";default:return"text"}},handleAttributeChange:function(e){var t=e.field,a=e.newValue,s=this.extraAttributes.find((function(e){return e.name===t}));s&&(this.materialAttributes=Object(g["a"])(Object(g["a"])({},this.materialAttributes),{},Object(Kn["a"])({},s.id,a)))},saveMaterial:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.material.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object.keys(this.materialAttributes).map((function(e){return{id:e,value:t.materialAttributes[e]}})),o=Object(g["a"])(Object(g["a"])({},this.material),{},{attributes:r});i(n,o).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-materials.saved"},t.setMaterialData(a),setTimeout((function(){t.$router.push("/materials/".concat(a.id,"/view"))}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-materials.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-materials.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setMaterialData:function(e){this.material=e,B.commit("setPageSubTitle",this.material.name),this.updateSubCategories(),this.setMaterialAttributes()},updateRentalPrice:function(){this.material.rental_price>0&&(this.material.is_hidden_on_bill=!1)},handleCategoryChange:function(){this.fetchAttributes(),this.updateSubCategories()},updateSubCategories:function(){var e=this,t=B.state.categories.list,a=t.find((function(t){return parseInt(t.id,10)===parseInt(e.material.category_id,10)}));a&&(this.subCategoriesOptions=S(a.sub_categories,null,this.$t("please-choose")),this.refreshSubCategorySelect())},setMaterialAttributes:function(){var e=this;this.materialAttributes={},this.material.attributes.forEach((function(t){e.materialAttributes[t.id]=t.value}))},refreshSubCategorySelect:function(){var e=this,t=parseInt(this.material.sub_category_id,10)||"";if(t){var a=this.subCategoriesOptions.find((function(e){return e.value===t}));a&&(this.material.sub_category_id="",setTimeout((function(){e.material.sub_category_id=t}),0))}}}},Zn=Jn,Xn=(a("4863"),Object(ge["a"])(Zn,Gn,Wn,!1,null,null,null)),er=Xn.exports,tr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"MaterialView"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),e.isLoading?e._e():a("tabs",{staticClass:"MaterialView__body",attrs:{onSelect:e.onSelectTab,defaultIndex:e.selectedTabIndex}},[a("template",{slot:"infos"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("informations"))+" ")]),a("template",{slot:"documents"},[a("i",{staticClass:"fas fa-file-pdf"}),e._v(" "+e._s(e.$t("documents"))+" ")]),a("tab",{attrs:{"title-slot":"infos"}},[a("Infos",{attrs:{material:e.material}})],1),a("tab",{attrs:{"title-slot":"documents"}},[a("Documents")],1)],2)],1)])])},ar=[],sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewInfos"},[a("section",{staticClass:"MaterialViewInfos__main"},[a("h2",[e._v(" "+e._s(e.material.reference)+" ")]),a("h3",[a("router-link",{attrs:{to:"/materials?"+e.queryStringCategory}},[e._v(" "+e._s(e.categoryName)+" ")]),e.subCategoryName?a("span",[e._v("/")]):e._e(),e.subCategoryName?a("router-link",{attrs:{to:"/materials?"+e.queryStringSubCategory}},[e._v(" "+e._s(e.subCategoryName)+" ")]):e._e(),e._v(" / "+e._s(e.material.name)+" ")],1),a("p",[e._v(e._s(e.material.description))]),a("h3",[e._v(e._s(e.$t("quantities")))]),a("ul",[a("li",{staticClass:"MaterialViewInfos__stock-quantity"},[e._v(" "+e._s(e.$t("stock-items-count",{count:e.material.stock_quantity||0}))+" ")]),e.material.out_of_order_quantity>0?a("li",{staticClass:"MaterialViewInfos__out-of-order"},[e._v(" "+e._s(e.$t("out-of-order-items-count",{count:e.material.out_of_order_quantity||0}))+" ")]):e._e()]),e.showBilling?a("div",{staticClass:"MaterialViewInfos__billing"},[a("h3",[e._v(e._s(e.$t("prices")))]),a("ul",[a("li",{staticClass:"MaterialViewInfos__rental-price"},[e._v(" "+e._s(e.$t("value-per-day",{value:e.rentalPrice}))+" ")]),e.replacementPrice?a("li",[e._v(" "+e._s(e.$t("replacement-price"))+" "+e._s(e.replacementPrice)+" ")]):e._e()]),a("h3",[e._v(e._s(e.$t("billing")))]),e.material.is_hidden_on_bill?a("p",[e._v(" "+e._s(e.$t("material-not-displayed-on-bill"))+" ")]):e._e(),e.material.is_discountable?a("p",[e._v(" "+e._s(e.$t("material-is-discountable"))+" ")]):e._e()]):e._e(),e.material.attributes.length>0?a("Attributes",{attrs:{attributes:e.material.attributes}}):e._e(),e.material.note?a("div",{staticClass:"MaterialViewInfos__notes"},[a("h3",[e._v(e._s(e.$t("notes")))]),a("p",[e._v(e._s(e.material.note))])]):e._e()],1),a("section",{staticClass:"MaterialViewInfos__extras"},[a("div",{staticClass:"MaterialViewInfos__actions"},[a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/materials/"+e.material.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("action-edit"))+" ")])]}}])})],1),a("div",{staticClass:"MaterialViewInfos__categories"},[a("p",[e._v(e._s(e.$t("category"))+": "),a("strong",[e._v(e._s(e.categoryName))])]),e.subCategoryName?a("p",[e._v(" "+e._s(e.$t("sub-category"))+": "),a("strong",[e._v(e._s(e.subCategoryName))])]):e._e()]),a("MaterialTags",{attrs:{tags:e.material.tags}}),a("div",{staticClass:"MaterialViewInfos__dates"},[a("p",[e._v(e._s(e.$t("created-at"))+" "+e._s(e.createDate))]),a("p",[e._v(e._s(e.$t("updated-at"))+" "+e._s(e.updateDate))])])],1)])},ir=[],nr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewInfosAttributes"},[a("h3",[e._v(e._s(e.$t("special-attributes")))]),e.attributes.length>0?a("ul",{staticClass:"MaterialViewInfosAttributes__list"},e._l(e.attributes,(function(t){return a("li",{key:t.id,staticClass:"MaterialViewInfosAttributes__list__item"},[e._v(" "+e._s(t.name)+": "),["boolean","date"].includes(t.type)?e._e():a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(t.value)+" "+e._s(t.unit)+" ")]),"date"===t.type?a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(e.formatDate(t.value))+" ")]):e._e(),"boolean"===t.type?a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(t.value?e.$t("yes"):e.$t("no"))+" ")]):e._e()])})),0):e._e()])},rr=[],or={name:"MaterialViewInfosAttributes",props:{attributes:{required:!0,type:Array}},methods:{formatDate:function(e){return r()(e).format("DD/MM/yyyy")}}},lr=or,cr=(a("f0d4"),Object(ge["a"])(lr,nr,rr,!1,null,null,null)),ur=cr.exports,dr={name:"MaterialViewInfos",components:{Attributes:ur,MaterialTags:Hn},props:{material:{required:!0,type:Object}},data:function(){return{showBilling:"none"!==v.billingMode}},computed:{createDate:function(){var e=this.material.created_at;return e?r()(e).format("L"):null},updateDate:function(){var e=this.material.updated_at;return e?r()(e).format("L"):null},categoryName:function(){var e=this.material.category_id,t=B.getters["categories/categoryName"];return t(e)},subCategoryName:function(){var e=this.material.sub_category_id,t=B.getters["categories/subCategoryName"];return t(e)},rentalPrice:function(){var e=this.material.rental_price;return e?Ot(e):null},replacementPrice:function(){var e=this.material.replacement_price;return e?Ot(e):null},queryStringCategory:function(){return"category=".concat(this.material.category_id)},queryStringSubCategory:function(){return"category=".concat(this.material.category_id,"&subCategory=").concat(this.material.sub_category_id)}}},mr=dr,pr=(a("7f15"),Object(ge["a"])(mr,sr,ir,!1,null,null,null)),fr=pr.exports,_r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewDocuments"},[a("section",{staticClass:"MaterialViewDocuments__main"},[0===e.documents.length?a("p",{staticClass:"MaterialViewDocuments__no-document"},[e._v(" "+e._s(e.$t("page-materials-view.documents.no-document"))+" ")]):e._e(),e.documents.length>0?a("ul",{staticClass:"MaterialViewDocuments__list"},e._l(e.documents,(function(t){return a("DocumentItem",{key:t.id,attrs:{file:t},on:{remove:e.removeDocument}})})),1):e._e(),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("DocumentUpload",{attrs:{materialId:e.materialId},on:{uploadSuccess:e.handleUploadSuccess}})],1)},hr=[],vr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("li",{staticClass:"MaterialViewDocumentsItem",class:{"MaterialViewDocumentsItem--with-link":!!e.file.id}},[a("div",{staticClass:"MaterialViewDocumentsItem__icon"},[e.file.id?a("a",{staticClass:"MaterialViewDocumentsItem__link",attrs:{href:e.fileUrl,target:"_blank",title:e.$t("page-materials-view.documents.click-to-open")}},[a("i",{staticClass:"fas",class:e.iconName})]):a("span",{staticClass:"MaterialViewDocumentsItem__no-link"},[a("i",{staticClass:"fas",class:e.iconName})])]),a("div",{staticClass:"MaterialViewDocumentsItem__name"},[e.file.id?a("a",{staticClass:"MaterialViewDocumentsItem__link",attrs:{href:e.fileUrl,target:"_blank",title:e.$t("page-materials-view.documents.click-to-open")}},[e._v(" "+e._s(e.file.name)+" ")]):a("span",{staticClass:"MaterialViewDocumentsItem__no-link"},[e._v(" "+e._s(e.file.name)+" ")])]),a("div",{staticClass:"MaterialViewDocumentsItem__size"},[e._v(" "+e._s(e.fileSize)+" ")]),a("div",{staticClass:"MaterialViewDocumentsItem__actions"},[a("button",{staticClass:"danger",on:{click:e.handleClickRemove}},[a("i",{staticClass:"fas fa-trash"})])])])},gr=[],br=(a("2ca0"),a("b680"),function(e){if(0===e)return"0 Bytes";var t=1024,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(t)),i=parseFloat((e/Math.pow(t,s)).toFixed(1));return"".concat(i," ").concat(a[s])}),yr=br,Cr=function(e,t){return t.some((function(t){return e.includes(t)}))},wr=Cr,kr={name:"MaterialViewDocumentsItem",props:{file:{type:[File,Object],required:!0}},computed:{fileSize:function(){return yr(this.file.size)},fileUrl:function(){var e=v.baseUrl;return"".concat(e,"/documents/").concat(this.file.id,"/download")},iconName:function(){var e=this.file.type;return"application/pdf"===e?"fa-file-pdf":e.startsWith("image/")?"fa-file-image":e.startsWith("video/")?"fa-file-video":e.startsWith("audio/")?"fa-file-audio":e.startsWith("text/")?"fa-file-alt":wr(e,["zip","octet-stream","x-rar","x-tar","x-7z"])?"fa-file-archive":wr(e,["sheet","excel"])?"fa-file-excel":wr(e,["wordprocessingml.document","msword"])?"fa-file-word":wr(e,["presentation","powerpoint"])?"fa-file-powerpoint":"fa-file"}},methods:{handleClickRemove:function(){this.$emit("remove",this.file)}}},$r=kr,Er=(a("0e63"),Object(ge["a"])($r,vr,gr,!1,null,null,null)),Dr=Er.exports,Mr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"MaterialViewDocumentsUpload",class:{"MaterialViewDocumentsUpload--drag-over":e.isDragging},on:{drop:function(t){return t.preventDefault(),e.addFiles(t)},dragover:function(t){return t.preventDefault(),e.handleDragover(t)},dragleave:function(t){return t.preventDefault(),e.handleDragleave(t)}}},[a("h2",{staticClass:"MaterialViewDocumentsUpload__title"},[e._v(" "+e._s(e.$t("page-materials-view.documents.drag-and-drop-files-here"))+" ")]),a("button",{staticClass:"MaterialViewDocumentsUpload__choose-files info",on:{click:e.openFilesBrowser}},[e._v(" "+e._s(e.$t("page-materials-view.documents.choose-files"))+" ")]),a("ul",{staticClass:"MaterialViewDocumentsUpload__send-list"},e._l(e.files,(function(t){return a("DocumentItem",{key:t.name,attrs:{file:t},on:{remove:e.removeFile}})})),1),e.fileErrors.length>0?a("ul",{staticClass:"MaterialViewDocumentsUpload__file-errors"},e._l(e.fileErrors,(function(t){return a("li",{key:t.fileName,staticClass:"MaterialViewDocumentsUpload__file-errors__item"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(t.fileName)+" → "+e._s(t.message)+" ")])})),0):e._e(),a("div",{staticClass:"MaterialViewDocumentsUpload__actions"},[e.files.length>0?a("button",{staticClass:"MaterialViewDocumentsUpload__actions__send-files success",attrs:{disabled:e.isLoading},on:{click:e.uploadFiles}},[a("i",{staticClass:"fas fa-upload"}),e._v(" "+e._s(e.$t("page-materials-view.documents.send-files",{count:e.files.length},e.files.length))+" ")]):e._e(),a("input",{ref:"chooseFilesButton",staticClass:"MaterialViewDocumentsUpload__actions__file-input",attrs:{type:"file",multiple:""},on:{change:e.addFiles}}),a("Help",{attrs:{message:"",error:e.error,isLoading:e.isLoading}})],1),e.uploadProgress>0?a("Progressbar",{attrs:{percent:e.uploadProgress}}):e._e()],1)},Tr=[],Sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Progressbar"},[a("div",{staticClass:"Progressbar__progress",style:{width:e.percent+"%"}},[e.percent<100?a("span",[e._v(e._s(e.humanPercent)+"%")]):e._e(),100===e.percent?a("span",[e._v(e._s(e.$t("almost-done")))]):e._e()])])},Fr=[],xr={name:"Progressbar",props:{percent:{type:Number,required:!0}},computed:{humanPercent:function(){return Math.round(this.percent)}}},Lr=xr,Or=(a("e3e6"),Object(ge["a"])(Lr,Sr,Fr,!1,null,null,null)),jr=Or.exports,qr={name:"MaterialViewDocumentsUpload",components:{Help:ze,DocumentItem:Dr,Progressbar:jr},props:{materialId:{type:String,required:!0}},data:function(){return{error:null,fileErrors:[],isDragging:!1,isLoading:!1,files:[],uploadProgress:0}},methods:{openFilesBrowser:function(){var e=this.$refs.chooseFilesButton;e.click()},handleDragover:function(){this.isDragging=!0},handleDragleave:function(){this.isDragging=!1},checkFile:function(e){var t=e.type,a=e.size,s=e.name;if(!ie.includes(t))return this.fileErrors.push({fileName:s,message:this.$t("errors.file-type-not-allowed",{type:t})}),!1;if(a>ne)return this.fileErrors.push({fileName:s,message:this.$t("errors.file-size-exceeded",{max:yr(ne)})}),!1;var i=this.files.some((function(e){var t=e.name;return t===s}));return!i||(this.fileErrors.push({fileName:s,message:this.$t("errors.file-already-exists")}),!1)},addFiles:function(e){e.preventDefault(),this.isDragging=!1,this.fileErrors=[],this.error=null;var t=e.dataTransfer?e.dataTransfer.files:e.target.files;if(t&&0!==t.length){var a=Object(bt["a"])(t).filter(this.checkFile);this.files=[].concat(Object(bt["a"])(this.files),Object(bt["a"])(a)).sort((function(e,t){var a=e.name.toLowerCase(),s=t.name.toLowerCase();return as?1:0}))}},removeFile:function(e){this.fileErrors=[],this.files=this.files.filter((function(t){var a=t.name;return a!==e.name}))},uploadFiles:function(){var e=this;this.fileErrors=[],this.error=null,this.isLoading=!0,this.uploadProgress=0;var t=new FormData;this.files.forEach((function(e,a){t.append("file-".concat(a),e)}));var a=function(t){if(t.lengthComputable){var a=t.loaded,s=t.total;e.uploadProgress=a/s*100}};this.$http.post("materials/".concat(this.materialId,"/documents"),t,{onUploadProgress:a}).then((function(){e.isLoading=!1,e.files=[],e.$emit("uploadSuccess"),e.uploadProgress=0})).catch(this.displayError)},displayError:function(e){this.error=e,this.isLoading=!1}}},Ar=qr,Nr=(a("3a4c"),Object(ge["a"])(Ar,Mr,Tr,!1,null,null,null)),Ir=Nr.exports,Pr={name:"MaterialViewDocuments",components:{Help:ze,DocumentItem:Dr,DocumentUpload:Ir},data:function(){return{help:"",error:null,isLoading:!1,materialId:this.$route.params.id,documents:[]}},mounted:function(){this.fetchDocuments()},methods:{fetchDocuments:function(){var e=this;this.isLoading=!0,this.error=null,this.$http.get("materials/".concat(this.materialId,"/documents")).then((function(t){var a=t.data;e.documents=a,e.isLoading=!1})).catch(this.displayError)},handleUploadSuccess:function(){this.help={type:"success",text:"page-materials-view.documents.saved"},this.fetchDocuments()},removeDocument:function(e){var t=this;this.help="",this.error=null,Dt.ConfirmDelete(this.$t,"materials-view.documents",!1).then((function(a){var s=a.value;s&&(t.isLoading=!0,t.$http.delete("documents/".concat(e.id)).then((function(){t.isLoading=!1,t.help={type:"success",text:"page-materials-view.documents.deleted"},t.fetchDocuments()})).catch(t.displayError))}))},displayError:function(e){this.error=e,this.isLoading=!1}}},Br=Pr,Rr=(a("a245"),Object(ge["a"])(Br,_r,hr,!1,null,null,null)),Vr=Rr.exports,Hr={name:"MaterialView",components:{Tabs:St["b"],Tab:St["a"],Help:ze,Infos:fr,Documents:Vr},data:function(){return{help:"",error:null,isLoading:!1,tabsIndexes:["#infos","#documents"],selectedTabIndex:0,material:{id:this.$route.params.id,attributes:[]}}},created:function(){var e=this.$route.hash;e&&this.tabsIndexes.includes(e)&&(this.selectedTabIndex=this.tabsIndexes.findIndex((function(t){return t===e})))},mounted:function(){B.dispatch("categories/fetch"),this.fetchMaterial()},methods:{onSelectTab:function(e,t){this.selectedTabIndex=t,this.$router.push(this.tabsIndexes[t])},fetchMaterial:function(){var e=this,t=this.material.id;this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setMaterialData(a),e.isLoading=!1})).catch(this.displayError)},resetHelpLoading:function(){this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setMaterialData:function(e){this.material=e,B.commit("setPageSubTitle",this.material.name)}}},Ur=Hr,zr=(a("f774"),Object(ge["a"])(Ur,tr,ar,!1,null,null,null)),Qr=zr.exports,Yr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Attributes"},[a("div",{staticClass:"Attributes__header header-page"},[a("button",{staticClass:"info Attributes__back-button",on:{click:e.goBack}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-attributes.go-back-to-material"))+" ")]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Attributes__content"},[a("table",{staticClass:"Attributes__items"},[a("thead",{staticClass:"Attributes__items__header"},[a("tr",[a("th",{staticClass:"Attributes__items__name",attrs:{colspan:"2"}},[e._v(" "+e._s(e.$t("page-attributes.name"))+" ")]),a("th",{staticClass:"Attributes__items__type"},[e._v(" "+e._s(e.$t("page-attributes.type"))+" ")]),a("th",{staticClass:"Attributes__items__unit"},[e._v(" "+e._s(e.$t("page-attributes.unit"))+" ")]),a("th",{staticClass:"Attributes__items__max-length"},[e._v(" "+e._s(e.$t("page-attributes.max-length"))+" ")]),a("th",{staticClass:"Attributes__items__categories",attrs:{colspan:"2"}},[e._v(" "+e._s(e.$t("page-attributes.limited-to-categories"))+" ")])])]),a("tbody",e._l(e.attributes,(function(t){return a("tr",{key:t.id,staticClass:"Attributes__items__line"},[a("td",{staticClass:"Attributes__items__name"},[e.editAttribute===t.id?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.editAttributeName,expression:"editAttributeName"}],attrs:{type:"text"},domProps:{value:e.editAttributeName},on:{input:function(t){t.target.composing||(e.editAttributeName=t.target.value)}}}),e.errors.name?a("div",{staticClass:"Attributes__items__name-error"},[e._v(" "+e._s(e.errors.name[0])+" ")]):e._e()]):a("span",[e._v(e._s(t.name))])]),a("td",{staticClass:"Attributes__items__edit-name"},[e.editAttribute?e._e():a("button",{staticClass:"Attributes__items__edit-name__edit-button info",on:{click:function(a){return e.startEditAttribute(t.id,t.name)}}},[a("i",{staticClass:"fas fa-pen"})]),e.editAttribute===t.id?a("div",[a("button",{on:{click:function(t){return e.cancelAttributeName()}}},[a("i",{staticClass:"fas fa-ban"})]),a("button",{staticClass:"success",on:{click:function(a){return e.saveAttributeName(t.id)}}},[a("i",{staticClass:"fas fa-check"})])]):e._e()]),a("td",{staticClass:"Attributes__items__type"},[e._v(" "+e._s(e.$t("page-attributes.type-"+t.type))+" ")]),a("td",{staticClass:"Attributes__items__unit"},[e._v(" "+e._s(t.unit)+" ")]),a("td",{staticClass:"Attributes__items__max-length"},[e._v(" "+e._s(t.max_length||("string"===t.type?e.$t("page-attributes.no-limit"):""))+" ")]),a("td",{staticClass:"Attributes__items__categories"},[0===t.categories.length?a("span",{staticClass:"Attributes__items__categories__empty"},[e._v(" "+e._s(e.$t("all-categories"))+" ("+e._s(e.$t("not-limited"))+") ")]):e._e(),t.categories.length>0?a("span",[e._v(" "+e._s(t.categories.map((function(e){var t=e.name;return t})).join(", "))+" ")]):e._e()]),a("td",{staticClass:"Attributes__items__delete"},[e.editAttribute?e._e():a("button",{staticClass:"Attributes__items__delete__button danger",class:{"Attributes__items__delete__button--show":e.currentlyDeleting===t.id},on:{click:function(a){return e.deleteAttribute(t.id)}}},[a("i",{staticClass:"fas fa-trash"})])])])})),0)]),e.isAddingMode||0!==e.attributes.length?e._e():a("p",{staticClass:"Attributes__no-data"},[e._v(" "+e._s(e.$t("page-attributes.no-attribute-yet"))+" ")]),a("div",{staticClass:"Attributes__add-item"},[e.isAddingMode?a("AttributeEditForm",{ref:"AttributeEditForm",attrs:{errors:e.errors}}):e._e(),a("div",{staticClass:"Attributes__actions",class:{"Attributes__actions--add":e.isAddingMode}},[e.isAddingMode?a("button",{staticClass:"success",on:{click:e.saveAttribute}},[e._v(" "+e._s(e.$t("save"))+" ")]):e._e(),a("button",{class:{success:!e.isAddingMode},on:{click:e.toggleAddingMode}},[e.isAddingMode?e._e():a("span",[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-attributes.add-btn"))+" ")]),e.isAddingMode?a("span",[e._v(" "+e._s(e.$t("cancel"))+" ")]):e._e()])])],1)])])])},Gr=[],Wr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"AttributeEditForm"},[a("div",{staticClass:"AttributeEditForm__name"},[a("input",{ref:"InputName",staticClass:"AttributeEditForm__input",attrs:{type:"text",placeholder:e.$t("page-attributes.name")}}),e.errors.name?a("div",{staticClass:"AttributeEditForm__error",staticStyle:{"word-break":"break-all"}},[e._v(" "+e._s(e.errors.name[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__type"},[a("select",{ref:"InputType",staticClass:"AttributeEditForm__select",on:{change:e.handleTypeChange}},[a("option",{attrs:{value:"integer"}},[e._v(e._s(e.$t("page-attributes.type-integer")))]),a("option",{attrs:{value:"float"}},[e._v(e._s(e.$t("page-attributes.type-float")))]),a("option",{attrs:{value:"date"}},[e._v(e._s(e.$t("page-attributes.type-date")))]),a("option",{attrs:{value:"string"}},[e._v(e._s(e.$t("page-attributes.type-string")))]),a("option",{attrs:{value:"boolean"}},[e._v(e._s(e.$t("page-attributes.type-boolean")))])]),e.errors.type?a("ul",{staticClass:"AttributeEditForm__error"},e._l(e.errors.type,(function(t){return a("li",{key:t},[e._v(" "+e._s(t)+" ")])})),0):e._e()]),a("div",{staticClass:"AttributeEditForm__unit"},[e.hasUnit?a("input",{ref:"InputUnit",staticClass:"AttributeEditForm__input",attrs:{type:"text",placeholder:e.$t("page-attributes.unit")}}):e._e(),e.errors.unit?a("div",{staticClass:"AttributeEditForm__error"},[e._v(" "+e._s(e.errors.unit[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__max-length"},[e.hasMaxLength?a("input",{ref:"InputMaxLength",staticClass:"AttributeEditForm__input",attrs:{type:"number",placeholder:e.$t("page-attributes.max-length")}}):e._e(),e.errors.max_length?a("div",{staticClass:"AttributeEditForm__error"},[e._v(" "+e._s(e.errors.max_length[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__categories"},e._l(e.categoriesOptions,(function(t){return a("button",{key:t.value,staticClass:"AttributeEditForm__categories__item",class:{"AttributeEditForm__categories__item--selected":e.isSelected(t.value)},on:{click:function(a){return e.toggleCategory(t.value)}}},[e._v(" "+e._s(t.label)+" ")])})),0)])},Kr=[],Jr={name:"AttributeEditForm",props:{errors:Object},data:function(){return{hasUnit:!1,hasMaxLength:!0,categories:[]}},computed:{categoriesOptions:function(){return B.getters["categories/options"].filter((function(e){var t=e.value;return""!==t}))}},mounted:function(){B.dispatch("categories/fetch")},methods:{handleTypeChange:function(e){var t=e.currentTarget.value;this.hasUnit="integer"===t||"float"===t,this.hasMaxLength="string"===t},toggleCategory:function(e){var t=this.categories.findIndex((function(t){return t===e}));-1!==t?this.categories.splice(t,1):this.categories.push(e)},isSelected:function(e){return this.categories.includes(e)},getValues:function(){var e=this.$refs,t=e.InputName,a=e.InputType,s=e.InputUnit,i=e.InputMaxLength,n=t.value,r=a.value,o=s&&s.value||null,l=i&&i.value||null,c=[];return this.categories.length0?a("span",{staticClass:"Parks__total-stock"},[e._v(" ("+e._s(e.$t("stock-items-count",{count:t.row.total_stock_quantity}))+") ")]):e._e(),a("span",{staticClass:"Parks__total-amount"},[e._v(" ("+e._s(e.formatAmount(t.row.total_amount))+") ")])],1)}},{key:"events",fn:function(t){return a("div",{},[e.parksCount>1?a("router-link",{attrs:{to:"/?park="+t.row.id}},[e._v(" "+e._s(e.$t("page-parks.display-events-for-park"))+" ")]):e._e()],1)}},{key:"note",fn:function(t){return a("div",{},[a("pre",[e._v(e._s(t.row.note))])])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Parks__actions"},[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/parks/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deletePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restorePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deletePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Parks__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},xo=[],Lo={name:"Parks",components:{Help:ze},data:function(){var e=this;return{help:"page-parks.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["name","address","opening_hours","totalItems","events","note","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["name"],columnsDisplay:{note:"mobile"},headings:{name:this.$t("name"),address:this.$t("address"),opening_hours:this.$t("opening-hours"),totalItems:this.$t("page-parks.total-items"),events:"",note:this.$t("notes"),actions:""},columnsClasses:{address:"Parks__address",opening_hours:"Parks__opening-hours",events:"Parks__events",note:"Parks__note"},requestFunction:function(t){e.error=null,e.isLoading=!0;var a=Object(g["a"])(Object(g["a"])({},t),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},computed:{parksCount:function(){return B.state.parks.list.length}},methods:{deletePark:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"parks",a).then((function(a){a.value&&t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError)}))},restorePark:function(e){var t=this;Dt.ConfirmRestore(this.$t,"parks").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},formatAmount:function(e){return Ot(e)},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh(),B.dispatch("parks/refresh")},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.isLoading=!1,this.error=e}}},Oo=Lo,jo=(a("0fc2"),Object(ge["a"])(Oo,Fo,xo,!1,null,null,null)),qo=jo.exports,Ao=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Park"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:e.savePark}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"name",label:"name",required:"",errors:e.errors.name},model:{value:e.park.name,callback:function(t){e.$set(e.park,"name",t)},expression:"park.name"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("contact-details"))+" ")]),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.park.street,callback:function(t){e.$set(e.park,"street",t)},expression:"park.street"}}),a("FormField",{staticClass:"Park__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.park.postal_code,callback:function(t){e.$set(e.park,"postal_code",t)},expression:"park.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.park.locality,callback:function(t){e.$set(e.park,"locality",t)},expression:"park.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.park.country_id,callback:function(t){e.$set(e.park,"country_id",t)},expression:"park.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{attrs:{name:"opening_hours",label:"opening-hours",errors:e.errors.opening_hours},model:{value:e.park.opening_hours,callback:function(t){e.$set(e.park,"opening_hours",t)},expression:"park.opening_hours"}}),a("FormField",{attrs:{name:"note",label:"notes",type:"textarea",errors:e.errors.note},model:{value:e.park.note,callback:function(t){e.$set(e.park,"note",t)},expression:"park.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},No=[],Io={name:"Material",components:{Help:ze,FormField:rt},data:function(){return{help:"page-parks.help-edit",error:null,isLoading:!1,park:{id:this.$route.params.id||null,name:"",street:"",postal_code:"",locality:"",country_id:"",note:""},errors:{name:null,street:null,postal_code:null,locality:null,country_id:null}}},computed:{countriesOptions:function(){return B.getters["countries/options"]}},mounted:function(){B.dispatch("countries/fetch"),this.getParkData()},methods:{getParkData:function(){var e=this,t=this.park.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setParkData(a),e.isLoading=!1})).catch(this.displayError)}},savePark:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.park.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a)),i(n,Object(g["a"])({},this.park)).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-parks.saved"},t.setParkData(a),B.dispatch("parks/refresh"),setTimeout((function(){t.$router.push("/parks")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-parks.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-parks.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setParkData:function(e){this.park=e,B.commit("setPageSubTitle",this.park.name)}}},Po=Io,Bo=(a("6e11"),Object(ge["a"])(Po,Ao,No,!1,null,null,null)),Ro=Bo.exports;i["default"].use(X["a"]);var Vo=new X["a"]({mode:"history",routes:[{path:"/login",name:"login",component:Te,meta:{title:"page-login.title",requiresAuth:!1}},{path:"/profile",name:"user-profile",component:ut,meta:{resource:"users",title:"page-profile.title",readableName:"page-profile.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/settings",name:"user-settings",component:ht,meta:{resource:"users",title:"page-settings.title",readableName:"page-settings.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/",name:"calendar",component:Ua,meta:{resource:"events",title:"page-calendar.title",readableName:"page-calendar.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/events/new",name:"addEvent",component:Ti,meta:{resource:"events",title:"page-events.add",readableName:"page-events.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/events/:id",name:"editEvent",component:Ti,meta:{resource:"events",title:"page-events.edit-event",readableName:"page-events.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/users",name:"users",component:ji,meta:{resource:"users",title:"page-users.title",readableName:"page-users.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/users/new",name:"addUser",component:Bi,meta:{resource:"users",title:"page-users.add",readableName:"page-users.add",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/users/:id",name:"editUser",component:Bi,meta:{resource:"users",title:"page-users.edit-title",readableName:"page-users.edit",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/beneficiaries",name:"beneficiaries",component:Qi,meta:{resource:"persons",title:"page-beneficiaries.title",readableName:"page-beneficiaries.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/beneficiaries/new",name:"addBeneficiary",component:nn,meta:{resource:"persons",title:"page-beneficiaries.add",readableName:"page-beneficiaries.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/beneficiaries/:id",name:"editBeneficiary",component:nn,meta:{resource:"persons",title:"page-beneficiaries.edit-title",readableName:"page-beneficiaries.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/companies/new",name:"addCompany",component:vn,meta:{resource:"companies",title:"page-companies.add",readableName:"page-companies.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/companies/:id",name:"editCompany",component:vn,meta:{resource:"companies",title:"page-companies.edit-title",readableName:"page-companies.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials",name:"materials",component:Yn,meta:{resource:"materials",title:"page-materials.title",readableName:"page-materials.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/new",name:"addMaterial",component:er,meta:{resource:"materials",title:"page-materials.add",readableName:"page-materials.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/:id",name:"editMaterial",component:er,meta:{resource:"materials",title:"page-materials.edit",readableName:"page-materials.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/:id/view",name:"viewMaterial",component:Qr,meta:{resource:"materials",title:"page-materials-view.title",readableName:"page-materials.view",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/attributes",name:"attributes",component:io,meta:{resource:"attributes",title:"page-attributes.title",readableName:"page-attributes.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/categories",name:"categories",component:So,meta:{resource:"categories",title:"page-categories.title",readableName:"page-categories.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/technicians",name:"technicians",component:vo,meta:{resource:"persons",title:"page-technicians.title",readableName:"page-technicians.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/technicians/new",name:"addTechnician",component:ko,meta:{resource:"persons",title:"page-technicians.add",readableName:"page-technicians.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/technicians/:id",name:"editTechnician",component:ko,meta:{resource:"persons",title:"page-technicians.edit-title",readableName:"page-technicians.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/tags",name:"tags",component:uo,meta:{resource:"tags",title:"page-tags.title",readableName:"page-tags.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks",name:"parks",component:qo,meta:{resource:"parks",title:"page-parks.title",readableName:"page-parks.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks/new",name:"addPark",component:Ro,meta:{resource:"parks",title:"page-parks.add",readableName:"page-parks.add",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks/:id",name:"editPark",component:Ro,meta:{resource:"parks",title:"page-parks.edit-title",readableName:"page-parks.edit",requiresAuth:!0,requiresGroups:["admin"]}},{path:"*",redirect:"/"}]});Vo.beforeEach((function(e,t,a){var s=!1,n=e.matched.reduce((function(e,t){var a=t.meta;return null==a.requiresAuth?e:!!a.requiresAuth||!(null===e&&!a.requiresAuth)&&e}),null),r=e.matched[0].meta,o=r.title,l=r.requiresGroups;if(o){var c=i["default"].i18n.translate(o);document.title="".concat(c," − ").concat(ee)}else document.title=ee;var u=B.getters["auth/isLogged"];if(!n||u){if(!n)return!1===n&&u?void a("/"):void a();if(l&&l.length){if(!u)return void a("/login");var d=B.state.auth.user.groupId;l.includes(d)||(s=!0)}if(s)return window.localStorage.removeItem("lastVisited"),void B.dispatch("auth/logout").then((function(){a({path:"/login",hash:"restricted"})}));a()}else a("/login")})),Vo.afterEach((function(e){var t=e.name,a=e.fullPath,s=e.matched;if("login"!==t){window.localStorage.setItem("lastVisited",a);var i=s[0].meta.readableName;B.commit("setPageTitle",i)}}));var Ho=Vo,Uo=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("div",{staticClass:"main"},[e.isLogged?a("MainHeader",{on:{toggleMenu:e.toggleSideNav}}):e._e(),a("div",{staticClass:"main__body"},[e.isLogged?a("SideNav",{attrs:{isOpen:e.isOpenedSideNav}}):e._e(),a("router-view")],1)],1)])},zo=[],Qo=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MainHeader"},[a("div",{staticClass:"MainHeader__logo"},[a("Logo",{attrs:{minimalist:""}})],1),a("div",{staticClass:"MainHeader__menu-toggle",on:{click:e.toggleMenu}},[a("i",{staticClass:"fas fa-bars fa-2x"})]),a("div",{staticClass:"MainHeader__title"},[e._v(" "+e._s(e.$t(e.pageTitle,{pageSubTitle:e.pageSubTitle}))+" ")]),a("TopMenu",{staticClass:"MainHeader__menu"})],1)},Yo=[],Go=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"TopMenu"},[a("div",{staticClass:"TopMenu__dropdown-btn",on:{click:e.toggleDropdown}},[a("span",{staticClass:"TopMenu__welcome"},[e._v(e._s(e.$t("hello-nick",{nick:e.nickname})))]),a("i",{directives:[{name:"show",rawName:"v-show",value:!e.isDropdownMenuOpen,expression:"!isDropdownMenuOpen"}],staticClass:"fas fa-chevron-down"}),a("i",{directives:[{name:"show",rawName:"v-show",value:e.isDropdownMenuOpen,expression:"isDropdownMenuOpen"}],staticClass:"fas fa-chevron-up"})]),a("ul",{staticClass:"TopMenu__dropdown",class:{"TopMenu__dropdown--open":e.isDropdownMenuOpen}},[a("div",{staticClass:"TopMenu__dropdown__nickname"},[e._v(e._s(e.nickname))]),a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"TopMenu__dropdown__item",class:{"TopMenu__dropdown__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-user-alt"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}])}),a("router-link",{attrs:{to:"/settings",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"TopMenu__dropdown__item",class:{"TopMenu__dropdown__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-cogs"}),e._v(" "+e._s(e.$t("your-settings"))+" ")])]}}])}),a("div",{staticClass:"TopMenu__dropdown__item",on:{click:e.logout}},[a("i",{staticClass:"fas fa-power-off"}),e._v(" "+e._s(e.$t("logout-quit"))+" ")])],1)])},Wo=[],Ko=a("e67d"),Jo=a.n(Ko),Zo={name:"TopMenu",directives:{ClickOutside:Jo.a},data:function(){return{isDropdownMenuOpen:!1}},computed:{nickname:function(){return this.$store.state.auth.user.pseudo}},watch:{$route:function(){this.closeDropdown()}},methods:{toggleDropdown:function(){this.isDropdownMenuOpen=!this.isDropdownMenuOpen},closeDropdown:function(){this.isDropdownMenuOpen=!1},logout:function(){var e=this;this.$store.dispatch("auth/logout").then((function(){e.$router.replace({path:"/login",hash:"bye"})}))}}},Xo=Zo,el=(a("3678"),Object(ge["a"])(Xo,Go,Wo,!1,null,null,null)),tl=el.exports,al={name:"MainHeader",components:{TopMenu:tl,Logo:ye},computed:{pageTitle:function(){return B.state.pageTitle},pageSubTitle:function(){return B.state.pageSubTitle}},watch:{pageTitle:function(){this.$emit("toggleMenu",!1)}},methods:{toggleMenu:function(){this.$emit("toggleMenu","toggle")}}},sl=al,il=(a("33ac"),Object(ge["a"])(sl,Qo,Yo,!1,null,null,null)),nl=il.exports,rl=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SideNav",class:{"SideNav--opened":e.isOpen}},[a("div",{staticClass:"SideNav__logo"},[a("Logo",{attrs:{minimalist:""}})],1),a("SideMenu",{staticClass:"SideNav__menu"}),a("div",{staticClass:"SideNav__footer"},[e._v(" © 2017-"+e._s(e.year)),a("br"),e._v(" v. "+e._s(e.apiVersion)+" ")])],1)},ol=[],ll=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SideMenu"},[a("router-link",{attrs:{to:"/",exact:"",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-calendar-alt"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-calendar.title")))])])]}}])}),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/materials",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-box"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-materials.title")))])])]}}],null,!1,25090697)}):e._e(),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/technicians",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-people-carry"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-technicians.title")))])])]}}],null,!1,1354310682)}):e._e(),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/beneficiaries",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-address-book"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-beneficiaries.title")))])])]}}],null,!1,997980499)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/categories",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-sitemap"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-categories.title")))])])]}}],null,!1,1728881317)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/tags",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-tags"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-tags.title")))])])]}}],null,!1,2681517316)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/parks",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-industry"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-parks.title")))])])]}}],null,!1,1473083429)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/users",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-users-cog"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-users.title")))])])]}}],null,!1,1732644290)}):e._e()],1)},cl=[],ul={name:"SideMenu",computed:{isAdmin:function(){return this.$store.getters["auth/is"]("admin")},isMember:function(){return this.$store.getters["auth/is"]("member")}}},dl=ul,ml=(a("268d"),Object(ge["a"])(dl,ll,cl,!1,null,null,null)),pl=ml.exports,fl={name:"SideNav",props:{isOpen:Boolean},components:{SideMenu:pl,Logo:ye},data:function(){var e=(new Date).getFullYear(),t=v.api.version;return{year:e,apiVersion:t}}},_l=fl,hl=(a("ca61"),Object(ge["a"])(_l,rl,ol,!1,null,null,null)),vl=hl.exports,gl={name:"App",components:{MainHeader:nl,SideNav:vl},data:function(){return{isOpenedSideNav:!1}},created:function(){var e=this;this.$http.interceptors.response.use((function(e){return e}),(function(t){var a=t.response||{status:0},s=a.status;return 401===s&&e.$store.dispatch("auth/logout").then((function(){e.$router.replace({path:"/login",hash:"expired"}).catch((function(){}))})),Promise.reject(t)}))},watch:{$route:function(){i["default"].prototype.$modal.hide("defaultModal")}},computed:{isLogged:function(){return this.$store.getters["auth/isLogged"]}},methods:{toggleSideNav:function(e){this.isOpenedSideNav="toggle"!==e?e:!this.isOpenedSideNav}}},bl=gl,yl=(a("5c0b"),Object(ge["a"])(bl,Uo,zo,!1,null,null,null)),Cl=yl.exports;a("7ddb");a("15f5"),i["default"].config.productionTip=!1,i["default"].prototype.$http=D,i["default"].use(c.a,{dialog:!0,dynamic:!0,dynamicDefaults:{}}),u["a"].options.defaultContainer="#app",u["a"].options.disposeTimeout=1e3,u["a"].options.defaultDelay=100,i["default"].directive("tooltip",u["a"]),i["default"].use(o["a"].plugin,B),Object.keys(W).forEach((function(e){i["default"].i18n.add(e,W[e])}));var wl=v.defaultLang;i["default"].i18n.set(wl);var kl=localStorage.getItem("userLocale");kl&&i["default"].i18n.localeExists(kl)&&(i["default"].i18n.set(kl),wl=kl),i["default"].i18n.fallback(wl),r.a.locale(wl);var $l={columnsClasses:{actions:"VueTables__actions"},sortIcon:{base:"fas",up:"fa-sort-up",down:"fa-sort-down",is:"fa-sort"},texts:Z[wl],requestKeys:{query:"search"},perPage:v.defaultPaginationLimit,perPageValues:[v.defaultPaginationLimit],responseAdapter:function(e){if(!e)return{data:[],count:0};var t=e.data,a=t.data,s=t.pagination;return{data:a,count:s?s.total:0}}};i["default"].use(d["ClientTable"],$l),i["default"].use(d["ServerTable"],$l,!0),B.dispatch("auth/fetch").then((function(){new i["default"]({el:"#app",store:B,router:Ho,components:{App:Cl},template:""})}))},"56e7":function(e,t,a){"use strict";a("4d37")},"5af6":function(e,t,a){"use strict";a("1e1d")},"5afa":function(e,t,a){"use strict";a("ce8b")},"5b9a":function(e,t,a){"use strict";a("c194")},"5bf9":function(e,t,a){},"5c0b":function(e,t,a){"use strict";a("9c0c")},"5f07":function(e,t,a){},"5f98":function(e,t,a){"use strict";a("60f9")},"5ffb":function(e,t,a){"use strict";a("7db3")},"60f9":function(e,t,a){},6348:function(e,t,a){},"64fa":function(e,t,a){},6564:function(e,t,a){"use strict";a("09db")},"6aae":function(e,t,a){"use strict";a("53c4")},"6c54":function(e,t,a){},"6e11":function(e,t,a){"use strict";a("1afd")},"6e2a":function(e,t,a){},"6ead":function(e,t,a){},"6f91":function(e,t,a){},"704a":function(e,t,a){"use strict";a("0e51")},"756f":function(e,t,a){},7794:function(e,t,a){"use strict";a("6348")},"79bd":function(e,t,a){},"7b33":function(e,t,a){},"7db3":function(e,t,a){},"7f15":function(e,t,a){"use strict";a("15d2")},"7fa5":function(e,t,a){},8633:function(e,t,a){"use strict";a("be38")},"86c6":function(e,t,a){"use strict";a("7b33")},"88fc":function(e,t,a){},"8a72":function(e,t,a){},"8d7f":function(e,t,a){"use strict";a("55e1")},9041:function(e,t,a){},9264:function(e,t,a){},9353:function(e,t,a){},9598:function(e,t,a){},"95a4":function(e,t,a){"use strict";a("5321")},"9b72":function(e,t,a){"use strict";a("b134")},"9c0c":function(e,t,a){},a245:function(e,t,a){"use strict";a("5100")},a993:function(e,t,a){"use strict";a("9598")},ae27:function(e,t,a){"use strict";a("2475")},b0b8:function(e,t,a){"use strict";a("42f0")},b0bc:function(e,t,a){"use strict";a("fd39")},b134:function(e,t,a){},b574:function(e,t,a){"use strict";a("79bd")},b5ed:function(e,t,a){"use strict";a("f6b9")},b81d:function(e,t,a){"use strict";a("3ae2")},be38:function(e,t,a){},bf6b:function(e,t,a){e.exports=a.p+"img/logo-R.svg"},c194:function(e,t,a){},c5a4:function(e,t,a){},ca61:function(e,t,a){"use strict";a("cd50")},cb24:function(e,t,a){"use strict";a("43fc")},cd50:function(e,t,a){},ce8b:function(e,t,a){},d0bc:function(e,t,a){"use strict";a("7fa5")},d464:function(e,t,a){"use strict";a("5f07")},d928:function(e,t,a){},da3a:function(e,t,a){},dbf0:function(e,t,a){},de23:function(e,t,a){},e3e6:function(e,t,a){"use strict";a("9353")},e517:function(e,t,a){},ebe1:function(e,t,a){},ed21:function(e,t,a){},ef5b:function(e,t,a){"use strict";a("1eb7")},f0d4:function(e,t,a){"use strict";a("da3a")},f0f3:function(e,t,a){},f59e:function(e,t,a){"use strict";a("3010")},f62a:function(e,t,a){"use strict";a("64fa")},f6b9:function(e,t,a){},f774:function(e,t,a){"use strict";a("0816")},f8c6:function(e,t,a){"use strict";a("d928")},fbc1:function(e,t,a){},fd39:function(e,t,a){}}); \ No newline at end of file +(function(e){function t(t){for(var s,r,o=t[0],l=t[1],c=t[2],d=0,m=[];d1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e||0===e.length)return[];var s=e.map((function(e){var a=e.id,s=t?t(e):e.name||"N/A";return{value:a,label:s}}));return a&&s.unshift({value:"",label:a}),s}),S=T,F={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("countries").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},x=a("3835"),L=(a("7db0"),{namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])},parkName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}},firstPark:function(e){var t=Object(x["a"])(e.list,1),a=t[0];return a}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("parks").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("parks").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}}),O={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,null,n[i]["please-choose"])},categoryName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}},subCategoryName:function(e){return function(t){var a=null;return e.list.forEach((function(e){if(!a){var s=e.sub_categories.find((function(e){return e.id===t}));a=s?s.name:null}})),a}}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("categories").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("categories").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},j={namespaced:!0,state:{list:[],isFetched:!1,error:null},getters:{options:function(e,t,a){var s=a.i18n,i=s.locale,n=s.translations;return S(e.list,(function(e){return e.legal_name}),n[i]["please-choose"])}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("companies").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("companies").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}},q=(a("4de4"),a("caad"),a("2532"),{namespaced:!0,state:{list:[],isFetched:!1,error:null,protected:[v.beneficiaryTagName.toLowerCase(),v.technicianTagName.toLowerCase()]},getters:{options:function(e,t){return S(e.list.filter((function(e){return!t.isProtected(e.name)})))},isProtected:function(e){return function(t){return e.protected.includes(t.toLowerCase())}},tagName:function(e){return function(t){var a=e.list.find((function(e){return e.id===t}));return a?a.name:null}}},mutations:{init:function(e,t){e.list=t,e.isFetched=!0,e.error=null},setError:function(e,t){e.error=t}},actions:{fetch:function(e){var t=e.state,a=e.commit;t.isFetched||D.get("tags").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))},refresh:function(e){var t=e.state,a=e.commit;t.isFetched=!1,D.get("tags").then((function(e){var t=e.data;a("init",t.data)})).catch((function(e){a("setError",e)}))}}}),A=a("1da1"),N=(a("96cf"),function(e){return{id:e.id,groupId:e.group_id,firstName:e.first_name,lastName:e.last_name,pseudo:e.pseudo,email:e.email,locale:e.settings?e.settings.language:"en",restrictedParks:e.restricted_parks}}),I=function(e){var t=v.auth,a=t.cookie,s=t.timeout,i={};if(s){var n=60*s*60*1e3,r=new Date((new Date).getTime()+n);i.expires=r}$.set(a,e,i)},P={namespaced:!0,state:{user:null},getters:{isLogged:function(e){return!!e.user},is:function(e){return function(t){if(!e.user)return!1;var a=Array.isArray(t)?t:[t];return a.includes(e.user.groupId)}}},mutations:{setUser:function(e,t){e.user=t},setUserProfile:function(e,t){e.user.firstName=t.first_name,e.user.lastName=t.last_name,e.user.pseudo=t.pseudo,e.user.email=t.email},setLocale:function(e,t){e.user.locale=t}},actions:{fetch:function(e){return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.dispatch,s=e.commit,$.get(v.auth.cookie)){t.next=4;break}return s("setUser",null),t.abrupt("return");case 4:return t.prev=4,t.next=7,D.get("/session");case 7:i=t.sent,n=i.data,s("setUser",N(n)),t.next=15;break;case 12:t.prev=12,t.t0=t["catch"](4),401===t.t0.httpCode?a("logout"):console.error("Error:",t.t0.message||t.t0.code);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})))()},login:function(e,t){return Object(A["a"])(regeneratorRuntime.mark((function a(){var s,i,n,r,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return s=e.dispatch,i=e.commit,a.next=3,D.post("session",t);case 3:n=a.sent,r=n.data,i("setUser",N(r.user)),I(r.token),o=r.user.settings.language.toLowerCase(),window.localStorage.setItem("userLocale",o),s("i18n/setLocale",{locale:o},{root:!0});case 10:case"end":return a.stop()}}),a)})))()},logout:function(e){return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.commit,s=!1,!s){t.next=6;break}return window.location.assign("".concat(v.baseUrl,"/logout")),t.next=6,new Promise((function(e,t){setTimeout(t,5e3)}));case 6:a("setUser",null),$.remove(v.auth.cookie);case 8:case"end":return t.stop()}}),t)})))()}}};i["default"].use(M["a"]);var B=new M["a"].Store({state:{pageTitle:"",pageSubTitle:""},mutations:{setPageTitle:function(e,t){e.pageTitle=t},setPageSubTitle:function(e,t){e.pageSubTitle=t}},modules:{countries:F,parks:L,categories:O,companies:j,tags:q,auth:P}}),R={"hello-nick":"Hello {nick}!","your-profile":"Your profile","your-settings":"Your settings","logout-quit":"Quit Robert","action-add":"Add","action-edit":"Edit","action-view":"Display details","action-trash":"Trash bin","action-restore":"Restore","action-delete":"Delete","action-enable":"Enable","action-disable":"Disable","action-refresh":"Refresh data",yes:"Yes",no:"No","help-loading":"Loading...","please-confirm":"Please confirm...","yes-delete":"Yes, move in trash bin","yes-permanently-delete":"Yes, permanently delete","yes-restore":"Oui, restaurer",cancel:"Cancel",close:"Close","copy-to-clipboard":"Copy to clipboard","copied-in-clipboard":"Copied in clipboard!","almost-done":"Almost done...","please-choose":"Please choose...","start-typing-to-search":"Start typing to search...","type-at-least-count-chars-to-search":["Type again, at least {count} character to search...","Type again, at least {count} characters to search..."],"no-result-found-try-another-search":"No results. Try another search term.","create-select-item-label":"Create a {label}","add-item":"Add a {item}","remove-item":"Remove this {item}","cancel-add-item":"Cancel adding {item}","item-not-found":"{item} not found. Element may have been deleted.",locked:"locked",save:"Save",add:"Add",saving:"Saving...",saved:"{entity} saved.","choose-date":"Choose this date","reset-date":"Reset date",actions:"Actions",informations:"Informations","connexion-infos":"Credentials","personnal-infos":"Personnal informations","minimal-infos":"Minimal informations","billing-infos":"Billing informations",documents:"Documents",billing:"Billing","extra-infos":"Extra informations","special-attributes":"Special attributes",pseudo:"Pseudo","email-address-or-pseudo":"E-mail address or Pseudo",password:"Password","first-name":"First name","last-name":"Last name",name:"Name",nickname:"Nickname",company:"Company","legal-name":"Legal name",contact:"Contact","contact-details":"Contact details","other-infos":"Other informations",email:"E-mail",phone:"Phone",address:"Address",street:"Street and Number","postal-code":"Postal code",city:"City",locality:"City",country:"Pays",group:"Group",admin:"Administrator",member:"Member",visitor:"Visitor","opening-hours":"Opening hours",notes:"Notes",description:"Description",ref:"Ref.",reference:"Reference",park:"Park",prices:"Prices","rental-price":"Rental price","replacement-price":"Replacement price","rent-price":"Rent. price","repl-price":"Repl. price","value-per-day":"{value} / day","serial-number":"Serial n°",quantity:"Stock qty",quantities:"Quantities","quantity-out-of-order":"Out of order qty","remaining-quantity":"Remaining qty",discountable:"Discountable?","material-is-discountable":"The material is «਀discountable »: a discount amount can be applied to this material.","hidden-on-bill":"Hidden on bill?","material-not-displayed-on-bill":"The material is not displayed on bills.","price-must-be-zero":"the rental price must be 0","all-parks":"All parks combined","all-categories":"All categories","all-sub-categories":"All sub-categories","not-limited":"not limited","open-trash-bin":"Display trash bin","display-not-deleted-items":"Display not deleted items","created-at":"Created at:","updated-at":"Updated at:","event-details":"Event's details",title:"Title","start-date":"Start Date","end-date":"End Date",location:"Location",duration:"Duration","duration-days":"Duration {duration} days",confirmed:"Confirmed","not-confirmed":"Not confirmed","is-billable":"Is billable?","is-not-billable-help":"« Loan » Mode: no billing.","is-billable-help":"« Rent » Mode: billing possible.","event-not-billable":"This event is defined as « not billable ».","enable-billable-event":"Enable billing for this event",confirm:"Confirm","set-back-on-hold":"Set back on hold","set-event-confirmed":"Confirm event","set-back-event-pending":"Set back event on hold",print:"Print","print-summary":"Print this summary",in:"In","open-in-openstreetmap":"Search in OpenStreetMap","on-date":"On {date}","from-date-to-date":"from {from} to {to}",or:"or",for:"For",with:"With","in-progress":"in progress","show-materials-details":"Show detailed materials list","hide-materials-details":"Hide materials list",bill:"Bill","no-bill-help":"No bill for this event yet.","missing-beneficiary":"Missing beneficiary","not-billable-help":"You can't create a bill for an event without at least one beneficiary.","click-edit-to-create-one":"Click on « Edit » button to add one.","download-bill-help1":"Bill n° {number}, generated on {date}","download-bill-help2":"with a discount rate of {discountRate} %","download-bill-help3":"for an amount of {amount}","create-bill-help":"You can create a new bill for the first beneficiary in the list, and give it a discount rate or amount:","contact-someone-to-create-bill":"If needed, contact a member of the team and ask them to edit the invoice.",discount:"Discount","without-discount":"Without discount","wanted-rate":"Rate in %","wanted-amount":"Wanted amount","create-bill":"Create bill","download-bill-pdf":"Download PDF file","regenerate-bill-help":"You can regenerate the bill to change discount, or if the event has been modified.","click-here-to-regenerate":"Click here to create a new bill.",total:"Total","total-discountable":"Total discountable","items-count":["{count} item","{count} items"],"stock-items-count":"{count} in stock","out-of-order-items-count":"{count} out of order","sub-total":"Sub-total","total-amount":"Total amount","total-amount-with-discount":"Total with discount","replacement-total":"Total replacement price",day:"day",days:"days",ratio:"ratio","ratio-long":"Ratio",tags:"Tags","add-tags":"Add tags","choose-tags-below":"Choose tags below:","entity-name-tags":"Tags of « {entityName} »","remove-all-tags":"Remove all tags","remaining-count":"{count} remaining",event:"Event",user:"User",beneficiary:"Beneficiary",material:"Material",category:"Category","sub-category":"Sub-category",categories:"Categories",technician:"Technicien","this-feature-is-coming-soon":"This feature implementation is in progress.",french:"Français",english:"English"},V={"page-login":{title:"Login",welcome:"Hello! Who are you?",connexion:"Enter Robert","please-wait":"Authentication, please wait...",bye:"See you !",footer:"Robert2 is a free (as in 'freedom') software. You can copy and redistribute it freely, except for commercial purpose.","official-website":"Official website","community-forum":"Community Forum",error:{"bad-infos":"Given infos ar not correct. Please give your e-mail address or pseudo, and your password.","expired-session":"Your session has expired. Please log back in!","not-allowed":"You tried to visit a page with restricted access. Please log in with an account who can access this page."}},"page-profile":{title:"Your profile",help:"If you change your email, pseudo or password, do not forget them before logging-out!","you-are-group":"You are: {group}.","edit-password":"Change your password","password-confirmation":"Password confirmation","password-confirmation-must-match":"Password and its confirmation must be identical.","password-modified":"Your password was modified.",saved:"Your profile was saved."},"page-settings":{title:"Your settings",help:"The « duration of a session » is the time allowed before you're automatically logged out.","auth-token-validity-duration":"Max. duration of a session",interface:"Interface",language:"Language",hours:"hours",saved:"Settings saved."},"page-calendar":{title:"Calendar",help:"Click and drag to move timeline.\n Use mouse wheel to zoom in / out.\n Double-click on an empty column to create an event with start date pre-filled.","help-center-view-on-today":"Center calendar on today","help-add-event":"Create a new event","add-event":"New event","confirm-delete":"Move this event in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this event?","confirm-restore":"Do you really want to restore this event?","event-deleted":"The event was deleted.","event-saved":"The event was saved.","loading-event":"Loading event...","help-timeline-event-operations":"Click once to select the event, in order to move, resize or delete it.\n Double-click on an event to open its preview, and modify its details.","center-on-today":"Center on today","center-on":"Center on","this-event-is-past":"This event is past.","this-event-is-currently-running":"This event is currently running.","this-event-is-confirmed":"This event is confirmed.","this-event-is-locked-past-confirmed":"This event is locked because it's confirmed, and past.","this-event-has-missing-materials":"This event has missing materials.","all-events":"All events","event-with-missing-material-only":"Events with missing material only?","display-all-parks":"All parks"},"page-events":{"help-edit":"","back-to-calendar":"Back to calendar",add:"New event",edit:"Modify event « {pageSubTitle} »","edit-title":"Modify event","edit-event":"Modify event","save-and-back-to-calendar":"Save and back to calendar","save-and-continue":"Save and continue",step:"Step","event-informations":"Informations","event-beneficiaries":"Beneficiaries","event-technicians":"Technicians","event-materials":"Materials","event-summary":"Summary","event-confirmation":"Confirmation",saved:"Event saved.","not-saved":"Event has not saved modifications","display-only-selected-materials":"Display event's selected materials only?","display-all-materials-to-add-some":"Display all materials to add some","display-only-event-materials":"Display only event's materials","event-not-confirmed-help":"The event is not confirmed yet. It is subject to change at any time.","event-confirmed-help":"The event is confirmed: its information should no longer change.","event-missing-materials":"Missing materials","event-missing-materials-help":"These are the missing materials for the period of the event, because it is used in another event, the number needed is too high, or there are some out of order. These materials must therefore be added to the park, or rented from another company.","warning-no-material":"Warning: this event is empty, there is no material at the moment!","warning-no-beneficiary":"Warning: this event has no beneficiaries!","missing-material-count":"Need {quantity}, missing {missing}!","beneficiary-billing-help":"Only the first beneficiary in the list will be displayed on the bill."},"page-users":{title:"Users",help:"You can send an email to an user by clicking on his/her address.","help-edit":"- Group « Administrator » group gives all access rights to user.\n - Group « Member » allow user to use most parts of Robert application.\n - Group « Visitor » group gives a limited access to some data.","action-add":"New user",add:"New user",edit:"Modify user « {pageSubTitle} »","edit-title":"Modify user","confirm-delete":"Move this user in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this user?","confirm-restore":"Do you really want to restore this user?",saved:"User saved.","profile-missing-or-deleted":"Profile missing or deleted"},"page-beneficiaries":{title:"Beneficiaries",help:"You can send an email to a beneficiary by clicking on his/her address.","action-add":"New beneficiary",add:"New beneficiary",edit:"Modify beneficiary « {pageSubTitle} »","edit-title":"Modify beneficiary","beneficiary-type":"Beneficiary type",person:"Natural person (individual)",company:"Legal entity (company)","help-edit":"Only first name and last name are mandatory.","confirm-delete":"Move this beneficiary in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this beneficiary?","confirm-restore":"Do you really want to restore this beneficiary?",saved:"Beneficiary saved."},"page-companies":{title:"Companies",add:"New company",edit:"Modify company « {pageSubTitle} »","edit-title":"Modify company","edit-btn":"Modify company","create-new":"Add a new company","help-edit":"The legal name of the company is mandatory.","attached-persons":"People attached to the company",saved:"Company saved."},"page-materials":{title:"Materials",help:"You can choose a park, a category or some tags to filter materials.","action-add":"New material","manage-attributes":"Manage special attributes","display-quantities-at-date":"Display quantities at date...","remaining-quantities-on-date":"Remaining quantities\n on {date}",add:"New material",edit:"Modify material « {pageSubTitle} »","edit-title":"Modify material","help-edit":"Give a short name, and use the description field to detail the material if needed.",view:"Details of material « {pageSubTitle} »","confirm-delete":"Move this material in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this material?","confirm-restore":"Do you really want to restore this material?",saved:"Material saved.","clear-filters":"Clear filters"},"page-materials-view":{documents:{"no-document":"No document yet.","drag-and-drop-files-here":"Drag and drop files here ↓ to add them.","choose-files":"Or click here to choose files to add","send-files":["Send file","Send {count} files"],"click-to-open":"Click to open / download file","confirm-permanently-delete":"Do you really want to permanently delete this document?",saved:"Documents saved.",deleted:"Document deleted."}},"page-attributes":{title:"Material special attributes",help:"Here you can add fields that allows you to describe your material according to your own criteria.\n Once created, a special attribute cannot be modified (except for its name).","go-back-to-material":"Back to material",name:"Name of the attribute",type:"Attribute type",unit:"Unit","max-length":"Max. length","type-string":"Text","type-integer":"Integer number","type-float":"Decimal number","type-boolean":"Boolean (Yes/No)","type-date":"Date","no-limit":"No limit","add-attributes":"Add attributes","no-attribute-yet":"No attribute yet.","add-btn":"Add an attribute","limited-to-categories":"Limited to categories","confirm-permanently-delete":"Do you really want to permanently delete this special attribute?\n\n WARNING: All data related to this special attribute will be deleted DEFINITIVELY!!","second-confirm":{"confirm-permanently-delete":"Sorry to insist, but this operation is IRREVERSIBLE.\n\n Do you REALLY want to remove this special attribute?"}},"page-categories":{title:"Categories",help:"Manage material's categories and sub-categories.","action-add":"New category","prompt-add":"New category","category-name":"Category name",create:"Create category","prompt-modify":"Add a sub-category","confirm-delete":"Move this category in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this category?","confirm-restore":"Do you really want to restore this category?",saved:"Category saved.",deleted:"Category deleted.","display-materials":"See the material of this category"},"page-subcategories":{add:"Do you really want to delete this category?","prompt-add":"New sub-category of « {categoryName} »","sub-category-name":"Sub-category name",create:"Create sub-category","prompt-modify":"Modify sub-category","confirm-delete":"Move this sub in trash bin-category?","confirm-permanently-delete":"Do you really want to permanently delete this sub-category?","confirm-restore":"Do you really want to restore this sub-category?",saved:"Sub-category saved.",deleted:"Sub-category deleted.","display-materials":"See the material of this sub-category"},"page-technicians":{title:"Technicians",help:"You can send an email to a technician by clicking on his/her address.","action-add":"New technician",add:"New technician",edit:"Modify technician « {pageSubTitle} »","edit-title":"Modify technician","help-edit":"Only first name and last name are mandatory.","confirm-delete":"Move this technician in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this technician?","confirm-restore":"Do you really want to restore this technician?",saved:"Technician saved."},"page-parks":{title:"Material parks",help:"You can click on the number of items in the park to display the list.","action-add":"New materials park",add:"New materials park",edit:"Modify park « {pageSubTitle} »","edit-title":"Modify park","help-edit":"Only the name of the park is mandatory.","confirm-delete":"Move this park in trash bin? This won't delete materials in this park.","confirm-permanently-delete":"Do you really want to permanently delete this park? WARNING: this will delete all materials of this park!!","confirm-restore":"Do you really want to restore this park?",saved:"Park saved.","total-items":"Totals","display-events-for-park":"See events"},"page-tags":{title:"Tags",help:"Non-modifiables tags are those used by the system.","no-item":"No tag yet.","no-item-in-trash":"No tag in trash bin.","action-add":"New tag","prompt-add":"New tag","tag-name":"Tag name",create:"Create tag",add:"New tag","prompt-modify":"Modify tag","confirm-delete":"Move this tag in trash bin?","confirm-permanently-delete":"Do you really want to permanently delete this tag?","confirm-restore":"Do you really want to restore this tag?",saved:"Tag saved.",deleted:"Tag deleted."}},H={errors:{"api-unreachable":"Sorry, but Robert2 API is unreachable... Please check your access to network.",default:"Error {code}: {reason}",validation:"Please check form informations.","already-exists":"This record already exists.","show-details":"Show error details","details-title":"Details of error","details-intro1":"You can copy and paste the following to get help from the community.","details-intro2":"Please copy it as is, because it's written in markdown to help reading on","details-intro-forum":"the forum","details-intro3":"or on","details-intro-not-detailed":"To get more details about the error, you can modify the parameter `displayErrorDetails` to 'true' in file 'src/App/Config/settings.json'.","details-request":"API request:","details-message":"Error message","details-file":"File:","details-stacktrace":"Stack trace:","file-type-not-allowed":"Type '{type}' not supported.","file-size-exceeded":"File too large. Maximum {max}.","file-already-exists":"This file already exists in the list."}},U=Object(g["a"])(Object(g["a"])(Object(g["a"])({},R),V),H),z={"hello-nick":"Bonjour {nick} !","your-profile":"Votre profil","your-settings":"Vos paramètres","logout-quit":"Quitter Robert","action-add":"Ajouter","action-edit":"Modifier","action-view":"Afficher en détail","action-trash":"Corbeille","action-restore":"Restaurer","action-delete":"Supprimer","action-enable":"Activer","action-disable":"Désactiver","action-refresh":"Rafraîchir les données",yes:"Oui",no:"Non","help-loading":"Chargement...","please-confirm":"Veuillez confirmer...","yes-delete":"Oui, mettre à la corbeille","yes-permanently-delete":"Oui, supprimer définitivement","yes-restore":"Oui, restaurer",cancel:"Annuler",close:"Fermer","copy-to-clipboard":"Copier dans le presse-papier","copied-in-clipboard":"Copié dans le presse-papier !","almost-done":"Presque terminé...","please-choose":"Veuillez choisir...","start-typing-to-search":"Commencez à écrire pour rechercher...","type-at-least-count-chars-to-search":["Entrez encore au moins {count} lettre pour rechercher...","Entrez encore au moins {count} lettres pour rechercher..."],"no-result-found-try-another-search":"Aucun résultat. Essayez avec une autre recherche.","create-select-item-label":"Créer un {label}","add-item":"Ajouter un {item}","remove-item":"Enlever ce {item}","cancel-add-item":"Annuler l'ajout de {item}","item-not-found":"{item} introuvable. Peut-être a-t-il été supprimé ?",locked:"verrouillé",save:"Sauvegarder",add:"Ajouter",saving:"Sauvegarde...",saved:"{entity} sauvegardé.","choose-date":"Choisir cette date","reset-date":"Réinitialiser la date",actions:"Actions",informations:"Informations","connexion-infos":"Informations de connexion","personnal-infos":"Informations personnelles","minimal-infos":"Informations minimales","extra-infos":"Informations supplémentaires","billing-infos":"Informations de facturation",documents:"Documents",billing:"Facturation","special-attributes":"Caractéristiques spéciales",pseudo:"Pseudo","email-address-or-pseudo":"Adresse e-mail ou Pseudo",password:"Mot de passe","first-name":"Prénom","last-name":"Nom",name:"Nom",nickname:"Surnom",company:"Société","legal-name":"Raison sociale",contact:"Contact","contact-details":"Coordonnées","other-infos":"Autres informations",email:"E-mail",phone:"Téléphone",address:"Adresse",street:"Rue et N°","postal-code":"Code postal",city:"Ville",locality:"Ville",country:"Pays",group:"Groupe",admin:"Administrateur",member:"Membre",visitor:"Visiteur","opening-hours":"Horaires d'ouverture",notes:"Notes",description:"Description",ref:"Réf.",reference:"Référence",park:"Parc",prices:"Tarifs","rental-price":"Tarif location","replacement-price":"Prix de remplacement","rent-price":"Tarif loc.","repl-price":"Val. rempl.","value-per-day":"{value} / jour","serial-number":"N° de série",quantity:"Qté stock",quantities:"Quantités","quantity-out-of-order":"Qté en panne","remaining-quantity":"Qté restante",discountable:"Remisable ?","material-is-discountable":"Le matériel est « remisable » : une remise peut être appliquée sur ce matériel.","hidden-on-bill":"Caché sur la facture ?","material-not-displayed-on-bill":"Le matériel n'est pas affiché sur les factures.","price-must-be-zero":"le tarif de location doit être égal à 0","all-parks":"Tous parcs confondus","all-categories":"Toutes catégories","all-sub-categories":"Toutes sous-catégories","not-limited":"non limité","open-trash-bin":"Afficher la corbeille","display-not-deleted-items":"Afficher les enregistrements non supprimés","created-at":"Créé le :","updated-at":"Modifié le :","event-details":"Détails de l'événement",title:"Titre","start-date":"Date de début","end-date":"Date de fin",location:"Lieu",duration:"Durée","duration-days":"Durée {duration} jours",confirmed:"Confirmé","not-confirmed":"Non confirmé","is-billable":"Est facturable ?","is-not-billable-help":"Mode « prêt » : pas de facturation.","is-billable-help":"Mode « location » : facturation possible.","event-not-billable":"Cet événement est défini comme « non facturable ».","enable-billable-event":"Activer la facturation pour cet événement",confirm:"Confirmer","set-back-on-hold":"Remettre en attente","set-event-confirmed":"Confirmer l'événement","set-back-event-pending":"Remettre l'événement en attente",print:"Imprimer","print-summary":"Imprimer ce récap",in:"À","open-in-openstreetmap":"Rechercher dans OpenStreetMap","on-date":"Le {date}","from-date-to-date":"du {from} au {to}",or:"ou",for:"Pour",with:"Avec","in-progress":"en cours","show-materials-details":"Afficher la liste détaillée du matériel","hide-materials-details":"Cacher la liste du matériel",bill:"Facture","no-bill-help":"Cet événement n'a aucune facture pour le moment.","missing-beneficiary":"Bénéficiaire manquant","not-billable-help":"Vous ne pouvez pas créer de facture pour un événement qui n'a pas encore de bénéficiaire.","click-edit-to-create-one":"Cliquez sur le bouton « Modifier » pour en ajouter un.","download-bill-help1":"Facture n° {number}, générée le {date}","download-bill-help2":"avec une remise de {discountRate} %","download-bill-help3":"pour un montant de {amount}","create-bill-help":"Vous pouvez créer une facture au nom du premier bénéficiaire de la liste, en utilisant une remise (taux ou montant) :","contact-someone-to-create-bill":"Si besoin, contactez un membre de l'équipe pour lui demander d'éditer la facture.",discount:"Remise","without-discount":"sans remise","wanted-rate":"Taux en %","wanted-amount":"Montant souhaité","create-bill":"Créer la facture","download-bill-pdf":"Télécharger au format PDF","regenerate-bill-help":"Vous pouvez re-générer la facture pour en changer la remise, ou si l'événement a été modifié.","click-here-to-regenerate":"Cliquez ici pour refaire une facture.",total:"Total","total-discountable":"Total remisable","items-count":["{count} article","{count} articles"],"stock-items-count":"{count} en stock","out-of-order-items-count":"{count} en panne","sub-total":"Sous-total","total-amount":"Montant total","total-amount-with-discount":"Total après remise","replacement-total":"Valeur de remplacement totale",day:"jour",days:"jours",ratio:"coef.","ratio-long":"Coefficient",tags:"Étiquettes","add-tags":"Ajouter des étiquettes","choose-tags-below":"Choisissez les étiquettes ci-dessous :","entity-name-tags":"Étiquettes de « {entityName} »","remove-all-tags":"Enlever tous les tags","remaining-count":"reste {count}",event:"Événement",user:"Utilisateur",beneficiary:"Bénéficiaire",material:"Matériel",category:"Catégorie","sub-category":"Sous-catégorie",categories:"Catégories",technician:"Technicien","this-feature-is-coming-soon":"Cette fonctionnalité est en cours de développement.",french:"Français",english:"English"},Q={"page-login":{title:"Connexion",welcome:"Bonjour ! Qui êtes vous ?",connexion:"Connexion","please-wait":"Authentification, merci de patienter...",bye:"À bientôt !",footer:"Robert2 est un logiciel libre. Vous pouvez le copier et le redistribuer librement, sauf pour une utilisation commerciale.","official-website":"Site web officiel","community-forum":"Forum de la communauté",error:{"bad-infos":"Les informations fournies sont incorrectes. Utilisez votre adresse e-mail ou votre pseudo, et votre mot de passe.","expired-session":"Votre session a expiré. Merci de vous reconnecter !","not-allowed":"Vous avez essayé d'accéder à une page dont l'accès vous est interdit. Merci de vous connecter avec un compte qui y a accès."}},"page-profile":{title:"Votre profil",help:"Si vous modifiez votre email, votre pseudo ou votre mot de passe, ne les oubliez pas avant de vous déconnecter !","you-are-group":"Vous êtes : {group}.","edit-password":"Modifier votre mot de passe","password-confirmation":"Confirmation du mot passe","password-confirmation-must-match":"Le mot de passe et sa confirmation doivent être identiques.","password-modified":"Votre mot de passe a bien été modifié.",saved:"Votre profil a bien été sauvegardé."},"page-settings":{title:"Vos paramètres",help:"La « durée d'une session » est le temps imparti avant votre déconnexion automatique de l'application.","auth-token-validity-duration":"Durée max. d'une session",interface:"Interface",language:"Langue",hours:"heures",saved:"Paramètres sauvegardés."},"page-calendar":{title:"Calendrier",help:"Cliquez-glissez pour déplacer la frise temporelle.\n Utilisez la molette pour zoomer / dézoomer.\n Double-cliquez sur une colonne vide pour créer un événement avec la date de départ pré-remplie.","help-center-view-on-today":"Centrer le calendrier sur aujourd'hui","help-add-event":"Créer un nouvel événement","add-event":"Nouvel événement","confirm-delete":"Mettre cet événement à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cet événement ?","confirm-restore":"Voulez-vous vraiment restaurer cet événement ?","event-deleted":"L'événement a bien été supprimé.","event-saved":"L'événement a bien été sauvegardé.","loading-event":"Chargement de l'événement...","help-timeline-event-operations":"Cliquez une fois pour sélectionner l'événement, afin de le déplacer, le redimensionner ou le supprimer.\n Double-cliquez sur l'événement pour en ouvrir l'aperçu, et en modifier les détails.","center-on-today":"Centrer sur aujourd'hui","center-on":"Centrer sur le","this-event-is-past":"Cet événement est passé.","this-event-is-currently-running":"Cet événement se déroule en ce moment.","this-event-is-confirmed":"Cet événement est confirmé.","this-event-is-locked-past-confirmed":"Cet événement est verrouillé car il est confirmé, et déjà passé.","this-event-has-missing-materials":"Cet événement a du matériel manquant.","all-events":"Tous les événements","event-with-missing-material-only":"Événements en manque de matériel uniquement ?","display-all-parks":"Tous les parcs"},"page-events":{"help-edit":"","back-to-calendar":"Retour au calendrier",add:"Nouvel événement",edit:"Modifier l'événement « {pageSubTitle} »","edit-event":"Modifier l'événement","save-and-back-to-calendar":"Sauvegarder et retour au calendrier","save-and-continue":"Sauvegarder et continuer",step:"Étape","event-informations":"Informations","event-beneficiaries":"Bénéficiaires","event-technicians":"Techniciens","event-materials":"Matériel","event-summary":"Récapitulatif","event-confirmation":"Confirmation",saved:"Événement sauvegardé.","not-saved":"L'événement comporte des modifications non sauvegardées","display-only-selected-materials":"Afficher uniquement le matériel de l'événement ?","display-all-materials-to-add-some":"Afficher tout le matériel pour en ajouter","display-only-event-materials":"Afficher uniquement le matériel de l'événement","event-not-confirmed-help":"L'événement n'est pas encore confirmé, il est susceptible de changer à tout moment.","event-confirmed-help":"L'événement est confirmé : Ses informations ne devraient plus changer.","event-missing-materials":"Matériel manquant","event-missing-materials-help":"Il s'agit du matériel manquant pour la période de l'événement, car il est utilisé dans un autre événement, le nombre voulu est trop important, ou quelques uns sont en panne. Ce matériel doit donc être ajouté au parc, ou bien loué auprès d'une autre société.","warning-no-material":"Attention, cet événement est vide, il ne contient aucun matériel pour le moment !","warning-no-beneficiary":"Attention, cet événement n'a aucun bénéficiaire !","missing-material-count":"Besoin de {quantity}, il en manque {missing} !","beneficiary-billing-help":"Seul le premier bénéficiaire de la liste apparaîtra sur la facture."},"page-users":{title:"Utilisateurs",help:"Vous pouvez envoyer un email à un utilisateur en cliquant sur son adresse.","help-edit":"- Le groupe « Administrateur » donne tous les droits à l'utilisateur.\n - Le groupe « Membre » permet à l'utilisateur d'utiliser la plupart des fonctions de Robert.\n - Le groupe « Visiteur » donne un accès limité à certaines données.","action-add":"Nouvel utilisateur",add:"Nouvel utilisateur",edit:"Modifier l'utilisateur « {pageSubTitle} »","edit-title":"Modifier l'utilisateur","confirm-delete":"Mettre cet utilisateur à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cet utilisateur ?","confirm-restore":"Voulez-vous vraiment restaurer cet utilisateur ?",saved:"Utilisateur sauvegardé.","profile-missing-or-deleted":"Profil manquant ou supprimé"},"page-beneficiaries":{title:"Bénéficiaires",help:"Vous pouvez envoyer un email à un bénéficiaire en cliquant sur son adresse.","action-add":"Nouveau bénéficiaire",add:"Nouveau bénéficiaire",edit:"Modifier le bénéficiaire « {pageSubTitle} »","edit-title":"Modifier le bénéficiaire","beneficiary-type":"Type de bénéficiaire",person:"Personne physique (individu)",company:"Personne morale (entreprise)","help-edit":"Seuls le nom et le prénom de la personne sont obligatoires.","confirm-delete":"Mettre ce bénéficiaire à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce bénéficiaire ?","confirm-restore":"Voulez-vous vraiment restaurer ce bénéficiaire ?",saved:"Bénéficiaire sauvegardé."},"page-companies":{title:"Sociétés",add:"Nouvelle société",edit:"Modifier la société « {pageSubTitle} »","edit-title":"Modifier la société","edit-btn":"Modifier la société","create-new":"Ajouter une nouvelle société","help-edit":"La raison sociale (nom de la société) est obligatoire.","attached-persons":"Personnes associées à la société",saved:"Société sauvegardée."},"page-materials":{title:"Matériel",help:"Vous pouvez choisir un parc, une catégorie ou des étiquettes pour filtrer le matériel.","action-add":"Nouveau matériel","manage-attributes":"Gérer les caractéristiques spéciales","display-quantities-at-date":"Afficher les quantités à date...","remaining-quantities-on-date":"Quantités restantes\n le {date}",add:"Nouveau matériel",edit:"Modifier le matériel « {pageSubTitle} »","edit-title":"Modifier le matériel","help-edit":"Trouvez un nom assez court, et utilisez plutôt la description pour détailler le matériel si besoin.",view:"Détails du matériel « {pageSubTitle} »","confirm-delete":"Mettre ce matériel à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce matériel ?","confirm-restore":"Voulez-vous vraiment restaurer ce matériel ?",saved:"Matériel sauvegardé.","clear-filters":"Réinitialiser les filtres"},"page-materials-view":{title:"Détails du matériel",documents:{"no-document":"Aucun document pour le moment.","drag-and-drop-files-here":"Glissez-déposez des fichiers ici ↓ pour les ajouter.","choose-files":"Ou cliquez ici pour choisir des fichiers à ajouter","send-files":["Envoyer le fichier","Envoyer {count} fichiers"],"click-to-open":"Cliquez pour ouvrir / télécharger le fichier","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce document ?",saved:"Documents sauvegardés.",deleted:"Document supprimé."}},"page-attributes":{title:"Caractéristiques spéciales du matériel",help:"Ici vous pouvez ajouter les champs qui permettent de décrire votre matériel selon vos propres critères.\n Une fois créée, une caractéristique spéciale ne pourra plus être modifiée (sauf son nom).","go-back-to-material":"Retourner au matériel",name:"Nom de la caractéristique",type:"Type de donnée",unit:"Unité","max-length":"Taille max.","type-string":"Texte","type-integer":"Nombre entier","type-float":"Nombre décimal","type-boolean":"Booléen (Oui / Non)","type-date":"Date","no-limit":"Sans limite","add-attributes":"Ajouter des caractéristiques","no-attribute-yet":"Aucune caractéristique spéciale pour le moment.","add-btn":"Ajouter une caractéristique","limited-to-categories":"Limitée aux catégories","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette caractéristique spéciale ?\n\n ATTENTION : Toutes les données relative à cette caractéristique spéciale seront supprimées DÉFINITIVEMENT !!","second-confirm":{"confirm-permanently-delete":"Désolé d'insister, mais cette opération IRRÉVERSIBLE.\n\n Voulez-vous VRAIMENT supprimer cette caractéristique spéciale ?"}},"page-categories":{title:"Catégories",help:"Gestion des catégories et sous-catégories de matériel.","action-add":"Nouvelle catégorie","prompt-add":"Nouvelle catégorie","category-name":"Nom de la catégorie",create:"Créer la catégorie","prompt-modify":"Modifier la catégorie","confirm-delete":"Mettre cette catégorie à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette catégorie ?","confirm-restore":"Voulez-vous vraiment restaurer cette catégorie ?",saved:"Catégorie sauvegardée.",deleted:"Catégorie supprimée.","display-materials":"Voir le matériel de la catégorie"},"page-subcategories":{add:"Ajouter une sous-catégorie","prompt-add":"Nouvelle sous-catégorie de « {categoryName} »","sub-category-name":"Nom de la sous-catégorie",create:"Créer la sous-catégorie","prompt-modify":"Modifier la sous-catégorie","confirm-delete":"Mettre cette sous-catégorie à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette sous-catégorie ?","confirm-restore":"Voulez-vous vraiment restaurer cette sous-catégorie ?",saved:"Sous-catégorie sauvegardée.",deleted:"Sous-catégorie supprimée.","display-materials":"Voir le matériel de la sous-catégorie"},"page-technicians":{title:"Techniciens",help:"Vous pouvez envoyer un email à un technicien en cliquant sur son adresse.","action-add":"Nouveau technicien",add:"Nouveau technicien",edit:"Modifier le technicien « {pageSubTitle} »","edit-title":"Modifier le technicien","help-edit":"Seuls le nom et le prénom de la personne sont obligatoires.","confirm-delete":"Mettre ce technicien à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce technicien ?","confirm-restore":"Voulez-vous vraiment restaurer ce technicien ?",saved:"Technicien sauvegardé."},"page-parks":{title:"Parcs de matériel",help:"Vous pouvez cliquer sur le nombre d'articles que contient le parc pour en afficher la liste.","action-add":"Nouveau parc de matériel",add:"Nouveau parc de matériel",edit:"Modifier le parc « {pageSubTitle} »","edit-title":"Modifier le parc","help-edit":"Seul le nom du parc est obligatoire.","confirm-delete":"Mettre ce parc à la corbeille ? Cela ne supprimera pas le matériel qu'il contient.","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement ce parc ? ATTENTION, cela supprimera tout le matériel contenu dans ce parc !!","confirm-restore":"Voulez-vous vraiment restaurer ce parc ?",saved:"Parc sauvegardé.","total-items":"Totaux","display-events-for-park":"Voir les événements"},"page-tags":{title:"Étiquettes",help:"Les étiquettes non modifiables sont celles utilisées par le système.","no-item":"Aucune étiquette.","no-item-in-trash":"Aucune étiquette dans la corbeille.","action-add":"Nouvelle étiquette","prompt-add":"Nouvelle étiquette","tag-name":"Nom de l'étiquette",create:"Créer l'étiquette",add:"Nouvelle étiquette","prompt-modify":"Modifier l'étiquette","confirm-delete":"Mettre cette étiquette à la corbeille ?","confirm-permanently-delete":"Voulez-vous vraiment supprimer définitivement cette étiquette ?","confirm-restore":"Voulez-vous vraiment restaurer cette étiquette ?",saved:"Étiquette sauvegardée.",deleted:"Étiquette supprimée."}},Y={errors:{"api-unreachable":"Désolé, mais l'API de Robert2 est inaccessible... Veuillez vérifier votre accès au réseau.",default:"Erreur {code} : {reason}",validation:"Veuillez vérifier les informations du formulaire.","already-exists":"Cet enregistrement existe déjà.","show-details":"Voir le détail de l'erreur","details-title":"Détails de l'erreur","details-intro1":"Vous pouvez copier ce qui suit, pour obtenir de l'aide de la part de la communauté.","details-intro2":"Merci de le copier tel quel, car c'est écrit en markdown pour faciliter la lecture sur","details-intro-forum":"le forum","details-intro3":"ou sur","details-intro-not-detailed":"Pour obtenir plus de détails sur l'erreur, vous pouvez modifier le paramètre `displayErrorDetails` à 'true' dans le fichier 'src/App/Config/settings.json'.","details-request":"Requête API :","details-message":"Message de l'erreur","details-file":"Fichier :","details-stacktrace":"Trace de la pile :","file-type-not-allowed":"Le type '{type}' n'est pas pris en charge.","file-size-exceeded":"Fichier trop gros. Maximum {max}.","file-already-exists":"Ce fichier est déjà présent dans la liste."}},G=Object(g["a"])(Object(g["a"])(Object(g["a"])({},z),Q),Y),W={en:U,fr:G},K={count:"Enregistrements {from} à {to} sur {count}|{count} enregistrements|Un enregistrement",first:"Première",last:"Dernière",filter:"Filtre :",filterPlaceholder:"Rechercher un nom...",limit:"Enregistrements :",page:"Page :",noResults:"Aucun enregistrement trouvé.",filterBy:"Filtrer par {column}",loading:"Chargement...",defaultOption:"Sélection {column}",columns:"Col."},J={count:"Showing {from} to {to} of {count} records|{count} records|One record",first:"First",last:"Last",filter:"Filter:",filterPlaceholder:"Search a name...",limit:"Records:",page:"Page:",noResults:"No matching records",filterBy:"Filter by {column}",loading:"Loading...",defaultOption:"Select {column}",columns:"Col."},Z={fr:K,en:J},X=(a("13d5"),a("99af"),a("8c4f")),ee="Robert2",te="YYYY-MM-DD HH:mm:ss",ae="YYYY-MM-DD",se=500,ie=["application/pdf","application/zip","application/x-rar-compressed","image/jpeg","image/png","image/webp","text/plain","application/vnd.oasis.opendocument.spreadsheet","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.oasis.opendocument.text","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],ne=10485760,re=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Layout",[a("div",{staticClass:"Login"},[a("div",{staticClass:"Login__message",class:"Login__message--"+e.message.type},[e.message.isLoading?a("i",{staticClass:"fa fa-circle-o-notch fa-spin"}):e._e(),e._v(" "+e._s(e.message.text)+" ")]),a("div",{staticClass:"Login__body"},[a("form",{staticClass:"Login__form",on:{submit:function(t){return t.preventDefault(),e.login(t)}}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credentials.identifier,expression:"credentials.identifier"}],staticClass:"Login__form__input",attrs:{type:"text",autocomplete:"username",placeholder:e.$t("email-address-or-pseudo")},domProps:{value:e.credentials.identifier},on:{input:function(t){t.target.composing||e.$set(e.credentials,"identifier",t.target.value)}}}),a("input",{directives:[{name:"model",rawName:"v-model",value:e.credentials.password,expression:"credentials.password"}],staticClass:"Login__form__input",attrs:{type:"password",autocomplete:"current-password",placeholder:e.$t("password")},domProps:{value:e.credentials.password},on:{input:function(t){t.target.composing||e.$set(e.credentials,"password",t.target.value)}}}),a("button",{staticClass:"Login__form__submit info",attrs:{type:"submit"}},[a("i",{staticClass:"fa fa-user-alt"}),e._v(" "+e._s(e.$t("page-login.connexion"))+" ")])])])])])},oe=[],le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"LoginLayout"},[a("div",{staticClass:"LoginLayout__logo"},[a("Logo")],1),a("div",{staticClass:"LoginLayout__body"},[e._t("default")],2),a("div",{staticClass:"LoginLayout__footer"},[e._v(" "+e._s(e.$t("page-login.footer"))),a("br"),e._v(" | "),a("a",{attrs:{href:"http://robertmanager.org",target:"_blank"}},[e._v(e._s(e.$t("page-login.official-website")))]),e._v(" | "),a("a",{attrs:{href:"http://forum.robertmanager.org",target:"_blank"}},[e._v(e._s(e.$t("page-login.community-forum")))]),e._v(" | "),a("a",{attrs:{href:"https://github.com/robert-2/Robert2",target:"_blank"}},[e._v("Github project")]),e._v(" | v"+e._s(e.apiVersion)+" ")])])},ce=[],ue=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("img",{attrs:{src:e.src,alt:"Robert²"}})},de=[],me=a("bf6b"),pe=a.n(me),fe=a("4179"),_e=a.n(fe),he={name:"Logo",props:{minimalist:Boolean},computed:{src:function(){return this.minimalist?pe.a:_e.a}}},ve=he,ge=a("2877"),be=Object(ge["a"])(ve,ue,de,!1,null,null,null),ye=be.exports,Ce={name:"LoginLayout",components:{Logo:ye},data:function(){return{apiVersion:v.api.version}}},we=Ce,ke=(a("b5ed"),Object(ge["a"])(we,le,ce,!1,null,null,null)),$e=ke.exports,Ee={name:"Login",components:{Layout:$e},data:function(){var e="default",t=this.$t("page-login.welcome"),a=this.$route.hash;switch(a){case"#bye":e="success",t=this.$t("page-login.bye");break;case"#expired":e="error",t=this.$t("page-login.error.expired-session");break;case"#restricted":e="error",t=this.$t("page-login.error.not-allowed");break;default:break}return{message:{type:e,text:t,isLoading:!1},credentials:{identifier:"",password:""}}},methods:{login:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n,r,o,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.message={type:"default",text:e.$t("page-login.please-wait"),isLoading:!0},t.prev=1,t.next=4,e.$store.dispatch("auth/login",Object(g["a"])({},e.credentials));case 4:a=window.localStorage.getItem("lastVisited"),s=a&&"/login"!==a?a:"/",e.$router.replace(s||"/"),t.next=18;break;case 9:if(t.prev=9,t.t0=t["catch"](1),t.t0.response){t.next=14;break}return e.errorMessage({code:0,message:"network error"}),t.abrupt("return");case 14:i=t.t0.response,n=i.status,r=i.data,o=404!==n||r.error?404:0,l=r.error?r.error.message:"network error",e.errorMessage({code:o,message:l});case 18:case"end":return t.stop()}}),t,null,[[1,9]])})))()},errorMessage:function(e){var t=this.$t("errors.api-unreachable");404===e.code&&(t=this.$t("page-login.error.bad-infos")),this.message={type:"error",text:t,isLoading:!1}}}},De=Ee,Me=(a("4b04"),Object(ge["a"])(De,re,oe,!1,null,null,null)),Te=Me.exports,Se=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view UserProfile",class:{"UserProfile--password-edit":e.isPasswordEdit}},[a("h3",{staticClass:"UserProfile__title"},[e._v(" "+e._s(e.$t("page-profile.you-are-group",{group:e.$t(e.groupId)}))+" ")]),a("div",{staticClass:"UserProfile__content"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("connexion-infos"))+" ")]),a("FormField",{attrs:{name:"pseudo",label:"pseudo",required:"",errors:e.errors.pseudo},model:{value:e.user.pseudo,callback:function(t){e.$set(e.user,"pseudo",t)},expression:"user.pseudo"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",required:"",errors:e.errors.email},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),e.isPasswordEdit?e._e():a("a",{staticClass:"UserProfile__password-edit-toggle",attrs:{role:"button"},on:{click:e.togglePasswordEdit}},[e._v(" "+e._s(e.$t("page-profile.edit-password"))+" ")]),a("section",{staticClass:"Form__fieldset UserProfile__section-password"},[a("h4",{staticClass:"Form__fieldset__title"},[a("a",{staticClass:"UserProfile__password-edit-cancel",attrs:{role:"button"},on:{click:e.togglePasswordEdit}},[e._v(" "+e._s(e.$t("cancel"))+" ")]),e._v(" "+e._s(e.$t("page-profile.edit-password"))+" ")]),a("FormField",{attrs:{name:"password",label:"password",type:"password",errors:e.errors.password},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}}),a("FormField",{attrs:{name:"passwordConfirmation",label:"page-profile.password-confirmation",type:"password"},model:{value:e.user.password_confirmation,callback:function(t){e.$set(e.user,"password_confirmation",t)},expression:"user.password_confirmation"}})],1),a("section",{staticClass:"Form__fieldset UserProfile__section-infos"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",errors:e.errors.first_name},model:{value:e.user.person.first_name,callback:function(t){e.$set(e.user.person,"first_name",t)},expression:"user.person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",errors:e.errors.last_name},model:{value:e.user.person.last_name,callback:function(t){e.$set(e.user.person,"last_name",t)},expression:"user.person.last_name"}}),a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.user.person.nickname,callback:function(t){e.$set(e.user.person,"nickname",t)},expression:"user.person.nickname"}}),a("FormField",{attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.user.person.phone,callback:function(t){e.$set(e.user.person,"phone",t)},expression:"user.person.phone"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.user.person.street,callback:function(t){e.$set(e.user.person,"street",t)},expression:"user.person.street"}}),a("FormField",{staticClass:"UserProfile__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.user.person.postal_code,callback:function(t){e.$set(e.user.person,"postal_code",t)},expression:"user.person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.user.person.locality,callback:function(t){e.$set(e.user.person,"locality",t)},expression:"user.person.locality"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("div",{staticClass:"UserProfile__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),a("div",{staticClass:"UserProfile__extras__buttons"},[a("router-link",{attrs:{to:"/settings",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-cogs"}),e._v(" "+e._s(e.$t("your-settings"))+" ")])]}}])})],1)],1)])])])},Fe=[],xe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Help",class:"Help--"+e.modifier},[e.isLoading?a("div",{staticClass:"Help__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e(),!e.isLoading&&e.error?a("div",{staticClass:"Help__error"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.errorData.message)+" "),500===e.errorData.code?a("p",[a("a",{staticClass:"Help__error-details-button",on:{click:e.displayErrorDetails}},[a("i",{staticClass:"fas fa-external-link-alt"}),e._v(" "+e._s(e.$t("errors.show-details"))+" ")])]):e._e()]):e._e(),!e.$t(e.messageText)||e.error||e.isLoading?e._e():a("div",{staticClass:"Help__message"},[e._v(" "+e._s(e.$t(e.messageText))+" ")])])},Le=[],Oe={width:900,height:"auto",minHeight:300,adaptive:!0,draggable:!1,name:"defaultModal"},je=Oe,qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ErrorDetails"},[a("div",{staticClass:"ErrorDetails__header"},[a("h2",{staticClass:"ErrorDetails__title"},[e._v(" "+e._s(e.$t("errors.details-title"))+" ")]),a("button",{staticClass:"ErrorDetails__btn-close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])]),a("div",{staticClass:"ErrorDetails__main"},[a("p",[e._v(" "+e._s(e.$t("errors.details-intro1"))+" "+e._s(e.$t("errors.details-intro2"))+" "),a("a",{attrs:{href:"https://forum.robertmanager.org",target:"_blank"}},[e._v(" "+e._s(e.$t("errors.details-intro-forum"))+" ")]),e._v(" "+e._s(e.$t("errors.details-intro3"))+" "),a("a",{attrs:{href:"https://github.com/Robert-2/Robert2/issues",target:"_blank"}},[e._v("Github")]),e._v(". ")]),e.data.requested?e._e():a("p",{staticClass:"ErrorDetails__no-details-info"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("errors.details-intro-not-detailed"))+" ")]),a("hr"),a("div",{ref:"errorContent",staticClass:"ErrorDetails__content"},[e.data.requested?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-request"))+" ")]),a("p",{staticClass:"ErrorDetails__request"},[e._v(" `"+e._s(e.data.requested)+"` ")])]):e._e(),a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-message"))+" ("),a("span",{staticClass:"ErrorDetails__code"},[e._v(e._s(e.data.code))]),e._v(") : ")]),a("p",{staticClass:"ErrorDetails__message"},[e._v(" `"+e._s(e.data.message)+"` ")]),e.file.length>0?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-file"))+" ")]),a("p",{staticClass:"ErrorDetails__file"},[e._v(" `"+e._s(e.file)+"` ")])]):e._e(),e.trace.length>0?a("div",[a("h3",{staticClass:"ErrorDetails__subtitle"},[e._v(" #### "+e._s(e.$t("errors.details-stacktrace"))+" ")]),a("div",{staticClass:"ErrorDetails__trace"},[e._v(" >! Details"),a("br"),e._v(" ```log"),a("br"),e._l(e.trace,(function(t,s){return a("div",{key:s,staticClass:"ErrorDetails__traceItem"},[a("span",{staticClass:"ErrorDetails__traceItem__index"},[e._v("- "+e._s(s)+": ")]),a("span",{staticClass:"ErrorDetails__traceItem__info"},[t.class?a("span",[e._v(e._s(t.class)+"::")]):e._e(),e._v(e._s(t.function)+" "),a("br")]),t.file?a("span",{staticClass:"ErrorDetails__traceItem__info"},[e._v(" File: "+e._s(t.file)+", line "+e._s(t.line)+" ")]):e._e()])})),e._v(" ``` ")],2)]):e._e()]),a("hr"),a("div",{staticClass:"ErrorDetails__footer"},[e.isCopied?a("p",{staticClass:"ErrorDetails__is-copied"},[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("copied-in-clipboard"))+" ")]):e._e(),a("button",{staticClass:"info",on:{click:e.copyErrorContent}},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.$t("copy-to-clipboard"))+" ")]),a("button",{on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.$t("close"))+" ")])])])])},Ae=[],Ne=(a("1276"),function(e){if(!e)return"";var t=e.split("/src/");return t.length>0?"src/".concat(t[1]):e}),Ie={name:"ErrorDetails",props:["data"],data:function(){return{isCopied:!1}},computed:{file:function(){return Ne(this.data.file)},trace:function(){return this.data.stackTrace?this.data.stackTrace.map((function(e){var t=e.file;return Object(g["a"])(Object(g["a"])({},e),{},{file:Ne(t)})})):[]}},methods:{copyErrorContent:function(){var e=document.createRange();e.selectNode(this.$refs.errorContent),window.getSelection().removeAllRanges(),window.getSelection().addRange(e),document.execCommand("copy"),this.isCopied=!0,window.getSelection().removeAllRanges()}}},Pe=Ie,Be=(a("8633"),Object(ge["a"])(Pe,qe,Ae,!1,null,null,null)),Re=Be.exports,Ve={name:"Help",props:{message:{required:!0,default:""},error:{type:Error,default:null},isLoading:{type:Boolean,default:!1}},data:function(){return{errorDetailsModalOpened:!1}},computed:{modifier:function(){return this.isLoading?"info":this.error?"error":this.message.type?this.message.type:"info"},messageText:function(){return this.message.text?this.message.text:this.message},networkError:function(){var e,t,a,s;return{code:(null===(e=this.error)||void 0===e||null===(t=e.response)||void 0===t?void 0:t.status)||0,text:(null===(a=this.error)||void 0===a||null===(s=a.response)||void 0===s?void 0:s.statusText)||this.$t("errors.api-unreachable")}},errorData:function(){var e,t;if(null===(e=this.error)||void 0===e||!e.response)return{code:"",message:this.$t("errors.api-unreachable")};var a=this.error.response,s=a.status;if(400===s){var i,n=(null===(i=a.data)||void 0===i?void 0:i.error)||{details:{}},r=n.details;return{code:"",message:this.$t("errors.validation"),details:r}}if(409===s)return{code:"",message:this.$t("errors.already-exists")};var o={requested:"",code:500,message:"Unknown error",file:"",stackTrace:[]};return(null===(t=a.data)||void 0===t?void 0:t.error)||o}},methods:{displayErrorDetails:function(){var e=this;this.errorDetailsModalOpened||(this.errorDetailsModalOpened=!0,this.$modal.show(Re,{data:this.errorData},je,{"before-close":function(){e.errorDetailsModalOpened=!1}}))}}},He=Ve,Ue=(a("ef5b"),Object(ge["a"])(He,xe,Le,!1,null,null,null)),ze=Ue.exports,Qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"FormField",class:e.addon?"FormField--with-addon":""},[e.label?a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "),e.required?a("span",{staticClass:"FormField__label__required"},[e._v("*")]):e._e()]):e._e(),["text","email","tel","password","number"].includes(e.type)?a("div",{staticClass:"FormField__input-wrapper"},[a("input",{staticClass:"FormField__input",attrs:{type:e.type,step:"number"===e.type?e.step||.01:null,min:"number"===e.type&&e.min||null,max:"number"===e.type&&e.max||null,name:e.name,autocomplete:"password"===e.type?"new-password":"off",disabled:e.disabled,placeholder:e.$t(e.placeholder)},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},change:function(t){return e.$emit("change",t.target.value)}}}),e.addon?a("div",{staticClass:"FormField__addon"},[e._v(" "+e._s(e.addon)+" ")]):e._e()]):e._e(),"select"===e.type?a("select",{key:e.renderKey,attrs:{name:e.name,disabled:e.disabled},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},change:function(t){return e.$emit("change",t.target.value)}}},e._l(e.options,(function(t){return a("option",{key:t.value,domProps:{value:t.value}},[e._v(" "+e._s(e.$t(t.label))+" ")])})),0):e._e(),"textarea"===e.type?a("textarea",{staticClass:"FormField__textarea",attrs:{name:e.name,disabled:e.disabled,placeholder:e.$t(e.placeholder)},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}}):e._e(),e._v(" "),"date"===e.type?a("Datepicker",{staticClass:"FormField__datepicker",attrs:{value:e.value,language:e.datepickerLang,format:e.datepickerOptions.format,"disabled-dates":e.datepickerOptions.disabled,placeholder:e.$t(e.placeholder),"input-class":"FormField__datepicker__input","monday-first":""},on:{input:e.handleDatepickerChange}}):e._e(),"switch"===e.type?a("div",{staticClass:"FormField__switch"},[a("SwitchToggle",{attrs:{value:e.value,locked:e.disabled,lockedReason:e.disabledReason},on:{input:e.handleSwitchChange}})],1):e._e(),e.errors?a("div",{staticClass:"FormField__error"},[a("span",{staticClass:"FormField__error__text"},[e._v(e._s(e.errors[0]))])]):e._e()],1)},Ye=[],Ge=(a("a9e3"),a("fa33")),We=a("ee9b"),Ke=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SwitchToggle",class:e.classnames,on:{click:e.handleSwitch}},[e._m(0),a("div",{staticClass:"SwitchToggle__label"},[e.value?a("span",[e._v(e._s(e.$t("yes")))]):e._e(),e.value?e._e():a("span",[e._v(e._s(e.$t("no")))]),e.locked&&e.lockedReason?a("span",{staticClass:"SwitchToggle__label__locked"},[e._v(" ("+e._s(e.$t("locked"))+": "+e._s(e.lockedReason)+") ")]):e._e()])])},Je=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SwitchToggle__slide"},[a("div",{staticClass:"SwitchToggle__button"})])}],Ze={name:"SwitchToggle",props:{value:Boolean,locked:Boolean,lockedReason:String},computed:{classnames:function(){return{"SwitchToggle--enabled":this.value,"SwitchToggle--locked":this.locked}}},methods:{handleSwitch:function(){this.locked||this.$emit("input",!this.value)}}},Xe=Ze,et=(a("5ffb"),Object(ge["a"])(Xe,Ke,Je,!1,null,null,null)),tt=et.exports,at=["text","email","password","number","tel","select","textarea","date","switch"],st={name:"FormField",components:{Datepicker:Ge["a"],SwitchToggle:tt},props:{label:String,name:String,type:{validator:function(e){return at.includes(e)},default:"text"},required:Boolean,disabled:Boolean,disabledReason:String,placeholder:String,value:[String,Number,Date,Boolean],step:Number,min:Number,max:Number,addon:String,options:Array,errors:Array,datepickerOptions:Object},data:function(){return{datepickerLang:We[B.state.i18n.locale],renderKey:1}},watch:{options:function(){this.renderKey+=1}},methods:{handleDatepickerChange:function(e){this.$emit("input",e);var t=r()(e).format("YYYY-MM-DD");this.$emit("change",{field:this.name,newValue:t,newDate:e})},handleSwitchChange:function(e){this.$emit("input",e),this.$emit("change",{field:this.name,newValue:e})}}},it=st,nt=(a("f62a"),Object(ge["a"])(it,Qe,Ye,!1,null,null,null)),rt=nt.exports,ot={name:"UserProfile",components:{Help:ze,FormField:rt},data:function(){var e=this.$store.state.auth.user;return{help:"page-profile.help",error:null,isLoading:!1,isPasswordEdit:!1,user:{id:e.id,pseudo:e.pseudo,email:e.email,password:"",password_confirmation:"",group_id:e.groupId,person:{first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}},errors:{pseudo:null,email:null,password:null,group_id:null,person:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null}}}},computed:{groupId:function(){return this.$store.state.auth.user.groupId}},mounted:function(){this.fetch()},methods:{fetch:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.resetHelpLoading(),t.prev=3,t.next=6,e.$http.get("".concat(s,"/").concat(a));case 6:i=t.sent,n=i.data,e.setUserData(n),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),e.displayError(t.t0);case 14:return t.prev=14,e.isLoading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[3,11,14,17]])})))()},save:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n,r,o,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.user,s=a.id,i=a.password,s){t.next=3;break}return t.abrupt("return");case 3:if(n=Object(g["a"])({},e.user),!i){t.next=12;break}if(i===e.user.password_confirmation){t.next=9;break}return e.errors.password=[e.$t("page-profile.password-confirmation-must-match")],e.displayError(e.$t("errors.validation")),t.abrupt("return");case 9:e.errors.password=null,delete n.password_confirmation,delete n.person;case 12:return r=e.$route.meta.resource,e.resetHelpLoading(),t.prev=14,t.next=17,e.$http.put("".concat(r,"/").concat(s),n);case 17:o=t.sent,l=o.data,c=e.isPasswordEdit?"page-profile.password-modified":"page-profile.saved",e.help={type:"success",text:c},e.isPasswordEdit=!1,e.setUserData(l),e.$store.commit("auth/setUserProfile",l),t.next=29;break;case 26:t.prev=26,t.t0=t["catch"](14),e.displayError(t.t0);case 29:return t.prev=29,e.isLoading=!1,t.finish(29);case 32:case"end":return t.stop()}}),t,null,[[14,26,29,32]])})))()},resetHelpLoading:function(){this.help="page-profile.help",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-profile.help",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setUserData:function(e){var t=e.person;t||(t={first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}),this.user=Object(g["a"])(Object(g["a"])({},e),{},{person:t})},togglePasswordEdit:function(e){e.preventDefault(),this.isPasswordEdit=!this.isPasswordEdit,this.isPasswordEdit||(this.user.password="",this.user.password_confirmation="")}}},lt=ot,ct=(a("52dc"),Object(ge["a"])(lt,Se,Fe,!1,null,null,null)),ut=ct.exports,dt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view UserSettings"},[a("h3",{staticClass:"UserSettings__title"},[e._v(" "+e._s(e.$t("page-settings.interface"))+" ")]),a("div",{staticClass:"UserSettings__content"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:function(t){return t.preventDefault(),e.save(t)}}},[a("section",{staticClass:"Form__fieldset"},[a("FormField",{attrs:{name:"language",label:"page-settings.language",type:"select",options:e.langsOptions,errors:e.errors.language},model:{value:e.settings.language,callback:function(t){e.$set(e.settings,"language",t)},expression:"settings.language"}}),a("FormField",{staticClass:"UserSettings__hours",attrs:{name:"auth_token_validity_duration",label:"page-settings.auth-token-validity-duration",type:"number",addon:e.$t("hours"),errors:e.errors.auth_token_validity_duration},model:{value:e.settings.auth_token_validity_duration,callback:function(t){e.$set(e.settings,"auth_token_validity_duration",t)},expression:"settings.auth_token_validity_duration"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("div",{staticClass:"UserSettings__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),a("div",{staticClass:"UserSettings__extras__buttons"},[a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-user-alt"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}])})],1)],1)])])])},mt=[],pt={name:"UserSettings",components:{Help:ze,FormField:rt},data:function(){return{help:"page-settings.help",error:null,isLoading:!0,langsOptions:[{label:"french",value:"FR"},{label:"english",value:"EN"}],settings:{language:"",auth_token_validity_duration:""},errors:{language:null,auth_token_validity_duration:null}}},mounted:function(){this.fetch()},methods:{fetch:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.isLoading=!0,t.prev=3,t.next=6,e.$http.get("".concat(s,"/").concat(a,"/settings"));case 6:i=t.sent,n=i.data,e.settings=n,t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](3),e.displayError(t.t0);case 14:return t.prev=14,e.isLoading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[3,11,14,17]])})))()},save:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s,n,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.$store.state.auth.user.id,s=e.$route.meta.resource,e.isLoading=!0,t.prev=3,t.next=6,e.$http.put("".concat(s,"/").concat(a,"/settings"),e.settings);case 6:n=t.sent,r=n.data,e.settings=r,e.help={type:"success",text:"page-settings.saved"},o=r.language.toLowerCase(),localStorage.setItem("userLocale",o),e.$store.commit("auth/setLocale",r.language),i["default"].i18n.set(o),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](3),e.displayError(t.t0);case 19:return t.prev=19,e.isLoading=!1,t.finish(19);case 22:case"end":return t.stop()}}),t,null,[[3,16,19,22]])})))()},displayError:function(e){var t,a;this.help="page-settings.help",this.error=e;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))}}},ft=pt,_t=(a("5afa"),Object(ge["a"])(ft,dt,mt,!1,null,null,null)),ht=_t.exports,vt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__header"},[a("CalendarHeader",{ref:"Header",attrs:{isLoading:e.isLoading},on:{"set-center-date":e.setCenterDate,refresh:e.getEventsData,filterMissingMaterials:e.handleFilterMissingMaterial,filterByPark:e.handleFilterByPark}})],1),a("div",{ref:"Container",staticClass:"content__main-view Calendar"},[a("i",{staticClass:"fas fa-circle-notch fa-3x fa-spin Calendar__loading"}),a("Timeline",{ref:"Timeline",staticClass:"Calendar__timeline",attrs:{items:e.events,options:e.timelineOptions,events:["itemover","itemout","doubleClick","items-remove","rangechanged"]},on:{itemover:e.onItemOver,itemout:e.onItemOut,"double-click":e.onDoubleClick,"items-remove":e.onRemoved,rangechanged:e.onRangeChanged}}),a("Help",{attrs:{message:e.help,error:e.error}})],1)])},gt=[],bt=a("2909"),yt=(a("25eb"),a("13d9")),Ct=a("3dd1"),wt=a.n(Ct),kt=function(e,t){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return wt.a.fire({title:e("please-confirm"),text:e("page-".concat(t,a?".confirm-delete":".confirm-permanently-delete")),icon:"warning",showCancelButton:!0,customClass:{confirmButton:a?"swal2-confirm--trash":"swal2-confirm--delete"},confirmButtonText:e(a?"yes-delete":"yes-permanently-delete"),cancelButtonText:e("cancel")})},$t=function(e,t){return wt.a.fire({title:e("please-confirm"),text:e("page-".concat(t,".confirm-restore")),icon:"warning",showCancelButton:!0,customClass:{confirmButton:"swal2-confirm--restore"},confirmButtonText:e("yes-restore"),cancelButtonText:e("cancel")})},Et=function(e,t,a){var s=a.titleData,i=void 0===s?void 0:s,n=a.placeholder,r=void 0===n?"":n,o=a.confirmText,l=void 0===o?"save":o,c=a.inputType,u=void 0===c?"text":c,d=a.inputValue,m=void 0===d?"":d;return wt.a.fire({title:e(t,i),input:u,inputPlaceholder:e(r),inputValue:m,showCancelButton:!0,customClass:{confirmButton:"swal2-confirm--success"},confirmButtonText:e(l),cancelButtonText:e("cancel")})},Dt={ConfirmDelete:kt,ConfirmRestore:$t,Prompt:Et},Mt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventDetails"},[e.isLoading?a("section",{staticClass:"EventDetails__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin fa-2x"}),e._v(" "+e._s(e.$t("page-calendar.loading-event"))+" ")]):e._e(),!e.isLoading&&e.event?a("section",{staticClass:"EventDetails__content"},[a("Header",{attrs:{event:e.event},on:{close:function(t){return e.$emit("close")},saved:e.handleSaved,error:e.handleError}}),a("div",{staticClass:"EventDetails__content__body"},[a("Help",{attrs:{message:e.help,error:e.error}}),a("tabs",[a("tab",{attrs:{"title-slot":"infos"}},[e.event.location?a("div",{staticClass:"EventDetails__location"},[a("i",{staticClass:"fas fa-map-marker-alt"}),e._v(" "+e._s(e.$t("in"))+" "),a("strong",[e._v(e._s(e.event.location))]),a("a",{attrs:{href:"https://www.openstreetmap.org/search?query="+e.event.location,target:"_blank",title:e.$t("open-in-openstreetmap")}},[e._v(" "),a("i",{staticClass:"fas fa-external-link-alt"})])]):e._e(),0===e.beneficiaries.length?a("div",{staticClass:"EventDetails__no-beneficiary"},[a("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" "+e._s(e.$t("page-events.warning-no-beneficiary"))+" ")]):e._e(),e.beneficiaries.length>0?a("div",{staticClass:"EventDetails__beneficiaries"},[a("i",{staticClass:"fas fa-address-book"}),e._v(" "+e._s(e.$t("for"))+" "),e._l(e.beneficiaries,(function(t){return a("div",{key:t.id,staticClass:"EventDetails__beneficiary"},[a("router-link",{attrs:{to:"/beneficiaries/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.name)+" ")]),t.company?a("router-link",{attrs:{to:"/companies/"+t.company_id,title:e.$t("action-edit")}},[e._v(" ("+e._s(t.company)+") ")]):e._e()],1)}))],2):e._e(),e.assignees.length>0?a("div",{staticClass:"EventDetails__assignees"},[a("i",{staticClass:"fas fa-people-carry"}),e._v(" "+e._s(e.$t("with"))+" "),e._l(e.assignees,(function(t){return a("div",{key:t.id,staticClass:"EventDetails__assignee"},[a("router-link",{attrs:{to:"/technicians/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.name)+" ")])],1)}))],2):e._e(),e.event.description?a("p",{staticClass:"EventDetails__description"},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.event.description)+" ")]):e._e(),e.hasMaterials&&!e.event.isPast?a("div",{staticClass:"EventDetails__confirmation",class:{"EventDetails__confirmation--confirmed":e.event.is_confirmed}},[e.event.is_confirmed?e._e():a("p",[a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("page-events.event-not-confirmed-help"))+" ")]),e.event.is_confirmed?a("p",[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("page-events.event-confirmed-help"))+" ")]):e._e()]):e._e()]),a("tab",{attrs:{"title-slot":"materials",disabled:!e.hasMaterials}},[a("EventMissingMaterials",{attrs:{eventId:e.event.id}}),e.hasMaterials?a("EventMaterials",{attrs:{materials:e.event.materials,start:e.event.startDate,end:e.event.endDate,withRentalPrices:e.showBilling&&e.event.is_billable,hideDetails:e.event.materials.length>16}}):e._e()],1),e.showBilling?a("tab",{attrs:{"title-slot":"billing",disabled:!e.hasMaterials}},[e.hasMaterials&&e.event.is_billable?a("EventBilling",{attrs:{beneficiaries:e.event.beneficiaries,lastBill:e.lastBill,materials:e.event.materials,start:e.event.startDate,end:e.event.endDate,loading:e.billLoading},on:{discountRateChange:e.handleChangeDiscountRate,createBill:e.handleCreateBill}}):e._e(),e.event.is_billable?e._e():a("div",{staticClass:"EventDetails__not-billable"},[a("p",[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("event-not-billable"))+" ")]),!e.event.is_confirmed&&e.userCanEditBill?a("p",[a("button",{staticClass:"success",on:{click:e.setEventIsBillable}},[e._v(" "+e._s(e.$t("enable-billable-event"))+" ")])]):e._e()])],1):e._e(),a("template",{slot:"infos"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("informations"))+" ")]),a("template",{slot:"materials"},[a("i",{staticClass:"fas fa-box"}),e._v(" "+e._s(e.$t("material"))+" ")]),a("template",{slot:"billing"},[a("i",{staticClass:"fas fa-file-invoice-dollar"}),e._v(" "+e._s(e.$t("billing"))+" ")])],2),e.hasMaterials?a("div",{staticClass:"EventDetails__totals"},[a("EventTotals",{attrs:{materials:e.event.materials,withRentalPrices:e.showBilling&&e.event.is_billable,discountRate:e.discountRate,start:e.event.startDate,end:e.event.endDate}})],1):e._e(),e.hasMaterials?e._e():a("div",{staticClass:"EventDetails__materials-empty"},[a("p",[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("page-events.warning-no-material"))+" ")]),e.event.isPast?e._e():a("router-link",{attrs:{to:"/events/"+e.event.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("page-events.edit-event"))+" ")])]}}],null,!1,906362114)})],1)],1)],1):e._e()])},Tt=[],St=a("0652"),Ft=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventMaterials"},[!e.showMaterialsList||e.materials.length>30?a("div",{staticClass:"EventMaterials__toggle"},[a("button",{class:{info:!e.showMaterialsList},on:{click:function(t){e.showMaterialsList=!e.showMaterialsList}}},[a("i",{staticClass:"fas",class:{"fa-eye":!e.showMaterialsList,"fa-eye-slash":e.showMaterialsList}}),e._v(" "+e._s(e.$t(e.showMaterialsList?"hide-materials-details":"show-materials-details"))+" ")])]):e._e(),e.showMaterialsList?a("div",{staticClass:"EventMaterials__categories"},e._l(e.categories,(function(t,s){return a("div",{key:t.id,staticClass:"EventMaterials__category"},[a("h4",{staticClass:"EventMaterials__title"},[e._v(" "+e._s(t.name)+" ")]),a("ul",{staticClass:"EventMaterials__list"},e._l(t.materials,(function(t){return a("li",{key:t.id,staticClass:"EventMaterials__item"},[a("div",{staticClass:"EventMaterials__item__quantity-first"},[e._v(" "+e._s(t.pivot.quantity)+" ")]),a("div",{staticClass:"EventMaterials__item__name"},[e._v(" "+e._s(t.name)+" ")]),e.withRentalPrices?a("div",{staticClass:"EventMaterials__item__price"},[e._v(" "+e._s(e.formatAmount(t.rental_price))+" ")]):e._e(),a("div",{staticClass:"EventMaterials__item__quantity"},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(t.pivot.quantity)+" ")]),e.withRentalPrices?a("div",{staticClass:"EventMaterials__item__total"},[e._v(" "+e._s(e.formatAmount(t.pivot.quantity*t.rental_price))+" ")]):e._e()])})),0),e.withRentalPrices?a("div",{staticClass:"EventMaterials__subtotal"},[s===e.categories.length-1?a("button",{on:{click:function(t){e.showMaterialsList=!1}}},[a("i",{staticClass:"fas fa-eye-slash"}),e._v(" "+e._s(e.$t("hide-materials-details"))+" ")]):e._e(),a("div",{staticClass:"EventMaterials__subtotal__name"},[e._v(" "+e._s(e.$t("sub-total"))+" ")]),a("div",{staticClass:"EventMaterials__subtotal__price"},[e._v(" "+e._s(e.formatAmount(t.subTotal))+" ")])]):e._e()])})),0):e._e()])},xt=[],Lt=function(e){var t=v.currency.iso;return e.toLocaleString(void 0,{style:"currency",currency:t,currencyDisplay:"symbol",useGrouping:!0})},Ot=Lt,jt=(a("c740"),function(e,t){if(!e||0===e.length||!t)return[];var a=[];return e.forEach((function(e){var s=e.category_id,i=e.rental_price,n=e.pivot,r=a.findIndex((function(e){return e.id===s}));if(r<0){var o=t(s);a.push({id:s,name:o}),r=a.length-1}var l=n.quantity;a[r].materials?(a[r].materials.push(e),a[r].subTotal+=l*i):(a[r].materials=[e],a[r].subTotal=l*i)})),a.forEach((function(e){e.materials.sort((function(e,t){var a=e.rental_price*e.pivot.quantity,s=t.rental_price*t.pivot.quantity;return a>s?-1:1}))})),a}),qt=jt,At={name:"EventMaterials",props:{materials:Array,start:Object,end:Object,withRentalPrices:{type:Boolean,default:!0},hideDetails:{type:Boolean,default:!1}},data:function(){return{showMaterialsList:!this.hideDetails}},computed:{categories:function(){var e=B.getters["categories/categoryName"];return qt(this.materials,e)}},created:function(){B.dispatch("categories/fetch")},methods:{formatAmount:function(e){return Ot(e)}}},Nt=At,It=(a("86c6"),Object(ge["a"])(Nt,Ft,xt,!1,null,null,null)),Pt=It.exports,Bt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.hasMissingMaterials||e.error?a("div",{staticClass:"EventMissingMaterials"},[a("h3",{staticClass:"EventMissingMaterials__title"},[a("i",{staticClass:"fas fa-box-open"}),e._v(" "+e._s(e.$t("page-events.event-missing-materials"))+" ")]),a("p",{staticClass:"EventMissingMaterials__help"},[e._v(" "+e._s(e.$t("page-events.event-missing-materials-help"))+" ")]),e.error?a("div",{staticClass:"EventMissingMaterials__error"},[e._v(" "+e._s(e.error)+" ")]):e._e(),a("ul",{staticClass:"EventMissingMaterials__list"},e._l(e.missingMaterials,(function(t){return a("li",{key:t.id,staticClass:"EventMissingMaterials__item"},[a("div",{staticClass:"EventMissingMaterials__item__name"},[e._v(" "+e._s(t.name)+" ")]),a("div",{staticClass:"EventMissingMaterials__item__quantity"},[e._v(" "+e._s(e.$t("page-events.missing-material-count",e.getMissingCount(t)))+" ")])])})),0)]):e._e()},Rt=[],Vt={name:"EventMissingMaterials",props:{eventId:Number},data:function(){return{hasMissingMaterials:!1,missingMaterials:[],error:null}},mounted:function(){this.fetchMissingMaterials()},methods:{fetchMissingMaterials:function(){var e=this;this.$http.get("events/".concat(this.eventId,"/missing-materials")).then((function(t){var a=t.data;e.missingMaterials=a,e.hasMissingMaterials=a.length>0})).catch(this.displayError)},getMissingCount:function(e){var t=e.pivot.quantity;return{quantity:t,missing:e.missing_quantity}},displayError:function(e){this.error=e}}},Ht=Vt,Ut=(a("5b9a"),Object(ge["a"])(Ht,Bt,Rt,!1,null,null,null)),zt=Ut.exports,Qt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"EventBilling"},[a("div",{staticClass:"EventBilling__last-bill"},[!e.lastBill||e.displayCreateBill||e.loading?e._e():a("div",{staticClass:"EventBilling__last-bill__download"},[a("p",{staticClass:"EventBilling__last-bill__download__text"},[e._v(" "+e._s(e.$t("download-bill-help1",{number:e.lastBill.number,date:e.lastBill.date.format("L")}))+" "),e.discountRate>0?a("span",[e._v(e._s(e.$t("download-bill-help2",{discountRate:e.discountRate}))+",")]):e._e(),0===e.discountRate?a("span",[e._v(e._s(e.$t("without-discount"))+",")]):e._e(),e._v(" "+e._s(e.$t("download-bill-help3",{amount:e.formatAmount(e.lastBill.due_amount)}))+". ")]),a("a",{staticClass:"EventBilling__last-bill__download__link",attrs:{href:e.billPdfUrl}},[a("i",{staticClass:"fas fa-download"}),e._v(" "+e._s(e.$t("download-bill-pdf"))+" ")])]),e.lastBill&&e.userCanEdit?a("div",{staticClass:"EventBilling__last-bill__regenerate"},[a("p",{staticClass:"EventBilling__last-bill__regenerate__text"},[e._v(" "+e._s(e.$t("regenerate-bill-help"))+" ")]),e.displayCreateBill||e.loading?e._e():a("a",{attrs:{href:"#"},on:{click:e.openBillRegeneration}},[a("i",{staticClass:"fas fa-sync"}),e._v(" "+e._s(e.$t("click-here-to-regenerate"))+" ")])]):e._e(),e.isBillable?e._e():a("div",{staticClass:"EventBilling__last-bill__not-billable"},[a("h3",{staticClass:"EventBilling__last-bill__not-billable__title"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("missing-beneficiary"))+" ")]),e.userCanEdit?a("p",{staticClass:"EventBilling__last-bill__not-billable__text"},[e._v(" "+e._s(e.$t("not-billable-help"))),a("br"),e._v(" "+e._s(e.$t("click-edit-to-create-one"))+" ")]):e._e()]),!e.lastBill&&e.isBillable?a("p",{staticClass:"EventBilling__last-bill__no-bill"},[e._v(" "+e._s(e.$t("no-bill-help"))),a("br"),e.userCanEdit?a("span",[e._v(e._s(e.$t("create-bill-help")))]):a("span",[e._v(e._s(e.$t("contact-someone-to-create-bill")))])]):e._e(),e.displayCreateBill||e.loading||!e.lastBill&&e.isBillable&&e.userCanEdit?a("form",{staticClass:"Form EventBilling__last-bill__create",attrs:{method:"POST"},on:{submit:e.createBill}},[a("div",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(e._s(e.$t("discount")))]),a("FormField",{staticClass:"EventBilling__last-bill__discount-input",attrs:{name:"discountRate",type:"number",step:1e-4,min:0,max:99.9999,addon:"%",label:"wanted-rate",disabled:e.loading},model:{value:e.discountRate,callback:function(t){e.discountRate=t},expression:"discountRate"}}),a("FormField",{staticClass:"EventBilling__last-bill__discount-target-input",attrs:{value:e.discountTarget,name:"discountTarget",type:"number",step:.01,min:0,max:e.grandTotal,addon:e.currency,label:"wanted-amount",disabled:e.loading},on:{change:e.recalcDiscountRate}}),a("div",{staticClass:"EventBilling__last-bill__beneficiary"},[a("label",{staticClass:"EventBilling__last-bill__beneficiary__label"},[e._v(" "+e._s(e.$t("beneficiary"))+" ")]),a("div",{staticClass:"EventBilling__last-bill__beneficiary__name"},[a("router-link",{key:e.beneficiaries[0].id,attrs:{to:"/beneficiaries/"+e.beneficiaries[0].id,title:e.$t("action-edit")}},[e._v(" "+e._s(e.beneficiaries[0].full_name)+" ")])],1)])],1),a("div",{staticClass:"EventBilling__last-bill__save"},[a("button",{staticClass:"success",attrs:{type:"submit"}},[e.loading?a("i",{staticClass:"fas fa-spinner fa-spin"}):e._e(),e._v(" "+e._s(e.$t("create-bill"))+" ")]),e.lastBill?a("button",{attrs:{type:"button"},on:{click:e.closeBillRegeneration}},[e._v(" "+e._s(e.$t("cancel"))+" ")]):e._e()])]):e._e()])])},Yt=[],Gt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.pivot.quantity}),0):0},Wt=Gt,Kt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.rental_price*t.pivot.quantity}),0):0},Jt=Kt,Zt=function(e){return e&&0!==e.length?e.reduce((function(e,t){return t.is_discountable?e+t.rental_price*t.pivot.quantity:e}),0):0},Xt=Zt,ea=(a("9129"),function(e,t){if("number"!==typeof e||Number.isNaN(e))return 0;if(0===e||0===t)return 0;var a=v.degressiveRate(t);return e*a}),ta=ea,aa=function(e){return e&&0!==e.length?e.reduce((function(e,t){return e+t.replacement_price*t.pivot.quantity}),0):0},sa=aa,ia=(a("35b3"),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Math.round((e+Number.EPSILON)*Math.pow(10,t))/Math.pow(10,t)}),na=ia,ra={name:"EventBilling",components:{FormField:rt},props:{lastBill:Object,beneficiaries:Array,materials:Array,loading:Boolean,start:Object,end:Object},data:function(){return{duration:this.end?this.end.diff(this.start,"days")+1:1,discountRate:this.lastBill?this.lastBill.discount_rate:0,currency:v.currency.symbol,isBillable:this.beneficiaries.length>0,displayCreateBill:!1}},watch:{discountRate:function(e){this.$emit("discountRateChange",parseFloat(e))}},computed:{userCanEdit:function(){return this.$store.getters["auth/is"](["admin","member"])},billPdfUrl:function(){var e=v.baseUrl,t=this.lastBill||{id:null},a=t.id;return"".concat(e,"/bills/").concat(a,"/pdf")},ratio:function(){return v.degressiveRate(this.duration)},itemsCount:function(){return Wt(this.materials)},total:function(){return Jt(this.materials)},grandTotal:function(){return ta(this.total,this.duration)},totalDiscountable:function(){return Xt(this.materials)},grandTotalDiscountable:function(){return ta(this.totalDiscountable,this.duration)},discountAmount:function(){return this.grandTotalDiscountable*(this.discountRate/100)},discountTarget:{get:function(){return na(this.grandTotal-this.discountAmount)},set:function(e){var t=this.grandTotal-e,a=t/this.grandTotalDiscountable*100;this.discountRate=na(a,4)}},grandTotalWithDiscount:function(){return this.grandTotal-this.discountAmount},replacementTotal:function(){return sa(this.materials)}},methods:{recalcDiscountRate:function(e){this.discountTarget=parseFloat(e)},createBill:function(e){e.preventDefault(),this.displayCreateBill=!1,this.loading||this.$emit("createBill",this.discountRate)},openBillRegeneration:function(){this.displayCreateBill=!0},closeBillRegeneration:function(){this.displayCreateBill=!1},formatAmount:function(e){return Ot(e)}}},oa=ra,la=(a("19d4"),Object(ge["a"])(oa,Qt,Yt,!1,null,null,null)),ca=la.exports,ua=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"EventTotals"},[e.withRentalPrices?a("div",[a("div",{staticClass:"EventTotals__base"},[e._v(" "+e._s(e.$t("total"))+": "),a("span",{staticClass:"EventTotals__items-count"},[e._v(" "+e._s(e.$t("items-count",{count:e.itemsCount},e.itemsCount))+" ")]),a("span",{staticClass:"EventTotals__daily-total"},[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.formatAmount(e.total))+" ")]),a("span",{staticClass:"EventTotals__duration"},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.duration)+" "+e._s(e.duration>1?e.$t("days"):e.$t("day"))+" ")]),a("span",{staticClass:"EventTotals__ratio"},[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.$t("ratio"))+" "+e._s(e.ratio)+" ")])]),a("div",{staticClass:"EventTotals__grand"},[e._v(" "+e._s(e.$t("total-amount"))+": "+e._s(e.formatAmount(e.grandTotal))+" ")]),e.discountRate>0&&e.totalDiscountable!==e.total?a("div",{staticClass:"EventTotals__discountable"},[e._v(" "+e._s(e.$t("total-discountable"))+": "+e._s(e.formatAmount(e.totalDiscountable))+" / "+e._s(e.$t("day"))+" "),a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.formatAmount(e.grandTotalDiscountable))+" ")]):e._e(),e.discountRate>0?a("div",{staticClass:"EventTotals__discount"},[e._v(" "+e._s(e.$t("discount"))+" "+e._s(e.discountRate)+" % "),a("i",{staticClass:"fas fa-arrow-right"}),e._v(" - "+e._s(e.formatAmount(e.discountAmount))+" ")]):e._e(),e.discountRate>0?a("div",{staticClass:"EventTotals__grand-discount"},[e._v(" "+e._s(e.$t("total-amount-with-discount"))+": "+e._s(e.formatAmount(e.grandTotalWithDiscount))+" ")]):e._e(),e.duration>1?a("div",{staticClass:"EventTotals__daily"},[e._v(" ("+e._s(e.formatAmount(e.grandTotalWithDiscount/e.duration))+" / "+e._s(e.$t("day"))+") ")]):e._e()]):e._e(),a("div",{staticClass:"EventTotals__replacement"},[e._v(" "+e._s(e.$t("replacement-total"))+": "+e._s(e.formatAmount(e.replacementTotal))+" ")])])},da=[],ma={name:"EventTotals",components:{FormField:rt},props:{materials:Array,withRentalPrices:Boolean,discountRate:Number,start:Object,end:Object},data:function(){return{duration:this.end?this.end.diff(this.start,"days")+1:1,currency:v.currency.symbol}},created:function(){B.dispatch("categories/fetch")},computed:{ratio:function(){return v.degressiveRate(this.duration)},itemsCount:function(){return Wt(this.materials)},total:function(){return Jt(this.materials)},grandTotal:function(){return ta(this.total,this.duration)},totalDiscountable:function(){return Xt(this.materials)},grandTotalDiscountable:function(){return ta(this.totalDiscountable,this.duration)},discountAmount:function(){return this.grandTotalDiscountable*(this.discountRate/100)},discountTarget:{get:function(){return na(this.grandTotal-this.discountAmount)},set:function(e){var t=this.grandTotal-e,a=t/this.grandTotalDiscountable*100;this.discountRate=na(a,4)}},grandTotalWithDiscount:function(){return this.grandTotal-this.discountAmount},replacementTotal:function(){return sa(this.materials)}},methods:{recalcDiscountRate:function(e){this.discountTarget=parseFloat(e)},formatAmount:function(e){return Ot(e)}}},pa=ma,fa=(a("9b72"),Object(ge["a"])(pa,ua,da,!1,null,null,null)),_a=fa.exports,ha=function(e){var t=e.start_date,a=e.end_date,s=e.is_confirmed,i=e.has_missing_materials,n=r()(),o=r()(t),l=r()(a),c=l.isBefore(n,"day"),u=n.isBetween(o,l,"day","[]");return Object(g["a"])(Object(g["a"])({},e),{},{startDate:o,endDate:l,isConfirmed:s,isPast:c,isCurrent:u,hasMissingMaterials:i})},va=ha,ga=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"EventDetailsHeader"},[a("div",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.event.isConfirmed?e.$t("confirmed"):e.$t("not-confirmed"),expression:"event.isConfirmed ? $t('confirmed') : $t('not-confirmed')",modifiers:{bottom:!0}}],staticClass:"EventDetailsHeader__status"},[e.event.isConfirmed?e._e():a("i",{staticClass:"far fa-calendar-times"}),e.event.isConfirmed?a("i",{staticClass:"fas fa-check"}):e._e()]),a("div",{staticClass:"EventDetailsHeader__details"},[a("h4",{staticClass:"EventDetailsHeader__details__title"},[e._v(" "+e._s(e.event.title)+" ")]),a("div",{staticClass:"EventDetailsHeader__details__location-dates"},[e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" "),e.event.isCurrent?a("span",{staticClass:"EventDetailsHeader__details__in-progress"},[e._v(" ("+e._s(e.$t("in-progress"))+") ")]):e._e()])]),a("div",{staticClass:"EventDetailsHeader__actions"},[a("router-link",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],attrs:{to:"/events/"+e.event.id,disabled:e.event.isConfirmed,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("action-edit"))+" ")])]}}])}),e.event.isConfirmed?e._e():a("button",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],staticClass:"success",attrs:{disabled:e.event.materials&&0===e.event.materials.length},on:{click:e.confirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("confirm"))+" ")]),e.event.isConfirmed?a("button",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],staticClass:"warning",on:{click:e.unconfirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("set-back-on-hold"))+" ")]):e._e(),e.isPrintable?a("a",{staticClass:"EventDetailsHeader__actions__print",attrs:{href:e.eventSummaryPdfUrl,target:"_blank"}},[a("i",{staticClass:"fas fa-print"}),e._v(" "+e._s(e.$t("print"))+" ")]):e._e()],1),a("button",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])])},ba=[],ya={name:"CalendarEventDetailsHeader",props:["event","onSaved","onError"],data:function(){return{isConfirming:!1,fromToDates:{}}},computed:{isPrintable:function(){return this.event.materials&&this.event.materials.length>0&&this.event.beneficiaries&&this.event.beneficiaries.length>0},isVisitor:function(){return this.$store.getters["auth/is"]("visitor")},eventSummaryPdfUrl:function(){var e=v.baseUrl,t=this.event||{id:null},a=t.id;return"".concat(e,"/events/").concat(a,"/pdf")}},created:function(){var e=this.$props.event;e&&(this.fromToDates={from:e.startDate.format("L"),to:e.endDate.format("L")})},methods:{confirmEvent:function(){this.setEventConfirmation(!0)},unconfirmEvent:function(){this.setEventConfirmation(!1)},setEventConfirmation:function(e){var t=this,a=this.$props.event.id,s="events/".concat(a);this.isConfirming=!0,this.$http.put(s,{id:a,is_confirmed:e}).then((function(e){var a=e.data;t.$emit("saved",a)})).catch((function(e){t.$emit("error",e)})).finally((function(){t.isConfirming=!1}))}}},Ca=ya,wa=(a("d464"),Object(ge["a"])(Ca,ga,ba,!1,null,null,null)),ka=wa.exports,$a={name:"EventDetails",components:{Header:ka,Tabs:St["b"],Tab:St["a"],Help:ze,EventMaterials:Pt,EventMissingMaterials:zt,EventBilling:ca,EventTotals:_a},props:{eventId:{type:Number,required:!0}},data:function(){return{help:"",error:null,isLoading:!1,event:null,beneficiaries:[],discountRate:0,assignees:[],showBilling:"none"!==v.billingMode,lastBill:null,billLoading:!1}},created:function(){this.getEvent()},computed:{hasMaterials:function(){var e,t;return(null===(e=this.event)||void 0===e||null===(t=e.materials)||void 0===t?void 0:t.length)>0},userCanEditBill:function(){return this.$store.getters["auth/is"](["admin","member"])}},methods:{getEvent:function(){var e=this,t=this.$props.eventId,a="events/".concat(t);this.error=null,this.isLoading=!0,this.$http.get(a).then((function(t){var a=t.data;e.setData(a),e.isLoading=!1})).catch(this.handleError)},handleChangeDiscountRate:function(e){this.discountRate=e},handleCreateBill:function(e){var t=this;this.error=null,this.billLoading=!0;var a=this.$props.eventId,s="events/".concat(a,"/bill");this.$http.post(s,{discountRate:e}).then((function(e){var a=e.data;t.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)})})).catch(this.handleError).finally((function(){t.billLoading=!1}))},setEventIsBillable:function(){var e=this;this.error=null,this.isLoading=!0;var t=this.$props.eventId,a={is_billable:!0};this.$http.put("events/".concat(t),a).then((function(t){var a=t.data;e.setData(a),e.isLoading=!1})).catch(this.handleError)},handleSaved:function(e){this.error=null,this.setData(e),this.$emit("event-updated",e)},handleError:function(e){this.error=e,this.isLoading=!1},setData:function(e){if(this.event=Object(g["a"])(Object(g["a"])({},va(e)),e),e.beneficiaries&&(this.beneficiaries=e.beneficiaries.map((function(e){return{id:e.id,name:e.full_name,company_id:e.company_id?e.company_id:null,company:e.company?e.company.legal_name:null}}))),e.assignees&&(this.assignees=e.assignees.map((function(e){return{id:e.id,name:e.full_name}}))),e.bills.length>0){var t=Object(x["a"])(e.bills,1),a=t[0];this.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)}),this.discountRate=a?a.discount_rate:0}}}},Ea=$a,Da=(a("3293"),Object(ge["a"])(Ea,Mt,Tt,!1,null,null,null)),Ma=Da.exports,Ta=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"CalendarHeader"},[a("div",{staticClass:"CalendarHeader__timeline-actions"},[a("div",{staticClass:"CalendarHeader__center-date"},[a("FormField",{attrs:{name:"centerDate",label:"page-calendar.center-on",type:"date","datepicker-options":e.datepickerOptions},on:{change:e.setCenterDate},model:{value:e.centerDate,callback:function(t){e.centerDate=t},expression:"centerDate"}})],1),a("button",{staticClass:"CalendarHeader__button info",attrs:{disabled:e.isToday,title:e.$t("page-calendar.center-on-today")},on:{click:function(t){return e.centerToday()}}},[a("i",{staticClass:"fas fa-compress-arrows-alt"}),a("span",{staticClass:"CalendarHeader__button__title"},[e._v(e._s(e.$t("page-calendar.center-on-today")))])]),a("button",{staticClass:"CalendarHeader__button info",attrs:{title:e.$t("action-refresh"),disabled:e.isLoading},on:{click:function(t){return e.refresh()}}},[a("i",{staticClass:"fas fa-sync-alt"}),a("span",{staticClass:"CalendarHeader__button__title"},[e._v(e._s(e.$t("action-refresh")))])])]),a("div",{staticClass:"CalendarHeader__filters"},[e.parks.length>1?a("div",{staticClass:"CalendarHeader__filter",class:{"CalendarHeader__filter--active":!!e.filters.park}},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.park,expression:"filters.park"}],staticClass:"CalendarHeader__filter__select",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"park",t.target.multiple?a:a[0])},e.handleFilterParkChange]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("page-calendar.display-all-parks"))+" ")]),e._l(e.parks,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2)]):e._e(),a("div",{staticClass:"CalendarHeader__filter",class:{"CalendarHeader__filter--active":e.filters.hasMissingMaterials}},[a("label",{staticClass:"CalendarHeader__filter__label"},[e._v(" "+e._s(e.$t("page-calendar.event-with-missing-material-only"))+" ")]),a("SwitchToggle",{attrs:{value:e.filters.hasMissingMaterials},on:{input:e.handleFilterMissingMaterialChange}})],1)]),a("div",{staticClass:"CalendarHeader__loading-container"},[e.isLoading?a("div",{staticClass:"CalendarHeader__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e()]),a("div",{staticClass:"CalendarHeader__actions"},[a("router-link",{directives:[{name:"show",rawName:"v-show",value:!e.isVisitor,expression:"!isVisitor"}],attrs:{to:"/events/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"success",on:{click:s}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-calendar.add-event"))+" ")])]}}])})],1)])},Sa=[],Fa={name:"CalendarHeader",components:{Help:ze,FormField:rt,SwitchToggle:tt},props:{isLoading:Boolean},data:function(){return{centerDate:"",datepickerOptions:{format:"d MMMM yyyy"},filters:{park:this.$route.query.park||"",hasMissingMaterials:!1}}},computed:{parks:function(){return this.$store.state.parks.list},isToday:function(){return r()(this.centerDate).isSame(r()(),"day")},isVisitor:function(){return this.$store.getters["auth/is"]("visitor")}},mounted:function(){this.$store.dispatch("parks/fetch")},methods:{setCenterDate:function(e){var t=r()(e.newDate).hour(12).minute(0).toDate();this.$emit("set-center-date",t)},centerToday:function(){var e=r()().hour(12).minute(0).toDate();this.$emit("set-center-date",e)},refresh:function(){this.$emit("refresh")},changePeriod:function(e){var t=r()(e.start),a=r()(e.end),s=a.diff(t,"hours");this.centerDate=t.add(s/2,"hours").format()},handleFilterMissingMaterialChange:function(e){this.filters.hasMissingMaterials=e,this.$emit("filterMissingMaterials",e)},handleFilterParkChange:function(e){var t=e.currentTarget.value;this.$emit("filterByPark",t)}}},xa=Fa,La=(a("8d7f"),Object(ge["a"])(xa,Ta,Sa,!1,null,null,null)),Oa=La.exports,ja=(a("a15b"),function(e){var t=e.isPast,a=e.isCurrent,s=e.isConfirmed,i=e.hasMissingMaterials,n=["timeline-event"];return t&&n.push("timeline-event--past"),a&&n.push("timeline-event--current"),s&&(n.push("timeline-event--locked"),t||n.push("timeline-event--confirmed")),i&&n.push("timeline-event--with-warning"),n}),qa=ja,Aa=function(e){var t=e.isPast,a=e.isCurrent,s=e.isConfirmed,i=e.hasMissingMaterials,n=[];return t&&!s&&n.push({icon:"history",i18nKey:"this-event-is-past"}),a&&n.push({icon:"running",i18nKey:"this-event-is-currently-running"}),s&&n.push({icon:t?"lock":"check",i18nKey:t?"this-event-is-locked-past-confirmed":"this-event-is-confirmed"}),i&&n.push({icon:"exclamation-triangle",i18nKey:"this-event-has-missing-materials"}),n},Na=Aa,Ia=function(e,t){var a=function(e,t){return' ').concat(t)},s=va(e),i=s.title,n=s.location,r=s.startDate,o=s.endDate,l=s.isPast,c=s.isConfirmed,u=s.hasMissingMaterials,d=s.beneficiaries,m=s.assignees,p=i;u&&(p=a("exclamation-triangle",p)),c&&(p=a(l?"lock":"check",p));var f=a("map-marker-alt",n||"?");n&&(p="".concat(p," − ").concat(f));var _=a("clock",t("from-date-to-date",{from:r.format("L"),to:o.format("L")})),h=a("exclamation-triangle","(".concat(t("missing-beneficiary"),")"));if(d.length>0){var v=d.map((function(e){return e.full_name}));h=a("address-book","".concat(t("for")," ").concat(v.join(", ")))}var b="";if(m.length>0){var y=m.map((function(e){return e.full_name}));b=a("people-carry","".concat(t("with")," ").concat(y.join(", ")))}var C=Na(s).map((function(e){var s=e.icon,i=e.i18nKey;return a(s,t("page-calendar.".concat(i)))})).join("\n");return Object(g["a"])(Object(g["a"])({},s),{},{content:p,start:r,end:o,editable:!c,className:qa(s).join(" "),title:["".concat(i,""),"\n".concat(f,"\n").concat(_,"\n").concat(h,"\n").concat(b,"\n"),C].join("\n")})},Pa=Ia,Ba=864e5,Ra={name:"Calendar",components:{CalendarHeader:Oa,Timeline:yt["a"],EventDetails:Ma,Help:ze},data:function(){var e=this,t=r()().subtract(2,"days").startOf("day"),a=r()().add(5,"days").endOf("day"),s=localStorage.getItem("calendarStart"),i=localStorage.getItem("calendarEnd");s&&i&&(t=s,a=i);var n=this.$store.getters["auth/is"]("visitor"),o=this.$route.query.park;return{help:"page-calendar.help",error:null,isLoading:!1,fetchStart:r()().subtract(8,"days").startOf("day"),fetchEnd:r()().add(1,"months").endOf("month"),isModalOpened:!1,hasMissingMaterialFilter:!1,parkId:o?Number.parseInt(o,10):null,events:[],allEvents:[],timelineOptions:{selectable:!n,editable:{add:!1,updateTime:!0,updateGroup:!1,remove:!0,overrideItems:!1},start:t,end:a,locale:this.$store.state.i18n.locale,minHeight:"100%",orientation:"top",zoomMin:7*Ba,zoomMax:6*Ba*30,tooltip:{followMouse:!0,overflowMethod:"flip"},moment:function(e){return r()(e)},onMove:function(t,a){if(!n){var s="".concat(e.$route.meta.resource,"/").concat(t.id),i=r()(t.end);0===i.hour()&&i.subtract(1,"day").endOf("day");var o={start_date:r()(t.start).format(te),end_date:i.format(te)};e.error=null,e.isLoading=!0,e.$http.put(s,o).then((function(){e.isLoading=!1,e.help={type:"success",text:"page-calendar.event-saved"},a(t),e.getEventsData()})).catch((function(t){a(null),e.showError(t)}))}},onRemove:function(t,a){n||Dt.ConfirmDelete(e.$t,"calendar").then((function(s){if(s.value){e.error=null,e.isLoading=!0;var i="".concat(e.$route.meta.resource,"/").concat(t.id);e.$http.delete(i).then((function(){a(t)}))}else a(null)}))}}}},mounted:function(){this.getEventsData()},methods:{filterEvents:function(){var e=this,t=Object(bt["a"])(this.allEvents);this.parkId&&(t=t.filter((function(t){var a=t.parks;return null===a||void 0===a?void 0:a.includes(e.parkId)}))),this.hasMissingMaterialFilter&&(t=t.filter((function(e){var t=e.hasMissingMaterials;return!!t}))),this.events=t},getEventsData:function(){var e=this;this.error=null,this.isLoading=!0,this.isModalOpened=!1;var t={start:this.fetchStart.format("YYYY-MM-DD HH:mm:ss"),end:this.fetchEnd.format("YYYY-MM-DD HH:mm:ss")};this.$http.get(this.$route.meta.resource,{params:t}).then((function(t){var a=t.data;e.events=a.data.map((function(t){return Pa(t,e.$t)})),e.allEvents=Object(bt["a"])(e.events),e.filterEvents(),e.isLoading=!1})).catch((function(t){e.showError(t)}))},onRangeChanged:function(e){localStorage.setItem("calendarStart",e.start),localStorage.setItem("calendarEnd",e.end),this.$refs.Header.changePeriod(e);var t=!1;this.fetchStart.isAfter(e.start)&&(this.fetchStart=r()(e.start).subtract(8,"days").startOf("day"),t=!0),this.fetchEnd.isBefore(e.end)&&(this.fetchEnd=r()(e.end).add(1,"months").endOf("month"),t=!0),t&&this.getEventsData()},setCenterDate:function(e){this.$refs.Timeline.moveTo(e)},onItemOver:function(){this.help="page-calendar.help-timeline-event-operations"},onItemOut:function(){this.help="page-calendar.help"},onDoubleClick:function(e){if(!this.isModalOpened){var t=e.item;if(t)return this.openEventModal(t),void(this.isModalOpened=!0);var a=r()(e.time).startOf("day").format(ae);this.$router.push({path:"/events/new",query:{startDate:a}})}},openEventModal:function(e){var t=this;this.$modal.show(Ma,{eventId:e},je,{"before-close":function(){t.getEventsData()}})},onRemoved:function(){this.isLoading&&(this.help={type:"success",text:"page-calendar.event-deleted"},this.error=null,this.isLoading=!1)},showError:function(e){this.error=e,this.isLoading=!1},handleFilterMissingMaterial:function(e){this.hasMissingMaterialFilter=e,this.filterEvents()},handleFilterByPark:function(e){this.parkId=""===e?null:Number.parseInt(e,10),this.filterEvents()}}},Va=Ra,Ha=(a("f59e"),Object(ge["a"])(Va,vt,gt,!1,null,null,null)),Ua=Ha.exports,za=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Event"},[a("div",{staticClass:"Event__panel"},[a("Breadcrumb",{attrs:{event:e.event,steps:e.steps,"current-step":e.currentStep},on:{openStep:e.openStep}}),a("MiniSummary"),a("div",{staticClass:"Event__panel__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)],1),1===e.currentStep?a("EventStep1",{attrs:{event:e.event},on:{loading:e.startLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),2===e.currentStep?a("EventStep2",{attrs:{event:e.event},on:{loading:e.startLoading,stopLoading:e.stopLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),3===e.currentStep?a("EventStep3",{attrs:{event:e.event},on:{loading:e.startLoading,stopLoading:e.stopLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),4===e.currentStep?a("EventStep4",{attrs:{event:e.event},on:{loading:e.startLoading,error:e.displayError,updateEvent:e.setEventData,gotoStep:e.openStep}}):e._e(),5===e.currentStep?a("EventStep5",{attrs:{event:e.event},on:{error:e.displayError,updateEvent:e.setEventData}}):e._e()],1)])])},Qa=[],Ya=(a("a4d3"),a("e01a"),function(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=e;r.a.isMoment(e)||(a=r()(e));var s=t;return r.a.isMoment(t)||(s=r()(t)),a.isSame(s,"day")}),Ga=Ya,Wa=new M["a"].Store({state:{title:"",dates:{start:null,end:null},location:null,description:null,materials:[],isConfirmed:!1,isBillable:!0,isSaved:!1},mutations:{reset:function(e){e.title="",e.dates={start:null,end:null},e.location=null,e.description=null,e.materials=[],e.isConfirmed=!1,e.isBillable=!0,e.isSaved=!0},init:function(e,t){e.title=t.title,e.dates={start:t.start_date,end:t.end_date},e.location=t.location,e.description=t.description,e.isBillable=t.is_billable,e.materials=t.materials,e.isConfirmed=t.is_confirmed},setIsSaved:function(e,t){e.isSaved=t}},actions:{checkIsSaved:function(e,t){var a=e.commit,s=e.state,i=t.title===s.title&&Ga(t.start_date,s.dates.start)&&Ga(t.end_date,s.dates.end)&&t.location===s.location&&t.description===s.description&&t.is_confirmed===s.isConfirmed&&t.is_billable===s.isBillable;a("setIsSaved",i)}}}),Ka=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Breadcrumb"},e._l(e.steps,(function(t){return a("div",{key:t.id,staticClass:"Breadcrumb__step",class:{"Breadcrumb__step--current":e.isCurrent(t),"Breadcrumb__step--active":e.isActive(t),"Breadcrumb__step--validated":!e.isCurrent(t)&&e.isValidated(t)},on:{click:function(a){return e.openStep(t)}}},[e.isCurrent(t)?a("i",{staticClass:"fas fa-arrow-right"}):e._e(),!e.isCurrent(t)&&e.isValidated(t)?a("i",{staticClass:"fas fa-check"}):e._e(),e._v(" "+e._s(t.id)+" - "),a("span",{staticClass:"Breadcrumb__step__name"},[e._v(" "+e._s(t.name)+" ")])])})),0)},Ja=[],Za={name:"Breadcrumb",props:["event","steps","currentStep"],methods:{openStep:function(e){this.isActive(e)&&this.$emit("openStep",e.id)},isCurrent:function(e){return e.id===this.currentStep},isActive:function(e){var t=this.steps.findIndex((function(t){return t.id===e.id}));if(t<0)return!1;var a=this.steps[t-1]||null;return this.isCurrent(e)||this.isValidated(e)||a&&this.isValidated(a)},isValidated:function(e){var t=this,a=!0;return e.fields.forEach((function(e){t.event[e]&&0!==t.event[e].length||(a=!1)})),a}}},Xa=Za,es=(a("3ed7"),Object(ge["a"])(Xa,Ka,Ja,!1,null,null,null)),ts=es.exports,as=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventMiniSummary",class:{"EventMiniSummary--confirmed":e.isConfirmed,"EventMiniSummary--not-saved":!e.isSaved}},[e.isSaved?e._e():a("div",{directives:[{name:"tooltip",rawName:"v-tooltip.right-end",value:e.$t("page-events.not-saved"),expression:"$t('page-events.not-saved')",modifiers:{"right-end":!0}}],staticClass:"EventMiniSummary__not-saved"},[a("i",{staticClass:"fas fa-exclamation-triangle"})]),e.title?a("div",{staticClass:"EventMiniSummary__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),e.location?a("div",{staticClass:"EventMiniSummary__detail"},[e._v(" "+e._s(e.$t("in"))+" "+e._s(e.location)+" ")]):e._e(),e.dates.start&&e.dates.end?a("div",{staticClass:"EventMiniSummary__detail"},[1===e.duration?a("span",[e._v(" "+e._s(e.$t("on-date",{date:e.fromToDates.from}))+" ")]):e._e(),e.duration>1?a("span",[e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" ")]):e._e(),a("br"),e._v(" "+e._s(e.$t("duration-days",{duration:e.duration}))+" "),a("br"),e.showPrices?a("span",[e._v(" "+e._s(e.$t("ratio"))+" "+e._s(e.ratio)+" ")]):e._e()]):e._e(),e.showPrices?a("div",{staticClass:"EventMiniSummary__total"},[e._v(" "+e._s(e.$t("total"))+" "),a("strong",[e._v(e._s(e.grandTotal))])]):e._e(),a("div",{staticClass:"EventMiniSummary__detail"},[e.isConfirmed?a("span",[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("confirmed"))+" ")]):a("span",{},[a("i",{staticClass:"far fa-question-circle"}),e._v(" "+e._s(e.$t("not-confirmed"))+" ")])])])},ss=[],is={name:"EventMiniSummary",computed:{title:function(){return Wa.state.title},dates:function(){return Wa.state.dates},location:function(){return Wa.state.location},materials:function(){return Wa.state.materials},isConfirmed:function(){return Wa.state.isConfirmed},isSaved:function(){return Wa.state.isSaved},showPrices:function(){return"none"!==v.billingMode&&Wa.state.isBillable},fromToDates:function(){var e=this.dates,t=e.start,a=e.end;return{from:t?r()(t).format("L"):"",to:a?r()(a).format("L"):""}},duration:function(){var e=this.dates,t=e.start,a=e.end;return t&&a?r()(a).diff(t,"days")+1:0},ratio:function(){return v.degressiveRate(this.duration)},grandTotal:function(){var e=Jt(this.materials),t=ta(e,this.duration);return Ot(t)}},methods:{formatAmount:function(e){return Ot(e)}}},ns=is,rs=(a("ae27"),Object(ge["a"])(ns,as,ss,!1,null,null,null)),os=rs.exports,ls=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep1",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"title",label:"title",required:"",errors:e.errors.title},on:{input:e.checkIsSavedEvent},model:{value:e.event.title,callback:function(t){e.$set(e.event,"title",t)},expression:"event.title"}}),a("div",{staticClass:"EventStep1__dates"},[a("div",{staticClass:"EventStep1__dates__fields"},[a("FormField",{attrs:{name:"start_date",label:"start-date",type:"date",required:"",errors:e.errors.start_date,"datepicker-options":e.startDatepickerOptions},on:{change:e.handleStartDateChange},model:{value:e.event.start_date,callback:function(t){e.$set(e.event,"start_date",t)},expression:"event.start_date"}}),a("FormField",{attrs:{name:"end_date",label:"end-date",type:"date",required:"",errors:e.errors.end_date,"datepicker-options":e.endDatepickerOptions},on:{change:e.refreshDatesLimits},model:{value:e.event.end_date,callback:function(t){e.$set(e.event,"end_date",t)},expression:"event.end_date"}})],1),e.duration>0?a("div",{staticClass:"EventStep1__dates__duration"},[e._v(" "+e._s(e.$t("duration-days",{duration:e.duration}))+" ")]):e._e()])],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("event-details"))+" ")]),a("FormField",{staticClass:"EventStep1__location",attrs:{name:"location",label:"location",errors:e.errors.location},on:{input:e.checkIsSavedEvent},model:{value:e.event.location,callback:function(t){e.$set(e.event,"location",t)},expression:"event.location"}}),a("FormField",{staticClass:"EventStep1__description",attrs:{name:"description",label:"description",type:"textarea",errors:e.errors.description},on:{input:e.checkIsSavedEvent},model:{value:e.event.description,callback:function(t){e.$set(e.event,"description",t)},expression:"event.description"}}),e.showIsBillable?a("div",{staticClass:"EventStep1__is-billable"},[a("FormField",{attrs:{name:"is_billable",label:"is-billable",type:"switch",errors:e.errors.is_billable},on:{change:e.checkIsSavedEvent},model:{value:e.event.is_billable,callback:function(t){e.$set(e.event,"is_billable",t)},expression:"event.is_billable"}}),a("div",{staticClass:"EventStep1__is-billable__help"},[a("i",{staticClass:"fas fa-arrow-right"}),e.event.is_billable?e._e():a("span",[e._v(" "+e._s(e.$t("is-not-billable-help"))+" ")]),e.event.is_billable?a("span",[e._v(" "+e._s(e.$t("is-billable-help"))+" ")]):e._e()])],1):e._e()],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep1__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep1__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},cs=[],us=a("15fd"),ds={name:"EventStep1",components:{FormField:rt},props:{event:Object},data:function(){return{startDatepickerOptions:{format:"d MMMM yyyy",disabled:{from:null,to:null}},endDatepickerOptions:{format:"d MMMM yyyy",disabled:{from:null,to:null}},duration:0,showIsBillable:"partial"===v.billingMode,errors:{title:null,start_date:null,end_date:null,location:null,description:null}}},mounted:function(){this.refreshDatesLimits()},watch:{event:"refreshDatesLimits"},methods:{refreshDatesLimits:function(){var e=this.event.start_date;e&&(this.endDatepickerOptions.disabled.to=r()(e).toDate()),this.calcDuration(),this.checkIsSavedEvent()},handleStartDateChange:function(e){var t=e.newDate,a=this.event.end_date;if(a){var s=r()(t),i=r()(a);i.isBefore(s)&&(this.event.end_date=s.toDate())}this.refreshDatesLimits()},calcDuration:function(){var e=this.event,t=e.start_date,a=e.end_date;t&&a&&(this.duration=r()(a).diff(t,"days")+1)},checkIsSavedEvent:function(){Wa.dispatch("checkIsSaved",this.event)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:2})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var o=this.event,l=(o.user,o.beneficiaries,o.assignees,o.materials,Object(us["a"])(o,["user","beneficiaries","assignees","materials"])),c=Object(g["a"])(Object(g["a"])({},l),{},{start_date:r()(this.event.start_date).startOf("day").format(te),end_date:r()(this.event.end_date).endOf("day").format(te)});i(n,c).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},ms=ds,ps=(a("313d"),Object(ge["a"])(ms,ls,cs,!1,null,null,null)),fs=ps.exports,_s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep2",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("page-events.event-beneficiaries"))+" ")]),a("MultipleItem",{attrs:{label:"beneficiary",field:"full_name",fetchEntity:"persons",fetchParams:e.fetchParams,selectedItems:e.event.beneficiaries,createItemPath:"/beneficiaries/new",formatOptions:e.formatItemOptions,getItemLabel:e.getItemLabel},on:{itemsUpdated:e.updateItems}}),e.showBillingHelp?a("p",{staticClass:"EventStep2__help"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("page-events.beneficiary-billing-help"))+" ")]):e._e()],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep2__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep2__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},hs=[],vs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MultipleItem"},[e._l(e.notSavedSelectedItems,(function(t,s){return a("div",{key:t.id||"unknown-"+s,staticClass:"MultipleItem__item FormField"},[a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "+e._s(s+1)+" ")]),a("div",{staticClass:"MultipleItem__value-field"},[t?a("span",[e._v(e._s(e.getItemLabel(t)||"N/A"))]):a("span",{staticClass:"MultipleItem__value-field--error"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("item-not-found",{item:e.$t(e.label)}))+" ")])]),a("button",{staticClass:"MultipleItem__item-action-btn danger",attrs:{title:e.$t("remove-item",{item:e.$t(e.label)})},on:{click:function(a){a.preventDefault(),e.removeItem(t.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})])])})),e.askNewItem?a("div",{staticClass:"MultipleItem__item FormField"},[a("label",{staticClass:"FormField__label"},[e._v(" "+e._s(e.$t(e.label))+" "+e._s(e.itemsIds.length+1)+" ")]),a("VueSelect",{attrs:{filterable:!1,options:e.selectableOptions},on:{search:e.handleSearch,input:e.insertNewItem},scopedSlots:e._u([{key:"no-options",fn:function(t){var s=t.search;return[0===s.length?a("span",[e._v(" "+e._s(e.$t("start-typing-to-search"))+" ")]):e._e(),s.length>0&&s.length=e.minSearchCharacters?a("div",[a("p",[e._v(e._s(e.$t("no-result-found-try-another-search")))]),a("router-link",{attrs:{to:e.createItemPath,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"success",on:{click:s}},[e._v(" "+e._s(e.$t("create-select-item-label",{label:e.$t(e.label)}))+" ")])]}}],null,!0)})],1):e._e()]}}],null,!1,562345421),model:{value:e.newItem,callback:function(t){e.newItem=t},expression:"newItem"}}),a("button",{staticClass:"MultipleItem__item-action-btn warning",attrs:{title:e.$t("cancel-add-item",{item:e.$t(e.label)})},on:{click:e.cancelNewItem}},[a("i",{staticClass:"fas fa-ban"})])],1):e._e(),a("div",{staticClass:"MultipleItem__actions"},[e.askNewItem?e._e():a("button",{staticClass:"success",on:{click:e.startAddItem}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("add-item",{item:e.$t(e.label)}))+" ")])])],2)},gs=[],bs=(a("841c"),a("4a7a")),ys=a.n(bs),Cs=a("b012"),ws=a.n(Cs),ks={name:"MultipleItem",components:{VueSelect:ys.a},props:{fetchEntity:String,fetchParams:Object,label:String,field:String,selectedItems:Array,createItemPath:String,formatOptions:Function,getItemLabel:Function},data:function(){var e={value:null,label:this.$t("please-choose")};return{itemsIds:this.selectedItems.map((function(e){return e.id})),notSavedSelectedItems:Object(bt["a"])(this.selectedItems),minSearchCharacters:2,askNewItem:!1,fieldOptions:[],newItem:e,defaultItem:e}},computed:{selectableOptions:function(){var e=this;return this.fieldOptions.filter((function(t){return!e.itemsIds.includes(t.value)}))}},methods:{handleSearch:function(e,t){e.length0&&(r+=" − ".concat(i.legal_name)),n&&n.length>0&&(r+=" − ".concat(n)),r},Ts=Ms,Ss={name:"EventStep2",components:{MultipleItem:Ds},props:["event"],data:function(){return{beneficiariesIds:this.event.beneficiaries.map((function(e){return e.id})),showBillingHelp:"none"!==v.billingMode,fetchParams:{tags:[v.beneficiaryTagName]},errors:{}}},mounted:function(){Wa.commit("setIsSaved",!0)},methods:{updateItems:function(e){this.beneficiariesIds=e;var t=this.event.beneficiaries.map((function(e){return e.id})),a=e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})));Wa.commit("setIsSaved",0===a.length)},formatItemOptions:function(e){return S(e,Ts)},getItemLabel:function(e){return Ts(e)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:3})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i={beneficiaries:this.beneficiariesIds};this.$http.put("".concat(s,"/").concat(a),i).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},Fs=Ss,xs=(a("3bec"),Object(ge["a"])(Fs,_s,hs,!1,null,null,null)),Ls=xs.exports,Os=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep3",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("page-events.event-technicians"))+" ")]),a("MultipleItem",{attrs:{label:"technician",field:"full_name",fetchEntity:"persons",fetchParams:e.fetchParams,selectedItems:e.event.assignees,createItemPath:"/technicians/new",formatOptions:e.formatItemOptions,getItemLabel:e.getItemLabel},on:{itemsUpdated:e.updateItems}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep3__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep3__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},js=[],qs={name:"EventStep3",components:{MultipleItem:Ds},props:["event"],data:function(){return{assigneesIds:this.event.assignees.map((function(e){return e.id})),fetchParams:{tags:[v.technicianTagName]},errors:{}}},mounted:function(){Wa.commit("setIsSaved",!0)},methods:{updateItems:function(e){this.assigneesIds=e;var t=this.event.beneficiaries.map((function(e){return e.id})),a=e.filter((function(e){return!t.includes(e)})).concat(t.filter((function(t){return!e.includes(t)})));Wa.commit("setIsSaved",0===a.length)},formatItemOptions:function(e){return S(e,Ts)},getItemLabel:function(e){return Ts(e)},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:4})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i={assignees:this.assigneesIds};this.$http.put("".concat(s,"/").concat(a),i).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},As=qs,Ns=(a("02d6"),Object(ge["a"])(As,Os,js,!1,null,null,null)),Is=Ns.exports,Ps=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form EventStep4",attrs:{method:"POST"},on:{submit:e.saveAndBack}},[a("section",{staticClass:"Form__fieldset"},[a("MaterialsList",{attrs:{eventId:e.event.id,initialList:e.event.materials,eventIsBillable:e.event.is_billable},on:{change:e.handleChange}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"EventStep4__save-btn info",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.save-and-back-to-calendar"))+" ")]),a("button",{staticClass:"EventStep4__save-btn success",on:{click:e.saveAndNext}},[e._v(" "+e._s(e.$t("page-events.save-and-continue"))+" "),a("i",{staticClass:"fas fa-arrow-right"})])])])},Bs=[],Rs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsList"},[a("header",{staticClass:"MaterialsList__header"},[a("MaterialsFilter",{attrs:{baseRoute:"/events/"+e.eventId},on:{change:e.setFilters}}),a("div",{staticClass:"MaterialsList__header__extra-filters"},[e.hasMaterial?a("div",{staticClass:"MaterialsList__header__extra-filters__filter"},[e._v(" "+e._s(e.$t("page-events.display-only-selected-materials"))+" "),a("SwitchToggle",{attrs:{value:e.showSelectedOnly},on:{input:e.handleToggleSelectedOnly}})],1):e._e()])],1),e.error?a("div",{staticClass:"MaterialsList__error"},[e._v(e._s(e.error))]):e._e(),a("div",{staticClass:"MaterialsList__main"},[e.isLoading?a("div",{staticClass:"MaterialsList__loading"},[a("i",{staticClass:"fas fa-circle-notch fa-spin fa-2x"}),e._v(" "+e._s(e.$t("help-loading"))+" ")]):e._e(),a("v-client-table",{ref:"DataTable",attrs:{name:"materialsListTable",data:e.materials,columns:e.columns,options:e.tableOptions},scopedSlots:e._u([{key:"qty",fn:function(t){return a("div",{},[a("span",{key:"qty-"+t.row.id+"-"+e.renderId},[e._v(" "+e._s(e.getQuantity(t.row.id)>0?e.getQuantity(t.row.id)+" ×":"")+" ")])])}},{key:"remaining_quantity",fn:function(t){return a("div",{},[a("span",{key:"remain-qty-"+t.row.id+"-"+e.renderId,staticClass:"MaterialsList__remaining",class:{"MaterialsList__remaining--zero":t.row.remaining_quantity===e.getQuantity(t.row.id),"MaterialsList__remaining--empty":t.row.remaining_quantity0,expression:"getQuantity(material.row.id) > 0"}],key:"clear-"+t.row.id+"-"+e.renderId,staticClass:"warning",attrs:{type:"button",role:"button"},on:{click:function(a){return e.setQuantity(t.row.id,0)}}},[a("i",{staticClass:"fas fa-backspace"})])])}}])}),!e.isLoading&&e.hasMaterial?a("div",{staticClass:"MaterialsList__add-more"},[e.showSelectedOnly?a("button",{attrs:{type:"button",role:"button"},on:{click:function(t){return e.handleToggleSelectedOnly(!1)}}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-events.display-all-materials-to-add-some"))+" ")]):e._e(),e.showSelectedOnly?e._e():a("button",{attrs:{type:"button",role:"button"},on:{click:function(t){return e.handleToggleSelectedOnly(!0)}}},[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("page-events.display-only-event-materials"))+" ")])]):e._e()],1)])},Vs=[],Hs=(a("8ba4"),function(e){return"number"===typeof e?!Number.isNaN(e)&&Number.isInteger(parseFloat(e)):/^-?[0-9]+$/.test(e)}),Us=Hs,zs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsFilters"},[e.parks.length>1?a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.park,expression:"filters.park"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.park},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"park",t.target.multiple?a:a[0])},e.changePark]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-parks"))+" ")]),e._l(e.parks,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2):e._e(),a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.category,expression:"filters.category"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.category},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"category",t.target.multiple?a:a[0])},e.changeCategory]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-categories"))+" ")]),e._l(e.categories,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2),a("select",{directives:[{name:"model",rawName:"v-model",value:e.filters.subCategory,expression:"filters.subCategory"}],staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":""!==e.filters.subCategory},attrs:{disabled:0===e.selectedCategory.sub_categories.length},on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.filters,"subCategory",t.target.multiple?a:a[0])},e.changeSubCategory]}},[a("option",{attrs:{value:""}},[e._v(" "+e._s(e.$t("all-sub-categories"))+" ")]),e._l(e.selectedCategory.sub_categories,(function(t){return a("option",{key:t.id,domProps:{value:t.id}},[e._v(" "+e._s(t.name)+" ")])}))],2),a("VueSelect",{staticClass:"MaterialsFilters__item",class:{"MaterialsFilters__item--is-active":e.filters.tags.length>0},attrs:{options:e.$store.getters["tags/options"],placeholder:e.$t("tags"),multiple:""},on:{input:e.setQueryFilters},model:{value:e.filters.tags,callback:function(t){e.$set(e.filters,"tags",t)},expression:"filters.tags"}}),e.isFilterEmpty?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("page-materials.clear-filters"),expression:"$t('page-materials.clear-filters')"}],staticClass:"MaterialsFilters__reset warning",on:{click:e.clearFilters}},[a("i",{staticClass:"fas fa-backspace"})])],1)},Qs=[],Ys={name:"MaterialsFilters",components:{VueSelect:ys.a},props:{baseRoute:String},data:function(){return{filters:{park:this.$route.query.park||"",category:this.$route.query.category||"",subCategory:this.$route.query.subCategory||"",tags:[]},selectedCategory:{sub_categories:[]}}},computed:{parks:function(){return B.state.parks.list},categories:function(){return B.state.categories.list},isFilterEmpty:function(){return""===this.filters.park&&""===this.filters.category&&""===this.filters.subCategory&&0===this.filters.tags.length}},mounted:function(){B.dispatch("parks/fetch"),B.dispatch("categories/fetch"),B.dispatch("tags/fetch")},watch:{categories:function(){var e=this.filters,t=e.category,a=e.subCategory;a.length>0&&this.categories.length>0&&(this.selectedCategory=this.categories.find((function(e){return e.id===parseInt(t,10)}))||{sub_categories:[]})}},methods:{changePark:function(e){this.filters.park=parseInt(e.currentTarget.value,10)||"",this.setQueryFilters()},changeCategory:function(e){var t=parseInt(e.currentTarget.value,10)||"";this.selectedCategory=t?this.categories.find((function(e){return e.id===t})):{sub_categories:[]},this.filters.category=t,this.filters.subCategory="",this.setQueryFilters()},changeSubCategory:function(e){this.filters.subCategory=parseInt(e.currentTarget.value,10)||"",this.setQueryFilters()},clearFilters:function(){this.selectedCategory={sub_categories:[]},this.filters={park:"",category:"",subCategory:"",tags:[]},this.setQueryFilters()},setQueryFilters:function(){var e=this.filters,t=e.park,a=e.category,s=e.subCategory,i=e.tags,n={park:t||null,category:a||null,subCategory:s||null,tags:i.map((function(e){return e.label}))},r={};t&&(r.park=t),a&&(r.category=a),s&&(r.subCategory=s),i.length>0&&(r.tags=JSON.stringify(i.map((function(e){return e.label})))),this.$router.push({path:this.baseRoute,query:r}),this.$emit("change",n)}}},Gs=Ys,Ws=(a("3cc7"),Object(ge["a"])(Gs,zs,Qs,!1,null,null,null)),Ks=Ws.exports,Js=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialsListQuantity"},[a("button",{class:{info:e.quantity>0},attrs:{type:"button",role:"button",disabled:0===e.quantity},on:{click:function(t){return e.$emit("decrement")}}},[a("i",{staticClass:"fas fa-minus"})]),a("input",{directives:[{name:"model",rawName:"v-model",value:e.quantity,expression:"quantity"}],staticClass:"MaterialsListQuantity__number",domProps:{value:e.quantity},on:{input:[function(t){t.target.composing||(e.quantity=t.target.value)},e.updateQuantityDebounced],focus:function(e){return e.target.select()}}}),a("button",{class:{info:e.quantity0;return{error:null,renderId:1,hasMaterial:a,showSelectedOnly:a,isLoading:!0,columns:t,materials:[],tableOptions:{columnsDropdown:!1,preserveState:!1,orderBy:{column:"reference",ascending:!0},initialPage:1,perPage:a?ii:v.defaultPaginationLimit,columnsClasses:{qty:"MaterialsList__qty",reference:"MaterialsList__ref",name:"MaterialsList__name",remaining_quantity:"MaterialsList__remaining",price:"MaterialsList__price",quantity:"MaterialsList__quantity",amount:"MaterialsList__amount",actions:"MaterialsList__actions"},initFilters:this.getFilters(),customFilters:[{name:"park",callback:function(e,t){return e.park_id===t}},{name:"category",callback:function(e,t){return e.category_id===t}},{name:"subCategory",callback:function(e,t){return e.sub_category_id===t}},{name:"tags",callback:function(e,t){return 0===t.length||e.tags.some((function(e){return t.includes(e.name)}))}},{name:"onlySelected",callback:function(t,a){return!a||e.getQuantity(t.id)>0}}]}}},created:function(){si.commit("init",this.initialList)},mounted:function(){this.fetchMaterials()},methods:{fetchMaterials:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,e.$refs.DataTable.setLoadingState(!0),t.next=5,e.$http.get("materials/while-event/".concat(e.eventId));case 5:a=t.sent,s=a.data,e.materials=s,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.showError(t.t0);case 13:return t.prev=13,e.isLoading=!1,e.$refs.DataTable.setLoadingState(!1),t.finish(13);case 17:case"end":return t.stop()}}),t,null,[[0,10,13,17]])})))()},getFilters:function(){var e={onlySelected:this.showSelectedOnly};return this.$route.query.park&&Us(this.$route.query.park)&&(e.park=parseInt(this.$route.query.park,10)),this.$route.query.category&&(e.category=this.$route.query.category),this.$route.query.subCategory&&(e.subCategory=this.$route.query.subCategory),this.$route.query.tags&&(e.tags=JSON.parse(this.$route.query.tags)),e},handleToggleSelectedOnly:function(e){this.$refs.DataTable.setCustomFilters({onlySelected:e}),this.$refs.DataTable.setLimit(e?ii:v.defaultPaginationLimit),this.showSelectedOnly=e},setFilters:function(e){var t=this.showSelectedOnly,a=Object(g["a"])(Object(g["a"])({},e),{},{onlySelected:t});this.$refs.DataTable.setCustomFilters(a)},getQuantity:function(e){return si.getters.getQuantity(e)},getRemainingQuantity:function(e){return e.remaining_quantity-si.getters.getQuantity(e.id)},setQuantity:function(e,t){var a=parseInt(t,10)||0;si.commit("setQuantity",{id:e,quantity:a}),this.handleQuantitiesChange()},decrement:function(e){si.commit("decrement",e),this.handleQuantitiesChange()},increment:function(e){si.commit("increment",e),this.handleQuantitiesChange()},handleQuantitiesChange:function(){this.renderId+=1;var e=Object.keys(si.state.quantities);this.hasMaterial=e.length>0,this.hasMaterial||this.handleToggleSelectedOnly(!1);var t=e.map((function(e){return{id:parseInt(e,10),quantity:si.getters.getQuantity(e)}}));this.$emit("change",t)},formatAmount:function(e){return Ot(e)},showError:function(e){this.isLoading=!1,this.error=e.message}}},ri=ni,oi=(a("d0bc"),Object(ge["a"])(ri,Rs,Vs,!1,null,null,null)),li=oi.exports,ci={name:"EventStep4",components:{MaterialsList:li},props:{event:Object},data:function(){return{materials:this.event.materials.map((function(e){var t=e.id,a=e.pivot;return{id:t,quantity:a.quantity}}))}},methods:{handleChange:function(e){this.materials=e;var t=this.event.materials.map((function(e){var t=e.id,a=e.pivot;return{id:t,quantity:a.quantity}})),a=e.filter((function(e){var a=e.id,s=e.quantity;return 0!==s&&!t.some((function(e){var t=e.id,i=e.quantity;return a===t&&s===i}))})).concat(t.filter((function(t){var a=t.id,s=t.quantity;return!e.some((function(e){var t=e.id,i=e.quantity;return a===t&&s===i}))}))),s=a.length>0;Wa.commit("setIsSaved",!s),s&&this.debouncedSave()},saveAndBack:function(e){e.preventDefault(),this.save({gotoStep:!1})},saveAndNext:function(e){e.preventDefault(),this.save({gotoStep:5})},displayError:function(e){var t,a;this.$emit("error",e);var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},debouncedSave:Object(Cs["debounce"])((function(){this.save({gotoStep:4})}),se),save:function(e){var t=this;this.$emit("loading");var a=this.event.id,s=this.$route.meta.resource,i=this.materials.filter((function(e){var t=e.quantity;return t>0}));this.$http.put("".concat(s,"/").concat(a),{materials:i}).then((function(a){var s=a.data,i=e.gotoStep;i?(Wa.commit("setIsSaved",!0),t.$emit("updateEvent",s),t.$emit("gotoStep",i)):t.$router.push("/")})).catch(this.displayError)}}},ui=ci,di=(a("f8c6"),Object(ge["a"])(ui,Ps,Bs,!1,null,null,null)),mi=di.exports,pi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventStep5"},[a("EventOverview",{attrs:{event:e.event}}),e.event.materials.length>0?a("section",{staticClass:"EventStep5__confirmation"},[a("h3",{staticClass:"EventStep5__confirmation__title"},[e._v(" "+e._s(e.$t("page-events.event-confirmation"))+" ")]),a("div",{staticClass:"EventStep5__confirmation__help",class:{"EventStep5__confirmation__help--confirmed":e.event.is_confirmed}},[e.event.is_confirmed?e._e():a("p",[e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("page-events.event-not-confirmed-help"))+" ")]),e.event.is_confirmed?a("p",[e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("page-events.event-confirmed-help"))+" ")]):e._e()]),a("div",{staticClass:"EventStep5__confirmation__actions"},[e.event.is_confirmed?e._e():a("button",{staticClass:"success",on:{click:e.confirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("set-event-confirmed"))+" ")]),e.event.is_confirmed?a("button",{staticClass:"warning",on:{click:e.unconfirmEvent}},[e.isConfirming?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isConfirming?e._e():a("i",{staticClass:"fas fa-hourglass-half"}),e._v(" "+e._s(e.$t("set-back-event-pending"))+" ")]):e._e(),e.event.beneficiaries.length>0?a("a",{staticClass:"EventStep5__confirmation__actions__print",attrs:{href:e.eventSummaryPdfUrl,target:"_blank"}},[a("i",{staticClass:"fas fa-print"}),e._v(" "+e._s(e.$t("print-summary"))+" ")]):e._e()])]):e._e(),a("section",[a("router-link",{attrs:{to:"/",exact:"",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"EventStep5__back-btn info",on:{click:s}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-events.back-to-calendar"))+" ")])]}}])})],1)],1)},fi=[],_i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"EventOverview"},[a("div",{staticClass:"EventOverview__header"},[a("h1",{staticClass:"EventOverview__title"},[e._v(e._s(e.event.title))]),a("h2",{staticClass:"EventOverview__dates-location"},[a("i",{staticClass:"fas fa-map-marker-alt"}),e.event.location?a("span",[e._v(" "+e._s(e.$t("in"))+" "+e._s(e.event.location)+", ")]):e._e(),e._v(" "+e._s(e.$t("from-date-to-date",e.fromToDates))+" ")])]),e.event.description?a("p",{staticClass:"EventOverview__description"},[a("i",{staticClass:"fas fa-clipboard"}),e._v(" "+e._s(e.event.description)+" ")]):e._e(),a("div",{staticClass:"EventOverview__main"},[e.event.beneficiaries.length>0?a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info EventOverview__info--vertical"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"fas fa-address-book"}),e._v(" "+e._s(e.$t("page-events.event-beneficiaries"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[a("ul",{staticClass:"EventOverview__info__list"},e._l(e.event.beneficiaries,(function(t){return a("li",{key:t.id,staticClass:"EventOverview__info__list-item"},[a("router-link",{attrs:{to:"/beneficiaries/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.full_name)+" ")]),t.company?a("router-link",{attrs:{to:"/companies/"+t.company_id,title:e.$t("action-edit")}},[e._v(" ("+e._s(t.company.legal_name)+") ")]):e._e()],1)})),0)])])]):e._e(),e.event.assignees.length>0?a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info EventOverview__info--vertical"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"fas fa-people-carry"}),e._v(" "+e._s(e.$t("page-events.event-technicians"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[a("ul",{staticClass:"EventOverview__info__list"},e._l(e.event.assignees,(function(t){return a("li",{key:t.id,staticClass:"EventOverview__info__list-item"},[a("router-link",{key:t.id,staticClass:"EventOverview__info__link",attrs:{to:"/technicians/"+t.id,title:e.$t("action-edit")}},[e._v(" "+e._s(t.full_name)+" ")])],1)})),0)])])]):e._e(),a("section",{staticClass:"EventOverview__section"},[a("dl",{staticClass:"EventOverview__info"},[a("dt",{staticClass:"EventOverview__info__term"},[a("i",{staticClass:"far fa-clock"}),e._v(" "+e._s(e.$t("duration"))+" ")]),a("dd",{staticClass:"EventOverview__info__value"},[e._v(" "+e._s(e.duration)+" "+e._s(e.$t("days"))+" ")])])])]),a("div",{staticClass:"EventOverview__materials"},[a("h3",{staticClass:"EventOverview__materials__title"},[a("i",{staticClass:"fas fa-box"}),e._v(" "+e._s(e.$t("page-events.event-materials"))+" ")]),e.hasMaterials?a("EventMaterials",{attrs:{materials:e.event.materials,start:e.startDate,end:e.endDate,withRentalPrices:e.showBilling&&e.event.is_billable,hideDetails:e.showBilling&&e.event.is_billable}}):e._e()],1),e.showBilling&&e.event.is_billable?a("h3",{staticClass:"EventOverview__billing-title"},[a("i",{staticClass:"fas fa-file-invoice-dollar"}),e._v(" "+e._s(e.$t("billing"))+" ")]):e._e(),a("div",{staticClass:"EventOverview__billing"},[e.hasMaterials&&e.showBilling&&e.event.is_billable?a("EventBilling",{attrs:{beneficiaries:e.event.beneficiaries,lastBill:e.lastBill,materials:e.event.materials,start:e.startDate,end:e.endDate,loading:e.billLoading},on:{discountRateChange:e.handleChangeDiscountRate,createBill:e.handleCreateBill}}):e._e(),e.hasMaterials?a("EventTotals",{attrs:{materials:e.event.materials,withRentalPrices:e.showBilling&&e.event.is_billable,discountRate:e.discountRate,start:e.startDate,end:e.endDate}}):e._e(),e.hasMaterials?e._e():a("p",{staticClass:"EventOverview__materials__empty"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(e.$t("page-events.warning-no-material"))+" ")])],1),a("div",{staticClass:"EventOverview__missing-materials"},[a("EventMissingMaterials",{attrs:{eventId:e.event.id}})],1)])},hi=[],vi={name:"EventOverview",components:{EventMaterials:Pt,EventMissingMaterials:zt,EventBilling:ca,EventTotals:_a},props:{event:Object},data:function(){var e=Object(x["a"])(this.event.bills,1),t=e[0],a=t?t.discount_rate:0;return{showBilling:"none"!==v.billingMode,lastBill:t?Object(g["a"])(Object(g["a"])({},t),{},{date:r()(t.date)}):null,billLoading:!1,discountRate:a}},computed:{startDate:function(){return r()(this.event.start_date)},endDate:function(){return r()(this.event.end_date)},hasMaterials:function(){return this.event.materials.length>0},fromToDates:function(){return{from:this.startDate.format("L"),to:this.endDate.format("L")}},duration:function(){var e=this.event,t=e.start_date,a=e.end_date;return t&&a?r()(a).diff(t,"days")+1:0}},methods:{handleChangeDiscountRate:function(e){this.discountRate=e},handleCreateBill:function(e){var t=this;this.billLoading=!0;var a=this.event.id;this.$http.post("events/".concat(a,"/bill"),{discountRate:e}).then((function(e){var a=e.data;t.lastBill=Object(g["a"])(Object(g["a"])({},a),{},{date:r()(a.date)})})).catch(this.handleError).finally((function(){t.billLoading=!1}))}}},gi=vi,bi=(a("6aae"),Object(ge["a"])(gi,_i,hi,!1,null,null,null)),yi=bi.exports,Ci={name:"EventStep5",components:{EventOverview:yi},props:{event:Object},data:function(){return{isConfirming:!1}},computed:{eventSummaryPdfUrl:function(){var e=v.baseUrl,t=this.event||{id:null},a=t.id;return"".concat(e,"/events/").concat(a,"/pdf")}},methods:{confirmEvent:function(){this.setEventConfirmation(!0)},unconfirmEvent:function(){this.setEventConfirmation(!1)},printEvent:function(){console.log("TODO: PRINT EVENT")},setEventConfirmation:function(e){var t=this,a=this.$props.event.id,s="".concat(this.$route.meta.resource,"/").concat(a);this.isConfirming=!0,this.$http.put(s,{id:a,is_confirmed:e}).then((function(e){var a=e.data;t.$emit("updateEvent",a)})).catch((function(e){t.$emit("error",e)})).finally((function(){t.isConfirming=!1}))}}},wi=Ci,ki=(a("95a4"),Object(ge["a"])(wi,pi,fi,!1,null,null,null)),$i=ki.exports,Ei={name:"Event",components:{Help:ze,Breadcrumb:ts,MiniSummary:os,EventStep1:fs,EventStep2:Ls,EventStep3:Is,EventStep4:mi,EventStep5:$i},data:function(){var e=this.$store.state.auth.user;return{help:"page-events.help-edit",error:null,isLoading:!1,steps:[{id:1,name:this.$t("page-events.event-informations"),fields:["title","start_date","end_date"]},{id:2,name:this.$t("page-events.event-beneficiaries"),fields:["beneficiaries"]},{id:3,name:this.$t("page-events.event-technicians"),fields:["assignees"]},{id:4,name:this.$t("page-events.event-materials"),fields:["materials"]},{id:5,name:this.$t("page-events.event-summary"),fields:["none"]}],currentStep:1,event:{id:this.$route.params.id||null,title:"",start_date:this.$route.query.startDate||"",end_date:"",location:"",description:"",is_confirmed:!1,user_id:e.id,is_billable:!0,beneficiaries:[],technicians:[],materials:[]}}},mounted:function(){this.getEventData(),Wa.commit("reset")},methods:{getEventData:function(){var e=this,t=this.event.id;if(t&&"new"!==t){this.startLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setEventData(a,{from:"get"}),e.stopLoading()})).catch(this.displayError)}},setEventData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:"save"};"get"===t.from?this.help="page-events.help-edit":this.help={type:"success",text:"page-events.saved"},this.error=null,this.isLoading=!1,this.event=e,B.commit("setPageSubTitle",this.event.title),Wa.commit("init",this.event)},openStep:function(e){this.currentStep=e},startLoading:function(){this.isLoading=!0},stopLoading:function(){this.isLoading=!1},displayError:function(e){this.error=e,this.isLoading=!1}}},Di=Ei,Mi=(a("b0bc"),Object(ge["a"])(Di,za,Qa,!1,null,null,null)),Ti=Mi.exports,Si=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Users"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/users/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Users__create success",on:{click:s}},[a("i",{staticClass:"fas fa-user-plus"}),e._v(" "+e._s(e.$t("page-users.action-add"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view"},[a("v-server-table",{ref:"DataTable",attrs:{name:"UsersTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"pseudo",fn:function(t){return a("div",{},[a("i",{staticClass:"fas",class:t.row.id===e.currentUserId?"fa-user-circle":"fa-user"}),e._v(" "+e._s(t.row.pseudo)+" ")])}},{key:"full_name",fn:function(t){return a("div",{},[t.row.person?a("span",[e._v(" "+e._s(t.row.person.first_name)+" "+e._s(t.row.person.last_name)+" ")]):a("span",{staticClass:"Users__no-profile"},[e._v(" "+e._s(e.$t("page-users.profile-missing-or-deleted"))+" ")])])}},{key:"group_id",fn:function(t){return a("div",{},[e._v(" "+e._s(e.$t(t.row.group_id))+" ")])}},{key:"email",fn:function(t){return a("div",{},[t.row.id!==e.currentUserId?a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(" "+e._s(t.row.email)+" ")]):a("span",[e._v(e._s(t.row.email))])])}},{key:"phone",fn:function(t){return a("div",{},[t.row.person?a("span",[e._v(" "+e._s(t.row.person.phone)+" ")]):e._e()])}},{key:"address",fn:function(t){return a("div",{},[e._v(" "+e._s(t.row.person.street)),a("br"),e._v(" "+e._s(t.row.person.postal_code)+" "+e._s(t.row.person.locality)+" ")])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Users__actions"},[t.row.id===e.currentUserId?a("div",[a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}],null,!0)})],1):a("div",[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/users/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed||"admin"===t.row.group_id?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed&&"admin"!==t.row.group_id?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteUser(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)])}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Users__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},Fi=[],xi={name:"Users",components:{Help:ze},data:function(){var e=this;return{help:"page-users.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["pseudo","full_name","group_id","email","phone","address","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"pseudo",ascending:!0},initialPage:this.$route.query.page||1,sortable:["pseudo","group_id","email"],columnsDisplay:{address:"mobile"},headings:{pseudo:this.$t("pseudo"),full_name:this.$t("name"),group_id:this.$t("group"),email:this.$t("email"),phone:this.$t("phone"),address:this.$t("address"),actions:""},columnsClasses:{pseudo:"Users__pseudo",full_name:"Users__name",group_id:"Users__group",email:"Users__email",phone:"Users__phone",address:"Users__address"},requestFunction:function(t){e.error=null,e.isLoading=!0;var a=Object(g["a"])(Object(g["a"])({},t),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},computed:{currentUserId:function(){return this.$store.state.auth.user.id}},methods:{deleteUser:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"users",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreUser:function(e){var t=this;Dt.ConfirmRestore(this.$t,"users").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},refreshTable:function(){this.help="page-users.help",this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.error=e,this.isLoading=!1}}},Li=xi,Oi=(a("235b"),Object(ge["a"])(Li,Si,Fi,!1,null,null,null)),ji=Oi.exports,qi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"User"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:e.saveUser}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("connexion-infos"))+" ")]),a("FormField",{attrs:{name:"pseudo",label:"pseudo",required:"",errors:e.errors.pseudo},model:{value:e.user.pseudo,callback:function(t){e.$set(e.user,"pseudo",t)},expression:"user.pseudo"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",required:"",errors:e.errors.email},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}}),e.user.id?e._e():a("FormField",{attrs:{name:"password",label:"password",type:"password",required:"",errors:e.errors.password},model:{value:e.user.password,callback:function(t){e.$set(e.user,"password",t)},expression:"user.password"}}),a("FormField",{attrs:{name:"group_id",label:"group",type:"select",required:"",options:e.groupOptions,errors:e.errors.group_id},model:{value:e.user.group_id,callback:function(t){e.$set(e.user,"group_id",t)},expression:"user.group_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",errors:e.errors.first_name},model:{value:e.user.person.first_name,callback:function(t){e.$set(e.user.person,"first_name",t)},expression:"user.person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",errors:e.errors.last_name},model:{value:e.user.person.last_name,callback:function(t){e.$set(e.user.person,"last_name",t)},expression:"user.person.last_name"}}),a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.user.person.nickname,callback:function(t){e.$set(e.user.person,"nickname",t)},expression:"user.person.nickname"}}),a("FormField",{attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.user.person.phone,callback:function(t){e.$set(e.user.person,"phone",t)},expression:"user.person.phone"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.user.person.street,callback:function(t){e.$set(e.user.person,"street",t)},expression:"user.person.street"}}),a("FormField",{staticClass:"User__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.user.person.postal_code,callback:function(t){e.$set(e.user.person,"postal_code",t)},expression:"user.person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.user.person.locality,callback:function(t){e.$set(e.user.person,"locality",t)},expression:"user.person.locality"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Ai=[],Ni={name:"User",components:{Help:ze,FormField:rt},data:function(){return{help:"page-users.help-edit",error:null,isLoading:!1,user:{id:this.$route.params.id||null,pseudo:"",email:"",password:"",group_id:"member",person:{first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}},errors:{pseudo:null,email:null,password:null,group_id:null,person:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null}},groupOptions:[{value:"admin",label:"admin"},{value:"member",label:"member"},{value:"visitor",label:"visitor"}]}},mounted:function(){this.getUserData()},methods:{getUserData:function(){var e=this,t=this.user.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setUserData(a),e.isLoading=!1})).catch(this.displayError)}},saveUser:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.user.id,s=this.$route.meta.resource,i=this.$http.post,n="users/signup";this.user.id&&(i=this.$http.put,n="".concat(s,"/").concat(a)),i(n,Object(g["a"])({},this.user)).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-users.saved"},t.setUserData(a),setTimeout((function(){t.$router.push("/users")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-users.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-users.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setUserData:function(e){this.user=e,e.person||(this.user.person={first_name:"",last_name:"",nickname:"",phone:"",street:"",postal_code:"",locality:""}),B.commit("setPageSubTitle",this.user.pseudo)}}},Ii=Ni,Pi=(a("50b8"),Object(ge["a"])(Ii,qi,Ai,!1,null,null,null)),Bi=Pi.exports,Ri=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Beneficiaries"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/beneficiaries/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Beneficiaries__create success",on:{click:s}},[a("i",{staticClass:"fas fa-user-plus"}),e._v(" "+e._s(e.$t("page-beneficiaries.action-add"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view"},[a("v-server-table",{ref:"DataTable",attrs:{name:"BeneficiariesTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"company",fn:function(t){return a("div",{},[t.row.company?a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/companies/"+t.row.company.id}},[e._v(" "+e._s(t.row.company.legal_name)+" "),a("i",{staticClass:"fas fa-edit"})]):e._e()],1)}},{key:"email",fn:function(t){return a("div",{},[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])])}},{key:"phone",fn:function(t){return a("div",{},[t.row.phone?a("div",[e._v(" "+e._s(t.row.phone)+" ")]):e._e(),t.row.company?a("div",[e._v(" "+e._s(t.row.company.phone)+" ")]):e._e()])}},{key:"address",fn:function(t){return a("div",{},[t.row.company&&t.row.company.postal_code&&t.row.locality?a("div",[e._v(" "+e._s(t.row.company.street)),a("br"),e._v(" "+e._s(t.row.company.postal_code)+" "+e._s(t.row.company.locality)+" ")]):a("div",[e._v(" "+e._s(t.row.street)),a("br"),e._v(" "+e._s(t.row.postal_code)+" "+e._s(t.row.locality)+" ")])])}},{key:"note",fn:function(t){return a("div",{},[t.row.company?a("pre",[e._v(e._s(t.row.company.note))]):a("pre",[e._v(e._s(t.row.note))])])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Beneficiaries__actions"},[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/beneficiaries/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteBeneficiary(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Beneficiaries__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},Vi=[],Hi={name:"Beneficiaries",components:{Help:ze},data:function(){var e=this;return{help:"page-beneficiaries.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["last_name","first_name","company","email","phone","address","note","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"last_name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["last_name","first_name","company","email"],columnsDisplay:{note:"mobile"},headings:{last_name:this.$t("last-name"),first_name:this.$t("first-name"),company:this.$t("company"),email:this.$t("email"),phone:this.$t("phone"),address:this.$t("address"),note:this.$t("notes"),actions:""},columnsClasses:{company:"Beneficiaries__company",email:"Beneficiaries__email",address:"Beneficiaries__address",note:"Beneficiaries__note"},requestFunction:function(t){e.isLoading=!0,e.error=null;var a=Object(g["a"])(Object(g["a"])({},t),{},{tags:[v.beneficiaryTagName],deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},methods:{deleteBeneficiary:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"beneficiaries",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreBeneficiary:function(e){var t=this;Dt.ConfirmRestore(this.$t,"beneficiaries").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.isLoading=!1,this.error=e}}},Ui=Hi,zi=(a("b574"),Object(ge["a"])(Ui,Ri,Vi,!1,null,null,null)),Qi=zi.exports,Yi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view Beneficiary"},[a("div",{staticClass:"Beneficiary__main"},[a("PersonForm",{attrs:{person:e.person,errors:e.errors,withCompany:""},on:{submit:e.saveBeneficiary}}),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Gi=[],Wi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form PersonForm",attrs:{method:"POST"},on:{submit:e.doSubmit}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("personnal-infos"))+" ")]),a("FormField",{attrs:{name:"first_name",label:"first-name",required:"",errors:e.errors.first_name},model:{value:e.person.first_name,callback:function(t){e.$set(e.person,"first_name",t)},expression:"person.first_name"}}),a("FormField",{attrs:{name:"last_name",label:"last-name",required:"",errors:e.errors.last_name},model:{value:e.person.last_name,callback:function(t){e.$set(e.person,"last_name",t)},expression:"person.last_name"}}),e.withCompany?e._e():a("FormField",{attrs:{name:"nickname",label:"nickname",errors:e.errors.nickname},model:{value:e.person.nickname,callback:function(t){e.$set(e.person,"nickname",t)},expression:"person.nickname"}})],1),e.withCompany?a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("company"))+" ")]),a("div",{staticClass:"PersonForm__company"},[a("FormField",{attrs:{name:"company_id",label:"company",type:"select",options:e.companiesOptions,errors:e.errors.company_id},model:{value:e.person.company_id,callback:function(t){e.$set(e.person,"company_id",t)},expression:"person.company_id"}}),e.person.company_id?a("router-link",{attrs:{to:"/companies/"+e.person.company_id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"PersonForm__company__edit-btn info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("page-companies.edit-btn"))+" ")])]}}],null,!1,770691493)}):e._e()],1),a("router-link",{staticClass:"PersonForm__add-company",attrs:{to:"/companies/new"}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-companies.create-new"))+" ")])],1):e._e(),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("contact"))+" ")]),a("FormField",{staticClass:"PersonForm__phone",attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.person.phone,callback:function(t){e.$set(e.person,"phone",t)},expression:"person.phone"}}),a("FormField",{attrs:{name:"email",label:"email",type:"email",errors:e.errors.email},model:{value:e.person.email,callback:function(t){e.$set(e.person,"email",t)},expression:"person.email"}}),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.person.street,callback:function(t){e.$set(e.person,"street",t)},expression:"person.street"}}),a("FormField",{staticClass:"PersonForm__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.person.postal_code,callback:function(t){e.$set(e.person,"postal_code",t)},expression:"person.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.person.locality,callback:function(t){e.$set(e.person,"locality",t)},expression:"person.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.person.country_id,callback:function(t){e.$set(e.person,"country_id",t)},expression:"person.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{staticClass:"PersonForm__notes",attrs:{label:"notes",name:"note",type:"textarea",errors:e.errors.note},model:{value:e.person.note,callback:function(t){e.$set(e.person,"note",t)},expression:"person.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-save"}),e._v(" "+e._s(e.$t("save"))+" ")]),a("button",{attrs:{type:"button"},on:{click:e.goBack}},[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("cancel"))+" ")])])])},Ki=[],Ji={name:"PersonForm",components:{FormField:rt},props:{person:Object,errors:Object,withCompany:Boolean},computed:{countriesOptions:function(){return B.getters["countries/options"]},companiesOptions:function(){return B.getters["companies/options"]}},mounted:function(){B.dispatch("countries/fetch"),B.dispatch("companies/fetch")},methods:{doSubmit:function(e){this.$emit("submit",e)},goBack:function(){this.$router.back()}}},Zi=Ji,Xi=(a("704a"),Object(ge["a"])(Zi,Wi,Ki,!1,null,null,null)),en=Xi.exports,tn={name:"Beneficiary",components:{Help:ze,PersonForm:en},data:function(){return{help:"page-beneficiaries.help-edit",error:null,isLoading:!1,person:{id:this.$route.params.id||null,email:"",first_name:"",last_name:"",company_id:"",nickname:"",phone:"",street:"",postal_code:"",locality:"",country_id:"",note:""},errors:{first_name:null,last_name:null,nickname:null,phone:null,street:null,postal_code:null,locality:null,note:null}}},mounted:function(){this.getBeneficiaryData()},methods:{getBeneficiaryData:function(){var e=this,t=this.person.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setPerson(a),e.isLoading=!1})).catch(this.displayError)}},saveBeneficiary:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.person.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object(g["a"])({},this.person);a||(r.tags=[v.beneficiaryTagName]),i(n,r).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-beneficiaries.saved"},t.setPerson(a),setTimeout((function(){t.$router.push("/beneficiaries")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-beneficiaries.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-beneficiaries.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setPerson:function(e){this.person=e;var t=e.full_name||"".concat(e.first_name," ").concat(e.last_name);B.commit("setPageSubTitle",t)}}},an=tn,sn=(a("3cfd"),Object(ge["a"])(an,Yi,Gi,!1,null,null,null)),nn=sn.exports,rn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view Company"},[a("div",{staticClass:"Company__main"},[a("CompanyForm",{attrs:{company:e.company,errors:e.errors},on:{submit:e.saveCompany}}),a("div",{staticClass:"Company__extras"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),e.persons.length>0?a("div",{staticClass:"Company__persons"},[a("h4",{staticClass:"Company__persons__title"},[e._v(" "+e._s(e.$t("page-companies.attached-persons"))+" ")]),a("ul",{staticClass:"Company__persons__list"},e._l(e.persons,(function(t){return a("li",{key:t.id,staticClass:"Company__persons__item"},[a("i",{staticClass:"fas fa-user"}),a("router-link",{attrs:{to:"/beneficiaries/"+t.id}},[e._v(" "+e._s(t.full_name)+" ")])],1)})),0)]):e._e()],1)],1)])])},on=[],ln=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"Form CompanyForm",attrs:{method:"POST"},on:{submit:e.doSubmit}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("informations"))+" ")]),a("FormField",{attrs:{name:"legal_name",label:"legal-name",required:"",errors:e.errors.legal_name},model:{value:e.company.legal_name,callback:function(t){e.$set(e.company,"legal_name",t)},expression:"company.legal_name"}}),a("FormField",{staticClass:"CompanyForm__phone",attrs:{name:"phone",label:"phone",type:"tel",errors:e.errors.phone},model:{value:e.company.phone,callback:function(t){e.$set(e.company,"phone",t)},expression:"company.phone"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("address"))+" ")]),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.company.street,callback:function(t){e.$set(e.company,"street",t)},expression:"company.street"}}),a("FormField",{staticClass:"CompanyForm__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.company.postal_code,callback:function(t){e.$set(e.company,"postal_code",t)},expression:"company.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.company.locality,callback:function(t){e.$set(e.company,"locality",t)},expression:"company.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.company.country_id,callback:function(t){e.$set(e.company,"country_id",t)},expression:"company.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{staticClass:"CompanyForm__notes",attrs:{label:"notes",name:"note",type:"textarea",errors:e.errors.note},model:{value:e.company.note,callback:function(t){e.$set(e.company,"note",t)},expression:"company.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-save"}),e._v(" "+e._s(e.$t("save"))+" ")]),a("button",{attrs:{type:"button"},on:{click:e.goBack}},[a("i",{staticClass:"fas fa-ban"}),e._v(" "+e._s(e.$t("cancel"))+" ")])])])},cn=[],un={name:"CompanyForm",components:{FormField:rt},props:["company","errors"],computed:{countriesOptions:function(){return B.getters["countries/options"]}},mounted:function(){B.dispatch("countries/fetch")},methods:{doSubmit:function(e){this.$emit("submit",e)},goBack:function(){this.$router.back()}}},dn=un,mn=(a("5af6"),Object(ge["a"])(dn,ln,cn,!1,null,null,null)),pn=mn.exports,fn={name:"Company",components:{Help:ze,CompanyForm:pn},data:function(){return{help:"page-companies.help-edit",error:null,isLoading:!1,company:{id:this.$route.params.id||null,legal_name:"",street:"",postal_code:"",locality:"",country_id:"",phone:"",note:""},persons:[],errors:{legal_name:null,street:null,postal_code:null,locality:null,country_id:null,phone:null}}},mounted:function(){this.getCompanyData(),this.getCompanyPersons()},methods:{getCompanyData:function(){var e=this,t=this.company.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setCompany(a),e.isLoading=!1})).catch(this.displayError)}},getCompanyPersons:function(){var e=this,t=this.company.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t,"/persons")).then((function(t){var a=t.data;e.persons=a.data,e.isLoading=!1})).catch(this.displayError)}},saveCompany:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.company.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object(g["a"])({},this.company);a||(r.tags=[v.beneficiaryTagName]),i(n,r).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-companies.saved"},t.setCompany(a),B.dispatch("companies/refresh"),setTimeout((function(){t.$router.back()}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-companies.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-companies.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setCompany:function(e){this.company=e,B.commit("setPageSubTitle",e.legal_name)}}},_n=fn,hn=(a("a993"),Object(ge["a"])(_n,rn,on,!1,null,null,null)),vn=hn.exports,gn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Materials"},[a("div",{staticClass:"content__header header-page"},[a("div",{staticClass:"header-page__help"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"header-page__actions"},[a("router-link",{attrs:{to:"/materials/new",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"Materials__create success",on:{click:s}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-materials.action-add"))+" ")])]}}])}),a("router-link",{attrs:{to:"/attributes",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{on:{click:s}},[a("i",{staticClass:"fas fa-cog"}),e._v(" "+e._s(e.$t("page-materials.manage-attributes"))+" ")])]}}])})],1)]),a("div",{staticClass:"content__main-view Materials__main-view"},[a("div",{staticClass:"Materials__filters"},[a("MaterialsFilters",{attrs:{baseRoute:"/materials"},on:{change:e.refreshTableAndPagination}}),a("div",{staticClass:"Materials__quantities-date"},[null===e.dateForQuantities?a("button",{staticClass:"Materials__quantities-date__button",on:{click:e.showQuantityAtDateModal}},[e._v(" "+e._s(e.$t("page-materials.display-quantities-at-date"))+" ")]):a("div",{staticClass:"Materials__quantities-date__displayed"},[a("p",{staticClass:"Materials__quantities-date__label"},[e._v(" "+e._s(e.$t("page-materials.remaining-quantities-on-date",{date:e.dateForQuantities.format("LL")}))+" ")]),a("button",{staticClass:"Materials__quantities-date__button warning",on:{click:e.removeDateForQuantities}},[e._v(" "+e._s(e.$t("reset-date"))+" ")])])])],1),a("v-server-table",{ref:"DataTable",attrs:{name:"materialsTable",columns:e.columns,options:e.options},scopedSlots:e._u([{key:"park",fn:function(t){return a("div",{},[e._v(" "+e._s(e.getParkName(t.row.park_id))+" ")])}},{key:"category",fn:function(t){return a("div",{},[a("i",{staticClass:"fas fa-folder-open"}),e._v(" "+e._s(e.getCategoryName(t.row.category_id))+" "),t.row.sub_category_id?a("div",[a("i",{staticClass:"fas fa-arrow-right"}),e._v(" "+e._s(e.getSubCategoryName(t.row.sub_category_id))+" ")]):e._e()])}},{key:"rental_price",fn:function(t){return a("div",{},[e._v(" "+e._s(e.formatAmount(t.row.rental_price))+" ")])}},{key:"replacement_price",fn:function(t){return a("div",{},[e._v(" "+e._s(e.formatAmount(t.row.replacement_price))+" ")])}},{key:"tags",fn:function(t){return a("div",{staticClass:"Materials__tags-list",attrs:{role:"button"},on:{click:function(a){return e.setTags(t.row)}}},[a("MaterialTags",{attrs:{tags:t.row.tags}}),0!==t.row.tags.length||e.isTrashDisplayed?e._e():a("span",{staticClass:"Materials__add-tags"},[e._v(" "+e._s(e.$t("add-tags"))+" ")])],1)}},{key:"actions",fn:function(t){return a("div",{staticClass:"Materials__actions"},[a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-view"),expression:"$t('action-view')"}],attrs:{to:"/materials/"+t.row.id+"/view",custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button success",on:{click:t}},[a("i",{staticClass:"fas fa-eye"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/materials/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deleteMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restoreMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deleteMaterial(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Materials__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},bn=[],yn=(a("a434"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"PromptDate"},[a("div",{staticClass:"PromptDate__header"},[a("h2",{staticClass:"PromptDate__header__title"},[e._v(" "+e._s(e.title)+" ")]),a("button",{staticClass:"PromptDate__header__btn-close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])]),a("div",{staticClass:"PromptDate__main"},[a("Datepicker",{staticClass:"PromptDate__datepicker",attrs:{value:e.currentDate,language:e.datepickerLang,format:e.formatDate,placeholder:e.$t(e.placeholder),"input-class":"PromptDate__datepicker__input","monday-first":""},on:{input:e.handleChange}})],1),a("hr"),a("div",{staticClass:"PromptDate__footer"},[a("button",{staticClass:"success",on:{click:e.handleSubmit}},[a("i",{staticClass:"fas fa-check"}),e._v(" "+e._s(e.$t("choose-date"))+" ")]),a("button",{on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"}),e._v(" "+e._s(e.$t("close"))+" ")])])])}),Cn=[],wn={name:"PromptDate",components:{Datepicker:Ge["a"]},props:{title:String,defaultDate:[String,Date],format:String,placeholder:String},data:function(){return{currentDate:this.defaultDate,datepickerLang:We[B.state.i18n.locale]}},methods:{formatDate:function(e){return this.format||r()(e).format("LL")},handleChange:function(e){this.currentDate=e},handleSubmit:function(){this.$emit("close",{date:this.currentDate})}}},kn=wn,$n=(a("b81d"),Object(ge["a"])(kn,yn,Cn,!1,null,null,null)),En=$n.exports,Dn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"AssignTags"},[a("Header",{attrs:{title:e.title},on:{close:function(t){return e.$emit("close")}}}),a("div",{staticClass:"AssignTags__content"},[a("p",{staticClass:"AssignTags__help"},[e._v(e._s(e.$t("choose-tags-below")))]),a("div",{staticClass:"AssignTags__form"},[a("VueSelect",{attrs:{options:e.$store.getters["tags/options"],"close-on-select":!1,multiple:""},model:{value:e.tags,callback:function(t){e.tags=t},expression:"tags"}}),a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("remove-all-tags"),expression:"$t('remove-all-tags')"}],staticClass:"AssignTags__form__remove-all",on:{click:e.removeAll}},[a("i",{staticClass:"fas fa-backspace"})])],1)]),a("div",{staticClass:"AssignTags__actions"},[e.error?a("p",{staticClass:"AssignTags__error"},[e._v(e._s(e.error))]):e._e(),a("button",{staticClass:"success",on:{click:e.save}},[e.isLoading?a("i",{staticClass:"fas fa-circle-notch fa-spin"}):e._e(),e.isLoading?a("span",[e._v(e._s(e.$t("saving")))]):a("span",[e._v(e._s(e.$t("save")))])]),a("button",{on:{click:function(t){return e.$emit("close")}}},[e._v(" "+e._s(e.$t("cancel"))+" ")])])],1)},Mn=[],Tn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"AssignTagsHeader"},[a("h4",{staticClass:"AssignTagsHeader__title"},[a("i",{staticClass:"fas fa-tags"}),e._v(" "+e._s(e.title)+" ")]),a("button",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[a("i",{staticClass:"fas fa-times"})])])},Sn=[],Fn={name:"AssignTagsHeader",props:["title"]},xn=Fn,Ln=(a("56e7"),Object(ge["a"])(xn,Tn,Sn,!1,null,null,null)),On=Ln.exports,jn={name:"AssignTags",components:{Header:On,VueSelect:ys.a},props:["entity","id","name","initialTags"],data:function(){return{isLoading:!1,title:this.$t("entity-name-tags",{entityName:this.name||""}),tags:this.initialTags?this.initialTags.map((function(e){var t=e.id,a=e.name;return{label:a,value:t}})):[],error:null}},methods:{save:function(){var e=this;this.isLoading=!0;var t=this.tags.map((function(e){return e.label}));this.$http.put("".concat(this.entity,"/").concat(this.id),{tags:t}).then((function(){e.$emit("saved"),e.$emit("close")})).catch((function(t){if(t.response){var a=t.response.data.error.message;e.error=a}else e.error=t})).finally((function(){e.isLoading=!1}))},removeAll:function(){this.tags=[]}}},qn=jn,An=(a("4a4d"),Object(ge["a"])(qn,Dn,Mn,!1,null,null,null)),Nn=An.exports,In=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ul",{staticClass:"MaterialTags"},e._l(e.tags,(function(t){return a("li",{key:t.id,staticClass:"MaterialTags__item"},[a("i",{staticClass:"fas fa-tag"}),e._v(" "+e._s(t.name)+" ")])})),0)},Pn=[],Bn={name:"MaterialTags",props:{tags:Array}},Rn=Bn,Vn=(a("3da3"),Object(ge["a"])(Rn,In,Pn,!1,null,null,null)),Hn=Vn.exports,Un={name:"Materials",components:{Help:ze,MaterialsFilters:Ks,MaterialTags:Hn},data:function(){var e=this,t=["reference","name","description","park","category","rental_price","replacement_price","stock_quantity","out_of_order_quantity","tags","actions"];"none"===v.billingMode&&(t=t.filter((function(e){return"rental_price"!==e})));var a=t.findIndex((function(e){return"stock_quantity"===e}));return{help:"page-materials.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,quantityColumnIndex:a,dateForQuantities:null,columns:t,options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["reference","name","description","rental_price","replacement_price","stock_quantity","out_of_order_quantity"],columnsDisplay:{park:"mobile",description:"mobile",replacement_price:"mobile",out_of_order_quantity:"mobile"},headings:{reference:this.$t("ref"),name:this.$t("name"),description:this.$t("description"),park:this.$t("park"),category:this.$t("category"),rental_price:this.$t("rent-price"),replacement_price:this.$t("repl-price"),stock_quantity:this.$t("quantity"),remaining_quantity:this.$t("remaining-quantity"),out_of_order_quantity:this.$t("quantity-out-of-order"),tags:this.$t("tags"),actions:""},columnsClasses:{reference:"Materials__ref",name:"Materials__name",park:"Materials__park",category:"Materials__category",description:"Materials__description",rental_price:"Materials__rental-price",replacement_price:"Materials__replacement-price",stock_quantity:"Materials__quantity",remaining_quantity:"Materials__remaining-quantity",out_of_order_quantity:"Materials__quantity-out",tags:"Materials__tags"},requestFunction:function(t){e.isLoading=!0;var a=e.getFilters(),s=Object(g["a"])(Object(g["a"])(Object(g["a"])({},t),a),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get("materials",{params:s}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},mounted:function(){B.dispatch("categories/fetch"),B.dispatch("tags/fetch")},methods:{getParkName:function(e){return B.getters["parks/parkName"](e)||"--"},getCategoryName:function(e){return B.getters["categories/categoryName"](e)},getSubCategoryName:function(e){return B.getters["categories/subCategoryName"](e)},getFilters:function(){var e={};return this.$route.query.park&&(e.park=this.$route.query.park),this.$route.query.category&&(e.category=this.$route.query.category),this.$route.query.subCategory&&(e.subCategory=this.$route.query.subCategory),this.$route.query.tags&&(e.tags=JSON.parse(this.$route.query.tags)),this.dateForQuantities&&(e.dateForQuantities=this.dateForQuantities.format("YYYY-MM-DD")),e},deleteMaterial:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"materials",a).then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.delete("materials/".concat(e)).then(t.refreshTable).catch(t.showError))}))},restoreMaterial:function(e){var t=this;Dt.ConfirmRestore(this.$t,"materials").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("materials/restore/".concat(e)).then(t.refreshTable).catch(t.showError))}))},setTags:function(e){var t=this,a=e.id,s=e.name,i=e.tags;if(!this.isTrashDisplayed){var n=Object(g["a"])(Object(g["a"])({},je),{},{width:600,draggable:!0,clickToClose:!1});this.$modal.show(Nn,{entity:"materials",id:a,name:s,initialTags:i},n,{"before-close":function(){t.refreshTable()}})}},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.getData()},refreshTableAndPagination:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh()},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTableAndPagination()},showError:function(e){this.isLoading=!1,this.error=e},formatAmount:function(e){return null!==e?Ot(e):""},showQuantityAtDateModal:function(){var e=this;return Object(A["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.dateForQuantities){t.next=2;break}return t.abrupt("return");case 2:a=Object(g["a"])(Object(g["a"])({},je),{},{width:600,draggable:!0,clickToClose:!1}),e.$modal.show(En,{title:e.$t("page-materials.display-quantities-at-date"),defaultDate:new Date},a,{"before-close":function(t){var a=t.params;a&&(e.dateForQuantities=r()(a.date),e.refreshTable(),e.columns.splice(e.quantityColumnIndex,1,"remaining_quantity"))}});case 4:case"end":return t.stop()}}),t)})))()},removeDateForQuantities:function(){this.dateForQuantities=null,this.columns.splice(this.quantityColumnIndex,1,"stock_quantity"),this.refreshTable()}}},zn=Un,Qn=(a("0e0d"),Object(ge["a"])(zn,gn,bn,!1,null,null,null)),Yn=Qn.exports,Gn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Material"},[a("form",{key:e.entitiesState,staticClass:"Form Form--fixed-actions",attrs:{method:"POST"},on:{submit:e.saveMaterial}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"name",label:"name",required:"",errors:e.errors.name},model:{value:e.material.name,callback:function(t){e.$set(e.material,"name",t)},expression:"material.name"}}),a("FormField",{staticClass:"Material__ref",attrs:{name:"reference",label:"reference",required:"",errors:e.errors.reference},model:{value:e.material.reference,callback:function(t){e.$set(e.material,"reference",t)},expression:"material.reference"}}),a("FormField",{attrs:{name:"park_id",label:"park",type:"select",required:"",options:e.parksOptions,errors:e.errors.park_id},model:{value:e.material.park_id,callback:function(t){e.$set(e.material,"park_id",t)},expression:"material.park_id"}}),a("FormField",{attrs:{name:"category_id",label:"category",type:"select",required:"",options:e.categoriesOptions,errors:e.errors.category_id},on:{change:e.handleCategoryChange},model:{value:e.material.category_id,callback:function(t){e.$set(e.material,"category_id",t)},expression:"material.category_id"}}),a("FormField",{attrs:{name:"sub_category_id",label:"sub-category",type:"select",options:e.subCategoriesOptions,errors:e.errors.sub_category_id},model:{value:e.material.sub_category_id,callback:function(t){e.$set(e.material,"sub_category_id",t)},expression:"material.sub_category_id"}}),a("FormField",{directives:[{name:"show",rawName:"v-show",value:e.showBilling,expression:"showBilling"}],staticClass:"Material__price",attrs:{name:"rental_price",label:"rental-price",type:"number",addon:e.currency,required:"",errors:e.errors.rental_price},on:{input:e.updateRentalPrice},model:{value:e.material.rental_price,callback:function(t){e.$set(e.material,"rental_price",t)},expression:"material.rental_price"}}),a("FormField",{staticClass:"Material__quantity",attrs:{name:"stock_quantity",label:"quantity",type:"number",step:1,required:"",errors:e.errors.stock_quantity},model:{value:e.material.stock_quantity,callback:function(t){e.$set(e.material,"stock_quantity",t)},expression:"material.stock_quantity"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("extra-infos"))+" ")]),a("FormField",{attrs:{name:"description",label:"description",type:"textarea",errors:e.errors.description},model:{value:e.material.description,callback:function(t){e.$set(e.material,"description",t)},expression:"material.description"}}),a("FormField",{staticClass:"Material__price",attrs:{name:"replacement_price",label:"replacement-price",type:"number",addon:e.currency,errors:e.errors.replacement_price},model:{value:e.material.replacement_price,callback:function(t){e.$set(e.material,"replacement_price",t)},expression:"material.replacement_price"}}),a("FormField",{staticClass:"Material__quantity",attrs:{name:"out_of_order_quantity",label:"quantity-out-of-order",type:"number",step:1,errors:e.errors.out_of_order_quantity},model:{value:e.material.out_of_order_quantity,callback:function(t){e.$set(e.material,"out_of_order_quantity",t)},expression:"material.out_of_order_quantity"}}),a("FormField",{attrs:{name:"note",label:"notes",type:"textarea",errors:e.errors.note},model:{value:e.material.note,callback:function(t){e.$set(e.material,"note",t)},expression:"material.note"}})],1),e.showBilling?a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("billing-infos"))+" ")]),a("FormField",{attrs:{name:"is_discountable",label:"discountable",type:"switch",errors:e.errors.is_discountable},model:{value:e.material.is_discountable,callback:function(t){e.$set(e.material,"is_discountable",t)},expression:"material.is_discountable"}}),a("FormField",{attrs:{name:"is_hidden_on_bill",disabled:e.material.rental_price>0,disabledReason:e.$t("price-must-be-zero"),label:"hidden-on-bill",type:"switch",errors:e.errors.is_hidden_on_bill},model:{value:e.material.is_hidden_on_bill,callback:function(t){e.$set(e.material,"is_hidden_on_bill",t)},expression:"material.is_hidden_on_bill"}})],1):e._e(),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("special-attributes"))+" ")]),0===e.extraAttributes.length?a("p",{staticClass:"Material__no-attribute-help"},[e._v(" "+e._s(e.$t("page-attributes.no-attribute-yet"))+" ")]):e._e(),e.extraAttributes.length>0?a("div",{staticClass:"Material__attributes"},e._l(e.extraAttributes,(function(t){return a("FormField",{key:t.id,attrs:{name:t.name,label:t.name,addon:t.unit,type:e.getAttributeType(t.type),datepickerOptions:{format:"dd/MM/yyyy"}},on:{change:e.handleAttributeChange},model:{value:e.materialAttributes[t.id],callback:function(a){e.$set(e.materialAttributes,t.id,a)},expression:"materialAttributes[extraAttribute.id]"}})})),1):e._e(),a("router-link",{staticClass:"Material__modify-attribute-link",attrs:{to:"/attributes"}},[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-attributes.add-attributes"))+" ")])],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},Wn=[],Kn=a("ade3"),Jn={name:"Material",components:{Help:ze,FormField:rt},data:function(){var e="none"!==v.billingMode;return{help:"page-materials.help-edit",error:null,isLoading:!1,extraAttributes:[],showBilling:e,material:{id:this.$route.params.id||null,name:"",reference:"",park_id:"",category_id:"",rental_price:e?"":0,stock_quantity:"1",description:"",sub_category_id:"",replacement_price:"",out_of_order_quantity:"0",note:"",is_hidden_on_bill:!1,is_discountable:!0,attributes:[]},materialAttributes:{},errors:{name:null,reference:null,park_id:null,category_id:null,rental_price:null,stock_quantity:null},currency:v.currency.symbol,subCategoriesOptions:[{value:"",label:this.$t("please-choose")}]}},computed:{entitiesState:function(){var e=B.state,t=e.parks,a=e.categories;return t.isFetched&&a.isFetched?"ready":"fetching"},parksOptions:function(){return B.getters["parks/options"]},firstPark:function(){return B.getters["parks/firstPark"]},categoriesOptions:function(){return B.getters["categories/options"]}},mounted:function(){B.dispatch("parks/fetch"),B.dispatch("categories/fetch"),this.fetchMaterial(),this.setDefaultPark()},watch:{firstPark:function(){this.setDefaultPark()}},methods:{fetchMaterial:function(){var e=this,t=this.material.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setMaterialData(a),e.fetchAttributes(),e.isLoading=!1})).catch(this.displayError)}else this.fetchAttributes()},setDefaultPark:function(){var e;null===this.material.id&&(this.material.park_id=(null===(e=this.firstPark)||void 0===e?void 0:e.id)||"")},fetchAttributes:function(){var e=this;this.extraAttributes=[];var t=this.material.category_id;t&&this.$http.get("attributes?category=".concat(t)).then((function(t){var a=t.data;e.extraAttributes=a})).catch(this.displayError)},getAttributeType:function(e){switch(e){case"integer":case"float":return"number";case"boolean":return"switch";case"date":return"date";default:return"text"}},handleAttributeChange:function(e){var t=e.field,a=e.newValue,s=this.extraAttributes.find((function(e){return e.name===t}));s&&(this.materialAttributes=Object(g["a"])(Object(g["a"])({},this.materialAttributes),{},Object(Kn["a"])({},s.id,a)))},saveMaterial:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.material.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a));var r=Object.keys(this.materialAttributes).map((function(e){return{id:e,value:t.materialAttributes[e]}})),o=Object(g["a"])(Object(g["a"])({},this.material),{},{attributes:r});i(n,o).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-materials.saved"},t.setMaterialData(a),setTimeout((function(){t.$router.push("/materials/".concat(a.id,"/view"))}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-materials.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-materials.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setMaterialData:function(e){this.material=e,B.commit("setPageSubTitle",this.material.name),this.updateSubCategories(),this.setMaterialAttributes()},updateRentalPrice:function(){this.material.rental_price>0&&(this.material.is_hidden_on_bill=!1)},handleCategoryChange:function(){this.fetchAttributes(),this.updateSubCategories()},updateSubCategories:function(){var e=this,t=B.state.categories.list,a=t.find((function(t){return parseInt(t.id,10)===parseInt(e.material.category_id,10)}));a&&(this.subCategoriesOptions=S(a.sub_categories,null,this.$t("please-choose")),this.refreshSubCategorySelect())},setMaterialAttributes:function(){var e=this;this.materialAttributes={},this.material.attributes.forEach((function(t){e.materialAttributes[t.id]=t.value}))},refreshSubCategorySelect:function(){var e=this,t=parseInt(this.material.sub_category_id,10)||"";if(t){var a=this.subCategoriesOptions.find((function(e){return e.value===t}));a&&(this.material.sub_category_id="",setTimeout((function(){e.material.sub_category_id=t}),0))}}}},Zn=Jn,Xn=(a("4863"),Object(ge["a"])(Zn,Gn,Wn,!1,null,null,null)),er=Xn.exports,tr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"MaterialView"},[a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}}),e.isLoading?e._e():a("tabs",{staticClass:"MaterialView__body",attrs:{onSelect:e.onSelectTab,defaultIndex:e.selectedTabIndex}},[a("template",{slot:"infos"},[a("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.$t("informations"))+" ")]),a("template",{slot:"documents"},[a("i",{staticClass:"fas fa-file-pdf"}),e._v(" "+e._s(e.$t("documents"))+" ")]),a("tab",{attrs:{"title-slot":"infos"}},[a("Infos",{attrs:{material:e.material}})],1),a("tab",{attrs:{"title-slot":"documents"}},[a("Documents")],1)],2)],1)])])},ar=[],sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewInfos"},[a("section",{staticClass:"MaterialViewInfos__main"},[a("h2",[e._v(" "+e._s(e.material.reference)+" ")]),a("h3",[a("router-link",{attrs:{to:"/materials?"+e.queryStringCategory}},[e._v(" "+e._s(e.categoryName)+" ")]),e.subCategoryName?a("span",[e._v("/")]):e._e(),e.subCategoryName?a("router-link",{attrs:{to:"/materials?"+e.queryStringSubCategory}},[e._v(" "+e._s(e.subCategoryName)+" ")]):e._e(),e._v(" / "+e._s(e.material.name)+" ")],1),a("p",[e._v(e._s(e.material.description))]),a("h3",[e._v(e._s(e.$t("quantities")))]),a("ul",[a("li",{staticClass:"MaterialViewInfos__stock-quantity"},[e._v(" "+e._s(e.$t("stock-items-count",{count:e.material.stock_quantity||0}))+" ")]),e.material.out_of_order_quantity>0?a("li",{staticClass:"MaterialViewInfos__out-of-order"},[e._v(" "+e._s(e.$t("out-of-order-items-count",{count:e.material.out_of_order_quantity||0}))+" ")]):e._e()]),e.showBilling?a("div",{staticClass:"MaterialViewInfos__billing"},[a("h3",[e._v(e._s(e.$t("prices")))]),a("ul",[a("li",{staticClass:"MaterialViewInfos__rental-price"},[e._v(" "+e._s(e.$t("value-per-day",{value:e.rentalPrice}))+" ")]),e.replacementPrice?a("li",[e._v(" "+e._s(e.$t("replacement-price"))+" "+e._s(e.replacementPrice)+" ")]):e._e()]),a("h3",[e._v(e._s(e.$t("billing")))]),e.material.is_hidden_on_bill?a("p",[e._v(" "+e._s(e.$t("material-not-displayed-on-bill"))+" ")]):e._e(),e.material.is_discountable?a("p",[e._v(" "+e._s(e.$t("material-is-discountable"))+" ")]):e._e()]):e._e(),e.material.attributes.length>0?a("Attributes",{attrs:{attributes:e.material.attributes}}):e._e(),e.material.note?a("div",{staticClass:"MaterialViewInfos__notes"},[a("h3",[e._v(e._s(e.$t("notes")))]),a("p",[e._v(e._s(e.material.note))])]):e._e()],1),a("section",{staticClass:"MaterialViewInfos__extras"},[a("div",{staticClass:"MaterialViewInfos__actions"},[a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/materials/"+e.material.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate;return[a("button",{staticClass:"info",on:{click:s}},[a("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("action-edit"))+" ")])]}}])})],1),a("div",{staticClass:"MaterialViewInfos__categories"},[a("p",[e._v(e._s(e.$t("category"))+": "),a("strong",[e._v(e._s(e.categoryName))])]),e.subCategoryName?a("p",[e._v(" "+e._s(e.$t("sub-category"))+": "),a("strong",[e._v(e._s(e.subCategoryName))])]):e._e()]),a("MaterialTags",{attrs:{tags:e.material.tags}}),a("div",{staticClass:"MaterialViewInfos__dates"},[a("p",[e._v(e._s(e.$t("created-at"))+" "+e._s(e.createDate))]),a("p",[e._v(e._s(e.$t("updated-at"))+" "+e._s(e.updateDate))])])],1)])},ir=[],nr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewInfosAttributes"},[a("h3",[e._v(e._s(e.$t("special-attributes")))]),e.attributes.length>0?a("ul",{staticClass:"MaterialViewInfosAttributes__list"},e._l(e.attributes,(function(t){return a("li",{key:t.id,staticClass:"MaterialViewInfosAttributes__list__item"},[e._v(" "+e._s(t.name)+": "),["boolean","date"].includes(t.type)?e._e():a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(t.value)+" "+e._s(t.unit)+" ")]),"date"===t.type?a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(e.formatDate(t.value))+" ")]):e._e(),"boolean"===t.type?a("span",{staticClass:"MaterialViewInfosAttributes__list__item__value"},[e._v(" "+e._s(t.value?e.$t("yes"):e.$t("no"))+" ")]):e._e()])})),0):e._e()])},rr=[],or={name:"MaterialViewInfosAttributes",props:{attributes:{required:!0,type:Array}},methods:{formatDate:function(e){return r()(e).format("DD/MM/yyyy")}}},lr=or,cr=(a("f0d4"),Object(ge["a"])(lr,nr,rr,!1,null,null,null)),ur=cr.exports,dr={name:"MaterialViewInfos",components:{Attributes:ur,MaterialTags:Hn},props:{material:{required:!0,type:Object}},data:function(){return{showBilling:"none"!==v.billingMode}},computed:{createDate:function(){var e=this.material.created_at;return e?r()(e).format("L"):null},updateDate:function(){var e=this.material.updated_at;return e?r()(e).format("L"):null},categoryName:function(){var e=this.material.category_id,t=B.getters["categories/categoryName"];return t(e)},subCategoryName:function(){var e=this.material.sub_category_id,t=B.getters["categories/subCategoryName"];return t(e)},rentalPrice:function(){var e=this.material.rental_price;return e?Ot(e):null},replacementPrice:function(){var e=this.material.replacement_price;return e?Ot(e):null},queryStringCategory:function(){return"category=".concat(this.material.category_id)},queryStringSubCategory:function(){return"category=".concat(this.material.category_id,"&subCategory=").concat(this.material.sub_category_id)}}},mr=dr,pr=(a("7f15"),Object(ge["a"])(mr,sr,ir,!1,null,null,null)),fr=pr.exports,_r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MaterialViewDocuments"},[a("section",{staticClass:"MaterialViewDocuments__main"},[0===e.documents.length?a("p",{staticClass:"MaterialViewDocuments__no-document"},[e._v(" "+e._s(e.$t("page-materials-view.documents.no-document"))+" ")]):e._e(),e.documents.length>0?a("ul",{staticClass:"MaterialViewDocuments__list"},e._l(e.documents,(function(t){return a("DocumentItem",{key:t.id,attrs:{file:t},on:{remove:e.removeDocument}})})),1):e._e(),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("DocumentUpload",{attrs:{materialId:e.materialId},on:{uploadSuccess:e.handleUploadSuccess}})],1)},hr=[],vr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("li",{staticClass:"MaterialViewDocumentsItem",class:{"MaterialViewDocumentsItem--with-link":!!e.file.id}},[a("div",{staticClass:"MaterialViewDocumentsItem__icon"},[e.file.id?a("a",{staticClass:"MaterialViewDocumentsItem__link",attrs:{href:e.fileUrl,target:"_blank",title:e.$t("page-materials-view.documents.click-to-open")}},[a("i",{staticClass:"fas",class:e.iconName})]):a("span",{staticClass:"MaterialViewDocumentsItem__no-link"},[a("i",{staticClass:"fas",class:e.iconName})])]),a("div",{staticClass:"MaterialViewDocumentsItem__name"},[e.file.id?a("a",{staticClass:"MaterialViewDocumentsItem__link",attrs:{href:e.fileUrl,target:"_blank",title:e.$t("page-materials-view.documents.click-to-open")}},[e._v(" "+e._s(e.file.name)+" ")]):a("span",{staticClass:"MaterialViewDocumentsItem__no-link"},[e._v(" "+e._s(e.file.name)+" ")])]),a("div",{staticClass:"MaterialViewDocumentsItem__size"},[e._v(" "+e._s(e.fileSize)+" ")]),a("div",{staticClass:"MaterialViewDocumentsItem__actions"},[a("button",{staticClass:"danger",on:{click:e.handleClickRemove}},[a("i",{staticClass:"fas fa-trash"})])])])},gr=[],br=(a("2ca0"),a("b680"),function(e){if(0===e)return"0 Bytes";var t=1024,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(t)),i=parseFloat((e/Math.pow(t,s)).toFixed(1));return"".concat(i," ").concat(a[s])}),yr=br,Cr=function(e,t){return t.some((function(t){return e.includes(t)}))},wr=Cr,kr={name:"MaterialViewDocumentsItem",props:{file:{type:[File,Object],required:!0}},computed:{fileSize:function(){return yr(this.file.size)},fileUrl:function(){var e=v.baseUrl;return"".concat(e,"/documents/").concat(this.file.id,"/download")},iconName:function(){var e=this.file.type;return"application/pdf"===e?"fa-file-pdf":e.startsWith("image/")?"fa-file-image":e.startsWith("video/")?"fa-file-video":e.startsWith("audio/")?"fa-file-audio":e.startsWith("text/")?"fa-file-alt":wr(e,["zip","octet-stream","x-rar","x-tar","x-7z"])?"fa-file-archive":wr(e,["sheet","excel"])?"fa-file-excel":wr(e,["wordprocessingml.document","msword"])?"fa-file-word":wr(e,["presentation","powerpoint"])?"fa-file-powerpoint":"fa-file"}},methods:{handleClickRemove:function(){this.$emit("remove",this.file)}}},$r=kr,Er=(a("0e63"),Object(ge["a"])($r,vr,gr,!1,null,null,null)),Dr=Er.exports,Mr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("section",{staticClass:"MaterialViewDocumentsUpload",class:{"MaterialViewDocumentsUpload--drag-over":e.isDragging},on:{drop:function(t){return t.preventDefault(),e.addFiles(t)},dragover:function(t){return t.preventDefault(),e.handleDragover(t)},dragleave:function(t){return t.preventDefault(),e.handleDragleave(t)}}},[a("h2",{staticClass:"MaterialViewDocumentsUpload__title"},[e._v(" "+e._s(e.$t("page-materials-view.documents.drag-and-drop-files-here"))+" ")]),a("button",{staticClass:"MaterialViewDocumentsUpload__choose-files info",on:{click:e.openFilesBrowser}},[e._v(" "+e._s(e.$t("page-materials-view.documents.choose-files"))+" ")]),a("ul",{staticClass:"MaterialViewDocumentsUpload__send-list"},e._l(e.files,(function(t){return a("DocumentItem",{key:t.name,attrs:{file:t},on:{remove:e.removeFile}})})),1),e.fileErrors.length>0?a("ul",{staticClass:"MaterialViewDocumentsUpload__file-errors"},e._l(e.fileErrors,(function(t){return a("li",{key:t.fileName,staticClass:"MaterialViewDocumentsUpload__file-errors__item"},[a("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" "+e._s(t.fileName)+" → "+e._s(t.message)+" ")])})),0):e._e(),a("div",{staticClass:"MaterialViewDocumentsUpload__actions"},[e.files.length>0?a("button",{staticClass:"MaterialViewDocumentsUpload__actions__send-files success",attrs:{disabled:e.isLoading},on:{click:e.uploadFiles}},[a("i",{staticClass:"fas fa-upload"}),e._v(" "+e._s(e.$t("page-materials-view.documents.send-files",{count:e.files.length},e.files.length))+" ")]):e._e(),a("input",{ref:"chooseFilesButton",staticClass:"MaterialViewDocumentsUpload__actions__file-input",attrs:{type:"file",multiple:""},on:{change:e.addFiles}}),a("Help",{attrs:{message:"",error:e.error,isLoading:e.isLoading}})],1),e.uploadProgress>0?a("Progressbar",{attrs:{percent:e.uploadProgress}}):e._e()],1)},Tr=[],Sr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"Progressbar"},[a("div",{staticClass:"Progressbar__progress",style:{width:e.percent+"%"}},[e.percent<100?a("span",[e._v(e._s(e.humanPercent)+"%")]):e._e(),100===e.percent?a("span",[e._v(e._s(e.$t("almost-done")))]):e._e()])])},Fr=[],xr={name:"Progressbar",props:{percent:{type:Number,required:!0}},computed:{humanPercent:function(){return Math.round(this.percent)}}},Lr=xr,Or=(a("e3e6"),Object(ge["a"])(Lr,Sr,Fr,!1,null,null,null)),jr=Or.exports,qr={name:"MaterialViewDocumentsUpload",components:{Help:ze,DocumentItem:Dr,Progressbar:jr},props:{materialId:{type:String,required:!0}},data:function(){return{error:null,fileErrors:[],isDragging:!1,isLoading:!1,files:[],uploadProgress:0}},methods:{openFilesBrowser:function(){var e=this.$refs.chooseFilesButton;e.click()},handleDragover:function(){this.isDragging=!0},handleDragleave:function(){this.isDragging=!1},checkFile:function(e){var t=e.type,a=e.size,s=e.name;if(!ie.includes(t))return this.fileErrors.push({fileName:s,message:this.$t("errors.file-type-not-allowed",{type:t})}),!1;if(a>ne)return this.fileErrors.push({fileName:s,message:this.$t("errors.file-size-exceeded",{max:yr(ne)})}),!1;var i=this.files.some((function(e){var t=e.name;return t===s}));return!i||(this.fileErrors.push({fileName:s,message:this.$t("errors.file-already-exists")}),!1)},addFiles:function(e){e.preventDefault(),this.isDragging=!1,this.fileErrors=[],this.error=null;var t=e.dataTransfer?e.dataTransfer.files:e.target.files;if(t&&0!==t.length){var a=Object(bt["a"])(t).filter(this.checkFile);this.files=[].concat(Object(bt["a"])(this.files),Object(bt["a"])(a)).sort((function(e,t){var a=e.name.toLowerCase(),s=t.name.toLowerCase();return as?1:0}))}},removeFile:function(e){this.fileErrors=[],this.files=this.files.filter((function(t){var a=t.name;return a!==e.name}))},uploadFiles:function(){var e=this;this.fileErrors=[],this.error=null,this.isLoading=!0,this.uploadProgress=0;var t=new FormData;this.files.forEach((function(e,a){t.append("file-".concat(a),e)}));var a=function(t){if(t.lengthComputable){var a=t.loaded,s=t.total;e.uploadProgress=a/s*100}};this.$http.post("materials/".concat(this.materialId,"/documents"),t,{onUploadProgress:a}).then((function(){e.isLoading=!1,e.files=[],e.$emit("uploadSuccess"),e.uploadProgress=0})).catch(this.displayError)},displayError:function(e){this.error=e,this.isLoading=!1}}},Ar=qr,Nr=(a("3a4c"),Object(ge["a"])(Ar,Mr,Tr,!1,null,null,null)),Ir=Nr.exports,Pr={name:"MaterialViewDocuments",components:{Help:ze,DocumentItem:Dr,DocumentUpload:Ir},data:function(){return{help:"",error:null,isLoading:!1,materialId:this.$route.params.id,documents:[]}},mounted:function(){this.fetchDocuments()},methods:{fetchDocuments:function(){var e=this;this.isLoading=!0,this.error=null,this.$http.get("materials/".concat(this.materialId,"/documents")).then((function(t){var a=t.data;e.documents=a,e.isLoading=!1})).catch(this.displayError)},handleUploadSuccess:function(){this.help={type:"success",text:"page-materials-view.documents.saved"},this.fetchDocuments()},removeDocument:function(e){var t=this;this.help="",this.error=null,Dt.ConfirmDelete(this.$t,"materials-view.documents",!1).then((function(a){var s=a.value;s&&(t.isLoading=!0,t.$http.delete("documents/".concat(e.id)).then((function(){t.isLoading=!1,t.help={type:"success",text:"page-materials-view.documents.deleted"},t.fetchDocuments()})).catch(t.displayError))}))},displayError:function(e){this.error=e,this.isLoading=!1}}},Br=Pr,Rr=(a("a245"),Object(ge["a"])(Br,_r,hr,!1,null,null,null)),Vr=Rr.exports,Hr={name:"MaterialView",components:{Tabs:St["b"],Tab:St["a"],Help:ze,Infos:fr,Documents:Vr},data:function(){return{help:"",error:null,isLoading:!1,tabsIndexes:["#infos","#documents"],selectedTabIndex:0,material:{id:this.$route.params.id,attributes:[]}}},created:function(){var e=this.$route.hash;e&&this.tabsIndexes.includes(e)&&(this.selectedTabIndex=this.tabsIndexes.findIndex((function(t){return t===e})))},mounted:function(){B.dispatch("categories/fetch"),this.fetchMaterial()},methods:{onSelectTab:function(e,t){this.selectedTabIndex=t,this.$router.push(this.tabsIndexes[t])},fetchMaterial:function(){var e=this,t=this.material.id;this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setMaterialData(a),e.isLoading=!1})).catch(this.displayError)},resetHelpLoading:function(){this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setMaterialData:function(e){this.material=e,B.commit("setPageSubTitle",this.material.name)}}},Ur=Hr,zr=(a("f774"),Object(ge["a"])(Ur,tr,ar,!1,null,null,null)),Qr=zr.exports,Yr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content Attributes"},[a("div",{staticClass:"Attributes__header header-page"},[a("button",{staticClass:"info Attributes__back-button",on:{click:e.goBack}},[a("i",{staticClass:"fas fa-arrow-left"}),e._v(" "+e._s(e.$t("page-attributes.go-back-to-material"))+" ")]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1),a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Attributes__content"},[a("table",{staticClass:"Attributes__items"},[a("thead",{staticClass:"Attributes__items__header"},[a("tr",[a("th",{staticClass:"Attributes__items__name",attrs:{colspan:"2"}},[e._v(" "+e._s(e.$t("page-attributes.name"))+" ")]),a("th",{staticClass:"Attributes__items__type"},[e._v(" "+e._s(e.$t("page-attributes.type"))+" ")]),a("th",{staticClass:"Attributes__items__unit"},[e._v(" "+e._s(e.$t("page-attributes.unit"))+" ")]),a("th",{staticClass:"Attributes__items__max-length"},[e._v(" "+e._s(e.$t("page-attributes.max-length"))+" ")]),a("th",{staticClass:"Attributes__items__categories",attrs:{colspan:"2"}},[e._v(" "+e._s(e.$t("page-attributes.limited-to-categories"))+" ")])])]),a("tbody",e._l(e.attributes,(function(t){return a("tr",{key:t.id,staticClass:"Attributes__items__line"},[a("td",{staticClass:"Attributes__items__name"},[e.editAttribute===t.id?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.editAttributeName,expression:"editAttributeName"}],attrs:{type:"text"},domProps:{value:e.editAttributeName},on:{input:function(t){t.target.composing||(e.editAttributeName=t.target.value)}}}),e.errors.name?a("div",{staticClass:"Attributes__items__name-error"},[e._v(" "+e._s(e.errors.name[0])+" ")]):e._e()]):a("span",[e._v(e._s(t.name))])]),a("td",{staticClass:"Attributes__items__edit-name"},[e.editAttribute?e._e():a("button",{staticClass:"Attributes__items__edit-name__edit-button info",on:{click:function(a){return e.startEditAttribute(t.id,t.name)}}},[a("i",{staticClass:"fas fa-pen"})]),e.editAttribute===t.id?a("div",[a("button",{on:{click:function(t){return e.cancelAttributeName()}}},[a("i",{staticClass:"fas fa-ban"})]),a("button",{staticClass:"success",on:{click:function(a){return e.saveAttributeName(t.id)}}},[a("i",{staticClass:"fas fa-check"})])]):e._e()]),a("td",{staticClass:"Attributes__items__type"},[e._v(" "+e._s(e.$t("page-attributes.type-"+t.type))+" ")]),a("td",{staticClass:"Attributes__items__unit"},[e._v(" "+e._s(t.unit)+" ")]),a("td",{staticClass:"Attributes__items__max-length"},[e._v(" "+e._s(t.max_length||("string"===t.type?e.$t("page-attributes.no-limit"):""))+" ")]),a("td",{staticClass:"Attributes__items__categories"},[0===t.categories.length?a("span",{staticClass:"Attributes__items__categories__empty"},[e._v(" "+e._s(e.$t("all-categories"))+" ("+e._s(e.$t("not-limited"))+") ")]):e._e(),t.categories.length>0?a("span",[e._v(" "+e._s(t.categories.map((function(e){var t=e.name;return t})).join(", "))+" ")]):e._e()]),a("td",{staticClass:"Attributes__items__delete"},[e.editAttribute?e._e():a("button",{staticClass:"Attributes__items__delete__button danger",class:{"Attributes__items__delete__button--show":e.currentlyDeleting===t.id},on:{click:function(a){return e.deleteAttribute(t.id)}}},[a("i",{staticClass:"fas fa-trash"})])])])})),0)]),e.isAddingMode||0!==e.attributes.length?e._e():a("p",{staticClass:"Attributes__no-data"},[e._v(" "+e._s(e.$t("page-attributes.no-attribute-yet"))+" ")]),a("div",{staticClass:"Attributes__add-item"},[e.isAddingMode?a("AttributeEditForm",{ref:"AttributeEditForm",attrs:{errors:e.errors}}):e._e(),a("div",{staticClass:"Attributes__actions",class:{"Attributes__actions--add":e.isAddingMode}},[e.isAddingMode?a("button",{staticClass:"success",on:{click:e.saveAttribute}},[e._v(" "+e._s(e.$t("save"))+" ")]):e._e(),a("button",{class:{success:!e.isAddingMode},on:{click:e.toggleAddingMode}},[e.isAddingMode?e._e():a("span",[a("i",{staticClass:"fas fa-plus"}),e._v(" "+e._s(e.$t("page-attributes.add-btn"))+" ")]),e.isAddingMode?a("span",[e._v(" "+e._s(e.$t("cancel"))+" ")]):e._e()])])],1)])])])},Gr=[],Wr=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"AttributeEditForm"},[a("div",{staticClass:"AttributeEditForm__name"},[a("input",{ref:"InputName",staticClass:"AttributeEditForm__input",attrs:{type:"text",placeholder:e.$t("page-attributes.name")}}),e.errors.name?a("div",{staticClass:"AttributeEditForm__error",staticStyle:{"word-break":"break-all"}},[e._v(" "+e._s(e.errors.name[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__type"},[a("select",{ref:"InputType",staticClass:"AttributeEditForm__select",on:{change:e.handleTypeChange}},[a("option",{attrs:{value:"integer"}},[e._v(e._s(e.$t("page-attributes.type-integer")))]),a("option",{attrs:{value:"float"}},[e._v(e._s(e.$t("page-attributes.type-float")))]),a("option",{attrs:{value:"date"}},[e._v(e._s(e.$t("page-attributes.type-date")))]),a("option",{attrs:{value:"string"}},[e._v(e._s(e.$t("page-attributes.type-string")))]),a("option",{attrs:{value:"boolean"}},[e._v(e._s(e.$t("page-attributes.type-boolean")))])]),e.errors.type?a("ul",{staticClass:"AttributeEditForm__error"},e._l(e.errors.type,(function(t){return a("li",{key:t},[e._v(" "+e._s(t)+" ")])})),0):e._e()]),a("div",{staticClass:"AttributeEditForm__unit"},[e.hasUnit?a("input",{ref:"InputUnit",staticClass:"AttributeEditForm__input",attrs:{type:"text",placeholder:e.$t("page-attributes.unit")}}):e._e(),e.errors.unit?a("div",{staticClass:"AttributeEditForm__error"},[e._v(" "+e._s(e.errors.unit[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__max-length"},[e.hasMaxLength?a("input",{ref:"InputMaxLength",staticClass:"AttributeEditForm__input",attrs:{type:"number",placeholder:e.$t("page-attributes.max-length")}}):e._e(),e.errors.max_length?a("div",{staticClass:"AttributeEditForm__error"},[e._v(" "+e._s(e.errors.max_length[0])+" ")]):e._e()]),a("div",{staticClass:"AttributeEditForm__categories"},e._l(e.categoriesOptions,(function(t){return a("button",{key:t.value,staticClass:"AttributeEditForm__categories__item",class:{"AttributeEditForm__categories__item--selected":e.isSelected(t.value)},on:{click:function(a){return e.toggleCategory(t.value)}}},[e._v(" "+e._s(t.label)+" ")])})),0)])},Kr=[],Jr={name:"AttributeEditForm",props:{errors:Object},data:function(){return{hasUnit:!1,hasMaxLength:!0,categories:[]}},computed:{categoriesOptions:function(){return B.getters["categories/options"].filter((function(e){var t=e.value;return""!==t}))}},mounted:function(){B.dispatch("categories/fetch")},methods:{handleTypeChange:function(e){var t=e.currentTarget.value;this.hasUnit="integer"===t||"float"===t,this.hasMaxLength="string"===t},toggleCategory:function(e){var t=this.categories.findIndex((function(t){return t===e}));-1!==t?this.categories.splice(t,1):this.categories.push(e)},isSelected:function(e){return this.categories.includes(e)},getValues:function(){var e=this.$refs,t=e.InputName,a=e.InputType,s=e.InputUnit,i=e.InputMaxLength,n=t.value,r=a.value,o=s&&s.value||null,l=i&&i.value||null,c=[];return this.categories.length0?a("span",{staticClass:"Parks__total-stock"},[e._v(" ("+e._s(e.$t("stock-items-count",{count:t.row.total_stock_quantity}))+") ")]):e._e(),a("span",{staticClass:"Parks__total-amount"},[e._v(" ("+e._s(e.formatAmount(t.row.total_amount))+") ")])],1)}},{key:"events",fn:function(t){return a("div",{},[e.parksCount>1?a("router-link",{attrs:{to:"/?park="+t.row.id}},[e._v(" "+e._s(e.$t("page-parks.display-events-for-park"))+" ")]):e._e()],1)}},{key:"note",fn:function(t){return a("div",{},[a("pre",[e._v(e._s(t.row.note))])])}},{key:"actions",fn:function(t){return a("div",{staticClass:"Parks__actions"},[e.isTrashDisplayed?e._e():a("router-link",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-edit"),expression:"$t('action-edit')"}],attrs:{to:"/parks/"+t.row.id,custom:""},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.navigate;return[a("button",{staticClass:"item-actions__button info",on:{click:t}},[a("i",{staticClass:"fas fa-edit"})])]}}],null,!0)}),e.isTrashDisplayed?e._e():a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-trash"),expression:"$t('action-trash')"}],staticClass:"item-actions__button warning",on:{click:function(a){return e.deletePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash"})]),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-restore"),expression:"$t('action-restore')"}],staticClass:"item-actions__button info",on:{click:function(a){return e.restorePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-restore"})]):e._e(),e.isTrashDisplayed?a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("action-delete"),expression:"$t('action-delete')"}],staticClass:"item-actions__button danger",on:{click:function(a){return e.deletePark(t.row.id)}}},[a("i",{staticClass:"fas fa-trash-alt"})]):e._e()],1)}}])})],1),a("div",{staticClass:"content__footer"},[a("button",{staticClass:"Parks__show-trashed",class:e.isTrashDisplayed?"info":"warning",on:{click:function(t){return e.showTrashed()}}},[e.isTrashDisplayed?e._e():a("span",[a("i",{staticClass:"fas fa-trash"}),e._v(" "+e._s(e.$t("open-trash-bin"))+" ")]),e.isTrashDisplayed?a("span",[a("i",{staticClass:"fas fa-eye"}),e._v(" "+e._s(e.$t("display-not-deleted-items"))+" ")]):e._e()])])])},xo=[],Lo={name:"Parks",components:{Help:ze},data:function(){var e=this;return{help:"page-parks.help",error:null,isLoading:!1,isDisplayTrashed:!1,isTrashDisplayed:!1,columns:["name","address","opening_hours","totalItems","events","note","actions"],options:{columnsDropdown:!0,preserveState:!0,orderBy:{column:"name",ascending:!0},initialPage:this.$route.query.page||1,sortable:["name"],columnsDisplay:{note:"mobile"},headings:{name:this.$t("name"),address:this.$t("address"),opening_hours:this.$t("opening-hours"),totalItems:this.$t("page-parks.total-items"),events:"",note:this.$t("notes"),actions:""},columnsClasses:{address:"Parks__address",opening_hours:"Parks__opening-hours",events:"Parks__events",note:"Parks__note"},requestFunction:function(t){e.error=null,e.isLoading=!0;var a=Object(g["a"])(Object(g["a"])({},t),{},{deleted:e.isDisplayTrashed?"1":"0"});return e.$http.get(e.$route.meta.resource,{params:a}).catch(e.showError).finally((function(){e.isTrashDisplayed=e.isDisplayTrashed,e.isLoading=!1}))}}}},computed:{parksCount:function(){return B.state.parks.list.length}},methods:{deletePark:function(e){var t=this,a=!this.isTrashDisplayed;Dt.ConfirmDelete(this.$t,"parks",a).then((function(a){a.value&&t.$http.delete("".concat(t.$route.meta.resource,"/").concat(e)).then(t.refreshTable).catch(t.showError)}))},restorePark:function(e){var t=this;Dt.ConfirmRestore(this.$t,"parks").then((function(a){a.value&&(t.error=null,t.isLoading=!0,t.$http.put("".concat(t.$route.meta.resource,"/restore/").concat(e)).then(t.refreshTable).catch(t.showError))}))},formatAmount:function(e){return Ot(e)},refreshTable:function(){this.error=null,this.isLoading=!0,this.$refs.DataTable.refresh(),B.dispatch("parks/refresh")},showTrashed:function(){this.isDisplayTrashed=!this.isDisplayTrashed,this.refreshTable()},showError:function(e){this.isLoading=!1,this.error=e}}},Oo=Lo,jo=(a("0fc2"),Object(ge["a"])(Oo,Fo,xo,!1,null,null,null)),qo=jo.exports,Ao=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},[a("div",{staticClass:"content__main-view"},[a("div",{staticClass:"Park"},[a("form",{staticClass:"Form",attrs:{method:"POST"},on:{submit:e.savePark}},[a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("minimal-infos"))+" "),a("span",{staticClass:"FormField__label__required"},[e._v("*")])]),a("FormField",{attrs:{name:"name",label:"name",required:"",errors:e.errors.name},model:{value:e.park.name,callback:function(t){e.$set(e.park,"name",t)},expression:"park.name"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("contact-details"))+" ")]),a("FormField",{attrs:{name:"street",label:"street",errors:e.errors.street},model:{value:e.park.street,callback:function(t){e.$set(e.park,"street",t)},expression:"park.street"}}),a("FormField",{staticClass:"Park__postal-code",attrs:{name:"postal_code",label:"postal-code",errors:e.errors.postal_code},model:{value:e.park.postal_code,callback:function(t){e.$set(e.park,"postal_code",t)},expression:"park.postal_code"}}),a("FormField",{attrs:{name:"locality",label:"city",errors:e.errors.locality},model:{value:e.park.locality,callback:function(t){e.$set(e.park,"locality",t)},expression:"park.locality"}}),a("FormField",{attrs:{name:"country_id",label:"country",type:"select",options:e.countriesOptions,errors:e.errors.country_id},model:{value:e.park.country_id,callback:function(t){e.$set(e.park,"country_id",t)},expression:"park.country_id"}})],1),a("section",{staticClass:"Form__fieldset"},[a("h4",{staticClass:"Form__fieldset__title"},[e._v(" "+e._s(e.$t("other-infos"))+" ")]),a("FormField",{attrs:{name:"opening_hours",label:"opening-hours",errors:e.errors.opening_hours},model:{value:e.park.opening_hours,callback:function(t){e.$set(e.park,"opening_hours",t)},expression:"park.opening_hours"}}),a("FormField",{attrs:{name:"note",label:"notes",type:"textarea",errors:e.errors.note},model:{value:e.park.note,callback:function(t){e.$set(e.park,"note",t)},expression:"park.note"}})],1),a("section",{staticClass:"Form__actions"},[a("button",{staticClass:"Form__actions__save success",attrs:{type:"submit"}},[e._v(" "+e._s(e.$t("save"))+" ")])])]),a("Help",{attrs:{message:e.help,error:e.error,isLoading:e.isLoading}})],1)])])},No=[],Io={name:"Material",components:{Help:ze,FormField:rt},data:function(){return{help:"page-parks.help-edit",error:null,isLoading:!1,park:{id:this.$route.params.id||null,name:"",street:"",postal_code:"",locality:"",country_id:"",note:""},errors:{name:null,street:null,postal_code:null,locality:null,country_id:null}}},computed:{countriesOptions:function(){return B.getters["countries/options"]}},mounted:function(){B.dispatch("countries/fetch"),this.getParkData()},methods:{getParkData:function(){var e=this,t=this.park.id;if(t&&"new"!==t){this.resetHelpLoading();var a=this.$route.meta.resource;this.$http.get("".concat(a,"/").concat(t)).then((function(t){var a=t.data;e.setParkData(a),e.isLoading=!1})).catch(this.displayError)}},savePark:function(e){var t=this;e.preventDefault(),this.resetHelpLoading();var a=this.park.id,s=this.$route.meta.resource,i=this.$http.post,n=s;a&&(i=this.$http.put,n="".concat(s,"/").concat(a)),i(n,Object(g["a"])({},this.park)).then((function(e){var a=e.data;t.isLoading=!1,t.help={type:"success",text:"page-parks.saved"},t.setParkData(a),B.dispatch("parks/refresh"),setTimeout((function(){t.$router.push("/parks")}),300)})).catch(this.displayError)},resetHelpLoading:function(){this.help="page-parks.help-edit",this.error=null,this.isLoading=!0},displayError:function(e){var t,a;this.help="page-parks.help-edit",this.error=e,this.isLoading=!1;var s=(null===(t=e.response)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.error)||{code:0,details:{}},i=s.code,n=s.details;400===i&&(this.errors=Object(g["a"])({},n))},setParkData:function(e){this.park=e,B.commit("setPageSubTitle",this.park.name)}}},Po=Io,Bo=(a("6e11"),Object(ge["a"])(Po,Ao,No,!1,null,null,null)),Ro=Bo.exports;i["default"].use(X["a"]);var Vo=new X["a"]({mode:"history",routes:[{path:"/login",name:"login",component:Te,meta:{title:"page-login.title",requiresAuth:!1}},{path:"/profile",name:"user-profile",component:ut,meta:{resource:"users",title:"page-profile.title",readableName:"page-profile.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/settings",name:"user-settings",component:ht,meta:{resource:"users",title:"page-settings.title",readableName:"page-settings.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/",name:"calendar",component:Ua,meta:{resource:"events",title:"page-calendar.title",readableName:"page-calendar.title",requiresAuth:!0,requiresGroups:["admin","member","visitor"]}},{path:"/events/new",name:"addEvent",component:Ti,meta:{resource:"events",title:"page-events.add",readableName:"page-events.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/events/:id",name:"editEvent",component:Ti,meta:{resource:"events",title:"page-events.edit-event",readableName:"page-events.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/users",name:"users",component:ji,meta:{resource:"users",title:"page-users.title",readableName:"page-users.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/users/new",name:"addUser",component:Bi,meta:{resource:"users",title:"page-users.add",readableName:"page-users.add",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/users/:id",name:"editUser",component:Bi,meta:{resource:"users",title:"page-users.edit-title",readableName:"page-users.edit",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/beneficiaries",name:"beneficiaries",component:Qi,meta:{resource:"persons",title:"page-beneficiaries.title",readableName:"page-beneficiaries.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/beneficiaries/new",name:"addBeneficiary",component:nn,meta:{resource:"persons",title:"page-beneficiaries.add",readableName:"page-beneficiaries.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/beneficiaries/:id",name:"editBeneficiary",component:nn,meta:{resource:"persons",title:"page-beneficiaries.edit-title",readableName:"page-beneficiaries.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/companies/new",name:"addCompany",component:vn,meta:{resource:"companies",title:"page-companies.add",readableName:"page-companies.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/companies/:id",name:"editCompany",component:vn,meta:{resource:"companies",title:"page-companies.edit-title",readableName:"page-companies.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials",name:"materials",component:Yn,meta:{resource:"materials",title:"page-materials.title",readableName:"page-materials.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/new",name:"addMaterial",component:er,meta:{resource:"materials",title:"page-materials.add",readableName:"page-materials.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/:id",name:"editMaterial",component:er,meta:{resource:"materials",title:"page-materials.edit",readableName:"page-materials.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/materials/:id/view",name:"viewMaterial",component:Qr,meta:{resource:"materials",title:"page-materials-view.title",readableName:"page-materials.view",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/attributes",name:"attributes",component:io,meta:{resource:"attributes",title:"page-attributes.title",readableName:"page-attributes.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/categories",name:"categories",component:So,meta:{resource:"categories",title:"page-categories.title",readableName:"page-categories.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/technicians",name:"technicians",component:vo,meta:{resource:"persons",title:"page-technicians.title",readableName:"page-technicians.title",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/technicians/new",name:"addTechnician",component:ko,meta:{resource:"persons",title:"page-technicians.add",readableName:"page-technicians.add",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/technicians/:id",name:"editTechnician",component:ko,meta:{resource:"persons",title:"page-technicians.edit-title",readableName:"page-technicians.edit",requiresAuth:!0,requiresGroups:["admin","member"]}},{path:"/tags",name:"tags",component:uo,meta:{resource:"tags",title:"page-tags.title",readableName:"page-tags.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks",name:"parks",component:qo,meta:{resource:"parks",title:"page-parks.title",readableName:"page-parks.title",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks/new",name:"addPark",component:Ro,meta:{resource:"parks",title:"page-parks.add",readableName:"page-parks.add",requiresAuth:!0,requiresGroups:["admin"]}},{path:"/parks/:id",name:"editPark",component:Ro,meta:{resource:"parks",title:"page-parks.edit-title",readableName:"page-parks.edit",requiresAuth:!0,requiresGroups:["admin"]}},{path:"*",redirect:"/"}]});Vo.beforeEach((function(e,t,a){var s=!1,n=e.matched.reduce((function(e,t){var a=t.meta;return null==a.requiresAuth?e:!!a.requiresAuth||!(null===e&&!a.requiresAuth)&&e}),null),r=e.matched[0].meta,o=r.title,l=r.requiresGroups;if(o){var c=i["default"].i18n.translate(o);document.title="".concat(c," − ").concat(ee)}else document.title=ee;var u=B.getters["auth/isLogged"];if(!n||u){if(!n)return!1===n&&u?void a("/"):void a();if(l&&l.length){if(!u)return void a("/login");var d=B.state.auth.user.groupId;l.includes(d)||(s=!0)}if(s)return window.localStorage.removeItem("lastVisited"),void B.dispatch("auth/logout").then((function(){a({path:"/login",hash:"restricted"})}));a()}else a("/login")})),Vo.afterEach((function(e){var t=e.name,a=e.fullPath,s=e.matched;if("login"!==t){window.localStorage.setItem("lastVisited",a);var i=s[0].meta.readableName;B.commit("setPageTitle",i)}}));var Ho=Vo,Uo=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("div",{staticClass:"main"},[e.isLogged?a("MainHeader",{on:{toggleMenu:e.toggleSideNav}}):e._e(),a("div",{staticClass:"main__body"},[e.isLogged?a("SideNav",{attrs:{isOpen:e.isOpenedSideNav}}):e._e(),a("router-view")],1)],1)])},zo=[],Qo=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"MainHeader"},[a("div",{staticClass:"MainHeader__logo"},[a("Logo",{attrs:{minimalist:""}})],1),a("div",{staticClass:"MainHeader__menu-toggle",on:{click:e.toggleMenu}},[a("i",{staticClass:"fas fa-bars fa-2x"})]),a("div",{staticClass:"MainHeader__title"},[e._v(" "+e._s(e.$t(e.pageTitle,{pageSubTitle:e.pageSubTitle}))+" ")]),a("TopMenu",{staticClass:"MainHeader__menu"})],1)},Yo=[],Go=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"TopMenu"},[a("div",{staticClass:"TopMenu__dropdown-btn",on:{click:e.toggleDropdown}},[a("span",{staticClass:"TopMenu__welcome"},[e._v(e._s(e.$t("hello-nick",{nick:e.nickname})))]),a("i",{directives:[{name:"show",rawName:"v-show",value:!e.isDropdownMenuOpen,expression:"!isDropdownMenuOpen"}],staticClass:"fas fa-chevron-down"}),a("i",{directives:[{name:"show",rawName:"v-show",value:e.isDropdownMenuOpen,expression:"isDropdownMenuOpen"}],staticClass:"fas fa-chevron-up"})]),a("ul",{staticClass:"TopMenu__dropdown",class:{"TopMenu__dropdown--open":e.isDropdownMenuOpen}},[a("div",{staticClass:"TopMenu__dropdown__nickname"},[e._v(e._s(e.nickname))]),a("router-link",{attrs:{to:"/profile",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"TopMenu__dropdown__item",class:{"TopMenu__dropdown__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-user-alt"}),e._v(" "+e._s(e.$t("your-profile"))+" ")])]}}])}),a("router-link",{attrs:{to:"/settings",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"TopMenu__dropdown__item",class:{"TopMenu__dropdown__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-cogs"}),e._v(" "+e._s(e.$t("your-settings"))+" ")])]}}])}),a("div",{staticClass:"TopMenu__dropdown__item",on:{click:e.logout}},[a("i",{staticClass:"fas fa-power-off"}),e._v(" "+e._s(e.$t("logout-quit"))+" ")])],1)])},Wo=[],Ko=a("e67d"),Jo=a.n(Ko),Zo={name:"TopMenu",directives:{ClickOutside:Jo.a},data:function(){return{isDropdownMenuOpen:!1}},computed:{nickname:function(){return this.$store.state.auth.user.pseudo}},watch:{$route:function(){this.closeDropdown()}},methods:{toggleDropdown:function(){this.isDropdownMenuOpen=!this.isDropdownMenuOpen},closeDropdown:function(){this.isDropdownMenuOpen=!1},logout:function(){var e=this;this.$store.dispatch("auth/logout").then((function(){e.$router.replace({path:"/login",hash:"bye"})}))}}},Xo=Zo,el=(a("3678"),Object(ge["a"])(Xo,Go,Wo,!1,null,null,null)),tl=el.exports,al={name:"MainHeader",components:{TopMenu:tl,Logo:ye},computed:{pageTitle:function(){return B.state.pageTitle},pageSubTitle:function(){return B.state.pageSubTitle}},watch:{pageTitle:function(){this.$emit("toggleMenu",!1)}},methods:{toggleMenu:function(){this.$emit("toggleMenu","toggle")}}},sl=al,il=(a("33ac"),Object(ge["a"])(sl,Qo,Yo,!1,null,null,null)),nl=il.exports,rl=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SideNav",class:{"SideNav--opened":e.isOpen}},[a("div",{staticClass:"SideNav__logo"},[a("Logo",{attrs:{minimalist:""}})],1),a("SideMenu",{staticClass:"SideNav__menu"}),a("div",{staticClass:"SideNav__footer"},[e._v(" © 2017-"+e._s(e.year)),a("br"),e._v(" v. "+e._s(e.apiVersion)+" ")])],1)},ol=[],ll=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"SideMenu"},[a("router-link",{attrs:{to:"/",exact:"",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-calendar-alt"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-calendar.title")))])])]}}])}),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/materials",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-box"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-materials.title")))])])]}}],null,!1,25090697)}):e._e(),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/technicians",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-people-carry"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-technicians.title")))])])]}}],null,!1,1354310682)}):e._e(),e.isAdmin||e.isMember?a("router-link",{attrs:{to:"/beneficiaries",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-address-book"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-beneficiaries.title")))])])]}}],null,!1,997980499)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/categories",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-sitemap"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-categories.title")))])])]}}],null,!1,1728881317)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/tags",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-tags"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-tags.title")))])])]}}],null,!1,2681517316)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/parks",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-industry"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-parks.title")))])])]}}],null,!1,1473083429)}):e._e(),e.isAdmin?a("router-link",{attrs:{to:"/users",custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.navigate,i=t.isActive;return[a("li",{staticClass:"SideMenu__item",class:{"SideMenu__item--active":i},on:{click:s}},[a("i",{staticClass:"fas fa-users-cog"}),a("br"),a("span",{staticClass:"SideMenu__item__title"},[e._v(e._s(e.$t("page-users.title")))])])]}}],null,!1,1732644290)}):e._e()],1)},cl=[],ul={name:"SideMenu",computed:{isAdmin:function(){return this.$store.getters["auth/is"]("admin")},isMember:function(){return this.$store.getters["auth/is"]("member")}}},dl=ul,ml=(a("268d"),Object(ge["a"])(dl,ll,cl,!1,null,null,null)),pl=ml.exports,fl={name:"SideNav",props:{isOpen:Boolean},components:{SideMenu:pl,Logo:ye},data:function(){var e=(new Date).getFullYear(),t=v.api.version;return{year:e,apiVersion:t}}},_l=fl,hl=(a("ca61"),Object(ge["a"])(_l,rl,ol,!1,null,null,null)),vl=hl.exports,gl={name:"App",components:{MainHeader:nl,SideNav:vl},data:function(){return{isOpenedSideNav:!1}},created:function(){var e=this;this.$http.interceptors.response.use((function(e){return e}),(function(t){var a=t.response||{status:0},s=a.status;return 401===s&&e.$store.dispatch("auth/logout").then((function(){e.$router.replace({path:"/login",hash:"expired"}).catch((function(){}))})),Promise.reject(t)}))},watch:{$route:function(){i["default"].prototype.$modal.hide("defaultModal")}},computed:{isLogged:function(){return this.$store.getters["auth/isLogged"]}},methods:{toggleSideNav:function(e){this.isOpenedSideNav="toggle"!==e?e:!this.isOpenedSideNav}}},bl=gl,yl=(a("5c0b"),Object(ge["a"])(bl,Uo,zo,!1,null,null,null)),Cl=yl.exports;a("7ddb");a("15f5"),i["default"].config.productionTip=!1,i["default"].prototype.$http=D,i["default"].use(c.a,{dialog:!0,dynamic:!0,dynamicDefaults:{}}),u["a"].options.defaultContainer="#app",u["a"].options.disposeTimeout=1e3,u["a"].options.defaultDelay=100,i["default"].directive("tooltip",u["a"]),i["default"].use(o["a"].plugin,B),Object.keys(W).forEach((function(e){i["default"].i18n.add(e,W[e])}));var wl=v.defaultLang;i["default"].i18n.set(wl);var kl=localStorage.getItem("userLocale");kl&&i["default"].i18n.localeExists(kl)&&(i["default"].i18n.set(kl),wl=kl),i["default"].i18n.fallback(wl),r.a.locale(wl);var $l={columnsClasses:{actions:"VueTables__actions"},sortIcon:{base:"fas",up:"fa-sort-up",down:"fa-sort-down",is:"fa-sort"},texts:Z[wl],requestKeys:{query:"search"},perPage:v.defaultPaginationLimit,perPageValues:[v.defaultPaginationLimit],responseAdapter:function(e){if(!e)return{data:[],count:0};var t=e.data,a=t.data,s=t.pagination;return{data:a,count:s?s.total:0}}};i["default"].use(d["ClientTable"],$l),i["default"].use(d["ServerTable"],$l,!0),B.dispatch("auth/fetch").then((function(){new i["default"]({el:"#app",store:B,router:Ho,components:{App:Cl},template:""})}))},"56e7":function(e,t,a){"use strict";a("4d37")},"5af6":function(e,t,a){"use strict";a("1e1d")},"5afa":function(e,t,a){"use strict";a("ce8b")},"5b9a":function(e,t,a){"use strict";a("c194")},"5bf9":function(e,t,a){},"5c0b":function(e,t,a){"use strict";a("9c0c")},"5f07":function(e,t,a){},"5f98":function(e,t,a){"use strict";a("60f9")},"5ffb":function(e,t,a){"use strict";a("7db3")},"60f9":function(e,t,a){},6348:function(e,t,a){},"64fa":function(e,t,a){},6564:function(e,t,a){"use strict";a("09db")},"6aae":function(e,t,a){"use strict";a("53c4")},"6c54":function(e,t,a){},"6e11":function(e,t,a){"use strict";a("1afd")},"6e2a":function(e,t,a){},"6ead":function(e,t,a){},"6f91":function(e,t,a){},"704a":function(e,t,a){"use strict";a("0e51")},"756f":function(e,t,a){},7794:function(e,t,a){"use strict";a("6348")},"79bd":function(e,t,a){},"7b33":function(e,t,a){},"7db3":function(e,t,a){},"7f15":function(e,t,a){"use strict";a("15d2")},"7fa5":function(e,t,a){},8633:function(e,t,a){"use strict";a("be38")},"86c6":function(e,t,a){"use strict";a("7b33")},"88fc":function(e,t,a){},"8a72":function(e,t,a){},"8d7f":function(e,t,a){"use strict";a("55e1")},9041:function(e,t,a){},9264:function(e,t,a){},9353:function(e,t,a){},9598:function(e,t,a){},"95a4":function(e,t,a){"use strict";a("5321")},"9b72":function(e,t,a){"use strict";a("b134")},"9c0c":function(e,t,a){},a245:function(e,t,a){"use strict";a("5100")},a993:function(e,t,a){"use strict";a("9598")},ae27:function(e,t,a){"use strict";a("2475")},b0b8:function(e,t,a){"use strict";a("42f0")},b0bc:function(e,t,a){"use strict";a("fd39")},b134:function(e,t,a){},b574:function(e,t,a){"use strict";a("79bd")},b5ed:function(e,t,a){"use strict";a("f6b9")},b81d:function(e,t,a){"use strict";a("3ae2")},be38:function(e,t,a){},bf6b:function(e,t,a){e.exports=a.p+"img/logo-R.svg"},c194:function(e,t,a){},c5a4:function(e,t,a){},ca61:function(e,t,a){"use strict";a("cd50")},cb24:function(e,t,a){"use strict";a("43fc")},cd50:function(e,t,a){},ce8b:function(e,t,a){},d0bc:function(e,t,a){"use strict";a("7fa5")},d464:function(e,t,a){"use strict";a("5f07")},d928:function(e,t,a){},da3a:function(e,t,a){},dbf0:function(e,t,a){},de23:function(e,t,a){},e3e6:function(e,t,a){"use strict";a("9353")},e517:function(e,t,a){},ebe1:function(e,t,a){},ed21:function(e,t,a){},ef5b:function(e,t,a){"use strict";a("1eb7")},f0d4:function(e,t,a){"use strict";a("da3a")},f0f3:function(e,t,a){},f59e:function(e,t,a){"use strict";a("3010")},f62a:function(e,t,a){"use strict";a("64fa")},f6b9:function(e,t,a){},f774:function(e,t,a){"use strict";a("0816")},f8c6:function(e,t,a){"use strict";a("d928")},fbc1:function(e,t,a){},fd39:function(e,t,a){}}); \ No newline at end of file diff --git a/client/dist/js/chunk-vendors.js b/client/dist/js/chunk-vendors.js index 4fed54dcc..06342e600 100644 --- a/client/dist/js/chunk-vendors.js +++ b/client/dist/js/chunk-vendors.js @@ -12,7 +12,7 @@ function e(t){return t%100===11||t%10!==1}function i(t,i,n,o){var s=t+" ";switch * (c) egoist <0x142857@gmail.com> * Released under the MIT License. */ -var n={name:"tabs",props:{defaultIndex:{default:0,type:Number},onSelect:{type:Function}},data:function(){return{selectedIndex:this.defaultIndex}},methods:{switchTab:function(t,e,i){i||(this.selectedIndex=e,this.onSelect&&this.onSelect(t,e))}},render:function(){var t=this,e=arguments[0],i=this.$slots.default.filter((function(t){return t.componentOptions})),n=[];return i.forEach((function(i,o){var s=i.componentOptions.propsData,r=s.title,a=s.titleSlot,g=s.disabled,d=a?t.$slots[a]:r,l=!0===g||""===g;n.push(e("li",{class:"vue-tab",attrs:{role:"tab","aria-selected":t.selectedIndex===o?"true":"false","aria-disabled":l?"true":"false"},on:{click:function(e){return t.switchTab(e,o,l)}}},[d]))})),e("div",{class:"vue-tabs",attrs:{role:"tabs"}},[e("ul",{class:"vue-tablist",attrs:{role:"tablist"}},[this.$slots.left,n,this.$slots.right]),i[this.selectedIndex]])}},o={name:"tab",props:["title","titleSlot","disabled"],render:function(){var t=arguments[0];return t("div",{class:"vue-tabpanel",attrs:{role:"tabpanel"}},[this.$slots.default])}}},"06c5":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("a630"),i("fb6a"),i("b0c0"),i("d3b7"),i("25f0"),i("3ca3");var n=i("6b75");function o(t,e){if(t){if("string"===typeof t)return Object(n["a"])(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Object(n["a"])(t,e):void 0}}},"06cf":function(t,e,i){var n=i("83ab"),o=i("d1e7"),s=i("5c6c"),r=i("fc6a"),a=i("c04e"),g=i("5135"),d=i("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=r(t),e=a(e,!0),d)try{return l(t,e)}catch(i){}if(g(t,e))return s(!o.f.call(t,e),t[e])}},"0721":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var n={name:"tabs",props:{defaultIndex:{default:0,type:Number},onSelect:{type:Function}},data:function(){return{selectedIndex:this.defaultIndex}},methods:{switchTab:function(t,e,i){i||(this.selectedIndex=e,this.onSelect&&this.onSelect(t,e))}},render:function(){var t=this,e=arguments[0],i=this.$slots.default.filter((function(t){return t.componentOptions})),n=[];return i.forEach((function(i,o){var s=i.componentOptions.propsData,r=s.title,a=s.titleSlot,g=s.disabled,d=a?t.$slots[a]:r,l=!0===g||""===g;n.push(e("li",{class:"vue-tab",attrs:{role:"tab","aria-selected":t.selectedIndex===o?"true":"false","aria-disabled":l?"true":"false"},on:{click:function(e){return t.switchTab(e,o,l)}}},[d]))})),e("div",{class:"vue-tabs",attrs:{role:"tabs"}},[e("ul",{class:"vue-tablist",attrs:{role:"tablist"}},[this.$slots.left,n,this.$slots.right]),i[this.selectedIndex]])}},o={name:"tab",props:["title","titleSlot","disabled"],render:function(){var t=arguments[0];return t("div",{class:"vue-tabpanel",attrs:{role:"tabpanel"}},[this.$slots.default])}}},"06c5":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("fb6a"),i("d3b7"),i("b0c0"),i("a630"),i("3ca3");var n=i("6b75");function o(t,e){if(t){if("string"===typeof t)return Object(n["a"])(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Object(n["a"])(t,e):void 0}}},"06cf":function(t,e,i){var n=i("83ab"),o=i("d1e7"),s=i("5c6c"),r=i("fc6a"),a=i("c04e"),g=i("5135"),d=i("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=r(t),e=a(e,!0),d)try{return l(t,e)}catch(i){}if(g(t,e))return s(!o.f.call(t,e),t[e])}},"0721":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"079e":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -22,7 +22,7 @@ var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i //! moment.js locale configuration var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"0b07":function(t,e,i){var n=i("34ac"),o=i("3698");function s(t,e){var i=o(t,e);return n(i)?i:void 0}t.exports=s},"0b86":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=s;var n=o(i("c1c0"));function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o={vuex:!0,activeState:!1,userColumnsDisplay:[],userControlsColumns:!1,displayColumnsDropdown:!1,collapsedGroups:[]};return t||(o=(0,n["default"])(o,{vuex:!1,count:0,customQueries:{},query:null,page:i,limit:10,windowWidth:"undefined"!==typeof window?window.innerWidth:null,orderBy:{column:!1,ascending:!0}}),"server"==e&&(o.data=[])),o}},"0c20":function(t,e,i){"use strict";t.exports=function(t){return this.opts.visibleColumns?this.opts.visibleColumns.includes(t):!this.opts.hiddenColumns||!this.opts.hiddenColumns.includes(t)}},"0caa":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -function e(t,e,i,n){var o={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return n?o[i][0]:o[i][1]}var i=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return i}))},"0cb2":function(t,e,i){var n=i("7b0b"),o=Math.floor,s="".replace,r=/\$([$&'`]|\d\d?|<[^>]*>)/g,a=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,i,g,d,l){var c=i+t.length,h=g.length,u=a;return void 0!==d&&(d=n(d),u=r),s.call(l,u,(function(n,s){var r;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":r=d[s.slice(1,-1)];break;default:var a=+s;if(0===a)return n;if(a>h){var l=o(a/10);return 0===l?n:l<=h?void 0===g[l-1]?s.charAt(1):g[l-1]+s.charAt(1):n}r=g[a-1]}return void 0===r?"":r}))}},"0cc9":function(t,e,i){"use strict";t.exports=function(){return"undefined"===typeof localStorage?{}:"local"===this.opts.storage?localStorage:sessionStorage}},"0cfb":function(t,e,i){var n=i("83ab"),o=i("d039"),s=i("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,i){(function(t){var n=i("2b3e"),o=i("07c7"),s=e&&!e.nodeType&&e,r=s&&"object"==typeof t&&t&&!t.nodeType&&t,a=r&&r.exports===s,g=a?n.Buffer:void 0,d=g?g.isBuffer:void 0,l=d||o;t.exports=l}).call(this,i("62e4")(t))},"0df6":function(t,e,i){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e49":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +function e(t,e,i,n){var o={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return n?o[i][0]:o[i][1]}var i=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return i}))},"0cb2":function(t,e,i){var n=i("7b0b"),o=Math.floor,s="".replace,r=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,g,d,l){var c=i+t.length,h=g.length,u=a;return void 0!==d&&(d=n(d),u=r),s.call(l,u,(function(n,s){var r;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":r=d[s.slice(1,-1)];break;default:var a=+s;if(0===a)return n;if(a>h){var l=o(a/10);return 0===l?n:l<=h?void 0===g[l-1]?s.charAt(1):g[l-1]+s.charAt(1):n}r=g[a-1]}return void 0===r?"":r}))}},"0cc9":function(t,e,i){"use strict";t.exports=function(){return"undefined"===typeof localStorage?{}:"local"===this.opts.storage?localStorage:sessionStorage}},"0cfb":function(t,e,i){var n=i("83ab"),o=i("d039"),s=i("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,i){(function(t){var n=i("2b3e"),o=i("07c7"),s=e&&!e.nodeType&&e,r=s&&"object"==typeof t&&t&&!t.nodeType&&t,a=r&&r.exports===s,g=a?n.Buffer:void 0,d=g?g.isBuffer:void 0,l=d||o;t.exports=l}).call(this,i("62e4")(t))},"0df6":function(t,e,i){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e49":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e6b":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -36,7 +36,7 @@ var e=t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo //! moment.js locale configuration var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}))},"100e":function(t,e,i){var n=i("cd9d"),o=i("2286"),s=i("c1c9");function r(t,e){return s(o(t,e,n),t+"")}t.exports=r},"10d6":function(t,e,i){"use strict";t.exports=function(){this.displayColumnsDropdown=!this.displayColumnsDropdown}},"10e8":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,i){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e}))},1148:function(t,e,i){"use strict";var n=i("a691"),o=i("1d80");t.exports="".repeat||function(t){var e=String(o(this)),i="",s=n(t);if(s<0||s==1/0)throw RangeError("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(i+=e);return i}},1182:function(t,e,i){"use strict";i.r(e);var n=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n1||"".split(/.?/).length?function(t,i){var n=String(r(this)),s=void 0===i?C:i>>>0;if(0===s)return[];if(void 0===t)return[n];if(!o(t))return e.call(n,t,s);var a,g,d,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),A=0,I=new RegExp(t.source,h+"g");while(a=c.call(I,n)){if(g=I.lastIndex,g>A&&(l.push(n.slice(A,a.index)),a.length>1&&a.index=s))break;I.lastIndex===a.index&&I.lastIndex++}return A===n.length?!d&&I.test("")||l.push(""):l.push(n.slice(A)),l.length>s?l.slice(0,s):l}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var o=r(this),s=void 0==e?void 0:e[t];return void 0!==s?s.call(e,o,i):n.call(String(o),e,i)},function(t,o){var r=i(n,t,this,o,n!==e);if(r.done)return r.value;var c=s(t),h=String(this),u=a(c,RegExp),p=c.unicode,f=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(I?"y":"g"),m=new u(I?c:"^(?:"+c.source+")",f),v=void 0===o?C:o>>>0;if(0===v)return[];if(0===h.length)return null===l(m,h)?[h]:[];var b=0,y=0,_=[];while(y79&&r<83;n({target:"Array",proto:!0,forced:!g||d},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"13d9":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return f}));var n=i("7079"),o=i("f726"),s=i("151b");const r=(t,e)=>t.filter(t=>-1===e.indexOf(t)),a=(t,e)=>{let i=t[e];if(!(t[e]instanceof o["a"]||t[e]instanceof o["b"])){i=new o["a"](t[e]),i.on("*",(i,n,o)=>t.$emit(`${e}-${i}`,{event:i,properties:n,senderId:o}));const n=i=>{if(Array.isArray(i)){const n=new o["a"](i).getIds(),s=r(t.visData[e].getIds(),n);t.visData[e].update(i),t.visData[e].remove(s)}};t.$watch(e,n,{deep:!0})}return t.$emit(e+"-mounted",i),i},g=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var d={name:"timeline",props:{groups:{type:[Array,o["a"],o["b"]],default:()=>[]},items:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","contextmenu","currentTimeTick","doubleClick","drop","mouseOver","mouseDown","mouseUp","mouseMove","groupDragged","changed","rangechange","rangechanged","select","itemover","itemout","timechange","timechanged","markerchange","markerchanged"]},selection:{type:[Array,String],default:()=>[]},options:{type:Object}},data:()=>({visData:{items:null,groups:null}}),watch:{options:{deep:!0,handler(){this.timeline.setOptions(this.options)}},selection:{deep:!1,handler(t){this.timeline.setSelection(t)}}},methods:{addCustomTime(t,e){return this.timeline.addCustomTime(t,e)},destroy(){this.timeline.destroy()},fit(){this.timeline.fit()},focus(t,e){this.timeline.focus(t,e)},getCurrentTime(){return this.timeline.getCurrentTime()},getCustomTime(t){return this.timeline.getCustomTime(t)},getEventProperties(t){return this.timeline.getEventProperties(t)},getItemRange(){return this.timeline.getItemRange()},getSelection(){return this.timeline.getSelection()},getVisibleItems(){return this.timeline.getVisibleItems()},getWindow(){return this.timeline.getWindow()},moveTo(t,e){this.timeline.moveTo(t,e)},on(t,e){this.timeline.on(t,e)},off(t,e){this.timeline.off(t,e)},redraw(){this.timeline.redraw()},removeCustomTime(t){this.timeline.removeCustomTime(t)},setCurrentTime(t){this.timeline.setCurrentTime(t)},setCustomTime(t,e){this.timeline.setCustomTime(t,e)},setCustomTimeTitle(t,e){this.timeline.setCustomTimeTitle(t,e)},setCustomTimeMarker(t,e,i){this.timeline.setCustomTimeMarker(t,e,i)},setData(t){this.timeline.setData(t)},setGroups(t){this.timeline.setGroups(t)},setItems(t){this.timeline.setItems(t)},setOptions(t){this.timeline.setOptions(t)},setSelection(t,e){this.timeline.setSelection(t,e)},setWindow(t,e,i,n){this.timeline.setWindow(t,e,i,n)},toggleRollingMode(){this.timeline.toggleRollingMode()},zoomIn(t,e,i){this.timeline.zoomIn(t,e,i)},zoomOut(t,e,i){this.timeline.zoomOut(t,e,i)}},mounted(){const t=this.$refs.visualization;this.visData.items=a(this,"items"),this.groups&&this.groups.length>0?(this.visData.groups=a(this,"groups"),this.timeline=new n["b"](t,this.visData.items,this.visData.groups,this.options)):this.timeline=new n["b"](t,this.visData.items,this.options),this.events.forEach(t=>this.timeline.on(t,e=>this.$emit(g(t),e)))},created(){this.timeline=null},beforeDestroy(){this.timeline.destroy()}};function l(t,e,i,n,o,s,r,a,g,d){"boolean"!==typeof r&&(g=a,a=r,r=!1);const l="function"===typeof i?i.options:i;let c;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),n&&(l._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,g(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):e&&(c=r?function(t){e.call(this,d(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(l.functional){const t=l.render;l.render=function(e,i){return c.call(i),t(e,i)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,c):[c]}return i}const c=d;var h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},u=[];const A=void 0,C=void 0,I=void 0,p=!1,f=l({render:h,staticRenderFns:u},A,c,C,p,I,!1,void 0,void 0,void 0);var m={name:"graph2d",props:{groups:{type:[Array,o["a"],o["b"]],default:()=>[]},items:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","contextmenu","currentTimeTick","doubleClick","changed","rangechange","rangechanged","timechange","timechanged"]},options:{type:Object}},data:()=>({visData:{items:null,groups:null}}),watch:{options:{deep:!0,handler(t){this.graph2d.setOptions(t)}}},methods:{destroy(){this.graph2d.destroy()},fit(){this.graph2d.fit()},getCurrentTime(){return this.graph2d.getCurrentTime()},getCustomTime(){return this.graph2d.getCustomTime()},getDataRange(){return this.graph2d.getDataRange()},getEventProperties(t){return this.graph2d.getEventProperties(t)},getLegend(t,e,i){return this.graph2d.getLegend(t,e,i)},getWindow(){return this.graph2d.getWindow()},isGroupVisible(t){return this.graph2d.isGroupVisible(t)},moveTo(t,e){this.graph2d.moveTo(t,e)},on(t,e){this.graph2d.on(t,e)},off(t,e){this.graph2d.off(t,e)},redraw(){this.graph2d.redraw()},setCurrentTime(t){this.graph2d.setCurrentTime(t)},setCustomTime(t){this.graph2d.setCustomTime(t)},setGroups(t){this.graph2d.setGroups(t)},setItems(t){this.graph2d.setItems(t)},setOptions(t){this.graph2d.setOptions(t)},setWindow(t,e){this.graph2d.setWindow(t,e)}},mounted(){const t=this.$refs.visualization;this.visData.items=a(this,"items"),this.visData.groups=a(this,"groups"),this.graph2d=new n["a"](t,this.visData.items,this.visData.groups,this.options),this.events.forEach(t=>this.graph2d.on(t,e=>this.$emit(g(t),e)))},created(){this.graph2d=null},beforeDestroy(){this.graph2d.destroy()}};const v=m;var b=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},y=[];const _=void 0,w=void 0,M=void 0,x=!1,k=l({render:b,staticRenderFns:y},_,v,w,x,M,!1,void 0,void 0,void 0);var D={name:"network",props:{edges:{type:[Array,o["a"],o["b"]],default:()=>[]},nodes:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","doubleClick","oncontext","hold","release","select","selectNode","selectEdge","deselectNode","deselectEdge","dragStart","dragging","dragEnd","hoverNode","blurNode","hoverEdge","blurEdge","zoom","showPopup","hidePopup","startStabilizing","stabilizationProgress","stabilizationIterationsDone","stabilized","resize","initRedraw","beforeDrawing","afterDrawing","animationFinished","configChange"]},options:{type:Object,default:()=>({})}},data:()=>({visData:{nodes:null,edges:null}}),computed:{dsNodes(){return new o["a"](this.nodes)}},watch:{options:{deep:!0,handler(t){this.network.setOptions(t)}}},methods:{setData(t,e){this.visData.nodes=Array.isArray(t)?new o["a"](t):t,this.visData.edges=Array.isArray(e)?new o["a"](e):e,this.network.setData(this.visData)},destroy(){this.network.destroy()},getNode(t){return this.visData.nodes.get(t)},getEdge(t){return this.visData.edges.get(t)},setOptions(t){this.network.setOptions(t)},on(t,e){this.network.on(t,e)},off(t,e){this.network.off(t,e)},once(t,e){this.network.once(t,e)},canvasToDom(t){return this.network.canvasToDOM(t)},domToCanvas(t){return this.network.DOMtoCanvas(t)},redraw(){this.network.redraw()},setSize(t,e){this.network.setSize(t,e)},cluster(t){this.network.cluster(t)},clusterByConnection(t,e){this.network.clusterByConnection(t,e)},clusterByHubsize(t,e){this.network.clusterByHubsize(t,e)},clusterOutliers(t){this.network.clusterOutliers(t)},findNode(t){return this.network.findNode(t)},getClusteredEdges(t){return this.network.clustering.getClusteredEdges(t)},getBaseEdge(t){return this.network.clustering.getBaseEdge(t)},getBaseEdges(t){return this.network.clustering.getBaseEdges(t)},updateEdge(t,e){this.network.clustering.updateEdge(t,e)},updateClusteredNode(t,e){this.network.clustering.updateClusteredNode(t,e)},isCluster(t){return this.network.isCluster(t)},getNodesInCluster(t){return this.network.getNodesInCluster(t)},openCluster(t,e){this.network.openCluster(t,e)},getSeed(){return this.network.getSeed()},enableEditMode(){this.network.enableEditMode()},disableEditMode(){this.network.disableEditMode()},addNodeMode(){this.network.addNodeMode()},editNode(){this.network.editNode()},addEdgeMode(){this.network.addEdgeMode()},editEdgeMode(){this.network.editEdgeMode()},deleteSelected(){this.network.deleteSelected()},getPositions(t){return this.network.getPositions(t)},storePositions(){this.network.storePositions()},moveNode(t,e,i){this.network.moveNode(t,e,i)},getBoundingBox(t){return this.network.getBoundingBox(t)},getConnectedNodes(t,e){return this.network.getConnectedNodes(t,e)},getConnectedEdges(t){return this.network.getConnectedEdges(t)},startSimulation(){this.network.startSimulation()},stopSimulation(){this.network.stopSimulation()},stabilize(t){this.network.stabilize(t)},getSelection(){return this.network.getSelection()},getSelectedNodes(){return this.network.getSelectedNodes()},getSelectedEdges(){return this.network.getSelectedEdges()},getNodeAt(t){return this.network.getNodeAt(t)},getEdgeAt(t){return this.network.getEdgeAt(t)},selectNodes(t,e){this.network.selectNodes(t,e)},selectEdges(t){this.network.selectEdges(t)},setSelection(t,e){this.network.setSelection(t,e)},unselectAll(){this.network.unselectAll()},getScale(){return this.network.getScale()},getViewPosition(){return this.network.getViewPosition()},fit(t){this.network.fit(t)},focus(t,e){this.network.focus(t,e)},moveTo(t){this.network.moveTo(t)},releaseNode(){this.network.releaseNode()},getOptionsFromConfigurator(){return this.network.getOptionsFromConfigurator()}},created(){this.network=null},mounted(){const t=this.$refs.visualization;this.visData.nodes=a(this,"nodes"),this.visData.edges=a(this,"edges"),this.network=new s["a"](t,this.visData,this.options),this.events.forEach(t=>this.network.on(t,e=>this.$emit(g(t),e)))},beforeDestroy(){this.network.destroy()}};const T=D;var L=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},O=[];const S=void 0,Y=void 0,E=void 0,P=!1,j=l({render:L,staticRenderFns:O},S,T,Y,P,E,!1,void 0,void 0,void 0);function N(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var R='.vis [class*=span]{min-height:0;width:auto}.vis-panel{position:absolute;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right,.vis-panel.vis-top{border:1px #bfbfbf}.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right{border-top-style:solid;border-bottom-style:solid;overflow:hidden}.vis-left.vis-panel.vis-vertical-scroll,.vis-right.vis-panel.vis-vertical-scroll{height:100%;overflow-x:hidden;overflow-y:scroll}.vis-left.vis-panel.vis-vertical-scroll{direction:rtl}.vis-left.vis-panel.vis-vertical-scroll .vis-content,.vis-right.vis-panel.vis-vertical-scroll{direction:ltr}.vis-right.vis-panel.vis-vertical-scroll .vis-content{direction:rtl}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-top{border-left-style:solid;border-right-style:solid}.vis-background{overflow:hidden}.vis-panel>.vis-content{position:relative}.vis-panel .vis-shadow{position:absolute;width:100%;height:1px;-webkit-box-shadow:0 0 10px rgba(0,0,0,.8);box-shadow:0 0 10px rgba(0,0,0,.8)}.vis-panel .vis-shadow.vis-top{top:-1px;left:0}.vis-panel .vis-shadow.vis-bottom{bottom:-1px;left:0}.vis-timeline{position:relative;border:1px solid #bfbfbf;overflow:hidden;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-loading-screen{width:100%;height:100%;position:absolute;top:0;left:0}.vis-graph-group0{fill:#4f81bd;fill-opacity:0;stroke-width:2px;stroke:#4f81bd}.vis-graph-group1{fill:#f79646;fill-opacity:0;stroke-width:2px;stroke:#f79646}.vis-graph-group2{fill:#8c51cf;fill-opacity:0;stroke-width:2px;stroke:#8c51cf}.vis-graph-group3{fill:#75c841;fill-opacity:0;stroke-width:2px;stroke:#75c841}.vis-graph-group4{fill:#ff0100;fill-opacity:0;stroke-width:2px;stroke:#ff0100}.vis-graph-group5{fill:#37d8e6;fill-opacity:0;stroke-width:2px;stroke:#37d8e6}.vis-graph-group6{fill:#042662;fill-opacity:0;stroke-width:2px;stroke:#042662}.vis-graph-group7{fill:#00ff26;fill-opacity:0;stroke-width:2px;stroke:#00ff26}.vis-graph-group8{fill:#f0f;fill-opacity:0;stroke-width:2px;stroke:#f0f}.vis-graph-group9{fill:#8f3938;fill-opacity:0;stroke-width:2px;stroke:#8f3938}.vis-timeline .vis-fill{fill-opacity:.1;stroke:none}.vis-timeline .vis-bar{fill-opacity:.5;stroke-width:1px}.vis-timeline .vis-point{stroke-width:2px;fill-opacity:1}.vis-timeline .vis-legend-background{stroke-width:1px;fill-opacity:.9;fill:#fff;stroke:#c2c2c2}.vis-timeline .vis-outline{stroke-width:1px;fill-opacity:1;fill:#fff;stroke:#e5e5e5}.vis-timeline .vis-icon-fill{fill-opacity:.3;stroke:none}.vis-current-time{background-color:#ff7f6e;width:2px;z-index:1;pointer-events:none}.vis-rolling-mode-btn{height:40px;width:40px;position:absolute;top:7px;right:20px;border-radius:50%;font-size:28px;cursor:pointer;opacity:.8;color:#fff;font-weight:700;text-align:center;background:#3876c2}.vis-rolling-mode-btn:before{content:"\\26F6"}.vis-rolling-mode-btn:hover{opacity:1}div.vis-configuration{position:relative;display:block;float:left;font-size:12px}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{display:block;width:495px;background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;margin-top:20px;left:10px;padding-left:5px}div.vis-configuration.vis-config-button{display:block;width:495px;height:25px;vertical-align:middle;line-height:25px;background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;margin-top:20px;left:10px;padding-left:5px;cursor:pointer;margin-bottom:30px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;width:495px;height:25px;vertical-align:middle;line-height:25px}div.vis-configuration.vis-config-item.vis-config-s2{left:10px;background-color:#f7f8fa;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s3{left:20px;background-color:#e4e9f0;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s4{left:30px;background-color:#cfd8e6;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{width:120px;height:25px;line-height:25px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{top:1px;width:30px;height:19px;border:1px solid #444;border-radius:2px;padding:0;margin:0;cursor:pointer}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{position:relative;top:-5px;width:60px;padding:1px;margin:0;pointer-events:none}input.vis-configuration.vis-config-range{-webkit-appearance:none;border:0 solid #fff;background-color:transparent;width:300px;height:20px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{width:300px;height:5px;background:#dedede;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #dedede),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;-webkit-box-shadow:0 0 3px 0 #aaa;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #14334b;height:17px;width:17px;border-radius:50%;background:#3876c2;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #3876c2),to(#385380));background:linear-gradient(180deg,#3876c2 0,#385380);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);-webkit-box-shadow:0 0 1px 0 #111927;box-shadow:0 0 1px 0 #111927;margin-top:-7px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #9d9d9d),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{width:300px;height:10px;background:#dedede;background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{width:300px;height:5px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{position:absolute;background:rgba(57,76,89,.85);border:2px solid #f2faff;line-height:30px;height:30px;width:150px;text-align:center;color:#fff;font-size:14px;border-radius:4px;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vis-configuration-popup:after,.vis-configuration-popup:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}.vis .overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.vis-active{-webkit-box-shadow:0 0 10px #86d5f8;box-shadow:0 0 10px #86d5f8}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal{position:absolute;width:100%;height:0;border-bottom:1px solid}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor{border-color:#e5e5e5}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-major{border-color:#bfbfbf}.vis-data-axis .vis-y-axis.vis-major{width:100%;position:absolute;color:#4d4d4d;white-space:nowrap}.vis-data-axis .vis-y-axis.vis-major.vis-measure{padding:0;margin:0;border:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-minor{position:absolute;width:100%;color:#bebebe;white-space:nowrap}.vis-data-axis .vis-y-axis.vis-minor.vis-measure{padding:0;margin:0;border:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title{position:absolute;color:#4d4d4d;white-space:nowrap;bottom:20px;text-align:center}.vis-data-axis .vis-y-axis.vis-title.vis-measure{padding:0;margin:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title.vis-left{bottom:0;-webkit-transform-origin:left top;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.vis-data-axis .vis-y-axis.vis-title.vis-right{bottom:0;-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vis-legend{background-color:rgba(247,252,255,.65);padding:5px;border:1px solid #b3b3b3;-webkit-box-shadow:2px 2px 10px hsla(0,0%,60.4%,.55);box-shadow:2px 2px 10px hsla(0,0%,60.4%,.55)}.vis-legend-text{white-space:nowrap;display:inline-block}.vis-time-axis{position:relative;overflow:hidden}.vis-time-axis.vis-foreground{top:0;left:0;width:100%}.vis-time-axis.vis-background{position:absolute;top:0;left:0;width:100%;height:100%}.vis-time-axis .vis-text{position:absolute;color:#4d4d4d;padding:3px;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap}.vis-time-axis .vis-text.vis-measure{position:absolute;padding-left:0;padding-right:0;margin-left:0;margin-right:0;visibility:hidden}.vis-time-axis .vis-grid.vis-vertical{position:absolute;border-left:1px solid}.vis-time-axis .vis-grid.vis-vertical-rtl{position:absolute;border-right:1px solid}.vis-time-axis .vis-grid.vis-minor{border-color:#e5e5e5}.vis-time-axis .vis-grid.vis-major{border-color:#bfbfbf}.vis-custom-time{background-color:#6e94ff;width:2px;cursor:move;z-index:1}.vis-custom-time>.vis-custom-time-marker{background-color:inherit;color:#fff;font-size:12px;white-space:nowrap;padding:3px 5px;top:0;cursor:auto;z-index:inherit}.vis-itemset{position:relative;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-itemset .vis-background,.vis-itemset .vis-foreground{position:absolute;width:100%;height:100%;overflow:visible}.vis-axis{position:absolute;width:100%;height:0;left:0;z-index:1}.vis-foreground .vis-group{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #bfbfbf}.vis-foreground .vis-group:last-child{border-bottom:none}.vis-nesting-group{cursor:pointer}.vis-label.vis-nested-group.vis-group-level-unknown-but-gte1{background:#f5f5f5}.vis-label.vis-nested-group.vis-group-level-0{background-color:#fff}.vis-ltr .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-left:0}.vis-rtl .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-right:0}.vis-label.vis-nested-group.vis-group-level-1{background-color:rgba(0,0,0,.05)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-left:15px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-right:15px}.vis-label.vis-nested-group.vis-group-level-2{background-color:rgba(0,0,0,.1)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-left:30px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-right:30px}.vis-label.vis-nested-group.vis-group-level-3{background-color:rgba(0,0,0,.15)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-left:45px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-right:45px}.vis-label.vis-nested-group.vis-group-level-4{background-color:rgba(0,0,0,.2)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-left:60px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-right:60px}.vis-label.vis-nested-group.vis-group-level-5{background-color:rgba(0,0,0,.25)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-left:75px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-right:75px}.vis-label.vis-nested-group.vis-group-level-6{background-color:rgba(0,0,0,.3)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-left:90px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-right:90px}.vis-label.vis-nested-group.vis-group-level-7{background-color:rgba(0,0,0,.35)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-left:105px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-right:105px}.vis-label.vis-nested-group.vis-group-level-8{background-color:rgba(0,0,0,.4)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-left:120px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-right:120px}.vis-label.vis-nested-group.vis-group-level-9{background-color:rgba(0,0,0,.45)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-left:135px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-right:135px}.vis-label.vis-nested-group{background-color:rgba(0,0,0,.5)}.vis-ltr .vis-label.vis-nested-group .vis-inner{padding-left:150px}.vis-rtl .vis-label.vis-nested-group .vis-inner{padding-right:150px}.vis-group-level-unknown-but-gte1{border:1px solid red}.vis-label.vis-nesting-group:before{display:inline-block;width:15px}.vis-label.vis-nesting-group.expanded:before{content:"\\25BC"}.vis-label.vis-nesting-group.collapsed:before{content:"\\25B6"}.vis-rtl .vis-label.vis-nesting-group.collapsed:before{content:"\\25C0"}.vis-ltr .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-left:15px}.vis-rtl .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-right:15px}.vis-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.vis-labelset{overflow:hidden}.vis-labelset,.vis-labelset .vis-label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-labelset .vis-label{left:0;top:0;width:100%;color:#4d4d4d;border-bottom:1px solid #bfbfbf}.vis-labelset .vis-label.draggable{cursor:pointer}.vis-group-is-dragging{background:rgba(0,0,0,.1)}.vis-labelset .vis-label:last-child{border-bottom:none}.vis-labelset .vis-label .vis-inner{display:inline-block;padding:5px}.vis-labelset .vis-label .vis-inner.vis-hidden{padding:0}div.vis-tooltip{position:absolute;visibility:hidden;padding:5px;white-space:nowrap;font-family:verdana;font-size:14px;color:#000;background-color:#f5f4ed;border-radius:3px;border:1px solid #808074;-webkit-box-shadow:3px 3px 10px rgba(0,0,0,.2);box-shadow:3px 3px 10px rgba(0,0,0,.2);pointer-events:none;z-index:5}.vis-item{position:absolute;color:#1a1a1a;border-color:#97b0f8;border-width:1px;background-color:#d5ddf6;display:inline-block;z-index:1}.vis-item.vis-selected{border-color:#ffc200;background-color:#fff785;z-index:2}.vis-editable.vis-selected{cursor:move}.vis-item.vis-point.vis-selected{background-color:#fff785}.vis-item.vis-box{text-align:center;border-style:solid;border-radius:2px}.vis-item.vis-point{background:none}.vis-item.vis-dot{position:absolute;padding:0;border-width:4px;border-style:solid;border-radius:4px}.vis-item.vis-range{border-style:solid;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-item.vis-background{border:none;background-color:rgba(213,221,246,.4);-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;margin:0}.vis-item .vis-item-overflow{position:relative;width:100%;height:100%;padding:0;margin:0;overflow:hidden}.vis-item-visible-frame{white-space:nowrap}.vis-item.vis-range .vis-item-content{position:relative;display:inline-block}.vis-item.vis-background .vis-item-content{position:absolute;display:inline-block}.vis-item.vis-line{padding:0;position:absolute;width:0;border-left-width:1px;border-left-style:solid}.vis-item .vis-item-content{white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px}.vis-item .vis-onUpdateTime-tooltip{position:absolute;background:#4f81bd;color:#fff;width:200px;text-align:center;white-space:nowrap;padding:5px;border-radius:1px;transition:.4s;-o-transition:.4s;-moz-transition:.4s;-webkit-transition:.4s}.vis-item .vis-delete,.vis-item .vis-delete-rtl{position:absolute;top:0;width:24px;height:24px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 5px;cursor:pointer;-webkit-transition:background .2s linear;transition:background .2s linear}.vis-item .vis-delete{right:-24px}.vis-item .vis-delete-rtl{left:-24px}.vis-item .vis-delete-rtl:after,.vis-item .vis-delete:after{content:"\\00D7";color:red;font-family:arial,sans-serif;font-size:22px;font-weight:700;-webkit-transition:color .2s linear;transition:color .2s linear}.vis-item .vis-delete-rtl:hover,.vis-item .vis-delete:hover{background:red}.vis-item .vis-delete-rtl:hover:after,.vis-item .vis-delete:hover:after{color:#fff}.vis-item .vis-drag-center{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.vis-item.vis-range .vis-drag-left{left:-4px;cursor:w-resize}.vis-item.vis-range .vis-drag-left,.vis-item.vis-range .vis-drag-right{position:absolute;width:24px;max-width:20%;min-width:2px;height:100%;top:0}.vis-item.vis-range .vis-drag-right{right:-4px;cursor:e-resize}.vis-range.vis-item.vis-readonly .vis-drag-left,.vis-range.vis-item.vis-readonly .vis-drag-right{cursor:auto}.vis-item.vis-cluster{vertical-align:center;text-align:center;border-style:solid;border-radius:2px}.vis-item.vis-cluster-line{padding:0;position:absolute;width:0;border-left-width:1px;border-left-style:solid}.vis-item.vis-cluster-dot{position:absolute;padding:0;border-width:4px;border-style:solid;border-radius:4px}';N(R);var F='div.vis-configuration{position:relative;display:block;float:left;font-size:12px}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{display:block;width:495px;background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;margin-top:20px;left:10px;padding-left:5px}div.vis-configuration.vis-config-button{display:block;width:495px;height:25px;vertical-align:middle;line-height:25px;background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;margin-top:20px;left:10px;padding-left:5px;cursor:pointer;margin-bottom:30px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;width:495px;height:25px;vertical-align:middle;line-height:25px}div.vis-configuration.vis-config-item.vis-config-s2{left:10px;background-color:#f7f8fa;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s3{left:20px;background-color:#e4e9f0;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s4{left:30px;background-color:#cfd8e6;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{width:120px;height:25px;line-height:25px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{top:1px;width:30px;height:19px;border:1px solid #444;border-radius:2px;padding:0;margin:0;cursor:pointer}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{position:relative;top:-5px;width:60px;padding:1px;margin:0;pointer-events:none}input.vis-configuration.vis-config-range{-webkit-appearance:none;border:0 solid #fff;background-color:transparent;width:300px;height:20px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{width:300px;height:5px;background:#dedede;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #dedede),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;-webkit-box-shadow:0 0 3px 0 #aaa;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #14334b;height:17px;width:17px;border-radius:50%;background:#3876c2;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #3876c2),to(#385380));background:linear-gradient(180deg,#3876c2 0,#385380);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);-webkit-box-shadow:0 0 1px 0 #111927;box-shadow:0 0 1px 0 #111927;margin-top:-7px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #9d9d9d),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{width:300px;height:10px;background:#dedede;background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{width:300px;height:5px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{position:absolute;background:rgba(57,76,89,.85);border:2px solid #f2faff;line-height:30px;height:30px;width:150px;text-align:center;color:#fff;font-size:14px;border-radius:4px;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vis-configuration-popup:after,.vis-configuration-popup:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}.vis-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10}.vis-active{-webkit-box-shadow:0 0 10px #86d5f8;box-shadow:0 0 10px #86d5f8}div.vis-network div.vis-manipulation{-webkit-box-sizing:content-box;box-sizing:content-box;border:0 solid #d6d9d8;border-bottom:1px;background:#fff;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #fff),color-stop(48%, #fcfcfc),color-stop(50%, #fafafa),to(#fcfcfc));background:linear-gradient(180deg,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#fcfcfc",GradientType=0);padding-top:4px;position:absolute;left:0;top:0;width:100%;height:28px}div.vis-network div.vis-edit-mode{position:absolute;left:0;top:5px;height:30px}div.vis-network div.vis-close{position:absolute;right:0;top:0;width:30px;height:30px;background-position:20px 3px;background-repeat:no-repeat;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4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ICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjc8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NzwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+cZUZMwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAA2ElEQVR42gDLADT/AS0tLUQFBQUVFxcXtPHx8fPl5eUNCAgITCkpKesEHx8fGgYGBjH+/v4a+Pj4qgQEBFU6OjodMTExzwQUFBSvEBAQEfX19SD19fVqNDQ0CElJSd/9/f2vAwEBAfrn5+fkBwcHLRYWFgsXFxfz29vbo9LS0uwDDQ0NDfPz81orKysXIyMj+ODg4Avh4eEa/f391gMkJCRYPz8/KUhISOMCAgKh8fHxHRsbGx4UFBQQBDk5OeY7Ozv7CAgItPb29vMEBASaJSUlTQ0NDesDAEwpT0Ko8Ri2AAAAAElFTkSuQmCC");cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-close:hover{opacity:.6}div.vis-network div.vis-edit-mode div.vis-button,div.vis-network div.vis-manipulation div.vis-button{float:left;font-family:verdana;font-size:12px;border-radius:15px;display:inline-block;background-position:0 0;background-repeat:no-repeat;height:24px;margin-left:10px;cursor:pointer;padding:0 8px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-manipulation div.vis-button:hover{-webkit-box-shadow:1px 1px 8px rgba(0,0,0,.2);box-shadow:1px 1px 8px rgba(0,0,0,.2)}div.vis-network div.vis-manipulation div.vis-button:active{-webkit-box-shadow:1px 1px 8px rgba(0,0,0,.5);box-shadow:1px 1px 8px rgba(0,0,0,.5)}div.vis-network div.vis-manipulation div.vis-button.vis-back{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrB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WERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4jq1U/AAAAIGNIUk0AAHolAACAgwA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OJRGLHnTt3zkqS9K+huHU4EhHMZnMoGo0W5OIh7nK5jjLGKq1W69vDhw8rRqMxMjc3t2t5eXnX5ORklc/nM+fl5SWnpqa+0uv1K/n5+Ws6nW5NluXNd15e3ppOp1uz2WyzZ86cGQ0Gg6ZAIFCZzWZ/lYjokRDiuN/vt7W0tMw3NTUpbrd78P79++5gMFgRiUTKHj58WMYYQ3V19etTp05tq6Lp6Wkb5xxCiEfc7XZPM8a6FxcXTfX19a/1en2Gcy5qamreNjY2/qGq6joRZe12+9Tp06e3JY/FYgWPHz8+mhvr3/CWlpbk+vp6PmOseWVlBS6XS9GSJUkSdrs93NDQ8Oe+ffvC/8fJIyMjddFo9Esi6pVleVjT2m0A8Hq9zqGhIefnjoknT544A4GAM/eDbxMReFNTE0pKSpKqqsaI6Pj8/LxVVdWM3W6PfCr5xMTE1zllXS0uLn6aSqXAGxsbodPpoNfrn6uqCs75EUVRrJFIZMfevXsXdTrdxseIE4mEPDIyUu/3++tynd8yGo29RIR0Og26fv06ioqKwBgD5xzv3r27zBjrIyJIkgSHwzFZWVmp7NmzJ1ZaWpoAgGg0WqgoSvHMzIw1GAw6tvjhitFo7NPW5fv370Hd3d0oKCgA53zTQMvLy+VCiKuSJH0rSdLmztZytIWv5RPRD0T0Y3Fx8dzWfby6ugopHo//w4mcc8iyPMc5v5FOp7/PZrOdQohWInIC2C2EgBBigYi8Qoifs9lsv06nWyIiaFxagXg8jr8GAGxuIe7LBeWhAAAAAElFTkSuQmCC")}div.vis-network div.vis-manipulation div.vis-button.vis-none:hover{-webkit-box-shadow:1px 1px 8px transparent;box-shadow:1px 1px 8px transparent;cursor:default}div.vis-network div.vis-manipulation div.vis-button.vis-none:active{-webkit-box-shadow:1px 1px 8px transparent;box-shadow:1px 1px 8px transparent}div.vis-network div.vis-manipulation div.vis-button.vis-none{padding:0}div.vis-network div.vis-manipulation div.notification{margin:2px;font-weight:700}div.vis-network div.vis-manipulation div.vis-button.vis-add{background-image:url("data:image/png;base64,iV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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5WKqp9AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYXSURBVHjafFZtUFTXGX7e9z27sveuMCwYV8ElrA7YSFYHtJUPkaaI0aRqG8wP00zUzljDINNSA/2ROtpO24SxnahlxjYd7SSjmUkymcxYlDhQPzHGisEVp8HwYWCVVVgEsrsuLnL74+5uqTF9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dFZdqSxnMtWjoGAAmG9fOLxjwesdjT2/XzIQ7ks3sycYMSEwGHNtWf5bkX5NkYCJBxUBXiGV0XHvosOt54Zey33j/K+8P33++vjnbiGJbbLE+J9SANAb6nJ2B79wcUwETAwQQ7fMjPzMvfP8ja87HUIKMOiaAqMZhrGmLdAy78eZrwwsTS0eObTs+IdtgVanxBUExqGbb5VzrIISGIoUXsmqbgEhJldCQWqRf27SvPAn/o8XmgLhZsUkR4ll37mhk3n94Z4OlzY/7NLcYZfm7o1z2zT4vsvUNSXqprBCkmiTFbPX90/fh8GIT2sf+zTPdDMf4dVnNg4z+E0ixsGeBs9jd5ViSgLHjCb/peaR+MD3d4/ZJg2llyuG2Vwy7QWAs8PNnn1f7vkGSGxAzE6mk+kxkx/p/4unffSCR0hAoL1EBCYiPNdWNcwkNQTCR7feWX6g+7f/A7I8rcw/U6UEe0Ndrhc/W7mtL9ztmqlSgstSS/zTJ28dalpOpkRryrwbhwBACgsLMWPGDOT4ll3qyeqAkJTdCF7P/CrUY/GkLL1rE+2hTbSH8+0Lb/WEuhzhyaA905blf9Vd/895WnZwLHrPevir/cvOB1oLYpTtLrm6oYGIMDExAaqtrUVKSgqYGSKCk0WHq5ikkWEWtNL0imv5qUW+RclLRjJsrhBAuH1/QL8R7HR4xy5nescuP23E6hOA6mLv+sb4uTw6Ogqqq6uDpmkQkcStorX4XRcM1FjZ+kvFFjCJKU1WpkNJJUqIMtX1RyLeX3JtQ0JRhmGYZ/L27duRnJycuFGISOJ9pqh5lrB6iYgqGOxRrOaa54DcZmKvkJxk8JHC9rKh+KVhOsD4+Dj+MwADIf8n5m4xGwAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode div.vis-button.vis-edit,div.vis-network div.vis-manipulation div.vis-button.vis-edit{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2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AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ykninAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYpSURBVHjafFZtTFvnFX7Oea+NudiY2Hwam4CBlgQwXdKREDKUoYg0jbRJ29RJ2VZ1mjRFUxSpA3VTfkzJfkQbS7spU6rtx5Z2UtppScjaHxvLuiatWi2jLEoMIUDCh23g2gbj7+tPuPvhOurawPl1dc99n+c55z33fV46ceIEZFkGADAziAgAQERoe/9ZK4GPM/AcgbsIXAcABCgMvkfAqAa89eDoJyF8LogIqqqChoaGYDAYHr8kItS8uc8iIH6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C3lTjkJAKKEtNC9eIOhSh9xHLZOJRZTFuXDsEoStLkR/768ummsaJG9Pb9oe+9J+xaeSVokiQDSJphAo5uaBuWjiKP4QTqS1cUWU7ayesN66wu22frD1vmVW6GW6T8u9eVjGyZzs+w78Nqu0a2mbvVu1KEJQAgeZRL0liQYyx+GOmKeQpu0rMYsAJPNEFGD2dLodLIy6c9Ys7G8yeSUl3tf2/X3rcBVJSOv34l3sCBogi7z1LH/rBHjl4IJ93/ncQFAnjeImJD0Z8zuCwu9q3djDXqTlAKID5xv+9t2R8n8VcUFBljQ8Gyfe40BYBM4DwDLt8Kue79ZcFkbzfEdbUbv+oN4c9KTtsfm1MbYQqqh+2zrVZYKs/7Ef+byimt1POYiJhDhPBFBIiIEXhxfs7/dfYoIF+auBfYTE/pebx/V8hqBP2ODvD34yvuh/WCAmU75Bx6sIgaI/v5+6PV6JLqUsYr7dpDAoehs0h73pHTWrvKgThYbRSt9UmSjef3MpaUvBz4O72UmADgTOPJguGiZor+/HyUlJWBmJFz+D8xTtlUiOpbwpmrmrweeSXrT+g11k4SBN3RGKUcAVCVdFhyP1nreDbY//NPyEXUlU/Pp4XYycGT6V0Ux2WwWdO7cOZSWlkII8diX7SPPNgDaKdbxoNAxwATBAEkEEgSWCEQAqPAMwqvMdCEwMO0tVqZpWsGTT58+DaPR+PhGIYQAAAgh0P7B3ioW/B0iGiCGiwXbCuOHFSJys6AbYFye2T+xWhT3WYJEIoH/DQBMw3kes8OJPgAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode{background-color:#fcfcfc;border:1px solid #ccc}div.vis-network div.vis-manipulation div.vis-button.vis-connect{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqI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AgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ubxs+AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAUtSURBVHjajJZ/bNT1Gcdfz/P53PV6B4W7VltLqdAaplIOiMOoyxxJCSs/Gv/yB4gzJroAosmmDklwkYWR0bQsdmkykoojTpcsWYLxD/lRZdMQkTHRtkLZRqG0tIVe7662vTu43n32x/VKZ/jh89cn38/zvN7P5/l88zwf2blzJz6fDwARQUSm1n8s31CM0/VAnbNmsUPuAsDpgEO+Bg4C7//iyv5hvmMiQiqVQpqamvB6vVNwEeG1JZtCBrYi/MrkAwDNgjhwAlbzICBLA0rDb0+/839C6XQaaWxspLCw8D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JuHXQlKKvxM/jiXDq/D/xPlwifGMkJZB2NIoKpr69nxeiZxLHicFSFVWfGqBidIP3LSjrWltD94CyufF/4kQgPuVz2Lz93+dDRa9eu5QQ8Hg8/iXee+Dy4CKMs7xqn4nwKz9IirhQqmVuB42m8ey+x7LMoD6iAON782eChhqmRuXfvXgKBAKqKqtI0/8nNKrQI4BVYXkzHgzPpC88gWuHL/caXrhLoGiN0apSKr0ZZRBZM7q2w5ZnLR1oAnHOMjY0hra2tFBQUYIyZmstvVT1Z6eDlAuEVq7merxmwueNPDXy9PvybjKP5mctHLk4/XTKZRJqbm/H7/VNw1VyEMYbW4FN3WNWnnchKoy5sHeVGBRX6VWi3ymFx7r11Ix8MTX/y5C2RSPC/AQB61erowbpqSwAAAABJRU5ErkJggg==")}div.vis-network div.vis-manipulation div.vis-button.vis-delete{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEA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ZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4aYJzYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYGSURBVHjalJZ7UJTnFcZ/73m/72PdJY1RbhoQp6lkXRAvmIYxdCUadLVOozPNtGObap1JsKipjiShbdoRbeKEiQHpQK3xj0xa03aamTbaTGyAYV1QGeqFi+JyiZFLAlmESBkWRmS3fyzslGkmnZ5/v/M873Oe75zzvqqoqAibzQaAiKCUAkApRdHIK/NFsx2NR91nOSILADDoJyzNaM4xxbtvPHh0iC+JiYkJ1OHDh4mJiUEpFSXPv/ziPC28TIiXDCOSrAClQDSEpsCwJPIhrEBRQpiSytXlQwDhcBilFPfu3UMVFxdjt9ujFTzfcLBADCoEEAFr1ZbrrNjch2vtEImPBgHob7fTcWE+bVXJNJ/NiFQlEGLvieXHKmYqGB8fRx05cgSbzYaIsPvywV8pKFaA7fGtLTzz61YWpo/xVTHQbufsq5lcez9zWuWhk5mvFwMEg0H0+vXrMU2Tn1wp3CtCiQ5DjGd3A/m/v8IDCZP8r4iNmyRrWx/j/5qktykZpXKzAjVDVxPzGqemptDr1q1jX3NRnIJarcDKK2hgR2ULXRfncv7UYv7xpovhnhiW5Mz+kefeSKO6LJ1A1xzEuk/Ojm4mRibpuZaMZW3OCtRUND60NmiICCIUShisx7a2sLMiQn4s77uEQgIabnqdfHIlgT1/qQeg8vs5dHhdCNB1wYn3RIiC995j26stjAbsNH+YiZJCESnS1Y/XxIXu8r4YIPv/VkVs3CTnTy2ms34xro1+sp9po6sxl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lOX2krBzmoUVjiIKhHge9rfPo+Wcy3ZeXIYASgL1/X5RfMXMvj46OosrLy7HZbGitUUohIuzoem0RofALaOsghgWGjky0MiJTL8b0lOvI8hN1DKXKP0jd3TNTWDgcJhgMoo4ePYrD4Yi+KmaeLlprnrtXFo9h/AAlG1AqE8yFmBrC+jO0bgH9EVpO/1F2Dc5g//OAsbEx/j0Af+USsQynL1UAAAAASUVORK5CYII=")}div.vis-network div.vis-edit-mode div.vis-label,div.vis-network div.vis-manipulation div.vis-label{margin:0 0 0 23px;line-height:25px}div.vis-network div.vis-manipulation div.vis-separator-line{float:left;display:inline-block;width:1px;height:21px;background-color:#bdbdbd;margin:0 7px 0 15px}div.vis-color-picker{position:absolute;top:0;left:30px;margin-top:-140px;margin-left:30px;width:310px;height:444px;z-index:1;padding:10px;border-radius:15px;background-color:#fff;display:none;-webkit-box-shadow:0 0 10px 0 rgba(0,0,0,.5);box-shadow:0 0 10px 0 rgba(0,0,0,.5)}div.vis-color-picker div.vis-arrow{position:absolute;top:147px;left:5px}div.vis-color-picker div.vis-arrow:after,div.vis-color-picker div.vis-arrow:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}div.vis-color-picker div.vis-arrow:after{border-color:hsla(0,0%,100%,0) #fff hsla(0,0%,100%,0) hsla(0,0%,100%,0);border-width:30px;margin-top:-30px}div.vis-color-picker div.vis-color{position:absolute;width:289px;height:289px;cursor:pointer}div.vis-color-picker div.vis-brightness{position:absolute;top:313px}div.vis-color-picker div.vis-opacity{position:absolute;top:350px}div.vis-color-picker div.vis-selector{position:absolute;top:137px;left:137px;width:15px;height:15px;border-radius:15px;border:1px solid #fff;background:#4c4c4c;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #4c4c4c),color-stop(12%, #595959),color-stop(25%, #666),color-stop(39%, #474747),color-stop(50%, #2c2c2c),color-stop(51%, #000),color-stop(60%, #111),color-stop(76%, #2b2b2b),color-stop(91%, #1c1c1c),to(#131313));background:linear-gradient(180deg,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#4c4c4c",endColorstr="#131313",GradientType=0)}div.vis-color-picker div.vis-new-color{left:159px;text-align:right;padding-right:2px}div.vis-color-picker div.vis-initial-color,div.vis-color-picker div.vis-new-color{position:absolute;width:140px;height:20px;border:1px solid rgba(0,0,0,.1);border-radius:5px;top:380px;font-size:10px;color:rgba(0,0,0,.4);vertical-align:middle;line-height:20px}div.vis-color-picker div.vis-initial-color{left:10px;text-align:left;padding-left:2px}div.vis-color-picker div.vis-label{position:absolute;width:300px;left:10px}div.vis-color-picker div.vis-label.vis-brightness{top:300px}div.vis-color-picker div.vis-label.vis-opacity{top:338px}div.vis-color-picker div.vis-button{position:absolute;width:68px;height:25px;border-radius:10px;vertical-align:middle;text-align:center;line-height:25px;top:410px;border:2px solid #d9d9d9;background-color:#f7f7f7;cursor:pointer}div.vis-color-picker div.vis-button.vis-cancel{left:5px}div.vis-color-picker div.vis-button.vis-load{left:82px}div.vis-color-picker div.vis-button.vis-apply{left:159px}div.vis-color-picker div.vis-button.vis-save{left:236px}div.vis-color-picker input.vis-range{width:290px;height:20px}div.vis-tooltip{position:absolute;visibility:hidden;padding:5px;white-space:nowrap;font-family:verdana;font-size:14px;color:#000;background-color:#f5f4ed;border-radius:3px;border:1px solid #808074;-webkit-box-shadow:3px 3px 10px rgba(0,0,0,.2);box-shadow:3px 3px 10px rgba(0,0,0,.2);pointer-events:none;z-index:5}div.vis-network div.vis-navigation div.vis-button{width:34px;height:34px;border-radius:17px;position:absolute;display:inline-block;background-position:2px 2px;background-repeat:no-repeat;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:0 0 3px 3px rgba(56,207,21,.3);box-shadow:0 0 3px 3px rgba(56,207,21,.3)}div.vis-network div.vis-navigation div.vis-button:active{-webkit-box-shadow:0 0 1px 3px rgba(56,207,21,.95);box-shadow:0 0 1px 3px rgba(56,207,21,.95)}div.vis-network div.vis-navigation div.vis-button.vis-up{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgN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ERBqFZrk0OJ3i4x/7vyIjBxGERt3takgVJEAp9xq3f769WiPDNvSsJdT3HDOEASPelmoBRYT3Kzt5uMtwauJEgSOCpwrk1DIJCoNUMwj9v7MweP9XSQ8/hJPp496fZTAICvLqcyv2B7nRbrgCA03JN5h8ub7A8VqpB437xHvsOy3l3cyaB4L2uqxhti1WLMcSgZQCw7+bOooO3Pk4JBZIYYXISMV5sKH59UePM10GESRGpIf/bE92HU452HywSJIGIllctrhp6YAK5+fHds0lLtJFMXNwkV6fFqA29mROefqiMJj1h6um4a5vY/92dKGaBxIhU5zJTWW2cJmEgGOmeb3c8FxAfb9mdf2RzyGGv5MvU7QwuEySwKHFp/c/M71zA/2F7b1RajnYdLAqMukMVu2YcfmDYE2MD7H+7/Xlq6cRIJqm4zXM+qd3TGjVBir43KSLlXjiELe5TsX+3/yW/ST45PaAHbKmccWh12AP93JNZywj0kSABIobpiXRHjtZ6faout2tyZMadGLXBCxBcvl6NfaAz+tKdFmObpzWl2+tIIBACYy0t/yj34M7HvsKUK+CGassvicX7alYDwwq+vykIEqPVa+Q9gdYk5+V+UE7lj3+FGbuBM/X5JUT8QwIVSSSZiTgmoFR2MfiqYFFPfjpkyrfWPopwxP47AP1pK1g9/dqeAAAAAElFTkSuQmCC");bottom:50px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-down{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAE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opjPJaL26KGBpd5TfguuBvuZRgBgY6zO0jlyZXXe9JqR+8MK8ntHOMHfHIkhu2b/0yIH7/oXJ0yFlxYnPUdRbvuILgO7+y+91l6Ka6M+cnCf4fMSypXvymHf/vzBTD3CuNGUFKT8lmK5Rs5ASqKiBlAGBXFaiSuni0fkp1pJ7Ed4e/xsAqLk46EWsG1EAAAAASUVORK5CYII=");bottom:10px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-left{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAs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MeDIcAiSEOyibXsmZG0hAFzuq1OyY6xBAnMJgdPOmks08zU/bbsB9x18P37PqS/b8+o/a96ZcLm3PmBH46Z5x40HW1eFvl4Uq0w0MwiCBOb7/qTsd6GvVY537DXWas1Iw1AiNJnOgwJi+bXhAbE08OnvaXSIW0TvYw88eaF/uM/WNdju3m5r9TlhPBzVNNDoPGC/5tRma/GJ80xqjPPUjVuvP2narrMOWd1Jlv/E1fN782UiNPZf9C/qOKa+ndOz2j+cz046sn+6KrVOsODirpOxld0lUxmEBK/ktvGgFd2l6taBZn9BAtEz5xYIvAn4/8rFKkgstAyZ6Yf+S67ezlkiSU73XXRV6xqh93TyssR4JF75efBvymLdE03jgT/Wb5tutLWpGbTm7wHZxQQAT+yDuKLyHRIk4cnAZ4pfCF9/HvfR9uh3xBxtz00BANsVDylnac6wAICaHMiBmW5NRLy4trcq0MtZ3RnpHme5H9AvjYeCc1t3pzMJgOSVnyw4eHZUB9Kyu68iMFPpysSppab8UJVC3Rnp/pDlXqF7mnYsdKQbv7cr6fDGW/Zczbt6jgUtV6kIlFxuyg/tH+6zJXmlGe8G+mlzdsyB1j3pTAwZ9q3/Sspbc9tmDwD0H3UffXCFlyuTlFpnPRdYb612c5c8+idPCu6fCLDKUubzsf6fSaWm0wmO9hbvZU8fDR2zoZ97OuppAu0UJEDEmOISZohT6q7Gek5rD3GN6FEp1DaAYB7sdNYPXPao7anS1Fmrg402g7+jYhGIaOXOaQc+uONfmCwZXJIf8xKx2KRgxYgOS+CROuyoyQKCxIhkOr4T6JWgxGnvZ1HWnf/CfHcBXxcnpRHxYwRKkUjSErFKkAQiNjP4kmBRTHbKm5KkKxwL+K39fwDX1XGF8ct++QAAAABJRU5ErkJggg==");bottom:10px;left:15px}div.vis-network div.vis-navigation div.vis-button.vis-right{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob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HAox9CtGoXTwmS8IThZyXPB+29inuoE6bMsDM9ufEAMNHqJuU8ljMtAKA2B7IhzaWNiLfWjVQb3J10/SGuEZZ7Af1X7+lluZ3HkpgEQPL291M+qbzJgXQcG60ypKlVTGwsMxcFaJW6/hDXVZZvCz3RlrmRiQHwy9nRn2bM6bnas4cLfH6s1RIorsJcFDA2PToR7Z7QezfQD9qzwvI6TyTZC47ttXeiT+2c1+wBgOndoTPLt7mrmCRjvfULQ4O1xsVVchu7b9GysYUAqy3lnsdNb0aXmQuj7PYWL2etuRl6S0OfXLjiGQIdEY6K5esc2BWhjvkqXLO6x08VPKxV6iYAwuBkv5NpvNmtbrhaX2+tWdY70eVNINhtLW0/sjrv6B0/YdJlcGlR2AvE4hUlKwHQ7BU5cz8LRx0HaPY7gXb53L/67+mUfudPmP/twOWS6AQi/j6B4iWS/IlYK+yGYJDB1wWLErLRKd/omOJbAWf03wEAyO9m+/TtS3AAAAAASUVORK5CYII=");bottom:10px;left:95px}div.vis-network div.vis-navigation div.vis-button.vis-zoomIn{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOc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6wvHvk5ijVUiJSRrQZuURtfoGMuaCoRyfP/yMy0XykgAA0DPRTxNp31x2ZFuUYBgB7bK7HNdhpKz6WXq6oQCooKghMKhkgji77vBoA1jkXlAvVfRQjFMUcmxSkRWd6gpjeu32R2kxTvyhKh1DQeud8fFBh26zfOe0xuR4JgAbzywCoRSzfeDUKatJKUQK+CjKiHZ6nZ2xzBnU7B9vixTy7qCHSQEhJU3+DtdT6mAcAFiWUeP/xyPH3Jwrfo3XzysemRcEA8F5RY8h6aPE1WwMLQ4OQ/EBANHmdGWHlzZyxk3ayB0m771yGooYy+KE0l35x0iBxZehS6ie9R1PCMaDvCzWDXA4hZ283ptwcvp6qqDBnyao6AWEQrBQQ/7y+d3YoA+NBTAaElo973p8tVFCQyipW+c3pdNu7BwBOe+tm/eniK/kPFWowpMfvuKrzzw80zSKIkWsJe0bHYu163BNwMwDsv7G36ODNtzMnM5IWZfeQgscbisvLPl1aDhLTo7I8k+n/p+dw5pGeg0WKGiS31K6vvTdmA7nx9uDZ9A3xMUIpbvSezE6MSOmbNWXewHhD6dH23o7BlqQvvrwTK6KQFpXl2WyvcE6LTB2eCPSdrurvmcUnO/cVfPD6pMteyfGs3QKpUFQoS9tU/xPH8xe+Tdd693pN/pHug0Xmqntvz1uLDo9Z9v5nnrn+dvujrI1JMUJd3OY7n97ua46douOGpkdlDoUDeG7g1NS/u/5a0Og9scCsB+ysWXSoMuyFftWJvM0E31SBjmWPznHPjy+8NjdhYfeMmJl3EiNSRgCi/25fpGu4M671zjlrm685s2fEnUoQ5lrLLW8uPLj3oX9hqgxIw8n8X1LU7yMkItCHzREZrGQV6ONmy5TggHk247sL/1jFqof/hRn/AWfqC0pI+QHBIk3tICXRrFTpF8hlJaqefh6yFxQ6HwQYlK8HAKyt3WsWxl7fAAAAAElFTkSuQmCC");bottom:10px;right:15px}div.vis-network div.vis-navigation div.vis-button.vis-zoomOut{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAA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uPjhmWKN8G8Fvnw1A/zmX/vV5h/T+CXstRMUp4kOFOjZiUlWBkFQYdALitRZXRzf3RqWumdgF79NQDBOa2V/iYSHAAAAABJRU5ErkJggg==");bottom:10px;right:55px}div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABh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fu7qjqdU9Mj7mlpcVD0tvS0uKxWCyVANB5rS3x8s3BFEUFgTTLtuZndQHLBMSfB6pyZtfqMDQ3NzfqTcJisficTqc3BI+8bxh9L8corarM3fnDoIT+rACAU/7m7MOfHbCEwQDQ2Njo6erqinqTOHfuXNjjiI23+ystZ8c7smmkWgVJcN++fRARfLDhlacEUqVEQ1nm77xPrHjSh/+Djo3WmN/s/6OHEOgIPr2h63tVuq5Dud1ukETWoK3zorkzTiiONn/TKlNM4lj24m+Pf13o2wOVHqGA5MsAXjKPrDaqnMvlQnjTzhy0Nlw0d5oI5p3yN62amrk+ve5B5+hXgb47WGX52+V3NgoFOvQKAGUkkTqcbZy5XC7XHYf4zEFr3aXU7jih5uidPPOtvsmzixZr8VMrHjBHddLsHj+Z9Fb/n9a1+T/JDaXey0IpEzEKkHnU8Jj79++PeEwSSimQRGP+Gz8j5DVFBVKQtjBj6JGlNt/D8Y+OpMdlTphiEqcB4tqtsVjfjUtLLkx0J/dOnjWPTg+lEARIEHwaQJVQIYggACC/qxi6rn8ZHL4XETSsf0MU1HOk/CFGYgAwskUqY5eBitRxzn7/a0V1EEBwdqkN6jPI7y4xPmHmC5unbWdQRMqP2d86qANOksU6gvmArNQRNClqABnQgYuK0krI+wCOAyH3DK/vqOXhaf3PAO7mIRjDNV25AAAAAElFTkSuQmCC");bottom:50px;right:15px}';function H(t){H.installed||(H.installed=!0,t.component(f.name,f),t.component(j.name,j),t.component(Graph2D.name,k))}N(F);const B={install:H};let z=null;"undefined"!==typeof window?z=window.Vue:"undefined"!==typeof t&&(z=t.Vue),z&&z.use(B)}).call(this,i("c8ba"))},"13e9":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,i){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e}))},1148:function(t,e,i){"use strict";var n=i("a691"),o=i("1d80");t.exports=function(t){var e=String(o(this)),i="",s=n(t);if(s<0||s==1/0)throw RangeError("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(i+=e);return i}},1182:function(t,e,i){"use strict";i.r(e);var n=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n1||"".split(/.?/).length?function(t,i){var n=String(r(this)),s=void 0===i?I:i>>>0;if(0===s)return[];if(void 0===t)return[n];if(!o(t))return e.call(n,t,s);var a,g,d,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),u=0,C=new RegExp(t.source,h+"g");while(a=c.call(C,n)){if(g=C.lastIndex,g>u&&(l.push(n.slice(u,a.index)),a.length>1&&a.index=s))break;C.lastIndex===a.index&&C.lastIndex++}return u===n.length?!d&&C.test("")||l.push(""):l.push(n.slice(u)),l.length>s?l.slice(0,s):l}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var o=r(this),s=void 0==e?void 0:e[t];return void 0!==s?s.call(e,o,i):n.call(String(o),e,i)},function(t,o){var r=i(n,t,this,o,n!==e);if(r.done)return r.value;var c=s(t),h=String(this),A=a(c,RegExp),p=c.unicode,f=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(u?"g":"y"),m=new A(u?"^(?:"+c.source+")":c,f),v=void 0===o?I:o>>>0;if(0===v)return[];if(0===h.length)return null===l(m,h)?[h]:[];var b=0,y=0,_=[];while(y79&&r<83;n({target:"Array",proto:!0,forced:!g||d},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"13d9":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return f}));var n=i("7079"),o=i("f726"),s=i("151b");const r=(t,e)=>t.filter(t=>-1===e.indexOf(t)),a=(t,e)=>{let i=t[e];if(!(t[e]instanceof o["a"]||t[e]instanceof o["b"])){i=new o["a"](t[e]),i.on("*",(i,n,o)=>t.$emit(`${e}-${i}`,{event:i,properties:n,senderId:o}));const n=i=>{if(Array.isArray(i)){const n=new o["a"](i).getIds(),s=r(t.visData[e].getIds(),n);t.visData[e].update(i),t.visData[e].remove(s)}};t.$watch(e,n,{deep:!0})}return t.$emit(e+"-mounted",i),i},g=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var d={name:"timeline",props:{groups:{type:[Array,o["a"],o["b"]],default:()=>[]},items:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","contextmenu","currentTimeTick","doubleClick","drop","mouseOver","mouseDown","mouseUp","mouseMove","groupDragged","changed","rangechange","rangechanged","select","itemover","itemout","timechange","timechanged","markerchange","markerchanged"]},selection:{type:[Array,String],default:()=>[]},options:{type:Object}},data:()=>({visData:{items:null,groups:null}}),watch:{options:{deep:!0,handler(){this.timeline.setOptions(this.options)}},selection:{deep:!1,handler(t){this.timeline.setSelection(t)}}},methods:{addCustomTime(t,e){return this.timeline.addCustomTime(t,e)},destroy(){this.timeline.destroy()},fit(){this.timeline.fit()},focus(t,e){this.timeline.focus(t,e)},getCurrentTime(){return this.timeline.getCurrentTime()},getCustomTime(t){return this.timeline.getCustomTime(t)},getEventProperties(t){return this.timeline.getEventProperties(t)},getItemRange(){return this.timeline.getItemRange()},getSelection(){return this.timeline.getSelection()},getVisibleItems(){return this.timeline.getVisibleItems()},getWindow(){return this.timeline.getWindow()},moveTo(t,e){this.timeline.moveTo(t,e)},on(t,e){this.timeline.on(t,e)},off(t,e){this.timeline.off(t,e)},redraw(){this.timeline.redraw()},removeCustomTime(t){this.timeline.removeCustomTime(t)},setCurrentTime(t){this.timeline.setCurrentTime(t)},setCustomTime(t,e){this.timeline.setCustomTime(t,e)},setCustomTimeTitle(t,e){this.timeline.setCustomTimeTitle(t,e)},setCustomTimeMarker(t,e,i){this.timeline.setCustomTimeMarker(t,e,i)},setData(t){this.timeline.setData(t)},setGroups(t){this.timeline.setGroups(t)},setItems(t){this.timeline.setItems(t)},setOptions(t){this.timeline.setOptions(t)},setSelection(t,e){this.timeline.setSelection(t,e)},setWindow(t,e,i,n){this.timeline.setWindow(t,e,i,n)},toggleRollingMode(){this.timeline.toggleRollingMode()},zoomIn(t,e,i){this.timeline.zoomIn(t,e,i)},zoomOut(t,e,i){this.timeline.zoomOut(t,e,i)}},mounted(){const t=this.$refs.visualization;this.visData.items=a(this,"items"),this.groups&&this.groups.length>0?(this.visData.groups=a(this,"groups"),this.timeline=new n["b"](t,this.visData.items,this.visData.groups,this.options)):this.timeline=new n["b"](t,this.visData.items,this.options),this.events.forEach(t=>this.timeline.on(t,e=>this.$emit(g(t),e)))},created(){this.timeline=null},beforeDestroy(){this.timeline.destroy()}};function l(t,e,i,n,o,s,r,a,g,d){"boolean"!==typeof r&&(g=a,a=r,r=!1);const l="function"===typeof i?i.options:i;let c;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),n&&(l._scopeId=n),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,g(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):e&&(c=r?function(t){e.call(this,d(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(l.functional){const t=l.render;l.render=function(e,i){return c.call(i),t(e,i)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,c):[c]}return i}const c=d;var h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},u=[];const A=void 0,C=void 0,I=void 0,p=!1,f=l({render:h,staticRenderFns:u},A,c,C,p,I,!1,void 0,void 0,void 0);var m={name:"graph2d",props:{groups:{type:[Array,o["a"],o["b"]],default:()=>[]},items:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","contextmenu","currentTimeTick","doubleClick","changed","rangechange","rangechanged","timechange","timechanged"]},options:{type:Object}},data:()=>({visData:{items:null,groups:null}}),watch:{options:{deep:!0,handler(t){this.graph2d.setOptions(t)}}},methods:{destroy(){this.graph2d.destroy()},fit(){this.graph2d.fit()},getCurrentTime(){return this.graph2d.getCurrentTime()},getCustomTime(){return this.graph2d.getCustomTime()},getDataRange(){return this.graph2d.getDataRange()},getEventProperties(t){return this.graph2d.getEventProperties(t)},getLegend(t,e,i){return this.graph2d.getLegend(t,e,i)},getWindow(){return this.graph2d.getWindow()},isGroupVisible(t){return this.graph2d.isGroupVisible(t)},moveTo(t,e){this.graph2d.moveTo(t,e)},on(t,e){this.graph2d.on(t,e)},off(t,e){this.graph2d.off(t,e)},redraw(){this.graph2d.redraw()},setCurrentTime(t){this.graph2d.setCurrentTime(t)},setCustomTime(t){this.graph2d.setCustomTime(t)},setGroups(t){this.graph2d.setGroups(t)},setItems(t){this.graph2d.setItems(t)},setOptions(t){this.graph2d.setOptions(t)},setWindow(t,e){this.graph2d.setWindow(t,e)}},mounted(){const t=this.$refs.visualization;this.visData.items=a(this,"items"),this.visData.groups=a(this,"groups"),this.graph2d=new n["a"](t,this.visData.items,this.visData.groups,this.options),this.events.forEach(t=>this.graph2d.on(t,e=>this.$emit(g(t),e)))},created(){this.graph2d=null},beforeDestroy(){this.graph2d.destroy()}};const v=m;var b=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},y=[];const _=void 0,w=void 0,M=void 0,x=!1,k=l({render:b,staticRenderFns:y},_,v,w,x,M,!1,void 0,void 0,void 0);var D={name:"network",props:{edges:{type:[Array,o["a"],o["b"]],default:()=>[]},nodes:{type:[Array,o["a"],o["b"]],default:()=>[]},events:{type:Array,default:()=>["click","doubleClick","oncontext","hold","release","select","selectNode","selectEdge","deselectNode","deselectEdge","dragStart","dragging","dragEnd","hoverNode","blurNode","hoverEdge","blurEdge","zoom","showPopup","hidePopup","startStabilizing","stabilizationProgress","stabilizationIterationsDone","stabilized","resize","initRedraw","beforeDrawing","afterDrawing","animationFinished","configChange"]},options:{type:Object,default:()=>({})}},data:()=>({visData:{nodes:null,edges:null}}),computed:{dsNodes(){return new o["a"](this.nodes)}},watch:{options:{deep:!0,handler(t){this.network.setOptions(t)}}},methods:{setData(t,e){this.visData.nodes=Array.isArray(t)?new o["a"](t):t,this.visData.edges=Array.isArray(e)?new o["a"](e):e,this.network.setData(this.visData)},destroy(){this.network.destroy()},getNode(t){return this.visData.nodes.get(t)},getEdge(t){return this.visData.edges.get(t)},setOptions(t){this.network.setOptions(t)},on(t,e){this.network.on(t,e)},off(t,e){this.network.off(t,e)},once(t,e){this.network.once(t,e)},canvasToDom(t){return this.network.canvasToDOM(t)},domToCanvas(t){return this.network.DOMtoCanvas(t)},redraw(){this.network.redraw()},setSize(t,e){this.network.setSize(t,e)},cluster(t){this.network.cluster(t)},clusterByConnection(t,e){this.network.clusterByConnection(t,e)},clusterByHubsize(t,e){this.network.clusterByHubsize(t,e)},clusterOutliers(t){this.network.clusterOutliers(t)},findNode(t){return this.network.findNode(t)},getClusteredEdges(t){return this.network.clustering.getClusteredEdges(t)},getBaseEdge(t){return this.network.clustering.getBaseEdge(t)},getBaseEdges(t){return this.network.clustering.getBaseEdges(t)},updateEdge(t,e){this.network.clustering.updateEdge(t,e)},updateClusteredNode(t,e){this.network.clustering.updateClusteredNode(t,e)},isCluster(t){return this.network.isCluster(t)},getNodesInCluster(t){return this.network.getNodesInCluster(t)},openCluster(t,e){this.network.openCluster(t,e)},getSeed(){return this.network.getSeed()},enableEditMode(){this.network.enableEditMode()},disableEditMode(){this.network.disableEditMode()},addNodeMode(){this.network.addNodeMode()},editNode(){this.network.editNode()},addEdgeMode(){this.network.addEdgeMode()},editEdgeMode(){this.network.editEdgeMode()},deleteSelected(){this.network.deleteSelected()},getPositions(t){return this.network.getPositions(t)},storePositions(){this.network.storePositions()},moveNode(t,e,i){this.network.moveNode(t,e,i)},getBoundingBox(t){return this.network.getBoundingBox(t)},getConnectedNodes(t,e){return this.network.getConnectedNodes(t,e)},getConnectedEdges(t){return this.network.getConnectedEdges(t)},startSimulation(){this.network.startSimulation()},stopSimulation(){this.network.stopSimulation()},stabilize(t){this.network.stabilize(t)},getSelection(){return this.network.getSelection()},getSelectedNodes(){return this.network.getSelectedNodes()},getSelectedEdges(){return this.network.getSelectedEdges()},getNodeAt(t){return this.network.getNodeAt(t)},getEdgeAt(t){return this.network.getEdgeAt(t)},selectNodes(t,e){this.network.selectNodes(t,e)},selectEdges(t){this.network.selectEdges(t)},setSelection(t,e){this.network.setSelection(t,e)},unselectAll(){this.network.unselectAll()},getScale(){return this.network.getScale()},getViewPosition(){return this.network.getViewPosition()},fit(t){this.network.fit(t)},focus(t,e){this.network.focus(t,e)},moveTo(t){this.network.moveTo(t)},releaseNode(){this.network.releaseNode()},getOptionsFromConfigurator(){return this.network.getOptionsFromConfigurator()}},created(){this.network=null},mounted(){const t=this.$refs.visualization;this.visData.nodes=a(this,"nodes"),this.visData.edges=a(this,"edges"),this.network=new s["a"](t,this.visData,this.options),this.events.forEach(t=>this.network.on(t,e=>this.$emit(g(t),e)))},beforeDestroy(){this.network.destroy()}};const T=D;var L=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"visualization"})},O=[];const S=void 0,Y=void 0,E=void 0,P=!1,j=l({render:L,staticRenderFns:O},S,T,Y,P,E,!1,void 0,void 0,void 0);function N(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var R='.vis [class*=span]{min-height:0;width:auto}.vis-panel{position:absolute;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right,.vis-panel.vis-top{border:1px #bfbfbf}.vis-panel.vis-center,.vis-panel.vis-left,.vis-panel.vis-right{border-top-style:solid;border-bottom-style:solid;overflow:hidden}.vis-left.vis-panel.vis-vertical-scroll,.vis-right.vis-panel.vis-vertical-scroll{height:100%;overflow-x:hidden;overflow-y:scroll}.vis-left.vis-panel.vis-vertical-scroll{direction:rtl}.vis-left.vis-panel.vis-vertical-scroll .vis-content,.vis-right.vis-panel.vis-vertical-scroll{direction:ltr}.vis-right.vis-panel.vis-vertical-scroll .vis-content{direction:rtl}.vis-panel.vis-bottom,.vis-panel.vis-center,.vis-panel.vis-top{border-left-style:solid;border-right-style:solid}.vis-background{overflow:hidden}.vis-panel>.vis-content{position:relative}.vis-panel .vis-shadow{position:absolute;width:100%;height:1px;-webkit-box-shadow:0 0 10px rgba(0,0,0,.8);box-shadow:0 0 10px rgba(0,0,0,.8)}.vis-panel .vis-shadow.vis-top{top:-1px;left:0}.vis-panel .vis-shadow.vis-bottom{bottom:-1px;left:0}.vis-timeline{position:relative;border:1px solid #bfbfbf;overflow:hidden;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-loading-screen{width:100%;height:100%;position:absolute;top:0;left:0}.vis-graph-group0{fill:#4f81bd;fill-opacity:0;stroke-width:2px;stroke:#4f81bd}.vis-graph-group1{fill:#f79646;fill-opacity:0;stroke-width:2px;stroke:#f79646}.vis-graph-group2{fill:#8c51cf;fill-opacity:0;stroke-width:2px;stroke:#8c51cf}.vis-graph-group3{fill:#75c841;fill-opacity:0;stroke-width:2px;stroke:#75c841}.vis-graph-group4{fill:#ff0100;fill-opacity:0;stroke-width:2px;stroke:#ff0100}.vis-graph-group5{fill:#37d8e6;fill-opacity:0;stroke-width:2px;stroke:#37d8e6}.vis-graph-group6{fill:#042662;fill-opacity:0;stroke-width:2px;stroke:#042662}.vis-graph-group7{fill:#00ff26;fill-opacity:0;stroke-width:2px;stroke:#00ff26}.vis-graph-group8{fill:#f0f;fill-opacity:0;stroke-width:2px;stroke:#f0f}.vis-graph-group9{fill:#8f3938;fill-opacity:0;stroke-width:2px;stroke:#8f3938}.vis-timeline .vis-fill{fill-opacity:.1;stroke:none}.vis-timeline .vis-bar{fill-opacity:.5;stroke-width:1px}.vis-timeline .vis-point{stroke-width:2px;fill-opacity:1}.vis-timeline .vis-legend-background{stroke-width:1px;fill-opacity:.9;fill:#fff;stroke:#c2c2c2}.vis-timeline .vis-outline{stroke-width:1px;fill-opacity:1;fill:#fff;stroke:#e5e5e5}.vis-timeline .vis-icon-fill{fill-opacity:.3;stroke:none}.vis-current-time{background-color:#ff7f6e;width:2px;z-index:1;pointer-events:none}.vis-rolling-mode-btn{height:40px;width:40px;position:absolute;top:7px;right:20px;border-radius:50%;font-size:28px;cursor:pointer;opacity:.8;color:#fff;font-weight:700;text-align:center;background:#3876c2}.vis-rolling-mode-btn:before{content:"\\26F6"}.vis-rolling-mode-btn:hover{opacity:1}div.vis-configuration{position:relative;display:block;float:left;font-size:12px}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{display:block;width:495px;background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;margin-top:20px;left:10px;padding-left:5px}div.vis-configuration.vis-config-button{display:block;width:495px;height:25px;vertical-align:middle;line-height:25px;background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;margin-top:20px;left:10px;padding-left:5px;cursor:pointer;margin-bottom:30px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;width:495px;height:25px;vertical-align:middle;line-height:25px}div.vis-configuration.vis-config-item.vis-config-s2{left:10px;background-color:#f7f8fa;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s3{left:20px;background-color:#e4e9f0;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s4{left:30px;background-color:#cfd8e6;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{width:120px;height:25px;line-height:25px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{top:1px;width:30px;height:19px;border:1px solid #444;border-radius:2px;padding:0;margin:0;cursor:pointer}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{position:relative;top:-5px;width:60px;padding:1px;margin:0;pointer-events:none}input.vis-configuration.vis-config-range{-webkit-appearance:none;border:0 solid #fff;background-color:transparent;width:300px;height:20px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{width:300px;height:5px;background:#dedede;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #dedede),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;-webkit-box-shadow:0 0 3px 0 #aaa;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #14334b;height:17px;width:17px;border-radius:50%;background:#3876c2;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #3876c2),to(#385380));background:linear-gradient(180deg,#3876c2 0,#385380);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);-webkit-box-shadow:0 0 1px 0 #111927;box-shadow:0 0 1px 0 #111927;margin-top:-7px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #9d9d9d),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{width:300px;height:10px;background:#dedede;background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{width:300px;height:5px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{position:absolute;background:rgba(57,76,89,.85);border:2px solid #f2faff;line-height:30px;height:30px;width:150px;text-align:center;color:#fff;font-size:14px;border-radius:4px;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vis-configuration-popup:after,.vis-configuration-popup:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}.vis .overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.vis-active{-webkit-box-shadow:0 0 10px #86d5f8;box-shadow:0 0 10px #86d5f8}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal{position:absolute;width:100%;height:0;border-bottom:1px solid}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor{border-color:#e5e5e5}.vis-panel.vis-background.vis-horizontal .vis-grid.vis-major{border-color:#bfbfbf}.vis-data-axis .vis-y-axis.vis-major{width:100%;position:absolute;color:#4d4d4d;white-space:nowrap}.vis-data-axis .vis-y-axis.vis-major.vis-measure{padding:0;margin:0;border:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-minor{position:absolute;width:100%;color:#bebebe;white-space:nowrap}.vis-data-axis .vis-y-axis.vis-minor.vis-measure{padding:0;margin:0;border:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title{position:absolute;color:#4d4d4d;white-space:nowrap;bottom:20px;text-align:center}.vis-data-axis .vis-y-axis.vis-title.vis-measure{padding:0;margin:0;visibility:hidden;width:auto}.vis-data-axis .vis-y-axis.vis-title.vis-left{bottom:0;-webkit-transform-origin:left top;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.vis-data-axis .vis-y-axis.vis-title.vis-right{bottom:0;-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vis-legend{background-color:rgba(247,252,255,.65);padding:5px;border:1px solid #b3b3b3;-webkit-box-shadow:2px 2px 10px hsla(0,0%,60.4%,.55);box-shadow:2px 2px 10px hsla(0,0%,60.4%,.55)}.vis-legend-text{white-space:nowrap;display:inline-block}.vis-time-axis{position:relative;overflow:hidden}.vis-time-axis.vis-foreground{top:0;left:0;width:100%}.vis-time-axis.vis-background{position:absolute;top:0;left:0;width:100%;height:100%}.vis-time-axis .vis-text{position:absolute;color:#4d4d4d;padding:3px;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap}.vis-time-axis .vis-text.vis-measure{position:absolute;padding-left:0;padding-right:0;margin-left:0;margin-right:0;visibility:hidden}.vis-time-axis .vis-grid.vis-vertical{position:absolute;border-left:1px solid}.vis-time-axis .vis-grid.vis-vertical-rtl{position:absolute;border-right:1px solid}.vis-time-axis .vis-grid.vis-minor{border-color:#e5e5e5}.vis-time-axis .vis-grid.vis-major{border-color:#bfbfbf}.vis-custom-time{background-color:#6e94ff;width:2px;cursor:move;z-index:1}.vis-custom-time>.vis-custom-time-marker{background-color:inherit;color:#fff;font-size:12px;white-space:nowrap;padding:3px 5px;top:0;cursor:auto;z-index:inherit}.vis-itemset{position:relative;padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-itemset .vis-background,.vis-itemset .vis-foreground{position:absolute;width:100%;height:100%;overflow:visible}.vis-axis{position:absolute;width:100%;height:0;left:0;z-index:1}.vis-foreground .vis-group{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #bfbfbf}.vis-foreground .vis-group:last-child{border-bottom:none}.vis-nesting-group{cursor:pointer}.vis-label.vis-nested-group.vis-group-level-unknown-but-gte1{background:#f5f5f5}.vis-label.vis-nested-group.vis-group-level-0{background-color:#fff}.vis-ltr .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-left:0}.vis-rtl .vis-label.vis-nested-group.vis-group-level-0 .vis-inner{padding-right:0}.vis-label.vis-nested-group.vis-group-level-1{background-color:rgba(0,0,0,.05)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-left:15px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-1 .vis-inner{padding-right:15px}.vis-label.vis-nested-group.vis-group-level-2{background-color:rgba(0,0,0,.1)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-left:30px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-2 .vis-inner{padding-right:30px}.vis-label.vis-nested-group.vis-group-level-3{background-color:rgba(0,0,0,.15)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-left:45px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-3 .vis-inner{padding-right:45px}.vis-label.vis-nested-group.vis-group-level-4{background-color:rgba(0,0,0,.2)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-left:60px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-4 .vis-inner{padding-right:60px}.vis-label.vis-nested-group.vis-group-level-5{background-color:rgba(0,0,0,.25)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-left:75px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-5 .vis-inner{padding-right:75px}.vis-label.vis-nested-group.vis-group-level-6{background-color:rgba(0,0,0,.3)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-left:90px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-6 .vis-inner{padding-right:90px}.vis-label.vis-nested-group.vis-group-level-7{background-color:rgba(0,0,0,.35)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-left:105px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-7 .vis-inner{padding-right:105px}.vis-label.vis-nested-group.vis-group-level-8{background-color:rgba(0,0,0,.4)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-left:120px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-8 .vis-inner{padding-right:120px}.vis-label.vis-nested-group.vis-group-level-9{background-color:rgba(0,0,0,.45)}.vis-ltr .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-left:135px}.vis-rtl .vis-label.vis-nested-group.vis-group-level-9 .vis-inner{padding-right:135px}.vis-label.vis-nested-group{background-color:rgba(0,0,0,.5)}.vis-ltr .vis-label.vis-nested-group .vis-inner{padding-left:150px}.vis-rtl .vis-label.vis-nested-group .vis-inner{padding-right:150px}.vis-group-level-unknown-but-gte1{border:1px solid red}.vis-label.vis-nesting-group:before{display:inline-block;width:15px}.vis-label.vis-nesting-group.expanded:before{content:"\\25BC"}.vis-label.vis-nesting-group.collapsed:before{content:"\\25B6"}.vis-rtl .vis-label.vis-nesting-group.collapsed:before{content:"\\25C0"}.vis-ltr .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-left:15px}.vis-rtl .vis-label:not(.vis-nesting-group):not(.vis-group-level-0){padding-right:15px}.vis-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10}.vis-labelset{overflow:hidden}.vis-labelset,.vis-labelset .vis-label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-labelset .vis-label{left:0;top:0;width:100%;color:#4d4d4d;border-bottom:1px solid #bfbfbf}.vis-labelset .vis-label.draggable{cursor:pointer}.vis-group-is-dragging{background:rgba(0,0,0,.1)}.vis-labelset .vis-label:last-child{border-bottom:none}.vis-labelset .vis-label .vis-inner{display:inline-block;padding:5px}.vis-labelset .vis-label .vis-inner.vis-hidden{padding:0}div.vis-tooltip{position:absolute;visibility:hidden;padding:5px;white-space:nowrap;font-family:verdana;font-size:14px;color:#000;background-color:#f5f4ed;border-radius:3px;border:1px solid #808074;-webkit-box-shadow:3px 3px 10px rgba(0,0,0,.2);box-shadow:3px 3px 10px rgba(0,0,0,.2);pointer-events:none;z-index:5}.vis-item{position:absolute;color:#1a1a1a;border-color:#97b0f8;border-width:1px;background-color:#d5ddf6;display:inline-block;z-index:1}.vis-item.vis-selected{border-color:#ffc200;background-color:#fff785;z-index:2}.vis-editable.vis-selected{cursor:move}.vis-item.vis-point.vis-selected{background-color:#fff785}.vis-item.vis-box{text-align:center;border-style:solid;border-radius:2px}.vis-item.vis-point{background:none}.vis-item.vis-dot{position:absolute;padding:0;border-width:4px;border-style:solid;border-radius:4px}.vis-item.vis-range{border-style:solid;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.vis-item.vis-background{border:none;background-color:rgba(213,221,246,.4);-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;margin:0}.vis-item .vis-item-overflow{position:relative;width:100%;height:100%;padding:0;margin:0;overflow:hidden}.vis-item-visible-frame{white-space:nowrap}.vis-item.vis-range .vis-item-content{position:relative;display:inline-block}.vis-item.vis-background .vis-item-content{position:absolute;display:inline-block}.vis-item.vis-line{padding:0;position:absolute;width:0;border-left-width:1px;border-left-style:solid}.vis-item .vis-item-content{white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px}.vis-item .vis-onUpdateTime-tooltip{position:absolute;background:#4f81bd;color:#fff;width:200px;text-align:center;white-space:nowrap;padding:5px;border-radius:1px;transition:.4s;-o-transition:.4s;-moz-transition:.4s;-webkit-transition:.4s}.vis-item .vis-delete,.vis-item .vis-delete-rtl{position:absolute;top:0;width:24px;height:24px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 5px;cursor:pointer;-webkit-transition:background .2s linear;transition:background .2s linear}.vis-item .vis-delete{right:-24px}.vis-item .vis-delete-rtl{left:-24px}.vis-item .vis-delete-rtl:after,.vis-item .vis-delete:after{content:"\\00D7";color:red;font-family:arial,sans-serif;font-size:22px;font-weight:700;-webkit-transition:color .2s linear;transition:color .2s linear}.vis-item .vis-delete-rtl:hover,.vis-item .vis-delete:hover{background:red}.vis-item .vis-delete-rtl:hover:after,.vis-item .vis-delete:hover:after{color:#fff}.vis-item .vis-drag-center{position:absolute;width:100%;height:100%;top:0;left:0;cursor:move}.vis-item.vis-range .vis-drag-left{left:-4px;cursor:w-resize}.vis-item.vis-range .vis-drag-left,.vis-item.vis-range .vis-drag-right{position:absolute;width:24px;max-width:20%;min-width:2px;height:100%;top:0}.vis-item.vis-range .vis-drag-right{right:-4px;cursor:e-resize}.vis-range.vis-item.vis-readonly .vis-drag-left,.vis-range.vis-item.vis-readonly .vis-drag-right{cursor:auto}.vis-item.vis-cluster{vertical-align:center;text-align:center;border-style:solid;border-radius:2px}.vis-item.vis-cluster-line{padding:0;position:absolute;width:0;border-left-width:1px;border-left-style:solid}.vis-item.vis-cluster-dot{position:absolute;padding:0;border-width:4px;border-style:solid;border-radius:4px}';N(R);var F='div.vis-configuration{position:relative;display:block;float:left;font-size:12px}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{display:block;width:495px;background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;margin-top:20px;left:10px;padding-left:5px}div.vis-configuration.vis-config-button{display:block;width:495px;height:25px;vertical-align:middle;line-height:25px;background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;margin-top:20px;left:10px;padding-left:5px;cursor:pointer;margin-bottom:30px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;width:495px;height:25px;vertical-align:middle;line-height:25px}div.vis-configuration.vis-config-item.vis-config-s2{left:10px;background-color:#f7f8fa;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s3{left:20px;background-color:#e4e9f0;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s4{left:30px;background-color:#cfd8e6;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{width:120px;height:25px;line-height:25px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{top:1px;width:30px;height:19px;border:1px solid #444;border-radius:2px;padding:0;margin:0;cursor:pointer}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{position:relative;top:-5px;width:60px;padding:1px;margin:0;pointer-events:none}input.vis-configuration.vis-config-range{-webkit-appearance:none;border:0 solid #fff;background-color:transparent;width:300px;height:20px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{width:300px;height:5px;background:#dedede;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #dedede),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;-webkit-box-shadow:0 0 3px 0 #aaa;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #14334b;height:17px;width:17px;border-radius:50%;background:#3876c2;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #3876c2),to(#385380));background:linear-gradient(180deg,#3876c2 0,#385380);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);-webkit-box-shadow:0 0 1px 0 #111927;box-shadow:0 0 1px 0 #111927;margin-top:-7px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #9d9d9d),color-stop(99%, #c8c8c8));background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{width:300px;height:10px;background:#dedede;background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{width:300px;height:5px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{position:absolute;background:rgba(57,76,89,.85);border:2px solid #f2faff;line-height:30px;height:30px;width:150px;text-align:center;color:#fff;font-size:14px;border-radius:4px;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vis-configuration-popup:after,.vis-configuration-popup:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}.vis-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10}.vis-active{-webkit-box-shadow:0 0 10px #86d5f8;box-shadow:0 0 10px #86d5f8}div.vis-network div.vis-manipulation{-webkit-box-sizing:content-box;box-sizing:content-box;border:0 solid #d6d9d8;border-bottom:1px;background:#fff;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #fff),color-stop(48%, #fcfcfc),color-stop(50%, #fafafa),to(#fcfcfc));background:linear-gradient(180deg,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#fcfcfc",GradientType=0);padding-top:4px;position:absolute;left:0;top:0;width:100%;height:28px}div.vis-network div.vis-edit-mode{position:absolute;left:0;top:5px;height:30px}div.vis-network div.vis-close{position:absolute;right:0;top:0;width:30px;height:30px;background-position:20px 3px;background-repeat:no-repeat;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5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AgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+cZUZMwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAA2ElEQVR42gDLADT/AS0tLUQFBQUVFxcXtPHx8fPl5eUNCAgITCkpKesEHx8fGgYGBjH+/v4a+Pj4qgQEBFU6OjodMTExzwQUFBSvEBAQEfX19SD19fVqNDQ0CElJSd/9/f2vAwEBAfrn5+fkBwcHLRYWFgsXFxfz29vbo9LS0uwDDQ0NDfPz81orKysXIyMj+ODg4Avh4eEa/f391gMkJCRYPz8/KUhISOMCAgKh8fHxHRsbGx4UFBQQBDk5OeY7Ozv7CAgItPb29vMEBASaJSUlTQ0NDesDAEwpT0Ko8Ri2AAAAAElFTkSuQmCC");cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-close:hover{opacity:.6}div.vis-network div.vis-edit-mode div.vis-button,div.vis-network div.vis-manipulation div.vis-button{float:left;font-family:verdana;font-size:12px;border-radius:15px;display:inline-block;background-position:0 0;background-repeat:no-repeat;height:24px;margin-left:10px;cursor:pointer;padding:0 8px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-manipulation div.vis-button:hover{-webkit-box-shadow:1px 1px 8px rgba(0,0,0,.2);box-shadow:1px 1px 8px rgba(0,0,0,.2)}div.vis-network div.vis-manipulation div.vis-button:active{-webkit-box-shadow:1px 1px 8px rgba(0,0,0,.5);box-shadow:1px 1px 8px rgba(0,0,0,.5)}div.vis-network div.vis-manipulation div.vis-button.vis-back{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDI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klDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4jq1U/AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAVTSURBVHjanFVfTFNnFP+d77ve8qeVFbBrpcVgRrCRFikFByLxwSAaE32oRCHD6JMxxhhn8G2RxxH3MsOTbyYsmCAxPMmMMYtkIUYmK60OO0qAK23BFlNob0uh3x7WS5jLZPpLbm6+k/P9zrm5v9855PF4UFhYCABgjIExBgAgIqRSqRIi6gDQRkQ1RGTB3wgR0e8AHgH4Sa/XR/EBiAiJRAJ04cIF5Ofng4g2n0gkUkxENwF0c843LzHGQEQQQkCLExEA9ALotVgsUQAQQmgNQhJCbF5kjCEUCl0moj4t5na7fTU1NUpVVVXUYrEkASAcDhe8efOmxOfzWScmJqoBdBNR99LS0hWz2dynNSSEAF28eBGFhYVgjCEcDn9HRD1EhIMHD3o9Hs9kWVlZAh9BKBQqGB4edr58+dKZ+6JbJpOpBwBWV1fB6+rqIMsyIpHIFcZYL2MMra2tY5cuXRrfuXNnBtvAYDBk3G63oqpqZm5uzgrgSDKZjBoMhueZTAbc5XIhFouVEtFTxhiOHTs2dv78eS8+Efv374+oqpqZnZ21cs5PJJPJPlmWkyynnBuMMTQ0NHi7uro+mVyDx+Pxulwu71ZOlkqlSonoJh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vLy+VCiKuSJH0rSdLmztZytIWv5RPRD0T0Y3Fx8dzWfby6ugopHo//w4mcc8iyPMc5v5FOp7/PZrOdQohWInIC2C2EgBBigYi8Qoifs9lsv06nWyIiaFxagXg8jr8GAGxuIe7LBeWhAAAAAElFTkSuQmCC")}div.vis-network div.vis-manipulation div.vis-button.vis-none:hover{-webkit-box-shadow:1px 1px 8px transparent;box-shadow:1px 1px 8px transparent;cursor:default}div.vis-network div.vis-manipulation div.vis-button.vis-none:active{-webkit-box-shadow:1px 1px 8px transparent;box-shadow:1px 1px 8px transparent}div.vis-network div.vis-manipulation div.vis-button.vis-none{padding:0}div.vis-network div.vis-manipulation div.notification{margin:2px;font-weight:700}div.vis-network div.vis-manipulation div.vis-button.vis-add{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAo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lc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5WKqp9AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYXSURBVHjafFZtUFTXGX7e9z27sveuMCwYV8ElrA7YSFYHtJUPkaaI0aRqG8wP00zUzljDINNSA/2ROtpO24SxnahlxjYd7SSjmUkymcxYlDhQPzHGisEVp8HwYWCVVVgEsrsuLnL74+5uqTF9Z+7cO/d8PO95zvO851BlZSV0XQcAMDOYGQBARDhX3JRmMDYZwLPMWAzGHACYIgwS46oBNBNwtOL8CwE8EkSEUCgE2rJlC2w2G4go8Zwo/bMDgnoG6gxLfAAAYvPDMCCszKTAMIAGAhrWnf15AAAMwwARIRKJgDZv3gy73Q4iAjPjxIr9VVOMRhbAYKB8zvrO0llrfEsdKwLZek6YAPSFvtSu3GtLawu0ZJ6625SHGBQB1T88t6MxvopgMAjaunUrdF0HM+P4yv27DMYeJmB1RqW3Jnf3tQX2p0L4P9EXuqEd7PmDp+XuMU9sRbvXnnt1TxxACgoKYLVacbzsQDUJGkSATe6qi28uPtzusM6Kxie6NHLGUX3lxVUNX9StPHnn4wy3njuUYcu6n2pNi66avcEXnByP/nv8aiaIyrqz2gO5A9+9FI1GIfn5+WhZdTAdjFMkwMvZOy7uWnTAOz3L4Yk71m3t69fdfTDoUGTBeHTUfiHQ6lo7Z2OXJvpDAChKe+aOCdKRKWxZ2+1qb3yyd3GYmRkQ7GQBVs99wfv6on3eR2k4PdTkDEbH7IuS8/svld/561PJS/pDk1/bzwx94pze7xc5v/H+YPY6r5BAkdrJzODTK46lE6PeYEJt7u+8j+OZwCBiEAgAoN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ikkWEWtNL0imv5qUW+RclLRjJsrhBAuH1/QL8R7HR4xy5nescuP23E6hOA6mLv+sb4uTw6Ogqqq6uDpmkQkcStorX4XRcM1FjZ+kvFFjCJKU1WpkNJJUqIMtX1RyLeX3JtQ0JRhmGYZ/L27duRnJycuFGISOJ9pqh5lrB6iYgqGOxRrOaa54DcZmKvkJxk8JHC9rKh+KVhOsD4+Dj+MwADIf8n5m4xGwAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode div.vis-button.vis-edit,div.vis-network div.vis-manipulation div.vis-button.vis-edit{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//w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29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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PPNgDaKdbxoNAxwATBAEkEEgSWCEQAqPAMwqvMdCEwMO0tVqZpWsGTT58+DaPR+PhGIYQAAAgh0P7B3ioW/B0iGiCGiwXbCuOHFSJys6AbYFye2T+xWhT3WYJEIoH/DQBMw3kes8OJPgAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode{background-color:#fcfcfc;border:1px solid #ccc}div.vis-network div.vis-manipulation div.vis-button.vis-connect{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUA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lPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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K8zEN8+3zatv2Hn1b59EqJZdxmYUERg9P9KwpIiAOTdWUWBXuLzB/vZG3P1Un4PNp2d1MbmyD45TWCxuCsQm0x56bHGHFYEZwxok7toAA9Sfw3hCcoL/NOwi9QO5wmWO1j4JEgZxTkodmcWRGkf3pcX0r8xoAaBixKu4U5/xwndM+0tpAvS6mP+PZK2nb1UBvPEKwKMLDvPj4ESGc55lGy303sdJKQdZB2rkMdctAB/4gzN+/Q2ENNd4LyUi/xN+bTtquX2thk5nk4wI3gAF+OMNcA1nFQDfK+BY5GqbkwWabTY5QZhXWlnNx1ntrY1Rz87fuvw29m/Sn8J+PUGAFj5T19baA1IspuBZp7cx1x4SwG1cEf+lgRSROs8jGwb+Ht4QB/GSSsAhYano39LWIBxNEIbP14hPDuiyS2VtJuHXQlKKvxM/jiXDq/D/xPlwifGMkJZB2NIoKpr69nxeiZxLHicFSFVWfGqBidIP3LSjrWltD94CyufF/4kQgPuVz2Lz93+dDRa9eu5QQ8Hg8/iXee+Dy4CKMs7xqn4nwKz9IirhQqmVuB42m8ey+x7LMoD6iAON782eChhqmRuXfvXgKBAKqKqtI0/8nNKrQI4BVYXkzHgzPpC88gWuHL/caXrhLoGiN0apSKr0ZZRBZM7q2w5ZnLR1oAnHOMjY0hra2tFBQUYIyZmstvVT1Z6eDlAuEVq7merxmwueNPDXy9PvybjKP5mctHLk4/XTKZRJqbm/H7/VNw1VyEMYbW4FN3WNWnnchKoy5sHeVGBRX6VWi3ymFx7r11Ix8MTX/y5C2RSPC/AQB61erowbpqSwAAAABJRU5ErkJggg==")}div.vis-network div.vis-manipulation div.vis-button.vis-delete{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMF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JRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4aYJzYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYGSURBVHjalJZ7UJTnFcZ/73m/72PdJY1RbhoQp6lkXRAvmIYxdCUadLVOozPNtGObap1JsKipjiShbdoRbeKEiQHpQK3xj0xa03aamTbaTGyAYV1QGeqFi+JyiZFLAlmESBkWRmS3fyzslGkmnZ5/v/M873Oe75zzvqqoqAibzQaAiKCUAkApRdHIK/NFsx2NR91nOSILADDoJyzNaM4xxbtvPHh0iC+JiYkJ1OHDh4mJiUEpFSXPv/ziPC28TIiXDCOSrAClQDSEpsCwJPIhrEBRQpiSytXlQwDhcBilFPfu3UMVFxdjt9ujFTzfcLBADCoEEAFr1Zbr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oHSkt6vLIuRaQ9q32khzt4GCxtNu6k46GeiIR2lIfDQQsafPzq1LGRGL9Gk9d+vrwewvfHPQOoexQVjxdB/auk/zmaUMdsfz6bVUtIalT7bxveP1ZHh6GPDPYeSzeD69kcpIfxymFWLNrka+ljhBTWkWwz2JiJT84YHnz2iPx0P20PkmRF5i6HYiwZFJsn/YzdezbzE3cQibY5xV266z6RfXohakb+xB9CjanCD9qTbW7Grk4WV38VZm0l6dhQiEw9taHSuDqrS0FIfDwXM3X9mHMsvRAk/sauDpQy38P+GtzOTGB9mEpkD0C2dS8n8zOjqK9ng8WJZFU+JTjasGvaCNXPpvJBPoMlm0OoDNMfWVxONfWNSUPUZ7TUQ56tCZlPwSgMnJSVRpaSmxsbFE1raw82ZxAZZRQUiBYUKGp5UlOX2krBzmoUVjiIKhHge9rfPo+Wcy3ZeXIYASgL1/X5RfMXMvj46OosrLy7HZbGitUUohIuzoem0RofALaOsghgWGjky0MiJTL8b0lOvI8hN1DKXKP0jd3TNTWDgcJhgMoo4ePYrD4Yi+KmaeLlprnrtXFo9h/AAlG1AqE8yFmBrC+jO0bgH9EVpO/1F2Dc5g//OAsbEx/j0Af+USsQynL1UAAAAASUVORK5CYII=")}div.vis-network div.vis-edit-mode div.vis-label,div.vis-network div.vis-manipulation div.vis-label{margin:0 0 0 23px;line-height:25px}div.vis-network div.vis-manipulation div.vis-separator-line{float:left;display:inline-block;width:1px;height:21px;background-color:#bdbdbd;margin:0 7px 0 15px}div.vis-color-picker{position:absolute;top:0;left:30px;margin-top:-140px;margin-left:30px;width:310px;height:444px;z-index:1;padding:10px;border-radius:15px;background-color:#fff;display:none;-webkit-box-shadow:0 0 10px 0 rgba(0,0,0,.5);box-shadow:0 0 10px 0 rgba(0,0,0,.5)}div.vis-color-picker div.vis-arrow{position:absolute;top:147px;left:5px}div.vis-color-picker div.vis-arrow:after,div.vis-color-picker div.vis-arrow:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}div.vis-color-picker div.vis-arrow:after{border-color:hsla(0,0%,100%,0) #fff hsla(0,0%,100%,0) hsla(0,0%,100%,0);border-width:30px;margin-top:-30px}div.vis-color-picker div.vis-color{position:absolute;width:289px;height:289px;cursor:pointer}div.vis-color-picker div.vis-brightness{position:absolute;top:313px}div.vis-color-picker div.vis-opacity{position:absolute;top:350px}div.vis-color-picker div.vis-selector{position:absolute;top:137px;left:137px;width:15px;height:15px;border-radius:15px;border:1px solid #fff;background:#4c4c4c;background:-webkit-gradient(linear,left top, left bottom,color-stop(0, #4c4c4c),color-stop(12%, #595959),color-stop(25%, #666),color-stop(39%, #474747),color-stop(50%, #2c2c2c),color-stop(51%, #000),color-stop(60%, #111),color-stop(76%, #2b2b2b),color-stop(91%, #1c1c1c),to(#131313));background:linear-gradient(180deg,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#4c4c4c",endColorstr="#131313",GradientType=0)}div.vis-color-picker div.vis-new-color{left:159px;text-align:right;padding-right:2px}div.vis-color-picker div.vis-initial-color,div.vis-color-picker div.vis-new-color{position:absolute;width:140px;height:20px;border:1px solid rgba(0,0,0,.1);border-radius:5px;top:380px;font-size:10px;color:rgba(0,0,0,.4);vertical-align:middle;line-height:20px}div.vis-color-picker div.vis-initial-color{left:10px;text-align:left;padding-left:2px}div.vis-color-picker div.vis-label{position:absolute;width:300px;left:10px}div.vis-color-picker div.vis-label.vis-brightness{top:300px}div.vis-color-picker div.vis-label.vis-opacity{top:338px}div.vis-color-picker div.vis-button{position:absolute;width:68px;height:25px;border-radius:10px;vertical-align:middle;text-align:center;line-height:25px;top:410px;border:2px solid #d9d9d9;background-color:#f7f7f7;cursor:pointer}div.vis-color-picker div.vis-button.vis-cancel{left:5px}div.vis-color-picker div.vis-button.vis-load{left:82px}div.vis-color-picker div.vis-button.vis-apply{left:159px}div.vis-color-picker div.vis-button.vis-save{left:236px}div.vis-color-picker input.vis-range{width:290px;height:20px}div.vis-tooltip{position:absolute;visibility:hidden;padding:5px;white-space:nowrap;font-family:verdana;font-size:14px;color:#000;background-color:#f5f4ed;border-radius:3px;border:1px solid #808074;-webkit-box-shadow:3px 3px 10px rgba(0,0,0,.2);box-shadow:3px 3px 10px rgba(0,0,0,.2);pointer-events:none;z-index:5}div.vis-network div.vis-navigation div.vis-button{width:34px;height:34px;border-radius:17px;position:absolute;display:inline-block;background-position:2px 2px;background-repeat:no-repeat;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:0 0 3px 3px rgba(56,207,21,.3);box-shadow:0 0 3px 3px rgba(56,207,21,.3)}div.vis-network div.vis-navigation div.vis-button:active{-webkit-box-shadow:0 0 1px 3px rgba(56,207,21,.95);box-shadow:0 0 1px 3px rgba(56,207,21,.95)}div.vis-network div.vis-navigation div.vis-button.vis-up{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcq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P47AP1pK1g9/dqeAAAAAElFTkSuQmCC");bottom:50px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-down{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ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+mFbze+lui1xc3dXCUUlPafXNx4/aKxcajWWNp/MklRw8/mPFntbd+h1oLE847KhQQxejVg36QQqD0MPTzHv42Ux+uGasJNBnPfwllJd71kkX7RQ3WDNf7dox3BLcNNs6vt34bbbvYHJhlTGp6O+JVHb0/2HJtX1PH+aqECqG/5YN1nlXcokGvvO6vCc4x+QskotxVHB/qa+xbOWuzw8NB3nuo+Ht0z2hHsuGU3GrWAoZfi3jrxgHpw3BPpobaCH7vbqOw6mHI836vYW3Eqcq9AtioqbJy7ufQ3lhfu8sR+s9+3vL8klACsQSu7AnxMY1MxH7YXJp7oPpLulrrj+9575Ni2aeVt1teWfEWfHQLCaspseHzOU7VWU+aM5G2NoyL4i+6j8XWDNQsmGsKu/cv+nTtjQb/mm7hfENyvqEAK5v8opjPJaL26KGBpd5TfguuBvuZRgBgY6zO0jlyZXXe9JqR+8MK8ntHOMHfHIkhu2b/0yIH7/oXJ0yFlxYnPUdRbvuILgO7+y+91l6Ka6M+cnCf4fMSypXvymHf/vzBTD3CuNGUFKT8lmK5Rs5ASqKiBlAGBXFaiSuni0fkp1pJ7Ed4e/xsAqLk46EWsG1EAAAAASUVORK5CYII=");bottom:10px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-left{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl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Yb612c5c8+idPCu6fCLDKUubzsf6fSaWm0wmO9hbvZU8fDR2zoZ97OuppAu0UJEDEmOISZohT6q7Gek5rD3GN6FEp1DaAYB7sdNYPXPao7anS1Fmrg402g7+jYhGIaOXOaQc+uONfmCwZXJIf8xKx2KRgxYgOS+CROuyoyQKCxIhkOr4T6JWgxGnvZ1HWnf/CfHcBXxcnpRHxYwRKkUjSErFKkAQiNjP4kmBRTHbKm5KkKxwL+K39fwDX1XGF8ct++QAAAABJRU5ErkJggg==");bottom:10px;left:15px}div.vis-network div.vis-navigation div.vis-button.vis-right{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhG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Bh1w1+oZ4J3h+wv9lUFdbMDOrO+5IAqWIGZthuV13nC77nKRx8r7PssyibLIkoT1/h65HsfzWyu5tF6NYNB4EYJzKUETqgcLNVv0D/cDQBrNAnm9+LOfTLfNB5u2hf5z+6TMexYji+tVdrM5leMbWOtSwQx/F1C2rcuebIqwSO568a4WmuN3mEYSiUi+pRl2l1pLvYBsKArUKVwnZRYgdHpMWVG4+/WXhwoDBXE7OmkHzJ6JNemLfv51bniGqzVPoIkyLbpfK7ZMFIkE6FlrMn7Ql+BbiHg+zXGbgLjylDpyosD58KZmKM0cfWHI9//aD5o1VCZrnO83VuQQOja5PMCfwK8n3K2ChIbLVOD9KB36le3A+u/s2Q81C2yRavQmQNdVnamLnmq4nHD9jpB0rwm77jpjTW9E906Bu18fWlWCQHAox9CtGoXTwmS8IThZyXPB+29inuoE6bMsDM9ufEAMNHqJuU8ljMtAKA2B7IhzaWNiLfWjVQb3J10/SGuEZZ7Af1X7+lluZ3HkpgEQPL291M+qbzJgXQcG60ypKlVTGwsMxcFaJW6/hDXVZZvCz3RlrmRiQHwy9nRn2bM6bnas4cLfH6s1RIorsJcFDA2PToR7Z7QezfQD9qzwvI6TyTZC47ttXeiT+2c1+wBgOndoTPLt7mrmCRjvfULQ4O1xsVVchu7b9GysYUAqy3lnsdNb0aXmQuj7PYWL2etuRl6S0OfXLjiGQIdEY6K5esc2BWhjvkqXLO6x08VPKxV6iYAwuBkv5NpvNmtbrhaX2+tWdY70eVNINhtLW0/sjrv6B0/YdJlcGlR2AvE4hUlKwHQ7BU5cz8LRx0HaPY7gXb53L/67+mUfudPmP/twOWS6AQi/j6B4iWS/IlYK+yGYJDB1wWLErLRKd/omOJbAWf03wEAyO9m+/TtS3AAAAAASUVORK5CYII=");bottom:10px;left:95px}div.vis-network div.vis-navigation div.vis-button.vis-zoomIn{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYA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/xPH8xe+Tdd693pN/pHug0Xmqntvz1uLDo9Z9v5nnrn+dvujrI1JMUJd3OY7n97ua46douOGpkdlDoUDeG7g1NS/u/5a0Og9scCsB+ysWXSoMuyFftWJvM0E31SBjmWPznHPjy+8NjdhYfeMmJl3EiNSRgCi/25fpGu4M671zjlrm685s2fEnUoQ5lrLLW8uPLj3oX9hqgxIw8n8X1LU7yMkItCHzREZrGQV6ONmy5TggHk247sL/1jFqof/hRn/AWfqC0pI+QHBIk3tICXRrFTpF8hlJaqefh6yFxQ6HwQYlK8HAKyt3WsWxl7fAAAAAElFTkSuQmCC");bottom:10px;right:15px}div.vis-network div.vis-navigation div.vis-button.vis-zoomOut{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxE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fFN4/ak4QIfbd2XJFRQkLx85ruN7NTp2AoAZxwlCR9dWJc81NDdtoLkc86KBIJwXQ3aOpCPqwuhR2SPbCBlUc2NyogQX3N7wqgU51BAf2w9EFXUtCtLqADqS76ev6/ilgrk2q6esxHZgf5CySh3FMcG+5jbE0ZNdj4odHdDwWPGcZNNO1MPbrxtzdW4s+tI5HPBwQTTzziKY3v/7HGlhmS23g90T+OO5L1Nu7MMw3Fv/Tx1f97/FnsAYPui8/D4nBB/oZZR230uoq67auQoLaB37Iio3sEAK52nR39p+zS13HFiilHeYtOOabdC71jQzz2R+ALBbcrjWNF+cfaUwLSrk4KmtsT4T+gK9jG7AKKjv93X1lcfUNNVaantropqddnDCcIoa7lk29S92+/5CpOvQ04VJ79KUe/7iI/Hh40U6c3PyuPjhmWKN8G8Fvnw1A/zmX/vV5h/T+CXstRMUp4kOFOjZiUlWBkFQYdALitRZXRzf3RqWumdgF79NQDBOa2V/iYSHAAAAABJRU5ErkJggg==");bottom:10px;right:55px}div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG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vmArNQRNClqABnQgYuK0krI+wCOAyH3DK/vqOXhaf3PAO7mIRjDNV25AAAAAElFTkSuQmCC");bottom:50px;right:15px}';function H(t){H.installed||(H.installed=!0,t.component(f.name,f),t.component(j.name,j),t.component(Graph2D.name,k))}N(F);const B={install:H};let z=null;"undefined"!==typeof window?z=window.Vue:"undefined"!==typeof t&&(z=t.Vue),z&&z.use(B)}).call(this,i("c8ba"))},"13e9":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,i,n){var o=e.words[n];return 1===n.length?i?o[0]:o[1]:t+" "+e.correctGrammaticalCase(t,o)}},i=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}))},"14c3":function(t,e,i){var n=i("c6b6"),o=i("9263");t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var s=i.call(t,e);if("object"!==typeof s)throw TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"151b":function(t,e,i){"use strict";i.d(e,"a",(function(){return xi}));var n=i("7297"),o=i.n(n),s=i("cb13"),r=i("59dc"),a=i.n(r),g=i("c935"),d=i("d3b6"),l=i("11c1"),c=i("7921"),h=i.n(c); /** @@ -64,11 +64,11 @@ var e={words:{ss:["секунда","секунде","секунди"],m:["јед * * vis.js may be distributed under either license. */ -function u(t,e,i,n){t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()}function A(t,e,i,n){t.beginPath(),t.rect(e-n,i-n,2*n,2*n),t.closePath()}function C(t,e,i,n){t.beginPath(),n*=1.15,i+=.275*n;const o=2*n,s=o/2,r=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-s*s);t.moveTo(e,i-(a-r)),t.lineTo(e+s,i+r),t.lineTo(e-s,i+r),t.lineTo(e,i-(a-r)),t.closePath()}function I(t,e,i,n){t.beginPath(),n*=1.15,i-=.275*n;const o=2*n,s=o/2,r=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-s*s);t.moveTo(e,i+(a-r)),t.lineTo(e+s,i-r),t.lineTo(e-s,i-r),t.lineTo(e,i+(a-r)),t.closePath()}function p(t,e,i,n){t.beginPath(),n*=.82,i+=.1*n;for(let o=0;o<10;o++){const s=o%2===0?1.3*n:.5*n;t.lineTo(e+s*Math.sin(2*o*Math.PI/10),i-s*Math.cos(2*o*Math.PI/10))}t.closePath()}function f(t,e,i,n){t.beginPath(),t.lineTo(e,i+n),t.lineTo(e+n,i),t.lineTo(e,i-n),t.lineTo(e-n,i),t.closePath()}function m(t,e,i,n,o,s){const r=Math.PI/180;n-2*s<0&&(s=n/2),o-2*s<0&&(s=o/2),t.beginPath(),t.moveTo(e+s,i),t.lineTo(e+n-s,i),t.arc(e+n-s,i+s,s,270*r,360*r,!1),t.lineTo(e+n,i+o-s),t.arc(e+n-s,i+o-s,s,0,90*r,!1),t.lineTo(e+s,i+o),t.arc(e+s,i+o-s,s,90*r,180*r,!1),t.lineTo(e,i+s),t.arc(e+s,i+s,s,180*r,270*r,!1),t.closePath()}function v(t,e,i,n,o){const s=.5522848,r=n/2*s,a=o/2*s,g=e+n,d=i+o,l=e+n/2,c=i+o/2;t.beginPath(),t.moveTo(e,c),t.bezierCurveTo(e,c-a,l-r,i,l,i),t.bezierCurveTo(l+r,i,g,c-a,g,c),t.bezierCurveTo(g,c+a,l+r,d,l,d),t.bezierCurveTo(l-r,d,e,c+a,e,c),t.closePath()}function b(t,e,i,n,o){const s=1/3,r=n,a=o*s,g=.5522848,d=r/2*g,l=a/2*g,c=e+r,h=i+a,u=e+r/2,A=i+a/2,C=i+(o-a/2),I=i+o;t.beginPath(),t.moveTo(c,A),t.bezierCurveTo(c,A+l,u+d,h,u,h),t.bezierCurveTo(u-d,h,e,A+l,e,A),t.bezierCurveTo(e,A-l,u-d,i,u,i),t.bezierCurveTo(u+d,i,c,A-l,c,A),t.lineTo(c,C),t.bezierCurveTo(c,C+l,u+d,I,u,I),t.bezierCurveTo(u-d,I,e,C+l,e,C),t.lineTo(e,A)}function y(t,e,i,n,o,s){t.beginPath(),t.moveTo(e,i);const r=s.length,a=n-e,g=o-i,d=g/a;let l=Math.sqrt(a*a+g*g),c=0,h=!0,u=0,A=+s[0];while(l>=.1)A=+s[c++%r],A>l&&(A=l),u=Math.sqrt(A*A/(1+d*d)),u=a<0?-u:u,e+=u,i+=d*u,!0===h?t.lineTo(e,i):t.moveTo(e,i),l-=A,h=!h}function _(t,e,i,n){t.beginPath();const o=6,s=2*Math.PI/o;t.moveTo(e+n,i);for(let r=1;r":!0,"--":!0},O="",S=0,Y="",E="",P=T.NULL;function j(){S=0,Y=O.charAt(0)}function N(){S++,Y=O.charAt(S)}function R(){return O.charAt(S+1)}var F=/[a-zA-Z_0-9.:#]/;function H(t){return F.test(t)}function B(t,e){if(t||(t={}),e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function z(t,e,i){var n=e.split("."),o=t;while(n.length){var s=n.shift();n.length?(o[s]||(o[s]={}),o=o[s]):o[s]=i}}function W(t,e){var i,n,o=null,s=[t],r=t;while(r.parent)s.push(r.parent),r=r.parent;if(r.nodes)for(i=0,n=r.nodes.length;i=0;i--){var a=s[i];a.nodes||(a.nodes=[]),-1===a.nodes.indexOf(o)&&a.nodes.push(o)}e.attr&&(o.attr=B(o.attr,e.attr))}function V(t,e){if(t.edges||(t.edges=[]),t.edges.push(e),t.edge){var i=B({},t.edge);e.attr=B(i,e.attr)}}function G(t,e,i,n,o){var s={from:e,to:i,type:n};return t.edge&&(s.attr=B({},t.edge)),s.attr=B(s.attr||{},o),null!=o&&o.hasOwnProperty("arrows")&&null!=o["arrows"]&&(s["arrows"]={to:{enabled:!0,type:o.arrows.type}},o["arrows"]=null),s}function Z(){P=T.NULL,E="";while(" "===Y||"\t"===Y||"\n"===Y||"\r"===Y)N();do{var t=!1;if("#"===Y){var e=S-1;while(" "===O.charAt(e)||"\t"===O.charAt(e))e--;if("\n"===O.charAt(e)||""===O.charAt(e)){while(""!=Y&&"\n"!=Y)N();t=!0}}if("/"===Y&&"/"===R()){while(""!=Y&&"\n"!=Y)N();t=!0}if("/"===Y&&"*"===R()){while(""!=Y){if("*"===Y&&"/"===R()){N(),N();break}N()}t=!0}while(" "===Y||"\t"===Y||"\n"===Y||"\r"===Y)N()}while(t);if(""!==Y){var i=Y+R();if(L[i])return P=T.DELIMITER,E=i,N(),void N();if(L[Y])return P=T.DELIMITER,E=Y,void N();if(H(Y)||"-"===Y){E+=Y,N();while(H(Y))E+=Y,N();return"false"===E?E=!1:"true"===E?E=!0:isNaN(Number(E))||(E=Number(E)),void(P=T.IDENTIFIER)}if('"'===Y){N();while(""!=Y&&('"'!=Y||'"'===Y&&'"'===R()))'"'===Y?(E+=Y,N()):"\\"===Y&&"n"===R()?(E+="\n",N()):E+=Y,N();if('"'!=Y)throw et('End of string " expected');return N(),void(P=T.IDENTIFIER)}P=T.UNKNOWN;while(""!=Y)E+=Y,N();throw new SyntaxError('Syntax error in part "'+it(E,30)+'"')}P=T.DELIMITER}function U(){var t={};if(j(),Z(),"strict"===E&&(t.strict=!0,Z()),"graph"!==E&&"digraph"!==E||(t.type=E,Z()),P===T.IDENTIFIER&&(t.id=E,Z()),"{"!=E)throw et("Angle bracket { expected");if(Z(),K(t),"}"!=E)throw et("Angle bracket } expected");if(Z(),""!==E)throw et("End of file expected");return Z(),delete t.node,delete t.edge,delete t.graph,t}function K(t){while(""!==E&&"}"!=E)X(t),";"===E&&Z()}function X(t){var e=J(t);if(e)$(t,e);else{var i=Q(t);if(!i){if(P!=T.IDENTIFIER)throw et("Identifier expected");var n=E;if(Z(),"="===E){if(Z(),P!=T.IDENTIFIER)throw et("Identifier expected");t[n]=E,Z()}else q(t,n)}}}function J(t){var e=null;if("subgraph"===E&&(e={},e.type="subgraph",Z(),P===T.IDENTIFIER&&(e.id=E,Z())),"{"===E){if(Z(),e||(e={}),e.parent=t,e.node=t.node,e.edge=t.edge,e.graph=t.graph,K(e),"}"!=E)throw et("Angle bracket } expected");Z(),delete e.node,delete e.edge,delete e.graph,delete e.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(e)}return e}function Q(t){return"node"===E?(Z(),t.node=tt(),"node"):"edge"===E?(Z(),t.edge=tt(),"edge"):"graph"===E?(Z(),t.graph=tt(),"graph"):null}function q(t,e){var i={id:e},n=tt();n&&(i.attr=n),W(t,i),$(t,e)}function $(t,e){while("->"===E||"--"===E){var i,n=E;Z();var o=J(t);if(o)i=o;else{if(P!=T.IDENTIFIER)throw et("Identifier or subgraph expected");i=E,W(t,{id:i}),Z()}var s=tt(),r=G(t,e,i,n,s);V(t,r),e=i}}function tt(){var t,e,i=null,n={dashed:!0,solid:!1,dotted:[1,5]},o={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},s=new Array,r=new Array;while("["===E){Z(),i={};while(""!==E&&"]"!=E){if(P!=T.IDENTIFIER)throw et("Attribute name expected");var a=E;if(Z(),"="!=E)throw et("Equal sign = expected");if(Z(),P!=T.IDENTIFIER)throw et("Attribute value expected");var g,d=E;"style"===a&&(d=n[d]),"arrowhead"===a&&(g=o[d],a="arrows",d={to:{enabled:!0,type:g}}),"arrowtail"===a&&(g=o[d],a="arrows",d={from:{enabled:!0,type:g}}),s.push({attr:i,name:a,value:d}),r.push(a),Z(),","==E&&Z()}if("]"!=E)throw et("Bracket ] expected");Z()}if(r.includes("dir")){var l={arrows:{}};for(t=0;t"===t.type&&(e.arrows="to"),e};e.edges.forEach((function(t){var e,o;e=t.from instanceof Object?t.from.nodes:{id:t.from},o=t.to instanceof Object?t.to.nodes:{id:t.to},t.from instanceof Object&&t.from.edges&&t.from.edges.forEach((function(t){var e=n(t);i.edges.push(e)})),nt(e,o,(function(e,o){var s=G(i,e.id,o.id,t.type,t.attr),r=n(s);i.edges.push(r)})),t.to instanceof Object&&t.to.edges&&t.to.edges.forEach((function(t){var e=n(t);i.edges.push(e)}))}))}return e.attr&&(i.options=e.attr),i}function at(t,e){const i={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};null!=e&&(null!=e.fixed&&(i.nodes.fixed=e.fixed),null!=e.parseColor&&(i.nodes.parseColor=e.parseColor),null!=e.inheritColor&&(i.edges.inheritColor=e.inheritColor));const n=t.edges,o=n.map(t=>{const e={from:t.source,id:t.id,to:t.target};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),"Directed"===t.type&&(e.arrows="to"),t.color&&!1===i.edges.inheritColor&&(e.color=t.color),e}),s=t.nodes.map(t=>{const e={id:t.id,fixed:i.nodes.fixed&&null!=t.x&&null!=t.y};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.size&&(e.size=t.size),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),null!=t.title&&(e.title=t.title),null!=t.x&&(e.x=t.x),null!=t.y&&(e.y=t.y),null!=t.color&&(!0===i.nodes.parseColor?e.color=t.color:e.color={background:t.color,border:t.color,highlight:{background:t.color,border:t.color},hover:{background:t.color,border:t.color}}),e});return{nodes:s,edges:o}}function gt(t,e,i){return i={path:e,exports:{},require:function(t,e){return dt(t,void 0===e||null===e?i.path:e)}},t(i,i.exports),i.exports}function dt(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lt=gt((function(t){function e(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:function(e){return{set:t}}}}if("undefined"!==typeof window){const e=window["Hammer"]||g["a"];t.exports=e}else t.exports=function(){return e()}}));function ct(t){this.active=!1,this.dom={container:t},this.dom.overlay=document.createElement("div"),this.dom.overlay.className="vis-overlay",this.dom.container.appendChild(this.dom.overlay),this.hammer=lt(this.dom.overlay),this.hammer.on("tap",this._onTapOverlay.bind(this));const e=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];e.forEach(t=>{this.hammer.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this.onClick=e=>{ht(e.target,t)||this.deactivate()},document.body.addEventListener("click",this.onClick)),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=a()(),this.escListener=this.deactivate.bind(this)}function ht(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}o()(ct.prototype),ct.current=null,ct.prototype.destroy=function(){this.deactivate(),this.dom.overlay.parentNode.removeChild(this.dom.overlay),this.onClick&&document.body.removeEventListener("click",this.onClick),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=null,this.hammer.destroy(),this.hammer=null},ct.prototype.activate=function(){ct.current&&ct.current.deactivate(),ct.current=this,this.active=!0,this.dom.overlay.style.display="none",Object(s["addClassName"])(this.dom.container,"vis-active"),this.emit("change"),this.emit("activate"),this.keycharm.bind("esc",this.escListener)},ct.prototype.deactivate=function(){this.active=!1,this.dom.overlay.style.display="block",Object(s["removeClassName"])(this.dom.container,"vis-active"),this.keycharm.unbind("esc",this.escListener),this.emit("change"),this.emit("deactivate")},ct.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};const ut={addDescription:"Click in an empty space to place a new node.",addEdge:"Add Edge",addNode:"Add Node",back:"Back",createEdgeError:"Cannot link edges to a cluster.",del:"Delete selected",deleteClusterError:"Clusters cannot be deleted.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",edit:"Edit",editClusterError:"Clusters cannot be edited.",editEdge:"Edit Edge",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",editNode:"Edit Node"},At={addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",addEdge:"Kante hinzufügen",addNode:"Knoten hinzufügen",back:"Zurück",createEdgeError:"Es ist nicht möglich, Kanten mit Clustern zu verbinden.",del:"Lösche Auswahl",deleteClusterError:"Cluster können nicht gelöscht werden.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",edit:"Editieren",editClusterError:"Cluster können nicht editiert werden.",editEdge:"Kante editieren",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",editNode:"Knoten editieren"},Ct={addDescription:"Haga clic en un lugar vacío para colocar un nuevo nodo.",addEdge:"Añadir arista",addNode:"Añadir nodo",back:"Atrás",createEdgeError:"No se puede conectar una arista a un grupo.",del:"Eliminar selección",deleteClusterError:"No es posible eliminar grupos.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",edit:"Editar",editClusterError:"No es posible editar grupos.",editEdge:"Editar arista",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",editNode:"Editar nodo"},It={addDescription:"Clicca per aggiungere un nuovo nodo",addEdge:"Aggiungi un vertice",addNode:"Aggiungi un nodo",back:"Indietro",createEdgeError:"Non si possono collegare vertici ad un cluster",del:"Cancella la selezione",deleteClusterError:"I cluster non possono essere cancellati",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",edit:"Modifica",editClusterError:"I clusters non possono essere modificati.",editEdge:"Modifica il vertice",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",editNode:"Modifica il nodo"},pt={addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",addEdge:"Link toevoegen",addNode:"Node toevoegen",back:"Terug",createEdgeError:"Kan geen link maken naar een cluster.",del:"Selectie verwijderen",deleteClusterError:"Clusters kunnen niet worden verwijderd.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",edit:"Wijzigen",editClusterError:"Clusters kunnen niet worden aangepast.",editEdge:"Link wijzigen",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",editNode:"Node wijzigen"},ft={addDescription:"Clique em um espaço em branco para adicionar um novo nó",addEdge:"Adicionar aresta",addNode:"Adicionar nó",back:"Voltar",createEdgeError:"Não foi possível linkar arestas a um cluster.",del:"Remover selecionado",deleteClusterError:"Clusters não puderam ser removidos.",edgeDescription:"Clique em um nó e arraste a aresta até outro nó para conectá-los",edit:"Editar",editClusterError:"Clusters não puderam ser editados.",editEdge:"Editar aresta",editEdgeDescription:"Clique nos pontos de controle e os arraste para um nó para conectá-los",editNode:"Editar nó"},mt={addDescription:"Кликните в свободное место, чтобы добавить новый узел.",addEdge:"Добавить ребро",addNode:"Добавить узел",back:"Назад",createEdgeError:"Невозможно соединить ребра в кластер.",del:"Удалить выбранное",deleteClusterError:"Кластеры не могут быть удалены",edgeDescription:"Кликните на узел и протяните ребро к другому узлу, чтобы соединить их.",edit:"Редактировать",editClusterError:"Кластеры недоступны для редактирования.",editEdge:"Редактировать ребро",editEdgeDescription:"Кликните на контрольные точки и перетащите их в узел, чтобы подключиться к нему.",editNode:"Редактировать узел"},vt={addDescription:"单击空白处放置新节点。",addEdge:"添加连接线",addNode:"添加节点",back:"返回",createEdgeError:"无法将连接线连接到群集。",del:"删除选定",deleteClusterError:"无法删除群集。",edgeDescription:"单击某个节点并将该连接线拖动到另一个节点以连接它们。",edit:"编辑",editClusterError:"无法编辑群集。",editEdge:"编辑连接线",editEdgeDescription:"单击控制节点并将它们拖到节点上连接。",editNode:"编辑节点"},bt={addDescription:"Kлікніть на вільне місце, щоб додати новий вузол.",addEdge:"Додати край",addNode:"Додати вузол",back:"Назад",createEdgeError:"Не можливо об'єднати краї в групу.",del:"Видалити обране",deleteClusterError:"Групи не можуть бути видалені.",edgeDescription:"Клікніть на вузол і перетягніть край до іншого вузла, щоб їх з'єднати.",edit:"Редагувати",editClusterError:"Групи недоступні для редагування.",editEdge:"Редагувати край",editEdgeDescription:"Клікніть на контрольні точки і перетягніть їх у вузол, щоб підключитися до нього.",editNode:"Редагувати вузол"},yt={addDescription:"Cliquez dans un endroit vide pour placer un nœud.",addEdge:"Ajouter un lien",addNode:"Ajouter un nœud",back:"Retour",createEdgeError:"Impossible de créer un lien vers un cluster.",del:"Effacer la sélection",deleteClusterError:"Les clusters ne peuvent pas être effacés.",edgeDescription:"Cliquez sur un nœud et glissez le lien vers un autre nœud pour les connecter.",edit:"Éditer",editClusterError:"Les clusters ne peuvent pas être édités.",editEdge:"Éditer le lien",editEdgeDescription:"Cliquez sur les points de contrôle et glissez-les pour connecter un nœud.",editNode:"Éditer le nœud"},_t={addDescription:"Kluknutím do prázdného prostoru můžete přidat nový vrchol.",addEdge:"Přidat hranu",addNode:"Přidat vrchol",back:"Zpět",createEdgeError:"Nelze připojit hranu ke shluku.",del:"Smazat výběr",deleteClusterError:"Nelze mazat shluky.",edgeDescription:"Přetažením z jednoho vrcholu do druhého můžete spojit tyto vrcholy novou hranou.",edit:"Upravit",editClusterError:"Nelze upravovat shluky.",editEdge:"Upravit hranu",editEdgeDescription:"Přetažením kontrolního vrcholu hrany ji můžete připojit k jinému vrcholu.",editNode:"Upravit vrchol"};var wt=Object.freeze({__proto__:null,en:ut,de:At,es:Ct,it:It,nl:pt,pt:ft,ru:mt,cn:vt,uk:bt,fr:yt,cs:_t});function Mt(t,e){try{const[i,n]=e.split(/[-_ \/]/,2),o=null!=i?i.toLowerCase():null,s=null!=n?n.toUpperCase():null;if(o&&s){const e=o+"-"+s;if(Object.prototype.hasOwnProperty.call(t,e))return e;console.warn(`Unknown variant ${s} of language ${o}.`)}if(o){const e=o;if(Object.prototype.hasOwnProperty.call(t,e))return e;console.warn("Unknown language "+o)}return console.warn(`Unknown locale ${e}, falling back to English.`),"en"}catch(i){return console.error(i),console.warn(`Unexpected error while normalizing locale ${e}, falling back to English.`),"en"}}class xt{constructor(){this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}init(){if(this.initialized())return;this.src=this.image.src;const t=this.image.width,e=this.image.height;this.width=t,this.height=e;const i=Math.floor(e/2),n=Math.floor(e/4),o=Math.floor(e/8),s=Math.floor(e/16),r=Math.floor(t/2),a=Math.floor(t/4),g=Math.floor(t/8),d=Math.floor(t/16);this.canvas.width=3*a,this.canvas.height=i,this.coordinates=[[0,0,r,i],[r,0,a,n],[r,n,g,o],[5*g,n,d,s]],this._fillMipMap()}initialized(){return void 0!==this.coordinates}_fillMipMap(){const t=this.canvas.getContext("2d"),e=this.coordinates[0];t.drawImage(this.image,e[0],e[1],e[2],e[3]);for(let i=1;i2){e*=.5;let r=0;while(e>2&&r=this.NUM_ITERATIONS&&(r=this.NUM_ITERATIONS-1);const a=this.coordinates[r];t.drawImage(this.canvas,a[0],a[1],a[2],a[3],i,n,o,s)}else t.drawImage(this.image,i,n,o,s)}}class kt{constructor(t){this.images={},this.imageBroken={},this.callback=t}_tryloadBrokenUrl(t,e,i){void 0!==t&&void 0!==i&&(void 0!==e?(i.image.onerror=()=>{console.error("Could not load brokenImage:",e)},i.image.src=e):console.warn("No broken url image defined"))}_redrawWithImage(t){this.callback&&this.callback(t)}load(t,e){const i=this.images[t];if(i)return i;const n=new xt;return this.images[t]=n,n.image.onload=()=>{this._fixImageCoordinates(n.image),n.init(),this._redrawWithImage(n)},n.image.onerror=()=>{console.error("Could not load image:",t),this._tryloadBrokenUrl(t,e,n)},n.image.src=t,n}_fixImageCoordinates(t){0===t.width&&(document.body.appendChild(t),t.width=t.offsetWidth,t.height=t.offsetHeight,document.body.removeChild(t))}}class Dt{constructor(){this.clear(),this.defaultIndex=0,this.groupsArray=[],this.groupIndex=0,this.defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},Object.assign(this.options,this.defaultOptions)}setOptions(t){const e=["useDefaultGroups"];if(void 0!==t)for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&-1===e.indexOf(i)){const e=t[i];this.add(i,e)}}clear(){this.groups={},this.groupsArray=[]}get(t,e=!0){let i=this.groups[t];if(void 0===i&&e)if(!1===this.options.useDefaultGroups&&this.groupsArray.length>0){const e=this.groupIndex%this.groupsArray.length;this.groupIndex++,i={},i.color=this.groups[this.groupsArray[e]],this.groups[t]=i}else{const e=this.defaultIndex%this.defaultGroups.length;this.defaultIndex++,i={},i.color=this.defaultGroups[e],this.groups[t]=i}return i}add(t,e){return this.groups[t]=e,this.groupsArray.push(t),e}}function Tt(t,e){const i=["node","edge","label"];let n=!0;const o=Object(s["topMost"])(e,"chosen");if("boolean"===typeof o)n=o;else if("object"===typeof o){if(-1===i.indexOf(t))throw new Error("choosify: subOption '"+t+"' should be one of '"+i.join("', '")+"'");const o=Object(s["topMost"])(e,["chosen",t]);"boolean"!==typeof o&&"function"!==typeof o||(n=o)}return n}function Lt(t,e,i){if(t.width<=0||t.height<=0)return!1;if(void 0!==i){const t={x:e.x-i.x,y:e.y-i.y};if(0!==i.angle){const n=-i.angle,o={x:Math.cos(n)*t.x-Math.sin(n)*t.y,y:Math.sin(n)*t.x+Math.cos(n)*t.y};e=o}else e=t}const n=t.x+t.width,o=t.y+t.width;return t.lefte.x&&t.tope.y}function Ot(t){return"string"===typeof t&&""!==t}function St(t,e,i,n){let o=n.x,s=n.y;if("function"===typeof n.distanceToBorder){const i=n.distanceToBorder(t,e),r=Math.sin(e)*i,a=Math.cos(e)*i;a===i?(o+=i,s=n.y):r===i?(o=n.x,s-=i):(o+=a,s-=r)}else n.shape.width>n.shape.height?(o=n.x+.5*n.shape.width,s=n.y-i):(o=n.x+i,s=n.y-.5*n.shape.height);return{x:o,y:s}}class Yt{constructor(t){this.measureText=t,this.current=0,this.width=0,this.height=0,this.lines=[]}_add(t,e,i="normal"){void 0===this.lines[t]&&(this.lines[t]={width:0,height:0,blocks:[]});let n=e;void 0!==e&&""!==e||(n=" ");const o=this.measureText(n,i),s=Object.assign({},o.values);s.text=e,s.width=o.width,s.mod=i,void 0!==e&&""!==e||(s.width=0),this.lines[t].blocks.push(s),this.lines[t].width+=s.width}curWidth(){const t=this.lines[this.current];return void 0===t?0:t.width}append(t,e="normal"){this._add(this.current,t,e)}newLine(t,e="normal"){this._add(this.current,t,e),this.current++}determineLineHeights(){for(let t=0;tt&&(t=n.width),e+=n.height}this.width=t,this.height=e}removeEmptyBlocks(){const t=[];for(let e=0;e"://,""://,""://,"":/<\/b>/,"":/<\/i>/,"":/<\/code>/,"*":/\*/,_:/\_/,"`":/`/,afterBold:/[^\*]/,afterItal:/[^_]/,afterMono:/[^`]/};class Pt{constructor(t){this.text=t,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}mod(){return 0===this.modStack.length?"normal":this.modStack[0]}modName(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":this.bold&&this.ital?"boldital":this.bold?"bold":this.ital?"ital":void 0}emitBlock(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}add(t){" "===t&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=t&&(this.buffer+=t)}parseWS(t){return!!/[ \t]/.test(t)&&(this.mono?this.add(t):this.spacing=!0,!0)}setTag(t){this.emitBlock(),this[t]=!0,this.modStack.unshift(t)}unsetTag(t){this.emitBlock(),this[t]=!1,this.modStack.shift()}parseStartTag(t,e){return!(this.mono||this[t]||!this.match(e))&&(this.setTag(t),!0)}match(t,e=!0){const[i,n]=this.prepareRegExp(t),o=i.test(this.text.substr(this.position,n));return o&&e&&(this.position+=n-1),o}parseEndTag(t,e,i){let n=this.mod()===t;return n="mono"===t?n&&this.mono:n&&!this.mono,!(!n||!this.match(e))&&(void 0!==i?(this.position===this.text.length-1||this.match(i,!1))&&this.unsetTag(t):this.unsetTag(t),!0)}replace(t,e){return!!this.match(t)&&(this.add(e),this.position+=length-1,!0)}prepareRegExp(t){let e,i;if(t instanceof RegExp)i=t,e=1;else{const n=Et[t];i=void 0!==n?n:new RegExp(t),e=t.length}return[i,e]}}class jt{constructor(t,e,i,n){this.ctx=t,this.parent=e,this.selected=i,this.hover=n;const o=(e,o)=>{if(void 0===e)return 0;const s=this.parent.getFormattingValues(t,i,n,o);let r=0;if(""!==e){const t=this.ctx.measureText(e);r=t.width}return{width:r,values:s}};this.lines=new Yt(o)}process(t){if(!Ot(t))return this.lines.finalize();const e=this.parent.fontOptions;t=t.replace(/\r\n/g,"\n"),t=t.replace(/\r/g,"\n");const i=String(t).split("\n"),n=i.length;if(e.multi)for(let o=0;o0)for(let e=0;e0)for(let o=0;o{if(/&/.test(t)){const t=e.replace(e.text,"<","<")||e.replace(e.text,"&","&");return t||e.add("&"),!0}return!1};while(e.position")||e.parseStartTag("ital","")||e.parseStartTag("mono","")||e.parseEndTag("bold","")||e.parseEndTag("ital","")||e.parseEndTag("mono",""))||i(t);n||e.add(t),e.position++}return e.emitBlock(),e.blocks}splitMarkdownBlocks(t){const e=new Pt(t);let i=!0;const n=t=>!!/\\/.test(t)&&(e.positionthis.parent.fontOptions.maxWdt}getLongestFit(t){let e="",i=0;while(i0){let t=this.getLongestFit(n);if(0===t){const t=n[0],i=this.getLongestFitWord(t);this.lines.newLine(t.slice(0,i),e),n[0]=t.slice(i)}else{let o=t;" "===n[t-1]?t--:" "===n[o]&&o++;const s=n.slice(0,t).join("");t==n.length&&i?this.lines.append(s,e):this.lines.newLine(s,e),n=n.slice(o)}}}}const Nt=["bold","ital","boldital","mono"];class Rt{constructor(t,e,i=!1){this.body=t,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(e),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=i}setOptions(t){if(this.elementOptions=t,this.initFontOptions(t.font),Ot(t.label)?this.labelDirty=!0:t.label=void 0,void 0!==t.font&&null!==t.font)if("string"===typeof t.font)this.baseSize=this.fontOptions.size;else if("object"===typeof t.font){const e=t.font.size;void 0!==e&&(this.baseSize=e)}}initFontOptions(t){Object(s["forEach"])(Nt,t=>{this.fontOptions[t]={}}),Rt.parseFontString(this.fontOptions,t)?this.fontOptions.vadjust=0:Object(s["forEach"])(t,(t,e)=>{void 0!==t&&null!==t&&"object"!==typeof t&&(this.fontOptions[e]=t)})}static parseFontString(t,e){if(!e||"string"!==typeof e)return!1;const i=e.split(" ");return t.size=+i[0].replace("px",""),t.face=i[1],t.color=i[2],!0}constrain(t){const e={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},i=Object(s["topMost"])(t,"widthConstraint");if("number"===typeof i)e.maxWdt=Number(i),e.minWdt=Number(i);else if("object"===typeof i){const i=Object(s["topMost"])(t,["widthConstraint","maximum"]);"number"===typeof i&&(e.maxWdt=Number(i));const n=Object(s["topMost"])(t,["widthConstraint","minimum"]);"number"===typeof n&&(e.minWdt=Number(n))}const n=Object(s["topMost"])(t,"heightConstraint");if("number"===typeof n)e.minHgt=Number(n);else if("object"===typeof n){const i=Object(s["topMost"])(t,["heightConstraint","minimum"]);"number"===typeof i&&(e.minHgt=Number(i));const n=Object(s["topMost"])(t,["heightConstraint","valign"]);"string"===typeof n&&("top"!==n&&"bottom"!==n||(e.valign=n))}return e}update(t,e){this.setOptions(t,!0),this.propagateFonts(e),Object(s["deepExtend"])(this.fontOptions,this.constrain(e)),this.fontOptions.chooser=Tt("label",e)}adjustSizes(t){const e=t?t.right+t.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=e,this.fontOptions.minWdt-=e);const i=t?t.top+t.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=i)}addFontOptionsToPile(t,e){for(let i=0;i{void 0!==t&&(Object.prototype.hasOwnProperty.call(e,i)||(-1!==Nt.indexOf(i)?e[i]={}:e[i]=t))})}return e}getFontOption(t,e,i){let n;for(let o=0;o{n[e]=t}),n.size=Number(n.size),n.vadjust=Number(n.vadjust)}}draw(t,e,i,n,o,s="middle"){if(void 0===this.elementOptions.label)return;let r=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&r=this.elementOptions.scaling.label.maxVisible&&(r=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(t,n,o,e,i,s),this._drawBackground(t),this._drawText(t,e,this.size.yLine,s,r))}_drawBackground(t){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){t.fillStyle=this.fontOptions.background;const e=this.getSize();t.fillRect(e.left,e.top,e.width,e.height)}}_drawText(t,e,i,n="middle",o){[e,i]=this._setAlignment(t,e,i,n),t.textAlign="left",e-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(i-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(i+=(this.size.height-this.size.labelHeight)/2));for(let s=0;s0&&(t.lineWidth=a.strokeWidth,t.strokeStyle=d,t.lineJoin="round"),t.fillStyle=g,a.strokeWidth>0&&t.strokeText(a.text,e+s,i+a.vadjust),t.fillText(a.text,e+s,i+a.vadjust),s+=a.width}i+=n.height}}}_setAlignment(t,e,i,n){if(this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf){e=0,i=0;const n=2;"top"===this.fontOptions.align?(t.textBaseline="alphabetic",i-=2*n):"bottom"===this.fontOptions.align?(t.textBaseline="hanging",i+=2*n):t.textBaseline="middle"}else t.textBaseline=n;return[e,i]}_getColor(t,e,i){let n=t||"#000000",o=i||"#ffffff";if(e<=this.elementOptions.scaling.label.drawThreshold){const t=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-e)));n=Object(s["overrideOpacity"])(n,t),o=Object(s["overrideOpacity"])(o,t)}return[n,o]}getTextSize(t,e=!1,i=!1){return this._processLabel(t,e,i),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}getSize(){const t=2;let e=this.size.left,i=this.size.top-.5*t;if(this.isEdgeLabel){const n=.5*-this.size.width;switch(this.fontOptions.align){case"middle":e=n,i=.5*-this.size.height;break;case"top":e=n,i=-(this.size.height+t);break;case"bottom":e=n,i=t;break}}const n={left:e,top:i,width:this.size.width,height:this.size.height};return n}calculateLabelSize(t,e,i,n=0,o=0,s="middle"){this._processLabel(t,e,i),this.size.left=n-.5*this.size.width,this.size.top=o-.5*this.size.height,this.size.yLine=o+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===s&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}getFormattingValues(t,e,i,n){const o=function(t,e,i){return"normal"===e?"mod"===i?"":t[i]:void 0!==t[e][i]?t[e][i]:t[i]},s={color:o(this.fontOptions,n,"color"),size:o(this.fontOptions,n,"size"),face:o(this.fontOptions,n,"face"),mod:o(this.fontOptions,n,"mod"),vadjust:o(this.fontOptions,n,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(e||i)&&("normal"===n&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?s.mod="bold":"function"===typeof this.fontOptions.chooser&&this.fontOptions.chooser(s,this.elementOptions.id,e,i));let r="";return void 0!==s.mod&&""!==s.mod&&(r+=s.mod+" "),r+=s.size+"px "+s.face,t.font=r.replace(/"/g,""),s.font=t.font,s.height=s.size,s}differentState(t,e){return t!==this.selectedState||e!==this.hoverState}_processLabelText(t,e,i,n){const o=new jt(t,this,e,i);return o.process(n)}_processLabel(t,e,i){if(!1===this.labelDirty&&!this.differentState(e,i))return;const n=this._processLabelText(t,e,i,this.elementOptions.label);this.fontOptions.minWdt>0&&n.width0&&n.height0&&(this.enableBorderDashes(t,e),t.stroke(),this.disableBorderDashes(t,e)),t.restore()}performFill(t,e){t.save(),t.fillStyle=e.color,this.enableShadow(t,e),t.fill(),this.disableShadow(t,e),t.restore(),this.performStroke(t,e)}_addBoundingBoxMargin(t){this.boundingBox.left-=t,this.boundingBox.top-=t,this.boundingBox.bottom+=t,this.boundingBox.right+=t}_updateBoundingBox(t,e,i,n,o){void 0!==i&&this.resize(i,n,o),this.left=t-this.width/2,this.top=e-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}updateBoundingBox(t,e,i,n,o){this._updateBoundingBox(t,e,i,n,o)}getDimensionsFromLabel(t,e,i){this.textSize=this.labelModule.getTextSize(t,e,i);let n=this.textSize.width,o=this.textSize.height;const s=14;return 0===n&&(n=s,o=s),{width:n,height:o}}}class Ht extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i);this.width=n.width+this.margin.right+this.margin.left,this.height=n.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.initContextForDraw(t,s),m(t,this.left,this.top,this.width,this.height,s.borderRadius),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o)}updateBoundingBox(t,e,i,n,o){this._updateBoundingBox(t,e,i,n,o);const s=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(s)}distanceToBorder(t,e){t&&this.resize(t);const i=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+i}}class Bt extends Ft{constructor(t,e,i){super(t,e,i),this.labelOffset=0,this.selected=!1}setOptions(t,e,i){this.options=t,void 0===e&&void 0===i||this.setImages(e,i)}setImages(t,e){e&&this.selected?(this.imageObj=e,this.imageObjAlt=t):(this.imageObj=t,this.imageObjAlt=e)}switchImages(t){const e=t&&!this.selected||!t&&this.selected;if(this.selected=t,void 0!==this.imageObjAlt&&e){const t=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=t}}_getImagePadding(){const t={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){const e=this.options.imagePadding;"object"==typeof e?(t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left):(t.top=e,t.right=e,t.bottom=e,t.left=e)}return t}_resizeImage(){let t,e;if(!1===this.options.shapeProperties.useImageSize){let i=1,n=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?i=this.imageObj.width/this.imageObj.height:n=this.imageObj.height/this.imageObj.width),t=2*this.options.size*i,e=2*this.options.size*n}else{const i=this._getImagePadding();t=this.imageObj.width+i.left+i.right,e=this.imageObj.height+i.top+i.bottom}this.width=t,this.height=e,this.radius=.5*this.width}_drawRawCircle(t,e,i,n){this.initContextForDraw(t,n),u(t,e,i,n.size),this.performFill(t,n)}_drawImageAtPosition(t,e){if(0!=this.imageObj.width){t.globalAlpha=void 0!==e.opacity?e.opacity:1,this.enableShadow(t,e);let i=1;!0===this.options.shapeProperties.interpolation&&(i=this.imageObj.width/this.width/this.body.view.scale);const n=this._getImagePadding(),o=this.left+n.left,s=this.top+n.top,r=this.width-n.left-n.right,a=this.height-n.top-n.bottom;this.imageObj.drawImageAtPosition(t,i,o,s,r,a),this.disableShadow(t,e)}}_drawImageLabel(t,e,i,n,o){let s=0;if(void 0!==this.height){s=.5*this.height;const e=this.labelModule.getTextSize(t,n,o);e.lineCount>=1&&(s+=e.height/2)}const r=i+s;this.options.label&&(this.labelOffset=s),this.labelModule.draw(t,e,r,n,o,"hanging")}}class zt extends Bt{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i),o=Math.max(n.width+this.margin.right+this.margin.left,n.height+this.margin.top+this.margin.bottom);this.options.size=o/2,this.width=o,this.height=o,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this._drawRawCircle(t,e,i,s),this.updateBoundingBox(e,i),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,i,n,o)}updateBoundingBox(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size}distanceToBorder(t,e){return t&&this.resize(t),.5*this.width}}class Wt extends Bt{constructor(t,e,i,n,o){super(t,e,i),this.setImages(n,o)}resize(t,e=this.selected,i=this.hover){const n=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(n){const t=2*this.options.size;return this.width=t,this.height=t,void(this.radius=.5*this.width)}this.needsRefresh(e,i)&&this._resizeImage()}draw(t,e,i,n,o,s){this.switchImages(n),this.resize();let r=e,a=i;"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=i,r+=this.width/2,a+=this.height/2):(this.left=e-this.width/2,this.top=i-this.height/2),this._drawRawCircle(t,r,a,s),t.save(),t.clip(),this._drawImageAtPosition(t,s),t.restore(),this._drawImageLabel(t,r,a,n,o),this.updateBoundingBox(e,i)}updateBoundingBox(t,e){"top-left"===this.options.shapeProperties.coordinateOrigin?(this.boundingBox.top=e,this.boundingBox.left=t,this.boundingBox.right=t+2*this.options.size,this.boundingBox.bottom=e+2*this.options.size):(this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size),this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}distanceToBorder(t,e){return t&&this.resize(t),.5*this.width}}class Vt extends Ft{constructor(t,e,i){super(t,e,i)}resize(t,e=this.selected,i=this.hover,n={size:this.options.size}){if(this.needsRefresh(e,i)){this.labelModule.getTextSize(t,e,i);const o=2*n.size;this.width=o,this.height=o,this.radius=.5*this.width}}_drawShape(t,e,i,n,o,s,r,a,g){if(this.resize(t,s,r,a),this.left=n-this.width/2,this.top=o-this.height/2,"custom"===e)return t.save(),g({ctx:t,x:n,y:o,state:{selected:s,hover:r},style:{...a},label:this.options.label}),void t.restore();if(this.initContextForDraw(t,a),M(e)(t,n,o,a.size),this.performFill(t,a),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(t.font=(s?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",t.fillText(this.options.icon.code,n,o)),void 0!==this.options.label){this.labelModule.calculateLabelSize(t,s,r,n,o,"hanging");const e=o+.5*this.height+.5*this.labelModule.size.height;this.labelModule.draw(t,n,e,s,r,"hanging")}this.updateBoundingBox(n,o)}updateBoundingBox(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}class Gt extends Vt{constructor(t,e,i,n){super(t,e,i,n),this.ctxRenderer=n}draw(t,e,i,n,o,s){this._drawShape(t,"custom",4,e,i,n,o,s,this.ctxRenderer)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Zt extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i),o=n.width+this.margin.right+this.margin.left;this.width=o,this.height=o,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.initContextForDraw(t,s),b(t,e-this.width/2,i-this.height/2,this.width,this.height),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Ut extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"diamond",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Kt extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"circle",2,e,i,n,o,s)}distanceToBorder(t,e){return t&&this.resize(t),this.options.size}}class Xt extends Ft{constructor(t,e,i){super(t,e,i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i);this.height=2*n.height,this.width=n.width+n.height,this.radius=.5*this.width}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-.5*this.width,this.top=i-.5*this.height,this.initContextForDraw(t,s),v(t,this.left,this.top,this.width,this.height),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,e,i,n,o)}distanceToBorder(t,e){t&&this.resize(t);const i=.5*this.width,n=.5*this.height,o=Math.sin(e)*i,s=Math.cos(e)*n;return i*n/Math.sqrt(o*o+s*s)}}class Jt extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){this.needsRefresh(e,i)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}draw(t,e,i,n,o,s){if(this.resize(t,n,o),this.options.icon.size=this.options.icon.size||50,this.left=e-this.width/2,this.top=i-this.height/2,this._icon(t,e,i,n,o,s),void 0!==this.options.label){const e=5;this.labelModule.draw(t,this.left+this.iconSize.width/2+this.margin.left,i+this.height/2+e,n)}this.updateBoundingBox(e,i)}updateBoundingBox(t,e){if(this.boundingBox.top=e-.5*this.options.icon.size,this.boundingBox.left=t-.5*this.options.icon.size,this.boundingBox.right=t+.5*this.options.icon.size,this.boundingBox.bottom=e+.5*this.options.icon.size,void 0!==this.options.label&&this.labelModule.size.width>0){const t=5;this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+t)}}_icon(t,e,i,n,o,s){const r=Number(this.options.icon.size);void 0!==this.options.icon.code?(t.font=[null!=this.options.icon.weight?this.options.icon.weight:n?"bold":"",(null!=this.options.icon.weight&&n?5:0)+r+"px",this.options.icon.face].join(" "),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",this.enableShadow(t,s),t.fillText(this.options.icon.code,e,i),this.disableShadow(t,s)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Qt extends Bt{constructor(t,e,i,n,o){super(t,e,i),this.setImages(n,o)}resize(t,e=this.selected,i=this.hover){const n=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(n){const t=2*this.options.size;return this.width=t,void(this.height=t)}this.needsRefresh(e,i)&&this._resizeImage()}draw(t,e,i,n,o,r){t.save(),this.switchImages(n),this.resize();let a=e,g=i;if("top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=i,a+=this.width/2,g+=this.height/2):(this.left=e-this.width/2,this.top=i-this.height/2),!0===this.options.shapeProperties.useBorderWithImage){const e=this.options.borderWidth,i=this.options.borderWidthSelected||2*this.options.borderWidth,a=(n?i:e)/this.body.view.scale;t.lineWidth=Math.min(this.width,a),t.beginPath();let g=n?this.options.color.highlight.border:o?this.options.color.hover.border:this.options.color.border,d=n?this.options.color.highlight.background:o?this.options.color.hover.background:this.options.color.background;void 0!==r.opacity&&(g=Object(s["overrideOpacity"])(g,r.opacity),d=Object(s["overrideOpacity"])(d,r.opacity)),t.strokeStyle=g,t.fillStyle=d,t.rect(this.left-.5*t.lineWidth,this.top-.5*t.lineWidth,this.width+t.lineWidth,this.height+t.lineWidth),t.fill(),this.performStroke(t,r),t.closePath()}this._drawImageAtPosition(t,r),this._drawImageLabel(t,a,g,n,o),this.updateBoundingBox(e,i),t.restore()}updateBoundingBox(t,e){this.resize(),"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=t,this.top=e):(this.left=t-this.width/2,this.top=e-this.height/2),this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class qt extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"square",2,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class $t extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"hexagon",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class te extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"star",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ee extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){this.needsRefresh(e,i)&&(this.textSize=this.labelModule.getTextSize(t,e,i),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.enableShadow(t,s),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o),this.disableShadow(t,s),this.updateBoundingBox(e,i,t,n,o)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ie extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"triangle",3,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ne extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"triangleDown",3,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}let oe,se=!1;const re="background: #FFeeee; color: #dd0000";class ae{constructor(){}static validate(t,e,i){se=!1,oe=e;let n=e;return void 0!==i&&(n=e[i]),ae.parse(t,n,[]),se}static parse(t,e,i){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&ae.check(n,t,e,i)}static check(t,e,i,n){if(void 0===i[t]&&void 0===i.__any__)return void ae.getSuggestion(t,i,n);let o=t,s=!0;void 0===i[t]&&void 0!==i.__any__&&(o="__any__",s="object"===ae.getType(e[t]));let r=i[o];s&&void 0!==r.__type__&&(r=r.__type__),ae.checkFields(t,e,i,o,r,n)}static checkFields(t,e,i,n,o,r){const a=function(e){console.log("%c"+e+ae.printLocation(r,t),re)},g=ae.getType(e[t]),d=o[g];void 0!==d?"array"===ae.getType(d)&&-1===d.indexOf(e[t])?(a('Invalid option detected in "'+t+'". Allowed values are:'+ae.print(d)+' not "'+e[t]+'". '),se=!0):"object"===g&&"__any__"!==n&&(r=Object(s["copyAndExtendArray"])(r,t),ae.parse(e[t],i[n],r)):void 0===o["any"]&&(a('Invalid type received for "'+t+'". Expected: '+ae.print(Object.keys(o))+". Received ["+g+'] "'+e[t]+'"'),se=!0)}static getType(t){const e=typeof t;return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Array.isArray(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}static getSuggestion(t,e,i){const n=ae.findInOptions(t,e,i,!1),o=ae.findInOptions(t,oe,[],!0),s=8,r=4;let a;a=void 0!==n.indexMatch?" in "+ae.printLocation(n.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+n.indexMatch+'"?\n\n':o.distance<=r&&n.distance>o.distance?" in "+ae.printLocation(n.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+ae.printLocation(o.path,o.closestMatch,""):n.distance<=s?'. Did you mean "'+n.closestMatch+'"?'+ae.printLocation(n.path,t):". Did you mean one of these: "+ae.print(Object.keys(e))+ae.printLocation(i,t),console.log('%cUnknown option detected: "'+t+'"'+a,re),se=!0}static findInOptions(t,e,i,n=!1){let o=1e9,r="",a=[];const g=t.toLowerCase();let d=void 0;for(const l in e){let c;if(void 0!==e[l].__type__&&!0===n){const n=ae.findInOptions(t,e[l],Object(s["copyAndExtendArray"])(i,l));o>n.distance&&(r=n.closestMatch,a=n.path,o=n.distance,d=n.indexMatch)}else-1!==l.toLowerCase().indexOf(g)&&(d=l),c=ae.levenshteinDistance(t,l),o>c&&(r=l,a=Object(s["copyArray"])(i),o=c)}return{closestMatch:r,path:a,distance:o,indexMatch:d}}static printLocation(t,e,i="Problem value found at: \n"){let n="\n\n"+i+"options = {\n";for(let o=0;onull!=e[t]);a.push("font"),Object(s["selectiveNotDeepExtend"])(a,t,r),t.color=Object(s["parseColor"])(t.color)}static parseOptions(t,e,i=!1,n={},o){const r=["color","fixed","shadow"];if(Object(s["selectiveNotDeepExtend"])(r,t,e,i),ge.checkMass(e),void 0!==t.opacity&&(ge.checkOpacity(t.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity),t.opacity=void 0)),void 0!==e.opacity&&(ge.checkOpacity(e.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity),e.opacity=void 0)),e.shapeProperties&&!ge.checkCoordinateOrigin(e.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+e.shapeProperties.coordinateOrigin),Object(s["mergeOptions"])(t,e,"shadow",n),void 0!==e.color&&null!==e.color){const i=Object(s["parseColor"])(e.color);Object(s["fillIfDefined"])(t.color,i)}else!0===i&&null===e.color&&(t.color=Object(s["bridgeObject"])(n.color));void 0!==e.fixed&&null!==e.fixed&&("boolean"===typeof e.fixed?(t.fixed.x=e.fixed,t.fixed.y=e.fixed):(void 0!==e.fixed.x&&"boolean"===typeof e.fixed.x&&(t.fixed.x=e.fixed.x),void 0!==e.fixed.y&&"boolean"===typeof e.fixed.y&&(t.fixed.y=e.fixed.y))),!0===i&&null===e.font&&(t.font=Object(s["bridgeObject"])(n.font)),ge.updateGroupOptions(t,e,o),void 0!==e.scaling&&Object(s["mergeOptions"])(t.scaling,e.scaling,"label",n.scaling)}getFormattingValues(){const t={color:this.options.color.background,opacity:this.options.opacity,borderWidth:this.options.borderWidth,borderColor:this.options.color.border,size:this.options.size,borderDashes:this.options.shapeProperties.borderDashes,borderRadius:this.options.shapeProperties.borderRadius,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y};if(this.selected||this.hover?!0===this.chooser?this.selected?(t.borderWidth*=2,t.color=this.options.color.highlight.background,t.borderColor=this.options.color.highlight.border,t.shadow=this.options.shadow.enabled):this.hover&&(t.color=this.options.color.hover.background,t.borderColor=this.options.color.hover.border,t.shadow=this.options.shadow.enabled):"function"===typeof this.chooser&&(this.chooser(t,this.options.id,this.selected,this.hover),!1===t.shadow&&(t.shadowColor===this.options.shadow.color&&t.shadowSize===this.options.shadow.size&&t.shadowX===this.options.shadow.x&&t.shadowY===this.options.shadow.y||(t.shadow=!0))):t.shadow=this.options.shadow.enabled,void 0!==this.options.opacity){const e=this.options.opacity;t.borderColor=Object(s["overrideOpacity"])(t.borderColor,e),t.color=Object(s["overrideOpacity"])(t.color,e),t.shadowColor=Object(s["overrideOpacity"])(t.shadowColor,e)}return t}updateLabelModule(t){void 0!==this.options.label&&null!==this.options.label||(this.options.label=""),ge.updateGroupOptions(this.options,{...t,color:t&&t.color||this._localColor||void 0},this.grouplist);const e=this.grouplist.get(this.options.group,!1),i=[t,this.options,e,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,i),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}updateShape(t){if(t===this.options.shape&&this.shape)this.shape.setOptions(this.options,this.imageObj,this.imageObjAlt);else switch(this.options.shape){case"box":this.shape=new Ht(this.options,this.body,this.labelModule);break;case"circle":this.shape=new zt(this.options,this.body,this.labelModule);break;case"circularImage":this.shape=new Wt(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"custom":this.shape=new Gt(this.options,this.body,this.labelModule,this.options.ctxRenderer);break;case"database":this.shape=new Zt(this.options,this.body,this.labelModule);break;case"diamond":this.shape=new Ut(this.options,this.body,this.labelModule);break;case"dot":this.shape=new Kt(this.options,this.body,this.labelModule);break;case"ellipse":this.shape=new Xt(this.options,this.body,this.labelModule);break;case"icon":this.shape=new Jt(this.options,this.body,this.labelModule);break;case"image":this.shape=new Qt(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"square":this.shape=new qt(this.options,this.body,this.labelModule);break;case"hexagon":this.shape=new $t(this.options,this.body,this.labelModule);break;case"star":this.shape=new te(this.options,this.body,this.labelModule);break;case"text":this.shape=new ee(this.options,this.body,this.labelModule);break;case"triangle":this.shape=new ie(this.options,this.body,this.labelModule);break;case"triangleDown":this.shape=new ne(this.options,this.body,this.labelModule);break;default:this.shape=new Xt(this.options,this.body,this.labelModule);break}this.needsRefresh()}select(){this.selected=!0,this.needsRefresh()}unselect(){this.selected=!1,this.needsRefresh()}needsRefresh(){this.shape.refreshNeeded=!0}getTitle(){return this.options.title}distanceToBorder(t,e){return this.shape.distanceToBorder(t,e)}isFixed(){return this.options.fixed.x&&this.options.fixed.y}isSelected(){return this.selected}getValue(){return this.options.value}getLabelSize(){return this.labelModule.size()}setValueRange(t,e,i){if(void 0!==this.options.value){const n=this.options.scaling.customScalingFunction(t,e,i,this.options.value),o=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){const t=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+n*t}this.options.size=this.options.scaling.min+n*o}else this.options.size=this.baseSize,this.options.font.size=this.baseFontSize;this.updateLabelModule()}draw(t){const e=this.getFormattingValues();this.shape.draw(t,this.x,this.y,this.selected,this.hover,e)}updateBoundingBox(t){this.shape.updateBoundingBox(this.x,this.y,t)}resize(t){const e=this.getFormattingValues();this.shape.resize(t,this.selected,this.hover,e)}getItemsOnPoint(t){const e=[];return this.labelModule.visible()&&Lt(this.labelModule.getSize(),t)&&e.push({nodeId:this.id,labelId:0}),Lt(this.shape.boundingBox,t)&&e.push({nodeId:this.id}),e}isOverlappingWith(t){return this.shape.leftt.left&&this.shape.topt.top}isBoundingBoxOverlappingWith(t){return this.shape.boundingBox.leftt.left&&this.shape.boundingBox.topt.top}static checkMass(t,e){if(void 0!==t.mass&&t.mass<=0){let i="";void 0!==e&&(i=" in node id: "+e),console.log("%cNegative or zero mass disallowed"+i+", setting mass to 1.",re),t.mass=1}}}class de{constructor(t,e,i,n){if(this.body=t,this.images=e,this.groups=i,this.layoutEngine=n,this.body.functions.createNode=this.create.bind(this),this.nodesListeners={add:(t,e)=>{this.add(e.items)},update:(t,e)=>{this.update(e.items,e.data,e.oldData)},remove:(t,e)=>{this.remove(e.items)}},this.defaultOptions={borderWidth:1,borderWidthSelected:2,brokenImage:void 0,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},opacity:void 0,fixed:{x:!1,y:!1},font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:0,strokeColor:"#ffffff",align:"center",vadjust:0,multi:!1,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"monospace",vadjust:2}},group:void 0,hidden:!1,icon:{face:"FontAwesome",code:void 0,size:50,color:"#2B7CE9"},image:void 0,imagePadding:{top:0,right:0,bottom:0,left:0},label:void 0,labelHighlightBold:!0,level:void 0,margin:{top:5,right:5,bottom:5,left:5},mass:1,physics:!0,scaling:{min:10,max:30,label:{enabled:!1,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,i,n){if(e===t)return.5;{const i=1/(e-t);return Math.max(0,(n-t)*i)}}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},shape:"ellipse",shapeProperties:{borderDashes:!1,borderRadius:6,interpolation:!0,useImageSize:!1,useBorderWithImage:!1,coordinateOrigin:"center"},size:25,title:void 0,value:void 0,x:void 0,y:void 0},this.defaultOptions.mass<=0)throw"Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";this.options=Object(s["bridgeObject"])(this.defaultOptions),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("refreshNodes",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",()=>{Object(s["forEach"])(this.nodesListeners,(t,e)=>{this.body.data.nodes&&this.body.data.nodes.off(e,t)}),delete this.body.functions.createNode,delete this.nodesListeners.add,delete this.nodesListeners.update,delete this.nodesListeners.remove,delete this.nodesListeners})}setOptions(t){if(void 0!==t){if(ge.parseOptions(this.options,t),void 0!==t.opacity&&(Number.isNaN(t.opacity)||!Number.isFinite(t.opacity)||t.opacity<0||t.opacity>1?console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity):this.options.opacity=t.opacity),void 0!==t.shape)for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this.body.nodes[t].updateShape();if("undefined"!==typeof t.font||"undefined"!==typeof t.widthConstraint||"undefined"!==typeof t.heightConstraint)for(const t of Object.keys(this.body.nodes))this.body.nodes[t].updateLabelModule(),this.body.nodes[t].needsRefresh();if(void 0!==t.size)for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this.body.nodes[t].needsRefresh();void 0===t.hidden&&void 0===t.physics||this.body.emitter.emit("_dataChanged")}}setData(t,e=!1){const i=this.body.data.nodes;if(t instanceof d["a"]||t instanceof d["b"])this.body.data.nodes=t;else if(Array.isArray(t))this.body.data.nodes=new d["a"],this.body.data.nodes.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new d["a"]}if(i&&Object(s["forEach"])(this.nodesListeners,(function(t,e){i.off(e,t)})),this.body.nodes={},this.body.data.nodes){const t=this;Object(s["forEach"])(this.nodesListeners,(function(e,i){t.body.data.nodes.on(i,e)}));const e=this.body.data.nodes.getIds();this.add(e,!0)}!1===e&&this.body.emitter.emit("_dataChanged")}add(t,e=!1){let i;const n=[];for(let o=0;o{const n=this.body.data.nodes.get(i);void 0!==n&&(!0===t&&e.setOptions({x:null,y:null}),e.setOptions({fixed:!1}),e.setOptions(n))})}getPositions(t){const e={};if(void 0!==t){if(!0===Array.isArray(t)){for(let i=0;i{this.body.emitter.emit("startSimulation")},0)):console.log("Node id supplied to moveNode does not exist. Provided: ",t)}}class le{static transform(t,e){Array.isArray(t)||(t=[t]);const i=e.point.x,n=e.point.y,o=e.angle,s=e.length;for(let r=0;r0?a>0?s=h:r=h:a>0?r=h:s=h,++A}while(s<=r&&A1?d=1:d<0&&(d=0);const l=t+d*r,c=e+d*a,h=l-o,u=c-s;return Math.sqrt(h*h+u*u)}getArrowData(t,e,i,n,o,s){let r,a,g,d,l,c,h;const u=s.width;"from"===e?(g=this.from,d=this.to,l=s.fromArrowScale<0,c=Math.abs(s.fromArrowScale),h=s.fromArrowType):"to"===e?(g=this.to,d=this.from,l=s.toArrowScale<0,c=Math.abs(s.toArrowScale),h=s.toArrowType):(g=this.to,d=this.from,l=s.middleArrowScale<0,c=Math.abs(s.middleArrowScale),h=s.middleArrowType);const A=15*c+3*u;if(g!=d){const n=Math.hypot(g.x-d.x,g.y-d.y),o=A/n;if("middle"!==e)if(!0===this.options.smooth.enabled){const n=this._findBorderPosition(g,t,{via:i}),s=this.getPoint(n.t+o*("from"===e?1:-1),i);r=Math.atan2(n.y-s.y,n.x-s.x),a=n}else r=Math.atan2(g.y-d.y,g.x-d.x),a=this._findBorderPosition(g,t);else{const t=(l?-o:o)/2,e=this.getPoint(.5+t,i),n=this.getPoint(.5-t,i);r=Math.atan2(e.y-n.y,e.x-n.x),a=this.getPoint(.5,i)}}else{const[i,n,o]=this._getCircleData(t);if("from"===e){const e=this.options.selfReference.angle,o=this.options.selfReference.angle+Math.PI,s=this._findBorderPositionCircle(this.from,t,{x:i,y:n,low:e,high:o,direction:-1});r=-2*s.t*Math.PI+1.5*Math.PI+.1*Math.PI,a=s}else if("to"===e){const e=this.options.selfReference.angle,o=this.options.selfReference.angle+Math.PI,s=this._findBorderPositionCircle(this.from,t,{x:i,y:n,low:e,high:o,direction:1});r=-2*s.t*Math.PI+1.5*Math.PI-1.1*Math.PI,a=s}else{const t=this.options.selfReference.angle/(2*Math.PI);a=this._pointOnCircle(i,n,o,t),r=-2*t*Math.PI+1.5*Math.PI+.1*Math.PI}}const C=a.x-.9*A*Math.cos(r),I=a.y-.9*A*Math.sin(r),p={x:C,y:I};return{point:a,core:p,angle:r,length:A,type:h}}drawArrowHead(t,e,i,n,o){t.strokeStyle=this.getColor(t,e),t.fillStyle=t.strokeStyle,t.lineWidth=e.width;const s=_e.draw(t,o);s&&(this.enableShadow(t,e),t.fill(),this.disableShadow(t,e))}enableShadow(t,e){!0===e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}disableShadow(t,e){!0===e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}drawBackground(t,e){if(!1!==e.background){const i={strokeStyle:t.strokeStyle,lineWidth:t.lineWidth,dashes:t.dashes};t.strokeStyle=e.backgroundColor,t.lineWidth=e.backgroundSize,this.setStrokeDashed(t,e.backgroundDashes),t.stroke(),t.strokeStyle=i.strokeStyle,t.lineWidth=i.lineWidth,t.dashes=i.dashes,this.setStrokeDashed(t,e.dashes)}}setStrokeDashed(t,e){if(!1!==e)if(void 0!==t.setLineDash){const i=Array.isArray(e)?e:[5,5];t.setLineDash(i)}else console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");else void 0!==t.setLineDash?t.setLineDash([]):console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.")}}class Me extends we{constructor(t,e,i){super(t,e,i)}_findBorderPositionBezier(t,e,i=this._getViaCoordinates()){const n=10,o=.2;let s,r,a=!1,g=1,d=0,l=this.to,c=this.options.endPointOffset?this.options.endPointOffset.to:0;t.id===this.from.id&&(l=this.from,a=!0,c=this.options.endPointOffset?this.options.endPointOffset.from:0),!1===this.options.arrowStrikethrough&&(c=0);let h=0;do{r=.5*(d+g),s=this.getPoint(r,i);const t=Math.atan2(l.y-s.y,l.x-s.x),n=l.distanceToBorder(e,t)+c,u=Math.sqrt(Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2)),A=n-u;if(Math.abs(A)0&&(a=this._getDistanceToLine(u,A,l,c,o,s),h=a{this.positionBezierNode()},this._body.emitter.on("_repositionBezierNodes",this._boundFunction)}setOptions(t){super.setOptions(t);let e=!1;this.options.physics!==t.physics&&(e=!0),this.options=t,this.id=this.options.id,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.setupSupportNode(),this.connect(),!0===e&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}connect(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],void 0===this.from||void 0===this.to||!1===this.options.physics||this.from.id===this.to.id?this.via.setOptions({physics:!1}):this.via.setOptions({physics:!0})}cleanup(){return this._body.emitter.off("_repositionBezierNodes",this._boundFunction),void 0!==this.via&&(delete this._body.nodes[this.via.id],this.via=void 0,!0)}setupSupportNode(){if(void 0===this.via){const t="edgeId:"+this.id,e=this._body.functions.createNode({id:t,shape:"circle",physics:!0,hidden:!0});this._body.nodes[t]=e,this.via=e,this.via.parentEdgeId=this.id,this.positionBezierNode()}}positionBezierNode(){void 0!==this.via&&void 0!==this.from&&void 0!==this.to?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):void 0!==this.via&&(this.via.x=0,this.via.y=0)}_line(t,e,i){this._bezierCurve(t,e,i)}_getViaCoordinates(){return this.via}getViaNode(){return this.via}getPoint(t,e=this.via){if(this.from===this.to){const[e,i,n]=this._getCircleData(),o=2*Math.PI*(1-t);return{x:e+n*Math.sin(o),y:i+n-n*(1-Math.cos(o))}}return{x:Math.pow(1-t,2)*this.fromPoint.x+2*t*(1-t)*e.x+Math.pow(t,2)*this.toPoint.x,y:Math.pow(1-t,2)*this.fromPoint.y+2*t*(1-t)*e.y+Math.pow(t,2)*this.toPoint.y}}_findBorderPosition(t,e){return this._findBorderPositionBezier(t,e,this.via)}_getDistanceToEdge(t,e,i,n,o,s){return this._getDistanceToBezierEdge(t,e,i,n,o,s,this.via)}}class ke extends Me{constructor(t,e,i){super(t,e,i)}_line(t,e,i){this._bezierCurve(t,e,i)}getViaNode(){return this._getViaCoordinates()}_getViaCoordinates(){const t=this.options.smooth.roundness,e=this.options.smooth.type;let i=Math.abs(this.from.x-this.to.x),n=Math.abs(this.from.y-this.to.y);if("discrete"===e||"diagonalCross"===e){let o,s;o=s=i<=n?t*n:t*i,this.from.x>this.to.x&&(o=-o),this.from.y>=this.to.y&&(s=-s);let r=this.from.x+o,a=this.from.y+s;return"discrete"===e&&(i<=n?r=ithis.to.x&&(e=-e),this.from.y>=this.to.y&&(o=-o);let s=this.from.x+e,r=this.from.y+o;return i<=n?s=this.from.x<=this.to.x?this.to.xs?this.to.x:s:r=this.from.y>=this.to.y?this.to.y>r?this.to.y:r:this.to.y0){const t=this._getDistanceToLine(d,l,A,C,o,s);g=tMath.abs(e)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(n=this.from.y,s=this.to.y,i=this.from.x-r*t,o=this.to.x+r*t):(n=this.from.y-r*e,s=this.to.y+r*e,i=this.from.x,o=this.to.x),[{x:i,y:n},{x:o,y:s}]}getViaNode(){return this._getViaCoordinates()}_findBorderPosition(t,e){return this._findBorderPositionBezier(t,e)}_getDistanceToEdge(t,e,i,n,o,s,[r,a]=this._getViaCoordinates()){return this._getDistanceToBezierEdge2(t,e,i,n,o,s,r,a)}getPoint(t,[e,i]=this._getViaCoordinates()){const n=t,o=[Math.pow(1-n,3),3*n*Math.pow(1-n,2),3*Math.pow(n,2)*(1-n),Math.pow(n,3)],s=o[0]*this.fromPoint.x+o[1]*e.x+o[2]*i.x+o[3]*this.toPoint.x,r=o[0]*this.fromPoint.y+o[1]*e.y+o[2]*i.y+o[3]*this.toPoint.y;return{x:s,y:r}}}class Le extends we{constructor(t,e,i){super(t,e,i)}_line(t,e){t.beginPath(),t.moveTo(this.fromPoint.x,this.fromPoint.y),t.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}getViaNode(){}getPoint(t){return{x:(1-t)*this.fromPoint.x+t*this.toPoint.x,y:(1-t)*this.fromPoint.y+t*this.toPoint.y}}_findBorderPosition(t,e){let i=this.to,n=this.from;t.id===this.from.id&&(i=this.from,n=this.to);const o=Math.atan2(i.y-n.y,i.x-n.x),s=i.x-n.x,r=i.y-n.y,a=Math.sqrt(s*s+r*r),g=t.distanceToBorder(e,o),d=(a-g)/a;return{x:(1-d)*n.x+d*i.x,y:(1-d)*n.y+d*i.y,t:0}}_getDistanceToEdge(t,e,i,n,o,s){return this._getDistanceToLine(t,e,i,n,o,s)}}class Oe{constructor(t,e,i,n,o){if(void 0===e)throw new Error("No body provided");this.options=Object(s["bridgeObject"])(n),this.globalOptions=n,this.defaultOptions=o,this.body=e,this.imagelist=i,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new Rt(this.body,this.options,!0),this.setOptions(t)}setOptions(t){if(!t)return;let e="undefined"!==typeof t.physics&&this.options.physics!==t.physics||"undefined"!==typeof t.hidden&&(this.options.hidden||!1)!==(t.hidden||!1)||"undefined"!==typeof t.from&&this.options.from!==t.from||"undefined"!==typeof t.to&&this.options.to!==t.to;Oe.parseOptions(this.options,t,!0,this.globalOptions),void 0!==t.id&&(this.id=t.id),void 0!==t.from&&(this.fromId=t.from),void 0!==t.to&&(this.toId=t.to),void 0!==t.title&&(this.title=t.title),void 0!==t.value&&(t.value=parseFloat(t.value));const i=[t,this.options,this.defaultOptions];return this.chooser=Tt("edge",i),this.updateLabelModule(t),e=this.updateEdgeType()||e,this._setInteractionWidths(),this.connect(),e}static parseOptions(t,e,i=!1,n={},o=!1){const r=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if(Object(s["selectiveDeepExtend"])(r,t,e,i),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.from&&(Number.isFinite(e.endPointOffset.from)?t.endPointOffset.from=e.endPointOffset.from:(t.endPointOffset.from=void 0!==n.endPointOffset.from?n.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.to&&(Number.isFinite(e.endPointOffset.to)?t.endPointOffset.to=e.endPointOffset.to:(t.endPointOffset.to=void 0!==n.endPointOffset.to?n.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),Ot(e.label)?t.label=e.label:Ot(t.label)||(t.label=void 0),Object(s["mergeOptions"])(t,e,"smooth",n),Object(s["mergeOptions"])(t,e,"shadow",n),Object(s["mergeOptions"])(t,e,"background",n),void 0!==e.dashes&&null!==e.dashes?t.dashes=e.dashes:!0===i&&null===e.dashes&&(t.dashes=Object.create(n.dashes)),void 0!==e.scaling&&null!==e.scaling?(void 0!==e.scaling.min&&(t.scaling.min=e.scaling.min),void 0!==e.scaling.max&&(t.scaling.max=e.scaling.max),Object(s["mergeOptions"])(t.scaling,e.scaling,"label",n.scaling)):!0===i&&null===e.scaling&&(t.scaling=Object.create(n.scaling)),void 0!==e.arrows&&null!==e.arrows)if("string"===typeof e.arrows){const i=e.arrows.toLowerCase();t.arrows.to.enabled=-1!=i.indexOf("to"),t.arrows.middle.enabled=-1!=i.indexOf("middle"),t.arrows.from.enabled=-1!=i.indexOf("from")}else{if("object"!==typeof e.arrows)throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+JSON.stringify(e.arrows));Object(s["mergeOptions"])(t.arrows,e.arrows,"to",n.arrows),Object(s["mergeOptions"])(t.arrows,e.arrows,"middle",n.arrows),Object(s["mergeOptions"])(t.arrows,e.arrows,"from",n.arrows)}else!0===i&&null===e.arrows&&(t.arrows=Object.create(n.arrows));if(void 0!==e.color&&null!==e.color){const r=Object(s["isString"])(e.color)?{color:e.color,highlight:e.color,hover:e.color,inherit:!1,opacity:1}:e.color,a=t.color;if(o)Object(s["deepExtend"])(a,n.color,!1,i);else for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&delete a[t];if(Object(s["isString"])(a))a.color=a,a.highlight=a,a.hover=a,a.inherit=!1,void 0===r.opacity&&(a.opacity=1);else{let t=!1;void 0!==r.color&&(a.color=r.color,t=!0),void 0!==r.highlight&&(a.highlight=r.highlight,t=!0),void 0!==r.hover&&(a.hover=r.hover,t=!0),void 0!==r.inherit&&(a.inherit=r.inherit),void 0!==r.opacity&&(a.opacity=Math.min(1,Math.max(0,r.opacity))),!0===t?a.inherit=!1:void 0===a.inherit&&(a.inherit="from")}}else!0===i&&null===e.color&&(t.color=Object(s["bridgeObject"])(n.color));!0===i&&null===e.font&&(t.font=Object(s["bridgeObject"])(n.font)),Object.prototype.hasOwnProperty.call(e,"selfReferenceSize")&&(console.log("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}"),t.selfReference.size=e.selfReferenceSize)}getFormattingValues(){const t=!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,e=!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,i=!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,n=this.options.color.inherit,o={toArrow:t,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,toArrowSrc:this.options.arrows.to.src,toArrowImageWidth:this.options.arrows.to.imageWidth,toArrowImageHeight:this.options.arrows.to.imageHeight,middleArrow:i,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,middleArrowSrc:this.options.arrows.middle.src,middleArrowImageWidth:this.options.arrows.middle.imageWidth,middleArrowImageHeight:this.options.arrows.middle.imageHeight,fromArrow:e,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,fromArrowSrc:this.options.arrows.from.src,fromArrowImageWidth:this.options.arrows.from.imageWidth,fromArrowImageHeight:this.options.arrows.from.imageHeight,arrowStrikethrough:this.options.arrowStrikethrough,color:n?void 0:this.options.color.color,inheritsColor:n,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width,background:this.options.background.enabled,backgroundColor:this.options.background.color,backgroundSize:this.options.background.size,backgroundDashes:this.options.background.dashes};if(this.selected||this.hover)if(!0===this.chooser){if(this.selected){const t=this.options.selectionWidth;"function"===typeof t?o.width=t(o.width):"number"===typeof t&&(o.width+=t),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.highlight,o.shadow=this.options.shadow.enabled}else if(this.hover){const t=this.options.hoverWidth;"function"===typeof t?o.width=t(o.width):"number"===typeof t&&(o.width+=t),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.hover,o.shadow=this.options.shadow.enabled}}else"function"===typeof this.chooser&&(this.chooser(o,this.options.id,this.selected,this.hover),void 0!==o.color&&(o.inheritsColor=!1),!1===o.shadow&&(o.shadowColor===this.options.shadow.color&&o.shadowSize===this.options.shadow.size&&o.shadowX===this.options.shadow.x&&o.shadowY===this.options.shadow.y||(o.shadow=!0)));else o.shadow=this.options.shadow.enabled,o.width=Math.max(o.width,.3/this.body.view.scale);return o}updateLabelModule(t){const e=[t,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,e),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}updateEdgeType(){const t=this.options.smooth;let e=!1,i=!0;return void 0!==this.edgeType&&((this.edgeType instanceof xe&&!0===t.enabled&&"dynamic"===t.type||this.edgeType instanceof Te&&!0===t.enabled&&"cubicBezier"===t.type||this.edgeType instanceof ke&&!0===t.enabled&&"dynamic"!==t.type&&"cubicBezier"!==t.type||this.edgeType instanceof Le&&!1===t.type.enabled)&&(i=!1),!0===i&&(e=this.cleanup())),!0===i?!0===t.enabled?"dynamic"===t.type?(e=!0,this.edgeType=new xe(this.options,this.body,this.labelModule)):"cubicBezier"===t.type?this.edgeType=new Te(this.options,this.body,this.labelModule):this.edgeType=new ke(this.options,this.body,this.labelModule):this.edgeType=new Le(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),e}connect(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=void 0!==this.from&&void 0!==this.to,!0===this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}disconnect(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}getTitle(){return this.title}isSelected(){return this.selected}getValue(){return this.options.value}setValueRange(t,e,i){if(void 0!==this.options.value){const n=this.options.scaling.customScalingFunction(t,e,i,this.options.value),o=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){const t=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+n*t}this.options.width=this.options.scaling.min+n*o}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}_setInteractionWidths(){"function"===typeof this.options.hoverWidth?this.edgeType.hoverWidth=this.options.hoverWidth(this.options.width):this.edgeType.hoverWidth=this.options.hoverWidth+this.options.width,"function"===typeof this.options.selectionWidth?this.edgeType.selectionWidth=this.options.selectionWidth(this.options.width):this.edgeType.selectionWidth=this.options.selectionWidth+this.options.width}draw(t){const e=this.getFormattingValues();if(e.hidden)return;const i=this.edgeType.getViaNode();this.edgeType.drawLine(t,e,this.selected,this.hover,i),this.drawLabel(t,i)}drawArrows(t){const e=this.getFormattingValues();if(e.hidden)return;const i=this.edgeType.getViaNode(),n={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,e.fromArrow&&(n.from=this.edgeType.getArrowData(t,"from",i,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.fromPoint=n.from.core),e.fromArrowSrc&&(n.from.image=this.imagelist.load(e.fromArrowSrc)),e.fromArrowImageWidth&&(n.from.imageWidth=e.fromArrowImageWidth),e.fromArrowImageHeight&&(n.from.imageHeight=e.fromArrowImageHeight)),e.toArrow&&(n.to=this.edgeType.getArrowData(t,"to",i,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.toPoint=n.to.core),e.toArrowSrc&&(n.to.image=this.imagelist.load(e.toArrowSrc)),e.toArrowImageWidth&&(n.to.imageWidth=e.toArrowImageWidth),e.toArrowImageHeight&&(n.to.imageHeight=e.toArrowImageHeight)),e.middleArrow&&(n.middle=this.edgeType.getArrowData(t,"middle",i,this.selected,this.hover,e),e.middleArrowSrc&&(n.middle.image=this.imagelist.load(e.middleArrowSrc)),e.middleArrowImageWidth&&(n.middle.imageWidth=e.middleArrowImageWidth),e.middleArrowImageHeight&&(n.middle.imageHeight=e.middleArrowImageHeight)),e.fromArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.from),e.middleArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.middle),e.toArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.to)}drawLabel(t,e){if(void 0!==this.options.label){const i=this.from,n=this.to;let o;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(t,this.selected,this.hover),i.id!=n.id){this.labelModule.pointToSelf=!1,o=this.edgeType.getPoint(.5,e),t.save();const i=this._getRotation(t);0!=i.angle&&(t.translate(i.x,i.y),t.rotate(i.angle)),this.labelModule.draw(t,o.x,o.y,this.selected,this.hover),t.restore()}else{this.labelModule.pointToSelf=!0;const e=St(t,this.options.selfReference.angle,this.options.selfReference.size,i);o=this._pointOnCircle(e.x,e.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(t,o.x,o.y,this.selected,this.hover)}}}getItemsOnPoint(t){const e=[];if(this.labelModule.visible()){const i=this._getRotation();Lt(this.labelModule.getSize(),t,i)&&e.push({edgeId:this.id,labelId:0})}const i={left:t.x,top:t.y};return this.isOverlappingWith(i)&&e.push({edgeId:this.id}),e}isOverlappingWith(t){if(this.connected){const e=10,i=this.from.x,n=this.from.y,o=this.to.x,s=this.to.y,r=t.left,a=t.top,g=this.edgeType.getDistanceToEdge(i,n,o,s,r,a);return g0&&s<0)&&(r+=Math.PI),n.angle=r,n}_pointOnCircle(t,e,i,n){return{x:t+i*Math.cos(n),y:e-i*Math.sin(n)}}select(){this.selected=!0}unselect(){this.selected=!1}cleanup(){return this.edgeType.cleanup()}remove(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}endPointsValid(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}class Se{constructor(t,e,i){this.body=t,this.images=e,this.groups=i,this.body.functions.createEdge=this.create.bind(this),this.edgesListeners={add:(t,e)=>{this.add(e.items)},update:(t,e)=>{this.update(e.items)},remove:(t,e)=>{this.remove(e.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},endPointOffset:{from:0,to:0},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,i,n){if(e===t)return.5;{const i=1/(e-t);return Math.max(0,(n-t)*i)}}},selectionWidth:1.5,selfReference:{size:20,angle:Math.PI/4,renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},background:{enabled:!1,color:"rgba(111,111,111,1)",size:10,dashes:!1},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},Object(s["deepExtend"])(this.options,this.defaultOptions),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("_forceDisableDynamicCurves",(t,e=!0)=>{"dynamic"===t&&(t="continuous");let i=!1;for(const n in this.body.edges)if(Object.prototype.hasOwnProperty.call(this.body.edges,n)){const e=this.body.edges[n],o=this.body.data.edges.get(n);if(null!=o){const n=o.smooth;void 0!==n&&!0===n.enabled&&"dynamic"===n.type&&(void 0===t?e.setOptions({smooth:!1}):e.setOptions({smooth:{type:t}}),i=!0)}}!0===e&&!0===i&&this.body.emitter.emit("_dataChanged")}),this.body.emitter.on("_dataUpdated",()=>{this.reconnectEdges()}),this.body.emitter.on("refreshEdges",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",()=>{Object(s["forEach"])(this.edgesListeners,(t,e)=>{this.body.data.edges&&this.body.data.edges.off(e,t)}),delete this.body.functions.createEdge,delete this.edgesListeners.add,delete this.edgesListeners.update,delete this.edgesListeners.remove,delete this.edgesListeners})}setOptions(t){if(void 0!==t){Oe.parseOptions(this.options,t,!0,this.defaultOptions,!0);let e=!1;if(void 0!==t.smooth)for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&(e=this.body.edges[t].updateEdgeType()||e);if(void 0!==t.font)for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&this.body.edges[t].updateLabelModule();void 0===t.hidden&&void 0===t.physics&&!0!==e||this.body.emitter.emit("_dataChanged")}}setData(t,e=!1){const i=this.body.data.edges;if(t instanceof d["a"]||t instanceof d["b"])this.body.data.edges=t;else if(Array.isArray(t))this.body.data.edges=new d["a"],this.body.data.edges.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.edges=new d["a"]}if(i&&Object(s["forEach"])(this.edgesListeners,(t,e)=>{i.off(e,t)}),this.body.edges={},this.body.data.edges){Object(s["forEach"])(this.edgesListeners,(t,e)=>{this.body.data.edges.on(e,t)});const t=this.body.data.edges.getIds();this.add(t,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===e&&this.body.emitter.emit("_dataChanged")}add(t,e=!1){const i=this.body.edges,n=this.body.data.edges;for(let o=0;o{const e=i[t];void 0!==e&&e.remove()}),e&&this.body.emitter.emit("_dataChanged")}refresh(){Object(s["forEach"])(this.body.edges,(t,e)=>{const i=this.body.data.edges.get(e);void 0!==i&&t.setOptions(i)})}create(t){return new Oe(t,this.body,this.images,this.options,this.defaultOptions)}reconnectEdges(){let t;const e=this.body.nodes,i=this.body.edges;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t].edges=[]);for(t in i)if(Object.prototype.hasOwnProperty.call(i,t)){const e=i[t];e.from=null,e.to=null,e.connect()}}getConnectedNodes(t){const e=[];if(void 0!==this.body.edges[t]){const i=this.body.edges[t];void 0!==i.fromId&&e.push(i.fromId),void 0!==i.toId&&e.push(i.toId)}return e}_updateState(){this._addMissingEdges(),this._removeInvalidEdges()}_removeInvalidEdges(){const t=[];Object(s["forEach"])(this.body.edges,(e,i)=>{const n=this.body.nodes[e.toId],o=this.body.nodes[e.fromId];void 0!==n&&!0===n.isCluster||void 0!==o&&!0===o.isCluster||void 0!==n&&void 0!==o||t.push(i)}),this.remove(t,!1)}_addMissingEdges(){const t=this.body.data.edges;if(void 0===t||null===t)return;const e=this.body.edges,i=[];t.forEach((t,n)=>{const o=e[n];void 0===o&&i.push(n)}),this.add(i,!0)}}class Ye{constructor(t,e,i){this.body=t,this.physicsBody=e,this.barnesHutTree,this.setOptions(i),this._rng=Object(s["Alea"])("BARNES HUT SOLVER")}setOptions(t){this.options=t,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}solve(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){let t;const e=this.body.nodes,i=this.physicsBody.physicsNodeIndices,n=i.length,o=this._formBarnesHutTree(e,i);this.barnesHutTree=o;for(let s=0;s0&&this._getForceContributions(o.root,t)}}_getForceContributions(t,e){this._getForceContribution(t.children.NW,e),this._getForceContribution(t.children.NE,e),this._getForceContribution(t.children.SW,e),this._getForceContribution(t.children.SE,e)}_getForceContribution(t,e){if(t.childrenCount>0){const i=t.centerOfMass.x-e.x,n=t.centerOfMass.y-e.y,o=Math.sqrt(i*i+n*n);o*t.calcSize>this.thetaInversed?this._calculateForces(o,i,n,e,t):4===t.childrenCount?this._getForceContributions(t,e):t.children.data.id!=e.id&&this._calculateForces(o,i,n,e,t)}}_calculateForces(t,e,i,n,o){0===t&&(t=.1,e=t),this.overlapAvoidanceFactor<1&&n.shape.radius&&(t=Math.max(.1+this.overlapAvoidanceFactor*n.shape.radius,t-n.shape.radius));const s=this.options.gravitationalConstant*o.mass*n.options.mass/Math.pow(t,3),r=e*s,a=i*s;this.physicsBody.forces[n.id].x+=r,this.physicsBody.forces[n.id].y+=a}_formBarnesHutTree(t,e){let i;const n=e.length;let o=t[e[0]].x,s=t[e[0]].y,r=t[e[0]].x,a=t[e[0]].y;for(let C=1;C0&&(nr&&(r=n),ga&&(a=g))}const g=Math.abs(r-o)-Math.abs(a-s);g>0?(s-=.5*g,a+=.5*g):(o+=.5*g,r-=.5*g);const d=1e-5,l=Math.max(d,Math.abs(r-o)),c=.5*l,h=.5*(o+r),u=.5*(s+a),A={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:h-c,maxX:h+c,minY:u-c,maxY:u+c},size:l,calcSize:1/l,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(A.root);for(let C=0;C0&&this._placeInTree(A.root,i);return A}_updateBranchMass(t,e){const i=t.centerOfMass,n=t.mass+e.options.mass,o=1/n;i.x=i.x*t.mass+e.x*e.options.mass,i.x*=o,i.y=i.y*t.mass+e.y*e.options.mass,i.y*=o,t.mass=n;const s=Math.max(Math.max(e.height,e.radius),e.width);t.maxWidth=t.maxWidthe.x?n.maxY>e.y?"NW":"SW":n.maxY>e.y?"NE":"SE",this._placeInRegion(t,e,o)}_placeInRegion(t,e,i){const n=t.children[i];switch(n.childrenCount){case 0:n.children.data=e,n.childrenCount=1,this._updateBranchMass(n,e);break;case 1:n.children.data.x===e.x&&n.children.data.y===e.y?(e.x+=this._rng(),e.y+=this._rng()):(this._splitBranch(n),this._placeInTree(n,e));break;case 4:this._placeInTree(n,e);break}}_splitBranch(t){let e=null;1===t.childrenCount&&(e=t.children.data,t.mass=0,t.centerOfMass.x=0,t.centerOfMass.y=0),t.childrenCount=4,t.children.data=null,this._insertRegion(t,"NW"),this._insertRegion(t,"NE"),this._insertRegion(t,"SW"),this._insertRegion(t,"SE"),null!=e&&this._placeInTree(t,e)}_insertRegion(t,e){let i,n,o,s;const r=.5*t.size;switch(e){case"NW":i=t.range.minX,n=t.range.minX+r,o=t.range.minY,s=t.range.minY+r;break;case"NE":i=t.range.minX+r,n=t.range.maxX,o=t.range.minY,s=t.range.minY+r;break;case"SW":i=t.range.minX,n=t.range.minX+r,o=t.range.minY+r,s=t.range.maxY;break;case"SE":i=t.range.minX+r,n=t.range.maxX,o=t.range.minY+r,s=t.range.maxY;break}t.children[e]={centerOfMass:{x:0,y:0},mass:0,range:{minX:i,maxX:n,minY:o,maxY:s},size:.5*t.size,calcSize:2*t.calcSize,children:{data:null},maxWidth:0,level:t.level+1,childrenCount:0}}_debug(t,e){void 0!==this.barnesHutTree&&(t.lineWidth=1,this._drawBranch(this.barnesHutTree.root,t,e))}_drawBranch(t,e,i){void 0===i&&(i="#FF0000"),4===t.childrenCount&&(this._drawBranch(t.children.NW,e),this._drawBranch(t.children.NE,e),this._drawBranch(t.children.SE,e),this._drawBranch(t.children.SW,e)),e.strokeStyle=i,e.beginPath(),e.moveTo(t.range.minX,t.range.minY),e.lineTo(t.range.maxX,t.range.minY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.minY),e.lineTo(t.range.maxX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.maxY),e.lineTo(t.range.minX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.minX,t.range.maxY),e.lineTo(t.range.minX,t.range.minY),e.stroke()}}class Ee{constructor(t,e,i){this._rng=Object(s["Alea"])("REPULSION SOLVER"),this.body=t,this.physicsBody=e,this.setOptions(i)}setOptions(t){this.options=t}solve(){let t,e,i,n,o,s,r,a;const g=this.body.nodes,d=this.physicsBody.physicsNodeIndices,l=this.physicsBody.forces,c=this.options.nodeDistance,h=-2/3/c,u=4/3;for(let A=0;A0){const t=o.edges.length+1,s=this.options.centralGravity*t*o.options.mass;n[o.id].x=e*s,n[o.id].y=i*s}}}class Be{constructor(t){this.body=t,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0,wind:{x:0,y:0}},Object.assign(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("initPhysics",()=>{this.initPhysics()}),this.body.emitter.on("_layoutFailed",()=>{this.layoutFailed=!0}),this.body.emitter.on("resetPhysics",()=>{this.stopSimulation(),this.ready=!1}),this.body.emitter.on("disablePhysics",()=>{this.physicsEnabled=!1,this.stopSimulation()}),this.body.emitter.on("restorePhysics",()=>{this.setOptions(this.options),!0===this.ready&&this.startSimulation()}),this.body.emitter.on("startSimulation",()=>{!0===this.ready&&this.startSimulation()}),this.body.emitter.on("stopSimulation",()=>{this.stopSimulation()}),this.body.emitter.on("destroy",()=>{this.stopSimulation(!1),this.body.emitter.off()}),this.body.emitter.on("_dataChanged",()=>{this.updatePhysicsData()})}setOptions(t){if(void 0!==t)if(!1===t)this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation();else if(!0===t)this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation();else{this.physicsEnabled=!0,Object(s["selectiveNotDeepExtend"])(["stabilization"],this.options,t),Object(s["mergeOptions"])(this.options,t,"stabilization"),void 0===t.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation());const e=this.options.wind;e&&(("number"!==typeof e.x||Number.isNaN(e.x))&&(e.x=0),("number"!==typeof e.y||Number.isNaN(e.y))&&(e.y=0)),this.timestep=this.options.timestep}this.init()}init(){let t;"forceAtlas2Based"===this.options.solver?(t=this.options.forceAtlas2Based,this.nodesSolver=new Fe(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new He(this.body,this.physicsBody,t)):"repulsion"===this.options.solver?(t=this.options.repulsion,this.nodesSolver=new Ee(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)):"hierarchicalRepulsion"===this.options.solver?(t=this.options.hierarchicalRepulsion,this.nodesSolver=new Pe(this.body,this.physicsBody,t),this.edgesSolver=new Ne(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)):(t=this.options.barnesHut,this.nodesSolver=new Ye(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)),this.modelOptions=t}initPhysics(){!0===this.physicsEnabled&&!0===this.options.enabled?!0===this.options.stabilization.enabled?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}startSimulation(){!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=this.simulationStep.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}stopSimulation(t=!0){this.stabilized=!0,!0===t&&this._emitStabilized(),void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,!0===t&&this.body.emitter.emit("_stopRendering"))}simulationStep(){const t=Date.now();this.physicsTick();const e=Date.now()-t;(e<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}_emitStabilized(t=this.stabilizationIterations){(this.stabilizationIterations>1||!0===this.startedStabilization)&&setTimeout(()=>{this.body.emitter.emit("stabilized",{iterations:t}),this.startedStabilization=!1,this.stabilizationIterations=0},0)}physicsStep(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}adjustTimeStep(){const t=1.2;!0===this._evaluateStepQuality()?this.timestep=t*this.timestep:this.timestep/ts))return!1;return!0}moveNodes(){const t=this.physicsBody.physicsNodeIndices;let e=0,i=0;const n=5;for(let o=0;os&&(t=t>0?s:-s),t}_performStep(t){const e=this.body.nodes[t],i=this.physicsBody.forces[t];this.options.wind&&(i.x+=this.options.wind.x,i.y+=this.options.wind.y);const n=this.physicsBody.velocities[t];this.previousStates[t]={x:e.x,y:e.y,vx:n.x,vy:n.y},!1===e.options.fixed.x?(n.x=this.calculateComponentVelocity(n.x,i.x,e.options.mass),e.x+=n.x*this.timestep):(i.x=0,n.x=0),!1===e.options.fixed.y?(n.y=this.calculateComponentVelocity(n.y,i.y,e.options.mass),e.y+=n.y*this.timestep):(i.y=0,n.y=0);const o=Math.sqrt(Math.pow(n.x,2)+Math.pow(n.y,2));return o}_freezeNodes(){const t=this.body.nodes;for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].x&&t[e].y){const i=t[e].options.fixed;this.freezeCache[e]={x:i.x,y:i.y},i.x=!0,i.y=!0}}_restoreFrozenNodes(){const t=this.body.nodes;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&void 0!==this.freezeCache[e]&&(t[e].options.fixed.x=this.freezeCache[e].x,t[e].options.fixed.y=this.freezeCache[e].y);this.freezeCache={}}stabilize(t=this.options.stabilization.iterations){"number"!==typeof t&&(t=this.options.stabilization.iterations,console.log("The stabilize method needs a numeric amount of iterations. Switching to default: ",t)),0!==this.physicsBody.physicsNodeIndices.length?(this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=t,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,setTimeout(()=>this._stabilizationBatch(),0)):this.ready=!0}_startStabilizing(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}_stabilizationBatch(){const t=()=>!1===this.stabilized&&this.stabilizationIterations{this.body.emitter.emit("stabilizationProgress",{iterations:this.stabilizationIterations,total:this.targetIterations})};this._startStabilizing()&&e();let i=0;while(t()&&i0)for(let a=0;ai.shape.boundingBox.left&&(s=i.shape.boundingBox.left),ri.shape.boundingBox.top&&(n=i.shape.boundingBox.top),o0)for(let a=0;ai.x&&(s=i.x),ri.y&&(n=i.y),o{delete this.containedEdges[t.id]}),Object(s["forEach"])(e.containedNodes,(t,e)=>{this.containedNodes[e]=t}),e.containedNodes={},Object(s["forEach"])(e.containedEdges,(t,e)=>{this.containedEdges[e]=t}),e.containedEdges={},Object(s["forEach"])(e.edges,t=>{Object(s["forEach"])(this.edges,e=>{const i=e.clusteringEdgeReplacingIds.indexOf(t.id);-1!==i&&(Object(s["forEach"])(t.clusteringEdgeReplacingIds,t=>{e.clusteringEdgeReplacingIds.push(t),this.body.edges[t].edgeReplacedById=e.id}),e.clusteringEdgeReplacingIds.splice(i,1))})}),e.edges=[]}}class Ve{constructor(t){this.body=t,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},Object.assign(this.options,this.defaultOptions),this.body.emitter.on("_resetData",()=>{this.clusteredNodes={},this.clusteredEdges={}})}clusterByHubsize(t,e){void 0===t?t=this._getHubSize():"object"===typeof t&&(e=this._checkOptions(t),t=this._getHubSize());const i=[];for(let n=0;n=t&&i.push(e.id)}for(let n=0;n{e.options&&!0===t.joinCondition(e.options)&&(i[o]=e,Object(s["forEach"])(e.edges,t=>{void 0===this.clusteredEdges[t.id]&&(n[t.id]=t)}))}),this._cluster(i,n,t,e)}clusterByEdgeCount(t,e,i=!0){e=this._checkOptions(e);const n=[],o={};let s,r,a;for(let g=0;g0&&Object.keys(d).length>0&&!0===a){const t=function(){for(let t=0;t-1&&(s[i.id]=i)}}this._cluster(o,s,e,i)}_createClusterEdges(t,e,i,n){let o,s,r,a,g,d;const l=Object.keys(t),c=[];for(let A=0;Ao?i.x:o,s=i.yr?i.y:r;return{x:.5*(n+o),y:.5*(s+r)}}openCluster(t,e,i=!0){if(void 0===t)throw new Error("No clusterNodeId supplied to openCluster.");const n=this.body.nodes[t];if(void 0===n)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==n.isCluster||void 0===n.containedNodes||void 0===n.containedEdges)throw new Error("The node:"+t+" is not a valid cluster.");const o=this.findNode(t),r=o.indexOf(t)-1;if(r>=0){const e=o[r],n=this.body.nodes[e];return n._openChildCluster(t),delete this.body.nodes[t],void(!0===i&&this.body.emitter.emit("_dataChanged"))}const a=n.containedNodes,g=n.containedEdges;if(void 0!==e&&void 0!==e.releaseFunction&&"function"===typeof e.releaseFunction){const t={},i={x:n.x,y:n.y};for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const i=this.body.nodes[e];t[e]={x:i.x,y:i.y}}const o=e.releaseFunction(i,t);for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const t=this.body.nodes[e];void 0!==o[e]&&(t.x=void 0===o[e].x?n.x:o[e].x,t.y=void 0===o[e].y?n.y:o[e].y)}}else Object(s["forEach"])(a,(function(t){!1===t.options.fixed.x&&(t.x=n.x),!1===t.options.fixed.y&&(t.y=n.y)}));for(const s in a)if(Object.prototype.hasOwnProperty.call(a,s)){const t=this.body.nodes[s];t.vx=n.vx,t.vy=n.vy,t.setOptions({physics:!0}),delete this.clusteredNodes[s]}const d=[];for(let s=0;s0&&sn&&(n=o.edges.length),t+=o.edges.length,e+=Math.pow(o.edges.length,2),i+=1}t/=i,e/=i;const o=e-Math.pow(t,2),s=Math.sqrt(o);let r=Math.floor(t+2*s);return r>n&&(r=n),r}_createClusteredEdge(t,e,i,n,o){const r=ze.cloneOptions(i,"edge");Object(s["deepExtend"])(r,n),r.from=t,r.to=e,r.id="clusterEdge:"+Object(l["v4"])(),void 0!==o&&Object(s["deepExtend"])(r,o);const a=this.body.functions.createEdge(r);return a.clusteringEdgeReplacingIds=[i.id],a.connect(),this.body.edges[a.id]=a,a}_clusterEdges(t,e,i,n){if(e instanceof Oe){const t=e,i={};i[t.id]=t,e=i}if(t instanceof ge){const e=t,i={};i[e.id]=e,t=i}if(void 0===i||null===i)throw new Error("_clusterEdges: parameter clusterNode required");void 0===n&&(n=i.clusterEdgeProperties),this._createClusterEdges(t,e,i,n);for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&void 0!==this.body.edges[o]){const t=this.body.edges[o];this._backupEdgeOptions(t),t.setOptions({physics:!1})}for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(this.clusteredNodes[o]={clusterId:i.id,node:this.body.nodes[o]},this.body.nodes[o].setOptions({physics:!1}))}_getClusterNodeForNode(t){if(void 0===t)return;const e=this.clusteredNodes[t];if(void 0===e)return;const i=e.clusterId;return void 0!==i?this.body.nodes[i]:void 0}_filter(t,e){const i=[];return Object(s["forEach"])(t,t=>{e(t)&&i.push(t)}),i}_updateState(){let t;const e=[],i={},n=t=>{Object(s["forEach"])(this.body.nodes,e=>{!0===e.isCluster&&t(e)})};for(t in this.clusteredNodes){if(!Object.prototype.hasOwnProperty.call(this.clusteredNodes,t))continue;const i=this.body.nodes[t];void 0===i&&e.push(t)}n((function(t){for(let i=0;i{const e=this.body.edges[t];void 0!==e&&e.endPointsValid()||(i[t]=t)}),n((function(t){Object(s["forEach"])(t.containedEdges,(t,e)=>{t.endPointsValid()||i[e]||(i[e]=e)})})),Object(s["forEach"])(this.body.edges,(t,e)=>{let n=!0;const o=t.clusteringEdgeReplacingIds;if(void 0!==o){let t=0;Object(s["forEach"])(o,e=>{const i=this.body.edges[e];void 0!==i&&i.endPointsValid()&&(t+=1)}),n=t>0}t.endPointsValid()&&n||(i[e]=e)}),n(t=>{Object(s["forEach"])(i,e=>{delete t.containedEdges[e],Object(s["forEach"])(t.edges,(n,o)=>{n.id!==e?n.clusteringEdgeReplacingIds=this._filter(n.clusteringEdgeReplacingIds,(function(t){return!i[t]})):t.edges[o]=null}),t.edges=this._filter(t.edges,(function(t){return null!==t}))})}),Object(s["forEach"])(i,t=>{delete this.clusteredEdges[t]}),Object(s["forEach"])(i,t=>{delete this.body.edges[t]});const o=Object.keys(this.body.edges);Object(s["forEach"])(o,t=>{const e=this.body.edges[t],i=this._isClusteredNode(e.fromId)||this._isClusteredNode(e.toId);if(i!==this._isClusteredEdge(e.id))if(i){const t=this._getClusterNodeForNode(e.fromId);void 0!==t&&this._clusterEdges(this.body.nodes[e.fromId],e,t);const i=this._getClusterNodeForNode(e.toId);void 0!==i&&this._clusterEdges(this.body.nodes[e.toId],e,i)}else delete this._clusterEdges[t],this._restoreEdge(e)});let r=!1,a=!0;while(a){const t=[];n((function(e){const i=Object.keys(e.containedNodes).length,n=!0===e.options.allowSingleNodeCluster;(n&&i<1||!n&&i<2)&&t.push(e.id)}));for(let e=0;e0,r=r||a}r&&this._updateState()}_isClusteredNode(t){return void 0!==this.clusteredNodes[t]}_isClusteredEdge(t){return void 0!==this.clusteredEdges[t]}}function Ge(){let t;void 0!==window&&(t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===t?function(t){t()}:t}class Ze{constructor(t,e){Ge(),this.body=t,this.canvas=e,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.zooming=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1},Object.assign(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("dragStart",()=>{this.dragging=!0}),this.body.emitter.on("dragEnd",()=>{this.dragging=!1}),this.body.emitter.on("zoom",()=>{this.zooming=!0,window.clearTimeout(this.zoomTimeoutId),this.zoomTimeoutId=window.setTimeout(()=>{this.zooming=!1,this._requestRedraw.bind(this)()},250)}),this.body.emitter.on("_resizeNodes",()=>{this._resizeNodes()}),this.body.emitter.on("_redraw",()=>{!1===this.renderingActive&&this._redraw()}),this.body.emitter.on("_blockRedraw",()=>{this.allowRedraw=!1}),this.body.emitter.on("_allowRedraw",()=>{this.allowRedraw=!0,this.redrawRequested=!1}),this.body.emitter.on("_requestRedraw",this._requestRedraw.bind(this)),this.body.emitter.on("_startRendering",()=>{this.renderRequests+=1,this.renderingActive=!0,this._startRendering()}),this.body.emitter.on("_stopRendering",()=>{this.renderRequests-=1,this.renderingActive=this.renderRequests>0,this.renderTimer=void 0}),this.body.emitter.on("destroy",()=>{this.renderRequests=0,this.allowRedraw=!1,this.renderingActive=!1,!0===this.requiresTimeout?clearTimeout(this.renderTimer):window.cancelAnimationFrame(this.renderTimer),this.body.emitter.off()})}setOptions(t){if(void 0!==t){const e=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"];Object(s["selectiveDeepExtend"])(e,this.options,t)}}_requestNextFrame(t,e){if("undefined"===typeof window)return;let i;const n=window;return!0===this.requiresTimeout?i=n.setTimeout(t,e):n.requestAnimationFrame&&(i=n.requestAnimationFrame(t)),i}_startRendering(){!0===this.renderingActive&&void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame(this._renderStep.bind(this),this.simulationInterval))}_renderStep(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}redraw(){this.body.emitter.emit("setSize"),this._redraw()}_requestRedraw(){!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame(()=>{this._redraw(!1)},0))}_redraw(t=!1){if(!0===this.allowRedraw){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1,0!==this.canvas.frame.canvas.width&&0!==this.canvas.frame.canvas.height||this.canvas.setSize(),this.canvas.setTransform();const e=this.canvas.getContext(),i=this.canvas.frame.canvas.clientWidth,n=this.canvas.frame.canvas.clientHeight;if(e.clearRect(0,0,i,n),0===this.canvas.frame.clientWidth)return;e.save(),e.translate(this.body.view.translation.x,this.body.view.translation.y),e.scale(this.body.view.scale,this.body.view.scale),e.beginPath(),this.body.emitter.emit("beforeDrawing",e),e.closePath(),!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawEdges(e),(!1===this.dragging||!0===this.dragging&&!1===this.options.hideNodesOnDrag)&&this._drawNodes(e,t),!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawArrows(e),!1===t&&this._drawSelectionBox(e),e.beginPath(),this.body.emitter.emit("afterDrawing",e),e.closePath(),e.restore(),!0===t&&e.clearRect(0,0,i,n)}}_resizeNodes(){this.canvas.setTransform();const t=this.canvas.getContext();t.save(),t.translate(this.body.view.translation.x,this.body.view.translation.y),t.scale(this.body.view.scale,this.body.view.scale);const e=this.body.nodes;let i;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i=e[n],i.resize(t),i.updateBoundingBox(t,i.selected));t.restore()}_drawNodes(t,e=!1){const i=this.body.nodes,n=this.body.nodeIndices;let o;const s=[],r=[],a=20,g=this.canvas.DOMtoCanvas({x:-a,y:-a}),d=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+a,y:this.canvas.frame.canvas.clientHeight+a}),l={top:g.y,left:g.x,bottom:d.y,right:d.x};for(let A=0;A{0!==t.width&&(this.body.view.translation.x=.5*t.width),0!==t.height&&(this.body.view.translation.y=.5*t.height)}),this.body.emitter.on("setSize",this.setSize.bind(this)),this.body.emitter.on("destroy",()=>{this.hammerFrame.destroy(),this.hammer.destroy(),this._cleanUp()})}setOptions(t){if(void 0!==t){const e=["width","height","autoResize"];Object(s["selectiveDeepExtend"])(e,this.options,t)}!0===this.options.autoResize&&(this._cleanUp(),this.resizeTimer=setInterval(()=>{const t=this.setSize();!0===t&&this.body.emitter.emit("_requestRedraw")},1e3),this.resizeFunction=this._onResize.bind(this),Object(s["addEventListener"])(window,"resize",this.resizeFunction))}_cleanUp(){void 0!==this.resizeTimer&&clearInterval(this.resizeTimer),Object(s["removeEventListener"])(window,"resize",this.resizeFunction),this.resizeFunction=void 0}_onResize(){this.setSize(),this.body.emitter.emit("_redraw")}_getCameraState(t=this.pixelRatio){!0===this.initialized&&(this.cameraState.previousWidth=this.frame.canvas.width/t,this.cameraState.previousHeight=this.frame.canvas.height/t,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/t,y:.5*this.frame.canvas.height/t}))}_setCameraState(){if(void 0!==this.cameraState.scale&&0!==this.frame.canvas.clientWidth&&0!==this.frame.canvas.clientHeight&&0!==this.pixelRatio&&this.cameraState.previousWidth>0&&this.cameraState.previousHeight>0){const t=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,e=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight;let i=this.cameraState.scale;1!=t&&1!=e?i=.5*this.cameraState.scale*(t+e):1!=t?i=this.cameraState.scale*t:1!=e&&(i=this.cameraState.scale*e),this.body.view.scale=i;const n=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),o={x:n.x-this.cameraState.position.x,y:n.y-this.cameraState.position.y};this.body.view.translation.x+=o.x*this.body.view.scale,this.body.view.translation.y+=o.y*this.body.view.scale}}_prepareValue(t){if("number"===typeof t)return t+"px";if("string"===typeof t){if(-1!==t.indexOf("%")||-1!==t.indexOf("px"))return t;if(-1===t.indexOf("%"))return t+"px"}throw new Error("Could not use the value supplied for width or height:"+t)}_create(){while(this.body.container.hasChildNodes())this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=900,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{const t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(t)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}_bindHammer(){void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new lt(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:lt.DIRECTION_ALL}),Ue(this.hammer,t=>{this.body.eventListeners.onTouch(t)}),this.hammer.on("tap",t=>{this.body.eventListeners.onTap(t)}),this.hammer.on("doubletap",t=>{this.body.eventListeners.onDoubleTap(t)}),this.hammer.on("press",t=>{this.body.eventListeners.onHold(t)}),this.hammer.on("panstart",t=>{this.body.eventListeners.onDragStart(t)}),this.hammer.on("panmove",t=>{this.body.eventListeners.onDrag(t)}),this.hammer.on("panend",t=>{this.body.eventListeners.onDragEnd(t)}),this.hammer.on("pinch",t=>{this.body.eventListeners.onPinch(t)}),this.frame.canvas.addEventListener("wheel",t=>{this.body.eventListeners.onMouseWheel(t)}),this.frame.canvas.addEventListener("mousemove",t=>{this.body.eventListeners.onMouseMove(t)}),this.frame.canvas.addEventListener("contextmenu",t=>{this.body.eventListeners.onContext(t)}),this.hammerFrame=new lt(this.frame),Ke(this.hammerFrame,t=>{this.body.eventListeners.onRelease(t)})}setSize(t=this.options.width,e=this.options.height){t=this._prepareValue(t),e=this._prepareValue(e);let i=!1;const n=this.frame.canvas.width,o=this.frame.canvas.height,s=this.pixelRatio;if(this._setPixelRatio(),t!=this.options.width||e!=this.options.height||this.frame.style.width!=t||this.frame.style.height!=e)this._getCameraState(s),this.frame.style.width=t,this.frame.style.height=e,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=t,this.options.height=e,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},i=!0;else{const t=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),e=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===t&&this.frame.canvas.height===e||this._getCameraState(s),this.frame.canvas.width!==t&&(this.frame.canvas.width=t,i=!0),this.frame.canvas.height!==e&&(this.frame.canvas.height=e,i=!0)}return!0===i&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(n/this.pixelRatio),oldHeight:Math.round(o/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,i}getContext(){return this.frame.canvas.getContext("2d")}_determinePixelRatio(){const t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");let e=1;"undefined"!==typeof window&&(e=window.devicePixelRatio||1);const i=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return e/i}_setPixelRatio(){this.pixelRatio=this._determinePixelRatio()}setTransform(){const t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}_XconvertDOMtoCanvas(t){return(t-this.body.view.translation.x)/this.body.view.scale}_XconvertCanvasToDOM(t){return t*this.body.view.scale+this.body.view.translation.x}_YconvertDOMtoCanvas(t){return(t-this.body.view.translation.y)/this.body.view.scale}_YconvertCanvasToDOM(t){return t*this.body.view.scale+this.body.view.translation.y}canvasToDOM(t){return{x:this._XconvertCanvasToDOM(t.x),y:this._YconvertCanvasToDOM(t.y)}}DOMtoCanvas(t){return{x:this._XconvertDOMtoCanvas(t.x),y:this._YconvertDOMtoCanvas(t.y)}}}class Je{constructor(t,e){this.body=t,this.canvas=e,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",this.fit.bind(this)),this.body.emitter.on("animationFinished",()=>{this.body.emitter.emit("_stopRendering")}),this.body.emitter.on("unlockNode",this.releaseNode.bind(this))}setOptions(t={}){this.options=t}fit(t={nodes:[]},e=!1){let i,n;t=Object.assign({},t),void 0!==t.nodes&&0!==t.nodes.length||(t.nodes=this.body.nodeIndices);const o=this.canvas.frame.canvas.clientWidth,s=this.canvas.frame.canvas.clientHeight;if(0===o||0===s)n=1,i=ze.getRange(this.body.nodes,t.nodes);else if(!0===e){let e=0;for(const t in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,t)){const i=this.body.nodes[t];!0===i.predefinedPosition&&(e+=1)}if(e>.5*this.body.nodeIndices.length)return void this.fit(t,!1);i=ze.getRange(this.body.nodes,t.nodes);const r=this.body.nodeIndices.length;n=12.662/(r+7.4147)+.0964822;const a=Math.min(o/600,s/600);n*=a}else{this.body.emitter.emit("_resizeNodes"),i=ze.getRange(this.body.nodes,t.nodes);const e=1.1*Math.abs(i.maxX-i.minX),r=1.1*Math.abs(i.maxY-i.minY),a=o/e,g=s/r;n=a<=g?a:g}(n>1||0===n)&&(n=1);const r=ze.findCenter(i),a={position:r,scale:n,animation:t.animation};this.moveTo(a)}focus(t,e={}){if(void 0!==this.body.nodes[t]){const i={x:this.body.nodes[t].x,y:this.body.nodes[t].y};e.position=i,e.lockedOnNode=t,this.moveTo(e)}else console.log("Node: "+t+" cannot be found.")}moveTo(t){if(void 0!==t){if(null!=t.offset){if(null!=t.offset.x){if(t.offset.x=+t.offset.x,!Number.isFinite(t.offset.x))throw new TypeError('The option "offset.x" has to be a finite number.')}else t.offset.x=0;if(null!=t.offset.y){if(t.offset.y=+t.offset.y,!Number.isFinite(t.offset.y))throw new TypeError('The option "offset.y" has to be a finite number.')}else t.offset.x=0}else t.offset={x:0,y:0};if(null!=t.position){if(null!=t.position.x){if(t.position.x=+t.position.x,!Number.isFinite(t.position.x))throw new TypeError('The option "position.x" has to be a finite number.')}else t.position.x=0;if(null!=t.position.y){if(t.position.y=+t.position.y,!Number.isFinite(t.position.y))throw new TypeError('The option "position.y" has to be a finite number.')}else t.position.x=0}else t.position=this.getViewPosition();if(null!=t.scale){if(t.scale=+t.scale,!(t.scale>0))throw new TypeError('The option "scale" has to be a number greater than zero.')}else t.scale=this.body.view.scale;void 0===t.animation&&(t.animation={duration:0}),!1===t.animation&&(t.animation={duration:0}),!0===t.animation&&(t.animation={}),void 0===t.animation.duration&&(t.animation.duration=1e3),void 0===t.animation.easingFunction&&(t.animation.easingFunction="easeInOutQuad"),this.animateView(t)}else t={}}animateView(t){if(void 0===t)return;this.animationEasingFunction=t.animation.easingFunction,this.releaseNode(),!0===t.locked&&(this.lockedOnNodeId=t.lockedOnNode,this.lockedOnNodeOffset=t.offset),0!=this.easingTime&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=t.scale,this.body.view.scale=this.targetScale;const e=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:e.x-t.position.x,y:e.y-t.position.y};this.targetTranslation={x:this.sourceTranslation.x+i.x*this.targetScale+t.offset.x,y:this.sourceTranslation.y+i.y*this.targetScale+t.offset.y},0===t.animation.duration?void 0!=this.lockedOnNodeId?(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)):(this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw")):(this.animationSpeed=1/(60*t.animation.duration*.001)||1/60,this.animationEasingFunction=t.animation.easingFunction,this.viewFunction=this._transitionRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))}_lockedRedraw(){const t={x:this.body.nodes[this.lockedOnNodeId].x,y:this.body.nodes[this.lockedOnNodeId].y},e=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:e.x-t.x,y:e.y-t.y},n=this.body.view.translation,o={x:n.x+i.x*this.body.view.scale+this.lockedOnNodeOffset.x,y:n.y+i.y*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=o}releaseNode(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}_transitionRedraw(t=!1){this.easingTime+=this.animationSpeed,this.easingTime=!0===t?1:this.easingTime;const e=s["easingFunctions"][this.animationEasingFunction](this.easingTime);this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*e,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*e,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*e},this.easingTime>=1&&(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,void 0!=this.lockedOnNodeId&&(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)),this.body.emitter.emit("animationFinished"))}getScale(){return this.body.view.scale}getViewPosition(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}class Qe{constructor(t,e){this.body=t,this.canvas=e,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",()=>{this.activated=!0,this.configureKeyboardBindings()}),this.body.emitter.on("deactivate",()=>{this.activated=!1,this.configureKeyboardBindings()}),this.body.emitter.on("destroy",()=>{void 0!==this.keycharm&&this.keycharm.destroy()}),this.options={}}setOptions(t){void 0!==t&&(this.options=t,this.create())}create(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}cleanNavigation(){if(0!=this.navigationHammers.length){for(let t=0;t{this._stopMovement()}),this.navigationHammers.push(i),this.iconsCreated=!0}bindToRedraw(t){void 0===this.boundFunctions[t]&&(this.boundFunctions[t]=this[t].bind(this),this.body.emitter.on("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_startRendering"))}unbindFromRedraw(t){void 0!==this.boundFunctions[t]&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"),delete this.boundFunctions[t])}_fit(){(new Date).valueOf()-this.touchTime>700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}_stopMovement(){for(const t in this.boundFunctions)Object.prototype.hasOwnProperty.call(this.boundFunctions,t)&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}_moveUp(){this.body.view.translation.y+=this.options.keyboard.speed.y}_moveDown(){this.body.view.translation.y-=this.options.keyboard.speed.y}_moveLeft(){this.body.view.translation.x+=this.options.keyboard.speed.x}_moveRight(){this.body.view.translation.x-=this.options.keyboard.speed.x}_zoomIn(){const t=this.body.view.scale,e=this.body.view.scale*(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,n=e/t,o=(1-n)*this.canvas.canvasViewCenter.x+i.x*n,s=(1-n)*this.canvas.canvasViewCenter.y+i.y*n;this.body.view.scale=e,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}_zoomOut(){const t=this.body.view.scale,e=this.body.view.scale/(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,n=e/t,o=(1-n)*this.canvas.canvasViewCenter.x+i.x*n,s=(1-n)*this.canvas.canvasViewCenter.y+i.y*n;this.body.view.scale=e,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}configureKeyboardBindings(){void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled&&(!0===this.options.keyboard.bindToWindow?this.keycharm=a()({container:window,preventDefault:!0}):this.keycharm=a()({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&(this.keycharm.bind("up",()=>{this.bindToRedraw("_moveUp")},"keydown"),this.keycharm.bind("down",()=>{this.bindToRedraw("_moveDown")},"keydown"),this.keycharm.bind("left",()=>{this.bindToRedraw("_moveLeft")},"keydown"),this.keycharm.bind("right",()=>{this.bindToRedraw("_moveRight")},"keydown"),this.keycharm.bind("=",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("num+",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("num-",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("-",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("[",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("]",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("pageup",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("pagedown",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("up",()=>{this.unbindFromRedraw("_moveUp")},"keyup"),this.keycharm.bind("down",()=>{this.unbindFromRedraw("_moveDown")},"keyup"),this.keycharm.bind("left",()=>{this.unbindFromRedraw("_moveLeft")},"keyup"),this.keycharm.bind("right",()=>{this.unbindFromRedraw("_moveRight")},"keyup"),this.keycharm.bind("=",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("num+",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("num-",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("-",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("[",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("]",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("pageup",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("pagedown",()=>{this.unbindFromRedraw("_zoomOut")},"keyup")))}}class qe{constructor(t,e){this.container=t,this.overflowMethod=e||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}setPosition(t,e){this.x=parseInt(t),this.y=parseInt(e)}setText(t){t instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(t)):this.frame.innerHTML=t}show(t){if(void 0===t&&(t=!0),!0===t){const t=this.frame.clientHeight,e=this.frame.clientWidth,i=this.frame.parentNode.clientHeight,n=this.frame.parentNode.clientWidth;let o=0,s=0;if("flip"==this.overflowMethod){let i=!1,r=!0;this.y-tn-this.padding&&(i=!0),o=i?this.x-e:this.x,s=r?this.y-t:this.y}else s=this.y-t,s+t+this.padding>i&&(s=i-t-this.padding),sn&&(o=n-e-this.padding),o{clearTimeout(this.popupTimer),delete this.body.functions.getPointer})}setOptions(t){if(void 0!==t){const e=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag","keyboard","multiselect","selectable","selectConnectedEdges"];Object(s["selectiveNotDeepExtend"])(e,this.options,t),Object(s["mergeOptions"])(this.options,t,"keyboard"),t.tooltip&&(Object.assign(this.options.tooltip,t.tooltip),t.tooltip.color&&(this.options.tooltip.color=Object(s["parseColor"])(t.tooltip.color)))}this.navigationHandler.setOptions(this.options)}getPointer(t){return{x:t.x-Object(s["getAbsoluteLeft"])(this.canvas.frame.canvas),y:t.y-Object(s["getAbsoluteTop"])(this.canvas.frame.canvas)}}onTouch(t){(new Date).valueOf()-this.touchTime>50&&(this.drag.pointer=this.getPointer(t.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}onTap(t){const e=this.getPointer(t.center),i=this.selectionHandler.options.multiselect&&(t.changedPointers[0].ctrlKey||t.changedPointers[0].metaKey);this.checkSelectionChanges(e,t,i),this.selectionHandler._generateClickEvent("click",t,e)}onDoubleTap(t){const e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("doubleClick",t,e)}onHold(t){const e=this.getPointer(t.center),i=this.selectionHandler.options.multiselect;this.checkSelectionChanges(e,t,i),this.selectionHandler._generateClickEvent("click",t,e),this.selectionHandler._generateClickEvent("hold",t,e)}onRelease(t){if((new Date).valueOf()-this.touchTime>10){const e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("release",t,e),this.touchTime=(new Date).valueOf()}}onContext(t){const e=this.getPointer({x:t.clientX,y:t.clientY});this.selectionHandler._generateClickEvent("oncontext",t,e)}checkSelectionChanges(t,e,i=!1){const n=this.selectionHandler.getSelection();let o=!1;o=!0===i?this.selectionHandler.selectAdditionalOnPoint(t):this.selectionHandler.selectOnPoint(t);const s=this.selectionHandler.getSelection(),r=this._determineDifference(n,s),a=this._determineDifference(s,n);r.edges.length>0&&(this.selectionHandler._generateClickEvent("deselectEdge",e,t,n),o=!0),r.nodes.length>0&&(this.selectionHandler._generateClickEvent("deselectNode",e,t,n),o=!0),a.nodes.length>0&&(this.selectionHandler._generateClickEvent("selectNode",e,t),o=!0),a.edges.length>0&&(this.selectionHandler._generateClickEvent("selectEdge",e,t),o=!0),!0===o&&this.selectionHandler._generateClickEvent("select",e,t)}_determineDifference(t,e){const i=function(t,e){const i=[];for(let n=0;n{const e=t.node;!1===t.xFixed&&(e.x=this.canvas._XconvertDOMtoCanvas(this.canvas._XconvertCanvasToDOM(t.x)+n)),!1===t.yFixed&&(e.y=this.canvas._YconvertDOMtoCanvas(this.canvas._YconvertCanvasToDOM(t.y)+o))}),this.body.emitter.emit("startSimulation")}else{if(t.srcEvent.shiftKey){if(this.selectionHandler._generateClickEvent("dragging",t,e,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(e.x),y:this.canvas._YconvertDOMtoCanvas(e.y)},this.body.emitter.emit("_requestRedraw")}if(!0===this.options.dragView&&!t.srcEvent.shiftKey){if(this.selectionHandler._generateClickEvent("dragging",t,e,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);const i=e.x-this.drag.pointer.x,n=e.y-this.drag.pointer.y;this.body.view.translation={x:this.drag.translation.x+i,y:this.drag.translation.y+n},this.body.emitter.emit("_requestRedraw")}}}onDragEnd(t){if(this.drag.dragging=!1,this.body.selectionBox.show){this.body.selectionBox.show=!1;const e=this.body.selectionBox.position,i={minX:Math.min(e.start.x,e.end.x),minY:Math.min(e.start.y,e.end.y),maxX:Math.max(e.start.x,e.end.x),maxY:Math.max(e.start.y,e.end.y)},n=this.body.nodeIndices.filter(t=>{const e=this.body.nodes[t];return e.x>=i.minX&&e.x<=i.maxX&&e.y>=i.minY&&e.y<=i.maxY});n.forEach(t=>this.selectionHandler.selectObject(this.body.nodes[t])),this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{const e=this.drag.selection;e&&e.length?(e.forEach((function(t){t.node.options.fixed.x=t.xFixed,t.node.options.fixed.y=t.yFixed})),this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}}onPinch(t){const e=this.getPointer(t.center);this.drag.pinched=!0,void 0===this.pinch["scale"]&&(this.pinch.scale=1);const i=this.pinch.scale*t.scale;this.zoom(i,e)}zoom(t,e){if(!0===this.options.zoomView){const i=this.body.view.scale;t<1e-5&&(t=1e-5),t>10&&(t=10);let n=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(n=this.canvas.DOMtoCanvas(this.drag.pointer));const o=this.body.view.translation,s=t/i,r=(1-s)*e.x+o.x*s,a=(1-s)*e.y+o.y*s;if(this.body.view.scale=t,this.body.view.translation={x:r,y:a},void 0!=n){const t=this.canvas.canvasToDOM(n);this.drag.pointer.x=t.x,this.drag.pointer.y=t.y}this.body.emitter.emit("_requestRedraw"),ithis._checkShowPopup(e),this.options.tooltipDelay))),!0===this.options.hover&&this.selectionHandler.hoverObject(t,e)}_checkShowPopup(t){const e=this.canvas._XconvertDOMtoCanvas(t.x),i=this.canvas._YconvertDOMtoCanvas(t.y),n={left:e,top:i,right:e,bottom:i},o=void 0===this.popupObj?void 0:this.popupObj.id;let s=!1,r="node";if(void 0===this.popupObj){const t=this.body.nodeIndices,e=this.body.nodes;let i;const o=[];for(let r=0;r0&&(this.popupObj=e[o[o.length-1]],s=!0)}if(void 0===this.popupObj&&!1===s){const t=this.body.edgeIndices,e=this.body.edges;let i;const o=[];for(let s=0;s0&&(this.popupObj=e[o[o.length-1]],r="edge")}void 0!==this.popupObj?this.popupObj.id!==o&&(void 0===this.popup&&(this.popup=new qe(this.canvas.frame)),this.popup.popupTargetType=r,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(t.x+3,t.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):void 0!==this.popup&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}_checkHidePopup(t){const e=this.selectionHandler._pointerToPositionObject(t);let i=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&(i=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(e),!0===i)){const e=this.selectionHandler.getNodeAt(t);i=void 0!==e&&e.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(t)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(i=this.body.edges[this.popup.popupTargetId].isOverlappingWith(e));!1===i&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}class ti{constructor(t,e){this.body=t,this.canvas=e,this.selectionObj={nodes:[],edges:[]},this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},Object.assign(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",()=>{this.updateSelection()})}setOptions(t){if(void 0!==t){const e=["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"];Object(s["selectiveDeepExtend"])(e,this.options,t)}}selectOnPoint(t){let e=!1;if(!0===this.options.selectable){const i=this.getNodeAt(t)||this.getEdgeAt(t);this.unselectAll(),void 0!==i&&(e=this.selectObject(i)),this.body.emitter.emit("_requestRedraw")}return e}selectAdditionalOnPoint(t){let e=!1;if(!0===this.options.selectable){const i=this.getNodeAt(t)||this.getEdgeAt(t);void 0!==i&&(e=!0,!0===i.isSelected()?this.deselectObject(i):this.selectObject(i),this.body.emitter.emit("_requestRedraw"))}return e}_initBaseEvent(t,e){const i={};return i["pointer"]={DOM:{x:e.x,y:e.y},canvas:this.canvas.DOMtoCanvas(e)},i["event"]=t,i}_generateClickEvent(t,e,i,n,o=!1){const s=this._initBaseEvent(e,i);if(!0===o)s.nodes=[],s.edges=[];else{const t=this.getSelection();s.nodes=t.nodes,s.edges=t.edges}void 0!==n&&(s["previousSelection"]=n),"click"==t&&(s.items=this.getClickedItems(i)),void 0!==e.controlEdge&&(s.controlEdge=e.controlEdge),this.body.emitter.emit(t,s)}selectObject(t,e=this.options.selectConnectedEdges){return void 0!==t&&(t instanceof ge&&!0===e&&this._selectConnectedEdges(t),t.select(),this._addToSelection(t),!0)}deselectObject(t){!0===t.isSelected()&&(t.selected=!1,this._removeFromSelection(t))}_getAllNodesOverlappingWith(t){const e=[],i=this.body.nodes;for(let n=0;n0?!0===e?this.body.nodes[n[n.length-1]]:n[n.length-1]:void 0}_getEdgesOverlappingWith(t,e){const i=this.body.edges;for(let n=0;n1)return!0;return!1}_selectConnectedEdges(t){for(let e=0;e=0;a--){const t=o[n[a]],s=t.getItemsOnPoint(e);i.push.apply(i,s)}const s=this.body.edgeIndices,r=this.body.edges;for(let a=s.length-1;a>=0;a--){const t=r[s[a]],n=t.getItemsOnPoint(e);i.push.apply(i,n)}return i}}class ei{abstract(){throw new Error("Can't instantiate abstract class!")}fake_use(){}curveType(){return this.abstract()}getPosition(t){return this.fake_use(t),this.abstract()}setPosition(t,e,i){this.fake_use(t,e,i),this.abstract()}getTreeSize(t){return this.fake_use(t),this.abstract()}sort(t){this.fake_use(t),this.abstract()}fix(t,e){this.fake_use(t,e),this.abstract()}shift(t,e){this.fake_use(t,e),this.abstract()}}class ii extends ei{constructor(t){super(),this.layout=t}curveType(){return"horizontal"}getPosition(t){return t.x}setPosition(t,e,i){void 0!==i&&this.layout.hierarchical.addToOrdering(t,i),t.x=e}getTreeSize(t){const e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_x,max:e.max_x}}sort(t){Object(c["sort"])(t,(function(t,e){return t.x-e.x}))}fix(t,e){t.y=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.y=!0}shift(t,e){this.layout.body.nodes[t].x+=e}}class ni extends ei{constructor(t){super(),this.layout=t}curveType(){return"vertical"}getPosition(t){return t.y}setPosition(t,e,i){void 0!==i&&this.layout.hierarchical.addToOrdering(t,i),t.y=e}getTreeSize(t){const e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_y,max:e.max_y}}sort(t){Object(c["sort"])(t,(function(t,e){return t.y-e.y}))}fix(t,e){t.x=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.x=!0}shift(t,e){this.layout.body.nodes[t].y+=e}}function oi(t,e){const i=new Set;return t.forEach(t=>{t.edges.forEach(t=>{t.connected&&i.add(t)})}),i.forEach(t=>{const i=t.from.id,n=t.to.id;null==e[i]&&(e[i]=0),(null==e[n]||e[i]>=e[n])&&(e[n]=e[i]+1)}),e}function si(t,e=Object.create(null)){return ai(e=>e.edges.filter(e=>t.has(e.toId)).every(t=>t.to===e),(t,e)=>e>t,"from",t,e)}function ri(t,e=Object.create(null)){return ai(e=>e.edges.filter(e=>t.has(e.toId)).every(t=>t.from===e),(t,e)=>et.connected&&t.to!==t.from&&t[i]!==c&&n.has(t.toId)&&n.has(t.fromId)).forEach(n=>{const s=n[r],a=o[s];(null==a||e(t,a))&&(o[s]=t,l.push(n[i]))}),h>s)return oi(n,o);++h}}return o}class gi{constructor(){this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}addRelation(t,e){void 0===this.childrenReference[t]&&(this.childrenReference[t]=[]),this.childrenReference[t].push(e),void 0===this.parentReference[e]&&(this.parentReference[e]=[]),this.parentReference[e].push(t)}checkIfTree(){for(const t in this.parentReference)if(this.parentReference[t].length>1)return void(this.isTree=!1);this.isTree=!0}numTrees(){return this.treeIndex+1}setTreeIndex(t,e){void 0!==e&&void 0===this.trees[t.id]&&(this.trees[t.id]=e,this.treeIndex=Math.max(e,this.treeIndex))}ensureLevel(t){void 0===this.levels[t]&&(this.levels[t]=0)}getMaxLevel(t){const e={},i=t=>{if(void 0!==e[t])return e[t];let n=this.levels[t];if(this.childrenReference[t]){const e=this.childrenReference[t];if(e.length>0)for(let t=0;t{this.setupHierarchicalLayout()}),this.body.emitter.on("_dataLoaded",()=>{this.layoutNetwork()}),this.body.emitter.on("_resetHierarchicalLayout",()=>{this.setupHierarchicalLayout()}),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",()=>{if(!0!==this.options.hierarchical.enabled)return;const t=this.direction.curveType();this.body.emitter.emit("_forceDisableDynamicCurves",t,!1)})}setOptions(t,e){if(void 0!==t){const i=this.options.hierarchical,n=i.enabled;if(Object(s["selectiveDeepExtend"])(["randomSeed","improvedLayout","clusterThreshold"],this.options,t),Object(s["mergeOptions"])(this.options,t,"hierarchical"),void 0!==t.randomSeed&&this._resetRNG(t.randomSeed),!0===i.enabled)return!0===n&&this.body.emitter.emit("refresh",!0),"RL"===i.direction||"DU"===i.direction?i.levelSeparation>0&&(i.levelSeparation*=-1):i.levelSeparation<0&&(i.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(e);if(!0===n)return this.body.emitter.emit("refresh"),Object(s["deepExtend"])(e,this.optionsBackup)}return e}_resetRNG(t){this.initialRandomSeed=t,this._rng=Object(s["Alea"])(this.initialRandomSeed)}adaptAllOptionsForHierarchicalLayout(t){if(!0===this.options.hierarchical.enabled){const e=this.optionsBackup.physics;void 0===t.physics||!0===t.physics?(t.physics={enabled:void 0===e.enabled||e.enabled,solver:"hierarchicalRepulsion"},e.enabled=void 0===e.enabled||e.enabled,e.solver=e.solver||"barnesHut"):"object"===typeof t.physics?(e.enabled=void 0===t.physics.enabled||t.physics.enabled,e.solver=t.physics.solver||"barnesHut",t.physics.solver="hierarchicalRepulsion"):!1!==t.physics&&(e.solver="barnesHut",t.physics={solver:"hierarchicalRepulsion"});let i=this.direction.curveType();if(void 0===t.edges)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges={smooth:!1};else if(void 0===t.edges.smooth)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges.smooth=!1;else if("boolean"===typeof t.edges.smooth)this.optionsBackup.edges={smooth:t.edges.smooth},t.edges.smooth={enabled:t.edges.smooth,type:i};else{const e=t.edges.smooth;void 0!==e.type&&"dynamic"!==e.type&&(i=e.type),this.optionsBackup.edges={smooth:{enabled:void 0===e.enabled||e.enabled,type:void 0===e.type?"dynamic":e.type,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}},t.edges.smooth={enabled:void 0===e.enabled||e.enabled,type:i,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",i)}return t}positionInitially(t){if(!0!==this.options.hierarchical.enabled){this._resetRNG(this.initialRandomSeed);const e=t.length+50;for(let i=0;in){const s=t.length;while(t.length>n&&i<=e){i+=1;const e=t.length;i%3===0?this.body.modules.clustering.clusterBridges(o):this.body.modules.clustering.clusterOutliers(o);const n=t.length;if(e==n&&i%3!==0)return this._declusterAll(),this.body.emitter.emit("_layoutFailed"),void console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.")}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*s)})}i>e&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(t,this.body.edgeIndices,!0),this._shiftToCenter();const s=70;for(let r=0;r0){let t,e,i=!1,n=!1;for(e in this.lastNodeOnLevel={},this.hierarchical=new gi,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&(t=this.body.nodes[e],void 0!==t.options.level?(i=!0,this.hierarchical.levels[e]=t.options.level):n=!0);if(!0===n&&!0===i)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");{if(!0===n){const t=this.options.hierarchical.sortMethod;"hubsize"===t?this._determineLevelsByHubsize():"directed"===t?this._determineLevelsDirected():"custom"===t&&this._determineLevelsCustomCallback()}for(const e in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&this.hierarchical.ensureLevel(e);const t=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(t),this._condenseHierarchy(),this._shiftToCenter()}}}_condenseHierarchy(){let t=!1;const e={},i=()=>{const t=o();let e=0;for(let i=0;i{const i=this.hierarchical.trees;for(const n in i)Object.prototype.hasOwnProperty.call(i,n)&&i[n]===t&&this.direction.shift(n,e)},o=()=>{const t=[];for(let e=0;e{if(!e[t.id]&&(e[t.id]=!0,this.hierarchical.childrenReference[t.id])){const i=this.hierarchical.childrenReference[t.id];if(i.length>0)for(let t=0;t{let i=1e9,n=1e9,o=1e9,s=-1e9;for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const a=this.body.nodes[r],g=this.hierarchical.levels[a.id],d=this.direction.getPosition(a),[l,c]=this._getSpaceAroundNode(a,t);i=Math.min(l,i),n=Math.min(c,n),g<=e&&(o=Math.min(d,o),s=Math.max(d,s))}return[o,s,i,n]},a=(t,e)=>{const i=this.hierarchical.getMaxLevel(t.id),n=this.hierarchical.getMaxLevel(e.id);return Math.min(i,n)},g=(t,e,i)=>{const n=this.hierarchical;for(let o=0;o1)for(let e=0;e{const o=this.direction.getPosition(e),g=this.direction.getPosition(i),d=Math.abs(g-o),l=this.options.hierarchical.nodeSpacing;if(d>l){const o={},g={};s(e,o),s(i,g);const d=a(e,i),c=r(o,d),h=r(g,d),u=c[1],A=h[0],C=h[2],I=Math.abs(u-A);if(I>l){let e=u-A+l;e<-C+l&&(e=-C+l),e<0&&(this._shiftBlock(i.id,e),t=!0,!0===n&&this._centerParent(i))}}},l=(i,n)=>{const o=n.id,a=n.edges,g=this.hierarchical.levels[n.id],d=this.options.hierarchical.levelSeparation*this.options.hierarchical.levelSeparation,l={},c=[];for(let t=0;t{let i=0;for(let n=0;n{let i=0;for(let n=0;n{let i=this.direction.getPosition(n);const o={};for(let n=0;n{const o=this.direction.getPosition(n);if(void 0===e[n.id]){const t={};s(n,t),e[n.id]=t}const a=r(e[n.id]),g=a[2],d=a[3],l=i-o;let c=0;l>0?c=Math.min(l,d-this.options.hierarchical.nodeSpacing):l<0&&(c=-Math.min(-l,g-this.options.hierarchical.nodeSpacing)),0!=c&&(this._shiftBlock(n.id,c),t=!0)},I=e=>{const i=this.direction.getPosition(n),[o,s]=this._getSpaceAroundNode(n),r=e-i;let a=i;r>0?a=Math.min(i+(s-this.options.hierarchical.nodeSpacing),e):r<0&&(a=Math.max(i-(o-this.options.hierarchical.nodeSpacing),e)),a!==i&&(this.direction.setPosition(n,a),t=!0)};let p=A(i,c);C(p),p=A(i,a),I(p)},c=e=>{let i=this.hierarchical.getLevels();i=i.reverse();for(let n=0;n{let i=this.hierarchical.getLevels();i=i.reverse();for(let n=0;n{for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this._centerParent(this.body.nodes[t])},A=()=>{let t=this.hierarchical.getLevels();t=t.reverse();for(let e=0;e0&&Math.abs(r)0&&(r=this.direction.getPosition(i[t-1])+s),this.direction.setPosition(o,r,e),this._validatePositionAndContinue(o,e,r),n++}}}}_placeBranchNodes(t,e){const i=this.hierarchical.childrenReference[t];if(void 0===i)return;const n=[];for(let s=0;se&&void 0===this.positionedNodes[i.id]))return;{const e=this.options.hierarchical.nodeSpacing;let r;r=0===s?this.direction.getPosition(this.body.nodes[t]):this.direction.getPosition(n[s-1])+e,this.direction.setPosition(i,r,o),this._validatePositionAndContinue(i,o,r)}}const o=this._getCenterPosition(n);this.direction.setPosition(this.body.nodes[t],o,e)}_validatePositionAndContinue(t,e,i){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[e]){const n=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[e]]);if(i-n{-1!==this.body.edgeIndices.indexOf(t.id)&&e.push(t)}),e}_getHubSizes(){const t={},e=this.body.nodeIndices;Object(s["forEach"])(e,e=>{const i=this.body.nodes[e],n=this._getActiveEdges(i).length;t[n]=!0});const i=[];return Object(s["forEach"])(t,t=>{i.push(Number(t))}),h.a.sort(i,(function(t,e){return e-t})),i}_determineLevelsByHubsize(){const t=(t,e)=>{this.hierarchical.levelDownstream(t,e)},e=this._getHubSizes();for(let i=0;i{const i=this.body.nodes[e];n===this._getActiveEdges(i).length&&this._crawlNetwork(t,e)})}}_determineLevelsCustomCallback(){const t=1e5,e=function(t,e,i){},i=(i,n,o)=>{let s=this.hierarchical.levels[i.id];void 0===s&&(s=this.hierarchical.levels[i.id]=t);const r=e(ze.cloneOptions(i,"node"),ze.cloneOptions(n,"node"),ze.cloneOptions(o,"edge"));this.hierarchical.levels[n.id]=s+r};this._crawlNetwork(i),this.hierarchical.setMinLevelToZero(this.body.nodes)}_determineLevelsDirected(){const t=this.body.nodeIndices.reduce((t,e)=>(t.set(e,this.body.nodes[e]),t),new Map),e=this.hierarchical.levels;"roots"===this.options.hierarchical.shakeTowards?this.hierarchical.levels=ri(t,e):this.hierarchical.levels=si(t,e),this.hierarchical.setMinLevelToZero(this.body.nodes)}_generateMap(){const t=(t,e)=>{this.hierarchical.levels[e.id]>this.hierarchical.levels[t.id]&&this.hierarchical.addRelation(t.id,e.id)};this._crawlNetwork(t),this.hierarchical.checkIfTree()}_crawlNetwork(t=function(){},e){const i={},n=(e,o)=>{if(void 0===i[e.id]){let s;this.hierarchical.setTreeIndex(e,o),i[e.id]=!0;const r=this._getActiveEdges(e);for(let i=0;i{if(i[t])return;i[t]=!0,this.direction.shift(t,e);const o=this.hierarchical.childrenReference[t];if(void 0!==o)for(let e=0;e{const i=this.hierarchical.parentReference[e];if(void 0!==i)for(let o=0;o{const i=this.hierarchical.parentReference[e];if(void 0!==i)for(let n=0;n{this._clean()}),this.body.emitter.on("_dataChanged",this._restore.bind(this)),this.body.emitter.on("_resetData",this._restore.bind(this))}_restore(){!1!==this.inMode&&(!0===this.options.initiallyActive?this.enableEditMode():this.disableEditMode())}setOptions(t,e,i){void 0!==e&&(void 0!==e.locale?this.options.locale=e.locale:this.options.locale=i.locale,void 0!==e.locales?this.options.locales=e.locales:this.options.locales=i.locales),void 0!==t&&("boolean"===typeof t?this.options.enabled=t:(this.options.enabled=!0,Object(s["deepExtend"])(this.options,t)),!0===this.options.initiallyActive&&(this.editMode=!0),this._setup())}toggleEditMode(){!0===this.editMode?this.disableEditMode():this.enableEditMode()}enableEditMode(){this.editMode=!0,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}disableEditMode(){this.editMode=!1,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}showManipulatorToolbar(){if(this._clean(),this.manipulationDOM={},!0===this.guiEnabled){this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";const t=this.selectionHandler._getSelectedNodeCount(),e=this.selectionHandler._getSelectedEdgeCount(),i=t+e,n=this.options.locales[this.options.locale];let o=!1;!1!==this.options.addNode&&(this._createAddNodeButton(n),o=!0),!1!==this.options.addEdge&&(!0===o?this._createSeperator(1):o=!0,this._createAddEdgeButton(n)),1===t&&"function"===typeof this.options.editNode?(!0===o?this._createSeperator(2):o=!0,this._createEditNodeButton(n)):1===e&&0===t&&!1!==this.options.editEdge&&(!0===o?this._createSeperator(3):o=!0,this._createEditEdgeButton(n)),0!==i&&(t>0&&!1!==this.options.deleteNode||0===t&&!1!==this.options.deleteEdge)&&(!0===o&&this._createSeperator(4),this._createDeleteButton(n)),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this)),this._temporaryBindEvent("select",this.showManipulatorToolbar.bind(this))}this.body.emitter.emit("_redraw")}addNodeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["addDescription"]||this.options.locales["en"]["addDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindEvent("click",this._performAddNode.bind(this))}editNode(){!0!==this.editMode&&this.enableEditMode(),this._clean();const t=this.selectionHandler._getSelectedNode();if(void 0!==t){if(this.inMode="editNode","function"!==typeof this.options.editNode)throw new Error("No function has been configured to handle the editing of nodes.");if(!0!==t.isCluster){const e=Object(s["deepExtend"])({},t.options,!1);if(e.x=t.x,e.y=t.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(e,t=>{null!==t&&void 0!==t&&"editNode"===this.inMode&&this.body.data.nodes.getDataSet().update(t),this.showManipulatorToolbar()})}else alert(this.options.locales[this.options.locale]["editClusterError"]||this.options.locales["en"]["editClusterError"])}else this.showManipulatorToolbar()}addEdgeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["edgeDescription"]||this.options.locales["en"]["edgeDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindUI("onTouch",this._handleConnect.bind(this)),this._temporaryBindUI("onDragEnd",this._finishConnect.bind(this)),this._temporaryBindUI("onDrag",this._dragControlNode.bind(this)),this._temporaryBindUI("onRelease",this._finishConnect.bind(this)),this._temporaryBindUI("onDragStart",this._dragStartEdge.bind(this)),this._temporaryBindUI("onHold",()=>{})}editEdgeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==typeof this.options.editEdge||"function"!==typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["editEdgeDescription"]||this.options.locales["en"]["editEdgeDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0!==this.edgeBeingEditedId){const t=this.body.edges[this.edgeBeingEditedId],e=this._getNewTargetNode(t.from.x,t.from.y),i=this._getNewTargetNode(t.to.x,t.to.y);this.temporaryIds.nodes.push(e.id),this.temporaryIds.nodes.push(i.id),this.body.nodes[e.id]=e,this.body.nodeIndices.push(e.id),this.body.nodes[i.id]=i,this.body.nodeIndices.push(i.id),this._temporaryBindUI("onTouch",this._controlNodeTouch.bind(this)),this._temporaryBindUI("onTap",()=>{}),this._temporaryBindUI("onHold",()=>{}),this._temporaryBindUI("onDragStart",this._controlNodeDragStart.bind(this)),this._temporaryBindUI("onDrag",this._controlNodeDrag.bind(this)),this._temporaryBindUI("onDragEnd",this._controlNodeDragEnd.bind(this)),this._temporaryBindUI("onMouseMove",()=>{}),this._temporaryBindEvent("beforeDrawing",n=>{const o=t.edgeType.findBorderPositions(n);!1===e.selected&&(e.x=o.from.x,e.y=o.from.y),!1===i.selected&&(i.x=o.to.x,i.y=o.to.y)}),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{const t=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(t.from.id,t.to.id)}}deleteSelected(){!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";const t=this.selectionHandler.getSelectedNodes(),e=this.selectionHandler.getSelectedEdges();let i=void 0;if(t.length>0){for(let e=0;e0&&"function"===typeof this.options.deleteEdge&&(i=this.options.deleteEdge);if("function"===typeof i){const n={nodes:t,edges:e};if(2!==i.length)throw new Error("The function for delete does not support two arguments (data, callback)");i(n,t=>{null!==t&&void 0!==t&&"delete"===this.inMode?(this.body.data.edges.getDataSet().remove(t.edges),this.body.data.nodes.getDataSet().remove(t.nodes),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()):(this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().remove(e),this.body.data.nodes.getDataSet().remove(t),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}_setup(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}_createWrappers(){void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",!0===this.editMode?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",!0===this.editMode?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),void 0===this.closeDiv&&(this.closeDiv=document.createElement("div"),this.closeDiv.className="vis-close",this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv))}_getNewTargetNode(t,e){const i=Object(s["deepExtend"])({},this.options.controlNodeStyle);i.id="targetNode"+Object(l["v4"])(),i.hidden=!1,i.physics=!1,i.x=t,i.y=e;const n=this.body.functions.createNode(i);return n.shape.boundingBox={left:t,right:t,top:e,bottom:e},n}_createEditButton(){this._clean(),this.manipulationDOM={},Object(s["recursiveDOMDelete"])(this.editModeDiv);const t=this.options.locales[this.options.locale],e=this._createButton("editMode","vis-button vis-edit vis-edit-mode",t["edit"]||this.options.locales["en"]["edit"]);this.editModeDiv.appendChild(e),this._bindHammerToDiv(e,this.toggleEditMode.bind(this))}_clean(){this.inMode=!1,!0===this.guiEnabled&&(Object(s["recursiveDOMDelete"])(this.editModeDiv),Object(s["recursiveDOMDelete"])(this.manipulationDiv),this._cleanManipulatorHammers()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}_cleanManipulatorHammers(){if(0!=this.manipulationHammers.length){for(let t=0;t=0;r--)if(o[r]!==this.selectedControlNode.id){s=this.body.nodes[o[r]];break}if(void 0!==s&&void 0!==this.selectedControlNode)if(!0===s.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{const t=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===t.id?this._performEditEdge(s.id,n.to.id):this._performEditEdge(n.from.id,s.id)}else n.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}_handleConnect(t){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(t.center),this.lastTouch.translation=Object.assign({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;const e=this.lastTouch,i=this.selectionHandler.getNodeAt(e);if(void 0!==i)if(!0===i.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{const t=this._getNewTargetNode(i.x,i.y);this.body.nodes[t.id]=t,this.body.nodeIndices.push(t.id);const e=this.body.functions.createEdge({id:"connectionEdge"+Object(l["v4"])(),from:i.id,to:t.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[e.id]=e,this.body.edgeIndices.push(e.id),this.temporaryIds.nodes.push(t.id),this.temporaryIds.edges.push(e.id)}this.touchTime=(new Date).valueOf()}}_dragControlNode(t){const e=this.body.functions.getPointer(t.center),i=this.selectionHandler._pointerToPositionObject(e);let n=void 0;void 0!==this.temporaryIds.edges[0]&&(n=this.body.edges[this.temporaryIds.edges[0]].fromId);const o=this.selectionHandler._getAllNodesOverlappingWith(i);let s=void 0;for(let r=o.length-1;r>=0;r--)if(-1===this.temporaryIds.nodes.indexOf(o[r])){s=this.body.nodes[o[r]];break}if(t.controlEdge={from:n,to:s?s.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragging",t,e),void 0!==this.temporaryIds.nodes[0]){const t=this.body.nodes[this.temporaryIds.nodes[0]];t.x=this.canvas._XconvertDOMtoCanvas(e.x),t.y=this.canvas._YconvertDOMtoCanvas(e.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(t)}_finishConnect(t){const e=this.body.functions.getPointer(t.center),i=this.selectionHandler._pointerToPositionObject(e);let n=void 0;void 0!==this.temporaryIds.edges[0]&&(n=this.body.edges[this.temporaryIds.edges[0]].fromId);const o=this.selectionHandler._getAllNodesOverlappingWith(i);let s=void 0;for(let r=o.length-1;r>=0;r--)if(-1===this.temporaryIds.nodes.indexOf(o[r])){s=this.body.nodes[o[r]];break}this._cleanupTemporaryNodesAndEdges(),void 0!==s&&(!0===s.isCluster?alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]):void 0!==this.body.nodes[n]&&void 0!==this.body.nodes[s.id]&&this._performAddEdge(n,s.id)),t.controlEdge={from:n,to:s?s.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragEnd",t,e),this.body.emitter.emit("_redraw")}_dragStartEdge(t){const e=this.lastTouch;this.selectionHandler._generateClickEvent("dragStart",t,e,void 0,!0)}_performAddNode(t){const e={id:Object(l["v4"])(),x:t.pointer.canvas.x,y:t.pointer.canvas.y,label:"new"};if("function"===typeof this.options.addNode){if(2!==this.options.addNode.length)throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");this.options.addNode(e,t=>{null!==t&&void 0!==t&&"addNode"===this.inMode&&this.body.data.nodes.getDataSet().add(t),this.showManipulatorToolbar()})}else this.body.data.nodes.getDataSet().add(e),this.showManipulatorToolbar()}_performAddEdge(t,e){const i={from:t,to:e};if("function"===typeof this.options.addEdge){if(2!==this.options.addEdge.length)throw new Error("The function for connect does not support two arguments (data,callback)");this.options.addEdge(i,t=>{null!==t&&void 0!==t&&"addEdge"===this.inMode&&(this.body.data.edges.getDataSet().add(t),this.selectionHandler.unselectAll(),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().add(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}_performEditEdge(t,e){const i={id:this.edgeBeingEditedId,from:t,to:e,label:this.body.data.edges.get(this.edgeBeingEditedId).label};let n=this.options.editEdge;if("object"===typeof n&&(n=n.editWithoutDrag),"function"===typeof n){if(2!==n.length)throw new Error("The function for edit does not support two arguments (data, callback)");n(i,t=>{null===t||void 0===t||"editEdge"!==this.inMode?(this.body.edges[i.id].updateEdgeType(),this.body.emitter.emit("_redraw"),this.showManipulatorToolbar()):(this.body.data.edges.getDataSet().update(t),this.selectionHandler.unselectAll(),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().update(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}const ci={black:"#000000",navy:"#000080",darkblue:"#00008B",mediumblue:"#0000CD",blue:"#0000FF",darkgreen:"#006400",green:"#008000",teal:"#008080",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",lime:"#00FF00",springgreen:"#00FF7F",aqua:"#00FFFF",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",mediumaquamarine:"#66CDAA",dimgray:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",lightslategray:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",maroon:"#800000",purple:"#800080",olive:"#808000",gray:"#808080",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370D8",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",silver:"#C0C0C0",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgrey:"#D3D3D3",palevioletred:"#D87093",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",red:"#FF0000",fuchsia:"#FF00FF",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",yellow:"#FFFF00",lightyellow:"#FFFFE0",ivory:"#FFFFF0",white:"#FFFFFF"};class hi{constructor(t=1){this.pixelRatio=t,this.generated=!1,this.centerCoordinates={x:144.5,y:144.5},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=()=>{},this.closeCallback=()=>{},this._create()}insertTo(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}setUpdateCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}setCloseCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}_isColorString(t){if("string"===typeof t)return ci[t]}setColor(t,e=!0){if("none"===t)return;let i;const n=this._isColorString(t);if(void 0!==n&&(t=n),!0===Object(s["isString"])(t)){if(!0===Object(s["isValidRGB"])(t)){const e=t.substr(4).substr(0,t.length-5).split(",");i={r:e[0],g:e[1],b:e[2],a:1}}else if(!0===Object(s["isValidRGBA"])(t)){const e=t.substr(5).substr(0,t.length-6).split(",");i={r:e[0],g:e[1],b:e[2],a:e[3]}}else if(!0===Object(s["isValidHex"])(t)){const e=Object(s["hexToRGB"])(t);i={r:e.r,g:e.g,b:e.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){const e=void 0!==t.a?t.a:"1.0";i={r:t.r,g:t.g,b:t.b,a:e}}if(void 0===i)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+JSON.stringify(t));this._setColor(i,e)}show(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}_hide(t=!0){!0===t&&(this.previousColor=Object.assign({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",setTimeout(()=>{void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0)},0)}_save(){this.updateCallback(this.color),this.applied=!1,this._hide()}_apply(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}_loadLast(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}_setColor(t,e=!0){!0===e&&(this.initialColor=Object.assign({},t)),this.color=t;const i=Object(s["RGBToHSV"])(t.r,t.g,t.b),n=2*Math.PI,o=this.r*i.s,r=this.centerCoordinates.x+o*Math.sin(n*i.h),a=this.centerCoordinates.y+o*Math.cos(n*i.h);this.colorPickerSelector.style.left=r-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=a-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}_setOpacity(t){this.color.a=t/100,this._updatePicker(this.color)}_setBrightness(t){const e=Object(s["RGBToHSV"])(this.color.r,this.color.g,this.color.b);e.v=t/100;const i=Object(s["HSVToRGB"])(e.h,e.s,e.v);i["a"]=this.color.a,this.color=i,this._updatePicker()}_updatePicker(t=this.color){const e=Object(s["RGBToHSV"])(t.r,t.g,t.b),i=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1)),i.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);const n=this.colorPickerCanvas.clientWidth,o=this.colorPickerCanvas.clientHeight;i.clearRect(0,0,n,o),i.putImageData(this.hueCircle,0,0),i.fillStyle="rgba(0,0,0,"+(1-e.v)+")",i.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),i.fill(),this.brightnessRange.value=100*e.v,this.opacityRange.value=100*t.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}_setSize(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}_create(){if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){const t=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{const t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(t)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(e){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(e){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);const t=this;this.opacityRange.onchange=function(){t._setOpacity(this.value)},this.opacityRange.oninput=function(){t._setOpacity(this.value)},this.brightnessRange.onchange=function(){t._setBrightness(this.value)},this.brightnessRange.oninput=function(){t._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerHTML="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerHTML="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerHTML="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerHTML="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerHTML="cancel",this.cancelButton.onclick=this._hide.bind(this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=this._apply.bind(this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=this._save.bind(this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=this._loadLast.bind(this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}_bindHammer(){this.drag={},this.pinch={},this.hammer=new lt(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),Ue(this.hammer,t=>{this._moveSelector(t)}),this.hammer.on("tap",t=>{this._moveSelector(t)}),this.hammer.on("panstart",t=>{this._moveSelector(t)}),this.hammer.on("panmove",t=>{this._moveSelector(t)}),this.hammer.on("panend",t=>{this._moveSelector(t)})}_generateHueCircle(){if(!1===this.generated){const t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);const e=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;let n,o,r,a;t.clearRect(0,0,e,i),this.centerCoordinates={x:.5*e,y:.5*i},this.r=.49*e;const g=2*Math.PI/360,d=1/360,l=1/this.r;let c;for(r=0;r<360;r++)for(a=0;a0&&this._makeItem([]),this._makeHeader(n),this._handleObject(this.configureOptions[n],[n])),e++);this._makeButton(),this._push()}_push(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(let t=0;t{i.appendChild(t)}),this.domElements.push(i),this.domElements.length}return 0}_makeHeader(t){const e=document.createElement("div");e.className="vis-configuration vis-config-header",e.innerHTML=t,this._makeItem([],e)}_makeLabel(t,e,i=!1){const n=document.createElement("div");return n.className="vis-configuration vis-config-label vis-config-s"+e.length,n.innerHTML=!0===i?""+t+":":t+":",n}_makeDropdown(t,e,i){const n=document.createElement("select");n.className="vis-configuration vis-config-select";let o=0;void 0!==e&&-1!==t.indexOf(e)&&(o=t.indexOf(e));for(let a=0;as&&1!==s&&(a.max=Math.ceil(e*t),d=a.max,g="range increased"),a.value=e}else a.value=n;const l=document.createElement("input");l.className="vis-configuration vis-config-rangeinput",l.value=a.value;const c=this;a.onchange=function(){l.value=this.value,c._update(Number(this.value),i)},a.oninput=function(){l.value=this.value};const h=this._makeLabel(i[i.length-1],i),u=this._makeItem(i,h,a,l);""!==g&&this.popupHistory[u]!==d&&(this.popupHistory[u]=d,this._setupPopup(g,u))}_makeButton(){if(!0===this.options.showButton){const t=document.createElement("div");t.className="vis-configuration vis-config-button",t.innerHTML="generate options",t.onclick=()=>{this._printOptions()},t.onmouseover=()=>{t.className="vis-configuration vis-config-button hover"},t.onmouseout=()=>{t.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(t)}}_setupPopup(t,e){if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter{this._removePopup()},this.popupCounter+=1,this.popupDiv={html:i,index:e}}}_removePopup(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}_showPopupIfNeeded(){if(void 0!==this.popupDiv.html){const t=this.domElements[this.popupDiv.index],e=t.getBoundingClientRect();this.popupDiv.html.style.left=e.left+"px",this.popupDiv.html.style.top=e.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=setTimeout(()=>{this.popupDiv.html.style.opacity=0},1500),this.popupDiv.deleteTimeout=setTimeout(()=>{this._removePopup()},1800)}}_makeCheckbox(t,e,i){const n=document.createElement("input");n.type="checkbox",n.className="vis-configuration vis-config-checkbox",n.checked=t,void 0!==e&&(n.checked=e,e!==t&&("object"===typeof t?e!==t.enabled&&this.changedOptions.push({path:i,value:e}):this.changedOptions.push({path:i,value:e})));const o=this;n.onchange=function(){o._update(this.checked,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeTextInput(t,e,i){const n=document.createElement("input");n.type="text",n.className="vis-configuration vis-config-text",n.value=e,e!==t&&this.changedOptions.push({path:i,value:e});const o=this;n.onchange=function(){o._update(this.value,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeColorField(t,e,i){const n=t[1],o=document.createElement("div");e=void 0===e?n:e,"none"!==e?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=e):o.className="vis-configuration vis-config-colorBlock none",e=void 0===e?n:e,o.onclick=()=>{this._showColorPicker(e,o,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,o)}_showColorPicker(t,e,i){e.onclick=function(){},this.colorPicker.insertTo(e),this.colorPicker.show(),this.colorPicker.setColor(t),this.colorPicker.setUpdateCallback(t=>{const n="rgba("+t.r+","+t.g+","+t.b+","+t.a+")";e.style.backgroundColor=n,this._update(n,i)}),this.colorPicker.setCloseCallback(()=>{e.onclick=()=>{this._showColorPicker(t,e,i)}})}_handleObject(t,e=[],i=!1){let n=!1;const o=this.options.filter;let r=!1;for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)){n=!0;const g=t[a],d=Object(s["copyAndExtendArray"])(e,a);if("function"===typeof o&&(n=o(a,e),!1===n&&!(g instanceof Array)&&"string"!==typeof g&&"boolean"!==typeof g&&g instanceof Object&&(this.allowCreation=!1,n=this._handleObject(g,d,!0),this.allowCreation=!1===i)),!1!==n){r=!0;const t=this._getValue(d);if(g instanceof Array)this._handleArray(g,t,d);else if("string"===typeof g)this._makeTextInput(g,t,d);else if("boolean"===typeof g)this._makeCheckbox(g,t,d);else if(g instanceof Object){let t=!0;if(-1!==e.indexOf("physics")&&this.moduleOptions.physics.solver!==a&&"wind"!==a&&(t=!1),!0===t)if(void 0!==g.enabled){const t=Object(s["copyAndExtendArray"])(d,"enabled"),e=this._getValue(t);if(!0===e){const t=this._makeLabel(a,d,!0);this._makeItem(d,t),r=this._handleObject(g,d)||r}else this._makeCheckbox(g,e,d)}else{const t=this._makeLabel(a,d,!0);this._makeItem(d,t),r=this._handleObject(g,d)||r}}else console.error("dont know how to handle",g,a,d)}}return r}_handleArray(t,e,i){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,i),t[1]!==e&&this.changedOptions.push({path:i,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:Number(e)}))}_update(t,e){const i=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",i),this.initialized=!0,this.parent.setOptions(i)}_constructOptions(t,e,i={}){let n=i;t="true"===t||t,t="false"!==t&&t;for(let o=0;ovar options = "+JSON.stringify(t,null,2)+""}getOptions(){const t={};for(let e=0;eo&&rs&&Athis.body.emitter.emit("_requestRedraw")),this.groups=new Dt,this.canvas=new Xe(this.body),this.selectionHandler=new ti(this.body,this.canvas),this.interactionHandler=new $e(this.body,this.canvas,this.selectionHandler),this.view=new Je(this.body,this.canvas),this.renderer=new Ze(this.body,this.canvas),this.physics=new Be(this.body),this.layoutEngine=new di(this.body),this.clustering=new Ve(this.body),this.manipulation=new li(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new de(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new Se(this.body,this.images,this.groups),this.body.modules["kamadaKawai"]=new Mi(this.body,150,.05),this.body.modules["clustering"]=this.clustering,this.canvas._create(),this.setOptions(i),this.setData(e)}o()(xi.prototype),xi.prototype.setOptions=function(t){if(null===t&&(t=void 0),void 0!==t){const e=ae.validate(t,yi);!0===e&&console.log("%cErrors have been found in the supplied options object.",re);const i=["locale","locales","clickToUse"];if(Object(s["selectiveDeepExtend"])(i,this.options,t),void 0!==t.locale&&(t.locale=Mt(t.locales||this.options.locales,t.locale)),t=this.layoutEngine.setOptions(t.layout,t),this.canvas.setOptions(t),this.groups.setOptions(t.groups),this.nodesHandler.setOptions(t.nodes),this.edgesHandler.setOptions(t.edges),this.physics.setOptions(t.physics),this.manipulation.setOptions(t.manipulation,t,this.options),this.interactionHandler.setOptions(t.interaction),this.renderer.setOptions(t.interaction),this.selectionHandler.setOptions(t.interaction),void 0!==t.groups&&this.body.emitter.emit("refreshNodes"),"configure"in t&&(this.configurator||(this.configurator=new ui(this,this.body.container,_i,this.canvas.pixelRatio)),this.configurator.setOptions(t.configure)),this.configurator&&!0===this.configurator.options.enabled){const t={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};Object(s["deepExtend"])(t.nodes,this.nodesHandler.options),Object(s["deepExtend"])(t.edges,this.edgesHandler.options),Object(s["deepExtend"])(t.layout,this.layoutEngine.options),Object(s["deepExtend"])(t.interaction,this.selectionHandler.options),Object(s["deepExtend"])(t.interaction,this.renderer.options),Object(s["deepExtend"])(t.interaction,this.interactionHandler.options),Object(s["deepExtend"])(t.manipulation,this.manipulation.options),Object(s["deepExtend"])(t.physics,this.physics.options),Object(s["deepExtend"])(t.global,this.canvas.options),Object(s["deepExtend"])(t.global,this.options),this.configurator.setModuleOptions(t)}void 0!==t.clickToUse?!0===t.clickToUse?void 0===this.activator&&(this.activator=new ct(this.canvas.frame),this.activator.on("change",()=>{this.body.emitter.emit("activate")})):(void 0!==this.activator&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}},xi.prototype._updateVisibleIndices=function(){const t=this.body.nodes,e=this.body.edges;this.body.nodeIndices=[],this.body.edgeIndices=[];for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(this.clustering._isClusteredNode(i)||!1!==t[i].options.hidden||this.body.nodeIndices.push(t[i].id));for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const n=e[i],o=t[n.fromId],s=t[n.toId],r=void 0!==o&&void 0!==s,a=!this.clustering._isClusteredEdge(i)&&!1===n.options.hidden&&r&&!1===o.options.hidden&&!1===s.options.hidden;a&&this.body.edgeIndices.push(n.id)}},xi.prototype.bindEventListeners=function(){this.body.emitter.on("_dataChanged",()=>{this.edgesHandler._updateState(),this.body.emitter.emit("_dataUpdated")}),this.body.emitter.on("_dataUpdated",()=>{this.clustering._updateState(),this._updateVisibleIndices(),this._updateValueRange(this.body.nodes),this._updateValueRange(this.body.edges),this.body.emitter.emit("startSimulation"),this.body.emitter.emit("_requestRedraw")})},xi.prototype.setData=function(t){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){console.log("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");const e=rt(t.dot);this.setData(e)}else if(t&&t.gephi){console.log("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");const e=at(t.gephi);this.setData(e)}else this.nodesHandler.setData(t&&t.nodes,!0),this.edgesHandler.setData(t&&t.edges,!0),this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")},xi.prototype.destroy=function(){this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images;for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&delete this.body.nodes[t];for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&delete this.body.edges[t];Object(s["recursiveDOMDelete"])(this.body.container)},xi.prototype._updateValueRange=function(t){let e,i=void 0,n=void 0,o=0;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const s=t[e].getValue();void 0!==s&&(i=void 0===i?s:Math.min(s,i),n=void 0===n?s:Math.max(s,n),o+=s)}if(void 0!==i&&void 0!==n)for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&t[e].setValueRange(i,n,o)},xi.prototype.isActive=function(){return!this.activator||this.activator.active},xi.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)},xi.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)},xi.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)},xi.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)},xi.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)},xi.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)},xi.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)},xi.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)},xi.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)},xi.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)},xi.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)},xi.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)},xi.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)},xi.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)},xi.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)},xi.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)},xi.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)},xi.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)},xi.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)},xi.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)},xi.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)},xi.prototype.editNodeMode=function(){return console.log("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)},xi.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)},xi.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)},xi.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)},xi.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)},xi.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)},xi.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)},xi.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)},xi.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)},xi.prototype.getConnectedNodes=function(t){return void 0!==this.body.nodes[t]?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)},xi.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)},xi.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)},xi.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)},xi.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)},xi.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)},xi.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)},xi.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments)},xi.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments)},xi.prototype.getNodeAt=function(){const t=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},xi.prototype.getEdgeAt=function(){const t=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},xi.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)},xi.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)},xi.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.redraw()},xi.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)},xi.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)},xi.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)},xi.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)},xi.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)},xi.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)},xi.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)},xi.prototype.getOptionsFromConfigurator=function(){let t={};return this.configurator&&(t=this.configurator.getOptions.apply(this.configurator)),t}},"159b":function(t,e,i){var n=i("da84"),o=i("fdbc"),s=i("17c2"),r=i("9112");for(var a in o){var g=n[a],d=g&&g.prototype;if(d&&d.forEach!==s)try{r(d,"forEach",s)}catch(l){d.forEach=s}}},"15b6":function(t,e,i){"use strict";t.exports=function(){return this.opts.filterByColumn?JSON.stringify(this.query):this.query}},"15f5":function(t,e,i){},"15fd":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("a4d3"),i("c975"),i("b64b");function n(t,e){if(null==t)return{};var i,n,o={},s=Object.keys(t);for(n=0;n=0||(o[i]=t[i]);return o}function o(t,e){if(null==t)return{};var i,o,s=n(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}},"167b":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +function u(t,e,i,n){t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()}function A(t,e,i,n){t.beginPath(),t.rect(e-n,i-n,2*n,2*n),t.closePath()}function C(t,e,i,n){t.beginPath(),n*=1.15,i+=.275*n;const o=2*n,s=o/2,r=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-s*s);t.moveTo(e,i-(a-r)),t.lineTo(e+s,i+r),t.lineTo(e-s,i+r),t.lineTo(e,i-(a-r)),t.closePath()}function I(t,e,i,n){t.beginPath(),n*=1.15,i-=.275*n;const o=2*n,s=o/2,r=Math.sqrt(3)/6*o,a=Math.sqrt(o*o-s*s);t.moveTo(e,i+(a-r)),t.lineTo(e+s,i-r),t.lineTo(e-s,i-r),t.lineTo(e,i+(a-r)),t.closePath()}function p(t,e,i,n){t.beginPath(),n*=.82,i+=.1*n;for(let o=0;o<10;o++){const s=o%2===0?1.3*n:.5*n;t.lineTo(e+s*Math.sin(2*o*Math.PI/10),i-s*Math.cos(2*o*Math.PI/10))}t.closePath()}function f(t,e,i,n){t.beginPath(),t.lineTo(e,i+n),t.lineTo(e+n,i),t.lineTo(e,i-n),t.lineTo(e-n,i),t.closePath()}function m(t,e,i,n,o,s){const r=Math.PI/180;n-2*s<0&&(s=n/2),o-2*s<0&&(s=o/2),t.beginPath(),t.moveTo(e+s,i),t.lineTo(e+n-s,i),t.arc(e+n-s,i+s,s,270*r,360*r,!1),t.lineTo(e+n,i+o-s),t.arc(e+n-s,i+o-s,s,0,90*r,!1),t.lineTo(e+s,i+o),t.arc(e+s,i+o-s,s,90*r,180*r,!1),t.lineTo(e,i+s),t.arc(e+s,i+s,s,180*r,270*r,!1),t.closePath()}function v(t,e,i,n,o){const s=.5522848,r=n/2*s,a=o/2*s,g=e+n,d=i+o,l=e+n/2,c=i+o/2;t.beginPath(),t.moveTo(e,c),t.bezierCurveTo(e,c-a,l-r,i,l,i),t.bezierCurveTo(l+r,i,g,c-a,g,c),t.bezierCurveTo(g,c+a,l+r,d,l,d),t.bezierCurveTo(l-r,d,e,c+a,e,c),t.closePath()}function b(t,e,i,n,o){const s=1/3,r=n,a=o*s,g=.5522848,d=r/2*g,l=a/2*g,c=e+r,h=i+a,u=e+r/2,A=i+a/2,C=i+(o-a/2),I=i+o;t.beginPath(),t.moveTo(c,A),t.bezierCurveTo(c,A+l,u+d,h,u,h),t.bezierCurveTo(u-d,h,e,A+l,e,A),t.bezierCurveTo(e,A-l,u-d,i,u,i),t.bezierCurveTo(u+d,i,c,A-l,c,A),t.lineTo(c,C),t.bezierCurveTo(c,C+l,u+d,I,u,I),t.bezierCurveTo(u-d,I,e,C+l,e,C),t.lineTo(e,A)}function y(t,e,i,n,o,s){t.beginPath(),t.moveTo(e,i);const r=s.length,a=n-e,g=o-i,d=g/a;let l=Math.sqrt(a*a+g*g),c=0,h=!0,u=0,A=+s[0];while(l>=.1)A=+s[c++%r],A>l&&(A=l),u=Math.sqrt(A*A/(1+d*d)),u=a<0?-u:u,e+=u,i+=d*u,!0===h?t.lineTo(e,i):t.moveTo(e,i),l-=A,h=!h}function _(t,e,i,n){t.beginPath();const o=6,s=2*Math.PI/o;t.moveTo(e+n,i);for(let r=1;r":!0,"--":!0},O="",S=0,Y="",E="",P=T.NULL;function j(){S=0,Y=O.charAt(0)}function N(){S++,Y=O.charAt(S)}function R(){return O.charAt(S+1)}var F=/[a-zA-Z_0-9.:#]/;function H(t){return F.test(t)}function B(t,e){if(t||(t={}),e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function z(t,e,i){var n=e.split("."),o=t;while(n.length){var s=n.shift();n.length?(o[s]||(o[s]={}),o=o[s]):o[s]=i}}function W(t,e){var i,n,o=null,s=[t],r=t;while(r.parent)s.push(r.parent),r=r.parent;if(r.nodes)for(i=0,n=r.nodes.length;i=0;i--){var a=s[i];a.nodes||(a.nodes=[]),-1===a.nodes.indexOf(o)&&a.nodes.push(o)}e.attr&&(o.attr=B(o.attr,e.attr))}function V(t,e){if(t.edges||(t.edges=[]),t.edges.push(e),t.edge){var i=B({},t.edge);e.attr=B(i,e.attr)}}function G(t,e,i,n,o){var s={from:e,to:i,type:n};return t.edge&&(s.attr=B({},t.edge)),s.attr=B(s.attr||{},o),null!=o&&o.hasOwnProperty("arrows")&&null!=o["arrows"]&&(s["arrows"]={to:{enabled:!0,type:o.arrows.type}},o["arrows"]=null),s}function Z(){P=T.NULL,E="";while(" "===Y||"\t"===Y||"\n"===Y||"\r"===Y)N();do{var t=!1;if("#"===Y){var e=S-1;while(" "===O.charAt(e)||"\t"===O.charAt(e))e--;if("\n"===O.charAt(e)||""===O.charAt(e)){while(""!=Y&&"\n"!=Y)N();t=!0}}if("/"===Y&&"/"===R()){while(""!=Y&&"\n"!=Y)N();t=!0}if("/"===Y&&"*"===R()){while(""!=Y){if("*"===Y&&"/"===R()){N(),N();break}N()}t=!0}while(" "===Y||"\t"===Y||"\n"===Y||"\r"===Y)N()}while(t);if(""!==Y){var i=Y+R();if(L[i])return P=T.DELIMITER,E=i,N(),void N();if(L[Y])return P=T.DELIMITER,E=Y,void N();if(H(Y)||"-"===Y){E+=Y,N();while(H(Y))E+=Y,N();return"false"===E?E=!1:"true"===E?E=!0:isNaN(Number(E))||(E=Number(E)),void(P=T.IDENTIFIER)}if('"'===Y){N();while(""!=Y&&('"'!=Y||'"'===Y&&'"'===R()))'"'===Y?(E+=Y,N()):"\\"===Y&&"n"===R()?(E+="\n",N()):E+=Y,N();if('"'!=Y)throw et('End of string " expected');return N(),void(P=T.IDENTIFIER)}P=T.UNKNOWN;while(""!=Y)E+=Y,N();throw new SyntaxError('Syntax error in part "'+it(E,30)+'"')}P=T.DELIMITER}function U(){var t={};if(j(),Z(),"strict"===E&&(t.strict=!0,Z()),"graph"!==E&&"digraph"!==E||(t.type=E,Z()),P===T.IDENTIFIER&&(t.id=E,Z()),"{"!=E)throw et("Angle bracket { expected");if(Z(),K(t),"}"!=E)throw et("Angle bracket } expected");if(Z(),""!==E)throw et("End of file expected");return Z(),delete t.node,delete t.edge,delete t.graph,t}function K(t){while(""!==E&&"}"!=E)X(t),";"===E&&Z()}function X(t){var e=J(t);if(e)$(t,e);else{var i=Q(t);if(!i){if(P!=T.IDENTIFIER)throw et("Identifier expected");var n=E;if(Z(),"="===E){if(Z(),P!=T.IDENTIFIER)throw et("Identifier expected");t[n]=E,Z()}else q(t,n)}}}function J(t){var e=null;if("subgraph"===E&&(e={},e.type="subgraph",Z(),P===T.IDENTIFIER&&(e.id=E,Z())),"{"===E){if(Z(),e||(e={}),e.parent=t,e.node=t.node,e.edge=t.edge,e.graph=t.graph,K(e),"}"!=E)throw et("Angle bracket } expected");Z(),delete e.node,delete e.edge,delete e.graph,delete e.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(e)}return e}function Q(t){return"node"===E?(Z(),t.node=tt(),"node"):"edge"===E?(Z(),t.edge=tt(),"edge"):"graph"===E?(Z(),t.graph=tt(),"graph"):null}function q(t,e){var i={id:e},n=tt();n&&(i.attr=n),W(t,i),$(t,e)}function $(t,e){while("->"===E||"--"===E){var i,n=E;Z();var o=J(t);if(o)i=o;else{if(P!=T.IDENTIFIER)throw et("Identifier or subgraph expected");i=E,W(t,{id:i}),Z()}var s=tt(),r=G(t,e,i,n,s);V(t,r),e=i}}function tt(){var t,e,i=null,n={dashed:!0,solid:!1,dotted:[1,5]},o={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},s=new Array,r=new Array;while("["===E){Z(),i={};while(""!==E&&"]"!=E){if(P!=T.IDENTIFIER)throw et("Attribute name expected");var a=E;if(Z(),"="!=E)throw et("Equal sign = expected");if(Z(),P!=T.IDENTIFIER)throw et("Attribute value expected");var g,d=E;"style"===a&&(d=n[d]),"arrowhead"===a&&(g=o[d],a="arrows",d={to:{enabled:!0,type:g}}),"arrowtail"===a&&(g=o[d],a="arrows",d={from:{enabled:!0,type:g}}),s.push({attr:i,name:a,value:d}),r.push(a),Z(),","==E&&Z()}if("]"!=E)throw et("Bracket ] expected");Z()}if(r.includes("dir")){var l={arrows:{}};for(t=0;t"===t.type&&(e.arrows="to"),e};e.edges.forEach((function(t){var e,o;e=t.from instanceof Object?t.from.nodes:{id:t.from},o=t.to instanceof Object?t.to.nodes:{id:t.to},t.from instanceof Object&&t.from.edges&&t.from.edges.forEach((function(t){var e=n(t);i.edges.push(e)})),nt(e,o,(function(e,o){var s=G(i,e.id,o.id,t.type,t.attr),r=n(s);i.edges.push(r)})),t.to instanceof Object&&t.to.edges&&t.to.edges.forEach((function(t){var e=n(t);i.edges.push(e)}))}))}return e.attr&&(i.options=e.attr),i}function at(t,e){const i={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};null!=e&&(null!=e.fixed&&(i.nodes.fixed=e.fixed),null!=e.parseColor&&(i.nodes.parseColor=e.parseColor),null!=e.inheritColor&&(i.edges.inheritColor=e.inheritColor));const n=t.edges,o=n.map(t=>{const e={from:t.source,id:t.id,to:t.target};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),"Directed"===t.type&&(e.arrows="to"),t.color&&!1===i.edges.inheritColor&&(e.color=t.color),e}),s=t.nodes.map(t=>{const e={id:t.id,fixed:i.nodes.fixed&&null!=t.x&&null!=t.y};return null!=t.attributes&&(e.attributes=t.attributes),null!=t.label&&(e.label=t.label),null!=t.size&&(e.size=t.size),null!=t.attributes&&null!=t.attributes.title&&(e.title=t.attributes.title),null!=t.title&&(e.title=t.title),null!=t.x&&(e.x=t.x),null!=t.y&&(e.y=t.y),null!=t.color&&(!0===i.nodes.parseColor?e.color=t.color:e.color={background:t.color,border:t.color,highlight:{background:t.color,border:t.color},hover:{background:t.color,border:t.color}}),e});return{nodes:s,edges:o}}function gt(t,e,i){return i={path:e,exports:{},require:function(t,e){return dt(t,void 0===e||null===e?i.path:e)}},t(i,i.exports),i.exports}function dt(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lt=gt((function(t){function e(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get:function(e){return{set:t}}}}if("undefined"!==typeof window){const e=window["Hammer"]||g["a"];t.exports=e}else t.exports=function(){return e()}}));function ct(t){this.active=!1,this.dom={container:t},this.dom.overlay=document.createElement("div"),this.dom.overlay.className="vis-overlay",this.dom.container.appendChild(this.dom.overlay),this.hammer=lt(this.dom.overlay),this.hammer.on("tap",this._onTapOverlay.bind(this));const e=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];e.forEach(t=>{this.hammer.on(t,t=>{t.srcEvent.stopPropagation()})}),document&&document.body&&(this.onClick=e=>{ht(e.target,t)||this.deactivate()},document.body.addEventListener("click",this.onClick)),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=a()(),this.escListener=this.deactivate.bind(this)}function ht(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}o()(ct.prototype),ct.current=null,ct.prototype.destroy=function(){this.deactivate(),this.dom.overlay.parentNode.removeChild(this.dom.overlay),this.onClick&&document.body.removeEventListener("click",this.onClick),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=null,this.hammer.destroy(),this.hammer=null},ct.prototype.activate=function(){ct.current&&ct.current.deactivate(),ct.current=this,this.active=!0,this.dom.overlay.style.display="none",Object(s["addClassName"])(this.dom.container,"vis-active"),this.emit("change"),this.emit("activate"),this.keycharm.bind("esc",this.escListener)},ct.prototype.deactivate=function(){this.active=!1,this.dom.overlay.style.display="block",Object(s["removeClassName"])(this.dom.container,"vis-active"),this.keycharm.unbind("esc",this.escListener),this.emit("change"),this.emit("deactivate")},ct.prototype._onTapOverlay=function(t){this.activate(),t.srcEvent.stopPropagation()};const ut={addDescription:"Click in an empty space to place a new node.",addEdge:"Add Edge",addNode:"Add Node",back:"Back",createEdgeError:"Cannot link edges to a cluster.",del:"Delete selected",deleteClusterError:"Clusters cannot be deleted.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",edit:"Edit",editClusterError:"Clusters cannot be edited.",editEdge:"Edit Edge",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",editNode:"Edit Node"},At={addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",addEdge:"Kante hinzufügen",addNode:"Knoten hinzufügen",back:"Zurück",createEdgeError:"Es ist nicht möglich, Kanten mit Clustern zu verbinden.",del:"Lösche Auswahl",deleteClusterError:"Cluster können nicht gelöscht werden.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",edit:"Editieren",editClusterError:"Cluster können nicht editiert werden.",editEdge:"Kante editieren",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",editNode:"Knoten editieren"},Ct={addDescription:"Haga clic en un lugar vacío para colocar un nuevo nodo.",addEdge:"Añadir arista",addNode:"Añadir nodo",back:"Atrás",createEdgeError:"No se puede conectar una arista a un grupo.",del:"Eliminar selección",deleteClusterError:"No es posible eliminar grupos.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",edit:"Editar",editClusterError:"No es posible editar grupos.",editEdge:"Editar arista",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",editNode:"Editar nodo"},It={addDescription:"Clicca per aggiungere un nuovo nodo",addEdge:"Aggiungi un vertice",addNode:"Aggiungi un nodo",back:"Indietro",createEdgeError:"Non si possono collegare vertici ad un cluster",del:"Cancella la selezione",deleteClusterError:"I cluster non possono essere cancellati",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",edit:"Modifica",editClusterError:"I clusters non possono essere modificati.",editEdge:"Modifica il vertice",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",editNode:"Modifica il nodo"},pt={addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",addEdge:"Link toevoegen",addNode:"Node toevoegen",back:"Terug",createEdgeError:"Kan geen link maken naar een cluster.",del:"Selectie verwijderen",deleteClusterError:"Clusters kunnen niet worden verwijderd.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",edit:"Wijzigen",editClusterError:"Clusters kunnen niet worden aangepast.",editEdge:"Link wijzigen",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",editNode:"Node wijzigen"},ft={addDescription:"Clique em um espaço em branco para adicionar um novo nó",addEdge:"Adicionar aresta",addNode:"Adicionar nó",back:"Voltar",createEdgeError:"Não foi possível linkar arestas a um cluster.",del:"Remover selecionado",deleteClusterError:"Clusters não puderam ser removidos.",edgeDescription:"Clique em um nó e arraste a aresta até outro nó para conectá-los",edit:"Editar",editClusterError:"Clusters não puderam ser editados.",editEdge:"Editar aresta",editEdgeDescription:"Clique nos pontos de controle e os arraste para um nó para conectá-los",editNode:"Editar nó"},mt={addDescription:"Кликните в свободное место, чтобы добавить новый узел.",addEdge:"Добавить ребро",addNode:"Добавить узел",back:"Назад",createEdgeError:"Невозможно соединить ребра в кластер.",del:"Удалить выбранное",deleteClusterError:"Кластеры не могут быть удалены",edgeDescription:"Кликните на узел и протяните ребро к другому узлу, чтобы соединить их.",edit:"Редактировать",editClusterError:"Кластеры недоступны для редактирования.",editEdge:"Редактировать ребро",editEdgeDescription:"Кликните на контрольные точки и перетащите их в узел, чтобы подключиться к нему.",editNode:"Редактировать узел"},vt={addDescription:"单击空白处放置新节点。",addEdge:"添加连接线",addNode:"添加节点",back:"返回",createEdgeError:"无法将连接线连接到群集。",del:"删除选定",deleteClusterError:"无法删除群集。",edgeDescription:"单击某个节点并将该连接线拖动到另一个节点以连接它们。",edit:"编辑",editClusterError:"无法编辑群集。",editEdge:"编辑连接线",editEdgeDescription:"单击控制节点并将它们拖到节点上连接。",editNode:"编辑节点"},bt={addDescription:"Kлікніть на вільне місце, щоб додати новий вузол.",addEdge:"Додати край",addNode:"Додати вузол",back:"Назад",createEdgeError:"Не можливо об'єднати краї в групу.",del:"Видалити обране",deleteClusterError:"Групи не можуть бути видалені.",edgeDescription:"Клікніть на вузол і перетягніть край до іншого вузла, щоб їх з'єднати.",edit:"Редагувати",editClusterError:"Групи недоступні для редагування.",editEdge:"Редагувати край",editEdgeDescription:"Клікніть на контрольні точки і перетягніть їх у вузол, щоб підключитися до нього.",editNode:"Редагувати вузол"},yt={addDescription:"Cliquez dans un endroit vide pour placer un nœud.",addEdge:"Ajouter un lien",addNode:"Ajouter un nœud",back:"Retour",createEdgeError:"Impossible de créer un lien vers un cluster.",del:"Effacer la sélection",deleteClusterError:"Les clusters ne peuvent pas être effacés.",edgeDescription:"Cliquez sur un nœud et glissez le lien vers un autre nœud pour les connecter.",edit:"Éditer",editClusterError:"Les clusters ne peuvent pas être édités.",editEdge:"Éditer le lien",editEdgeDescription:"Cliquez sur les points de contrôle et glissez-les pour connecter un nœud.",editNode:"Éditer le nœud"},_t={addDescription:"Kluknutím do prázdného prostoru můžete přidat nový vrchol.",addEdge:"Přidat hranu",addNode:"Přidat vrchol",back:"Zpět",createEdgeError:"Nelze připojit hranu ke shluku.",del:"Smazat výběr",deleteClusterError:"Nelze mazat shluky.",edgeDescription:"Přetažením z jednoho vrcholu do druhého můžete spojit tyto vrcholy novou hranou.",edit:"Upravit",editClusterError:"Nelze upravovat shluky.",editEdge:"Upravit hranu",editEdgeDescription:"Přetažením kontrolního vrcholu hrany ji můžete připojit k jinému vrcholu.",editNode:"Upravit vrchol"};var wt=Object.freeze({__proto__:null,en:ut,de:At,es:Ct,it:It,nl:pt,pt:ft,ru:mt,cn:vt,uk:bt,fr:yt,cs:_t});function Mt(t,e){try{const[i,n]=e.split(/[-_ \/]/,2),o=null!=i?i.toLowerCase():null,s=null!=n?n.toUpperCase():null;if(o&&s){const e=o+"-"+s;if(Object.prototype.hasOwnProperty.call(t,e))return e;console.warn(`Unknown variant ${s} of language ${o}.`)}if(o){const e=o;if(Object.prototype.hasOwnProperty.call(t,e))return e;console.warn("Unknown language "+o)}return console.warn(`Unknown locale ${e}, falling back to English.`),"en"}catch(i){return console.error(i),console.warn(`Unexpected error while normalizing locale ${e}, falling back to English.`),"en"}}class xt{constructor(){this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}init(){if(this.initialized())return;this.src=this.image.src;const t=this.image.width,e=this.image.height;this.width=t,this.height=e;const i=Math.floor(e/2),n=Math.floor(e/4),o=Math.floor(e/8),s=Math.floor(e/16),r=Math.floor(t/2),a=Math.floor(t/4),g=Math.floor(t/8),d=Math.floor(t/16);this.canvas.width=3*a,this.canvas.height=i,this.coordinates=[[0,0,r,i],[r,0,a,n],[r,n,g,o],[5*g,n,d,s]],this._fillMipMap()}initialized(){return void 0!==this.coordinates}_fillMipMap(){const t=this.canvas.getContext("2d"),e=this.coordinates[0];t.drawImage(this.image,e[0],e[1],e[2],e[3]);for(let i=1;i2){e*=.5;let r=0;while(e>2&&r=this.NUM_ITERATIONS&&(r=this.NUM_ITERATIONS-1);const a=this.coordinates[r];t.drawImage(this.canvas,a[0],a[1],a[2],a[3],i,n,o,s)}else t.drawImage(this.image,i,n,o,s)}}class kt{constructor(t){this.images={},this.imageBroken={},this.callback=t}_tryloadBrokenUrl(t,e,i){void 0!==t&&void 0!==i&&(void 0!==e?(i.image.onerror=()=>{console.error("Could not load brokenImage:",e)},i.image.src=e):console.warn("No broken url image defined"))}_redrawWithImage(t){this.callback&&this.callback(t)}load(t,e){const i=this.images[t];if(i)return i;const n=new xt;return this.images[t]=n,n.image.onload=()=>{this._fixImageCoordinates(n.image),n.init(),this._redrawWithImage(n)},n.image.onerror=()=>{console.error("Could not load image:",t),this._tryloadBrokenUrl(t,e,n)},n.image.src=t,n}_fixImageCoordinates(t){0===t.width&&(document.body.appendChild(t),t.width=t.offsetWidth,t.height=t.offsetHeight,document.body.removeChild(t))}}class Dt{constructor(){this.clear(),this.defaultIndex=0,this.groupsArray=[],this.groupIndex=0,this.defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},Object.assign(this.options,this.defaultOptions)}setOptions(t){const e=["useDefaultGroups"];if(void 0!==t)for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&-1===e.indexOf(i)){const e=t[i];this.add(i,e)}}clear(){this.groups={},this.groupsArray=[]}get(t,e=!0){let i=this.groups[t];if(void 0===i&&e)if(!1===this.options.useDefaultGroups&&this.groupsArray.length>0){const e=this.groupIndex%this.groupsArray.length;this.groupIndex++,i={},i.color=this.groups[this.groupsArray[e]],this.groups[t]=i}else{const e=this.defaultIndex%this.defaultGroups.length;this.defaultIndex++,i={},i.color=this.defaultGroups[e],this.groups[t]=i}return i}add(t,e){return this.groups[t]=e,this.groupsArray.push(t),e}}function Tt(t,e){const i=["node","edge","label"];let n=!0;const o=Object(s["topMost"])(e,"chosen");if("boolean"===typeof o)n=o;else if("object"===typeof o){if(-1===i.indexOf(t))throw new Error("choosify: subOption '"+t+"' should be one of '"+i.join("', '")+"'");const o=Object(s["topMost"])(e,["chosen",t]);"boolean"!==typeof o&&"function"!==typeof o||(n=o)}return n}function Lt(t,e,i){if(t.width<=0||t.height<=0)return!1;if(void 0!==i){const t={x:e.x-i.x,y:e.y-i.y};if(0!==i.angle){const n=-i.angle,o={x:Math.cos(n)*t.x-Math.sin(n)*t.y,y:Math.sin(n)*t.x+Math.cos(n)*t.y};e=o}else e=t}const n=t.x+t.width,o=t.y+t.width;return t.lefte.x&&t.tope.y}function Ot(t){return"string"===typeof t&&""!==t}function St(t,e,i,n){let o=n.x,s=n.y;if("function"===typeof n.distanceToBorder){const i=n.distanceToBorder(t,e),r=Math.sin(e)*i,a=Math.cos(e)*i;a===i?(o+=i,s=n.y):r===i?(o=n.x,s-=i):(o+=a,s-=r)}else n.shape.width>n.shape.height?(o=n.x+.5*n.shape.width,s=n.y-i):(o=n.x+i,s=n.y-.5*n.shape.height);return{x:o,y:s}}class Yt{constructor(t){this.measureText=t,this.current=0,this.width=0,this.height=0,this.lines=[]}_add(t,e,i="normal"){void 0===this.lines[t]&&(this.lines[t]={width:0,height:0,blocks:[]});let n=e;void 0!==e&&""!==e||(n=" ");const o=this.measureText(n,i),s=Object.assign({},o.values);s.text=e,s.width=o.width,s.mod=i,void 0!==e&&""!==e||(s.width=0),this.lines[t].blocks.push(s),this.lines[t].width+=s.width}curWidth(){const t=this.lines[this.current];return void 0===t?0:t.width}append(t,e="normal"){this._add(this.current,t,e)}newLine(t,e="normal"){this._add(this.current,t,e),this.current++}determineLineHeights(){for(let t=0;tt&&(t=n.width),e+=n.height}this.width=t,this.height=e}removeEmptyBlocks(){const t=[];for(let e=0;e"://,""://,""://,"":/<\/b>/,"":/<\/i>/,"":/<\/code>/,"*":/\*/,_:/\_/,"`":/`/,afterBold:/[^\*]/,afterItal:/[^_]/,afterMono:/[^`]/};class Pt{constructor(t){this.text=t,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}mod(){return 0===this.modStack.length?"normal":this.modStack[0]}modName(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":this.bold&&this.ital?"boldital":this.bold?"bold":this.ital?"ital":void 0}emitBlock(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}add(t){" "===t&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=t&&(this.buffer+=t)}parseWS(t){return!!/[ \t]/.test(t)&&(this.mono?this.add(t):this.spacing=!0,!0)}setTag(t){this.emitBlock(),this[t]=!0,this.modStack.unshift(t)}unsetTag(t){this.emitBlock(),this[t]=!1,this.modStack.shift()}parseStartTag(t,e){return!(this.mono||this[t]||!this.match(e))&&(this.setTag(t),!0)}match(t,e=!0){const[i,n]=this.prepareRegExp(t),o=i.test(this.text.substr(this.position,n));return o&&e&&(this.position+=n-1),o}parseEndTag(t,e,i){let n=this.mod()===t;return n="mono"===t?n&&this.mono:n&&!this.mono,!(!n||!this.match(e))&&(void 0!==i?(this.position===this.text.length-1||this.match(i,!1))&&this.unsetTag(t):this.unsetTag(t),!0)}replace(t,e){return!!this.match(t)&&(this.add(e),this.position+=length-1,!0)}prepareRegExp(t){let e,i;if(t instanceof RegExp)i=t,e=1;else{const n=Et[t];i=void 0!==n?n:new RegExp(t),e=t.length}return[i,e]}}class jt{constructor(t,e,i,n){this.ctx=t,this.parent=e,this.selected=i,this.hover=n;const o=(e,o)=>{if(void 0===e)return 0;const s=this.parent.getFormattingValues(t,i,n,o);let r=0;if(""!==e){const t=this.ctx.measureText(e);r=t.width}return{width:r,values:s}};this.lines=new Yt(o)}process(t){if(!Ot(t))return this.lines.finalize();const e=this.parent.fontOptions;t=t.replace(/\r\n/g,"\n"),t=t.replace(/\r/g,"\n");const i=String(t).split("\n"),n=i.length;if(e.multi)for(let o=0;o0)for(let e=0;e0)for(let o=0;o{if(/&/.test(t)){const t=e.replace(e.text,"<","<")||e.replace(e.text,"&","&");return t||e.add("&"),!0}return!1};while(e.position")||e.parseStartTag("ital","")||e.parseStartTag("mono","")||e.parseEndTag("bold","")||e.parseEndTag("ital","")||e.parseEndTag("mono",""))||i(t);n||e.add(t),e.position++}return e.emitBlock(),e.blocks}splitMarkdownBlocks(t){const e=new Pt(t);let i=!0;const n=t=>!!/\\/.test(t)&&(e.positionthis.parent.fontOptions.maxWdt}getLongestFit(t){let e="",i=0;while(i0){let t=this.getLongestFit(n);if(0===t){const t=n[0],i=this.getLongestFitWord(t);this.lines.newLine(t.slice(0,i),e),n[0]=t.slice(i)}else{let o=t;" "===n[t-1]?t--:" "===n[o]&&o++;const s=n.slice(0,t).join("");t==n.length&&i?this.lines.append(s,e):this.lines.newLine(s,e),n=n.slice(o)}}}}const Nt=["bold","ital","boldital","mono"];class Rt{constructor(t,e,i=!1){this.body=t,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(e),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=i}setOptions(t){if(this.elementOptions=t,this.initFontOptions(t.font),Ot(t.label)?this.labelDirty=!0:t.label=void 0,void 0!==t.font&&null!==t.font)if("string"===typeof t.font)this.baseSize=this.fontOptions.size;else if("object"===typeof t.font){const e=t.font.size;void 0!==e&&(this.baseSize=e)}}initFontOptions(t){Object(s["forEach"])(Nt,t=>{this.fontOptions[t]={}}),Rt.parseFontString(this.fontOptions,t)?this.fontOptions.vadjust=0:Object(s["forEach"])(t,(t,e)=>{void 0!==t&&null!==t&&"object"!==typeof t&&(this.fontOptions[e]=t)})}static parseFontString(t,e){if(!e||"string"!==typeof e)return!1;const i=e.split(" ");return t.size=+i[0].replace("px",""),t.face=i[1],t.color=i[2],!0}constrain(t){const e={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},i=Object(s["topMost"])(t,"widthConstraint");if("number"===typeof i)e.maxWdt=Number(i),e.minWdt=Number(i);else if("object"===typeof i){const i=Object(s["topMost"])(t,["widthConstraint","maximum"]);"number"===typeof i&&(e.maxWdt=Number(i));const n=Object(s["topMost"])(t,["widthConstraint","minimum"]);"number"===typeof n&&(e.minWdt=Number(n))}const n=Object(s["topMost"])(t,"heightConstraint");if("number"===typeof n)e.minHgt=Number(n);else if("object"===typeof n){const i=Object(s["topMost"])(t,["heightConstraint","minimum"]);"number"===typeof i&&(e.minHgt=Number(i));const n=Object(s["topMost"])(t,["heightConstraint","valign"]);"string"===typeof n&&("top"!==n&&"bottom"!==n||(e.valign=n))}return e}update(t,e){this.setOptions(t,!0),this.propagateFonts(e),Object(s["deepExtend"])(this.fontOptions,this.constrain(e)),this.fontOptions.chooser=Tt("label",e)}adjustSizes(t){const e=t?t.right+t.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=e,this.fontOptions.minWdt-=e);const i=t?t.top+t.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=i)}addFontOptionsToPile(t,e){for(let i=0;i{void 0!==t&&(Object.prototype.hasOwnProperty.call(e,i)||(-1!==Nt.indexOf(i)?e[i]={}:e[i]=t))})}return e}getFontOption(t,e,i){let n;for(let o=0;o{n[e]=t}),n.size=Number(n.size),n.vadjust=Number(n.vadjust)}}draw(t,e,i,n,o,s="middle"){if(void 0===this.elementOptions.label)return;let r=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&r=this.elementOptions.scaling.label.maxVisible&&(r=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(t,n,o,e,i,s),this._drawBackground(t),this._drawText(t,e,this.size.yLine,s,r))}_drawBackground(t){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){t.fillStyle=this.fontOptions.background;const e=this.getSize();t.fillRect(e.left,e.top,e.width,e.height)}}_drawText(t,e,i,n="middle",o){[e,i]=this._setAlignment(t,e,i,n),t.textAlign="left",e-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(i-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(i+=(this.size.height-this.size.labelHeight)/2));for(let s=0;s0&&(t.lineWidth=a.strokeWidth,t.strokeStyle=d,t.lineJoin="round"),t.fillStyle=g,a.strokeWidth>0&&t.strokeText(a.text,e+s,i+a.vadjust),t.fillText(a.text,e+s,i+a.vadjust),s+=a.width}i+=n.height}}}_setAlignment(t,e,i,n){if(this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf){e=0,i=0;const n=2;"top"===this.fontOptions.align?(t.textBaseline="alphabetic",i-=2*n):"bottom"===this.fontOptions.align?(t.textBaseline="hanging",i+=2*n):t.textBaseline="middle"}else t.textBaseline=n;return[e,i]}_getColor(t,e,i){let n=t||"#000000",o=i||"#ffffff";if(e<=this.elementOptions.scaling.label.drawThreshold){const t=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-e)));n=Object(s["overrideOpacity"])(n,t),o=Object(s["overrideOpacity"])(o,t)}return[n,o]}getTextSize(t,e=!1,i=!1){return this._processLabel(t,e,i),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}getSize(){const t=2;let e=this.size.left,i=this.size.top-.5*t;if(this.isEdgeLabel){const n=.5*-this.size.width;switch(this.fontOptions.align){case"middle":e=n,i=.5*-this.size.height;break;case"top":e=n,i=-(this.size.height+t);break;case"bottom":e=n,i=t;break}}const n={left:e,top:i,width:this.size.width,height:this.size.height};return n}calculateLabelSize(t,e,i,n=0,o=0,s="middle"){this._processLabel(t,e,i),this.size.left=n-.5*this.size.width,this.size.top=o-.5*this.size.height,this.size.yLine=o+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===s&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}getFormattingValues(t,e,i,n){const o=function(t,e,i){return"normal"===e?"mod"===i?"":t[i]:void 0!==t[e][i]?t[e][i]:t[i]},s={color:o(this.fontOptions,n,"color"),size:o(this.fontOptions,n,"size"),face:o(this.fontOptions,n,"face"),mod:o(this.fontOptions,n,"mod"),vadjust:o(this.fontOptions,n,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(e||i)&&("normal"===n&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?s.mod="bold":"function"===typeof this.fontOptions.chooser&&this.fontOptions.chooser(s,this.elementOptions.id,e,i));let r="";return void 0!==s.mod&&""!==s.mod&&(r+=s.mod+" "),r+=s.size+"px "+s.face,t.font=r.replace(/"/g,""),s.font=t.font,s.height=s.size,s}differentState(t,e){return t!==this.selectedState||e!==this.hoverState}_processLabelText(t,e,i,n){const o=new jt(t,this,e,i);return o.process(n)}_processLabel(t,e,i){if(!1===this.labelDirty&&!this.differentState(e,i))return;const n=this._processLabelText(t,e,i,this.elementOptions.label);this.fontOptions.minWdt>0&&n.width0&&n.height0&&(this.enableBorderDashes(t,e),t.stroke(),this.disableBorderDashes(t,e)),t.restore()}performFill(t,e){t.save(),t.fillStyle=e.color,this.enableShadow(t,e),t.fill(),this.disableShadow(t,e),t.restore(),this.performStroke(t,e)}_addBoundingBoxMargin(t){this.boundingBox.left-=t,this.boundingBox.top-=t,this.boundingBox.bottom+=t,this.boundingBox.right+=t}_updateBoundingBox(t,e,i,n,o){void 0!==i&&this.resize(i,n,o),this.left=t-this.width/2,this.top=e-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}updateBoundingBox(t,e,i,n,o){this._updateBoundingBox(t,e,i,n,o)}getDimensionsFromLabel(t,e,i){this.textSize=this.labelModule.getTextSize(t,e,i);let n=this.textSize.width,o=this.textSize.height;const s=14;return 0===n&&(n=s,o=s),{width:n,height:o}}}class Ht extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i);this.width=n.width+this.margin.right+this.margin.left,this.height=n.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.initContextForDraw(t,s),m(t,this.left,this.top,this.width,this.height,s.borderRadius),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o)}updateBoundingBox(t,e,i,n,o){this._updateBoundingBox(t,e,i,n,o);const s=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(s)}distanceToBorder(t,e){t&&this.resize(t);const i=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+i}}class Bt extends Ft{constructor(t,e,i){super(t,e,i),this.labelOffset=0,this.selected=!1}setOptions(t,e,i){this.options=t,void 0===e&&void 0===i||this.setImages(e,i)}setImages(t,e){e&&this.selected?(this.imageObj=e,this.imageObjAlt=t):(this.imageObj=t,this.imageObjAlt=e)}switchImages(t){const e=t&&!this.selected||!t&&this.selected;if(this.selected=t,void 0!==this.imageObjAlt&&e){const t=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=t}}_getImagePadding(){const t={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){const e=this.options.imagePadding;"object"==typeof e?(t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left):(t.top=e,t.right=e,t.bottom=e,t.left=e)}return t}_resizeImage(){let t,e;if(!1===this.options.shapeProperties.useImageSize){let i=1,n=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?i=this.imageObj.width/this.imageObj.height:n=this.imageObj.height/this.imageObj.width),t=2*this.options.size*i,e=2*this.options.size*n}else{const i=this._getImagePadding();t=this.imageObj.width+i.left+i.right,e=this.imageObj.height+i.top+i.bottom}this.width=t,this.height=e,this.radius=.5*this.width}_drawRawCircle(t,e,i,n){this.initContextForDraw(t,n),u(t,e,i,n.size),this.performFill(t,n)}_drawImageAtPosition(t,e){if(0!=this.imageObj.width){t.globalAlpha=void 0!==e.opacity?e.opacity:1,this.enableShadow(t,e);let i=1;!0===this.options.shapeProperties.interpolation&&(i=this.imageObj.width/this.width/this.body.view.scale);const n=this._getImagePadding(),o=this.left+n.left,s=this.top+n.top,r=this.width-n.left-n.right,a=this.height-n.top-n.bottom;this.imageObj.drawImageAtPosition(t,i,o,s,r,a),this.disableShadow(t,e)}}_drawImageLabel(t,e,i,n,o){let s=0;if(void 0!==this.height){s=.5*this.height;const e=this.labelModule.getTextSize(t,n,o);e.lineCount>=1&&(s+=e.height/2)}const r=i+s;this.options.label&&(this.labelOffset=s),this.labelModule.draw(t,e,r,n,o,"hanging")}}class zt extends Bt{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i),o=Math.max(n.width+this.margin.right+this.margin.left,n.height+this.margin.top+this.margin.bottom);this.options.size=o/2,this.width=o,this.height=o,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this._drawRawCircle(t,e,i,s),this.updateBoundingBox(e,i),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,i,n,o)}updateBoundingBox(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size}distanceToBorder(t,e){return t&&this.resize(t),.5*this.width}}class Wt extends Bt{constructor(t,e,i,n,o){super(t,e,i),this.setImages(n,o)}resize(t,e=this.selected,i=this.hover){const n=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(n){const t=2*this.options.size;return this.width=t,this.height=t,void(this.radius=.5*this.width)}this.needsRefresh(e,i)&&this._resizeImage()}draw(t,e,i,n,o,s){this.switchImages(n),this.resize();let r=e,a=i;"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=i,r+=this.width/2,a+=this.height/2):(this.left=e-this.width/2,this.top=i-this.height/2),this._drawRawCircle(t,r,a,s),t.save(),t.clip(),this._drawImageAtPosition(t,s),t.restore(),this._drawImageLabel(t,r,a,n,o),this.updateBoundingBox(e,i)}updateBoundingBox(t,e){"top-left"===this.options.shapeProperties.coordinateOrigin?(this.boundingBox.top=e,this.boundingBox.left=t,this.boundingBox.right=t+2*this.options.size,this.boundingBox.bottom=e+2*this.options.size):(this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size),this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}distanceToBorder(t,e){return t&&this.resize(t),.5*this.width}}class Vt extends Ft{constructor(t,e,i){super(t,e,i)}resize(t,e=this.selected,i=this.hover,n={size:this.options.size}){if(this.needsRefresh(e,i)){this.labelModule.getTextSize(t,e,i);const o=2*n.size;this.width=o,this.height=o,this.radius=.5*this.width}}_drawShape(t,e,i,n,o,s,r,a,g){if(this.resize(t,s,r,a),this.left=n-this.width/2,this.top=o-this.height/2,"custom"===e)return t.save(),g({ctx:t,x:n,y:o,state:{selected:s,hover:r},style:{...a},label:this.options.label}),void t.restore();if(this.initContextForDraw(t,a),M(e)(t,n,o,a.size),this.performFill(t,a),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(t.font=(s?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",t.fillText(this.options.icon.code,n,o)),void 0!==this.options.label){this.labelModule.calculateLabelSize(t,s,r,n,o,"hanging");const e=o+.5*this.height+.5*this.labelModule.size.height;this.labelModule.draw(t,n,e,s,r,"hanging")}this.updateBoundingBox(n,o)}updateBoundingBox(t,e){this.boundingBox.top=e-this.options.size,this.boundingBox.left=t-this.options.size,this.boundingBox.right=t+this.options.size,this.boundingBox.bottom=e+this.options.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}class Gt extends Vt{constructor(t,e,i,n){super(t,e,i,n),this.ctxRenderer=n}draw(t,e,i,n,o,s){this._drawShape(t,"custom",4,e,i,n,o,s,this.ctxRenderer)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Zt extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i),o=n.width+this.margin.right+this.margin.left;this.width=o,this.height=o,this.radius=this.width/2}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.initContextForDraw(t,s),b(t,e-this.width/2,i-this.height/2,this.width,this.height),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Ut extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"diamond",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Kt extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"circle",2,e,i,n,o,s)}distanceToBorder(t,e){return t&&this.resize(t),this.options.size}}class Xt extends Ft{constructor(t,e,i){super(t,e,i)}resize(t,e=this.selected,i=this.hover){if(this.needsRefresh(e,i)){const n=this.getDimensionsFromLabel(t,e,i);this.height=2*n.height,this.width=n.width+n.height,this.radius=.5*this.width}}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-.5*this.width,this.top=i-.5*this.height,this.initContextForDraw(t,s),v(t,this.left,this.top,this.width,this.height),this.performFill(t,s),this.updateBoundingBox(e,i,t,n,o),this.labelModule.draw(t,e,i,n,o)}distanceToBorder(t,e){t&&this.resize(t);const i=.5*this.width,n=.5*this.height,o=Math.sin(e)*i,s=Math.cos(e)*n;return i*n/Math.sqrt(o*o+s*s)}}class Jt extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){this.needsRefresh(e,i)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}draw(t,e,i,n,o,s){if(this.resize(t,n,o),this.options.icon.size=this.options.icon.size||50,this.left=e-this.width/2,this.top=i-this.height/2,this._icon(t,e,i,n,o,s),void 0!==this.options.label){const e=5;this.labelModule.draw(t,this.left+this.iconSize.width/2+this.margin.left,i+this.height/2+e,n)}this.updateBoundingBox(e,i)}updateBoundingBox(t,e){if(this.boundingBox.top=e-.5*this.options.icon.size,this.boundingBox.left=t-.5*this.options.icon.size,this.boundingBox.right=t+.5*this.options.icon.size,this.boundingBox.bottom=e+.5*this.options.icon.size,void 0!==this.options.label&&this.labelModule.size.width>0){const t=5;this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+t)}}_icon(t,e,i,n,o,s){const r=Number(this.options.icon.size);void 0!==this.options.icon.code?(t.font=[null!=this.options.icon.weight?this.options.icon.weight:n?"bold":"",(null!=this.options.icon.weight&&n?5:0)+r+"px",this.options.icon.face].join(" "),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",this.enableShadow(t,s),t.fillText(this.options.icon.code,e,i),this.disableShadow(t,s)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class Qt extends Bt{constructor(t,e,i,n,o){super(t,e,i),this.setImages(n,o)}resize(t,e=this.selected,i=this.hover){const n=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(n){const t=2*this.options.size;return this.width=t,void(this.height=t)}this.needsRefresh(e,i)&&this._resizeImage()}draw(t,e,i,n,o,r){t.save(),this.switchImages(n),this.resize();let a=e,g=i;if("top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=i,a+=this.width/2,g+=this.height/2):(this.left=e-this.width/2,this.top=i-this.height/2),!0===this.options.shapeProperties.useBorderWithImage){const e=this.options.borderWidth,i=this.options.borderWidthSelected||2*this.options.borderWidth,a=(n?i:e)/this.body.view.scale;t.lineWidth=Math.min(this.width,a),t.beginPath();let g=n?this.options.color.highlight.border:o?this.options.color.hover.border:this.options.color.border,d=n?this.options.color.highlight.background:o?this.options.color.hover.background:this.options.color.background;void 0!==r.opacity&&(g=Object(s["overrideOpacity"])(g,r.opacity),d=Object(s["overrideOpacity"])(d,r.opacity)),t.strokeStyle=g,t.fillStyle=d,t.rect(this.left-.5*t.lineWidth,this.top-.5*t.lineWidth,this.width+t.lineWidth,this.height+t.lineWidth),t.fill(),this.performStroke(t,r),t.closePath()}this._drawImageAtPosition(t,r),this._drawImageLabel(t,a,g,n,o),this.updateBoundingBox(e,i),t.restore()}updateBoundingBox(t,e){this.resize(),"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=t,this.top=e):(this.left=t-this.width/2,this.top=e-this.height/2),this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class qt extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"square",2,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class $t extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"hexagon",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class te extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"star",4,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ee extends Ft{constructor(t,e,i){super(t,e,i),this._setMargins(i)}resize(t,e,i){this.needsRefresh(e,i)&&(this.textSize=this.labelModule.getTextSize(t,e,i),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}draw(t,e,i,n,o,s){this.resize(t,n,o),this.left=e-this.width/2,this.top=i-this.height/2,this.enableShadow(t,s),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,n,o),this.disableShadow(t,s),this.updateBoundingBox(e,i,t,n,o)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ie extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"triangle",3,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}class ne extends Vt{constructor(t,e,i){super(t,e,i)}draw(t,e,i,n,o,s){this._drawShape(t,"triangleDown",3,e,i,n,o,s)}distanceToBorder(t,e){return this._distanceToBorder(t,e)}}let oe,se=!1;const re="background: #FFeeee; color: #dd0000";class ae{constructor(){}static validate(t,e,i){se=!1,oe=e;let n=e;return void 0!==i&&(n=e[i]),ae.parse(t,n,[]),se}static parse(t,e,i){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&ae.check(n,t,e,i)}static check(t,e,i,n){if(void 0===i[t]&&void 0===i.__any__)return void ae.getSuggestion(t,i,n);let o=t,s=!0;void 0===i[t]&&void 0!==i.__any__&&(o="__any__",s="object"===ae.getType(e[t]));let r=i[o];s&&void 0!==r.__type__&&(r=r.__type__),ae.checkFields(t,e,i,o,r,n)}static checkFields(t,e,i,n,o,r){const a=function(e){console.log("%c"+e+ae.printLocation(r,t),re)},g=ae.getType(e[t]),d=o[g];void 0!==d?"array"===ae.getType(d)&&-1===d.indexOf(e[t])?(a('Invalid option detected in "'+t+'". Allowed values are:'+ae.print(d)+' not "'+e[t]+'". '),se=!0):"object"===g&&"__any__"!==n&&(r=Object(s["copyAndExtendArray"])(r,t),ae.parse(e[t],i[n],r)):void 0===o["any"]&&(a('Invalid type received for "'+t+'". Expected: '+ae.print(Object.keys(o))+". Received ["+g+'] "'+e[t]+'"'),se=!0)}static getType(t){const e=typeof t;return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Array.isArray(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}static getSuggestion(t,e,i){const n=ae.findInOptions(t,e,i,!1),o=ae.findInOptions(t,oe,[],!0),s=8,r=4;let a;a=void 0!==n.indexMatch?" in "+ae.printLocation(n.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+n.indexMatch+'"?\n\n':o.distance<=r&&n.distance>o.distance?" in "+ae.printLocation(n.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+ae.printLocation(o.path,o.closestMatch,""):n.distance<=s?'. Did you mean "'+n.closestMatch+'"?'+ae.printLocation(n.path,t):". Did you mean one of these: "+ae.print(Object.keys(e))+ae.printLocation(i,t),console.log('%cUnknown option detected: "'+t+'"'+a,re),se=!0}static findInOptions(t,e,i,n=!1){let o=1e9,r="",a=[];const g=t.toLowerCase();let d=void 0;for(const l in e){let c;if(void 0!==e[l].__type__&&!0===n){const n=ae.findInOptions(t,e[l],Object(s["copyAndExtendArray"])(i,l));o>n.distance&&(r=n.closestMatch,a=n.path,o=n.distance,d=n.indexMatch)}else-1!==l.toLowerCase().indexOf(g)&&(d=l),c=ae.levenshteinDistance(t,l),o>c&&(r=l,a=Object(s["copyArray"])(i),o=c)}return{closestMatch:r,path:a,distance:o,indexMatch:d}}static printLocation(t,e,i="Problem value found at: \n"){let n="\n\n"+i+"options = {\n";for(let o=0;onull!=e[t]);a.push("font"),Object(s["selectiveNotDeepExtend"])(a,t,r),t.color=Object(s["parseColor"])(t.color)}static parseOptions(t,e,i=!1,n={},o){const r=["color","fixed","shadow"];if(Object(s["selectiveNotDeepExtend"])(r,t,e,i),ge.checkMass(e),void 0!==t.opacity&&(ge.checkOpacity(t.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity),t.opacity=void 0)),void 0!==e.opacity&&(ge.checkOpacity(e.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity),e.opacity=void 0)),e.shapeProperties&&!ge.checkCoordinateOrigin(e.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+e.shapeProperties.coordinateOrigin),Object(s["mergeOptions"])(t,e,"shadow",n),void 0!==e.color&&null!==e.color){const i=Object(s["parseColor"])(e.color);Object(s["fillIfDefined"])(t.color,i)}else!0===i&&null===e.color&&(t.color=Object(s["bridgeObject"])(n.color));void 0!==e.fixed&&null!==e.fixed&&("boolean"===typeof e.fixed?(t.fixed.x=e.fixed,t.fixed.y=e.fixed):(void 0!==e.fixed.x&&"boolean"===typeof e.fixed.x&&(t.fixed.x=e.fixed.x),void 0!==e.fixed.y&&"boolean"===typeof e.fixed.y&&(t.fixed.y=e.fixed.y))),!0===i&&null===e.font&&(t.font=Object(s["bridgeObject"])(n.font)),ge.updateGroupOptions(t,e,o),void 0!==e.scaling&&Object(s["mergeOptions"])(t.scaling,e.scaling,"label",n.scaling)}getFormattingValues(){const t={color:this.options.color.background,opacity:this.options.opacity,borderWidth:this.options.borderWidth,borderColor:this.options.color.border,size:this.options.size,borderDashes:this.options.shapeProperties.borderDashes,borderRadius:this.options.shapeProperties.borderRadius,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y};if(this.selected||this.hover?!0===this.chooser?this.selected?(t.borderWidth*=2,t.color=this.options.color.highlight.background,t.borderColor=this.options.color.highlight.border,t.shadow=this.options.shadow.enabled):this.hover&&(t.color=this.options.color.hover.background,t.borderColor=this.options.color.hover.border,t.shadow=this.options.shadow.enabled):"function"===typeof this.chooser&&(this.chooser(t,this.options.id,this.selected,this.hover),!1===t.shadow&&(t.shadowColor===this.options.shadow.color&&t.shadowSize===this.options.shadow.size&&t.shadowX===this.options.shadow.x&&t.shadowY===this.options.shadow.y||(t.shadow=!0))):t.shadow=this.options.shadow.enabled,void 0!==this.options.opacity){const e=this.options.opacity;t.borderColor=Object(s["overrideOpacity"])(t.borderColor,e),t.color=Object(s["overrideOpacity"])(t.color,e),t.shadowColor=Object(s["overrideOpacity"])(t.shadowColor,e)}return t}updateLabelModule(t){void 0!==this.options.label&&null!==this.options.label||(this.options.label=""),ge.updateGroupOptions(this.options,{...t,color:t&&t.color||this._localColor||void 0},this.grouplist);const e=this.grouplist.get(this.options.group,!1),i=[t,this.options,e,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,i),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}updateShape(t){if(t===this.options.shape&&this.shape)this.shape.setOptions(this.options,this.imageObj,this.imageObjAlt);else switch(this.options.shape){case"box":this.shape=new Ht(this.options,this.body,this.labelModule);break;case"circle":this.shape=new zt(this.options,this.body,this.labelModule);break;case"circularImage":this.shape=new Wt(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"custom":this.shape=new Gt(this.options,this.body,this.labelModule,this.options.ctxRenderer);break;case"database":this.shape=new Zt(this.options,this.body,this.labelModule);break;case"diamond":this.shape=new Ut(this.options,this.body,this.labelModule);break;case"dot":this.shape=new Kt(this.options,this.body,this.labelModule);break;case"ellipse":this.shape=new Xt(this.options,this.body,this.labelModule);break;case"icon":this.shape=new Jt(this.options,this.body,this.labelModule);break;case"image":this.shape=new Qt(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"square":this.shape=new qt(this.options,this.body,this.labelModule);break;case"hexagon":this.shape=new $t(this.options,this.body,this.labelModule);break;case"star":this.shape=new te(this.options,this.body,this.labelModule);break;case"text":this.shape=new ee(this.options,this.body,this.labelModule);break;case"triangle":this.shape=new ie(this.options,this.body,this.labelModule);break;case"triangleDown":this.shape=new ne(this.options,this.body,this.labelModule);break;default:this.shape=new Xt(this.options,this.body,this.labelModule);break}this.needsRefresh()}select(){this.selected=!0,this.needsRefresh()}unselect(){this.selected=!1,this.needsRefresh()}needsRefresh(){this.shape.refreshNeeded=!0}getTitle(){return this.options.title}distanceToBorder(t,e){return this.shape.distanceToBorder(t,e)}isFixed(){return this.options.fixed.x&&this.options.fixed.y}isSelected(){return this.selected}getValue(){return this.options.value}getLabelSize(){return this.labelModule.size()}setValueRange(t,e,i){if(void 0!==this.options.value){const n=this.options.scaling.customScalingFunction(t,e,i,this.options.value),o=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){const t=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+n*t}this.options.size=this.options.scaling.min+n*o}else this.options.size=this.baseSize,this.options.font.size=this.baseFontSize;this.updateLabelModule()}draw(t){const e=this.getFormattingValues();this.shape.draw(t,this.x,this.y,this.selected,this.hover,e)}updateBoundingBox(t){this.shape.updateBoundingBox(this.x,this.y,t)}resize(t){const e=this.getFormattingValues();this.shape.resize(t,this.selected,this.hover,e)}getItemsOnPoint(t){const e=[];return this.labelModule.visible()&&Lt(this.labelModule.getSize(),t)&&e.push({nodeId:this.id,labelId:0}),Lt(this.shape.boundingBox,t)&&e.push({nodeId:this.id}),e}isOverlappingWith(t){return this.shape.leftt.left&&this.shape.topt.top}isBoundingBoxOverlappingWith(t){return this.shape.boundingBox.leftt.left&&this.shape.boundingBox.topt.top}static checkMass(t,e){if(void 0!==t.mass&&t.mass<=0){let i="";void 0!==e&&(i=" in node id: "+e),console.log("%cNegative or zero mass disallowed"+i+", setting mass to 1.",re),t.mass=1}}}class de{constructor(t,e,i,n){if(this.body=t,this.images=e,this.groups=i,this.layoutEngine=n,this.body.functions.createNode=this.create.bind(this),this.nodesListeners={add:(t,e)=>{this.add(e.items)},update:(t,e)=>{this.update(e.items,e.data,e.oldData)},remove:(t,e)=>{this.remove(e.items)}},this.defaultOptions={borderWidth:1,borderWidthSelected:2,brokenImage:void 0,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},opacity:void 0,fixed:{x:!1,y:!1},font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:0,strokeColor:"#ffffff",align:"center",vadjust:0,multi:!1,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"monospace",vadjust:2}},group:void 0,hidden:!1,icon:{face:"FontAwesome",code:void 0,size:50,color:"#2B7CE9"},image:void 0,imagePadding:{top:0,right:0,bottom:0,left:0},label:void 0,labelHighlightBold:!0,level:void 0,margin:{top:5,right:5,bottom:5,left:5},mass:1,physics:!0,scaling:{min:10,max:30,label:{enabled:!1,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,i,n){if(e===t)return.5;{const i=1/(e-t);return Math.max(0,(n-t)*i)}}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},shape:"ellipse",shapeProperties:{borderDashes:!1,borderRadius:6,interpolation:!0,useImageSize:!1,useBorderWithImage:!1,coordinateOrigin:"center"},size:25,title:void 0,value:void 0,x:void 0,y:void 0},this.defaultOptions.mass<=0)throw"Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";this.options=Object(s["bridgeObject"])(this.defaultOptions),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("refreshNodes",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",()=>{Object(s["forEach"])(this.nodesListeners,(t,e)=>{this.body.data.nodes&&this.body.data.nodes.off(e,t)}),delete this.body.functions.createNode,delete this.nodesListeners.add,delete this.nodesListeners.update,delete this.nodesListeners.remove,delete this.nodesListeners})}setOptions(t){if(void 0!==t){if(ge.parseOptions(this.options,t),void 0!==t.opacity&&(Number.isNaN(t.opacity)||!Number.isFinite(t.opacity)||t.opacity<0||t.opacity>1?console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity):this.options.opacity=t.opacity),void 0!==t.shape)for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this.body.nodes[t].updateShape();if("undefined"!==typeof t.font||"undefined"!==typeof t.widthConstraint||"undefined"!==typeof t.heightConstraint)for(const t of Object.keys(this.body.nodes))this.body.nodes[t].updateLabelModule(),this.body.nodes[t].needsRefresh();if(void 0!==t.size)for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this.body.nodes[t].needsRefresh();void 0===t.hidden&&void 0===t.physics||this.body.emitter.emit("_dataChanged")}}setData(t,e=!1){const i=this.body.data.nodes;if(t instanceof d["a"]||t instanceof d["b"])this.body.data.nodes=t;else if(Array.isArray(t))this.body.data.nodes=new d["a"],this.body.data.nodes.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new d["a"]}if(i&&Object(s["forEach"])(this.nodesListeners,(function(t,e){i.off(e,t)})),this.body.nodes={},this.body.data.nodes){const t=this;Object(s["forEach"])(this.nodesListeners,(function(e,i){t.body.data.nodes.on(i,e)}));const e=this.body.data.nodes.getIds();this.add(e,!0)}!1===e&&this.body.emitter.emit("_dataChanged")}add(t,e=!1){let i;const n=[];for(let o=0;o{const n=this.body.data.nodes.get(i);void 0!==n&&(!0===t&&e.setOptions({x:null,y:null}),e.setOptions({fixed:!1}),e.setOptions(n))})}getPositions(t){const e={};if(void 0!==t){if(!0===Array.isArray(t)){for(let i=0;i{this.body.emitter.emit("startSimulation")},0)):console.log("Node id supplied to moveNode does not exist. Provided: ",t)}}class le{static transform(t,e){Array.isArray(t)||(t=[t]);const i=e.point.x,n=e.point.y,o=e.angle,s=e.length;for(let r=0;r0?a>0?s=h:r=h:a>0?r=h:s=h,++A}while(s<=r&&A1?d=1:d<0&&(d=0);const l=t+d*r,c=e+d*a,h=l-o,u=c-s;return Math.sqrt(h*h+u*u)}getArrowData(t,e,i,n,o,s){let r,a,g,d,l,c,h;const u=s.width;"from"===e?(g=this.from,d=this.to,l=s.fromArrowScale<0,c=Math.abs(s.fromArrowScale),h=s.fromArrowType):"to"===e?(g=this.to,d=this.from,l=s.toArrowScale<0,c=Math.abs(s.toArrowScale),h=s.toArrowType):(g=this.to,d=this.from,l=s.middleArrowScale<0,c=Math.abs(s.middleArrowScale),h=s.middleArrowType);const A=15*c+3*u;if(g!=d){const n=Math.hypot(g.x-d.x,g.y-d.y),o=A/n;if("middle"!==e)if(!0===this.options.smooth.enabled){const n=this._findBorderPosition(g,t,{via:i}),s=this.getPoint(n.t+o*("from"===e?1:-1),i);r=Math.atan2(n.y-s.y,n.x-s.x),a=n}else r=Math.atan2(g.y-d.y,g.x-d.x),a=this._findBorderPosition(g,t);else{const t=(l?-o:o)/2,e=this.getPoint(.5+t,i),n=this.getPoint(.5-t,i);r=Math.atan2(e.y-n.y,e.x-n.x),a=this.getPoint(.5,i)}}else{const[i,n,o]=this._getCircleData(t);if("from"===e){const e=this.options.selfReference.angle,o=this.options.selfReference.angle+Math.PI,s=this._findBorderPositionCircle(this.from,t,{x:i,y:n,low:e,high:o,direction:-1});r=-2*s.t*Math.PI+1.5*Math.PI+.1*Math.PI,a=s}else if("to"===e){const e=this.options.selfReference.angle,o=this.options.selfReference.angle+Math.PI,s=this._findBorderPositionCircle(this.from,t,{x:i,y:n,low:e,high:o,direction:1});r=-2*s.t*Math.PI+1.5*Math.PI-1.1*Math.PI,a=s}else{const t=this.options.selfReference.angle/(2*Math.PI);a=this._pointOnCircle(i,n,o,t),r=-2*t*Math.PI+1.5*Math.PI+.1*Math.PI}}const C=a.x-.9*A*Math.cos(r),I=a.y-.9*A*Math.sin(r),p={x:C,y:I};return{point:a,core:p,angle:r,length:A,type:h}}drawArrowHead(t,e,i,n,o){t.strokeStyle=this.getColor(t,e),t.fillStyle=t.strokeStyle,t.lineWidth=e.width;const s=_e.draw(t,o);s&&(this.enableShadow(t,e),t.fill(),this.disableShadow(t,e))}enableShadow(t,e){!0===e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}disableShadow(t,e){!0===e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}drawBackground(t,e){if(!1!==e.background){const i={strokeStyle:t.strokeStyle,lineWidth:t.lineWidth,dashes:t.dashes};t.strokeStyle=e.backgroundColor,t.lineWidth=e.backgroundSize,this.setStrokeDashed(t,e.backgroundDashes),t.stroke(),t.strokeStyle=i.strokeStyle,t.lineWidth=i.lineWidth,t.dashes=i.dashes,this.setStrokeDashed(t,e.dashes)}}setStrokeDashed(t,e){if(!1!==e)if(void 0!==t.setLineDash){const i=Array.isArray(e)?e:[5,5];t.setLineDash(i)}else console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");else void 0!==t.setLineDash?t.setLineDash([]):console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.")}}class Me extends we{constructor(t,e,i){super(t,e,i)}_findBorderPositionBezier(t,e,i=this._getViaCoordinates()){const n=10,o=.2;let s,r,a=!1,g=1,d=0,l=this.to,c=this.options.endPointOffset?this.options.endPointOffset.to:0;t.id===this.from.id&&(l=this.from,a=!0,c=this.options.endPointOffset?this.options.endPointOffset.from:0),!1===this.options.arrowStrikethrough&&(c=0);let h=0;do{r=.5*(d+g),s=this.getPoint(r,i);const t=Math.atan2(l.y-s.y,l.x-s.x),n=l.distanceToBorder(e,t)+c,u=Math.sqrt(Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2)),A=n-u;if(Math.abs(A)0&&(a=this._getDistanceToLine(u,A,l,c,o,s),h=a{this.positionBezierNode()},this._body.emitter.on("_repositionBezierNodes",this._boundFunction)}setOptions(t){super.setOptions(t);let e=!1;this.options.physics!==t.physics&&(e=!0),this.options=t,this.id=this.options.id,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.setupSupportNode(),this.connect(),!0===e&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}connect(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],void 0===this.from||void 0===this.to||!1===this.options.physics||this.from.id===this.to.id?this.via.setOptions({physics:!1}):this.via.setOptions({physics:!0})}cleanup(){return this._body.emitter.off("_repositionBezierNodes",this._boundFunction),void 0!==this.via&&(delete this._body.nodes[this.via.id],this.via=void 0,!0)}setupSupportNode(){if(void 0===this.via){const t="edgeId:"+this.id,e=this._body.functions.createNode({id:t,shape:"circle",physics:!0,hidden:!0});this._body.nodes[t]=e,this.via=e,this.via.parentEdgeId=this.id,this.positionBezierNode()}}positionBezierNode(){void 0!==this.via&&void 0!==this.from&&void 0!==this.to?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):void 0!==this.via&&(this.via.x=0,this.via.y=0)}_line(t,e,i){this._bezierCurve(t,e,i)}_getViaCoordinates(){return this.via}getViaNode(){return this.via}getPoint(t,e=this.via){if(this.from===this.to){const[e,i,n]=this._getCircleData(),o=2*Math.PI*(1-t);return{x:e+n*Math.sin(o),y:i+n-n*(1-Math.cos(o))}}return{x:Math.pow(1-t,2)*this.fromPoint.x+2*t*(1-t)*e.x+Math.pow(t,2)*this.toPoint.x,y:Math.pow(1-t,2)*this.fromPoint.y+2*t*(1-t)*e.y+Math.pow(t,2)*this.toPoint.y}}_findBorderPosition(t,e){return this._findBorderPositionBezier(t,e,this.via)}_getDistanceToEdge(t,e,i,n,o,s){return this._getDistanceToBezierEdge(t,e,i,n,o,s,this.via)}}class ke extends Me{constructor(t,e,i){super(t,e,i)}_line(t,e,i){this._bezierCurve(t,e,i)}getViaNode(){return this._getViaCoordinates()}_getViaCoordinates(){const t=this.options.smooth.roundness,e=this.options.smooth.type;let i=Math.abs(this.from.x-this.to.x),n=Math.abs(this.from.y-this.to.y);if("discrete"===e||"diagonalCross"===e){let o,s;o=s=i<=n?t*n:t*i,this.from.x>this.to.x&&(o=-o),this.from.y>=this.to.y&&(s=-s);let r=this.from.x+o,a=this.from.y+s;return"discrete"===e&&(i<=n?r=ithis.to.x&&(e=-e),this.from.y>=this.to.y&&(o=-o);let s=this.from.x+e,r=this.from.y+o;return i<=n?s=this.from.x<=this.to.x?this.to.xs?this.to.x:s:r=this.from.y>=this.to.y?this.to.y>r?this.to.y:r:this.to.y0){const t=this._getDistanceToLine(d,l,A,C,o,s);g=tMath.abs(e)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(n=this.from.y,s=this.to.y,i=this.from.x-r*t,o=this.to.x+r*t):(n=this.from.y-r*e,s=this.to.y+r*e,i=this.from.x,o=this.to.x),[{x:i,y:n},{x:o,y:s}]}getViaNode(){return this._getViaCoordinates()}_findBorderPosition(t,e){return this._findBorderPositionBezier(t,e)}_getDistanceToEdge(t,e,i,n,o,s,[r,a]=this._getViaCoordinates()){return this._getDistanceToBezierEdge2(t,e,i,n,o,s,r,a)}getPoint(t,[e,i]=this._getViaCoordinates()){const n=t,o=[Math.pow(1-n,3),3*n*Math.pow(1-n,2),3*Math.pow(n,2)*(1-n),Math.pow(n,3)],s=o[0]*this.fromPoint.x+o[1]*e.x+o[2]*i.x+o[3]*this.toPoint.x,r=o[0]*this.fromPoint.y+o[1]*e.y+o[2]*i.y+o[3]*this.toPoint.y;return{x:s,y:r}}}class Le extends we{constructor(t,e,i){super(t,e,i)}_line(t,e){t.beginPath(),t.moveTo(this.fromPoint.x,this.fromPoint.y),t.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}getViaNode(){}getPoint(t){return{x:(1-t)*this.fromPoint.x+t*this.toPoint.x,y:(1-t)*this.fromPoint.y+t*this.toPoint.y}}_findBorderPosition(t,e){let i=this.to,n=this.from;t.id===this.from.id&&(i=this.from,n=this.to);const o=Math.atan2(i.y-n.y,i.x-n.x),s=i.x-n.x,r=i.y-n.y,a=Math.sqrt(s*s+r*r),g=t.distanceToBorder(e,o),d=(a-g)/a;return{x:(1-d)*n.x+d*i.x,y:(1-d)*n.y+d*i.y,t:0}}_getDistanceToEdge(t,e,i,n,o,s){return this._getDistanceToLine(t,e,i,n,o,s)}}class Oe{constructor(t,e,i,n,o){if(void 0===e)throw new Error("No body provided");this.options=Object(s["bridgeObject"])(n),this.globalOptions=n,this.defaultOptions=o,this.body=e,this.imagelist=i,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new Rt(this.body,this.options,!0),this.setOptions(t)}setOptions(t){if(!t)return;let e="undefined"!==typeof t.physics&&this.options.physics!==t.physics||"undefined"!==typeof t.hidden&&(this.options.hidden||!1)!==(t.hidden||!1)||"undefined"!==typeof t.from&&this.options.from!==t.from||"undefined"!==typeof t.to&&this.options.to!==t.to;Oe.parseOptions(this.options,t,!0,this.globalOptions),void 0!==t.id&&(this.id=t.id),void 0!==t.from&&(this.fromId=t.from),void 0!==t.to&&(this.toId=t.to),void 0!==t.title&&(this.title=t.title),void 0!==t.value&&(t.value=parseFloat(t.value));const i=[t,this.options,this.defaultOptions];return this.chooser=Tt("edge",i),this.updateLabelModule(t),e=this.updateEdgeType()||e,this._setInteractionWidths(),this.connect(),e}static parseOptions(t,e,i=!1,n={},o=!1){const r=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if(Object(s["selectiveDeepExtend"])(r,t,e,i),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.from&&(Number.isFinite(e.endPointOffset.from)?t.endPointOffset.from=e.endPointOffset.from:(t.endPointOffset.from=void 0!==n.endPointOffset.from?n.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.to&&(Number.isFinite(e.endPointOffset.to)?t.endPointOffset.to=e.endPointOffset.to:(t.endPointOffset.to=void 0!==n.endPointOffset.to?n.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),Ot(e.label)?t.label=e.label:Ot(t.label)||(t.label=void 0),Object(s["mergeOptions"])(t,e,"smooth",n),Object(s["mergeOptions"])(t,e,"shadow",n),Object(s["mergeOptions"])(t,e,"background",n),void 0!==e.dashes&&null!==e.dashes?t.dashes=e.dashes:!0===i&&null===e.dashes&&(t.dashes=Object.create(n.dashes)),void 0!==e.scaling&&null!==e.scaling?(void 0!==e.scaling.min&&(t.scaling.min=e.scaling.min),void 0!==e.scaling.max&&(t.scaling.max=e.scaling.max),Object(s["mergeOptions"])(t.scaling,e.scaling,"label",n.scaling)):!0===i&&null===e.scaling&&(t.scaling=Object.create(n.scaling)),void 0!==e.arrows&&null!==e.arrows)if("string"===typeof e.arrows){const i=e.arrows.toLowerCase();t.arrows.to.enabled=-1!=i.indexOf("to"),t.arrows.middle.enabled=-1!=i.indexOf("middle"),t.arrows.from.enabled=-1!=i.indexOf("from")}else{if("object"!==typeof e.arrows)throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+JSON.stringify(e.arrows));Object(s["mergeOptions"])(t.arrows,e.arrows,"to",n.arrows),Object(s["mergeOptions"])(t.arrows,e.arrows,"middle",n.arrows),Object(s["mergeOptions"])(t.arrows,e.arrows,"from",n.arrows)}else!0===i&&null===e.arrows&&(t.arrows=Object.create(n.arrows));if(void 0!==e.color&&null!==e.color){const r=Object(s["isString"])(e.color)?{color:e.color,highlight:e.color,hover:e.color,inherit:!1,opacity:1}:e.color,a=t.color;if(o)Object(s["deepExtend"])(a,n.color,!1,i);else for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&delete a[t];if(Object(s["isString"])(a))a.color=a,a.highlight=a,a.hover=a,a.inherit=!1,void 0===r.opacity&&(a.opacity=1);else{let t=!1;void 0!==r.color&&(a.color=r.color,t=!0),void 0!==r.highlight&&(a.highlight=r.highlight,t=!0),void 0!==r.hover&&(a.hover=r.hover,t=!0),void 0!==r.inherit&&(a.inherit=r.inherit),void 0!==r.opacity&&(a.opacity=Math.min(1,Math.max(0,r.opacity))),!0===t?a.inherit=!1:void 0===a.inherit&&(a.inherit="from")}}else!0===i&&null===e.color&&(t.color=Object(s["bridgeObject"])(n.color));!0===i&&null===e.font&&(t.font=Object(s["bridgeObject"])(n.font)),Object.prototype.hasOwnProperty.call(e,"selfReferenceSize")&&(console.log("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}"),t.selfReference.size=e.selfReferenceSize)}getFormattingValues(){const t=!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,e=!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,i=!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,n=this.options.color.inherit,o={toArrow:t,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,toArrowSrc:this.options.arrows.to.src,toArrowImageWidth:this.options.arrows.to.imageWidth,toArrowImageHeight:this.options.arrows.to.imageHeight,middleArrow:i,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,middleArrowSrc:this.options.arrows.middle.src,middleArrowImageWidth:this.options.arrows.middle.imageWidth,middleArrowImageHeight:this.options.arrows.middle.imageHeight,fromArrow:e,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,fromArrowSrc:this.options.arrows.from.src,fromArrowImageWidth:this.options.arrows.from.imageWidth,fromArrowImageHeight:this.options.arrows.from.imageHeight,arrowStrikethrough:this.options.arrowStrikethrough,color:n?void 0:this.options.color.color,inheritsColor:n,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width,background:this.options.background.enabled,backgroundColor:this.options.background.color,backgroundSize:this.options.background.size,backgroundDashes:this.options.background.dashes};if(this.selected||this.hover)if(!0===this.chooser){if(this.selected){const t=this.options.selectionWidth;"function"===typeof t?o.width=t(o.width):"number"===typeof t&&(o.width+=t),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.highlight,o.shadow=this.options.shadow.enabled}else if(this.hover){const t=this.options.hoverWidth;"function"===typeof t?o.width=t(o.width):"number"===typeof t&&(o.width+=t),o.width=Math.max(o.width,.3/this.body.view.scale),o.color=this.options.color.hover,o.shadow=this.options.shadow.enabled}}else"function"===typeof this.chooser&&(this.chooser(o,this.options.id,this.selected,this.hover),void 0!==o.color&&(o.inheritsColor=!1),!1===o.shadow&&(o.shadowColor===this.options.shadow.color&&o.shadowSize===this.options.shadow.size&&o.shadowX===this.options.shadow.x&&o.shadowY===this.options.shadow.y||(o.shadow=!0)));else o.shadow=this.options.shadow.enabled,o.width=Math.max(o.width,.3/this.body.view.scale);return o}updateLabelModule(t){const e=[t,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,e),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}updateEdgeType(){const t=this.options.smooth;let e=!1,i=!0;return void 0!==this.edgeType&&((this.edgeType instanceof xe&&!0===t.enabled&&"dynamic"===t.type||this.edgeType instanceof Te&&!0===t.enabled&&"cubicBezier"===t.type||this.edgeType instanceof ke&&!0===t.enabled&&"dynamic"!==t.type&&"cubicBezier"!==t.type||this.edgeType instanceof Le&&!1===t.type.enabled)&&(i=!1),!0===i&&(e=this.cleanup())),!0===i?!0===t.enabled?"dynamic"===t.type?(e=!0,this.edgeType=new xe(this.options,this.body,this.labelModule)):"cubicBezier"===t.type?this.edgeType=new Te(this.options,this.body,this.labelModule):this.edgeType=new ke(this.options,this.body,this.labelModule):this.edgeType=new Le(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),e}connect(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=void 0!==this.from&&void 0!==this.to,!0===this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}disconnect(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}getTitle(){return this.title}isSelected(){return this.selected}getValue(){return this.options.value}setValueRange(t,e,i){if(void 0!==this.options.value){const n=this.options.scaling.customScalingFunction(t,e,i,this.options.value),o=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){const t=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+n*t}this.options.width=this.options.scaling.min+n*o}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}_setInteractionWidths(){"function"===typeof this.options.hoverWidth?this.edgeType.hoverWidth=this.options.hoverWidth(this.options.width):this.edgeType.hoverWidth=this.options.hoverWidth+this.options.width,"function"===typeof this.options.selectionWidth?this.edgeType.selectionWidth=this.options.selectionWidth(this.options.width):this.edgeType.selectionWidth=this.options.selectionWidth+this.options.width}draw(t){const e=this.getFormattingValues();if(e.hidden)return;const i=this.edgeType.getViaNode();this.edgeType.drawLine(t,e,this.selected,this.hover,i),this.drawLabel(t,i)}drawArrows(t){const e=this.getFormattingValues();if(e.hidden)return;const i=this.edgeType.getViaNode(),n={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,e.fromArrow&&(n.from=this.edgeType.getArrowData(t,"from",i,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.fromPoint=n.from.core),e.fromArrowSrc&&(n.from.image=this.imagelist.load(e.fromArrowSrc)),e.fromArrowImageWidth&&(n.from.imageWidth=e.fromArrowImageWidth),e.fromArrowImageHeight&&(n.from.imageHeight=e.fromArrowImageHeight)),e.toArrow&&(n.to=this.edgeType.getArrowData(t,"to",i,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.toPoint=n.to.core),e.toArrowSrc&&(n.to.image=this.imagelist.load(e.toArrowSrc)),e.toArrowImageWidth&&(n.to.imageWidth=e.toArrowImageWidth),e.toArrowImageHeight&&(n.to.imageHeight=e.toArrowImageHeight)),e.middleArrow&&(n.middle=this.edgeType.getArrowData(t,"middle",i,this.selected,this.hover,e),e.middleArrowSrc&&(n.middle.image=this.imagelist.load(e.middleArrowSrc)),e.middleArrowImageWidth&&(n.middle.imageWidth=e.middleArrowImageWidth),e.middleArrowImageHeight&&(n.middle.imageHeight=e.middleArrowImageHeight)),e.fromArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.from),e.middleArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.middle),e.toArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,n.to)}drawLabel(t,e){if(void 0!==this.options.label){const i=this.from,n=this.to;let o;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(t,this.selected,this.hover),i.id!=n.id){this.labelModule.pointToSelf=!1,o=this.edgeType.getPoint(.5,e),t.save();const i=this._getRotation(t);0!=i.angle&&(t.translate(i.x,i.y),t.rotate(i.angle)),this.labelModule.draw(t,o.x,o.y,this.selected,this.hover),t.restore()}else{this.labelModule.pointToSelf=!0;const e=St(t,this.options.selfReference.angle,this.options.selfReference.size,i);o=this._pointOnCircle(e.x,e.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(t,o.x,o.y,this.selected,this.hover)}}}getItemsOnPoint(t){const e=[];if(this.labelModule.visible()){const i=this._getRotation();Lt(this.labelModule.getSize(),t,i)&&e.push({edgeId:this.id,labelId:0})}const i={left:t.x,top:t.y};return this.isOverlappingWith(i)&&e.push({edgeId:this.id}),e}isOverlappingWith(t){if(this.connected){const e=10,i=this.from.x,n=this.from.y,o=this.to.x,s=this.to.y,r=t.left,a=t.top,g=this.edgeType.getDistanceToEdge(i,n,o,s,r,a);return g0&&s<0)&&(r+=Math.PI),n.angle=r,n}_pointOnCircle(t,e,i,n){return{x:t+i*Math.cos(n),y:e-i*Math.sin(n)}}select(){this.selected=!0}unselect(){this.selected=!1}cleanup(){return this.edgeType.cleanup()}remove(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}endPointsValid(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}class Se{constructor(t,e,i){this.body=t,this.images=e,this.groups=i,this.body.functions.createEdge=this.create.bind(this),this.edgesListeners={add:(t,e)=>{this.add(e.items)},update:(t,e)=>{this.update(e.items)},remove:(t,e)=>{this.remove(e.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},endPointOffset:{from:0,to:0},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(t,e,i,n){if(e===t)return.5;{const i=1/(e-t);return Math.max(0,(n-t)*i)}}},selectionWidth:1.5,selfReference:{size:20,angle:Math.PI/4,renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},background:{enabled:!1,color:"rgba(111,111,111,1)",size:10,dashes:!1},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},Object(s["deepExtend"])(this.options,this.defaultOptions),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("_forceDisableDynamicCurves",(t,e=!0)=>{"dynamic"===t&&(t="continuous");let i=!1;for(const n in this.body.edges)if(Object.prototype.hasOwnProperty.call(this.body.edges,n)){const e=this.body.edges[n],o=this.body.data.edges.get(n);if(null!=o){const n=o.smooth;void 0!==n&&!0===n.enabled&&"dynamic"===n.type&&(void 0===t?e.setOptions({smooth:!1}):e.setOptions({smooth:{type:t}}),i=!0)}}!0===e&&!0===i&&this.body.emitter.emit("_dataChanged")}),this.body.emitter.on("_dataUpdated",()=>{this.reconnectEdges()}),this.body.emitter.on("refreshEdges",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",()=>{Object(s["forEach"])(this.edgesListeners,(t,e)=>{this.body.data.edges&&this.body.data.edges.off(e,t)}),delete this.body.functions.createEdge,delete this.edgesListeners.add,delete this.edgesListeners.update,delete this.edgesListeners.remove,delete this.edgesListeners})}setOptions(t){if(void 0!==t){Oe.parseOptions(this.options,t,!0,this.defaultOptions,!0);let e=!1;if(void 0!==t.smooth)for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&(e=this.body.edges[t].updateEdgeType()||e);if(void 0!==t.font)for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&this.body.edges[t].updateLabelModule();void 0===t.hidden&&void 0===t.physics&&!0!==e||this.body.emitter.emit("_dataChanged")}}setData(t,e=!1){const i=this.body.data.edges;if(t instanceof d["a"]||t instanceof d["b"])this.body.data.edges=t;else if(Array.isArray(t))this.body.data.edges=new d["a"],this.body.data.edges.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.edges=new d["a"]}if(i&&Object(s["forEach"])(this.edgesListeners,(t,e)=>{i.off(e,t)}),this.body.edges={},this.body.data.edges){Object(s["forEach"])(this.edgesListeners,(t,e)=>{this.body.data.edges.on(e,t)});const t=this.body.data.edges.getIds();this.add(t,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===e&&this.body.emitter.emit("_dataChanged")}add(t,e=!1){const i=this.body.edges,n=this.body.data.edges;for(let o=0;o{const e=i[t];void 0!==e&&e.remove()}),e&&this.body.emitter.emit("_dataChanged")}refresh(){Object(s["forEach"])(this.body.edges,(t,e)=>{const i=this.body.data.edges.get(e);void 0!==i&&t.setOptions(i)})}create(t){return new Oe(t,this.body,this.images,this.options,this.defaultOptions)}reconnectEdges(){let t;const e=this.body.nodes,i=this.body.edges;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t].edges=[]);for(t in i)if(Object.prototype.hasOwnProperty.call(i,t)){const e=i[t];e.from=null,e.to=null,e.connect()}}getConnectedNodes(t){const e=[];if(void 0!==this.body.edges[t]){const i=this.body.edges[t];void 0!==i.fromId&&e.push(i.fromId),void 0!==i.toId&&e.push(i.toId)}return e}_updateState(){this._addMissingEdges(),this._removeInvalidEdges()}_removeInvalidEdges(){const t=[];Object(s["forEach"])(this.body.edges,(e,i)=>{const n=this.body.nodes[e.toId],o=this.body.nodes[e.fromId];void 0!==n&&!0===n.isCluster||void 0!==o&&!0===o.isCluster||void 0!==n&&void 0!==o||t.push(i)}),this.remove(t,!1)}_addMissingEdges(){const t=this.body.data.edges;if(void 0===t||null===t)return;const e=this.body.edges,i=[];t.forEach((t,n)=>{const o=e[n];void 0===o&&i.push(n)}),this.add(i,!0)}}class Ye{constructor(t,e,i){this.body=t,this.physicsBody=e,this.barnesHutTree,this.setOptions(i),this._rng=Object(s["Alea"])("BARNES HUT SOLVER")}setOptions(t){this.options=t,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}solve(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){let t;const e=this.body.nodes,i=this.physicsBody.physicsNodeIndices,n=i.length,o=this._formBarnesHutTree(e,i);this.barnesHutTree=o;for(let s=0;s0&&this._getForceContributions(o.root,t)}}_getForceContributions(t,e){this._getForceContribution(t.children.NW,e),this._getForceContribution(t.children.NE,e),this._getForceContribution(t.children.SW,e),this._getForceContribution(t.children.SE,e)}_getForceContribution(t,e){if(t.childrenCount>0){const i=t.centerOfMass.x-e.x,n=t.centerOfMass.y-e.y,o=Math.sqrt(i*i+n*n);o*t.calcSize>this.thetaInversed?this._calculateForces(o,i,n,e,t):4===t.childrenCount?this._getForceContributions(t,e):t.children.data.id!=e.id&&this._calculateForces(o,i,n,e,t)}}_calculateForces(t,e,i,n,o){0===t&&(t=.1,e=t),this.overlapAvoidanceFactor<1&&n.shape.radius&&(t=Math.max(.1+this.overlapAvoidanceFactor*n.shape.radius,t-n.shape.radius));const s=this.options.gravitationalConstant*o.mass*n.options.mass/Math.pow(t,3),r=e*s,a=i*s;this.physicsBody.forces[n.id].x+=r,this.physicsBody.forces[n.id].y+=a}_formBarnesHutTree(t,e){let i;const n=e.length;let o=t[e[0]].x,s=t[e[0]].y,r=t[e[0]].x,a=t[e[0]].y;for(let C=1;C0&&(nr&&(r=n),ga&&(a=g))}const g=Math.abs(r-o)-Math.abs(a-s);g>0?(s-=.5*g,a+=.5*g):(o+=.5*g,r-=.5*g);const d=1e-5,l=Math.max(d,Math.abs(r-o)),c=.5*l,h=.5*(o+r),u=.5*(s+a),A={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:h-c,maxX:h+c,minY:u-c,maxY:u+c},size:l,calcSize:1/l,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(A.root);for(let C=0;C0&&this._placeInTree(A.root,i);return A}_updateBranchMass(t,e){const i=t.centerOfMass,n=t.mass+e.options.mass,o=1/n;i.x=i.x*t.mass+e.x*e.options.mass,i.x*=o,i.y=i.y*t.mass+e.y*e.options.mass,i.y*=o,t.mass=n;const s=Math.max(Math.max(e.height,e.radius),e.width);t.maxWidth=t.maxWidthe.x?n.maxY>e.y?"NW":"SW":n.maxY>e.y?"NE":"SE",this._placeInRegion(t,e,o)}_placeInRegion(t,e,i){const n=t.children[i];switch(n.childrenCount){case 0:n.children.data=e,n.childrenCount=1,this._updateBranchMass(n,e);break;case 1:n.children.data.x===e.x&&n.children.data.y===e.y?(e.x+=this._rng(),e.y+=this._rng()):(this._splitBranch(n),this._placeInTree(n,e));break;case 4:this._placeInTree(n,e);break}}_splitBranch(t){let e=null;1===t.childrenCount&&(e=t.children.data,t.mass=0,t.centerOfMass.x=0,t.centerOfMass.y=0),t.childrenCount=4,t.children.data=null,this._insertRegion(t,"NW"),this._insertRegion(t,"NE"),this._insertRegion(t,"SW"),this._insertRegion(t,"SE"),null!=e&&this._placeInTree(t,e)}_insertRegion(t,e){let i,n,o,s;const r=.5*t.size;switch(e){case"NW":i=t.range.minX,n=t.range.minX+r,o=t.range.minY,s=t.range.minY+r;break;case"NE":i=t.range.minX+r,n=t.range.maxX,o=t.range.minY,s=t.range.minY+r;break;case"SW":i=t.range.minX,n=t.range.minX+r,o=t.range.minY+r,s=t.range.maxY;break;case"SE":i=t.range.minX+r,n=t.range.maxX,o=t.range.minY+r,s=t.range.maxY;break}t.children[e]={centerOfMass:{x:0,y:0},mass:0,range:{minX:i,maxX:n,minY:o,maxY:s},size:.5*t.size,calcSize:2*t.calcSize,children:{data:null},maxWidth:0,level:t.level+1,childrenCount:0}}_debug(t,e){void 0!==this.barnesHutTree&&(t.lineWidth=1,this._drawBranch(this.barnesHutTree.root,t,e))}_drawBranch(t,e,i){void 0===i&&(i="#FF0000"),4===t.childrenCount&&(this._drawBranch(t.children.NW,e),this._drawBranch(t.children.NE,e),this._drawBranch(t.children.SE,e),this._drawBranch(t.children.SW,e)),e.strokeStyle=i,e.beginPath(),e.moveTo(t.range.minX,t.range.minY),e.lineTo(t.range.maxX,t.range.minY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.minY),e.lineTo(t.range.maxX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.maxY),e.lineTo(t.range.minX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.minX,t.range.maxY),e.lineTo(t.range.minX,t.range.minY),e.stroke()}}class Ee{constructor(t,e,i){this._rng=Object(s["Alea"])("REPULSION SOLVER"),this.body=t,this.physicsBody=e,this.setOptions(i)}setOptions(t){this.options=t}solve(){let t,e,i,n,o,s,r,a;const g=this.body.nodes,d=this.physicsBody.physicsNodeIndices,l=this.physicsBody.forces,c=this.options.nodeDistance,h=-2/3/c,u=4/3;for(let A=0;A0){const t=o.edges.length+1,s=this.options.centralGravity*t*o.options.mass;n[o.id].x=e*s,n[o.id].y=i*s}}}class Be{constructor(t){this.body=t,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0,wind:{x:0,y:0}},Object.assign(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("initPhysics",()=>{this.initPhysics()}),this.body.emitter.on("_layoutFailed",()=>{this.layoutFailed=!0}),this.body.emitter.on("resetPhysics",()=>{this.stopSimulation(),this.ready=!1}),this.body.emitter.on("disablePhysics",()=>{this.physicsEnabled=!1,this.stopSimulation()}),this.body.emitter.on("restorePhysics",()=>{this.setOptions(this.options),!0===this.ready&&this.startSimulation()}),this.body.emitter.on("startSimulation",()=>{!0===this.ready&&this.startSimulation()}),this.body.emitter.on("stopSimulation",()=>{this.stopSimulation()}),this.body.emitter.on("destroy",()=>{this.stopSimulation(!1),this.body.emitter.off()}),this.body.emitter.on("_dataChanged",()=>{this.updatePhysicsData()})}setOptions(t){if(void 0!==t)if(!1===t)this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation();else if(!0===t)this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation();else{this.physicsEnabled=!0,Object(s["selectiveNotDeepExtend"])(["stabilization"],this.options,t),Object(s["mergeOptions"])(this.options,t,"stabilization"),void 0===t.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation());const e=this.options.wind;e&&(("number"!==typeof e.x||Number.isNaN(e.x))&&(e.x=0),("number"!==typeof e.y||Number.isNaN(e.y))&&(e.y=0)),this.timestep=this.options.timestep}this.init()}init(){let t;"forceAtlas2Based"===this.options.solver?(t=this.options.forceAtlas2Based,this.nodesSolver=new Fe(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new He(this.body,this.physicsBody,t)):"repulsion"===this.options.solver?(t=this.options.repulsion,this.nodesSolver=new Ee(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)):"hierarchicalRepulsion"===this.options.solver?(t=this.options.hierarchicalRepulsion,this.nodesSolver=new Pe(this.body,this.physicsBody,t),this.edgesSolver=new Ne(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)):(t=this.options.barnesHut,this.nodesSolver=new Ye(this.body,this.physicsBody,t),this.edgesSolver=new je(this.body,this.physicsBody,t),this.gravitySolver=new Re(this.body,this.physicsBody,t)),this.modelOptions=t}initPhysics(){!0===this.physicsEnabled&&!0===this.options.enabled?!0===this.options.stabilization.enabled?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}startSimulation(){!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=this.simulationStep.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}stopSimulation(t=!0){this.stabilized=!0,!0===t&&this._emitStabilized(),void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,!0===t&&this.body.emitter.emit("_stopRendering"))}simulationStep(){const t=Date.now();this.physicsTick();const e=Date.now()-t;(e<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}_emitStabilized(t=this.stabilizationIterations){(this.stabilizationIterations>1||!0===this.startedStabilization)&&setTimeout(()=>{this.body.emitter.emit("stabilized",{iterations:t}),this.startedStabilization=!1,this.stabilizationIterations=0},0)}physicsStep(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}adjustTimeStep(){const t=1.2;!0===this._evaluateStepQuality()?this.timestep=t*this.timestep:this.timestep/ts))return!1;return!0}moveNodes(){const t=this.physicsBody.physicsNodeIndices;let e=0,i=0;const n=5;for(let o=0;os&&(t=t>0?s:-s),t}_performStep(t){const e=this.body.nodes[t],i=this.physicsBody.forces[t];this.options.wind&&(i.x+=this.options.wind.x,i.y+=this.options.wind.y);const n=this.physicsBody.velocities[t];this.previousStates[t]={x:e.x,y:e.y,vx:n.x,vy:n.y},!1===e.options.fixed.x?(n.x=this.calculateComponentVelocity(n.x,i.x,e.options.mass),e.x+=n.x*this.timestep):(i.x=0,n.x=0),!1===e.options.fixed.y?(n.y=this.calculateComponentVelocity(n.y,i.y,e.options.mass),e.y+=n.y*this.timestep):(i.y=0,n.y=0);const o=Math.sqrt(Math.pow(n.x,2)+Math.pow(n.y,2));return o}_freezeNodes(){const t=this.body.nodes;for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].x&&t[e].y){const i=t[e].options.fixed;this.freezeCache[e]={x:i.x,y:i.y},i.x=!0,i.y=!0}}_restoreFrozenNodes(){const t=this.body.nodes;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&void 0!==this.freezeCache[e]&&(t[e].options.fixed.x=this.freezeCache[e].x,t[e].options.fixed.y=this.freezeCache[e].y);this.freezeCache={}}stabilize(t=this.options.stabilization.iterations){"number"!==typeof t&&(t=this.options.stabilization.iterations,console.log("The stabilize method needs a numeric amount of iterations. Switching to default: ",t)),0!==this.physicsBody.physicsNodeIndices.length?(this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=t,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,setTimeout(()=>this._stabilizationBatch(),0)):this.ready=!0}_startStabilizing(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}_stabilizationBatch(){const t=()=>!1===this.stabilized&&this.stabilizationIterations{this.body.emitter.emit("stabilizationProgress",{iterations:this.stabilizationIterations,total:this.targetIterations})};this._startStabilizing()&&e();let i=0;while(t()&&i0)for(let a=0;ai.shape.boundingBox.left&&(s=i.shape.boundingBox.left),ri.shape.boundingBox.top&&(n=i.shape.boundingBox.top),o0)for(let a=0;ai.x&&(s=i.x),ri.y&&(n=i.y),o{delete this.containedEdges[t.id]}),Object(s["forEach"])(e.containedNodes,(t,e)=>{this.containedNodes[e]=t}),e.containedNodes={},Object(s["forEach"])(e.containedEdges,(t,e)=>{this.containedEdges[e]=t}),e.containedEdges={},Object(s["forEach"])(e.edges,t=>{Object(s["forEach"])(this.edges,e=>{const i=e.clusteringEdgeReplacingIds.indexOf(t.id);-1!==i&&(Object(s["forEach"])(t.clusteringEdgeReplacingIds,t=>{e.clusteringEdgeReplacingIds.push(t),this.body.edges[t].edgeReplacedById=e.id}),e.clusteringEdgeReplacingIds.splice(i,1))})}),e.edges=[]}}class Ve{constructor(t){this.body=t,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},Object.assign(this.options,this.defaultOptions),this.body.emitter.on("_resetData",()=>{this.clusteredNodes={},this.clusteredEdges={}})}clusterByHubsize(t,e){void 0===t?t=this._getHubSize():"object"===typeof t&&(e=this._checkOptions(t),t=this._getHubSize());const i=[];for(let n=0;n=t&&i.push(e.id)}for(let n=0;n{e.options&&!0===t.joinCondition(e.options)&&(i[o]=e,Object(s["forEach"])(e.edges,t=>{void 0===this.clusteredEdges[t.id]&&(n[t.id]=t)}))}),this._cluster(i,n,t,e)}clusterByEdgeCount(t,e,i=!0){e=this._checkOptions(e);const n=[],o={};let s,r,a;for(let g=0;g0&&Object.keys(d).length>0&&!0===a){const t=function(){for(let t=0;t-1&&(s[i.id]=i)}}this._cluster(o,s,e,i)}_createClusterEdges(t,e,i,n){let o,s,r,a,g,d;const l=Object.keys(t),c=[];for(let A=0;Ao?i.x:o,s=i.yr?i.y:r;return{x:.5*(n+o),y:.5*(s+r)}}openCluster(t,e,i=!0){if(void 0===t)throw new Error("No clusterNodeId supplied to openCluster.");const n=this.body.nodes[t];if(void 0===n)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==n.isCluster||void 0===n.containedNodes||void 0===n.containedEdges)throw new Error("The node:"+t+" is not a valid cluster.");const o=this.findNode(t),r=o.indexOf(t)-1;if(r>=0){const e=o[r],n=this.body.nodes[e];return n._openChildCluster(t),delete this.body.nodes[t],void(!0===i&&this.body.emitter.emit("_dataChanged"))}const a=n.containedNodes,g=n.containedEdges;if(void 0!==e&&void 0!==e.releaseFunction&&"function"===typeof e.releaseFunction){const t={},i={x:n.x,y:n.y};for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const i=this.body.nodes[e];t[e]={x:i.x,y:i.y}}const o=e.releaseFunction(i,t);for(const e in a)if(Object.prototype.hasOwnProperty.call(a,e)){const t=this.body.nodes[e];void 0!==o[e]&&(t.x=void 0===o[e].x?n.x:o[e].x,t.y=void 0===o[e].y?n.y:o[e].y)}}else Object(s["forEach"])(a,(function(t){!1===t.options.fixed.x&&(t.x=n.x),!1===t.options.fixed.y&&(t.y=n.y)}));for(const s in a)if(Object.prototype.hasOwnProperty.call(a,s)){const t=this.body.nodes[s];t.vx=n.vx,t.vy=n.vy,t.setOptions({physics:!0}),delete this.clusteredNodes[s]}const d=[];for(let s=0;s0&&sn&&(n=o.edges.length),t+=o.edges.length,e+=Math.pow(o.edges.length,2),i+=1}t/=i,e/=i;const o=e-Math.pow(t,2),s=Math.sqrt(o);let r=Math.floor(t+2*s);return r>n&&(r=n),r}_createClusteredEdge(t,e,i,n,o){const r=ze.cloneOptions(i,"edge");Object(s["deepExtend"])(r,n),r.from=t,r.to=e,r.id="clusterEdge:"+Object(l["v4"])(),void 0!==o&&Object(s["deepExtend"])(r,o);const a=this.body.functions.createEdge(r);return a.clusteringEdgeReplacingIds=[i.id],a.connect(),this.body.edges[a.id]=a,a}_clusterEdges(t,e,i,n){if(e instanceof Oe){const t=e,i={};i[t.id]=t,e=i}if(t instanceof ge){const e=t,i={};i[e.id]=e,t=i}if(void 0===i||null===i)throw new Error("_clusterEdges: parameter clusterNode required");void 0===n&&(n=i.clusterEdgeProperties),this._createClusterEdges(t,e,i,n);for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&void 0!==this.body.edges[o]){const t=this.body.edges[o];this._backupEdgeOptions(t),t.setOptions({physics:!1})}for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(this.clusteredNodes[o]={clusterId:i.id,node:this.body.nodes[o]},this.body.nodes[o].setOptions({physics:!1}))}_getClusterNodeForNode(t){if(void 0===t)return;const e=this.clusteredNodes[t];if(void 0===e)return;const i=e.clusterId;return void 0!==i?this.body.nodes[i]:void 0}_filter(t,e){const i=[];return Object(s["forEach"])(t,t=>{e(t)&&i.push(t)}),i}_updateState(){let t;const e=[],i={},n=t=>{Object(s["forEach"])(this.body.nodes,e=>{!0===e.isCluster&&t(e)})};for(t in this.clusteredNodes){if(!Object.prototype.hasOwnProperty.call(this.clusteredNodes,t))continue;const i=this.body.nodes[t];void 0===i&&e.push(t)}n((function(t){for(let i=0;i{const e=this.body.edges[t];void 0!==e&&e.endPointsValid()||(i[t]=t)}),n((function(t){Object(s["forEach"])(t.containedEdges,(t,e)=>{t.endPointsValid()||i[e]||(i[e]=e)})})),Object(s["forEach"])(this.body.edges,(t,e)=>{let n=!0;const o=t.clusteringEdgeReplacingIds;if(void 0!==o){let t=0;Object(s["forEach"])(o,e=>{const i=this.body.edges[e];void 0!==i&&i.endPointsValid()&&(t+=1)}),n=t>0}t.endPointsValid()&&n||(i[e]=e)}),n(t=>{Object(s["forEach"])(i,e=>{delete t.containedEdges[e],Object(s["forEach"])(t.edges,(n,o)=>{n.id!==e?n.clusteringEdgeReplacingIds=this._filter(n.clusteringEdgeReplacingIds,(function(t){return!i[t]})):t.edges[o]=null}),t.edges=this._filter(t.edges,(function(t){return null!==t}))})}),Object(s["forEach"])(i,t=>{delete this.clusteredEdges[t]}),Object(s["forEach"])(i,t=>{delete this.body.edges[t]});const o=Object.keys(this.body.edges);Object(s["forEach"])(o,t=>{const e=this.body.edges[t],i=this._isClusteredNode(e.fromId)||this._isClusteredNode(e.toId);if(i!==this._isClusteredEdge(e.id))if(i){const t=this._getClusterNodeForNode(e.fromId);void 0!==t&&this._clusterEdges(this.body.nodes[e.fromId],e,t);const i=this._getClusterNodeForNode(e.toId);void 0!==i&&this._clusterEdges(this.body.nodes[e.toId],e,i)}else delete this._clusterEdges[t],this._restoreEdge(e)});let r=!1,a=!0;while(a){const t=[];n((function(e){const i=Object.keys(e.containedNodes).length,n=!0===e.options.allowSingleNodeCluster;(n&&i<1||!n&&i<2)&&t.push(e.id)}));for(let e=0;e0,r=r||a}r&&this._updateState()}_isClusteredNode(t){return void 0!==this.clusteredNodes[t]}_isClusteredEdge(t){return void 0!==this.clusteredEdges[t]}}function Ge(){let t;void 0!==window&&(t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===t?function(t){t()}:t}class Ze{constructor(t,e){Ge(),this.body=t,this.canvas=e,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.zooming=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1},Object.assign(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}bindEventListeners(){this.body.emitter.on("dragStart",()=>{this.dragging=!0}),this.body.emitter.on("dragEnd",()=>{this.dragging=!1}),this.body.emitter.on("zoom",()=>{this.zooming=!0,window.clearTimeout(this.zoomTimeoutId),this.zoomTimeoutId=window.setTimeout(()=>{this.zooming=!1,this._requestRedraw.bind(this)()},250)}),this.body.emitter.on("_resizeNodes",()=>{this._resizeNodes()}),this.body.emitter.on("_redraw",()=>{!1===this.renderingActive&&this._redraw()}),this.body.emitter.on("_blockRedraw",()=>{this.allowRedraw=!1}),this.body.emitter.on("_allowRedraw",()=>{this.allowRedraw=!0,this.redrawRequested=!1}),this.body.emitter.on("_requestRedraw",this._requestRedraw.bind(this)),this.body.emitter.on("_startRendering",()=>{this.renderRequests+=1,this.renderingActive=!0,this._startRendering()}),this.body.emitter.on("_stopRendering",()=>{this.renderRequests-=1,this.renderingActive=this.renderRequests>0,this.renderTimer=void 0}),this.body.emitter.on("destroy",()=>{this.renderRequests=0,this.allowRedraw=!1,this.renderingActive=!1,!0===this.requiresTimeout?clearTimeout(this.renderTimer):window.cancelAnimationFrame(this.renderTimer),this.body.emitter.off()})}setOptions(t){if(void 0!==t){const e=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"];Object(s["selectiveDeepExtend"])(e,this.options,t)}}_requestNextFrame(t,e){if("undefined"===typeof window)return;let i;const n=window;return!0===this.requiresTimeout?i=n.setTimeout(t,e):n.requestAnimationFrame&&(i=n.requestAnimationFrame(t)),i}_startRendering(){!0===this.renderingActive&&void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame(this._renderStep.bind(this),this.simulationInterval))}_renderStep(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}redraw(){this.body.emitter.emit("setSize"),this._redraw()}_requestRedraw(){!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame(()=>{this._redraw(!1)},0))}_redraw(t=!1){if(!0===this.allowRedraw){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1,0!==this.canvas.frame.canvas.width&&0!==this.canvas.frame.canvas.height||this.canvas.setSize(),this.canvas.setTransform();const e=this.canvas.getContext(),i=this.canvas.frame.canvas.clientWidth,n=this.canvas.frame.canvas.clientHeight;if(e.clearRect(0,0,i,n),0===this.canvas.frame.clientWidth)return;e.save(),e.translate(this.body.view.translation.x,this.body.view.translation.y),e.scale(this.body.view.scale,this.body.view.scale),e.beginPath(),this.body.emitter.emit("beforeDrawing",e),e.closePath(),!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawEdges(e),(!1===this.dragging||!0===this.dragging&&!1===this.options.hideNodesOnDrag)&&this._drawNodes(e,t),!1===t&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawArrows(e),!1===t&&this._drawSelectionBox(e),e.beginPath(),this.body.emitter.emit("afterDrawing",e),e.closePath(),e.restore(),!0===t&&e.clearRect(0,0,i,n)}}_resizeNodes(){this.canvas.setTransform();const t=this.canvas.getContext();t.save(),t.translate(this.body.view.translation.x,this.body.view.translation.y),t.scale(this.body.view.scale,this.body.view.scale);const e=this.body.nodes;let i;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i=e[n],i.resize(t),i.updateBoundingBox(t,i.selected));t.restore()}_drawNodes(t,e=!1){const i=this.body.nodes,n=this.body.nodeIndices;let o;const s=[],r=[],a=20,g=this.canvas.DOMtoCanvas({x:-a,y:-a}),d=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+a,y:this.canvas.frame.canvas.clientHeight+a}),l={top:g.y,left:g.x,bottom:d.y,right:d.x};for(let A=0;A{0!==t.width&&(this.body.view.translation.x=.5*t.width),0!==t.height&&(this.body.view.translation.y=.5*t.height)}),this.body.emitter.on("setSize",this.setSize.bind(this)),this.body.emitter.on("destroy",()=>{this.hammerFrame.destroy(),this.hammer.destroy(),this._cleanUp()})}setOptions(t){if(void 0!==t){const e=["width","height","autoResize"];Object(s["selectiveDeepExtend"])(e,this.options,t)}!0===this.options.autoResize&&(this._cleanUp(),this.resizeTimer=setInterval(()=>{const t=this.setSize();!0===t&&this.body.emitter.emit("_requestRedraw")},1e3),this.resizeFunction=this._onResize.bind(this),Object(s["addEventListener"])(window,"resize",this.resizeFunction))}_cleanUp(){void 0!==this.resizeTimer&&clearInterval(this.resizeTimer),Object(s["removeEventListener"])(window,"resize",this.resizeFunction),this.resizeFunction=void 0}_onResize(){this.setSize(),this.body.emitter.emit("_redraw")}_getCameraState(t=this.pixelRatio){!0===this.initialized&&(this.cameraState.previousWidth=this.frame.canvas.width/t,this.cameraState.previousHeight=this.frame.canvas.height/t,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/t,y:.5*this.frame.canvas.height/t}))}_setCameraState(){if(void 0!==this.cameraState.scale&&0!==this.frame.canvas.clientWidth&&0!==this.frame.canvas.clientHeight&&0!==this.pixelRatio&&this.cameraState.previousWidth>0&&this.cameraState.previousHeight>0){const t=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,e=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight;let i=this.cameraState.scale;1!=t&&1!=e?i=.5*this.cameraState.scale*(t+e):1!=t?i=this.cameraState.scale*t:1!=e&&(i=this.cameraState.scale*e),this.body.view.scale=i;const n=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),o={x:n.x-this.cameraState.position.x,y:n.y-this.cameraState.position.y};this.body.view.translation.x+=o.x*this.body.view.scale,this.body.view.translation.y+=o.y*this.body.view.scale}}_prepareValue(t){if("number"===typeof t)return t+"px";if("string"===typeof t){if(-1!==t.indexOf("%")||-1!==t.indexOf("px"))return t;if(-1===t.indexOf("%"))return t+"px"}throw new Error("Could not use the value supplied for width or height:"+t)}_create(){while(this.body.container.hasChildNodes())this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=900,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{const t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(t)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}_bindHammer(){void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new lt(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:lt.DIRECTION_ALL}),Ue(this.hammer,t=>{this.body.eventListeners.onTouch(t)}),this.hammer.on("tap",t=>{this.body.eventListeners.onTap(t)}),this.hammer.on("doubletap",t=>{this.body.eventListeners.onDoubleTap(t)}),this.hammer.on("press",t=>{this.body.eventListeners.onHold(t)}),this.hammer.on("panstart",t=>{this.body.eventListeners.onDragStart(t)}),this.hammer.on("panmove",t=>{this.body.eventListeners.onDrag(t)}),this.hammer.on("panend",t=>{this.body.eventListeners.onDragEnd(t)}),this.hammer.on("pinch",t=>{this.body.eventListeners.onPinch(t)}),this.frame.canvas.addEventListener("wheel",t=>{this.body.eventListeners.onMouseWheel(t)}),this.frame.canvas.addEventListener("mousemove",t=>{this.body.eventListeners.onMouseMove(t)}),this.frame.canvas.addEventListener("contextmenu",t=>{this.body.eventListeners.onContext(t)}),this.hammerFrame=new lt(this.frame),Ke(this.hammerFrame,t=>{this.body.eventListeners.onRelease(t)})}setSize(t=this.options.width,e=this.options.height){t=this._prepareValue(t),e=this._prepareValue(e);let i=!1;const n=this.frame.canvas.width,o=this.frame.canvas.height,s=this.pixelRatio;if(this._setPixelRatio(),t!=this.options.width||e!=this.options.height||this.frame.style.width!=t||this.frame.style.height!=e)this._getCameraState(s),this.frame.style.width=t,this.frame.style.height=e,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=t,this.options.height=e,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},i=!0;else{const t=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),e=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===t&&this.frame.canvas.height===e||this._getCameraState(s),this.frame.canvas.width!==t&&(this.frame.canvas.width=t,i=!0),this.frame.canvas.height!==e&&(this.frame.canvas.height=e,i=!0)}return!0===i&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(n/this.pixelRatio),oldHeight:Math.round(o/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,i}getContext(){return this.frame.canvas.getContext("2d")}_determinePixelRatio(){const t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");let e=1;"undefined"!==typeof window&&(e=window.devicePixelRatio||1);const i=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return e/i}_setPixelRatio(){this.pixelRatio=this._determinePixelRatio()}setTransform(){const t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}_XconvertDOMtoCanvas(t){return(t-this.body.view.translation.x)/this.body.view.scale}_XconvertCanvasToDOM(t){return t*this.body.view.scale+this.body.view.translation.x}_YconvertDOMtoCanvas(t){return(t-this.body.view.translation.y)/this.body.view.scale}_YconvertCanvasToDOM(t){return t*this.body.view.scale+this.body.view.translation.y}canvasToDOM(t){return{x:this._XconvertCanvasToDOM(t.x),y:this._YconvertCanvasToDOM(t.y)}}DOMtoCanvas(t){return{x:this._XconvertDOMtoCanvas(t.x),y:this._YconvertDOMtoCanvas(t.y)}}}class Je{constructor(t,e){this.body=t,this.canvas=e,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",this.fit.bind(this)),this.body.emitter.on("animationFinished",()=>{this.body.emitter.emit("_stopRendering")}),this.body.emitter.on("unlockNode",this.releaseNode.bind(this))}setOptions(t={}){this.options=t}fit(t={nodes:[]},e=!1){let i,n;t=Object.assign({},t),void 0!==t.nodes&&0!==t.nodes.length||(t.nodes=this.body.nodeIndices);const o=this.canvas.frame.canvas.clientWidth,s=this.canvas.frame.canvas.clientHeight;if(0===o||0===s)n=1,i=ze.getRange(this.body.nodes,t.nodes);else if(!0===e){let e=0;for(const t in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,t)){const i=this.body.nodes[t];!0===i.predefinedPosition&&(e+=1)}if(e>.5*this.body.nodeIndices.length)return void this.fit(t,!1);i=ze.getRange(this.body.nodes,t.nodes);const r=this.body.nodeIndices.length;n=12.662/(r+7.4147)+.0964822;const a=Math.min(o/600,s/600);n*=a}else{this.body.emitter.emit("_resizeNodes"),i=ze.getRange(this.body.nodes,t.nodes);const e=1.1*Math.abs(i.maxX-i.minX),r=1.1*Math.abs(i.maxY-i.minY),a=o/e,g=s/r;n=a<=g?a:g}(n>1||0===n)&&(n=1);const r=ze.findCenter(i),a={position:r,scale:n,animation:t.animation};this.moveTo(a)}focus(t,e={}){if(void 0!==this.body.nodes[t]){const i={x:this.body.nodes[t].x,y:this.body.nodes[t].y};e.position=i,e.lockedOnNode=t,this.moveTo(e)}else console.log("Node: "+t+" cannot be found.")}moveTo(t){if(void 0!==t){if(null!=t.offset){if(null!=t.offset.x){if(t.offset.x=+t.offset.x,!Number.isFinite(t.offset.x))throw new TypeError('The option "offset.x" has to be a finite number.')}else t.offset.x=0;if(null!=t.offset.y){if(t.offset.y=+t.offset.y,!Number.isFinite(t.offset.y))throw new TypeError('The option "offset.y" has to be a finite number.')}else t.offset.x=0}else t.offset={x:0,y:0};if(null!=t.position){if(null!=t.position.x){if(t.position.x=+t.position.x,!Number.isFinite(t.position.x))throw new TypeError('The option "position.x" has to be a finite number.')}else t.position.x=0;if(null!=t.position.y){if(t.position.y=+t.position.y,!Number.isFinite(t.position.y))throw new TypeError('The option "position.y" has to be a finite number.')}else t.position.x=0}else t.position=this.getViewPosition();if(null!=t.scale){if(t.scale=+t.scale,!(t.scale>0))throw new TypeError('The option "scale" has to be a number greater than zero.')}else t.scale=this.body.view.scale;void 0===t.animation&&(t.animation={duration:0}),!1===t.animation&&(t.animation={duration:0}),!0===t.animation&&(t.animation={}),void 0===t.animation.duration&&(t.animation.duration=1e3),void 0===t.animation.easingFunction&&(t.animation.easingFunction="easeInOutQuad"),this.animateView(t)}else t={}}animateView(t){if(void 0===t)return;this.animationEasingFunction=t.animation.easingFunction,this.releaseNode(),!0===t.locked&&(this.lockedOnNodeId=t.lockedOnNode,this.lockedOnNodeOffset=t.offset),0!=this.easingTime&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=t.scale,this.body.view.scale=this.targetScale;const e=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:e.x-t.position.x,y:e.y-t.position.y};this.targetTranslation={x:this.sourceTranslation.x+i.x*this.targetScale+t.offset.x,y:this.sourceTranslation.y+i.y*this.targetScale+t.offset.y},0===t.animation.duration?void 0!=this.lockedOnNodeId?(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)):(this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw")):(this.animationSpeed=1/(60*t.animation.duration*.001)||1/60,this.animationEasingFunction=t.animation.easingFunction,this.viewFunction=this._transitionRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))}_lockedRedraw(){const t={x:this.body.nodes[this.lockedOnNodeId].x,y:this.body.nodes[this.lockedOnNodeId].y},e=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),i={x:e.x-t.x,y:e.y-t.y},n=this.body.view.translation,o={x:n.x+i.x*this.body.view.scale+this.lockedOnNodeOffset.x,y:n.y+i.y*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=o}releaseNode(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}_transitionRedraw(t=!1){this.easingTime+=this.animationSpeed,this.easingTime=!0===t?1:this.easingTime;const e=s["easingFunctions"][this.animationEasingFunction](this.easingTime);this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*e,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*e,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*e},this.easingTime>=1&&(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,void 0!=this.lockedOnNodeId&&(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)),this.body.emitter.emit("animationFinished"))}getScale(){return this.body.view.scale}getViewPosition(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}class Qe{constructor(t,e){this.body=t,this.canvas=e,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",()=>{this.activated=!0,this.configureKeyboardBindings()}),this.body.emitter.on("deactivate",()=>{this.activated=!1,this.configureKeyboardBindings()}),this.body.emitter.on("destroy",()=>{void 0!==this.keycharm&&this.keycharm.destroy()}),this.options={}}setOptions(t){void 0!==t&&(this.options=t,this.create())}create(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}cleanNavigation(){if(0!=this.navigationHammers.length){for(let t=0;t{this._stopMovement()}),this.navigationHammers.push(i),this.iconsCreated=!0}bindToRedraw(t){void 0===this.boundFunctions[t]&&(this.boundFunctions[t]=this[t].bind(this),this.body.emitter.on("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_startRendering"))}unbindFromRedraw(t){void 0!==this.boundFunctions[t]&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"),delete this.boundFunctions[t])}_fit(){(new Date).valueOf()-this.touchTime>700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}_stopMovement(){for(const t in this.boundFunctions)Object.prototype.hasOwnProperty.call(this.boundFunctions,t)&&(this.body.emitter.off("initRedraw",this.boundFunctions[t]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}_moveUp(){this.body.view.translation.y+=this.options.keyboard.speed.y}_moveDown(){this.body.view.translation.y-=this.options.keyboard.speed.y}_moveLeft(){this.body.view.translation.x+=this.options.keyboard.speed.x}_moveRight(){this.body.view.translation.x-=this.options.keyboard.speed.x}_zoomIn(){const t=this.body.view.scale,e=this.body.view.scale*(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,n=e/t,o=(1-n)*this.canvas.canvasViewCenter.x+i.x*n,s=(1-n)*this.canvas.canvasViewCenter.y+i.y*n;this.body.view.scale=e,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}_zoomOut(){const t=this.body.view.scale,e=this.body.view.scale/(1+this.options.keyboard.speed.zoom),i=this.body.view.translation,n=e/t,o=(1-n)*this.canvas.canvasViewCenter.x+i.x*n,s=(1-n)*this.canvas.canvasViewCenter.y+i.y*n;this.body.view.scale=e,this.body.view.translation={x:o,y:s},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}configureKeyboardBindings(){void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled&&(!0===this.options.keyboard.bindToWindow?this.keycharm=a()({container:window,preventDefault:!0}):this.keycharm=a()({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&(this.keycharm.bind("up",()=>{this.bindToRedraw("_moveUp")},"keydown"),this.keycharm.bind("down",()=>{this.bindToRedraw("_moveDown")},"keydown"),this.keycharm.bind("left",()=>{this.bindToRedraw("_moveLeft")},"keydown"),this.keycharm.bind("right",()=>{this.bindToRedraw("_moveRight")},"keydown"),this.keycharm.bind("=",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("num+",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("num-",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("-",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("[",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("]",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("pageup",()=>{this.bindToRedraw("_zoomIn")},"keydown"),this.keycharm.bind("pagedown",()=>{this.bindToRedraw("_zoomOut")},"keydown"),this.keycharm.bind("up",()=>{this.unbindFromRedraw("_moveUp")},"keyup"),this.keycharm.bind("down",()=>{this.unbindFromRedraw("_moveDown")},"keyup"),this.keycharm.bind("left",()=>{this.unbindFromRedraw("_moveLeft")},"keyup"),this.keycharm.bind("right",()=>{this.unbindFromRedraw("_moveRight")},"keyup"),this.keycharm.bind("=",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("num+",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("num-",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("-",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("[",()=>{this.unbindFromRedraw("_zoomOut")},"keyup"),this.keycharm.bind("]",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("pageup",()=>{this.unbindFromRedraw("_zoomIn")},"keyup"),this.keycharm.bind("pagedown",()=>{this.unbindFromRedraw("_zoomOut")},"keyup")))}}class qe{constructor(t,e){this.container=t,this.overflowMethod=e||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}setPosition(t,e){this.x=parseInt(t),this.y=parseInt(e)}setText(t){t instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(t)):this.frame.innerHTML=t}show(t){if(void 0===t&&(t=!0),!0===t){const t=this.frame.clientHeight,e=this.frame.clientWidth,i=this.frame.parentNode.clientHeight,n=this.frame.parentNode.clientWidth;let o=0,s=0;if("flip"==this.overflowMethod){let i=!1,r=!0;this.y-tn-this.padding&&(i=!0),o=i?this.x-e:this.x,s=r?this.y-t:this.y}else s=this.y-t,s+t+this.padding>i&&(s=i-t-this.padding),sn&&(o=n-e-this.padding),o{clearTimeout(this.popupTimer),delete this.body.functions.getPointer})}setOptions(t){if(void 0!==t){const e=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag","keyboard","multiselect","selectable","selectConnectedEdges"];Object(s["selectiveNotDeepExtend"])(e,this.options,t),Object(s["mergeOptions"])(this.options,t,"keyboard"),t.tooltip&&(Object.assign(this.options.tooltip,t.tooltip),t.tooltip.color&&(this.options.tooltip.color=Object(s["parseColor"])(t.tooltip.color)))}this.navigationHandler.setOptions(this.options)}getPointer(t){return{x:t.x-Object(s["getAbsoluteLeft"])(this.canvas.frame.canvas),y:t.y-Object(s["getAbsoluteTop"])(this.canvas.frame.canvas)}}onTouch(t){(new Date).valueOf()-this.touchTime>50&&(this.drag.pointer=this.getPointer(t.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}onTap(t){const e=this.getPointer(t.center),i=this.selectionHandler.options.multiselect&&(t.changedPointers[0].ctrlKey||t.changedPointers[0].metaKey);this.checkSelectionChanges(e,t,i),this.selectionHandler._generateClickEvent("click",t,e)}onDoubleTap(t){const e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("doubleClick",t,e)}onHold(t){const e=this.getPointer(t.center),i=this.selectionHandler.options.multiselect;this.checkSelectionChanges(e,t,i),this.selectionHandler._generateClickEvent("click",t,e),this.selectionHandler._generateClickEvent("hold",t,e)}onRelease(t){if((new Date).valueOf()-this.touchTime>10){const e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("release",t,e),this.touchTime=(new Date).valueOf()}}onContext(t){const e=this.getPointer({x:t.clientX,y:t.clientY});this.selectionHandler._generateClickEvent("oncontext",t,e)}checkSelectionChanges(t,e,i=!1){const n=this.selectionHandler.getSelection();let o=!1;o=!0===i?this.selectionHandler.selectAdditionalOnPoint(t):this.selectionHandler.selectOnPoint(t);const s=this.selectionHandler.getSelection(),r=this._determineDifference(n,s),a=this._determineDifference(s,n);r.edges.length>0&&(this.selectionHandler._generateClickEvent("deselectEdge",e,t,n),o=!0),r.nodes.length>0&&(this.selectionHandler._generateClickEvent("deselectNode",e,t,n),o=!0),a.nodes.length>0&&(this.selectionHandler._generateClickEvent("selectNode",e,t),o=!0),a.edges.length>0&&(this.selectionHandler._generateClickEvent("selectEdge",e,t),o=!0),!0===o&&this.selectionHandler._generateClickEvent("select",e,t)}_determineDifference(t,e){const i=function(t,e){const i=[];for(let n=0;n{const e=t.node;!1===t.xFixed&&(e.x=this.canvas._XconvertDOMtoCanvas(this.canvas._XconvertCanvasToDOM(t.x)+n)),!1===t.yFixed&&(e.y=this.canvas._YconvertDOMtoCanvas(this.canvas._YconvertCanvasToDOM(t.y)+o))}),this.body.emitter.emit("startSimulation")}else{if(t.srcEvent.shiftKey){if(this.selectionHandler._generateClickEvent("dragging",t,e,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(e.x),y:this.canvas._YconvertDOMtoCanvas(e.y)},this.body.emitter.emit("_requestRedraw")}if(!0===this.options.dragView&&!t.srcEvent.shiftKey){if(this.selectionHandler._generateClickEvent("dragging",t,e,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(t);const i=e.x-this.drag.pointer.x,n=e.y-this.drag.pointer.y;this.body.view.translation={x:this.drag.translation.x+i,y:this.drag.translation.y+n},this.body.emitter.emit("_requestRedraw")}}}onDragEnd(t){if(this.drag.dragging=!1,this.body.selectionBox.show){this.body.selectionBox.show=!1;const e=this.body.selectionBox.position,i={minX:Math.min(e.start.x,e.end.x),minY:Math.min(e.start.y,e.end.y),maxX:Math.max(e.start.x,e.end.x),maxY:Math.max(e.start.y,e.end.y)},n=this.body.nodeIndices.filter(t=>{const e=this.body.nodes[t];return e.x>=i.minX&&e.x<=i.maxX&&e.y>=i.minY&&e.y<=i.maxY});n.forEach(t=>this.selectionHandler.selectObject(this.body.nodes[t])),this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{const e=this.drag.selection;e&&e.length?(e.forEach((function(t){t.node.options.fixed.x=t.xFixed,t.node.options.fixed.y=t.yFixed})),this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}}onPinch(t){const e=this.getPointer(t.center);this.drag.pinched=!0,void 0===this.pinch["scale"]&&(this.pinch.scale=1);const i=this.pinch.scale*t.scale;this.zoom(i,e)}zoom(t,e){if(!0===this.options.zoomView){const i=this.body.view.scale;t<1e-5&&(t=1e-5),t>10&&(t=10);let n=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(n=this.canvas.DOMtoCanvas(this.drag.pointer));const o=this.body.view.translation,s=t/i,r=(1-s)*e.x+o.x*s,a=(1-s)*e.y+o.y*s;if(this.body.view.scale=t,this.body.view.translation={x:r,y:a},void 0!=n){const t=this.canvas.canvasToDOM(n);this.drag.pointer.x=t.x,this.drag.pointer.y=t.y}this.body.emitter.emit("_requestRedraw"),ithis._checkShowPopup(e),this.options.tooltipDelay))),!0===this.options.hover&&this.selectionHandler.hoverObject(t,e)}_checkShowPopup(t){const e=this.canvas._XconvertDOMtoCanvas(t.x),i=this.canvas._YconvertDOMtoCanvas(t.y),n={left:e,top:i,right:e,bottom:i},o=void 0===this.popupObj?void 0:this.popupObj.id;let s=!1,r="node";if(void 0===this.popupObj){const t=this.body.nodeIndices,e=this.body.nodes;let i;const o=[];for(let r=0;r0&&(this.popupObj=e[o[o.length-1]],s=!0)}if(void 0===this.popupObj&&!1===s){const t=this.body.edgeIndices,e=this.body.edges;let i;const o=[];for(let s=0;s0&&(this.popupObj=e[o[o.length-1]],r="edge")}void 0!==this.popupObj?this.popupObj.id!==o&&(void 0===this.popup&&(this.popup=new qe(this.canvas.frame)),this.popup.popupTargetType=r,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(t.x+3,t.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):void 0!==this.popup&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}_checkHidePopup(t){const e=this.selectionHandler._pointerToPositionObject(t);let i=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&(i=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(e),!0===i)){const e=this.selectionHandler.getNodeAt(t);i=void 0!==e&&e.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(t)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(i=this.body.edges[this.popup.popupTargetId].isOverlappingWith(e));!1===i&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}class ti{constructor(t,e){this.body=t,this.canvas=e,this.selectionObj={nodes:[],edges:[]},this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},Object.assign(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",()=>{this.updateSelection()})}setOptions(t){if(void 0!==t){const e=["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"];Object(s["selectiveDeepExtend"])(e,this.options,t)}}selectOnPoint(t){let e=!1;if(!0===this.options.selectable){const i=this.getNodeAt(t)||this.getEdgeAt(t);this.unselectAll(),void 0!==i&&(e=this.selectObject(i)),this.body.emitter.emit("_requestRedraw")}return e}selectAdditionalOnPoint(t){let e=!1;if(!0===this.options.selectable){const i=this.getNodeAt(t)||this.getEdgeAt(t);void 0!==i&&(e=!0,!0===i.isSelected()?this.deselectObject(i):this.selectObject(i),this.body.emitter.emit("_requestRedraw"))}return e}_initBaseEvent(t,e){const i={};return i["pointer"]={DOM:{x:e.x,y:e.y},canvas:this.canvas.DOMtoCanvas(e)},i["event"]=t,i}_generateClickEvent(t,e,i,n,o=!1){const s=this._initBaseEvent(e,i);if(!0===o)s.nodes=[],s.edges=[];else{const t=this.getSelection();s.nodes=t.nodes,s.edges=t.edges}void 0!==n&&(s["previousSelection"]=n),"click"==t&&(s.items=this.getClickedItems(i)),void 0!==e.controlEdge&&(s.controlEdge=e.controlEdge),this.body.emitter.emit(t,s)}selectObject(t,e=this.options.selectConnectedEdges){return void 0!==t&&(t instanceof ge&&!0===e&&this._selectConnectedEdges(t),t.select(),this._addToSelection(t),!0)}deselectObject(t){!0===t.isSelected()&&(t.selected=!1,this._removeFromSelection(t))}_getAllNodesOverlappingWith(t){const e=[],i=this.body.nodes;for(let n=0;n0?!0===e?this.body.nodes[n[n.length-1]]:n[n.length-1]:void 0}_getEdgesOverlappingWith(t,e){const i=this.body.edges;for(let n=0;n1)return!0;return!1}_selectConnectedEdges(t){for(let e=0;e=0;a--){const t=o[n[a]],s=t.getItemsOnPoint(e);i.push.apply(i,s)}const s=this.body.edgeIndices,r=this.body.edges;for(let a=s.length-1;a>=0;a--){const t=r[s[a]],n=t.getItemsOnPoint(e);i.push.apply(i,n)}return i}}class ei{abstract(){throw new Error("Can't instantiate abstract class!")}fake_use(){}curveType(){return this.abstract()}getPosition(t){return this.fake_use(t),this.abstract()}setPosition(t,e,i){this.fake_use(t,e,i),this.abstract()}getTreeSize(t){return this.fake_use(t),this.abstract()}sort(t){this.fake_use(t),this.abstract()}fix(t,e){this.fake_use(t,e),this.abstract()}shift(t,e){this.fake_use(t,e),this.abstract()}}class ii extends ei{constructor(t){super(),this.layout=t}curveType(){return"horizontal"}getPosition(t){return t.x}setPosition(t,e,i){void 0!==i&&this.layout.hierarchical.addToOrdering(t,i),t.x=e}getTreeSize(t){const e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_x,max:e.max_x}}sort(t){Object(c["sort"])(t,(function(t,e){return t.x-e.x}))}fix(t,e){t.y=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.y=!0}shift(t,e){this.layout.body.nodes[t].x+=e}}class ni extends ei{constructor(t){super(),this.layout=t}curveType(){return"vertical"}getPosition(t){return t.y}setPosition(t,e,i){void 0!==i&&this.layout.hierarchical.addToOrdering(t,i),t.y=e}getTreeSize(t){const e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_y,max:e.max_y}}sort(t){Object(c["sort"])(t,(function(t,e){return t.y-e.y}))}fix(t,e){t.x=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.x=!0}shift(t,e){this.layout.body.nodes[t].y+=e}}function oi(t,e){const i=new Set;return t.forEach(t=>{t.edges.forEach(t=>{t.connected&&i.add(t)})}),i.forEach(t=>{const i=t.from.id,n=t.to.id;null==e[i]&&(e[i]=0),(null==e[n]||e[i]>=e[n])&&(e[n]=e[i]+1)}),e}function si(t,e=Object.create(null)){return ai(e=>e.edges.filter(e=>t.has(e.toId)).every(t=>t.to===e),(t,e)=>e>t,"from",t,e)}function ri(t,e=Object.create(null)){return ai(e=>e.edges.filter(e=>t.has(e.toId)).every(t=>t.from===e),(t,e)=>et.connected&&t.to!==t.from&&t[i]!==c&&n.has(t.toId)&&n.has(t.fromId)).forEach(n=>{const s=n[r],a=o[s];(null==a||e(t,a))&&(o[s]=t,l.push(n[i]))}),h>s)return oi(n,o);++h}}return o}class gi{constructor(){this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}addRelation(t,e){void 0===this.childrenReference[t]&&(this.childrenReference[t]=[]),this.childrenReference[t].push(e),void 0===this.parentReference[e]&&(this.parentReference[e]=[]),this.parentReference[e].push(t)}checkIfTree(){for(const t in this.parentReference)if(this.parentReference[t].length>1)return void(this.isTree=!1);this.isTree=!0}numTrees(){return this.treeIndex+1}setTreeIndex(t,e){void 0!==e&&void 0===this.trees[t.id]&&(this.trees[t.id]=e,this.treeIndex=Math.max(e,this.treeIndex))}ensureLevel(t){void 0===this.levels[t]&&(this.levels[t]=0)}getMaxLevel(t){const e={},i=t=>{if(void 0!==e[t])return e[t];let n=this.levels[t];if(this.childrenReference[t]){const e=this.childrenReference[t];if(e.length>0)for(let t=0;t{this.setupHierarchicalLayout()}),this.body.emitter.on("_dataLoaded",()=>{this.layoutNetwork()}),this.body.emitter.on("_resetHierarchicalLayout",()=>{this.setupHierarchicalLayout()}),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",()=>{if(!0!==this.options.hierarchical.enabled)return;const t=this.direction.curveType();this.body.emitter.emit("_forceDisableDynamicCurves",t,!1)})}setOptions(t,e){if(void 0!==t){const i=this.options.hierarchical,n=i.enabled;if(Object(s["selectiveDeepExtend"])(["randomSeed","improvedLayout","clusterThreshold"],this.options,t),Object(s["mergeOptions"])(this.options,t,"hierarchical"),void 0!==t.randomSeed&&this._resetRNG(t.randomSeed),!0===i.enabled)return!0===n&&this.body.emitter.emit("refresh",!0),"RL"===i.direction||"DU"===i.direction?i.levelSeparation>0&&(i.levelSeparation*=-1):i.levelSeparation<0&&(i.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(e);if(!0===n)return this.body.emitter.emit("refresh"),Object(s["deepExtend"])(e,this.optionsBackup)}return e}_resetRNG(t){this.initialRandomSeed=t,this._rng=Object(s["Alea"])(this.initialRandomSeed)}adaptAllOptionsForHierarchicalLayout(t){if(!0===this.options.hierarchical.enabled){const e=this.optionsBackup.physics;void 0===t.physics||!0===t.physics?(t.physics={enabled:void 0===e.enabled||e.enabled,solver:"hierarchicalRepulsion"},e.enabled=void 0===e.enabled||e.enabled,e.solver=e.solver||"barnesHut"):"object"===typeof t.physics?(e.enabled=void 0===t.physics.enabled||t.physics.enabled,e.solver=t.physics.solver||"barnesHut",t.physics.solver="hierarchicalRepulsion"):!1!==t.physics&&(e.solver="barnesHut",t.physics={solver:"hierarchicalRepulsion"});let i=this.direction.curveType();if(void 0===t.edges)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges={smooth:!1};else if(void 0===t.edges.smooth)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},t.edges.smooth=!1;else if("boolean"===typeof t.edges.smooth)this.optionsBackup.edges={smooth:t.edges.smooth},t.edges.smooth={enabled:t.edges.smooth,type:i};else{const e=t.edges.smooth;void 0!==e.type&&"dynamic"!==e.type&&(i=e.type),this.optionsBackup.edges={smooth:{enabled:void 0===e.enabled||e.enabled,type:void 0===e.type?"dynamic":e.type,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}},t.edges.smooth={enabled:void 0===e.enabled||e.enabled,type:i,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",i)}return t}positionInitially(t){if(!0!==this.options.hierarchical.enabled){this._resetRNG(this.initialRandomSeed);const e=t.length+50;for(let i=0;in){const s=t.length;while(t.length>n&&i<=e){i+=1;const e=t.length;i%3===0?this.body.modules.clustering.clusterBridges(o):this.body.modules.clustering.clusterOutliers(o);const n=t.length;if(e==n&&i%3!==0)return this._declusterAll(),this.body.emitter.emit("_layoutFailed"),void console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.")}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*s)})}i>e&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(t,this.body.edgeIndices,!0),this._shiftToCenter();const s=70;for(let r=0;r0){let t,e,i=!1,n=!1;for(e in this.lastNodeOnLevel={},this.hierarchical=new gi,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&(t=this.body.nodes[e],void 0!==t.options.level?(i=!0,this.hierarchical.levels[e]=t.options.level):n=!0);if(!0===n&&!0===i)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");{if(!0===n){const t=this.options.hierarchical.sortMethod;"hubsize"===t?this._determineLevelsByHubsize():"directed"===t?this._determineLevelsDirected():"custom"===t&&this._determineLevelsCustomCallback()}for(const e in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&this.hierarchical.ensureLevel(e);const t=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(t),this._condenseHierarchy(),this._shiftToCenter()}}}_condenseHierarchy(){let t=!1;const e={},i=()=>{const t=o();let e=0;for(let i=0;i{const i=this.hierarchical.trees;for(const n in i)Object.prototype.hasOwnProperty.call(i,n)&&i[n]===t&&this.direction.shift(n,e)},o=()=>{const t=[];for(let e=0;e{if(!e[t.id]&&(e[t.id]=!0,this.hierarchical.childrenReference[t.id])){const i=this.hierarchical.childrenReference[t.id];if(i.length>0)for(let t=0;t{let i=1e9,n=1e9,o=1e9,s=-1e9;for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const a=this.body.nodes[r],g=this.hierarchical.levels[a.id],d=this.direction.getPosition(a),[l,c]=this._getSpaceAroundNode(a,t);i=Math.min(l,i),n=Math.min(c,n),g<=e&&(o=Math.min(d,o),s=Math.max(d,s))}return[o,s,i,n]},a=(t,e)=>{const i=this.hierarchical.getMaxLevel(t.id),n=this.hierarchical.getMaxLevel(e.id);return Math.min(i,n)},g=(t,e,i)=>{const n=this.hierarchical;for(let o=0;o1)for(let e=0;e{const o=this.direction.getPosition(e),g=this.direction.getPosition(i),d=Math.abs(g-o),l=this.options.hierarchical.nodeSpacing;if(d>l){const o={},g={};s(e,o),s(i,g);const d=a(e,i),c=r(o,d),h=r(g,d),u=c[1],A=h[0],C=h[2],I=Math.abs(u-A);if(I>l){let e=u-A+l;e<-C+l&&(e=-C+l),e<0&&(this._shiftBlock(i.id,e),t=!0,!0===n&&this._centerParent(i))}}},l=(i,n)=>{const o=n.id,a=n.edges,g=this.hierarchical.levels[n.id],d=this.options.hierarchical.levelSeparation*this.options.hierarchical.levelSeparation,l={},c=[];for(let t=0;t{let i=0;for(let n=0;n{let i=0;for(let n=0;n{let i=this.direction.getPosition(n);const o={};for(let n=0;n{const o=this.direction.getPosition(n);if(void 0===e[n.id]){const t={};s(n,t),e[n.id]=t}const a=r(e[n.id]),g=a[2],d=a[3],l=i-o;let c=0;l>0?c=Math.min(l,d-this.options.hierarchical.nodeSpacing):l<0&&(c=-Math.min(-l,g-this.options.hierarchical.nodeSpacing)),0!=c&&(this._shiftBlock(n.id,c),t=!0)},I=e=>{const i=this.direction.getPosition(n),[o,s]=this._getSpaceAroundNode(n),r=e-i;let a=i;r>0?a=Math.min(i+(s-this.options.hierarchical.nodeSpacing),e):r<0&&(a=Math.max(i-(o-this.options.hierarchical.nodeSpacing),e)),a!==i&&(this.direction.setPosition(n,a),t=!0)};let p=A(i,c);C(p),p=A(i,a),I(p)},c=e=>{let i=this.hierarchical.getLevels();i=i.reverse();for(let n=0;n{let i=this.hierarchical.getLevels();i=i.reverse();for(let n=0;n{for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&this._centerParent(this.body.nodes[t])},A=()=>{let t=this.hierarchical.getLevels();t=t.reverse();for(let e=0;e0&&Math.abs(r)0&&(r=this.direction.getPosition(i[t-1])+s),this.direction.setPosition(o,r,e),this._validatePositionAndContinue(o,e,r),n++}}}}_placeBranchNodes(t,e){const i=this.hierarchical.childrenReference[t];if(void 0===i)return;const n=[];for(let s=0;se&&void 0===this.positionedNodes[i.id]))return;{const e=this.options.hierarchical.nodeSpacing;let r;r=0===s?this.direction.getPosition(this.body.nodes[t]):this.direction.getPosition(n[s-1])+e,this.direction.setPosition(i,r,o),this._validatePositionAndContinue(i,o,r)}}const o=this._getCenterPosition(n);this.direction.setPosition(this.body.nodes[t],o,e)}_validatePositionAndContinue(t,e,i){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[e]){const n=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[e]]);if(i-n{-1!==this.body.edgeIndices.indexOf(t.id)&&e.push(t)}),e}_getHubSizes(){const t={},e=this.body.nodeIndices;Object(s["forEach"])(e,e=>{const i=this.body.nodes[e],n=this._getActiveEdges(i).length;t[n]=!0});const i=[];return Object(s["forEach"])(t,t=>{i.push(Number(t))}),h.a.sort(i,(function(t,e){return e-t})),i}_determineLevelsByHubsize(){const t=(t,e)=>{this.hierarchical.levelDownstream(t,e)},e=this._getHubSizes();for(let i=0;i{const i=this.body.nodes[e];n===this._getActiveEdges(i).length&&this._crawlNetwork(t,e)})}}_determineLevelsCustomCallback(){const t=1e5,e=function(t,e,i){},i=(i,n,o)=>{let s=this.hierarchical.levels[i.id];void 0===s&&(s=this.hierarchical.levels[i.id]=t);const r=e(ze.cloneOptions(i,"node"),ze.cloneOptions(n,"node"),ze.cloneOptions(o,"edge"));this.hierarchical.levels[n.id]=s+r};this._crawlNetwork(i),this.hierarchical.setMinLevelToZero(this.body.nodes)}_determineLevelsDirected(){const t=this.body.nodeIndices.reduce((t,e)=>(t.set(e,this.body.nodes[e]),t),new Map),e=this.hierarchical.levels;"roots"===this.options.hierarchical.shakeTowards?this.hierarchical.levels=ri(t,e):this.hierarchical.levels=si(t,e),this.hierarchical.setMinLevelToZero(this.body.nodes)}_generateMap(){const t=(t,e)=>{this.hierarchical.levels[e.id]>this.hierarchical.levels[t.id]&&this.hierarchical.addRelation(t.id,e.id)};this._crawlNetwork(t),this.hierarchical.checkIfTree()}_crawlNetwork(t=function(){},e){const i={},n=(e,o)=>{if(void 0===i[e.id]){let s;this.hierarchical.setTreeIndex(e,o),i[e.id]=!0;const r=this._getActiveEdges(e);for(let i=0;i{if(i[t])return;i[t]=!0,this.direction.shift(t,e);const o=this.hierarchical.childrenReference[t];if(void 0!==o)for(let e=0;e{const i=this.hierarchical.parentReference[e];if(void 0!==i)for(let o=0;o{const i=this.hierarchical.parentReference[e];if(void 0!==i)for(let n=0;n{this._clean()}),this.body.emitter.on("_dataChanged",this._restore.bind(this)),this.body.emitter.on("_resetData",this._restore.bind(this))}_restore(){!1!==this.inMode&&(!0===this.options.initiallyActive?this.enableEditMode():this.disableEditMode())}setOptions(t,e,i){void 0!==e&&(void 0!==e.locale?this.options.locale=e.locale:this.options.locale=i.locale,void 0!==e.locales?this.options.locales=e.locales:this.options.locales=i.locales),void 0!==t&&("boolean"===typeof t?this.options.enabled=t:(this.options.enabled=!0,Object(s["deepExtend"])(this.options,t)),!0===this.options.initiallyActive&&(this.editMode=!0),this._setup())}toggleEditMode(){!0===this.editMode?this.disableEditMode():this.enableEditMode()}enableEditMode(){this.editMode=!0,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}disableEditMode(){this.editMode=!1,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}showManipulatorToolbar(){if(this._clean(),this.manipulationDOM={},!0===this.guiEnabled){this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";const t=this.selectionHandler._getSelectedNodeCount(),e=this.selectionHandler._getSelectedEdgeCount(),i=t+e,n=this.options.locales[this.options.locale];let o=!1;!1!==this.options.addNode&&(this._createAddNodeButton(n),o=!0),!1!==this.options.addEdge&&(!0===o?this._createSeperator(1):o=!0,this._createAddEdgeButton(n)),1===t&&"function"===typeof this.options.editNode?(!0===o?this._createSeperator(2):o=!0,this._createEditNodeButton(n)):1===e&&0===t&&!1!==this.options.editEdge&&(!0===o?this._createSeperator(3):o=!0,this._createEditEdgeButton(n)),0!==i&&(t>0&&!1!==this.options.deleteNode||0===t&&!1!==this.options.deleteEdge)&&(!0===o&&this._createSeperator(4),this._createDeleteButton(n)),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this)),this._temporaryBindEvent("select",this.showManipulatorToolbar.bind(this))}this.body.emitter.emit("_redraw")}addNodeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["addDescription"]||this.options.locales["en"]["addDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindEvent("click",this._performAddNode.bind(this))}editNode(){!0!==this.editMode&&this.enableEditMode(),this._clean();const t=this.selectionHandler._getSelectedNode();if(void 0!==t){if(this.inMode="editNode","function"!==typeof this.options.editNode)throw new Error("No function has been configured to handle the editing of nodes.");if(!0!==t.isCluster){const e=Object(s["deepExtend"])({},t.options,!1);if(e.x=t.x,e.y=t.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(e,t=>{null!==t&&void 0!==t&&"editNode"===this.inMode&&this.body.data.nodes.getDataSet().update(t),this.showManipulatorToolbar()})}else alert(this.options.locales[this.options.locale]["editClusterError"]||this.options.locales["en"]["editClusterError"])}else this.showManipulatorToolbar()}addEdgeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["edgeDescription"]||this.options.locales["en"]["edgeDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindUI("onTouch",this._handleConnect.bind(this)),this._temporaryBindUI("onDragEnd",this._finishConnect.bind(this)),this._temporaryBindUI("onDrag",this._dragControlNode.bind(this)),this._temporaryBindUI("onRelease",this._finishConnect.bind(this)),this._temporaryBindUI("onDragStart",this._dragStartEdge.bind(this)),this._temporaryBindUI("onHold",()=>{})}editEdgeMode(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==typeof this.options.editEdge||"function"!==typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){const t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t["editEdgeDescription"]||this.options.locales["en"]["editEdgeDescription"]),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0!==this.edgeBeingEditedId){const t=this.body.edges[this.edgeBeingEditedId],e=this._getNewTargetNode(t.from.x,t.from.y),i=this._getNewTargetNode(t.to.x,t.to.y);this.temporaryIds.nodes.push(e.id),this.temporaryIds.nodes.push(i.id),this.body.nodes[e.id]=e,this.body.nodeIndices.push(e.id),this.body.nodes[i.id]=i,this.body.nodeIndices.push(i.id),this._temporaryBindUI("onTouch",this._controlNodeTouch.bind(this)),this._temporaryBindUI("onTap",()=>{}),this._temporaryBindUI("onHold",()=>{}),this._temporaryBindUI("onDragStart",this._controlNodeDragStart.bind(this)),this._temporaryBindUI("onDrag",this._controlNodeDrag.bind(this)),this._temporaryBindUI("onDragEnd",this._controlNodeDragEnd.bind(this)),this._temporaryBindUI("onMouseMove",()=>{}),this._temporaryBindEvent("beforeDrawing",n=>{const o=t.edgeType.findBorderPositions(n);!1===e.selected&&(e.x=o.from.x,e.y=o.from.y),!1===i.selected&&(i.x=o.to.x,i.y=o.to.y)}),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{const t=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(t.from.id,t.to.id)}}deleteSelected(){!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";const t=this.selectionHandler.getSelectedNodes(),e=this.selectionHandler.getSelectedEdges();let i=void 0;if(t.length>0){for(let e=0;e0&&"function"===typeof this.options.deleteEdge&&(i=this.options.deleteEdge);if("function"===typeof i){const n={nodes:t,edges:e};if(2!==i.length)throw new Error("The function for delete does not support two arguments (data, callback)");i(n,t=>{null!==t&&void 0!==t&&"delete"===this.inMode?(this.body.data.edges.getDataSet().remove(t.edges),this.body.data.nodes.getDataSet().remove(t.nodes),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()):(this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().remove(e),this.body.data.nodes.getDataSet().remove(t),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}_setup(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}_createWrappers(){void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",!0===this.editMode?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",!0===this.editMode?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),void 0===this.closeDiv&&(this.closeDiv=document.createElement("div"),this.closeDiv.className="vis-close",this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv))}_getNewTargetNode(t,e){const i=Object(s["deepExtend"])({},this.options.controlNodeStyle);i.id="targetNode"+Object(l["v4"])(),i.hidden=!1,i.physics=!1,i.x=t,i.y=e;const n=this.body.functions.createNode(i);return n.shape.boundingBox={left:t,right:t,top:e,bottom:e},n}_createEditButton(){this._clean(),this.manipulationDOM={},Object(s["recursiveDOMDelete"])(this.editModeDiv);const t=this.options.locales[this.options.locale],e=this._createButton("editMode","vis-button vis-edit vis-edit-mode",t["edit"]||this.options.locales["en"]["edit"]);this.editModeDiv.appendChild(e),this._bindHammerToDiv(e,this.toggleEditMode.bind(this))}_clean(){this.inMode=!1,!0===this.guiEnabled&&(Object(s["recursiveDOMDelete"])(this.editModeDiv),Object(s["recursiveDOMDelete"])(this.manipulationDiv),this._cleanManipulatorHammers()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}_cleanManipulatorHammers(){if(0!=this.manipulationHammers.length){for(let t=0;t=0;r--)if(o[r]!==this.selectedControlNode.id){s=this.body.nodes[o[r]];break}if(void 0!==s&&void 0!==this.selectedControlNode)if(!0===s.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{const t=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===t.id?this._performEditEdge(s.id,n.to.id):this._performEditEdge(n.from.id,s.id)}else n.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}_handleConnect(t){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(t.center),this.lastTouch.translation=Object.assign({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;const e=this.lastTouch,i=this.selectionHandler.getNodeAt(e);if(void 0!==i)if(!0===i.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{const t=this._getNewTargetNode(i.x,i.y);this.body.nodes[t.id]=t,this.body.nodeIndices.push(t.id);const e=this.body.functions.createEdge({id:"connectionEdge"+Object(l["v4"])(),from:i.id,to:t.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[e.id]=e,this.body.edgeIndices.push(e.id),this.temporaryIds.nodes.push(t.id),this.temporaryIds.edges.push(e.id)}this.touchTime=(new Date).valueOf()}}_dragControlNode(t){const e=this.body.functions.getPointer(t.center),i=this.selectionHandler._pointerToPositionObject(e);let n=void 0;void 0!==this.temporaryIds.edges[0]&&(n=this.body.edges[this.temporaryIds.edges[0]].fromId);const o=this.selectionHandler._getAllNodesOverlappingWith(i);let s=void 0;for(let r=o.length-1;r>=0;r--)if(-1===this.temporaryIds.nodes.indexOf(o[r])){s=this.body.nodes[o[r]];break}if(t.controlEdge={from:n,to:s?s.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragging",t,e),void 0!==this.temporaryIds.nodes[0]){const t=this.body.nodes[this.temporaryIds.nodes[0]];t.x=this.canvas._XconvertDOMtoCanvas(e.x),t.y=this.canvas._YconvertDOMtoCanvas(e.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(t)}_finishConnect(t){const e=this.body.functions.getPointer(t.center),i=this.selectionHandler._pointerToPositionObject(e);let n=void 0;void 0!==this.temporaryIds.edges[0]&&(n=this.body.edges[this.temporaryIds.edges[0]].fromId);const o=this.selectionHandler._getAllNodesOverlappingWith(i);let s=void 0;for(let r=o.length-1;r>=0;r--)if(-1===this.temporaryIds.nodes.indexOf(o[r])){s=this.body.nodes[o[r]];break}this._cleanupTemporaryNodesAndEdges(),void 0!==s&&(!0===s.isCluster?alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]):void 0!==this.body.nodes[n]&&void 0!==this.body.nodes[s.id]&&this._performAddEdge(n,s.id)),t.controlEdge={from:n,to:s?s.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragEnd",t,e),this.body.emitter.emit("_redraw")}_dragStartEdge(t){const e=this.lastTouch;this.selectionHandler._generateClickEvent("dragStart",t,e,void 0,!0)}_performAddNode(t){const e={id:Object(l["v4"])(),x:t.pointer.canvas.x,y:t.pointer.canvas.y,label:"new"};if("function"===typeof this.options.addNode){if(2!==this.options.addNode.length)throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");this.options.addNode(e,t=>{null!==t&&void 0!==t&&"addNode"===this.inMode&&this.body.data.nodes.getDataSet().add(t),this.showManipulatorToolbar()})}else this.body.data.nodes.getDataSet().add(e),this.showManipulatorToolbar()}_performAddEdge(t,e){const i={from:t,to:e};if("function"===typeof this.options.addEdge){if(2!==this.options.addEdge.length)throw new Error("The function for connect does not support two arguments (data,callback)");this.options.addEdge(i,t=>{null!==t&&void 0!==t&&"addEdge"===this.inMode&&(this.body.data.edges.getDataSet().add(t),this.selectionHandler.unselectAll(),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().add(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}_performEditEdge(t,e){const i={id:this.edgeBeingEditedId,from:t,to:e,label:this.body.data.edges.get(this.edgeBeingEditedId).label};let n=this.options.editEdge;if("object"===typeof n&&(n=n.editWithoutDrag),"function"===typeof n){if(2!==n.length)throw new Error("The function for edit does not support two arguments (data, callback)");n(i,t=>{null===t||void 0===t||"editEdge"!==this.inMode?(this.body.edges[i.id].updateEdgeType(),this.body.emitter.emit("_redraw"),this.showManipulatorToolbar()):(this.body.data.edges.getDataSet().update(t),this.selectionHandler.unselectAll(),this.showManipulatorToolbar())})}else this.body.data.edges.getDataSet().update(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}const ci={black:"#000000",navy:"#000080",darkblue:"#00008B",mediumblue:"#0000CD",blue:"#0000FF",darkgreen:"#006400",green:"#008000",teal:"#008080",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",lime:"#00FF00",springgreen:"#00FF7F",aqua:"#00FFFF",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",mediumaquamarine:"#66CDAA",dimgray:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",lightslategray:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",maroon:"#800000",purple:"#800080",olive:"#808000",gray:"#808080",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370D8",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",silver:"#C0C0C0",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgrey:"#D3D3D3",palevioletred:"#D87093",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",red:"#FF0000",fuchsia:"#FF00FF",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",yellow:"#FFFF00",lightyellow:"#FFFFE0",ivory:"#FFFFF0",white:"#FFFFFF"};class hi{constructor(t=1){this.pixelRatio=t,this.generated=!1,this.centerCoordinates={x:144.5,y:144.5},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=()=>{},this.closeCallback=()=>{},this._create()}insertTo(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}setUpdateCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}setCloseCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}_isColorString(t){if("string"===typeof t)return ci[t]}setColor(t,e=!0){if("none"===t)return;let i;const n=this._isColorString(t);if(void 0!==n&&(t=n),!0===Object(s["isString"])(t)){if(!0===Object(s["isValidRGB"])(t)){const e=t.substr(4).substr(0,t.length-5).split(",");i={r:e[0],g:e[1],b:e[2],a:1}}else if(!0===Object(s["isValidRGBA"])(t)){const e=t.substr(5).substr(0,t.length-6).split(",");i={r:e[0],g:e[1],b:e[2],a:e[3]}}else if(!0===Object(s["isValidHex"])(t)){const e=Object(s["hexToRGB"])(t);i={r:e.r,g:e.g,b:e.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){const e=void 0!==t.a?t.a:"1.0";i={r:t.r,g:t.g,b:t.b,a:e}}if(void 0===i)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+JSON.stringify(t));this._setColor(i,e)}show(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}_hide(t=!0){!0===t&&(this.previousColor=Object.assign({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",setTimeout(()=>{void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0)},0)}_save(){this.updateCallback(this.color),this.applied=!1,this._hide()}_apply(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}_loadLast(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}_setColor(t,e=!0){!0===e&&(this.initialColor=Object.assign({},t)),this.color=t;const i=Object(s["RGBToHSV"])(t.r,t.g,t.b),n=2*Math.PI,o=this.r*i.s,r=this.centerCoordinates.x+o*Math.sin(n*i.h),a=this.centerCoordinates.y+o*Math.cos(n*i.h);this.colorPickerSelector.style.left=r-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=a-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}_setOpacity(t){this.color.a=t/100,this._updatePicker(this.color)}_setBrightness(t){const e=Object(s["RGBToHSV"])(this.color.r,this.color.g,this.color.b);e.v=t/100;const i=Object(s["HSVToRGB"])(e.h,e.s,e.v);i["a"]=this.color.a,this.color=i,this._updatePicker()}_updatePicker(t=this.color){const e=Object(s["RGBToHSV"])(t.r,t.g,t.b),i=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1)),i.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);const n=this.colorPickerCanvas.clientWidth,o=this.colorPickerCanvas.clientHeight;i.clearRect(0,0,n,o),i.putImageData(this.hueCircle,0,0),i.fillStyle="rgba(0,0,0,"+(1-e.v)+")",i.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),i.fill(),this.brightnessRange.value=100*e.v,this.opacityRange.value=100*t.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}_setSize(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}_create(){if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){const t=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{const t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(t)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(e){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(e){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);const t=this;this.opacityRange.onchange=function(){t._setOpacity(this.value)},this.opacityRange.oninput=function(){t._setOpacity(this.value)},this.brightnessRange.onchange=function(){t._setBrightness(this.value)},this.brightnessRange.oninput=function(){t._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerHTML="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerHTML="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerHTML="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerHTML="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerHTML="cancel",this.cancelButton.onclick=this._hide.bind(this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=this._apply.bind(this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=this._save.bind(this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=this._loadLast.bind(this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}_bindHammer(){this.drag={},this.pinch={},this.hammer=new lt(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),Ue(this.hammer,t=>{this._moveSelector(t)}),this.hammer.on("tap",t=>{this._moveSelector(t)}),this.hammer.on("panstart",t=>{this._moveSelector(t)}),this.hammer.on("panmove",t=>{this._moveSelector(t)}),this.hammer.on("panend",t=>{this._moveSelector(t)})}_generateHueCircle(){if(!1===this.generated){const t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);const e=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;let n,o,r,a;t.clearRect(0,0,e,i),this.centerCoordinates={x:.5*e,y:.5*i},this.r=.49*e;const g=2*Math.PI/360,d=1/360,l=1/this.r;let c;for(r=0;r<360;r++)for(a=0;a0&&this._makeItem([]),this._makeHeader(n),this._handleObject(this.configureOptions[n],[n])),e++);this._makeButton(),this._push()}_push(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(let t=0;t{i.appendChild(t)}),this.domElements.push(i),this.domElements.length}return 0}_makeHeader(t){const e=document.createElement("div");e.className="vis-configuration vis-config-header",e.innerHTML=t,this._makeItem([],e)}_makeLabel(t,e,i=!1){const n=document.createElement("div");return n.className="vis-configuration vis-config-label vis-config-s"+e.length,n.innerHTML=!0===i?""+t+":":t+":",n}_makeDropdown(t,e,i){const n=document.createElement("select");n.className="vis-configuration vis-config-select";let o=0;void 0!==e&&-1!==t.indexOf(e)&&(o=t.indexOf(e));for(let a=0;as&&1!==s&&(a.max=Math.ceil(e*t),d=a.max,g="range increased"),a.value=e}else a.value=n;const l=document.createElement("input");l.className="vis-configuration vis-config-rangeinput",l.value=a.value;const c=this;a.onchange=function(){l.value=this.value,c._update(Number(this.value),i)},a.oninput=function(){l.value=this.value};const h=this._makeLabel(i[i.length-1],i),u=this._makeItem(i,h,a,l);""!==g&&this.popupHistory[u]!==d&&(this.popupHistory[u]=d,this._setupPopup(g,u))}_makeButton(){if(!0===this.options.showButton){const t=document.createElement("div");t.className="vis-configuration vis-config-button",t.innerHTML="generate options",t.onclick=()=>{this._printOptions()},t.onmouseover=()=>{t.className="vis-configuration vis-config-button hover"},t.onmouseout=()=>{t.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(t)}}_setupPopup(t,e){if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter{this._removePopup()},this.popupCounter+=1,this.popupDiv={html:i,index:e}}}_removePopup(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}_showPopupIfNeeded(){if(void 0!==this.popupDiv.html){const t=this.domElements[this.popupDiv.index],e=t.getBoundingClientRect();this.popupDiv.html.style.left=e.left+"px",this.popupDiv.html.style.top=e.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=setTimeout(()=>{this.popupDiv.html.style.opacity=0},1500),this.popupDiv.deleteTimeout=setTimeout(()=>{this._removePopup()},1800)}}_makeCheckbox(t,e,i){const n=document.createElement("input");n.type="checkbox",n.className="vis-configuration vis-config-checkbox",n.checked=t,void 0!==e&&(n.checked=e,e!==t&&("object"===typeof t?e!==t.enabled&&this.changedOptions.push({path:i,value:e}):this.changedOptions.push({path:i,value:e})));const o=this;n.onchange=function(){o._update(this.checked,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeTextInput(t,e,i){const n=document.createElement("input");n.type="text",n.className="vis-configuration vis-config-text",n.value=e,e!==t&&this.changedOptions.push({path:i,value:e});const o=this;n.onchange=function(){o._update(this.value,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeColorField(t,e,i){const n=t[1],o=document.createElement("div");e=void 0===e?n:e,"none"!==e?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=e):o.className="vis-configuration vis-config-colorBlock none",e=void 0===e?n:e,o.onclick=()=>{this._showColorPicker(e,o,i)};const s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,o)}_showColorPicker(t,e,i){e.onclick=function(){},this.colorPicker.insertTo(e),this.colorPicker.show(),this.colorPicker.setColor(t),this.colorPicker.setUpdateCallback(t=>{const n="rgba("+t.r+","+t.g+","+t.b+","+t.a+")";e.style.backgroundColor=n,this._update(n,i)}),this.colorPicker.setCloseCallback(()=>{e.onclick=()=>{this._showColorPicker(t,e,i)}})}_handleObject(t,e=[],i=!1){let n=!1;const o=this.options.filter;let r=!1;for(const a in t)if(Object.prototype.hasOwnProperty.call(t,a)){n=!0;const g=t[a],d=Object(s["copyAndExtendArray"])(e,a);if("function"===typeof o&&(n=o(a,e),!1===n&&!(g instanceof Array)&&"string"!==typeof g&&"boolean"!==typeof g&&g instanceof Object&&(this.allowCreation=!1,n=this._handleObject(g,d,!0),this.allowCreation=!1===i)),!1!==n){r=!0;const t=this._getValue(d);if(g instanceof Array)this._handleArray(g,t,d);else if("string"===typeof g)this._makeTextInput(g,t,d);else if("boolean"===typeof g)this._makeCheckbox(g,t,d);else if(g instanceof Object){let t=!0;if(-1!==e.indexOf("physics")&&this.moduleOptions.physics.solver!==a&&"wind"!==a&&(t=!1),!0===t)if(void 0!==g.enabled){const t=Object(s["copyAndExtendArray"])(d,"enabled"),e=this._getValue(t);if(!0===e){const t=this._makeLabel(a,d,!0);this._makeItem(d,t),r=this._handleObject(g,d)||r}else this._makeCheckbox(g,e,d)}else{const t=this._makeLabel(a,d,!0);this._makeItem(d,t),r=this._handleObject(g,d)||r}}else console.error("dont know how to handle",g,a,d)}}return r}_handleArray(t,e,i){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,i),t[1]!==e&&this.changedOptions.push({path:i,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:Number(e)}))}_update(t,e){const i=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",i),this.initialized=!0,this.parent.setOptions(i)}_constructOptions(t,e,i={}){let n=i;t="true"===t||t,t="false"!==t&&t;for(let o=0;ovar options = "+JSON.stringify(t,null,2)+""}getOptions(){const t={};for(let e=0;eo&&rs&&Athis.body.emitter.emit("_requestRedraw")),this.groups=new Dt,this.canvas=new Xe(this.body),this.selectionHandler=new ti(this.body,this.canvas),this.interactionHandler=new $e(this.body,this.canvas,this.selectionHandler),this.view=new Je(this.body,this.canvas),this.renderer=new Ze(this.body,this.canvas),this.physics=new Be(this.body),this.layoutEngine=new di(this.body),this.clustering=new Ve(this.body),this.manipulation=new li(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new de(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new Se(this.body,this.images,this.groups),this.body.modules["kamadaKawai"]=new Mi(this.body,150,.05),this.body.modules["clustering"]=this.clustering,this.canvas._create(),this.setOptions(i),this.setData(e)}o()(xi.prototype),xi.prototype.setOptions=function(t){if(null===t&&(t=void 0),void 0!==t){const e=ae.validate(t,yi);!0===e&&console.log("%cErrors have been found in the supplied options object.",re);const i=["locale","locales","clickToUse"];if(Object(s["selectiveDeepExtend"])(i,this.options,t),void 0!==t.locale&&(t.locale=Mt(t.locales||this.options.locales,t.locale)),t=this.layoutEngine.setOptions(t.layout,t),this.canvas.setOptions(t),this.groups.setOptions(t.groups),this.nodesHandler.setOptions(t.nodes),this.edgesHandler.setOptions(t.edges),this.physics.setOptions(t.physics),this.manipulation.setOptions(t.manipulation,t,this.options),this.interactionHandler.setOptions(t.interaction),this.renderer.setOptions(t.interaction),this.selectionHandler.setOptions(t.interaction),void 0!==t.groups&&this.body.emitter.emit("refreshNodes"),"configure"in t&&(this.configurator||(this.configurator=new ui(this,this.body.container,_i,this.canvas.pixelRatio)),this.configurator.setOptions(t.configure)),this.configurator&&!0===this.configurator.options.enabled){const t={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};Object(s["deepExtend"])(t.nodes,this.nodesHandler.options),Object(s["deepExtend"])(t.edges,this.edgesHandler.options),Object(s["deepExtend"])(t.layout,this.layoutEngine.options),Object(s["deepExtend"])(t.interaction,this.selectionHandler.options),Object(s["deepExtend"])(t.interaction,this.renderer.options),Object(s["deepExtend"])(t.interaction,this.interactionHandler.options),Object(s["deepExtend"])(t.manipulation,this.manipulation.options),Object(s["deepExtend"])(t.physics,this.physics.options),Object(s["deepExtend"])(t.global,this.canvas.options),Object(s["deepExtend"])(t.global,this.options),this.configurator.setModuleOptions(t)}void 0!==t.clickToUse?!0===t.clickToUse?void 0===this.activator&&(this.activator=new ct(this.canvas.frame),this.activator.on("change",()=>{this.body.emitter.emit("activate")})):(void 0!==this.activator&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}},xi.prototype._updateVisibleIndices=function(){const t=this.body.nodes,e=this.body.edges;this.body.nodeIndices=[],this.body.edgeIndices=[];for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(this.clustering._isClusteredNode(i)||!1!==t[i].options.hidden||this.body.nodeIndices.push(t[i].id));for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const n=e[i],o=t[n.fromId],s=t[n.toId],r=void 0!==o&&void 0!==s,a=!this.clustering._isClusteredEdge(i)&&!1===n.options.hidden&&r&&!1===o.options.hidden&&!1===s.options.hidden;a&&this.body.edgeIndices.push(n.id)}},xi.prototype.bindEventListeners=function(){this.body.emitter.on("_dataChanged",()=>{this.edgesHandler._updateState(),this.body.emitter.emit("_dataUpdated")}),this.body.emitter.on("_dataUpdated",()=>{this.clustering._updateState(),this._updateVisibleIndices(),this._updateValueRange(this.body.nodes),this._updateValueRange(this.body.edges),this.body.emitter.emit("startSimulation"),this.body.emitter.emit("_requestRedraw")})},xi.prototype.setData=function(t){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){console.log("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");const e=rt(t.dot);this.setData(e)}else if(t&&t.gephi){console.log("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");const e=at(t.gephi);this.setData(e)}else this.nodesHandler.setData(t&&t.nodes,!0),this.edgesHandler.setData(t&&t.edges,!0),this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")},xi.prototype.destroy=function(){this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images;for(const t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&delete this.body.nodes[t];for(const t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&delete this.body.edges[t];Object(s["recursiveDOMDelete"])(this.body.container)},xi.prototype._updateValueRange=function(t){let e,i=void 0,n=void 0,o=0;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const s=t[e].getValue();void 0!==s&&(i=void 0===i?s:Math.min(s,i),n=void 0===n?s:Math.max(s,n),o+=s)}if(void 0!==i&&void 0!==n)for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&t[e].setValueRange(i,n,o)},xi.prototype.isActive=function(){return!this.activator||this.activator.active},xi.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)},xi.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)},xi.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)},xi.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)},xi.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)},xi.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)},xi.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)},xi.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)},xi.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)},xi.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)},xi.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)},xi.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)},xi.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)},xi.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)},xi.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)},xi.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)},xi.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)},xi.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)},xi.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)},xi.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)},xi.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)},xi.prototype.editNodeMode=function(){return console.log("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)},xi.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)},xi.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)},xi.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)},xi.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)},xi.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)},xi.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)},xi.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)},xi.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)},xi.prototype.getConnectedNodes=function(t){return void 0!==this.body.nodes[t]?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)},xi.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)},xi.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)},xi.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)},xi.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)},xi.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)},xi.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)},xi.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments)},xi.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments)},xi.prototype.getNodeAt=function(){const t=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},xi.prototype.getEdgeAt=function(){const t=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return void 0!==t&&void 0!==t.id?t.id:t},xi.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)},xi.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)},xi.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.redraw()},xi.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)},xi.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)},xi.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)},xi.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)},xi.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)},xi.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)},xi.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)},xi.prototype.getOptionsFromConfigurator=function(){let t={};return this.configurator&&(t=this.configurator.getOptions.apply(this.configurator)),t}},"159b":function(t,e,i){var n=i("da84"),o=i("fdbc"),s=i("17c2"),r=i("9112");for(var a in o){var g=n[a],d=g&&g.prototype;if(d&&d.forEach!==s)try{r(d,"forEach",s)}catch(l){d.forEach=s}}},"15b6":function(t,e,i){"use strict";t.exports=function(){return this.opts.filterByColumn?JSON.stringify(this.query):this.query}},"15f5":function(t,e,i){},"15fd":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("a4d3"),i("b64b");function n(t,e){if(null==t)return{};var i,n,o={},s=Object.keys(t);for(n=0;n=0||(o[i]=t[i]);return o}function o(t,e){if(null==t)return{};var i,o,s=n(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}},"167b":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}});return e}))},1687:function(t,e,i){"use strict";t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.opts.sendInitialRequest||this.initialRequestSent||(this.initialRequestSent=!0,this.loading=!0);var n=this.opts.requestAdapter(this.getRequestParams(e));i&&this.dispatch("loading",n);var o=this.sendRequest(n);return t?o:o.then(function(t){return"undefined"!==typeof t&&(this.loading=!1,this.setData(t))}.bind(this))}},"17c2":function(t,e,i){"use strict";var n=i("b727").forEach,o=i("a640"),s=o("forEach");t.exports=s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"17e7":function(t,e,i){"use strict";t.exports=function(t){this.vuex||(this.setPage(t),this.dispatch("pagination",t))}},"198c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("d9d9"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VTDropdownPagination",components:{RLDropdownPagination:n["default"]},render:function(){var t=arguments[0];return t("r-l-dropdown-pagination",{scopedSlots:{default:function(e){for(var i="VueTables__dropdown-pagination_"+e.name,n=[],o=1;o<=e.totalPages;o++)n.push(t("option",{domProps:{value:o}},[o]));return e.override?t(e.override,{attrs:{props:e}}):t("select",{class:"".concat(e.theme.select," dropdown-pagination"),attrs:{name:"page",id:i},ref:"page",domProps:{value:e.page},on:{change:function(t){return e.setPage(t.target.value)}}},[n])}}})}};e["default"]=s},"19aa":function(t,e){t.exports=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t}},"1a4e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=g(i("2eb3")),o=g(i("82b5")),s=g(i("a99d")),r=g(i("b3bc")),a=g(i("bac8"));function g(t){return t&&t.__esModule?t:{default:t}}var d={name:"VtTableBody",components:{RLTableBody:n["default"],VtNoResultsRow:o["default"],VtTableRow:s["default"],VtChildRow:a["default"],VtGroupRow:r["default"]},render:function(){var t=arguments[0];return t("r-l-table-body",{scopedSlots:{default:function(e){var i,n=[];return e.data.forEach((function(o,s){e.groupBy&&"client"===e.source&&o[e.groupBy]!==i&&(n.push(t("vt-group-row",{attrs:{row:o}})),i=o[e.groupBy]),e.canToggleGroups&&e.collapsedGroups.includes(i)||(n.push(t("vt-table-row",{attrs:{row:o,index:e.initialIndex+s+1}})),e.hasChildRow&&e.openChildRows.includes(o[e.uniqueRowId])&&n.push(t("vt-child-row",{attrs:{row:o,index:e.initialIndex+s+1}})))})),e.override?t(e.override,{attrs:{props:e}}):t("tbody",[e.slots.prependBody,0===e.data.length?t("vt-no-results-row"):"",n,e.slots.appendBody])}}})}};e["default"]=d},"1a8c":function(t,e){function i(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=i},"1b45":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1b8a":function(t,e,i){"use strict";t.exports=function(t,e,i,n){if(n)return n({row:e,index:i});var o=this.opts.childRow;return"function"===typeof o?o.apply(this,[t,e]):t(o,{attrs:{data:e}})}},"1be4":function(t,e,i){var n=i("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c3c":function(t,e,i){var n=i("9e69"),o=i("2474"),s=i("9638"),r=i("a2be"),a=i("edfa"),g=i("ac41"),d=1,l=2,c="[object Boolean]",h="[object Date]",u="[object Error]",A="[object Map]",C="[object Number]",I="[object RegExp]",p="[object Set]",f="[object String]",m="[object Symbol]",v="[object ArrayBuffer]",b="[object DataView]",y=n?n.prototype:void 0,_=y?y.valueOf:void 0;function w(t,e,i,n,y,w,M){switch(i){case b:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case v:return!(t.byteLength!=e.byteLength||!w(new o(t),new o(e)));case c:case h:case C:return s(+t,+e);case u:return t.name==e.name&&t.message==e.message;case I:case f:return t==e+"";case A:var x=a;case p:var k=n&d;if(x||(x=g),t.size!=e.size&&!k)return!1;var D=M.get(t);if(D)return D==e;n|=l,M.set(t,e);var T=r(x(t),x(e),n,y,w,M);return M["delete"](t),T;case m:if(_)return _.call(t)==_.call(e)}return!1}t.exports=w},"1c7e":function(t,e,i){var n=i("b622"),o=n("iterator"),s=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){s=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(g){}t.exports=function(t,e){if(!e&&!s)return!1;var i=!1;try{var n={};n[o]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(g){}return i}},"1cdc":function(t,e,i){var n=i("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1cec":function(t,e,i){var n=i("0b07"),o=i("2b3e"),s=n(o,"Promise");t.exports=s},"1cfd":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1b8a":function(t,e,i){"use strict";t.exports=function(t,e,i,n){if(n)return n({row:e,index:i});var o=this.opts.childRow;return"function"===typeof o?o.apply(this,[t,e]):t(o,{attrs:{data:e}})}},"1be4":function(t,e,i){var n=i("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c3c":function(t,e,i){var n=i("9e69"),o=i("2474"),s=i("9638"),r=i("a2be"),a=i("edfa"),g=i("ac41"),d=1,l=2,c="[object Boolean]",h="[object Date]",u="[object Error]",A="[object Map]",C="[object Number]",I="[object RegExp]",p="[object Set]",f="[object String]",m="[object Symbol]",v="[object ArrayBuffer]",b="[object DataView]",y=n?n.prototype:void 0,_=y?y.valueOf:void 0;function w(t,e,i,n,y,w,M){switch(i){case b:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case v:return!(t.byteLength!=e.byteLength||!w(new o(t),new o(e)));case c:case h:case C:return s(+t,+e);case u:return t.name==e.name&&t.message==e.message;case I:case f:return t==e+"";case A:var x=a;case p:var k=n&d;if(x||(x=g),t.size!=e.size&&!k)return!1;var D=M.get(t);if(D)return D==e;n|=l,M.set(t,e);var T=r(x(t),x(e),n,y,w,M);return M["delete"](t),T;case m:if(_)return _.call(t)==_.call(e)}return!1}t.exports=w},"1c7e":function(t,e,i){var n=i("b622"),o=n("iterator"),s=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){s=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(g){}t.exports=function(t,e){if(!e&&!s)return!1;var i=!1;try{var n={};n[o]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(g){}return i}},"1cdc":function(t,e,i){var n=i("342f");t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},"1cec":function(t,e,i){var n=i("0b07"),o=i("2b3e"),s=n(o,"Promise");t.exports=s},"1cfd":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,o,s,r){var a=i(e),g=n[t][i(e)];return 2===a&&(g=g[o?0:1]),g.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r=t.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,i){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return r}))},"1d2b":function(t,e,i){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n=51||!n((function(){var e=[],i=e.constructor={};return i[r]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e4a":function(t,e,i){"use strict";t.exports=function(){return{framework:"bootstrap4",td:"",table:"table table-striped table-bordered table-hover",row:"row",column:"col-md-12",label:"",input:"form-control",select:"form-control",field:"form-group",inline:"form-inline",right:"float-right",left:"float-left",center:"text-center",contentCenter:"justify-content-center",nomargin:"m-0",groupTr:"table-info",small:"",button:"btn btn-secondary",dropdown:{container:"dropdown",trigger:"dropdown-toggle",menu:"dropdown-menu",content:"",item:"dropdown-item",caret:"caret"},pagination:{nav:"text-center",count:"",wrapper:"",list:"pagination",item:"page-item",link:"page-link",next:"",prev:"",active:"active",disabled:"disabled",icon:""}}}},"1efc":function(t,e){function i(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=i},"1f9c":function(t,e,i){"use strict";t.exports=function(){return this.opts.filterable&&this.opts.filterable.length?this.opts.filterable:this.Columns}},"1fc1":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -78,11 +78,11 @@ var e=t.defineLocale("ka",{months:"იანვარი_თებერვა //! moment.js locale configuration var e=t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,i){return t<12?"오전":"오후"}});return e}))},2366:function(t,e){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);function o(t,e){var n=e||0,o=i;return[o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],"-",o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]],o[t[n++]]].join("")}t.exports=o},"23cb":function(t,e,i){var n=i("a691"),o=Math.max,s=Math.min;t.exports=function(t,e){var i=n(t);return i<0?o(i+e,0):s(i,e)}},"23e7":function(t,e,i){var n=i("da84"),o=i("06cf").f,s=i("9112"),r=i("6eeb"),a=i("ce4e"),g=i("e893"),d=i("94ca");t.exports=function(t,e){var i,l,c,h,u,A,C=t.target,I=t.global,p=t.stat;if(l=I?n:p?n[C]||a(C,{}):(n[C]||{}).prototype,l)for(c in e){if(u=e[c],t.noTargetGet?(A=o(l,c),h=A&&A.value):h=l[c],i=d(I?c:C+(p?".":"#")+c,t.forced),!i&&void 0!==h){if(typeof u===typeof h)continue;g(u,h)}(t.sham||h&&h.sham)&&s(u,"sham",!0),r(l,c,u,t)}}},"23fa":function(t,e,i){"use strict";var n=o(i("256f"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=function(){var t,e=this;this.opts.destroyEventBus&&(n["default"].$off(),n["default"].$destroy()),this.vuex&&!this.opts.preserveState&&this.$store.unregisterModule(this.name),this.opts.filterByColumn&&this.datepickerColumns.forEach((function(i){t=$(e.$el).find("#VueTables__"+$.escapeSelector(i)+"-filter").data("daterangepicker"),t&&t.remove()}))}},"241c":function(t,e,i){var n=i("ca84"),o=i("7839"),s=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},2421:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],o=t.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,i){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return i[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return o}))},2444:function(t,e,i){"use strict";(function(e){var n=i("c532"),o=i("c8af"),s={"Content-Type":"application/x-www-form-urlencoded"};function r(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=i("b50d")),t}var g={adapter:a(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){g.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){g.headers[t]=n.merge(s)})),t.exports=g}).call(this,i("4362"))},2474:function(t,e,i){var n=i("2b3e"),o=n.Uint8Array;t.exports=o},2478:function(t,e,i){var n=i("4245");function o(t){return n(this,t).get(t)}t.exports=o},2524:function(t,e,i){var n=i("6044"),o="__lodash_hash_undefined__";function s(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=n&&void 0===e?o:e,this}t.exports=s},"252c":function(t,e,i){"use strict";(function(t){function n(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var i=t.indexOf("Trident/");if(i>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var o=t.indexOf("Edge/");return o>0?parseInt(t.substring(o+5,t.indexOf(".",o)),10):-1}let o;function s(){s.init||(s.init=!0,o=-1!==n())}i.d(e,"a",(function(){return C}));var r={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){s(),this.$nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",o&&this.$el.appendChild(t),t.data="about:blank",o||this.$el.appendChild(t)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!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(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!o&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function a(t,e,i,n,o,s,r,a,g,d){"boolean"!==typeof r&&(g=a,a=r,r=!1);var l,c="function"===typeof i?i.options:i;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),n&&(c._scopeId=n),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,g(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):e&&(l=r?function(t){e.call(this,d(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),l)if(c.functional){var h=c.render;c.render=function(t,e){return l.call(e),h(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return i}const g=r;var d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},l=[];d._withStripped=!0;const c=void 0,h="data-v-8859cc6c",u=void 0,A=!1,C=a({render:d,staticRenderFns:l},c,g,h,A,u,!1,void 0,void 0,void 0);function I(t){t.component("resize-observer",C),t.component("ResizeObserver",C)}var p={version:"1.0.0",install:I},f=null;"undefined"!==typeof window?f=window.Vue:"undefined"!==typeof t&&(f=t.Vue),f&&f.use(p)}).call(this,i("c8ba"))},2532:function(t,e,i){"use strict";var n=i("23e7"),o=i("5a34"),s=i("1d80"),r=i("ab13");n({target:"String",proto:!0,forced:!r("includes")},{includes:function(t){return!!~String(s(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},"253c":function(t,e,i){var n=i("3729"),o=i("1310"),s="[object Arguments]";function r(t){return o(t)&&n(t)==s}t.exports=r},2554:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],o=t.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,i){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return i[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return o}))},2444:function(t,e,i){"use strict";(function(e){var n=i("c532"),o=i("c8af"),s={"Content-Type":"application/x-www-form-urlencoded"};function r(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=i("b50d")),t}var g={adapter:a(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){g.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){g.headers[t]=n.merge(s)})),t.exports=g}).call(this,i("4362"))},2474:function(t,e,i){var n=i("2b3e"),o=n.Uint8Array;t.exports=o},2478:function(t,e,i){var n=i("4245");function o(t){return n(this,t).get(t)}t.exports=o},2524:function(t,e,i){var n=i("6044"),o="__lodash_hash_undefined__";function s(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=n&&void 0===e?o:e,this}t.exports=s},"252c":function(t,e,i){"use strict";(function(t){function n(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var i=t.indexOf("Trident/");if(i>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var o=t.indexOf("Edge/");return o>0?parseInt(t.substring(o+5,t.indexOf(".",o)),10):-1}var o;function s(){s.init||(s.init=!0,o=-1!==n())}i.d(e,"a",(function(){return C}));var r={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;s(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",o&&this.$el.appendChild(e),e.data="about:blank",o||this.$el.appendChild(e)},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&&(!o&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function a(t,e,i,n,o,s,r,a,g,d){"boolean"!==typeof r&&(g=a,a=r,r=!1);var l,c="function"===typeof i?i.options:i;if(t&&t.render&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0,o&&(c.functional=!0)),n&&(c._scopeId=n),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,g(t)),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):e&&(l=r?function(t){e.call(this,d(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),l)if(c.functional){var h=c.render;c.render=function(t,e){return l.call(e),h(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return i}var g=r,d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},l=[];d._withStripped=!0;var c=void 0,h="data-v-8859cc6c",u=void 0,A=!1,C=a({render:d,staticRenderFns:l},c,g,h,A,u,!1,void 0,void 0,void 0);function I(t){t.component("resize-observer",C),t.component("ResizeObserver",C)}var p={version:"1.0.1",install:I},f=null;"undefined"!==typeof window?f=window.Vue:"undefined"!==typeof t&&(f=t.Vue),f&&f.use(p)}).call(this,i("c8ba"))},2532:function(t,e,i){"use strict";var n=i("23e7"),o=i("5a34"),s=i("1d80"),r=i("ab13");n({target:"String",proto:!0,forced:!r("includes")},{includes:function(t){return!!~String(s(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},"253c":function(t,e,i){var n=i("3729"),o=i("1310"),s="[object Arguments]";function r(t){return o(t)&&n(t)==s}t.exports=r},2554:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",n;case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",n;case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",n;case"dd":return n+=1===t?"dan":"dana",n;case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",n;case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",n}}var i=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}))},"256f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("a026"));function o(t){return t&&t.__esModule?t:{default:t}}var s=new n["default"],r=s;e["default"]=r},"25eb":function(t,e,i){var n=i("23e7"),o=i("c20d");n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"25f0":function(t,e,i){"use strict";var n=i("6eeb"),o=i("825a"),s=i("d039"),r=i("ad6d"),a="toString",g=RegExp.prototype,d=g[a],l=s((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),c=d.name!=a;(l||c)&&n(RegExp.prototype,a,(function(){var t=o(this),e=String(t.source),i=t.flags,n=String(void 0===i&&t instanceof RegExp&&!("flags"in g)?r.call(t):i);return"/"+e+"/"+n}),{unsafe:!0})},2626:function(t,e,i){"use strict";var n=i("d066"),o=i("9bf2"),s=i("b622"),r=i("83ab"),a=s("species");t.exports=function(t){var e=n(t),i=o.f;r&&e&&!e[a]&&i(e,a,{configurable:!0,get:function(){return this}})}},"26f9":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +function e(t,e,i){var n=t+" ";switch(i){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",n;case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",n;case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",n;case"dd":return n+=1===t?"dan":"dana",n;case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",n;case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",n}}var i=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}))},"256f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("a026"));function o(t){return t&&t.__esModule?t:{default:t}}var s=new n["default"],r=s;e["default"]=r},"25eb":function(t,e,i){var n=i("23e7"),o=i("c20d");n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},2626:function(t,e,i){"use strict";var n=i("d066"),o=i("9bf2"),s=i("b622"),r=i("83ab"),a=s("species");t.exports=function(t){var e=n(t),i=o.f;r&&e&&!e[a]&&i(e,a,{configurable:!0,get:function(){return this}})}},"26f9":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(t,e,i,n){return e?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function o(t){return t%10===0||t>10&&t<20}function s(t){return e[t].split("_")}function r(t,e,i,r){var a=t+" ";return 1===t?a+n(t,e,i[0],r):e?a+(o(t)?s(i)[1]:s(i)[0]):r?a+s(i)[1]:a+(o(t)?s(i)[1]:s(i)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:i,ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a}))},2713:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLPerPageSelector",inject:["opts","limit","setLimit","perPageValues","id","theme","display","componentsOverride"],render:function(){var t=this;return this.$scopedSlots["default"]({opts:this.opts(),perPageValues:this.perPageValues(),theme:this.theme,limit:this.limit(),setLimit:this.setLimit,id:this.id,selectClass:this.theme.select,display:this.display,selectAttrs:{id:"VueTables__limit_".concat(this.id),class:this.theme.select,value:this.limit()},selectEvents:{change:function(e){return t.setLimit(e)}},override:this.componentsOverride.perPageSelector})}};e["default"]=n},2803:function(t,e,i){"use strict";function n(t,e,i){var n=String(t).split(e);return n.map((function(t){return e.test(t)?i("b",{},t):t}))}function o(t){return"string"===typeof t?t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"):t}t.exports=function(t,e,i){var s=this.opts.filterByColumn?this.query[e]:this.query;return s?(s=new RegExp("("+o(s)+")","i"),i("span",{class:"VueTables__highlight"},n(t,s,i))):t}},2877:function(t,e,i){"use strict";function n(t,e,i,n,o,s,r,a){var g,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(g=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},d._ssrRegister=g):o&&(g=a?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),g)if(d.functional){d._injectStyles=g;var l=d.render;d.render=function(t,e){return g.call(e),l(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,g):[g]}return{exports:t,options:d}}i.d(e,"a",(function(){return n}))},"28c9":function(t,e){function i(){this.__data__=[],this.size=0}t.exports=i},2909:function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("6b75");function o(t){if(Array.isArray(t))return Object(n["a"])(t)}i("a4d3"),i("e01a"),i("d28b"),i("a630"),i("d3b7"),i("3ca3"),i("ddb0");function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var r=i("06c5");function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(t){return o(t)||s(t)||Object(r["a"])(t)||a()}},2921:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(t,e,i,n){return e?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(t,e,i,n){return e?s(i)[0]:n?s(i)[1]:s(i)[2]}function o(t){return t%10===0||t>10&&t<20}function s(t){return e[t].split("_")}function r(t,e,i,r){var a=t+" ";return 1===t?a+n(t,e,i[0],r):e?a+(o(t)?s(i)[1]:s(i)[0]):r?a+s(i)[1]:a+(o(t)?s(i)[1]:s(i)[2])}var a=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:i,ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return a}))},2713:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLPerPageSelector",inject:["opts","limit","setLimit","perPageValues","id","theme","display","componentsOverride"],render:function(){var t=this;return this.$scopedSlots["default"]({opts:this.opts(),perPageValues:this.perPageValues(),theme:this.theme,limit:this.limit(),setLimit:this.setLimit,id:this.id,selectClass:this.theme.select,display:this.display,selectAttrs:{id:"VueTables__limit_".concat(this.id),class:this.theme.select,value:this.limit()},selectEvents:{change:function(e){return t.setLimit(e)}},override:this.componentsOverride.perPageSelector})}};e["default"]=n},2803:function(t,e,i){"use strict";function n(t,e,i){var n=String(t).split(e);return n.map((function(t){return e.test(t)?i("b",{},t):t}))}function o(t){return"string"===typeof t?t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"):t}t.exports=function(t,e,i){var s=this.opts.filterByColumn?this.query[e]:this.query;return s?(s=new RegExp("("+o(s)+")","i"),i("span",{class:"VueTables__highlight"},n(t,s,i))):t}},2877:function(t,e,i){"use strict";function n(t,e,i,n,o,s,r,a){var g,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(g=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},d._ssrRegister=g):o&&(g=a?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),g)if(d.functional){d._injectStyles=g;var l=d.render;d.render=function(t,e){return g.call(e),l(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,g):[g]}return{exports:t,options:d}}i.d(e,"a",(function(){return n}))},"28c9":function(t,e){function i(){this.__data__=[],this.size=0}t.exports=i},2909:function(t,e,i){"use strict";i.d(e,"a",(function(){return g}));var n=i("6b75");function o(t){if(Array.isArray(t))return Object(n["a"])(t)}i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("a630");function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var r=i("06c5");function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(t){return o(t)||s(t)||Object(r["a"])(t)||a()}},2921:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,i){return t<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},2935:function(t,e,i){"use strict";t.exports=function(){var t,e={},i=this.opts.initFilters;return this.opts.customFilters.forEach(function(n){t="client"==this.source?n.name:n,e[t]=i.hasOwnProperty(t)?i[t]:""}.bind(this)),e}},"293c":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -96,7 +96,7 @@ var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_ * (c) 2021 Evan You * @license MIT */ -function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,i.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function r(t,e){return t.filter(e)[0]}function a(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var i=r(e,(function(e){return e.original===t}));if(i)return i.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach((function(i){n[i]=a(t[i],e)})),n}function g(t,e){Object.keys(t).forEach((function(i){return e(t[i],i)}))}function d(t){return null!==t&&"object"===typeof t}function l(t){return t&&"function"===typeof t.then}function c(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"===typeof i?i():i)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.hasChild=function(t){return t in this._children},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){g(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,u);var A=function(t){this.register([],t,!1)};function C(t,e,i){if(e.update(i),i.modules)for(var n in i.modules){if(!e.getChild(n))return void 0;C(t.concat(n),e.getChild(n),i.modules[n])}}A.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},A.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,i){return e=e.getChild(i),t+(e.namespaced?i+"/":"")}),"")},A.prototype.update=function(t){C([],this.root,t)},A.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var o=new h(e,i);if(0===t.length)this.root=o;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],o)}e.modules&&g(e.modules,(function(e,o){n.register(t.concat(o),e,i)}))},A.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1],n=e.getChild(i);n&&n.runtime&&e.removeChild(i)},A.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];return!!e&&e.hasChild(i)};var I;var p=function(t){var e=this;void 0===t&&(t={}),!I&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new A(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new I,this._makeLocalGettersCache=Object.create(null);var o=this,r=this,a=r.dispatch,g=r.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,i){return g.call(o,t,e,i)},this.strict=n;var d=this._modules.root.state;y(this,d,[],this._modules.root),b(this,d),i.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:I.config.devtools;l&&s(this)},f={state:{configurable:!0}};function m(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function v(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;y(t,i,[],t._modules.root,!0),b(t,i,e)}function b(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};g(o,(function(e,i){s[i]=c(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})}));var r=I.config.silent;I.config.silent=!0,t._vm=new I({data:{$$state:e},computed:s}),I.config.silent=r,t.strict&&D(t),n&&(i&&t._withCommit((function(){n._data.$$state=null})),I.nextTick((function(){return n.$destroy()})))}function y(t,e,i,n,o){var s=!i.length,r=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[r],t._modulesNamespaceMap[r]=n),!s&&!o){var a=T(e,i.slice(0,-1)),g=i[i.length-1];t._withCommit((function(){I.set(a,g,n.state)}))}var d=n.context=_(t,r,i);n.forEachMutation((function(e,i){var n=r+i;M(t,n,e,d)})),n.forEachAction((function(e,i){var n=e.root?i:r+i,o=e.handler||e;x(t,n,o,d)})),n.forEachGetter((function(e,i){var n=r+i;k(t,n,e,d)})),n.forEachChild((function(n,s){y(t,e,i.concat(s),n,o)}))}function _(t,e,i){var n=""===e,o={dispatch:n?t.dispatch:function(i,n,o){var s=L(i,n,o),r=s.payload,a=s.options,g=s.type;return a&&a.root||(g=e+g),t.dispatch(g,r)},commit:n?t.commit:function(i,n,o){var s=L(i,n,o),r=s.payload,a=s.options,g=s.type;a&&a.root||(g=e+g),t.commit(g,r,a)}};return Object.defineProperties(o,{getters:{get:n?function(){return t.getters}:function(){return w(t,e)}},state:{get:function(){return T(t.state,i)}}}),o}function w(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,n)===e){var s=o.slice(n);Object.defineProperty(i,s,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}function M(t,e,i,n){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){i.call(t,n.state,e)}))}function x(t,e,i,n){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return l(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function k(t,e,i,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)})}function D(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,i){return d(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function O(t){I&&t===I||(I=t,i(I))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},p.prototype.commit=function(t,e,i){var n=this,o=L(t,e,i),s=o.type,r=o.payload,a=(o.options,{type:s,payload:r}),g=this._mutations[s];g&&(this._withCommit((function(){g.forEach((function(t){t(r)}))})),this._subscribers.slice().forEach((function(t){return t(a,n.state)})))},p.prototype.dispatch=function(t,e){var i=this,n=L(t,e),o=n.type,s=n.payload,r={type:o,payload:s},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(r,i.state)}))}catch(d){0}var g=a.length>1?Promise.all(a.map((function(t){return t(s)}))):a[0](s);return new Promise((function(t,e){g.then((function(e){try{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(r,i.state)}))}catch(d){0}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(r,i.state,t)}))}catch(d){0}e(t)}))}))}},p.prototype.subscribe=function(t,e){return m(t,this._subscribers,e)},p.prototype.subscribeAction=function(t,e){var i="function"===typeof t?{before:t}:t;return m(i,this._actionSubscribers,e)},p.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),y(this,this.state,t,this._modules.get(t),i.preserveState),b(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=T(e.state,t.slice(0,-1));I.delete(i,t[t.length-1])})),v(this)},p.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},p.prototype.hotUpdate=function(t){this._modules.update(t),v(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,f);var S=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=H(this.$store,"mapState",t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"===typeof o?o.call(this,e,i):e[o]},i[n].vuex=!0})),i})),Y=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.commit;if(t){var s=H(this.$store,"mapMutations",t);if(!s)return;n=s.context.commit}return"function"===typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),i})),E=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;o=t+o,i[n]=function(){if(!t||H(this.$store,"mapGetters",t))return this.$store.getters[o]},i[n].vuex=!0})),i})),P=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var s=H(this.$store,"mapActions",t);if(!s)return;n=s.context.dispatch}return"function"===typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),i})),j=function(t){return{mapState:S.bind(null,t),mapGetters:E.bind(null,t),mapMutations:Y.bind(null,t),mapActions:P.bind(null,t)}};function N(t){return R(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function R(t){return Array.isArray(t)||d(t)}function F(t){return function(e,i){return"string"!==typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function H(t,e,i){var n=t._modulesNamespaceMap[i];return n}function B(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var i=t.filter;void 0===i&&(i=function(t,e,i){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var s=t.actionFilter;void 0===s&&(s=function(t,e){return!0});var r=t.actionTransformer;void 0===r&&(r=function(t){return t});var g=t.logMutations;void 0===g&&(g=!0);var d=t.logActions;void 0===d&&(d=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var c=a(t.state);"undefined"!==typeof l&&(g&&t.subscribe((function(t,s){var r=a(s);if(i(t,c,r)){var g=V(),d=o(t),h="mutation "+t.type+g;z(l,h,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(c)),l.log("%c mutation","color: #03A9F4; font-weight: bold",d),l.log("%c next state","color: #4CAF50; font-weight: bold",n(r)),W(l)}c=r})),d&&t.subscribeAction((function(t,i){if(s(t,i)){var n=V(),o=r(t),a="action "+t.type+n;z(l,a,e),l.log("%c action","color: #03A9F4; font-weight: bold",o),W(l)}})))}}function z(t,e,i){var n=i?t.groupCollapsed:t.group;try{n.call(t,e)}catch(o){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function V(){var t=new Date;return" @ "+Z(t.getHours(),2)+":"+Z(t.getMinutes(),2)+":"+Z(t.getSeconds(),2)+"."+Z(t.getMilliseconds(),3)}function G(t,e){return new Array(e+1).join(t)}function Z(t,e){return G("0",e-t.toString().length)+t}var U={Store:p,install:O,version:"3.6.2",mapState:S,mapMutations:Y,mapGetters:E,mapActions:P,createNamespacedHelpers:j,createLogger:B};e["a"]=U}).call(this,i("c8ba"))},"2f77":function(t,e,i){"use strict";t.exports=function(){return JSON.stringify(this.customQueries)}},"2fcc":function(t,e){function i(t){var e=this.__data__,i=e["delete"](t);return this.size=e.size,i}t.exports=i},"2ffe":function(t,e,i){"use strict";var n=r(i("dff2")),o=r(i("a8fe")),s=r(i("c1c0"));function r(t){return t&&t.__esModule?t:{default:t}}t.exports=function(t){var e={state:(0,n["default"])(t),mutations:(0,o["default"])(t)},i=t.$store.hasModule?t.$store.hasModule(t.name):t.$store.state&&t.$store.state[t.name];i&&(e.state=s["default"].recursive(e.state,t.$store.state[t.name]),t.$store.unregisterModule(t.name)),t.$store.registerModule(t.name,e)}},"30b5":function(t,e,i){"use strict";var n=i("c532");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var r=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),r.push(o(e)+"="+o(t))})))})),s=r.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},"30c9":function(t,e,i){var n=i("9520"),o=i("b218");function s(t){return null!=t&&o(t.length)&&!n(t)}t.exports=s},"30ee":function(t,e,i){"use strict";t.exports=function(t,e){if(-1===e.indexOf("."))return t[e];var i=e.split("."),n=t[i[0]];if(!n)return"";for(var o=1;o-1}},"32b3":function(t,e,i){var n=i("872a"),o=i("9638"),s=Object.prototype,r=s.hasOwnProperty;function a(t,e,i){var s=t[e];r.call(t,e)&&o(s,i)&&(void 0!==i||e in t)||n(t,e,i)}t.exports=a},"32f4":function(t,e,i){var n=i("2d7c"),o=i("d327"),s=Object.prototype,r=s.propertyIsEnumerable,a=Object.getOwnPropertySymbols,g=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return r.call(t,e)})))}:o;t.exports=g},"342f":function(t,e,i){var n=i("d066");t.exports=n("navigator","userAgent")||""},3453:function(t,e,i){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=i("5a3b"),s=i("be1f"),r=i("3b3c");function a(t){return t?"string"==typeof t?t.toLowerCase():t:""}function g(t,e,i){if(["string","number","boolean"].indexOf(n(e))>-1&&(e=String(e).toLowerCase()),i)return e==t;if("string"===typeof e)return e.indexOf(t)>-1;if(s(e)){var o=moment(t.start,"YYYY-MM-DD HH:mm:ss"),r=moment(t.end,"YYYY-MM-DD HH:mm:ss");return e>=o&&e<=r}if("object"===n(e)){for(var a in e)if(g(t,e[a]))return!0;return!1}return e>=o&&e<=r}t.exports=function(t,e){if(e){var i=this.query;this.setPage(1,!0);var d=this.getName(e.target.name),l="object"===n(e.target.value)?e.target.value:""+e.target.value;d?i[d]=l:i=l,this.vuex?this.commit("SET_FILTER",i):this.query=i,this.updateState("query",i),d?(this.dispatch("filter",{name:d,value:l}),this.dispatch("filter::".concat(d),l)):this.dispatch("filter",l)}var c,h,u,A,C,I=this.query,p=I?1:0;if(!this.opts)return t;this.opts.filterByColumn&&(p=o(I));t=r(t,this.opts.customFilters,this.customQueries);return p?t.filter(function(t,e){return c=0,this.filterableColumns.forEach(function(e){A=this.opts.dateColumns.indexOf(e)>-1&&this.opts.filterByColumn,C=this.isListFilter(e)&&this.opts.filterByColumn,u=this.dateFormat(e),l=this._getValue(t,e),s(l)&&!A&&(l=l.format(u)),h=this.opts.filterByColumn?I[e]:I,h=a(h),h&&(this.opts.filterAlgorithm[e]?this.opts.filterAlgorithm[e].call(this.$parent.$parent,t,this.opts.filterByColumn?I[e]:I)&&c++:g(h,l,C)&&c++)}.bind(this)),c>=p}.bind(this)):t}},"34ac":function(t,e,i){var n=i("9520"),o=i("1368"),s=i("1a8c"),r=i("dc57"),a=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,d=Function.prototype,l=Object.prototype,c=d.toString,h=l.hasOwnProperty,u=RegExp("^"+c.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A(t){if(!s(t)||o(t))return!1;var e=n(t)?u:g;return e.test(r(t))}t.exports=A},3558:function(t,e,i){"use strict";t.exports=function(t,e){if(!this.opts.texts)return"";t=this.opts.texts[t];if(e)for(var i in e)t=t.replace("{"+i+"}",e[i]);return t}},"358c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("00a4"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtChildRowToggler",props:["rowId"],components:{RLChildRowToggler:n["default"]},render:function(t){return t("r-l-child-row-toggler",{attrs:{"row-id":this.rowId},scopedSlots:{default:function(e){return e.override?t(e.override,{attrs:{props:e}}):t("td",{attrs:{tabindex:e.tabIndex},on:{keypress:function(t){"Enter"===t.key&&e.toggle()},click:e.toggle}},[t("span",{class:"VueTables__child-row-toggler "+e["class"]()})])}}})}};e["default"]=s},"35a1":function(t,e,i){var n=i("f5df"),o=i("3f8c"),s=i("b622"),r=s("iterator");t.exports=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[n(t)]}},"35b3":function(t,e,i){var n=i("23e7");n({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"35fa":function(t,e,i){"use strict";t.exports=function(t){return 1===this.userColumnsDisplay.length&&this.userColumnsDisplay[0]===t}},3698:function(t,e){function i(t,e){return null==t?void 0:t[e]}t.exports=i},3729:function(t,e,i){var n=i("9e69"),o=i("00fd"),s=i("29f3"),r="[object Null]",a="[object Undefined]",g=n?n.toStringTag:void 0;function d(t){return null==t?void 0===t?a:r:g&&g in Object(t)?o(t):s(t)}t.exports=d},"37dd":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLNoResultsRow",inject:["colspan","display","componentsOverride","loading","initialRequestSent","tabIndex","opts"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),colspan:this.colspan(),display:this.display,tabIndex:this.tabIndex(),loading:this.loading(),initialRequestSent:this.initialRequestSent(),message:this.message,override:this.componentsOverride.noResultsRow})},computed:{message:function(){return this.loading()?"loading":this.opts().sendInitialRequest||this.initialRequestSent()?"noResults":"noRequest"}}};e["default"]=n},"37e8":function(t,e,i){var n=i("83ab"),o=i("9bf2"),s=i("825a"),r=i("df75");t.exports=n?Object.defineProperties:function(t,e){s(t);var i,n=r(e),a=n.length,g=0;while(a>g)o.f(t,i=n[g++],e[i]);return t}},3835:function(t,e,i){"use strict";function n(t){if(Array.isArray(t))return t}i.d(e,"a",(function(){return a}));i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0");function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done);n=!0)if(i.push(r.value),e&&i.length===e)break}catch(g){o=!0,s=g}finally{try{n||null==a["return"]||a["return"]()}finally{if(o)throw s}}return i}}var s=i("06c5");function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){return n(t)||o(t,e)||Object(s["a"])(t,e)||r()}},3858:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLTextFilter",inject:["opts","search","query","theme","getHeading","display","getColumnName","componentsOverride"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),column:this.column,debounce:this.opts().debounce,theme:this.theme,search:this.search,query:this.query(),getHeading:this.getHeading,getColumnName:this.getColumnName,display:this.display,override:this.componentsOverride.textFilter})}};e["default"]=n},"387f":function(t,e,i){"use strict";t.exports=function(t,e,i,n,o){return t.config=e,i&&(t.code=i),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3886:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,i.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function r(t,e){return t.filter(e)[0]}function a(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var i=r(e,(function(e){return e.original===t}));if(i)return i.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach((function(i){n[i]=a(t[i],e)})),n}function g(t,e){Object.keys(t).forEach((function(i){return e(t[i],i)}))}function d(t){return null!==t&&"object"===typeof t}function l(t){return t&&"function"===typeof t.then}function c(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"===typeof i?i():i)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.hasChild=function(t){return t in this._children},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){g(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,u);var A=function(t){this.register([],t,!1)};function C(t,e,i){if(e.update(i),i.modules)for(var n in i.modules){if(!e.getChild(n))return void 0;C(t.concat(n),e.getChild(n),i.modules[n])}}A.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},A.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,i){return e=e.getChild(i),t+(e.namespaced?i+"/":"")}),"")},A.prototype.update=function(t){C([],this.root,t)},A.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var o=new h(e,i);if(0===t.length)this.root=o;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],o)}e.modules&&g(e.modules,(function(e,o){n.register(t.concat(o),e,i)}))},A.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1],n=e.getChild(i);n&&n.runtime&&e.removeChild(i)},A.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];return!!e&&e.hasChild(i)};var I;var p=function(t){var e=this;void 0===t&&(t={}),!I&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new A(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new I,this._makeLocalGettersCache=Object.create(null);var o=this,r=this,a=r.dispatch,g=r.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,i){return g.call(o,t,e,i)},this.strict=n;var d=this._modules.root.state;y(this,d,[],this._modules.root),b(this,d),i.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:I.config.devtools;l&&s(this)},f={state:{configurable:!0}};function m(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function v(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;y(t,i,[],t._modules.root,!0),b(t,i,e)}function b(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};g(o,(function(e,i){s[i]=c(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})}));var r=I.config.silent;I.config.silent=!0,t._vm=new I({data:{$$state:e},computed:s}),I.config.silent=r,t.strict&&D(t),n&&(i&&t._withCommit((function(){n._data.$$state=null})),I.nextTick((function(){return n.$destroy()})))}function y(t,e,i,n,o){var s=!i.length,r=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[r],t._modulesNamespaceMap[r]=n),!s&&!o){var a=T(e,i.slice(0,-1)),g=i[i.length-1];t._withCommit((function(){I.set(a,g,n.state)}))}var d=n.context=_(t,r,i);n.forEachMutation((function(e,i){var n=r+i;M(t,n,e,d)})),n.forEachAction((function(e,i){var n=e.root?i:r+i,o=e.handler||e;x(t,n,o,d)})),n.forEachGetter((function(e,i){var n=r+i;k(t,n,e,d)})),n.forEachChild((function(n,s){y(t,e,i.concat(s),n,o)}))}function _(t,e,i){var n=""===e,o={dispatch:n?t.dispatch:function(i,n,o){var s=L(i,n,o),r=s.payload,a=s.options,g=s.type;return a&&a.root||(g=e+g),t.dispatch(g,r)},commit:n?t.commit:function(i,n,o){var s=L(i,n,o),r=s.payload,a=s.options,g=s.type;a&&a.root||(g=e+g),t.commit(g,r,a)}};return Object.defineProperties(o,{getters:{get:n?function(){return t.getters}:function(){return w(t,e)}},state:{get:function(){return T(t.state,i)}}}),o}function w(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,n)===e){var s=o.slice(n);Object.defineProperty(i,s,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}function M(t,e,i,n){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){i.call(t,n.state,e)}))}function x(t,e,i,n){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return l(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function k(t,e,i,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)})}function D(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,i){return d(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function O(t){I&&t===I||(I=t,i(I))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},p.prototype.commit=function(t,e,i){var n=this,o=L(t,e,i),s=o.type,r=o.payload,a=(o.options,{type:s,payload:r}),g=this._mutations[s];g&&(this._withCommit((function(){g.forEach((function(t){t(r)}))})),this._subscribers.slice().forEach((function(t){return t(a,n.state)})))},p.prototype.dispatch=function(t,e){var i=this,n=L(t,e),o=n.type,s=n.payload,r={type:o,payload:s},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(r,i.state)}))}catch(d){0}var g=a.length>1?Promise.all(a.map((function(t){return t(s)}))):a[0](s);return new Promise((function(t,e){g.then((function(e){try{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(r,i.state)}))}catch(d){0}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(r,i.state,t)}))}catch(d){0}e(t)}))}))}},p.prototype.subscribe=function(t,e){return m(t,this._subscribers,e)},p.prototype.subscribeAction=function(t,e){var i="function"===typeof t?{before:t}:t;return m(i,this._actionSubscribers,e)},p.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),y(this,this.state,t,this._modules.get(t),i.preserveState),b(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=T(e.state,t.slice(0,-1));I.delete(i,t[t.length-1])})),v(this)},p.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},p.prototype.hotUpdate=function(t){this._modules.update(t),v(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,f);var S=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=H(this.$store,"mapState",t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"===typeof o?o.call(this,e,i):e[o]},i[n].vuex=!0})),i})),Y=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.commit;if(t){var s=H(this.$store,"mapMutations",t);if(!s)return;n=s.context.commit}return"function"===typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),i})),E=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;o=t+o,i[n]=function(){if(!t||H(this.$store,"mapGetters",t))return this.$store.getters[o]},i[n].vuex=!0})),i})),P=F((function(t,e){var i={};return N(e).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var s=H(this.$store,"mapActions",t);if(!s)return;n=s.context.dispatch}return"function"===typeof o?o.apply(this,[n].concat(e)):n.apply(this.$store,[o].concat(e))}})),i})),j=function(t){return{mapState:S.bind(null,t),mapGetters:E.bind(null,t),mapMutations:Y.bind(null,t),mapActions:P.bind(null,t)}};function N(t){return R(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function R(t){return Array.isArray(t)||d(t)}function F(t){return function(e,i){return"string"!==typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function H(t,e,i){var n=t._modulesNamespaceMap[i];return n}function B(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var i=t.filter;void 0===i&&(i=function(t,e,i){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var s=t.actionFilter;void 0===s&&(s=function(t,e){return!0});var r=t.actionTransformer;void 0===r&&(r=function(t){return t});var g=t.logMutations;void 0===g&&(g=!0);var d=t.logActions;void 0===d&&(d=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var c=a(t.state);"undefined"!==typeof l&&(g&&t.subscribe((function(t,s){var r=a(s);if(i(t,c,r)){var g=V(),d=o(t),h="mutation "+t.type+g;z(l,h,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(c)),l.log("%c mutation","color: #03A9F4; font-weight: bold",d),l.log("%c next state","color: #4CAF50; font-weight: bold",n(r)),W(l)}c=r})),d&&t.subscribeAction((function(t,i){if(s(t,i)){var n=V(),o=r(t),a="action "+t.type+n;z(l,a,e),l.log("%c action","color: #03A9F4; font-weight: bold",o),W(l)}})))}}function z(t,e,i){var n=i?t.groupCollapsed:t.group;try{n.call(t,e)}catch(o){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function V(){var t=new Date;return" @ "+Z(t.getHours(),2)+":"+Z(t.getMinutes(),2)+":"+Z(t.getSeconds(),2)+"."+Z(t.getMilliseconds(),3)}function G(t,e){return new Array(e+1).join(t)}function Z(t,e){return G("0",e-t.toString().length)+t}var U={Store:p,install:O,version:"3.6.2",mapState:S,mapMutations:Y,mapGetters:E,mapActions:P,createNamespacedHelpers:j,createLogger:B};e["a"]=U}).call(this,i("c8ba"))},"2f77":function(t,e,i){"use strict";t.exports=function(){return JSON.stringify(this.customQueries)}},"2fcc":function(t,e){function i(t){var e=this.__data__,i=e["delete"](t);return this.size=e.size,i}t.exports=i},"2ffe":function(t,e,i){"use strict";var n=r(i("dff2")),o=r(i("a8fe")),s=r(i("c1c0"));function r(t){return t&&t.__esModule?t:{default:t}}t.exports=function(t){var e={state:(0,n["default"])(t),mutations:(0,o["default"])(t)},i=t.$store.hasModule?t.$store.hasModule(t.name):t.$store.state&&t.$store.state[t.name];i&&(e.state=s["default"].recursive(e.state,t.$store.state[t.name]),t.$store.unregisterModule(t.name)),t.$store.registerModule(t.name,e)}},"30b5":function(t,e,i){"use strict";var n=i("c532");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var s;if(i)s=i(e);else if(n.isURLSearchParams(e))s=e.toString();else{var r=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),r.push(o(e)+"="+o(t))})))})),s=r.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},"30c9":function(t,e,i){var n=i("9520"),o=i("b218");function s(t){return null!=t&&o(t.length)&&!n(t)}t.exports=s},"30ee":function(t,e,i){"use strict";t.exports=function(t,e){if(-1===e.indexOf("."))return t[e];var i=e.split("."),n=t[i[0]];if(!n)return"";for(var o=1;o-1}},"32b3":function(t,e,i){var n=i("872a"),o=i("9638"),s=Object.prototype,r=s.hasOwnProperty;function a(t,e,i){var s=t[e];r.call(t,e)&&o(s,i)&&(void 0!==i||e in t)||n(t,e,i)}t.exports=a},"32f4":function(t,e,i){var n=i("2d7c"),o=i("d327"),s=Object.prototype,r=s.propertyIsEnumerable,a=Object.getOwnPropertySymbols,g=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return r.call(t,e)})))}:o;t.exports=g},"342f":function(t,e,i){var n=i("d066");t.exports=n("navigator","userAgent")||""},3453:function(t,e,i){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o=i("5a3b"),s=i("be1f"),r=i("3b3c");function a(t){return t?"string"==typeof t?t.toLowerCase():t:""}function g(t,e,i){if(["string","number","boolean"].indexOf(n(e))>-1&&(e=String(e).toLowerCase()),i)return e==t;if("string"===typeof e)return e.indexOf(t)>-1;if(s(e)){var o=moment(t.start,"YYYY-MM-DD HH:mm:ss"),r=moment(t.end,"YYYY-MM-DD HH:mm:ss");return e>=o&&e<=r}if("object"===n(e)){for(var a in e)if(g(t,e[a]))return!0;return!1}return e>=o&&e<=r}t.exports=function(t,e){if(e){var i=this.query;this.setPage(1,!0);var d=this.getName(e.target.name),l="object"===n(e.target.value)?e.target.value:""+e.target.value;d?i[d]=l:i=l,this.vuex?this.commit("SET_FILTER",i):this.query=i,this.updateState("query",i),d?(this.dispatch("filter",{name:d,value:l}),this.dispatch("filter::".concat(d),l)):this.dispatch("filter",l)}var c,h,u,A,C,I=this.query,p=I?1:0;if(!this.opts)return t;this.opts.filterByColumn&&(p=o(I));t=r(t,this.opts.customFilters,this.customQueries);return p?t.filter(function(t,e){return c=0,this.filterableColumns.forEach(function(e){A=this.opts.dateColumns.indexOf(e)>-1&&this.opts.filterByColumn,C=this.isListFilter(e)&&this.opts.filterByColumn,u=this.dateFormat(e),l=this._getValue(t,e),s(l)&&!A&&(l=l.format(u)),h=this.opts.filterByColumn?I[e]:I,h=a(h),h&&(this.opts.filterAlgorithm[e]?this.opts.filterAlgorithm[e].call(this.$parent.$parent,t,this.opts.filterByColumn?I[e]:I)&&c++:g(h,l,C)&&c++)}.bind(this)),c>=p}.bind(this)):t}},"34ac":function(t,e,i){var n=i("9520"),o=i("1368"),s=i("1a8c"),r=i("dc57"),a=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,d=Function.prototype,l=Object.prototype,c=d.toString,h=l.hasOwnProperty,u=RegExp("^"+c.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A(t){if(!s(t)||o(t))return!1;var e=n(t)?u:g;return e.test(r(t))}t.exports=A},3558:function(t,e,i){"use strict";t.exports=function(t,e){if(!this.opts.texts)return"";t=this.opts.texts[t];if(e)for(var i in e)t=t.replace("{"+i+"}",e[i]);return t}},"358c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("00a4"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtChildRowToggler",props:["rowId"],components:{RLChildRowToggler:n["default"]},render:function(t){return t("r-l-child-row-toggler",{attrs:{"row-id":this.rowId},scopedSlots:{default:function(e){return e.override?t(e.override,{attrs:{props:e}}):t("td",{attrs:{tabindex:e.tabIndex},on:{keypress:function(t){"Enter"===t.key&&e.toggle()},click:e.toggle}},[t("span",{class:"VueTables__child-row-toggler "+e["class"]()})])}}})}};e["default"]=s},"35a1":function(t,e,i){var n=i("f5df"),o=i("3f8c"),s=i("b622"),r=s("iterator");t.exports=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[n(t)]}},"35b3":function(t,e,i){var n=i("23e7");n({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"35fa":function(t,e,i){"use strict";t.exports=function(t){return 1===this.userColumnsDisplay.length&&this.userColumnsDisplay[0]===t}},3698:function(t,e){function i(t,e){return null==t?void 0:t[e]}t.exports=i},3729:function(t,e,i){var n=i("9e69"),o=i("00fd"),s=i("29f3"),r="[object Null]",a="[object Undefined]",g=n?n.toStringTag:void 0;function d(t){return null==t?void 0===t?a:r:g&&g in Object(t)?o(t):s(t)}t.exports=d},"37dd":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLNoResultsRow",inject:["colspan","display","componentsOverride","loading","initialRequestSent","tabIndex","opts"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),colspan:this.colspan(),display:this.display,tabIndex:this.tabIndex(),loading:this.loading(),initialRequestSent:this.initialRequestSent(),message:this.message,override:this.componentsOverride.noResultsRow})},computed:{message:function(){return this.loading()?"loading":this.opts().sendInitialRequest||this.initialRequestSent()?"noResults":"noRequest"}}};e["default"]=n},"37e8":function(t,e,i){var n=i("83ab"),o=i("9bf2"),s=i("825a"),r=i("df75");t.exports=n?Object.defineProperties:function(t,e){s(t);var i,n=r(e),a=n.length,g=0;while(a>g)o.f(t,i=n[g++],e[i]);return t}},3835:function(t,e,i){"use strict";function n(t){if(Array.isArray(t))return t}i.d(e,"a",(function(){return a}));i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0");function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done);n=!0)if(i.push(r.value),e&&i.length===e)break}catch(g){o=!0,s=g}finally{try{n||null==a["return"]||a["return"]()}finally{if(o)throw s}}return i}}var s=i("06c5");function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){return n(t)||o(t,e)||Object(s["a"])(t,e)||r()}},3858:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLTextFilter",inject:["opts","search","query","theme","getHeading","display","getColumnName","componentsOverride"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),column:this.column,debounce:this.opts().debounce,theme:this.theme,search:this.search,query:this.query(),getHeading:this.getHeading,getColumnName:this.getColumnName,display:this.display,override:this.componentsOverride.textFilter})}};e["default"]=n},"387f":function(t,e,i){"use strict";t.exports=function(t,e,i,n,o){return t.config=e,i&&(t.code=i),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3886:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}});return e}))},3934:function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(e){var i=n.isString(e)?o(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},"39a6":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -112,20 +112,20 @@ var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:" //! moment.js locale configuration var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],o=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function s(t){return t>1&&t<5&&1!==~~(t/10)}function r(t,e,i,n){var o=t+" ";switch(i){case"s":return e||n?"pár sekund":"pár sekundami";case"ss":return e||n?o+(s(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?o+(s(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?o+(s(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?o+(s(t)?"dny":"dní"):o+"dny";case"M":return e||n?"měsíc":"měsícem";case"MM":return e||n?o+(s(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?o+(s(t)?"roky":"let"):o+"lety"}}var a=t.defineLocale("cs",{months:e,monthsShort:i,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"3ca3":function(t,e,i){"use strict";var n=i("6547").charAt,o=i("69f3"),s=i("7dd0"),r="String Iterator",a=o.set,g=o.getterFor(r);s(String,"String",(function(t){a(this,{type:r,string:String(t),index:0})}),(function(){var t,e=g(this),i=e.string,o=e.index;return o>=i.length?{value:void 0,done:!0}:(t=n(i,o),e.index+=t.length,{value:t,done:!1})}))},"3dc1":function(t,e,i){"use strict";t.exports=function(t){if(this.$parent.$scopedSlots&&this.$parent.$scopedSlots["__group_meta"]){var e=this.opts.groupMeta.find((function(e){return e.value===t}));return e?this.$parent.$scopedSlots["__group_meta"](e):""}return""}},"3dd1":function(t,e,i){ /*! -* sweetalert2 v10.15.5 +* sweetalert2 v10.15.7 * Released under the MIT License. */ -(function(e,i){t.exports=i()})(0,(function(){"use strict";function t(e){return t="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var i=0;ie?1:t1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},_t=function(t){t.style.display="none"},wt=function(t,e,i,n){var o=t.querySelector(e);o&&(o.style[i]=n)},Mt=function(t,e,i){e?yt(t,i):_t(t)},xt=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},kt=function(){return!xt(K())&&!xt(X())&&!xt(q())},Dt=function(t){return!!(t.scrollHeight>t.clientHeight)},Tt=function(t){var e=window.getComputedStyle(t),i=parseFloat(e.getPropertyValue("animation-duration")||"0"),n=parseFloat(e.getPropertyValue("transition-duration")||"0");return i>0||n>0},Lt=function(t,e){if("function"===typeof t.contains)return t.contains(e)},Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=it();xt(i)&&(e&&(i.style.transition="none",i.style.width="100%"),setTimeout((function(){i.style.transition="width ".concat(t/1e3,"s linear"),i.style.width="0%"}),10))},St=function(){var t=it(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var i=parseInt(window.getComputedStyle(t).width),n=parseInt(e/i*100);t.style.removeProperty("transition"),t.style.width="".concat(n,"%")},Yt=function(){return"undefined"===typeof window||"undefined"===typeof document},Et='\n
\n
\n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),Pt=function(){var t=N();return!!t&&(t.parentNode.removeChild(t),mt([document.documentElement,document.body],[P["no-backdrop"],P["toast-shown"],P["has-column"]]),!0)},jt=function(t){Ao.isVisible()&&Ct!==t.target.value&&Ao.resetValidationMessage(),Ct=t.target.value},Nt=function(){var t=W(),e=vt(t,P.input),i=vt(t,P.file),n=t.querySelector(".".concat(P.range," input")),o=t.querySelector(".".concat(P.range," output")),s=vt(t,P.select),r=t.querySelector(".".concat(P.checkbox," input")),a=vt(t,P.textarea);e.oninput=jt,i.onchange=jt,s.onchange=jt,r.onchange=jt,a.oninput=jt,n.oninput=function(t){jt(t),o.value=n.value},n.onchange=function(t){jt(t),n.nextSibling.value=n.value}},Rt=function(t){return"string"===typeof t?document.querySelector(t):t},Ft=function(t){var e=H();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},Ht=function(t){"rtl"===window.getComputedStyle(t).direction&&ft(N(),P.rtl)},Bt=function(t){var e=Pt();if(Yt())b("SweetAlert2 requires document to initialize");else{var i=document.createElement("div");i.className=P.container,e&&ft(i,P["no-transition"]),lt(i,Et);var n=Rt(t.target);n.appendChild(i),Ft(t),Ht(n),Nt()}},zt=function(e,i){e instanceof HTMLElement?i.appendChild(e):"object"===t(e)?Wt(e,i):e&<(i,e)},Wt=function(t,e){t.jquery?Vt(e,t):lt(e,t.toString())},Vt=function(t,e){if(t.textContent="",0 in e)for(var i=0;i in e;i++)t.appendChild(e[i].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},Gt=function(){if(Yt())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&"undefined"!==typeof t.style[i])return e[i];return!1}(),Zt=function(){var t=document.createElement("div");t.className=P["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},Ut=function(t,e){var i=$(),n=Q(),o=K(),s=X(),r=q();e.showConfirmButton||e.showDenyButton||e.showCancelButton||_t(i),ut(i,e,"actions"),Xt(o,"confirm",e),Xt(s,"deny",e),Xt(r,"cancel",e),Kt(o,s,r,e),e.reverseButtons&&(i.insertBefore(r,n),i.insertBefore(s,n),i.insertBefore(o,n)),lt(n,e.loaderHtml),ut(n,e,"loader")};function Kt(t,e,i,n){if(!n.buttonsStyling)return mt([t,e,i],P.styled);ft([t,e,i],P.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.denyButtonColor&&(e.style.backgroundColor=n.denyButtonColor),n.cancelButtonColor&&(i.style.backgroundColor=n.cancelButtonColor)}function Xt(t,e,i){Mt(t,i["show".concat(p(e),"Button")],"inline-block"),lt(t,i["".concat(e,"ButtonText")]),t.setAttribute("aria-label",i["".concat(e,"ButtonAriaLabel")]),t.className=P[e],ut(t,i,"".concat(e,"Button")),ft(t,i["".concat(e,"ButtonClass")])}function Jt(t,e){"string"===typeof e?t.style.background=e:e||ft([document.documentElement,document.body],P["no-backdrop"])}function Qt(t,e){e in P?ft(t,P[e]):(v('The "position" parameter is not valid, defaulting to "center"'),ft(t,P.center))}function qt(t,e){if(e&&"string"===typeof e){var i="grow-".concat(e);i in P&&ft(t,P[i])}}var $t=function(t,e){var i=N();if(i){Jt(i,e.backdrop),!e.backdrop&&e.allowOutsideClick&&v('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),Qt(i,e.position),qt(i,e.grow),ut(i,e,"container");var n=document.body.getAttribute("data-swal2-queue-step");n&&(i.setAttribute("data-queue-step",n),document.body.removeAttribute("data-swal2-queue-step"))}},te={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},ee=["input","file","range","select","radio","checkbox","textarea"],ie=function(t,e){var i=W(),n=te.innerParams.get(t),o=!n||e.input!==n.input;ee.forEach((function(t){var n=P[t],s=vt(i,n);se(t,e.inputAttributes),s.className=n,o&&_t(s)})),e.input&&(o&&ne(e),re(e))},ne=function(t){if(!le[t.input])return b('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=de(t.input),i=le[t.input](e,t);yt(i),setTimeout((function(){It(i)}))},oe=function(t){for(var e=0;en?"".concat(e,"px"):null};new MutationObserver(o).observe(t,{attributes:!0,attributeFilter:["style"]})}return t};var ce=function(t,e){var i=V();ut(i,e,"htmlContainer"),e.html?(zt(e.html,i),yt(i,"block")):e.text?(i.textContent=e.text,yt(i,"block")):_t(i),ie(t,e),ut(W(),e,"content")},he=function(t,e){var i=et();Mt(i,e.footer),e.footer&&zt(e.footer,i),ut(i,e,"footer")},ue=function(t,e){var i=nt();lt(i,e.closeButtonHtml),ut(i,e,"closeButton"),Mt(i,e.showCloseButton),i.setAttribute("aria-label",e.closeButtonAriaLabel)},Ae=function(t,e){var i=te.innerParams.get(t),n=B();return i&&e.icon===i.icon?(pe(n,e),void Ce(n,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(j).indexOf(e.icon)?(b('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),_t(n)):(yt(n),pe(n,e),Ce(n,e),void ft(n,e.showClass.icon)):_t(n)},Ce=function(t,e){for(var i in j)e.icon!==i&&mt(t,j[i]);ft(t,j[e.icon]),fe(t,e),Ie(),ut(t,e,"icon")},Ie=function(){for(var t=H(),e=window.getComputedStyle(t).getPropertyValue("background-color"),i=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),n=0;n\n \n
    \n
    \n ');else if("error"===e.icon)lt(t,'\n \n \n \n \n ');else{var i={question:"?",warning:"!",info:"i"};lt(t,me(i[e.icon]))}},fe=function(t,e){if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(var i=0,n=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];i').concat(t,"")},ve=function(t,e){var i=G();if(!e.imageUrl)return _t(i);yt(i,""),i.setAttribute("src",e.imageUrl),i.setAttribute("alt",e.imageAlt),bt(i,"width",e.imageWidth),bt(i,"height",e.imageHeight),i.className=P.image,ut(i,e,"image")},be=[],ye=function(t){var e=this;be=t;var i=function(t,e){be=[],t(e)},n=[];return new Promise((function(t){(function o(s,r){s=e.progressSteps.length&&v("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((function(t,o){var s=xe(t);if(i.appendChild(s),o===n&&ft(s,P["active-progress-step"]),o!==e.progressSteps.length-1){var r=ke(e);i.appendChild(r)}}))},Te=function(t,e){var i=z();Mt(i,e.title||e.titleText),e.title&&zt(e.title,i),e.titleText&&(i.innerText=e.titleText),ut(i,e,"title")},Le=function(t,e){var i=tt();ut(i,e,"header"),De(t,e),Ae(t,e),ve(t,e),Te(t,e),ue(t,e)},Oe=function(t,e){var i=N(),n=H();e.toast?(bt(i,"width",e.width),n.style.width="100%"):bt(n,"width",e.width),bt(n,"padding",e.padding),e.background&&(n.style.background=e.background),Se(n,e)},Se=function(t,e){t.className="".concat(P.popup," ").concat(xt(t)?e.showClass.popup:""),e.toast?(ft([document.documentElement,document.body],P["toast-shown"]),ft(t,P.toast)):ft(t,P.modal),ut(t,e,"popup"),"string"===typeof e.customClass&&ft(t,e.customClass),e.icon&&ft(t,P["icon-".concat(e.icon)])},Ye=function(t,e){Oe(t,e),$t(t,e),Le(t,e),ce(t,e),Ut(t,e),he(t,e),"function"===typeof e.didRender?e.didRender(H()):"function"===typeof e.onRender&&e.onRender(H())},Ee=function(){return xt(H())},Pe=function(){return K()&&K().click()},je=function(){return X()&&X().click()},Ne=function(){return q()&&q().click()};function Re(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:"data-swal-template";qe[t]=this,Qe||(document.body.addEventListener("click",ti),Qe=!0)}var ti=function(t){for(var e=t.target;e&&e!==document;e=e.parentNode)for(var i in qe){var n=e.getAttribute(i);if(n)return void qe[i].fire({template:n})}},ei={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,willOpen:void 0,didOpen:void 0,onRender:void 0,didRender:void 0,onClose:void 0,onAfterClose:void 0,willClose:void 0,didClose:void 0,onDestroy:void 0,didDestroy:void 0,scrollbarPadding:!0},ii=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],ni={animation:'showClass" and "hideClass',onBeforeOpen:"willOpen",onOpen:"didOpen",onRender:"didRender",onClose:"willClose",onAfterClose:"didClose",onDestroy:"didDestroy"},oi=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","heightAuto","keydownListenerCapture"],si=function(t){return Object.prototype.hasOwnProperty.call(ei,t)},ri=function(t){return-1!==ii.indexOf(t)},ai=function(t){return ni[t]},gi=function(t){si(t)||v('Unknown parameter "'.concat(t,'"'))},di=function(t){-1!==oi.indexOf(t)&&v('The parameter "'.concat(t,'" is incompatible with toasts'))},li=function(t){ai(t)&&w(t,ai(t))},ci=function(t){for(var e in t)gi(e),t.toast&&di(e),li(e)},hi=Object.freeze({isValidParameter:si,isUpdatableParameter:ri,isDeprecatedParameter:ai,argsToParams:S,isVisible:Ee,clickConfirm:Pe,clickDeny:je,clickCancel:Ne,getContainer:N,getPopup:H,getTitle:z,getContent:W,getHtmlContainer:V,getImage:G,getIcon:B,getInputLabel:J,getCloseButton:nt,getActions:$,getConfirmButton:K,getDenyButton:X,getCancelButton:q,getLoader:Q,getHeader:tt,getFooter:et,getTimerProgressBar:it,getFocusableElements:st,getValidationMessage:U,isLoading:gt,fire:Re,mixin:Fe,queue:ye,getQueueStep:_e,insertQueueStep:we,deleteQueueStep:Me,showLoading:He,enableLoading:He,getTimerLeft:Ge,stopTimer:Ze,resumeTimer:Ue,toggleTimer:Ke,increaseTimer:Xe,isTimerRunning:Je,bindClickHandler:$e});function ui(){var t=te.innerParams.get(this);if(t){var e=te.domCache.get(this);_t(e.loader);var i=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));i.length?yt(i[0],"inline-block"):kt()&&_t(e.actions),mt([e.popup,e.actions],P.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}}function Ai(t){var e=te.innerParams.get(t||this),i=te.domCache.get(t||this);return i?At(i.content,e.input):null}var Ci=function(){null===dt.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(dt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(dt.previousBodyPadding+Zt(),"px"))},Ii=function(){null!==dt.previousBodyPadding&&(document.body.style.paddingRight="".concat(dt.previousBodyPadding,"px"),dt.previousBodyPadding=null)},pi=function(){var t=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;if(t&&!ct(document.body,P.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),ft(document.body,P.iosfix),mi(),fi()}},fi=function(){var t=!navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i);if(t){var e=44;H().scrollHeight>window.innerHeight-e&&(N().style.paddingBottom="".concat(e,"px"))}},mi=function(){var t,e=N();e.ontouchstart=function(e){t=vi(e)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},vi=function(t){var e=t.target,i=N();return!bi(t)&&!yi(t)&&(e===i||!(Dt(i)||"INPUT"===e.tagName||Dt(W())&&W().contains(e)))},bi=function(t){return t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType},yi=function(t){return t.touches&&t.touches.length>1},_i=function(){if(ct(document.body,P.iosfix)){var t=parseInt(document.body.style.top,10);mt(document.body,P.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},wi=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Mi=function(){var t=N(),e=H();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},xi=function(){"undefined"!==typeof window&&wi()&&(Mi(),window.addEventListener("resize",Mi))},ki=function(){"undefined"!==typeof window&&wi()&&window.removeEventListener("resize",Mi)},Di=function(){var t=m(document.body.children);t.forEach((function(t){t===N()||Lt(t,N())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))},Ti=function(){var t=m(document.body.children);t.forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Li={swalPromiseResolve:new WeakMap};function Oi(t,e,i,n){i?Ri(t,n):(Ve().then((function(){return Ri(t,n)})),ze.keydownTarget.removeEventListener("keydown",ze.keydownHandler,{capture:ze.keydownListenerCapture}),ze.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),rt()&&(Ii(),_i(),ki(),Ti()),Si()}function Si(){mt([document.documentElement,document.body],[P.shown,P["height-auto"],P["no-backdrop"],P["toast-shown"],P["toast-column"]])}function Yi(t){var e=H();if(e){t=Ei(t);var i=te.innerParams.get(this);if(i&&!ct(e,i.hideClass.popup)){var n=Li.swalPromiseResolve.get(this);mt(e,i.showClass.popup),ft(e,i.hideClass.popup);var o=N();mt(o,i.showClass.backdrop),ft(o,i.hideClass.backdrop),Pi(this,e,i),n(t)}}}var Ei=function(t){return"undefined"===typeof t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:o({isConfirmed:!1,isDenied:!1,isDismissed:!1},t)},Pi=function(t,e,i){var n=N(),o=Gt&&Tt(e),s=i.onClose,r=i.onAfterClose,a=i.willClose,g=i.didClose;ji(e,a,s),o?Ni(t,e,n,g||r):Oi(t,n,at(),g||r)},ji=function(t,e,i){null!==e&&"function"===typeof e?e(t):null!==i&&"function"===typeof i&&i(t)},Ni=function(t,e,i,n){ze.swalCloseEventFinishedCallback=Oi.bind(null,t,i,at(),n),e.addEventListener(Gt,(function(t){t.target===e&&(ze.swalCloseEventFinishedCallback(),delete ze.swalCloseEventFinishedCallback)}))},Ri=function(t,e){setTimeout((function(){"function"===typeof e&&e(),t._destroy()}))};function Fi(t,e,i){var n=te.domCache.get(t);e.forEach((function(t){n[t].disabled=i}))}function Hi(t,e){if(!t)return!1;if("radio"===t.type)for(var i=t.parentNode.parentNode,n=i.querySelectorAll("input"),o=0;o")),Bt(t)}var $i=["swal-title","swal-html","swal-footer"],tn=function(t){var e="string"===typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};var i=e.content||e;gn(i);var n=o(en(i),nn(i),on(i),sn(i),rn(i),an(i,$i));return n},en=function(e){var i={};return m(e.querySelectorAll("swal-param")).forEach((function(e){dn(e,["name","value"]);var n=e.getAttribute("name"),o=e.getAttribute("value");"boolean"===typeof ei[n]&&"false"===o&&(o=!1),"object"===t(ei[n])&&(o=JSON.parse(o)),i[n]=o})),i},nn=function(t){var e={};return m(t.querySelectorAll("swal-button")).forEach((function(t){dn(t,["type","color","aria-label"]);var i=t.getAttribute("type");e["".concat(i,"ButtonText")]=t.innerHTML,e["show".concat(p(i),"Button")]=!0,t.hasAttribute("color")&&(e["".concat(i,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(e["".concat(i,"ButtonAriaLabel")]=t.getAttribute("aria-label"))})),e},on=function(t){var e={},i=t.querySelector("swal-image");return i&&(dn(i,["src","width","height","alt"]),i.hasAttribute("src")&&(e.imageUrl=i.getAttribute("src")),i.hasAttribute("width")&&(e.imageWidth=i.getAttribute("width")),i.hasAttribute("height")&&(e.imageHeight=i.getAttribute("height")),i.hasAttribute("alt")&&(e.imageAlt=i.getAttribute("alt"))),e},sn=function(t){var e={},i=t.querySelector("swal-icon");return i&&(dn(i,["type","color"]),i.hasAttribute("type")&&(e.icon=i.getAttribute("type")),i.hasAttribute("color")&&(e.iconColor=i.getAttribute("color")),e.iconHtml=i.innerHTML),e},rn=function(t){var e={},i=t.querySelector("swal-input");i&&(dn(i,["type","label","placeholder","value"]),e.input=i.getAttribute("type")||"text",i.hasAttribute("label")&&(e.inputLabel=i.getAttribute("label")),i.hasAttribute("placeholder")&&(e.inputPlaceholder=i.getAttribute("placeholder")),i.hasAttribute("value")&&(e.inputValue=i.getAttribute("value")));var n=t.querySelectorAll("swal-input-option");return n.length&&(e.inputOptions={},m(n).forEach((function(t){dn(t,["value"]);var i=t.getAttribute("value"),n=t.innerHTML;e.inputOptions[i]=n}))),e},an=function(t,e){var i={};for(var n in e){var o=e[n],s=t.querySelector(o);s&&(dn(s,[]),i[o.replace(/^swal-/,"")]=s.innerHTML)}return i},gn=function(t){var e=$i.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);m(t.querySelectorAll("*")).forEach((function(i){if(i.parentNode===t){var n=i.tagName.toLowerCase();-1===e.indexOf(n)&&v("Unrecognized element <".concat(n,">"))}}))},dn=function(t,e){m(t.attributes).forEach((function(i){-1===e.indexOf(i.name)&&v(['Unrecognized attribute "'.concat(i.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])}))},ln=10,cn=function(t){var e=N(),i=H();"function"===typeof t.willOpen?t.willOpen(i):"function"===typeof t.onBeforeOpen&&t.onBeforeOpen(i);var n=window.getComputedStyle(document.body),o=n.overflowY;In(e,i,t),setTimeout((function(){An(e,i)}),ln),rt()&&(Cn(e,t.scrollbarPadding,o),Di()),at()||ze.previousActiveElement||(ze.previousActiveElement=document.activeElement),hn(i,t),mt(e,P["no-transition"])},hn=function(t,e){"function"===typeof e.didOpen?setTimeout((function(){return e.didOpen(t)})):"function"===typeof e.onOpen&&setTimeout((function(){return e.onOpen(t)}))},un=function t(e){var i=H();if(e.target===i){var n=N();i.removeEventListener(Gt,t),n.style.overflowY="auto"}},An=function(t,e){Gt&&Tt(e)?(t.style.overflowY="hidden",e.addEventListener(Gt,un)):t.style.overflowY="auto"},Cn=function(t,e,i){pi(),xi(),e&&"hidden"!==i&&Ci(),setTimeout((function(){t.scrollTop=0}))},In=function(t,e,i){ft(t,i.showClass.backdrop),e.style.setProperty("opacity","0","important"),yt(e),setTimeout((function(){ft(e,i.showClass.popup),e.style.removeProperty("opacity")}),ln),ft([document.documentElement,document.body],P.shown),i.heightAuto&&i.backdrop&&!i.toast&&ft([document.documentElement,document.body],P["height-auto"])},pn=function(t,e){"select"===e.input||"radio"===e.input?yn(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&(x(e.inputValue)||D(e.inputValue))&&_n(t,e)},fn=function(t,e){var i=t.getInput();if(!i)return null;switch(e.input){case"checkbox":return mn(i);case"radio":return vn(i);case"file":return bn(i);default:return e.inputAutoTrim?i.value.trim():i.value}},mn=function(t){return t.checked?1:0},vn=function(t){return t.checked?t.value:null},bn=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},yn=function(e,i){var n=W(),o=function(t){return wn[i.input](n,Mn(t),i)};x(i.inputOptions)||D(i.inputOptions)?(He(K()),k(i.inputOptions).then((function(t){e.hideLoading(),o(t)}))):"object"===t(i.inputOptions)?o(i.inputOptions):b("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(i.inputOptions)))},_n=function(t,e){var i=t.getInput();_t(i),k(e.inputValue).then((function(n){i.value="number"===e.input?parseFloat(n)||0:"".concat(n),yt(i),i.focus(),t.hideLoading()}))["catch"]((function(e){b("Error in inputValue promise: ".concat(e)),i.value="",yt(i),i.focus(),t.hideLoading()}))},wn={select:function(t,e,i){var n=vt(t,P.select),o=function(t,e,n){var o=document.createElement("option");o.value=n,lt(o,e),o.selected=xn(n,i.inputValue),t.appendChild(o)};e.forEach((function(t){var e=t[0],i=t[1];if(Array.isArray(i)){var s=document.createElement("optgroup");s.label=e,s.disabled=!1,n.appendChild(s),i.forEach((function(t){return o(s,t[1],t[0])}))}else o(n,i,e)})),n.focus()},radio:function(t,e,i){var n=vt(t,P.radio);e.forEach((function(t){var e=t[0],o=t[1],s=document.createElement("input"),r=document.createElement("label");s.type="radio",s.name=P.radio,s.value=e,xn(e,i.inputValue)&&(s.checked=!0);var a=document.createElement("span");lt(a,o),a.className=P.label,r.appendChild(s),r.appendChild(a),n.appendChild(r)}));var o=n.querySelectorAll("input");o.length&&o[0].focus()}},Mn=function e(i){var n=[];return"undefined"!==typeof Map&&i instanceof Map?i.forEach((function(i,o){var s=i;"object"===t(s)&&(s=e(s)),n.push([o,s])})):Object.keys(i).forEach((function(o){var s=i[o];"object"===t(s)&&(s=e(s)),n.push([o,s])})),n},xn=function(t,e){return e&&e.toString()===t.toString()},kn=function(t,e){t.disableButtons(),e.input?Ln(t,e,"confirm"):En(t,e,!0)},Dn=function(t,e){t.disableButtons(),e.returnInputValueOnDeny?Ln(t,e,"deny"):Sn(t,e,!1)},Tn=function(t,e){t.disableButtons(),e(T.cancel)},Ln=function(t,e,i){var n=fn(t,e);e.inputValidator?On(t,e,n):t.getInput().checkValidity()?"deny"===i?Sn(t,e,n):En(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},On=function(t,e,i){t.disableInput();var n=Promise.resolve().then((function(){return k(e.inputValidator(i,e.validationMessage))}));n.then((function(n){t.enableButtons(),t.enableInput(),n?t.showValidationMessage(n):En(t,e,i)}))},Sn=function(t,e,i){if(e.showLoaderOnDeny&&He(X()),e.preDeny){var n=Promise.resolve().then((function(){return k(e.preDeny(i,e.validationMessage))}));n.then((function(e){!1===e?t.hideLoading():t.closePopup({isDenied:!0,value:"undefined"===typeof e?i:e})}))}else t.closePopup({isDenied:!0,value:i})},Yn=function(t,e){t.closePopup({isConfirmed:!0,value:e})},En=function(t,e,i){if(e.showLoaderOnConfirm&&He(),e.preConfirm){t.resetValidationMessage();var n=Promise.resolve().then((function(){return k(e.preConfirm(i,e.validationMessage))}));n.then((function(e){xt(U())||!1===e?t.hideLoading():Yn(t,"undefined"===typeof e?i:e)}))}else Yn(t,i)},Pn=function(t,e,i,n){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),i.toast||(e.keydownHandler=function(e){return Hn(t,e,n)},e.keydownTarget=i.keydownListenerCapture?window:H(),e.keydownListenerCapture=i.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},jn=function(t,e,i){var n=st();if(n.length)return e+=i,e===n.length?e=0:-1===e&&(e=n.length-1),n[e].focus();H().focus()},Nn=["ArrowRight","ArrowDown","Right","Down"],Rn=["ArrowLeft","ArrowUp","Left","Up"],Fn=["Escape","Esc"],Hn=function(t,e,i){var n=te.innerParams.get(t);n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?Bn(t,e,n):"Tab"===e.key?zn(e,n):-1!==[].concat(Nn,Rn).indexOf(e.key)?Wn(e.key):-1!==Fn.indexOf(e.key)&&Vn(e,n,i)},Bn=function(t,e,i){if(!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(i.input))return;Pe(),e.preventDefault()}},zn=function(t,e){for(var i=t.target,n=st(),o=-1,s=0;s1&&void 0!==arguments[1]?arguments[1]:{};ci(o({},e,t)),ze.currentInstance&&ze.currentInstance._destroy(),ze.currentInstance=this;var i=qn(t,e);qi(i),Object.freeze(i),ze.timeout&&(ze.timeout.stop(),delete ze.timeout),clearTimeout(ze.restoreFocusTimeout);var n=to(this);return Ye(this,i),te.innerParams.set(this,i),$n(this,n,i)}var qn=function(t,e){var i=tn(t),n=o({},ei.showClass,e.showClass,i.showClass,t.showClass),s=o({},ei.hideClass,e.hideClass,i.hideClass,t.hideClass),r=o({},ei,e,i,t);return r.showClass=n,r.hideClass=s,!1===t.animation&&(r.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},r.hideClass={}),r},$n=function(t,e,i){return new Promise((function(n){var o=function(e){t.closePopup({isDismissed:!0,dismiss:e})};Li.swalPromiseResolve.set(t,n),e.confirmButton.onclick=function(){return kn(t,i)},e.denyButton.onclick=function(){return Dn(t,i)},e.cancelButton.onclick=function(){return Tn(t,o)},e.closeButton.onclick=function(){return o(T.close)},Gn(t,e,o),Pn(t,ze,i,o),i.toast&&(i.input||i.footer||i.showCloseButton)?ft(document.body,P["toast-column"]):mt(document.body,P["toast-column"]),pn(t,i),cn(i),eo(ze,i,o),io(e,i),setTimeout((function(){e.container.scrollTop=0}))}))},to=function(t){var e={popup:H(),container:N(),content:W(),actions:$(),confirmButton:K(),denyButton:X(),cancelButton:q(),loader:Q(),closeButton:nt(),validationMessage:U(),progressSteps:Z()};return te.domCache.set(t,e),e},eo=function(t,e,i){var n=it();_t(n),e.timer&&(t.timeout=new Ki((function(){i("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(yt(n),setTimeout((function(){t.timeout&&t.timeout.running&&Ot(e.timer)}))))},io=function(t,e){if(!e.toast)return M(e.allowEnterKey)?void(no(t,e)||jn(e,-1,1)):oo()},no=function(t,e){return e.focusDeny&&xt(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&xt(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!xt(t.confirmButton))&&(t.confirmButton.focus(),!0)},oo=function(){document.activeElement&&"function"===typeof document.activeElement.blur&&document.activeElement.blur()};function so(t){var e=H(),i=te.innerParams.get(this);if(!e||ct(e,i.hideClass.popup))return v("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var n={};Object.keys(t).forEach((function(e){Ao.isUpdatableParameter(e)?n[e]=t[e]:v('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}));var s=o({},i,n);Ye(this,s),te.innerParams.set(this,s),Object.defineProperties(this,{params:{value:o({},this.params,t),writable:!1,enumerable:!0}})}function ro(){var t=te.domCache.get(this),e=te.innerParams.get(this);e&&(t.popup&&ze.swalCloseEventFinishedCallback&&(ze.swalCloseEventFinishedCallback(),delete ze.swalCloseEventFinishedCallback),ze.deferDisposalTimer&&(clearTimeout(ze.deferDisposalTimer),delete ze.deferDisposalTimer),go(e),lo(this))}var ao,go=function(t){"function"===typeof t.didDestroy?t.didDestroy():"function"===typeof t.onDestroy&&t.onDestroy()},lo=function(t){delete t.params,delete ze.keydownHandler,delete ze.keydownTarget,co(te),co(Li)},co=function(t){for(var e in t)t[e]=new WeakMap},ho=Object.freeze({hideLoading:ui,disableLoading:ui,getInput:Ai,close:Yi,closePopup:Yi,closeModal:Yi,closeToast:Yi,enableButtons:Bi,disableButtons:zi,enableInput:Wi,disableInput:Vi,showValidationMessage:Gi,resetValidationMessage:Zi,getProgressSteps:Ui,_main:Qn,update:so,_destroy:ro}),uo=function(){function t(){if(e(this,t),"undefined"!==typeof window){"undefined"===typeof Promise&&b("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),ao=this;for(var i=arguments.length,n=new Array(i),o=0;oe?1:t1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},_t=function(t){t.style.display="none"},wt=function(t,e,i,n){var o=t.querySelector(e);o&&(o.style[i]=n)},Mt=function(t,e,i){e?yt(t,i):_t(t)},xt=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},kt=function(){return!xt(K())&&!xt(X())&&!xt(q())},Dt=function(t){return!!(t.scrollHeight>t.clientHeight)},Tt=function(t){var e=window.getComputedStyle(t),i=parseFloat(e.getPropertyValue("animation-duration")||"0"),n=parseFloat(e.getPropertyValue("transition-duration")||"0");return i>0||n>0},Lt=function(t,e){if("function"===typeof t.contains)return t.contains(e)},Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=it();xt(i)&&(e&&(i.style.transition="none",i.style.width="100%"),setTimeout((function(){i.style.transition="width ".concat(t/1e3,"s linear"),i.style.width="0%"}),10))},St=function(){var t=it(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var i=parseInt(window.getComputedStyle(t).width),n=parseInt(e/i*100);t.style.removeProperty("transition"),t.style.width="".concat(n,"%")},Yt=function(){return"undefined"===typeof window||"undefined"===typeof document},Et='\n
    \n
    \n
      \n
      \n \n

      \n \n
      \n
      \n
      \n \n \n
      \n \n \n
      \n \n
      \n \n \n
      \n
      \n
      \n
      \n \n \n \n
      \n
      \n
      \n
      \n
      \n
      \n').replace(/(^|\n)\s*/g,""),Pt=function(){var t=N();return!!t&&(t.parentNode.removeChild(t),mt([document.documentElement,document.body],[P["no-backdrop"],P["toast-shown"],P["has-column"]]),!0)},jt=function(t){Ao.isVisible()&&Ct!==t.target.value&&Ao.resetValidationMessage(),Ct=t.target.value},Nt=function(){var t=W(),e=vt(t,P.input),i=vt(t,P.file),n=t.querySelector(".".concat(P.range," input")),o=t.querySelector(".".concat(P.range," output")),s=vt(t,P.select),r=t.querySelector(".".concat(P.checkbox," input")),a=vt(t,P.textarea);e.oninput=jt,i.onchange=jt,s.onchange=jt,r.onchange=jt,a.oninput=jt,n.oninput=function(t){jt(t),o.value=n.value},n.onchange=function(t){jt(t),n.nextSibling.value=n.value}},Rt=function(t){return"string"===typeof t?document.querySelector(t):t},Ft=function(t){var e=H();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},Ht=function(t){"rtl"===window.getComputedStyle(t).direction&&ft(N(),P.rtl)},Bt=function(t){var e=Pt();if(Yt())b("SweetAlert2 requires document to initialize");else{var i=document.createElement("div");i.className=P.container,e&&ft(i,P["no-transition"]),lt(i,Et);var n=Rt(t.target);n.appendChild(i),Ft(t),Ht(n),Nt()}},zt=function(e,i){e instanceof HTMLElement?i.appendChild(e):"object"===t(e)?Wt(e,i):e&<(i,e)},Wt=function(t,e){t.jquery?Vt(e,t):lt(e,t.toString())},Vt=function(t,e){if(t.textContent="",0 in e)for(var i=0;i in e;i++)t.appendChild(e[i].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},Gt=function(){if(Yt())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&"undefined"!==typeof t.style[i])return e[i];return!1}(),Zt=function(){var t=document.createElement("div");t.className=P["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},Ut=function(t,e){var i=$(),n=Q(),o=K(),s=X(),r=q();e.showConfirmButton||e.showDenyButton||e.showCancelButton||_t(i),ut(i,e,"actions"),Xt(o,"confirm",e),Xt(s,"deny",e),Xt(r,"cancel",e),Kt(o,s,r,e),e.reverseButtons&&(i.insertBefore(r,n),i.insertBefore(s,n),i.insertBefore(o,n)),lt(n,e.loaderHtml),ut(n,e,"loader")};function Kt(t,e,i,n){if(!n.buttonsStyling)return mt([t,e,i],P.styled);ft([t,e,i],P.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.denyButtonColor&&(e.style.backgroundColor=n.denyButtonColor),n.cancelButtonColor&&(i.style.backgroundColor=n.cancelButtonColor)}function Xt(t,e,i){Mt(t,i["show".concat(p(e),"Button")],"inline-block"),lt(t,i["".concat(e,"ButtonText")]),t.setAttribute("aria-label",i["".concat(e,"ButtonAriaLabel")]),t.className=P[e],ut(t,i,"".concat(e,"Button")),ft(t,i["".concat(e,"ButtonClass")])}function Jt(t,e){"string"===typeof e?t.style.background=e:e||ft([document.documentElement,document.body],P["no-backdrop"])}function Qt(t,e){e in P?ft(t,P[e]):(v('The "position" parameter is not valid, defaulting to "center"'),ft(t,P.center))}function qt(t,e){if(e&&"string"===typeof e){var i="grow-".concat(e);i in P&&ft(t,P[i])}}var $t=function(t,e){var i=N();if(i){Jt(i,e.backdrop),!e.backdrop&&e.allowOutsideClick&&v('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),Qt(i,e.position),qt(i,e.grow),ut(i,e,"container");var n=document.body.getAttribute("data-swal2-queue-step");n&&(i.setAttribute("data-queue-step",n),document.body.removeAttribute("data-swal2-queue-step"))}},te={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},ee=["input","file","range","select","radio","checkbox","textarea"],ie=function(t,e){var i=W(),n=te.innerParams.get(t),o=!n||e.input!==n.input;ee.forEach((function(t){var n=P[t],s=vt(i,n);se(t,e.inputAttributes),s.className=n,o&&_t(s)})),e.input&&(o&&ne(e),re(e))},ne=function(t){if(!le[t.input])return b('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=de(t.input),i=le[t.input](e,t);yt(i),setTimeout((function(){It(i)}))},oe=function(t){for(var e=0;en?"".concat(e,"px"):null};new MutationObserver(o).observe(t,{attributes:!0,attributeFilter:["style"]})}return t};var ce=function(t,e){var i=V();ut(i,e,"htmlContainer"),e.html?(zt(e.html,i),yt(i,"block")):e.text?(i.textContent=e.text,yt(i,"block")):_t(i),ie(t,e),ut(W(),e,"content")},he=function(t,e){var i=et();Mt(i,e.footer),e.footer&&zt(e.footer,i),ut(i,e,"footer")},ue=function(t,e){var i=nt();lt(i,e.closeButtonHtml),ut(i,e,"closeButton"),Mt(i,e.showCloseButton),i.setAttribute("aria-label",e.closeButtonAriaLabel)},Ae=function(t,e){var i=te.innerParams.get(t),n=B();return i&&e.icon===i.icon?(pe(n,e),void Ce(n,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(j).indexOf(e.icon)?(b('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),_t(n)):(yt(n),pe(n,e),Ce(n,e),void ft(n,e.showClass.icon)):_t(n)},Ce=function(t,e){for(var i in j)e.icon!==i&&mt(t,j[i]);ft(t,j[e.icon]),fe(t,e),Ie(),ut(t,e,"icon")},Ie=function(){for(var t=H(),e=window.getComputedStyle(t).getPropertyValue("background-color"),i=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),n=0;n\n \n
      \n
      \n ');else if("error"===e.icon)lt(t,'\n \n \n \n \n ');else{var i={question:"?",warning:"!",info:"i"};lt(t,me(i[e.icon]))}},fe=function(t,e){if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(var i=0,n=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];i').concat(t,"")},ve=function(t,e){var i=G();if(!e.imageUrl)return _t(i);yt(i,""),i.setAttribute("src",e.imageUrl),i.setAttribute("alt",e.imageAlt),bt(i,"width",e.imageWidth),bt(i,"height",e.imageHeight),i.className=P.image,ut(i,e,"image")},be=[],ye=function(t){var e=this;be=t;var i=function(t,e){be=[],t(e)},n=[];return new Promise((function(t){(function o(s,r){s=e.progressSteps.length&&v("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((function(t,o){var s=xe(t);if(i.appendChild(s),o===n&&ft(s,P["active-progress-step"]),o!==e.progressSteps.length-1){var r=ke(e);i.appendChild(r)}}))},Te=function(t,e){var i=z();Mt(i,e.title||e.titleText),e.title&&zt(e.title,i),e.titleText&&(i.innerText=e.titleText),ut(i,e,"title")},Le=function(t,e){var i=tt();ut(i,e,"header"),De(t,e),Ae(t,e),ve(t,e),Te(t,e),ue(t,e)},Oe=function(t,e){var i=N(),n=H();e.toast?(bt(i,"width",e.width),n.style.width="100%"):bt(n,"width",e.width),bt(n,"padding",e.padding),e.background&&(n.style.background=e.background),_t(U()),Se(n,e)},Se=function(t,e){t.className="".concat(P.popup," ").concat(xt(t)?e.showClass.popup:""),e.toast?(ft([document.documentElement,document.body],P["toast-shown"]),ft(t,P.toast)):ft(t,P.modal),ut(t,e,"popup"),"string"===typeof e.customClass&&ft(t,e.customClass),e.icon&&ft(t,P["icon-".concat(e.icon)])},Ye=function(t,e){Oe(t,e),$t(t,e),Le(t,e),ce(t,e),Ut(t,e),he(t,e),"function"===typeof e.didRender?e.didRender(H()):"function"===typeof e.onRender&&e.onRender(H())},Ee=function(){return xt(H())},Pe=function(){return K()&&K().click()},je=function(){return X()&&X().click()},Ne=function(){return q()&&q().click()};function Re(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:"data-swal-template";qe[t]=this,Qe||(document.body.addEventListener("click",ti),Qe=!0)}var ti=function(t){for(var e=t.target;e&&e!==document;e=e.parentNode)for(var i in qe){var n=e.getAttribute(i);if(n)return void qe[i].fire({template:n})}},ei={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,willOpen:void 0,didOpen:void 0,onRender:void 0,didRender:void 0,onClose:void 0,onAfterClose:void 0,willClose:void 0,didClose:void 0,onDestroy:void 0,didDestroy:void 0,scrollbarPadding:!0},ii=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],ni={animation:'showClass" and "hideClass',onBeforeOpen:"willOpen",onOpen:"didOpen",onRender:"didRender",onClose:"willClose",onAfterClose:"didClose",onDestroy:"didDestroy"},oi=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","heightAuto","keydownListenerCapture"],si=function(t){return Object.prototype.hasOwnProperty.call(ei,t)},ri=function(t){return-1!==ii.indexOf(t)},ai=function(t){return ni[t]},gi=function(t){si(t)||v('Unknown parameter "'.concat(t,'"'))},di=function(t){-1!==oi.indexOf(t)&&v('The parameter "'.concat(t,'" is incompatible with toasts'))},li=function(t){ai(t)&&w(t,ai(t))},ci=function(t){for(var e in t)gi(e),t.toast&&di(e),li(e)},hi=Object.freeze({isValidParameter:si,isUpdatableParameter:ri,isDeprecatedParameter:ai,argsToParams:S,isVisible:Ee,clickConfirm:Pe,clickDeny:je,clickCancel:Ne,getContainer:N,getPopup:H,getTitle:z,getContent:W,getHtmlContainer:V,getImage:G,getIcon:B,getInputLabel:J,getCloseButton:nt,getActions:$,getConfirmButton:K,getDenyButton:X,getCancelButton:q,getLoader:Q,getHeader:tt,getFooter:et,getTimerProgressBar:it,getFocusableElements:st,getValidationMessage:U,isLoading:gt,fire:Re,mixin:Fe,queue:ye,getQueueStep:_e,insertQueueStep:we,deleteQueueStep:Me,showLoading:He,enableLoading:He,getTimerLeft:Ge,stopTimer:Ze,resumeTimer:Ue,toggleTimer:Ke,increaseTimer:Xe,isTimerRunning:Je,bindClickHandler:$e});function ui(){var t=te.innerParams.get(this);if(t){var e=te.domCache.get(this);_t(e.loader);var i=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));i.length?yt(i[0],"inline-block"):kt()&&_t(e.actions),mt([e.popup,e.actions],P.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}}function Ai(t){var e=te.innerParams.get(t||this),i=te.domCache.get(t||this);return i?At(i.content,e.input):null}var Ci=function(){null===dt.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(dt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(dt.previousBodyPadding+Zt(),"px"))},Ii=function(){null!==dt.previousBodyPadding&&(document.body.style.paddingRight="".concat(dt.previousBodyPadding,"px"),dt.previousBodyPadding=null)},pi=function(){var t=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;if(t&&!ct(document.body,P.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),ft(document.body,P.iosfix),mi(),fi()}},fi=function(){var t=!navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i);if(t){var e=44;H().scrollHeight>window.innerHeight-e&&(N().style.paddingBottom="".concat(e,"px"))}},mi=function(){var t,e=N();e.ontouchstart=function(e){t=vi(e)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},vi=function(t){var e=t.target,i=N();return!bi(t)&&!yi(t)&&(e===i||!(Dt(i)||"INPUT"===e.tagName||Dt(W())&&W().contains(e)))},bi=function(t){return t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType},yi=function(t){return t.touches&&t.touches.length>1},_i=function(){if(ct(document.body,P.iosfix)){var t=parseInt(document.body.style.top,10);mt(document.body,P.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},wi=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Mi=function(){var t=N(),e=H();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},xi=function(){"undefined"!==typeof window&&wi()&&(Mi(),window.addEventListener("resize",Mi))},ki=function(){"undefined"!==typeof window&&wi()&&window.removeEventListener("resize",Mi)},Di=function(){var t=m(document.body.children);t.forEach((function(t){t===N()||Lt(t,N())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))},Ti=function(){var t=m(document.body.children);t.forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Li={swalPromiseResolve:new WeakMap};function Oi(t,e,i,n){i?Ri(t,n):(Ve().then((function(){return Ri(t,n)})),ze.keydownTarget.removeEventListener("keydown",ze.keydownHandler,{capture:ze.keydownListenerCapture}),ze.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),rt()&&(Ii(),_i(),ki(),Ti()),Si()}function Si(){mt([document.documentElement,document.body],[P.shown,P["height-auto"],P["no-backdrop"],P["toast-shown"],P["toast-column"]])}function Yi(t){var e=H();if(e){t=Ei(t);var i=te.innerParams.get(this);if(i&&!ct(e,i.hideClass.popup)){var n=Li.swalPromiseResolve.get(this);mt(e,i.showClass.popup),ft(e,i.hideClass.popup);var o=N();mt(o,i.showClass.backdrop),ft(o,i.hideClass.backdrop),Pi(this,e,i),n(t)}}}var Ei=function(t){return"undefined"===typeof t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:o({isConfirmed:!1,isDenied:!1,isDismissed:!1},t)},Pi=function(t,e,i){var n=N(),o=Gt&&Tt(e),s=i.onClose,r=i.onAfterClose,a=i.willClose,g=i.didClose;ji(e,a,s),o?Ni(t,e,n,g||r):Oi(t,n,at(),g||r)},ji=function(t,e,i){null!==e&&"function"===typeof e?e(t):null!==i&&"function"===typeof i&&i(t)},Ni=function(t,e,i,n){ze.swalCloseEventFinishedCallback=Oi.bind(null,t,i,at(),n),e.addEventListener(Gt,(function(t){t.target===e&&(ze.swalCloseEventFinishedCallback(),delete ze.swalCloseEventFinishedCallback)}))},Ri=function(t,e){setTimeout((function(){"function"===typeof e&&e(),t._destroy()}))};function Fi(t,e,i){var n=te.domCache.get(t);e.forEach((function(t){n[t].disabled=i}))}function Hi(t,e){if(!t)return!1;if("radio"===t.type)for(var i=t.parentNode.parentNode,n=i.querySelectorAll("input"),o=0;o")),Bt(t)}var $i=["swal-title","swal-html","swal-footer"],tn=function(t){var e="string"===typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};var i=e.content||e;gn(i);var n=o(en(i),nn(i),on(i),sn(i),rn(i),an(i,$i));return n},en=function(e){var i={};return m(e.querySelectorAll("swal-param")).forEach((function(e){dn(e,["name","value"]);var n=e.getAttribute("name"),o=e.getAttribute("value");"boolean"===typeof ei[n]&&"false"===o&&(o=!1),"object"===t(ei[n])&&(o=JSON.parse(o)),i[n]=o})),i},nn=function(t){var e={};return m(t.querySelectorAll("swal-button")).forEach((function(t){dn(t,["type","color","aria-label"]);var i=t.getAttribute("type");e["".concat(i,"ButtonText")]=t.innerHTML,e["show".concat(p(i),"Button")]=!0,t.hasAttribute("color")&&(e["".concat(i,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(e["".concat(i,"ButtonAriaLabel")]=t.getAttribute("aria-label"))})),e},on=function(t){var e={},i=t.querySelector("swal-image");return i&&(dn(i,["src","width","height","alt"]),i.hasAttribute("src")&&(e.imageUrl=i.getAttribute("src")),i.hasAttribute("width")&&(e.imageWidth=i.getAttribute("width")),i.hasAttribute("height")&&(e.imageHeight=i.getAttribute("height")),i.hasAttribute("alt")&&(e.imageAlt=i.getAttribute("alt"))),e},sn=function(t){var e={},i=t.querySelector("swal-icon");return i&&(dn(i,["type","color"]),i.hasAttribute("type")&&(e.icon=i.getAttribute("type")),i.hasAttribute("color")&&(e.iconColor=i.getAttribute("color")),e.iconHtml=i.innerHTML),e},rn=function(t){var e={},i=t.querySelector("swal-input");i&&(dn(i,["type","label","placeholder","value"]),e.input=i.getAttribute("type")||"text",i.hasAttribute("label")&&(e.inputLabel=i.getAttribute("label")),i.hasAttribute("placeholder")&&(e.inputPlaceholder=i.getAttribute("placeholder")),i.hasAttribute("value")&&(e.inputValue=i.getAttribute("value")));var n=t.querySelectorAll("swal-input-option");return n.length&&(e.inputOptions={},m(n).forEach((function(t){dn(t,["value"]);var i=t.getAttribute("value"),n=t.innerHTML;e.inputOptions[i]=n}))),e},an=function(t,e){var i={};for(var n in e){var o=e[n],s=t.querySelector(o);s&&(dn(s,[]),i[o.replace(/^swal-/,"")]=s.innerHTML)}return i},gn=function(t){var e=$i.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);m(t.querySelectorAll("*")).forEach((function(i){if(i.parentNode===t){var n=i.tagName.toLowerCase();-1===e.indexOf(n)&&v("Unrecognized element <".concat(n,">"))}}))},dn=function(t,e){m(t.attributes).forEach((function(i){-1===e.indexOf(i.name)&&v(['Unrecognized attribute "'.concat(i.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])}))},ln=10,cn=function(t){var e=N(),i=H();"function"===typeof t.willOpen?t.willOpen(i):"function"===typeof t.onBeforeOpen&&t.onBeforeOpen(i);var n=window.getComputedStyle(document.body),o=n.overflowY;In(e,i,t),setTimeout((function(){An(e,i)}),ln),rt()&&(Cn(e,t.scrollbarPadding,o),Di()),at()||ze.previousActiveElement||(ze.previousActiveElement=document.activeElement),hn(i,t),mt(e,P["no-transition"])},hn=function(t,e){"function"===typeof e.didOpen?setTimeout((function(){return e.didOpen(t)})):"function"===typeof e.onOpen&&setTimeout((function(){return e.onOpen(t)}))},un=function t(e){var i=H();if(e.target===i){var n=N();i.removeEventListener(Gt,t),n.style.overflowY="auto"}},An=function(t,e){Gt&&Tt(e)?(t.style.overflowY="hidden",e.addEventListener(Gt,un)):t.style.overflowY="auto"},Cn=function(t,e,i){pi(),xi(),e&&"hidden"!==i&&Ci(),setTimeout((function(){t.scrollTop=0}))},In=function(t,e,i){ft(t,i.showClass.backdrop),e.style.setProperty("opacity","0","important"),yt(e),setTimeout((function(){ft(e,i.showClass.popup),e.style.removeProperty("opacity")}),ln),ft([document.documentElement,document.body],P.shown),i.heightAuto&&i.backdrop&&!i.toast&&ft([document.documentElement,document.body],P["height-auto"])},pn=function(t,e){"select"===e.input||"radio"===e.input?yn(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&(x(e.inputValue)||D(e.inputValue))&&_n(t,e)},fn=function(t,e){var i=t.getInput();if(!i)return null;switch(e.input){case"checkbox":return mn(i);case"radio":return vn(i);case"file":return bn(i);default:return e.inputAutoTrim?i.value.trim():i.value}},mn=function(t){return t.checked?1:0},vn=function(t){return t.checked?t.value:null},bn=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},yn=function(e,i){var n=W(),o=function(t){return wn[i.input](n,Mn(t),i)};x(i.inputOptions)||D(i.inputOptions)?(He(K()),k(i.inputOptions).then((function(t){e.hideLoading(),o(t)}))):"object"===t(i.inputOptions)?o(i.inputOptions):b("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(i.inputOptions)))},_n=function(t,e){var i=t.getInput();_t(i),k(e.inputValue).then((function(n){i.value="number"===e.input?parseFloat(n)||0:"".concat(n),yt(i),i.focus(),t.hideLoading()}))["catch"]((function(e){b("Error in inputValue promise: ".concat(e)),i.value="",yt(i),i.focus(),t.hideLoading()}))},wn={select:function(t,e,i){var n=vt(t,P.select),o=function(t,e,n){var o=document.createElement("option");o.value=n,lt(o,e),o.selected=xn(n,i.inputValue),t.appendChild(o)};e.forEach((function(t){var e=t[0],i=t[1];if(Array.isArray(i)){var s=document.createElement("optgroup");s.label=e,s.disabled=!1,n.appendChild(s),i.forEach((function(t){return o(s,t[1],t[0])}))}else o(n,i,e)})),n.focus()},radio:function(t,e,i){var n=vt(t,P.radio);e.forEach((function(t){var e=t[0],o=t[1],s=document.createElement("input"),r=document.createElement("label");s.type="radio",s.name=P.radio,s.value=e,xn(e,i.inputValue)&&(s.checked=!0);var a=document.createElement("span");lt(a,o),a.className=P.label,r.appendChild(s),r.appendChild(a),n.appendChild(r)}));var o=n.querySelectorAll("input");o.length&&o[0].focus()}},Mn=function e(i){var n=[];return"undefined"!==typeof Map&&i instanceof Map?i.forEach((function(i,o){var s=i;"object"===t(s)&&(s=e(s)),n.push([o,s])})):Object.keys(i).forEach((function(o){var s=i[o];"object"===t(s)&&(s=e(s)),n.push([o,s])})),n},xn=function(t,e){return e&&e.toString()===t.toString()},kn=function(t,e){t.disableButtons(),e.input?Ln(t,e,"confirm"):En(t,e,!0)},Dn=function(t,e){t.disableButtons(),e.returnInputValueOnDeny?Ln(t,e,"deny"):Sn(t,e,!1)},Tn=function(t,e){t.disableButtons(),e(T.cancel)},Ln=function(t,e,i){var n=fn(t,e);e.inputValidator?On(t,e,n):t.getInput().checkValidity()?"deny"===i?Sn(t,e,n):En(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},On=function(t,e,i){t.disableInput();var n=Promise.resolve().then((function(){return k(e.inputValidator(i,e.validationMessage))}));n.then((function(n){t.enableButtons(),t.enableInput(),n?t.showValidationMessage(n):En(t,e,i)}))},Sn=function(t,e,i){if(e.showLoaderOnDeny&&He(X()),e.preDeny){var n=Promise.resolve().then((function(){return k(e.preDeny(i,e.validationMessage))}));n.then((function(e){!1===e?t.hideLoading():t.closePopup({isDenied:!0,value:"undefined"===typeof e?i:e})}))}else t.closePopup({isDenied:!0,value:i})},Yn=function(t,e){t.closePopup({isConfirmed:!0,value:e})},En=function(t,e,i){if(e.showLoaderOnConfirm&&He(),e.preConfirm){t.resetValidationMessage();var n=Promise.resolve().then((function(){return k(e.preConfirm(i,e.validationMessage))}));n.then((function(e){xt(U())||!1===e?t.hideLoading():Yn(t,"undefined"===typeof e?i:e)}))}else Yn(t,i)},Pn=function(t,e,i,n){e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),i.toast||(e.keydownHandler=function(e){return Hn(t,e,n)},e.keydownTarget=i.keydownListenerCapture?window:H(),e.keydownListenerCapture=i.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},jn=function(t,e,i){var n=st();if(n.length)return e+=i,e===n.length?e=0:-1===e&&(e=n.length-1),n[e].focus();H().focus()},Nn=["ArrowRight","ArrowDown","Right","Down"],Rn=["ArrowLeft","ArrowUp","Left","Up"],Fn=["Escape","Esc"],Hn=function(t,e,i){var n=te.innerParams.get(t);n&&(n.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?Bn(t,e,n):"Tab"===e.key?zn(e,n):-1!==[].concat(Nn,Rn).indexOf(e.key)?Wn(e.key):-1!==Fn.indexOf(e.key)&&Vn(e,n,i))},Bn=function(t,e,i){if(!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(i.input))return;Pe(),e.preventDefault()}},zn=function(t,e){for(var i=t.target,n=st(),o=-1,s=0;s1&&void 0!==arguments[1]?arguments[1]:{};ci(o({},e,t)),ze.currentInstance&&ze.currentInstance._destroy(),ze.currentInstance=this;var i=qn(t,e);qi(i),Object.freeze(i),ze.timeout&&(ze.timeout.stop(),delete ze.timeout),clearTimeout(ze.restoreFocusTimeout);var n=to(this);return Ye(this,i),te.innerParams.set(this,i),$n(this,n,i)}var qn=function(t,e){var i=tn(t),n=o({},ei.showClass,e.showClass,i.showClass,t.showClass),s=o({},ei.hideClass,e.hideClass,i.hideClass,t.hideClass),r=o({},ei,e,i,t);return r.showClass=n,r.hideClass=s,!1===t.animation&&(r.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},r.hideClass={}),r},$n=function(t,e,i){return new Promise((function(n){var o=function(e){t.closePopup({isDismissed:!0,dismiss:e})};Li.swalPromiseResolve.set(t,n),e.confirmButton.onclick=function(){return kn(t,i)},e.denyButton.onclick=function(){return Dn(t,i)},e.cancelButton.onclick=function(){return Tn(t,o)},e.closeButton.onclick=function(){return o(T.close)},Gn(t,e,o),Pn(t,ze,i,o),i.toast&&(i.input||i.footer||i.showCloseButton)?ft(document.body,P["toast-column"]):mt(document.body,P["toast-column"]),pn(t,i),cn(i),eo(ze,i,o),io(e,i),setTimeout((function(){e.container.scrollTop=0}))}))},to=function(t){var e={popup:H(),container:N(),content:W(),actions:$(),confirmButton:K(),denyButton:X(),cancelButton:q(),loader:Q(),closeButton:nt(),validationMessage:U(),progressSteps:Z()};return te.domCache.set(t,e),e},eo=function(t,e,i){var n=it();_t(n),e.timer&&(t.timeout=new Ki((function(){i("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(yt(n),setTimeout((function(){t.timeout&&t.timeout.running&&Ot(e.timer)}))))},io=function(t,e){if(!e.toast)return M(e.allowEnterKey)?void(no(t,e)||jn(e,-1,1)):oo()},no=function(t,e){return e.focusDeny&&xt(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&xt(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!xt(t.confirmButton))&&(t.confirmButton.focus(),!0)},oo=function(){document.activeElement&&"function"===typeof document.activeElement.blur&&document.activeElement.blur()};function so(t){var e=H(),i=te.innerParams.get(this);if(!e||ct(e,i.hideClass.popup))return v("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var n={};Object.keys(t).forEach((function(e){Ao.isUpdatableParameter(e)?n[e]=t[e]:v('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}));var s=o({},i,n);Ye(this,s),te.innerParams.set(this,s),Object.defineProperties(this,{params:{value:o({},this.params,t),writable:!1,enumerable:!0}})}function ro(){var t=te.domCache.get(this),e=te.innerParams.get(this);e&&(t.popup&&ze.swalCloseEventFinishedCallback&&(ze.swalCloseEventFinishedCallback(),delete ze.swalCloseEventFinishedCallback),ze.deferDisposalTimer&&(clearTimeout(ze.deferDisposalTimer),delete ze.deferDisposalTimer),go(e),lo(this))}var ao,go=function(t){"function"===typeof t.didDestroy?t.didDestroy():"function"===typeof t.onDestroy&&t.onDestroy()},lo=function(t){delete t.params,delete ze.keydownHandler,delete ze.keydownTarget,co(te),co(Li)},co=function(t){for(var e in t)t[e]=new WeakMap},ho=Object.freeze({hideLoading:ui,disableLoading:ui,getInput:Ai,close:Yi,closePopup:Yi,closeModal:Yi,closeToast:Yi,enableButtons:Bi,disableButtons:zi,enableInput:Wi,disableInput:Vi,showValidationMessage:Gi,resetValidationMessage:Zi,getProgressSteps:Ui,_main:Qn,update:so,_destroy:ro}),uo=function(){function t(){if(e(this,t),"undefined"!==typeof window){"undefined"===typeof Promise&&b("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),ao=this;for(var i=arguments.length,n=new Array(i),o=0;o=10?t:t+12},week:{dow:0,doy:6}});return n}))},"3e92":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return n}))},"3e99":function(t,e,i){"use strict";var n=l(i("c1c0")),o=l(i("0b86")),s=l(i("ec2d")),r=l(i("5eb3")),a=l(i("4552")),g=l(i("b385")),d=l(i("f543"));function l(t){return t&&t.__esModule?t:{default:t}}var c=i("56a8"),h=i("736a"),u=i("a837"),A={bootstrap3:i("56d1")(),bootstrap4:i("1e4a")(),bulma:i("f3d9")()};e.install=function(t,e,l){var C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"bootstrap3",I=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},p=l?(0,s["default"])("server"):(0,r["default"])(),f=n["default"].recursive(!0,(0,a["default"])(),{name:"r-l-server-table",render:i("85a7"),props:{columns:{type:Array,required:!0},url:{type:String},name:{type:String,required:!1},options:{type:Object,required:!1,default:function(){return{}}}},provide:u,created:function(){if(!this.opts.requestFunction&&!this.url)throw'vue-tables-2: you must provide either a "url" prop or a custom request function. Aborting';h(this),this.vuex||(this.query=this.initQuery(),this.initOrderBy(),this.customQueries=this.initCustomFilters()),this.opts.sendInitialRequest?(this.loadState(),this.getData(!0).then(function(t){"undefined"!==typeof t&&(this.setData(t),this.loading=!1,this.hasDateFilters()&&setTimeout(function(){this.initDateFilters()}.bind(this),0))}.bind(this))):this.loading=!1},mounted:function(){this._setFiltersDOM(this.query),this.opts.resizableColumns&&(0,g["default"])(this.$el.querySelector("table"),this.hasChildRow,this.opts.childRowTogglerFirst,this.opts.resizableColumns),this.vuex||(this.registerServerFilters(),this.options.initialPage&&this.setPage(this.options.initialPage,!0))},data:function(){return n["default"].recursive(c(),{source:"server",loading:!0,initialRequestSent:!1,lastKeyStrokeAt:!1,globalOptions:e,componentsOverride:I,theme:"string"===typeof C?A[C]:C()},(0,o["default"])(l,"server",this.options.initialPage))},methods:{refresh:i("8893"),getData:i("1687"),setData:i("7175"),serverSearch:i("9750"),registerServerFilters:i("532d"),getRequestParams:i("d9d6"),setRequestParams:i("e6ff"),loadState:function(){var t=this;if(this.opts.saveState){if(!this.storage.getItem(this.stateKey))return this.initState(),void(this.activeState=!0);var e=JSON.parse(this.storage.getItem(this.stateKey));this.vuex?this.commit("SET_STATE",{query:e.query,customQueries:e.customQueries,page:e.page,limit:e.perPage,orderBy:e.orderBy}):(this.page=e.page,this.query=e.query,this.customQueries=e.customQueries,this.limit=e.perPage,this.orderBy=e.orderBy),!this.opts.pagination.dropdown&&this.$refs.pagination&&setTimeout((function(){t.$refs.pagination.Page=e.page}),0),this.opts.filterable&&setTimeout((function(){t._setFiltersDOM(e.query)}),0),this.activeState=!0}}},watch:{url:function(){this.refresh()}},computed:{totalPages:i("a6b6"),filteredQuery:i("f95d"),hasMultiSort:function(){return this.opts.serverMultiSorting}}},p);return t.component("r-l-server-table",f),t.component("v-server-table",d["default"]),d["default"]}},"3f68":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("8175"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtSortControl",components:{RLSortControl:n["default"]},render:function(){var t=arguments[0];return t("r-l-sort-control",{scopedSlots:{default:function(e){return e.sortable?e.override?t(e.override,{attrs:{props:e}}):t("span",{class:e["class"]}):""}}})}};e["default"]=s},"3f8c":function(t,e){t.exports={}},"3f8e":function(t,e,i){"use strict";t.exports=function(){var t=Object.keys(this.opts.listColumns),e={};return t.forEach(function(t){e[t]={},this.opts.listColumns[t].forEach((function(i){e[t][i.id]=i.text}))}.bind(this)),e}},"408a":function(t,e,i){var n=i("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},4099:function(t,e,i){"use strict";t.exports=function(){var t=i("2e81")();return this.initOptions(t,this.globalOptions,this.options)}},4160:function(t,e,i){"use strict";var n=i("23e7"),o=i("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"41c3":function(t,e,i){var n=i("1a8c"),o=i("eac5"),s=i("ec8c"),r=Object.prototype,a=r.hasOwnProperty;function g(t){if(!n(t))return s(t);var e=o(t),i=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&i.push(r);return i}t.exports=g},"423e":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return n}))},"3e99":function(t,e,i){"use strict";var n=l(i("c1c0")),o=l(i("0b86")),s=l(i("ec2d")),r=l(i("5eb3")),a=l(i("4552")),g=l(i("b385")),d=l(i("f543"));function l(t){return t&&t.__esModule?t:{default:t}}var c=i("56a8"),h=i("736a"),u=i("a837"),A={bootstrap3:i("56d1")(),bootstrap4:i("1e4a")(),bulma:i("f3d9")()};e.install=function(t,e,l){var C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"bootstrap3",I=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},p=l?(0,s["default"])("server"):(0,r["default"])(),f=n["default"].recursive(!0,(0,a["default"])(),{name:"r-l-server-table",render:i("85a7"),props:{columns:{type:Array,required:!0},url:{type:String},name:{type:String,required:!1},options:{type:Object,required:!1,default:function(){return{}}}},provide:u,created:function(){if(!this.opts.requestFunction&&!this.url)throw'vue-tables-2: you must provide either a "url" prop or a custom request function. Aborting';h(this),this.vuex||(this.query=this.initQuery(),this.initOrderBy(),this.customQueries=this.initCustomFilters()),this.opts.sendInitialRequest?(this.loadState(),this.getData(!0).then(function(t){"undefined"!==typeof t&&(this.setData(t),this.loading=!1,this.hasDateFilters()&&setTimeout(function(){this.initDateFilters()}.bind(this),0))}.bind(this))):this.loading=!1},mounted:function(){this._setFiltersDOM(this.query),this.opts.resizableColumns&&(0,g["default"])(this.$el.querySelector("table"),this.hasChildRow,this.opts.childRowTogglerFirst,this.opts.resizableColumns),this.vuex||(this.registerServerFilters(),this.options.initialPage&&this.setPage(this.options.initialPage,!0))},data:function(){return n["default"].recursive(c(),{source:"server",loading:!0,initialRequestSent:!1,lastKeyStrokeAt:!1,globalOptions:e,componentsOverride:I,theme:"string"===typeof C?A[C]:C()},(0,o["default"])(l,"server",this.options.initialPage))},methods:{refresh:i("8893"),getData:i("1687"),setData:i("7175"),serverSearch:i("9750"),registerServerFilters:i("532d"),getRequestParams:i("d9d6"),setRequestParams:i("e6ff"),loadState:function(){var t=this;if(this.opts.saveState){if(!this.storage.getItem(this.stateKey))return this.initState(),void(this.activeState=!0);var e=JSON.parse(this.storage.getItem(this.stateKey));this.vuex?this.commit("SET_STATE",{query:e.query,customQueries:e.customQueries,page:e.page,limit:e.perPage,orderBy:e.orderBy}):(this.page=e.page,this.query=e.query,this.customQueries=e.customQueries,this.limit=e.perPage,this.orderBy=e.orderBy),!this.opts.pagination.dropdown&&this.$refs.pagination&&setTimeout((function(){t.$refs.pagination.Page=e.page}),0),this.opts.filterable&&setTimeout((function(){t._setFiltersDOM(e.query)}),0),this.activeState=!0}}},watch:{url:function(){this.refresh()}},computed:{totalPages:i("a6b6"),filteredQuery:i("f95d"),hasMultiSort:function(){return this.opts.serverMultiSorting}}},p);return t.component("r-l-server-table",f),t.component("v-server-table",d["default"]),d["default"]}},"3f68":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("8175"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtSortControl",components:{RLSortControl:n["default"]},render:function(){var t=arguments[0];return t("r-l-sort-control",{scopedSlots:{default:function(e){return e.sortable?e.override?t(e.override,{attrs:{props:e}}):t("span",{class:e["class"]}):""}}})}};e["default"]=s},"3f8c":function(t,e){t.exports={}},"3f8e":function(t,e,i){"use strict";t.exports=function(){var t=Object.keys(this.opts.listColumns),e={};return t.forEach(function(t){e[t]={},this.opts.listColumns[t].forEach((function(i){e[t][i.id]=i.text}))}.bind(this)),e}},"408a":function(t,e,i){var n=i("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},4099:function(t,e,i){"use strict";t.exports=function(){var t=i("2e81")();return this.initOptions(t,this.globalOptions,this.options)}},"41c3":function(t,e,i){var n=i("1a8c"),o=i("eac5"),s=i("ec8c"),r=Object.prototype,a=r.hasOwnProperty;function g(t){if(!n(t))return s(t);var e=o(t),i=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&i.push(r);return i}t.exports=g},"423e":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e}))},4245:function(t,e,i){var n=i("1290");function o(t,e){var i=t.__data__;return n(e)?i["string"==typeof e?"string":"hash"]:i.map}t.exports=o},42454:function(t,e,i){var n=i("f909"),o=i("2ec1"),s=o((function(t,e,i){n(t,e,i)}));t.exports=s},4284:function(t,e){function i(t,e){var i=-1,n=null==t?0:t.length;while(++i=10)t/=10;return o(t)}return t/=1e3,o(t)}var s=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:i,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"44ad":function(t,e,i){var n=i("d039"),o=i("c6b6"),s="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s.call(t,""):Object(t)}:Object},"44d2":function(t,e,i){var n=i("b622"),o=i("7c73"),s=i("9bf2"),r=n("unscopables"),a=Array.prototype;void 0==a[r]&&s.f(a,r,{configurable:!0,value:o(null)}),t.exports=function(t){a[r][t]=!0}},"44de":function(t,e,i){var n=i("da84");t.exports=function(t,e){var i=n.console;i&&i.error&&(1===arguments.length?i.error(t):i.error(t,e))}},"44e7":function(t,e,i){var n=i("861d"),o=i("c6b6"),s=i("b622"),r=s("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==o(t))}},4552:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var n=i("9c90"),o=i("65df"),s=i("23fa");function r(){return{methods:n,computed:o,beforeDestroy:s}}},"45fc":function(t,e,i){"use strict";var n=i("23e7"),o=i("b727").some,s=i("a640"),r=s("some");n({target:"Array",proto:!0,forced:!r},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"467f":function(t,e,i){"use strict";var n=i("2d83");t.exports=function(t,e,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?e(n("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},"472a":function(t,e,i){"use strict";var n=o(i("b012"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=function(t){var e="client"===this.source?this.search.bind(this,this.data):this.serverSearch.bind(this);if(!t)return e;var i=(0,n["default"])(e,t);return function(t){9!==t.keyCode&&(13===t.keyCode?(i.clear(),e.apply(void 0,arguments)):i.apply(void 0,arguments))}}},4840:function(t,e,i){var n=i("825a"),o=i("1c0b"),s=i("b622"),r=s("species");t.exports=function(t,e){var i,s=n(t).constructor;return void 0===s||void 0==(i=n(s)[r])?e:o(i)}},"485c":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +function e(t,e,i,n){var o={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?o[i][0]:o[i][1]}function i(t){var e=t.substr(0,t.indexOf(" "));return o(e)?"a "+t:"an "+t}function n(t){var e=t.substr(0,t.indexOf(" "));return o(e)?"viru "+t:"virun "+t}function o(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,i=t/10;return o(0===e?i:e)}if(t<1e4){while(t>=10)t/=10;return o(t)}return t/=1e3,o(t)}var s=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:i,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"44ad":function(t,e,i){var n=i("d039"),o=i("c6b6"),s="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s.call(t,""):Object(t)}:Object},"44d2":function(t,e,i){var n=i("b622"),o=i("7c73"),s=i("9bf2"),r=n("unscopables"),a=Array.prototype;void 0==a[r]&&s.f(a,r,{configurable:!0,value:o(null)}),t.exports=function(t){a[r][t]=!0}},"44de":function(t,e,i){var n=i("da84");t.exports=function(t,e){var i=n.console;i&&i.error&&(1===arguments.length?i.error(t):i.error(t,e))}},"44e7":function(t,e,i){var n=i("861d"),o=i("c6b6"),s=i("b622"),r=s("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==o(t))}},4552:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var n=i("9c90"),o=i("65df"),s=i("23fa");function r(){return{methods:n,computed:o,beforeDestroy:s}}},"467f":function(t,e,i){"use strict";var n=i("2d83");t.exports=function(t,e,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?e(n("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},"472a":function(t,e,i){"use strict";var n=o(i("b012"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=function(t){var e="client"===this.source?this.search.bind(this,this.data):this.serverSearch.bind(this);if(!t)return e;var i=(0,n["default"])(e,t);return function(t){9!==t.keyCode&&(13===t.keyCode?(i.clear(),e.apply(void 0,arguments)):i.apply(void 0,arguments))}}},4840:function(t,e,i){var n=i("825a"),o=i("1c0b"),s=i("b622"),r=s("species");t.exports=function(t,e){var i,s=n(t).constructor;return void 0===s||void 0==(i=n(s)[r])?e:o(i)}},"485c":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},i=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var i=t%10,n=t%100-i,o=t>=100?100:null;return t+(e[i]||e[n]||e[o])},week:{dow:1,doy:7}});return i}))},4930:function(t,e,i){var n=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"49ab":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},i=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,i){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var i=t%10,n=t%100-i,o=t>=100?100:null;return t+(e[i]||e[n]||e[o])},week:{dow:1,doy:7}});return i}))},4930:function(t,e,i){var n=i("605d"),o=i("2d00"),s=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!s((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},"49ab":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},"49f4":function(t,e,i){var n=i("6044");function o(){this.__data__=n?n(null):{},this.size=0}t.exports=o},"4a7a":function(t,e,i){!function(e,i){t.exports=i()}("undefined"!=typeof self&&self,(function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=8)}([function(t,e,i){var n=i(4),o=i(5),s=i(6);t.exports=function(t){return n(t)||o(t)||s()}},function(t,e){function i(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=i=function(t){return typeof t}:t.exports=i=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(e)}t.exports=i},function(t,e,i){},function(t,e){t.exports=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);ei.bottom)return this.$refs.dropdownMenu.scrollTop=e.offsetTop-(i.height-r)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},l={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var t=0;t=0;t--)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadDown:function(){for(var t=this.typeAheadPointer+1;t0&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==t?!this.mutableLoading:t}}};function h(t,e,i,n,o,s,r,a){var g,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(g=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},d._ssrRegister=g):o&&(g=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),g)if(d.functional){d._injectStyles=g;var l=d.render;d.render=function(t,e){return g.call(e),l(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,g):[g]}return{exports:t,options:d}}var u={Deselect:h({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[e("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:h({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[e("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},A={inserted:function(t,e,i){var n=i.context;if(n.appendToBody){var o=n.$refs.toggle.getBoundingClientRect(),s=o.height,r=o.top,a=o.left,g=o.width,d=window.scrollX||window.pageXOffset,l=window.scrollY||window.pageYOffset;t.unbindPosition=n.calculatePosition(t,n,{width:g+"px",left:d+a+"px",top:l+r+s+"px"}),document.body.appendChild(t)}},unbind:function(t,e,i){i.context.appendToBody&&(t.unbindPosition&&"function"==typeof t.unbindPosition&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}},C=function(t){var e={};return Object.keys(t).sort().forEach((function(i){e[i]=t[i]})),JSON.stringify(e)},I=0,p=function(){return++I};function f(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function m(t){for(var e=1;e-1}},filter:{type:Function,default:function(t,e){var i=this;return t.filter((function(t){var n=i.getOptionLabel(t);return"number"==typeof n&&(n=n.toString()),i.filterBy(t,n,e)}))}},createOption:{type:Function,default:function(t){return"object"===r()(this.optionList[0])?g()({},this.label,t):t}},resetOnOptionsChange:{default:!1,validator:function(t){return["function","boolean"].includes(r()(t))}},clearSearchOnBlur:{type:Function,default:function(t){var e=t.clearSearchOnSelect,i=t.multiple;return e&&!i}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(t,e){return t}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(t,e,i){var n=i.width,o=i.top,s=i.left;t.style.top=o,t.style.left=s,t.style.width=n}}},data:function(){return{uid:p(),search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},watch:{options:function(t,e){var i=this;!this.taggable&&("function"==typeof i.resetOnOptionsChange?i.resetOnOptionsChange(t,e,i.selectedValue):i.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:function(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)},multiple:function(){this.clearSelection()},open:function(t){this.$emit(t?"open":"close")}},created:function(){this.mutableLoading=this.loading,void 0!==this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value),this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(t){var e=this;Array.isArray(t)?this.$data._value=t.map((function(t){return e.findOptionFromReducedValue(t)})):this.$data._value=this.findOptionFromReducedValue(t)},select:function(t){this.$emit("option:selecting",t),this.isOptionSelected(t)||(this.taggable&&!this.optionExists(t)&&this.$emit("option:created",t),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t),this.$emit("option:selected",t)),this.onAfterSelect(t)},deselect:function(t){var e=this;this.$emit("option:deselecting",t),this.updateValue(this.selectedValue.filter((function(i){return!e.optionComparator(i,t)}))),this.$emit("option:deselected",t)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(t){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue:function(t){var e=this;void 0===this.value&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map((function(t){return e.reduce(t)})):this.reduce(t)),this.$emit("input",t)},toggleDropdown:function(t){var e=t.target!==this.searchEl;e&&t.preventDefault();var i=[].concat(o()(this.$refs.deselectButtons||[]),o()([this.$refs.clearButton]||!1));void 0===this.searchEl||i.filter(Boolean).some((function(e){return e.contains(t.target)||e===t.target}))?t.preventDefault():this.open&&e?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(t){var e=this;return this.selectedValue.some((function(i){return e.optionComparator(i,t)}))},optionComparator:function(t,e){return this.getOptionKey(t)===this.getOptionKey(e)},findOptionFromReducedValue:function(t){var e=this,i=[].concat(o()(this.options),o()(this.pushedTags)).filter((function(i){return JSON.stringify(e.reduce(i))===JSON.stringify(t)}));return 1===i.length?i[0]:i.find((function(t){return e.optionComparator(t,e.$data._value)}))||t},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var t=null;this.multiple&&(t=o()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(t)}},optionExists:function(t){var e=this;return this.optionList.some((function(i){return e.optionComparator(i,t)}))},normalizeOptionForSlot:function(t){return"object"===r()(t)?t:g()({},this.label,t)},pushTag:function(t){this.pushedTags.push(t)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){if(!this.mousedown||this.searching){var t=this.clearSearchOnSelect,e=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:t,multiple:e})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(t){var e=this,i=function(t){return t.preventDefault(),!e.isComposing&&e.typeAheadSelect()},n={8:function(t){return e.maybeDeleteValue()},9:function(t){return e.onTab()},27:function(t){return e.onEscape()},38:function(t){return t.preventDefault(),e.typeAheadUp()},40:function(t){return t.preventDefault(),e.typeAheadDown()}};this.selectOnKeyCodes.forEach((function(t){return n[t]=i}));var o=this.mapKeydown(n,this);if("function"==typeof o[t.keyCode])return o[t.keyCode](t)}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var t=this.value;return this.isTrackingValues&&(t=this.$data._value),t?[].concat(t):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var t=this,e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:m({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return t.isComposing=!0},compositionend:function(){return t.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(e){return t.search=e.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.loading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:m({},e,{deselect:this.deselect}),footer:m({},e,{deselect:this.deselect})}},childComponents:function(){return m({},u,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return!this.noDrop&&this.open&&!this.mutableLoading},searchPlaceholder:function(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions:function(){var t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;var e=this.search.length?this.filter(t,this.search,this):t;if(this.taggable&&this.search.length){var i=this.createOption(this.search);this.optionExists(i)||e.unshift(i)}return e},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}}},b=(i(7),h(v,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-select",class:t.stateClasses,attrs:{dir:t.dir}},[t._t("header",null,null,t.scope.header),t._v(" "),i("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+t.uid+"__combobox",role:"combobox","aria-expanded":t.dropdownOpen.toString(),"aria-owns":"vs"+t.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(e){return t.toggleDropdown(e)}}},[i("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[t._l(t.selectedValue,(function(e){return t._t("selected-option-container",[i("span",{key:t.getOptionKey(e),staticClass:"vs__selected"},[t._t("selected-option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e)),t._v(" "),t.multiple?i("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:t.disabled,type:"button",title:"Deselect "+t.getOptionLabel(e),"aria-label":"Deselect "+t.getOptionLabel(e)},on:{click:function(i){return t.deselect(e)}}},[i(t.childComponents.Deselect,{tag:"component"})],1):t._e()],2)],{option:t.normalizeOptionForSlot(e),deselect:t.deselect,multiple:t.multiple,disabled:t.disabled})})),t._v(" "),t._t("search",[i("input",t._g(t._b({staticClass:"vs__search"},"input",t.scope.search.attributes,!1),t.scope.search.events))],null,t.scope.search)],2),t._v(" "),i("div",{ref:"actions",staticClass:"vs__actions"},[i("button",{directives:[{name:"show",rawName:"v-show",value:t.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:t.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:t.clearSelection}},[i(t.childComponents.Deselect,{tag:"component"})],1),t._v(" "),t._t("open-indicator",[t.noDrop?t._e():i(t.childComponents.OpenIndicator,t._b({tag:"component"},"component",t.scope.openIndicator.attributes,!1))],null,t.scope.openIndicator),t._v(" "),t._t("spinner",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[t._v("Loading...")])],null,t.scope.spinner)],2)]),t._v(" "),i("transition",{attrs:{name:t.transition}},[t.dropdownOpen?i("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+t.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+t.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(e){return e.preventDefault(),t.onMousedown(e)},mouseup:t.onMouseUp}},[t._t("list-header",null,null,t.scope.listHeader),t._v(" "),t._l(t.filteredOptions,(function(e,n){return i("li",{key:t.getOptionKey(e),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--selected":t.isOptionSelected(e),"vs__dropdown-option--highlight":n===t.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(e)},attrs:{role:"option",id:"vs"+t.uid+"__option-"+n,"aria-selected":n===t.typeAheadPointer||null},on:{mouseover:function(i){t.selectable(e)&&(t.typeAheadPointer=n)},mousedown:function(i){i.preventDefault(),i.stopPropagation(),t.selectable(e)&&t.select(e)}}},[t._t("option",[t._v("\n "+t._s(t.getOptionLabel(e))+"\n ")],null,t.normalizeOptionForSlot(e))],2)})),t._v(" "),0===t.filteredOptions.length?i("li",{staticClass:"vs__no-options"},[t._t("no-options",[t._v("Sorry, no matching options.")],null,t.scope.noOptions)],2):t._e(),t._v(" "),t._t("list-footer",null,null,t.scope.listFooter)],2):i("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+t.uid+"__listbox",role:"listbox"}})]),t._v(" "),t._t("footer",null,null,t.scope.footer)],2)}),[],!1,null,null,null).exports),y={ajax:c,pointer:l,pointerScroll:d};i.d(e,"VueSelect",(function(){return b})),i.d(e,"mixins",(function(){return y})),e.default=b}])}))},"4a7b":function(t,e,i){"use strict";var n=i("c532");t.exports=function(t,e){e=e||{};var i={},o=["url","method","data"],s=["headers","auth","proxy","params"],r=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function g(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function d(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=g(void 0,t[o])):i[o]=g(t[o],e[o])}n.forEach(o,(function(t){n.isUndefined(e[t])||(i[t]=g(void 0,e[t]))})),n.forEach(s,d),n.forEach(r,(function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=g(void 0,t[o])):i[o]=g(void 0,e[o])})),n.forEach(a,(function(n){n in e?i[n]=g(t[n],e[n]):n in t&&(i[n]=g(void 0,t[n]))}));var l=o.concat(s).concat(r).concat(a),c=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return n.forEach(c,d),i}},"4b91":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLColumnsDropdown",inject:["getHeading","display","opts","theme","allColumns","onlyColumn","toggleColumn","toggleColumnsDropdown","displayColumnsDropdown","origColumns","componentsOverride"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),theme:this.theme,getHeading:this.getHeading,display:this.display,onlyColumn:this.onlyColumn,toggleColumn:this.toggleColumn,toggleColumnsDropdown:this.toggleColumnsDropdown,displayColumnsDropdown:this.displayColumnsDropdown(),origColumns:this.origColumns,columns:this.allColumns(),override:this.componentsOverride.columnsDropdown})}};e["default"]=n},"4ba9":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -137,9 +137,9 @@ var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil"," //! moment.js locale configuration var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],n=t.defineLocale("ur",{months:e,monthsShort:e,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,i){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"52bd":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,i){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},5319:function(t,e,i){"use strict";var n=i("d784"),o=i("825a"),s=i("50c4"),r=i("a691"),a=i("1d80"),g=i("8aa5"),d=i("0cb2"),l=i("14c3"),c=Math.max,h=Math.min,u=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,i,n){var A=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,C=n.REPLACE_KEEPS_$0,I=A?"$":"$0";return[function(i,n){var o=a(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,n):e.call(String(o),i,n)},function(t,n){if(!A&&C||"string"===typeof n&&-1===n.indexOf(I)){var a=i(e,t,this,n);if(a.done)return a.value}var p=o(t),f=String(this),m="function"===typeof n;m||(n=String(n));var v=p.global;if(v){var b=p.unicode;p.lastIndex=0}var y=[];while(1){var _=l(p,f);if(null===_)break;if(y.push(_),!v)break;var w=String(_[0]);""===w&&(p.lastIndex=g(f,s(p.lastIndex),b))}for(var M="",x=0,k=0;k=x&&(M+=f.slice(x,T)+E,x=T+D.length)}return M+f.slice(x)}]}))},"532d":function(t,e,i){"use strict";var n=o(i("256f"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=function(){var t="vue-tables";this.name&&(t+="."+this.name),this.opts.customFilters.forEach(function(e){n["default"].$off("".concat(t,".filter::").concat(e)),n["default"].$on("".concat(t,".filter::").concat(e),function(t){this.customQueries[e]=t,this.updateState("customQueries",this.customQueries),this.refresh()}.bind(this))}.bind(this))}},5530:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));i("a4d3"),i("4de4"),i("4160"),i("e439"),i("dbb4"),i("b64b"),i("159b");var n=i("ade3");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function s(t){for(var e=1;e=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},5319:function(t,e,i){"use strict";var n=i("d784"),o=i("825a"),s=i("50c4"),r=i("a691"),a=i("1d80"),g=i("8aa5"),d=i("0cb2"),l=i("14c3"),c=Math.max,h=Math.min,u=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,i,n){var A=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,C=n.REPLACE_KEEPS_$0,I=A?"$":"$0";return[function(i,n){var o=a(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,n):e.call(String(o),i,n)},function(t,n){if(!A&&C||"string"===typeof n&&-1===n.indexOf(I)){var a=i(e,t,this,n);if(a.done)return a.value}var p=o(t),f=String(this),m="function"===typeof n;m||(n=String(n));var v=p.global;if(v){var b=p.unicode;p.lastIndex=0}var y=[];while(1){var _=l(p,f);if(null===_)break;if(y.push(_),!v)break;var w=String(_[0]);""===w&&(p.lastIndex=g(f,s(p.lastIndex),b))}for(var M="",x=0,k=0;k=x&&(M+=f.slice(x,T)+E,x=T+D.length)}return M+f.slice(x)}]}))},"532d":function(t,e,i){"use strict";var n=o(i("256f"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=function(){var t="vue-tables";this.name&&(t+="."+this.name),this.opts.customFilters.forEach(function(e){n["default"].$off("".concat(t,".filter::").concat(e)),n["default"].$on("".concat(t,".filter::").concat(e),function(t){this.customQueries[e]=t,this.updateState("customQueries",this.customQueries),this.refresh()}.bind(this))}.bind(this))}},5530:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));i("b64b"),i("a4d3"),i("4de4"),i("e439"),i("159b"),i("dbb4");var n=i("ade3");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function s(t){for(var e=1;e=100?100:null;return t+(e[n]||e[o]||e[s])}},week:{dow:1,doy:7}});return i}))},"5b14":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(t,e,i,n){var o=t;switch(i){case"s":return n||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(n||e)?" másodperc":" másodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return o+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" óra":" órája");case"hh":return o+(n||e?" óra":" órája");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return o+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" hónap":" hónapja");case"MM":return o+(n||e?" hónap":" hónapja");case"y":return"egy"+(n||e?" év":" éve");case"yy":return o+(n||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}var o=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"5bcf":function(t,e,i){"use strict";t.exports=function(t){return this.query.hasOwnProperty(t)&&this.opts.dateColumns.indexOf(t)>-1}},"5c35":function(t,e,i){"use strict";t.exports=function(t,e,i,n){return"bulma"===e.framework?t("div",{class:e.menu,style:n?"display:block":"display:none"},[t("div",{class:e.content},[i])]):"bootstrap4"===e.framework?t("div",{class:e.menu,style:n?"display:block":"display:none"},[i]):t("ul",{class:e.menu,style:n?"display:block":"display:none"},[i])}},"5c3a":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(t,e,i,n){var o=t;switch(i){case"s":return n||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(n||e)?" másodperc":" másodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return o+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" óra":" órája");case"hh":return o+(n||e?" óra":" órája");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return o+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" hónap":" hónapja");case"MM":return o+(n||e?" hónap":" hónapja");case"y":return"egy"+(n||e?" év":" éve");case"yy":return o+(n||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}var o=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,i){return t<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"5bc3":function(t,e){function i(t,e){for(var i=0;i-1}},"5c35":function(t,e,i){"use strict";t.exports=function(t,e,i,n){return"bulma"===e.framework?t("div",{class:e.menu,style:n?"display:block":"display:none"},[t("div",{class:e.content},[i])]):"bootstrap4"===e.framework?t("div",{class:e.menu,style:n?"display:block":"display:none"},[i]):t("ul",{class:e.menu,style:n?"display:block":"display:none"},[i])}},"5c3a":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e}))},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cbb":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -179,15 +179,15 @@ var e=t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_l //! moment.js locale configuration var e=t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f50":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}});return e}))},"6fcd":function(t,e,i){var n=i("50d8"),o=i("d370"),s=i("6747"),r=i("0d24"),a=i("c098"),g=i("73ac"),d=Object.prototype,l=d.hasOwnProperty;function c(t,e){var i=s(t),d=!i&&o(t),c=!i&&!d&&r(t),h=!i&&!d&&!c&&g(t),u=i||d||c||h,A=u?n(t.length,String):[],C=A.length;for(var I in t)!e&&!l.call(t,I)||u&&("length"==I||c&&("offset"==I||"parent"==I)||h&&("buffer"==I||"byteLength"==I||"byteOffset"==I)||a(I,C))||A.push(I);return A}t.exports=c},"703b":function(t,e,i){"use strict";t.exports=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=this.defaultSort,o=this.userMultiSorting[this.currentlySorting.column]?this.userMultiSorting[this.currentlySorting.column]:this.opts.multiSorting[this.currentlySorting.column],s=this.currentlySorting.ascending,r=this;return function(a,g){var d,l=r._getValue(a,t)||"",c=r._getValue(g,t)||"",h=e?1:-1;if("string"===typeof l&&(l=l.toLowerCase()),"string"===typeof c&&(c=c.toLowerCase()),l===c&&o&&o[i+1]){var u=o[i+1];return d="undefined"!==typeof u.ascending?u.ascending:u.matchDir?s:!s,n(u.column,d,i+1)(a,g)}return l>c?h:-h}}},7079:function(t,e,i){"use strict";i.d(e,"a",(function(){return qe})),i.d(e,"b",(function(){return fe}));var n=i("c1df"),o=i.n(n),s=i("cb13"),r=i("d3b6"),a=i("7297"),g=i.n(a),d=null;function l(t,e){var i=e||{preventDefault:!1};if(t.Manager){var n=t,o=function(t,e){var o=Object.create(i);return e&&n.assign(o,e),l(new n(t,o),o)};return n.assign(o,n),o.Manager=function(t,e){var o=Object.create(i);return e&&n.assign(o,e),l(new n.Manager(t,o),o)},o}var s=Object.create(t),r=t.element;function a(t){return t.match(/[^ ]+/g)}function g(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var e=!1;t.stopPropagation=function(){e=!0};var i=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof i&&(t.srcEvent.stopPropagation=function(){i(),t.stopPropagation()}),t.firstTarget=d;var n=d;while(n&&!e){var o=n.hammer;if(o)for(var s,r=0;r0?s._handlers[e]=n:(t.off(e,g),delete s._handlers[e]))})),s},s.emit=function(e,i){d=i.target,t.emit(e,i)},s.destroy=function(){var e=t.element.hammer,i=e.indexOf(s);-1!==i&&e.splice(i,1),e.length||delete t.element.hammer,s._handlers={},t.destroy()},s}var c=i("c935"),h=i("59dc"),u=i.n(h),A=i("11c1"),C="undefined"!==typeof window&&window["moment"]||o.a;const I=/^\/?Date\((-?\d+)/i;function p(t,e){let i;if(void 0!==t){if(null===t)return null;if(!e)return t;if("string"!==typeof e&&!(e instanceof String))throw new Error("Type must be a string");switch(e){case"boolean":case"Boolean":return Boolean(t);case"number":case"Number":return Object(s["isString"])(t)&&!isNaN(Date.parse(t))?o()(t).valueOf():Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(Object(s["isNumber"])(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(o.a.isMoment(t))return new Date(t.valueOf());if(Object(s["isString"])(t))return i=I.exec(t),i?new Date(Number(i[1])):o()(new Date(t)).toDate();throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type Date");case"Moment":if(Object(s["isNumber"])(t))return o()(t);if(t instanceof Date)return o()(t.valueOf());if(o.a.isMoment(t))return o()(t);if(Object(s["isString"])(t))return i=I.exec(t),i?o()(Number(i[1])):o()(t);throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type Date");case"ISODate":if(Object(s["isNumber"])(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(o.a.isMoment(t))return t.toDate().toISOString();if(Object(s["isString"])(t))return i=I.exec(t),i?new Date(Number(i[1])).toISOString():o()(t).format();throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type ISODate");case"ASPDate":if(Object(s["isNumber"])(t))return"/Date("+t+")/";if(t instanceof Date||o.a.isMoment(t))return"/Date("+t.valueOf()+")/";if(Object(s["isString"])(t)){let e;return i=I.exec(t),e=i?new Date(Number(i[1])).valueOf():new Date(t).valueOf(),"/Date("+e+")/"}throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type ASPDate");default:throw new Error("Unknown type "+e)}}}function f(t,e={start:"Date",end:"Date"}){const i=t._idProp,n=new r["a"]({fieldId:i}),o=Object(r["c"])(t).map(t=>Object.keys(t).reduce((i,n)=>(i[n]=p(t[n],e[n]),i),{})).to(n);return o.all().start(),{add:(...e)=>t.getDataSet().add(...e),remove:(...e)=>t.getDataSet().remove(...e),update:(...e)=>t.getDataSet().update(...e),updateOnly:(...e)=>t.getDataSet().updateOnly(...e),forEach:n.forEach.bind(n),get:n.get.bind(n),getIds:n.getIds.bind(n),off:n.off.bind(n),on:n.on.bind(n),get length(){return n.length},idProp:i,type:e,rawDS:t,coercedDS:n,dispose:()=>o.stop()}}var m={...s,convert:p};class v{constructor(t,e){this.options=null,this.props=null}setOptions(t){t&&m.extend(this.options,t)}redraw(){return!1}destroy(){}_isResized(){const t=this.props._previousWidth!==this.props.width||this.props._previousHeight!==this.props.height;return this.props._previousWidth=this.props.width,this.props._previousHeight=this.props.height,t}}function b(t,e,i){if(i&&!Array.isArray(i))return b(t,e,[i]);if(e.hiddenDates=[],i&&1==Array.isArray(i)){for(let n=0;nt.start-e.start)}}function y(t,e,i){if(i&&!Array.isArray(i))return y(t,e,[i]);if(i&&void 0!==e.domProps.centerContainer.width){b(t,e,i);const n=t(e.range.start),o=t(e.range.end),s=e.range.end-e.range.start,r=s/e.domProps.centerContainer.width;for(let c=0;c=4*r){let t=0;const r=o.clone();switch(i[c].repeat){case"daily":s.day()!=a.day()&&(t=1),s.dayOfYear(n.dayOfYear()),s.year(n.year()),s.subtract(7,"days"),a.dayOfYear(n.dayOfYear()),a.year(n.year()),a.subtract(7-t,"days"),r.add(1,"weeks");break;case"weekly":{const t=a.diff(s,"days"),e=s.day();s.date(n.date()),s.month(n.month()),s.year(n.year()),a=s.clone(),s.day(e),a.day(e),a.add(t,"days"),s.subtract(1,"weeks"),a.subtract(1,"weeks"),r.add(1,"weeks");break}case"monthly":s.month()!=a.month()&&(t=1),s.month(n.month()),s.year(n.year()),s.subtract(1,"months"),a.month(n.month()),a.year(n.year()),a.subtract(1,"months"),a.add(t,"months"),r.add(1,"months");break;case"yearly":s.year()!=a.year()&&(t=1),s.year(n.year()),s.subtract(1,"years"),a.year(n.year()),a.subtract(1,"years"),a.add(t,"years"),r.add(1,"years");break;default:return void console.log("Wrong repeat format, allowed are: daily, weekly, monthly, yearly. Given:",i[c].repeat)}while(s=e[n].start&&e[t].end<=e[n].end?e[t].remove=!0:e[t].start>=e[n].start&&e[t].start<=e[n].end?(e[n].end=e[t].end,e[t].remove=!0):e[t].end>=e[n].start&&e[t].end<=e[n].end&&(e[n].start=e[t].start,e[t].remove=!0));for(n=0;nt.start-e.start)}function w(t,e,i){let n=!1;const o=e.current.valueOf();for(let r=0;r=t&&ot.range.end){const o={start:t.range.start,end:e};return e=T(t.options.moment,t.body.hiddenDates,o,e),n=t.range.conversion(i,s),(e.valueOf()-n.offset)*n.scale}return e=T(t.options.moment,t.body.hiddenDates,t.range,e),n=t.range.conversion(i,s),(e.valueOf()-n.offset)*n.scale}}function x(t,e,i){if(0==t.body.hiddenDates.length){const n=t.range.conversion(i);return new Date(e/n.scale+n.offset)}{const n=k(t.body.hiddenDates,t.range.start,t.range.end),o=t.range.end-t.range.start-n,s=o*e/i,r=O(t.body.hiddenDates,t.range,s);return new Date(r+s+t.range.start)}}function k(t,e,i){let n=0;for(let o=0;o=e&&r=e&&r<=i&&(n+=r-s)}return n}function T(t,e,i,n){return n=t(n).toDate().valueOf(),n-=L(t,e,i,n),n}function L(t,e,i,n){let o=0;n=t(n).toDate().valueOf();for(let s=0;s=i.start&&r=r&&(o+=r-t)}return o}function O(t,e,i){let n=0,o=0,s=e.start;for(let r=0;r=e.start&&g=i)break;n+=g-a}}return n}function S(t,e,i,n){const o=Y(e,t);return 1==o.hidden?i<0?1==n?o.startDate-(o.endDate-e)-1:o.startDate-1:1==n?o.endDate+(e-o.startDate)+1:o.endDate+1:e}function Y(t,e){for(let o=0;o=i&&t1e3&&(i=1e3),t.body.dom.rollingModeBtn.style.visibility="hidden",t.currentTimeTimer=setTimeout(e,i)}e()}stopRolling(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),this.rolling=!1,this.body.dom.rollingModeBtn.style.visibility="visible")}setRange(t,e,i,n,o){i||(i={}),!0!==i.byUser&&(i.byUser=!1);const s=this,r=void 0!=t?m.convert(t,"Date").valueOf():null,a=void 0!=e?m.convert(e,"Date").valueOf():null;if(this._cancelAnimation(),this.millisecondsPerPixelCache=void 0,i.animation){const t=this.start,e=this.end,d="object"===typeof i.animation&&"duration"in i.animation?i.animation.duration:500,l="object"===typeof i.animation&&"easingFunction"in i.animation?i.animation.easingFunction:"easeInOutQuad",c=m.easingFunctions[l];if(!c)throw new Error(`Unknown easing function ${JSON.stringify(l)}. Choose from: ${Object.keys(m.easingFunctions).join(", ")}`);const h=Date.now();let u=!1;const A=()=>{if(!s.props.touch.dragging){const l=Date.now(),C=l-h,I=c(C/d),p=C>d,f=p||null===r?r:t+(r-t)*I,m=p||null===a?a:e+(a-e)*I;g=s._applyRange(f,m),y(s.options.moment,s.body,s.options.hiddenDates),u=u||g;const v={start:new Date(s.start),end:new Date(s.end),byUser:i.byUser,event:i.event};if(o&&o(I,g,p),g&&s.body.emitter.emit("rangechange",v),p){if(u&&(s.body.emitter.emit("rangechanged",v),n))return n()}else s.animationTimer=setTimeout(A,20)}};return A()}var g=this._applyRange(r,a);if(y(this.options.moment,this.body,this.options.hiddenDates),g){const t={start:new Date(this.start),end:new Date(this.end),byUser:i.byUser,event:i.event};if(this.body.emitter.emit("rangechange",t),clearTimeout(s.timeoutID),s.timeoutID=setTimeout(()=>{s.body.emitter.emit("rangechanged",t)},200),n)return n()}}getMillisecondsPerPixel(){return void 0===this.millisecondsPerPixelCache&&(this.millisecondsPerPixelCache=(this.end-this.start)/this.body.dom.center.clientWidth),this.millisecondsPerPixelCache}_cancelAnimation(){this.animationTimer&&(clearTimeout(this.animationTimer),this.animationTimer=null)}_applyRange(t,e){let i=null!=t?m.convert(t,"Date").valueOf():this.start,n=null!=e?m.convert(e,"Date").valueOf():this.end;const o=null!=this.options.max?m.convert(this.options.max,"Date").valueOf():null,s=null!=this.options.min?m.convert(this.options.min,"Date").valueOf():null;let r;if(isNaN(i)||null===i)throw new Error(`Invalid start "${t}"`);if(isNaN(n)||null===n)throw new Error(`Invalid end "${e}"`);if(no&&(n=o)),null!==o&&n>o&&(r=n-o,i-=r,n-=r,null!=s&&i=this.start-e&&n<=this.end?(i=this.start,n=this.end):(r=t-(n-i),i-=r/2,n+=r/2)}}if(null!==this.options.zoomMax){let t=parseFloat(this.options.zoomMax);t<0&&(t=0),n-i>t&&(this.end-this.start===t&&ithis.end?(i=this.start,n=this.end):(r=n-i-t,i+=r/2,n-=r/2))}const a=this.start!=i||this.end!=n;return i>=this.start&&i<=this.end||n>=this.start&&n<=this.end||this.start>=i&&this.start<=n||this.end>=i&&this.end<=n||this.body.emitter.emit("checkRangedItems"),this.start=i,this.end=n,a}getRange(){return{start:this.start,end:this.end}}conversion(t,e){return E.conversion(this.start,this.end,t,e)}static conversion(t,e,i,n){return void 0===n&&(n=0),0!=i&&e-t!=0?{offset:t,scale:i/(e-t-n)}:{offset:0,scale:1}}_onDragStart(t){this.deltaDifference=0,this.previousDelta=0,this.options.moveable&&this._isInsideRange(t)&&this.props.touch.allowDragging&&(this.stopRolling(),this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.dragging=!0,this.body.dom.root&&(this.body.dom.root.style.cursor="move"))}_onDrag(t){if(!t)return;if(!this.props.touch.dragging)return;if(!this.options.moveable)return;if(!this.props.touch.allowDragging)return;const e=this.options.direction;P(e);let i="horizontal"==e?t.deltaX:t.deltaY;i-=this.deltaDifference;let n=this.props.touch.end-this.props.touch.start;const o=k(this.body.hiddenDates,this.start,this.end);n-=o;const s="horizontal"==e?this.body.domProps.center.width:this.body.domProps.center.height;let r;r=this.options.rtl?i/s*n:-i/s*n;const a=this.props.touch.start+r,g=this.props.touch.end+r,d=S(this.body.hiddenDates,a,this.previousDelta-i,!0),l=S(this.body.hiddenDates,g,this.previousDelta-i,!0);if(d!=a||l!=g)return this.deltaDifference+=i,this.props.touch.start=d,this.props.touch.end=l,void this._onDrag(t);this.previousDelta=i,this._applyRange(a,g);const c=new Date(this.start),h=new Date(this.end);this.body.emitter.emit("rangechange",{start:c,end:h,byUser:!0,event:t}),this.body.emitter.emit("panmove")}_onDragEnd(t){this.props.touch.dragging&&this.options.moveable&&this.props.touch.allowDragging&&(this.props.touch.dragging=!1,this.body.dom.root&&(this.body.dom.root.style.cursor="auto"),this.body.emitter.emit("rangechanged",{start:new Date(this.start),end:new Date(this.end),byUser:!0,event:t}))}_onMouseWheel(t){let e=0;if(t.wheelDelta?e=t.wheelDelta/120:t.detail?e=-t.detail/3:t.deltaY&&(e=-t.deltaY/3),!(this.options.zoomKey&&!t[this.options.zoomKey]&&this.options.zoomable||!this.options.zoomable&&this.options.moveable)&&this.options.zoomable&&this.options.moveable&&this._isInsideRange(t)&&e){const i=this.options.zoomFriction||5;let n,o;if(n=e<0?1-e/i:1/(1+e/i),this.rolling){const t=this.options.rollingMode&&this.options.rollingMode.offset||.5;o=this.start+(this.end-this.start)*t}else{const e=this.getPointer({x:t.clientX,y:t.clientY},this.body.dom.center);o=this._pointerToDate(e)}this.zoom(n,o,e,t),t.preventDefault()}}_onTouch(t){this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.allowDragging=!0,this.props.touch.center=null,this.props.touch.centerDate=null,this.scaleOffset=0,this.deltaDifference=0,m.preventDefault(t)}_onPinch(t){if(!this.options.zoomable||!this.options.moveable)return;m.preventDefault(t),this.props.touch.allowDragging=!1,this.props.touch.center||(this.props.touch.center=this.getPointer(t.center,this.body.dom.center),this.props.touch.centerDate=this._pointerToDate(this.props.touch.center)),this.stopRolling();const e=1/(t.scale+this.scaleOffset),i=this.props.touch.centerDate,n=k(this.body.hiddenDates,this.start,this.end),o=L(this.options.moment,this.body.hiddenDates,this,i),s=n-o;let r=i-o+(this.props.touch.start-(i-o))*e,a=i+s+(this.props.touch.end-(i+s))*e;this.startToFront=1-e<=0,this.endToFront=e-1<=0;const g=S(this.body.hiddenDates,r,1-e,!0),d=S(this.body.hiddenDates,a,e-1,!0);g==r&&d==a||(this.props.touch.start=g,this.props.touch.end=d,this.scaleOffset=1-t.scale,r=g,a=d);const l={animation:!1,byUser:!0,event:t};this.setRange(r,a,l),this.startToFront=!1,this.endToFront=!0}_isInsideRange(t){const e=t.center?t.center.x:t.clientX,i=this.body.dom.centerContainer.getBoundingClientRect(),n=this.options.rtl?e-i.left:i.right-e,o=this.body.util.toTime(n);return o>=this.start&&o<=this.end}_pointerToDate(t){let e;const i=this.options.direction;if(P(i),"horizontal"==i)return this.body.util.toTime(t.x).valueOf();{const i=this.body.domProps.center.height;return e=this.conversion(i),t.y/e.scale+e.offset}}getPointer(t,e){const i=e.getBoundingClientRect();return this.options.rtl?{x:i.right-t.x,y:t.y-i.top}:{x:t.x-i.left,y:t.y-i.top}}zoom(t,e,i,n){null==e&&(e=(this.start+this.end)/2);const o=k(this.body.hiddenDates,this.start,this.end),s=L(this.options.moment,this.body.hiddenDates,this,e),r=o-s;let a=e-s+(this.start-(e-s))*t,g=e+r+(this.end-(e+r))*t;this.startToFront=!(i>0),this.endToFront=!(-i>0);const d=S(this.body.hiddenDates,a,i,!0),l=S(this.body.hiddenDates,g,-i,!0);d==a&&l==g||(a=d,g=l);const c={animation:!1,byUser:!0,event:n};this.setRange(a,g,c),this.startToFront=!1,this.endToFront=!0}move(t){const e=this.end-this.start,i=this.start+e*t,n=this.end+e*t;this.start=i,this.end=n}moveTo(t){const e=(this.start+this.end)/2,i=e-t,n=this.start-i,o=this.end-i,s={animation:!1,byUser:!0,event:null};this.setRange(n,o,s)}}function P(t){if("horizontal"!=t&&"vertical"!=t)throw new TypeError(`Unknown direction "${t}". Choose "horizontal" or "vertical".`)}function j(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get(e){return{set:t}}}}let N;if("undefined"!==typeof window){const t=window["Hammer"]||c["a"];N=l(t,{preventDefault:"mouse"})}else N=()=>j();var R=N;function F(t,e){e.inputHandler=function(t){t.isFirst&&e(t)},t.on("hammer.input",e.inputHandler)}function H(t,e){return e.inputHandler=function(t){t.isFinal&&e(t)},t.on("hammer.input",e.inputHandler)}function B(t){const e="pan-y";return t.getTouchAction=function(){return[e]},t}class z{constructor(t,e,i,n,o){this.moment=o&&o.moment||C,this.options=o||{},this.current=this.moment(),this._start=this.moment(),this._end=this.moment(),this.autoScale=!0,this.scale="day",this.step=1,this.setRange(t,e,i),this.switchedDay=!1,this.switchedMonth=!1,this.switchedYear=!1,Array.isArray(n)?this.hiddenDates=n:this.hiddenDates=void 0!=n?[n]:[],this.format=z.FORMAT}setMoment(t){this.moment=t,this.current=this.moment(this.current.valueOf()),this._start=this.moment(this._start.valueOf()),this._end=this.moment(this._end.valueOf())}setFormat(t){const e=m.deepExtend({},z.FORMAT);this.format=m.deepExtend(e,t)}setRange(t,e,i){if(!(t instanceof Date)||!(e instanceof Date))throw"No legal start or end date in method setRange";this._start=void 0!=t?this.moment(t.valueOf()):Date.now(),this._end=void 0!=e?this.moment(e.valueOf()):Date.now(),this.autoScale&&this.setMinimumStep(i)}start(){this.current=this._start.clone(),this.roundToMinor()}roundToMinor(){switch("week"==this.scale&&this.current.weekday(0),this.scale){case"year":this.current.year(this.step*Math.floor(this.current.year()/this.step)),this.current.month(0);case"month":this.current.date(1);case"week":case"day":case"weekday":this.current.hours(0);case"hour":this.current.minutes(0);case"minute":this.current.seconds(0);case"second":this.current.milliseconds(0)}if(1!=this.step){let t=this.current.clone();switch(this.scale){case"millisecond":this.current.subtract(this.current.milliseconds()%this.step,"milliseconds");break;case"second":this.current.subtract(this.current.seconds()%this.step,"seconds");break;case"minute":this.current.subtract(this.current.minutes()%this.step,"minutes");break;case"hour":this.current.subtract(this.current.hours()%this.step,"hours");break;case"weekday":case"day":this.current.subtract((this.current.date()-1)%this.step,"day");break;case"week":this.current.subtract(this.current.week()%this.step,"week");break;case"month":this.current.subtract(this.current.month()%this.step,"month");break;case"year":this.current.subtract(this.current.year()%this.step,"year");break}t.isSame(this.current)||(this.current=this.moment(S(this.hiddenDates,this.current.valueOf(),-1,!0)))}}hasNext(){return this.current.valueOf()<=this._end.valueOf()}next(){const t=this.current.valueOf();switch(this.scale){case"millisecond":this.current.add(this.step,"millisecond");break;case"second":this.current.add(this.step,"second");break;case"minute":this.current.add(this.step,"minute");break;case"hour":this.current.add(this.step,"hour"),this.current.month()<6?this.current.subtract(this.current.hours()%this.step,"hour"):this.current.hours()%this.step!==0&&this.current.add(this.step-this.current.hours()%this.step,"hour");break;case"weekday":case"day":this.current.add(this.step,"day");break;case"week":if(0!==this.current.weekday())this.current.weekday(0),this.current.add(this.step,"week");else if(!1===this.options.showMajorLabels)this.current.add(this.step,"week");else{const t=this.current.clone();t.add(1,"week"),t.isSame(this.current,"month")?this.current.add(this.step,"week"):(this.current.add(this.step,"week"),this.current.date(1))}break;case"month":this.current.add(this.step,"month");break;case"year":this.current.add(this.step,"year");break}if(1!=this.step)switch(this.scale){case"millisecond":this.current.milliseconds()>0&&this.current.milliseconds()0&&this.current.seconds()0&&this.current.minutes()0&&this.current.hours()0?t.step:1,this.autoScale=!1)}setAutoScale(t){this.autoScale=t}setMinimumStep(t){if(void 0==t)return;const e=31104e6,i=2592e6,n=864e5,o=36e5,s=6e4,r=1e3,a=1;1e3*e>t&&(this.scale="year",this.step=1e3),500*e>t&&(this.scale="year",this.step=500),100*e>t&&(this.scale="year",this.step=100),50*e>t&&(this.scale="year",this.step=50),10*e>t&&(this.scale="year",this.step=10),5*e>t&&(this.scale="year",this.step=5),e>t&&(this.scale="year",this.step=1),3*i>t&&(this.scale="month",this.step=3),i>t&&(this.scale="month",this.step=1),7*n>t&&this.options.showWeekScale&&(this.scale="week",this.step=1),2*n>t&&(this.scale="day",this.step=2),n>t&&(this.scale="day",this.step=1),n/2>t&&(this.scale="weekday",this.step=1),4*o>t&&(this.scale="hour",this.step=4),o>t&&(this.scale="hour",this.step=1),15*s>t&&(this.scale="minute",this.step=15),10*s>t&&(this.scale="minute",this.step=10),5*s>t&&(this.scale="minute",this.step=5),s>t&&(this.scale="minute",this.step=1),15*r>t&&(this.scale="second",this.step=15),10*r>t&&(this.scale="second",this.step=10),5*r>t&&(this.scale="second",this.step=5),r>t&&(this.scale="second",this.step=1),200*a>t&&(this.scale="millisecond",this.step=200),100*a>t&&(this.scale="millisecond",this.step=100),50*a>t&&(this.scale="millisecond",this.step=50),10*a>t&&(this.scale="millisecond",this.step=10),5*a>t&&(this.scale="millisecond",this.step=5),a>t&&(this.scale="millisecond",this.step=1)}static snap(t,e,i){const n=C(t);if("year"==e){const t=n.year()+Math.round(n.month()/12);n.year(Math.round(t/i)*i),n.month(0),n.date(0),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("month"==e)n.date()>15?(n.date(1),n.add(1,"month")):n.date(1),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0);else if("week"==e)n.weekday()>2?(n.weekday(0),n.add(1,"week")):n.weekday(0),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0);else if("day"==e){switch(i){case 5:case 2:n.hours(24*Math.round(n.hours()/24));break;default:n.hours(12*Math.round(n.hours()/12));break}n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("weekday"==e){switch(i){case 5:case 2:n.hours(12*Math.round(n.hours()/12));break;default:n.hours(6*Math.round(n.hours()/6));break}n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("hour"==e){switch(i){case 4:n.minutes(60*Math.round(n.minutes()/60));break;default:n.minutes(30*Math.round(n.minutes()/30));break}n.seconds(0),n.milliseconds(0)}else if("minute"==e){switch(i){case 15:case 10:n.minutes(5*Math.round(n.minutes()/5)),n.seconds(0);break;case 5:n.seconds(60*Math.round(n.seconds()/60));break;default:n.seconds(30*Math.round(n.seconds()/30));break}n.milliseconds(0)}else if("second"==e)switch(i){case 15:case 10:n.seconds(5*Math.round(n.seconds()/5)),n.milliseconds(0);break;case 5:n.milliseconds(1e3*Math.round(n.milliseconds()/1e3));break;default:n.milliseconds(500*Math.round(n.milliseconds()/500));break}else if("millisecond"==e){const t=i>5?i/2:1;n.milliseconds(Math.round(n.milliseconds()/t)*t)}return n}isMajor(){if(1==this.switchedYear)switch(this.scale){case"year":case"month":case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedMonth)switch(this.scale){case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedDay)switch(this.scale){case"millisecond":case"second":case"minute":case"hour":return!0;default:return!1}const t=this.moment(this.current);switch(this.scale){case"millisecond":return 0==t.milliseconds();case"second":return 0==t.seconds();case"minute":return 0==t.hours()&&0==t.minutes();case"hour":return 0==t.hours();case"weekday":case"day":return 1==t.date();case"week":return 1==t.date();case"month":return 0==t.month();case"year":return!1;default:return!1}}getLabelMinor(t){if(void 0==t&&(t=this.current),t instanceof Date&&(t=this.moment(t)),"function"===typeof this.format.minorLabels)return this.format.minorLabels(t,this.scale,this.step);const e=this.format.minorLabels[this.scale];switch(this.scale){case"week":if(1===t.date()&&0!==t.weekday())return"";default:return e&&e.length>0?this.moment(t).format(e):""}}getLabelMajor(t){if(void 0==t&&(t=this.current),t instanceof Date&&(t=this.moment(t)),"function"===typeof this.format.majorLabels)return this.format.majorLabels(t,this.scale,this.step);const e=this.format.majorLabels[this.scale];return e&&e.length>0?this.moment(t).format(e):""}getClassName(){const t=this.moment,e=this.moment(this.current),i=e.locale?e.locale("en"):e.lang("en"),n=this.step,o=[];function s(t){return t/n%2==0?" vis-even":" vis-odd"}function r(e){return e.isSame(Date.now(),"day")?" vis-today":e.isSame(t().add(1,"day"),"day")?" vis-tomorrow":e.isSame(t().add(-1,"day"),"day")?" vis-yesterday":""}function a(t){return t.isSame(Date.now(),"week")?" vis-current-week":""}function g(t){return t.isSame(Date.now(),"month")?" vis-current-month":""}function d(t){return t.isSame(Date.now(),"year")?" vis-current-year":""}switch(this.scale){case"millisecond":o.push(r(i)),o.push(s(i.milliseconds()));break;case"second":o.push(r(i)),o.push(s(i.seconds()));break;case"minute":o.push(r(i)),o.push(s(i.minutes()));break;case"hour":o.push(`vis-h${i.hours()}${4==this.step?"-h"+(i.hours()+4):""}`),o.push(r(i)),o.push(s(i.hours()));break;case"weekday":o.push("vis-"+i.format("dddd").toLowerCase()),o.push(r(i)),o.push(a(i)),o.push(s(i.date()));break;case"day":o.push("vis-day"+i.date()),o.push("vis-"+i.format("MMMM").toLowerCase()),o.push(r(i)),o.push(g(i)),o.push(this.step<=2?r(i):""),o.push(this.step<=2?"vis-"+i.format("dddd").toLowerCase():""),o.push(s(i.date()-1));break;case"week":o.push("vis-week"+i.format("w")),o.push(a(i)),o.push(s(i.week()));break;case"month":o.push("vis-"+i.format("MMMM").toLowerCase()),o.push(g(i)),o.push(s(i.month()));break;case"year":o.push("vis-year"+i.year()),o.push(d(i)),o.push(s(i.year()));break}return o.filter(String).join(" ")}}z.FORMAT={minorLabels:{millisecond:"SSS",second:"s",minute:"HH:mm",hour:"HH:mm",weekday:"ddd D",day:"D",week:"w",month:"MMM",year:"YYYY"},majorLabels:{millisecond:"HH:mm:ss",second:"D MMMM HH:mm",minute:"ddd D MMMM",hour:"ddd D MMMM",weekday:"MMMM YYYY",day:"MMMM YYYY",week:"MMMM YYYY",month:"YYYY",year:""}};class W extends v{constructor(t,e){super(),this.dom={foreground:null,lines:[],majorTexts:[],minorTexts:[],redundant:{lines:[],majorTexts:[],minorTexts:[]}},this.props={range:{start:0,end:0,minimumStep:0},lineTop:0},this.defaultOptions={orientation:{axis:"bottom"},showMinorLabels:!0,showMajorLabels:!0,showWeekScale:!1,maxMinorChars:7,format:z.FORMAT,moment:C,timeAxis:null},this.options=m.extend({},this.defaultOptions),this.body=t,this._create(),this.setOptions(e)}setOptions(t){t&&(m.selectiveExtend(["showMinorLabels","showMajorLabels","showWeekScale","maxMinorChars","hiddenDates","timeAxis","moment","rtl"],this.options,t),m.selectiveDeepExtend(["format"],this.options,t),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation.axis=t.orientation:"object"===typeof t.orientation&&"axis"in t.orientation&&(this.options.orientation.axis=t.orientation.axis)),"locale"in t&&("function"===typeof C.locale?C.locale(t.locale):C.lang(t.locale)))}_create(){this.dom.foreground=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.foreground.className="vis-time-axis vis-foreground",this.dom.background.className="vis-time-axis vis-background"}destroy(){this.dom.foreground.parentNode&&this.dom.foreground.parentNode.removeChild(this.dom.foreground),this.dom.background.parentNode&&this.dom.background.parentNode.removeChild(this.dom.background),this.body=null}redraw(){const t=this.props,e=this.dom.foreground,i=this.dom.background,n="top"==this.options.orientation.axis?this.body.dom.top:this.body.dom.bottom,o=e.parentNode!==n;this._calculateCharSize();const s=this.options.showMinorLabels&&"none"!==this.options.orientation.axis,r=this.options.showMajorLabels&&"none"!==this.options.orientation.axis;t.minorLabelHeight=s?t.minorCharHeight:0,t.majorLabelHeight=r?t.majorCharHeight:0,t.height=t.minorLabelHeight+t.majorLabelHeight,t.width=e.offsetWidth,t.minorLineHeight=this.body.domProps.root.height-t.majorLabelHeight-("top"==this.options.orientation.axis?this.body.domProps.bottom.height:this.body.domProps.top.height),t.minorLineWidth=1,t.majorLineHeight=t.minorLineHeight+t.majorLabelHeight,t.majorLineWidth=1;const a=e.nextSibling,g=i.nextSibling;return e.parentNode&&e.parentNode.removeChild(e),i.parentNode&&i.parentNode.removeChild(i),e.style.height=this.props.height+"px",this._repaintLabels(),a?n.insertBefore(e,a):n.appendChild(e),g?this.body.dom.backgroundVertical.insertBefore(i,g):this.body.dom.backgroundVertical.appendChild(i),this._isResized()||o}_repaintLabels(){const t=this.options.orientation.axis,e=m.convert(this.body.range.start,"Number"),i=m.convert(this.body.range.end,"Number"),n=this.body.util.toTime((this.props.minorCharWidth||10)*this.options.maxMinorChars).valueOf();let o=n-L(this.options.moment,this.body.hiddenDates,this.body.range,n);o-=this.body.util.toTime(0).valueOf();const s=new z(new Date(e),new Date(i),o,this.body.hiddenDates,this.options);s.setMoment(this.options.moment),this.options.format&&s.setFormat(this.options.format),this.options.timeAxis&&s.setScale(this.options.timeAxis),this.step=s;const r=this.dom;let a,g,d,l,c,h;r.redundant.lines=r.lines,r.redundant.majorTexts=r.majorTexts,r.redundant.minorTexts=r.minorTexts,r.lines=[],r.majorTexts=[],r.minorTexts=[];let u,A,C=0,I=void 0,p=0;const f=1e3;let v;s.start(),g=s.getCurrent(),l=this.body.util.toScreen(g);while(s.hasNext()&&p=.4*u;break}if(this.options.showMinorLabels&&h){var b=this._repaintMinorText(d,s.getLabelMinor(a),t,v);b.style.width=C+"px"}c&&this.options.showMajorLabels?(d>0&&(void 0==I&&(I=d),b=this._repaintMajorText(d,s.getLabelMajor(a),t,v)),A=this._repaintMajorLine(d,C,t,v)):h?A=this._repaintMinorLine(d,C,t,v):A&&(A.style.width=parseInt(A.style.width)+C+"px")}if(p!==f||V||(console.warn(`Something is wrong with the Timeline scale. Limited drawing of grid lines to ${f} lines.`),V=!0),this.options.showMajorLabels){const e=this.body.util.toTime(0),i=s.getLabelMajor(e),n=i.length*(this.props.majorCharWidth||10)+10;(void 0==I||n{while(t.length){const e=t.pop();e&&e.parentNode&&e.parentNode.removeChild(e)}})}_repaintMinorText(t,e,i,n){let o=this.dom.redundant.minorTexts.shift();if(!o){const t=document.createTextNode("");o=document.createElement("div"),o.appendChild(t),this.dom.foreground.appendChild(o)}this.dom.minorTexts.push(o),o.innerHTML=e;let s="top"==i?this.props.majorLabelHeight:0;return this._setXY(o,t,s),o.className="vis-text vis-minor "+n,o}_repaintMajorText(t,e,i,n){let o=this.dom.redundant.majorTexts.shift();if(!o){const t=document.createElement("div");o=document.createElement("div"),o.appendChild(t),this.dom.foreground.appendChild(o)}o.childNodes[0].innerHTML=e,o.className="vis-text vis-major "+n;let s="top"==i?0:this.props.minorLabelHeight;return this._setXY(o,t,s),this.dom.majorTexts.push(o),o}_setXY(t,e,i){const n=this.options.rtl?-1*e:e;t.style.transform=`translate(${n}px, ${i}px)`}_repaintMinorLine(t,e,i,n){let o=this.dom.redundant.lines.shift();o||(o=document.createElement("div"),this.dom.background.appendChild(o)),this.dom.lines.push(o);const s=this.props;o.style.width=e+"px",o.style.height=s.minorLineHeight+"px";let r="top"==i?s.majorLabelHeight:this.body.domProps.top.height,a=t-s.minorLineWidth/2;return this._setXY(o,a,r),o.className=`vis-grid ${this.options.rtl?"vis-vertical-rtl":"vis-vertical"} vis-minor ${n}`,o}_repaintMajorLine(t,e,i,n){let o=this.dom.redundant.lines.shift();o||(o=document.createElement("div"),this.dom.background.appendChild(o)),this.dom.lines.push(o);const s=this.props;o.style.width=e+"px",o.style.height=s.majorLineHeight+"px";let r="top"==i?0:this.body.domProps.top.height,a=t-s.majorLineWidth/2;return this._setXY(o,a,r),o.className=`vis-grid ${this.options.rtl?"vis-vertical-rtl":"vis-vertical"} vis-major ${n}`,o}_calculateCharSize(){this.dom.measureCharMinor||(this.dom.measureCharMinor=document.createElement("DIV"),this.dom.measureCharMinor.className="vis-text vis-minor vis-measure",this.dom.measureCharMinor.style.position="absolute",this.dom.measureCharMinor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMinor)),this.props.minorCharHeight=this.dom.measureCharMinor.clientHeight,this.props.minorCharWidth=this.dom.measureCharMinor.clientWidth,this.dom.measureCharMajor||(this.dom.measureCharMajor=document.createElement("DIV"),this.dom.measureCharMajor.className="vis-text vis-major vis-measure",this.dom.measureCharMajor.style.position="absolute",this.dom.measureCharMajor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMajor)),this.props.majorCharHeight=this.dom.measureCharMajor.clientHeight,this.props.majorCharWidth=this.dom.measureCharMajor.clientWidth}}var V=!1;function G(t){this.active=!1,this.dom={container:t},this.dom.overlay=document.createElement("div"),this.dom.overlay.className="vis-overlay",this.dom.container.appendChild(this.dom.overlay),this.hammer=R(this.dom.overlay),this.hammer.on("tap",this._onTapOverlay.bind(this));var e=this,i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];i.forEach((function(t){e.hammer.on(t,(function(t){t.stopPropagation()}))})),document&&document.body&&(this.onClick=function(i){Z(i.target,t)||e.deactivate()},document.body.addEventListener("click",this.onClick)),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=u()(),this.escListener=this.deactivate.bind(this)}function Z(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}g()(G.prototype),G.current=null,G.prototype.destroy=function(){this.deactivate(),this.dom.overlay.parentNode.removeChild(this.dom.overlay),this.onClick&&document.body.removeEventListener("click",this.onClick),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=null,this.hammer.destroy(),this.hammer=null},G.prototype.activate=function(){G.current&&G.current.deactivate(),G.current=this,this.active=!0,this.dom.overlay.style.display="none",m.addClassName(this.dom.container,"vis-active"),this.emit("change"),this.emit("activate"),this.keycharm.bind("esc",this.escListener)},G.prototype.deactivate=function(){G.current===this&&(G.current=null),this.active=!1,this.dom.overlay.style.display="",m.removeClassName(this.dom.container,"vis-active"),this.keycharm.unbind("esc",this.escListener),this.emit("change"),this.emit("deactivate")},G.prototype._onTapOverlay=function(t){this.activate(),t.stopPropagation()};const U={current:"current",time:"time",deleteSelected:"Delete selected"},K=U,X=U,J={current:"attuale",time:"tempo",deleteSelected:"Cancella la selezione"},Q=J,q=J,$={current:"huidige",time:"tijd",deleteSelected:"Selectie verwijderen"},tt=$,et=$,it={current:"Aktuelle",time:"Zeit",deleteSelected:"Lösche Auswahl"},nt=it,ot={current:"actuel",time:"heure",deleteSelected:"Effacer la selection"},st=ot,rt=ot,at=ot,gt={current:"corriente",time:"hora",deleteSelected:"Eliminar selección"},dt=gt,lt={current:"поточний",time:"час",deleteSelected:"Видалити обране"},ct=lt,ht={current:"текущее",time:"время",deleteSelected:"Удалить выбранное"},ut=ht,At={current:"aktualny",time:"czas",deleteSelected:"Usuń wybrane"},Ct=At,It={current:"atual",time:"data",deleteSelected:"Apagar selecionado"},pt=It,ft=It,mt={current:"現在",time:"時刻",deleteSelected:"選択されたものを削除"},vt=mt,bt={en:U,en_EN:K,en_US:X,it:J,it_IT:Q,it_CH:q,nl:$,nl_NL:tt,nl_BE:et,de:it,de_DE:nt,fr:ot,fr_FR:st,fr_CA:rt,fr_BE:at,es:gt,es_ES:dt,uk:lt,uk_UA:ct,ru:ht,ru_RU:ut,pl:At,pl_PL:Ct,pt:It,pt_BR:pt,pt_PT:ft,ja:mt,ja_JP:vt};class yt extends v{constructor(t,e){super(),this.body=t,this.defaultOptions={moment:C,locales:bt,locale:"en",id:void 0,title:void 0},this.options=m.extend({},this.defaultOptions),this.setOptions(e),this.options.locales=m.extend({},bt,this.options.locales);const i=this.defaultOptions.locales[this.defaultOptions.locale];Object.keys(this.options.locales).forEach(t=>{this.options.locales[t]=m.extend({},i,this.options.locales[t])}),e&&null!=e.time?this.customTime=e.time:this.customTime=new Date,this.eventParams={},this._create()}setOptions(t){t&&m.selectiveExtend(["moment","locale","locales","id","title","rtl","snap"],this.options,t)}_create(){const t=document.createElement("div");t["custom-time"]=this,t.className="vis-custom-time "+(this.options.id||""),t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t;const e=document.createElement("div");function i(t){this.body.range._onMouseWheel(t)}e.style.position="relative",e.style.top="0px",this.options.rtl?e.style.right="-10px":e.style.left="-10px",e.style.height="100%",e.style.width="20px",e.addEventListener?(e.addEventListener("mousewheel",i.bind(this),!1),e.addEventListener("DOMMouseScroll",i.bind(this),!1)):e.attachEvent("onmousewheel",i.bind(this)),t.appendChild(e),this.hammer=new R(e),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:R.DIRECTION_ALL})}destroy(){this.hide(),this.hammer.destroy(),this.hammer=null,this.body=null}redraw(){const t=this.body.dom.backgroundVertical;this.bar.parentNode!=t&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),t.appendChild(this.bar));const e=this.body.util.toScreen(this.customTime);let i=this.options.locales[this.options.locale];i||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),i=this.options.locales["en"]);let n=this.options.title;return void 0===n?(n=`${i.time}: ${this.options.moment(this.customTime).format("dddd, MMMM Do YYYY, H:mm:ss")}`,n=n.charAt(0).toUpperCase()+n.substring(1)):"function"===typeof n&&(n=n.call(this,this.customTime)),this.options.rtl?this.bar.style.right=e+"px":this.bar.style.left=e+"px",this.bar.title=n,!1}hide(){this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar)}setCustomTime(t){this.customTime=m.convert(t,"Date"),this.redraw()}getCustomTime(){return new Date(this.customTime.valueOf())}setCustomMarker(t,e){const i=document.createElement("div");i.className="vis-custom-time-marker",i.innerHTML=t,i.style.position="absolute",e&&(i.setAttribute("contenteditable","true"),i.addEventListener("pointerdown",(function(){i.focus()})),i.addEventListener("input",this._onMarkerChange.bind(this)),i.title=t,i.addEventListener("blur",function(t){this.title!=t.target.innerHTML&&(this._onMarkerChanged(t),this.title=t.target.innerHTML)}.bind(this))),this.bar.appendChild(i)}setCustomTitle(t){this.options.title=t}_onDragStart(t){this.eventParams.dragging=!0,this.eventParams.customTime=this.customTime,t.stopPropagation()}_onDrag(t){if(!this.eventParams.dragging)return;let e=this.options.rtl?-1*t.deltaX:t.deltaX;const i=this.body.util.toScreen(this.eventParams.customTime)+e,n=this.body.util.toTime(i),o=this.body.util.getScale(),s=this.body.util.getStep(),r=this.options.snap,a=r?r(n,o,s):n;this.setCustomTime(a),this.body.emitter.emit("timechange",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:t}),t.stopPropagation()}_onDragEnd(t){this.eventParams.dragging&&(this.body.emitter.emit("timechanged",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:t}),t.stopPropagation())}_onMarkerChange(t){this.body.emitter.emit("markerchange",{id:this.options.id,title:t.target.innerHTML,event:t}),t.stopPropagation()}_onMarkerChanged(t){this.body.emitter.emit("markerchanged",{id:this.options.id,title:t.target.innerHTML,event:t}),t.stopPropagation()}static customTimeFromTarget(t){let e=t.target;while(e){if(e.hasOwnProperty("custom-time"))return e["custom-time"];e=e.parentNode}return null}}class _t{_create(t){this.dom={},this.dom.container=t,this.dom.container.style.position="relative",this.dom.root=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.backgroundVertical=document.createElement("div"),this.dom.backgroundHorizontal=document.createElement("div"),this.dom.centerContainer=document.createElement("div"),this.dom.leftContainer=document.createElement("div"),this.dom.rightContainer=document.createElement("div"),this.dom.center=document.createElement("div"),this.dom.left=document.createElement("div"),this.dom.right=document.createElement("div"),this.dom.top=document.createElement("div"),this.dom.bottom=document.createElement("div"),this.dom.shadowTop=document.createElement("div"),this.dom.shadowBottom=document.createElement("div"),this.dom.shadowTopLeft=document.createElement("div"),this.dom.shadowBottomLeft=document.createElement("div"),this.dom.shadowTopRight=document.createElement("div"),this.dom.shadowBottomRight=document.createElement("div"),this.dom.rollingModeBtn=document.createElement("div"),this.dom.loadingScreen=document.createElement("div"),this.dom.root.className="vis-timeline",this.dom.background.className="vis-panel vis-background",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical",this.dom.backgroundHorizontal.className="vis-panel vis-background vis-horizontal",this.dom.centerContainer.className="vis-panel vis-center",this.dom.leftContainer.className="vis-panel vis-left",this.dom.rightContainer.className="vis-panel vis-right",this.dom.top.className="vis-panel vis-top",this.dom.bottom.className="vis-panel vis-bottom",this.dom.left.className="vis-content",this.dom.center.className="vis-content",this.dom.right.className="vis-content",this.dom.shadowTop.className="vis-shadow vis-top",this.dom.shadowBottom.className="vis-shadow vis-bottom",this.dom.shadowTopLeft.className="vis-shadow vis-top",this.dom.shadowBottomLeft.className="vis-shadow vis-bottom",this.dom.shadowTopRight.className="vis-shadow vis-top",this.dom.shadowBottomRight.className="vis-shadow vis-bottom",this.dom.rollingModeBtn.className="vis-rolling-mode-btn",this.dom.loadingScreen.className="vis-loading-screen",this.dom.root.appendChild(this.dom.background),this.dom.root.appendChild(this.dom.backgroundVertical),this.dom.root.appendChild(this.dom.backgroundHorizontal),this.dom.root.appendChild(this.dom.centerContainer),this.dom.root.appendChild(this.dom.leftContainer),this.dom.root.appendChild(this.dom.rightContainer),this.dom.root.appendChild(this.dom.top),this.dom.root.appendChild(this.dom.bottom),this.dom.root.appendChild(this.dom.rollingModeBtn),this.dom.centerContainer.appendChild(this.dom.center),this.dom.leftContainer.appendChild(this.dom.left),this.dom.rightContainer.appendChild(this.dom.right),this.dom.centerContainer.appendChild(this.dom.shadowTop),this.dom.centerContainer.appendChild(this.dom.shadowBottom),this.dom.leftContainer.appendChild(this.dom.shadowTopLeft),this.dom.leftContainer.appendChild(this.dom.shadowBottomLeft),this.dom.rightContainer.appendChild(this.dom.shadowTopRight),this.dom.rightContainer.appendChild(this.dom.shadowBottomRight),this.props={root:{},background:{},centerContainer:{},leftContainer:{},rightContainer:{},center:{},left:{},right:{},top:{},bottom:{},border:{},scrollTop:0,scrollTopMin:0},this.on("rangechange",()=>{!0===this.initialDrawDone&&this._redraw()}),this.on("rangechanged",()=>{this.initialRangeChangeDone||(this.initialRangeChangeDone=!0)}),this.on("touch",this._onTouch.bind(this)),this.on("panmove",this._onDrag.bind(this));const e=this;this._origRedraw=this._redraw.bind(this),this._redraw=m.throttle(this._origRedraw),this.on("_change",t=>{e.itemSet&&e.itemSet.initialItemSetDrawn&&t&&1==t.queue?e._redraw():e._origRedraw()}),this.hammer=new R(this.dom.root);const i=this.hammer.get("pinch").set({enable:!0});i&&B(i),this.hammer.get("pan").set({threshold:5,direction:R.DIRECTION_ALL}),this.timelineListeners={};const n=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];function o(t){const e=40,i=800;this.isActive()&&this.emit("mousewheel",t);let n=0,o=0;if("detail"in t&&(o=-1*t.detail),"wheelDelta"in t&&(o=t.wheelDelta),"wheelDeltaY"in t&&(o=t.wheelDeltaY),"wheelDeltaX"in t&&(n=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(n=-1*o,o=0),"deltaY"in t&&(o=-1*t.deltaY),"deltaX"in t&&(n=t.deltaX),t.deltaMode&&(1===t.deltaMode?(n*=e,o*=e):(n*=e,o*=i)),this.options.preferZoom){if(!this.options.zoomKey||t[this.options.zoomKey])return}else if(this.options.zoomKey&&t[this.options.zoomKey])return;if(this.options.verticalScroll||this.options.horizontalScroll)if(this.options.verticalScroll&&Math.abs(o)>=Math.abs(n)){const e=this.props.scrollTop,i=e+o;if(this.isActive()){const n=this._setScrollTop(i);n!==e&&(this._redraw(),this.emit("scroll",t),t.preventDefault())}}else if(this.options.horizontalScroll){const e=Math.abs(n)>=Math.abs(o)?n:o,i=e/120*(this.range.end-this.range.start)/20,s=this.range.start+i,r=this.range.end+i,a={animation:!1,byUser:!0,event:t};this.range.setRange(s,r,a),t.preventDefault()}}n.forEach(t=>{const i=i=>{e.isActive()&&e.emit(t,i)};e.hammer.on(t,i),e.timelineListeners[t]=i}),F(this.hammer,t=>{e.emit("touch",t)}),H(this.hammer,t=>{e.emit("release",t)});const s="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":this.dom.centerContainer.addEventListener?"DOMMouseScroll":"onmousewheel";function r(t){if(e.options.verticalScroll)if(e._isProgramaticallyScrolled)e._isProgramaticallyScrolled=!1;else if(t.preventDefault(),e.isActive()){const i=-t.target.scrollTop;e._setScrollTop(i),e._redraw(),e.emit("scrollSide",t)}}this.dom.top.addEventListener,this.dom.bottom.addEventListener,this.dom.centerContainer.addEventListener(s,o.bind(this),!1),this.dom.top.addEventListener(s,o.bind(this),!1),this.dom.bottom.addEventListener(s,o.bind(this),!1),this.dom.left.parentNode.addEventListener("scroll",r.bind(this)),this.dom.right.parentNode.addEventListener("scroll",r.bind(this));let a=!1;function g(t){if(t.preventDefault&&(e.emit("dragover",e.getEventProperties(t)),t.preventDefault()),t.target.className.indexOf("timeline")>-1&&!a)return t.dataTransfer.dropEffect="move",a=!0,!1}function d(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation();try{var i=JSON.parse(t.dataTransfer.getData("text"));if(!i||!i.content)return}catch(n){return!1}return a=!1,t.center={x:t.clientX,y:t.clientY},"item"!==i.target?e.itemSet._onAddItem(t):e.itemSet._onDropObjectOnItem(t),e.emit("drop",e.getEventProperties(t)),!1}if(this.dom.center.addEventListener("dragover",g.bind(this),!1),this.dom.center.addEventListener("drop",d.bind(this),!1),this.customTimes=[],this.touch={},this.redrawCount=0,this.initialDrawDone=!1,this.initialRangeChangeDone=!1,!t)throw new Error("No container provided");t.appendChild(this.dom.root),t.appendChild(this.dom.loadingScreen)}setOptions(t){if(t){const e=["width","height","minHeight","maxHeight","autoResize","start","end","clickToUse","dataAttributes","hiddenDates","locale","locales","moment","preferZoom","rtl","zoomKey","horizontalScroll","verticalScroll","longSelectPressTime","snap"];if(m.selectiveExtend(e,this.options,t),this.dom.rollingModeBtn.style.visibility="hidden",this.options.rtl&&(this.dom.container.style.direction="rtl",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical-rtl"),this.options.verticalScroll&&(this.options.rtl?this.dom.rightContainer.className="vis-panel vis-right vis-vertical-scroll":this.dom.leftContainer.className="vis-panel vis-left vis-vertical-scroll"),"object"!==typeof this.options.orientation&&(this.options.orientation={item:void 0,axis:void 0}),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation={item:t.orientation,axis:t.orientation}:"object"===typeof t.orientation&&("item"in t.orientation&&(this.options.orientation.item=t.orientation.item),"axis"in t.orientation&&(this.options.orientation.axis=t.orientation.axis))),"both"===this.options.orientation.axis){if(!this.timeAxis2){const t=this.timeAxis2=new W(this.body);t.setOptions=e=>{const i=e?m.extend({},e):{};i.orientation="top",W.prototype.setOptions.call(t,i)},this.components.push(t)}}else if(this.timeAxis2){const t=this.components.indexOf(this.timeAxis2);-1!==t&&this.components.splice(t,1),this.timeAxis2.destroy(),this.timeAxis2=null}"function"==typeof t.drawPoints&&(t.drawPoints={onRender:t.drawPoints}),"hiddenDates"in this.options&&b(this.options.moment,this.body,this.options.hiddenDates),"clickToUse"in t&&(t.clickToUse?this.activator||(this.activator=new G(this.dom.root)):this.activator&&(this.activator.destroy(),delete this.activator)),this._initAutoResize()}if(this.components.forEach(e=>e.setOptions(t)),"configure"in t){this.configurator||(this.configurator=this._createConfigurator()),this.configurator.setOptions(t.configure);const e=m.deepExtend({},this.options);this.components.forEach(t=>{m.deepExtend(e,t.options)}),this.configurator.setModuleOptions({global:e})}this._redraw()}isActive(){return!this.activator||this.activator.active}destroy(){this.setItems(null),this.setGroups(null),this.off(),this._stopAutoResize(),this.dom.root.parentNode&&this.dom.root.parentNode.removeChild(this.dom.root),this.dom=null,this.activator&&(this.activator.destroy(),delete this.activator);for(const t in this.timelineListeners)this.timelineListeners.hasOwnProperty(t)&&delete this.timelineListeners[t];this.timelineListeners=null,this.hammer&&this.hammer.destroy(),this.hammer=null,this.components.forEach(t=>t.destroy()),this.body=null}setCustomTime(t,e){const i=this.customTimes.filter(t=>e===t.options.id);if(0===i.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));i.length>0&&i[0].setCustomTime(t)}getCustomTime(t){const e=this.customTimes.filter(e=>e.options.id===t);if(0===e.length)throw new Error("No custom time bar found with id "+JSON.stringify(t));return e[0].getCustomTime()}setCustomTimeMarker(t,e,i){const n=this.customTimes.filter(t=>t.options.id===e);if(0===n.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));n.length>0&&n[0].setCustomMarker(t,i)}setCustomTimeTitle(t,e){const i=this.customTimes.filter(t=>t.options.id===e);if(0===i.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));if(i.length>0)return i[0].setCustomTitle(t)}getEventProperties(t){return{event:t}}addCustomTime(t,e){const i=void 0!==t?m.convert(t,"Date"):new Date,n=this.customTimes.some(t=>t.options.id===e);if(n)throw new Error(`A custom time with id ${JSON.stringify(e)} already exists`);const o=new yt(this.body,m.extend({},this.options,{time:i,id:e,snap:this.itemSet?this.itemSet.options.snap:this.options.snap}));return this.customTimes.push(o),this.components.push(o),this._redraw(),e}removeCustomTime(t){const e=this.customTimes.filter(e=>e.options.id===t);if(0===e.length)throw new Error("No custom time bar found with id "+JSON.stringify(t));e.forEach(t=>{this.customTimes.splice(this.customTimes.indexOf(t),1),this.components.splice(this.components.indexOf(t),1),t.destroy()})}getVisibleItems(){return this.itemSet&&this.itemSet.getVisibleItems()||[]}getVisibleGroups(){return this.itemSet&&this.itemSet.getVisibleGroups()||[]}fit(t,e){const i=this.getDataRange();if(null===i.min&&null===i.max)return;const n=i.max-i.min,o=new Date(i.min.valueOf()-.01*n),s=new Date(i.max.valueOf()+.01*n),r=!t||void 0===t.animation||t.animation;this.range.setRange(o,s,{animation:r},e)}getDataRange(){throw new Error("Cannot invoke abstract method getDataRange")}setWindow(t,e,i,n){let o,s;"function"==typeof arguments[2]&&(n=arguments[2],i={}),1==arguments.length?(s=arguments[0],o=void 0===s.animation||s.animation,this.range.setRange(s.start,s.end,{animation:o})):2==arguments.length&&"function"==typeof arguments[1]?(s=arguments[0],n=arguments[1],o=void 0===s.animation||s.animation,this.range.setRange(s.start,s.end,{animation:o},n)):(o=!i||void 0===i.animation||i.animation,this.range.setRange(t,e,{animation:o},n))}moveTo(t,e,i){"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.range.end-this.range.start,o=m.convert(t,"Date").valueOf(),s=o-n/2,r=o+n/2,a=!e||void 0===e.animation||e.animation;this.range.setRange(s,r,{animation:a},i)}getWindow(){const t=this.range.getRange();return{start:new Date(t.start),end:new Date(t.end)}}zoomIn(t,e,i){if(!t||t<0||t>1)return;"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.getWindow(),o=n.start.valueOf(),s=n.end.valueOf(),r=s-o,a=r/(1+t),g=(r-a)/2,d=o+g,l=s-g;this.setWindow(d,l,e,i)}zoomOut(t,e,i){if(!t||t<0||t>1)return;"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.getWindow(),o=n.start.valueOf(),s=n.end.valueOf(),r=s-o,a=o-r*t/2,g=s+r*t/2;this.setWindow(a,g,e,i)}redraw(){this._redraw()}_redraw(){this.redrawCount++;const t=this.dom;if(!t||!t.container||0==t.root.offsetWidth)return;let e=!1;const i=this.options,n=this.props;y(this.options.moment,this.body,this.options.hiddenDates),"top"==i.orientation?(m.addClassName(t.root,"vis-top"),m.removeClassName(t.root,"vis-bottom")):(m.removeClassName(t.root,"vis-top"),m.addClassName(t.root,"vis-bottom")),i.rtl?(m.addClassName(t.root,"vis-rtl"),m.removeClassName(t.root,"vis-ltr")):(m.addClassName(t.root,"vis-ltr"),m.removeClassName(t.root,"vis-rtl")),t.root.style.maxHeight=m.option.asSize(i.maxHeight,""),t.root.style.minHeight=m.option.asSize(i.minHeight,""),t.root.style.width=m.option.asSize(i.width,"");const o=t.root.offsetWidth;n.border.left=1,n.border.right=1,n.border.top=1,n.border.bottom=1,n.center.height=t.center.offsetHeight,n.left.height=t.left.offsetHeight,n.right.height=t.right.offsetHeight,n.top.height=t.top.clientHeight||-n.border.top,n.bottom.height=t.bottom.clientHeight||-n.border.bottom;const s=Math.max(n.left.height,n.center.height,n.right.height),r=n.top.height+s+n.bottom.height+n.border.top+n.border.bottom;t.root.style.height=m.option.asSize(i.height,r+"px"),n.root.height=t.root.offsetHeight,n.background.height=n.root.height;const a=n.root.height-n.top.height-n.bottom.height;n.centerContainer.height=a,n.leftContainer.height=a,n.rightContainer.height=n.leftContainer.height,n.root.width=o,n.background.width=n.root.width,this.initialDrawDone||(n.scrollbarWidth=m.getScrollBarWidth());const g=t.leftContainer.clientWidth,d=t.rightContainer.clientWidth;i.verticalScroll?i.rtl?(n.left.width=g||-n.border.left,n.right.width=d+n.scrollbarWidth||-n.border.right):(n.left.width=g+n.scrollbarWidth||-n.border.left,n.right.width=d||-n.border.right):(n.left.width=g||-n.border.left,n.right.width=d||-n.border.right),this._setDOM();let l=this._updateScrollTop();"top"!=i.orientation.item&&(l+=Math.max(n.centerContainer.height-n.center.height-n.border.top-n.border.bottom,0)),t.center.style.transform=`translateY(${l}px)`;const c=0==n.scrollTop?"hidden":"",h=n.scrollTop==n.scrollTopMin?"hidden":"";t.shadowTop.style.visibility=c,t.shadowBottom.style.visibility=h,t.shadowTopLeft.style.visibility=c,t.shadowBottomLeft.style.visibility=h,t.shadowTopRight.style.visibility=c,t.shadowBottomRight.style.visibility=h,i.verticalScroll&&(t.rightContainer.className="vis-panel vis-right vis-vertical-scroll",t.leftContainer.className="vis-panel vis-left vis-vertical-scroll",t.shadowTopRight.style.visibility="hidden",t.shadowBottomRight.style.visibility="hidden",t.shadowTopLeft.style.visibility="hidden",t.shadowBottomLeft.style.visibility="hidden",t.left.style.top="0px",t.right.style.top="0px"),(!i.verticalScroll||n.center.heightn.centerContainer.height;this.hammer.get("pan").set({direction:u?R.DIRECTION_ALL:R.DIRECTION_HORIZONTAL}),this.hammer.get("press").set({time:this.options.longSelectPressTime}),this.components.forEach(t=>{e=t.redraw()||e});const A=5;if(e){if(this.redrawCount{if(1==t.options.autoResize){if(t.dom.root){const e=t.dom.root.offsetHeight,i=t.dom.root.offsetWidth;i==t.props.lastWidth&&e==t.props.lastHeight||(t.props.lastWidth=i,t.props.lastHeight=e,t.props.scrollbarWidth=m.getScrollBarWidth(),t.body.emitter.emit("_change"))}}else t._stopAutoResize()},m.addEventListener(window,"resize",this._onResize),t.dom.root&&(t.props.lastWidth=t.dom.root.offsetWidth,t.props.lastHeight=t.dom.root.offsetHeight),this.watchTimer=setInterval(this._onResize,1e3)}_stopAutoResize(){this.watchTimer&&(clearInterval(this.watchTimer),this.watchTimer=void 0),this._onResize&&(m.removeEventListener(window,"resize",this._onResize),this._onResize=null)}_onTouch(t){this.touch.allowDragging=!0,this.touch.initialScrollTop=this.props.scrollTop}_onPinch(t){this.touch.allowDragging=!1}_onDrag(t){if(!t)return;if(!this.touch.allowDragging)return;const e=t.deltaY,i=this._getScrollTop(),n=this._setScrollTop(this.touch.initialScrollTop+e);this.options.verticalScroll&&(this.dom.left.parentNode.scrollTop=-this.props.scrollTop,this.dom.right.parentNode.scrollTop=-this.props.scrollTop),n!=i&&this.emit("verticalDrag")}_setScrollTop(t){return this.props.scrollTop=t,this._updateScrollTop(),this.props.scrollTop}_updateScrollTop(){const t=Math.min(this.props.centerContainer.height-this.props.center.height,0);return t!=this.props.scrollTopMin&&("top"!=this.options.orientation.item&&(this.props.scrollTop+=t-this.props.scrollTopMin),this.props.scrollTopMin=t),this.props.scrollTop>0&&(this.props.scrollTop=0),this.props.scrollTop{this.options.locales[t]=m.extend({},i,this.options.locales[t])}),this.offset=0,this._create()}_create(){const t=document.createElement("div");t.className="vis-current-time",t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t}destroy(){this.options.showCurrentTime=!1,this.redraw(),this.body=null}setOptions(t){t&&m.selectiveExtend(["rtl","showCurrentTime","alignCurrentTime","moment","locale","locales"],this.options,t)}redraw(){if(this.options.showCurrentTime){const t=this.body.dom.backgroundVertical;this.bar.parentNode!=t&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),t.appendChild(this.bar),this.start());let e=this.options.moment(Date.now()+this.offset);this.options.alignCurrentTime&&(e=e.startOf(this.options.alignCurrentTime));const i=this.body.util.toScreen(e);let n=this.options.locales[this.options.locale];n||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),n=this.options.locales["en"]);let o=`${n.current} ${n.time}: ${e.format("dddd, MMMM Do YYYY, H:mm:ss")}`;o=o.charAt(0).toUpperCase()+o.substring(1),this.options.rtl?this.bar.style.transform=`translateX(${-1*i}px)`:this.bar.style.transform=`translateX(${i}px)`,this.bar.title=o}else this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),this.stop();return!1}start(){const t=this;function e(){t.stop();const i=t.body.range.conversion(t.body.domProps.center.width).scale;let n=1/i/10;n<30&&(n=30),n>1e3&&(n=1e3),t.redraw(),t.body.emitter.emit("currentTimeTick"),t.currentTimeTimer=setTimeout(e,n)}e()}stop(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),delete this.currentTimeTimer)}setCurrentTime(t){const e=m.convert(t,"Date").valueOf(),i=Date.now();this.offset=e-i,this.redraw()}getCurrentTime(){return new Date(Date.now()+this.offset)}}const Mt=.001;function xt(t){t.sort((t,e)=>t.data.start-e.data.start)}function kt(t){t.sort((t,e)=>{const i="end"in t.data?t.data.end:t.data.start,n="end"in e.data?e.data.end:e.data.start;return i-n})}function Dt(t,e,i,n){if(i)for(var o=0;oo&&(o=i.top+i.height)}while(s)}}i.height=o-i.top+.5*e.item.vertical}function Lt(t,e,i,n){for(let o=0;oi[t].index&&Et(i[o],i[t])){n=i[t];break}null!=n&&(i[o].top=n.top+n.height)}while(n)}for(let o=0;oi[t].index&&(i[s].top+=i[t].height);const o=t[s];for(let t=0;te.right&&t.top-i.vertical+Mte.top:t.left-i.horizontal+Mte.left&&t.top-i.vertical+Mte.top}function Et(t,e){const i=t.starte.start,n=t.tope.top;return i&&n}const Pt="__ungrouped__",jt="__background__",Nt={UNGROUPED:Pt,BACKGROUND:jt};class Rt{constructor(t,e,i){if(this.groupId=t,this.subgroups={},this.subgroupStack={},this.subgroupStackAll=!1,this.subgroupVisibility={},this.doInnerStack=!1,this.shouldBailStackItems=!1,this.subgroupIndex=0,this.subgroupOrderer=e&&e.subgroupOrder,this.itemSet=i,this.isVisible=null,this.stackDirty=!0,this._disposeCallbacks=[],e&&e.nestedGroups&&(this.nestedGroups=e.nestedGroups,0==e.showNested?this.showNested=!1:this.showNested=!0),e&&e.subgroupStack)if("boolean"===typeof e.subgroupStack)this.doInnerStack=e.subgroupStack,this.subgroupStackAll=e.subgroupStack;else for(const o in e.subgroupStack)this.subgroupStack[o]=e.subgroupStack[o],this.doInnerStack=this.doInnerStack||e.subgroupStack[o];e&&e.heightMode?this.heightMode=e.heightMode:this.heightMode=i.options.groupHeightMode,this.nestedInGroup=null,this.dom={},this.props={label:{width:0,height:0}},this.className=null,this.items={},this.visibleItems=[],this.itemsInRange=[],this.orderedItems={byStart:[],byEnd:[]},this.checkRangedItems=!1;const n=()=>{this.checkRangedItems=!0};this.itemSet.body.emitter.on("checkRangedItems",n),this._disposeCallbacks.push(()=>{this.itemSet.body.emitter.off("checkRangedItems",n)}),this._create(),this.setData(e)}_create(){const t=document.createElement("div");this.itemSet.options.groupEditable.order?t.className="vis-label draggable":t.className="vis-label",this.dom.label=t;const e=document.createElement("div");e.className="vis-inner",t.appendChild(e),this.dom.inner=e;const i=document.createElement("div");i.className="vis-group",i["vis-group"]=this,this.dom.foreground=i,this.dom.background=document.createElement("div"),this.dom.background.className="vis-group",this.dom.axis=document.createElement("div"),this.dom.axis.className="vis-group",this.dom.marker=document.createElement("div"),this.dom.marker.style.visibility="hidden",this.dom.marker.style.position="absolute",this.dom.marker.innerHTML="",this.dom.background.appendChild(this.dom.marker)}setData(t){if(this.itemSet.groupTouchParams.isDragging)return;let e,i;if(t&&t.subgroupVisibility)for(const o in t.subgroupVisibility)this.subgroupVisibility[o]=t.subgroupVisibility[o];if(this.itemSet.options&&this.itemSet.options.groupTemplate?(i=this.itemSet.options.groupTemplate.bind(this),e=i(t,this.dom.inner)):e=t&&t.content,e instanceof Element){while(this.dom.inner.firstChild)this.dom.inner.removeChild(this.dom.inner.firstChild);this.dom.inner.appendChild(e)}else e instanceof Object&&e.isReactComponent||(e instanceof Object?i(t,this.dom.inner):this.dom.inner.innerHTML=void 0!==e&&null!==e?e:this.groupId||"");this.dom.label.title=t&&t.title||"",this.dom.inner.firstChild?m.removeClassName(this.dom.inner,"vis-hidden"):m.addClassName(this.dom.inner,"vis-hidden"),t&&t.nestedGroups?(this.nestedGroups&&this.nestedGroups==t.nestedGroups||(this.nestedGroups=t.nestedGroups),void 0===t.showNested&&void 0!==this.showNested||(0==t.showNested?this.showNested=!1:this.showNested=!0),m.addClassName(this.dom.label,"vis-nesting-group"),this.showNested?(m.removeClassName(this.dom.label,"collapsed"),m.addClassName(this.dom.label,"expanded")):(m.removeClassName(this.dom.label,"expanded"),m.addClassName(this.dom.label,"collapsed"))):this.nestedGroups&&(this.nestedGroups=null,m.removeClassName(this.dom.label,"collapsed"),m.removeClassName(this.dom.label,"expanded"),m.removeClassName(this.dom.label,"vis-nesting-group")),t&&(t.treeLevel||t.nestedInGroup)?(m.addClassName(this.dom.label,"vis-nested-group"),t.treeLevel?m.addClassName(this.dom.label,"vis-group-level-"+t.treeLevel):m.addClassName(this.dom.label,"vis-group-level-unknown-but-gte1")):m.addClassName(this.dom.label,"vis-group-level-0");const n=t&&t.className||null;n!=this.className&&(this.className&&(m.removeClassName(this.dom.label,this.className),m.removeClassName(this.dom.foreground,this.className),m.removeClassName(this.dom.background,this.className),m.removeClassName(this.dom.axis,this.className)),m.addClassName(this.dom.label,n),m.addClassName(this.dom.foreground,n),m.addClassName(this.dom.background,n),m.addClassName(this.dom.axis,n),this.className=n),this.style&&(m.removeCssText(this.dom.label,this.style),this.style=null),t&&t.style&&(m.addCssText(this.dom.label,t.style),this.style=t.style)}getLabelWidth(){return this.props.label.width}_didMarkerHeightChange(){const t=this.dom.marker.clientHeight;if(t!=this.lastMarkerHeight){this.lastMarkerHeight=t;const e={};let i=0;m.forEach(this.items,(t,n)=>{if(t.dirty=!0,t.displayed){const o=!0;e[n]=t.redraw(o),i=e[n].length}});const n=i>0;if(n)for(let t=0;t{e[t]()});return!0}return!1}_calculateGroupSizeAndPosition(){const{offsetTop:t,offsetLeft:e,offsetWidth:i}=this.dom.foreground;this.top=t,this.right=e,this.width=i}_shouldBailItemsRedraw(){const t=this,e=this.itemSet.options.onTimeout,i={relativeBailingTime:this.itemSet.itemsSettingTime,bailTimeMs:e&&e.timeoutMs,userBailFunction:e&&e.callback,shouldBailStackItems:this.shouldBailStackItems};let n=null;if(!this.itemSet.initialDrawDone){if(i.shouldBailStackItems)return!0;Math.abs(Date.now()-new Date(i.relativeBailingTime))>i.bailTimeMs&&(i.userBailFunction&&null==this.itemSet.userContinueNotBail?i.userBailFunction(e=>{t.itemSet.userContinueNotBail=e,n=!e}):n=0==t.itemSet.userContinueNotBail)}return n}_redrawItems(t,e,i,n){const o=t||this.stackDirty||this.isVisible&&!e;if(o){const t={byEnd:this.orderedItems.byEnd.filter(t=>!t.isCluster),byStart:this.orderedItems.byStart.filter(t=>!t.isCluster)},e={byEnd:[...new Set(this.orderedItems.byEnd.map(t=>t.cluster).filter(t=>!!t))],byStart:[...new Set(this.orderedItems.byStart.map(t=>t.cluster).filter(t=>!!t))]},o=()=>{const i=this._updateItemsInRange(t,this.visibleItems.filter(t=>!t.isCluster),n),o=this._updateClustersInRange(e,this.visibleItems.filter(t=>t.isCluster),n);return[...i,...o]},s=t=>{let e={};for(const i in this.subgroups){const n=this.visibleItems.filter(t=>t.data.subgroup===i);e[i]=t?n.sort((e,i)=>t(e.data,i.data)):n}return e};if("function"===typeof this.itemSet.options.order){const t=this;if(this.doInnerStack&&this.itemSet.options.stackSubgroups){const t=s(this.itemSet.options.order);St(t,i,this.subgroups),this.visibleItems=o(),this._updateSubGroupHeights(i)}else{this.visibleItems=o(),this._updateSubGroupHeights(i);const e=this.visibleItems.slice().filter(t=>t.isCluster||!t.isCluster&&!t.cluster).sort((e,i)=>t.itemSet.options.order(e.data,i.data));this.shouldBailStackItems=Dt(e,i,!0,this._shouldBailItemsRedraw.bind(this))}}else if(this.visibleItems=o(),this._updateSubGroupHeights(i),this.itemSet.options.stack)if(this.doInnerStack&&this.itemSet.options.stackSubgroups){const t=s();St(t,i,this.subgroups)}else this.shouldBailStackItems=Dt(this.visibleItems,i,!0,this._shouldBailItemsRedraw.bind(this));else Lt(this.visibleItems,i,this.subgroups,this.itemSet.options.stackSubgroups);for(let i=0;i{t.cluster&&t.displayed&&t.hide()}),this.shouldBailStackItems&&this.itemSet.body.emitter.emit("destroyTimeline"),this.stackDirty=!1}}_didResize(t,e){t=m.updateProperty(this,"height",e)||t;const i=this.dom.inner.clientWidth,n=this.dom.inner.clientHeight;return t=m.updateProperty(this.props.label,"width",i)||t,t=m.updateProperty(this.props.label,"height",n)||t,t}_applyGroupHeight(t){this.dom.background.style.height=t+"px",this.dom.foreground.style.height=t+"px",this.dom.label.style.height=t+"px"}_updateItemsVerticalPosition(t){for(let e=0,i=this.visibleItems.length;e{i=this._didMarkerHeightChange.call(this)||i},this._updateSubGroupHeights.bind(this,e),this._calculateGroupSizeAndPosition.bind(this),()=>{this.isVisible=this._isGroupVisible.bind(this)(t,e)},()=>{this._redrawItems.bind(this)(i,s,e,t)},this._updateSubgroupsSizes.bind(this),()=>{r=this._calculateHeight.bind(this)(e)},this._calculateGroupSizeAndPosition.bind(this),()=>{o=this._didResize.bind(this)(o,r)},()=>{this._applyGroupHeight.bind(this)(r)},()=>{this._updateItemsVerticalPosition.bind(this)(e)},(()=>(!this.isVisible&&this.height&&(o=!1),o)).bind(this)];if(n)return a;{let t;return a.forEach(e=>{t=e()}),t}}_updateSubGroupHeights(t){if(Object.keys(this.subgroups).length>0){const e=this;this._resetSubgroups(),m.forEach(this.visibleItems,i=>{void 0!==i.data.subgroup&&(e.subgroups[i.data.subgroup].height=Math.max(e.subgroups[i.data.subgroup].height,i.height+t.item.vertical),e.subgroups[i.data.subgroup].visible="undefined"===typeof this.subgroupVisibility[i.data.subgroup]||Boolean(this.subgroupVisibility[i.data.subgroup]))})}}_isGroupVisible(t,e){return this.top<=t.body.domProps.centerContainer.height-t.body.domProps.scrollTop+e.axis&&this.top+this.height+e.axis>=-t.body.domProps.scrollTop}_calculateHeight(t){let e,i;if(i="fixed"===this.heightMode?m.toArray(this.items):this.visibleItems,i.length>0){let n=i[0].top,o=i[0].top+i[0].height;if(m.forEach(i,t=>{n=Math.min(n,t.top),o=Math.max(o,t.top+t.height)}),n>t.axis){const e=n-t.axis;o-=e,m.forEach(i,t=>{t.top-=e})}e=Math.ceil(o+t.item.vertical/2),"fitItems"!==this.heightMode&&(e=Math.max(e,this.props.label.height))}else e=this.props.label.height;return e}show(){this.dom.label.parentNode||this.itemSet.dom.labelSet.appendChild(this.dom.label),this.dom.foreground.parentNode||this.itemSet.dom.foreground.appendChild(this.dom.foreground),this.dom.background.parentNode||this.itemSet.dom.background.appendChild(this.dom.background),this.dom.axis.parentNode||this.itemSet.dom.axis.appendChild(this.dom.axis)}hide(){const t=this.dom.label;t.parentNode&&t.parentNode.removeChild(t);const e=this.dom.foreground;e.parentNode&&e.parentNode.removeChild(e);const i=this.dom.background;i.parentNode&&i.parentNode.removeChild(i);const n=this.dom.axis;n.parentNode&&n.parentNode.removeChild(n)}add(t){if(this.items[t.id]=t,t.setParent(this),this.stackDirty=!0,void 0!==t.data.subgroup&&(this._addToSubgroup(t),this.orderSubgroups()),!this.visibleItems.includes(t)){const e=this.itemSet.body.range;this._checkIfVisible(t,this.visibleItems,e)}}_addToSubgroup(t,e=t.data.subgroup){void 0!=e&&void 0===this.subgroups[e]&&(this.subgroups[e]={height:0,top:0,start:t.data.start,end:t.data.end||t.data.start,visible:!1,index:this.subgroupIndex,items:[],stack:this.subgroupStackAll||this.subgroupStack[e]||!1},this.subgroupIndex++),new Date(t.data.start)new Date(this.subgroups[e].end)&&(this.subgroups[e].end=i),this.subgroups[e].items.push(t)}_updateSubgroupsSizes(){const t=this;if(t.subgroups)for(const e in t.subgroups){const i=t.subgroups[e].items[0].data.end||t.subgroups[e].items[0].data.start;let n=t.subgroups[e].items[0].data.start,o=i-1;t.subgroups[e].items.forEach(t=>{new Date(t.data.start)new Date(o)&&(o=e)}),t.subgroups[e].start=n,t.subgroups[e].end=new Date(o-1)}}orderSubgroups(){if(void 0!==this.subgroupOrderer){const t=[];if("string"==typeof this.subgroupOrderer){for(const e in this.subgroups)t.push({subgroup:e,sortField:this.subgroups[e].items[0].data[this.subgroupOrderer]});t.sort((t,e)=>t.sortField-e.sortField)}else if("function"==typeof this.subgroupOrderer){for(const e in this.subgroups)t.push(this.subgroups[e].items[0].data);t.sort(this.subgroupOrderer)}if(t.length>0)for(let e=0;e=0&&(i.items.splice(n,1),i.items.length?this._updateSubgroupsSizes():delete this.subgroups[e])}}}removeFromDataSet(t){this.itemSet.removeItem(t.id)}order(){const t=m.toArray(this.items),e=[],i=[];for(let n=0;nt{const{start:e,end:i}=t;return i0)for(let C=0;Ct.data.startg),1==this.checkRangedItems){this.checkRangedItems=!1;for(let e=0;et.data.endg)}const h={};let u=0;for(let C=0;C0;if(A)for(let C=0;C{t[C]()});for(let C=0;C=0;s--){let t=e[s];if(o(t))break;t.isCluster&&!t.hasItems()||t.cluster||void 0===n[t.id]&&(n[t.id]=!0,i.push(t))}for(let s=t+1;s0)for(let d=0;d0;if(a)for(var g=0;g{this.options.locales[t]=m.extend({},n,this.options.locales[t])}),this.selected=!1,this.displayed=!1,this.groupShowing=!0,this.selectable=i&&i.selectable||!1,this.dirty=!0,this.top=null,this.right=null,this.left=null,this.width=null,this.height=null,this.setSelectability(t),this.editable=null,this._updateEditStatus()}select(){this.selectable&&(this.selected=!0,this.dirty=!0,this.displayed&&this.redraw())}unselect(){this.selected=!1,this.dirty=!0,this.displayed&&this.redraw()}setData(t){const e=void 0!=t.group&&this.data.group!=t.group;e&&null!=this.parent&&this.parent.itemSet._moveToGroup(this,t.group),this.setSelectability(t),this.parent&&(this.parent.stackDirty=!0);const i=void 0!=t.subgroup&&this.data.subgroup!=t.subgroup;i&&null!=this.parent&&this.parent.changeSubgroup(this,this.data.subgroup,t.subgroup),this.data=t,this._updateEditStatus(),this.dirty=!0,this.displayed&&this.redraw()}setSelectability(t){t&&(this.selectable="undefined"===typeof t.selectable||Boolean(t.selectable))}setParent(t){this.displayed?(this.hide(),this.parent=t,this.parent&&this.show()):this.parent=t}isVisible(t){return!1}show(){return!1}hide(){return!1}redraw(){}repositionX(){}repositionY(){}_repaintDragCenter(){if(this.selected&&this.editable.updateTime&&!this.dom.dragCenter){const t=this,e=document.createElement("div");e.className="vis-drag-center",e.dragCenterItem=this,this.hammerDragCenter=new R(e),this.hammerDragCenter.on("tap",e=>{t.parent.itemSet.body.emitter.emit("click",{event:e,item:t.id})}),this.hammerDragCenter.on("doubletap",e=>{e.stopPropagation(),t.parent.itemSet._onUpdateItem(t),t.parent.itemSet.body.emitter.emit("doubleClick",{event:e,item:t.id})}),this.hammerDragCenter.on("panstart",e=>{e.stopPropagation(),t.parent.itemSet._onDragStart(e)}),this.hammerDragCenter.on("panmove",t.parent.itemSet._onDrag.bind(t.parent.itemSet)),this.hammerDragCenter.on("panend",t.parent.itemSet._onDragEnd.bind(t.parent.itemSet)),this.dom.box?this.dom.dragLeft?this.dom.box.insertBefore(e,this.dom.dragLeft):this.dom.box.appendChild(e):this.dom.point&&this.dom.point.appendChild(e),this.dom.dragCenter=e}else!this.selected&&this.dom.dragCenter&&(this.dom.dragCenter.parentNode&&this.dom.dragCenter.parentNode.removeChild(this.dom.dragCenter),this.dom.dragCenter=null,this.hammerDragCenter&&(this.hammerDragCenter.destroy(),this.hammerDragCenter=null))}_repaintDeleteButton(t){const e=(this.options.editable.overrideItems||null==this.editable)&&this.options.editable.remove||!this.options.editable.overrideItems&&null!=this.editable&&this.editable.remove;if(this.selected&&e&&!this.dom.deleteButton){const e=this,i=document.createElement("div");this.options.rtl?i.className="vis-delete-rtl":i.className="vis-delete";let n=this.options.locales[this.options.locale];n||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),n=this.options.locales["en"]),i.title=n.deleteSelected,this.hammerDeleteButton=new R(i).on("tap",t=>{t.stopPropagation(),e.parent.removeFromDataSet(e)}),t.appendChild(i),this.dom.deleteButton=i}else!this.selected&&this.dom.deleteButton&&(this.dom.deleteButton.parentNode&&this.dom.deleteButton.parentNode.removeChild(this.dom.deleteButton),this.dom.deleteButton=null,this.hammerDeleteButton&&(this.hammerDeleteButton.destroy(),this.hammerDeleteButton=null))}_repaintOnItemUpdateTimeTooltip(t){if(!this.options.tooltipOnItemUpdateTime)return;const e=(this.options.editable.updateTime||!0===this.data.editable)&&!1!==this.data.editable;if(this.selected&&e&&!this.dom.onItemUpdateTimeTooltip){const e=document.createElement("div");e.className="vis-onUpdateTime-tooltip",t.appendChild(e),this.dom.onItemUpdateTimeTooltip=e}else!this.selected&&this.dom.onItemUpdateTimeTooltip&&(this.dom.onItemUpdateTimeTooltip.parentNode&&this.dom.onItemUpdateTimeTooltip.parentNode.removeChild(this.dom.onItemUpdateTimeTooltip),this.dom.onItemUpdateTimeTooltip=null);if(this.dom.onItemUpdateTimeTooltip){this.dom.onItemUpdateTimeTooltip.style.visibility=this.parent.itemSet.touchParams.itemIsDragging?"visible":"hidden",this.dom.onItemUpdateTimeTooltip.style.transform="translateX(-50%)",this.dom.onItemUpdateTimeTooltip.style.left="50%";const t=50,e=this.parent.itemSet.body.domProps.scrollTop;let i;i="top"==this.options.orientation.item?this.top:this.parent.height-this.top-this.height;const n=i+this.parent.top-t<-e;let o,s;n?(this.dom.onItemUpdateTimeTooltip.style.bottom="",this.dom.onItemUpdateTimeTooltip.style.top=this.height+2+"px"):(this.dom.onItemUpdateTimeTooltip.style.top="",this.dom.onItemUpdateTimeTooltip.style.bottom=this.height+2+"px"),this.options.tooltipOnItemUpdateTime&&this.options.tooltipOnItemUpdateTime.template?(s=this.options.tooltipOnItemUpdateTime.template.bind(this),o=s(this.data)):(o="start: "+C(this.data.start).format("MM/DD/YYYY hh:mm"),this.data.end&&(o+="
      end: "+C(this.data.end).format("MM/DD/YYYY hh:mm"))),this.dom.onItemUpdateTimeTooltip.innerHTML=o}}_getItemData(){return this.parent.itemSet.itemsData.get(this.id)}_updateContents(t){let e,i,n,o,s;const r=this._getItemData(),a=this.dom.box||this.dom.point,g=a.getElementsByClassName("vis-item-visible-frame")[0];if(this.options.visibleFrameTemplate?(s=this.options.visibleFrameTemplate.bind(this),o=s(r,g)):o="",g)if(o instanceof Object&&!(o instanceof Element))s(r,g);else if(i=this._contentToString(this.itemVisibleFrameContent)!==this._contentToString(o),i){if(o instanceof Element)g.innerHTML="",g.appendChild(o);else if(void 0!=o)g.innerHTML=o;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.itemVisibleFrameContent=o}if(this.options.template?(n=this.options.template.bind(this),e=n(r,t,this.data)):e=this.data.content,e instanceof Object&&!(e instanceof Element))n(r,t);else if(i=this._contentToString(this.content)!==this._contentToString(e),i){if(e instanceof Element)t.innerHTML="",t.appendChild(e);else if(void 0!=e)t.innerHTML=e;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.content=e}}_updateDataAttributes(t){if(this.options.dataAttributes&&this.options.dataAttributes.length>0){let e=[];if(Array.isArray(this.options.dataAttributes))e=this.options.dataAttributes;else{if("all"!=this.options.dataAttributes)return;e=Object.keys(this.data)}for(const i of e){const e=this.data[i];null!=e?t.setAttribute("data-"+i,e):t.removeAttribute("data-"+i)}}}_updateStyle(t){this.style&&(m.removeCssText(t,this.style),this.style=null),this.data.style&&(m.addCssText(t,this.data.style),this.style=this.data.style)}_contentToString(t){return"string"===typeof t?t:t&&"outerHTML"in t?t.outerHTML:t}_updateEditStatus(){this.options&&("boolean"===typeof this.options.editable?this.editable={updateTime:this.options.editable,updateGroup:this.options.editable,remove:this.options.editable}:"object"===typeof this.options.editable&&(this.editable={},m.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.options.editable))),this.options&&this.options.editable&&!0===this.options.editable.overrideItems||this.data&&("boolean"===typeof this.data.editable?this.editable={updateTime:this.data.editable,updateGroup:this.data.editable,remove:this.data.editable}:"object"===typeof this.data.editable&&(this.editable={},m.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.data.editable)))}getWidthLeft(){return 0}getWidthRight(){return 0}getTitle(){if(this.options.tooltip&&this.options.tooltip.template){const t=this.options.tooltip.template.bind(this);return t(this._getItemData(),this.data)}return this.data.title}}Ht.prototype.stack=!0;class Bt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={dot:{width:0,height:0},line:{width:0,height:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t)}isVisible(t){if(this.cluster)return!1;let e;const i=this.data.align||this.options.align,n=this.width*t.getMillisecondsPerPixel();return e="right"==i?this.data.start.getTime()>t.start&&this.data.start.getTime()-nt.start&&this.data.start.getTime()t.start&&this.data.start.getTime()-n/2{this.dirty&&(e=this._getDomComponentsSizes())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}show(t){if(!this.displayed)return this.redraw(t)}hide(){if(this.displayed){const t=this.dom;t.box.remove?t.box.remove():t.box.parentNode&&t.box.parentNode.removeChild(t.box),t.line.remove?t.line.remove():t.line.parentNode&&t.line.parentNode.removeChild(t.line),t.dot.remove?t.dot.remove():t.dot.parentNode&&t.dot.parentNode.removeChild(t.dot),this.displayed=!1}}repositionXY(){const t=this.options.rtl,e=(t,e,i,n=!1)=>{if(void 0===e&&void 0===i)return;const o=n?-1*e:e;t.style.transform=void 0!==i?void 0!==e?`translate(${o}px, ${i}px)`:`translateY(${i}px)`:`translateX(${o}px)`};e(this.dom.box,this.boxX,this.boxY,t),e(this.dom.dot,this.dotX,this.dotY,t),e(this.dom.line,this.lineX,this.lineY,t)}repositionX(){const t=this.conversion.toScreen(this.data.start),e=void 0===this.data.align?this.options.align:this.data.align,i=this.props.line.width,n=this.props.dot.width;"right"==e?(this.boxX=t-this.width,this.lineX=t-i,this.dotX=t-i/2-n/2):"left"==e?(this.boxX=t,this.lineX=t,this.dotX=t+i/2-n/2):(this.boxX=t-this.width/2,this.lineX=this.options.rtl?t-i:t-i/2,this.dotX=t-n/2),this.options.rtl?this.right=this.boxX:this.left=this.boxX,this.repositionXY()}repositionY(){const t=this.options.orientation.item,e=this.dom.line.style;if("top"==t){const t=this.parent.top+this.top+1;this.boxY=this.top||0,e.height=t+"px",e.bottom="",e.top="0"}else{const t=this.parent.itemSet.props.height,i=t-this.parent.top-this.parent.height+this.top;this.boxY=this.parent.height-this.top-(this.height||0),e.height=i+"px",e.top="",e.bottom="0"}this.dotY=-this.props.dot.height/2,this.repositionXY()}getWidthLeft(){return this.width/2}getWidthRight(){return this.width/2}}class zt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={dot:{top:0,width:0,height:0},content:{height:0,marginLeft:0,marginRight:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t)}isVisible(t){if(this.cluster)return!1;const e=this.width*t.getMillisecondsPerPixel();return this.data.start.getTime()+e>t.start&&this.data.start{this.dirty&&(e=this._getDomComponentsSizes())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}repositionXY(){const t=this.options.rtl,e=(t,e,i,n=!1)=>{if(void 0===e&&void 0===i)return;const o=n?-1*e:e;t.style.transform=void 0!==i?void 0!==e?`translate(${o}px, ${i}px)`:`translateY(${i}px)`:`translateX(${o}px)`};e(this.dom.point,this.pointX,this.pointY,t)}show(t){if(!this.displayed)return this.redraw(t)}hide(){this.displayed&&(this.dom.point.parentNode&&this.dom.point.parentNode.removeChild(this.dom.point),this.displayed=!1)}repositionX(){const t=this.conversion.toScreen(this.data.start);this.pointX=t,this.options.rtl?this.right=t-this.props.dot.width:this.left=t-this.props.dot.width,this.repositionXY()}repositionY(){const t=this.options.orientation.item;this.pointY="top"==t?this.top:this.parent.height-this.top-this.height,this.repositionXY()}getWidthLeft(){return this.props.dot.width}getWidthRight(){return this.props.dot.width}}class Wt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={content:{width:0}},this.overflow=!1,t){if(void 0==t.start)throw new Error('Property "start" missing in item '+t.id);if(void 0==t.end)throw new Error('Property "end" missing in item '+t.id)}}isVisible(t){return!this.cluster&&(this.data.startt.start)}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.visibleFrame=document.createElement("div"),this.dom.visibleFrame.className="vis-item-visible-frame",this.dom.box.appendChild(this.dom.visibleFrame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dom.box["vis-item"]=this,this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.foreground;if(!t)throw new Error("Cannot redraw item: parent has no foreground container element");t.appendChild(this.dom.box)}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box);const t=this.editable.updateTime||this.editable.updateGroup,e=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+(t?" vis-editable":" vis-readonly");this.dom.box.className=this.baseClassName+e,this.dom.content.style.maxWidth="none"}}_getDomComponentsSizes(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.frame).overflow,this.whiteSpace="nowrap"!==window.getComputedStyle(this.dom.content).whiteSpace,{content:{width:this.dom.content.offsetWidth},box:{height:this.dom.box.offsetHeight}}}_updateDomComponentsSizes(t){this.props.content.width=t.content.width,this.height=t.box.height,this.dom.content.style.maxWidth="",this.dirty=!1}_repaintDomAdditionals(){this._repaintOnItemUpdateTimeTooltip(this.dom.box),this._repaintDeleteButton(this.dom.box),this._repaintDragCenter(),this._repaintDragLeft(),this._repaintDragRight()}redraw(t){let e;const i=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),()=>{this.dirty&&(e=this._getDomComponentsSizes.bind(this)())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}show(t){if(!this.displayed)return this.redraw(t)}hide(){if(this.displayed){const t=this.dom.box;t.parentNode&&t.parentNode.removeChild(t),this.displayed=!1}}repositionX(t){const e=this.parent.width;let i=this.conversion.toScreen(this.data.start),n=this.conversion.toScreen(this.data.end);const o=void 0===this.data.align?this.options.align:this.data.align;let s,r;!1===this.data.limitSize||void 0!==t&&!0!==t||(i<-e&&(i=-e),n>2*e&&(n=2*e));const a=Math.max(Math.round(1e3*(n-i))/1e3,1);switch(this.overflow?(this.options.rtl?this.right=i:this.left=i,this.width=a+this.props.content.width,r=this.props.content.width):(this.options.rtl?this.right=i:this.left=i,this.width=a,r=Math.min(n-i,this.props.content.width)),this.options.rtl?this.dom.box.style.transform=`translateX(${-1*this.right}px)`:this.dom.box.style.transform=`translateX(${this.left}px)`,this.dom.box.style.width=a+"px",this.whiteSpace&&(this.height=this.dom.box.offsetHeight),o){case"left":this.dom.content.style.transform="translateX(0)";break;case"right":if(this.options.rtl){const t=-1*Math.max(a-r,0);this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${Math.max(a-r,0)}px)`;break;case"center":if(this.options.rtl){const t=-1*Math.max((a-r)/2,0);this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${Math.max((a-r)/2,0)}px)`;break;default:if(s=this.overflow?n>0?Math.max(-i,0):-r:i<0?-i:0,this.options.rtl){const t=-1*s;this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${s}px)`}}repositionY(){const t=this.options.orientation.item,e=this.dom.box;e.style.top="top"==t?this.top+"px":this.parent.height-this.top-this.height+"px"}_repaintDragLeft(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.editable.updateTime&&!this.dom.dragLeft){const t=document.createElement("div");t.className="vis-drag-left",t.dragLeftItem=this,this.dom.box.appendChild(t),this.dom.dragLeft=t}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragLeft||(this.dom.dragLeft.parentNode&&this.dom.dragLeft.parentNode.removeChild(this.dom.dragLeft),this.dom.dragLeft=null)}_repaintDragRight(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.editable.updateTime&&!this.dom.dragRight){const t=document.createElement("div");t.className="vis-drag-right",t.dragRightItem=this,this.dom.box.appendChild(t),this.dom.dragRight=t}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragRight||(this.dom.dragRight.parentNode&&this.dom.dragRight.parentNode.removeChild(this.dom.dragRight),this.dom.dragRight=null)}}Wt.prototype.baseClassName="vis-item vis-range";class Vt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={content:{width:0}},this.overflow=!1,t){if(void 0==t.start)throw new Error('Property "start" missing in item '+t.id);if(void 0==t.end)throw new Error('Property "end" missing in item '+t.id)}}isVisible(t){return this.data.startt.start}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.background;if(!t)throw new Error("Cannot redraw item: parent has no background container element");t.appendChild(this.dom.box)}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.content),this._updateStyle(this.dom.box);const t=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"");this.dom.box.className=this.baseClassName+t}}_getDomComponentsSizes(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.content).overflow,{content:{width:this.dom.content.offsetWidth}}}_updateDomComponentsSizes(t){this.props.content.width=t.content.width,this.height=0,this.dirty=!1}_repaintDomAdditionals(){}redraw(t){let e;const i=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),()=>{this.dirty&&(e=this._getDomComponentsSizes.bind(this)())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}repositionY(t){let e;const i=this.options.orientation.item;if(void 0!==this.data.subgroup){const t=this.data.subgroup;this.dom.box.style.height=this.parent.subgroups[t].height+"px",this.dom.box.style.top="top"==i?this.parent.top+this.parent.subgroups[t].top+"px":this.parent.top+this.parent.height-this.parent.subgroups[t].top-this.parent.subgroups[t].height+"px",this.dom.box.style.bottom=""}else this.parent instanceof Ft?(e=Math.max(this.parent.height,this.parent.itemSet.body.domProps.center.height,this.parent.itemSet.body.domProps.centerContainer.height),this.dom.box.style.bottom="bottom"==i?"0":"",this.dom.box.style.top="top"==i?"0":""):(e=this.parent.height,this.dom.box.style.top=this.parent.top+"px",this.dom.box.style.bottom="");this.dom.box.style.height=e+"px"}}Vt.prototype.baseClassName="vis-item vis-background",Vt.prototype.stack=!1,Vt.prototype.show=Wt.prototype.show,Vt.prototype.hide=Wt.prototype.hide,Vt.prototype.repositionX=Wt.prototype.repositionX;class Gt{constructor(t,e){this.container=t,this.overflowMethod=e||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}setPosition(t,e){this.x=parseInt(t),this.y=parseInt(e)}setText(t){t instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(t)):this.frame.innerHTML=t}show(t){if(void 0===t&&(t=!0),!0===t){var e=this.frame.clientHeight,i=this.frame.clientWidth,n=this.frame.parentNode.clientHeight,o=this.frame.parentNode.clientWidth,s=0,r=0;if("flip"==this.overflowMethod||"none"==this.overflowMethod){let t=!1,n=!0;"flip"==this.overflowMethod&&(this.y-eo-this.padding&&(t=!0)),s=t?this.x-i:this.x,r=n?this.y-e:this.y}else r=this.y-e,r+e+this.padding>n&&(r=n-e-this.padding),ro&&(s=o-i-this.padding),st.start&&this.hasItems()}getData(){return{isCluster:!0,id:this.id,items:this.data.items||[],data:this.data}}redraw(t){var e,i,n=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),function(){this.dirty&&(e=this._getDomComponentsSizes())}.bind(this),function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(e)}.bind(this),this._repaintDomAdditionals.bind(this)];return t?n:(n.forEach((function(t){i=t()})),i)}show(){this.displayed||this.redraw()}hide(){if(this.displayed){var t=this.dom;t.box.parentNode&&t.box.parentNode.removeChild(t.box),this.options.showStipes&&(t.line.parentNode&&t.line.parentNode.removeChild(t.line),t.dot.parentNode&&t.dot.parentNode.removeChild(t.dot)),this.displayed=!1}}repositionX(){let t=this.conversion.toScreen(this.data.start),e=this.data.end?this.conversion.toScreen(this.data.end):0;if(e)this.repositionXWithRanges(t,e);else{let e=void 0===this.data.align?this.options.align:this.data.align;this.repositionXWithoutRanges(t,e)}this.options.showStipes&&(this.dom.line.style.display=this._isStipeVisible()?"block":"none",this.dom.dot.style.display=this._isStipeVisible()?"block":"none",this._isStipeVisible()&&this.repositionStype(t,e))}repositionStype(t,e){this.dom.line.style.display="block",this.dom.dot.style.display="block";const i=this.dom.line.offsetWidth,n=this.dom.dot.offsetWidth;if(e){const o=i+t+(e-t)/2,s=o-n/2,r=this.options.rtl?-1*o:o,a=this.options.rtl?-1*s:s;this.dom.line.style.transform=`translateX(${r}px)`,this.dom.dot.style.transform=`translateX(${a}px)`}else{const e=this.options.rtl?-1*t:t,i=this.options.rtl?-1*(t-n/2):t-n/2;this.dom.line.style.transform=`translateX(${e}px)`,this.dom.dot.style.transform=`translateX(${i}px)`}}repositionXWithoutRanges(t,e){"right"==e?this.options.rtl?(this.right=t-this.width,this.dom.box.style.right=this.right+"px"):(this.left=t-this.width,this.dom.box.style.left=this.left+"px"):"left"==e?this.options.rtl?(this.right=t,this.dom.box.style.right=this.right+"px"):(this.left=t,this.dom.box.style.left=this.left+"px"):this.options.rtl?(this.right=t-this.width/2,this.dom.box.style.right=this.right+"px"):(this.left=t-this.width/2,this.dom.box.style.left=this.left+"px")}repositionXWithRanges(t,e){let i=Math.round(Math.max(e-t+.5,1));this.options.rtl?this.right=t:this.left=t,this.width=Math.max(i,this.minWidth||0),this.options.rtl?this.dom.box.style.right=this.right+"px":this.dom.box.style.left=this.left+"px",this.dom.box.style.width=i+"px"}repositionY(){var t=this.options.orientation.item,e=this.dom.box;if(e.style.top="top"==t?(this.top||0)+"px":(this.parent.height-this.top-this.height||0)+"px",this.options.showStipes){if("top"==t)this.dom.line.style.top="0",this.dom.line.style.height=this.parent.top+this.top+1+"px",this.dom.line.style.bottom="";else{var i=this.parent.itemSet.props.height,n=i-this.parent.top-this.parent.height+this.top;this.dom.line.style.top=i-n+"px",this.dom.line.style.bottom="0"}this.dom.dot.style.top=-this.dom.dot.offsetHeight/2+"px"}}getWidthLeft(){return this.width/2}getWidthRight(){return this.width/2}move(){this.repositionX(),this.repositionY()}attach(){for(let t of this.data.uiItems)t.cluster=this;this.data.items=this.data.uiItems.map(t=>t.data),this.attached=!0,this.dirty=!0}detach(t=!1){if(this.hasItems()){for(let t of this.data.uiItems)delete t.cluster;this.attached=!1,t&&this.group&&(this.group.remove(this),this.group=null),this.data.items=[],this.dirty=!0}}_onDoubleClick(){this._fit()}_setupRange(){const t=this.data.uiItems.map(t=>({start:t.data.start.valueOf(),end:t.data.end?t.data.end.valueOf():t.data.start.valueOf()}));this.data.min=Math.min(...t.map(t=>Math.min(t.start,t.end||t.start))),this.data.max=Math.max(...t.map(t=>Math.max(t.start,t.end||t.start)));const e=this.data.uiItems.map(t=>t.center),i=e.reduce((t,e)=>t+e,0)/this.data.uiItems.length;this.data.uiItems.some(t=>t.data.end)?(this.data.start=new Date(this.data.min),this.data.end=new Date(this.data.max)):(this.data.start=new Date(i),this.data.end=null)}_getUiItems(){return this.data.uiItems&&this.data.uiItems.length?this.data.uiItems.filter(t=>t.cluster===this):[]}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("DIV"),this.dom.content=document.createElement("DIV"),this.dom.content.className="vis-item-content",this.dom.box.appendChild(this.dom.content),this.options.showStipes&&(this.dom.line=document.createElement("DIV"),this.dom.line.className="vis-cluster-line",this.dom.line.style.display="none",this.dom.dot=document.createElement("DIV"),this.dom.dot.className="vis-cluster-dot",this.dom.dot.style.display="none"),this.options.fitOnDoubleClick&&(this.dom.box.ondblclick=Zt.prototype._onDoubleClick.bind(this)),this.dom.box["vis-item"]=this,this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.foreground;if(!t)throw new Error("Cannot redraw item: parent has no foreground container element");t.appendChild(this.dom.box)}const t=this.parent.dom.background;if(this.options.showStipes){if(!this.dom.line.parentNode){if(!t)throw new Error("Cannot redraw item: parent has no background container element");t.appendChild(this.dom.line)}if(!this.dom.dot.parentNode){var e=this.parent.dom.axis;if(!t)throw new Error("Cannot redraw item: parent has no axis container element");e.appendChild(this.dom.dot)}}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box);const t=this.baseClassName+" "+(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+" vis-readonly";this.dom.box.className="vis-item "+t,this.options.showStipes&&(this.dom.line.className="vis-item vis-cluster-line "+(this.selected?" vis-selected":""),this.dom.dot.className="vis-item vis-cluster-dot "+(this.selected?" vis-selected":"")),this.data.end&&(this.dom.content.style.maxWidth="none")}}_getDomComponentsSizes(){const t={previous:{right:this.dom.box.style.right,left:this.dom.box.style.left},box:{width:this.dom.box.offsetWidth,height:this.dom.box.offsetHeight}};return this.options.showStipes&&(t.dot={height:this.dom.dot.offsetHeight,width:this.dom.dot.offsetWidth},t.line={width:this.dom.line.offsetWidth}),t}_updateDomComponentsSizes(t){this.options.rtl?this.dom.box.style.right="0px":this.dom.box.style.left="0px",this.data.end?this.minWidth=t.box.width:this.width=t.box.width,this.height=t.box.height,this.options.rtl?this.dom.box.style.right=t.previous.right:this.dom.box.style.left=t.previous.left,this.dirty=!1}_repaintDomAdditionals(){this._repaintOnItemUpdateTimeTooltip(this.dom.box)}_isStipeVisible(){return this.minWidth>=this.width||!this.data.end}_getFitRange(){const t=.05*(this.data.max-this.data.min)/2;return{fitStart:this.data.min-t,fitEnd:this.data.max+t}}_fit(){if(this.emitter){const{fitStart:t,fitEnd:e}=this._getFitRange(),i={start:new Date(t),end:new Date(e),animation:!0};this.emitter.emit("fit",i)}}_getItemData(){return this.data}}Zt.prototype.baseClassName="vis-item vis-range vis-cluster";const Ut="__ungrouped__",Kt="__background__",Xt={UNGROUPED:Ut,BACKGROUND:Kt};class Jt{constructor(t){this.itemSet=t,this.groups={},this.cache={},this.cache[-1]=[]}createClusterItem(t,e,i){const n=new Zt(t,e,i);return n}setItems(t,e){this.items=t||[],this.dataChanged=!0,this.applyOnChangedLevel=!1,e&&e.applyOnChangedLevel&&(this.applyOnChangedLevel=e.applyOnChangedLevel)}updateData(){this.dataChanged=!0,this.applyOnChangedLevel=!1}getClusters(t,e,i){let{maxItems:n,clusterCriteria:o}="boolean"===typeof i?{}:i;o||(o=()=>!0),n=n||1;let s=-1,r=2,a=0;if(e>0){if(e>=1)return[];s=Math.abs(Math.round(Math.log(100/e)/Math.log(r))),a=Math.abs(Math.pow(r,s))}if(this.dataChanged){const t=s!=this.cacheLevel,e=!this.applyOnChangedLevel||t;e&&(this._dropLevelsCache(),this._filterData())}this.cacheLevel=s;let g=this.cache[s];if(!g){g=[];for(let e in this.groups)if(this.groups.hasOwnProperty(e)){const s=this.groups[e],r=s.length;let d=0;while(d=0&&e.center-s[l].center=0&&e.center-g[h].centern){const a=r-n+1,l=[];let c=d;while(l.lengtht.center-e.center);this.dataChanged=!1}_getClusterForItems(t,e,i,n){const o=(i||[]).map(t=>({cluster:t,itemsIds:new Set(t.data.uiItems.map(t=>t.id))}));let s;if(o.length)for(let h of o)if(h.itemsIds.size===t.length&&t.every(t=>h.itemsIds.has(t.id))){s=h.cluster;break}if(s)return s.setUiItems(t),s.group!==e&&(s.group&&s.group.remove(s),e&&(e.add(s),s.group=e)),s;let r=n.titleTemplate||"";const a={toScreen:this.itemSet.body.util.toScreen,toTime:this.itemSet.body.util.toTime},g=r.replace(/{count}/,t.length),d='
      '+t.length+"
      ",l=Object.assign({},n,this.itemSet.options),c={content:d,title:g,group:e,uiItems:t,eventEmitter:this.itemSet.body.emitter,range:this.itemSet.body.range};return s=this.createClusterItem(c,a,l),e&&(e.add(s),s.group=e),s.attach(),s}_dropLevelsCache(){this.cache={},this.cacheLevel=-1,this.cache[this.cacheLevel]=[]}}const Qt="__ungrouped__",qt="__background__";class $t extends v{constructor(t,e){super(),this.body=t,this.defaultOptions={type:null,orientation:{item:"bottom"},align:"auto",stack:!0,stackSubgroups:!0,groupOrderSwap(t,e,i){const n=e.order;e.order=t.order,t.order=n},groupOrder:"order",selectable:!0,multiselect:!1,longSelectPressTime:251,itemsAlwaysDraggable:{item:!1,range:!1},editable:{updateTime:!1,updateGroup:!1,add:!1,remove:!1,overrideItems:!1},groupEditable:{order:!1,add:!1,remove:!1},snap:z.snap,onDropObjectOnItem(t,e,i){i(e)},onAdd(t,e){e(t)},onUpdate(t,e){e(t)},onMove(t,e){e(t)},onRemove(t,e){e(t)},onMoving(t,e){e(t)},onAddGroup(t,e){e(t)},onMoveGroup(t,e){e(t)},onRemoveGroup(t,e){e(t)},margin:{item:{horizontal:10,vertical:10},axis:20},showTooltips:!0,tooltip:{followMouse:!1,overflowMethod:"flip",delay:500},tooltipOnItemUpdateTime:!1},this.options=m.extend({},this.defaultOptions),this.options.rtl=e.rtl,this.options.onTimeout=e.onTimeout,this.conversion={toScreen:t.util.toScreen,toTime:t.util.toTime},this.dom={},this.props={},this.hammer=null;const i=this;this.itemsData=null,this.groupsData=null,this.itemsSettingTime=null,this.initialItemSetDrawn=!1,this.userContinueNotBail=null,this.sequentialSelection=!1,this.itemListeners={add(t,e,n){i._onAdd(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()},update(t,e,n){i._onUpdate(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()},remove(t,e,n){i._onRemove(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()}},this.groupListeners={add(t,e,n){if(i._onAddGroups(e.items),i.groupsData&&i.groupsData.length>0){const t=i.groupsData.getDataSet();t.get().forEach(e=>{if(e.nestedGroups){0!=e.showNested&&(e.showNested=!0);let i=[];e.nestedGroups.forEach(n=>{const o=t.get(n);o&&(o.nestedInGroup=e.id,0==e.showNested&&(o.visible=!1),i=i.concat(o))}),t.update(i,n)}})}},update(t,e,n){i._onUpdateGroups(e.items)},remove(t,e,n){i._onRemoveGroups(e.items)}},this.items={},this.groups={},this.groupIds=[],this.selection=[],this.popup=null,this.popupTimer=null,this.touchParams={},this.groupTouchParams={group:null,isDragging:!1},this._create(),this.setOptions(e),this.clusters=[]}_create(){const t=document.createElement("div");t.className="vis-itemset",t["vis-itemset"]=this,this.dom.frame=t;const e=document.createElement("div");e.className="vis-background",t.appendChild(e),this.dom.background=e;const i=document.createElement("div");i.className="vis-foreground",t.appendChild(i),this.dom.foreground=i;const n=document.createElement("div");n.className="vis-axis",this.dom.axis=n;const o=document.createElement("div");o.className="vis-labelset",this.dom.labelSet=o,this._updateUngrouped();const s=new Ft(qt,null,this);s.show(),this.groups[qt]=s,this.hammer=new R(this.body.dom.centerContainer),this.hammer.on("hammer.input",t=>{t.isFirst&&this._onTouch(t)}),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:R.ALL}),this.hammer.on("tap",this._onSelectItem.bind(this)),this.hammer.on("press",this._onMultiSelectItem.bind(this)),this.hammer.on("doubletap",this._onAddItem.bind(this)),this.options.rtl?this.groupHammer=new R(this.body.dom.rightContainer):this.groupHammer=new R(this.body.dom.leftContainer),this.groupHammer.on("tap",this._onGroupClick.bind(this)),this.groupHammer.on("panstart",this._onGroupDragStart.bind(this)),this.groupHammer.on("panmove",this._onGroupDrag.bind(this)),this.groupHammer.on("panend",this._onGroupDragEnd.bind(this)),this.groupHammer.get("pan").set({threshold:5,direction:R.DIRECTION_VERTICAL}),this.body.dom.centerContainer.addEventListener("mouseover",this._onMouseOver.bind(this)),this.body.dom.centerContainer.addEventListener("mouseout",this._onMouseOut.bind(this)),this.body.dom.centerContainer.addEventListener("mousemove",this._onMouseMove.bind(this)),this.body.dom.centerContainer.addEventListener("contextmenu",this._onDragEnd.bind(this)),this.body.dom.centerContainer.addEventListener("mousewheel",this._onMouseWheel.bind(this)),this.show()}setOptions(t){if(t){const e=["type","rtl","align","order","stack","stackSubgroups","selectable","multiselect","sequentialSelection","multiselectPerGroup","longSelectPressTime","groupOrder","dataAttributes","template","groupTemplate","visibleFrameTemplate","hide","snap","groupOrderSwap","showTooltips","tooltip","tooltipOnItemUpdateTime","groupHeightMode","onTimeout"];m.selectiveExtend(e,this.options,t),"itemsAlwaysDraggable"in t&&("boolean"===typeof t.itemsAlwaysDraggable?(this.options.itemsAlwaysDraggable.item=t.itemsAlwaysDraggable,this.options.itemsAlwaysDraggable.range=!1):"object"===typeof t.itemsAlwaysDraggable&&(m.selectiveExtend(["item","range"],this.options.itemsAlwaysDraggable,t.itemsAlwaysDraggable),this.options.itemsAlwaysDraggable.item||(this.options.itemsAlwaysDraggable.range=!1))),"sequentialSelection"in t&&"boolean"===typeof t.sequentialSelection&&(this.options.sequentialSelection=t.sequentialSelection),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation.item="top"===t.orientation?"top":"bottom":"object"===typeof t.orientation&&"item"in t.orientation&&(this.options.orientation.item=t.orientation.item)),"margin"in t&&("number"===typeof t.margin?(this.options.margin.axis=t.margin,this.options.margin.item.horizontal=t.margin,this.options.margin.item.vertical=t.margin):"object"===typeof t.margin&&(m.selectiveExtend(["axis"],this.options.margin,t.margin),"item"in t.margin&&("number"===typeof t.margin.item?(this.options.margin.item.horizontal=t.margin.item,this.options.margin.item.vertical=t.margin.item):"object"===typeof t.margin.item&&m.selectiveExtend(["horizontal","vertical"],this.options.margin.item,t.margin.item)))),["locale","locales"].forEach(e=>{e in t&&(this.options[e]=t[e])}),"editable"in t&&("boolean"===typeof t.editable?(this.options.editable.updateTime=t.editable,this.options.editable.updateGroup=t.editable,this.options.editable.add=t.editable,this.options.editable.remove=t.editable,this.options.editable.overrideItems=!1):"object"===typeof t.editable&&m.selectiveExtend(["updateTime","updateGroup","add","remove","overrideItems"],this.options.editable,t.editable)),"groupEditable"in t&&("boolean"===typeof t.groupEditable?(this.options.groupEditable.order=t.groupEditable,this.options.groupEditable.add=t.groupEditable,this.options.groupEditable.remove=t.groupEditable):"object"===typeof t.groupEditable&&m.selectiveExtend(["order","add","remove"],this.options.groupEditable,t.groupEditable));const i=e=>{const i=t[e];if(i){if("function"!==typeof i)throw new Error(`option ${e} must be a function ${e}(item, callback)`);this.options[e]=i}};["onDropObjectOnItem","onAdd","onUpdate","onRemove","onMove","onMoving","onAddGroup","onMoveGroup","onRemoveGroup"].forEach(i),t.cluster?(Object.assign(this.options,{cluster:t.cluster}),this.clusterGenerator||(this.clusterGenerator=new Jt(this)),this.clusterGenerator.setItems(this.items,{applyOnChangedLevel:!1}),this.markDirty({refreshItems:!0,restackGroups:!0}),this.redraw()):this.clusterGenerator?(this._detachAllClusters(),this.clusters=[],this.clusterGenerator=null,this.options.cluster=void 0,this.markDirty({refreshItems:!0,restackGroups:!0}),this.redraw()):this.markDirty()}}markDirty(t){this.groupIds=[],t&&(t.refreshItems&&m.forEach(this.items,t=>{t.dirty=!0,t.displayed&&t.redraw()}),t.restackGroups&&m.forEach(this.groups,(t,e)=>{e!==qt&&(t.stackDirty=!0)}))}destroy(){this.clearPopupTimer(),this.hide(),this.setItems(null),this.setGroups(null),this.hammer&&this.hammer.destroy(),this.groupHammer&&this.groupHammer.destroy(),this.hammer=null,this.body=null,this.conversion=null}hide(){this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom.axis.parentNode&&this.dom.axis.parentNode.removeChild(this.dom.axis),this.dom.labelSet.parentNode&&this.dom.labelSet.parentNode.removeChild(this.dom.labelSet)}show(){this.dom.frame.parentNode||this.body.dom.center.appendChild(this.dom.frame),this.dom.axis.parentNode||this.body.dom.backgroundVertical.appendChild(this.dom.axis),this.dom.labelSet.parentNode||(this.options.rtl?this.body.dom.right.appendChild(this.dom.labelSet):this.body.dom.left.appendChild(this.dom.labelSet))}setPopupTimer(t){if(this.clearPopupTimer(),t){const e=this.options.tooltip.delay||"number"===typeof this.options.tooltip.delay?this.options.tooltip.delay:500;this.popupTimer=setTimeout((function(){t.show()}),e)}}clearPopupTimer(){null!=this.popupTimer&&(clearTimeout(this.popupTimer),this.popupTimer=null)}setSelection(t){void 0==t&&(t=[]),Array.isArray(t)||(t=[t]);const e=this.selection.filter(e=>-1===t.indexOf(e));for(let i of e){const t=this.getItemById(i);t&&t.unselect()}this.selection=[...t];for(let i of t){const t=this.getItemById(i);t&&t.select()}}getSelection(){return this.selection.concat([])}getVisibleItems(){const t=this.body.range.getRange();let e,i;this.options.rtl?(e=this.body.util.toScreen(t.start),i=this.body.util.toScreen(t.end)):(i=this.body.util.toScreen(t.start),e=this.body.util.toScreen(t.end));const n=[];for(const o in this.groups)if(this.groups.hasOwnProperty(o)){const t=this.groups[o],s=t.isVisible?t.visibleItems:[];for(const o of s)this.options.rtl?o.righte&&n.push(o.id):o.lefti&&n.push(o.id)}return n}getVisibleGroups(){const t=[];for(const e in this.groups)if(this.groups.hasOwnProperty(e)){const i=this.groups[e];i.isVisible&&t.push(e)}return t}getItemById(t){return this.items[t]||this.clusters.find(e=>e.id===t)}_deselect(t){const e=this.selection;for(let i=0,n=e.length;i{if(i===qt)return;const n=t==u?A:C,o=!0;f[i]=t.redraw(e,n,h,o),v=f[i].length});const b=v>0;if(b){const t={};for(let e=0;e{t[n]=i[e]()});m.forEach(this.groups,(e,i)=>{if(i===qt)return;const n=t[i];s=n||s,I+=e.height}),I=Math.max(I,p)}return I=Math.max(I,p),r.style.height=i(I),this.props.width=r.offsetWidth,this.props.height=I,this.dom.axis.style.top=i("top"==o?this.body.domProps.top.height+this.body.domProps.border.top:this.body.domProps.top.height+this.body.domProps.centerContainer.height),this.options.rtl?this.dom.axis.style.right="0":this.dom.axis.style.left="0",this.hammer.get("press").set({time:this.options.longSelectPressTime}),this.initialItemSetDrawn=!0,s=this._isResized()||s,s}_firstGroup(){const t="top"==this.options.orientation.item?0:this.groupIds.length-1,e=this.groupIds[t],i=this.groups[e]||this.groups[Qt];return i||null}_updateUngrouped(){let t,e,i=this.groups[Qt];if(this.groupsData){if(i)for(e in i.dispose(),delete this.groups[Qt],this.items)if(this.items.hasOwnProperty(e)){t=this.items[e],t.parent&&t.parent.remove(t);const i=this.getGroupId(t.data),n=this.groups[i];n&&n.add(t)||t.hide()}}else if(!i){const n=null,o=null;for(e in i=new Rt(n,o,this),this.groups[Qt]=i,this.items)this.items.hasOwnProperty(e)&&(t=this.items[e],i.add(t));i.show()}}getLabelSet(){return this.dom.labelSet}setItems(t){this.itemsSettingTime=new Date;const e=this;let i;const n=this.itemsData;if(t){if(!(t instanceof r["a"]||t instanceof r["b"]))throw new TypeError("Data must be an instance of DataSet or DataView");this.itemsData=f(t)}else this.itemsData=null;if(n&&(m.forEach(this.itemListeners,(t,e)=>{n.off(e,t)}),n.dispose(),i=n.getIds(),this._onRemove(i)),this.itemsData){const t=this.id;m.forEach(this.itemListeners,(i,n)=>{e.itemsData.on(n,i,t)}),i=this.itemsData.getIds(),this._onAdd(i),this._updateUngrouped()}this.body.emitter.emit("_change",{queue:!0})}getItems(){return null!=this.itemsData?this.itemsData.rawDS:null}setGroups(t){const e=this;let i;if(this.groupsData&&(m.forEach(this.groupListeners,(t,i)=>{e.groupsData.off(i,t)}),i=this.groupsData.getIds(),this.groupsData=null,this._onRemoveGroups(i)),t){if(!(t instanceof r["a"]||t instanceof r["b"]))throw new TypeError("Data must be an instance of DataSet or DataView");this.groupsData=t}else this.groupsData=null;if(this.groupsData){let t=this.groupsData;this.groupsData instanceof r["b"]&&(t=this.groupsData.getDataSet()),t.get().forEach(e=>{e.nestedGroups&&e.nestedGroups.forEach(i=>{const n=t.get(i);n.nestedInGroup=e.id,0==e.showNested&&(n.visible=!1),t.update(n)})});const n=this.id;m.forEach(this.groupListeners,(t,i)=>{e.groupsData.on(i,t,n)}),i=this.groupsData.getIds(),this._onAddGroups(i)}this._updateUngrouped(),this._order(),this.options.cluster&&(this.clusterGenerator.updateData(),this._clusterItems(),this.markDirty({refreshItems:!0,restackGroups:!0})),this.body.emitter.emit("_change",{queue:!0})}getGroups(){return this.groupsData}removeItem(t){const e=this.itemsData.get(t);e&&this.options.onRemove(e,e=>{e&&this.itemsData.remove(t)})}_getType(t){return t.type||this.options.type||(t.end?"range":"box")}getGroupId(t){const e=this._getType(t);return"background"==e&&void 0==t.group?qt:this.groupsData?t.group:Qt}_onUpdate(t){const e=this;t.forEach(t=>{const i=e.itemsData.get(t);let n=e.items[t];const o=i?e._getType(i):null,s=$t.types[o];let r;if(n&&(s&&n instanceof s?e._updateItem(n,i):(r=n.selected,e._removeItem(n),n=null)),!n&&i){if(!s)throw new TypeError(`Unknown item type "${o}"`);n=new s(i,e.conversion,e.options),n.id=t,e._addItem(n),r&&(this.selection.push(t),n.select())}}),this._order(),this.options.cluster&&(this.clusterGenerator.setItems(this.items,{applyOnChangedLevel:!1}),this._clusterItems()),this.body.emitter.emit("_change",{queue:!0})}_onRemove(t){let e=0;const i=this;t.forEach(t=>{const n=i.items[t];n&&(e++,i._removeItem(n))}),e&&(this._order(),this.body.emitter.emit("_change",{queue:!0}))}_order(){m.forEach(this.groups,t=>{t.order()})}_onUpdateGroups(t){this._onAddGroups(t)}_onAddGroups(t){const e=this;t.forEach(t=>{const i=e.groupsData.get(t);let n=e.groups[t];if(n)n.setData(i);else{if(t==Qt||t==qt)throw new Error(`Illegal group id. ${t} is a reserved id.`);const o=Object.create(e.options);m.extend(o,{height:null}),n=new Rt(t,i,e),e.groups[t]=n;for(const i in e.items)if(e.items.hasOwnProperty(i)){const o=e.items[i];o.data.group==t&&n.add(o)}n.order(),n.show()}}),this.body.emitter.emit("_change",{queue:!0})}_onRemoveGroups(t){t.forEach(t=>{const e=this.groups[t];e&&(e.dispose(),delete this.groups[t])}),this.options.cluster&&(this.clusterGenerator.updateData(),this._clusterItems()),this.markDirty({restackGroups:!!this.options.cluster}),this.body.emitter.emit("_change",{queue:!0})}_orderGroups(){if(this.groupsData){let t=this.groupsData.getIds({order:this.options.groupOrder});t=this._orderNestedGroups(t);const e=!m.equalArray(t,this.groupIds);if(e){const e=this.groups;t.forEach(t=>{e[t].hide()}),t.forEach(t=>{e[t].show()}),this.groupIds=t}return e}return!1}_orderNestedGroups(t){function e(t,i){let n=[];return i.forEach(i=>{n.push(i);const o=t.groupsData.get(i);if(o.nestedGroups){const o=t.groupsData.get({filter(t){return t.nestedInGroup==i},order:t.options.groupOrder}).map(t=>t.id);n=n.concat(e(t,o))}}),n}const i=t.filter(t=>!this.groupsData.get(t).nestedInGroup);return e(this,i)}_addItem(t){this.items[t.id]=t;const e=this.getGroupId(t.data),i=this.groups[e];i?i&&i.data&&i.data.showNested&&(t.groupShowing=!0):t.groupShowing=!1,i&&i.add(t)}_updateItem(t,e){t.setData(e);const i=this.getGroupId(t.data),n=this.groups[i];n?n&&n.data&&n.data.showNested&&(t.groupShowing=!0):t.groupShowing=!1}_removeItem(t){t.hide(),delete this.items[t.id];const e=this.selection.indexOf(t.id);-1!=e&&this.selection.splice(e,1),t.parent&&t.parent.remove(t),null!=this.popup&&this.popup.hide()}_constructByEndArray(t){const e=[];for(let i=0;i{const o=i.items[e],s=i._getGroupIndex(o.data.group);return{item:o,initialX:t.center.x,groupOffset:n-s,data:this._cloneItemData(o.data)}})}t.stopPropagation()}else this.options.editable.add&&(t.srcEvent.ctrlKey||t.srcEvent.metaKey)&&this._onDragStartAddItem(t)}_onDragStartAddItem(t){const e=this.options.snap||null,i=this.dom.frame.getBoundingClientRect(),n=this.options.rtl?i.right-t.center.x+10:t.center.x-i.left-10,o=this.body.util.toTime(n),s=this.body.util.getScale(),r=this.body.util.getStep(),a=e?e(o,s,r):o,g=a,d={type:"range",start:a,end:g,content:"new item"},l=Object(A["v4"])();d[this.itemsData.idProp]=l;const c=this.groupFromTarget(t);c&&(d.group=c.groupId);const h=new Wt(d,this.conversion,this.options);h.id=l,h.data=this._cloneItemData(d),this._addItem(h),this.touchParams.selectedItem=h;const u={item:h,initialX:t.center.x,data:h.data};this.options.rtl?u.dragLeft=!0:u.dragRight=!0,this.touchParams.itemProps=[u],t.stopPropagation()}_onDrag(t){if(null!=this.popup&&this.options.showTooltips&&!this.popup.hidden){const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.center.x-i.left+e.offsetLeft,t.center.y-i.top+e.offsetTop),this.popup.show()}if(this.touchParams.itemProps){t.stopPropagation();const e=this,i=this.options.snap||null,n=this.body.dom.root.offsetLeft,o=this.options.rtl?n+this.body.domProps.right.width:n+this.body.domProps.left.width,s=this.body.util.getScale(),r=this.body.util.getStep(),a=this.touchParams.selectedItem,g=(this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateGroup||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateGroup;let d=null;if(g&&a&&void 0!=a.data.group){const i=e.groupFromTarget(t);i&&(d=this._getGroupIndex(i.groupId))}this.touchParams.itemProps.forEach(n=>{const l=e.body.util.toTime(t.center.x-o),c=e.body.util.toTime(n.initialX-o);let h,u,A,C,I;h=this.options.rtl?-(l-c):l-c;let p=this._cloneItemData(n.item.data);if(null!=n.item.editable&&!n.item.editable.updateTime&&!n.item.editable.updateGroup&&!e.options.editable.overrideItems)return;const f=(this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateTime||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateTime;if(f)if(n.dragLeft)this.options.rtl?void 0!=p.end&&(A=m.convert(n.data.end,"Date"),I=new Date(A.valueOf()+h),p.end=i?i(I,s,r):I):void 0!=p.start&&(u=m.convert(n.data.start,"Date"),C=new Date(u.valueOf()+h),p.start=i?i(C,s,r):C);else if(n.dragRight)this.options.rtl?void 0!=p.start&&(u=m.convert(n.data.start,"Date"),C=new Date(u.valueOf()+h),p.start=i?i(C,s,r):C):void 0!=p.end&&(A=m.convert(n.data.end,"Date"),I=new Date(A.valueOf()+h),p.end=i?i(I,s,r):I);else if(void 0!=p.start)if(u=m.convert(n.data.start,"Date").valueOf(),C=new Date(u+h),void 0!=p.end){A=m.convert(n.data.end,"Date");const t=A.valueOf()-u.valueOf();p.start=i?i(C,s,r):C,p.end=new Date(p.start.valueOf()+t)}else p.start=i?i(C,s,r):C;if(g&&!n.dragLeft&&!n.dragRight&&null!=d&&void 0!=p.group){let t=d-n.groupOffset;t=Math.max(0,t),t=Math.min(e.groupIds.length-1,t),p.group=e.groupIds[t]}p=this._cloneItemData(p),e.options.onMoving(p,t=>{t&&n.item.setData(this._cloneItemData(t,"Date"))})}),this.body.emitter.emit("_change")}}_moveToGroup(t,e){const i=this.groups[e];if(i&&i.groupId!=t.data.group){const e=t.parent;e.remove(t),e.order(),t.data.group=i.groupId,i.add(t),i.order()}}_onDragEnd(t){if(this.touchParams.itemIsDragging=!1,this.touchParams.itemProps){t.stopPropagation();const e=this,i=this.touchParams.itemProps;this.touchParams.itemProps=null,i.forEach(t=>{const i=t.item.id,n=null!=e.itemsData.get(i);if(n){const n=this._cloneItemData(t.item.data);e.options.onMove(n,n=>{n?(n[this.itemsData.idProp]=i,this.itemsData.update(n)):(t.item.setData(t.data),e.body.emitter.emit("_change"))})}else e.options.onAdd(t.item.data,i=>{e._removeItem(t.item),i&&e.itemsData.add(i),e.body.emitter.emit("_change")})})}}_onGroupClick(t){const e=this.groupFromTarget(t);setTimeout(()=>{this.toggleGroupShowNested(e)},1)}toggleGroupShowNested(t,e){if(!t||!t.nestedGroups)return;const i=this.groupsData.getDataSet();t.showNested=void 0!=e?!!e:!t.showNested;let n=i.get(t.groupId);n.showNested=t.showNested;let o=t.nestedGroups,s=o;while(s.length>0){let t=s;s=[];for(let e=0;e0&&(o=o.concat(s))}let r=i.get(o).map((function(t){return void 0==t.visible&&(t.visible=!0),t.visible=!!n.showNested,t}));i.update(r.concat(n)),n.showNested?(m.removeClassName(t.dom.label,"collapsed"),m.addClassName(t.dom.label,"expanded")):(m.removeClassName(t.dom.label,"expanded"),m.addClassName(t.dom.label,"collapsed"))}toggleGroupDragClassName(t){t.dom.label.classList.toggle("vis-group-is-dragging"),t.dom.foreground.classList.toggle("vis-group-is-dragging")}_onGroupDragStart(t){this.groupTouchParams.isDragging||this.options.groupEditable.order&&(this.groupTouchParams.group=this.groupFromTarget(t),this.groupTouchParams.group&&(t.stopPropagation(),this.groupTouchParams.isDragging=!0,this.toggleGroupDragClassName(this.groupTouchParams.group),this.groupTouchParams.originalOrder=this.groupsData.getIds({order:this.options.groupOrder})))}_onGroupDrag(t){if(this.options.groupEditable.order&&this.groupTouchParams.group){t.stopPropagation();let e=this.groupsData;this.groupsData instanceof r["b"]&&(e=this.groupsData.getDataSet());const i=this.groupFromTarget(t);if(i&&i.height!=this.groupTouchParams.group.height){const e=i.topn)return}}if(i&&i!=this.groupTouchParams.group){const t=e.get(i.groupId),n=e.get(this.groupTouchParams.group.groupId);n&&t&&(this.options.groupOrderSwap(n,t,e),e.update(n),e.update(t));const o=e.getIds({order:this.options.groupOrder});if(!m.equalArray(o,this.groupTouchParams.originalOrder)){const t=this.groupTouchParams.originalOrder,i=this.groupTouchParams.group.groupId,n=Math.min(t.length,o.length);let s=0,r=0,a=0;while(s=n)break;if(o[s+r]==i)r=1;else if(t[s+a]==i)a=1;else{const i=o.indexOf(t[s+a]),n=e.get(o[s+r]),g=e.get(t[s+a]);this.options.groupOrderSwap(n,g,e),e.update(n),e.update(g);const d=o[s+r];o[s+r]=t[s+a],o[i]=d,s++}}}}}}_onGroupDragEnd(t){if(this.groupTouchParams.isDragging=!1,this.options.groupEditable.order&&this.groupTouchParams.group){t.stopPropagation();const e=this,i=e.groupTouchParams.group.groupId,n=e.groupsData.getDataSet(),o=m.extend({},n.get(i));e.options.onMoveGroup(o,t=>{if(t)t[n._idProp]=i,n.update(t);else{const t=n.getIds({order:e.options.groupOrder});if(!m.equalArray(t,e.groupTouchParams.originalOrder)){const i=e.groupTouchParams.originalOrder,o=Math.min(i.length,t.length);let s=0;while(s=o)break;const r=t.indexOf(i[s]),a=n.get(t[s]),g=n.get(i[s]);e.options.groupOrderSwap(a,g,n),n.update(a),n.update(g);const d=t[s];t[s]=i[s],t[r]=d,s++}}}}),e.body.emitter.emit("groupDragged",{groupId:i}),this.toggleGroupDragClassName(this.groupTouchParams.group),this.groupTouchParams.group=null}}_onSelectItem(t){if(!this.options.selectable)return;const e=t.srcEvent&&(t.srcEvent.ctrlKey||t.srcEvent.metaKey),i=t.srcEvent&&t.srcEvent.shiftKey;if(e||i)return void this._onMultiSelectItem(t);const n=this.getSelection(),o=this.itemFromTarget(t),s=o&&o.selectable?[o.id]:[];this.setSelection(s);const r=this.getSelection();(r.length>0||n.length>0)&&this.body.emitter.emit("select",{items:r,event:t})}_onMouseOver(t){const e=this.itemFromTarget(t);if(!e)return;const i=this.itemFromRelatedTarget(t);if(e===i)return;const n=e.getTitle();if(this.options.showTooltips&&n){null==this.popup&&(this.popup=new Gt(this.body.dom.root,this.options.tooltip.overflowMethod||"flip")),this.popup.setText(n);const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.clientX-i.left+e.offsetLeft,t.clientY-i.top+e.offsetTop),this.setPopupTimer(this.popup)}else this.clearPopupTimer(),null!=this.popup&&this.popup.hide();this.body.emitter.emit("itemover",{item:e.id,event:t})}_onMouseOut(t){const e=this.itemFromTarget(t);if(!e)return;const i=this.itemFromRelatedTarget(t);e!==i&&(this.clearPopupTimer(),null!=this.popup&&this.popup.hide(),this.body.emitter.emit("itemout",{item:e.id,event:t}))}_onMouseMove(t){const e=this.itemFromTarget(t);if(e&&(null!=this.popupTimer&&this.setPopupTimer(this.popup),this.options.showTooltips&&this.options.tooltip.followMouse&&this.popup&&!this.popup.hidden)){const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.clientX-i.left+e.offsetLeft,t.clientY-i.top+e.offsetTop),this.popup.show()}}_onMouseWheel(t){this.touchParams.itemIsDragging&&this._onDragEnd(t)}_onUpdateItem(t){if(!this.options.selectable)return;if(!this.options.editable.updateTime&&!this.options.editable.updateGroup)return;const e=this;if(t){const i=e.itemsData.get(t.id);this.options.onUpdate(i,t=>{t&&e.itemsData.update(t)})}}_onDropObjectOnItem(t){const e=this.itemFromTarget(t),i=JSON.parse(t.dataTransfer.getData("text"));this.options.onDropObjectOnItem(i,e)}_onAddItem(t){if(!this.options.selectable)return;if(!this.options.editable.add)return;const e=this,i=this.options.snap||null,n=this.dom.frame.getBoundingClientRect(),o=this.options.rtl?n.right-t.center.x:t.center.x-n.left,s=this.body.util.toTime(o),r=this.body.util.getScale(),a=this.body.util.getStep();let g,d;"drop"==t.type?(d=JSON.parse(t.dataTransfer.getData("text")),d.content=d.content?d.content:"new item",d.start=d.start?d.start:i?i(s,r,a):s,d.type=d.type||"box",d[this.itemsData.idProp]=d.id||Object(A["v4"])(),"range"!=d.type||d.end||(g=this.body.util.toTime(o+this.props.width/5),d.end=i?i(g,r,a):g)):(d={start:i?i(s,r,a):s,content:"new item"},d[this.itemsData.idProp]=Object(A["v4"])(),"range"===this.options.type&&(g=this.body.util.toTime(o+this.props.width/5),d.end=i?i(g,r,a):g));const l=this.groupFromTarget(t);l&&(d.group=l.groupId),d=this._cloneItemData(d),this.options.onAdd(d,i=>{i&&(e.itemsData.add(i),"drop"==t.type&&e.setSelection([i.id]))})}_onMultiSelectItem(t){if(!this.options.selectable)return;const e=this.itemFromTarget(t);if(e){let i=this.options.multiselect?this.getSelection():[];const n=t.srcEvent&&t.srcEvent.shiftKey||!1;if((n||this.options.sequentialSelection)&&this.options.multiselect){const t=this.itemsData.get(e.id).group;let n=void 0;this.options.multiselectPerGroup&&i.length>0&&(n=this.itemsData.get(i[0]).group),this.options.multiselectPerGroup&&void 0!=n&&n!=t||i.push(e.id);const o=$t._getItemRange(this.itemsData.get(i));if(!this.options.multiselectPerGroup||n==t){i=[];for(const t in this.items)if(this.items.hasOwnProperty(t)){const e=this.items[t],s=e.data.start,r=void 0!==e.data.end?e.data.end:s;!(s>=o.min&&r<=o.max)||this.options.multiselectPerGroup&&n!=this.itemsData.get(e.id).group||e instanceof Vt||i.push(e.id)}}}else{const t=i.indexOf(e.id);-1==t?i.push(e.id):i.splice(t,1)}const o=i.filter(t=>this.getItemById(t).selectable);this.setSelection(o),this.body.emitter.emit("select",{items:this.getSelection(),event:t})}}static _getItemRange(t){let e=null,i=null;return t.forEach(t=>{(null==i||t.starte)&&(e=t.end):(null==e||t.start>e)&&(e=t.start)}),{min:i,max:e}}itemFromElement(t){let e=t;while(e){if(e.hasOwnProperty("vis-item"))return e["vis-item"];e=e.parentNode}return null}itemFromTarget(t){return this.itemFromElement(t.target)}itemFromRelatedTarget(t){return this.itemFromElement(t.relatedTarget)}groupFromTarget(t){const e=t.center?t.center.y:t.clientY;let i=this.groupIds;i.length<=0&&this.groupsData&&(i=this.groupsData.getIds({order:this.options.groupOrder}));for(let n=0;n=r.top&&er.top)return o}else if(0===n&&et.id)),i=this.clusters.filter(t=>!e.has(t.id));let n=!1;for(let t of i){const e=this.selection.indexOf(t.id);-1!==e&&(t.unselect(),this.selection.splice(e,1),n=!0)}if(n){const t=this.getSelection();this.body.emitter.emit("select",{items:t,event:event})}}this.clusters=t||[]}}$t.types={background:Vt,box:Bt,range:Wt,point:zt},$t.prototype._onAdd=$t.prototype._onUpdate;let te,ee=!1,ie="background: #FFeeee; color: #dd0000";class ne{constructor(){}static validate(t,e,i){ee=!1,te=e;let n=e;return void 0!==i&&(n=e[i]),ne.parse(t,n,[]),ee}static parse(t,e,i){for(let n in t)t.hasOwnProperty(n)&&ne.check(n,t,e,i)}static check(t,e,i,n){if(void 0===i[t]&&void 0===i.__any__)return void ne.getSuggestion(t,i,n);let o=t,s=!0;void 0===i[t]&&void 0!==i.__any__&&(o="__any__",s="object"===ne.getType(e[t]));let r=i[o];s&&void 0!==r.__type__&&(r=r.__type__),ne.checkFields(t,e,i,o,r,n)}static checkFields(t,e,i,n,o,s){let r=function(e){console.log("%c"+e+ne.printLocation(s,t),ie)},a=ne.getType(e[t]),g=o[a];void 0!==g?"array"===ne.getType(g)&&-1===g.indexOf(e[t])?(r('Invalid option detected in "'+t+'". Allowed values are:'+ne.print(g)+' not "'+e[t]+'". '),ee=!0):"object"===a&&"__any__"!==n&&(s=m.copyAndExtendArray(s,t),ne.parse(e[t],i[n],s)):void 0===o["any"]&&(r('Invalid type received for "'+t+'". Expected: '+ne.print(Object.keys(o))+". Received ["+a+'] "'+e[t]+'"'),ee=!0)}static getType(t){var e=typeof t;return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Array.isArray(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}static getSuggestion(t,e,i){let n,o=ne.findInOptions(t,e,i,!1),s=ne.findInOptions(t,te,[],!0),r=8,a=4;n=void 0!==o.indexMatch?" in "+ne.printLocation(o.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+o.indexMatch+'"?\n\n':s.distance<=a&&o.distance>s.distance?" in "+ne.printLocation(o.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+ne.printLocation(s.path,s.closestMatch,""):o.distance<=r?'. Did you mean "'+o.closestMatch+'"?'+ne.printLocation(o.path,t):". Did you mean one of these: "+ne.print(Object.keys(e))+ne.printLocation(i,t),console.log('%cUnknown option detected: "'+t+'"'+n,ie),ee=!0}static findInOptions(t,e,i,n=!1){let o=1e9,s="",r=[],a=t.toLowerCase(),g=void 0;for(let d in e){let l;if(void 0!==e[d].__type__&&!0===n){let n=ne.findInOptions(t,e[d],m.copyAndExtendArray(i,d));o>n.distance&&(s=n.closestMatch,r=n.path,o=n.distance,g=n.indexMatch)}else-1!==d.toLowerCase().indexOf(a)&&(g=d),l=ne.levenshteinDistance(t,d),o>l&&(s=d,r=m.copyArray(i),o=l)}return{closestMatch:s,path:r,distance:o,indexMatch:g}}static printLocation(t,e,i="Problem value found at: \n"){let n="\n\n"+i+"options = {\n";for(let o=0;o{},this.closeCallback=()=>{},this._create()}insertTo(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}setUpdateCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}setCloseCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}_isColorString(t){if("string"===typeof t)return Ce[t]}setColor(t,e=!0){if("none"===t)return;let i;var n=this._isColorString(t);if(void 0!==n&&(t=n),!0===m.isString(t)){if(!0===m.isValidRGB(t)){let e=t.substr(4).substr(0,t.length-5).split(",");i={r:e[0],g:e[1],b:e[2],a:1}}else if(!0===m.isValidRGBA(t)){let e=t.substr(5).substr(0,t.length-6).split(",");i={r:e[0],g:e[1],b:e[2],a:e[3]}}else if(!0===m.isValidHex(t)){let e=m.hexToRGB(t);i={r:e.r,g:e.g,b:e.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){let e=void 0!==t.a?t.a:"1.0";i={r:t.r,g:t.g,b:t.b,a:e}}if(void 0===i)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+JSON.stringify(t));this._setColor(i,e)}show(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}_hide(t=!0){!0===t&&(this.previousColor=m.extend({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",setTimeout(()=>{void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0)},0)}_save(){this.updateCallback(this.color),this.applied=!1,this._hide()}_apply(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}_loadLast(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}_setColor(t,e=!0){!0===e&&(this.initialColor=m.extend({},t)),this.color=t;let i=m.RGBToHSV(t.r,t.g,t.b),n=2*Math.PI,o=this.r*i.s,s=this.centerCoordinates.x+o*Math.sin(n*i.h),r=this.centerCoordinates.y+o*Math.cos(n*i.h);this.colorPickerSelector.style.left=s-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=r-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}_setOpacity(t){this.color.a=t/100,this._updatePicker(this.color)}_setBrightness(t){let e=m.RGBToHSV(this.color.r,this.color.g,this.color.b);e.v=t/100;let i=m.HSVToRGB(e.h,e.s,e.v);i["a"]=this.color.a,this.color=i,this._updatePicker()}_updatePicker(t=this.color){let e=m.RGBToHSV(t.r,t.g,t.b),i=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1)),i.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);let n=this.colorPickerCanvas.clientWidth,o=this.colorPickerCanvas.clientHeight;i.clearRect(0,0,n,o),i.putImageData(this.hueCircle,0,0),i.fillStyle="rgba(0,0,0,"+(1-e.v)+")",i.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),i.fill(),this.brightnessRange.value=100*e.v,this.opacityRange.value=100*t.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}_setSize(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}_create(){if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){let t=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{let t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(t)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(e){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(e){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var t=this;this.opacityRange.onchange=function(){t._setOpacity(this.value)},this.opacityRange.oninput=function(){t._setOpacity(this.value)},this.brightnessRange.onchange=function(){t._setBrightness(this.value)},this.brightnessRange.oninput=function(){t._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerHTML="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerHTML="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerHTML="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerHTML="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerHTML="cancel",this.cancelButton.onclick=this._hide.bind(this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=this._apply.bind(this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=this._save.bind(this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=this._loadLast.bind(this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}_bindHammer(){this.drag={},this.pinch={},this.hammer=new R(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),F(this.hammer,t=>{this._moveSelector(t)}),this.hammer.on("tap",t=>{this._moveSelector(t)}),this.hammer.on("panstart",t=>{this._moveSelector(t)}),this.hammer.on("panmove",t=>{this._moveSelector(t)}),this.hammer.on("panend",t=>{this._moveSelector(t)})}_generateHueCircle(){if(!1===this.generated){let t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);let e,i,n,o,s=this.colorPickerCanvas.clientWidth,r=this.colorPickerCanvas.clientHeight;t.clearRect(0,0,s,r),this.centerCoordinates={x:.5*s,y:.5*r},this.r=.49*s;let a,g=2*Math.PI/360,d=1/360,l=1/this.r;for(n=0;n<360;n++)for(o=0;o0&&this._makeItem([]),this._makeHeader(n),this._handleObject(this.configureOptions[n],[n])),e++);this._makeButton(),this._push()}_push(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var t=0;t{i.appendChild(t)}),this.domElements.push(i),this.domElements.length}return 0}_makeHeader(t){let e=document.createElement("div");e.className="vis-configuration vis-config-header",e.innerHTML=t,this._makeItem([],e)}_makeLabel(t,e,i=!1){let n=document.createElement("div");return n.className="vis-configuration vis-config-label vis-config-s"+e.length,n.innerHTML=!0===i?""+t+":":t+":",n}_makeDropdown(t,e,i){let n=document.createElement("select");n.className="vis-configuration vis-config-select";let o=0;void 0!==e&&-1!==t.indexOf(e)&&(o=t.indexOf(e));for(let a=0;as&&1!==s&&(a.max=Math.ceil(e*t),d=a.max,g="range increased"),a.value=e}else a.value=n;let l=document.createElement("input");l.className="vis-configuration vis-config-rangeinput",l.value=Number(a.value);var c=this;a.onchange=function(){l.value=this.value,c._update(Number(this.value),i)},a.oninput=function(){l.value=this.value};let h=this._makeLabel(i[i.length-1],i),u=this._makeItem(i,h,a,l);""!==g&&this.popupHistory[u]!==d&&(this.popupHistory[u]=d,this._setupPopup(g,u))}_makeButton(){if(!0===this.options.showButton){let t=document.createElement("div");t.className="vis-configuration vis-config-button",t.innerHTML="generate options",t.onclick=()=>{this._printOptions()},t.onmouseover=()=>{t.className="vis-configuration vis-config-button hover"},t.onmouseout=()=>{t.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(t)}}_setupPopup(t,e){if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter{this._removePopup()},this.popupCounter+=1,this.popupDiv={html:i,index:e}}}_removePopup(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}_showPopupIfNeeded(){if(void 0!==this.popupDiv.html){let t=this.domElements[this.popupDiv.index],e=t.getBoundingClientRect();this.popupDiv.html.style.left=e.left+"px",this.popupDiv.html.style.top=e.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=setTimeout(()=>{this.popupDiv.html.style.opacity=0},1500),this.popupDiv.deleteTimeout=setTimeout(()=>{this._removePopup()},1800)}}_makeCheckbox(t,e,i){var n=document.createElement("input");n.type="checkbox",n.className="vis-configuration vis-config-checkbox",n.checked=t,void 0!==e&&(n.checked=e,e!==t&&("object"===typeof t?e!==t.enabled&&this.changedOptions.push({path:i,value:e}):this.changedOptions.push({path:i,value:e})));let o=this;n.onchange=function(){o._update(this.checked,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeTextInput(t,e,i){var n=document.createElement("input");n.type="text",n.className="vis-configuration vis-config-text",n.value=e,e!==t&&this.changedOptions.push({path:i,value:e});let o=this;n.onchange=function(){o._update(this.value,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeColorField(t,e,i){let n=t[1],o=document.createElement("div");e=void 0===e?n:e,"none"!==e?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=e):o.className="vis-configuration vis-config-colorBlock none",e=void 0===e?n:e,o.onclick=()=>{this._showColorPicker(e,o,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,o)}_showColorPicker(t,e,i){e.onclick=function(){},this.colorPicker.insertTo(e),this.colorPicker.show(),this.colorPicker.setColor(t),this.colorPicker.setUpdateCallback(t=>{let n="rgba("+t.r+","+t.g+","+t.b+","+t.a+")";e.style.backgroundColor=n,this._update(n,i)}),this.colorPicker.setCloseCallback(()=>{e.onclick=()=>{this._showColorPicker(t,e,i)}})}_handleObject(t,e=[],i=!1){let n=!1,o=this.options.filter,s=!1;for(let r in t)if(t.hasOwnProperty(r)){n=!0;let a=t[r],g=m.copyAndExtendArray(e,r);if("function"===typeof o&&(n=o(r,e),!1===n&&!(a instanceof Array)&&"string"!==typeof a&&"boolean"!==typeof a&&a instanceof Object&&(this.allowCreation=!1,n=this._handleObject(a,g,!0),this.allowCreation=!1===i)),!1!==n){s=!0;let t=this._getValue(g);if(a instanceof Array)this._handleArray(a,t,g);else if("string"===typeof a)this._makeTextInput(a,t,g);else if("boolean"===typeof a)this._makeCheckbox(a,t,g);else if(a instanceof Object){let t=!0;if(-1!==e.indexOf("physics")&&this.moduleOptions.physics.solver!==r&&(t=!1),!0===t)if(void 0!==a.enabled){let t=m.copyAndExtendArray(g,"enabled"),e=this._getValue(t);if(!0===e){let t=this._makeLabel(r,g,!0);this._makeItem(g,t),s=this._handleObject(a,g)||s}else this._makeCheckbox(a,e,g)}else{let t=this._makeLabel(r,g,!0);this._makeItem(g,t),s=this._handleObject(a,g)||s}}else console.error("dont know how to handle",a,r,g)}}return s}_handleArray(t,e,i){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,i),t[1]!==e&&this.changedOptions.push({path:i,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:Number(e)}))}_update(t,e){let i=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",i),this.initialized=!0,this.parent.setOptions(i)}_constructOptions(t,e,i={}){let n=i;t="true"===t||t,t="false"!==t&&t;for(let o=0;ovar options = "+JSON.stringify(t,null,2)+""}getOptions(){let t={};for(var e=0;e{a("click",t)},this.dom.root.ondblclick=t=>{a("doubleClick",t)},this.dom.root.oncontextmenu=t=>{a("contextmenu",t)},this.dom.root.onmouseover=t=>{a("mouseOver",t)},window.PointerEvent?(this.dom.root.onpointerdown=t=>{a("mouseDown",t)},this.dom.root.onpointermove=t=>{a("mouseMove",t)},this.dom.root.onpointerup=t=>{a("mouseUp",t)}):(this.dom.root.onmousemove=t=>{a("mouseMove",t)},this.dom.root.onmousedown=t=>{a("mouseDown",t)},this.dom.root.onmouseup=t=>{a("mouseUp",t)}),this.initialFitDone=!1,this.on("changed",()=>{if(null!=o.itemsData){if(!o.initialFitDone&&!o.options.rollingMode)if(o.initialFitDone=!0,void 0!=o.options.start||void 0!=o.options.end){if(void 0==o.options.start||void 0==o.options.end)var t=o.getItemRange();const e=void 0!=o.options.start?o.options.start:t.min,i=void 0!=o.options.end?o.options.end:t.max;o.setWindow(e,i,{animation:!1})}else o.fit({animation:!1});o.initialDrawDone||!o.initialRangeChangeDone&&(o.options.start||o.options.end)&&!o.options.rollingMode||(o.initialDrawDone=!0,o.itemSet.initialDrawDone=!0,o.dom.root.style.visibility="visible",o.dom.loadingScreen.parentNode.removeChild(o.dom.loadingScreen),o.options.onInitialDrawComplete&&setTimeout(()=>o.options.onInitialDrawComplete(),0))}}),this.on("destroyTimeline",()=>{o.destroy()}),n&&this.setOptions(n),this.body.emitter.on("fit",t=>{this._onFit(t),this.redraw()}),i&&this.setGroups(i),e&&this.setItems(e),this._redraw()}_createConfigurator(){return new pe(this,this.dom.container,Ae)}redraw(){this.itemSet&&this.itemSet.markDirty({refreshItems:!0}),this._redraw()}setOptions(t){let e=ne.validate(t,ue);if(!0===e&&console.log("%cErrors have been found in the supplied options object.",ie),_t.prototype.setOptions.call(this,t),"type"in t&&t.type!==this.options.type){this.options.type=t.type;const e=this.itemsData;if(e){const t=this.getSelection();this.setItems(null),this.setItems(e.rawDS),this.setSelection(t)}}}setItems(t){let e;this.itemsDone=!1,e=t?t instanceof r["a"]||t instanceof r["b"]?f(t):f(new r["a"](t)):null,this.itemsData&&this.itemsData.dispose(),this.itemsData=e,this.itemSet&&this.itemSet.setItems(null!=e?e.rawDS:null)}setGroups(t){let e;if(t){const i=t=>!1!==t.visible;e=t instanceof r["a"]||t instanceof r["b"]?new r["b"](t,{filter:i}):new r["a"](t.filter(i))}else e=null;this.groupsData instanceof r["b"]&&this.groupsData.setData(null),this.groupsData=e,this.itemSet.setGroups(e)}setData(t){t&&t.groups&&this.setGroups(t.groups),t&&t.items&&this.setItems(t.items)}setSelection(t,e){this.itemSet&&this.itemSet.setSelection(t),e&&e.focus&&this.focus(t,e)}getSelection(){return this.itemSet&&this.itemSet.getSelection()||[]}focus(t,e){if(!this.itemsData||void 0==t)return;const i=Array.isArray(t)?t:[t],n=this.itemsData.get(i);let o=null,s=null;if(n.forEach(t=>{const e=t.start.valueOf(),i="end"in t?t.end.valueOf():t.start.valueOf();(null===o||es)&&(s=i)}),null!==o&&null!==s){const t=this,n=this.itemSet.items[i[0]];let r=-1*this._getScrollTop(),a=null;const g=(e,i,o)=>{const s=be(t,n);if(!1===s)return;if(a||(a=s),a.itemTop==s.itemTop&&!a.shouldScroll)return;a.itemTop!=s.itemTop&&s.shouldScroll&&(a=s,r=-1*t._getScrollTop());const g=r,d=a.scrollOffset,l=o?d:g+(d-g)*e;t._setScrollTop(-l),i||t._redraw()},d=()=>{const e=be(t,n);e.shouldScroll&&e.itemTop!=a.itemTop&&(t._setScrollTop(-e.scrollOffset),t._redraw())},l=()=>{d(),setTimeout(d,100)},c=!e||void 0===e.zoom||e.zoom,h=(o+s)/2,u=c?1.1*(s-o):Math.max(this.range.end-this.range.start,1.1*(s-o)),A=!e||void 0===e.animation||e.animation;A||(a={shouldScroll:!1,scrollOffset:-1,itemTop:-1}),this.range.setRange(h-u/2,h+u/2,{animation:A},l,g)}}fit(t,e){const i=!t||void 0===t.animation||t.animation;let n;1===this.itemsData.length&&void 0===this.itemsData.get()[0].end?(n=this.getDataRange(),this.moveTo(n.min.valueOf(),{animation:i},e)):(n=this.getItemRange(),this.range.setRange(n.min,n.max,{animation:i},e))}getItemRange(){const t=this.getDataRange();let e=null!==t.min?t.min.valueOf():null,i=null!==t.max?t.max.valueOf():null,n=null,o=null;if(null!=e&&null!=i){let t=i-e;t<=0&&(t=10);const s=t/this.props.center.width,r={};let a=0;m.forEach(this.itemSet.items,(t,e)=>{if(t.groupShowing){const i=!0;r[e]=t.redraw(i),a=r[e].length}});const g=a>0;if(g)for(let e=0;e{t[e]()});if(m.forEach(this.itemSet.items,t=>{const r=me(t),a=ve(t);let g,d;this.options.rtl?(g=r-(t.getWidthRight()+10)*s,d=a+(t.getWidthLeft()+10)*s):(g=r-(t.getWidthLeft()+10)*s,d=a+(t.getWidthRight()+10)*s),gi&&(i=d,o=t)}),n&&o){const s=n.getWidthLeft()+10,r=o.getWidthRight()+10,a=this.props.center.width-s-r;a>0&&(this.options.rtl?(e=me(n)-r*t/a,i=ve(o)+s*t/a):(e=me(n)-s*t/a,i=ve(o)+r*t/a))}}return{min:null!=e?new Date(e):null,max:null!=i?new Date(i):null}}getDataRange(){let t=null,e=null;return this.itemsData&&this.itemsData.forEach(i=>{const n=m.convert(i.start,"Date").valueOf(),o=m.convert(void 0!=i.end?i.end:i.start,"Date").valueOf();(null===t||ne)&&(e=o)}),{min:null!=t?new Date(t):null,max:null!=e?new Date(e):null}}getEventProperties(t){const e=t.center?t.center.x:t.clientX,i=t.center?t.center.y:t.clientY,n=this.dom.centerContainer.getBoundingClientRect(),o=this.options.rtl?n.right-e:e-n.left,s=i-n.top,r=this.itemSet.itemFromTarget(t),a=this.itemSet.groupFromTarget(t),g=yt.customTimeFromTarget(t),d=this.itemSet.options.snap||null,l=this.body.util.getScale(),c=this.body.util.getStep(),h=this._toTime(o),u=d?d(h,l,c):h,A=m.getTarget(t);let C=null;return null!=r?C="item":null!=g?C="custom-time":m.hasParent(A,this.timeAxis.dom.foreground)||this.timeAxis2&&m.hasParent(A,this.timeAxis2.dom.foreground)?C="axis":m.hasParent(A,this.itemSet.dom.labelSet)?C="group-label":m.hasParent(A,this.currentTime.bar)?C="current-time":m.hasParent(A,this.dom.center)&&(C="background"),{event:t,item:r?r.id:null,isCluster:!!r&&!!r.isCluster,items:r?r.items||[]:null,group:a?a.groupId:null,customTime:g?g.options.id:null,what:C,pageX:t.srcEvent?t.srcEvent.pageX:t.pageX,pageY:t.srcEvent?t.srcEvent.pageY:t.pageY,x:o,y:s,time:h,snappedTime:u}}toggleRollingMode(){this.range.rolling?this.range.stopRolling():(void 0==this.options.rollingMode&&this.setOptions(this.options),this.range.startRolling())}_redraw(){_t.prototype._redraw.call(this)}_onFit(t){const{start:e,end:i,animation:n}=t;i?this.range.setRange(e,i,{animation:n}):this.moveTo(e.valueOf(),{animation:n})}}function me(t){return m.convert(t.data.start,"Date").valueOf()}function ve(t){const e=void 0!=t.data.end?t.data.end:t.data.start;return m.convert(e,"Date").valueOf()}function be(t,e){if(!e.parent)return!1;const i=t.options.rtl?t.props.rightContainer.height:t.props.leftContainer.height,n=t.props.center.height,o=e.parent;let s=o.top,r=!0;const a=t.timeAxis.options.orientation.axis,g=()=>"bottom"==a?o.height-e.top-e.height:e.top,d=-1*t._getScrollTop(),l=s+g(),c=e.height;return ld+i?s+=g()+c-i+t.itemSet.options.margin.item.vertical:r=!1,s=Math.min(s,n-i),{shouldScroll:r,scrollOffset:s,itemTop:l}}function ye(t){for(var e in t)t.hasOwnProperty(e)&&(t[e].redundant=t[e].used,t[e].used=[])}function _e(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].redundant){for(var i=0;i0?(n=e[t].redundant[0],e[t].redundant.shift()):(n=document.createElementNS("http://www.w3.org/2000/svg",t),i.appendChild(n)):(n=document.createElementNS("http://www.w3.org/2000/svg",t),e[t]={used:[],redundant:[]},i.appendChild(n)),e[t].used.push(n),n}function xe(t,e,i,n){var o;return e.hasOwnProperty(t)?e[t].redundant.length>0?(o=e[t].redundant[0],e[t].redundant.shift()):(o=document.createElement(t),void 0!==n?i.insertBefore(o,n):i.appendChild(o)):(o=document.createElement(t),e[t]={used:[],redundant:[]},void 0!==n?i.insertBefore(o,n):i.appendChild(o)),e[t].used.push(o),o}function ke(t,e,i,n,o,s){var r;if("circle"==i.style?(r=Me("circle",n,o),r.setAttributeNS(null,"cx",t),r.setAttributeNS(null,"cy",e),r.setAttributeNS(null,"r",.5*i.size)):(r=Me("rect",n,o),r.setAttributeNS(null,"x",t-.5*i.size),r.setAttributeNS(null,"y",e-.5*i.size),r.setAttributeNS(null,"width",i.size),r.setAttributeNS(null,"height",i.size)),void 0!==i.styles&&r.setAttributeNS(null,"style",i.styles),r.setAttributeNS(null,"class",i.className+" vis-point"),s){var a=Me("text",n,o);s.xOffset&&(t+=s.xOffset),s.yOffset&&(e+=s.yOffset),s.content&&(a.textContent=s.content),s.className&&a.setAttributeNS(null,"class",s.className+" vis-label"),a.setAttributeNS(null,"x",t),a.setAttributeNS(null,"y",e)}return r}function De(t,e,i,n,o,s,r,a){if(0!=n){n<0&&(n*=-1,e-=n);var g=Me("rect",s,r);g.setAttributeNS(null,"x",t-.5*i),g.setAttributeNS(null,"y",e),g.setAttributeNS(null,"width",i),g.setAttributeNS(null,"height",n),g.setAttributeNS(null,"class",o),a&&g.setAttributeNS(null,"style",a)}}function Te(){try{return navigator?navigator.languages&&navigator.languages.length?navigator.languages:navigator.userLanguage||navigator.language||navigator.browserLanguage||"en":"en"}catch(t){return"en"}}class Le{constructor(t,e,i,n,o,s,r=!1,a=!1){if(this.majorSteps=[1,2,5,10],this.minorSteps=[.25,.5,1,2],this.customLines=null,this.containerHeight=o,this.majorCharHeight=s,this._start=t,this._end=e,this.scale=1,this.minorStepIdx=-1,this.magnitudefactor=1,this.determineScale(),this.zeroAlign=r,this.autoScaleStart=i,this.autoScaleEnd=n,this.formattingFunction=a,i||n){const t=this,e=e=>{const i=e-e%(t.magnitudefactor*t.minorSteps[t.minorStepIdx]);return e%(t.magnitudefactor*t.minorSteps[t.minorStepIdx])>t.magnitudefactor*t.minorSteps[t.minorStepIdx]*.5?i+t.magnitudefactor*t.minorSteps[t.minorStepIdx]:i};i&&(this._start-=2*this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._start=e(this._start)),n&&(this._end+=this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._end=e(this._end)),this.determineScale()}}setCharHeight(t){this.majorCharHeight=t}setHeight(t){this.containerHeight=t}determineScale(){const t=this._end-this._start;this.scale=this.containerHeight/t;const e=this.majorCharHeight/this.scale,i=t>0?Math.round(Math.log(t)/Math.LN10):0;this.minorStepIdx=-1,this.magnitudefactor=Math.pow(10,i);let n=0;i<0&&(n=i);let o=!1;for(let s=n;Math.abs(s)<=Math.abs(i);s++){this.magnitudefactor=Math.pow(10,s);for(let t=0;t=e){o=!0,this.minorStepIdx=t;break}}if(!0===o)break}}is_major(t){return t%(this.magnitudefactor*this.majorSteps[this.minorStepIdx])===0}getStep(){return this.magnitudefactor*this.minorSteps[this.minorStepIdx]}getFirstMajor(){const t=this.magnitudefactor*this.majorSteps[this.minorStepIdx];return this.convertValue(this._start+(t-this._start%t)%t)}formatValue(t){let e=t.toPrecision(5);return"function"===typeof this.formattingFunction&&(e=this.formattingFunction(t)),"number"===typeof e?""+e:"string"===typeof e?e:t.toPrecision(5)}getLines(){const t=[],e=this.getStep(),i=(e-this._start%e)%e;for(let n=this._start+i;this._end-n>1e-5;n+=e)n!=this._start&&t.push({major:this.is_major(n),y:this.convertValue(n),val:this.formatValue(n)});return t}followScale(t){const e=this.minorStepIdx,i=this._start,n=this._end,o=this,s=()=>{o.magnitudefactor*=2},r=()=>{o.magnitudefactor/=2};t.minorStepIdx<=1&&this.minorStepIdx<=1||t.minorStepIdx>1&&this.minorStepIdx>1||(t.minorStepIdxn+1e-5)r(),d=!1;else{if(!this.autoScaleStart&&this._start=0)){r(),d=!1;continue}console.warn("Can't adhere to given 'min' range, due to zeroalign")}this.autoScaleStart&&this.autoScaleEnd&&e{o.dom.lineContainer.style.top=o.body.domProps.scrollTop+"px"})}addGroup(t,e){this.groups.hasOwnProperty(t)||(this.groups[t]=e),this.amountOfGroups+=1}updateGroup(t,e){this.groups.hasOwnProperty(t)||(this.amountOfGroups+=1),this.groups[t]=e}removeGroup(t){this.groups.hasOwnProperty(t)&&(delete this.groups[t],this.amountOfGroups-=1)}setOptions(t){if(t){let e=!1;this.options.orientation!=t.orientation&&void 0!==t.orientation&&(e=!0);const i=["orientation","showMinorLabels","showMajorLabels","icons","majorLinesOffset","minorLinesOffset","labelOffsetX","labelOffsetY","iconWidth","width","visible","left","right","alignZeros"];m.selectiveDeepExtend(i,this.options,t),this.minWidth=Number((""+this.options.width).replace("px","")),!0===e&&this.dom.frame&&(this.hide(),this.show())}}_create(){this.dom.frame=document.createElement("div"),this.dom.frame.style.width=this.options.width,this.dom.frame.style.height=this.height,this.dom.lineContainer=document.createElement("div"),this.dom.lineContainer.style.width="100%",this.dom.lineContainer.style.height=this.height,this.dom.lineContainer.style.position="relative",this.dom.lineContainer.style.visibility="visible",this.dom.lineContainer.style.display="block",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="absolute",this.svg.style.top="0px",this.svg.style.height="100%",this.svg.style.width="100%",this.svg.style.display="block",this.dom.frame.appendChild(this.svg)}_redrawGroupIcons(){let t;ye(this.svgElements);const e=this.options.iconWidth,i=15,n=4;let o=n+.5*i;t="left"===this.options.orientation?n:this.width-e-n;const s=Object.keys(this.groups);s.sort((t,e)=>t{const i=t.y,n=t.major;this.options["showMinorLabels"]&&!1===n&&this._redrawLabel(i-2,t.val,e,"vis-y-axis vis-minor",this.props.minorCharHeight),n&&i>=0&&this._redrawLabel(i-2,t.val,e,"vis-y-axis vis-major",this.props.majorCharHeight),!0===this.master&&(n?this._redrawLine(i,e,"vis-grid vis-horizontal vis-major",this.options.majorLinesOffset,this.props.majorLineWidth):this._redrawLine(i,e,"vis-grid vis-horizontal vis-minor",this.options.minorLinesOffset,this.props.minorLineWidth))});let r=0;void 0!==this.options[e].title&&void 0!==this.options[e].title.text&&(r=this.props.titleCharHeight);const a=!0===this.options.icons?Math.max(this.options.iconWidth,r)+this.options.labelOffsetX+15:r+this.options.labelOffsetX+15;return this.maxLabelSize>this.width-a&&!0===this.options.visible?(this.width=this.maxLabelSize+a,this.options.width=this.width+"px",_e(this.DOMelements.lines),_e(this.DOMelements.labels),this.redraw(),t=!0):this.maxLabelSizethis.minWidth?(this.width=Math.max(this.minWidth,this.maxLabelSize+a),this.options.width=this.width+"px",_e(this.DOMelements.lines),_e(this.DOMelements.labels),this.redraw(),t=!0):(_e(this.DOMelements.lines),_e(this.DOMelements.labels),t=!1),t}convertValue(t){return this.scale.convertValue(t)}screenToValue(t){return this.scale.screenToValue(t)}_redrawLabel(t,e,i,n,o){const s=xe("div",this.DOMelements.labels,this.dom.frame);s.className=n,s.innerHTML=e,"left"===i?(s.style.left=`-${this.options.labelOffsetX}px`,s.style.textAlign="right"):(s.style.right=`-${this.options.labelOffsetX}px`,s.style.textAlign="left"),s.style.top=t-.5*o+this.options.labelOffsetY+"px",e+="";const r=Math.max(this.props.majorCharWidth,this.props.minorCharWidth);this.maxLabelSize0&&(i=Math.min(i,Math.abs(e[n-1].screen_x-e[n].screen_x))),0===i&&(void 0===t[e[n].screen_x]&&(t[e[n].screen_x]={amount:0,resolved:0,accumulatedPositive:0,accumulatedNegative:0}),t[e[n].screen_x].amount+=1)},Pe._getSafeDrawData=function(t,e,i){var n,o;return t0?(n=t0){t.sort((function(t,e){return t.screen_x===e.screen_x?t.groupIde[s].screen_y?e[s].screen_y:n,o=ot[r].accumulatedNegative?t[r].accumulatedNegative:n,n=n>t[r].accumulatedPositive?t[r].accumulatedPositive:n,o=o0){var i=[];return i=1==e.options.interpolation.enabled?je._catmullRom(t,e):je._linear(t),i}},je.drawIcon=function(t,e,i,n,o,s){var r,a,g=.5*o,d=Me("rect",s.svgElements,s.svg);if(d.setAttributeNS(null,"x",e),d.setAttributeNS(null,"y",i-g),d.setAttributeNS(null,"width",n),d.setAttributeNS(null,"height",2*g),d.setAttributeNS(null,"class","vis-outline"),r=Me("path",s.svgElements,s.svg),r.setAttributeNS(null,"class",t.className),void 0!==t.style&&r.setAttributeNS(null,"style",t.style),r.setAttributeNS(null,"d","M"+e+","+i+" L"+(e+n)+","+i),1==t.options.shaded.enabled&&(a=Me("path",s.svgElements,s.svg),"top"==t.options.shaded.orientation?a.setAttributeNS(null,"d","M"+e+", "+(i-g)+"L"+e+","+i+" L"+(e+n)+","+i+" L"+(e+n)+","+(i-g)):a.setAttributeNS(null,"d","M"+e+","+i+" L"+e+","+(i+g)+" L"+(e+n)+","+(i+g)+"L"+(e+n)+","+i),a.setAttributeNS(null,"class",t.className+" vis-icon-fill"),void 0!==t.options.shaded.style&&""!==t.options.shaded.style&&a.setAttributeNS(null,"style",t.options.shaded.style)),1==t.options.drawPoints.enabled){var l={style:t.options.drawPoints.style,styles:t.options.drawPoints.styles,size:t.options.drawPoints.size,className:t.className};ke(e+.5*n,i,l,s.svgElements,s.svg)}},je.drawShading=function(t,e,i,n){if(1==e.options.shaded.enabled){var o,s=Number(n.svg.style.height.replace("px","")),r=Me("path",n.svgElements,n.svg),a="L";1==e.options.interpolation.enabled&&(a="C");var g=0;g="top"==e.options.shaded.orientation?0:"bottom"==e.options.shaded.orientation?s:Math.min(Math.max(0,e.zeroPosition),s),o="group"==e.options.shaded.orientation&&null!=i&&void 0!=i?"M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,a,!1)+" L"+i[i.length-1][0]+","+i[i.length-1][1]+" "+this.serializePath(i,a,!0)+i[0][0]+","+i[0][1]+" Z":"M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,a,!1)+" V"+g+" H"+t[0][0]+" Z",r.setAttributeNS(null,"class",e.className+" vis-fill"),void 0!==e.options.shaded.style&&r.setAttributeNS(null,"style",e.options.shaded.style),r.setAttributeNS(null,"d",o)}},je.draw=function(t,e,i){if(null!=t&&void 0!=t){var n=Me("path",i.svgElements,i.svg);n.setAttributeNS(null,"class",e.className),void 0!==e.style&&n.setAttributeNS(null,"style",e.style);var o="L";1==e.options.interpolation.enabled&&(o="C"),n.setAttributeNS(null,"d","M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,o,!1))}},je.serializePath=function(t,e,i){if(t.length<2)return"";var n,o=e;if(i)for(n=t.length-2;n>0;n--)o+=t[n][0]+","+t[n][1]+" ";else for(n=1;n0&&(A=1/A),C=3*I*(I+p),C>0&&(C=1/C),a={screen_x:(-m*n.screen_x+h*o.screen_x+v*s.screen_x)*A,screen_y:(-m*n.screen_y+h*o.screen_y+v*s.screen_y)*A},g={screen_x:(f*o.screen_x+u*s.screen_x-m*r.screen_x)*C,screen_y:(f*o.screen_y+u*s.screen_y-m*r.screen_y)*C},0==a.screen_x&&0==a.screen_y&&(a=o),0==g.screen_x&&0==g.screen_y&&(g=s),y.push([a.screen_x,a.screen_y]),y.push([g.screen_x,g.screen_y]),y.push([s.screen_x,s.screen_y]);return y},je._linear=function(t){for(var e=[],i=0;ie.x?1:-1}))):this.itemsData=[]},Ne.prototype.getItems=function(){return this.itemsData},Ne.prototype.setZeroPosition=function(t){this.zeroPosition=t},Ne.prototype.setOptions=function(t){if(void 0!==t){var e=["sampling","style","sort","yAxisOrientation","barChart","zIndex","excludeFromStacking","excludeFromLegend"];m.selectiveDeepExtend(e,this.options,t),"function"==typeof t.drawPoints&&(t.drawPoints={onRender:t.drawPoints}),m.mergeOptions(this.options,t,"interpolation"),m.mergeOptions(this.options,t,"drawPoints"),m.mergeOptions(this.options,t,"shaded"),t.interpolation&&"object"==typeof t.interpolation&&t.interpolation.parametrization&&("uniform"==t.interpolation.parametrization?this.options.interpolation.alpha=0:"chordal"==t.interpolation.parametrization?this.options.interpolation.alpha=1:(this.options.interpolation.parametrization="centripetal",this.options.interpolation.alpha=.5))}},Ne.prototype.update=function(t){this.group=t,this.content=t.content||"graph",this.className=t.className||this.className||"vis-graph-group"+this.groupsUsingDefaultStyles[0]%10,this.visible=void 0===t.visible||t.visible,this.style=t.style,this.setOptions(t.options)},Ne.prototype.getLegend=function(t,e,i,n,o){if(void 0==i||null==i){var s=document.createElementNS("http://www.w3.org/2000/svg","svg");i={svg:s,svgElements:{},options:this.options,groups:[this]}}switch(void 0!=n&&null!=n||(n=0),void 0!=o&&null!=o||(o=.5*e),this.options.style){case"line":je.drawIcon(this,n,o,t,e,i);break;case"points":case"point":Se.drawIcon(this,n,o,t,e,i);break;case"bar":Pe.drawIcon(this,n,o,t,e,i);break}return{icon:i.svg,label:this.content,orientation:this.options.yAxisOrientation}},Ne.prototype.getYRange=function(t){for(var e=t[0].y,i=t[0].y,n=0;nt[n].y?t[n].y:e,i=i");this.dom.textArea.innerHTML=s,this.dom.textArea.style.lineHeight=.75*this.options.iconSize+this.options.iconSpacing+"px"}},Re.prototype.drawLegendIcons=function(){if(this.dom.frame.parentNode){var t=Object.keys(this.groups);t.sort((function(t,e){return t0){var a={};for(this._getRelevantData(r,a,o,s),this._applySampling(r,a),e=0;e0)switch(t.options.style){case"line":d.hasOwnProperty(r[e])||(d[r[e]]=je.calcPath(a[r[e]],t)),je.draw(d[r[e]],t,this.framework);case"point":case"points":"point"!=t.options.style&&"points"!=t.options.style&&1!=t.options.drawPoints.enabled||Se.draw(a[r[e]],t,this.framework);break}}}return _e(this.svgElements),!1},He.prototype._stack=function(t,e){var i,n,o,s,r;i=0;for(var a=0;at[a].x){r=e[g],s=0==g?r:e[g-1],i=g;break}}void 0===r&&(s=e[e.length-1],r=e[e.length-1]),n=r.x-s.x,o=r.y-s.y,t[a].y=0==n?t[a].orginalY+r.y:t[a].orginalY+o/n*(t[a].x-s.x)+s.y}},He.prototype._getRelevantData=function(t,e,i,n){var o,s,r,a;if(t.length>0)for(s=0;s0)for(var n=0;n0){var s=1,r=o.length,a=this.body.util.toGlobalScreen(o[o.length-1].x)-this.body.util.toGlobalScreen(o[0].x),g=r/a;s=Math.min(Math.ceil(.2*r),Math.max(1,Math.round(g)));for(var d=new Array(r),l=0;l0){for(s=0;s0&&(o=this.groups[t[s]],!0===r.stack&&"bar"===r.style?"left"===r.yAxisOrientation?a=a.concat(n):g=g.concat(n):i[t[s]]=o.getYRange(n,t[s]));Pe.getStackedYRange(a,i,t,"__barStackLeft","left"),Pe.getStackedYRange(g,i,t,"__barStackRight","right")}},He.prototype._updateYAxis=function(t,e){var i,n,o=!1,s=!1,r=!1,a=1e9,g=1e9,d=-1e9,l=-1e9;if(t.length>0){for(var c=0;ci?i:a,d=di?i:g,l=ls.options.onInitialDrawComplete(),0))}})),n&&this.setOptions(n),i&&this.setGroups(i),e&&this.setItems(e),this._redraw()}qe.prototype=new _t,qe.prototype.setOptions=function(t){let e=ne.validate(t,Je);!0===e&&console.log("%cErrors have been found in the supplied options object.",ie),_t.prototype.setOptions.call(this,t)},qe.prototype.setItems=function(t){var e,i=null==this.itemsData;if(e=t?t instanceof r["a"]||t instanceof r["b"]?f(t):f(new r["a"](t)):null,this.itemsData&&this.itemsData.dispose(),this.itemsData=e,this.linegraph&&this.linegraph.setItems(null!=e?e.rawDS:null),i)if(void 0!=this.options.start||void 0!=this.options.end){var n=void 0!=this.options.start?this.options.start:null,o=void 0!=this.options.end?this.options.end:null;this.setWindow(n,o,{animation:!1})}else this.fit({animation:!1})},qe.prototype.setGroups=function(t){var e;e=t?t instanceof r["a"]||t instanceof r["b"]?t:new r["a"](t):null,this.groupsData=e,this.linegraph.setGroups(e)},qe.prototype.getLegend=function(t,e,i){return void 0===e&&(e=15),void 0===i&&(i=15),void 0!==this.linegraph.groups[t]?this.linegraph.groups[t].getLegend(e,i):"cannot find group:'"+t+"'"},qe.prototype.isGroupVisible=function(t){return void 0!==this.linegraph.groups[t]&&(this.linegraph.groups[t].visible&&(void 0===this.linegraph.options.groups.visibility[t]||1==this.linegraph.options.groups.visibility[t]))},qe.prototype.getDataRange=function(){var t=null,e=null;for(var i in this.linegraph.groups)if(this.linegraph.groups.hasOwnProperty(i)&&1==this.linegraph.groups[i].visible)for(var n=0;ns?s:t,e=null==e||e0&&d.push(l.screenToValue(o)),!c.hidden&&this.itemsData.length>0&&d.push(c.screenToValue(o)),{event:t,customTime:r?r.options.id:null,what:g,pageX:t.srcEvent?t.srcEvent.pageX:t.pageX,pageY:t.srcEvent?t.srcEvent.pageY:t.pageY,x:n,y:o,time:s,value:d}},qe.prototype._createConfigurator=function(){return new pe(this,this.dom.container,Qe)};const $e=Te();o.a.locale($e)},"709d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("8d5f"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtDateFilter",props:["column"],components:{RLDateFilter:n["default"]},render:function(t){var e=this;return t("r-l-date-filter",{attrs:{column:this.column},scopedSlots:{default:function(i){return i.override?t(i.override,{attrs:{props:i}}):t("div",{class:"VueTables__date-filter",attrs:{id:"VueTables__"+e.column+"-filter"}},[t("span",{class:"VueTables__filter-placeholder"},[i.placeholder])])}}})}};e["default"]=s},7118:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}});return e}))},"6fcd":function(t,e,i){var n=i("50d8"),o=i("d370"),s=i("6747"),r=i("0d24"),a=i("c098"),g=i("73ac"),d=Object.prototype,l=d.hasOwnProperty;function c(t,e){var i=s(t),d=!i&&o(t),c=!i&&!d&&r(t),h=!i&&!d&&!c&&g(t),u=i||d||c||h,A=u?n(t.length,String):[],C=A.length;for(var I in t)!e&&!l.call(t,I)||u&&("length"==I||c&&("offset"==I||"parent"==I)||h&&("buffer"==I||"byteLength"==I||"byteOffset"==I)||a(I,C))||A.push(I);return A}t.exports=c},7037:function(t,e,i){function n(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),n(e)}i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),t.exports=n,t.exports["default"]=t.exports,t.exports.__esModule=!0},"703b":function(t,e,i){"use strict";t.exports=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=this.defaultSort,o=this.userMultiSorting[this.currentlySorting.column]?this.userMultiSorting[this.currentlySorting.column]:this.opts.multiSorting[this.currentlySorting.column],s=this.currentlySorting.ascending,r=this;return function(a,g){var d,l=r._getValue(a,t)||"",c=r._getValue(g,t)||"",h=e?1:-1;if("string"===typeof l&&(l=l.toLowerCase()),"string"===typeof c&&(c=c.toLowerCase()),l===c&&o&&o[i+1]){var u=o[i+1];return d="undefined"!==typeof u.ascending?u.ascending:u.matchDir?s:!s,n(u.column,d,i+1)(a,g)}return l>c?h:-h}}},7079:function(t,e,i){"use strict";i.d(e,"a",(function(){return qe})),i.d(e,"b",(function(){return fe}));var n=i("c1df"),o=i.n(n),s=i("cb13"),r=i("d3b6"),a=i("7297"),g=i.n(a),d=null;function l(t,e){var i=e||{preventDefault:!1};if(t.Manager){var n=t,o=function(t,e){var o=Object.create(i);return e&&n.assign(o,e),l(new n(t,o),o)};return n.assign(o,n),o.Manager=function(t,e){var o=Object.create(i);return e&&n.assign(o,e),l(new n.Manager(t,o),o)},o}var s=Object.create(t),r=t.element;function a(t){return t.match(/[^ ]+/g)}function g(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var e=!1;t.stopPropagation=function(){e=!0};var i=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof i&&(t.srcEvent.stopPropagation=function(){i(),t.stopPropagation()}),t.firstTarget=d;var n=d;while(n&&!e){var o=n.hammer;if(o)for(var s,r=0;r0?s._handlers[e]=n:(t.off(e,g),delete s._handlers[e]))})),s},s.emit=function(e,i){d=i.target,t.emit(e,i)},s.destroy=function(){var e=t.element.hammer,i=e.indexOf(s);-1!==i&&e.splice(i,1),e.length||delete t.element.hammer,s._handlers={},t.destroy()},s}var c=i("c935"),h=i("59dc"),u=i.n(h),A=i("11c1"),C="undefined"!==typeof window&&window["moment"]||o.a;const I=/^\/?Date\((-?\d+)/i;function p(t,e){let i;if(void 0!==t){if(null===t)return null;if(!e)return t;if("string"!==typeof e&&!(e instanceof String))throw new Error("Type must be a string");switch(e){case"boolean":case"Boolean":return Boolean(t);case"number":case"Number":return Object(s["isString"])(t)&&!isNaN(Date.parse(t))?o()(t).valueOf():Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(Object(s["isNumber"])(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(o.a.isMoment(t))return new Date(t.valueOf());if(Object(s["isString"])(t))return i=I.exec(t),i?new Date(Number(i[1])):o()(new Date(t)).toDate();throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type Date");case"Moment":if(Object(s["isNumber"])(t))return o()(t);if(t instanceof Date)return o()(t.valueOf());if(o.a.isMoment(t))return o()(t);if(Object(s["isString"])(t))return i=I.exec(t),i?o()(Number(i[1])):o()(t);throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type Date");case"ISODate":if(Object(s["isNumber"])(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(o.a.isMoment(t))return t.toDate().toISOString();if(Object(s["isString"])(t))return i=I.exec(t),i?new Date(Number(i[1])).toISOString():o()(t).format();throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type ISODate");case"ASPDate":if(Object(s["isNumber"])(t))return"/Date("+t+")/";if(t instanceof Date||o.a.isMoment(t))return"/Date("+t.valueOf()+")/";if(Object(s["isString"])(t)){let e;return i=I.exec(t),e=i?new Date(Number(i[1])).valueOf():new Date(t).valueOf(),"/Date("+e+")/"}throw new Error("Cannot convert object of type "+Object(s["getType"])(t)+" to type ASPDate");default:throw new Error("Unknown type "+e)}}}function f(t,e={start:"Date",end:"Date"}){const i=t._idProp,n=new r["a"]({fieldId:i}),o=Object(r["c"])(t).map(t=>Object.keys(t).reduce((i,n)=>(i[n]=p(t[n],e[n]),i),{})).to(n);return o.all().start(),{add:(...e)=>t.getDataSet().add(...e),remove:(...e)=>t.getDataSet().remove(...e),update:(...e)=>t.getDataSet().update(...e),updateOnly:(...e)=>t.getDataSet().updateOnly(...e),forEach:n.forEach.bind(n),get:n.get.bind(n),getIds:n.getIds.bind(n),off:n.off.bind(n),on:n.on.bind(n),get length(){return n.length},idProp:i,type:e,rawDS:t,coercedDS:n,dispose:()=>o.stop()}}var m={...s,convert:p};class v{constructor(t,e){this.options=null,this.props=null}setOptions(t){t&&m.extend(this.options,t)}redraw(){return!1}destroy(){}_isResized(){const t=this.props._previousWidth!==this.props.width||this.props._previousHeight!==this.props.height;return this.props._previousWidth=this.props.width,this.props._previousHeight=this.props.height,t}}function b(t,e,i){if(i&&!Array.isArray(i))return b(t,e,[i]);if(e.hiddenDates=[],i&&1==Array.isArray(i)){for(let n=0;nt.start-e.start)}}function y(t,e,i){if(i&&!Array.isArray(i))return y(t,e,[i]);if(i&&void 0!==e.domProps.centerContainer.width){b(t,e,i);const n=t(e.range.start),o=t(e.range.end),s=e.range.end-e.range.start,r=s/e.domProps.centerContainer.width;for(let c=0;c=4*r){let t=0;const r=o.clone();switch(i[c].repeat){case"daily":s.day()!=a.day()&&(t=1),s.dayOfYear(n.dayOfYear()),s.year(n.year()),s.subtract(7,"days"),a.dayOfYear(n.dayOfYear()),a.year(n.year()),a.subtract(7-t,"days"),r.add(1,"weeks");break;case"weekly":{const t=a.diff(s,"days"),e=s.day();s.date(n.date()),s.month(n.month()),s.year(n.year()),a=s.clone(),s.day(e),a.day(e),a.add(t,"days"),s.subtract(1,"weeks"),a.subtract(1,"weeks"),r.add(1,"weeks");break}case"monthly":s.month()!=a.month()&&(t=1),s.month(n.month()),s.year(n.year()),s.subtract(1,"months"),a.month(n.month()),a.year(n.year()),a.subtract(1,"months"),a.add(t,"months"),r.add(1,"months");break;case"yearly":s.year()!=a.year()&&(t=1),s.year(n.year()),s.subtract(1,"years"),a.year(n.year()),a.subtract(1,"years"),a.add(t,"years"),r.add(1,"years");break;default:return void console.log("Wrong repeat format, allowed are: daily, weekly, monthly, yearly. Given:",i[c].repeat)}while(s=e[n].start&&e[t].end<=e[n].end?e[t].remove=!0:e[t].start>=e[n].start&&e[t].start<=e[n].end?(e[n].end=e[t].end,e[t].remove=!0):e[t].end>=e[n].start&&e[t].end<=e[n].end&&(e[n].start=e[t].start,e[t].remove=!0));for(n=0;nt.start-e.start)}function w(t,e,i){let n=!1;const o=e.current.valueOf();for(let r=0;r=t&&ot.range.end){const o={start:t.range.start,end:e};return e=T(t.options.moment,t.body.hiddenDates,o,e),n=t.range.conversion(i,s),(e.valueOf()-n.offset)*n.scale}return e=T(t.options.moment,t.body.hiddenDates,t.range,e),n=t.range.conversion(i,s),(e.valueOf()-n.offset)*n.scale}}function x(t,e,i){if(0==t.body.hiddenDates.length){const n=t.range.conversion(i);return new Date(e/n.scale+n.offset)}{const n=k(t.body.hiddenDates,t.range.start,t.range.end),o=t.range.end-t.range.start-n,s=o*e/i,r=O(t.body.hiddenDates,t.range,s);return new Date(r+s+t.range.start)}}function k(t,e,i){let n=0;for(let o=0;o=e&&r=e&&r<=i&&(n+=r-s)}return n}function T(t,e,i,n){return n=t(n).toDate().valueOf(),n-=L(t,e,i,n),n}function L(t,e,i,n){let o=0;n=t(n).toDate().valueOf();for(let s=0;s=i.start&&r=r&&(o+=r-t)}return o}function O(t,e,i){let n=0,o=0,s=e.start;for(let r=0;r=e.start&&g=i)break;n+=g-a}}return n}function S(t,e,i,n){const o=Y(e,t);return 1==o.hidden?i<0?1==n?o.startDate-(o.endDate-e)-1:o.startDate-1:1==n?o.endDate+(e-o.startDate)+1:o.endDate+1:e}function Y(t,e){for(let o=0;o=i&&t1e3&&(i=1e3),t.body.dom.rollingModeBtn.style.visibility="hidden",t.currentTimeTimer=setTimeout(e,i)}e()}stopRolling(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),this.rolling=!1,this.body.dom.rollingModeBtn.style.visibility="visible")}setRange(t,e,i,n,o){i||(i={}),!0!==i.byUser&&(i.byUser=!1);const s=this,r=void 0!=t?m.convert(t,"Date").valueOf():null,a=void 0!=e?m.convert(e,"Date").valueOf():null;if(this._cancelAnimation(),this.millisecondsPerPixelCache=void 0,i.animation){const t=this.start,e=this.end,d="object"===typeof i.animation&&"duration"in i.animation?i.animation.duration:500,l="object"===typeof i.animation&&"easingFunction"in i.animation?i.animation.easingFunction:"easeInOutQuad",c=m.easingFunctions[l];if(!c)throw new Error(`Unknown easing function ${JSON.stringify(l)}. Choose from: ${Object.keys(m.easingFunctions).join(", ")}`);const h=Date.now();let u=!1;const A=()=>{if(!s.props.touch.dragging){const l=Date.now(),C=l-h,I=c(C/d),p=C>d,f=p||null===r?r:t+(r-t)*I,m=p||null===a?a:e+(a-e)*I;g=s._applyRange(f,m),y(s.options.moment,s.body,s.options.hiddenDates),u=u||g;const v={start:new Date(s.start),end:new Date(s.end),byUser:i.byUser,event:i.event};if(o&&o(I,g,p),g&&s.body.emitter.emit("rangechange",v),p){if(u&&(s.body.emitter.emit("rangechanged",v),n))return n()}else s.animationTimer=setTimeout(A,20)}};return A()}var g=this._applyRange(r,a);if(y(this.options.moment,this.body,this.options.hiddenDates),g){const t={start:new Date(this.start),end:new Date(this.end),byUser:i.byUser,event:i.event};if(this.body.emitter.emit("rangechange",t),clearTimeout(s.timeoutID),s.timeoutID=setTimeout(()=>{s.body.emitter.emit("rangechanged",t)},200),n)return n()}}getMillisecondsPerPixel(){return void 0===this.millisecondsPerPixelCache&&(this.millisecondsPerPixelCache=(this.end-this.start)/this.body.dom.center.clientWidth),this.millisecondsPerPixelCache}_cancelAnimation(){this.animationTimer&&(clearTimeout(this.animationTimer),this.animationTimer=null)}_applyRange(t,e){let i=null!=t?m.convert(t,"Date").valueOf():this.start,n=null!=e?m.convert(e,"Date").valueOf():this.end;const o=null!=this.options.max?m.convert(this.options.max,"Date").valueOf():null,s=null!=this.options.min?m.convert(this.options.min,"Date").valueOf():null;let r;if(isNaN(i)||null===i)throw new Error(`Invalid start "${t}"`);if(isNaN(n)||null===n)throw new Error(`Invalid end "${e}"`);if(no&&(n=o)),null!==o&&n>o&&(r=n-o,i-=r,n-=r,null!=s&&i=this.start-e&&n<=this.end?(i=this.start,n=this.end):(r=t-(n-i),i-=r/2,n+=r/2)}}if(null!==this.options.zoomMax){let t=parseFloat(this.options.zoomMax);t<0&&(t=0),n-i>t&&(this.end-this.start===t&&ithis.end?(i=this.start,n=this.end):(r=n-i-t,i+=r/2,n-=r/2))}const a=this.start!=i||this.end!=n;return i>=this.start&&i<=this.end||n>=this.start&&n<=this.end||this.start>=i&&this.start<=n||this.end>=i&&this.end<=n||this.body.emitter.emit("checkRangedItems"),this.start=i,this.end=n,a}getRange(){return{start:this.start,end:this.end}}conversion(t,e){return E.conversion(this.start,this.end,t,e)}static conversion(t,e,i,n){return void 0===n&&(n=0),0!=i&&e-t!=0?{offset:t,scale:i/(e-t-n)}:{offset:0,scale:1}}_onDragStart(t){this.deltaDifference=0,this.previousDelta=0,this.options.moveable&&this._isInsideRange(t)&&this.props.touch.allowDragging&&(this.stopRolling(),this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.dragging=!0,this.body.dom.root&&(this.body.dom.root.style.cursor="move"))}_onDrag(t){if(!t)return;if(!this.props.touch.dragging)return;if(!this.options.moveable)return;if(!this.props.touch.allowDragging)return;const e=this.options.direction;P(e);let i="horizontal"==e?t.deltaX:t.deltaY;i-=this.deltaDifference;let n=this.props.touch.end-this.props.touch.start;const o=k(this.body.hiddenDates,this.start,this.end);n-=o;const s="horizontal"==e?this.body.domProps.center.width:this.body.domProps.center.height;let r;r=this.options.rtl?i/s*n:-i/s*n;const a=this.props.touch.start+r,g=this.props.touch.end+r,d=S(this.body.hiddenDates,a,this.previousDelta-i,!0),l=S(this.body.hiddenDates,g,this.previousDelta-i,!0);if(d!=a||l!=g)return this.deltaDifference+=i,this.props.touch.start=d,this.props.touch.end=l,void this._onDrag(t);this.previousDelta=i,this._applyRange(a,g);const c=new Date(this.start),h=new Date(this.end);this.body.emitter.emit("rangechange",{start:c,end:h,byUser:!0,event:t}),this.body.emitter.emit("panmove")}_onDragEnd(t){this.props.touch.dragging&&this.options.moveable&&this.props.touch.allowDragging&&(this.props.touch.dragging=!1,this.body.dom.root&&(this.body.dom.root.style.cursor="auto"),this.body.emitter.emit("rangechanged",{start:new Date(this.start),end:new Date(this.end),byUser:!0,event:t}))}_onMouseWheel(t){let e=0;if(t.wheelDelta?e=t.wheelDelta/120:t.detail?e=-t.detail/3:t.deltaY&&(e=-t.deltaY/3),!(this.options.zoomKey&&!t[this.options.zoomKey]&&this.options.zoomable||!this.options.zoomable&&this.options.moveable)&&this.options.zoomable&&this.options.moveable&&this._isInsideRange(t)&&e){const i=this.options.zoomFriction||5;let n,o;if(n=e<0?1-e/i:1/(1+e/i),this.rolling){const t=this.options.rollingMode&&this.options.rollingMode.offset||.5;o=this.start+(this.end-this.start)*t}else{const e=this.getPointer({x:t.clientX,y:t.clientY},this.body.dom.center);o=this._pointerToDate(e)}this.zoom(n,o,e,t),t.preventDefault()}}_onTouch(t){this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.allowDragging=!0,this.props.touch.center=null,this.props.touch.centerDate=null,this.scaleOffset=0,this.deltaDifference=0,m.preventDefault(t)}_onPinch(t){if(!this.options.zoomable||!this.options.moveable)return;m.preventDefault(t),this.props.touch.allowDragging=!1,this.props.touch.center||(this.props.touch.center=this.getPointer(t.center,this.body.dom.center),this.props.touch.centerDate=this._pointerToDate(this.props.touch.center)),this.stopRolling();const e=1/(t.scale+this.scaleOffset),i=this.props.touch.centerDate,n=k(this.body.hiddenDates,this.start,this.end),o=L(this.options.moment,this.body.hiddenDates,this,i),s=n-o;let r=i-o+(this.props.touch.start-(i-o))*e,a=i+s+(this.props.touch.end-(i+s))*e;this.startToFront=1-e<=0,this.endToFront=e-1<=0;const g=S(this.body.hiddenDates,r,1-e,!0),d=S(this.body.hiddenDates,a,e-1,!0);g==r&&d==a||(this.props.touch.start=g,this.props.touch.end=d,this.scaleOffset=1-t.scale,r=g,a=d);const l={animation:!1,byUser:!0,event:t};this.setRange(r,a,l),this.startToFront=!1,this.endToFront=!0}_isInsideRange(t){const e=t.center?t.center.x:t.clientX,i=this.body.dom.centerContainer.getBoundingClientRect(),n=this.options.rtl?e-i.left:i.right-e,o=this.body.util.toTime(n);return o>=this.start&&o<=this.end}_pointerToDate(t){let e;const i=this.options.direction;if(P(i),"horizontal"==i)return this.body.util.toTime(t.x).valueOf();{const i=this.body.domProps.center.height;return e=this.conversion(i),t.y/e.scale+e.offset}}getPointer(t,e){const i=e.getBoundingClientRect();return this.options.rtl?{x:i.right-t.x,y:t.y-i.top}:{x:t.x-i.left,y:t.y-i.top}}zoom(t,e,i,n){null==e&&(e=(this.start+this.end)/2);const o=k(this.body.hiddenDates,this.start,this.end),s=L(this.options.moment,this.body.hiddenDates,this,e),r=o-s;let a=e-s+(this.start-(e-s))*t,g=e+r+(this.end-(e+r))*t;this.startToFront=!(i>0),this.endToFront=!(-i>0);const d=S(this.body.hiddenDates,a,i,!0),l=S(this.body.hiddenDates,g,-i,!0);d==a&&l==g||(a=d,g=l);const c={animation:!1,byUser:!0,event:n};this.setRange(a,g,c),this.startToFront=!1,this.endToFront=!0}move(t){const e=this.end-this.start,i=this.start+e*t,n=this.end+e*t;this.start=i,this.end=n}moveTo(t){const e=(this.start+this.end)/2,i=e-t,n=this.start-i,o=this.end-i,s={animation:!1,byUser:!0,event:null};this.setRange(n,o,s)}}function P(t){if("horizontal"!=t&&"vertical"!=t)throw new TypeError(`Unknown direction "${t}". Choose "horizontal" or "vertical".`)}function j(){const t=()=>{};return{on:t,off:t,destroy:t,emit:t,get(e){return{set:t}}}}let N;if("undefined"!==typeof window){const t=window["Hammer"]||c["a"];N=l(t,{preventDefault:"mouse"})}else N=()=>j();var R=N;function F(t,e){e.inputHandler=function(t){t.isFirst&&e(t)},t.on("hammer.input",e.inputHandler)}function H(t,e){return e.inputHandler=function(t){t.isFinal&&e(t)},t.on("hammer.input",e.inputHandler)}function B(t){const e="pan-y";return t.getTouchAction=function(){return[e]},t}class z{constructor(t,e,i,n,o){this.moment=o&&o.moment||C,this.options=o||{},this.current=this.moment(),this._start=this.moment(),this._end=this.moment(),this.autoScale=!0,this.scale="day",this.step=1,this.setRange(t,e,i),this.switchedDay=!1,this.switchedMonth=!1,this.switchedYear=!1,Array.isArray(n)?this.hiddenDates=n:this.hiddenDates=void 0!=n?[n]:[],this.format=z.FORMAT}setMoment(t){this.moment=t,this.current=this.moment(this.current.valueOf()),this._start=this.moment(this._start.valueOf()),this._end=this.moment(this._end.valueOf())}setFormat(t){const e=m.deepExtend({},z.FORMAT);this.format=m.deepExtend(e,t)}setRange(t,e,i){if(!(t instanceof Date)||!(e instanceof Date))throw"No legal start or end date in method setRange";this._start=void 0!=t?this.moment(t.valueOf()):Date.now(),this._end=void 0!=e?this.moment(e.valueOf()):Date.now(),this.autoScale&&this.setMinimumStep(i)}start(){this.current=this._start.clone(),this.roundToMinor()}roundToMinor(){switch("week"==this.scale&&this.current.weekday(0),this.scale){case"year":this.current.year(this.step*Math.floor(this.current.year()/this.step)),this.current.month(0);case"month":this.current.date(1);case"week":case"day":case"weekday":this.current.hours(0);case"hour":this.current.minutes(0);case"minute":this.current.seconds(0);case"second":this.current.milliseconds(0)}if(1!=this.step){let t=this.current.clone();switch(this.scale){case"millisecond":this.current.subtract(this.current.milliseconds()%this.step,"milliseconds");break;case"second":this.current.subtract(this.current.seconds()%this.step,"seconds");break;case"minute":this.current.subtract(this.current.minutes()%this.step,"minutes");break;case"hour":this.current.subtract(this.current.hours()%this.step,"hours");break;case"weekday":case"day":this.current.subtract((this.current.date()-1)%this.step,"day");break;case"week":this.current.subtract(this.current.week()%this.step,"week");break;case"month":this.current.subtract(this.current.month()%this.step,"month");break;case"year":this.current.subtract(this.current.year()%this.step,"year");break}t.isSame(this.current)||(this.current=this.moment(S(this.hiddenDates,this.current.valueOf(),-1,!0)))}}hasNext(){return this.current.valueOf()<=this._end.valueOf()}next(){const t=this.current.valueOf();switch(this.scale){case"millisecond":this.current.add(this.step,"millisecond");break;case"second":this.current.add(this.step,"second");break;case"minute":this.current.add(this.step,"minute");break;case"hour":this.current.add(this.step,"hour"),this.current.month()<6?this.current.subtract(this.current.hours()%this.step,"hour"):this.current.hours()%this.step!==0&&this.current.add(this.step-this.current.hours()%this.step,"hour");break;case"weekday":case"day":this.current.add(this.step,"day");break;case"week":if(0!==this.current.weekday())this.current.weekday(0),this.current.add(this.step,"week");else if(!1===this.options.showMajorLabels)this.current.add(this.step,"week");else{const t=this.current.clone();t.add(1,"week"),t.isSame(this.current,"month")?this.current.add(this.step,"week"):(this.current.add(this.step,"week"),this.current.date(1))}break;case"month":this.current.add(this.step,"month");break;case"year":this.current.add(this.step,"year");break}if(1!=this.step)switch(this.scale){case"millisecond":this.current.milliseconds()>0&&this.current.milliseconds()0&&this.current.seconds()0&&this.current.minutes()0&&this.current.hours()0?t.step:1,this.autoScale=!1)}setAutoScale(t){this.autoScale=t}setMinimumStep(t){if(void 0==t)return;const e=31104e6,i=2592e6,n=864e5,o=36e5,s=6e4,r=1e3,a=1;1e3*e>t&&(this.scale="year",this.step=1e3),500*e>t&&(this.scale="year",this.step=500),100*e>t&&(this.scale="year",this.step=100),50*e>t&&(this.scale="year",this.step=50),10*e>t&&(this.scale="year",this.step=10),5*e>t&&(this.scale="year",this.step=5),e>t&&(this.scale="year",this.step=1),3*i>t&&(this.scale="month",this.step=3),i>t&&(this.scale="month",this.step=1),7*n>t&&this.options.showWeekScale&&(this.scale="week",this.step=1),2*n>t&&(this.scale="day",this.step=2),n>t&&(this.scale="day",this.step=1),n/2>t&&(this.scale="weekday",this.step=1),4*o>t&&(this.scale="hour",this.step=4),o>t&&(this.scale="hour",this.step=1),15*s>t&&(this.scale="minute",this.step=15),10*s>t&&(this.scale="minute",this.step=10),5*s>t&&(this.scale="minute",this.step=5),s>t&&(this.scale="minute",this.step=1),15*r>t&&(this.scale="second",this.step=15),10*r>t&&(this.scale="second",this.step=10),5*r>t&&(this.scale="second",this.step=5),r>t&&(this.scale="second",this.step=1),200*a>t&&(this.scale="millisecond",this.step=200),100*a>t&&(this.scale="millisecond",this.step=100),50*a>t&&(this.scale="millisecond",this.step=50),10*a>t&&(this.scale="millisecond",this.step=10),5*a>t&&(this.scale="millisecond",this.step=5),a>t&&(this.scale="millisecond",this.step=1)}static snap(t,e,i){const n=C(t);if("year"==e){const t=n.year()+Math.round(n.month()/12);n.year(Math.round(t/i)*i),n.month(0),n.date(0),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("month"==e)n.date()>15?(n.date(1),n.add(1,"month")):n.date(1),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0);else if("week"==e)n.weekday()>2?(n.weekday(0),n.add(1,"week")):n.weekday(0),n.hours(0),n.minutes(0),n.seconds(0),n.milliseconds(0);else if("day"==e){switch(i){case 5:case 2:n.hours(24*Math.round(n.hours()/24));break;default:n.hours(12*Math.round(n.hours()/12));break}n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("weekday"==e){switch(i){case 5:case 2:n.hours(12*Math.round(n.hours()/12));break;default:n.hours(6*Math.round(n.hours()/6));break}n.minutes(0),n.seconds(0),n.milliseconds(0)}else if("hour"==e){switch(i){case 4:n.minutes(60*Math.round(n.minutes()/60));break;default:n.minutes(30*Math.round(n.minutes()/30));break}n.seconds(0),n.milliseconds(0)}else if("minute"==e){switch(i){case 15:case 10:n.minutes(5*Math.round(n.minutes()/5)),n.seconds(0);break;case 5:n.seconds(60*Math.round(n.seconds()/60));break;default:n.seconds(30*Math.round(n.seconds()/30));break}n.milliseconds(0)}else if("second"==e)switch(i){case 15:case 10:n.seconds(5*Math.round(n.seconds()/5)),n.milliseconds(0);break;case 5:n.milliseconds(1e3*Math.round(n.milliseconds()/1e3));break;default:n.milliseconds(500*Math.round(n.milliseconds()/500));break}else if("millisecond"==e){const t=i>5?i/2:1;n.milliseconds(Math.round(n.milliseconds()/t)*t)}return n}isMajor(){if(1==this.switchedYear)switch(this.scale){case"year":case"month":case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedMonth)switch(this.scale){case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedDay)switch(this.scale){case"millisecond":case"second":case"minute":case"hour":return!0;default:return!1}const t=this.moment(this.current);switch(this.scale){case"millisecond":return 0==t.milliseconds();case"second":return 0==t.seconds();case"minute":return 0==t.hours()&&0==t.minutes();case"hour":return 0==t.hours();case"weekday":case"day":return 1==t.date();case"week":return 1==t.date();case"month":return 0==t.month();case"year":return!1;default:return!1}}getLabelMinor(t){if(void 0==t&&(t=this.current),t instanceof Date&&(t=this.moment(t)),"function"===typeof this.format.minorLabels)return this.format.minorLabels(t,this.scale,this.step);const e=this.format.minorLabels[this.scale];switch(this.scale){case"week":if(1===t.date()&&0!==t.weekday())return"";default:return e&&e.length>0?this.moment(t).format(e):""}}getLabelMajor(t){if(void 0==t&&(t=this.current),t instanceof Date&&(t=this.moment(t)),"function"===typeof this.format.majorLabels)return this.format.majorLabels(t,this.scale,this.step);const e=this.format.majorLabels[this.scale];return e&&e.length>0?this.moment(t).format(e):""}getClassName(){const t=this.moment,e=this.moment(this.current),i=e.locale?e.locale("en"):e.lang("en"),n=this.step,o=[];function s(t){return t/n%2==0?" vis-even":" vis-odd"}function r(e){return e.isSame(Date.now(),"day")?" vis-today":e.isSame(t().add(1,"day"),"day")?" vis-tomorrow":e.isSame(t().add(-1,"day"),"day")?" vis-yesterday":""}function a(t){return t.isSame(Date.now(),"week")?" vis-current-week":""}function g(t){return t.isSame(Date.now(),"month")?" vis-current-month":""}function d(t){return t.isSame(Date.now(),"year")?" vis-current-year":""}switch(this.scale){case"millisecond":o.push(r(i)),o.push(s(i.milliseconds()));break;case"second":o.push(r(i)),o.push(s(i.seconds()));break;case"minute":o.push(r(i)),o.push(s(i.minutes()));break;case"hour":o.push(`vis-h${i.hours()}${4==this.step?"-h"+(i.hours()+4):""}`),o.push(r(i)),o.push(s(i.hours()));break;case"weekday":o.push("vis-"+i.format("dddd").toLowerCase()),o.push(r(i)),o.push(a(i)),o.push(s(i.date()));break;case"day":o.push("vis-day"+i.date()),o.push("vis-"+i.format("MMMM").toLowerCase()),o.push(r(i)),o.push(g(i)),o.push(this.step<=2?r(i):""),o.push(this.step<=2?"vis-"+i.format("dddd").toLowerCase():""),o.push(s(i.date()-1));break;case"week":o.push("vis-week"+i.format("w")),o.push(a(i)),o.push(s(i.week()));break;case"month":o.push("vis-"+i.format("MMMM").toLowerCase()),o.push(g(i)),o.push(s(i.month()));break;case"year":o.push("vis-year"+i.year()),o.push(d(i)),o.push(s(i.year()));break}return o.filter(String).join(" ")}}z.FORMAT={minorLabels:{millisecond:"SSS",second:"s",minute:"HH:mm",hour:"HH:mm",weekday:"ddd D",day:"D",week:"w",month:"MMM",year:"YYYY"},majorLabels:{millisecond:"HH:mm:ss",second:"D MMMM HH:mm",minute:"ddd D MMMM",hour:"ddd D MMMM",weekday:"MMMM YYYY",day:"MMMM YYYY",week:"MMMM YYYY",month:"YYYY",year:""}};class W extends v{constructor(t,e){super(),this.dom={foreground:null,lines:[],majorTexts:[],minorTexts:[],redundant:{lines:[],majorTexts:[],minorTexts:[]}},this.props={range:{start:0,end:0,minimumStep:0},lineTop:0},this.defaultOptions={orientation:{axis:"bottom"},showMinorLabels:!0,showMajorLabels:!0,showWeekScale:!1,maxMinorChars:7,format:z.FORMAT,moment:C,timeAxis:null},this.options=m.extend({},this.defaultOptions),this.body=t,this._create(),this.setOptions(e)}setOptions(t){t&&(m.selectiveExtend(["showMinorLabels","showMajorLabels","showWeekScale","maxMinorChars","hiddenDates","timeAxis","moment","rtl"],this.options,t),m.selectiveDeepExtend(["format"],this.options,t),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation.axis=t.orientation:"object"===typeof t.orientation&&"axis"in t.orientation&&(this.options.orientation.axis=t.orientation.axis)),"locale"in t&&("function"===typeof C.locale?C.locale(t.locale):C.lang(t.locale)))}_create(){this.dom.foreground=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.foreground.className="vis-time-axis vis-foreground",this.dom.background.className="vis-time-axis vis-background"}destroy(){this.dom.foreground.parentNode&&this.dom.foreground.parentNode.removeChild(this.dom.foreground),this.dom.background.parentNode&&this.dom.background.parentNode.removeChild(this.dom.background),this.body=null}redraw(){const t=this.props,e=this.dom.foreground,i=this.dom.background,n="top"==this.options.orientation.axis?this.body.dom.top:this.body.dom.bottom,o=e.parentNode!==n;this._calculateCharSize();const s=this.options.showMinorLabels&&"none"!==this.options.orientation.axis,r=this.options.showMajorLabels&&"none"!==this.options.orientation.axis;t.minorLabelHeight=s?t.minorCharHeight:0,t.majorLabelHeight=r?t.majorCharHeight:0,t.height=t.minorLabelHeight+t.majorLabelHeight,t.width=e.offsetWidth,t.minorLineHeight=this.body.domProps.root.height-t.majorLabelHeight-("top"==this.options.orientation.axis?this.body.domProps.bottom.height:this.body.domProps.top.height),t.minorLineWidth=1,t.majorLineHeight=t.minorLineHeight+t.majorLabelHeight,t.majorLineWidth=1;const a=e.nextSibling,g=i.nextSibling;return e.parentNode&&e.parentNode.removeChild(e),i.parentNode&&i.parentNode.removeChild(i),e.style.height=this.props.height+"px",this._repaintLabels(),a?n.insertBefore(e,a):n.appendChild(e),g?this.body.dom.backgroundVertical.insertBefore(i,g):this.body.dom.backgroundVertical.appendChild(i),this._isResized()||o}_repaintLabels(){const t=this.options.orientation.axis,e=m.convert(this.body.range.start,"Number"),i=m.convert(this.body.range.end,"Number"),n=this.body.util.toTime((this.props.minorCharWidth||10)*this.options.maxMinorChars).valueOf();let o=n-L(this.options.moment,this.body.hiddenDates,this.body.range,n);o-=this.body.util.toTime(0).valueOf();const s=new z(new Date(e),new Date(i),o,this.body.hiddenDates,this.options);s.setMoment(this.options.moment),this.options.format&&s.setFormat(this.options.format),this.options.timeAxis&&s.setScale(this.options.timeAxis),this.step=s;const r=this.dom;let a,g,d,l,c,h;r.redundant.lines=r.lines,r.redundant.majorTexts=r.majorTexts,r.redundant.minorTexts=r.minorTexts,r.lines=[],r.majorTexts=[],r.minorTexts=[];let u,A,C=0,I=void 0,p=0;const f=1e3;let v;s.start(),g=s.getCurrent(),l=this.body.util.toScreen(g);while(s.hasNext()&&p=.4*u;break}if(this.options.showMinorLabels&&h){var b=this._repaintMinorText(d,s.getLabelMinor(a),t,v);b.style.width=C+"px"}c&&this.options.showMajorLabels?(d>0&&(void 0==I&&(I=d),b=this._repaintMajorText(d,s.getLabelMajor(a),t,v)),A=this._repaintMajorLine(d,C,t,v)):h?A=this._repaintMinorLine(d,C,t,v):A&&(A.style.width=parseInt(A.style.width)+C+"px")}if(p!==f||V||(console.warn(`Something is wrong with the Timeline scale. Limited drawing of grid lines to ${f} lines.`),V=!0),this.options.showMajorLabels){const e=this.body.util.toTime(0),i=s.getLabelMajor(e),n=i.length*(this.props.majorCharWidth||10)+10;(void 0==I||n{while(t.length){const e=t.pop();e&&e.parentNode&&e.parentNode.removeChild(e)}})}_repaintMinorText(t,e,i,n){let o=this.dom.redundant.minorTexts.shift();if(!o){const t=document.createTextNode("");o=document.createElement("div"),o.appendChild(t),this.dom.foreground.appendChild(o)}this.dom.minorTexts.push(o),o.innerHTML=e;let s="top"==i?this.props.majorLabelHeight:0;return this._setXY(o,t,s),o.className="vis-text vis-minor "+n,o}_repaintMajorText(t,e,i,n){let o=this.dom.redundant.majorTexts.shift();if(!o){const t=document.createElement("div");o=document.createElement("div"),o.appendChild(t),this.dom.foreground.appendChild(o)}o.childNodes[0].innerHTML=e,o.className="vis-text vis-major "+n;let s="top"==i?0:this.props.minorLabelHeight;return this._setXY(o,t,s),this.dom.majorTexts.push(o),o}_setXY(t,e,i){const n=this.options.rtl?-1*e:e;t.style.transform=`translate(${n}px, ${i}px)`}_repaintMinorLine(t,e,i,n){let o=this.dom.redundant.lines.shift();o||(o=document.createElement("div"),this.dom.background.appendChild(o)),this.dom.lines.push(o);const s=this.props;o.style.width=e+"px",o.style.height=s.minorLineHeight+"px";let r="top"==i?s.majorLabelHeight:this.body.domProps.top.height,a=t-s.minorLineWidth/2;return this._setXY(o,a,r),o.className=`vis-grid ${this.options.rtl?"vis-vertical-rtl":"vis-vertical"} vis-minor ${n}`,o}_repaintMajorLine(t,e,i,n){let o=this.dom.redundant.lines.shift();o||(o=document.createElement("div"),this.dom.background.appendChild(o)),this.dom.lines.push(o);const s=this.props;o.style.width=e+"px",o.style.height=s.majorLineHeight+"px";let r="top"==i?0:this.body.domProps.top.height,a=t-s.majorLineWidth/2;return this._setXY(o,a,r),o.className=`vis-grid ${this.options.rtl?"vis-vertical-rtl":"vis-vertical"} vis-major ${n}`,o}_calculateCharSize(){this.dom.measureCharMinor||(this.dom.measureCharMinor=document.createElement("DIV"),this.dom.measureCharMinor.className="vis-text vis-minor vis-measure",this.dom.measureCharMinor.style.position="absolute",this.dom.measureCharMinor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMinor)),this.props.minorCharHeight=this.dom.measureCharMinor.clientHeight,this.props.minorCharWidth=this.dom.measureCharMinor.clientWidth,this.dom.measureCharMajor||(this.dom.measureCharMajor=document.createElement("DIV"),this.dom.measureCharMajor.className="vis-text vis-major vis-measure",this.dom.measureCharMajor.style.position="absolute",this.dom.measureCharMajor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMajor)),this.props.majorCharHeight=this.dom.measureCharMajor.clientHeight,this.props.majorCharWidth=this.dom.measureCharMajor.clientWidth}}var V=!1;function G(t){this.active=!1,this.dom={container:t},this.dom.overlay=document.createElement("div"),this.dom.overlay.className="vis-overlay",this.dom.container.appendChild(this.dom.overlay),this.hammer=R(this.dom.overlay),this.hammer.on("tap",this._onTapOverlay.bind(this));var e=this,i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];i.forEach((function(t){e.hammer.on(t,(function(t){t.stopPropagation()}))})),document&&document.body&&(this.onClick=function(i){Z(i.target,t)||e.deactivate()},document.body.addEventListener("click",this.onClick)),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=u()(),this.escListener=this.deactivate.bind(this)}function Z(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}g()(G.prototype),G.current=null,G.prototype.destroy=function(){this.deactivate(),this.dom.overlay.parentNode.removeChild(this.dom.overlay),this.onClick&&document.body.removeEventListener("click",this.onClick),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=null,this.hammer.destroy(),this.hammer=null},G.prototype.activate=function(){G.current&&G.current.deactivate(),G.current=this,this.active=!0,this.dom.overlay.style.display="none",m.addClassName(this.dom.container,"vis-active"),this.emit("change"),this.emit("activate"),this.keycharm.bind("esc",this.escListener)},G.prototype.deactivate=function(){G.current===this&&(G.current=null),this.active=!1,this.dom.overlay.style.display="",m.removeClassName(this.dom.container,"vis-active"),this.keycharm.unbind("esc",this.escListener),this.emit("change"),this.emit("deactivate")},G.prototype._onTapOverlay=function(t){this.activate(),t.stopPropagation()};const U={current:"current",time:"time",deleteSelected:"Delete selected"},K=U,X=U,J={current:"attuale",time:"tempo",deleteSelected:"Cancella la selezione"},Q=J,q=J,$={current:"huidige",time:"tijd",deleteSelected:"Selectie verwijderen"},tt=$,et=$,it={current:"Aktuelle",time:"Zeit",deleteSelected:"Lösche Auswahl"},nt=it,ot={current:"actuel",time:"heure",deleteSelected:"Effacer la selection"},st=ot,rt=ot,at=ot,gt={current:"corriente",time:"hora",deleteSelected:"Eliminar selección"},dt=gt,lt={current:"поточний",time:"час",deleteSelected:"Видалити обране"},ct=lt,ht={current:"текущее",time:"время",deleteSelected:"Удалить выбранное"},ut=ht,At={current:"aktualny",time:"czas",deleteSelected:"Usuń wybrane"},Ct=At,It={current:"atual",time:"data",deleteSelected:"Apagar selecionado"},pt=It,ft=It,mt={current:"現在",time:"時刻",deleteSelected:"選択されたものを削除"},vt=mt,bt={en:U,en_EN:K,en_US:X,it:J,it_IT:Q,it_CH:q,nl:$,nl_NL:tt,nl_BE:et,de:it,de_DE:nt,fr:ot,fr_FR:st,fr_CA:rt,fr_BE:at,es:gt,es_ES:dt,uk:lt,uk_UA:ct,ru:ht,ru_RU:ut,pl:At,pl_PL:Ct,pt:It,pt_BR:pt,pt_PT:ft,ja:mt,ja_JP:vt};class yt extends v{constructor(t,e){super(),this.body=t,this.defaultOptions={moment:C,locales:bt,locale:"en",id:void 0,title:void 0},this.options=m.extend({},this.defaultOptions),this.setOptions(e),this.options.locales=m.extend({},bt,this.options.locales);const i=this.defaultOptions.locales[this.defaultOptions.locale];Object.keys(this.options.locales).forEach(t=>{this.options.locales[t]=m.extend({},i,this.options.locales[t])}),e&&null!=e.time?this.customTime=e.time:this.customTime=new Date,this.eventParams={},this._create()}setOptions(t){t&&m.selectiveExtend(["moment","locale","locales","id","title","rtl","snap"],this.options,t)}_create(){const t=document.createElement("div");t["custom-time"]=this,t.className="vis-custom-time "+(this.options.id||""),t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t;const e=document.createElement("div");function i(t){this.body.range._onMouseWheel(t)}e.style.position="relative",e.style.top="0px",this.options.rtl?e.style.right="-10px":e.style.left="-10px",e.style.height="100%",e.style.width="20px",e.addEventListener?(e.addEventListener("mousewheel",i.bind(this),!1),e.addEventListener("DOMMouseScroll",i.bind(this),!1)):e.attachEvent("onmousewheel",i.bind(this)),t.appendChild(e),this.hammer=new R(e),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:R.DIRECTION_ALL})}destroy(){this.hide(),this.hammer.destroy(),this.hammer=null,this.body=null}redraw(){const t=this.body.dom.backgroundVertical;this.bar.parentNode!=t&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),t.appendChild(this.bar));const e=this.body.util.toScreen(this.customTime);let i=this.options.locales[this.options.locale];i||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),i=this.options.locales["en"]);let n=this.options.title;return void 0===n?(n=`${i.time}: ${this.options.moment(this.customTime).format("dddd, MMMM Do YYYY, H:mm:ss")}`,n=n.charAt(0).toUpperCase()+n.substring(1)):"function"===typeof n&&(n=n.call(this,this.customTime)),this.options.rtl?this.bar.style.right=e+"px":this.bar.style.left=e+"px",this.bar.title=n,!1}hide(){this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar)}setCustomTime(t){this.customTime=m.convert(t,"Date"),this.redraw()}getCustomTime(){return new Date(this.customTime.valueOf())}setCustomMarker(t,e){const i=document.createElement("div");i.className="vis-custom-time-marker",i.innerHTML=t,i.style.position="absolute",e&&(i.setAttribute("contenteditable","true"),i.addEventListener("pointerdown",(function(){i.focus()})),i.addEventListener("input",this._onMarkerChange.bind(this)),i.title=t,i.addEventListener("blur",function(t){this.title!=t.target.innerHTML&&(this._onMarkerChanged(t),this.title=t.target.innerHTML)}.bind(this))),this.bar.appendChild(i)}setCustomTitle(t){this.options.title=t}_onDragStart(t){this.eventParams.dragging=!0,this.eventParams.customTime=this.customTime,t.stopPropagation()}_onDrag(t){if(!this.eventParams.dragging)return;let e=this.options.rtl?-1*t.deltaX:t.deltaX;const i=this.body.util.toScreen(this.eventParams.customTime)+e,n=this.body.util.toTime(i),o=this.body.util.getScale(),s=this.body.util.getStep(),r=this.options.snap,a=r?r(n,o,s):n;this.setCustomTime(a),this.body.emitter.emit("timechange",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:t}),t.stopPropagation()}_onDragEnd(t){this.eventParams.dragging&&(this.body.emitter.emit("timechanged",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:t}),t.stopPropagation())}_onMarkerChange(t){this.body.emitter.emit("markerchange",{id:this.options.id,title:t.target.innerHTML,event:t}),t.stopPropagation()}_onMarkerChanged(t){this.body.emitter.emit("markerchanged",{id:this.options.id,title:t.target.innerHTML,event:t}),t.stopPropagation()}static customTimeFromTarget(t){let e=t.target;while(e){if(e.hasOwnProperty("custom-time"))return e["custom-time"];e=e.parentNode}return null}}class _t{_create(t){this.dom={},this.dom.container=t,this.dom.container.style.position="relative",this.dom.root=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.backgroundVertical=document.createElement("div"),this.dom.backgroundHorizontal=document.createElement("div"),this.dom.centerContainer=document.createElement("div"),this.dom.leftContainer=document.createElement("div"),this.dom.rightContainer=document.createElement("div"),this.dom.center=document.createElement("div"),this.dom.left=document.createElement("div"),this.dom.right=document.createElement("div"),this.dom.top=document.createElement("div"),this.dom.bottom=document.createElement("div"),this.dom.shadowTop=document.createElement("div"),this.dom.shadowBottom=document.createElement("div"),this.dom.shadowTopLeft=document.createElement("div"),this.dom.shadowBottomLeft=document.createElement("div"),this.dom.shadowTopRight=document.createElement("div"),this.dom.shadowBottomRight=document.createElement("div"),this.dom.rollingModeBtn=document.createElement("div"),this.dom.loadingScreen=document.createElement("div"),this.dom.root.className="vis-timeline",this.dom.background.className="vis-panel vis-background",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical",this.dom.backgroundHorizontal.className="vis-panel vis-background vis-horizontal",this.dom.centerContainer.className="vis-panel vis-center",this.dom.leftContainer.className="vis-panel vis-left",this.dom.rightContainer.className="vis-panel vis-right",this.dom.top.className="vis-panel vis-top",this.dom.bottom.className="vis-panel vis-bottom",this.dom.left.className="vis-content",this.dom.center.className="vis-content",this.dom.right.className="vis-content",this.dom.shadowTop.className="vis-shadow vis-top",this.dom.shadowBottom.className="vis-shadow vis-bottom",this.dom.shadowTopLeft.className="vis-shadow vis-top",this.dom.shadowBottomLeft.className="vis-shadow vis-bottom",this.dom.shadowTopRight.className="vis-shadow vis-top",this.dom.shadowBottomRight.className="vis-shadow vis-bottom",this.dom.rollingModeBtn.className="vis-rolling-mode-btn",this.dom.loadingScreen.className="vis-loading-screen",this.dom.root.appendChild(this.dom.background),this.dom.root.appendChild(this.dom.backgroundVertical),this.dom.root.appendChild(this.dom.backgroundHorizontal),this.dom.root.appendChild(this.dom.centerContainer),this.dom.root.appendChild(this.dom.leftContainer),this.dom.root.appendChild(this.dom.rightContainer),this.dom.root.appendChild(this.dom.top),this.dom.root.appendChild(this.dom.bottom),this.dom.root.appendChild(this.dom.rollingModeBtn),this.dom.centerContainer.appendChild(this.dom.center),this.dom.leftContainer.appendChild(this.dom.left),this.dom.rightContainer.appendChild(this.dom.right),this.dom.centerContainer.appendChild(this.dom.shadowTop),this.dom.centerContainer.appendChild(this.dom.shadowBottom),this.dom.leftContainer.appendChild(this.dom.shadowTopLeft),this.dom.leftContainer.appendChild(this.dom.shadowBottomLeft),this.dom.rightContainer.appendChild(this.dom.shadowTopRight),this.dom.rightContainer.appendChild(this.dom.shadowBottomRight),this.props={root:{},background:{},centerContainer:{},leftContainer:{},rightContainer:{},center:{},left:{},right:{},top:{},bottom:{},border:{},scrollTop:0,scrollTopMin:0},this.on("rangechange",()=>{!0===this.initialDrawDone&&this._redraw()}),this.on("rangechanged",()=>{this.initialRangeChangeDone||(this.initialRangeChangeDone=!0)}),this.on("touch",this._onTouch.bind(this)),this.on("panmove",this._onDrag.bind(this));const e=this;this._origRedraw=this._redraw.bind(this),this._redraw=m.throttle(this._origRedraw),this.on("_change",t=>{e.itemSet&&e.itemSet.initialItemSetDrawn&&t&&1==t.queue?e._redraw():e._origRedraw()}),this.hammer=new R(this.dom.root);const i=this.hammer.get("pinch").set({enable:!0});i&&B(i),this.hammer.get("pan").set({threshold:5,direction:R.DIRECTION_ALL}),this.timelineListeners={};const n=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];function o(t){const e=40,i=800;this.isActive()&&this.emit("mousewheel",t);let n=0,o=0;if("detail"in t&&(o=-1*t.detail),"wheelDelta"in t&&(o=t.wheelDelta),"wheelDeltaY"in t&&(o=t.wheelDeltaY),"wheelDeltaX"in t&&(n=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(n=-1*o,o=0),"deltaY"in t&&(o=-1*t.deltaY),"deltaX"in t&&(n=t.deltaX),t.deltaMode&&(1===t.deltaMode?(n*=e,o*=e):(n*=e,o*=i)),this.options.preferZoom){if(!this.options.zoomKey||t[this.options.zoomKey])return}else if(this.options.zoomKey&&t[this.options.zoomKey])return;if(this.options.verticalScroll||this.options.horizontalScroll)if(this.options.verticalScroll&&Math.abs(o)>=Math.abs(n)){const e=this.props.scrollTop,i=e+o;if(this.isActive()){const n=this._setScrollTop(i);n!==e&&(this._redraw(),this.emit("scroll",t),t.preventDefault())}}else if(this.options.horizontalScroll){const e=Math.abs(n)>=Math.abs(o)?n:o,i=e/120*(this.range.end-this.range.start)/20,s=this.range.start+i,r=this.range.end+i,a={animation:!1,byUser:!0,event:t};this.range.setRange(s,r,a),t.preventDefault()}}n.forEach(t=>{const i=i=>{e.isActive()&&e.emit(t,i)};e.hammer.on(t,i),e.timelineListeners[t]=i}),F(this.hammer,t=>{e.emit("touch",t)}),H(this.hammer,t=>{e.emit("release",t)});const s="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":this.dom.centerContainer.addEventListener?"DOMMouseScroll":"onmousewheel";function r(t){if(e.options.verticalScroll)if(e._isProgramaticallyScrolled)e._isProgramaticallyScrolled=!1;else if(t.preventDefault(),e.isActive()){const i=-t.target.scrollTop;e._setScrollTop(i),e._redraw(),e.emit("scrollSide",t)}}this.dom.top.addEventListener,this.dom.bottom.addEventListener,this.dom.centerContainer.addEventListener(s,o.bind(this),!1),this.dom.top.addEventListener(s,o.bind(this),!1),this.dom.bottom.addEventListener(s,o.bind(this),!1),this.dom.left.parentNode.addEventListener("scroll",r.bind(this)),this.dom.right.parentNode.addEventListener("scroll",r.bind(this));let a=!1;function g(t){if(t.preventDefault&&(e.emit("dragover",e.getEventProperties(t)),t.preventDefault()),t.target.className.indexOf("timeline")>-1&&!a)return t.dataTransfer.dropEffect="move",a=!0,!1}function d(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation();try{var i=JSON.parse(t.dataTransfer.getData("text"));if(!i||!i.content)return}catch(n){return!1}return a=!1,t.center={x:t.clientX,y:t.clientY},"item"!==i.target?e.itemSet._onAddItem(t):e.itemSet._onDropObjectOnItem(t),e.emit("drop",e.getEventProperties(t)),!1}if(this.dom.center.addEventListener("dragover",g.bind(this),!1),this.dom.center.addEventListener("drop",d.bind(this),!1),this.customTimes=[],this.touch={},this.redrawCount=0,this.initialDrawDone=!1,this.initialRangeChangeDone=!1,!t)throw new Error("No container provided");t.appendChild(this.dom.root),t.appendChild(this.dom.loadingScreen)}setOptions(t){if(t){const e=["width","height","minHeight","maxHeight","autoResize","start","end","clickToUse","dataAttributes","hiddenDates","locale","locales","moment","preferZoom","rtl","zoomKey","horizontalScroll","verticalScroll","longSelectPressTime","snap"];if(m.selectiveExtend(e,this.options,t),this.dom.rollingModeBtn.style.visibility="hidden",this.options.rtl&&(this.dom.container.style.direction="rtl",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical-rtl"),this.options.verticalScroll&&(this.options.rtl?this.dom.rightContainer.className="vis-panel vis-right vis-vertical-scroll":this.dom.leftContainer.className="vis-panel vis-left vis-vertical-scroll"),"object"!==typeof this.options.orientation&&(this.options.orientation={item:void 0,axis:void 0}),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation={item:t.orientation,axis:t.orientation}:"object"===typeof t.orientation&&("item"in t.orientation&&(this.options.orientation.item=t.orientation.item),"axis"in t.orientation&&(this.options.orientation.axis=t.orientation.axis))),"both"===this.options.orientation.axis){if(!this.timeAxis2){const t=this.timeAxis2=new W(this.body);t.setOptions=e=>{const i=e?m.extend({},e):{};i.orientation="top",W.prototype.setOptions.call(t,i)},this.components.push(t)}}else if(this.timeAxis2){const t=this.components.indexOf(this.timeAxis2);-1!==t&&this.components.splice(t,1),this.timeAxis2.destroy(),this.timeAxis2=null}"function"==typeof t.drawPoints&&(t.drawPoints={onRender:t.drawPoints}),"hiddenDates"in this.options&&b(this.options.moment,this.body,this.options.hiddenDates),"clickToUse"in t&&(t.clickToUse?this.activator||(this.activator=new G(this.dom.root)):this.activator&&(this.activator.destroy(),delete this.activator)),this._initAutoResize()}if(this.components.forEach(e=>e.setOptions(t)),"configure"in t){this.configurator||(this.configurator=this._createConfigurator()),this.configurator.setOptions(t.configure);const e=m.deepExtend({},this.options);this.components.forEach(t=>{m.deepExtend(e,t.options)}),this.configurator.setModuleOptions({global:e})}this._redraw()}isActive(){return!this.activator||this.activator.active}destroy(){this.setItems(null),this.setGroups(null),this.off(),this._stopAutoResize(),this.dom.root.parentNode&&this.dom.root.parentNode.removeChild(this.dom.root),this.dom=null,this.activator&&(this.activator.destroy(),delete this.activator);for(const t in this.timelineListeners)this.timelineListeners.hasOwnProperty(t)&&delete this.timelineListeners[t];this.timelineListeners=null,this.hammer&&this.hammer.destroy(),this.hammer=null,this.components.forEach(t=>t.destroy()),this.body=null}setCustomTime(t,e){const i=this.customTimes.filter(t=>e===t.options.id);if(0===i.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));i.length>0&&i[0].setCustomTime(t)}getCustomTime(t){const e=this.customTimes.filter(e=>e.options.id===t);if(0===e.length)throw new Error("No custom time bar found with id "+JSON.stringify(t));return e[0].getCustomTime()}setCustomTimeMarker(t,e,i){const n=this.customTimes.filter(t=>t.options.id===e);if(0===n.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));n.length>0&&n[0].setCustomMarker(t,i)}setCustomTimeTitle(t,e){const i=this.customTimes.filter(t=>t.options.id===e);if(0===i.length)throw new Error("No custom time bar found with id "+JSON.stringify(e));if(i.length>0)return i[0].setCustomTitle(t)}getEventProperties(t){return{event:t}}addCustomTime(t,e){const i=void 0!==t?m.convert(t,"Date"):new Date,n=this.customTimes.some(t=>t.options.id===e);if(n)throw new Error(`A custom time with id ${JSON.stringify(e)} already exists`);const o=new yt(this.body,m.extend({},this.options,{time:i,id:e,snap:this.itemSet?this.itemSet.options.snap:this.options.snap}));return this.customTimes.push(o),this.components.push(o),this._redraw(),e}removeCustomTime(t){const e=this.customTimes.filter(e=>e.options.id===t);if(0===e.length)throw new Error("No custom time bar found with id "+JSON.stringify(t));e.forEach(t=>{this.customTimes.splice(this.customTimes.indexOf(t),1),this.components.splice(this.components.indexOf(t),1),t.destroy()})}getVisibleItems(){return this.itemSet&&this.itemSet.getVisibleItems()||[]}getVisibleGroups(){return this.itemSet&&this.itemSet.getVisibleGroups()||[]}fit(t,e){const i=this.getDataRange();if(null===i.min&&null===i.max)return;const n=i.max-i.min,o=new Date(i.min.valueOf()-.01*n),s=new Date(i.max.valueOf()+.01*n),r=!t||void 0===t.animation||t.animation;this.range.setRange(o,s,{animation:r},e)}getDataRange(){throw new Error("Cannot invoke abstract method getDataRange")}setWindow(t,e,i,n){let o,s;"function"==typeof arguments[2]&&(n=arguments[2],i={}),1==arguments.length?(s=arguments[0],o=void 0===s.animation||s.animation,this.range.setRange(s.start,s.end,{animation:o})):2==arguments.length&&"function"==typeof arguments[1]?(s=arguments[0],n=arguments[1],o=void 0===s.animation||s.animation,this.range.setRange(s.start,s.end,{animation:o},n)):(o=!i||void 0===i.animation||i.animation,this.range.setRange(t,e,{animation:o},n))}moveTo(t,e,i){"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.range.end-this.range.start,o=m.convert(t,"Date").valueOf(),s=o-n/2,r=o+n/2,a=!e||void 0===e.animation||e.animation;this.range.setRange(s,r,{animation:a},i)}getWindow(){const t=this.range.getRange();return{start:new Date(t.start),end:new Date(t.end)}}zoomIn(t,e,i){if(!t||t<0||t>1)return;"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.getWindow(),o=n.start.valueOf(),s=n.end.valueOf(),r=s-o,a=r/(1+t),g=(r-a)/2,d=o+g,l=s-g;this.setWindow(d,l,e,i)}zoomOut(t,e,i){if(!t||t<0||t>1)return;"function"==typeof arguments[1]&&(i=arguments[1],e={});const n=this.getWindow(),o=n.start.valueOf(),s=n.end.valueOf(),r=s-o,a=o-r*t/2,g=s+r*t/2;this.setWindow(a,g,e,i)}redraw(){this._redraw()}_redraw(){this.redrawCount++;const t=this.dom;if(!t||!t.container||0==t.root.offsetWidth)return;let e=!1;const i=this.options,n=this.props;y(this.options.moment,this.body,this.options.hiddenDates),"top"==i.orientation?(m.addClassName(t.root,"vis-top"),m.removeClassName(t.root,"vis-bottom")):(m.removeClassName(t.root,"vis-top"),m.addClassName(t.root,"vis-bottom")),i.rtl?(m.addClassName(t.root,"vis-rtl"),m.removeClassName(t.root,"vis-ltr")):(m.addClassName(t.root,"vis-ltr"),m.removeClassName(t.root,"vis-rtl")),t.root.style.maxHeight=m.option.asSize(i.maxHeight,""),t.root.style.minHeight=m.option.asSize(i.minHeight,""),t.root.style.width=m.option.asSize(i.width,"");const o=t.root.offsetWidth;n.border.left=1,n.border.right=1,n.border.top=1,n.border.bottom=1,n.center.height=t.center.offsetHeight,n.left.height=t.left.offsetHeight,n.right.height=t.right.offsetHeight,n.top.height=t.top.clientHeight||-n.border.top,n.bottom.height=t.bottom.clientHeight||-n.border.bottom;const s=Math.max(n.left.height,n.center.height,n.right.height),r=n.top.height+s+n.bottom.height+n.border.top+n.border.bottom;t.root.style.height=m.option.asSize(i.height,r+"px"),n.root.height=t.root.offsetHeight,n.background.height=n.root.height;const a=n.root.height-n.top.height-n.bottom.height;n.centerContainer.height=a,n.leftContainer.height=a,n.rightContainer.height=n.leftContainer.height,n.root.width=o,n.background.width=n.root.width,this.initialDrawDone||(n.scrollbarWidth=m.getScrollBarWidth());const g=t.leftContainer.clientWidth,d=t.rightContainer.clientWidth;i.verticalScroll?i.rtl?(n.left.width=g||-n.border.left,n.right.width=d+n.scrollbarWidth||-n.border.right):(n.left.width=g+n.scrollbarWidth||-n.border.left,n.right.width=d||-n.border.right):(n.left.width=g||-n.border.left,n.right.width=d||-n.border.right),this._setDOM();let l=this._updateScrollTop();"top"!=i.orientation.item&&(l+=Math.max(n.centerContainer.height-n.center.height-n.border.top-n.border.bottom,0)),t.center.style.transform=`translateY(${l}px)`;const c=0==n.scrollTop?"hidden":"",h=n.scrollTop==n.scrollTopMin?"hidden":"";t.shadowTop.style.visibility=c,t.shadowBottom.style.visibility=h,t.shadowTopLeft.style.visibility=c,t.shadowBottomLeft.style.visibility=h,t.shadowTopRight.style.visibility=c,t.shadowBottomRight.style.visibility=h,i.verticalScroll&&(t.rightContainer.className="vis-panel vis-right vis-vertical-scroll",t.leftContainer.className="vis-panel vis-left vis-vertical-scroll",t.shadowTopRight.style.visibility="hidden",t.shadowBottomRight.style.visibility="hidden",t.shadowTopLeft.style.visibility="hidden",t.shadowBottomLeft.style.visibility="hidden",t.left.style.top="0px",t.right.style.top="0px"),(!i.verticalScroll||n.center.heightn.centerContainer.height;this.hammer.get("pan").set({direction:u?R.DIRECTION_ALL:R.DIRECTION_HORIZONTAL}),this.hammer.get("press").set({time:this.options.longSelectPressTime}),this.components.forEach(t=>{e=t.redraw()||e});const A=5;if(e){if(this.redrawCount{if(1==t.options.autoResize){if(t.dom.root){const e=t.dom.root.offsetHeight,i=t.dom.root.offsetWidth;i==t.props.lastWidth&&e==t.props.lastHeight||(t.props.lastWidth=i,t.props.lastHeight=e,t.props.scrollbarWidth=m.getScrollBarWidth(),t.body.emitter.emit("_change"))}}else t._stopAutoResize()},m.addEventListener(window,"resize",this._onResize),t.dom.root&&(t.props.lastWidth=t.dom.root.offsetWidth,t.props.lastHeight=t.dom.root.offsetHeight),this.watchTimer=setInterval(this._onResize,1e3)}_stopAutoResize(){this.watchTimer&&(clearInterval(this.watchTimer),this.watchTimer=void 0),this._onResize&&(m.removeEventListener(window,"resize",this._onResize),this._onResize=null)}_onTouch(t){this.touch.allowDragging=!0,this.touch.initialScrollTop=this.props.scrollTop}_onPinch(t){this.touch.allowDragging=!1}_onDrag(t){if(!t)return;if(!this.touch.allowDragging)return;const e=t.deltaY,i=this._getScrollTop(),n=this._setScrollTop(this.touch.initialScrollTop+e);this.options.verticalScroll&&(this.dom.left.parentNode.scrollTop=-this.props.scrollTop,this.dom.right.parentNode.scrollTop=-this.props.scrollTop),n!=i&&this.emit("verticalDrag")}_setScrollTop(t){return this.props.scrollTop=t,this._updateScrollTop(),this.props.scrollTop}_updateScrollTop(){const t=Math.min(this.props.centerContainer.height-this.props.center.height,0);return t!=this.props.scrollTopMin&&("top"!=this.options.orientation.item&&(this.props.scrollTop+=t-this.props.scrollTopMin),this.props.scrollTopMin=t),this.props.scrollTop>0&&(this.props.scrollTop=0),this.props.scrollTop{this.options.locales[t]=m.extend({},i,this.options.locales[t])}),this.offset=0,this._create()}_create(){const t=document.createElement("div");t.className="vis-current-time",t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t}destroy(){this.options.showCurrentTime=!1,this.redraw(),this.body=null}setOptions(t){t&&m.selectiveExtend(["rtl","showCurrentTime","alignCurrentTime","moment","locale","locales"],this.options,t)}redraw(){if(this.options.showCurrentTime){const t=this.body.dom.backgroundVertical;this.bar.parentNode!=t&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),t.appendChild(this.bar),this.start());let e=this.options.moment(Date.now()+this.offset);this.options.alignCurrentTime&&(e=e.startOf(this.options.alignCurrentTime));const i=this.body.util.toScreen(e);let n=this.options.locales[this.options.locale];n||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),n=this.options.locales["en"]);let o=`${n.current} ${n.time}: ${e.format("dddd, MMMM Do YYYY, H:mm:ss")}`;o=o.charAt(0).toUpperCase()+o.substring(1),this.options.rtl?this.bar.style.transform=`translateX(${-1*i}px)`:this.bar.style.transform=`translateX(${i}px)`,this.bar.title=o}else this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),this.stop();return!1}start(){const t=this;function e(){t.stop();const i=t.body.range.conversion(t.body.domProps.center.width).scale;let n=1/i/10;n<30&&(n=30),n>1e3&&(n=1e3),t.redraw(),t.body.emitter.emit("currentTimeTick"),t.currentTimeTimer=setTimeout(e,n)}e()}stop(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),delete this.currentTimeTimer)}setCurrentTime(t){const e=m.convert(t,"Date").valueOf(),i=Date.now();this.offset=e-i,this.redraw()}getCurrentTime(){return new Date(Date.now()+this.offset)}}const Mt=.001;function xt(t){t.sort((t,e)=>t.data.start-e.data.start)}function kt(t){t.sort((t,e)=>{const i="end"in t.data?t.data.end:t.data.start,n="end"in e.data?e.data.end:e.data.start;return i-n})}function Dt(t,e,i,n){if(i)for(var o=0;oo&&(o=i.top+i.height)}while(s)}}i.height=o-i.top+.5*e.item.vertical}function Lt(t,e,i,n){for(let o=0;oi[t].index&&Et(i[o],i[t])){n=i[t];break}null!=n&&(i[o].top=n.top+n.height)}while(n)}for(let o=0;oi[t].index&&(i[s].top+=i[t].height);const o=t[s];for(let t=0;te.right&&t.top-i.vertical+Mte.top:t.left-i.horizontal+Mte.left&&t.top-i.vertical+Mte.top}function Et(t,e){const i=t.starte.start,n=t.tope.top;return i&&n}const Pt="__ungrouped__",jt="__background__",Nt={UNGROUPED:Pt,BACKGROUND:jt};class Rt{constructor(t,e,i){if(this.groupId=t,this.subgroups={},this.subgroupStack={},this.subgroupStackAll=!1,this.subgroupVisibility={},this.doInnerStack=!1,this.shouldBailStackItems=!1,this.subgroupIndex=0,this.subgroupOrderer=e&&e.subgroupOrder,this.itemSet=i,this.isVisible=null,this.stackDirty=!0,this._disposeCallbacks=[],e&&e.nestedGroups&&(this.nestedGroups=e.nestedGroups,0==e.showNested?this.showNested=!1:this.showNested=!0),e&&e.subgroupStack)if("boolean"===typeof e.subgroupStack)this.doInnerStack=e.subgroupStack,this.subgroupStackAll=e.subgroupStack;else for(const o in e.subgroupStack)this.subgroupStack[o]=e.subgroupStack[o],this.doInnerStack=this.doInnerStack||e.subgroupStack[o];e&&e.heightMode?this.heightMode=e.heightMode:this.heightMode=i.options.groupHeightMode,this.nestedInGroup=null,this.dom={},this.props={label:{width:0,height:0}},this.className=null,this.items={},this.visibleItems=[],this.itemsInRange=[],this.orderedItems={byStart:[],byEnd:[]},this.checkRangedItems=!1;const n=()=>{this.checkRangedItems=!0};this.itemSet.body.emitter.on("checkRangedItems",n),this._disposeCallbacks.push(()=>{this.itemSet.body.emitter.off("checkRangedItems",n)}),this._create(),this.setData(e)}_create(){const t=document.createElement("div");this.itemSet.options.groupEditable.order?t.className="vis-label draggable":t.className="vis-label",this.dom.label=t;const e=document.createElement("div");e.className="vis-inner",t.appendChild(e),this.dom.inner=e;const i=document.createElement("div");i.className="vis-group",i["vis-group"]=this,this.dom.foreground=i,this.dom.background=document.createElement("div"),this.dom.background.className="vis-group",this.dom.axis=document.createElement("div"),this.dom.axis.className="vis-group",this.dom.marker=document.createElement("div"),this.dom.marker.style.visibility="hidden",this.dom.marker.style.position="absolute",this.dom.marker.innerHTML="",this.dom.background.appendChild(this.dom.marker)}setData(t){if(this.itemSet.groupTouchParams.isDragging)return;let e,i;if(t&&t.subgroupVisibility)for(const o in t.subgroupVisibility)this.subgroupVisibility[o]=t.subgroupVisibility[o];if(this.itemSet.options&&this.itemSet.options.groupTemplate?(i=this.itemSet.options.groupTemplate.bind(this),e=i(t,this.dom.inner)):e=t&&t.content,e instanceof Element){while(this.dom.inner.firstChild)this.dom.inner.removeChild(this.dom.inner.firstChild);this.dom.inner.appendChild(e)}else e instanceof Object&&e.isReactComponent||(e instanceof Object?i(t,this.dom.inner):this.dom.inner.innerHTML=void 0!==e&&null!==e?e:this.groupId||"");this.dom.label.title=t&&t.title||"",this.dom.inner.firstChild?m.removeClassName(this.dom.inner,"vis-hidden"):m.addClassName(this.dom.inner,"vis-hidden"),t&&t.nestedGroups?(this.nestedGroups&&this.nestedGroups==t.nestedGroups||(this.nestedGroups=t.nestedGroups),void 0===t.showNested&&void 0!==this.showNested||(0==t.showNested?this.showNested=!1:this.showNested=!0),m.addClassName(this.dom.label,"vis-nesting-group"),this.showNested?(m.removeClassName(this.dom.label,"collapsed"),m.addClassName(this.dom.label,"expanded")):(m.removeClassName(this.dom.label,"expanded"),m.addClassName(this.dom.label,"collapsed"))):this.nestedGroups&&(this.nestedGroups=null,m.removeClassName(this.dom.label,"collapsed"),m.removeClassName(this.dom.label,"expanded"),m.removeClassName(this.dom.label,"vis-nesting-group")),t&&(t.treeLevel||t.nestedInGroup)?(m.addClassName(this.dom.label,"vis-nested-group"),t.treeLevel?m.addClassName(this.dom.label,"vis-group-level-"+t.treeLevel):m.addClassName(this.dom.label,"vis-group-level-unknown-but-gte1")):m.addClassName(this.dom.label,"vis-group-level-0");const n=t&&t.className||null;n!=this.className&&(this.className&&(m.removeClassName(this.dom.label,this.className),m.removeClassName(this.dom.foreground,this.className),m.removeClassName(this.dom.background,this.className),m.removeClassName(this.dom.axis,this.className)),m.addClassName(this.dom.label,n),m.addClassName(this.dom.foreground,n),m.addClassName(this.dom.background,n),m.addClassName(this.dom.axis,n),this.className=n),this.style&&(m.removeCssText(this.dom.label,this.style),this.style=null),t&&t.style&&(m.addCssText(this.dom.label,t.style),this.style=t.style)}getLabelWidth(){return this.props.label.width}_didMarkerHeightChange(){const t=this.dom.marker.clientHeight;if(t!=this.lastMarkerHeight){this.lastMarkerHeight=t;const e={};let i=0;m.forEach(this.items,(t,n)=>{if(t.dirty=!0,t.displayed){const o=!0;e[n]=t.redraw(o),i=e[n].length}});const n=i>0;if(n)for(let t=0;t{e[t]()});return!0}return!1}_calculateGroupSizeAndPosition(){const{offsetTop:t,offsetLeft:e,offsetWidth:i}=this.dom.foreground;this.top=t,this.right=e,this.width=i}_shouldBailItemsRedraw(){const t=this,e=this.itemSet.options.onTimeout,i={relativeBailingTime:this.itemSet.itemsSettingTime,bailTimeMs:e&&e.timeoutMs,userBailFunction:e&&e.callback,shouldBailStackItems:this.shouldBailStackItems};let n=null;if(!this.itemSet.initialDrawDone){if(i.shouldBailStackItems)return!0;Math.abs(Date.now()-new Date(i.relativeBailingTime))>i.bailTimeMs&&(i.userBailFunction&&null==this.itemSet.userContinueNotBail?i.userBailFunction(e=>{t.itemSet.userContinueNotBail=e,n=!e}):n=0==t.itemSet.userContinueNotBail)}return n}_redrawItems(t,e,i,n){const o=t||this.stackDirty||this.isVisible&&!e;if(o){const t={byEnd:this.orderedItems.byEnd.filter(t=>!t.isCluster),byStart:this.orderedItems.byStart.filter(t=>!t.isCluster)},e={byEnd:[...new Set(this.orderedItems.byEnd.map(t=>t.cluster).filter(t=>!!t))],byStart:[...new Set(this.orderedItems.byStart.map(t=>t.cluster).filter(t=>!!t))]},o=()=>{const i=this._updateItemsInRange(t,this.visibleItems.filter(t=>!t.isCluster),n),o=this._updateClustersInRange(e,this.visibleItems.filter(t=>t.isCluster),n);return[...i,...o]},s=t=>{let e={};for(const i in this.subgroups){const n=this.visibleItems.filter(t=>t.data.subgroup===i);e[i]=t?n.sort((e,i)=>t(e.data,i.data)):n}return e};if("function"===typeof this.itemSet.options.order){const t=this;if(this.doInnerStack&&this.itemSet.options.stackSubgroups){const t=s(this.itemSet.options.order);St(t,i,this.subgroups),this.visibleItems=o(),this._updateSubGroupHeights(i)}else{this.visibleItems=o(),this._updateSubGroupHeights(i);const e=this.visibleItems.slice().filter(t=>t.isCluster||!t.isCluster&&!t.cluster).sort((e,i)=>t.itemSet.options.order(e.data,i.data));this.shouldBailStackItems=Dt(e,i,!0,this._shouldBailItemsRedraw.bind(this))}}else if(this.visibleItems=o(),this._updateSubGroupHeights(i),this.itemSet.options.stack)if(this.doInnerStack&&this.itemSet.options.stackSubgroups){const t=s();St(t,i,this.subgroups)}else this.shouldBailStackItems=Dt(this.visibleItems,i,!0,this._shouldBailItemsRedraw.bind(this));else Lt(this.visibleItems,i,this.subgroups,this.itemSet.options.stackSubgroups);for(let i=0;i{t.cluster&&t.displayed&&t.hide()}),this.shouldBailStackItems&&this.itemSet.body.emitter.emit("destroyTimeline"),this.stackDirty=!1}}_didResize(t,e){t=m.updateProperty(this,"height",e)||t;const i=this.dom.inner.clientWidth,n=this.dom.inner.clientHeight;return t=m.updateProperty(this.props.label,"width",i)||t,t=m.updateProperty(this.props.label,"height",n)||t,t}_applyGroupHeight(t){this.dom.background.style.height=t+"px",this.dom.foreground.style.height=t+"px",this.dom.label.style.height=t+"px"}_updateItemsVerticalPosition(t){for(let e=0,i=this.visibleItems.length;e{i=this._didMarkerHeightChange.call(this)||i},this._updateSubGroupHeights.bind(this,e),this._calculateGroupSizeAndPosition.bind(this),()=>{this.isVisible=this._isGroupVisible.bind(this)(t,e)},()=>{this._redrawItems.bind(this)(i,s,e,t)},this._updateSubgroupsSizes.bind(this),()=>{r=this._calculateHeight.bind(this)(e)},this._calculateGroupSizeAndPosition.bind(this),()=>{o=this._didResize.bind(this)(o,r)},()=>{this._applyGroupHeight.bind(this)(r)},()=>{this._updateItemsVerticalPosition.bind(this)(e)},(()=>(!this.isVisible&&this.height&&(o=!1),o)).bind(this)];if(n)return a;{let t;return a.forEach(e=>{t=e()}),t}}_updateSubGroupHeights(t){if(Object.keys(this.subgroups).length>0){const e=this;this._resetSubgroups(),m.forEach(this.visibleItems,i=>{void 0!==i.data.subgroup&&(e.subgroups[i.data.subgroup].height=Math.max(e.subgroups[i.data.subgroup].height,i.height+t.item.vertical),e.subgroups[i.data.subgroup].visible="undefined"===typeof this.subgroupVisibility[i.data.subgroup]||Boolean(this.subgroupVisibility[i.data.subgroup]))})}}_isGroupVisible(t,e){return this.top<=t.body.domProps.centerContainer.height-t.body.domProps.scrollTop+e.axis&&this.top+this.height+e.axis>=-t.body.domProps.scrollTop}_calculateHeight(t){let e,i;if(i="fixed"===this.heightMode?m.toArray(this.items):this.visibleItems,i.length>0){let n=i[0].top,o=i[0].top+i[0].height;if(m.forEach(i,t=>{n=Math.min(n,t.top),o=Math.max(o,t.top+t.height)}),n>t.axis){const e=n-t.axis;o-=e,m.forEach(i,t=>{t.top-=e})}e=Math.ceil(o+t.item.vertical/2),"fitItems"!==this.heightMode&&(e=Math.max(e,this.props.label.height))}else e=this.props.label.height;return e}show(){this.dom.label.parentNode||this.itemSet.dom.labelSet.appendChild(this.dom.label),this.dom.foreground.parentNode||this.itemSet.dom.foreground.appendChild(this.dom.foreground),this.dom.background.parentNode||this.itemSet.dom.background.appendChild(this.dom.background),this.dom.axis.parentNode||this.itemSet.dom.axis.appendChild(this.dom.axis)}hide(){const t=this.dom.label;t.parentNode&&t.parentNode.removeChild(t);const e=this.dom.foreground;e.parentNode&&e.parentNode.removeChild(e);const i=this.dom.background;i.parentNode&&i.parentNode.removeChild(i);const n=this.dom.axis;n.parentNode&&n.parentNode.removeChild(n)}add(t){if(this.items[t.id]=t,t.setParent(this),this.stackDirty=!0,void 0!==t.data.subgroup&&(this._addToSubgroup(t),this.orderSubgroups()),!this.visibleItems.includes(t)){const e=this.itemSet.body.range;this._checkIfVisible(t,this.visibleItems,e)}}_addToSubgroup(t,e=t.data.subgroup){void 0!=e&&void 0===this.subgroups[e]&&(this.subgroups[e]={height:0,top:0,start:t.data.start,end:t.data.end||t.data.start,visible:!1,index:this.subgroupIndex,items:[],stack:this.subgroupStackAll||this.subgroupStack[e]||!1},this.subgroupIndex++),new Date(t.data.start)new Date(this.subgroups[e].end)&&(this.subgroups[e].end=i),this.subgroups[e].items.push(t)}_updateSubgroupsSizes(){const t=this;if(t.subgroups)for(const e in t.subgroups){const i=t.subgroups[e].items[0].data.end||t.subgroups[e].items[0].data.start;let n=t.subgroups[e].items[0].data.start,o=i-1;t.subgroups[e].items.forEach(t=>{new Date(t.data.start)new Date(o)&&(o=e)}),t.subgroups[e].start=n,t.subgroups[e].end=new Date(o-1)}}orderSubgroups(){if(void 0!==this.subgroupOrderer){const t=[];if("string"==typeof this.subgroupOrderer){for(const e in this.subgroups)t.push({subgroup:e,sortField:this.subgroups[e].items[0].data[this.subgroupOrderer]});t.sort((t,e)=>t.sortField-e.sortField)}else if("function"==typeof this.subgroupOrderer){for(const e in this.subgroups)t.push(this.subgroups[e].items[0].data);t.sort(this.subgroupOrderer)}if(t.length>0)for(let e=0;e=0&&(i.items.splice(n,1),i.items.length?this._updateSubgroupsSizes():delete this.subgroups[e])}}}removeFromDataSet(t){this.itemSet.removeItem(t.id)}order(){const t=m.toArray(this.items),e=[],i=[];for(let n=0;nt{const{start:e,end:i}=t;return i0)for(let C=0;Ct.data.startg),1==this.checkRangedItems){this.checkRangedItems=!1;for(let e=0;et.data.endg)}const h={};let u=0;for(let C=0;C0;if(A)for(let C=0;C{t[C]()});for(let C=0;C=0;s--){let t=e[s];if(o(t))break;t.isCluster&&!t.hasItems()||t.cluster||void 0===n[t.id]&&(n[t.id]=!0,i.push(t))}for(let s=t+1;s0)for(let d=0;d0;if(a)for(var g=0;g{this.options.locales[t]=m.extend({},n,this.options.locales[t])}),this.selected=!1,this.displayed=!1,this.groupShowing=!0,this.selectable=i&&i.selectable||!1,this.dirty=!0,this.top=null,this.right=null,this.left=null,this.width=null,this.height=null,this.setSelectability(t),this.editable=null,this._updateEditStatus()}select(){this.selectable&&(this.selected=!0,this.dirty=!0,this.displayed&&this.redraw())}unselect(){this.selected=!1,this.dirty=!0,this.displayed&&this.redraw()}setData(t){const e=void 0!=t.group&&this.data.group!=t.group;e&&null!=this.parent&&this.parent.itemSet._moveToGroup(this,t.group),this.setSelectability(t),this.parent&&(this.parent.stackDirty=!0);const i=void 0!=t.subgroup&&this.data.subgroup!=t.subgroup;i&&null!=this.parent&&this.parent.changeSubgroup(this,this.data.subgroup,t.subgroup),this.data=t,this._updateEditStatus(),this.dirty=!0,this.displayed&&this.redraw()}setSelectability(t){t&&(this.selectable="undefined"===typeof t.selectable||Boolean(t.selectable))}setParent(t){this.displayed?(this.hide(),this.parent=t,this.parent&&this.show()):this.parent=t}isVisible(t){return!1}show(){return!1}hide(){return!1}redraw(){}repositionX(){}repositionY(){}_repaintDragCenter(){if(this.selected&&this.editable.updateTime&&!this.dom.dragCenter){const t=this,e=document.createElement("div");e.className="vis-drag-center",e.dragCenterItem=this,this.hammerDragCenter=new R(e),this.hammerDragCenter.on("tap",e=>{t.parent.itemSet.body.emitter.emit("click",{event:e,item:t.id})}),this.hammerDragCenter.on("doubletap",e=>{e.stopPropagation(),t.parent.itemSet._onUpdateItem(t),t.parent.itemSet.body.emitter.emit("doubleClick",{event:e,item:t.id})}),this.hammerDragCenter.on("panstart",e=>{e.stopPropagation(),t.parent.itemSet._onDragStart(e)}),this.hammerDragCenter.on("panmove",t.parent.itemSet._onDrag.bind(t.parent.itemSet)),this.hammerDragCenter.on("panend",t.parent.itemSet._onDragEnd.bind(t.parent.itemSet)),this.dom.box?this.dom.dragLeft?this.dom.box.insertBefore(e,this.dom.dragLeft):this.dom.box.appendChild(e):this.dom.point&&this.dom.point.appendChild(e),this.dom.dragCenter=e}else!this.selected&&this.dom.dragCenter&&(this.dom.dragCenter.parentNode&&this.dom.dragCenter.parentNode.removeChild(this.dom.dragCenter),this.dom.dragCenter=null,this.hammerDragCenter&&(this.hammerDragCenter.destroy(),this.hammerDragCenter=null))}_repaintDeleteButton(t){const e=(this.options.editable.overrideItems||null==this.editable)&&this.options.editable.remove||!this.options.editable.overrideItems&&null!=this.editable&&this.editable.remove;if(this.selected&&e&&!this.dom.deleteButton){const e=this,i=document.createElement("div");this.options.rtl?i.className="vis-delete-rtl":i.className="vis-delete";let n=this.options.locales[this.options.locale];n||(this.warned||(console.warn(`WARNING: options.locales['${this.options.locale}'] not found. See https://visjs.github.io/vis-timeline/docs/timeline/#Localization`),this.warned=!0),n=this.options.locales["en"]),i.title=n.deleteSelected,this.hammerDeleteButton=new R(i).on("tap",t=>{t.stopPropagation(),e.parent.removeFromDataSet(e)}),t.appendChild(i),this.dom.deleteButton=i}else!this.selected&&this.dom.deleteButton&&(this.dom.deleteButton.parentNode&&this.dom.deleteButton.parentNode.removeChild(this.dom.deleteButton),this.dom.deleteButton=null,this.hammerDeleteButton&&(this.hammerDeleteButton.destroy(),this.hammerDeleteButton=null))}_repaintOnItemUpdateTimeTooltip(t){if(!this.options.tooltipOnItemUpdateTime)return;const e=(this.options.editable.updateTime||!0===this.data.editable)&&!1!==this.data.editable;if(this.selected&&e&&!this.dom.onItemUpdateTimeTooltip){const e=document.createElement("div");e.className="vis-onUpdateTime-tooltip",t.appendChild(e),this.dom.onItemUpdateTimeTooltip=e}else!this.selected&&this.dom.onItemUpdateTimeTooltip&&(this.dom.onItemUpdateTimeTooltip.parentNode&&this.dom.onItemUpdateTimeTooltip.parentNode.removeChild(this.dom.onItemUpdateTimeTooltip),this.dom.onItemUpdateTimeTooltip=null);if(this.dom.onItemUpdateTimeTooltip){this.dom.onItemUpdateTimeTooltip.style.visibility=this.parent.itemSet.touchParams.itemIsDragging?"visible":"hidden",this.dom.onItemUpdateTimeTooltip.style.transform="translateX(-50%)",this.dom.onItemUpdateTimeTooltip.style.left="50%";const t=50,e=this.parent.itemSet.body.domProps.scrollTop;let i;i="top"==this.options.orientation.item?this.top:this.parent.height-this.top-this.height;const n=i+this.parent.top-t<-e;let o,s;n?(this.dom.onItemUpdateTimeTooltip.style.bottom="",this.dom.onItemUpdateTimeTooltip.style.top=this.height+2+"px"):(this.dom.onItemUpdateTimeTooltip.style.top="",this.dom.onItemUpdateTimeTooltip.style.bottom=this.height+2+"px"),this.options.tooltipOnItemUpdateTime&&this.options.tooltipOnItemUpdateTime.template?(s=this.options.tooltipOnItemUpdateTime.template.bind(this),o=s(this.data)):(o="start: "+C(this.data.start).format("MM/DD/YYYY hh:mm"),this.data.end&&(o+="
      end: "+C(this.data.end).format("MM/DD/YYYY hh:mm"))),this.dom.onItemUpdateTimeTooltip.innerHTML=o}}_getItemData(){return this.parent.itemSet.itemsData.get(this.id)}_updateContents(t){let e,i,n,o,s;const r=this._getItemData(),a=this.dom.box||this.dom.point,g=a.getElementsByClassName("vis-item-visible-frame")[0];if(this.options.visibleFrameTemplate?(s=this.options.visibleFrameTemplate.bind(this),o=s(r,g)):o="",g)if(o instanceof Object&&!(o instanceof Element))s(r,g);else if(i=this._contentToString(this.itemVisibleFrameContent)!==this._contentToString(o),i){if(o instanceof Element)g.innerHTML="",g.appendChild(o);else if(void 0!=o)g.innerHTML=o;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.itemVisibleFrameContent=o}if(this.options.template?(n=this.options.template.bind(this),e=n(r,t,this.data)):e=this.data.content,e instanceof Object&&!(e instanceof Element))n(r,t);else if(i=this._contentToString(this.content)!==this._contentToString(e),i){if(e instanceof Element)t.innerHTML="",t.appendChild(e);else if(void 0!=e)t.innerHTML=e;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.content=e}}_updateDataAttributes(t){if(this.options.dataAttributes&&this.options.dataAttributes.length>0){let e=[];if(Array.isArray(this.options.dataAttributes))e=this.options.dataAttributes;else{if("all"!=this.options.dataAttributes)return;e=Object.keys(this.data)}for(const i of e){const e=this.data[i];null!=e?t.setAttribute("data-"+i,e):t.removeAttribute("data-"+i)}}}_updateStyle(t){this.style&&(m.removeCssText(t,this.style),this.style=null),this.data.style&&(m.addCssText(t,this.data.style),this.style=this.data.style)}_contentToString(t){return"string"===typeof t?t:t&&"outerHTML"in t?t.outerHTML:t}_updateEditStatus(){this.options&&("boolean"===typeof this.options.editable?this.editable={updateTime:this.options.editable,updateGroup:this.options.editable,remove:this.options.editable}:"object"===typeof this.options.editable&&(this.editable={},m.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.options.editable))),this.options&&this.options.editable&&!0===this.options.editable.overrideItems||this.data&&("boolean"===typeof this.data.editable?this.editable={updateTime:this.data.editable,updateGroup:this.data.editable,remove:this.data.editable}:"object"===typeof this.data.editable&&(this.editable={},m.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.data.editable)))}getWidthLeft(){return 0}getWidthRight(){return 0}getTitle(){if(this.options.tooltip&&this.options.tooltip.template){const t=this.options.tooltip.template.bind(this);return t(this._getItemData(),this.data)}return this.data.title}}Ht.prototype.stack=!0;class Bt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={dot:{width:0,height:0},line:{width:0,height:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t)}isVisible(t){if(this.cluster)return!1;let e;const i=this.data.align||this.options.align,n=this.width*t.getMillisecondsPerPixel();return e="right"==i?this.data.start.getTime()>t.start&&this.data.start.getTime()-nt.start&&this.data.start.getTime()t.start&&this.data.start.getTime()-n/2{this.dirty&&(e=this._getDomComponentsSizes())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}show(t){if(!this.displayed)return this.redraw(t)}hide(){if(this.displayed){const t=this.dom;t.box.remove?t.box.remove():t.box.parentNode&&t.box.parentNode.removeChild(t.box),t.line.remove?t.line.remove():t.line.parentNode&&t.line.parentNode.removeChild(t.line),t.dot.remove?t.dot.remove():t.dot.parentNode&&t.dot.parentNode.removeChild(t.dot),this.displayed=!1}}repositionXY(){const t=this.options.rtl,e=(t,e,i,n=!1)=>{if(void 0===e&&void 0===i)return;const o=n?-1*e:e;t.style.transform=void 0!==i?void 0!==e?`translate(${o}px, ${i}px)`:`translateY(${i}px)`:`translateX(${o}px)`};e(this.dom.box,this.boxX,this.boxY,t),e(this.dom.dot,this.dotX,this.dotY,t),e(this.dom.line,this.lineX,this.lineY,t)}repositionX(){const t=this.conversion.toScreen(this.data.start),e=void 0===this.data.align?this.options.align:this.data.align,i=this.props.line.width,n=this.props.dot.width;"right"==e?(this.boxX=t-this.width,this.lineX=t-i,this.dotX=t-i/2-n/2):"left"==e?(this.boxX=t,this.lineX=t,this.dotX=t+i/2-n/2):(this.boxX=t-this.width/2,this.lineX=this.options.rtl?t-i:t-i/2,this.dotX=t-n/2),this.options.rtl?this.right=this.boxX:this.left=this.boxX,this.repositionXY()}repositionY(){const t=this.options.orientation.item,e=this.dom.line.style;if("top"==t){const t=this.parent.top+this.top+1;this.boxY=this.top||0,e.height=t+"px",e.bottom="",e.top="0"}else{const t=this.parent.itemSet.props.height,i=t-this.parent.top-this.parent.height+this.top;this.boxY=this.parent.height-this.top-(this.height||0),e.height=i+"px",e.top="",e.bottom="0"}this.dotY=-this.props.dot.height/2,this.repositionXY()}getWidthLeft(){return this.width/2}getWidthRight(){return this.width/2}}class zt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={dot:{top:0,width:0,height:0},content:{height:0,marginLeft:0,marginRight:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t)}isVisible(t){if(this.cluster)return!1;const e=this.width*t.getMillisecondsPerPixel();return this.data.start.getTime()+e>t.start&&this.data.start{this.dirty&&(e=this._getDomComponentsSizes())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}repositionXY(){const t=this.options.rtl,e=(t,e,i,n=!1)=>{if(void 0===e&&void 0===i)return;const o=n?-1*e:e;t.style.transform=void 0!==i?void 0!==e?`translate(${o}px, ${i}px)`:`translateY(${i}px)`:`translateX(${o}px)`};e(this.dom.point,this.pointX,this.pointY,t)}show(t){if(!this.displayed)return this.redraw(t)}hide(){this.displayed&&(this.dom.point.parentNode&&this.dom.point.parentNode.removeChild(this.dom.point),this.displayed=!1)}repositionX(){const t=this.conversion.toScreen(this.data.start);this.pointX=t,this.options.rtl?this.right=t-this.props.dot.width:this.left=t-this.props.dot.width,this.repositionXY()}repositionY(){const t=this.options.orientation.item;this.pointY="top"==t?this.top:this.parent.height-this.top-this.height,this.repositionXY()}getWidthLeft(){return this.props.dot.width}getWidthRight(){return this.props.dot.width}}class Wt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={content:{width:0}},this.overflow=!1,t){if(void 0==t.start)throw new Error('Property "start" missing in item '+t.id);if(void 0==t.end)throw new Error('Property "end" missing in item '+t.id)}}isVisible(t){return!this.cluster&&(this.data.startt.start)}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.visibleFrame=document.createElement("div"),this.dom.visibleFrame.className="vis-item-visible-frame",this.dom.box.appendChild(this.dom.visibleFrame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dom.box["vis-item"]=this,this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.foreground;if(!t)throw new Error("Cannot redraw item: parent has no foreground container element");t.appendChild(this.dom.box)}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box);const t=this.editable.updateTime||this.editable.updateGroup,e=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+(t?" vis-editable":" vis-readonly");this.dom.box.className=this.baseClassName+e,this.dom.content.style.maxWidth="none"}}_getDomComponentsSizes(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.frame).overflow,this.whiteSpace="nowrap"!==window.getComputedStyle(this.dom.content).whiteSpace,{content:{width:this.dom.content.offsetWidth},box:{height:this.dom.box.offsetHeight}}}_updateDomComponentsSizes(t){this.props.content.width=t.content.width,this.height=t.box.height,this.dom.content.style.maxWidth="",this.dirty=!1}_repaintDomAdditionals(){this._repaintOnItemUpdateTimeTooltip(this.dom.box),this._repaintDeleteButton(this.dom.box),this._repaintDragCenter(),this._repaintDragLeft(),this._repaintDragRight()}redraw(t){let e;const i=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),()=>{this.dirty&&(e=this._getDomComponentsSizes.bind(this)())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}show(t){if(!this.displayed)return this.redraw(t)}hide(){if(this.displayed){const t=this.dom.box;t.parentNode&&t.parentNode.removeChild(t),this.displayed=!1}}repositionX(t){const e=this.parent.width;let i=this.conversion.toScreen(this.data.start),n=this.conversion.toScreen(this.data.end);const o=void 0===this.data.align?this.options.align:this.data.align;let s,r;!1===this.data.limitSize||void 0!==t&&!0!==t||(i<-e&&(i=-e),n>2*e&&(n=2*e));const a=Math.max(Math.round(1e3*(n-i))/1e3,1);switch(this.overflow?(this.options.rtl?this.right=i:this.left=i,this.width=a+this.props.content.width,r=this.props.content.width):(this.options.rtl?this.right=i:this.left=i,this.width=a,r=Math.min(n-i,this.props.content.width)),this.options.rtl?this.dom.box.style.transform=`translateX(${-1*this.right}px)`:this.dom.box.style.transform=`translateX(${this.left}px)`,this.dom.box.style.width=a+"px",this.whiteSpace&&(this.height=this.dom.box.offsetHeight),o){case"left":this.dom.content.style.transform="translateX(0)";break;case"right":if(this.options.rtl){const t=-1*Math.max(a-r,0);this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${Math.max(a-r,0)}px)`;break;case"center":if(this.options.rtl){const t=-1*Math.max((a-r)/2,0);this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${Math.max((a-r)/2,0)}px)`;break;default:if(s=this.overflow?n>0?Math.max(-i,0):-r:i<0?-i:0,this.options.rtl){const t=-1*s;this.dom.content.style.transform=`translateX(${t}px)`}else this.dom.content.style.transform=`translateX(${s}px)`}}repositionY(){const t=this.options.orientation.item,e=this.dom.box;e.style.top="top"==t?this.top+"px":this.parent.height-this.top-this.height+"px"}_repaintDragLeft(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.editable.updateTime&&!this.dom.dragLeft){const t=document.createElement("div");t.className="vis-drag-left",t.dragLeftItem=this,this.dom.box.appendChild(t),this.dom.dragLeft=t}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragLeft||(this.dom.dragLeft.parentNode&&this.dom.dragLeft.parentNode.removeChild(this.dom.dragLeft),this.dom.dragLeft=null)}_repaintDragRight(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.editable.updateTime&&!this.dom.dragRight){const t=document.createElement("div");t.className="vis-drag-right",t.dragRightItem=this,this.dom.box.appendChild(t),this.dom.dragRight=t}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragRight||(this.dom.dragRight.parentNode&&this.dom.dragRight.parentNode.removeChild(this.dom.dragRight),this.dom.dragRight=null)}}Wt.prototype.baseClassName="vis-item vis-range";class Vt extends Ht{constructor(t,e,i){if(super(t,e,i),this.props={content:{width:0}},this.overflow=!1,t){if(void 0==t.start)throw new Error('Property "start" missing in item '+t.id);if(void 0==t.end)throw new Error('Property "end" missing in item '+t.id)}}isVisible(t){return this.data.startt.start}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.background;if(!t)throw new Error("Cannot redraw item: parent has no background container element");t.appendChild(this.dom.box)}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.content),this._updateStyle(this.dom.box);const t=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"");this.dom.box.className=this.baseClassName+t}}_getDomComponentsSizes(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.content).overflow,{content:{width:this.dom.content.offsetWidth}}}_updateDomComponentsSizes(t){this.props.content.width=t.content.width,this.height=0,this.dirty=!1}_repaintDomAdditionals(){}redraw(t){let e;const i=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),()=>{this.dirty&&(e=this._getDomComponentsSizes.bind(this)())},()=>{this.dirty&&this._updateDomComponentsSizes.bind(this)(e)},this._repaintDomAdditionals.bind(this)];if(t)return i;{let t;return i.forEach(e=>{t=e()}),t}}repositionY(t){let e;const i=this.options.orientation.item;if(void 0!==this.data.subgroup){const t=this.data.subgroup;this.dom.box.style.height=this.parent.subgroups[t].height+"px",this.dom.box.style.top="top"==i?this.parent.top+this.parent.subgroups[t].top+"px":this.parent.top+this.parent.height-this.parent.subgroups[t].top-this.parent.subgroups[t].height+"px",this.dom.box.style.bottom=""}else this.parent instanceof Ft?(e=Math.max(this.parent.height,this.parent.itemSet.body.domProps.center.height,this.parent.itemSet.body.domProps.centerContainer.height),this.dom.box.style.bottom="bottom"==i?"0":"",this.dom.box.style.top="top"==i?"0":""):(e=this.parent.height,this.dom.box.style.top=this.parent.top+"px",this.dom.box.style.bottom="");this.dom.box.style.height=e+"px"}}Vt.prototype.baseClassName="vis-item vis-background",Vt.prototype.stack=!1,Vt.prototype.show=Wt.prototype.show,Vt.prototype.hide=Wt.prototype.hide,Vt.prototype.repositionX=Wt.prototype.repositionX;class Gt{constructor(t,e){this.container=t,this.overflowMethod=e||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}setPosition(t,e){this.x=parseInt(t),this.y=parseInt(e)}setText(t){t instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(t)):this.frame.innerHTML=t}show(t){if(void 0===t&&(t=!0),!0===t){var e=this.frame.clientHeight,i=this.frame.clientWidth,n=this.frame.parentNode.clientHeight,o=this.frame.parentNode.clientWidth,s=0,r=0;if("flip"==this.overflowMethod||"none"==this.overflowMethod){let t=!1,n=!0;"flip"==this.overflowMethod&&(this.y-eo-this.padding&&(t=!0)),s=t?this.x-i:this.x,r=n?this.y-e:this.y}else r=this.y-e,r+e+this.padding>n&&(r=n-e-this.padding),ro&&(s=o-i-this.padding),st.start&&this.hasItems()}getData(){return{isCluster:!0,id:this.id,items:this.data.items||[],data:this.data}}redraw(t){var e,i,n=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),function(){this.dirty&&(e=this._getDomComponentsSizes())}.bind(this),function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(e)}.bind(this),this._repaintDomAdditionals.bind(this)];return t?n:(n.forEach((function(t){i=t()})),i)}show(){this.displayed||this.redraw()}hide(){if(this.displayed){var t=this.dom;t.box.parentNode&&t.box.parentNode.removeChild(t.box),this.options.showStipes&&(t.line.parentNode&&t.line.parentNode.removeChild(t.line),t.dot.parentNode&&t.dot.parentNode.removeChild(t.dot)),this.displayed=!1}}repositionX(){let t=this.conversion.toScreen(this.data.start),e=this.data.end?this.conversion.toScreen(this.data.end):0;if(e)this.repositionXWithRanges(t,e);else{let e=void 0===this.data.align?this.options.align:this.data.align;this.repositionXWithoutRanges(t,e)}this.options.showStipes&&(this.dom.line.style.display=this._isStipeVisible()?"block":"none",this.dom.dot.style.display=this._isStipeVisible()?"block":"none",this._isStipeVisible()&&this.repositionStype(t,e))}repositionStype(t,e){this.dom.line.style.display="block",this.dom.dot.style.display="block";const i=this.dom.line.offsetWidth,n=this.dom.dot.offsetWidth;if(e){const o=i+t+(e-t)/2,s=o-n/2,r=this.options.rtl?-1*o:o,a=this.options.rtl?-1*s:s;this.dom.line.style.transform=`translateX(${r}px)`,this.dom.dot.style.transform=`translateX(${a}px)`}else{const e=this.options.rtl?-1*t:t,i=this.options.rtl?-1*(t-n/2):t-n/2;this.dom.line.style.transform=`translateX(${e}px)`,this.dom.dot.style.transform=`translateX(${i}px)`}}repositionXWithoutRanges(t,e){"right"==e?this.options.rtl?(this.right=t-this.width,this.dom.box.style.right=this.right+"px"):(this.left=t-this.width,this.dom.box.style.left=this.left+"px"):"left"==e?this.options.rtl?(this.right=t,this.dom.box.style.right=this.right+"px"):(this.left=t,this.dom.box.style.left=this.left+"px"):this.options.rtl?(this.right=t-this.width/2,this.dom.box.style.right=this.right+"px"):(this.left=t-this.width/2,this.dom.box.style.left=this.left+"px")}repositionXWithRanges(t,e){let i=Math.round(Math.max(e-t+.5,1));this.options.rtl?this.right=t:this.left=t,this.width=Math.max(i,this.minWidth||0),this.options.rtl?this.dom.box.style.right=this.right+"px":this.dom.box.style.left=this.left+"px",this.dom.box.style.width=i+"px"}repositionY(){var t=this.options.orientation.item,e=this.dom.box;if(e.style.top="top"==t?(this.top||0)+"px":(this.parent.height-this.top-this.height||0)+"px",this.options.showStipes){if("top"==t)this.dom.line.style.top="0",this.dom.line.style.height=this.parent.top+this.top+1+"px",this.dom.line.style.bottom="";else{var i=this.parent.itemSet.props.height,n=i-this.parent.top-this.parent.height+this.top;this.dom.line.style.top=i-n+"px",this.dom.line.style.bottom="0"}this.dom.dot.style.top=-this.dom.dot.offsetHeight/2+"px"}}getWidthLeft(){return this.width/2}getWidthRight(){return this.width/2}move(){this.repositionX(),this.repositionY()}attach(){for(let t of this.data.uiItems)t.cluster=this;this.data.items=this.data.uiItems.map(t=>t.data),this.attached=!0,this.dirty=!0}detach(t=!1){if(this.hasItems()){for(let t of this.data.uiItems)delete t.cluster;this.attached=!1,t&&this.group&&(this.group.remove(this),this.group=null),this.data.items=[],this.dirty=!0}}_onDoubleClick(){this._fit()}_setupRange(){const t=this.data.uiItems.map(t=>({start:t.data.start.valueOf(),end:t.data.end?t.data.end.valueOf():t.data.start.valueOf()}));this.data.min=Math.min(...t.map(t=>Math.min(t.start,t.end||t.start))),this.data.max=Math.max(...t.map(t=>Math.max(t.start,t.end||t.start)));const e=this.data.uiItems.map(t=>t.center),i=e.reduce((t,e)=>t+e,0)/this.data.uiItems.length;this.data.uiItems.some(t=>t.data.end)?(this.data.start=new Date(this.data.min),this.data.end=new Date(this.data.max)):(this.data.start=new Date(i),this.data.end=null)}_getUiItems(){return this.data.uiItems&&this.data.uiItems.length?this.data.uiItems.filter(t=>t.cluster===this):[]}_createDomElement(){this.dom||(this.dom={},this.dom.box=document.createElement("DIV"),this.dom.content=document.createElement("DIV"),this.dom.content.className="vis-item-content",this.dom.box.appendChild(this.dom.content),this.options.showStipes&&(this.dom.line=document.createElement("DIV"),this.dom.line.className="vis-cluster-line",this.dom.line.style.display="none",this.dom.dot=document.createElement("DIV"),this.dom.dot.className="vis-cluster-dot",this.dom.dot.style.display="none"),this.options.fitOnDoubleClick&&(this.dom.box.ondblclick=Zt.prototype._onDoubleClick.bind(this)),this.dom.box["vis-item"]=this,this.dirty=!0)}_appendDomElement(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){const t=this.parent.dom.foreground;if(!t)throw new Error("Cannot redraw item: parent has no foreground container element");t.appendChild(this.dom.box)}const t=this.parent.dom.background;if(this.options.showStipes){if(!this.dom.line.parentNode){if(!t)throw new Error("Cannot redraw item: parent has no background container element");t.appendChild(this.dom.line)}if(!this.dom.dot.parentNode){var e=this.parent.dom.axis;if(!t)throw new Error("Cannot redraw item: parent has no axis container element");e.appendChild(this.dom.dot)}}this.displayed=!0}_updateDirtyDomComponents(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box);const t=this.baseClassName+" "+(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+" vis-readonly";this.dom.box.className="vis-item "+t,this.options.showStipes&&(this.dom.line.className="vis-item vis-cluster-line "+(this.selected?" vis-selected":""),this.dom.dot.className="vis-item vis-cluster-dot "+(this.selected?" vis-selected":"")),this.data.end&&(this.dom.content.style.maxWidth="none")}}_getDomComponentsSizes(){const t={previous:{right:this.dom.box.style.right,left:this.dom.box.style.left},box:{width:this.dom.box.offsetWidth,height:this.dom.box.offsetHeight}};return this.options.showStipes&&(t.dot={height:this.dom.dot.offsetHeight,width:this.dom.dot.offsetWidth},t.line={width:this.dom.line.offsetWidth}),t}_updateDomComponentsSizes(t){this.options.rtl?this.dom.box.style.right="0px":this.dom.box.style.left="0px",this.data.end?this.minWidth=t.box.width:this.width=t.box.width,this.height=t.box.height,this.options.rtl?this.dom.box.style.right=t.previous.right:this.dom.box.style.left=t.previous.left,this.dirty=!1}_repaintDomAdditionals(){this._repaintOnItemUpdateTimeTooltip(this.dom.box)}_isStipeVisible(){return this.minWidth>=this.width||!this.data.end}_getFitRange(){const t=.05*(this.data.max-this.data.min)/2;return{fitStart:this.data.min-t,fitEnd:this.data.max+t}}_fit(){if(this.emitter){const{fitStart:t,fitEnd:e}=this._getFitRange(),i={start:new Date(t),end:new Date(e),animation:!0};this.emitter.emit("fit",i)}}_getItemData(){return this.data}}Zt.prototype.baseClassName="vis-item vis-range vis-cluster";const Ut="__ungrouped__",Kt="__background__",Xt={UNGROUPED:Ut,BACKGROUND:Kt};class Jt{constructor(t){this.itemSet=t,this.groups={},this.cache={},this.cache[-1]=[]}createClusterItem(t,e,i){const n=new Zt(t,e,i);return n}setItems(t,e){this.items=t||[],this.dataChanged=!0,this.applyOnChangedLevel=!1,e&&e.applyOnChangedLevel&&(this.applyOnChangedLevel=e.applyOnChangedLevel)}updateData(){this.dataChanged=!0,this.applyOnChangedLevel=!1}getClusters(t,e,i){let{maxItems:n,clusterCriteria:o}="boolean"===typeof i?{}:i;o||(o=()=>!0),n=n||1;let s=-1,r=2,a=0;if(e>0){if(e>=1)return[];s=Math.abs(Math.round(Math.log(100/e)/Math.log(r))),a=Math.abs(Math.pow(r,s))}if(this.dataChanged){const t=s!=this.cacheLevel,e=!this.applyOnChangedLevel||t;e&&(this._dropLevelsCache(),this._filterData())}this.cacheLevel=s;let g=this.cache[s];if(!g){g=[];for(let e in this.groups)if(this.groups.hasOwnProperty(e)){const s=this.groups[e],r=s.length;let d=0;while(d=0&&e.center-s[l].center
      =0&&e.center-g[h].centern){const a=r-n+1,l=[];let c=d;while(l.lengtht.center-e.center);this.dataChanged=!1}_getClusterForItems(t,e,i,n){const o=(i||[]).map(t=>({cluster:t,itemsIds:new Set(t.data.uiItems.map(t=>t.id))}));let s;if(o.length)for(let h of o)if(h.itemsIds.size===t.length&&t.every(t=>h.itemsIds.has(t.id))){s=h.cluster;break}if(s)return s.setUiItems(t),s.group!==e&&(s.group&&s.group.remove(s),e&&(e.add(s),s.group=e)),s;let r=n.titleTemplate||"";const a={toScreen:this.itemSet.body.util.toScreen,toTime:this.itemSet.body.util.toTime},g=r.replace(/{count}/,t.length),d='
      '+t.length+"
      ",l=Object.assign({},n,this.itemSet.options),c={content:d,title:g,group:e,uiItems:t,eventEmitter:this.itemSet.body.emitter,range:this.itemSet.body.range};return s=this.createClusterItem(c,a,l),e&&(e.add(s),s.group=e),s.attach(),s}_dropLevelsCache(){this.cache={},this.cacheLevel=-1,this.cache[this.cacheLevel]=[]}}const Qt="__ungrouped__",qt="__background__";class $t extends v{constructor(t,e){super(),this.body=t,this.defaultOptions={type:null,orientation:{item:"bottom"},align:"auto",stack:!0,stackSubgroups:!0,groupOrderSwap(t,e,i){const n=e.order;e.order=t.order,t.order=n},groupOrder:"order",selectable:!0,multiselect:!1,longSelectPressTime:251,itemsAlwaysDraggable:{item:!1,range:!1},editable:{updateTime:!1,updateGroup:!1,add:!1,remove:!1,overrideItems:!1},groupEditable:{order:!1,add:!1,remove:!1},snap:z.snap,onDropObjectOnItem(t,e,i){i(e)},onAdd(t,e){e(t)},onUpdate(t,e){e(t)},onMove(t,e){e(t)},onRemove(t,e){e(t)},onMoving(t,e){e(t)},onAddGroup(t,e){e(t)},onMoveGroup(t,e){e(t)},onRemoveGroup(t,e){e(t)},margin:{item:{horizontal:10,vertical:10},axis:20},showTooltips:!0,tooltip:{followMouse:!1,overflowMethod:"flip",delay:500},tooltipOnItemUpdateTime:!1},this.options=m.extend({},this.defaultOptions),this.options.rtl=e.rtl,this.options.onTimeout=e.onTimeout,this.conversion={toScreen:t.util.toScreen,toTime:t.util.toTime},this.dom={},this.props={},this.hammer=null;const i=this;this.itemsData=null,this.groupsData=null,this.itemsSettingTime=null,this.initialItemSetDrawn=!1,this.userContinueNotBail=null,this.sequentialSelection=!1,this.itemListeners={add(t,e,n){i._onAdd(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()},update(t,e,n){i._onUpdate(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()},remove(t,e,n){i._onRemove(e.items),i.options.cluster&&i.clusterGenerator.setItems(i.items,{applyOnChangedLevel:!1}),i.redraw()}},this.groupListeners={add(t,e,n){if(i._onAddGroups(e.items),i.groupsData&&i.groupsData.length>0){const t=i.groupsData.getDataSet();t.get().forEach(e=>{if(e.nestedGroups){0!=e.showNested&&(e.showNested=!0);let i=[];e.nestedGroups.forEach(n=>{const o=t.get(n);o&&(o.nestedInGroup=e.id,0==e.showNested&&(o.visible=!1),i=i.concat(o))}),t.update(i,n)}})}},update(t,e,n){i._onUpdateGroups(e.items)},remove(t,e,n){i._onRemoveGroups(e.items)}},this.items={},this.groups={},this.groupIds=[],this.selection=[],this.popup=null,this.popupTimer=null,this.touchParams={},this.groupTouchParams={group:null,isDragging:!1},this._create(),this.setOptions(e),this.clusters=[]}_create(){const t=document.createElement("div");t.className="vis-itemset",t["vis-itemset"]=this,this.dom.frame=t;const e=document.createElement("div");e.className="vis-background",t.appendChild(e),this.dom.background=e;const i=document.createElement("div");i.className="vis-foreground",t.appendChild(i),this.dom.foreground=i;const n=document.createElement("div");n.className="vis-axis",this.dom.axis=n;const o=document.createElement("div");o.className="vis-labelset",this.dom.labelSet=o,this._updateUngrouped();const s=new Ft(qt,null,this);s.show(),this.groups[qt]=s,this.hammer=new R(this.body.dom.centerContainer),this.hammer.on("hammer.input",t=>{t.isFirst&&this._onTouch(t)}),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:R.ALL}),this.hammer.on("tap",this._onSelectItem.bind(this)),this.hammer.on("press",this._onMultiSelectItem.bind(this)),this.hammer.on("doubletap",this._onAddItem.bind(this)),this.options.rtl?this.groupHammer=new R(this.body.dom.rightContainer):this.groupHammer=new R(this.body.dom.leftContainer),this.groupHammer.on("tap",this._onGroupClick.bind(this)),this.groupHammer.on("panstart",this._onGroupDragStart.bind(this)),this.groupHammer.on("panmove",this._onGroupDrag.bind(this)),this.groupHammer.on("panend",this._onGroupDragEnd.bind(this)),this.groupHammer.get("pan").set({threshold:5,direction:R.DIRECTION_VERTICAL}),this.body.dom.centerContainer.addEventListener("mouseover",this._onMouseOver.bind(this)),this.body.dom.centerContainer.addEventListener("mouseout",this._onMouseOut.bind(this)),this.body.dom.centerContainer.addEventListener("mousemove",this._onMouseMove.bind(this)),this.body.dom.centerContainer.addEventListener("contextmenu",this._onDragEnd.bind(this)),this.body.dom.centerContainer.addEventListener("mousewheel",this._onMouseWheel.bind(this)),this.show()}setOptions(t){if(t){const e=["type","rtl","align","order","stack","stackSubgroups","selectable","multiselect","sequentialSelection","multiselectPerGroup","longSelectPressTime","groupOrder","dataAttributes","template","groupTemplate","visibleFrameTemplate","hide","snap","groupOrderSwap","showTooltips","tooltip","tooltipOnItemUpdateTime","groupHeightMode","onTimeout"];m.selectiveExtend(e,this.options,t),"itemsAlwaysDraggable"in t&&("boolean"===typeof t.itemsAlwaysDraggable?(this.options.itemsAlwaysDraggable.item=t.itemsAlwaysDraggable,this.options.itemsAlwaysDraggable.range=!1):"object"===typeof t.itemsAlwaysDraggable&&(m.selectiveExtend(["item","range"],this.options.itemsAlwaysDraggable,t.itemsAlwaysDraggable),this.options.itemsAlwaysDraggable.item||(this.options.itemsAlwaysDraggable.range=!1))),"sequentialSelection"in t&&"boolean"===typeof t.sequentialSelection&&(this.options.sequentialSelection=t.sequentialSelection),"orientation"in t&&("string"===typeof t.orientation?this.options.orientation.item="top"===t.orientation?"top":"bottom":"object"===typeof t.orientation&&"item"in t.orientation&&(this.options.orientation.item=t.orientation.item)),"margin"in t&&("number"===typeof t.margin?(this.options.margin.axis=t.margin,this.options.margin.item.horizontal=t.margin,this.options.margin.item.vertical=t.margin):"object"===typeof t.margin&&(m.selectiveExtend(["axis"],this.options.margin,t.margin),"item"in t.margin&&("number"===typeof t.margin.item?(this.options.margin.item.horizontal=t.margin.item,this.options.margin.item.vertical=t.margin.item):"object"===typeof t.margin.item&&m.selectiveExtend(["horizontal","vertical"],this.options.margin.item,t.margin.item)))),["locale","locales"].forEach(e=>{e in t&&(this.options[e]=t[e])}),"editable"in t&&("boolean"===typeof t.editable?(this.options.editable.updateTime=t.editable,this.options.editable.updateGroup=t.editable,this.options.editable.add=t.editable,this.options.editable.remove=t.editable,this.options.editable.overrideItems=!1):"object"===typeof t.editable&&m.selectiveExtend(["updateTime","updateGroup","add","remove","overrideItems"],this.options.editable,t.editable)),"groupEditable"in t&&("boolean"===typeof t.groupEditable?(this.options.groupEditable.order=t.groupEditable,this.options.groupEditable.add=t.groupEditable,this.options.groupEditable.remove=t.groupEditable):"object"===typeof t.groupEditable&&m.selectiveExtend(["order","add","remove"],this.options.groupEditable,t.groupEditable));const i=e=>{const i=t[e];if(i){if("function"!==typeof i)throw new Error(`option ${e} must be a function ${e}(item, callback)`);this.options[e]=i}};["onDropObjectOnItem","onAdd","onUpdate","onRemove","onMove","onMoving","onAddGroup","onMoveGroup","onRemoveGroup"].forEach(i),t.cluster?(Object.assign(this.options,{cluster:t.cluster}),this.clusterGenerator||(this.clusterGenerator=new Jt(this)),this.clusterGenerator.setItems(this.items,{applyOnChangedLevel:!1}),this.markDirty({refreshItems:!0,restackGroups:!0}),this.redraw()):this.clusterGenerator?(this._detachAllClusters(),this.clusters=[],this.clusterGenerator=null,this.options.cluster=void 0,this.markDirty({refreshItems:!0,restackGroups:!0}),this.redraw()):this.markDirty()}}markDirty(t){this.groupIds=[],t&&(t.refreshItems&&m.forEach(this.items,t=>{t.dirty=!0,t.displayed&&t.redraw()}),t.restackGroups&&m.forEach(this.groups,(t,e)=>{e!==qt&&(t.stackDirty=!0)}))}destroy(){this.clearPopupTimer(),this.hide(),this.setItems(null),this.setGroups(null),this.hammer&&this.hammer.destroy(),this.groupHammer&&this.groupHammer.destroy(),this.hammer=null,this.body=null,this.conversion=null}hide(){this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom.axis.parentNode&&this.dom.axis.parentNode.removeChild(this.dom.axis),this.dom.labelSet.parentNode&&this.dom.labelSet.parentNode.removeChild(this.dom.labelSet)}show(){this.dom.frame.parentNode||this.body.dom.center.appendChild(this.dom.frame),this.dom.axis.parentNode||this.body.dom.backgroundVertical.appendChild(this.dom.axis),this.dom.labelSet.parentNode||(this.options.rtl?this.body.dom.right.appendChild(this.dom.labelSet):this.body.dom.left.appendChild(this.dom.labelSet))}setPopupTimer(t){if(this.clearPopupTimer(),t){const e=this.options.tooltip.delay||"number"===typeof this.options.tooltip.delay?this.options.tooltip.delay:500;this.popupTimer=setTimeout((function(){t.show()}),e)}}clearPopupTimer(){null!=this.popupTimer&&(clearTimeout(this.popupTimer),this.popupTimer=null)}setSelection(t){void 0==t&&(t=[]),Array.isArray(t)||(t=[t]);const e=this.selection.filter(e=>-1===t.indexOf(e));for(let i of e){const t=this.getItemById(i);t&&t.unselect()}this.selection=[...t];for(let i of t){const t=this.getItemById(i);t&&t.select()}}getSelection(){return this.selection.concat([])}getVisibleItems(){const t=this.body.range.getRange();let e,i;this.options.rtl?(e=this.body.util.toScreen(t.start),i=this.body.util.toScreen(t.end)):(i=this.body.util.toScreen(t.start),e=this.body.util.toScreen(t.end));const n=[];for(const o in this.groups)if(this.groups.hasOwnProperty(o)){const t=this.groups[o],s=t.isVisible?t.visibleItems:[];for(const o of s)this.options.rtl?o.righte&&n.push(o.id):o.lefti&&n.push(o.id)}return n}getVisibleGroups(){const t=[];for(const e in this.groups)if(this.groups.hasOwnProperty(e)){const i=this.groups[e];i.isVisible&&t.push(e)}return t}getItemById(t){return this.items[t]||this.clusters.find(e=>e.id===t)}_deselect(t){const e=this.selection;for(let i=0,n=e.length;i{if(i===qt)return;const n=t==u?A:C,o=!0;f[i]=t.redraw(e,n,h,o),v=f[i].length});const b=v>0;if(b){const t={};for(let e=0;e{t[n]=i[e]()});m.forEach(this.groups,(e,i)=>{if(i===qt)return;const n=t[i];s=n||s,I+=e.height}),I=Math.max(I,p)}return I=Math.max(I,p),r.style.height=i(I),this.props.width=r.offsetWidth,this.props.height=I,this.dom.axis.style.top=i("top"==o?this.body.domProps.top.height+this.body.domProps.border.top:this.body.domProps.top.height+this.body.domProps.centerContainer.height),this.options.rtl?this.dom.axis.style.right="0":this.dom.axis.style.left="0",this.hammer.get("press").set({time:this.options.longSelectPressTime}),this.initialItemSetDrawn=!0,s=this._isResized()||s,s}_firstGroup(){const t="top"==this.options.orientation.item?0:this.groupIds.length-1,e=this.groupIds[t],i=this.groups[e]||this.groups[Qt];return i||null}_updateUngrouped(){let t,e,i=this.groups[Qt];if(this.groupsData){if(i)for(e in i.dispose(),delete this.groups[Qt],this.items)if(this.items.hasOwnProperty(e)){t=this.items[e],t.parent&&t.parent.remove(t);const i=this.getGroupId(t.data),n=this.groups[i];n&&n.add(t)||t.hide()}}else if(!i){const n=null,o=null;for(e in i=new Rt(n,o,this),this.groups[Qt]=i,this.items)this.items.hasOwnProperty(e)&&(t=this.items[e],i.add(t));i.show()}}getLabelSet(){return this.dom.labelSet}setItems(t){this.itemsSettingTime=new Date;const e=this;let i;const n=this.itemsData;if(t){if(!(t instanceof r["a"]||t instanceof r["b"]))throw new TypeError("Data must be an instance of DataSet or DataView");this.itemsData=f(t)}else this.itemsData=null;if(n&&(m.forEach(this.itemListeners,(t,e)=>{n.off(e,t)}),n.dispose(),i=n.getIds(),this._onRemove(i)),this.itemsData){const t=this.id;m.forEach(this.itemListeners,(i,n)=>{e.itemsData.on(n,i,t)}),i=this.itemsData.getIds(),this._onAdd(i),this._updateUngrouped()}this.body.emitter.emit("_change",{queue:!0})}getItems(){return null!=this.itemsData?this.itemsData.rawDS:null}setGroups(t){const e=this;let i;if(this.groupsData&&(m.forEach(this.groupListeners,(t,i)=>{e.groupsData.off(i,t)}),i=this.groupsData.getIds(),this.groupsData=null,this._onRemoveGroups(i)),t){if(!(t instanceof r["a"]||t instanceof r["b"]))throw new TypeError("Data must be an instance of DataSet or DataView");this.groupsData=t}else this.groupsData=null;if(this.groupsData){let t=this.groupsData;this.groupsData instanceof r["b"]&&(t=this.groupsData.getDataSet()),t.get().forEach(e=>{e.nestedGroups&&e.nestedGroups.forEach(i=>{const n=t.get(i);n.nestedInGroup=e.id,0==e.showNested&&(n.visible=!1),t.update(n)})});const n=this.id;m.forEach(this.groupListeners,(t,i)=>{e.groupsData.on(i,t,n)}),i=this.groupsData.getIds(),this._onAddGroups(i)}this._updateUngrouped(),this._order(),this.options.cluster&&(this.clusterGenerator.updateData(),this._clusterItems(),this.markDirty({refreshItems:!0,restackGroups:!0})),this.body.emitter.emit("_change",{queue:!0})}getGroups(){return this.groupsData}removeItem(t){const e=this.itemsData.get(t);e&&this.options.onRemove(e,e=>{e&&this.itemsData.remove(t)})}_getType(t){return t.type||this.options.type||(t.end?"range":"box")}getGroupId(t){const e=this._getType(t);return"background"==e&&void 0==t.group?qt:this.groupsData?t.group:Qt}_onUpdate(t){const e=this;t.forEach(t=>{const i=e.itemsData.get(t);let n=e.items[t];const o=i?e._getType(i):null,s=$t.types[o];let r;if(n&&(s&&n instanceof s?e._updateItem(n,i):(r=n.selected,e._removeItem(n),n=null)),!n&&i){if(!s)throw new TypeError(`Unknown item type "${o}"`);n=new s(i,e.conversion,e.options),n.id=t,e._addItem(n),r&&(this.selection.push(t),n.select())}}),this._order(),this.options.cluster&&(this.clusterGenerator.setItems(this.items,{applyOnChangedLevel:!1}),this._clusterItems()),this.body.emitter.emit("_change",{queue:!0})}_onRemove(t){let e=0;const i=this;t.forEach(t=>{const n=i.items[t];n&&(e++,i._removeItem(n))}),e&&(this._order(),this.body.emitter.emit("_change",{queue:!0}))}_order(){m.forEach(this.groups,t=>{t.order()})}_onUpdateGroups(t){this._onAddGroups(t)}_onAddGroups(t){const e=this;t.forEach(t=>{const i=e.groupsData.get(t);let n=e.groups[t];if(n)n.setData(i);else{if(t==Qt||t==qt)throw new Error(`Illegal group id. ${t} is a reserved id.`);const o=Object.create(e.options);m.extend(o,{height:null}),n=new Rt(t,i,e),e.groups[t]=n;for(const i in e.items)if(e.items.hasOwnProperty(i)){const o=e.items[i];o.data.group==t&&n.add(o)}n.order(),n.show()}}),this.body.emitter.emit("_change",{queue:!0})}_onRemoveGroups(t){t.forEach(t=>{const e=this.groups[t];e&&(e.dispose(),delete this.groups[t])}),this.options.cluster&&(this.clusterGenerator.updateData(),this._clusterItems()),this.markDirty({restackGroups:!!this.options.cluster}),this.body.emitter.emit("_change",{queue:!0})}_orderGroups(){if(this.groupsData){let t=this.groupsData.getIds({order:this.options.groupOrder});t=this._orderNestedGroups(t);const e=!m.equalArray(t,this.groupIds);if(e){const e=this.groups;t.forEach(t=>{e[t].hide()}),t.forEach(t=>{e[t].show()}),this.groupIds=t}return e}return!1}_orderNestedGroups(t){function e(t,i){let n=[];return i.forEach(i=>{n.push(i);const o=t.groupsData.get(i);if(o.nestedGroups){const o=t.groupsData.get({filter(t){return t.nestedInGroup==i},order:t.options.groupOrder}).map(t=>t.id);n=n.concat(e(t,o))}}),n}const i=t.filter(t=>!this.groupsData.get(t).nestedInGroup);return e(this,i)}_addItem(t){this.items[t.id]=t;const e=this.getGroupId(t.data),i=this.groups[e];i?i&&i.data&&i.data.showNested&&(t.groupShowing=!0):t.groupShowing=!1,i&&i.add(t)}_updateItem(t,e){t.setData(e);const i=this.getGroupId(t.data),n=this.groups[i];n?n&&n.data&&n.data.showNested&&(t.groupShowing=!0):t.groupShowing=!1}_removeItem(t){t.hide(),delete this.items[t.id];const e=this.selection.indexOf(t.id);-1!=e&&this.selection.splice(e,1),t.parent&&t.parent.remove(t),null!=this.popup&&this.popup.hide()}_constructByEndArray(t){const e=[];for(let i=0;i{const o=i.items[e],s=i._getGroupIndex(o.data.group);return{item:o,initialX:t.center.x,groupOffset:n-s,data:this._cloneItemData(o.data)}})}t.stopPropagation()}else this.options.editable.add&&(t.srcEvent.ctrlKey||t.srcEvent.metaKey)&&this._onDragStartAddItem(t)}_onDragStartAddItem(t){const e=this.options.snap||null,i=this.dom.frame.getBoundingClientRect(),n=this.options.rtl?i.right-t.center.x+10:t.center.x-i.left-10,o=this.body.util.toTime(n),s=this.body.util.getScale(),r=this.body.util.getStep(),a=e?e(o,s,r):o,g=a,d={type:"range",start:a,end:g,content:"new item"},l=Object(A["v4"])();d[this.itemsData.idProp]=l;const c=this.groupFromTarget(t);c&&(d.group=c.groupId);const h=new Wt(d,this.conversion,this.options);h.id=l,h.data=this._cloneItemData(d),this._addItem(h),this.touchParams.selectedItem=h;const u={item:h,initialX:t.center.x,data:h.data};this.options.rtl?u.dragLeft=!0:u.dragRight=!0,this.touchParams.itemProps=[u],t.stopPropagation()}_onDrag(t){if(null!=this.popup&&this.options.showTooltips&&!this.popup.hidden){const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.center.x-i.left+e.offsetLeft,t.center.y-i.top+e.offsetTop),this.popup.show()}if(this.touchParams.itemProps){t.stopPropagation();const e=this,i=this.options.snap||null,n=this.body.dom.root.offsetLeft,o=this.options.rtl?n+this.body.domProps.right.width:n+this.body.domProps.left.width,s=this.body.util.getScale(),r=this.body.util.getStep(),a=this.touchParams.selectedItem,g=(this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateGroup||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateGroup;let d=null;if(g&&a&&void 0!=a.data.group){const i=e.groupFromTarget(t);i&&(d=this._getGroupIndex(i.groupId))}this.touchParams.itemProps.forEach(n=>{const l=e.body.util.toTime(t.center.x-o),c=e.body.util.toTime(n.initialX-o);let h,u,A,C,I;h=this.options.rtl?-(l-c):l-c;let p=this._cloneItemData(n.item.data);if(null!=n.item.editable&&!n.item.editable.updateTime&&!n.item.editable.updateGroup&&!e.options.editable.overrideItems)return;const f=(this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateTime||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateTime;if(f)if(n.dragLeft)this.options.rtl?void 0!=p.end&&(A=m.convert(n.data.end,"Date"),I=new Date(A.valueOf()+h),p.end=i?i(I,s,r):I):void 0!=p.start&&(u=m.convert(n.data.start,"Date"),C=new Date(u.valueOf()+h),p.start=i?i(C,s,r):C);else if(n.dragRight)this.options.rtl?void 0!=p.start&&(u=m.convert(n.data.start,"Date"),C=new Date(u.valueOf()+h),p.start=i?i(C,s,r):C):void 0!=p.end&&(A=m.convert(n.data.end,"Date"),I=new Date(A.valueOf()+h),p.end=i?i(I,s,r):I);else if(void 0!=p.start)if(u=m.convert(n.data.start,"Date").valueOf(),C=new Date(u+h),void 0!=p.end){A=m.convert(n.data.end,"Date");const t=A.valueOf()-u.valueOf();p.start=i?i(C,s,r):C,p.end=new Date(p.start.valueOf()+t)}else p.start=i?i(C,s,r):C;if(g&&!n.dragLeft&&!n.dragRight&&null!=d&&void 0!=p.group){let t=d-n.groupOffset;t=Math.max(0,t),t=Math.min(e.groupIds.length-1,t),p.group=e.groupIds[t]}p=this._cloneItemData(p),e.options.onMoving(p,t=>{t&&n.item.setData(this._cloneItemData(t,"Date"))})}),this.body.emitter.emit("_change")}}_moveToGroup(t,e){const i=this.groups[e];if(i&&i.groupId!=t.data.group){const e=t.parent;e.remove(t),e.order(),t.data.group=i.groupId,i.add(t),i.order()}}_onDragEnd(t){if(this.touchParams.itemIsDragging=!1,this.touchParams.itemProps){t.stopPropagation();const e=this,i=this.touchParams.itemProps;this.touchParams.itemProps=null,i.forEach(t=>{const i=t.item.id,n=null!=e.itemsData.get(i);if(n){const n=this._cloneItemData(t.item.data);e.options.onMove(n,n=>{n?(n[this.itemsData.idProp]=i,this.itemsData.update(n)):(t.item.setData(t.data),e.body.emitter.emit("_change"))})}else e.options.onAdd(t.item.data,i=>{e._removeItem(t.item),i&&e.itemsData.add(i),e.body.emitter.emit("_change")})})}}_onGroupClick(t){const e=this.groupFromTarget(t);setTimeout(()=>{this.toggleGroupShowNested(e)},1)}toggleGroupShowNested(t,e){if(!t||!t.nestedGroups)return;const i=this.groupsData.getDataSet();t.showNested=void 0!=e?!!e:!t.showNested;let n=i.get(t.groupId);n.showNested=t.showNested;let o=t.nestedGroups,s=o;while(s.length>0){let t=s;s=[];for(let e=0;e0&&(o=o.concat(s))}let r=i.get(o).map((function(t){return void 0==t.visible&&(t.visible=!0),t.visible=!!n.showNested,t}));i.update(r.concat(n)),n.showNested?(m.removeClassName(t.dom.label,"collapsed"),m.addClassName(t.dom.label,"expanded")):(m.removeClassName(t.dom.label,"expanded"),m.addClassName(t.dom.label,"collapsed"))}toggleGroupDragClassName(t){t.dom.label.classList.toggle("vis-group-is-dragging"),t.dom.foreground.classList.toggle("vis-group-is-dragging")}_onGroupDragStart(t){this.groupTouchParams.isDragging||this.options.groupEditable.order&&(this.groupTouchParams.group=this.groupFromTarget(t),this.groupTouchParams.group&&(t.stopPropagation(),this.groupTouchParams.isDragging=!0,this.toggleGroupDragClassName(this.groupTouchParams.group),this.groupTouchParams.originalOrder=this.groupsData.getIds({order:this.options.groupOrder})))}_onGroupDrag(t){if(this.options.groupEditable.order&&this.groupTouchParams.group){t.stopPropagation();let e=this.groupsData;this.groupsData instanceof r["b"]&&(e=this.groupsData.getDataSet());const i=this.groupFromTarget(t);if(i&&i.height!=this.groupTouchParams.group.height){const e=i.topn)return}}if(i&&i!=this.groupTouchParams.group){const t=e.get(i.groupId),n=e.get(this.groupTouchParams.group.groupId);n&&t&&(this.options.groupOrderSwap(n,t,e),e.update(n),e.update(t));const o=e.getIds({order:this.options.groupOrder});if(!m.equalArray(o,this.groupTouchParams.originalOrder)){const t=this.groupTouchParams.originalOrder,i=this.groupTouchParams.group.groupId,n=Math.min(t.length,o.length);let s=0,r=0,a=0;while(s=n)break;if(o[s+r]==i)r=1;else if(t[s+a]==i)a=1;else{const i=o.indexOf(t[s+a]),n=e.get(o[s+r]),g=e.get(t[s+a]);this.options.groupOrderSwap(n,g,e),e.update(n),e.update(g);const d=o[s+r];o[s+r]=t[s+a],o[i]=d,s++}}}}}}_onGroupDragEnd(t){if(this.groupTouchParams.isDragging=!1,this.options.groupEditable.order&&this.groupTouchParams.group){t.stopPropagation();const e=this,i=e.groupTouchParams.group.groupId,n=e.groupsData.getDataSet(),o=m.extend({},n.get(i));e.options.onMoveGroup(o,t=>{if(t)t[n._idProp]=i,n.update(t);else{const t=n.getIds({order:e.options.groupOrder});if(!m.equalArray(t,e.groupTouchParams.originalOrder)){const i=e.groupTouchParams.originalOrder,o=Math.min(i.length,t.length);let s=0;while(s=o)break;const r=t.indexOf(i[s]),a=n.get(t[s]),g=n.get(i[s]);e.options.groupOrderSwap(a,g,n),n.update(a),n.update(g);const d=t[s];t[s]=i[s],t[r]=d,s++}}}}),e.body.emitter.emit("groupDragged",{groupId:i}),this.toggleGroupDragClassName(this.groupTouchParams.group),this.groupTouchParams.group=null}}_onSelectItem(t){if(!this.options.selectable)return;const e=t.srcEvent&&(t.srcEvent.ctrlKey||t.srcEvent.metaKey),i=t.srcEvent&&t.srcEvent.shiftKey;if(e||i)return void this._onMultiSelectItem(t);const n=this.getSelection(),o=this.itemFromTarget(t),s=o&&o.selectable?[o.id]:[];this.setSelection(s);const r=this.getSelection();(r.length>0||n.length>0)&&this.body.emitter.emit("select",{items:r,event:t})}_onMouseOver(t){const e=this.itemFromTarget(t);if(!e)return;const i=this.itemFromRelatedTarget(t);if(e===i)return;const n=e.getTitle();if(this.options.showTooltips&&n){null==this.popup&&(this.popup=new Gt(this.body.dom.root,this.options.tooltip.overflowMethod||"flip")),this.popup.setText(n);const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.clientX-i.left+e.offsetLeft,t.clientY-i.top+e.offsetTop),this.setPopupTimer(this.popup)}else this.clearPopupTimer(),null!=this.popup&&this.popup.hide();this.body.emitter.emit("itemover",{item:e.id,event:t})}_onMouseOut(t){const e=this.itemFromTarget(t);if(!e)return;const i=this.itemFromRelatedTarget(t);e!==i&&(this.clearPopupTimer(),null!=this.popup&&this.popup.hide(),this.body.emitter.emit("itemout",{item:e.id,event:t}))}_onMouseMove(t){const e=this.itemFromTarget(t);if(e&&(null!=this.popupTimer&&this.setPopupTimer(this.popup),this.options.showTooltips&&this.options.tooltip.followMouse&&this.popup&&!this.popup.hidden)){const e=this.body.dom.centerContainer,i=e.getBoundingClientRect();this.popup.setPosition(t.clientX-i.left+e.offsetLeft,t.clientY-i.top+e.offsetTop),this.popup.show()}}_onMouseWheel(t){this.touchParams.itemIsDragging&&this._onDragEnd(t)}_onUpdateItem(t){if(!this.options.selectable)return;if(!this.options.editable.updateTime&&!this.options.editable.updateGroup)return;const e=this;if(t){const i=e.itemsData.get(t.id);this.options.onUpdate(i,t=>{t&&e.itemsData.update(t)})}}_onDropObjectOnItem(t){const e=this.itemFromTarget(t),i=JSON.parse(t.dataTransfer.getData("text"));this.options.onDropObjectOnItem(i,e)}_onAddItem(t){if(!this.options.selectable)return;if(!this.options.editable.add)return;const e=this,i=this.options.snap||null,n=this.dom.frame.getBoundingClientRect(),o=this.options.rtl?n.right-t.center.x:t.center.x-n.left,s=this.body.util.toTime(o),r=this.body.util.getScale(),a=this.body.util.getStep();let g,d;"drop"==t.type?(d=JSON.parse(t.dataTransfer.getData("text")),d.content=d.content?d.content:"new item",d.start=d.start?d.start:i?i(s,r,a):s,d.type=d.type||"box",d[this.itemsData.idProp]=d.id||Object(A["v4"])(),"range"!=d.type||d.end||(g=this.body.util.toTime(o+this.props.width/5),d.end=i?i(g,r,a):g)):(d={start:i?i(s,r,a):s,content:"new item"},d[this.itemsData.idProp]=Object(A["v4"])(),"range"===this.options.type&&(g=this.body.util.toTime(o+this.props.width/5),d.end=i?i(g,r,a):g));const l=this.groupFromTarget(t);l&&(d.group=l.groupId),d=this._cloneItemData(d),this.options.onAdd(d,i=>{i&&(e.itemsData.add(i),"drop"==t.type&&e.setSelection([i.id]))})}_onMultiSelectItem(t){if(!this.options.selectable)return;const e=this.itemFromTarget(t);if(e){let i=this.options.multiselect?this.getSelection():[];const n=t.srcEvent&&t.srcEvent.shiftKey||!1;if((n||this.options.sequentialSelection)&&this.options.multiselect){const t=this.itemsData.get(e.id).group;let n=void 0;this.options.multiselectPerGroup&&i.length>0&&(n=this.itemsData.get(i[0]).group),this.options.multiselectPerGroup&&void 0!=n&&n!=t||i.push(e.id);const o=$t._getItemRange(this.itemsData.get(i));if(!this.options.multiselectPerGroup||n==t){i=[];for(const t in this.items)if(this.items.hasOwnProperty(t)){const e=this.items[t],s=e.data.start,r=void 0!==e.data.end?e.data.end:s;!(s>=o.min&&r<=o.max)||this.options.multiselectPerGroup&&n!=this.itemsData.get(e.id).group||e instanceof Vt||i.push(e.id)}}}else{const t=i.indexOf(e.id);-1==t?i.push(e.id):i.splice(t,1)}const o=i.filter(t=>this.getItemById(t).selectable);this.setSelection(o),this.body.emitter.emit("select",{items:this.getSelection(),event:t})}}static _getItemRange(t){let e=null,i=null;return t.forEach(t=>{(null==i||t.starte)&&(e=t.end):(null==e||t.start>e)&&(e=t.start)}),{min:i,max:e}}itemFromElement(t){let e=t;while(e){if(e.hasOwnProperty("vis-item"))return e["vis-item"];e=e.parentNode}return null}itemFromTarget(t){return this.itemFromElement(t.target)}itemFromRelatedTarget(t){return this.itemFromElement(t.relatedTarget)}groupFromTarget(t){const e=t.center?t.center.y:t.clientY;let i=this.groupIds;i.length<=0&&this.groupsData&&(i=this.groupsData.getIds({order:this.options.groupOrder}));for(let n=0;n=r.top&&er.top)return o}else if(0===n&&et.id)),i=this.clusters.filter(t=>!e.has(t.id));let n=!1;for(let t of i){const e=this.selection.indexOf(t.id);-1!==e&&(t.unselect(),this.selection.splice(e,1),n=!0)}if(n){const t=this.getSelection();this.body.emitter.emit("select",{items:t,event:event})}}this.clusters=t||[]}}$t.types={background:Vt,box:Bt,range:Wt,point:zt},$t.prototype._onAdd=$t.prototype._onUpdate;let te,ee=!1,ie="background: #FFeeee; color: #dd0000";class ne{constructor(){}static validate(t,e,i){ee=!1,te=e;let n=e;return void 0!==i&&(n=e[i]),ne.parse(t,n,[]),ee}static parse(t,e,i){for(let n in t)t.hasOwnProperty(n)&&ne.check(n,t,e,i)}static check(t,e,i,n){if(void 0===i[t]&&void 0===i.__any__)return void ne.getSuggestion(t,i,n);let o=t,s=!0;void 0===i[t]&&void 0!==i.__any__&&(o="__any__",s="object"===ne.getType(e[t]));let r=i[o];s&&void 0!==r.__type__&&(r=r.__type__),ne.checkFields(t,e,i,o,r,n)}static checkFields(t,e,i,n,o,s){let r=function(e){console.log("%c"+e+ne.printLocation(s,t),ie)},a=ne.getType(e[t]),g=o[a];void 0!==g?"array"===ne.getType(g)&&-1===g.indexOf(e[t])?(r('Invalid option detected in "'+t+'". Allowed values are:'+ne.print(g)+' not "'+e[t]+'". '),ee=!0):"object"===a&&"__any__"!==n&&(s=m.copyAndExtendArray(s,t),ne.parse(e[t],i[n],s)):void 0===o["any"]&&(r('Invalid type received for "'+t+'". Expected: '+ne.print(Object.keys(o))+". Received ["+a+'] "'+e[t]+'"'),ee=!0)}static getType(t){var e=typeof t;return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Array.isArray(t)?"array":t instanceof Date?"date":void 0!==t.nodeType?"dom":!0===t._isAMomentObject?"moment":"object":"number"===e?"number":"boolean"===e?"boolean":"string"===e?"string":void 0===e?"undefined":e}static getSuggestion(t,e,i){let n,o=ne.findInOptions(t,e,i,!1),s=ne.findInOptions(t,te,[],!0),r=8,a=4;n=void 0!==o.indexMatch?" in "+ne.printLocation(o.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+o.indexMatch+'"?\n\n':s.distance<=a&&o.distance>s.distance?" in "+ne.printLocation(o.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+ne.printLocation(s.path,s.closestMatch,""):o.distance<=r?'. Did you mean "'+o.closestMatch+'"?'+ne.printLocation(o.path,t):". Did you mean one of these: "+ne.print(Object.keys(e))+ne.printLocation(i,t),console.log('%cUnknown option detected: "'+t+'"'+n,ie),ee=!0}static findInOptions(t,e,i,n=!1){let o=1e9,s="",r=[],a=t.toLowerCase(),g=void 0;for(let d in e){let l;if(void 0!==e[d].__type__&&!0===n){let n=ne.findInOptions(t,e[d],m.copyAndExtendArray(i,d));o>n.distance&&(s=n.closestMatch,r=n.path,o=n.distance,g=n.indexMatch)}else-1!==d.toLowerCase().indexOf(a)&&(g=d),l=ne.levenshteinDistance(t,d),o>l&&(s=d,r=m.copyArray(i),o=l)}return{closestMatch:s,path:r,distance:o,indexMatch:g}}static printLocation(t,e,i="Problem value found at: \n"){let n="\n\n"+i+"options = {\n";for(let o=0;o{},this.closeCallback=()=>{},this._create()}insertTo(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}setUpdateCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}setCloseCallback(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}_isColorString(t){if("string"===typeof t)return Ce[t]}setColor(t,e=!0){if("none"===t)return;let i;var n=this._isColorString(t);if(void 0!==n&&(t=n),!0===m.isString(t)){if(!0===m.isValidRGB(t)){let e=t.substr(4).substr(0,t.length-5).split(",");i={r:e[0],g:e[1],b:e[2],a:1}}else if(!0===m.isValidRGBA(t)){let e=t.substr(5).substr(0,t.length-6).split(",");i={r:e[0],g:e[1],b:e[2],a:e[3]}}else if(!0===m.isValidHex(t)){let e=m.hexToRGB(t);i={r:e.r,g:e.g,b:e.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){let e=void 0!==t.a?t.a:"1.0";i={r:t.r,g:t.g,b:t.b,a:e}}if(void 0===i)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+JSON.stringify(t));this._setColor(i,e)}show(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}_hide(t=!0){!0===t&&(this.previousColor=m.extend({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",setTimeout(()=>{void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0)},0)}_save(){this.updateCallback(this.color),this.applied=!1,this._hide()}_apply(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}_loadLast(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}_setColor(t,e=!0){!0===e&&(this.initialColor=m.extend({},t)),this.color=t;let i=m.RGBToHSV(t.r,t.g,t.b),n=2*Math.PI,o=this.r*i.s,s=this.centerCoordinates.x+o*Math.sin(n*i.h),r=this.centerCoordinates.y+o*Math.cos(n*i.h);this.colorPickerSelector.style.left=s-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=r-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}_setOpacity(t){this.color.a=t/100,this._updatePicker(this.color)}_setBrightness(t){let e=m.RGBToHSV(this.color.r,this.color.g,this.color.b);e.v=t/100;let i=m.HSVToRGB(e.h,e.s,e.v);i["a"]=this.color.a,this.color=i,this._updatePicker()}_updatePicker(t=this.color){let e=m.RGBToHSV(t.r,t.g,t.b),i=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1)),i.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);let n=this.colorPickerCanvas.clientWidth,o=this.colorPickerCanvas.clientHeight;i.clearRect(0,0,n,o),i.putImageData(this.hueCircle,0,0),i.fillStyle="rgba(0,0,0,"+(1-e.v)+")",i.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),i.fill(),this.brightnessRange.value=100*e.v,this.opacityRange.value=100*t.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}_setSize(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}_create(){if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){let t=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{let t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(t)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(e){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(e){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var t=this;this.opacityRange.onchange=function(){t._setOpacity(this.value)},this.opacityRange.oninput=function(){t._setOpacity(this.value)},this.brightnessRange.onchange=function(){t._setBrightness(this.value)},this.brightnessRange.oninput=function(){t._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerHTML="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerHTML="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerHTML="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerHTML="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerHTML="cancel",this.cancelButton.onclick=this._hide.bind(this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=this._apply.bind(this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=this._save.bind(this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=this._loadLast.bind(this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}_bindHammer(){this.drag={},this.pinch={},this.hammer=new R(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),F(this.hammer,t=>{this._moveSelector(t)}),this.hammer.on("tap",t=>{this._moveSelector(t)}),this.hammer.on("panstart",t=>{this._moveSelector(t)}),this.hammer.on("panmove",t=>{this._moveSelector(t)}),this.hammer.on("panend",t=>{this._moveSelector(t)})}_generateHueCircle(){if(!1===this.generated){let t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);let e,i,n,o,s=this.colorPickerCanvas.clientWidth,r=this.colorPickerCanvas.clientHeight;t.clearRect(0,0,s,r),this.centerCoordinates={x:.5*s,y:.5*r},this.r=.49*s;let a,g=2*Math.PI/360,d=1/360,l=1/this.r;for(n=0;n<360;n++)for(o=0;o0&&this._makeItem([]),this._makeHeader(n),this._handleObject(this.configureOptions[n],[n])),e++);this._makeButton(),this._push()}_push(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var t=0;t{i.appendChild(t)}),this.domElements.push(i),this.domElements.length}return 0}_makeHeader(t){let e=document.createElement("div");e.className="vis-configuration vis-config-header",e.innerHTML=t,this._makeItem([],e)}_makeLabel(t,e,i=!1){let n=document.createElement("div");return n.className="vis-configuration vis-config-label vis-config-s"+e.length,n.innerHTML=!0===i?""+t+":":t+":",n}_makeDropdown(t,e,i){let n=document.createElement("select");n.className="vis-configuration vis-config-select";let o=0;void 0!==e&&-1!==t.indexOf(e)&&(o=t.indexOf(e));for(let a=0;as&&1!==s&&(a.max=Math.ceil(e*t),d=a.max,g="range increased"),a.value=e}else a.value=n;let l=document.createElement("input");l.className="vis-configuration vis-config-rangeinput",l.value=Number(a.value);var c=this;a.onchange=function(){l.value=this.value,c._update(Number(this.value),i)},a.oninput=function(){l.value=this.value};let h=this._makeLabel(i[i.length-1],i),u=this._makeItem(i,h,a,l);""!==g&&this.popupHistory[u]!==d&&(this.popupHistory[u]=d,this._setupPopup(g,u))}_makeButton(){if(!0===this.options.showButton){let t=document.createElement("div");t.className="vis-configuration vis-config-button",t.innerHTML="generate options",t.onclick=()=>{this._printOptions()},t.onmouseover=()=>{t.className="vis-configuration vis-config-button hover"},t.onmouseout=()=>{t.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(t)}}_setupPopup(t,e){if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter{this._removePopup()},this.popupCounter+=1,this.popupDiv={html:i,index:e}}}_removePopup(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}_showPopupIfNeeded(){if(void 0!==this.popupDiv.html){let t=this.domElements[this.popupDiv.index],e=t.getBoundingClientRect();this.popupDiv.html.style.left=e.left+"px",this.popupDiv.html.style.top=e.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=setTimeout(()=>{this.popupDiv.html.style.opacity=0},1500),this.popupDiv.deleteTimeout=setTimeout(()=>{this._removePopup()},1800)}}_makeCheckbox(t,e,i){var n=document.createElement("input");n.type="checkbox",n.className="vis-configuration vis-config-checkbox",n.checked=t,void 0!==e&&(n.checked=e,e!==t&&("object"===typeof t?e!==t.enabled&&this.changedOptions.push({path:i,value:e}):this.changedOptions.push({path:i,value:e})));let o=this;n.onchange=function(){o._update(this.checked,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeTextInput(t,e,i){var n=document.createElement("input");n.type="text",n.className="vis-configuration vis-config-text",n.value=e,e!==t&&this.changedOptions.push({path:i,value:e});let o=this;n.onchange=function(){o._update(this.value,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,n)}_makeColorField(t,e,i){let n=t[1],o=document.createElement("div");e=void 0===e?n:e,"none"!==e?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=e):o.className="vis-configuration vis-config-colorBlock none",e=void 0===e?n:e,o.onclick=()=>{this._showColorPicker(e,o,i)};let s=this._makeLabel(i[i.length-1],i);this._makeItem(i,s,o)}_showColorPicker(t,e,i){e.onclick=function(){},this.colorPicker.insertTo(e),this.colorPicker.show(),this.colorPicker.setColor(t),this.colorPicker.setUpdateCallback(t=>{let n="rgba("+t.r+","+t.g+","+t.b+","+t.a+")";e.style.backgroundColor=n,this._update(n,i)}),this.colorPicker.setCloseCallback(()=>{e.onclick=()=>{this._showColorPicker(t,e,i)}})}_handleObject(t,e=[],i=!1){let n=!1,o=this.options.filter,s=!1;for(let r in t)if(t.hasOwnProperty(r)){n=!0;let a=t[r],g=m.copyAndExtendArray(e,r);if("function"===typeof o&&(n=o(r,e),!1===n&&!(a instanceof Array)&&"string"!==typeof a&&"boolean"!==typeof a&&a instanceof Object&&(this.allowCreation=!1,n=this._handleObject(a,g,!0),this.allowCreation=!1===i)),!1!==n){s=!0;let t=this._getValue(g);if(a instanceof Array)this._handleArray(a,t,g);else if("string"===typeof a)this._makeTextInput(a,t,g);else if("boolean"===typeof a)this._makeCheckbox(a,t,g);else if(a instanceof Object){let t=!0;if(-1!==e.indexOf("physics")&&this.moduleOptions.physics.solver!==r&&(t=!1),!0===t)if(void 0!==a.enabled){let t=m.copyAndExtendArray(g,"enabled"),e=this._getValue(t);if(!0===e){let t=this._makeLabel(r,g,!0);this._makeItem(g,t),s=this._handleObject(a,g)||s}else this._makeCheckbox(a,e,g)}else{let t=this._makeLabel(r,g,!0);this._makeItem(g,t),s=this._handleObject(a,g)||s}}else console.error("dont know how to handle",a,r,g)}}return s}_handleArray(t,e,i){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,i),t[1]!==e&&this.changedOptions.push({path:i,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,i),t[0]!==e&&this.changedOptions.push({path:i,value:Number(e)}))}_update(t,e){let i=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",i),this.initialized=!0,this.parent.setOptions(i)}_constructOptions(t,e,i={}){let n=i;t="true"===t||t,t="false"!==t&&t;for(let o=0;ovar options = "+JSON.stringify(t,null,2)+""}getOptions(){let t={};for(var e=0;e{a("click",t)},this.dom.root.ondblclick=t=>{a("doubleClick",t)},this.dom.root.oncontextmenu=t=>{a("contextmenu",t)},this.dom.root.onmouseover=t=>{a("mouseOver",t)},window.PointerEvent?(this.dom.root.onpointerdown=t=>{a("mouseDown",t)},this.dom.root.onpointermove=t=>{a("mouseMove",t)},this.dom.root.onpointerup=t=>{a("mouseUp",t)}):(this.dom.root.onmousemove=t=>{a("mouseMove",t)},this.dom.root.onmousedown=t=>{a("mouseDown",t)},this.dom.root.onmouseup=t=>{a("mouseUp",t)}),this.initialFitDone=!1,this.on("changed",()=>{if(null!=o.itemsData){if(!o.initialFitDone&&!o.options.rollingMode)if(o.initialFitDone=!0,void 0!=o.options.start||void 0!=o.options.end){if(void 0==o.options.start||void 0==o.options.end)var t=o.getItemRange();const e=void 0!=o.options.start?o.options.start:t.min,i=void 0!=o.options.end?o.options.end:t.max;o.setWindow(e,i,{animation:!1})}else o.fit({animation:!1});o.initialDrawDone||!o.initialRangeChangeDone&&(o.options.start||o.options.end)&&!o.options.rollingMode||(o.initialDrawDone=!0,o.itemSet.initialDrawDone=!0,o.dom.root.style.visibility="visible",o.dom.loadingScreen.parentNode.removeChild(o.dom.loadingScreen),o.options.onInitialDrawComplete&&setTimeout(()=>o.options.onInitialDrawComplete(),0))}}),this.on("destroyTimeline",()=>{o.destroy()}),n&&this.setOptions(n),this.body.emitter.on("fit",t=>{this._onFit(t),this.redraw()}),i&&this.setGroups(i),e&&this.setItems(e),this._redraw()}_createConfigurator(){return new pe(this,this.dom.container,Ae)}redraw(){this.itemSet&&this.itemSet.markDirty({refreshItems:!0}),this._redraw()}setOptions(t){let e=ne.validate(t,ue);if(!0===e&&console.log("%cErrors have been found in the supplied options object.",ie),_t.prototype.setOptions.call(this,t),"type"in t&&t.type!==this.options.type){this.options.type=t.type;const e=this.itemsData;if(e){const t=this.getSelection();this.setItems(null),this.setItems(e.rawDS),this.setSelection(t)}}}setItems(t){let e;this.itemsDone=!1,e=t?t instanceof r["a"]||t instanceof r["b"]?f(t):f(new r["a"](t)):null,this.itemsData&&this.itemsData.dispose(),this.itemsData=e,this.itemSet&&this.itemSet.setItems(null!=e?e.rawDS:null)}setGroups(t){let e;if(t){const i=t=>!1!==t.visible;e=t instanceof r["a"]||t instanceof r["b"]?new r["b"](t,{filter:i}):new r["a"](t.filter(i))}else e=null;this.groupsData instanceof r["b"]&&this.groupsData.setData(null),this.groupsData=e,this.itemSet.setGroups(e)}setData(t){t&&t.groups&&this.setGroups(t.groups),t&&t.items&&this.setItems(t.items)}setSelection(t,e){this.itemSet&&this.itemSet.setSelection(t),e&&e.focus&&this.focus(t,e)}getSelection(){return this.itemSet&&this.itemSet.getSelection()||[]}focus(t,e){if(!this.itemsData||void 0==t)return;const i=Array.isArray(t)?t:[t],n=this.itemsData.get(i);let o=null,s=null;if(n.forEach(t=>{const e=t.start.valueOf(),i="end"in t?t.end.valueOf():t.start.valueOf();(null===o||es)&&(s=i)}),null!==o&&null!==s){const t=this,n=this.itemSet.items[i[0]];let r=-1*this._getScrollTop(),a=null;const g=(e,i,o)=>{const s=be(t,n);if(!1===s)return;if(a||(a=s),a.itemTop==s.itemTop&&!a.shouldScroll)return;a.itemTop!=s.itemTop&&s.shouldScroll&&(a=s,r=-1*t._getScrollTop());const g=r,d=a.scrollOffset,l=o?d:g+(d-g)*e;t._setScrollTop(-l),i||t._redraw()},d=()=>{const e=be(t,n);e.shouldScroll&&e.itemTop!=a.itemTop&&(t._setScrollTop(-e.scrollOffset),t._redraw())},l=()=>{d(),setTimeout(d,100)},c=!e||void 0===e.zoom||e.zoom,h=(o+s)/2,u=c?1.1*(s-o):Math.max(this.range.end-this.range.start,1.1*(s-o)),A=!e||void 0===e.animation||e.animation;A||(a={shouldScroll:!1,scrollOffset:-1,itemTop:-1}),this.range.setRange(h-u/2,h+u/2,{animation:A},l,g)}}fit(t,e){const i=!t||void 0===t.animation||t.animation;let n;1===this.itemsData.length&&void 0===this.itemsData.get()[0].end?(n=this.getDataRange(),this.moveTo(n.min.valueOf(),{animation:i},e)):(n=this.getItemRange(),this.range.setRange(n.min,n.max,{animation:i},e))}getItemRange(){const t=this.getDataRange();let e=null!==t.min?t.min.valueOf():null,i=null!==t.max?t.max.valueOf():null,n=null,o=null;if(null!=e&&null!=i){let t=i-e;t<=0&&(t=10);const s=t/this.props.center.width,r={};let a=0;m.forEach(this.itemSet.items,(t,e)=>{if(t.groupShowing){const i=!0;r[e]=t.redraw(i),a=r[e].length}});const g=a>0;if(g)for(let e=0;e{t[e]()});if(m.forEach(this.itemSet.items,t=>{const r=me(t),a=ve(t);let g,d;this.options.rtl?(g=r-(t.getWidthRight()+10)*s,d=a+(t.getWidthLeft()+10)*s):(g=r-(t.getWidthLeft()+10)*s,d=a+(t.getWidthRight()+10)*s),gi&&(i=d,o=t)}),n&&o){const s=n.getWidthLeft()+10,r=o.getWidthRight()+10,a=this.props.center.width-s-r;a>0&&(this.options.rtl?(e=me(n)-r*t/a,i=ve(o)+s*t/a):(e=me(n)-s*t/a,i=ve(o)+r*t/a))}}return{min:null!=e?new Date(e):null,max:null!=i?new Date(i):null}}getDataRange(){let t=null,e=null;return this.itemsData&&this.itemsData.forEach(i=>{const n=m.convert(i.start,"Date").valueOf(),o=m.convert(void 0!=i.end?i.end:i.start,"Date").valueOf();(null===t||ne)&&(e=o)}),{min:null!=t?new Date(t):null,max:null!=e?new Date(e):null}}getEventProperties(t){const e=t.center?t.center.x:t.clientX,i=t.center?t.center.y:t.clientY,n=this.dom.centerContainer.getBoundingClientRect(),o=this.options.rtl?n.right-e:e-n.left,s=i-n.top,r=this.itemSet.itemFromTarget(t),a=this.itemSet.groupFromTarget(t),g=yt.customTimeFromTarget(t),d=this.itemSet.options.snap||null,l=this.body.util.getScale(),c=this.body.util.getStep(),h=this._toTime(o),u=d?d(h,l,c):h,A=m.getTarget(t);let C=null;return null!=r?C="item":null!=g?C="custom-time":m.hasParent(A,this.timeAxis.dom.foreground)||this.timeAxis2&&m.hasParent(A,this.timeAxis2.dom.foreground)?C="axis":m.hasParent(A,this.itemSet.dom.labelSet)?C="group-label":m.hasParent(A,this.currentTime.bar)?C="current-time":m.hasParent(A,this.dom.center)&&(C="background"),{event:t,item:r?r.id:null,isCluster:!!r&&!!r.isCluster,items:r?r.items||[]:null,group:a?a.groupId:null,customTime:g?g.options.id:null,what:C,pageX:t.srcEvent?t.srcEvent.pageX:t.pageX,pageY:t.srcEvent?t.srcEvent.pageY:t.pageY,x:o,y:s,time:h,snappedTime:u}}toggleRollingMode(){this.range.rolling?this.range.stopRolling():(void 0==this.options.rollingMode&&this.setOptions(this.options),this.range.startRolling())}_redraw(){_t.prototype._redraw.call(this)}_onFit(t){const{start:e,end:i,animation:n}=t;i?this.range.setRange(e,i,{animation:n}):this.moveTo(e.valueOf(),{animation:n})}}function me(t){return m.convert(t.data.start,"Date").valueOf()}function ve(t){const e=void 0!=t.data.end?t.data.end:t.data.start;return m.convert(e,"Date").valueOf()}function be(t,e){if(!e.parent)return!1;const i=t.options.rtl?t.props.rightContainer.height:t.props.leftContainer.height,n=t.props.center.height,o=e.parent;let s=o.top,r=!0;const a=t.timeAxis.options.orientation.axis,g=()=>"bottom"==a?o.height-e.top-e.height:e.top,d=-1*t._getScrollTop(),l=s+g(),c=e.height;return ld+i?s+=g()+c-i+t.itemSet.options.margin.item.vertical:r=!1,s=Math.min(s,n-i),{shouldScroll:r,scrollOffset:s,itemTop:l}}function ye(t){for(var e in t)t.hasOwnProperty(e)&&(t[e].redundant=t[e].used,t[e].used=[])}function _e(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].redundant){for(var i=0;i0?(n=e[t].redundant[0],e[t].redundant.shift()):(n=document.createElementNS("http://www.w3.org/2000/svg",t),i.appendChild(n)):(n=document.createElementNS("http://www.w3.org/2000/svg",t),e[t]={used:[],redundant:[]},i.appendChild(n)),e[t].used.push(n),n}function xe(t,e,i,n){var o;return e.hasOwnProperty(t)?e[t].redundant.length>0?(o=e[t].redundant[0],e[t].redundant.shift()):(o=document.createElement(t),void 0!==n?i.insertBefore(o,n):i.appendChild(o)):(o=document.createElement(t),e[t]={used:[],redundant:[]},void 0!==n?i.insertBefore(o,n):i.appendChild(o)),e[t].used.push(o),o}function ke(t,e,i,n,o,s){var r;if("circle"==i.style?(r=Me("circle",n,o),r.setAttributeNS(null,"cx",t),r.setAttributeNS(null,"cy",e),r.setAttributeNS(null,"r",.5*i.size)):(r=Me("rect",n,o),r.setAttributeNS(null,"x",t-.5*i.size),r.setAttributeNS(null,"y",e-.5*i.size),r.setAttributeNS(null,"width",i.size),r.setAttributeNS(null,"height",i.size)),void 0!==i.styles&&r.setAttributeNS(null,"style",i.styles),r.setAttributeNS(null,"class",i.className+" vis-point"),s){var a=Me("text",n,o);s.xOffset&&(t+=s.xOffset),s.yOffset&&(e+=s.yOffset),s.content&&(a.textContent=s.content),s.className&&a.setAttributeNS(null,"class",s.className+" vis-label"),a.setAttributeNS(null,"x",t),a.setAttributeNS(null,"y",e)}return r}function De(t,e,i,n,o,s,r,a){if(0!=n){n<0&&(n*=-1,e-=n);var g=Me("rect",s,r);g.setAttributeNS(null,"x",t-.5*i),g.setAttributeNS(null,"y",e),g.setAttributeNS(null,"width",i),g.setAttributeNS(null,"height",n),g.setAttributeNS(null,"class",o),a&&g.setAttributeNS(null,"style",a)}}function Te(){try{return navigator?navigator.languages&&navigator.languages.length?navigator.languages:navigator.userLanguage||navigator.language||navigator.browserLanguage||"en":"en"}catch(t){return"en"}}class Le{constructor(t,e,i,n,o,s,r=!1,a=!1){if(this.majorSteps=[1,2,5,10],this.minorSteps=[.25,.5,1,2],this.customLines=null,this.containerHeight=o,this.majorCharHeight=s,this._start=t,this._end=e,this.scale=1,this.minorStepIdx=-1,this.magnitudefactor=1,this.determineScale(),this.zeroAlign=r,this.autoScaleStart=i,this.autoScaleEnd=n,this.formattingFunction=a,i||n){const t=this,e=e=>{const i=e-e%(t.magnitudefactor*t.minorSteps[t.minorStepIdx]);return e%(t.magnitudefactor*t.minorSteps[t.minorStepIdx])>t.magnitudefactor*t.minorSteps[t.minorStepIdx]*.5?i+t.magnitudefactor*t.minorSteps[t.minorStepIdx]:i};i&&(this._start-=2*this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._start=e(this._start)),n&&(this._end+=this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._end=e(this._end)),this.determineScale()}}setCharHeight(t){this.majorCharHeight=t}setHeight(t){this.containerHeight=t}determineScale(){const t=this._end-this._start;this.scale=this.containerHeight/t;const e=this.majorCharHeight/this.scale,i=t>0?Math.round(Math.log(t)/Math.LN10):0;this.minorStepIdx=-1,this.magnitudefactor=Math.pow(10,i);let n=0;i<0&&(n=i);let o=!1;for(let s=n;Math.abs(s)<=Math.abs(i);s++){this.magnitudefactor=Math.pow(10,s);for(let t=0;t=e){o=!0,this.minorStepIdx=t;break}}if(!0===o)break}}is_major(t){return t%(this.magnitudefactor*this.majorSteps[this.minorStepIdx])===0}getStep(){return this.magnitudefactor*this.minorSteps[this.minorStepIdx]}getFirstMajor(){const t=this.magnitudefactor*this.majorSteps[this.minorStepIdx];return this.convertValue(this._start+(t-this._start%t)%t)}formatValue(t){let e=t.toPrecision(5);return"function"===typeof this.formattingFunction&&(e=this.formattingFunction(t)),"number"===typeof e?""+e:"string"===typeof e?e:t.toPrecision(5)}getLines(){const t=[],e=this.getStep(),i=(e-this._start%e)%e;for(let n=this._start+i;this._end-n>1e-5;n+=e)n!=this._start&&t.push({major:this.is_major(n),y:this.convertValue(n),val:this.formatValue(n)});return t}followScale(t){const e=this.minorStepIdx,i=this._start,n=this._end,o=this,s=()=>{o.magnitudefactor*=2},r=()=>{o.magnitudefactor/=2};t.minorStepIdx<=1&&this.minorStepIdx<=1||t.minorStepIdx>1&&this.minorStepIdx>1||(t.minorStepIdxn+1e-5)r(),d=!1;else{if(!this.autoScaleStart&&this._start=0)){r(),d=!1;continue}console.warn("Can't adhere to given 'min' range, due to zeroalign")}this.autoScaleStart&&this.autoScaleEnd&&e{o.dom.lineContainer.style.top=o.body.domProps.scrollTop+"px"})}addGroup(t,e){this.groups.hasOwnProperty(t)||(this.groups[t]=e),this.amountOfGroups+=1}updateGroup(t,e){this.groups.hasOwnProperty(t)||(this.amountOfGroups+=1),this.groups[t]=e}removeGroup(t){this.groups.hasOwnProperty(t)&&(delete this.groups[t],this.amountOfGroups-=1)}setOptions(t){if(t){let e=!1;this.options.orientation!=t.orientation&&void 0!==t.orientation&&(e=!0);const i=["orientation","showMinorLabels","showMajorLabels","icons","majorLinesOffset","minorLinesOffset","labelOffsetX","labelOffsetY","iconWidth","width","visible","left","right","alignZeros"];m.selectiveDeepExtend(i,this.options,t),this.minWidth=Number((""+this.options.width).replace("px","")),!0===e&&this.dom.frame&&(this.hide(),this.show())}}_create(){this.dom.frame=document.createElement("div"),this.dom.frame.style.width=this.options.width,this.dom.frame.style.height=this.height,this.dom.lineContainer=document.createElement("div"),this.dom.lineContainer.style.width="100%",this.dom.lineContainer.style.height=this.height,this.dom.lineContainer.style.position="relative",this.dom.lineContainer.style.visibility="visible",this.dom.lineContainer.style.display="block",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="absolute",this.svg.style.top="0px",this.svg.style.height="100%",this.svg.style.width="100%",this.svg.style.display="block",this.dom.frame.appendChild(this.svg)}_redrawGroupIcons(){let t;ye(this.svgElements);const e=this.options.iconWidth,i=15,n=4;let o=n+.5*i;t="left"===this.options.orientation?n:this.width-e-n;const s=Object.keys(this.groups);s.sort((t,e)=>t{const i=t.y,n=t.major;this.options["showMinorLabels"]&&!1===n&&this._redrawLabel(i-2,t.val,e,"vis-y-axis vis-minor",this.props.minorCharHeight),n&&i>=0&&this._redrawLabel(i-2,t.val,e,"vis-y-axis vis-major",this.props.majorCharHeight),!0===this.master&&(n?this._redrawLine(i,e,"vis-grid vis-horizontal vis-major",this.options.majorLinesOffset,this.props.majorLineWidth):this._redrawLine(i,e,"vis-grid vis-horizontal vis-minor",this.options.minorLinesOffset,this.props.minorLineWidth))});let r=0;void 0!==this.options[e].title&&void 0!==this.options[e].title.text&&(r=this.props.titleCharHeight);const a=!0===this.options.icons?Math.max(this.options.iconWidth,r)+this.options.labelOffsetX+15:r+this.options.labelOffsetX+15;return this.maxLabelSize>this.width-a&&!0===this.options.visible?(this.width=this.maxLabelSize+a,this.options.width=this.width+"px",_e(this.DOMelements.lines),_e(this.DOMelements.labels),this.redraw(),t=!0):this.maxLabelSizethis.minWidth?(this.width=Math.max(this.minWidth,this.maxLabelSize+a),this.options.width=this.width+"px",_e(this.DOMelements.lines),_e(this.DOMelements.labels),this.redraw(),t=!0):(_e(this.DOMelements.lines),_e(this.DOMelements.labels),t=!1),t}convertValue(t){return this.scale.convertValue(t)}screenToValue(t){return this.scale.screenToValue(t)}_redrawLabel(t,e,i,n,o){const s=xe("div",this.DOMelements.labels,this.dom.frame);s.className=n,s.innerHTML=e,"left"===i?(s.style.left=`-${this.options.labelOffsetX}px`,s.style.textAlign="right"):(s.style.right=`-${this.options.labelOffsetX}px`,s.style.textAlign="left"),s.style.top=t-.5*o+this.options.labelOffsetY+"px",e+="";const r=Math.max(this.props.majorCharWidth,this.props.minorCharWidth);this.maxLabelSize0&&(i=Math.min(i,Math.abs(e[n-1].screen_x-e[n].screen_x))),0===i&&(void 0===t[e[n].screen_x]&&(t[e[n].screen_x]={amount:0,resolved:0,accumulatedPositive:0,accumulatedNegative:0}),t[e[n].screen_x].amount+=1)},Pe._getSafeDrawData=function(t,e,i){var n,o;return t0?(n=t0){t.sort((function(t,e){return t.screen_x===e.screen_x?t.groupIde[s].screen_y?e[s].screen_y:n,o=ot[r].accumulatedNegative?t[r].accumulatedNegative:n,n=n>t[r].accumulatedPositive?t[r].accumulatedPositive:n,o=o0){var i=[];return i=1==e.options.interpolation.enabled?je._catmullRom(t,e):je._linear(t),i}},je.drawIcon=function(t,e,i,n,o,s){var r,a,g=.5*o,d=Me("rect",s.svgElements,s.svg);if(d.setAttributeNS(null,"x",e),d.setAttributeNS(null,"y",i-g),d.setAttributeNS(null,"width",n),d.setAttributeNS(null,"height",2*g),d.setAttributeNS(null,"class","vis-outline"),r=Me("path",s.svgElements,s.svg),r.setAttributeNS(null,"class",t.className),void 0!==t.style&&r.setAttributeNS(null,"style",t.style),r.setAttributeNS(null,"d","M"+e+","+i+" L"+(e+n)+","+i),1==t.options.shaded.enabled&&(a=Me("path",s.svgElements,s.svg),"top"==t.options.shaded.orientation?a.setAttributeNS(null,"d","M"+e+", "+(i-g)+"L"+e+","+i+" L"+(e+n)+","+i+" L"+(e+n)+","+(i-g)):a.setAttributeNS(null,"d","M"+e+","+i+" L"+e+","+(i+g)+" L"+(e+n)+","+(i+g)+"L"+(e+n)+","+i),a.setAttributeNS(null,"class",t.className+" vis-icon-fill"),void 0!==t.options.shaded.style&&""!==t.options.shaded.style&&a.setAttributeNS(null,"style",t.options.shaded.style)),1==t.options.drawPoints.enabled){var l={style:t.options.drawPoints.style,styles:t.options.drawPoints.styles,size:t.options.drawPoints.size,className:t.className};ke(e+.5*n,i,l,s.svgElements,s.svg)}},je.drawShading=function(t,e,i,n){if(1==e.options.shaded.enabled){var o,s=Number(n.svg.style.height.replace("px","")),r=Me("path",n.svgElements,n.svg),a="L";1==e.options.interpolation.enabled&&(a="C");var g=0;g="top"==e.options.shaded.orientation?0:"bottom"==e.options.shaded.orientation?s:Math.min(Math.max(0,e.zeroPosition),s),o="group"==e.options.shaded.orientation&&null!=i&&void 0!=i?"M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,a,!1)+" L"+i[i.length-1][0]+","+i[i.length-1][1]+" "+this.serializePath(i,a,!0)+i[0][0]+","+i[0][1]+" Z":"M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,a,!1)+" V"+g+" H"+t[0][0]+" Z",r.setAttributeNS(null,"class",e.className+" vis-fill"),void 0!==e.options.shaded.style&&r.setAttributeNS(null,"style",e.options.shaded.style),r.setAttributeNS(null,"d",o)}},je.draw=function(t,e,i){if(null!=t&&void 0!=t){var n=Me("path",i.svgElements,i.svg);n.setAttributeNS(null,"class",e.className),void 0!==e.style&&n.setAttributeNS(null,"style",e.style);var o="L";1==e.options.interpolation.enabled&&(o="C"),n.setAttributeNS(null,"d","M"+t[0][0]+","+t[0][1]+" "+this.serializePath(t,o,!1))}},je.serializePath=function(t,e,i){if(t.length<2)return"";var n,o=e;if(i)for(n=t.length-2;n>0;n--)o+=t[n][0]+","+t[n][1]+" ";else for(n=1;n0&&(A=1/A),C=3*I*(I+p),C>0&&(C=1/C),a={screen_x:(-m*n.screen_x+h*o.screen_x+v*s.screen_x)*A,screen_y:(-m*n.screen_y+h*o.screen_y+v*s.screen_y)*A},g={screen_x:(f*o.screen_x+u*s.screen_x-m*r.screen_x)*C,screen_y:(f*o.screen_y+u*s.screen_y-m*r.screen_y)*C},0==a.screen_x&&0==a.screen_y&&(a=o),0==g.screen_x&&0==g.screen_y&&(g=s),y.push([a.screen_x,a.screen_y]),y.push([g.screen_x,g.screen_y]),y.push([s.screen_x,s.screen_y]);return y},je._linear=function(t){for(var e=[],i=0;ie.x?1:-1}))):this.itemsData=[]},Ne.prototype.getItems=function(){return this.itemsData},Ne.prototype.setZeroPosition=function(t){this.zeroPosition=t},Ne.prototype.setOptions=function(t){if(void 0!==t){var e=["sampling","style","sort","yAxisOrientation","barChart","zIndex","excludeFromStacking","excludeFromLegend"];m.selectiveDeepExtend(e,this.options,t),"function"==typeof t.drawPoints&&(t.drawPoints={onRender:t.drawPoints}),m.mergeOptions(this.options,t,"interpolation"),m.mergeOptions(this.options,t,"drawPoints"),m.mergeOptions(this.options,t,"shaded"),t.interpolation&&"object"==typeof t.interpolation&&t.interpolation.parametrization&&("uniform"==t.interpolation.parametrization?this.options.interpolation.alpha=0:"chordal"==t.interpolation.parametrization?this.options.interpolation.alpha=1:(this.options.interpolation.parametrization="centripetal",this.options.interpolation.alpha=.5))}},Ne.prototype.update=function(t){this.group=t,this.content=t.content||"graph",this.className=t.className||this.className||"vis-graph-group"+this.groupsUsingDefaultStyles[0]%10,this.visible=void 0===t.visible||t.visible,this.style=t.style,this.setOptions(t.options)},Ne.prototype.getLegend=function(t,e,i,n,o){if(void 0==i||null==i){var s=document.createElementNS("http://www.w3.org/2000/svg","svg");i={svg:s,svgElements:{},options:this.options,groups:[this]}}switch(void 0!=n&&null!=n||(n=0),void 0!=o&&null!=o||(o=.5*e),this.options.style){case"line":je.drawIcon(this,n,o,t,e,i);break;case"points":case"point":Se.drawIcon(this,n,o,t,e,i);break;case"bar":Pe.drawIcon(this,n,o,t,e,i);break}return{icon:i.svg,label:this.content,orientation:this.options.yAxisOrientation}},Ne.prototype.getYRange=function(t){for(var e=t[0].y,i=t[0].y,n=0;nt[n].y?t[n].y:e,i=i");this.dom.textArea.innerHTML=s,this.dom.textArea.style.lineHeight=.75*this.options.iconSize+this.options.iconSpacing+"px"}},Re.prototype.drawLegendIcons=function(){if(this.dom.frame.parentNode){var t=Object.keys(this.groups);t.sort((function(t,e){return t0){var a={};for(this._getRelevantData(r,a,o,s),this._applySampling(r,a),e=0;e0)switch(t.options.style){case"line":d.hasOwnProperty(r[e])||(d[r[e]]=je.calcPath(a[r[e]],t)),je.draw(d[r[e]],t,this.framework);case"point":case"points":"point"!=t.options.style&&"points"!=t.options.style&&1!=t.options.drawPoints.enabled||Se.draw(a[r[e]],t,this.framework);break}}}return _e(this.svgElements),!1},He.prototype._stack=function(t,e){var i,n,o,s,r;i=0;for(var a=0;at[a].x){r=e[g],s=0==g?r:e[g-1],i=g;break}}void 0===r&&(s=e[e.length-1],r=e[e.length-1]),n=r.x-s.x,o=r.y-s.y,t[a].y=0==n?t[a].orginalY+r.y:t[a].orginalY+o/n*(t[a].x-s.x)+s.y}},He.prototype._getRelevantData=function(t,e,i,n){var o,s,r,a;if(t.length>0)for(s=0;s0)for(var n=0;n0){var s=1,r=o.length,a=this.body.util.toGlobalScreen(o[o.length-1].x)-this.body.util.toGlobalScreen(o[0].x),g=r/a;s=Math.min(Math.ceil(.2*r),Math.max(1,Math.round(g)));for(var d=new Array(r),l=0;l0){for(s=0;s0&&(o=this.groups[t[s]],!0===r.stack&&"bar"===r.style?"left"===r.yAxisOrientation?a=a.concat(n):g=g.concat(n):i[t[s]]=o.getYRange(n,t[s]));Pe.getStackedYRange(a,i,t,"__barStackLeft","left"),Pe.getStackedYRange(g,i,t,"__barStackRight","right")}},He.prototype._updateYAxis=function(t,e){var i,n,o=!1,s=!1,r=!1,a=1e9,g=1e9,d=-1e9,l=-1e9;if(t.length>0){for(var c=0;ci?i:a,d=di?i:g,l=ls.options.onInitialDrawComplete(),0))}})),n&&this.setOptions(n),i&&this.setGroups(i),e&&this.setItems(e),this._redraw()}qe.prototype=new _t,qe.prototype.setOptions=function(t){let e=ne.validate(t,Je);!0===e&&console.log("%cErrors have been found in the supplied options object.",ie),_t.prototype.setOptions.call(this,t)},qe.prototype.setItems=function(t){var e,i=null==this.itemsData;if(e=t?t instanceof r["a"]||t instanceof r["b"]?f(t):f(new r["a"](t)):null,this.itemsData&&this.itemsData.dispose(),this.itemsData=e,this.linegraph&&this.linegraph.setItems(null!=e?e.rawDS:null),i)if(void 0!=this.options.start||void 0!=this.options.end){var n=void 0!=this.options.start?this.options.start:null,o=void 0!=this.options.end?this.options.end:null;this.setWindow(n,o,{animation:!1})}else this.fit({animation:!1})},qe.prototype.setGroups=function(t){var e;e=t?t instanceof r["a"]||t instanceof r["b"]?t:new r["a"](t):null,this.groupsData=e,this.linegraph.setGroups(e)},qe.prototype.getLegend=function(t,e,i){return void 0===e&&(e=15),void 0===i&&(i=15),void 0!==this.linegraph.groups[t]?this.linegraph.groups[t].getLegend(e,i):"cannot find group:'"+t+"'"},qe.prototype.isGroupVisible=function(t){return void 0!==this.linegraph.groups[t]&&(this.linegraph.groups[t].visible&&(void 0===this.linegraph.options.groups.visibility[t]||1==this.linegraph.options.groups.visibility[t]))},qe.prototype.getDataRange=function(){var t=null,e=null;for(var i in this.linegraph.groups)if(this.linegraph.groups.hasOwnProperty(i)&&1==this.linegraph.groups[i].visible)for(var n=0;ns?s:t,e=null==e||e0&&d.push(l.screenToValue(o)),!c.hidden&&this.itemsData.length>0&&d.push(c.screenToValue(o)),{event:t,customTime:r?r.options.id:null,what:g,pageX:t.srcEvent?t.srcEvent.pageX:t.pageX,pageY:t.srcEvent?t.srcEvent.pageY:t.pageY,x:n,y:o,time:s,value:d}},qe.prototype._createConfigurator=function(){return new pe(this,this.dom.container,Qe)};const $e=Te();o.a.locale($e)},"709d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("8d5f"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtDateFilter",props:["column"],components:{RLDateFilter:n["default"]},render:function(t){var e=this;return t("r-l-date-filter",{attrs:{column:this.column},scopedSlots:{default:function(i){return i.override?t(i.override,{attrs:{props:i}}):t("div",{class:"VueTables__date-filter",attrs:{id:"VueTables__"+e.column+"-filter"}},[t("span",{class:"VueTables__filter-placeholder"},[i.placeholder])])}}})}};e["default"]=s},7118:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),n=t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return n}))},7156:function(t,e,i){var n=i("861d"),o=i("d2bb");t.exports=function(t,e,i){var s,r;return o&&"function"==typeof(s=e.constructor)&&s!==i&&n(r=s.prototype)&&r!==i.prototype&&o(t,r),t}},7175:function(t,e,i){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t.exports=function(t){var e=this.opts.responseAdapter.call(this,t);if(this.data=e.data,isNaN(e.count))throw console.error("vue-tables-2: invalid 'count' property. Expected number, got ".concat(n(e.count))),console.error("count equals",e.count),new Error;this.count=parseInt(e.count),setTimeout(function(){this.dispatch("loaded",t)}.bind(this),0)}},7297:function(t,e,i){function n(t){if(t)return o(t)}function o(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o-1&&e[0]}function g(t){var e=t.split("_");return e.length>1?e[1]:e[0]}t.exports=function(t){t.vuex?o(t):t.limit=t.opts.perPage,n(t.opts.columnsDisplay)||"undefined"===typeof window||(t.columnsDisplay=s(t.opts.columnsDisplay),window.addEventListener("resize",function(){t.windowWidth=window.innerWidth}.bind(t)))}},7393:function(t,e,i){"use strict";function n(t){return t.charAt(0).toUpperCase()+t.slice(1)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},"73ac":function(t,e,i){var n=i("743f"),o=i("b047"),s=i("99d3"),r=s&&s.isTypedArray,a=r?o(r):n;t.exports=a},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"743f":function(t,e,i){var n=i("3729"),o=i("b218"),s=i("1310"),r="[object Arguments]",a="[object Array]",g="[object Boolean]",d="[object Date]",l="[object Error]",c="[object Function]",h="[object Map]",u="[object Number]",A="[object Object]",C="[object RegExp]",I="[object Set]",p="[object String]",f="[object WeakMap]",m="[object ArrayBuffer]",v="[object DataView]",b="[object Float32Array]",y="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",M="[object Int32Array]",x="[object Uint8Array]",k="[object Uint8ClampedArray]",D="[object Uint16Array]",T="[object Uint32Array]",L={};function O(t){return s(t)&&o(t.length)&&!!L[n(t)]}L[b]=L[y]=L[_]=L[w]=L[M]=L[x]=L[k]=L[D]=L[T]=!0,L[r]=L[a]=L[m]=L[g]=L[v]=L[d]=L[l]=L[c]=L[h]=L[u]=L[A]=L[C]=L[I]=L[p]=L[f]=!1,t.exports=O},"746f":function(t,e,i){var n=i("428f"),o=i("5135"),s=i("e538"),r=i("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||r(e,t,{value:s.f(t)})}},"74dc":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return e}))},"752a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("2713"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"VtPerPageSelector",components:{RLPerPageSelector:n["default"]},render:function(){var t=arguments[0];return t("r-l-per-page-selector",{scopedSlots:{default:function(e){return e.override?t(e.override,{attrs:{props:e}}):t("div",{class:"VueTables__limit-field"},[t("label",{class:e.labelClass,attrs:{for:"VueTables__limit_".concat(e.id)}},[e.display("limit")]),t("select",{attrs:{id:e.selectAttrs.id},class:e.selectAttrs["class"],on:{change:e.selectEvents.change}},[e.perPageValues.map((function(i){return t("option",{domProps:{value:i,selected:i===e.selectAttrs.value}},[i])}))])])}}})}};e["default"]=s},7530:function(t,e,i){var n=i("1a8c"),o=Object.create,s=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();t.exports=s},7611:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLTableRow",props:["row","index"],inject:["allColumns","opts","rowWasClicked","hasChildRow","componentsOverride"],provide:function(){var t=this;return{row:function(){return t.row},index:this.index}},render:function(){return this.$scopedSlots["default"]({opts:this.opts(),columns:this.allColumns(),hasChildRow:this.hasChildRow(),rowId:this.row[this.opts().uniqueKey],rowAttrs:{class:this.opts().rowClassCallback?this.opts().rowClassCallback(this.row):"",attrs:this.opts().rowAttributesCallback?this.opts().rowAttributesCallback(this.row):{}},rowEvents:{click:this.rowWasClicked.bind(this,this.row,this.index),dblclick:this.rowWasClicked.bind(this,this.row,this.index)},childRowTogglerFirst:this.hasChildRow()&&this.opts().showChildRowToggler&&this.opts().childRowTogglerFirst,childRowTogglerLast:this.hasChildRow()&&this.opts().showChildRowToggler&&!this.opts().childRowTogglerFirst,override:this.componentsOverride.tableRow})}};e["default"]=n},7657:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=r(i("f3ab")),o=r(i("0249")),s=r(i("1a4e"));function r(t){return t&&t.__esModule?t:{default:t}}var a={name:"VtTable",components:{RLTable:n["default"],VtTableHead:o["default"],VtTableBody:s["default"]},render:function(){var t=arguments[0];return t("r-l-table",{scopedSlots:{default:function(e){var i=e.caption?t("caption",[e.caption]):"";return e.override?t(e.override,{attrs:{props:e}}):t("table",{class:e.tableAttrs["class"],attrs:{summary:e.tableAttrs.summary}},[i,t("vt-table-head"),e.slots.beforeBody,t("vt-table-body",{ref:"vt_table_body"}),e.slots.afterBody])}}})}};e["default"]=a},"77ed":function(t,e,i){"use strict";function n(t,e){var i=[JSON.parse(JSON.stringify(t))];return i=i.concat(e[t.column]),i}t.exports=function(t){var e=this.orderBy.column,i=this.orderBy.ascending;this.userMultiSorting[e]||this.$set(this.userMultiSorting,e,[]);var o=this.userMultiSorting[e];if(e===t)!o.length||i?this.orderBy.ascending=!this.orderBy.ascending:(this.orderBy=o.shift(),this.userMultiSorting={},this.$set(this.userMultiSorting,this.orderBy.column,o));else{var s=o.filter((function(e){return e.column==t}))[0];s?s.ascending?s.ascending=!s.ascending:(this.$set(this.userMultiSorting,e,o.filter((function(e){return e.column!=t}))),this.userMultiSorting[e].length||(this.userMultiSorting={})):o.push({column:t,ascending:!0})}this.time=Date.now(),this.dispatch("sorted",n(this.orderBy,this.userMultiSorting))}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7856:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("c1c0"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"RLPagination",inject:["opts","count","limit","vuex","name","id","theme","page","setPage","totalPages","componentsOverride"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),setPage:this.setPage,options:this.opts().pagination,infiniteScroll:this.opts().infiniteScroll,page:this.page(),records:this.count(),perPage:parseInt(this.limit()),name:this.vuex?this.name:this.id,vuex:this.vuex,theme:this.theme,texts:this.opts().texts,totalPages:this.totalPages(),optionsObj:{theme:(0,n["default"])(this.theme.pagination,{wrapper:"".concat(this.theme.row," ").concat(this.theme.column," ").concat(this.theme.contentCenter),count:"".concat(this.theme.center," ").concat(this.theme.column)}),chunk:this.opts().pagination.chunk,chunksNavigation:this.opts().pagination.nav,edgeNavigation:this.opts().pagination.edge,texts:{count:this.opts().texts.count,first:this.opts().texts.first,last:this.opts().texts.last}},override:this.componentsOverride.pagination})}};e["default"]=s},7921:function(t,e,i){t.exports=i("04ab")},"79bc":function(t,e,i){var n=i("0b07"),o=i("2b3e"),s=n(o,"Map");t.exports=s},"79de":function(t,e,i){"use strict";t.exports=function(t){return function(t){var e=this.theme,i="",n="",o="",s="",r=this.pages.map(function(i){return t("li",{class:"VuePagination__pagination-item "+e.item+" "+this.activeClass(i),on:{click:this.setPage.bind(this,i)}},[t("a",{class:e.link+" "+this.activeClass(i),attrs:{role:"button"}},[this.formatNumber(i)])])}.bind(this));return this.opts.edgeNavigation&&this.totalChunks>1&&(o=t("li",{class:"VuePagination__pagination-item "+e.item+" "+(1===this.page?e.disabled:"")+" VuePagination__pagination-item-first-page",on:{click:this.setPage.bind(this,1)}},[t("a",{class:e.link,attrs:{disabled:1===this.page}},[this.opts.texts.first])]),s=t("li",{class:"VuePagination__pagination-item "+e.item+" "+(this.page===this.totalPages?e.disabled:"")+" VuePagination__pagination-item-last-page",on:{click:this.setPage.bind(this,this.totalPages)}},[t("a",{class:e.link,attrs:{disabled:this.page===this.totalPages}},[this.opts.texts.last])])),"fixed"===this.opts.chunksNavigation&&(i=t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.prev+" VuePagination__pagination-item-prev-chunk "+this.allowedChunkClass(-1),on:{click:this.setChunk.bind(this,-1)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedChunkClass(-1)}},[this.opts.texts.prevChunk])]),n=t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.next+" VuePagination__pagination-item-next-chunk "+this.allowedChunkClass(1),on:{click:this.setChunk.bind(this,1)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedChunkClass(1)}},[this.opts.texts.nextChunk])])),t("div",{class:"VuePagination "+e.wrapper},[t("nav",{class:""+e.nav},[t("ul",{directives:[{name:"show",value:this.totalPages>1}],class:e.list+" VuePagination__pagination"},[o,i,t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.prev+" VuePagination__pagination-item-prev-page "+this.allowedPageClass(this.page-1),on:{click:this.prev.bind(this)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedPageClass(this.page-1)}},[this.opts.texts.prevPage])]),r,t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.next+" VuePagination__pagination-item-next-page "+this.allowedPageClass(this.page+1),on:{click:this.next.bind(this)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedPageClass(this.page+1)}},[this.opts.texts.nextPage])]),n,s]),t("p",{directives:[{name:"show",value:parseInt(this.records)}],class:"VuePagination__count "+e.count},[this.count])])])}.bind(t)}},"7a48":function(t,e,i){var n=i("6044"),o=Object.prototype,s=o.hasOwnProperty;function r(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}t.exports=r},"7a77":function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},"7aac":function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,i,o,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(s)&&a.push("domain="+s),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,i){var n=i("1d80");t.exports=function(t){return Object(n(t))}},"7b83":function(t,e,i){var n=i("7c64"),o=i("93ed"),s=i("2478"),r=i("a524"),a=i("1fc8");function g(t){var e=-1,i=null==t?0:t.length;this.clear();while(++e1&&(o=t("li",{class:"VuePagination__pagination-item "+e.item+" "+(1===this.page?e.disabled:"")+" VuePagination__pagination-item-first-page",on:{click:this.setPage.bind(this,1)}},[t("a",{class:e.link,attrs:{disabled:1===this.page}},[this.opts.texts.first])]),s=t("li",{class:"VuePagination__pagination-item "+e.item+" "+(this.page===this.totalPages?e.disabled:"")+" VuePagination__pagination-item-last-page",on:{click:this.setPage.bind(this,this.totalPages)}},[t("a",{class:e.link,attrs:{disabled:this.page===this.totalPages}},[this.opts.texts.last])])),"fixed"===this.opts.chunksNavigation&&(i=t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.prev+" VuePagination__pagination-item-prev-chunk "+this.allowedChunkClass(-1),on:{click:this.setChunk.bind(this,-1)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedChunkClass(-1)}},[this.opts.texts.prevChunk])]),n=t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.next+" VuePagination__pagination-item-next-chunk "+this.allowedChunkClass(1),on:{click:this.setChunk.bind(this,1)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedChunkClass(1)}},[this.opts.texts.nextChunk])])),t("div",{class:"VuePagination "+e.wrapper},[t("nav",{class:""+e.nav},[t("ul",{directives:[{name:"show",value:this.totalPages>1}],class:e.list+" VuePagination__pagination"},[o,i,t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.prev+" VuePagination__pagination-item-prev-page "+this.allowedPageClass(this.page-1),on:{click:this.prev.bind(this)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedPageClass(this.page-1)}},[this.opts.texts.prevPage])]),r,t("li",{class:"VuePagination__pagination-item "+e.item+" "+e.next+" VuePagination__pagination-item-next-page "+this.allowedPageClass(this.page+1),on:{click:this.next.bind(this)}},[t("a",{class:e.link,attrs:{disabled:!!this.allowedPageClass(this.page+1)}},[this.opts.texts.nextPage])]),n,s]),t("p",{directives:[{name:"show",value:parseInt(this.records)}],class:"VuePagination__count "+e.count},[this.count])])])}.bind(t)}},"7a48":function(t,e,i){var n=i("6044"),o=Object.prototype,s=o.hasOwnProperty;function r(t){var e=this.__data__;return n?void 0!==e[t]:s.call(e,t)}t.exports=r},"7a77":function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},"7aac":function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,i,o,s,r){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(s)&&a.push("domain="+s),!0===r&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,i){var n=i("1d80");t.exports=function(t){return Object(n(t))}},"7b83":function(t,e,i){var n=i("7c64"),o=i("93ed"),s=i("2478"),r=i("a524"),a=i("1fc8");function g(t){var e=-1,i=null==t?0:t.length;this.clear();while(++e1&&t<5}function o(t,e,i,o){var s=t+" ";switch(i){case"s":return e||o?"pár sekúnd":"pár sekundami";case"ss":return e||o?s+(n(t)?"sekundy":"sekúnd"):s+"sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var s=t.defineLocale("sk",{months:e,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"7c64":function(t,e,i){var n=i("e24b"),o=i("5e2e"),s=i("79bc");function r(){this.size=0,this.__data__={hash:new n,map:new(s||o),string:new n}}t.exports=r},"7c73":function(t,e,i){var n,o=i("825a"),s=i("37e8"),r=i("7839"),a=i("d012"),g=i("1be4"),d=i("cc12"),l=i("f772"),c=">",h="<",u="prototype",A="script",C=l("IE_PROTO"),I=function(){},p=function(t){return h+A+c+t+h+"/"+A+c},f=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=d("iframe"),i="java"+A+":";return e.style.display="none",g.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(p("document.F=Object")),t.close(),t.F},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=n?f(n):m();var t=r.length;while(t--)delete v[u][r[t]];return v()};a[C]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(I[u]=o(t),i=new I,I[u]=null,i[C]=t):i=v(),void 0===e?i:s(i,e)}},"7cfc":function(t,e,i){"use strict";t.exports=function(t,e,i){var n,o=this.opts.uniqueKey;n="client"==this.source&&"undefined"!==typeof t[o]?this.tableData.filter((function(e){return t[o]===e[o]}))[0]:t,this.dispatch("row-click",{row:n,index:e,event:i})}},"7d1f":function(t,e,i){var n=i("087d"),o=i("6747");function s(t,e,i){var s=e(t);return o(t)?s:n(s,i(t))}t.exports=s},"7da4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("c1c0"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"RLTableCell",inject:["row","scopedSlots","theme","orderBy","opts","render","index","setEditingCell","updateValue","revertValue","editing","getValue","columnClass","cellClasses","componentsOverride","isListFilter","optionText","source","dateFormat","formatDate","tabIndex"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),row:this.Row,column:this.column,content:this.content(t),classes:"".concat(this.theme.td," ").concat(this.columnClass(this.column)," ").concat(this.cellClasses(this.column,this.Row)," ").concat(this.sortedClass(this.column)).trim(),tabIndex:this.tabIndex(),override:this.componentsOverride.tableCell})},computed:{Row:function(){return this.row()},options:function(){return this.opts()}},methods:{content:function(t){if(this.options.templates[this.column])return this.render(this.Row,this.column,this.index,t);if(this.scopedSlots()[this.column]){var e={row:this.Row,column:this.column,index:this.index};return this.options.editableColumns.includes(this.column)&&(e=(0,n["default"])(e,this.getEditFunctions())),this.scopedSlots()[this.column](e)}return this.formatCellContent(this.getValue(this.Row,this.column),this.column)},sortedClass:function(t){return this.options.addSortedClassToCells&&this.orderBy().column===t?"".concat(t,"-sorted-")+(this.orderBy().ascending?"asc":"desc"):""},formatCellContent:function(t,e){return"client"===this.source&&this.options.dateColumns.includes(e)?this.formatDate(t,this.dateFormat(e)):this.isListFilter(e)?this.optionText(t,e):t},isEditing:function(){return function(){var t=this;return this.editing().find((function(e){return e.id===t.Row[t.options.uniqueKey]&&e.column===t.column}))}.bind(this)},getEditFunctions:function(){return{update:this.updateValue(this.Row,this.column),isEditing:this.isEditing(),setEditing:this.setEditingCell(this.Row,this.column),revertValue:this.revertValue(this.Row,this.column)}}}};e["default"]=s},"7db0":function(t,e,i){"use strict";var n=i("23e7"),o=i("b727").find,s=i("44d2"),r="find",a=!0;r in[]&&Array(1)[r]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s(r)},"7dd0":function(t,e,i){"use strict";var n=i("23e7"),o=i("9ed3"),s=i("e163"),r=i("d2bb"),a=i("d44e"),g=i("9112"),d=i("6eeb"),l=i("b622"),c=i("c430"),h=i("3f8c"),u=i("ae93"),A=u.IteratorPrototype,C=u.BUGGY_SAFARI_ITERATORS,I=l("iterator"),p="keys",f="values",m="entries",v=function(){return this};t.exports=function(t,e,i,l,u,b,y){o(i,e,l);var _,w,M,x=function(t){if(t===u&&O)return O;if(!C&&t in T)return T[t];switch(t){case p:return function(){return new i(this,t)};case f:return function(){return new i(this,t)};case m:return function(){return new i(this,t)}}return function(){return new i(this)}},k=e+" Iterator",D=!1,T=t.prototype,L=T[I]||T["@@iterator"]||u&&T[u],O=!C&&L||x(u),S="Array"==e&&T.entries||L;if(S&&(_=s(S.call(new t)),A!==Object.prototype&&_.next&&(c||s(_)===A||(r?r(_,A):"function"!=typeof _[I]&&g(_,I,v)),a(_,k,!0,!0),c&&(h[k]=v))),u==f&&L&&L.name!==f&&(D=!0,O=function(){return L.call(this)}),c&&!y||T[I]===O||g(T,I,O),h[e]=O,u)if(w={values:x(f),keys:b?O:x(p),entries:x(m)},y)for(M in w)(C||D||!(M in T))&&d(T,M,w[M]);else n({target:e,proto:!0,forced:C||D},w);return w}},"7dd1":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLListFilter",inject:["search","query","theme","getHeading","display","getColumnName","opts","componentsOverride"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),theme:this.theme,search:this.search,query:this.query(),getHeading:this.getHeading,display:this.display,items:this.opts().listColumns[this.column].filter((function(t){return!t.hide})),defaultOption:this.display("defaultOption",{column:this.opts().headings[this.column]?this.opts().headings[this.column]:this.column}),name:this.getColumnName(this.column),value:this.query()[this.column],column:this.column,override:this.componentsOverride.listFilter})}};e["default"]=n},"7ddb":function(t,e,i){},"7e29":function(t,e,i){"use strict";t.exports=function(){var t={page:1,query:this.query,orderBy:this.orderBy,perPage:this.opts.perPage,customQueries:this.customQueries};return this.storage.setItem(this.stateKey,JSON.stringify(t)),t}},"7e64":function(t,e,i){var n=i("5e2e"),o=i("efb6"),s=i("2fcc"),r=i("802a"),a=i("55a3"),g=i("d02c");function d(t){var e=this.__data__=new n(t);this.size=e.size}d.prototype.clear=o,d.prototype["delete"]=s,d.prototype.get=r,d.prototype.has=a,d.prototype.set=g,t.exports=d},"7ed2":function(t,e){var i="__lodash_hash_undefined__";function n(t){return this.__data__.set(t,i),this}t.exports=n},"7f33":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function o(t,e,i,o){var s=t+" ";switch(i){case"s":return e||o?"pár sekúnd":"pár sekundami";case"ss":return e||o?s+(n(t)?"sekundy":"sekúnd"):s+"sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var s=t.defineLocale("sk",{months:e,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"7c64":function(t,e,i){var n=i("e24b"),o=i("5e2e"),s=i("79bc");function r(){this.size=0,this.__data__={hash:new n,map:new(s||o),string:new n}}t.exports=r},"7c73":function(t,e,i){var n,o=i("825a"),s=i("37e8"),r=i("7839"),a=i("d012"),g=i("1be4"),d=i("cc12"),l=i("f772"),c=">",h="<",u="prototype",A="script",C=l("IE_PROTO"),I=function(){},p=function(t){return h+A+c+t+h+"/"+A+c},f=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=d("iframe"),i="java"+A+":";return e.style.display="none",g.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(p("document.F=Object")),t.close(),t.F},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=n?f(n):m();var t=r.length;while(t--)delete v[u][r[t]];return v()};a[C]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(I[u]=o(t),i=new I,I[u]=null,i[C]=t):i=v(),void 0===e?i:s(i,e)}},"7cfc":function(t,e,i){"use strict";t.exports=function(t,e,i){var n,o=this.opts.uniqueKey;n="client"==this.source&&"undefined"!==typeof t[o]?this.tableData.filter((function(e){return t[o]===e[o]}))[0]:t,this.dispatch("row-click",{row:n,index:e,event:i})}},"7d1f":function(t,e,i){var n=i("087d"),o=i("6747");function s(t,e,i){var s=e(t);return o(t)?s:n(s,i(t))}t.exports=s},"7da4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=o(i("c1c0"));function o(t){return t&&t.__esModule?t:{default:t}}var s={name:"RLTableCell",inject:["row","scopedSlots","theme","orderBy","opts","render","index","setEditingCell","updateValue","revertValue","editing","getValue","columnClass","cellClasses","componentsOverride","isListFilter","optionText","source","dateFormat","formatDate","tabIndex"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),row:this.Row,column:this.column,content:this.content(t),classes:"".concat(this.theme.td," ").concat(this.columnClass(this.column)," ").concat(this.cellClasses(this.column,this.Row)," ").concat(this.sortedClass(this.column)).trim(),tabIndex:this.tabIndex(),override:this.componentsOverride.tableCell})},computed:{Row:function(){return this.row()},options:function(){return this.opts()}},methods:{content:function(t){if(this.options.templates[this.column])return this.render(this.Row,this.column,this.index(),t);if(this.scopedSlots()[this.column]){var e={row:this.Row,column:this.column,index:this.index()};return this.options.editableColumns.includes(this.column)&&(e=(0,n["default"])(e,this.getEditFunctions())),this.scopedSlots()[this.column](e)}return this.formatCellContent(this.getValue(this.Row,this.column),this.column)},sortedClass:function(t){return this.options.addSortedClassToCells&&this.orderBy().column===t?"".concat(t,"-sorted-")+(this.orderBy().ascending?"asc":"desc"):""},formatCellContent:function(t,e){return"client"===this.source&&this.options.dateColumns.includes(e)?this.formatDate(t,this.dateFormat(e)):this.isListFilter(e)?this.optionText(t,e):t},isEditing:function(){return function(){var t=this;return this.editing().find((function(e){return e.id===t.Row[t.options.uniqueKey]&&e.column===t.column}))}.bind(this)},getEditFunctions:function(){return{update:this.updateValue(this.Row,this.column),isEditing:this.isEditing(),setEditing:this.setEditingCell(this.Row,this.column),revertValue:this.revertValue(this.Row,this.column)}}}};e["default"]=s},"7db0":function(t,e,i){"use strict";var n=i("23e7"),o=i("b727").find,s=i("44d2"),r="find",a=!0;r in[]&&Array(1)[r]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s(r)},"7dd0":function(t,e,i){"use strict";var n=i("23e7"),o=i("9ed3"),s=i("e163"),r=i("d2bb"),a=i("d44e"),g=i("9112"),d=i("6eeb"),l=i("b622"),c=i("c430"),h=i("3f8c"),u=i("ae93"),A=u.IteratorPrototype,C=u.BUGGY_SAFARI_ITERATORS,I=l("iterator"),p="keys",f="values",m="entries",v=function(){return this};t.exports=function(t,e,i,l,u,b,y){o(i,e,l);var _,w,M,x=function(t){if(t===u&&O)return O;if(!C&&t in T)return T[t];switch(t){case p:return function(){return new i(this,t)};case f:return function(){return new i(this,t)};case m:return function(){return new i(this,t)}}return function(){return new i(this)}},k=e+" Iterator",D=!1,T=t.prototype,L=T[I]||T["@@iterator"]||u&&T[u],O=!C&&L||x(u),S="Array"==e&&T.entries||L;if(S&&(_=s(S.call(new t)),A!==Object.prototype&&_.next&&(c||s(_)===A||(r?r(_,A):"function"!=typeof _[I]&&g(_,I,v)),a(_,k,!0,!0),c&&(h[k]=v))),u==f&&L&&L.name!==f&&(D=!0,O=function(){return L.call(this)}),c&&!y||T[I]===O||g(T,I,O),h[e]=O,u)if(w={values:x(f),keys:b?O:x(p),entries:x(m)},y)for(M in w)(C||D||!(M in T))&&d(T,M,w[M]);else n({target:e,proto:!0,forced:C||D},w);return w}},"7dd1":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLListFilter",inject:["search","query","theme","getHeading","display","getColumnName","opts","componentsOverride"],props:["column"],render:function(t){return this.$scopedSlots["default"]({opts:this.opts(),theme:this.theme,search:this.search,query:this.query(),getHeading:this.getHeading,display:this.display,items:this.opts().listColumns[this.column].filter((function(t){return!t.hide})),defaultOption:this.display("defaultOption",{column:this.opts().headings[this.column]?this.opts().headings[this.column]:this.column}),name:this.getColumnName(this.column),value:this.query()[this.column],column:this.column,override:this.componentsOverride.listFilter})}};e["default"]=n},"7ddb":function(t,e,i){},"7e29":function(t,e,i){"use strict";t.exports=function(){var t={page:1,query:this.query,orderBy:this.orderBy,perPage:this.opts.perPage,customQueries:this.customQueries};return this.storage.setItem(this.stateKey,JSON.stringify(t)),t}},"7e64":function(t,e,i){var n=i("5e2e"),o=i("efb6"),s=i("2fcc"),r=i("802a"),a=i("55a3"),g=i("d02c");function d(t){var e=this.__data__=new n(t);this.size=e.size}d.prototype.clear=o,d.prototype["delete"]=s,d.prototype.get=r,d.prototype.has=a,d.prototype.set=g,t.exports=d},"7ed2":function(t,e){var i="__lodash_hash_undefined__";function n(t){return this.__data__.set(t,i),this}t.exports=n},"7f33":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return e}))},"7f9a":function(t,e,i){var n=i("da84"),o=i("8925"),s=n.WeakMap;t.exports="function"===typeof s&&/native code/.test(o(s))},"802a":function(t,e){function i(t){return this.__data__.get(t)}t.exports=i},8155:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -220,7 +220,7 @@ var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i= //! moment.js locale configuration var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,i){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return n}))},"90d8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n=s(i("b14f")),o=s(i("3f68"));function s(t){return t&&t.__esModule?t:{default:t}}var r={name:"VtTableHeading",props:["column"],components:{RLTableHeading:n["default"],VtSortControl:o["default"]},render:function(){var t=arguments[0];return t("r-l-table-heading",{attrs:{column:this.column},scopedSlots:{default:function(e){return e.override?t(e.override,{attrs:{props:e}}):t("th",{on:{keypress:e.thEvents.keypress,click:e.thEvents.click},class:e.thAttrs["class"],attrs:{title:e.thAttrs.title,tabindex:e.thAttrs.tabIndex}},[t("span",{class:"VueTables__heading",attrs:{title:e.title}},[e.heading]),t("vt-sort-control")])}}})}};e["default"]=r},"90e3":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},"90ea":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},9112:function(t,e,i){var n=i("83ab"),o=i("9bf2"),s=i("5c6c");t.exports=n?function(t,e,i){return o.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},9129:function(t,e,i){var n=i("23e7");n({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},9178:function(t,e,i){"use strict";t.exports=function(){for(var t in this.$refs.table.customQueries)this.$refs.table.customQueries[t]=null;this.$refs.table.updateState("customQueries",this.customQueries),this.$refs.table.refresh()}},9194:function(t,e,i){"use strict";t.exports=function(t){return"vf__"+t.split(".").join("@@@")}},"91e9":function(t,e){function i(t,e){return function(i){return t(e(i))}}t.exports=i},9263:function(t,e,i){"use strict";var n=i("ad6d"),o=i("9f7f"),s=RegExp.prototype.exec,r=String.prototype.replace,a=s,g=function(){var t=/a/,e=/b*/g;return s.call(t,"a"),s.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),d=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],c=g||l||d;c&&(a=function(t){var e,i,o,a,c=this,h=d&&c.sticky,u=n.call(c),A=c.source,C=0,I=t;return h&&(u=u.replace("y",""),-1===u.indexOf("g")&&(u+="g"),I=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(A="(?: "+A+")",I=" "+I,C++),i=new RegExp("^(?:"+A+")",u)),l&&(i=new RegExp("^"+A+"$(?!\\s)",u)),g&&(e=c.lastIndex),o=s.call(h?i:c,I),h?o?(o.input=o.input.slice(C),o[0]=o[0].slice(C),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:g&&o&&(c.lastIndex=c.global?o.index+o[0].length:e),l&&o&&o.length>1&&r.call(o[0],i,(function(){for(a=1;a=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,i){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},9112:function(t,e,i){var n=i("83ab"),o=i("9bf2"),s=i("5c6c");t.exports=n?function(t,e,i){return o.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},9129:function(t,e,i){var n=i("23e7");n({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},9178:function(t,e,i){"use strict";t.exports=function(){for(var t in this.$refs.table.customQueries)this.$refs.table.customQueries[t]=null;this.$refs.table.updateState("customQueries",this.customQueries),this.$refs.table.refresh()}},9194:function(t,e,i){"use strict";t.exports=function(t){return"vf__"+t.split(".").join("@@@")}},"91e9":function(t,e){function i(t,e){return function(i){return t(e(i))}}t.exports=i},9263:function(t,e,i){"use strict";var n=i("ad6d"),o=i("9f7f"),s=i("5692"),r=RegExp.prototype.exec,a=s("native-string-replace",String.prototype.replace),g=r,d=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],h=d||c||l;h&&(g=function(t){var e,i,o,s,g=this,h=l&&g.sticky,u=n.call(g),A=g.source,C=0,I=t;return h&&(u=u.replace("y",""),-1===u.indexOf("g")&&(u+="g"),I=String(t).slice(g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==t[g.lastIndex-1])&&(A="(?: "+A+")",I=" "+I,C++),i=new RegExp("^(?:"+A+")",u)),c&&(i=new RegExp("^"+A+"$(?!\\s)",u)),d&&(e=g.lastIndex),o=r.call(h?i:g,I),h?o?(o.input=o.input.slice(C),o[0]=o[0].slice(C),o.index=g.lastIndex,g.lastIndex+=o[0].length):g.lastIndex=0:d&&o&&(g.lastIndex=g.global?o.index+o[0].length:e),c&&o&&o.length>1&&a.call(o[0],i,(function(){for(s=1;s=2&&e%10<=4&&(e%100<10||e%100>=20)?i[1]:i[2]}function i(t,i,n){var o={ss:i?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:i?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?i?"минута":"минуту":t+" "+e(o[n],+t)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],o=t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:i,m:i,mm:i,h:"час",hh:i,d:"день",dd:i,w:"неделя",ww:i,M:"месяц",MM:i,y:"год",yy:i},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,i){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}});return o}))},"958b":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -228,7 +228,7 @@ function e(t,e,i,n){switch(i){case"s":return e?"хэдхэн секунд":"хэ //! moment.js locale configuration var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},i=t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var i=t%10,n=t>=100?100:null;return t+(e[t]||e[i]||e[n])},week:{dow:1,doy:7}});return i}))},9638:function(t,e){function i(t,e){return t===e||t!==t&&e!==e}t.exports=i},9686:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return n}))},"96cf":function(t,e){!function(e){"use strict";var i,n=Object.prototype,o=n.hasOwnProperty,s="function"===typeof Symbol?Symbol:{},r=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",g=s.toStringTag||"@@toStringTag",d="object"===typeof t,l=e.regeneratorRuntime;if(l)d&&(t.exports=l);else{l=e.regeneratorRuntime=d?t.exports:{},l.wrap=v;var c="suspendedStart",h="suspendedYield",u="executing",A="completed",C={},I={};I[r]=function(){return this};var p=Object.getPrototypeOf,f=p&&p(p(S([])));f&&f!==n&&o.call(f,r)&&(I=f);var m=w.prototype=y.prototype=Object.create(I);_.prototype=m.constructor=w,w.constructor=_,w[g]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,g in t||(t[g]="GeneratorFunction")),t.prototype=Object.create(m),t},l.awrap=function(t){return{__await:t}},M(x.prototype),x.prototype[a]=function(){return this},l.AsyncIterator=x,l.async=function(t,e,i,n){var o=new x(v(t,e,i,n));return l.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},M(m),m[g]="Generator",m[r]=function(){return this},m.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){while(e.length){var n=e.pop();if(n in t)return i.value=n,i.done=!1,i}return i.done=!0,i}},l.values=S,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=i)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=i),!!o}for(var s=this.tryEntries.length-1;s>=0;--s){var r=this.tryEntries[s],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var g=o.call(r,"catchLoc"),d=o.call(r,"finallyLoc");if(g&&d){if(this.prev=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),L(i),C}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var o=n.arg;L(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=i),C}}}function v(t,e,i,n){var o=e&&e.prototype instanceof y?e:y,s=Object.create(o.prototype),r=new O(n||[]);return s._invoke=k(t,i,r),s}function b(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(n){return{type:"throw",arg:n}}}function y(){}function _(){}function w(){}function M(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){function e(i,n,s,r){var a=b(t[i],t,n);if("throw"!==a.type){var g=a.arg,d=g.value;return d&&"object"===typeof d&&o.call(d,"__await")?Promise.resolve(d.__await).then((function(t){e("next",t,s,r)}),(function(t){e("throw",t,s,r)})):Promise.resolve(d).then((function(t){g.value=t,s(g)}),r)}r(a.arg)}var i;function n(t,n){function o(){return new Promise((function(i,o){e(t,n,i,o)}))}return i=i?i.then(o,o):o()}this._invoke=n}function k(t,e,i){var n=c;return function(o,s){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===o)throw s;return Y()}i.method=o,i.arg=s;while(1){var r=i.delegate;if(r){var a=D(r,i);if(a){if(a===C)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(n===c)throw n=A,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n=u;var g=b(t,e,i);if("normal"===g.type){if(n=i.done?A:h,g.arg===C)continue;return{value:g.arg,done:i.done}}"throw"===g.type&&(n=A,i.method="throw",i.arg=g.arg)}}}function D(t,e){var n=t.iterator[e.method];if(n===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=i,D(t,e),"throw"===e.method))return C;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var o=b(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,C;var s=o.arg;return s?s.done?(e[t.resultName]=s.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=i),e.delegate=null,C):s:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,C)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function S(t){if(t){var e=t[r];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function e(){while(++n=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return n}))},"96cf":function(t,e,i){var n=function(t){"use strict";var e,i=Object.prototype,n=i.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",r=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function g(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{g({},"")}catch(S){g=function(t,e,i){return t[e]=i}}function d(t,e,i,n){var o=e&&e.prototype instanceof I?e:I,s=Object.create(o.prototype),r=new T(n||[]);return s._invoke=M(t,i,r),s}function l(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(S){return{type:"throw",arg:S}}}t.wrap=d;var c="suspendedStart",h="suspendedYield",u="executing",A="completed",C={};function I(){}function p(){}function f(){}var m={};m[s]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(L([])));b&&b!==i&&n.call(b,s)&&(m=b);var y=f.prototype=I.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){g(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(o,s,r,a){var g=l(t[o],t,s);if("throw"!==g.type){var d=g.arg,c=d.value;return c&&"object"===typeof c&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){i("next",t,r,a)}),(function(t){i("throw",t,r,a)})):e.resolve(c).then((function(t){d.value=t,r(d)}),(function(t){return i("throw",t,r,a)}))}a(g.arg)}var o;function s(t,n){function s(){return new e((function(e,o){i(t,n,e,o)}))}return o=o?o.then(s,s):s()}this._invoke=s}function M(t,e,i){var n=c;return function(o,s){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===o)throw s;return O()}i.method=o,i.arg=s;while(1){var r=i.delegate;if(r){var a=x(r,i);if(a){if(a===C)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(n===c)throw n=A,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n=u;var g=l(t,e,i);if("normal"===g.type){if(n=i.done?A:h,g.arg===C)continue;return{value:g.arg,done:i.done}}"throw"===g.type&&(n=A,i.method="throw",i.arg=g.arg)}}}function x(t,i){var n=t.iterator[i.method];if(n===e){if(i.delegate=null,"throw"===i.method){if(t.iterator["return"]&&(i.method="return",i.arg=e,x(t,i),"throw"===i.method))return C;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var o=l(n,t.iterator,i.arg);if("throw"===o.type)return i.method="throw",i.arg=o.arg,i.delegate=null,C;var s=o.arg;return s?s.done?(i[t.resultName]=s.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,C):s:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,C)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function L(t){if(t){var i=t[s];if(i)return i.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,r=function i(){while(++o=0;--s){var r=this.tryEntries[s],a=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var g=n.call(r,"catchLoc"),d=n.call(r,"finallyLoc");if(g&&d){if(this.prev=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),D(i),C}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var o=n.arg;D(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:L(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),C}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},"96e1":function(t,e,i){"use strict";t.exports=function(t){return!!this.opts.filterable&&(this.isTextFilter(t)?"vt-text-filter":this.isDateFilter(t)?"vt-date-filter":this.isListFilter(t)?"vt-list-filter":void 0)}},"970b":function(t,e){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=i,t.exports["default"]=t.exports,t.exports.__esModule=!0},"972c":function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration function e(t,e,i){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},o=" ";return(t%100>=20||t>=100&&t%100===0)&&(o=" de "),t+o+n[i]}var i=t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return i}))},9750:function(t,e,i){"use strict";function n(t,e){t.vuex?t.commit("SET_FILTER",e):(t.page=1,t.updateState("page",1),t.getData())}t.exports=function(t,e){var i=this.vuex?JSON.parse(JSON.stringify(this.query)):this.query;if("Object"==Object.prototype.toString.call(t).slice(8,-1)){i=this.vuex?JSON.parse(JSON.stringify(t)):t,this.vuex||(this.query=i);var o=e.target.name,s=e.target.value;o?(this.dispatch("filter",{name:o,value:s}),this.dispatch("filter::".concat(o),s)):this.dispatch("filter",s),this.updateState("query",i)}else if(t){var r=this.getName(t.target.name),a=t.target.value;r?i[r]=a:i=a,this.vuex||(this.query=i),r?(this.dispatch("filter",{name:r,value:a}),this.dispatch("filter::".concat(r),a)):this.dispatch("filter",a),this.updateState("query",i)}return n(this,i)}},9797:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -267,7 +267,7 @@ var e=t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_y //! moment.js locale configuration var e=t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,i){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return e}))},b575:function(t,e,i){var n,o,s,r,a,g,d,l,c=i("da84"),h=i("06cf").f,u=i("2cf4").set,A=i("1cdc"),C=i("a4b4"),I=i("605d"),p=c.MutationObserver||c.WebKitMutationObserver,f=c.document,m=c.process,v=c.Promise,b=h(c,"queueMicrotask"),y=b&&b.value;y||(n=function(){var t,e;I&&(t=m.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(i){throw o?r():s=void 0,i}}s=void 0,t&&t.enter()},A||I||C||!p||!f?v&&v.resolve?(d=v.resolve(void 0),l=d.then,r=function(){l.call(d,n)}):r=I?function(){m.nextTick(n)}:function(){u.call(c,n)}:(a=!0,g=f.createTextNode(""),new p(n).observe(g,{characterData:!0}),r=function(){g.data=a=!a})),t.exports=y||function(t){var e={fn:t,next:void 0};s&&(s.next=e),o||(o=e,r()),s=e}},b5a7:function(t,e,i){var n=i("0b07"),o=i("2b3e"),s=n(o,"DataView");t.exports=s},b5b7:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s=t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return s}))},b622:function(t,e,i){var n=i("da84"),o=i("5692"),s=i("5135"),r=i("90e3"),a=i("4930"),g=i("fdbf"),d=o("wks"),l=n.Symbol,c=g?l:l&&l.withoutSetter||r;t.exports=function(t){return s(d,t)||(a&&s(l,t)?d[t]=l[t]:d[t]=c("Symbol."+t)),d[t]}},b64b:function(t,e,i){var n=i("23e7"),o=i("7b0b"),s=i("df75"),r=i("d039"),a=r((function(){s(1)}));n({target:"Object",stat:!0,forced:a},{keys:function(t){return s(o(t))}})},b680:function(t,e,i){"use strict";var n=i("23e7"),o=i("a691"),s=i("408a"),r=i("1148"),a=i("d039"),g=1..toFixed,d=Math.floor,l=function(t,e,i){return 0===e?i:e%2===1?l(t,e-1,i*t):l(t*t,e/2,i)},c=function(t){var e=0,i=t;while(i>=4096)e+=12,i/=4096;while(i>=2)e+=1,i/=2;return e},h=function(t,e,i){var n=-1,o=i;while(++n<6)o+=e*t[n],t[n]=o%1e7,o=d(o/1e7)},u=function(t,e){var i=6,n=0;while(--i>=0)n+=t[i],t[i]=d(n/e),n=n%e*1e7},A=function(t){var e=6,i="";while(--e>=0)if(""!==i||0===e||0!==t[e]){var n=String(t[e]);i=""===i?n:i+r.call("0",7-n.length)+n}return i},C=g&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){g.call({})}));n({target:"Number",proto:!0,forced:C},{toFixed:function(t){var e,i,n,a,g=s(this),d=o(t),C=[0,0,0,0,0,0],I="",p="0";if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(g!=g)return"NaN";if(g<=-1e21||g>=1e21)return String(g);if(g<0&&(I="-",g=-g),g>1e-21)if(e=c(g*l(2,69,1))-69,i=e<0?g*l(2,-e,1):g/l(2,e,1),i*=4503599627370496,e=52-e,e>0){h(C,0,i),n=d;while(n>=7)h(C,1e7,0),n-=7;h(C,l(10,n,1),0),n=e-1;while(n>=23)u(C,1<<23),n-=23;u(C,1<0?(a=p.length,p=I+(a<=d?"0."+r.call("0",d-a)+p:p.slice(0,a-d)+"."+p.slice(a-d))):p=I+p,p}})},b727:function(t,e,i){var n=i("0366"),o=i("44ad"),s=i("7b0b"),r=i("50c4"),a=i("65f0"),g=[].push,d=function(t){var e=1==t,i=2==t,d=3==t,l=4==t,c=6==t,h=7==t,u=5==t||c;return function(A,C,I,p){for(var f,m,v=s(A),b=o(v),y=n(C,I,3),_=r(b.length),w=0,M=p||a,x=e?M(A,_):i||h?M(A,0):void 0;_>w;w++)if((u||w in b)&&(f=b[w],m=y(f,w,v),t))if(e)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return f;case 6:return w;case 2:g.call(x,f)}else switch(t){case 4:return!1;case 7:g.call(x,f)}return c?-1:d||l?l:x}};t.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterOut:d(7)}},b760:function(t,e,i){var n=i("872a"),o=i("9638");function s(t,e,i){(void 0!==i&&!o(t[e],i)||void 0===i&&!(e in t))&&n(t,e,i)}t.exports=s},b7e9:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,s=t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?i[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return s}))},b622:function(t,e,i){var n=i("da84"),o=i("5692"),s=i("5135"),r=i("90e3"),a=i("4930"),g=i("fdbf"),d=o("wks"),l=n.Symbol,c=g?l:l&&l.withoutSetter||r;t.exports=function(t){return s(d,t)&&(a||"string"==typeof d[t])||(a&&s(l,t)?d[t]=l[t]:d[t]=c("Symbol."+t)),d[t]}},b64b:function(t,e,i){var n=i("23e7"),o=i("7b0b"),s=i("df75"),r=i("d039"),a=r((function(){s(1)}));n({target:"Object",stat:!0,forced:a},{keys:function(t){return s(o(t))}})},b680:function(t,e,i){"use strict";var n=i("23e7"),o=i("a691"),s=i("408a"),r=i("1148"),a=i("d039"),g=1..toFixed,d=Math.floor,l=function(t,e,i){return 0===e?i:e%2===1?l(t,e-1,i*t):l(t*t,e/2,i)},c=function(t){var e=0,i=t;while(i>=4096)e+=12,i/=4096;while(i>=2)e+=1,i/=2;return e},h=function(t,e,i){var n=-1,o=i;while(++n<6)o+=e*t[n],t[n]=o%1e7,o=d(o/1e7)},u=function(t,e){var i=6,n=0;while(--i>=0)n+=t[i],t[i]=d(n/e),n=n%e*1e7},A=function(t){var e=6,i="";while(--e>=0)if(""!==i||0===e||0!==t[e]){var n=String(t[e]);i=""===i?n:i+r.call("0",7-n.length)+n}return i},C=g&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){g.call({})}));n({target:"Number",proto:!0,forced:C},{toFixed:function(t){var e,i,n,a,g=s(this),d=o(t),C=[0,0,0,0,0,0],I="",p="0";if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(g!=g)return"NaN";if(g<=-1e21||g>=1e21)return String(g);if(g<0&&(I="-",g=-g),g>1e-21)if(e=c(g*l(2,69,1))-69,i=e<0?g*l(2,-e,1):g/l(2,e,1),i*=4503599627370496,e=52-e,e>0){h(C,0,i),n=d;while(n>=7)h(C,1e7,0),n-=7;h(C,l(10,n,1),0),n=e-1;while(n>=23)u(C,1<<23),n-=23;u(C,1<0?(a=p.length,p=I+(a<=d?"0."+r.call("0",d-a)+p:p.slice(0,a-d)+"."+p.slice(a-d))):p=I+p,p}})},b727:function(t,e,i){var n=i("0366"),o=i("44ad"),s=i("7b0b"),r=i("50c4"),a=i("65f0"),g=[].push,d=function(t){var e=1==t,i=2==t,d=3==t,l=4==t,c=6==t,h=7==t,u=5==t||c;return function(A,C,I,p){for(var f,m,v=s(A),b=o(v),y=n(C,I,3),_=r(b.length),w=0,M=p||a,x=e?M(A,_):i||h?M(A,0):void 0;_>w;w++)if((u||w in b)&&(f=b[w],m=y(f,w,v),t))if(e)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return f;case 6:return w;case 2:g.call(x,f)}else switch(t){case 4:return!1;case 7:g.call(x,f)}return c?-1:d||l?l:x}};t.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterOut:d(7)}},b760:function(t,e,i){var n=i("872a"),o=i("9638");function s(t,e,i){(void 0!==i&&!o(t[e],i)||void 0===i&&!(e in t))&&n(t,e,i)}t.exports=s},b7e9:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}});return e}))},b84c:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -294,7 +294,7 @@ var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gu * * Forked By Naver egjs * Copyright (c) hammerjs - * Licensed under the MIT license */function n(){return n=Object.assign||function(t){for(var e=1;e-1}function q(t){if(Q(t,y))return y;var e=Q(t,_),i=Q(t,w);return e&&i?y:e||i?e?_:w:Q(t,b)?b:v}var $=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===m&&(t=this.compute()),p&&this.manager.element.style&&M[t]&&(this.manager.element.style[I]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return X(this.manager.recognizers,(function(e){J(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),q(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,o=Q(n,y)&&!M[y],s=Q(n,w)&&!M[w],r=Q(n,_)&&!M[_];if(o){var a=1===t.pointers.length,g=t.distance<2,d=t.deltaTime<250;if(a&&g&&d)return}if(!r||!s)return o||s&&i&V||r&&i&G?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function tt(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}function et(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};var i=0,n=0,o=0;while(o=u(e)?t<0?H:B:e<0?z:W}function rt(t,e){var i=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},s=t.prevInput||{};e.eventType!==P&&s.eventType!==N||(o=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=o.x+(i.x-n.x),e.deltaY=o.y+(i.y-n.y)}function at(t,e,i){return{x:e/t||0,y:i/t||0}}function gt(t,e){return nt(e[0],e[1],K)/nt(t[0],t[1],K)}function dt(t,e){return ot(e[1],e[0],K)+ot(t[1],t[0],K)}function lt(t,e){var i,n,o,s,r=t.lastInterval||e,a=e.timeStamp-r.timeStamp;if(e.eventType!==R&&(a>E||void 0===r.velocity)){var g=e.deltaX-r.deltaX,d=e.deltaY-r.deltaY,l=at(a,g,d);n=l.x,o=l.y,i=u(l.x)>u(l.y)?l.x:l.y,s=st(g,d),t.lastInterval=e}else i=r.velocity,n=r.velocityX,o=r.velocityY,s=r.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=s}function ct(t,e){var i=t.session,n=e.pointers,o=n.length;i.firstInput||(i.firstInput=it(e)),o>1&&!i.firstMultiple?i.firstMultiple=it(e):1===o&&(i.firstMultiple=!1);var s=i.firstInput,r=i.firstMultiple,a=r?r.center:s.center,g=e.center=et(n);e.timeStamp=A(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=ot(a,g),e.distance=nt(a,g),rt(i,e),e.offsetDirection=st(e.deltaX,e.deltaY);var d=at(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=d.x,e.overallVelocityY=d.y,e.overallVelocity=u(d.x)>u(d.y)?d.x:d.y,e.scale=r?gt(r.pointers,n):1,e.rotation=r?dt(r.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,lt(i,e);var l,c=t.element,h=e.srcEvent;l=h.composedPath?h.composedPath()[0]:h.path?h.path[0]:h.target,tt(l,c)&&(c=l),e.target=c}function ht(t,e,i){var n=i.pointers.length,o=i.changedPointers.length,s=e&P&&n-o===0,r=e&(N|R)&&n-o===0;i.isFirst=!!s,i.isFinal=!!r,s&&(t.session={}),i.eventType=e,ct(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function ut(t){return t.trim().split(/\s+/g)}function At(t,e,i){X(ut(e),(function(e){t.addEventListener(e,i,!1)}))}function Ct(t,e,i){X(ut(e),(function(e){t.removeEventListener(e,i,!1)}))}function It(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var pt=function(){function t(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){J(t.options.enable,[t])&&i.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&At(this.element,this.evEl,this.domHandler),this.evTarget&&At(this.target,this.evTarget,this.domHandler),this.evWin&&At(It(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Ct(this.element,this.evEl,this.domHandler),this.evTarget&&Ct(this.target,this.evTarget,this.domHandler),this.evWin&&Ct(It(this.element),this.evWin,this.domHandler)},t}();function ft(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);var n=0;while(ni[e]})):n.sort()),n}var xt={touchstart:P,touchmove:j,touchend:N,touchcancel:R},kt="touchstart touchmove touchend touchcancel",Dt=function(t){function e(){var i;return e.prototype.evTarget=kt,i=t.apply(this,arguments)||this,i.targetIds={},i}o(e,t);var i=e.prototype;return i.handler=function(t){var e=xt[t.type],i=Tt.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})},e}(pt);function Tt(t,e){var i,n,o=wt(t.touches),s=this.targetIds;if(e&(P|j)&&1===o.length)return s[o[0].identifier]=!0,[o,o];var r=wt(t.changedTouches),a=[],g=this.target;if(n=o.filter((function(t){return tt(t.target,g)})),e===P){i=0;while(i-1&&o.splice(t,1)};setTimeout(s,Et)}}function Nt(t,e){t&P?(this.primaryTouch=e.changedPointers[0].identifier,jt.call(this,e)):t&(N|R)&&jt.call(this,e)}function Rt(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i=Gt&&n(e.options.event+qt(i))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Kt},e.canEmit=function(){var t=0;while(te.threshold&&o&e.direction},i.attrTest=function(t){return ee.prototype.attrTest.call(this,t)&&(this.state&Wt||!(this.state&Wt)&&this.directionTest(t))},i.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var i=ie(e.direction);i&&(e.additionalEvent=this.options.event+i),t.prototype.emit.call(this,e)},e}(ee),oe=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"swipe",threshold:10,velocity:.3,direction:V|G,pointers:1},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return ne.prototype.getTouchAction.call(this)},i.attrTest=function(e){var i,n=this.options.direction;return n&(V|G)?i=e.overallVelocity:n&V?i=e.overallVelocityX:n&G&&(i=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&u(i)>this.options.velocity&&e.eventType&N},i.emit=function(t){var e=ie(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(ee),se=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"pinch",threshold:0,pointers:2},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[y]},i.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Wt)},i.emit=function(e){if(1!==e.scale){var i=e.scale<1?"in":"out";e.additionalEvent=this.options.event+i}t.prototype.emit.call(this,e)},e}(ee),re=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"rotate",threshold:0,pointers:2},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[y]},i.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Wt)},e}(ee),ae=function(t){function e(e){var i;return void 0===e&&(e={}),i=t.call(this,n({event:"press",pointers:1,time:251,threshold:9},e))||this,i._timer=null,i._input=null,i}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[v]},i.process=function(t){var e=this,i=this.options,n=t.pointers.length===i.pointers,o=t.distancei.time;if(this._input=t,!o||!n||t.eventType&(N|R)&&!s)this.reset();else if(t.eventType&P)this.reset(),this._timer=setTimeout((function(){e.state=Zt,e.tryEmit()}),i.time);else if(t.eventType&N)return Zt;return Kt},i.reset=function(){clearTimeout(this._timer)},i.emit=function(t){this.state===Zt&&(t&&t.eventType&N?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=A(),this.manager.emit(this.options.event,this._input)))},e}($t),ge={domEvents:!1,touchAction:m,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},de=[[re,{enable:!1}],[se,{enable:!1},["rotate"]],[oe,{direction:V}],[ne,{direction:V},["swipe"]],[te],[te,{event:"doubletap",taps:2},["tap"]],[ae]],le=1,ce=2;function he(t,e){var i,n=t.element;n.style&&(X(t.options.cssProps,(function(o,s){i=C(n.style,s),e?(t.oldCssProps[i]=n.style[i],n.style[i]=o):n.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}function ue(t,e){var i=document.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}var Ae=function(){function t(t,e){var i=this;this.options=g({},ge,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=Ht(this),this.touchAction=new $(this,this.options.touchAction),he(this,!0),X(this.options.recognizers,(function(t){var e=i.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return g(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?ce:le},e.recognize=function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Zt)&&(e.curRecognizer=null,o=null);var s=0;while(s\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,n,i),t.apply(this,arguments)}}var be=ve((function(t,e,i){var n=Object.keys(e),o=0;while(o1?arguments[1]:void 0)}})},ca84:function(t,e,i){var n=i("5135"),o=i("fc6a"),s=i("4d64").indexOf,r=i("d012");t.exports=function(t,e){var i,a=o(t),g=0,d=[];for(i in a)!n(r,i)&&n(a,i)&&d.push(i);while(e.length>g)n(a,i=e[g++])&&(~s(d,i)||d.push(i));return d}},caad:function(t,e,i){"use strict";var n=i("23e7"),o=i("4d64").includes,s=i("44d2");n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},caef:function(t,e,i){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t.exports=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.limit="object"===n(t)?t.target.value:t,this.updateState("perPage",this.limit),this.dispatch("limit",parseInt(this.limit)),e&&this.setPage(1)}},cb13:function(t,e,i){"use strict";i.r(e),i.d(e,"Alea",(function(){return d})),i.d(e,"DELETE",(function(){return n})),i.d(e,"HSVToHex",(function(){return ot})),i.d(e,"HSVToRGB",(function(){return nt})),i.d(e,"RGBToHSV",(function(){return $})),i.d(e,"RGBToHex",(function(){return Q})),i.d(e,"addClassName",(function(){return N})),i.d(e,"addCssText",(function(){return et})),i.d(e,"addEventListener",(function(){return W})),i.d(e,"binarySearchCustom",(function(){return ut})),i.d(e,"binarySearchValue",(function(){return At})),i.d(e,"bridgeObject",(function(){return lt})),i.d(e,"copyAndExtendArray",(function(){return S})),i.d(e,"copyArray",(function(){return Y})),i.d(e,"deepExtend",(function(){return T})),i.d(e,"deepObjectAssign",(function(){return s})),i.d(e,"easingFunctions",(function(){return Ct})),i.d(e,"equalArray",(function(){return L})),i.d(e,"extend",(function(){return M})),i.d(e,"fillIfDefined",(function(){return w})),i.d(e,"forEach",(function(){return F})),i.d(e,"getAbsoluteLeft",(function(){return E})),i.d(e,"getAbsoluteRight",(function(){return P})),i.d(e,"getAbsoluteTop",(function(){return j})),i.d(e,"getScrollBarWidth",(function(){return It})),i.d(e,"getTarget",(function(){return Z})),i.d(e,"getType",(function(){return O})),i.d(e,"hasParent",(function(){return U})),i.d(e,"hexToHSV",(function(){return st})),i.d(e,"hexToRGB",(function(){return X})),i.d(e,"insertSort",(function(){return ct})),i.d(e,"isDate",(function(){return y})),i.d(e,"isNumber",(function(){return f})),i.d(e,"isObject",(function(){return b})),i.d(e,"isString",(function(){return v})),i.d(e,"isValidHex",(function(){return rt})),i.d(e,"isValidRGB",(function(){return at})),i.d(e,"isValidRGBA",(function(){return gt})),i.d(e,"mergeOptions",(function(){return ht})),i.d(e,"option",(function(){return K})),i.d(e,"overrideOpacity",(function(){return J})),i.d(e,"parseColor",(function(){return q})),i.d(e,"preventDefault",(function(){return G})),i.d(e,"pureDeepObjectAssign",(function(){return o})),i.d(e,"recursiveDOMDelete",(function(){return m})),i.d(e,"removeClassName",(function(){return R})),i.d(e,"removeCssText",(function(){return it})),i.d(e,"removeEventListener",(function(){return V})),i.d(e,"selectiveBridgeObject",(function(){return dt})),i.d(e,"selectiveDeepExtend",(function(){return k})),i.d(e,"selectiveExtend",(function(){return x})),i.d(e,"selectiveNotDeepExtend",(function(){return D})),i.d(e,"throttle",(function(){return z})),i.d(e,"toArray",(function(){return H})),i.d(e,"topMost",(function(){return pt})),i.d(e,"updateProperty",(function(){return B})); + * Licensed under the MIT license */function n(){return n=Object.assign||function(t){for(var e=1;e-1}function q(t){if(Q(t,y))return y;var e=Q(t,_),i=Q(t,w);return e&&i?y:e||i?e?_:w:Q(t,b)?b:v}var $=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===m&&(t=this.compute()),p&&this.manager.element.style&&M[t]&&(this.manager.element.style[I]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return X(this.manager.recognizers,(function(e){J(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),q(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,o=Q(n,y)&&!M[y],s=Q(n,w)&&!M[w],r=Q(n,_)&&!M[_];if(o){var a=1===t.pointers.length,g=t.distance<2,d=t.deltaTime<250;if(a&&g&&d)return}if(!r||!s)return o||s&&i&V||r&&i&G?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function tt(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}function et(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};var i=0,n=0,o=0;while(o=u(e)?t<0?H:B:e<0?z:W}function rt(t,e){var i=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},s=t.prevInput||{};e.eventType!==P&&s.eventType!==N||(o=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=o.x+(i.x-n.x),e.deltaY=o.y+(i.y-n.y)}function at(t,e,i){return{x:e/t||0,y:i/t||0}}function gt(t,e){return nt(e[0],e[1],K)/nt(t[0],t[1],K)}function dt(t,e){return ot(e[1],e[0],K)+ot(t[1],t[0],K)}function lt(t,e){var i,n,o,s,r=t.lastInterval||e,a=e.timeStamp-r.timeStamp;if(e.eventType!==R&&(a>E||void 0===r.velocity)){var g=e.deltaX-r.deltaX,d=e.deltaY-r.deltaY,l=at(a,g,d);n=l.x,o=l.y,i=u(l.x)>u(l.y)?l.x:l.y,s=st(g,d),t.lastInterval=e}else i=r.velocity,n=r.velocityX,o=r.velocityY,s=r.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=s}function ct(t,e){var i=t.session,n=e.pointers,o=n.length;i.firstInput||(i.firstInput=it(e)),o>1&&!i.firstMultiple?i.firstMultiple=it(e):1===o&&(i.firstMultiple=!1);var s=i.firstInput,r=i.firstMultiple,a=r?r.center:s.center,g=e.center=et(n);e.timeStamp=A(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=ot(a,g),e.distance=nt(a,g),rt(i,e),e.offsetDirection=st(e.deltaX,e.deltaY);var d=at(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=d.x,e.overallVelocityY=d.y,e.overallVelocity=u(d.x)>u(d.y)?d.x:d.y,e.scale=r?gt(r.pointers,n):1,e.rotation=r?dt(r.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,lt(i,e);var l,c=t.element,h=e.srcEvent;l=h.composedPath?h.composedPath()[0]:h.path?h.path[0]:h.target,tt(l,c)&&(c=l),e.target=c}function ht(t,e,i){var n=i.pointers.length,o=i.changedPointers.length,s=e&P&&n-o===0,r=e&(N|R)&&n-o===0;i.isFirst=!!s,i.isFinal=!!r,s&&(t.session={}),i.eventType=e,ct(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function ut(t){return t.trim().split(/\s+/g)}function At(t,e,i){X(ut(e),(function(e){t.addEventListener(e,i,!1)}))}function Ct(t,e,i){X(ut(e),(function(e){t.removeEventListener(e,i,!1)}))}function It(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var pt=function(){function t(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){J(t.options.enable,[t])&&i.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&At(this.element,this.evEl,this.domHandler),this.evTarget&&At(this.target,this.evTarget,this.domHandler),this.evWin&&At(It(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Ct(this.element,this.evEl,this.domHandler),this.evTarget&&Ct(this.target,this.evTarget,this.domHandler),this.evWin&&Ct(It(this.element),this.evWin,this.domHandler)},t}();function ft(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);var n=0;while(ni[e]})):n.sort()),n}var xt={touchstart:P,touchmove:j,touchend:N,touchcancel:R},kt="touchstart touchmove touchend touchcancel",Dt=function(t){function e(){var i;return e.prototype.evTarget=kt,i=t.apply(this,arguments)||this,i.targetIds={},i}o(e,t);var i=e.prototype;return i.handler=function(t){var e=xt[t.type],i=Tt.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})},e}(pt);function Tt(t,e){var i,n,o=wt(t.touches),s=this.targetIds;if(e&(P|j)&&1===o.length)return s[o[0].identifier]=!0,[o,o];var r=wt(t.changedTouches),a=[],g=this.target;if(n=o.filter((function(t){return tt(t.target,g)})),e===P){i=0;while(i-1&&o.splice(t,1)};setTimeout(s,Et)}}function Nt(t,e){t&P?(this.primaryTouch=e.changedPointers[0].identifier,jt.call(this,e)):t&(N|R)&&jt.call(this,e)}function Rt(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(e,1),this},e.hasRequireFailures=function(){return this.requireFail.length>0},e.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},e.emit=function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i=Gt&&n(e.options.event+qt(i))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=Kt},e.canEmit=function(){var t=0;while(te.threshold&&o&e.direction},i.attrTest=function(t){return ee.prototype.attrTest.call(this,t)&&(this.state&Wt||!(this.state&Wt)&&this.directionTest(t))},i.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var i=ie(e.direction);i&&(e.additionalEvent=this.options.event+i),t.prototype.emit.call(this,e)},e}(ee),oe=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"swipe",threshold:10,velocity:.3,direction:V|G,pointers:1},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return ne.prototype.getTouchAction.call(this)},i.attrTest=function(e){var i,n=this.options.direction;return n&(V|G)?i=e.overallVelocity:n&V?i=e.overallVelocityX:n&G&&(i=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&u(i)>this.options.velocity&&e.eventType&N},i.emit=function(t){var e=ie(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(ee),se=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"pinch",threshold:0,pointers:2},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[y]},i.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Wt)},i.emit=function(e){if(1!==e.scale){var i=e.scale<1?"in":"out";e.additionalEvent=this.options.event+i}t.prototype.emit.call(this,e)},e}(ee),re=function(t){function e(e){return void 0===e&&(e={}),t.call(this,n({event:"rotate",threshold:0,pointers:2},e))||this}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[y]},i.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Wt)},e}(ee),ae=function(t){function e(e){var i;return void 0===e&&(e={}),i=t.call(this,n({event:"press",pointers:1,time:251,threshold:9},e))||this,i._timer=null,i._input=null,i}o(e,t);var i=e.prototype;return i.getTouchAction=function(){return[v]},i.process=function(t){var e=this,i=this.options,n=t.pointers.length===i.pointers,o=t.distancei.time;if(this._input=t,!o||!n||t.eventType&(N|R)&&!s)this.reset();else if(t.eventType&P)this.reset(),this._timer=setTimeout((function(){e.state=Zt,e.tryEmit()}),i.time);else if(t.eventType&N)return Zt;return Kt},i.reset=function(){clearTimeout(this._timer)},i.emit=function(t){this.state===Zt&&(t&&t.eventType&N?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=A(),this.manager.emit(this.options.event,this._input)))},e}($t),ge={domEvents:!1,touchAction:m,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},de=[[re,{enable:!1}],[se,{enable:!1},["rotate"]],[oe,{direction:V}],[ne,{direction:V},["swipe"]],[te],[te,{event:"doubletap",taps:2},["tap"]],[ae]],le=1,ce=2;function he(t,e){var i,n=t.element;n.style&&(X(t.options.cssProps,(function(o,s){i=C(n.style,s),e?(t.oldCssProps[i]=n.style[i],n.style[i]=o):n.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}function ue(t,e){var i=document.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}var Ae=function(){function t(t,e){var i=this;this.options=g({},ge,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=Ht(this),this.touchAction=new $(this,this.options.touchAction),he(this,!0),X(this.options.recognizers,(function(t){var e=i.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}var e=t.prototype;return e.set=function(t){return g(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},e.stop=function(t){this.session.stopped=t?ce:le},e.recognize=function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Zt)&&(e.curRecognizer=null,o=null);var s=0;while(s\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,n,i),t.apply(this,arguments)}}var be=ve((function(t,e,i){var n=Object.keys(e),o=0;while(og)n(a,i=e[g++])&&(~s(d,i)||d.push(i));return d}},caad:function(t,e,i){"use strict";var n=i("23e7"),o=i("4d64").includes,s=i("44d2");n({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},caef:function(t,e,i){"use strict";function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t.exports=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.limit="object"===n(t)?t.target.value:t,this.updateState("perPage",this.limit),this.dispatch("limit",parseInt(this.limit)),e&&this.setPage(1)}},cb13:function(t,e,i){"use strict";i.r(e),i.d(e,"Alea",(function(){return d})),i.d(e,"DELETE",(function(){return n})),i.d(e,"HSVToHex",(function(){return ot})),i.d(e,"HSVToRGB",(function(){return nt})),i.d(e,"RGBToHSV",(function(){return $})),i.d(e,"RGBToHex",(function(){return Q})),i.d(e,"addClassName",(function(){return N})),i.d(e,"addCssText",(function(){return et})),i.d(e,"addEventListener",(function(){return W})),i.d(e,"binarySearchCustom",(function(){return ut})),i.d(e,"binarySearchValue",(function(){return At})),i.d(e,"bridgeObject",(function(){return lt})),i.d(e,"copyAndExtendArray",(function(){return S})),i.d(e,"copyArray",(function(){return Y})),i.d(e,"deepExtend",(function(){return T})),i.d(e,"deepObjectAssign",(function(){return s})),i.d(e,"easingFunctions",(function(){return Ct})),i.d(e,"equalArray",(function(){return L})),i.d(e,"extend",(function(){return M})),i.d(e,"fillIfDefined",(function(){return w})),i.d(e,"forEach",(function(){return F})),i.d(e,"getAbsoluteLeft",(function(){return E})),i.d(e,"getAbsoluteRight",(function(){return P})),i.d(e,"getAbsoluteTop",(function(){return j})),i.d(e,"getScrollBarWidth",(function(){return It})),i.d(e,"getTarget",(function(){return Z})),i.d(e,"getType",(function(){return O})),i.d(e,"hasParent",(function(){return U})),i.d(e,"hexToHSV",(function(){return st})),i.d(e,"hexToRGB",(function(){return X})),i.d(e,"insertSort",(function(){return ct})),i.d(e,"isDate",(function(){return y})),i.d(e,"isNumber",(function(){return f})),i.d(e,"isObject",(function(){return b})),i.d(e,"isString",(function(){return v})),i.d(e,"isValidHex",(function(){return rt})),i.d(e,"isValidRGB",(function(){return at})),i.d(e,"isValidRGBA",(function(){return gt})),i.d(e,"mergeOptions",(function(){return ht})),i.d(e,"option",(function(){return K})),i.d(e,"overrideOpacity",(function(){return J})),i.d(e,"parseColor",(function(){return q})),i.d(e,"preventDefault",(function(){return G})),i.d(e,"pureDeepObjectAssign",(function(){return o})),i.d(e,"recursiveDOMDelete",(function(){return m})),i.d(e,"removeClassName",(function(){return R})),i.d(e,"removeCssText",(function(){return it})),i.d(e,"removeEventListener",(function(){return V})),i.d(e,"selectiveBridgeObject",(function(){return dt})),i.d(e,"selectiveDeepExtend",(function(){return k})),i.d(e,"selectiveExtend",(function(){return x})),i.d(e,"selectiveNotDeepExtend",(function(){return D})),i.d(e,"throttle",(function(){return z})),i.d(e,"toArray",(function(){return H})),i.d(e,"topMost",(function(){return pt})),i.d(e,"updateProperty",(function(){return B})); /** * vis-util * https://github.com/visjs/vis-util @@ -362,7 +362,7 @@ var e=t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_A //! moment.js locale configuration var e=t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}});return e}))},d716:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}});return e}))},d784:function(t,e,i){"use strict";i("ac1f");var n=i("6eeb"),o=i("d039"),s=i("b622"),r=i("9263"),a=i("9112"),g=s("species"),d=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
      ")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),c=s("replace"),h=function(){return!!/./[c]&&""===/./[c]("a","$0")}(),u=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,c){var A=s(t),C=!o((function(){var e={};return e[A]=function(){return 7},7!=""[t](e)})),I=C&&!o((function(){var e=!1,i=/a/;return"split"===t&&(i={},i.constructor={},i.constructor[g]=function(){return i},i.flags="",i[A]=/./[A]),i.exec=function(){return e=!0,null},i[A](""),!e}));if(!C||!I||"replace"===t&&(!d||!l||h)||"split"===t&&!u){var p=/./[A],f=i(A,""[t],(function(t,e,i,n,o){return e.exec===r?C&&!o?{done:!0,value:p.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),m=f[0],v=f[1];n(String.prototype,t,m),n(RegExp.prototype,A,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}c&&a(RegExp.prototype[A],"sham",!0)}},d81d:function(t,e,i){"use strict";var n=i("23e7"),o=i("b727").map,s=i("1dde"),r=s("map");n({target:"Array",proto:!0,forced:!r},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},d925:function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9d6:function(t,e,i){"use strict";function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var o=i("c1c0");t.exports=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.opts.requestKeys,s=(t={},n(t,i.query,this.filteredQuery),n(t,i.limit,this.limit),n(t,i.ascending,this.orderBy.ascending?1:0),n(t,i.page,parseInt(this.page)),n(t,i.byColumn,this.opts.filterByColumn?1:0),t);return this.orderBy.hasOwnProperty("column")&&this.orderBy.column&&(s[i.orderBy]=this.orderBy.column),s=o(s,this.opts.params,this.customQueries,e),this.hasMultiSort&&this.orderBy.column&&this.userMultiSorting[this.orderBy.column]&&(s.multiSort=this.userMultiSorting[this.orderBy.column]),s}},d9d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLDropdownPagination",inject:["limit","count","theme","page","setPage","totalPages","componentsOverride","id","opts"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),name:this.id,setPage:this.setPage,page:this.page(),records:this.count(),perPage:parseInt(this.limit()),theme:this.theme,totalPages:this.totalPages(),override:this.componentsOverride.dropdownPagination})}};e["default"]=n},d9f8:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var i=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(i="a"),t+i},week:{dow:1,doy:4}});return e}))},d784:function(t,e,i){"use strict";i("ac1f");var n=i("6eeb"),o=i("d039"),s=i("b622"),r=i("9112"),a=s("species"),g=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),d=function(){return"$0"==="a".replace(/./,"$0")}(),l=s("replace"),c=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,l){var u=s(t),A=!o((function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})),C=A&&!o((function(){var e=!1,i=/a/;return"split"===t&&(i={},i.constructor={},i.constructor[a]=function(){return i},i.flags="",i[u]=/./[u]),i.exec=function(){return e=!0,null},i[u](""),!e}));if(!A||!C||"replace"===t&&(!g||!d||c)||"split"===t&&!h){var I=/./[u],p=i(u,""[t],(function(t,e,i,n,o){return e.exec===RegExp.prototype.exec?A&&!o?{done:!0,value:I.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:d,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:c}),f=p[0],m=p[1];n(String.prototype,t,f),n(RegExp.prototype,u,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}l&&r(RegExp.prototype[u],"sham",!0)}},d81d:function(t,e,i){"use strict";var n=i("23e7"),o=i("b727").map,s=i("1dde"),r=s("map");n({target:"Array",proto:!0,forced:!r},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},d925:function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9d6:function(t,e,i){"use strict";function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var o=i("c1c0");t.exports=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.opts.requestKeys,s=(t={},n(t,i.query,this.filteredQuery),n(t,i.limit,this.limit),n(t,i.ascending,this.orderBy.ascending?1:0),n(t,i.page,parseInt(this.page)),n(t,i.byColumn,this.opts.filterByColumn?1:0),t);return this.orderBy.hasOwnProperty("column")&&this.orderBy.column&&(s[i.orderBy]=this.orderBy.column),s=o(s,this.opts.params,this.customQueries,e),this.hasMultiSort&&this.orderBy.column&&this.userMultiSorting[this.orderBy.column]&&(s.multiSort=this.userMultiSorting[this.orderBy.column]),s}},d9d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={name:"RLDropdownPagination",inject:["limit","count","theme","page","setPage","totalPages","componentsOverride","id","opts"],render:function(){return this.$scopedSlots["default"]({opts:this.opts(),name:this.id,setPage:this.setPage,page:this.page(),records:this.count(),perPage:parseInt(this.limit()),theme:this.theme,totalPages:this.totalPages(),override:this.componentsOverride.dropdownPagination})}};e["default"]=n},d9f8:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}});return e}))},da03:function(t,e,i){var n=i("2b3e"),o=n["__core-js_shared__"];t.exports=o},da84:function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i("c8ba"))},db29:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration @@ -372,7 +372,7 @@ var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0 //! moment.js locale configuration var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},n=t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,i){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return n}))},e128:function(t,e,i){"use strict";t.exports=function(t){var e=this;if(this.userControlsColumns||(this.userColumnsDisplay=JSON.parse(JSON.stringify(this.allColumns)),this.userControlsColumns=!0),this.userColumnsDisplay.includes(t)){if(1===this.userColumnsDisplay.length)return;var i=this.userColumnsDisplay.indexOf(t);this.userColumnsDisplay.splice(i,1)}else this.userColumnsDisplay.push(t);this.updateState("userControlsColumns",!0),this.updateState("userColumnsDisplay",this.userColumnsDisplay),this.$nextTick((function(){e._setFiltersDOM(e.query),e.userColumnsDisplay.includes(t)&&e.opts.dateColumns.includes(t)&&e.initDateFilters()}))}},e163:function(t,e,i){var n=i("5135"),o=i("7b0b"),s=i("f772"),r=i("e177"),a=s("IE_PROTO"),g=Object.prototype;t.exports=r?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?g:null}},e177:function(t,e,i){var n=i("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e1d3:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration -var e=t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}});return e}))},e1f4:function(t,e){var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(i){var n=new Uint8Array(16);t.exports=function(){return i(n),n}}else{var o=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0===(3&e)&&(t=4294967296*Math.random()),o[e]=t>>>((3&e)<<3)&255;return o}}},e24b:function(t,e,i){var n=i("49f4"),o=i("1efc"),s=i("bbc0"),r=i("7a48"),a=i("2524");function g(t){var e=-1,i=null==t?0:t.length;this.clear();while(++e=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,i){var n=i("6eeb");t.exports=function(t,e,i){for(var o in e)n(t,o,e[o],i);return t}},e37d:function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return gt}));var n=i("f0bd"),o=i("63ea"),s=i.n(o),r=i("252c"),a=i("42454"),g=i.n(a);function d(t){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var i=0;i
      ',trigger:"hover focus",offset:0},_=[],w=function(){function t(e,i){var n=this;l(this,t),u(this,"_events",[]),u(this,"_setTooltipNodeEvent",(function(t,e,i,o){var s=t.relatedreference||t.toElement||t.relatedTarget,r=function i(s){var r=s.relatedreference||s.toElement||s.relatedTarget;n._tooltipNode.removeEventListener(t.type,i),e.contains(r)||n._scheduleHide(e,o.delay,o,s)};return!!n._tooltipNode.contains(s)&&(n._tooltipNode.addEventListener(t.type,r),!0)})),i=C(C({},y),i),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=i,this._isOpen=!1,this._init()}return h(t,[{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(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,i=t&&t.classes||E.options.defaultClass;s()(this._classes,i)||(this.setClasses(i),e=!0),t=D(t);var n=!1,o=!1;for(var r in this.options.offset===t.offset&&this.options.placement===t.placement||(n=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(o=!0),t)this.options[r]=t[r];if(this._tooltipNode)if(o){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else n&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"===typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var i=this,n=window.document.createElement("div");n.innerHTML=e.trim();var o=n.childNodes[0];return o.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),o.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(o.addEventListener("mouseenter",(function(e){return i._scheduleHide(t,i.options.delay,i.options,e)})),o.addEventListener("click",(function(e){return i._scheduleHide(t,i.options.delay,i.options,e)}))),o}},{key:"_setContent",value:function(t,e){var i=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){i.popperInstance&&i.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var i=this;return new Promise((function(n,o){var s=e.html,r=i._tooltipNode;if(r){var a=r.querySelector(i.options.innerSelector);if(1===t.nodeType){if(s){while(a.firstChild)a.removeChild(a.firstChild);a.appendChild(t)}}else{if("function"===typeof t){var g=t();return void(g&&"function"===typeof g.then?(i.asyncContent=!0,e.loadingClass&&f(r,e.loadingClass),e.loadingContent&&i._applyContent(e.loadingContent,e),g.then((function(t){return e.loadingClass&&m(r,e.loadingClass),i._applyContent(t,e)})).then(n).catch(o)):i._applyContent(g,e).then(n).catch(o))}s?a.innerHTML=t:a.innerText=t}n()}}))}},{key:"_show",value:function(t,e){if(e&&"string"===typeof e.container){var i=document.querySelector(e.container);if(!i)return}clearTimeout(this._disposeTimer),e=Object.assign({},e),delete e.offset;var n=!0;this._tooltipNode&&(f(this._tooltipNode,this._classes),n=!1);var o=this._ensureShown(t,e);return n&&this._tooltipNode&&f(this._tooltipNode,this._classes),f(t,["v-tooltip-open"]),o}},{key:"_ensureShown",value:function(t,e){var i=this;if(this._isOpen)return this;if(this._isOpen=!0,_.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(e.title,e),this;var o=t.getAttribute("title")||e.title;if(!o)return this;var s=this._create(t,e.template);this._tooltipNode=s,t.setAttribute("aria-describedby",s.id);var r=this._findContainer(e.container,t);this._append(s,r);var a=C(C({},e.popperOptions),{},{placement:e.placement});return a.modifiers=C(C({},a.modifiers),{},{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new n["a"](t,s,a),this._setContent(o,e),requestAnimationFrame((function(){!i._isDisposed&&i.popperInstance?(i.popperInstance.update(),requestAnimationFrame((function(){i._isDisposed?i.dispose():i._isOpen&&s.setAttribute("aria-hidden","false")}))):i.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=_.indexOf(this);-1!==t&&_.splice(t,1)}},{key:"_hide",value:function(){var t=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 e=E.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),m(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var i=e.func,n=e.event;t.reference.removeEventListener(n,i)})),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(t,e){return"string"===typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,i){var n=this,o=[],s=[];e.forEach((function(t){switch(t){case"hover":o.push("mouseenter"),s.push("mouseleave"),n.options.hideOnTargetClick&&s.push("click");break;case"focus":o.push("focus"),s.push("blur"),n.options.hideOnTargetClick&&s.push("click");break;case"click":o.push("click"),s.push("click");break}})),o.forEach((function(e){var o=function(e){!0!==n._isOpen&&(e.usedByTooltip=!0,n._scheduleShow(t,i.delay,i,e))};n._events.push({event:e,func:o}),t.addEventListener(e,o)})),s.forEach((function(e){var o=function(e){!0!==e.usedByTooltip&&n._scheduleHide(t,i.delay,i,e)};n._events.push({event:e,func:o}),t.addEventListener(e,o)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,i){var n=this,o=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return n._show(t,i)}),o)}},{key:"_scheduleHide",value:function(t,e,i,n){var o=this,s=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==o._isOpen&&o._tooltipNode.ownerDocument.body.contains(o._tooltipNode)){if("mouseleave"===n.type){var s=o._setTooltipNodeEvent(n,t,e,i);if(s)return}o._hide(t,i)}}),s)}}]),t}();"undefined"!==typeof document&&document.addEventListener("touchstart",(function(t){for(var e=0;e<_.length;e++)_[e]._onDocumentTouch(t)}),!v||{passive:!0,capture:!0});var M={enabled:!0},x=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],k={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'',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 D(t){var e={placement:"undefined"!==typeof t.placement?t.placement:E.options.defaultPlacement,delay:"undefined"!==typeof t.delay?t.delay:E.options.defaultDelay,html:"undefined"!==typeof t.html?t.html:E.options.defaultHtml,template:"undefined"!==typeof t.template?t.template:E.options.defaultTemplate,arrowSelector:"undefined"!==typeof t.arrowSelector?t.arrowSelector:E.options.defaultArrowSelector,innerSelector:"undefined"!==typeof t.innerSelector?t.innerSelector:E.options.defaultInnerSelector,trigger:"undefined"!==typeof t.trigger?t.trigger:E.options.defaultTrigger,offset:"undefined"!==typeof t.offset?t.offset:E.options.defaultOffset,container:"undefined"!==typeof t.container?t.container:E.options.defaultContainer,boundariesElement:"undefined"!==typeof t.boundariesElement?t.boundariesElement:E.options.defaultBoundariesElement,autoHide:"undefined"!==typeof t.autoHide?t.autoHide:E.options.autoHide,hideOnTargetClick:"undefined"!==typeof t.hideOnTargetClick?t.hideOnTargetClick:E.options.defaultHideOnTargetClick,loadingClass:"undefined"!==typeof t.loadingClass?t.loadingClass:E.options.defaultLoadingClass,loadingContent:"undefined"!==typeof t.loadingContent?t.loadingContent:E.options.defaultLoadingContent,popperOptions:C({},"undefined"!==typeof t.popperOptions?t.popperOptions:E.options.defaultPopperOptions)};if(e.offset){var i=d(e.offset),n=e.offset;("number"===i||"string"===i&&-1===n.indexOf(","))&&(n="0, ".concat(n)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:n}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function T(t,e){for(var i=t.placement,n=0;n2&&void 0!==arguments[2]?arguments[2]:{},n=L(e),o="undefined"!==typeof e.classes?e.classes:E.options.defaultClass,s=C({title:n},D(C(C({},"object"===d(e)?e:{}),{},{placement:T(e,i)}))),r=t._tooltip=new w(t,s);r.setClasses(o),r._vueEl=t;var a="undefined"!==typeof e.targetClasses?e.targetClasses:E.options.defaultTargetClass;return t._tooltipTargetClasses=a,f(t,a),r}function S(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(m(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function Y(t,e){var i,n=e.value,o=(e.oldValue,e.modifiers),s=L(n);s&&M.enabled?(t._tooltip?(i=t._tooltip,i.setContent(s),i.setOptions(C(C({},n),{},{placement:T(n,o)}))):i=O(t,n,o),"undefined"!==typeof n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?i.show():i.hide())):S(t)}var E={options:k,bind:Y,update:Y,unbind:function(t){S(t)}};function P(t){t.addEventListener("click",N),t.addEventListener("touchstart",R,!!v&&{passive:!0})}function j(t){t.removeEventListener("click",N),t.removeEventListener("touchstart",R),t.removeEventListener("touchend",F),t.removeEventListener("touchcancel",H)}function N(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function R(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var i=t.changedTouches[0];e.$_vclosepopover_touchPoint=i,e.addEventListener("touchend",F),e.addEventListener("touchcancel",H)}}function F(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var i=t.changedTouches[0],n=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(i.screenY-n.screenY)<20&&Math.abs(i.screenX-n.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function H(t){var e=t.currentTarget;e.$_vclosepopover_touch=!1}var B={bind:function(t,e){var i=e.value,n=e.modifiers;t.$_closePopoverModifiers=n,("undefined"===typeof i||i)&&P(t)},update:function(t,e){var i=e.value,n=e.oldValue,o=e.modifiers;t.$_closePopoverModifiers=o,i!==n&&("undefined"===typeof i||i?P(t):j(t))},unbind:function(t){j(t)}};function z(t){var e=E.options.popover[t];return"undefined"===typeof e?E.options[t]:e}var W=!1;"undefined"!==typeof window&&"undefined"!==typeof navigator&&(W=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var V=[],G=function(){};"undefined"!==typeof window&&(G=window.Element);var Z={name:"VPopover",components:{ResizeObserver:r["a"]},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return z("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return z("defaultDelay")}},offset:{type:[String,Number],default:function(){return z("defaultOffset")}},trigger:{type:String,default:function(){return z("defaultTrigger")}},container:{type:[String,Object,G,Boolean],default:function(){return z("defaultContainer")}},boundariesElement:{type:[String,G],default:function(){return z("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return z("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return z("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return E.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return E.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return E.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return E.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return E.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return E.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return E.options.popover.defaultOpenClass}},ariaId:{default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return u({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(null!=this.ariaId?this.ariaId:this.id)}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,i=this.$refs.trigger,n=this.$_findContainer(this.container,i);if(!n)return void console.warn("No container for popover",this);n.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper((function(){e.popperInstance.options.placement=t}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.event,n=(e.skipDelay,e.force),o=void 0!==n&&n;!o&&this.disabled||(this.$_scheduleShow(i),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),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 t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,i=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var o=this.$_findContainer(this.container,e);if(!o)return void console.warn("No container for popover",this);o.appendChild(i),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){t.hidden||(t.isOpen=!0)}))}if(!this.popperInstance){var s=C(C({},this.popperOptions),{},{placement:this.placement});if(s.modifiers=C(C({},s.modifiers),{},{arrow:C(C({},s.modifiers&&s.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var r=this.$_getOffset();s.modifiers.offset=C(C({},s.modifiers&&s.modifiers.offset),{},{offset:r})}this.boundariesElement&&(s.modifiers.preventOverflow=C(C({},s.modifiers&&s.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new n["a"](e,i,s),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var a=this.openGroup;if(a)for(var g,d=0;d1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),i)this.$_hide();else{var n=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type){var i=t.$_setTooltipNodeEvent(e);if(i)return}t.$_hide()}}),n)}},$_setTooltipNodeEvent:function(t){var e=this,i=this.$refs.trigger,n=this.$refs.popover,o=t.relatedreference||t.toElement||t.relatedTarget,s=function o(s){var r=s.relatedreference||s.toElement||s.relatedTarget;n.removeEventListener(t.type,o),i.contains(r)||e.hide({event:s})};return!!n.contains(o)&&(n.addEventListener(t.type,s),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var i=e.func,n=e.event;t.removeEventListener(n,i)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function U(t){X(t)}function K(t){X(t,!0)}function X(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=function(i){var n=V[i];if(n.$refs.popover){var o=n.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&o||n.autoHide&&!o)&&n.$_handleGlobalClose(t,e)}))}},n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(!at.installed){at.installed=!0;var i={};g()(i,k,e),dt.options=i,E.options=i,t.directive("tooltip",E),t.directive("close-popover",B),t.component("VPopover",ot)}}st(rt);var gt=E,dt={install:at,get enabled(){return M.enabled},set enabled(t){M.enabled=t}},lt=null;"undefined"!==typeof window?lt=window.Vue:"undefined"!==typeof t&&(lt=t.Vue),lt&<.use(dt)}).call(this,i("c8ba"))},e439:function(t,e,i){var n=i("23e7"),o=i("d039"),s=i("fc6a"),r=i("06cf").f,a=i("83ab"),g=o((function(){r(1)})),d=!a||g;n({target:"Object",stat:!0,forced:d,sham:!a},{getOwnPropertyDescriptor:function(t,e){return r(s(t),e)}})},e512:function(t,e,i){"use strict";t.exports=function(){this.orderBy.column!=this.opts.groupBy?this.setOrder(this.opts.groupBy,!0):this.setOrder(this.opts.groupBy,!this.orderBy.ascending)}},e538:function(t,e,i){var n=i("b622");e.f=n},e5383:function(t,e,i){(function(t){var n=i("2b3e"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,r=s&&s.exports===o,a=r?n.Buffer:void 0,g=a?a.allocUnsafe:void 0;function d(t,e){if(e)return t.slice();var i=t.length,n=g?g(i):new t.constructor(i);return t.copy(n),n}t.exports=d}).call(this,i("62e4")(t))},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e67d:function(t,e){function i(t){return"function"===typeof t.value||(console.warn("[Vue-click-outside:] provided expression",t.expression,"is not a function."),!1)}function n(t,e){if(!t||!e)return!1;for(var i=0,n=e.length;i0&&i.unshift(e.target),t.contains(e.target)||n(s.context.popupItem,i)||t.__vueClickOutside__.callback(e)}}t.__vueClickOutside__={handler:r,callback:e.value};const a="ontouchstart"in document.documentElement?"touchstart":"click";!o(s)&&document.addEventListener(a,r)},update:function(t,e){i(e)&&(t.__vueClickOutside__.callback=e.value)},unbind:function(t,e,i){const n="ontouchstart"in document.documentElement?"touchstart":"click";!o(i)&&t.__vueClickOutside__&&document.removeEventListener(n,t.__vueClickOutside__.handler),delete t.__vueClickOutside__}}},e683:function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6cf:function(t,e,i){"use strict";var n,o,s,r,a=i("23e7"),g=i("c430"),d=i("da84"),l=i("d066"),c=i("fea9"),h=i("6eeb"),u=i("e2cc"),A=i("d44e"),C=i("2626"),I=i("861d"),p=i("1c0b"),f=i("19aa"),m=i("8925"),v=i("2266"),b=i("1c7e"),y=i("4840"),_=i("2cf4").set,w=i("b575"),M=i("cdf9"),x=i("44de"),k=i("f069"),D=i("e667"),T=i("69f3"),L=i("94ca"),O=i("b622"),S=i("605d"),Y=i("2d00"),E=O("species"),P="Promise",j=T.get,N=T.set,R=T.getterFor(P),F=c,H=d.TypeError,B=d.document,z=d.process,W=l("fetch"),V=k.f,G=V,Z=!!(B&&B.createEvent&&d.dispatchEvent),U="function"==typeof PromiseRejectionEvent,K="unhandledrejection",X="rejectionhandled",J=0,Q=1,q=2,$=1,tt=2,et=L(P,(function(){var t=m(F)!==String(F);if(!t){if(66===Y)return!0;if(!S&&!U)return!0}if(g&&!F.prototype["finally"])return!0;if(Y>=51&&/native code/.test(F))return!1;var e=F.resolve(1),i=function(t){t((function(){}),(function(){}))},n=e.constructor={};return n[E]=i,!(e.then((function(){}))instanceof i)})),it=et||!b((function(t){F.all(t)["catch"]((function(){}))})),nt=function(t){var e;return!(!I(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e){if(!t.notified){t.notified=!0;var i=t.reactions;w((function(){var n=t.value,o=t.state==Q,s=0;while(i.length>s){var r,a,g,d=i[s++],l=o?d.ok:d.fail,c=d.resolve,h=d.reject,u=d.domain;try{l?(o||(t.rejection===tt&>(t),t.rejection=$),!0===l?r=n:(u&&u.enter(),r=l(n),u&&(u.exit(),g=!0)),r===d.promise?h(H("Promise-chain cycle")):(a=nt(r))?a.call(r,c,h):c(r)):h(n)}catch(A){u&&!g&&u.exit(),h(A)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)}))}},st=function(t,e,i){var n,o;Z?(n=B.createEvent("Event"),n.promise=e,n.reason=i,n.initEvent(t,!1,!0),d.dispatchEvent(n)):n={promise:e,reason:i},!U&&(o=d["on"+t])?o(n):t===K&&x("Unhandled promise rejection",i)},rt=function(t){_.call(d,(function(){var e,i=t.facade,n=t.value,o=at(t);if(o&&(e=D((function(){S?z.emit("unhandledRejection",n,i):st(K,i,n)})),t.rejection=S||at(t)?tt:$,e.error))throw e.value}))},at=function(t){return t.rejection!==$&&!t.parent},gt=function(t){_.call(d,(function(){var e=t.facade;S?z.emit("rejectionHandled",e):st(X,e,t.value)}))},dt=function(t,e,i){return function(n){t(e,n,i)}},lt=function(t,e,i){t.done||(t.done=!0,i&&(t=i),t.value=e,t.state=q,ot(t,!0))},ct=function(t,e,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===e)throw H("Promise can't be resolved itself");var n=nt(e);n?w((function(){var i={done:!1};try{n.call(e,dt(ct,i,t),dt(lt,i,t))}catch(o){lt(i,o,t)}})):(t.value=e,t.state=Q,ot(t,!1))}catch(o){lt({done:!1},o,t)}}};et&&(F=function(t){f(this,F,P),p(t),n.call(this);var e=j(this);try{t(dt(ct,e),dt(lt,e))}catch(i){lt(e,i)}},n=function(t){N(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:J,value:void 0})},n.prototype=u(F.prototype,{then:function(t,e){var i=R(this),n=V(y(this,F));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?z.domain:void 0,i.parent=!0,i.reactions.push(n),i.state!=J&&ot(i,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=j(t);this.promise=t,this.resolve=dt(ct,e),this.reject=dt(lt,e)},k.f=V=function(t){return t===F||t===s?new o(t):G(t)},g||"function"!=typeof c||(r=c.prototype.then,h(c.prototype,"then",(function(t,e){var i=this;return new F((function(t,e){r.call(i,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return M(F,W.apply(d,arguments))}}))),a({global:!0,wrap:!0,forced:et},{Promise:F}),A(F,P,!1,!0),C(P),s=l(P),a({target:P,stat:!0,forced:et},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:P,stat:!0,forced:g||et},{resolve:function(t){return M(g&&this===s?F:this,t)}}),a({target:P,stat:!0,forced:it},{all:function(t){var e=this,i=V(e),n=i.resolve,o=i.reject,s=D((function(){var i=p(e.resolve),s=[],r=0,a=1;v(t,(function(t){var g=r++,d=!1;s.push(void 0),a++,i.call(e,t).then((function(t){d||(d=!0,s[g]=t,--a||n(s))}),o)})),--a||n(s)}));return s.error&&o(s.value),i.promise},race:function(t){var e=this,i=V(e),n=i.reject,o=D((function(){var o=p(e.resolve);v(t,(function(t){o.call(e,t).then(i.resolve,n)}))}));return o.error&&n(o.value),i.promise}})},e6ff:function(t,e,i){"use strict";t.exports=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t.page&&this.setPage(t.page,!0),t.limit&&this.setLimit(t.limit,!1),t.order&&this.setOrder(t.order.column,t.order.ascending,!1),t.filters&&this.setFilter(t.filters,!1),t.customFilters&&this.setCustomFilters(t.customFilters,!1),e&&this.getData()}},e81d:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; +var e=t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,i=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i},week:{dow:1,doy:4}});return e}))},e1f4:function(t,e){var i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(i){var n=new Uint8Array(16);t.exports=function(){return i(n),n}}else{var o=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0===(3&e)&&(t=4294967296*Math.random()),o[e]=t>>>((3&e)<<3)&255;return o}}},e24b:function(t,e,i){var n=i("49f4"),o=i("1efc"),s=i("bbc0"),r=i("7a48"),a=i("2524");function g(t){var e=-1,i=null==t?0:t.length;this.clear();while(++e=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,i){var n=i("6eeb");t.exports=function(t,e,i){for(var o in e)n(t,o,e[o],i);return t}},e37d:function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return Ct}));var n=i("7037"),o=i.n(n),s=i("9523"),r=i.n(s),a=i("970b"),g=i.n(a),d=i("5bc3"),l=i.n(d),c=i("f0bd"),h=i("63ea"),u=i.n(h),A=i("252c"),C=i("42454"),I=i.n(C),p=function(){};function f(t){return"string"===typeof t&&(t=t.split(" ")),t}function m(t,e){var i,n=f(e);i=t.className instanceof p?f(t.className.baseVal):f(t.className),n.forEach((function(t){-1===i.indexOf(t)&&i.push(t)})),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}function v(t,e){var i,n=f(e);i=t.className instanceof p?f(t.className.baseVal):f(t.className),n.forEach((function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1)})),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}"undefined"!==typeof window&&(p=window.SVGAnimatedString);var b=!1;if("undefined"!==typeof window){b=!1;try{var y=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,y)}catch(ft){}}function _(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function w(t){for(var e=1;e
      ',trigger:"hover focus",offset:0},x=[],k=function(){function t(e,i){var n=this;g()(this,t),r()(this,"_events",[]),r()(this,"_setTooltipNodeEvent",(function(t,e,i,o){var s=t.relatedreference||t.toElement||t.relatedTarget,r=function i(s){var r=s.relatedreference||s.toElement||s.relatedTarget;n._tooltipNode.removeEventListener(t.type,i),e.contains(r)||n._scheduleHide(e,o.delay,o,s)};return!!n._tooltipNode.contains(s)&&(n._tooltipNode.addEventListener(t.type,r),!0)})),i=w(w({},M),i),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=i,this._isOpen=!1,this._init()}return l()(t,[{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(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,i=t&&t.classes||F.options.defaultClass;u()(this._classes,i)||(this.setClasses(i),e=!0),t=Y(t);var n=!1,o=!1;for(var s in this.options.offset===t.offset&&this.options.placement===t.placement||(n=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(o=!0),t)this.options[s]=t[s];if(this._tooltipNode)if(o){var r=this._isOpen;this.dispose(),this._init(),r&&this.show()}else n&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"===typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var i=this,n=window.document.createElement("div");n.innerHTML=e.trim();var o=n.childNodes[0];return o.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),o.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(o.addEventListener("mouseenter",(function(e){return i._scheduleHide(t,i.options.delay,i.options,e)})),o.addEventListener("click",(function(e){return i._scheduleHide(t,i.options.delay,i.options,e)}))),o}},{key:"_setContent",value:function(t,e){var i=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){i.popperInstance&&i.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var i=this;return new Promise((function(n,o){var s=e.html,r=i._tooltipNode;if(r){var a=r.querySelector(i.options.innerSelector);if(1===t.nodeType){if(s){while(a.firstChild)a.removeChild(a.firstChild);a.appendChild(t)}}else{if("function"===typeof t){var g=t();return void(g&&"function"===typeof g.then?(i.asyncContent=!0,e.loadingClass&&m(r,e.loadingClass),e.loadingContent&&i._applyContent(e.loadingContent,e),g.then((function(t){return e.loadingClass&&v(r,e.loadingClass),i._applyContent(t,e)})).then(n).catch(o)):i._applyContent(g,e).then(n).catch(o))}s?a.innerHTML=t:a.innerText=t}n()}}))}},{key:"_show",value:function(t,e){if(e&&"string"===typeof e.container){var i=document.querySelector(e.container);if(!i)return}clearTimeout(this._disposeTimer),e=Object.assign({},e),delete e.offset;var n=!0;this._tooltipNode&&(m(this._tooltipNode,this._classes),n=!1);var o=this._ensureShown(t,e);return n&&this._tooltipNode&&m(this._tooltipNode,this._classes),m(t,["v-tooltip-open"]),o}},{key:"_ensureShown",value:function(t,e){var i=this;if(this._isOpen)return this;if(this._isOpen=!0,x.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(e.title,e),this;var n=t.getAttribute("title")||e.title;if(!n)return this;var o=this._create(t,e.template);this._tooltipNode=o,t.setAttribute("aria-describedby",o.id);var s=this._findContainer(e.container,t);this._append(o,s);var r=w(w({},e.popperOptions),{},{placement:e.placement});return r.modifiers=w(w({},r.modifiers),{},{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(r.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new c["a"](t,o,r),this._setContent(n,e),requestAnimationFrame((function(){!i._isDisposed&&i.popperInstance?(i.popperInstance.update(),requestAnimationFrame((function(){i._isDisposed?i.dispose():i._isOpen&&o.setAttribute("aria-hidden","false")}))):i.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=x.indexOf(this);-1!==t&&x.splice(t,1)}},{key:"_hide",value:function(){var t=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 e=F.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),v(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var i=e.func,n=e.event;t.reference.removeEventListener(n,i)})),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(t,e){return"string"===typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,i){var n=this,o=[],s=[];e.forEach((function(t){switch(t){case"hover":o.push("mouseenter"),s.push("mouseleave"),n.options.hideOnTargetClick&&s.push("click");break;case"focus":o.push("focus"),s.push("blur"),n.options.hideOnTargetClick&&s.push("click");break;case"click":o.push("click"),s.push("click");break}})),o.forEach((function(e){var o=function(e){!0!==n._isOpen&&(e.usedByTooltip=!0,n._scheduleShow(t,i.delay,i,e))};n._events.push({event:e,func:o}),t.addEventListener(e,o)})),s.forEach((function(e){var o=function(e){!0!==e.usedByTooltip&&n._scheduleHide(t,i.delay,i,e)};n._events.push({event:e,func:o}),t.addEventListener(e,o)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,i){var n=this,o=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return n._show(t,i)}),o)}},{key:"_scheduleHide",value:function(t,e,i,n){var o=this,s=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==o._isOpen&&o._tooltipNode.ownerDocument.body.contains(o._tooltipNode)){if("mouseleave"===n.type){var s=o._setTooltipNodeEvent(n,t,e,i);if(s)return}o._hide(t,i)}}),s)}}]),t}();function D(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function T(t){for(var e=1;e
      ',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 Y(t){var e={placement:"undefined"!==typeof t.placement?t.placement:F.options.defaultPlacement,delay:"undefined"!==typeof t.delay?t.delay:F.options.defaultDelay,html:"undefined"!==typeof t.html?t.html:F.options.defaultHtml,template:"undefined"!==typeof t.template?t.template:F.options.defaultTemplate,arrowSelector:"undefined"!==typeof t.arrowSelector?t.arrowSelector:F.options.defaultArrowSelector,innerSelector:"undefined"!==typeof t.innerSelector?t.innerSelector:F.options.defaultInnerSelector,trigger:"undefined"!==typeof t.trigger?t.trigger:F.options.defaultTrigger,offset:"undefined"!==typeof t.offset?t.offset:F.options.defaultOffset,container:"undefined"!==typeof t.container?t.container:F.options.defaultContainer,boundariesElement:"undefined"!==typeof t.boundariesElement?t.boundariesElement:F.options.defaultBoundariesElement,autoHide:"undefined"!==typeof t.autoHide?t.autoHide:F.options.autoHide,hideOnTargetClick:"undefined"!==typeof t.hideOnTargetClick?t.hideOnTargetClick:F.options.defaultHideOnTargetClick,loadingClass:"undefined"!==typeof t.loadingClass?t.loadingClass:F.options.defaultLoadingClass,loadingContent:"undefined"!==typeof t.loadingContent?t.loadingContent:F.options.defaultLoadingContent,popperOptions:T({},"undefined"!==typeof t.popperOptions?t.popperOptions:F.options.defaultPopperOptions)};if(e.offset){var i=o()(e.offset),n=e.offset;("number"===i||"string"===i&&-1===n.indexOf(","))&&(n="0, ".concat(n)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:n}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function E(t,e){for(var i=t.placement,n=0;n2&&void 0!==arguments[2]?arguments[2]:{},n=P(e),s="undefined"!==typeof e.classes?e.classes:F.options.defaultClass,r=T({title:n},Y(T(T({},"object"===o()(e)?e:{}),{},{placement:E(e,i)}))),a=t._tooltip=new k(t,r);a.setClasses(s),a._vueEl=t;var g="undefined"!==typeof e.targetClasses?e.targetClasses:F.options.defaultTargetClass;return t._tooltipTargetClasses=g,m(t,g),a}function N(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(v(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function R(t,e){var i=e.value;e.oldValue;var n,o=e.modifiers,s=P(i);s&&L.enabled?(t._tooltip?(n=t._tooltip,n.setContent(s),n.setOptions(T(T({},i),{},{placement:E(i,o)}))):n=j(t,i,o),"undefined"!==typeof i.show&&i.show!==t._tooltipOldShow&&(t._tooltipOldShow=i.show,i.show?n.show():n.hide())):N(t)}var F={options:S,bind:R,update:R,unbind:function(t){N(t)}};function H(t){t.addEventListener("click",z),t.addEventListener("touchstart",W,!!b&&{passive:!0})}function B(t){t.removeEventListener("click",z),t.removeEventListener("touchstart",W),t.removeEventListener("touchend",V),t.removeEventListener("touchcancel",G)}function z(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function W(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var i=t.changedTouches[0];e.$_vclosepopover_touchPoint=i,e.addEventListener("touchend",V),e.addEventListener("touchcancel",G)}}function V(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var i=t.changedTouches[0],n=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(i.screenY-n.screenY)<20&&Math.abs(i.screenX-n.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function G(t){var e=t.currentTarget;e.$_vclosepopover_touch=!1}var Z={bind:function(t,e){var i=e.value,n=e.modifiers;t.$_closePopoverModifiers=n,("undefined"===typeof i||i)&&H(t)},update:function(t,e){var i=e.value,n=e.oldValue,o=e.modifiers;t.$_closePopoverModifiers=o,i!==n&&("undefined"===typeof i||i?H(t):B(t))},unbind:function(t){B(t)}};function U(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function K(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},i=e.event;e.skipDelay;var n=e.force,o=void 0!==n&&n;!o&&this.disabled||(this.$_scheduleShow(i),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay,this.$_scheduleHide(e),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 t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,i=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var n=this.$_findContainer(this.container,e);if(!n)return void console.warn("No container for popover",this);n.appendChild(i),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){t.hidden||(t.isOpen=!0)}))}if(!this.popperInstance){var o=K(K({},this.popperOptions),{},{placement:this.placement});if(o.modifiers=K(K({},o.modifiers),{},{arrow:K(K({},o.modifiers&&o.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var s=this.$_getOffset();o.modifiers.offset=K(K({},o.modifiers&&o.modifiers.offset),{},{offset:s})}this.boundariesElement&&(o.modifiers.preventOverflow=K(K({},o.modifiers&&o.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new c["a"](e,i,o),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var r=this.openGroup;if(r)for(var a,g=0;g1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),i)this.$_hide();else{var n=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type){var i=t.$_setTooltipNodeEvent(e);if(i)return}t.$_hide()}}),n)}},$_setTooltipNodeEvent:function(t){var e=this,i=this.$refs.trigger,n=this.$refs.popover,o=t.relatedreference||t.toElement||t.relatedTarget,s=function o(s){var r=s.relatedreference||s.toElement||s.relatedTarget;n.removeEventListener(t.type,o),i.contains(r)||e.hide({event:s})};return!!n.contains(o)&&(n.addEventListener(t.type,s),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var i=e.func,n=e.event;t.removeEventListener(n,i)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function tt(t){it(t)}function et(t){it(t,!0)}function it(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=function(i){var n=Q[i];if(n.$refs.popover){var o=n.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&o||n.autoHide&&!o)&&n.$_handleGlobalClose(t,e)}))}},n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(!At.installed){At.installed=!0;var i={};I()(i,S,e),It.options=i,F.options=i,t.directive("tooltip",F),t.directive("close-popover",Z),t.component("VPopover",ct)}}ht(ut);var Ct=F,It={install:At,get enabled(){return L.enabled},set enabled(t){L.enabled=t}},pt=null;"undefined"!==typeof window?pt=window.Vue:"undefined"!==typeof t&&(pt=t.Vue),pt&&pt.use(It)}).call(this,i("c8ba"))},e439:function(t,e,i){var n=i("23e7"),o=i("d039"),s=i("fc6a"),r=i("06cf").f,a=i("83ab"),g=o((function(){r(1)})),d=!a||g;n({target:"Object",stat:!0,forced:d,sham:!a},{getOwnPropertyDescriptor:function(t,e){return r(s(t),e)}})},e512:function(t,e,i){"use strict";t.exports=function(){this.orderBy.column!=this.opts.groupBy?this.setOrder(this.opts.groupBy,!0):this.setOrder(this.opts.groupBy,!this.orderBy.ascending)}},e538:function(t,e,i){var n=i("b622");e.f=n},e5383:function(t,e,i){(function(t){var n=i("2b3e"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,r=s&&s.exports===o,a=r?n.Buffer:void 0,g=a?a.allocUnsafe:void 0;function d(t,e){if(e)return t.slice();var i=t.length,n=g?g(i):new t.constructor(i);return t.copy(n),n}t.exports=d}).call(this,i("62e4")(t))},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e67d:function(t,e){function i(t){return"function"===typeof t.value||(console.warn("[Vue-click-outside:] provided expression",t.expression,"is not a function."),!1)}function n(t,e){if(!t||!e)return!1;for(var i=0,n=e.length;i0&&i.unshift(e.target),t.contains(e.target)||n(s.context.popupItem,i)||t.__vueClickOutside__.callback(e)}}t.__vueClickOutside__={handler:r,callback:e.value};const a="ontouchstart"in document.documentElement?"touchstart":"click";!o(s)&&document.addEventListener(a,r)},update:function(t,e){i(e)&&(t.__vueClickOutside__.callback=e.value)},unbind:function(t,e,i){const n="ontouchstart"in document.documentElement?"touchstart":"click";!o(i)&&t.__vueClickOutside__&&document.removeEventListener(n,t.__vueClickOutside__.handler),delete t.__vueClickOutside__}}},e683:function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6cf:function(t,e,i){"use strict";var n,o,s,r,a=i("23e7"),g=i("c430"),d=i("da84"),l=i("d066"),c=i("fea9"),h=i("6eeb"),u=i("e2cc"),A=i("d44e"),C=i("2626"),I=i("861d"),p=i("1c0b"),f=i("19aa"),m=i("8925"),v=i("2266"),b=i("1c7e"),y=i("4840"),_=i("2cf4").set,w=i("b575"),M=i("cdf9"),x=i("44de"),k=i("f069"),D=i("e667"),T=i("69f3"),L=i("94ca"),O=i("b622"),S=i("605d"),Y=i("2d00"),E=O("species"),P="Promise",j=T.get,N=T.set,R=T.getterFor(P),F=c,H=d.TypeError,B=d.document,z=d.process,W=l("fetch"),V=k.f,G=V,Z=!!(B&&B.createEvent&&d.dispatchEvent),U="function"==typeof PromiseRejectionEvent,K="unhandledrejection",X="rejectionhandled",J=0,Q=1,q=2,$=1,tt=2,et=L(P,(function(){var t=m(F)!==String(F);if(!t){if(66===Y)return!0;if(!S&&!U)return!0}if(g&&!F.prototype["finally"])return!0;if(Y>=51&&/native code/.test(F))return!1;var e=F.resolve(1),i=function(t){t((function(){}),(function(){}))},n=e.constructor={};return n[E]=i,!(e.then((function(){}))instanceof i)})),it=et||!b((function(t){F.all(t)["catch"]((function(){}))})),nt=function(t){var e;return!(!I(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e){if(!t.notified){t.notified=!0;var i=t.reactions;w((function(){var n=t.value,o=t.state==Q,s=0;while(i.length>s){var r,a,g,d=i[s++],l=o?d.ok:d.fail,c=d.resolve,h=d.reject,u=d.domain;try{l?(o||(t.rejection===tt&>(t),t.rejection=$),!0===l?r=n:(u&&u.enter(),r=l(n),u&&(u.exit(),g=!0)),r===d.promise?h(H("Promise-chain cycle")):(a=nt(r))?a.call(r,c,h):c(r)):h(n)}catch(A){u&&!g&&u.exit(),h(A)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)}))}},st=function(t,e,i){var n,o;Z?(n=B.createEvent("Event"),n.promise=e,n.reason=i,n.initEvent(t,!1,!0),d.dispatchEvent(n)):n={promise:e,reason:i},!U&&(o=d["on"+t])?o(n):t===K&&x("Unhandled promise rejection",i)},rt=function(t){_.call(d,(function(){var e,i=t.facade,n=t.value,o=at(t);if(o&&(e=D((function(){S?z.emit("unhandledRejection",n,i):st(K,i,n)})),t.rejection=S||at(t)?tt:$,e.error))throw e.value}))},at=function(t){return t.rejection!==$&&!t.parent},gt=function(t){_.call(d,(function(){var e=t.facade;S?z.emit("rejectionHandled",e):st(X,e,t.value)}))},dt=function(t,e,i){return function(n){t(e,n,i)}},lt=function(t,e,i){t.done||(t.done=!0,i&&(t=i),t.value=e,t.state=q,ot(t,!0))},ct=function(t,e,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===e)throw H("Promise can't be resolved itself");var n=nt(e);n?w((function(){var i={done:!1};try{n.call(e,dt(ct,i,t),dt(lt,i,t))}catch(o){lt(i,o,t)}})):(t.value=e,t.state=Q,ot(t,!1))}catch(o){lt({done:!1},o,t)}}};et&&(F=function(t){f(this,F,P),p(t),n.call(this);var e=j(this);try{t(dt(ct,e),dt(lt,e))}catch(i){lt(e,i)}},n=function(t){N(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:J,value:void 0})},n.prototype=u(F.prototype,{then:function(t,e){var i=R(this),n=V(y(this,F));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?z.domain:void 0,i.parent=!0,i.reactions.push(n),i.state!=J&&ot(i,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=j(t);this.promise=t,this.resolve=dt(ct,e),this.reject=dt(lt,e)},k.f=V=function(t){return t===F||t===s?new o(t):G(t)},g||"function"!=typeof c||(r=c.prototype.then,h(c.prototype,"then",(function(t,e){var i=this;return new F((function(t,e){r.call(i,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return M(F,W.apply(d,arguments))}}))),a({global:!0,wrap:!0,forced:et},{Promise:F}),A(F,P,!1,!0),C(P),s=l(P),a({target:P,stat:!0,forced:et},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:P,stat:!0,forced:g||et},{resolve:function(t){return M(g&&this===s?F:this,t)}}),a({target:P,stat:!0,forced:it},{all:function(t){var e=this,i=V(e),n=i.resolve,o=i.reject,s=D((function(){var i=p(e.resolve),s=[],r=0,a=1;v(t,(function(t){var g=r++,d=!1;s.push(void 0),a++,i.call(e,t).then((function(t){d||(d=!0,s[g]=t,--a||n(s))}),o)})),--a||n(s)}));return s.error&&o(s.value),i.promise},race:function(t){var e=this,i=V(e),n=i.reject,o=D((function(){var o=p(e.resolve);v(t,(function(t){o.call(e,t).then(i.resolve,n)}))}));return o.error&&n(o.value),i.promise}})},e6ff:function(t,e,i){"use strict";t.exports=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t.page&&this.setPage(t.page,!0),t.limit&&this.setLimit(t.limit,!1),t.order&&this.setOrder(t.order.column,t.order.ascending,!1),t.filters&&this.setFilter(t.filters,!1),t.customFilters&&this.setCustomFilters(t.customFilters,!1),e&&this.getData()}},e81d:function(t,e,i){(function(t,e){e(i("c1df"))})(0,(function(t){"use strict"; //! moment.js locale configuration var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},n=t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,i){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return i[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return n}))},e893:function(t,e,i){var n=i("5135"),o=i("56ef"),s=i("06cf"),r=i("9bf2");t.exports=function(t,e){for(var i=o(e),a=r.f,g=s.f,d=0;d=this.viewportHeight?Math.max(this.minHeight,this.viewportHeight)+"px":"auto"},containerClass:function(){return["vm--container",this.scrollable&&this.isAutoHeight&&"scrollable"]},modalClass:function(){return["vm--modal",this.classes]},stylesProp:function(){return"string"==typeof this.styles?d(this.styles):this.styles},modalStyle:function(){return[this.stylesProp,{top:this.position.top+"px",left:this.position.left+"px",width:this.trueModalWidth+"px",height:this.isAutoHeight?this.autoHeight:this.trueModalHeight+"px"}]},isComponentReadyToBeDestroyed:function(){return this.overlayTransitionState===E&&this.modalTransitionState===E}},watch:{isComponentReadyToBeDestroyed:function(t){t&&(this.visible=!1)}},methods:{startTransitionEnter:function(){this.visibility.overlay=!0,this.visibility.modal=!0},startTransitionLeave:function(){this.visibility.overlay=!1,this.visibility.modal=!1},beforeOverlayTransitionEnter:function(){this.overlayTransitionState=Y},afterOverlayTransitionEnter:function(){this.overlayTransitionState=S},beforeOverlayTransitionLeave:function(){this.overlayTransitionState=P},afterOverlayTransitionLeave:function(){this.overlayTransitionState=E},beforeModalTransitionEnter:function(){var t=this;this.modalTransitionState=Y,this.$nextTick((function(){t.resizeObserver.observe(t.$refs.modal)}))},afterModalTransitionEnter:function(){this.modalTransitionState=S,this.draggable&&this.addDraggableListeners(),this.focusTrap&&this.$focusTrap.enable(this.$refs.modal);var t=this.createModalEvent({state:"opened"});this.$emit("opened",t)},beforeModalTransitionLeave:function(){this.modalTransitionState=P,this.resizeObserver.unobserve(this.$refs.modal),this.$focusTrap.enabled()&&this.$focusTrap.disable()},afterModalTransitionLeave:function(){this.modalTransitionState=E;var t=this.createModalEvent({state:"closed"});this.$emit("closed",t)},onToggle:function(t,e,i){if(this.name===t){var n=void 0===e?!this.visible:e;this.toggle(n,i)}},setInitialSize:function(){var t=f(this.width),e=f(this.height);this.modal.width=t.value,this.modal.widthType=t.type,this.modal.height=e.value,this.modal.heightType=e.type},onEscapeKeyUp:function(t){27===t.which&&this.visible&&this.$modal.hide(this.name)},onWindowResize:function(){this.viewportWidth=g(),this.viewportHeight=window.innerHeight,this.ensureShiftInWindowBounds()},createModalEvent:function(t){var e=0