From e692e573f7c600f9358ff921c0fcc5d9721514c8 Mon Sep 17 00:00:00 2001 From: "Edward J. Zaborowski" Date: Fri, 4 Feb 2022 10:11:04 -0500 Subject: [PATCH] Default connect to requested hostname/port for API rather than hard-coded localhost:52935 (reverse proxy scenario) --- CreateBuild.cmd | 2 +- .../{app.868c7c28.css => app.9d5e2a34.css} | 2 +- Src/WebController/Backend/wwwroot/index.html | 2 +- .../Backend/wwwroot/js/app.8e086b41.js | 2 + .../Backend/wwwroot/js/app.8e086b41.js.map | 1 + .../Backend/wwwroot/js/app.bf5ac533.js | 2 - .../Backend/wwwroot/js/app.bf5ac533.js.map | 1 - .../wwwroot/js/chunk-vendors.90a9885b.js | 140 ++++++++++++++++++ .../wwwroot/js/chunk-vendors.90a9885b.js.map | 1 + .../wwwroot/js/chunk-vendors.fc41187c.js | 140 ------------------ .../wwwroot/js/chunk-vendors.fc41187c.js.map | 1 - .../UI/src/components/modals/Options.vue | 2 +- .../UI/src/store/OptionsModule.ts | 10 +- 13 files changed, 156 insertions(+), 150 deletions(-) rename Src/WebController/Backend/wwwroot/css/{app.868c7c28.css => app.9d5e2a34.css} (66%) create mode 100644 Src/WebController/Backend/wwwroot/js/app.8e086b41.js create mode 100644 Src/WebController/Backend/wwwroot/js/app.8e086b41.js.map delete mode 100644 Src/WebController/Backend/wwwroot/js/app.bf5ac533.js delete mode 100644 Src/WebController/Backend/wwwroot/js/app.bf5ac533.js.map create mode 100644 Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js create mode 100644 Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js.map delete mode 100644 Src/WebController/Backend/wwwroot/js/chunk-vendors.fc41187c.js delete mode 100644 Src/WebController/Backend/wwwroot/js/chunk-vendors.fc41187c.js.map diff --git a/CreateBuild.cmd b/CreateBuild.cmd index 73a73a53..2cd34316 100644 --- a/CreateBuild.cmd +++ b/CreateBuild.cmd @@ -81,7 +81,7 @@ COPY "Res\\GatewayConfiguration.json" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\Bi ECHO. ECHO Building WebController... IF EXIST "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController" (RMDIR /s /q "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController") || GOTO :ERROR -dotnet publish -c Release "Src\\WebController\\Backend" || GOTO :ERROR +dotnet publish -c Release "Src\\WebController\\Backend" -o "Bin\\WebController\\Release\\netcoreapp3.1\\publish" || GOTO :ERROR XCOPY /s /q "Bin\\WebController\\Release\\netcoreapp3.1\\publish" "%BUILDS_PATH%\\%BUILD_FULL_SIGNATURE%\\WebController\" || GOTO :ERROR ECHO. diff --git a/Src/WebController/Backend/wwwroot/css/app.868c7c28.css b/Src/WebController/Backend/wwwroot/css/app.9d5e2a34.css similarity index 66% rename from Src/WebController/Backend/wwwroot/css/app.868c7c28.css rename to Src/WebController/Backend/wwwroot/css/app.9d5e2a34.css index 1b50cfda..bbc7e118 100644 --- a/Src/WebController/Backend/wwwroot/css/app.868c7c28.css +++ b/Src/WebController/Backend/wwwroot/css/app.9d5e2a34.css @@ -1 +1 @@ -.c3route-list[data-v-4f91561c]{margin-bottom:24px}.c3route-list .datatable tbody tr[data-v-4f91561c]:hover{background:transparent;cursor:default}.c3route-list-more-btn[data-v-4f91561c]{position:relative;cursor:pointer;float:right}.c3route-list-menu[data-v-4f91561c]{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:0;top:10px;flex-direction:column;padding:0;background:#3d3d3d;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px;z-index:9}.c3route-list-menu-item[data-v-4f91561c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px;border-radius:2px}.c3route-list-menu-item[data-v-4f91561c]:hover{background-color:#4f4f4f;cursor:pointer}.c3route-list-menu-divider[data-v-4f91561c]{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3route-list-menu[data-v-4f91561c]:hover,.c3route-list-more-btn:hover+.c3route-list-menu[data-v-4f91561c]{display:-webkit-box;display:-ms-flexbox;display:flex}.c3InterfaceList[data-v-0686e7da],.c3InterfaceList[data-v-f4969ade]{margin-bottom:24px}.c3modal .flex-row.host-info{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.c3modal .flex-row.host-info .details{padding-left:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0 16px 0 0;-ms-flex-item-align:start;align-self:flex-start;min-width:300px}.c3modal .flex-row.host-info .details p{font-size:14px;line-height:20px;margin:8px 0 0 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:300px}.c3modal .flex-row.host-info .details p span.details-title{text-align:left;min-width:40%}.c3modal .flex-row.host-info .details p span.details-value{text-align:end}.c3modal .flex-row.host-info .details p:last-of-type{margin-bottom:16px}tr:hover .hover-link[data-v-3748fed6]{color:#a1d1ff}.command-for[data-v-3748fed6]{text-transform:capitalize}.c3Stats[data-v-b5131632]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.c3Stats p[data-v-b5131632]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;font-size:14px;line-height:16px;height:32px}.c3Stats p span[data-v-b5131632]{max-width:75%;overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}.c3InterfaceList[data-v-5ea1cc30],.c3Stats p[data-v-b5131632]:last-of-type{margin-bottom:24px}.c3input-wrapper[data-v-0d08badc]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit;margin-bottom:16px}.c3input-wrapper .icon.random[data-v-0d08badc]{position:absolute;z-index:12;right:27px;top:3px}.c3input-wrapper .icon.help[data-v-0d08badc]{position:absolute;z-index:12;right:3px;top:3px}.c3input-wrapper .icon.help .help-text[data-v-0d08badc]{display:none}.c3input-wrapper .icon.help:hover .help-text[data-v-0d08badc]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3input-wrapper span.error-message[data-v-0d08badc]{color:#ff492f;font-size:12px;line-height:12px;position:absolute;right:0;bottom:-13px}.c3input-label[data-v-0d08badc]{font-size:14px;color:#bdbdbd;background-color:inherit;left:.5rem;top:.6rem;position:absolute;padding-left:.5rem;padding-right:.5rem;-webkit-transition-property:font-size,top,color;transition-property:font-size,top,color;-webkit-transition-duration:.25s;transition-duration:.25s;-webkit-transition-delay:0s;transition-delay:0s}.c3input-label.dirty[data-v-0d08badc]{color:#f2f2f2;font-size:10px;left:.5rem;top:-.4rem}.c3input-label[disabled][data-v-0d08badc]{color:#828282}.c3input-input[data-v-0d08badc]{background-color:inherit;color:#fff;font-family:Roboto;font-size:14px;line-height:16px;display:block;border:1px solid #bdbdbd;border-radius:2px;height:32px;width:100%;padding-left:1rem;padding-right:1rem;position:relativesdf;outline:none}.c3input-input.dirty[data-v-0d08badc]{border:1px solid #fff;color:#f2f2f2}.c3input-input[aria-invalid=true][data-v-0d08badc]{border-color:#ff492f;color:#ff492f}.c3input-input[aria-invalid=true]+label[data-v-0d08badc]{color:#ff492f}.c3input-input[data-v-0d08badc]:active:not([disabled]),.c3input-input[data-v-0d08badc]:focus:not([disabled]){border-color:#1476ff}.c3input-input[data-v-0d08badc]:active:not([disabled]):invalid,.c3input-input[data-v-0d08badc]:focus:not([disabled]):invalid{border-color:#ff492f}.c3input-input:active:not([disabled]):invalid+label[data-v-0d08badc],.c3input-input:focus:not([disabled]):invalid+label[data-v-0d08badc]{color:#ff492f}.c3input-input:active:not([disabled])+label[data-v-0d08badc],.c3input-input:focus:not([disabled])+label[data-v-0d08badc]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3input-input[disabled][data-v-0d08badc]{border-color:#828282;color:#828282}.c3input-input[disabled]+label[data-v-0d08badc]{color:#828282}.c3input-input[data-v-0d08badc]:invalid{border-color:#ff492f}.c3select[data-v-893eea00]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit;margin-bottom:16px}.c3select.disabled[data-v-893eea00]{color:#828282}.c3select.disabled .c3select-border[data-v-893eea00]{border:1px solid #828282}.c3select.disabled .c3select-legend[data-v-893eea00]{color:#828282}.c3select-close[data-v-893eea00]{display:block;position:fixed;background-color:transparent;width:100vw;height:100vh;margin:0;padding:0;top:0;left:0;z-index:12}.c3select-select[data-v-893eea00]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit}.c3select-select[data-v-893eea00],.c3select-selected[data-v-893eea00]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3select-selected[data-v-893eea00]{font-family:Roboto;font-style:normal;font-weight:400;font-size:inherit;line-height:16px;height:32px;width:100%;padding-left:.5rem;padding-right:1rem;outline:none}.c3select-border[data-v-893eea00]{border:1px solid #fff;border-radius:2px;padding-left:1rem}.c3select-legend[data-v-893eea00]{position:absolute;font-size:10px;line-height:12px;color:#fff;background-color:inherit;left:.5rem;top:-.4rem;padding-left:.5rem;padding-right:.5rem}.c3select .icon[data-v-893eea00]{position:absolute;right:4px;top:4px;cursor:pointer}.c3select-options[data-v-893eea00]{position:absolute;left:0;margin:0;padding:0;list-style:none;z-index:15;border:1px solid #828282;border-radius:0 0 2px 2px;width:100%;top:31px;max-height:250px;overflow-y:auto}.c3select-options .selected[data-v-893eea00]{color:#fff;font-weight:700}.c3select-options.c3select-direction-up[data-v-893eea00]{top:unset;bottom:0}.c3select-options .c3select-option[data-v-893eea00]{height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:.5rem;padding-right:.5rem;cursor:pointer}.c3select-options .c3select-option[data-v-893eea00]:hover{background-color:#3d3d3d}.c3checkbox-wrapper[data-v-40202deb]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.c3checkbox-wrapper .icon.help[data-v-40202deb]{position:absolute;z-index:12;right:3px;top:-5px}.c3checkbox-wrapper .icon.help .help-text[data-v-40202deb]{display:none}.c3checkbox-wrapper .icon.help:hover .help-text[data-v-40202deb]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3checkbox-wrapper .icon.checkbox[data-v-40202deb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:32px;position:relative;left:0;width:auto;background-position-x:left}.c3checkbox-wrapper .icon.checkbox[data-v-40202deb]:hover{background-position-x:left}.c3checkbox-wrapper input[type=checkbox][data-v-40202deb]{visibility:hidden}.c3textarea[data-v-0828628d]{max-width:868px;padding:0;margin:0;position:relative}.c3textarea .icon.help[data-v-0828628d]{position:absolute;z-index:12;right:3px;top:3px}.c3textarea .icon.help .help-text[data-v-0828628d]{display:none}.c3textarea .icon.help:hover .help-text[data-v-0828628d]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3textarea-upload-button[data-v-0828628d]{position:absolute;z-index:12;right:30px;top:3px}.c3textarea-upload-button .help-text[data-v-0828628d]{display:none}.c3textarea-upload-button:hover .help-text[data-v-0828628d]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3textarea .textarea[data-v-0828628d]{width:100%;height:100%;margin:0;padding:8px;color:#fff;background-color:#222;border:1px solid #bdbdbd;border-radius:2px;padding-top:30px}.c3textarea .textarea .c3textarea-input[data-v-0828628d]{background-color:inherit;color:inherit;border:none;width:100%;height:100%;min-width:100%;min-height:100px;max-width:865px;max-height:300px}.c3textarea .textarea.focus[data-v-0828628d]{border:1px solid #1476ff}.c3textarea .textarea.focus[data-v-0828628d]:not([disabled]),.c3textarea .textarea[data-v-0828628d]:active:not([disabled]){border-color:#1476ff}.c3textarea .textarea.focus[data-v-0828628d]:not([disabled]):invalid,.c3textarea .textarea[data-v-0828628d]:active:not([disabled]):invalid{border-color:#ff492f}.c3textarea .textarea.focus:not([disabled]):invalid+label[data-v-0828628d],.c3textarea .textarea:active:not([disabled]):invalid+label[data-v-0828628d]{color:#ff492f}.c3textarea .textarea.focus:not([disabled])+label[data-v-0828628d],.c3textarea .textarea:active:not([disabled])+label[data-v-0828628d]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label[data-v-0828628d]{font-size:14px;color:#bdbdbd;background-color:inherit;left:.4rem;top:.6rem;position:absolute;padding-left:.5rem;padding-right:.5rem;-webkit-transition-property:font-size,top,color;transition-property:font-size,top,color;-webkit-transition-duration:.25s;transition-duration:.25s;-webkit-transition-delay:0s;transition-delay:0s}.c3textarea-label.dirty[data-v-0828628d]{color:#f2f2f2;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label.focus[data-v-0828628d]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label[disabled][data-v-0828628d]{color:#828282}.c3textarea-legend[data-v-0828628d]{margin-left:8px;font-size:12px;color:#bdbdbd}.c3textarea-legend.focus[data-v-0828628d]{color:#1476ff}.c3form{margin-bottom:16px}.c3command-group{margin:16px 0}.c3modal-more-btn[data-v-33bc8b88]{position:relative;cursor:pointer;background-position-x:right!important;-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;width:auto;padding-right:24px;line-height:24px;font-size:12px;color:#fff}.c3modal-menu[data-v-33bc8b88]{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:12px;top:64px;flex-direction:column;padding:0;background:#3d3d3d;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px;z-index:9}.c3modal-menu-item[data-v-33bc8b88]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px;border-radius:2px}.c3modal-menu-item[data-v-33bc8b88]:hover{background-color:#4f4f4f;cursor:pointer}.c3modal-menu-divider[data-v-33bc8b88]{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3modal-menu[data-v-33bc8b88]:hover,.c3modal-more-btn:hover+.c3modal-menu[data-v-33bc8b88],.donut-form[data-v-2a2638f3]{display:-webkit-box;display:-ms-flexbox;display:flex}.donut-form[data-v-2a2638f3]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.donut-form .line[data-v-2a2638f3],.donut-form h1[data-v-2a2638f3]{width:100%}.donut-form .half-line[data-v-2a2638f3]{max-width:48%;width:48%}.embeded-modal{margin-bottom:16px}.embeded-modal .c3modal-details{-webkit-box-shadow:none;box-shadow:none;padding:0}.c3modal{display:block;position:fixed;background-color:rgba(0,0,0,.5);width:100vw;height:100vh;margin:0;padding:0;top:0;left:0;z-index:11}.c3modal .actions{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-item-align:self-start;align-self:self-start;-webkit-box-align:self-end;-ms-flex-align:self-end;align-items:self-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.c3modal .actions .c3btn{-ms-flex-item-align:end;align-self:flex-end}.c3modal-holder{margin:15vh auto;width:900px;max-width:calc(100vw - 3rem);max-height:70vh;overflow:hidden;overflow-y:auto;background:#282828}.c3modal-body,.c3modal-holder{position:relative;display:block}.c3modal-body{margin:0;padding:0;width:100%;height:100%;background-color:#282828}.c3modal-body h1{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;color:#bdbdbd;margin:0 0 8px;height:32px}.c3modal-body h1 .details{min-width:300px}.c3modal-body h1 .details p{font-size:14px;line-height:20px;padding:0;margin:0 0 8px 0;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-body h1 .details p:last-of-type{margin-bottom:16px}.c3modal-close{position:absolute;top:22px;right:12px;cursor:pointer;background-color:transparent}.c3modal span.c3modal-back.c3modal-back{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:22px;right:52px;cursor:pointer;text-transform:uppercase;font-size:12px;line-height:17px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:24px;background-position-x:left;width:auto;background-color:transparent}.c3modal span.c3modal-back.c3modal-back:hover{background-position-x:left}.c3modal-header{background:#222;border-radius:2px 2px 2px 0;padding:16px;margin-bottom:8px}.c3modal-header.is-return{background:linear-gradient(180deg,#ab61f6 4px,#222 0)}.c3modal-header.has-error{background:linear-gradient(180deg,#bf0001 4px,#222 0)}.c3modal-header .message-with-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3modal-header .message-with-icon span{margin-right:8px}.c3modal-details{padding-top:24px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;padding:16px;padding-bottom:24px}.c3modal-details table:not(:last-of-type){margin-bottom:2rem}.c3modal-body .form-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-body .form-row .form-element:not(:last-of-type){margin-right:8px}.c3modal-body .form-row .form-element:not(:first-of-type){margin-left:8px}.c3modal-actions.c3modal-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:0;margin:24px 0 0 0}.c3modal-actions.c3modal-actions .c3btn{margin-left:16px}.c3modal.options .c3modal-back.c3modal-back{display:-webkit-box;display:-ms-flexbox;display:flex}.c3modal.options h1{margin-bottom:16px}.c3modal-title-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-title{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;margin:0;color:#bdbdbd}.c3modal-config-link{font-family:Roboto;color:#a1d1ff;font-size:12px;line-height:120%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:end;align-self:flex-end;text-align:right;margin:0 100px 14px 0;cursor:pointer}.c3checkbox-row[data-v-edfe580a],.c3checkbox-wrapper[data-v-edfe580a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3checkbox-wrapper[data-v-edfe580a]{position:relative;height:32px;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3checkbox-wrapper .icon.help[data-v-edfe580a]{position:relative}.c3checkbox-wrapper .icon.help .help-text[data-v-edfe580a]{display:none}.c3checkbox-wrapper .icon.help:hover .help-text[data-v-edfe580a]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3toggle[data-v-edfe580a]{display:inline-block;position:relative;margin:0}.c3toggle-input[data-v-edfe580a]{width:36px;height:20px;opacity:0;z-index:0}.c3toggle-label[data-v-edfe580a]{display:block;padding:0 0 0 44px;cursor:pointer}.c3toggle-label[data-v-edfe580a]:before{content:"";position:absolute;top:5px;left:0;width:37px;height:14px;background-color:#bdbdbd;border:1px solid #828282;border-radius:14px;z-index:1;-webkit-transition:background-color .28s cubic-bezier(.4,0,.2,1);transition:background-color .28s cubic-bezier(.4,0,.2,1)}.c3toggle-label[data-v-edfe580a]:after{content:"";position:absolute;top:3px;left:0;width:20px;height:20px;background-color:#828282;border-radius:14px;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);z-index:2;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);-webkit-transition-property:left,background-color;transition-property:left,background-color}.c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:before{background-color:#90caff;border:1px solid #1476ff}.c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:after{left:20px;background-color:#a1d1ff}.c3toggle.disabled .c3toggle-label[data-v-edfe580a]:before{background-color:#4f4f4f;border:1px solid #828282}.c3toggle.disabled .c3toggle-label[data-v-edfe580a]:after{background-color:#828282}.c3toggle.disabled .c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:before{background-color:#5b8e7c;border:1px solid #1b6c51}.c3toggle.disabled .c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:after{background-color:#284167}.c3canvas{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:1;flex-shrink:1;margin:0 auto 0 auto;padding:0;border:.75px solid #a1d1ff;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;max-width:1200px;height:600px;background-color:#111}.c3canvas,.c3canvas .progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.c3canvas .progress-bar{position:absolute;left:0;bottom:0;height:10px;background:transparent}.c3canvas .progress-bar .progress-bar-status{position:relative;background-color:#a1d1ff;width:0;height:100%}.c3canvas-toggle-interfaces.c3canvas-toggle-interfaces,.c3canvas-toggle-layout.c3canvas-toggle-layout{position:relative;cursor:pointer}.c3canvas-toggle-layout.c3canvas-toggle-layout{margin-bottom:.5rem}.c3canvas-toggle-interfaces.c3canvas-toggle-interfaces{margin-top:.5rem}.c3canvas-fs-btn{right:50px}.c3canvas-fs-btn,.c3canvas-more-btn{position:absolute;cursor:pointer;top:23px}.c3canvas-more-btn{right:21px}.c3canvas-menu{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:21px;top:33px;flex-direction:column;padding:0;background:#282828;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px}.c3canvas-menu-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px}.c3canvas-menu-item:hover{background-color:#222;cursor:pointer}.c3canvas-menu-divider{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3canvas-menu:hover,.c3canvas-more-btn:hover+.c3canvas-menu{display:-webkit-box;display:-ms-flexbox;display:flex}.c3canvas #c3canvas{width:inherit;height:inherit;padding:2px;background-color:transparent}.c3canvas #c3canvas div.vis-network div.vis-navigation div.vis-button:active,.c3canvas #c3canvas div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:none;box-shadow:none}.c3canvas-fs{position:fixed;top:16px;left:16px;max-width:100vw;width:calc(100vw - 32px);height:calc(100vh - 32px);border:.75px solid #a1d1ff;z-index:9}.c3canvas-fs .c3canvas-fs-btn,.c3canvas-fs .c3canvas-menu-btn{z-index:10}#c3canvas div.vis-network{border:none;outline:none}#c3canvas 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}#c3canvas div.vis-network div.vis-navigation div.vis-button:active,#c3canvas div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:none;box-shadow:none}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-up{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 8l-6 6 1.4 1.4 4.6-4.6 4.6 4.6L18 14l-6-6z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:70px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-down{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 16l6-6-1.4-1.4-4.6 4.6-4.6-4.6L6 10l6 6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:70px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-left{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4 7.4L14 6l-6 6 6 6 1.4-1.4-4.6-4.6 4.6-4.6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:19px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-right{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.6 7.4L10 6l6 6-6 6-1.4-1.4 4.6-4.6-4.6-4.6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:115px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomIn{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.4 12.6v-1.2h-4.8V6.6h-1.2v4.8H6.6v1.2h4.8v4.8h1.2v-4.8h4.8z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:19px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomOut{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.4 12.6v-1.2H6.6v1.2h10.8z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:115px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 16l-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5h-4z' fill='%23fff'/%3E%3C/svg%3E");top:19px;right:70px}.c3footer[data-v-62086585]{font-family:Roboto Mono;font-size:12px;line-height:10px;min-height:48px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;letter-spacing:.2em;text-transform:uppercase;color:#828282;margin-top:auto}.c3footer[data-v-62086585],.c3navbar[data-v-5295cdf8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.c3navbar[data-v-5295cdf8]{background-color:#222;margin:0;padding:16px;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.c3navbar-logo[data-v-5295cdf8]{width:auto;height:43px}.c3navbar-logo[data-v-5295cdf8]:not(:first-of-type){padding-left:4px;border-left:2px solid #fff}.c3navbar-left[data-v-5295cdf8]{line-height:43px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3navbar-left--title[data-v-5295cdf8]{font-size:36px;line-height:30px}.c3navbar-left--secondary[data-v-5295cdf8],.c3navbar-left--title[data-v-5295cdf8]{padding:0;margin:0;font-family:Roboto Mono;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:right;letter-spacing:-.05em}.c3navbar-left--secondary[data-v-5295cdf8]{font-size:18px;line-height:15px;text-transform:uppercase}.c3InterfaceList[data-v-579275ba]{margin-bottom:24px}.c3tabfooter[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;height:40px;font-size:12px;line-height:14px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;margin-top:-16px}.c3tabfooter-info[data-v-2eac248e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3tabfooter-action[data-v-2eac248e],.c3tabfooter-info[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3tabfooter-action[data-v-2eac248e]{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.c3tabfooter-perpage[data-v-2eac248e]{background-color:transparent;color:#fff;border:transparent;padding-left:.5rem;outline:none;border:none;width:60px}.c3tabfooter-perpage option[data-v-2eac248e]{background-color:#282828}.c3tabfooter-perpage option[data-v-2eac248e]:checked{background-color:#222;color:#a1d1ff}.c3tabfooter-paginator[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:3;-ms-flex-positive:3;flex-grow:3;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.c3tabfooter-controll[data-v-2eac248e]{font-family:Roboto Mono;font-weight:500;cursor:pointer}.c3CommandList[data-v-39bf6527]{margin-bottom:24px}.command-for[data-v-39bf6527]{text-transform:capitalize}.c3CommandList[data-v-5873b325]{margin-bottom:24px}.command-for[data-v-5873b325]{text-transform:capitalize}.c3controll{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-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;margin:30px auto 30px auto;padding:24px;background:#282828;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;width:100%;max-width:1200px;position:relative}.c3controll-help{position:absolute;top:22px;right:12px}.c3controll-help:hover:after{display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;top:30px;right:0;max-width:400px;z-index:9;content:"For full details click on the items in the table below."}.c3controll-select-gateway{margin-bottom:1rem}.c3controll-tabs{list-style-type:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;height:24px;margin-bottom:1rem}.c3controll-tabs li{font-family:Roboto;font-weight:500;padding-left:1rem;padding-right:1rem}.c3controll-tabs li.active{color:#a1d1ff;border-bottom:1px solid #a1d1ff}.c3controll-tabs li:hover{cursor:pointer}.c3tab{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3tab,.c3tab-filters{display:-webkit-box;display:-ms-flexbox;display:flex}.c3tab-filters .c3select{max-width:250px}.c3tab-filters .c3select:not(:first-of-type){margin-left:16px}.c3tab-info-dot{width:8px;height:8px;display:inline-block;border-radius:50%;margin:0 .25rem}.c3tab-info-dot.is-complete{background-color:#828282}.c3tab-info-dot.not-complete{background-color:#a1d1ff}.c3tab-info-dot.is-return{background-color:#ab61f6}.c3tab-info-dot.not-active{background-color:#cd9526}.c3tab-info-dot.is-active{background-color:#a1d1ff}.c3tab-info-dot.has-error{background-color:#bf0001}.datatable{font-size:14px;line-height:16px;border-collapse:collapse;width:100%}.datatable tbody tr{font-family:Roboto;font-weight:400}.datatable tbody tr:hover,.datatable tbody tr active{background:#222;cursor:pointer}.datatable tr{height:32px;border-bottom:2px solid #3d3d3d}.datatable td,.datatable th{text-align:left}.datatable td{color:#828282}.datatable th{color:#fff}.datatable thead tr{font-family:Roboto;font-weight:500;height:40px}.datatable thead tr th{font-weight:500}.c3command{background-color:#222;color:#828282;padding:8px}.c3side[data-v-6cd95e5d]{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-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 auto;margin-top:150px;padding:16px 16px 16px 12px;width:100%;max-width:250px}.c3side-title-wrapper[data-v-6cd95e5d]{border-bottom:2px solid #e0e0e0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3side-title[data-v-6cd95e5d]{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;margin:0;color:#bdbdbd}.c3side-config-link[data-v-6cd95e5d]{font-family:Roboto;color:#a1d1ff;font-size:12px;line-height:120%;display:flexc3btn-group;-ms-flex-item-align:end;align-self:flex-end;text-align:right;padding-bottom:2px;cursor:pointer}.c3side-body[data-v-6cd95e5d]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding:8px}.c3side-body[data-v-6cd95e5d],.c3side-refresh-wrapper[data-v-6cd95e5d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.c3side-refresh-wrapper[data-v-6cd95e5d]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-24px}.c3side-refres-title[data-v-6cd95e5d]{line-height:32px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3side-refres-dropdown[data-v-6cd95e5d]{margin-bottom:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.c3side .c3btn-group[data-v-6cd95e5d]{margin-top:24px}.c3gateway-row button[data-v-49ef2de9]{margin-left:1rem}.c3gateway{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-negative:1;flex-shrink:1;margin:40px auto 24px auto;padding:0;width:100%;max-width:1200px}.c3gateway,.c3gateway .icon.exclamation{position:relative}.c3gateway .icon.exclamation:hover:after{display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;top:30px;right:0;max-width:400px;z-index:9;content:"TODO: helper text for gateway selection."}.c3gateway-row{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:32px;width:100%;max-width:1200px}.c3gateway-row:first-of-type{margin:0 0 3px 0}.c3gateway-row:not(:first-of-type){margin:3px 0 3px 0}.c3gateway-row:last-of-type:not(:first-of-type){margin:3px 0 0 0}.c3gateway-row:only-child{margin:0}.c3gateway-title{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;color:#bdbdbd;margin-bottom:1rem}.c3notify{display:block;position:fixed;background-color:transparent;width:450px;max-height:100vh;height:auto;margin:3rem calc((100vw - 450px)/2) 3rem auto;padding:0;bottom:0;right:0;z-index:17;list-style:none}.c3notify li{-webkit-transition:all .25s cubic-bezier(0,-.05,.33,.99);transition:all .25s cubic-bezier(0,-.05,.33,.99)}.c3notify .slide-enter-active,.c3notify .slide-leave-active{-webkit-transition:all .5s cubic-bezier(0,-.05,.33,.99);transition:all .5s cubic-bezier(0,-.05,.33,.99)}.c3notify .slide-enter,.c3notify .slide-leave-to{-webkit-transform:translateY(10vh) scale(.9);transform:translateY(10vh) scale(.9);opacity:0}.c3notify-error,.c3notify-info{display:block;background-color:#4f4f4f;opacity:1;position:relative;min-height:40px;margin:1rem;padding:1rem;-webkit-box-shadow:0 4px 4px rgba(0,0,0,.25);box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:2px;right:calc(-50vw - 225px)}.c3notify-error h1,.c3notify-info h1{margin:0;padding:0;font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;letter-spacing:-.05em;color:#bdbdbd}.c3notify-error p,.c3notify-info p{margin:0;padding:0 12px 0 0;font-size:12px;line-height:14px;color:#fff}.c3notify-error h1+p,.c3notify-info h1+p{margin-top:.5rem}.c3notify-info{border-left:8px solid #a1d1ff}.c3notify-error{border-left:8px solid #bf0001}.c3notify-close{position:absolute;top:.5rem;right:.5rem;cursor:pointer}#app{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh;width:100vw;overflow:hidden;overflow-y:auto;margin:0;padding:0}.c3body{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin:0 auto;padding:0;width:100%;max-width:1450px}.c3body,.c3body-main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3body-main{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;margin:0;padding:16px 12px 16px 16px}.c3body-gateway{max-width:610px;margin:48px auto 0 auto;height:auto}.c3body-no-gateway-message{display:block;background-color:#222;max-width:610px;margin:48px auto 0 auto;height:120px;padding:1rem;-webkit-box-shadow:0 4px 4px rgba(0,0,0,.25);box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:2px;border-left:8px solid #ffac00}.c3body-no-gateway-message h1{margin:0;padding:0;font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;letter-spacing:-.05em;color:#bdbdbd}.c3body-no-gateway-message p{margin:0;padding:0 12px 0 0;font-size:14px;line-height:20px;color:#fff}.c3body-no-gateway-message h1+p{margin-top:.5rem}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/roboto-v18-latin-regular.68889c24.eot);src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v18-latin-regular.68889c24.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-regular.5d4aeb4e.woff2) format("woff2"),url(../fonts/roboto-v18-latin-regular.bafb105b.woff) format("woff"),url(../fonts/roboto-v18-latin-regular.372d0cc3.ttf) format("truetype"),url(../img/roboto-v18-latin-regular.8681f434.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/roboto-v18-latin-500.03bb29d6.eot);src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v18-latin-500.03bb29d6.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-500.28546717.woff2) format("woff2"),url(../fonts/roboto-v18-latin-500.de8b7431.woff) format("woff"),url(../fonts/roboto-v18-latin-500.4d88404f.ttf) format("truetype"),url(../img/roboto-v18-latin-500.95204ac9.svg#Roboto) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot);src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-regular.e92cc0fb.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-regular.1db1469b.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-regular.c03588a7.ttf) format("truetype"),url(../img/roboto-mono-v5-latin-regular.96a9bbe5.svg#RobotoMono) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:500;src:url(../fonts/roboto-mono-v5-latin-500.d27e4d81.eot);src:local("Roboto Mono Medium"),local("RobotoMono-Medium"),url(../fonts/roboto-mono-v5-latin-500.d27e4d81.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-500.f70f506c.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-500.077525e5.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-500.f2e00df8.ttf) format("truetype"),url(../img/roboto-mono-v5-latin-500.93d2fbd1.svg#RobotoMono) format("svg")}.c3btn{border-radius:2px;height:32px;font-family:Roboto;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;padding-left:1rem;padding-right:1rem;position:relative;margin-bottom:16px;min-width:100px;cursor:pointer;border:1px solid #a1d1ff;background-color:#a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#3d3d3d}.c3btn.pull-right{margin-left:auto}.c3btn:active{border:1px solid #a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#a1d1ff}.c3btn--grey,.c3btn:active{background-color:transparent}.c3btn--grey{border:1px solid #bdbdbd;color:#fff}.c3btn--grey:hover{border:1px solid #a1d1ff;color:#a1d1ff}.c3btn--grey:active{background-color:#a1d1ff;color:#3d3d3d}.c3btn--grey:active,.c3btn--outline{border:1px solid #a1d1ff;-webkit-box-shadow:none;box-shadow:none}.c3btn--outline{background-color:transparent;color:#a1d1ff}.c3btn--outline:active{border:1px solid #a1d1ff;background-color:#a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#3d3d3d}.c3btn--bottom{-ms-flex-item-align:end;align-self:flex-end}.c3btn[disabled]{color:#3d3d3d;border:1px solid #a1d1ff;background-color:#a1d1ff;border-radius:2px;cursor:default}.c3btn-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.c3btn-group .c3btn{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap;padding-left:0;padding-right:0}.c3btn-group .c3btn:not(:last-of-type){border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.c3btn-group .c3btn:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.c3btn-group .c3btn:hover{border-right:1px solid #a1d1ff}.c3btn-group .c3btn:hover+.c3btn{border-left:none}body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-weight:400;background-color:#111;color:#bdbdbd;margin:0;padding:0;width:100vw;height:100vh}*,body,html{font-family:Roboto,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}*{outline:none!important;background-color:inherit}span.icon{display:block;width:24px;height:24px}span.icon.exclamation,span.icon.exclamation:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.22 1.944h1.641l.233-6.897h-2.106l.233 6.897zm1.62 1.374c-.2-.196-.466-.294-.799-.294-.328 0-.595.1-.8.301-.2.196-.3.445-.3.745 0 .301.1.55.3.745.205.196.472.294.8.294.333 0 .6-.098.8-.294a.986.986 0 00.307-.745.994.994 0 00-.307-.752z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.exclamation,span.icon.exclamation:hover,span.icon.help{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.help{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.238.958c-.151.41-.227.959-.227 1.649h1.705l.027-.451c.048-.483.242-.904.579-1.264l.54-.57c.421-.453.716-.864.885-1.234.169-.374.253-.771.253-1.19 0-.922-.26-1.634-.78-2.137C13.702 7.254 12.972 7 12.03 7c-.932 0-1.67.266-2.21.798-.538.533-.811 1.27-.82 2.21h1.931c.01-.394.111-.702.307-.923.2-.227.463-.34.792-.34.693 0 1.039.416 1.039 1.249 0 .276-.067.54-.2.79-.133.247-.402.57-.806.97-.4.394-.675.795-.825 1.204zm-.12 3.105c-.2.212-.3.483-.3.813 0 .326.098.594.293.806.2.212.462.318.786.318s.584-.106.779-.318c.2-.212.3-.48.3-.806 0-.33-.103-.6-.307-.813a1.003 1.003 0 00-.772-.325c-.315 0-.575.108-.78.325z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.help:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.238.958c-.151.41-.227.959-.227 1.649h1.705l.027-.451c.048-.483.242-.904.579-1.264l.54-.57c.421-.453.716-.864.885-1.234.169-.374.253-.771.253-1.19 0-.922-.26-1.634-.78-2.137C13.702 7.254 12.972 7 12.03 7c-.932 0-1.67.266-2.21.798-.538.533-.811 1.27-.82 2.21h1.931c.01-.394.111-.702.307-.923.2-.227.463-.34.792-.34.693 0 1.039.416 1.039 1.249 0 .276-.067.54-.2.79-.133.247-.402.57-.806.97-.4.394-.675.795-.825 1.204zm-.12 3.105c-.2.212-.3.483-.3.813 0 .326.098.594.293.806.2.212.462.318.786.318s.584-.106.779-.318c.2-.212.3-.48.3-.806 0-.33-.103-.6-.307-.813a1.003 1.003 0 00-.772-.325c-.315 0-.575.108-.78.325z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.close,span.icon.close:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.carrotup,span.icon.carrotup:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 14l-5-5-5 5h10z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.carrotdown,span.icon.carrotdown:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 10l5 5 5-5H7z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.carrotdown,span.icon.carrotdown:hover,span.icon.random{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.random{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.random:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z' fill='%23FFF'/%3E%3C/svg%3E")}span.icon.random:hover,span.icon.upload{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.upload{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 18v2h18v-2H3z' fill='%23828282'/%3E%3Cpath d='M5 14H3v6h2v-6zM11 16h2V8h-2v8zM21 14h-2v6h2v-6zM8 8l4-4 4 4H8z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.upload:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 18v2h18v-2H3z' fill='%23FFF'/%3E%3Cpath d='M5 14H3v6h2v-6zM11 16h2V8h-2v8zM21 14h-2v6h2v-6zM8 8l4-4 4 4H8z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.back,span.icon.back:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4 7.4L14 6l-6 6 6 6 1.4-1.4-4.6-4.6 4.6-4.6z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.add-comment,span.icon.add-comment:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.2 3c.99 0 1.791.81 1.791 1.8L21 21l-3.6-3.6H4.8c-.99 0-1.8-.81-1.8-1.8V4.8C3 3.81 3.81 3 4.8 3h14.4zm-4.3 6.307h-2.226V6.934H11.29v2.373H9.053v1.3h2.238v2.538h1.383v-2.538H14.9v-1.3z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.fullscreen,span.icon.fullscreen:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H3v6h2V5h4V3zM21 9V3h-6v2h4v4h2zM15 21h6v-6h-2v4h-4v2zM3 15v6h6v-2H5v-4H3z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.zoomin,span.icon.zoomin:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 10h6V4H8v4H4v2zM14 4v6h6V8h-4V4h-2zM20 14h-6v6h2v-4h4v-2zM10 20v-6H4v2h4v4h2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.more,span.icon.more:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.warning,span.icon.warning:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z' fill='%23BF0001'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.return,span.icon.return:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.22 1.944h1.641l.233-6.897h-2.106l.233 6.897zm1.62 1.374c-.2-.196-.466-.294-.799-.294-.328 0-.595.1-.8.301-.2.196-.3.445-.3.745 0 .301.1.55.3.745.205.196.472.294.8.294.333 0 .6-.098.8-.294a.986.986 0 00.307-.745.994.994 0 00-.307-.752z' fill='%23AB61F6'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}label.icon.checkbox-on,label.icon.checkbox-on:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23a1d1ff' d='M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-on--disabled,label.icon.checkbox-on--disabled:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%231B6C51' d='M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-off,label.icon.checkbox-off:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 3v14H3V3h14zm0-2H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-off--disabled,label.icon.checkbox-off--disabled:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 3v14H3V3h14zm0-2H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z' fill='%234F4F4F'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}.c3link.c3link{color:#a1d1ff;cursor:pointer}.capitalize{text-transform:capitalize}.flex-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between} \ No newline at end of file +.c3route-list[data-v-4f91561c]{margin-bottom:24px}.c3route-list .datatable tbody tr[data-v-4f91561c]:hover{background:transparent;cursor:default}.c3route-list-more-btn[data-v-4f91561c]{position:relative;cursor:pointer;float:right}.c3route-list-menu[data-v-4f91561c]{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:0;top:10px;flex-direction:column;padding:0;background:#3d3d3d;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px;z-index:9}.c3route-list-menu-item[data-v-4f91561c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px;border-radius:2px}.c3route-list-menu-item[data-v-4f91561c]:hover{background-color:#4f4f4f;cursor:pointer}.c3route-list-menu-divider[data-v-4f91561c]{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3route-list-menu[data-v-4f91561c]:hover,.c3route-list-more-btn:hover+.c3route-list-menu[data-v-4f91561c]{display:-webkit-box;display:-ms-flexbox;display:flex}.c3InterfaceList[data-v-0686e7da],.c3InterfaceList[data-v-f4969ade]{margin-bottom:24px}.c3modal .flex-row.host-info{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.c3modal .flex-row.host-info .details{padding-left:16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0 16px 0 0;-ms-flex-item-align:start;align-self:flex-start;min-width:300px}.c3modal .flex-row.host-info .details p{font-size:14px;line-height:20px;margin:8px 0 0 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:300px}.c3modal .flex-row.host-info .details p span.details-title{text-align:left;min-width:40%}.c3modal .flex-row.host-info .details p span.details-value{text-align:end}.c3modal .flex-row.host-info .details p:last-of-type{margin-bottom:16px}tr:hover .hover-link[data-v-3748fed6]{color:#a1d1ff}.command-for[data-v-3748fed6]{text-transform:capitalize}.c3Stats[data-v-b5131632]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.c3Stats p[data-v-b5131632]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;font-size:14px;line-height:16px;height:32px}.c3Stats p span[data-v-b5131632]{max-width:75%;overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}.c3InterfaceList[data-v-5ea1cc30],.c3Stats p[data-v-b5131632]:last-of-type{margin-bottom:24px}.c3input-wrapper[data-v-0d08badc]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit;margin-bottom:16px}.c3input-wrapper .icon.random[data-v-0d08badc]{position:absolute;z-index:12;right:27px;top:3px}.c3input-wrapper .icon.help[data-v-0d08badc]{position:absolute;z-index:12;right:3px;top:3px}.c3input-wrapper .icon.help .help-text[data-v-0d08badc]{display:none}.c3input-wrapper .icon.help:hover .help-text[data-v-0d08badc]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3input-wrapper span.error-message[data-v-0d08badc]{color:#ff492f;font-size:12px;line-height:12px;position:absolute;right:0;bottom:-13px}.c3input-label[data-v-0d08badc]{font-size:14px;color:#bdbdbd;background-color:inherit;left:.5rem;top:.6rem;position:absolute;padding-left:.5rem;padding-right:.5rem;-webkit-transition-property:font-size,top,color;transition-property:font-size,top,color;-webkit-transition-duration:.25s;transition-duration:.25s;-webkit-transition-delay:0s;transition-delay:0s}.c3input-label.dirty[data-v-0d08badc]{color:#f2f2f2;font-size:10px;left:.5rem;top:-.4rem}.c3input-label[disabled][data-v-0d08badc]{color:#828282}.c3input-input[data-v-0d08badc]{background-color:inherit;color:#fff;font-family:Roboto;font-size:14px;line-height:16px;display:block;border:1px solid #bdbdbd;border-radius:2px;height:32px;width:100%;padding-left:1rem;padding-right:1rem;position:relativesdf;outline:none}.c3input-input.dirty[data-v-0d08badc]{border:1px solid #fff;color:#f2f2f2}.c3input-input[aria-invalid=true][data-v-0d08badc]{border-color:#ff492f;color:#ff492f}.c3input-input[aria-invalid=true]+label[data-v-0d08badc]{color:#ff492f}.c3input-input[data-v-0d08badc]:active:not([disabled]),.c3input-input[data-v-0d08badc]:focus:not([disabled]){border-color:#1476ff}.c3input-input[data-v-0d08badc]:active:not([disabled]):invalid,.c3input-input[data-v-0d08badc]:focus:not([disabled]):invalid{border-color:#ff492f}.c3input-input:active:not([disabled]):invalid+label[data-v-0d08badc],.c3input-input:focus:not([disabled]):invalid+label[data-v-0d08badc]{color:#ff492f}.c3input-input:active:not([disabled])+label[data-v-0d08badc],.c3input-input:focus:not([disabled])+label[data-v-0d08badc]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3input-input[disabled][data-v-0d08badc]{border-color:#828282;color:#828282}.c3input-input[disabled]+label[data-v-0d08badc]{color:#828282}.c3input-input[data-v-0d08badc]:invalid{border-color:#ff492f}.c3select[data-v-893eea00]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit;margin-bottom:16px}.c3select.disabled[data-v-893eea00]{color:#828282}.c3select.disabled .c3select-border[data-v-893eea00]{border:1px solid #828282}.c3select.disabled .c3select-legend[data-v-893eea00]{color:#828282}.c3select-close[data-v-893eea00]{display:block;position:fixed;background-color:transparent;width:100vw;height:100vh;margin:0;padding:0;top:0;left:0;z-index:12}.c3select-select[data-v-893eea00]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-height:32px;background-color:inherit}.c3select-select[data-v-893eea00],.c3select-selected[data-v-893eea00]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3select-selected[data-v-893eea00]{font-family:Roboto;font-style:normal;font-weight:400;font-size:inherit;line-height:16px;height:32px;width:100%;padding-left:.5rem;padding-right:1rem;outline:none}.c3select-border[data-v-893eea00]{border:1px solid #fff;border-radius:2px;padding-left:1rem}.c3select-legend[data-v-893eea00]{position:absolute;font-size:10px;line-height:12px;color:#fff;background-color:inherit;left:.5rem;top:-.4rem;padding-left:.5rem;padding-right:.5rem}.c3select .icon[data-v-893eea00]{position:absolute;right:4px;top:4px;cursor:pointer}.c3select-options[data-v-893eea00]{position:absolute;left:0;margin:0;padding:0;list-style:none;z-index:15;border:1px solid #828282;border-radius:0 0 2px 2px;width:100%;top:31px;max-height:250px;overflow-y:auto}.c3select-options .selected[data-v-893eea00]{color:#fff;font-weight:700}.c3select-options.c3select-direction-up[data-v-893eea00]{top:unset;bottom:0}.c3select-options .c3select-option[data-v-893eea00]{height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:.5rem;padding-right:.5rem;cursor:pointer}.c3select-options .c3select-option[data-v-893eea00]:hover{background-color:#3d3d3d}.c3checkbox-wrapper[data-v-40202deb]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.c3checkbox-wrapper .icon.help[data-v-40202deb]{position:absolute;z-index:12;right:3px;top:-5px}.c3checkbox-wrapper .icon.help .help-text[data-v-40202deb]{display:none}.c3checkbox-wrapper .icon.help:hover .help-text[data-v-40202deb]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3checkbox-wrapper .icon.checkbox[data-v-40202deb]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:32px;position:relative;left:0;width:auto;background-position-x:left}.c3checkbox-wrapper .icon.checkbox[data-v-40202deb]:hover{background-position-x:left}.c3checkbox-wrapper input[type=checkbox][data-v-40202deb]{visibility:hidden}.c3textarea[data-v-0828628d]{max-width:868px;padding:0;margin:0;position:relative}.c3textarea .icon.help[data-v-0828628d]{position:absolute;z-index:12;right:3px;top:3px}.c3textarea .icon.help .help-text[data-v-0828628d]{display:none}.c3textarea .icon.help:hover .help-text[data-v-0828628d]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3textarea-upload-button[data-v-0828628d]{position:absolute;z-index:12;right:30px;top:3px}.c3textarea-upload-button .help-text[data-v-0828628d]{display:none}.c3textarea-upload-button:hover .help-text[data-v-0828628d]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3textarea .textarea[data-v-0828628d]{width:100%;height:100%;margin:0;padding:8px;color:#fff;background-color:#222;border:1px solid #bdbdbd;border-radius:2px;padding-top:30px}.c3textarea .textarea .c3textarea-input[data-v-0828628d]{background-color:inherit;color:inherit;border:none;width:100%;height:100%;min-width:100%;min-height:100px;max-width:865px;max-height:300px}.c3textarea .textarea.focus[data-v-0828628d]{border:1px solid #1476ff}.c3textarea .textarea.focus[data-v-0828628d]:not([disabled]),.c3textarea .textarea[data-v-0828628d]:active:not([disabled]){border-color:#1476ff}.c3textarea .textarea.focus[data-v-0828628d]:not([disabled]):invalid,.c3textarea .textarea[data-v-0828628d]:active:not([disabled]):invalid{border-color:#ff492f}.c3textarea .textarea.focus:not([disabled]):invalid+label[data-v-0828628d],.c3textarea .textarea:active:not([disabled]):invalid+label[data-v-0828628d]{color:#ff492f}.c3textarea .textarea.focus:not([disabled])+label[data-v-0828628d],.c3textarea .textarea:active:not([disabled])+label[data-v-0828628d]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label[data-v-0828628d]{font-size:14px;color:#bdbdbd;background-color:inherit;left:.4rem;top:.6rem;position:absolute;padding-left:.5rem;padding-right:.5rem;-webkit-transition-property:font-size,top,color;transition-property:font-size,top,color;-webkit-transition-duration:.25s;transition-duration:.25s;-webkit-transition-delay:0s;transition-delay:0s}.c3textarea-label.dirty[data-v-0828628d]{color:#f2f2f2;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label.focus[data-v-0828628d]{color:#1476ff;font-size:10px;left:.5rem;top:-.4rem}.c3textarea-label[disabled][data-v-0828628d]{color:#828282}.c3textarea-legend[data-v-0828628d]{margin-left:8px;font-size:12px;color:#bdbdbd}.c3textarea-legend.focus[data-v-0828628d]{color:#1476ff}.c3form{margin-bottom:16px}.c3command-group{margin:16px 0}.c3modal-more-btn[data-v-33bc8b88]{position:relative;cursor:pointer;background-position-x:right!important;-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;width:auto;padding-right:24px;line-height:24px;font-size:12px;color:#fff}.c3modal-menu[data-v-33bc8b88]{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:12px;top:64px;flex-direction:column;padding:0;background:#3d3d3d;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px;z-index:9}.c3modal-menu-item[data-v-33bc8b88]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px;border-radius:2px}.c3modal-menu-item[data-v-33bc8b88]:hover{background-color:#4f4f4f;cursor:pointer}.c3modal-menu-divider[data-v-33bc8b88]{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3modal-menu[data-v-33bc8b88]:hover,.c3modal-more-btn:hover+.c3modal-menu[data-v-33bc8b88],.donut-form[data-v-2a2638f3]{display:-webkit-box;display:-ms-flexbox;display:flex}.donut-form[data-v-2a2638f3]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.donut-form .line[data-v-2a2638f3],.donut-form h1[data-v-2a2638f3]{width:100%}.donut-form .half-line[data-v-2a2638f3]{max-width:48%;width:48%}.embeded-modal{margin-bottom:16px}.embeded-modal .c3modal-details{-webkit-box-shadow:none;box-shadow:none;padding:0}.c3modal{display:block;position:fixed;background-color:rgba(0,0,0,.5);width:100vw;height:100vh;margin:0;padding:0;top:0;left:0;z-index:11}.c3modal .actions{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-item-align:self-start;align-self:self-start;-webkit-box-align:self-end;-ms-flex-align:self-end;align-items:self-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.c3modal .actions .c3btn{-ms-flex-item-align:end;align-self:flex-end}.c3modal-holder{margin:15vh auto;width:900px;max-width:calc(100vw - 3rem);max-height:70vh;overflow:hidden;overflow-y:auto;background:#282828}.c3modal-body,.c3modal-holder{position:relative;display:block}.c3modal-body{margin:0;padding:0;width:100%;height:100%;background-color:#282828}.c3modal-body h1{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;color:#bdbdbd;margin:0 0 8px;height:32px}.c3modal-body h1 .details{min-width:300px}.c3modal-body h1 .details p{font-size:14px;line-height:20px;padding:0;margin:0 0 8px 0;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-body h1 .details p:last-of-type{margin-bottom:16px}.c3modal-close{position:absolute;top:22px;right:12px;cursor:pointer;background-color:transparent}.c3modal span.c3modal-back.c3modal-back{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:22px;right:52px;cursor:pointer;text-transform:uppercase;font-size:12px;line-height:17px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:24px;background-position-x:left;width:auto;background-color:transparent}.c3modal span.c3modal-back.c3modal-back:hover{background-position-x:left}.c3modal-header{background:#222;border-radius:2px 2px 2px 0;padding:16px;margin-bottom:8px}.c3modal-header.is-return{background:linear-gradient(180deg,#ab61f6 4px,#222 0)}.c3modal-header.has-error{background:linear-gradient(180deg,#bf0001 4px,#222 0)}.c3modal-header .message-with-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3modal-header .message-with-icon span{margin-right:8px}.c3modal-details{padding-top:24px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;padding:16px;padding-bottom:24px}.c3modal-details table:not(:last-of-type){margin-bottom:2rem}.c3modal-body .form-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-body .form-row .form-element:not(:last-of-type){margin-right:8px}.c3modal-body .form-row .form-element:not(:first-of-type){margin-left:8px}.c3modal-actions.c3modal-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:0;margin:24px 0 0 0}.c3modal-actions.c3modal-actions .c3btn{margin-left:16px}.c3modal.options .c3modal-back.c3modal-back{display:-webkit-box;display:-ms-flexbox;display:flex}.c3modal.options h1{margin-bottom:16px}.c3modal-title-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3modal-title{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;margin:0;color:#bdbdbd}.c3modal-config-link{font-family:Roboto;color:#a1d1ff;font-size:12px;line-height:120%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-item-align:end;align-self:flex-end;text-align:right;margin:0 100px 14px 0;cursor:pointer}.c3checkbox-row[data-v-edfe580a],.c3checkbox-wrapper[data-v-edfe580a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3checkbox-wrapper[data-v-edfe580a]{position:relative;height:32px;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3checkbox-wrapper .icon.help[data-v-edfe580a]{position:relative}.c3checkbox-wrapper .icon.help .help-text[data-v-edfe580a]{display:none}.c3checkbox-wrapper .icon.help:hover .help-text[data-v-edfe580a]{right:0;top:24px;display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;max-width:400px;z-index:13}.c3toggle[data-v-edfe580a]{display:inline-block;position:relative;margin:0}.c3toggle-input[data-v-edfe580a]{width:36px;height:20px;opacity:0;z-index:0}.c3toggle-label[data-v-edfe580a]{display:block;padding:0 0 0 44px;cursor:pointer}.c3toggle-label[data-v-edfe580a]:before{content:"";position:absolute;top:5px;left:0;width:37px;height:14px;background-color:#bdbdbd;border:1px solid #828282;border-radius:14px;z-index:1;-webkit-transition:background-color .28s cubic-bezier(.4,0,.2,1);transition:background-color .28s cubic-bezier(.4,0,.2,1)}.c3toggle-label[data-v-edfe580a]:after{content:"";position:absolute;top:3px;left:0;width:20px;height:20px;background-color:#828282;border-radius:14px;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);z-index:2;-webkit-transition:all .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);-webkit-transition-property:left,background-color;transition-property:left,background-color}.c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:before{background-color:#90caff;border:1px solid #1476ff}.c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:after{left:20px;background-color:#a1d1ff}.c3toggle.disabled .c3toggle-label[data-v-edfe580a]:before{background-color:#4f4f4f;border:1px solid #828282}.c3toggle.disabled .c3toggle-label[data-v-edfe580a]:after{background-color:#828282}.c3toggle.disabled .c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:before{background-color:#5b8e7c;border:1px solid #1b6c51}.c3toggle.disabled .c3toggle-input:checked+.c3toggle-label[data-v-edfe580a]:after{background-color:#284167}.c3canvas{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:1;flex-shrink:1;margin:0 auto 0 auto;padding:0;border:.75px solid #a1d1ff;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;max-width:1200px;height:600px;background-color:#111}.c3canvas,.c3canvas .progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.c3canvas .progress-bar{position:absolute;left:0;bottom:0;height:10px;background:transparent}.c3canvas .progress-bar .progress-bar-status{position:relative;background-color:#a1d1ff;width:0;height:100%}.c3canvas-toggle-interfaces.c3canvas-toggle-interfaces,.c3canvas-toggle-layout.c3canvas-toggle-layout{position:relative;cursor:pointer}.c3canvas-toggle-layout.c3canvas-toggle-layout{margin-bottom:.5rem}.c3canvas-toggle-interfaces.c3canvas-toggle-interfaces{margin-top:.5rem}.c3canvas-fs-btn{right:50px}.c3canvas-fs-btn,.c3canvas-more-btn{position:absolute;cursor:pointer;top:23px}.c3canvas-more-btn{right:21px}.c3canvas-menu{display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;position:absolute;right:21px;top:33px;flex-direction:column;padding:0;background:#282828;-webkit-box-shadow:0 12px 24px rgba(0,0,0,.15);box-shadow:0 12px 24px rgba(0,0,0,.15);border-radius:2px;list-style:none;min-width:180px}.c3canvas-menu-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:16px;color:#fff;height:32px;padding:0 8px}.c3canvas-menu-item:hover{background-color:#222;cursor:pointer}.c3canvas-menu-divider{height:0;width:100;border-bottom:1px solid #3d3d3d}.c3canvas-menu:hover,.c3canvas-more-btn:hover+.c3canvas-menu{display:-webkit-box;display:-ms-flexbox;display:flex}.c3canvas #c3canvas{width:inherit;height:inherit;padding:2px;background-color:transparent}.c3canvas #c3canvas div.vis-network div.vis-navigation div.vis-button:active,.c3canvas #c3canvas div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:none;box-shadow:none}.c3canvas-fs{position:fixed;top:16px;left:16px;max-width:100vw;width:calc(100vw - 32px);height:calc(100vh - 32px);border:.75px solid #a1d1ff;z-index:9}.c3canvas-fs .c3canvas-fs-btn,.c3canvas-fs .c3canvas-menu-btn{z-index:10}#c3canvas div.vis-network{border:none;outline:none}#c3canvas 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}#c3canvas div.vis-network div.vis-navigation div.vis-button:active,#c3canvas div.vis-network div.vis-navigation div.vis-button:hover{-webkit-box-shadow:none;box-shadow:none}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-up{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 8l-6 6 1.4 1.4 4.6-4.6 4.6 4.6L18 14l-6-6z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:70px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-down{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 16l6-6-1.4-1.4-4.6 4.6-4.6-4.6L6 10l6 6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:70px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-left{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4 7.4L14 6l-6 6 6 6 1.4-1.4-4.6-4.6 4.6-4.6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:19px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-right{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.6 7.4L10 6l6 6-6 6-1.4-1.4 4.6-4.6-4.6-4.6z' fill='%23fff'/%3E%3C/svg%3E");top:70px;left:115px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomIn{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.4 12.6v-1.2h-4.8V6.6h-1.2v4.8H6.6v1.2h4.8v4.8h1.2v-4.8h4.8z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:19px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomOut{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 19a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.4 12.6v-1.2H6.6v1.2h10.8z' fill='%23fff'/%3E%3C/svg%3E");top:19px;left:115px}#c3canvas div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 16l-4-4V8.82C14.16 8.4 15 7.3 15 6c0-1.66-1.34-3-3-3S9 4.34 9 6c0 1.3.84 2.4 2 2.82V12l-4 4H3v5h5v-3.05l4-4.2 4 4.2V21h5v-5h-4z' fill='%23fff'/%3E%3C/svg%3E");top:19px;right:70px}.c3footer[data-v-62086585]{font-family:Roboto Mono;font-size:12px;line-height:10px;min-height:48px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;letter-spacing:.2em;text-transform:uppercase;color:#828282;margin-top:auto}.c3footer[data-v-62086585],.c3navbar[data-v-5295cdf8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.c3navbar[data-v-5295cdf8]{background-color:#222;margin:0;padding:16px;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.c3navbar-logo[data-v-5295cdf8]{width:auto;height:43px}.c3navbar-logo[data-v-5295cdf8]:not(:first-of-type){padding-left:4px;border-left:2px solid #fff}.c3navbar-left[data-v-5295cdf8]{line-height:43px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3navbar-left--title[data-v-5295cdf8]{font-size:36px;line-height:30px}.c3navbar-left--secondary[data-v-5295cdf8],.c3navbar-left--title[data-v-5295cdf8]{padding:0;margin:0;font-family:Roboto Mono;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:right;letter-spacing:-.05em}.c3navbar-left--secondary[data-v-5295cdf8]{font-size:18px;line-height:15px;text-transform:uppercase}.c3InterfaceList[data-v-579275ba]{margin-bottom:24px}.c3tabfooter[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;height:40px;font-size:12px;line-height:14px;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff;margin-top:-16px}.c3tabfooter-info[data-v-2eac248e]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3tabfooter-action[data-v-2eac248e],.c3tabfooter-info[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c3tabfooter-action[data-v-2eac248e]{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2}.c3tabfooter-perpage[data-v-2eac248e]{background-color:transparent;color:#fff;border:transparent;padding-left:.5rem;outline:none;border:none;width:60px}.c3tabfooter-perpage option[data-v-2eac248e]{background-color:#282828}.c3tabfooter-perpage option[data-v-2eac248e]:checked{background-color:#222;color:#a1d1ff}.c3tabfooter-paginator[data-v-2eac248e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:3;-ms-flex-positive:3;flex-grow:3;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.c3tabfooter-controll[data-v-2eac248e]{font-family:Roboto Mono;font-weight:500;cursor:pointer}.c3CommandList[data-v-39bf6527]{margin-bottom:24px}.command-for[data-v-39bf6527]{text-transform:capitalize}.c3CommandList[data-v-5873b325]{margin-bottom:24px}.command-for[data-v-5873b325]{text-transform:capitalize}.c3controll{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-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;margin:30px auto 30px auto;padding:24px;background:#282828;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 1px 2px rgba(0,0,0,.5);border-radius:2px;width:100%;max-width:1200px;position:relative}.c3controll-help{position:absolute;top:22px;right:12px}.c3controll-help:hover:after{display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;top:30px;right:0;max-width:400px;z-index:9;content:"For full details click on the items in the table below."}.c3controll-select-gateway{margin-bottom:1rem}.c3controll-tabs{list-style-type:none;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;height:24px;margin-bottom:1rem}.c3controll-tabs li{font-family:Roboto;font-weight:500;padding-left:1rem;padding-right:1rem}.c3controll-tabs li.active{color:#a1d1ff;border-bottom:1px solid #a1d1ff}.c3controll-tabs li:hover{cursor:pointer}.c3tab{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3tab,.c3tab-filters{display:-webkit-box;display:-ms-flexbox;display:flex}.c3tab-filters .c3select{max-width:250px}.c3tab-filters .c3select:not(:first-of-type){margin-left:16px}.c3tab-info-dot{width:8px;height:8px;display:inline-block;border-radius:50%;margin:0 .25rem}.c3tab-info-dot.is-complete{background-color:#828282}.c3tab-info-dot.not-complete{background-color:#a1d1ff}.c3tab-info-dot.is-return{background-color:#ab61f6}.c3tab-info-dot.not-active{background-color:#cd9526}.c3tab-info-dot.is-active{background-color:#a1d1ff}.c3tab-info-dot.has-error{background-color:#bf0001}.datatable{font-size:14px;line-height:16px;border-collapse:collapse;width:100%}.datatable tbody tr{font-family:Roboto;font-weight:400}.datatable tbody tr:hover,.datatable tbody tr active{background:#222;cursor:pointer}.datatable tr{height:32px;border-bottom:2px solid #3d3d3d}.datatable td,.datatable th{text-align:left}.datatable td{color:#828282}.datatable th{color:#fff}.datatable thead tr{font-family:Roboto;font-weight:500;height:40px}.datatable thead tr th{font-weight:500}.c3command{background-color:#222;color:#828282;padding:8px}.c3side[data-v-6cd95e5d]{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-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 auto;margin-top:150px;padding:16px 16px 16px 12px;width:100%;max-width:250px}.c3side-title-wrapper[data-v-6cd95e5d]{border-bottom:2px solid #e0e0e0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c3side-title[data-v-6cd95e5d]{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;margin:0;color:#bdbdbd}.c3side-config-link[data-v-6cd95e5d]{font-family:Roboto;color:#a1d1ff;font-size:12px;line-height:120%;display:flexc3btn-group;-ms-flex-item-align:end;align-self:flex-end;text-align:right;padding-bottom:2px;cursor:pointer}.c3side-body[data-v-6cd95e5d]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding:8px}.c3side-body[data-v-6cd95e5d],.c3side-refresh-wrapper[data-v-6cd95e5d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.c3side-refresh-wrapper[data-v-6cd95e5d]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:-24px}.c3side-refres-title[data-v-6cd95e5d]{line-height:32px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3side-refres-dropdown[data-v-6cd95e5d]{margin-bottom:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.c3side .c3btn-group[data-v-6cd95e5d]{margin-top:24px}.c3gateway-row button[data-v-49ef2de9]{margin-left:1rem}.c3gateway{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-negative:1;flex-shrink:1;margin:40px auto 24px auto;padding:0;width:100%;max-width:1200px}.c3gateway,.c3gateway .icon.exclamation{position:relative}.c3gateway .icon.exclamation:hover:after{display:block;position:absolute;font-family:Roboto;font-size:12px;color:#bdbdbd;background-color:#222;border-radius:2px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:4px 8px;top:30px;right:0;max-width:400px;z-index:9;content:"TODO: helper text for gateway selection."}.c3gateway-row{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:32px;width:100%;max-width:1200px}.c3gateway-row:first-of-type{margin:0 0 3px 0}.c3gateway-row:not(:first-of-type){margin:3px 0 3px 0}.c3gateway-row:last-of-type:not(:first-of-type){margin:3px 0 0 0}.c3gateway-row:only-child{margin:0}.c3gateway-title{font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-.05em;color:#bdbdbd;margin-bottom:1rem}.c3notify{display:block;position:fixed;background-color:transparent;width:450px;max-height:100vh;height:auto;margin:3rem calc(50vw - 225px) 3rem auto;padding:0;bottom:0;right:0;z-index:17;list-style:none}.c3notify li{-webkit-transition:all .25s cubic-bezier(0,-.05,.33,.99);transition:all .25s cubic-bezier(0,-.05,.33,.99)}.c3notify .slide-enter-active,.c3notify .slide-leave-active{-webkit-transition:all .5s cubic-bezier(0,-.05,.33,.99);transition:all .5s cubic-bezier(0,-.05,.33,.99)}.c3notify .slide-enter,.c3notify .slide-leave-to{-webkit-transform:translateY(10vh) scale(.9);transform:translateY(10vh) scale(.9);opacity:0}.c3notify-error,.c3notify-info{display:block;background-color:#4f4f4f;opacity:1;position:relative;min-height:40px;margin:1rem;padding:1rem;-webkit-box-shadow:0 4px 4px rgba(0,0,0,.25);box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:2px;right:calc(-50vw - 225px)}.c3notify-error h1,.c3notify-info h1{margin:0;padding:0;font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;letter-spacing:-.05em;color:#bdbdbd}.c3notify-error p,.c3notify-info p{margin:0;padding:0 12px 0 0;font-size:12px;line-height:14px;color:#fff}.c3notify-error h1+p,.c3notify-info h1+p{margin-top:.5rem}.c3notify-info{border-left:8px solid #a1d1ff}.c3notify-error{border-left:8px solid #bf0001}.c3notify-close{position:absolute;top:.5rem;right:.5rem;cursor:pointer}#app{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh;width:100vw;overflow:hidden;overflow-y:auto;margin:0;padding:0}.c3body{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin:0 auto;padding:0;width:100%;max-width:1450px}.c3body,.c3body-main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.c3body-main{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;margin:0;padding:16px 12px 16px 16px}.c3body-gateway{max-width:610px;margin:48px auto 0 auto;height:auto}.c3body-no-gateway-message{display:block;background-color:#222;max-width:610px;margin:48px auto 0 auto;height:120px;padding:1rem;-webkit-box-shadow:0 4px 4px rgba(0,0,0,.25);box-shadow:0 4px 4px rgba(0,0,0,.25);border-radius:2px;border-left:8px solid #ffac00}.c3body-no-gateway-message h1{margin:0;padding:0;font-family:Roboto Mono;font-weight:500;font-size:18px;line-height:25px;letter-spacing:-.05em;color:#bdbdbd}.c3body-no-gateway-message p{margin:0;padding:0 12px 0 0;font-size:14px;line-height:20px;color:#fff}.c3body-no-gateway-message h1+p{margin-top:.5rem}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/roboto-v18-latin-regular.68889c24.eot);src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v18-latin-regular.68889c24.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-regular.5d4aeb4e.woff2) format("woff2"),url(../fonts/roboto-v18-latin-regular.bafb105b.woff) format("woff"),url(../fonts/roboto-v18-latin-regular.372d0cc3.ttf) format("truetype"),url(../img/roboto-v18-latin-regular.8681f434.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(../fonts/roboto-v18-latin-500.03bb29d6.eot);src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v18-latin-500.03bb29d6.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-500.28546717.woff2) format("woff2"),url(../fonts/roboto-v18-latin-500.de8b7431.woff) format("woff"),url(../fonts/roboto-v18-latin-500.4d88404f.ttf) format("truetype"),url(../img/roboto-v18-latin-500.95204ac9.svg#Roboto) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot);src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-regular.e92cc0fb.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-regular.1db1469b.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-regular.c03588a7.ttf) format("truetype"),url(../img/roboto-mono-v5-latin-regular.96a9bbe5.svg#RobotoMono) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:500;src:url(../fonts/roboto-mono-v5-latin-500.d27e4d81.eot);src:local("Roboto Mono Medium"),local("RobotoMono-Medium"),url(../fonts/roboto-mono-v5-latin-500.d27e4d81.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-500.f70f506c.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-500.077525e5.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-500.f2e00df8.ttf) format("truetype"),url(../img/roboto-mono-v5-latin-500.93d2fbd1.svg#RobotoMono) format("svg")}.c3btn{border-radius:2px;height:32px;font-family:Roboto;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;padding-left:1rem;padding-right:1rem;position:relative;margin-bottom:16px;min-width:100px;cursor:pointer;border:1px solid #a1d1ff;background-color:#a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#3d3d3d}.c3btn.pull-right{margin-left:auto}.c3btn:active{border:1px solid #a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#a1d1ff}.c3btn--grey,.c3btn:active{background-color:transparent}.c3btn--grey{border:1px solid #bdbdbd;color:#fff}.c3btn--grey:hover{border:1px solid #a1d1ff;color:#a1d1ff}.c3btn--grey:active{background-color:#a1d1ff;color:#3d3d3d}.c3btn--grey:active,.c3btn--outline{border:1px solid #a1d1ff;-webkit-box-shadow:none;box-shadow:none}.c3btn--outline{background-color:transparent;color:#a1d1ff}.c3btn--outline:active{border:1px solid #a1d1ff;background-color:#a1d1ff;-webkit-box-shadow:none;box-shadow:none;color:#3d3d3d}.c3btn--bottom{-ms-flex-item-align:end;align-self:flex-end}.c3btn[disabled]{color:#3d3d3d;border:1px solid #a1d1ff;background-color:#a1d1ff;border-radius:2px;cursor:default}.c3btn-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.c3btn-group .c3btn{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;white-space:nowrap;padding-left:0;padding-right:0}.c3btn-group .c3btn:not(:last-of-type){border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.c3btn-group .c3btn:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.c3btn-group .c3btn:hover{border-right:1px solid #a1d1ff}.c3btn-group .c3btn:hover+.c3btn{border-left:none}body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;font-weight:400;background-color:#111;color:#bdbdbd;margin:0;padding:0;width:100vw;height:100vh}*,body,html{font-family:Roboto,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}*{outline:none!important;background-color:inherit}span.icon{display:block;width:24px;height:24px}span.icon.exclamation,span.icon.exclamation:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.22 1.944h1.641l.233-6.897h-2.106l.233 6.897zm1.62 1.374c-.2-.196-.466-.294-.799-.294-.328 0-.595.1-.8.301-.2.196-.3.445-.3.745 0 .301.1.55.3.745.205.196.472.294.8.294.333 0 .6-.098.8-.294a.986.986 0 00.307-.745.994.994 0 00-.307-.752z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.exclamation,span.icon.exclamation:hover,span.icon.help{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.help{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.238.958c-.151.41-.227.959-.227 1.649h1.705l.027-.451c.048-.483.242-.904.579-1.264l.54-.57c.421-.453.716-.864.885-1.234.169-.374.253-.771.253-1.19 0-.922-.26-1.634-.78-2.137C13.702 7.254 12.972 7 12.03 7c-.932 0-1.67.266-2.21.798-.538.533-.811 1.27-.82 2.21h1.931c.01-.394.111-.702.307-.923.2-.227.463-.34.792-.34.693 0 1.039.416 1.039 1.249 0 .276-.067.54-.2.79-.133.247-.402.57-.806.97-.4.394-.675.795-.825 1.204zm-.12 3.105c-.2.212-.3.483-.3.813 0 .326.098.594.293.806.2.212.462.318.786.318s.584-.106.779-.318c.2-.212.3-.48.3-.806 0-.33-.103-.6-.307-.813a1.003 1.003 0 00-.772-.325c-.315 0-.575.108-.78.325z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.help:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.238.958c-.151.41-.227.959-.227 1.649h1.705l.027-.451c.048-.483.242-.904.579-1.264l.54-.57c.421-.453.716-.864.885-1.234.169-.374.253-.771.253-1.19 0-.922-.26-1.634-.78-2.137C13.702 7.254 12.972 7 12.03 7c-.932 0-1.67.266-2.21.798-.538.533-.811 1.27-.82 2.21h1.931c.01-.394.111-.702.307-.923.2-.227.463-.34.792-.34.693 0 1.039.416 1.039 1.249 0 .276-.067.54-.2.79-.133.247-.402.57-.806.97-.4.394-.675.795-.825 1.204zm-.12 3.105c-.2.212-.3.483-.3.813 0 .326.098.594.293.806.2.212.462.318.786.318s.584-.106.779-.318c.2-.212.3-.48.3-.806 0-.33-.103-.6-.307-.813a1.003 1.003 0 00-.772-.325c-.315 0-.575.108-.78.325z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.close,span.icon.close:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.carrotup,span.icon.carrotup:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 14l-5-5-5 5h10z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.carrotdown,span.icon.carrotdown:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 10l5 5 5-5H7z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.carrotdown,span.icon.carrotdown:hover,span.icon.random{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.random{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.random:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z' fill='%23FFF'/%3E%3C/svg%3E")}span.icon.random:hover,span.icon.upload{background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.upload{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 18v2h18v-2H3z' fill='%23828282'/%3E%3Cpath d='M5 14H3v6h2v-6zM11 16h2V8h-2v8zM21 14h-2v6h2v-6zM8 8l4-4 4 4H8z' fill='%23828282'/%3E%3C/svg%3E")}span.icon.upload:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 18v2h18v-2H3z' fill='%23FFF'/%3E%3Cpath d='M5 14H3v6h2v-6zM11 16h2V8h-2v8zM21 14h-2v6h2v-6zM8 8l4-4 4 4H8z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.back,span.icon.back:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4 7.4L14 6l-6 6 6 6 1.4-1.4-4.6-4.6 4.6-4.6z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.add-comment,span.icon.add-comment:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.2 3c.99 0 1.791.81 1.791 1.8L21 21l-3.6-3.6H4.8c-.99 0-1.8-.81-1.8-1.8V4.8C3 3.81 3.81 3 4.8 3h14.4zm-4.3 6.307h-2.226V6.934H11.29v2.373H9.053v1.3h2.238v2.538h1.383v-2.538H14.9v-1.3z' fill='%23828282'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.fullscreen,span.icon.fullscreen:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H3v6h2V5h4V3zM21 9V3h-6v2h4v4h2zM15 21h6v-6h-2v4h-4v2zM3 15v6h6v-2H5v-4H3z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.zoomin,span.icon.zoomin:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 10h6V4H8v4H4v2zM14 4v6h6V8h-4V4h-2zM20 14h-6v6h2v-4h4v-2zM10 20v-6H4v2h4v4h2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.more,span.icon.more:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.warning,span.icon.warning:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z' fill='%23BF0001'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}span.icon.return,span.icon.return:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 12c0-4.968 4.032-9 9-9s9 4.032 9 9-4.032 9-9 9-9-4.032-9-9zm8.22 1.944h1.641l.233-6.897h-2.106l.233 6.897zm1.62 1.374c-.2-.196-.466-.294-.799-.294-.328 0-.595.1-.8.301-.2.196-.3.445-.3.745 0 .301.1.55.3.745.205.196.472.294.8.294.333 0 .6-.098.8-.294a.986.986 0 00.307-.745.994.994 0 00-.307-.752z' fill='%23AB61F6'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:24px}label.icon.checkbox-on,label.icon.checkbox-on:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23a1d1ff' d='M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-on--disabled,label.icon.checkbox-on--disabled:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%231B6C51' d='M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-off,label.icon.checkbox-off:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 3v14H3V3h14zm0-2H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}label.icon.checkbox-off--disabled,label.icon.checkbox-off--disabled:hover{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 3v14H3V3h14zm0-2H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z' fill='%234F4F4F'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px}.c3link.c3link{color:#a1d1ff;cursor:pointer}.capitalize{text-transform:capitalize}.flex-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between} \ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/index.html b/Src/WebController/Backend/wwwroot/index.html index e938e21c..04c3ed5e 100644 --- a/Src/WebController/Backend/wwwroot/index.html +++ b/Src/WebController/Backend/wwwroot/index.html @@ -1 +1 @@ -c3
\ No newline at end of file +c3
\ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/js/app.8e086b41.js b/Src/WebController/Backend/wwwroot/js/app.8e086b41.js new file mode 100644 index 00000000..a38aee98 --- /dev/null +++ b/Src/WebController/Backend/wwwroot/js/app.8e086b41.js @@ -0,0 +1,2 @@ +(function(t){function e(e){for(var n,o,s=e[0],c=e[1],l=e[2],d=0,h=[];d2&&void 0!==arguments[2]?arguments[2]:{};this.newModal({modalTarget:e,modalTargetId:t,modalOptions:a})}},{key:"closeThisModal",value:function(){this.closeModal()}},{key:"closeAllModal",value:function(){this.closeModalAll()}},{key:"addNotify",value:function(t){this.insertNotify(t)}},{key:"interfaceTypeName",value:function(t){if(t&&null!==t.type){if(t.klass)return this.getTypeNameForInterface(t.type,t.klass);this.addNotify({type:"error",message:"Interface Type cannot be determined. Must be a channel, connector or peripheral."})}return""}},{key:"interfaceType",value:function(t){return t.isReturnChannel?"Return Channel":t.isNegotiationChannel?"Negotiation Channel":""}},{key:"gateway",get:function(){return void 0===this.getGateway?y:this.getGateway}},{key:"commandType",value:function(t){return t.interfaceId&&void 0!==t.interfaceId?t.relayAgentId&&void 0!==t.relayAgentId?this.getNodeKlass(t.interfaceId+"-"+t.relayAgentId):this.getNodeKlass(t.interfaceId+"-"+this.gateway.id):t.relayAgentId&&void 0!==t.relayAgentId?n.Relay:n.Gateway}},{key:"commandTypeId",value:function(t){return t.relayAgentId&&void 0!==t.relayAgentId?""+t.relayAgentId:t.interfaceId&&void 0!==t.interfaceId?""+t.interfaceId:this.gateway?""+this.gateway.id:"error"}},{key:"isCommandPending",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?!0===t.isPending?"Pending":"Complete":!0===t.isPending?"is-complete":"not-complete"}},{key:"handleGlobalKeyDown",value:function(t){27===t.keyCode&&this.closeAllModal()}},{key:"unixTimeToString",value:function(t){var e=new Date(1e3*t),a=e.toISOString();return a=a.replace(/-/g,"/"),a=a.replace("T"," "),a=a.replace(".000Z",""),a}}]),a}(f["d"]);Object(h["a"])([O.Mutation],I.prototype,"newModal",void 0),Object(h["a"])([O.Mutation],I.prototype,"closeModal",void 0),Object(h["a"])([O.Mutation],I.prototype,"closeModalAll",void 0),Object(h["a"])([C.Action],I.prototype,"insertNotify",void 0),Object(h["a"])([k.Getter],I.prototype,"getTypeNameForInterface",void 0),Object(h["a"])([j.Getter],I.prototype,"getItemPerPage",void 0),Object(h["a"])([j.Getter],I.prototype,"getActualPage",void 0),Object(h["a"])([w.Getter],I.prototype,"getNodeKlass",void 0),Object(h["a"])([w.Getter],I.prototype,"getGateway",void 0),I=Object(h["a"])([f["a"]],I);var x=I,_=function(){var t=this,e=t.$createElement,a=t._self._c||e;return void 0!==t.relay?a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-header",class:{"has-error":!!t.relay.error}},[a("h1",[t._v(" Relay: "),a("span",[t._v(" "+t._s(t.relay.name)+" / "+t._s(t.relay.id))])]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"details"},[a("p",[t._v(" Parent "),a("span",{staticClass:"c3link",on:{click:function(e){return t.openModal(t.relay.parentId,t.relay.parentKlass)}}},[a("span",{staticClass:"capitalize"},[t._v(t._s(t.relay.parentKlass.toLowerCase())+" / ")]),t._v(" "+t._s(t.relay.parentId)+" ")])]),a("p",[t._v(" Build ID "),a("span",[t._v(t._s(t.relay.buildId))])]),a("p",[t._v(" Last seen "),a("span",[t._v(t._s(t.unixTimeToString(t.relay.timestamp)))])])]),a("div",{staticClass:"actions"},[a("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.relay.id,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])]),a("div",{staticClass:"flex-row host-info"},[a("div",{staticClass:"details"},[a("p",[a("span",{staticClass:"details-title"},[t._v("Computer Name ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.computerName))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("User Name ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.userName))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("Domain ")]),a("span",{staticClass:"details-value"},[t._v(t._s(""===t.relay.hostInfo.domain?"-":t.relay.hostInfo.domain))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("processId ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.processId))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("is Elevated ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.isElevated))])])]),a("div",{staticClass:"details"},[a("p",[a("span",{staticClass:"details-title"},[t._v("OS Major Version ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osMajorVersion))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Minor Version ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osMinorVersion))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Build Number ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osBuildNumber))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Service Pack Major ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osServicePackMajor))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Service Pack Minor ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osServicePackMinor))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Product Type ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osProductType))])]),a("p",[a("span",{staticClass:"details-title"},[t._v("OS Version ")]),a("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osVersion))])])])]),t.relay.error&&""!==t.relay.error?a("p",{staticClass:"message-with-icon"},[a("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.relay.error)+" ")]):t._e()]),a("div",{staticClass:"c3modal-details"},[a("ChannelList",{attrs:{"target-id":t.targetId,title:"Channels","show-empty":!0}}),a("PheripheralList",{attrs:{"target-id":t.targetId,title:"Peripherals","show-empty":!0}}),a("RouteList",{attrs:{"target-id":t.targetId,"parent-id":t.relay.id,"parent-klass":"RELAY",title:"Routes","show-empty":!0}}),"{}"!==JSON.stringify(t.relay.initialCommand)?[a("h1",[t._v("Command")]),a("pre",{staticClass:"c3command"},[t._v(t._s(JSON.stringify(t.relay.initialCommand,null,4)))])]:t._e()],2)]):t._e()},R=[],T=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.routes&&t.routes.length||t.displayEmpty?a("div",{staticClass:"c3route-list"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.routes.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.routes,(function(e){return a("tr",{key:e.destinationAgent},[a("td",[t._v(t._s(e.destinationAgent)+":"+t._s(e.receivingInterface))]),a("td",[t._v(t._s(e.destinationAgent))]),a("td",[t._v(t._s(e.outgoingInterface))]),a("td",[t._v(t._s(e.receivingInterface))]),a("td",[t._v(t._s(e.isNeighbour?"Yes":""))]),a("td",{staticStyle:{position:"relative"}},[a("span",{staticClass:"c3route-list-more-btn icon more"}),a("ul",{staticClass:"c3route-list-menu"},[a("li",{staticClass:"c3route-list-menu-item",on:{click:function(a){return t.sendCommand(e.destinationAgent+":"+e.receivingInterface)}}},[t._v(" Delete ")])])])])})),0)])]:t.displayEmpty?[t._v(" No routes found... ")]:t._e()],2):t._e()},N=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Route ID")]),a("th",[t._v("Destination Agent")]),a("th",[t._v("Outgoing Interface")]),a("th",[t._v("Receiving Interface")]),a("th",[t._v("Is Neighbour")]),a("th")])])}],P=(a("7f7f"),a("7514"),a("bc3a")),G=a.n(P);function L(t){var e=M();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function M(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var E=function(t){Object(l["a"])(a,t);var e=L(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"hasTitle",get:function(){return!!this.title&&""!==this.title}},{key:"displayEmpty",get:function(){return!!this.showEmpty&&!0===this.showEmpty}}]),a}(i["a"]);Object(h["a"])([Object(f["c"])()],E.prototype,"title",void 0),Object(h["a"])([Object(f["c"])()],E.prototype,"showEmpty",void 0),E=Object(h["a"])([f["a"]],E);var A=E;function D(t){var e=S();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var B=Object(p["a"])("c3Module"),F=Object(p["a"])("c3Capability"),U=Object(p["a"])("optionsModule"),$=function(t){Object(l["a"])(a,t);var e=D(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"routes",get:function(){return this.targetId?this.getRelayRoutes(this.targetId):this.getGatewayRoutes}},{key:"getCommandId",get:function(){var t=this.targetId?"RELAY":"GATEWAY",e=this.getCapabilityFor("Command",t);if(e){var a=e.commands.find((function(t){return"RemoveRoute"===t.name}));return a.id}return""}},{key:"relay",get:function(){var t=this.getRelay(this.targetId);return t||this.closeThisModal(),t}},{key:"sendCommand",value:function(t){var e=this,a=null;a=this.targetId?{name:"RelayCommandGroup",data:{id:this.getCommandId,name:"Command",command:"RemoveRoute",arguments:[{type:"string",name:"RouteID",value:t}]}}:{name:"GatewayCommandGroup",data:{id:this.getCommandId,name:"Command",command:"RemoveRoute",arguments:[{type:"string",name:"RouteID",value:t}]}};var i="/api/gateway/";if(this.parentKlass&&this.parentKlass===n.Gateway&&(i+="".concat(this.parentId,"/command")),this.parentKlass&&this.parentKlass===n.Relay){var r=this.getRelay(this.parentId);i=r?i+"".concat(r.parentId,"/relay/").concat(this.parentId,"/command"):i+"".concat(this.parentId,"/command")}G()({url:i,method:"POST",baseURL:this.getAPIBaseUrl,data:a}).then((function(t){e.addNotify({type:"info",message:"Command successfully sent..."}),e.closeThisModal()})).catch((function(t){var a="Command NOT sent: "+t.message;e.addNotify({type:"error",message:a}),console.error(t.message)}))}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Object(f["c"])()],$.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],$.prototype,"parentId",void 0),Object(h["a"])([Object(f["c"])()],$.prototype,"parentKlass",void 0),Object(h["a"])([B.Getter],$.prototype,"getRelay",void 0),Object(h["a"])([B.Getter],$.prototype,"getGatewayRoutes",void 0),Object(h["a"])([B.Getter],$.prototype,"getRelayRoutes",void 0),Object(h["a"])([F.Getter],$.prototype,"getCapabilityFor",void 0),Object(h["a"])([U.Getter],$.prototype,"getAPIBaseUrl",void 0),$=Object(h["a"])([f["a"]],$);var V=$,K=V,z=(a("890d"),a("2877")),H=Object(z["a"])(K,T,N,!1,null,"4f91561c",null),Z=H.exports,Y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.channels.length||t.displayEmpty?a("div",{staticClass:"c3InterfaceList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.channels.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.channels,(function(e){return a("tr",{key:e.id,on:{click:function(a){return t.openModal(e.uid,e.klass)}}},[a("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),a("td",[t._v(t._s(t.interfaceTypeName(e)))]),a("td",[t._v(t._s(t.interfaceType(e)))])])})),0)])]:t.displayEmpty?[t._v(" No channels found... ")]:t._e()],2):t._e()},J=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Channel ID")]),a("th",[t._v("Name")]),a("th",[t._v("Channel Type")])])])}];function X(t){var e=W();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function W(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var q=Object(p["a"])("c3Module"),Q=function(t){Object(l["a"])(a,t);var e=X(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"channels",get:function(){return this.targetId?this.getInterfacesFor(n.Channel,this.targetId):this.getInterfacesFor(n.Channel,null)}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Object(f["c"])()],Q.prototype,"targetId",void 0),Object(h["a"])([q.Getter],Q.prototype,"getInterfacesFor",void 0),Q=Object(h["a"])([f["a"]],Q);var tt=Q,et=tt,at=(a("1956"),Object(z["a"])(et,Y,J,!1,null,"f4969ade",null)),nt=at.exports,it=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.peripherals.length||t.displayEmpty?a("div",{staticClass:"c3InterfaceList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.peripherals.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.peripherals,(function(e){return a("tr",{key:e.id,on:{click:function(a){return t.openModal(e.uid,e.klass)}}},[a("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),a("td",[t._v(t._s(t.interfaceTypeName(e)))])])})),0)])]:t.displayEmpty?[t._v(" No peripherals found... ")]:t._e()],2):t._e()},rt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Peripheral ID")]),a("th",[t._v("Name")])])])}];function ot(t){var e=st();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function st(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var ct=Object(p["a"])("c3Module"),lt=function(t){Object(l["a"])(a,t);var e=ot(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"peripherals",get:function(){return this.targetId?this.getInterfacesFor(n.Peripheral,this.targetId):this.getInterfacesFor(n.Peripheral,null)}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Object(f["c"])()],lt.prototype,"targetId",void 0),Object(h["a"])([ct.Getter],lt.prototype,"getInterfacesFor",void 0),lt=Object(h["a"])([f["a"]],lt);var ut=lt,dt=ut,ht=(a("5ae9"),Object(z["a"])(dt,it,rt,!1,null,"0686e7da",null)),ft=ht.exports;function pt(t){var e=yt();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var gt=Object(p["a"])("c3Module"),mt=function(t){Object(l["a"])(a,t);var e=pt(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"relay",get:function(){var t=this.getRelay(this.targetId);return t||this.closeThisModal(),t}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],mt.prototype,"targetId",void 0),Object(h["a"])([gt.Getter],mt.prototype,"getRelay",void 0),mt=Object(h["a"])([Object(f["a"])({components:{RouteList:Z,ChannelList:nt,PheripheralList:ft}})],mt);var vt=mt,bt=vt,wt=(a("3f41"),Object(z["a"])(bt,_,R,!1,null,null,null)),Ct=wt.exports,Ot=function(){var t=this,e=t.$createElement,a=t._self._c||e;return void 0!==t.c3Command?a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-details"},[a("h1",[t._v(" Command Details ")]),a("table",{staticClass:"datatable"},[t._m(0),a("tbody",[a("tr",{on:{click:function(e){t.openModal(t.InterfaceUID(t.c3Command),t.commandType(t.c3Command))}}},[a("td",[a("span",{staticClass:"c3tab-pending",class:t.isCommandPending(t.c3Command)}),t._v(" "+t._s(t.c3Command.id)+" ")]),a("td",[t._v(" "+t._s(t.isCommandPending(t.c3Command,!0))+" ")]),a("td",{staticClass:"hover-link command-for"},[t._v(" "+t._s(t.commandType(t.c3Command).toLowerCase())+" ")]),a("td",[t._v(" "+t._s(t.commandTypeId(t.c3Command))+" ")])])])]),a("pre",{staticClass:"c3command"},[t._v(t._s(JSON.stringify(t.c3Command,null,4)))])])]):t._e()},kt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Command ID")]),a("th",[t._v("Status")]),a("th",[t._v("Command for")]),a("th",[t._v("ID")])])])}];function jt(t){var e=It();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function It(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var xt=Object(p["a"])("c3CommandModule"),_t=function(t){Object(l["a"])(a,t);var e=jt(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"c3Command",get:function(){var t=this.getCommand(this.targetId);return t||(this.closeThisModal(),this.addNotify({type:"error",message:"The Commandyou looking for: ".concat(this.targetId,", not exist.")})),t}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"InterfaceUID",value:function(t){return t.interfaceId?t.relayAgentId?t.interfaceId+"-"+t.relayAgentId:t.interfaceId+"-"+this.gateway.id:t.relayAgentId?t.relayAgentId:this.gateway.id}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],_t.prototype,"targetId",void 0),Object(h["a"])([xt.Getter],_t.prototype,"getCommand",void 0),_t=Object(h["a"])([f["a"]],_t);var Rt=_t,Tt=Rt,Nt=(a("2a30"),Object(z["a"])(Tt,Ot,kt,!1,null,"3748fed6",null)),Pt=Nt.exports,Gt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return null!==t.gateway?a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-header",class:{"has-error":!!t.gateway.error}},[a("h1",[t._v(" Gateway: "),a("span",[t._v(" "+t._s(t.gateway.name)+" / "+t._s(t.gateway.id))])]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"details"},[a("p",[t._v(" Build ID "),a("span",[t._v(t._s(t.gateway.buildId))])]),a("p",[t._v(" Start time "),a("span",[t._v(t._s(t.unixTimeToString(t.gateway.timestamp)))])])]),a("div",{staticClass:"actions"},[a("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return t.openModal("","CREATE_RELAY")}}},[t._v(" New Relay ")])])]),t.gateway.error&&""!==t.gateway.error?a("p",{staticClass:"message-with-icon"},[a("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.gateway.error)+" ")]):t._e(),a("div",{staticClass:"flex-row"},[a("NetworkStats",{staticStyle:{width:"250px"}}),a("div",{staticClass:"actions"},[a("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.gateway.id,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])],1)]),a("div",{staticClass:"c3modal-details"},[a("ChannelList",{attrs:{"target-id":null,title:"Channels","show-empty":!0}}),a("PheripheralList",{attrs:{"target-id":null,title:"Peripherals","show-empty":!0}}),a("ConnectorList",{attrs:{title:"Connectors","show-empty":!0}}),a("RouteList",{attrs:{"target-id":null,"parent-id":t.gateway.id,"parent-klass":"GATEWAY",title:"Routes","show-empty":!0}})],1)]):t._e()},Lt=[],Mt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3Stats"},[a("p",[a("span",[t._v("Relays")]),a("span",[t._v(t._s(t.countRelays))])]),a("p",[a("span",[t._v("Channels")]),a("span",[t._v(t._s(t.countChannels))])]),a("p",[a("span",[t._v("Connectors")]),a("span",[t._v(t._s(t.countConnectors))])]),a("p",[a("span",[t._v("Peripherals")]),a("span",[t._v(t._s(t.countPheripherals))])]),a("p",[a("span",[t._v("URL")]),a("span",[t._v(t._s(t.url))])]),a("p",[a("span",[t._v("Port")]),a("span",[t._v(t._s(t.port))])])])},Et=[];function At(t){var e=Dt();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Dt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var St=Object(p["a"])("c3Module"),Bt=Object(p["a"])("optionsModule"),Ft=function(t){Object(l["a"])(a,t);var e=At(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"url",get:function(){return this.getAPIUrl}},{key:"port",get:function(){return this.getAPIPort}},{key:"refreshInterval",get:function(){return this.getRefreshInterval}},{key:"countRelays",get:function(){return this.getRelays.length}},{key:"countChannels",get:function(){return this.getInterfaces([n.Channel]).length}},{key:"countConnectors",get:function(){return this.getInterfaces([n.Connector]).length}},{key:"countPheripherals",get:function(){return this.getInterfaces([n.Peripheral]).length}}]),a}(Object(f["b"])(x));Object(h["a"])([St.Getter],Ft.prototype,"getRelays",void 0),Object(h["a"])([St.Getter],Ft.prototype,"getInterfaces",void 0),Object(h["a"])([Bt.Getter],Ft.prototype,"getAPIUrl",void 0),Object(h["a"])([Bt.Getter],Ft.prototype,"getAPIPort",void 0),Object(h["a"])([Bt.Getter],Ft.prototype,"getRefreshInterval",void 0),Ft=Object(h["a"])([f["a"]],Ft);var Ut=Ft,$t=Ut,Vt=(a("c1fb"),Object(z["a"])($t,Mt,Et,!1,null,"b5131632",null)),Kt=Vt.exports,zt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.connectors.length||t.displayEmpty?a("div",{staticClass:"c3InterfaceList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.connectors.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.connectors,(function(e){return a("tr",{key:e.id,on:{click:function(a){return t.openModal(e.uid,e.klass)}}},[a("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),a("td",[t._v(t._s(t.interfaceTypeName(e)))])])})),0)])]:t.displayEmpty?[t._v(" No connectors found... ")]:t._e()],2):t._e()},Ht=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Connector ID")]),a("th",[t._v("Name")])])])}];function Zt(t){var e=Yt();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Jt=Object(p["a"])("c3Module"),Xt=function(t){Object(l["a"])(a,t);var e=Zt(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"connectors",get:function(){return this.getInterfacesFor(n.Connector,null)}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Jt.Getter],Xt.prototype,"getInterfacesFor",void 0),Xt=Object(h["a"])([f["a"]],Xt);var Wt=Xt,qt=Wt,Qt=(a("c28f"),Object(z["a"])(qt,zt,Ht,!1,null,"5ea1cc30",null)),te=Qt.exports,ee=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-details"},[t.isNotEmbeded?a("h1",[t._v(" Create Command for: "+t._s(t.currentItem.klass)+" - "+t._s(t.currentItem.name)+" "+t._s(t.interfaceTypeName(t.currentItem))+"/ "+t._s(t.currentItem.id)+" ")]):t._e(),a("div",{staticClass:"c3command-group"},[a("Select",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"form-element",attrs:{legend:"Select Command Group",selected:t.selectedCommandGroup,options:t.commandGroupOptions,border:!0},on:{change:function(e){return t.changeCommandGroup(e,t.commandGroup)}}}),a("Select",{staticClass:"form-element",attrs:{legend:"Select Command",selected:t.selectedCommandTarget,options:t.commandTargetOptions,border:!0},on:{change:function(e){return t.changeCommandTarget(e,t.commandTarget)}}})],1),void 0!==t.selectedInterface&&void 0!==t.selectedCommand?a("GeneralForm",{key:t.selectedInterface+t.selectedCommand+t.selectedCommand,attrs:{klass:t.selectedInterfaceKlass,"interface-name":t.selectedInterface,command:t.selectedCommand,"target-id":t.targetId,target:t.selectedInterface,options:t.argumentOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}}):t._e(),t.isNotEmbeded?a("dir",{staticClass:"flex-row c3modal-actions"},[a("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),a("button",{staticClass:"c3btn",attrs:{disabled:t.formIsValid},on:{click:function(e){return t.sendCommand()}}},[t._v(" Send Command ")])]):t._e()],1)])},ae=[],ne=(a("28a5"),a("ac6a"),a("456d"),a("761a")),ie=a.n(ne),re=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3input-wrapper"},[t.hasHelp?a("span",{staticClass:"icon help"},[a("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),t.random?a("span",{staticClass:"icon random",on:{click:function(e){return e.target!==e.currentTarget?null:t.onClickRandom.apply(null,arguments)}}}):t._e(),a("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputText,expression:"inputText"},{name:"validate",rawName:"v-validate",value:t.validate,expression:"validate"}],ref:"textinput",staticClass:"c3input-input",class:{dirty:t.isDirty},attrs:{type:"text",disabled:t.isDisabled,name:t.inputUID,autocomplete:t.autocomplete},domProps:{value:t.inputText},on:{change:t.changeInputText,focus:function(e){return t.gainFocus()},blur:function(e){return t.lostFocus()},input:function(e){e.target.composing||(t.inputText=e.target.value)}}},"input",t.$attrs,!1)),a("label",{staticClass:"c3input-label",class:{dirty:t.isDirty},on:{click:function(e){return e.target!==e.currentTarget?null:t.clickOnLabel()}}},[t._v(" "+t._s(t.legend)+" ")]),a("span",{staticClass:"error-message"},[t._v(t._s(t.errors.first(t.inputUID)))])])},oe=[];a("6b54");function se(t){var e=ce();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var le=function(t){Object(l["a"])(a,t);var e=se(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"hasHelp",get:function(){return!!this.help}},{key:"isDisabled",get:function(){return!!this.disabled}},{key:"inputUID",get:function(){return this.name?this.name:Math.random().toString(36).substring(2)}}]),a}(i["a"]);Object(h["a"])([Object(f["c"])()],le.prototype,"help",void 0),Object(h["a"])([Object(f["c"])()],le.prototype,"name",void 0),Object(h["a"])([Object(f["c"])()],le.prototype,"legend",void 0),Object(h["a"])([Object(f["c"])()],le.prototype,"disabled",void 0),Object(h["a"])([Object(f["c"])()],le.prototype,"autocomplete",void 0),le=Object(h["a"])([f["a"]],le);var ue=le;function de(t){var e=he();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function he(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var fe=function(t){Object(l["a"])(a,t);var e=de(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.focused=!1,t.inputText=t.getValue,t.intervalTimer=null,t}return Object(c["a"])(a,[{key:"getValue",get:function(){return""!==this.value&&void 0!==this.value||!this.random?this.value||"":this.rand(parseInt(this.random,10))}},{key:"isDirty",get:function(){return!!this.value||!!this.inputText}},{key:"mounted",value:function(){this.changeInputText(),window.addEventListener("inputkeypress",this.handleEnterAndTabKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("inputkeypress",this.handleEnterAndTabKeyDown,!0)}},{key:"gainFocus",value:function(){this.focused=!0,this.intervalTimer=setInterval(this.changeInputText,500)}},{key:"lostFocus",value:function(){this.focused=!1,clearInterval(this.intervalTimer),this.changeInputText()}},{key:"clickOnLabel",value:function(){this.$refs.textinput.focus()}},{key:"changeInputText",value:function(){var t=this;this.$validator.verify(this.$refs.textinput.value,this.validate).then((function(e){var a=e.valid;t.$emit("change",{value:t.inputText,valid:a})}))}},{key:"handleEnterAndTabKeyDown",value:function(t){13!==t.keyCode&&9!==t.keyCode||this.changeInputText()}},{key:"rand",value:function(t){return t<1&&(t=1),t>10&&(t=10),Math.random().toString(36).substring(2).substr(0,t)}},{key:"onClickRandom",value:function(){var t=this;this.inputText=this.rand(parseInt(this.random,10)),this.$validator.validate().then((function(e){t.changeInputText()}))}}]),a}(Object(f["b"])(x,ue));Object(h["a"])([Object(f["c"])()],fe.prototype,"value",void 0),Object(h["a"])([Object(f["c"])()],fe.prototype,"random",void 0),Object(h["a"])([Object(f["c"])()],fe.prototype,"validate",void 0),fe=Object(h["a"])([Object(f["a"])({$_veeValidate:{validator:"new"}})],fe);var pe=fe,ye=pe,ge=(a("6856"),Object(z["a"])(ye,re,oe,!1,null,"0d08badc",null)),me=ge.exports,ve=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3select",class:{disabled:t.isDisabled}},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"c3select-close",on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}}),a("div",{staticClass:"c3select-select"},[a("span",{staticClass:"c3select-selected",class:{"c3select-border":t.hasBorder},on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}},[t._v(" "+t._s(t.selectedValue)+" ")]),t.legend?a("span",{staticClass:"c3select-legend"},[t._v(" "+t._s(t.legend)+" ")]):t._e(),a("span",{staticClass:"c3select-icon icon",class:t.dropDownIcon,on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}})]),a("ul",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"c3select-options",class:{"c3select-direction-up":t.directionReverse},style:t.selectUlStyle},t._l(t.options,(function(e,n){return a("li",{key:n,staticClass:"c3select-option",class:{selected:t.isSelected(n)},on:{click:function(e){return e.target!==e.currentTarget?null:t.selectAndClose(n)}}},[t._v(" "+t._s(e)+" ")])})),0)])},be=[];function we(t){var e=Ce();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Oe=function(t){Object(l["a"])(a,t);var e=we(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.isOpen=!1,t.hasBorder=t.border||!1,t.directionReverse=t.up||!1,t.selectRef=Math.random().toString(36).substring(2),t.selectUlStyle="",t}return Object(c["a"])(a,[{key:"dropDownIcon",get:function(){return this.isOpen?"carrotup":"carrotdown"}},{key:"selectedValue",get:function(){var t=this,e="";return Object.keys(this.options).forEach((function(a){t.selected===a&&(e=t.options[a])})),e}},{key:"mounted",value:function(){this.up||this.calculateSelectUlOffset()}},{key:"isSelected",value:function(t){return this.selected===t?"selected":""}},{key:"toggleSelect",value:function(){this.calculateSelectUlOffset(),this.isDisabled||(this.isOpen=!this.isOpen)}},{key:"selectAndClose",value:function(t){"validated"===this.feedback?this.$emit("change",{value:t,valid:!0}):this.$emit("change",t),this.toggleSelect()}},{key:"calculateSelectUlOffset",value:function(){var t=this.$el.getBoundingClientRect(),e=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;this.directionReverse?this.selectUlStyle="position: fixed; margin-bottom: -31px; bottom: calc(100vh - ".concat(t.top+a,"px);")+" left: ".concat(t.left+e,"px; width: ").concat(t.width,"px;"):this.selectUlStyle="position: fixed; margin-top: 31px; top: ".concat(t.top+a,"px;")+" left: ".concat(t.left+e,"px; width: ").concat(t.width,"px;")}}]),a}(Object(f["b"])(x,ue));Object(h["a"])([Object(f["c"])()],Oe.prototype,"up",void 0),Object(h["a"])([Object(f["c"])()],Oe.prototype,"legend",void 0),Object(h["a"])([Object(f["c"])()],Oe.prototype,"border",void 0),Object(h["a"])([Object(f["c"])()],Oe.prototype,"selected",void 0),Object(h["a"])([Object(f["c"])()],Oe.prototype,"options",void 0),Object(h["a"])([Object(f["c"])()],Oe.prototype,"feedback",void 0),Oe=Object(h["a"])([f["a"]],Oe);var ke=Oe,je=ke,Ie=(a("e813"),Object(z["a"])(je,ve,be,!1,null,"893eea00",null)),xe=Ie.exports,_e=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3form"},[t._l(t.argumentsArray,(function(e){return a(t.getFieldType(e),t._b({key:e.id,tag:"component",attrs:{legend:e.name,validate:e.validation,name:e.name,random:e.randomize,value:t.setDefaultValue(e.name,e.defaultValue),help:e.description,autocomplete:"off",border:"ture",options:e.options,selected:e.selected,feedback:e.feedback},on:{change:function(a){return t.onChange(a,e.id)}}},"component",e,!1))})),t._l(t.argumentObjects,(function(e){return a(t.getFieldType(e),t._b({key:e.id,tag:"component",attrs:{legend:e.name,validate:e.validation,random:e.randomize,name:e.name,value:t.setDefaultValue(e.name,e.defaultValue),help:e.description,autocomplete:"off",border:"ture",options:e.options,selected:e.selected,feedback:e.feedback},on:{change:function(a){return t.onChange(a,e.id)}}},"component",e,!1))}))],2)},Re=[],Te=(a("20d6"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3checkbox-wrapper"},[t.hasHelp?a("span",{staticClass:"icon help"},[a("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),a("label",{staticClass:"icon checkbox",class:t.getIconKlass,attrs:{for:t.inputUID}},[t._v(" "+t._s(t.legend)+" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.isChecked,expression:"isChecked"}],ref:"booleanCheckbox",attrs:{type:"checkbox",value:"None",id:t.inputUID,name:t.inputUID,"true-value":"true","false-value":"false",disabled:t.disabled,autocomplete:t.autocomplete},domProps:{checked:Array.isArray(t.isChecked)?t._i(t.isChecked,"None")>-1:t._q(t.isChecked,"true")},on:{change:[function(e){var a=t.isChecked,n=e.target,i=n.checked?"true":"false";if(Array.isArray(a)){var r="None",o=t._i(a,r);n.checked?o<0&&(t.isChecked=a.concat([r])):o>-1&&(t.isChecked=a.slice(0,o).concat(a.slice(o+1)))}else t.isChecked=i},t.toogleCheckBox]}})])])}),Ne=[];function Pe(t){var e=Ge();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Ge(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Le=function(t){Object(l["a"])(a,t);var e=Pe(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.isChecked=t.getIsChecked,t}return Object(c["a"])(a,[{key:"getIconKlass",get:function(){var t="true"===this.isChecked?"-on":"-off",e=this.isDisabled?"--disabled":"";return"checkbox".concat(t).concat(e)}},{key:"getIsChecked",get:function(){return this.value&&"boolean"===typeof this.value&&!0===this.value?"true":"false"}},{key:"mounted",value:function(){this.toogleCheckBox()}},{key:"toogleCheckBox",value:function(){var t="true"===this.isChecked;this.$emit("change",{value:t,valid:!0})}}]),a}(Object(f["b"])(x,ue));Object(h["a"])([Object(f["c"])()],Le.prototype,"value",void 0),Le=Object(h["a"])([f["a"]],Le);var Me=Le,Ee=Me,Ae=(a("76d6"),Object(z["a"])(Ee,Te,Ne,!1,null,"40202deb",null)),De=Ae.exports,Se=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3textarea"},[t.hasHelp?a("span",{staticClass:"icon help"},[a("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),a("div",{staticClass:"textarea",class:{focus:t.focused}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.dataText,expression:"dataText"}],ref:"textareainput",staticClass:"c3textarea-input",class:{focus:t.focused},attrs:{rows:"5",cols:"33",type:"checkbox",id:t.inputUID,name:t.inputUID,disabled:t.disabled,autocomplete:t.autocomplete},domProps:{value:t.dataText},on:{input:[function(e){e.target.composing||(t.dataText=e.target.value)},t.updateTextarea],focus:function(e){t.focused=!0},blur:function(e){return t.lostFocus()}}}),a("label",{staticClass:"c3textarea-label",class:{dirty:t.isDirty,focus:t.focused},on:{click:function(e){return e.target!==e.currentTarget?null:t.clickOnLabel()}}},[t._v(" "+t._s(t.legend)+" ")]),t._m(0)]),a("input",{ref:"fileinput",staticStyle:{visibility:"hidden"},attrs:{id:"payload-file",type:"file"},on:{change:t.updateTextfield}})])},Be=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("label",{staticClass:"c3textarea-upload-button",attrs:{for:"payload-file"}},[a("span",{staticClass:"icon upload"},[a("div",{staticClass:"help-text"},[t._v(" Select file to upload... ")])])])}];function Fe(t){var e=Ue();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Ue(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var $e=function(t){Object(l["a"])(a,t);var e=Fe(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.dataText="",t.focused=!1,t}return Object(c["a"])(a,[{key:"isDirty",get:function(){return!!this.value||!!this.dataText}},{key:"mounted",value:function(){this.updateTextarea()}},{key:"created",value:function(){this.value!==this.dataText&&""===this.dataText&&(this.dataText=this.value),this.updateTextarea()}},{key:"lostFocus",value:function(){this.focused=!1,this.updateTextarea()}},{key:"updateTextarea",value:function(){this.$emit("change",{value:this.dataText,valid:!0})}},{key:"clickOnLabel",value:function(){this.$refs.textareainput.focus()}},{key:"updateTextfield",value:function(){var t,e=this,a=new FileReader,n=this.$refs.fileinput;a.readAsDataURL(n.files[0]),a.onload=function(){t=a.result,"string"===typeof t&&(t=t.replace(/^data:(.*;base64,)?/,"")),e.dataText=t,e.updateTextarea();try{e.$refs.fileinput.value="",e.$refs.fileinput.value&&(e.$refs.fileinput.type="text",e.$refs.fileinput.type="file")}catch(n){console.error("Error during input element reset.")}}}}]),a}(Object(f["b"])(x,ue));Object(h["a"])([Object(f["c"])()],$e.prototype,"value",void 0),$e=Object(h["a"])([f["a"]],$e);var Ve=$e,Ke=Ve,ze=(a("794d"),Object(z["a"])(Ke,Se,Be,!1,null,"0828628d",null)),He=ze.exports;function Ze(t){var e=Ye();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Ye(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Je=Object(p["a"])("c3Capability"),Xe=(Object(p["a"])("c3Module"),function(t){Object(l["a"])(a,t);var e=Ze(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.isValid=!1,t.argumentsArray=[],t.argumentObjects=[],t}return Object(c["a"])(a,[{key:"capability",get:function(){return this.getCapabilityFor(this.interfaceName,this.klass)}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}},{key:"getFieldType",value:function(t){switch(t.type){case"boolean":return"CheckBox";case"base64":return"Textarea";case"base32":return"Textarea";case"binary":return"Textarea"}return"Input"}},{key:"onChange",value:function(t,e){this.isValid=!0;var a=this.argumentsArray.findIndex((function(t){return t.id===e}));a>-1&&(this.argumentsArray[a].value=t.value,this.argumentsArray[a].isValid=t.valid),a=this.argumentObjects.findIndex((function(t){return t.id===e})),a>-1&&(this.argumentObjects[a].value=t.value,this.argumentObjects[a].isValid=t.valid),this.emitFormData()}},{key:"emitFormData",value:function(){this.isValid=!0;var t=[this.clearArray(this.argumentsArray)];this.clearArray(this.argumentObjects).forEach((function(e){t.push(e)}));var e=this.isValid;this.$emit("change",{data:t,valid:e})}},{key:"mounted",value:function(){this.getCommandFrom(),this.emitFormData()}},{key:"clearArray",value:function(t){var e=this,a=[];return t&&t.forEach((function(t){t.isValid||(e.isValid=!1);var n=t.type,i=t.name,r=t.value;a.push({type:n,name:i,value:r})})),a}},{key:"getValidationRule",value:function(t){var e="";return t.type&&"ip"===t.type&&(e="ip|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e="numeric|",t.min||"uint16"!==t.type||(e+="min_value:0|")),t.type&&"boolean"===t.type&&(e=""),t.min&&parseInt(t.min,10)>0&&(t.type&&"string"===t.type&&(e=e+"min:"+t.min+"|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e=e+"min_value:"+t.min+"|"),e+="required|"),t.max&&t.min&&parseInt(t.max,10)>=parseInt(t.min,10)&&(t.type&&"string"===t.type&&(e=e+"max:"+t.max+"|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e=e+"max_value:"+t.max+"|")),e}},{key:"getRandomLenght",value:function(t){if(t.randomize&&!0===t.randomize||"true"===t.randomize){if(t.min&&parseInt(t.min,10)>0)return parseInt(t.min,10);t.randomize=8}}},{key:"getCrossArgumentOption",value:function(t){var e="Input ID"===t?"Output ID":"Input ID";if(this.hasOptions){var a=this.options.find((function(t){return t.name===e}));if(a)return a.value}return!1}},{key:"getArgumentOption",value:function(t){if(this.hasOptions){var e=this.options.find((function(e){return e.name===t}));if(e)return e.value}return!1}},{key:"setDefaultValue",value:function(t,e){var a=e;if(this.hasOptions){var n=this.options.find((function(e){return t===e.name}));if(n)return n.value}return a}},{key:"setArgumentData",value:function(t){return t.validation=this.getValidationRule(t),t.id=Math.random().toString(36).substring(2),this.getRandomLenght(t)&&(t.randomize=this.getRandomLenght(t)),t.value={value:"",valid:!1},t}},{key:"getCommandFrom",value:function(){var t=this;if(this.capability&&this.capability.commands&&this.capability.commands.length>0){var e=this.capability.commands.find((function(e){return e.name===t.command}));void 0!==e&&e.arguments?(this.argumentsArray=[],this.argumentObjects=[],e.arguments.forEach((function(e){Array.isArray(e)?(e.forEach((function(e){e=t.setArgumentData(e)})),t.argumentsArray=e):(e=t.setArgumentData(e),t.argumentObjects.push(e))}))):this.addNotify({type:"info",message:"Command not set up correctly, Form can't be generated."})}return!1}}]),a}(Object(f["b"])(x)));Object(h["a"])([Object(f["c"])()],Xe.prototype,"command",void 0),Object(h["a"])([Object(f["c"])()],Xe.prototype,"target",void 0),Object(h["a"])([Object(f["c"])()],Xe.prototype,"klass",void 0),Object(h["a"])([Object(f["c"])()],Xe.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],Xe.prototype,"interfaceName",void 0),Object(h["a"])([Object(f["c"])()],Xe.prototype,"options",void 0),Object(h["a"])([Je.Getter],Xe.prototype,"getCapabilityFor",void 0),Object(h["a"])([Je.Getter],Xe.prototype,"getTypeNameForInterface",void 0),Xe=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,Textarea:He,CheckBox:De}})],Xe);var We=Xe,qe=We,Qe=(a("e1b5"),Object(z["a"])(qe,_e,Re,!1,null,null,null)),ta=Qe.exports;function ea(t){var e=aa();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function aa(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var na=Object(p["a"])("c3Module"),ia=Object(p["a"])("c3Capability"),ra=Object(p["a"])("optionsModule"),oa=function(t){Object(l["a"])(a,t);var e=ea(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.formData={},t.isValid=!1,t.commandGroup="",t.commandTarget="",t.formDirty=!1,t}return Object(c["a"])(a,[{key:"formIsValid",get:function(){return!this.isValid}},{key:"currentItem",get:function(){return this.getInterface(this.targetId)}},{key:"selectedCommandGroup",get:function(){return this.commandGroup?(this.resetForm(),this.commandGroup):this.defaultCommandGroup}},{key:"selectedCommandTarget",get:function(){return this.commandTarget?this.commandTarget:this.defaultCommandTarget}},{key:"defaultCommandGroup",get:function(){return void 0!==this.options&&void 0!==this.options.targetGroup?this.options.targetGroup:this.commandGroupOptions?Object.keys(this.commandGroupOptions)[0]:""}},{key:"defaultCommandTarget",get:function(){return this.commandTargetOptions?(this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]),Object.keys(this.commandTargetOptions)[0]):""}},{key:"commandGroupOptions",get:function(){return this.currentItem?this.getCommandGroupFor(this.currentItem.klass):""}},{key:"commandTargetOptions",get:function(){return this.currentItem?this.currentItem.klass===n.Gateway||this.currentItem.klass===n.Relay?this.getCommandTargetFor(this.selectedCommandGroup,this.currentItem.klass):this.getCommandTargetFor(this.selectedCommandGroup,this.currentItem.klass,this.interfaceTypeName(this.currentItem)):""}},{key:"selectedInterfaceKlass",get:function(){return void 0!==this.commandTarget?ie.a.singular(this.commandTarget.split("_")[0]).toUpperCase():""}},{key:"selectedInterface",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[1]:""}},{key:"selectedCommand",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[2]:""}},{key:"getCommandId",get:function(){var t=this,e=this.getCapabilityFor(this.selectedInterface,this.selectedInterfaceKlass);if(e){var a=e.commands.find((function(e){return e.name===t.selectedCommand}));return a.id}return""}},{key:"isNotEmbeded",get:function(){return void 0===this.embeded||!0!==this.embeded}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}},{key:"argumentOptions",get:function(){return!(!this.hasOptions||!this.options.formDefault)&&this.options.formDefault.arguments}},{key:"mounted",value:function(){var t=this;if(window.addEventListener("keydown",this.handleGlobalKeyDown,!0),this.hasOptions&&this.options.formDefault){var e=Object.keys(this.commandTargetOptions).find((function(e){return!(!t.options||!t.options.formDefault)&&t.commandTargetOptions[e]===t.options.formDefault.prefix+t.options.formDefault.interface}));e&&(this.commandTarget=e)}}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"resetForm",value:function(){this.commandTarget=""}},{key:"changeForm",value:function(t){if(this.isValid=t.valid,1===t.data.length&&0===t.data[0].length?this.formData=[]:(0===t.data[0].length&&t.data.shift(),this.formData=t.data),"new"===this.targetId){var e={name:this.selectedCommandGroup,data:{id:this.getCommandId,name:this.selectedInterface,command:this.selectedCommand,arguments:this.formData}};this.$emit("change",{data:e,valid:this.isValid})}}},{key:"changeCommandGroup",value:function(t){this.commandGroup=t}},{key:"changeCommandTarget",value:function(t){this.isValid=!0,this.commandTarget=t}},{key:"sendCommand",value:function(){var t=this,e={name:this.selectedCommandGroup,data:{id:this.getCommandId,name:this.selectedInterface,command:this.selectedCommand,arguments:this.formData}},a="/api/gateway/";if(this.currentItem&&this.currentItem.klass===n.Gateway&&(a+="".concat(this.currentItem.id,"/command")),this.currentItem&&this.currentItem.klass===n.Relay&&(a+="".concat(this.currentItem.parentId,"/relay/").concat(this.currentItem.id,"/command")),this.currentItem&&this.currentItem.klass===n.Channel||this.currentItem&&this.currentItem.klass===n.Peripheral||this.currentItem&&this.currentItem.klass===n.Connector){if(this.currentItem.parentKlass===n.Gateway)switch(this.currentItem.klass){case n.Channel:a+="".concat(this.currentItem.parentId,"/channel/").concat(this.currentItem.id,"/command");break;case n.Peripheral:a+="".concat(this.currentItem.parentId,"/peripheral/").concat(this.currentItem.id,"/command");break;case n.Connector:a+="".concat(this.currentItem.parentId,"/connector/").concat(this.currentItem.id,"/command");break}if(this.currentItem.parentKlass===n.Relay)switch(this.currentItem.klass){case n.Channel:a+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/channel/").concat(this.currentItem.id,"/command");break;case n.Peripheral:a+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/peripheral/").concat(this.currentItem.id,"/command");break;case n.Connector:a+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/connector/").concat(this.currentItem.id,"/command");break}}G()({url:a,method:"POST",baseURL:this.getAPIBaseUrl,data:e}).then((function(e){t.addNotify({type:"info",message:"Command successfully sent..."}),t.closeThisModal()})).catch((function(e){var a="Command NOT sent: "+e.message;t.addNotify({type:"error",message:a}),console.error(e.message)}))}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],oa.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],oa.prototype,"embeded",void 0),Object(h["a"])([Object(f["c"])()],oa.prototype,"options",void 0),Object(h["a"])([na.Getter],oa.prototype,"getInterface",void 0),Object(h["a"])([ia.Getter],oa.prototype,"getCapabilityFor",void 0),Object(h["a"])([ia.Getter],oa.prototype,"getCommandGroupFor",void 0),Object(h["a"])([ia.Getter],oa.prototype,"getCommandTargetFor",void 0),Object(h["a"])([ra.Getter],oa.prototype,"getAPIBaseUrl",void 0),oa=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,GeneralForm:ta}})],oa);var sa=oa,ca=sa,la=(a("e181"),Object(z["a"])(ca,ee,ae,!1,null,null,null)),ua=la.exports;function da(t){var e=ha();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function ha(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var fa=function(t){Object(l["a"])(a,t);var e=da(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}}]),a}(Object(f["b"])(x));fa=Object(h["a"])([Object(f["a"])({components:{RouteList:Z,ChannelList:nt,NetworkStats:Kt,ConnectorList:te,PheripheralList:ft,CommandCenterModal:ua}})],fa);var pa=fa,ya=pa,ga=Object(z["a"])(ya,Gt,Lt,!1,null,null,null),ma=ga.exports,va=function(){var t=this,e=t.$createElement,a=t._self._c||e;return void 0!==t.c3Interface?a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-header",class:{"is-return":!!t.c3Interface.isReturnChannel,"has-error":!!t.c3Interface.error}},[a("h1",[a("span",{staticClass:"capitalize"},[t._v(t._s(t.c3Interface.klass.toLowerCase())+" ")]),t._v(" ID: "+t._s(t.c3Interface.id||"")+" ")]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"details"},[a("p",[t._v(" Parent "),a("span",{staticClass:"c3link capitalize"},[t._v(" "+t._s(t.c3Interface.parentKlass.toLowerCase())+" / "+t._s(t.c3Interface.parentId)+" ")])]),a("p",{staticClass:"capitalize"},[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" Type "),a("span",[t._v(" "+t._s(t.interfaceTypeName(t.c3Interface))+" ")])]),a("p",[t._v(" Jitter [min/max] "),a("span",[t._v(" "+t._s(t.getInterfaceJitter)+" ")])])]),a("div",{staticClass:"actions"},[t.showRelayDropdown?a("span",{staticClass:"c3modal-more-btn icon more"},[t._v(" INTERFACE OPTIONS ")]):t._e(),a("ul",{staticClass:"c3modal-menu"},[a("li",{directives:[{name:"show",rawName:"v-show",value:t.showNewRelayButton,expression:"showNewRelayButton"}],staticClass:"c3modal-menu-item",on:{click:function(e){t.openModal(t.c3Interface.id,"CREATE_RELAY",t.generateOprions())}}},[t._v(" New Relay ")]),a("li",{directives:[{name:"show",rawName:"v-show",value:t.showConnectRelayButton,expression:"showConnectRelayButton"}],staticClass:"c3modal-menu-item",on:{click:function(e){t.openModal(t.c3Interface.uid,"CONNECT_RELAY",t.generateOprions())}}},[t._v(" Connect Relay ")])]),a("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.c3Interface.uid,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])]),t.c3Interface.error&&""!==t.c3Interface.error?a("p",{staticClass:"message-with-icon"},[a("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.c3Interface.error)+" ")]):t._e(),t.c3Interface.isReturnChannel&&"false"!==t.c3Interface.isReturnChannel?a("p",{staticClass:"message-with-icon"},[a("span",{staticClass:"icon return"}),t._v(" This is a Gateway Return Channel (GRC). ")]):t._e(),t.c3Interface.isNegotiationChannel&&"false"!==t.c3Interface.isNegotiationChannel?a("p",{staticClass:"message-with-icon"},[a("span",{staticClass:"icon exclamation"}),t._v(" This is a Negotiation Channel. ")]):t._e()]),a("div",{staticClass:"c3modal-details"},[""!==t.c3Interface.propertiesText?[a("h1",[t._v("Properties")]),a("pre",{staticClass:"c3command"},[t._v(t._s(t.c3Interface.propertiesText))])]:t._e()],2)]):t._e()},ba=[];a("4917"),a("8615");function wa(t){var e=Ca();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Ca(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Oa=Object(p["a"])("c3Module"),ka=function(t){Object(l["a"])(a,t);var e=wa(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"c3Interface",get:function(){var t=this.getInterface(this.targetId);return t||this.closeThisModal(),t}},{key:"showRelayDropdown",get:function(){return this.showConnectRelayButton||this.showNewRelayButton}},{key:"showConnectRelayButton",get:function(){return this.showButtons()}},{key:"showNewRelayButton",get:function(){return this.showButtons()}},{key:"showButtons",value:function(){return!(this.isReturnChannel()||!this.isChannel())}},{key:"getInterfaceJitter",get:function(){return this.c3Interface?this.c3Interface.propertiesText.jitter:"[N/A, N/A]"}},{key:"isChannel",value:function(){return!!this.c3Interface&&this.c3Interface.klass===n.Channel}},{key:"isReturnChannel",value:function(){return!!this.c3Interface&&!0===this.c3Interface.isReturnChannel}},{key:"isNegotiationChannel",value:function(){return!!this.c3Interface&&!0===this.c3Interface.isNegotiationChannel}},{key:"getArguments",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;return this.isChannel()&&t.propertiesText&&t.propertiesText.arguments?JSON.parse(JSON.stringify(t.propertiesText.arguments)):[]}},{key:"getArgumentsAttributes",value:function(t){return Array.isArray(t[0])?t[0]:[]}},{key:"getPropertiesArguments",value:function(t){var e=[];return Object.values(t).forEach((function(t){Array.isArray(t)||e.push(t)})),e}},{key:"getInterfaceParentId",value:function(){return this.c3Interface&&this.c3Interface.parentId?this.c3Interface.parentId:""}},{key:"generateSourceOptions",value:function(){return{relay:this.getRelay(this.getInterfaceParentId()),interface:this.c3Interface}}},{key:"changeInputOutputIDs",value:function(t){var e={name:"",type:"",value:""},a={name:"",type:"",value:""},n="";return t.length&&(e=t.find((function(t){return"Input ID"===t.name}))||"",a=t.find((function(t){return"Output ID"===t.name}))||""),n=a.value,a.value=e.value,e.value=n,t}},{key:"isNormalChannel",value:function(){var t=JSON.stringify(this.getArguments(this.c3Interface));return!!t.match(/Input ID/g)&&!!t.match(/Output ID/g)}},{key:"generateCommandCenterArguments",value:function(){var t=[],e=this.getArgumentsAttributes(this.getArguments(this.c3Interface));e.length>0&&(e=this.changeInputOutputIDs(e));var a=this.getPropertiesArguments(this.getArguments(this.c3Interface));return e.length&&e.forEach((function(e){t.push(e)})),a.length&&a.forEach((function(e){t.push(e)})),t}},{key:"getPrefix",value:function(){return this.isNormalChannel()?"AddChannel":this.isNegotiationChannel()?"AddNegotiationChannel":""}},{key:"getInterfaceTypeString",value:function(){return this.c3Interface?this.interfaceTypeName(this.c3Interface):""}},{key:"generateOprions",value:function(){return{formDefault:{prefix:this.getPrefix(),interface:this.getInterfaceTypeString(),arguments:this.generateCommandCenterArguments()},source:this.generateSourceOptions()}}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],ka.prototype,"targetId",void 0),Object(h["a"])([Oa.Getter],ka.prototype,"getRelay",void 0),Object(h["a"])([Oa.Getter],ka.prototype,"getInterface",void 0),Object(h["a"])([Oa.Getter],ka.prototype,"getNodeKlass",void 0),ka=Object(h["a"])([f["a"]],ka);var ja=ka,Ia=ja,xa=(a("a118"),Object(z["a"])(Ia,va,ba,!1,null,"33bc8b88",null)),_a=xa.exports,Ra=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-details"},[a("h1",[t._v("Relay Setup")]),a("p",[t._v("Please setup a Relay.")]),a("Input",{staticClass:"form-element",attrs:{legend:"Name / Auto Generated ID",help:"If you do not enter a name an ID will be automatically generated."},on:{change:function(e){return t.changeName(e,t.relayName)}}}),a("Input",{staticClass:"form-element",attrs:{legend:"Parent Gateway Build ID",value:t.gatewayBuildsId,disabled:!0}}),a("div",{staticClass:"form-row"},[a("Select",{staticClass:"form-element",attrs:{legend:"TargetSuffix",selected:t.selectedTargetSuffix,options:{dll:"dll",exe:"exe",shellcode:"shellcode"},border:!0},on:{change:function(e){return t.changeTargetSuffix(e,t.targetSuffix)}}}),a("Select",{staticClass:"form-element",attrs:{legend:"Architecture",selected:t.selectedArchitecture,options:{x86:"x86",x64:"x64"},border:!0},on:{change:function(e){return t.changeArchitecture(e,t.architecture)}}})],1),a("div",{staticClass:"c3modal-form"},[t.donutSelected?a("DonutForm",{on:{change:function(e){return t.changeDonutForm(e,t.formData)}}}):t._e()],1),a("div",{staticClass:"c3modal-form"},[a("h1",[t._v("Add Command")]),a("p",[t._v("Please Select the first command to the Relay.")]),a("CommandCenterModal",{staticClass:"embeded-modal",attrs:{"target-id":"new",embeded:!0,options:t.addNewRelayToOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}})],1),a("dir",{staticClass:"flex-row c3modal-actions"},[a("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),a("button",{staticClass:"c3btn c3btn",attrs:{disabled:t.formIsValid},on:{click:function(e){return t.createNewRelay()}}},[t._v(" Create and Download Relay ")])])],1)])},Ta=[],Na=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"donut-form"},[a("h1",[t._v("Add Command")]),a("Select",{staticClass:"form-element line",attrs:{legend:"Format",selected:t.selectedFormat,options:{Binary:"Binary",Base64:"Base64",Ruby:"Ruby",C:"C",Python:"Python",Powershell:"Powershell",Csharp:"Csharp",HeX:"HeX"},border:!0},on:{change:function(e){return t.changeFormat(e,t.format)}}}),a("Select",{staticClass:"form-element half-line",attrs:{legend:"Compress",selected:t.selectedCompress,options:{None:"None",Aplib:"aPLib",Lznt1:"Lznt1",Xpress:"Xpress",Xpress_huff:"Xpress_huff"},border:!0},on:{change:function(e){return t.changeCompress(e,t.compress)}}}),a("Select",{staticClass:"form-element half-line",attrs:{legend:"Entropy",selected:t.selectedEntropy,options:{None:"None",Random:"Random",Default:"Default"},border:!0},on:{change:function(e){return t.changeEntropy(e,t.entropy)}}}),a("Select",{staticClass:"form-element half-line",attrs:{legend:"ExitOpt",selected:t.selectedExitOpt,options:{Exit_thread:"Exit_thread",Exit_process:"Exit_process"},border:!0},on:{change:function(e){return t.changeExitOpt(e,t.exitOpt)}}}),a("Select",{staticClass:"form-element half-line",attrs:{legend:"Bypass",selected:t.selectedBypass,options:{None:"None",Abort:"Abort",Continue:"Continue"},border:!0},on:{change:function(e){return t.changeBypass(e,t.bypass)}}})],1)},Pa=[];function Ga(t){var e=La();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function La(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Ma=function(t){Object(l["a"])(a,t);var e=Ga(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.format="Binary",t.compress="None",t.entropy="Default",t.exitOpt="Exit_thread",t.bypass="None",t}return Object(c["a"])(a,[{key:"selectedFormat",get:function(){return this.format}},{key:"changeFormat",value:function(t){this.format=t,this.emitDonut()}},{key:"selectedCompress",get:function(){return this.compress}},{key:"changeCompress",value:function(t){this.compress=t,this.emitDonut()}},{key:"selectedEntropy",get:function(){return this.entropy}},{key:"changeEntropy",value:function(t){this.entropy=t,this.emitDonut()}},{key:"selectedExitOpt",get:function(){return this.exitOpt}},{key:"changeExitOpt",value:function(t){this.exitOpt=t,this.emitDonut()}},{key:"selectedBypass",get:function(){return this.bypass}},{key:"changeBypass",value:function(t){this.bypass=t,this.emitDonut()}},{key:"emitDonut",value:function(){var t={format:this.format.toUpperCase(),compress:this.compress.toUpperCase(),entropy:this.entropy.toUpperCase(),exitOpt:this.exitOpt.toUpperCase(),bypass:this.bypass.toUpperCase()};this.$emit("change",t)}},{key:"mounted",value:function(){this.emitDonut()}}]),a}(f["d"]);Ma=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],Ma);var Ea=Ma,Aa=Ea,Da=(a("ca65"),Object(z["a"])(Aa,Na,Pa,!1,null,"2a2638f3",null)),Sa=Da.exports;function Ba(t){var e=Fa();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Fa(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var Ua=Object(p["a"])("c3Capability"),$a=Object(p["a"])("optionsModule"),Va=function(t){Object(l["a"])(a,t);var e=Ba(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.formData={},t.relayName="",t.isValid=!1,t.targetSuffix="exe",t.architecture="x64",t.commandGroup="Relay",t.commandTarget="",t.donutSelected=!1,t.donutFormData={},t}return Object(c["a"])(a,[{key:"formIsValid",get:function(){return!this.isValid}},{key:"selectedTargetSuffix",get:function(){return this.targetSuffix}},{key:"selectedArchitecture",get:function(){return this.architecture}},{key:"gatewayBuildsId",get:function(){return this.gateway.buildId?this.gateway.buildId:""}},{key:"selectedCommand",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[2]:""}},{key:"selectedCommandTarget",get:function(){return this.commandTarget?this.commandTarget:this.defaultCommandTarget}},{key:"commandTargetOptions",get:function(){return this.getCommandTargetFor("NewRelayCommandGroup",n.Relay)}},{key:"selectedCommandGroup",get:function(){return this.commandGroup?"":this.commandGroup}},{key:"selectedInterface",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[1]:""}},{key:"defaultCommandTarget",get:function(){return this.commandTargetOptions?(this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]),Object.keys(this.commandTargetOptions)[0]):""}},{key:"addNewRelayToOptions",get:function(){return{formDefault:this.options.formDefault,source:this.options.source,targetGroup:"NewRelayCommandGroup"}}},{key:"changeCommandTarget",value:function(t){this.isValid=!0,this.commandTarget=t}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeName",value:function(t){this.relayName=t.value}},{key:"changeForm",value:function(t){this.isValid=t.valid,this.formData=t.data}},{key:"changeDonutForm",value:function(t){this.donutFormData=t}},{key:"changeTargetSuffix",value:function(t){this.targetSuffix=t,this.donutSelected="shellcode"===this.targetSuffix?this.donutSelected=!0:this.donutSelected=!1}},{key:"changeArchitecture",value:function(t){this.architecture=t}},{key:"createNewRelay",value:function(){var t=this,e={type:this.selectedTargetSuffix,architecture:this.selectedArchitecture,parentGatewayBuildId:this.gatewayBuildsId,name:this.relayName,startupCommands:[this.formData],donut:this.donutFormData};G()({url:"/api/build/customize",method:"POST",baseURL:this.getAPIBaseUrl,data:e,responseType:"blob"}).then((function(e){var a="",n=new Blob([e.data],{type:e.data.type}),i=e.headers["content-disposition"],r=window.URL.createObjectURL(n),o=document.createElement("a");o.href=r,void 0!==i&&(a=i.split("filename=")[1].split(";")[0].replace(/%20/gi,"-")),"string"===typeof a&&""!==a||(a="relay.exe"),o.href=r,o.setAttribute("download",a),document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(r),t.closeThisModal()})).catch((function(e){t.addNotify({type:"error",message:e.message}),console.error(e.message)}))}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],Va.prototype,"options",void 0),Object(h["a"])([Ua.Getter],Va.prototype,"getCommandTargetFor",void 0),Object(h["a"])([Ua.Getter],Va.prototype,"getTypesForInterfaceKlass",void 0),Object(h["a"])([$a.Getter],Va.prototype,"getAPIBaseUrl",void 0),Va=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,DonutForm:Sa,GeneralForm:ta,CommandCenterModal:ua}})],Va);var Ka=Va,za=Ka,Ha=(a("4556"),Object(z["a"])(za,Ra,Ta,!1,null,null,null)),Za=Ha.exports,Ya=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-details"},[a("div",{staticClass:"c3modal-title-wrapper"},[a("h1",[t._v("Gateway Setup")]),a("span",{staticClass:"c3modal-config-link",on:{click:function(e){return t.openModal("","OPTIONS")}}},[t._v("EDIT CONFIG")])]),a("p",[t._v("Please setup a Gateway to begin using c3.")]),a("Input",{staticClass:"form-element",attrs:{legend:"Name / Auto Generated ID",help:"If you do not enter a name an ID will be automatically generated."},on:{change:function(e){return t.changeName(e,t.gatewayName)}}}),a("div",{staticClass:"form-row"},[a("Select",{staticClass:"form-element",attrs:{legend:"TargetSuffix",selected:t.selectedTargetSuffix,options:{exe:"exe"},border:!0},on:{change:function(e){return t.changeTargetSuffix(e,t.targetSuffix)}}}),a("Select",{staticClass:"form-element",attrs:{legend:"Architecture",selected:t.selectedArchitecture,options:{x86:"x86",x64:"x64"},border:!0},on:{change:function(e){return t.changeArchitecture(e,t.architecture)}}})],1),a("dir",{staticClass:"flex-row c3modal-actions"},[a("button",{directives:[{name:"show",rawName:"v-show",value:!1!==t.hasSelectedGateway,expression:"hasSelectedGateway !== false"}],staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),a("button",{staticClass:"c3btn c3btn pull-right",on:{click:function(e){return t.createNewGateway()}}},[t._v(" Create and download Gateway ")])])],1)])},Ja=[];function Xa(t){var e=Wa();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Wa(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var qa=Object(p["a"])("c3Module"),Qa=Object(p["a"])("optionsModule"),tn=function(t){Object(l["a"])(a,t);var e=Xa(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.gatewayName="",t.targetSuffix="exe",t.architecture="x64",t}return Object(c["a"])(a,[{key:"selectedTargetSuffix",get:function(){return this.targetSuffix}},{key:"selectedArchitecture",get:function(){return this.architecture}},{key:"hasSelectedGateway",get:function(){return this.getGateways.length>0}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeName",value:function(t){this.gatewayName=t.value}},{key:"changeTargetSuffix",value:function(t){this.targetSuffix=t}},{key:"changeArchitecture",value:function(t){this.architecture=t}},{key:"createNewGateway",value:function(){var t=this,e="/api/gateway/exe/".concat(this.architecture);this.gatewayName&&""!==this.gatewayName&&(e+="?name=".concat(this.gatewayName)),G()({url:e,method:"GET",baseURL:this.getAPIBaseUrl,responseType:"blob"}).then((function(e){var a=new Blob([e.data],{type:e.data.type}),n=window.URL.createObjectURL(a),i=document.createElement("a");i.href=n;var r=e.headers["content-disposition"],o="";void 0!==r&&(o=r.split("filename=")[1].split(";")[0].replace(/%20/gi,"-")),"string"===typeof o&&""!==o||(o="gateway.exe"),i.href=n,i.setAttribute("download",o),document.body.appendChild(i),i.click(),i.remove(),window.URL.revokeObjectURL(n),t.closeThisModal()})).catch((function(e){t.addNotify({type:"error",message:e.message}),console.error(e.message)}))}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],tn.prototype,"targetId",void 0),Object(h["a"])([qa.Getter],tn.prototype,"getGateways",void 0),Object(h["a"])([Qa.Getter],tn.prototype,"getAPIBaseUrl",void 0),tn=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe}})],tn);var en=tn,an=en,nn=Object(z["a"])(an,Ya,Ja,!1,null,null,null),rn=nn.exports,on=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-header"},[a("h1",[t._v("Source Relay & Interface")]),a("div",{staticClass:"flex-row"},[a("div",{staticClass:"details"},[a("p",[t._v(" Relay "),a("span",[t._v(" "+t._s(t.relay.name)+" / "+t._s(t.relay.id))])]),a("p",[t._v(" Build ID "),a("span",[t._v(t._s(t.relay.buildId))])]),a("p",[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" ID "),a("span",[t._v(t._s(t.c3Interface.id||""))])]),a("p",[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" Type "),a("span",[t._v(t._s(t.interfaceTypeName(t.c3Interface)))])])])])]),a("div",{staticClass:"c3modal-details"},[a("div",{staticStyle:{"padding-bottom":"24px"}},[a("h1",[t._v("Select target Relay")]),a("Select",{staticClass:"form-element",attrs:{legend:"Target Relay",selected:t.selectedRelay,options:t.generateRelayList(),border:!0},on:{change:function(e){return t.changeTargetRelay(e,t.targetRelay)}}})],1),a("div",{staticClass:"c3modal-form"},[a("CommandCenterModal",{staticClass:"embeded-modal",attrs:{"target-id":t.selectedRelay,embeded:!1,options:t.addNewRelayGroupToOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}})],1)])])},sn=[];function cn(t){var e=ln();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function ln(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var un=Object(p["a"])("c3Module"),dn=Object(p["a"])("c3Capability"),hn=function(t){Object(l["a"])(a,t);var e=cn(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.formData={},t.isValid=!1,t.targetRelay="",t}return Object(c["a"])(a,[{key:"relay",get:function(){return this.sourceRelay}},{key:"c3Interface",get:function(){return this.sourceInterface}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}},{key:"sourceRelay",get:function(){return this.hasOptions&&this.options.source&&this.options.source.relay?this.options.source.relay:y}},{key:"sourceInterface",get:function(){return this.hasOptions&&this.options.source&&this.options.source.interface?this.options.source.interface:y}},{key:"formIsValid",get:function(){return!this.isValid}},{key:"selectedRelay",get:function(){return this.targetRelay}},{key:"addNewRelayGroupToOptions",get:function(){return{formDefault:this.options.formDefault,source:this.options.source,targetGroup:"NewRelayCommandGroup"}}},{key:"generateRelayList",value:function(){var t=this,e={},a="",n=0,i="null",r=this.getRelays;return r.forEach((function(i,r){i.id!==t.relay.id&&(n++,e[i.id]="".concat(i.id," ").concat(i.name?"- "+i.name+" ":""),""===a&&(a=i.id))})),0===n&&(e[i]="Nothing to select...",a=i),""===this.targetRelay&&(this.targetRelay=a),e}},{key:"showConnectRelayButton",get:function(){return!0}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeForm",value:function(t){this.isValid=t.valid,this.formData=t.data}},{key:"changeTargetRelay",value:function(t){this.targetRelay=t}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],hn.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],hn.prototype,"options",void 0),Object(h["a"])([dn.Getter],hn.prototype,"getCommandTargetFor",void 0),Object(h["a"])([dn.Getter],hn.prototype,"getTypesForInterfaceKlass",void 0),Object(h["a"])([un.Getter],hn.prototype,"getRelays",void 0),Object(h["a"])([un.Getter],hn.prototype,"getRelay",void 0),Object(h["a"])([un.Getter],hn.prototype,"getInterface",void 0),Object(h["a"])([un.Getter],hn.prototype,"getInterfacesFor",void 0),hn=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,GeneralForm:ta,CommandCenterModal:ua}})],hn);var fn=hn,pn=fn,yn=(a("d94a"),Object(z["a"])(pn,on,sn,!1,null,null,null)),gn=yn.exports,mn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3modal-body"},[a("div",{staticClass:"c3modal-details"},[a("h1",{staticClass:"c3network-title"},[t._v(" Network Configuration ")]),a("div",{staticClass:"form-row "},[a("Input",{key:"c3-url-field",staticClass:"form-element",attrs:{legend:"Url",value:t.c3Url,disabled:!1,validate:"required",name:"Url"},on:{change:function(e){return t.setUrl(e,t.c3Url)}}})],1),a("div",{staticClass:"form-row"},[a("Input",{key:"c3-port-field",staticClass:"form-element",attrs:{legend:"Port",value:t.c3Port,disabled:!1,validate:"required|numeric|max_value:65535",name:"Port"},on:{change:function(e){return t.setPort(e,t.c3Port)}}})],1),a("dir",{staticClass:"flex-row c3modal-actions"},[a("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),a("button",{staticClass:"c3btn c3btn pull-right",attrs:{disabled:!t.isFormValid},on:{click:function(e){return t.saveNetworkConfig()}}},[t._v(" Save Config ")])])],1)])},vn=[];function bn(t){var e=wn();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function wn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Cn=Object(p["a"])("optionsModule"),On=function(t){Object(l["a"])(a,t);var e=bn(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.c3Url="http://localhost",t.c3UrlIsValid=!0,t.c3Port=52935,t.c3PortIsValid=!0,t}return Object(c["a"])(a,[{key:"getUrl",get:function(){return this.getAPIUrl}},{key:"getPort",get:function(){return this.getAPIPort}},{key:"setUrl",value:function(t){t.valid?(this.c3UrlIsValid=!0,this.c3Url=t.value):this.c3UrlIsValid=!1}},{key:"setPort",value:function(t){t.valid?(this.c3PortIsValid=!0,this.c3Port=parseInt(t.value,10)):this.c3PortIsValid=!1}},{key:"isFormValid",get:function(){return this.c3UrlIsValid&&this.c3PortIsValid}},{key:"saveNetworkConfig",value:function(){this.isFormValid&&(this.setBaseURL(this.c3Url),this.setBasePort(this.c3Port))}},{key:"created",value:function(){this.c3Url=this.getUrl,this.c3Port=parseInt(this.getPort,10)}}]),a}(Object(f["b"])(x));Object(h["a"])([Cn.Getter],On.prototype,"getAPIUrl",void 0),Object(h["a"])([Cn.Getter],On.prototype,"getAPIPort",void 0),Object(h["a"])([Cn.Mutation],On.prototype,"setBaseURL",void 0),Object(h["a"])([Cn.Mutation],On.prototype,"setBasePort",void 0),On=Object(h["a"])([Object(f["a"])({components:{Input:me}})],On);var kn=On,jn=kn,In=Object(z["a"])(jn,mn,vn,!1,null,null,null),xn=In.exports;function _n(t){var e=Rn();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Rn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Tn=Object(p["a"])("modalModule"),Nn=function(t){Object(l["a"])(a,t);var e=_n(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"currentModal",get:function(){return this.activeModal}},{key:"targetUid",get:function(){return this.activeModal.modalTargetId||""}},{key:"isGateway",value:function(){return this.activeModal.modalTarget===n.Gateway}},{key:"isRelay",value:function(){return this.activeModal.modalTarget===n.Relay}},{key:"isChannel",value:function(){return this.activeModal.modalTarget===n.Channel}},{key:"isPeripheral",value:function(){return this.activeModal.modalTarget===n.Peripheral}},{key:"isConnector",value:function(){return this.activeModal.modalTarget===n.Connector}},{key:"isInterface",value:function(){return this.activeModal.modalTarget===n.Channel||this.activeModal.modalTarget===n.Peripheral||this.activeModal.modalTarget===n.Connector}},{key:"options",value:function(){return this.activeModal.modalOptions}}]),a}(Object(f["b"])(x));Object(h["a"])([Tn.Getter],Nn.prototype,"activeModal",void 0),Nn=Object(h["a"])([Object(f["a"])({components:{RelayModal:Ct,CommandModal:Pt,GatewayModal:ma,OptionsModal:xn,InterfaceModal:_a,CreateRelayModal:Za,ConnectRelayModal:gn,CommandCenterModal:ua,CreateGatewayModal:rn}})],Nn);var Pn=Nn,Gn=Pn,Ln=(a("e72f"),Object(z["a"])(Gn,g,m,!1,null,null,null)),Mn=Ln.exports,En=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3canvas",class:{"c3canvas-fs":t.isFullscreen}},[a("div",{ref:"c3canvas",attrs:{id:"c3canvas"}}),a("span",{staticClass:"c3canvas-fs-btn icon",class:t.fullscreenIcon,on:{click:function(e){t.isFullscreen=!t.isFullscreen}}}),a("span",{staticClass:"c3canvas-more-btn icon more"}),a("ul",{staticClass:"c3canvas-menu"},[a("li",{staticClass:"c3canvas-menu-item"},[a("Toggle",{key:"toggle-tree-view-button",attrs:{legend:"Tree View",checked:t.getTreeView,disabled:!1},on:{change:t.toggleTreeView}})],1),a("li",{staticClass:"c3canvas-menu-item"},[a("Toggle",{key:"toggle-interfaces-button",attrs:{legend:"Interfaces",checked:t.getInterfaces,disabled:!1},on:{change:function(e){return t.toggleInterfaces(e)}}})],1),a("li",{staticClass:"c3canvas-menu-item"},[a("Toggle",{key:"toggle-labels-button",attrs:{legend:"Labels",checked:t.getShowLabels,disabled:!1},on:{change:function(e){return t.toggleLabels(e)}}})],1),a("li",{staticClass:"c3canvas-menu-item"},[a("Toggle",{key:"toggle-physics-button",attrs:{legend:"Physics",checked:t.getPhysics,disabled:!1},on:{change:function(e){return t.togglePhysics(e)}}})],1),a("li",{staticClass:"c3canvas-menu-item"},[a("Toggle",{key:"toggle-smooth-edges",attrs:{legend:"Smooth Edges",checked:t.getSmoothEdges,disabled:!1},on:{change:function(e){return t.toggleSmoothEdges(e)}}})],1),a("li",{staticClass:"c3canvas-menu-item",on:{click:t.reloadGraph}},[t._v("Reload Graph")]),a("li",{staticClass:"c3canvas-menu-divider"}),a("li",{staticClass:"c3canvas-menu-item",on:{click:function(e){return t.openModal("","CREATE_GATEWAY")}}},[t._v(" New Gateway ")]),a("li",{staticClass:"c3canvas-menu-item",on:{click:function(e){return t.openModal("","CREATE_RELAY")}}},[t._v(" New Relay ")])]),t._m(0)])},An=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"progress-bar"},[a("div",{staticClass:"progress-bar-status",attrs:{id:"progress-bar-status"}})])}],Dn=(a("6762"),a("2fdb"),a("a190")),Sn=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3checkbox-wrapper"},[a("div",{staticClass:"c3checkbox-row",on:{click:t.clickOnLabel}},[t._v(" "+t._s(t.legend)+"   "),t.hasHelp?a("span",{staticClass:"icon help"},[a("div",{staticClass:"help-text"},[t._v(t._s(t.help))])]):t._e()]),a("div",{staticClass:"c3toggle",class:{disabled:t.isDisabled}},[a("input",t._b({ref:"booleanCheckbox",staticClass:"c3toggle-input",attrs:{type:"checkbox",id:t.inputUID,name:t.inputUID,disabled:t.disabled},domProps:{checked:t.getIsChecked},on:{change:t.toogleToggle}},"input",t.$attrs,!1)),a("label",{staticClass:"c3toggle-label",on:{click:t.clickOnLabel}})])])},Bn=[];function Fn(t){var e=Un();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Un(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var $n=function(t){Object(l["a"])(a,t);var e=Fn(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.isChecked=t.getIsChecked,t}return Object(c["a"])(a,[{key:"getIsChecked",get:function(){return!(!this.checked||"boolean"!==typeof this.checked||!0!==this.checked)}},{key:"mounted",value:function(){this.$refs.booleanCheckbox.checked=this.getIsChecked}},{key:"toogleToggle",value:function(){this.isChecked=!this.isChecked,this.$emit("change",{value:!0===this.isChecked,valid:!0})}},{key:"clickOnLabel",value:function(){this.toogleToggle()}}]),a}(Object(f["b"])(x,ue));Object(h["a"])([Object(f["c"])()],$n.prototype,"checked",void 0),$n=Object(h["a"])([f["a"]],$n);var Vn=$n,Kn=Vn,zn=(a("c289"),Object(z["a"])(Kn,Sn,Bn,!1,null,"edfe580a",null)),Hn=zn.exports;function Zn(t){var e=Yn();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Yn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Jn=Object(p["a"])("c3Module"),Xn=function(t){Object(l["a"])(a,t);var e=Zn(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.startNode=y,t.paths=[],t}return Object(c["a"])(a,[{key:"targetNode",get:function(){return this.getNodes.find((function(t){return t.klass===n.Gateway}))||y}},{key:"findPath",value:function(t){this.setStartNode(t),this.paths=[],this.paths.push(this.startNode.uid);var e=0;if(this.hasPathEndpoints())return[];while(this.startNode&&this.startNode.uid!==this.targetNode.uid)this.nextNode=this.startNode,this.handleNodeChannel(),this.handleConnectorAndPeripheral(),this.handleRelay(),this.setStartNode(this.nextNode.uid),e++,this.checkEndLoop(e);return this.paths}},{key:"setStartNode",value:function(t){this.startNode=this.getNodes.find((function(e){return e.uid===t}))||y}},{key:"hasPathEndpoints",value:function(){return this.startNode.klass===n.Undefined||this.targetNode.klass===n.Undefined}},{key:"handleNodeChannel",value:function(){return this.isChannel(this.startNode)&&this.setNextNodeForChannel()}},{key:"handleConnectorAndPeripheral",value:function(){return this.isStartNodeConnectorOrPeripheral()&&this.setNextAndParentNode()}},{key:"handleRelay",value:function(){return this.isStartNodeRelay()&&this.setNextNodeForRelay()}},{key:"checkEndLoop",value:function(t){t>100&&(this.paths=[],this.setStartNode(this.targetNode.uid))}},{key:"getParentNode",value:function(){var t=this;return this.getNodes.find((function(e){return e.uid===t.startNode.parentId}))||y}},{key:"isStartNodeConnectorOrPeripheral",value:function(){return this.startNode.klass===n.Peripheral||this.startNode.klass===n.Connector}},{key:"isChannel",value:function(t){return t.klass===n.Channel}},{key:"isStartNodeRelay",value:function(){return this.startNode.klass===n.Relay}},{key:"isReturnChannel",value:function(t){return!0===t.isReturnChannel}},{key:"getChannelNeighbours",value:function(){var t=this;return this.getEdges.filter((function(e){return e.to===t.startNode.uid||e.from===t.startNode.uid}))}},{key:"getRelayNeighbours",value:function(){var t=this;return this.getEdges.filter((function(e){return e.from===t.startNode.uid}))}},{key:"getPossibeNext",value:function(t,e){return this.getNodes.find((function(a){return a.uid===t[e]}))||y}},{key:"insertParentNodeToPaths",value:function(){return this.getParentNode().klass!==n.Undefined&&this.paths.push(this.nextNode.uid)}},{key:"setNextAndParentNode",value:function(){this.nextNode=this.getParentNode(),this.insertParentNodeToPaths()}},{key:"setAndInsertNextNode",value:function(t){this.nextNode=t,this.paths.push(t.uid)}},{key:"setNextNodeForChannel",value:function(){this.isReturnChannel(this.startNode)?this.setNextNodeForReturnChannel():this.setNextAndParentNode()}},{key:"setNextNodeForReturnChannel",value:function(){var t=this;this.getChannelNeighbours().forEach((function(e){var a=t.getPossibeNext(e,"from");t.isChannel(a)&&t.setAndInsertNextNode(a)}))}},{key:"setNextNodeForRelay",value:function(){var t=this;this.getRelayNeighbours().forEach((function(e){var a=t.getPossibeNext(e,"to");t.isReturnChannel(a)&&t.setAndInsertNextNode(a)}))}}]),a}(f["d"]);Object(h["a"])([Jn.Getter],Xn.prototype,"getNodes",void 0),Object(h["a"])([Jn.Getter],Xn.prototype,"getEdges",void 0),Xn=Object(h["a"])([f["a"]],Xn);var Wn=Xn;function qn(t){var e=Qn();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Qn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var ti=Object(p["a"])("c3Module"),ei=Object(p["a"])("visModule"),ai=function(t){Object(l["a"])(a,t);var e=qn(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.container=null,t.isSmooth=!1,t.isFullscreen=!1,t.lastClickNodeId="",t}return Object(c["a"])(a,[{key:"fullscreenIcon",get:function(){return this.isFullscreen?"zoomin":"fullscreen"}},{key:"graphOtions",get:function(){return this.getOptions}},{key:"graphData",get:function(){return this.getGrapData}},{key:"getTreeView",get:function(){return this.graphOtions.layout.hierarchical.enabled}},{key:"getPhysics",get:function(){return this.graphOtions.physics.enabled}},{key:"getInterfaces",get:function(){return this.getShowInterfaces}},{key:"getSmoothEdges",get:function(){return this.isSmooth}},{key:"mounted",value:function(){this.createVisCanvas()}},{key:"createVisCanvas",value:function(){var t=this;this.container=this.$refs.c3canvas,window.networkc3=new Dn["a"](this.container,this.getGrapData,this.graphOtions),window.networkc3.on("click",(function(e){var a=window.networkc3.getNodeAt(e.pointer.DOM);t.lastClickNodeId===a?a&&t.openModal(a,t.nodeKlass(a)):t.lastClickNodeId=a,t.deselectNodes(),t.clearPath(),a&&t.selectNode(a)})),window.networkc3.on("startStabilizing",(function(t){var e=document.getElementById("progress-bar-status");null!==e&&(e.style.width="1px")})),window.networkc3.on("stabilizationProgress",(function(e){var a=Math.floor(e.iterations/t.getOptions.physics.stabilization.updateInterval),n=document.getElementById("progress-bar-status");null!==n&&(n.style.width=a+"%")})),window.networkc3.on("stabilized",(function(t){var e=document.getElementById("progress-bar-status");null!==e&&(e.style.width="1px")}))}},{key:"nodeKlass",value:function(t){return this.getNodeKlass(t)}},{key:"toggleTreeView",value:function(t){this.setTreeView(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"togglePhysics",value:function(t){this.setPhysics(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"toggleInterfaces",value:function(t){this.setShowInterfaces(t.value),this.generateNodes(),this.generateEdges(),this.setGraphData()}},{key:"toggleLabels",value:function(t){this.setShowLabels(t.value),this.generateNodes(),this.generateEdges(),this.setGraphData()}},{key:"toggleSmoothEdges",value:function(t){this.isSmooth=t.value,this.setSmoothEdge(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"reloadGraph",value:function(){var t=this.graphOtions;t.layout.randomSeed=Math.floor(785496*Math.random())+1,window.networkc3.setOptions(t),this.setGraphData()}},{key:"deselectNodes",value:function(){this.getVisNodes.forEach((function(t){window.networkc3.body.data.nodes.update([{id:t.id,shadow:{enabled:!1}}])}))}},{key:"clearPath",value:function(){this.getVisEdges.forEach((function(t){var e=window.networkc3.body.data.edges.get(t.id);(e.color&&0!==Object.keys(e.color).length||e.width&&1!==e.width)&&window.networkc3.body.data.edges.update([{id:t.id,color:{},width:1}])}))}},{key:"selectNode",value:function(t){window.networkc3.body.data.nodes.update([{id:t,shadow:{enabled:!0}}]);var e=this.getPathsFromGateway(t);this.getVisEdges.forEach((function(t){e&&e.includes(t.from)&&e.includes(t.to)&&window.networkc3.body.data.edges.update([{id:t.id,color:{color:"#AB61F6"},width:4}])}))}},{key:"getPathsFromGateway",value:function(t){return this.findPath(t)}}]),a}(Object(f["b"])(x,Wn));Object(h["a"])([ei.Action],ai.prototype,"generateNodes",void 0),Object(h["a"])([ei.Action],ai.prototype,"generateEdges",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getVisNodes",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getVisEdges",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getGrapData",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getOptions",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getShowInterfaces",void 0),Object(h["a"])([ei.Getter],ai.prototype,"getShowLabels",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setPhysics",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setTreeView",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setOptions",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setSmoothEdge",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setGraphData",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setShowInterfaces",void 0),Object(h["a"])([ei.Mutation],ai.prototype,"setShowLabels",void 0),Object(h["a"])([ti.Action],ai.prototype,"fetchGateway",void 0),Object(h["a"])([ti.Getter],ai.prototype,"getNodeKlass",void 0),ai=Object(h["a"])([Object(f["a"])({components:{Toggle:Hn}})],ai);var ni=ai,ii=ni,ri=(a("8a9f"),Object(z["a"])(ii,En,An,!1,null,null,null)),oi=ri.exports,si=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3footer"},[t._v("C3 dashboard - Labs")])},ci=[];function li(t){var e=ui();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function ui(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var di=function(t){Object(l["a"])(a,t);var e=li(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a)}(i["a"]);di=Object(h["a"])([f["a"]],di);var hi=di,fi=hi,pi=(a("c7ed"),Object(z["a"])(fi,si,ci,!1,null,"62086585",null)),yi=pi.exports,gi=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},mi=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3navbar"},[n("img",{staticClass:"c3navbar-logo",attrs:{alt:"C3 logo",src:a("9b19")}}),n("div",{staticClass:"c3navbar-left"},[n("span",{staticClass:"c3navbar-left--title"},[t._v("C3")])])])}];function vi(t){var e=bi();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function bi(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var wi=function(t){Object(l["a"])(a,t);var e=vi(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a)}(i["a"]);wi=Object(h["a"])([f["a"]],wi);var Ci=wi,Oi=Ci,ki=(a("67d9"),Object(z["a"])(Oi,gi,mi,!1,null,"5295cdf8",null)),ji=ki.exports,Ii=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.hasSelectedGateway?a("div",{staticClass:"c3controll"},[a("span",{staticClass:"c3controll-help icon exclamation"}),a("ul",{staticClass:"c3controll-tabs"},[a("li",{class:{active:t.activeIsRelay},on:{click:function(e){return t.setActiveTab("relay")}}},[t._v(" Relays ")]),a("li",{class:{active:t.activeIsInterface},on:{click:function(e){return t.setActiveTab("interface")}}},[t._v(" Interfaces ")]),a("li",{class:{active:t.activeIsCommands},on:{click:function(e){return t.setActiveTab("command")}}},[t._v(" Commands ")])]),t.activeIsRelay?a("RelaysTab"):t._e(),t.activeIsInterface?a("InterfacesTab"):t._e(),t.activeIsCommands?a("CommandsTab"):t._e()],1):t._e()},xi=[],_i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3tab"},[a("RelayList",{attrs:{"show-empty":!0},on:{count:function(e){return t.setCount(e)}}}),a("DataTableFooter",{attrs:{results:t.getCount}})],1)},Ri=[],Ti=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.relays.length||t.displayEmpty?a("div",{staticClass:"c3InterfaceList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.relays.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.relays,(function(e,n){return a("tr",{directives:[{name:"show",rawName:"v-show",value:n>=t.minIndex&&n= minIndex && index < maxIndex"}],key:e.id,on:{click:function(a){return t.openModal(e.uid,e.klass)}}},[a("td",{staticClass:"c3link"},[a("span",{staticClass:"c3tab-info-dot not-active",class:{"is-active":!!e.isActive,"has-error":!!e.error}}),t._v(" "+t._s(e.id)+" ")]),a("td",[t._v(t._s(e.name))]),a("td",[t._v(t._s(e.buildId))])])})),0)])]:t.displayEmpty?[t._v(" No relays found... ")]:t._e()],2):t._e()},Ni=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Relay ID")]),a("th",[t._v("Name")]),a("th",[t._v("Build ID")])])])}];function Pi(t){var e=Gi();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Gi(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Li=Object(p["a"])("c3Module"),Mi=function(t){Object(l["a"])(a,t);var e=Pi(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"relays",get:function(){return this.$emit("count",this.getRelays.length),this.getRelays}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Li.Getter],Mi.prototype,"getRelays",void 0),Mi=Object(h["a"])([f["a"]],Mi);var Ei=Mi,Ai=Ei,Di=(a("29d0"),Object(z["a"])(Ai,Ti,Ni,!1,null,"579275ba",null)),Si=Di.exports,Bi=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3tabfooter"},[a("div",{staticClass:"c3tabfooter-info"},[t._v("Result: "+t._s(t.results))]),a("div",{staticClass:"c3tabfooter-action"},[t._v(" Items per page: "),a("Select",{staticStyle:{"max-width":"60px","margin-bottom":"0"},attrs:{selected:t.perPage,options:{5:"5",10:"10",25:"25",50:"50",100:"100",1e3:"All"},border:!1,up:!0},on:{change:function(e){return t.changePerPage(e,t.page)}}})],1),a("div",{staticClass:"c3tabfooter-paginator"},[a("span",{staticClass:"c3tabfooter-controll",on:{click:function(e){return e.target!==e.currentTarget?null:t.prevPage.apply(null,arguments)}}},[t._v(" <   ")]),t._v(" Page: "+t._s(t.actualPage)+" of "+t._s(t.maxPage)+" "),a("span",{staticClass:"c3tabfooter-controll",on:{click:function(e){return e.target!==e.currentTarget?null:t.nextPage.apply(null,arguments)}}},[t._v("   > ")])])])},Fi=[];function Ui(t){var e=$i();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function $i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Vi=Object(p["a"])("paginateModule"),Ki=function(t){Object(l["a"])(a,t);var e=Ui(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.page="5",t.perPage="5",t}return Object(c["a"])(a,[{key:"created",value:function(){this.perPage=""+this.itemPerPage}},{key:"changePerPage",value:function(t){this.perPage=t,this.setItemPerPage(+this.perPage)}},{key:"nextPage",value:function(){this.actualPage1&&this.setActualPage(this.actualPage-1)}},{key:"actualPage",get:function(){return this.getActualPage}},{key:"itemPerPage",get:function(){return this.getItemPerPage}},{key:"maxPage",get:function(){var t=Math.ceil(this.results/this.itemPerPage);return 0===t?1:t}}]),a}(Object(f["b"])(x));Object(h["a"])([Object(f["c"])()],Ki.prototype,"results",void 0),Object(h["a"])([Vi.Getter],Ki.prototype,"getActualPage",void 0),Object(h["a"])([Vi.Getter],Ki.prototype,"getItemPerPage",void 0),Object(h["a"])([Vi.Mutation],Ki.prototype,"setActualPage",void 0),Object(h["a"])([Vi.Mutation],Ki.prototype,"setItemPerPage",void 0),Ki=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],Ki);var zi=Ki,Hi=zi,Zi=(a("b12a"),Object(z["a"])(Hi,Bi,Fi,!1,null,"2eac248e",null)),Yi=Zi.exports;function Ji(t){var e=Xi();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Xi(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Wi=Object(p["a"])("c3Module"),qi=function(t){Object(l["a"])(a,t);var e=Ji(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.rCount=0,t}return Object(c["a"])(a,[{key:"getCount",get:function(){return this.rCount}},{key:"setCount",value:function(t){this.rCount=t}}]),a}(Object(f["b"])(x));Object(h["a"])([Wi.Getter],qi.prototype,"getRelays",void 0),qi=Object(h["a"])([Object(f["a"])({components:{RelayList:Si,DataTableFooter:Yi}})],qi);var Qi=qi,tr=Qi,er=Object(z["a"])(tr,_i,Ri,!1,null,null,null),ar=er.exports,nr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3tab"},[a("CommandList",{attrs:{"show-empty":!0,"status-filter":t.selectedCommandStatus,"command-for-filter":t.selectedCommandFor}}),a("DataTableFooter",{attrs:{results:t.getCount}})],1)},ir=[],rr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.commands.length||t.displayEmpty?a("div",{staticClass:"c3CommandList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.commands.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.commands,(function(e){return a("tr",{key:e.id,on:{click:function(a){return t.openModal(e.id,"COMMAND")}}},[a("td",{staticClass:"c3link"},[t._v(" "+t._s(e.id)+" ")]),a("td",{staticClass:"command-for"},[t._v(" "+t._s(t.commandType(e).toLowerCase())+" ")]),a("td",[t._v(" "+t._s(t.commandTypeId(e))+" ")])])})),0)])]:t.displayEmpty?[t._v(" No commands found... ")]:t._e()],2):t._e()},or=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Command ID")]),a("th",[t._v("Command for")]),a("th",[t._v("ID")])])])}];function sr(t){var e=cr();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function cr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var lr=Object(p["a"])("c3CommandModule"),ur=function(t){Object(l["a"])(a,t);var e=sr(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"commands",get:function(){var t=this,e=this.getCommands;return"COMPLETE"===this.statusFilter?e=e.filter((function(t){return!1===t.isPending})):"PENDING"===this.statusFilter&&(e=e.filter((function(t){return!0===t.isPending}))),"ALL"!==this.commandForFilter&&(e=e.filter((function(e){return t.commandType(e)===t.commandForFilter}))),this.$emit("count",e.length),e}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Object(f["c"])()],ur.prototype,"statusFilter",void 0),Object(h["a"])([Object(f["c"])()],ur.prototype,"commandForFilter",void 0),Object(h["a"])([lr.Getter],ur.prototype,"getCommands",void 0),Object(h["a"])([lr.Getter],ur.prototype,"getCommandCount",void 0),ur=Object(h["a"])([f["a"]],ur);var dr=ur,hr=dr,fr=(a("9426"),Object(z["a"])(hr,rr,or,!1,null,"39bf6527",null)),pr=fr.exports;function yr(t){var e=gr();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function gr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var mr=Object(p["a"])("paginateModule"),vr=Object(p["a"])("c3CommandModule"),br=function(t){Object(l["a"])(a,t);var e=yr(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.commandFor="ALL",t.commandStatus="ALL",t}return Object(c["a"])(a,[{key:"getCount",get:function(){return this.getCommandCount}},{key:"selectedCommandFor",get:function(){return this.commandFor}},{key:"selectedCommandStatus",get:function(){return this.commandStatus}},{key:"onGetLastChange",value:function(t,e){this.fetchCommands(this.gateway.id)}},{key:"selectCommandFor",value:function(t){this.commandFor=t}},{key:"selectCommandStatus",value:function(t){this.commandStatus=t}}]),a}(Object(f["b"])(x));Object(h["a"])([vr.Getter],br.prototype,"getCommandCount",void 0),Object(h["a"])([vr.Action],br.prototype,"fetchCommands",void 0),Object(h["a"])([mr.Getter],br.prototype,"getActualPage",void 0),Object(h["a"])([mr.Getter],br.prototype,"getLastChange",void 0),Object(h["a"])([mr.Getter],br.prototype,"getItemPerPage",void 0),Object(h["a"])([mr.Mutation],br.prototype,"setActualPage",void 0),Object(h["a"])([Object(f["e"])("getLastChange")],br.prototype,"onGetLastChange",null),br=Object(h["a"])([Object(f["a"])({components:{Select:xe,CommandList:pr,DataTableFooter:Yi}})],br);var wr=br,Cr=wr,Or=Object(z["a"])(Cr,nr,ir,!1,null,null,null),kr=Or.exports,jr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3tab"},[a("div",{staticClass:"c3tab-filters"},[a("Select",{key:"type-filter",attrs:{legend:"Filter by type",selected:t.selectedInterfaceType,options:{ALL:"All",CHANNEL:"Channel",PERIPHERAL:"Peripheral",CONNECTOR:"Connector"},border:!0,up:!1},on:{change:function(e){return t.selectInterfaceType(e,t.interfaceType)}}}),a("Select",{key:"return-channel-filter",attrs:{legend:"Filter by Return Channel",selected:t.selectedReturnChannel,options:{ALL:"All",YES:"Yes",NO:"No"},border:!0,up:!1,disabled:t.isChannelOrAllForDisabled},on:{change:function(e){return t.selectReturnChannel(e,t.returnChannel)}}}),a("Select",{key:"negotiation-channel-filter",attrs:{legend:"Filter by Negotiation Channel",selected:t.selectedNegotiationChannel,options:{ALL:"All",YES:"Yes",NO:"No"},border:!0,up:!1,disabled:t.isChannelOrAllForDisabled},on:{change:function(e){return t.selectNegotiationChannel(e,t.negotiationChannel)}}})],1),a("InterfaceList",{attrs:{"show-empty":!0,"return-channel-filter":t.selectedReturnChannel,"negotiation-channel-filter":t.selectedNegotiationChannel,"interface-type-filter":t.selectedInterfaceType},on:{count:function(e){return t.setCount(e)}}}),a("DataTableFooter",{attrs:{results:t.getCount}})],1)},Ir=[],xr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.c3Interfaces.length||t.displayEmpty?a("div",{staticClass:"c3CommandList"},[a("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.c3Interfaces.length?[a("table",{staticClass:"datatable"},[t._m(0),a("tbody",t._l(t.c3Interfaces,(function(e,n){return a("tr",{directives:[{name:"show",rawName:"v-show",value:n>=t.minIndex&&n= minIndex && index < maxIndex"}],key:e.uid,on:{click:function(a){return t.openModal(e.uid,e.klass)}}},[a("td",{staticClass:"c3link"},[a("span",{staticClass:"c3tab-info-dot",class:{"is-return":!!e.isReturnChannel,"has-error":!!e.error}}),t._v(" "+t._s(e.id)+" ")]),a("td",{staticClass:"capitalize"},[t._v(t._s(e.klass.toLowerCase()))]),a("td",[t._v(t._s(t.interfaceTypeName(e)))]),a("td",[t._v(t._s(t.interfaceType(e)))])])})),0)])]:t.displayEmpty?[t._v(" No interfaces found... ")]:t._e()],2):t._e()},_r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Interface ID")]),a("th",[t._v("Type")]),a("th",[t._v("Name")]),a("th",[t._v("Channel Type")])])])}];function Rr(t){var e=Tr();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Tr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Nr=Object(p["a"])("c3Module"),Pr=function(t){Object(l["a"])(a,t);var e=Rr(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"c3Interfaces",get:function(){var t=[];return t="ALL"===this.interfaceTypeFilter?this.getInterfaces():this.getInterfaces([this.interfaceTypeFilter]),"YES"===this.returnChannelFilter?t=t.filter((function(t){return!!t.isReturnChannel})):"NO"===this.returnChannelFilter&&(t=t.filter((function(t){return!t.isReturnChannel}))),"YES"===this.negotiationChannelFilter?t=t.filter((function(t){return!!t.isNegotiationChannel})):"NO"===this.negotiationChannelFilter&&(t=t.filter((function(t){return!t.isNegotiationChannel}))),this.$emit("count",t.length),t}}]),a}(Object(f["b"])(x,A));Object(h["a"])([Object(f["c"])()],Pr.prototype,"returnChannelFilter",void 0),Object(h["a"])([Object(f["c"])()],Pr.prototype,"interfaceTypeFilter",void 0),Object(h["a"])([Object(f["c"])()],Pr.prototype,"negotiationChannelFilter",void 0),Object(h["a"])([Nr.Getter],Pr.prototype,"getCommands",void 0),Object(h["a"])([Nr.Getter],Pr.prototype,"getInterfaces",void 0),Pr=Object(h["a"])([f["a"]],Pr);var Gr=Pr,Lr=Gr,Mr=(a("fb1d"),Object(z["a"])(Lr,xr,_r,!1,null,"5873b325",null)),Er=Mr.exports;function Ar(t){var e=Dr();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Dr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var Sr=function(t){Object(l["a"])(a,t);var e=Ar(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.iCount=0,t.interfaceByType="ALL",t.returnChannel="ALL",t.negotiationChannel="ALL",t}return Object(c["a"])(a,[{key:"getCount",get:function(){return this.iCount}},{key:"selectedInterfaceType",get:function(){return this.interfaceByType}},{key:"selectedReturnChannel",get:function(){return this.returnChannel}},{key:"selectedNegotiationChannel",get:function(){return this.negotiationChannel}},{key:"isChannelOrAllForDisabled",get:function(){var t="ALL"===this.selectedInterfaceType||"CHANNEL"===this.selectedInterfaceType;return t||(this.selectReturnChannel("NO"),this.selectNegotiationChannel("NO")),!t}},{key:"setCount",value:function(t){this.iCount=t}},{key:"selectInterfaceType",value:function(t){"PERIPHERAL"!==this.interfaceByType&&"CONNECTOR"!==this.interfaceByType||"ALL"!==t&&"CHANNEL"!==t||(this.selectReturnChannel("ALL"),this.selectNegotiationChannel("ALL")),this.interfaceByType=t}},{key:"selectReturnChannel",value:function(t){this.returnChannel=t}},{key:"selectNegotiationChannel",value:function(t){this.negotiationChannel=t}}]),a}(Object(f["b"])(x));Sr=Object(h["a"])([Object(f["a"])({components:{Select:xe,InterfaceList:Er,DataTableFooter:Yi}})],Sr);var Br=Sr,Fr=Br,Ur=Object(z["a"])(Fr,jr,Ir,!1,null,null,null),$r=Ur.exports;function Vr(t){var e=Kr();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Kr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var zr=Object(p["a"])("c3Module"),Hr=Object(p["a"])("paginateModule"),Zr=function(t){Object(l["a"])(a,t);var e=Vr(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.activeTab="relay",t}return Object(c["a"])(a,[{key:"activeIsRelay",get:function(){return"relay"===this.activeTab}},{key:"activeIsInterface",get:function(){return"interface"===this.activeTab}},{key:"activeIsCommands",get:function(){return"command"===this.activeTab}},{key:"hasSelectedGateway",get:function(){return this.hasGatewaySelected}},{key:"setActiveTab",value:function(t){this.setActualPage(1),this.activeTab=t}}]),a}(Object(f["b"])(x));Object(h["a"])([Hr.Mutation],Zr.prototype,"setActualPage",void 0),Object(h["a"])([zr.Getter],Zr.prototype,"hasGatewaySelected",void 0),Zr=Object(h["a"])([Object(f["a"])({components:{RelaysTab:ar,CommandsTab:kr,InterfacesTab:$r}})],Zr);var Yr=Zr,Jr=Yr,Xr=(a("1d22"),Object(z["a"])(Jr,Ii,xi,!1,null,null,null)),Wr=Xr.exports,qr=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3side"},[a("div",{staticClass:"c3side-title-wrapper"},[a("h1",{staticClass:"c3side-title"},[t._v("Network")]),a("span",{staticClass:"c3side-config-link",on:{click:function(e){return t.openModal("","OPTIONS")}}},[t._v("EDIT CONFIG")])]),a("div",{staticClass:"c3side-body"},[a("NetworkStats"),a("div",{staticClass:"c3side-refresh-wrapper"},[a("span",{staticClass:"c3side-refres-title"},[t._v(" Refresh Rate ")]),a("Select",{staticClass:"c3site-refresh-dropdown",staticStyle:{"margin-bottom":"0"},attrs:{selected:t.selectedRefreshRate,options:t.refreshRates(),border:!1},on:{change:function(e){return t.setRefreshRate(e,t.refreshRate)}}})],1),a("Toggle",{key:"toggle-auto-update-button",attrs:{legend:"Auto Update",name:"autoUpdate",checked:t.getAutoUpdateEnabled,help:"Auto Update checks for network changes automatically,\n this may result in live updated to the graph and data tables when enabled",disabled:!1},on:{change:function(e){return t.toggleAutoUpdate(e)}}}),a("div",{staticClass:"c3btn-group"},[a("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return t.openModal("","CREATE_GATEWAY")}}},[t._v(" New Gateway ")])])],1)])},Qr=[];function to(t){var e=eo();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function eo(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var ao=Object(p["a"])("visModule"),no=Object(p["a"])("optionsModule"),io=function(t){Object(l["a"])(a,t);var e=to(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.refreshRate="2",t}return Object(c["a"])(a,[{key:"getAutoUpdate",get:function(){return this.getAutoUpdateEnabled}},{key:"toggleAutoUpdate",value:function(t){this.setAutoUpdateEnabled(t.value)}},{key:"selectedRefreshRate",get:function(){return this.refreshRate}},{key:"setRefreshRate",value:function(t){this.refreshRate=t,this.setRefreshInterval(1e3*parseInt(t,10))}},{key:"refreshRates",value:function(){return{1:"1 second",2:"2 seconds",5:"5 seconds",10:"10 seconds",20:"20 seconds",30:"30 seconds",60:"1 minute",120:"2 minutes",300:"5 minutes",600:"10 minutes",1800:"30 minutes",3600:"1 hour"}}}]),a}(Object(f["b"])(x));Object(h["a"])([ao.Getter],io.prototype,"getAutoUpdateEnabled",void 0),Object(h["a"])([ao.Mutation],io.prototype,"setAutoUpdateEnabled",void 0),Object(h["a"])([no.Getter],io.prototype,"getRefreshInterval",void 0),Object(h["a"])([no.Mutation],io.prototype,"setRefreshInterval",void 0),io=Object(h["a"])([Object(f["a"])({components:{Toggle:Hn,Select:xe,NetworkStats:Kt}})],io);var ro=io,oo=ro,so=(a("3d3f"),Object(z["a"])(oo,qr,Qr,!1,null,"6cd95e5d",null)),co=so.exports,lo=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3gateway"},[t._m(0),a("SelectGatewayForm")],1)},uo=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3gateway-row"},[a("span",{staticClass:"c3gateway-title"},[t._v(" Gateway Selection ")])])}],ho=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3gateway-row"},[a("Select",{attrs:{legend:"Gateways",selected:t.selectedGateway,options:t.gateways,border:!0,up:!1},on:{change:function(e){return t.selectGateway(e,t.activeGateway)}}})],1)},fo=[];function po(t){var e=yo();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function yo(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var go=Object(p["a"])("c3Module"),mo=function(t){Object(l["a"])(a,t);var e=po(a);function a(){var t;return Object(s["a"])(this,a),t=e.apply(this,arguments),t.activeGateway="",t}return Object(c["a"])(a,[{key:"selectedGateway",get:function(){return this.activeGateway}},{key:"gateways",get:function(){var t=this.getGateways,e={};return t.forEach((function(t,a){e[t.agentId]="".concat(t.name," - ").concat(t.agentId)})),t.length>0&&""===this.selectedGateway&&(this.activeGateway=t[0].agentId,this.fetchGateway({gatewayId:this.selectedGateway})),e}},{key:"selectGateway",value:function(t){this.activeGateway=t,this.changeGateway(),this.addNotify({type:"info",message:"Gateway [".concat(this.selectedGateway,"] selected...")})}},{key:"changeGateway",value:function(){this.fetchGateway({gatewayId:this.selectedGateway})}}]),a}(Object(f["b"])(x));Object(h["a"])([go.Action],mo.prototype,"fetchGateway",void 0),Object(h["a"])([go.Getter],mo.prototype,"getGateways",void 0),mo=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],mo);var vo=mo,bo=vo,wo=(a("a29d"),Object(z["a"])(bo,ho,fo,!1,null,"49ef2de9",null)),Co=wo.exports;function Oo(t){var e=ko();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function ko(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var jo=function(t){Object(l["a"])(a,t);var e=Oo(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a)}(Object(f["b"])(x));jo=Object(h["a"])([Object(f["a"])({components:{SelectGatewayForm:Co}})],jo);var Io=jo,xo=Io,_o=(a("b0db"),Object(z["a"])(xo,lo,uo,!1,null,null,null)),Ro=_o.exports,To=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition-group",{staticClass:"c3notify",attrs:{name:"slide",tag:"ul"}},t._l(t.notifies,(function(e){return a("li",{key:e.id,class:"c3notify-"+e.type,staticStyle:{right:"0"}},[e.title?a("h1",[t._v(t._s(e.title))]):t._e(),a("p",[t._v(t._s(e.message))]),a("span",{staticClass:"c3notify-close icon close",on:{click:function(a){return a.target!==a.currentTarget?null:t.deleteNotify(e.id)}}})])})),0)},No=[];function Po(t){var e=Go();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Go(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Lo=Object(p["a"])("notifyModule"),Mo=function(t){Object(l["a"])(a,t);var e=Po(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"notifies",get:function(){return this.getNotifies}},{key:"deleteNotify",value:function(t){this.removeNotify(t)}}]),a}(i["a"]);Object(h["a"])([Lo.Getter],Mo.prototype,"getNotifies",void 0),Object(h["a"])([Lo.Mutation],Mo.prototype,"removeNotify",void 0),Mo=Object(h["a"])([f["a"]],Mo);var Eo=Mo,Ao=Eo,Do=(a("0673"),Object(z["a"])(Ao,To,No,!1,null,null,null)),So=Do.exports;function Bo(t){var e=Fo();return function(){var a,n=Object(d["a"])(t);if(e){var i=Object(d["a"])(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(u["a"])(this,a)}}function Fo(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Uo=Object(p["a"])("c3Module"),$o=Object(p["a"])("visModule"),Vo=Object(p["a"])("paginateModule"),Ko=Object(p["a"])("c3CommandModule"),zo=Object(p["a"])("optionsModule"),Ho=function(t){Object(l["a"])(a,t);var e=Bo(a);function a(){return Object(s["a"])(this,a),e.apply(this,arguments)}return Object(c["a"])(a,[{key:"gateway",get:function(){return void 0===this.getGateway?y:this.getGateway}},{key:"hasSelectedGateway",get:function(){return this.getGateways.length>0}},{key:"refreshRate",get:function(){return this.getRefreshInterval}},{key:"mounted",value:function(){this.updateData(),this.setTime=setInterval(this.updateData,this.refreshRate)}},{key:"destroy",value:function(){clearInterval(this.setTime)}},{key:"setNewRefreshRate",value:function(t,e){clearInterval(this.setTime),this.setTime=setInterval(this.updateData,this.refreshRate)}},{key:"onGetGrapDataChange",value:function(t,e){void 0!==window.networkc3&&window.networkc3.setData(this.getGrapData),this.fetchCommands(this.gateway.id),this.fetchCapability({gatewayId:this.gateway.id})}},{key:"updateData",value:function(){!0===this.getAutoUpdateEnabled&&(this.fetchGateways(),this.gateway&&this.gateway.klass!==n.Undefined&&this.fetchGateway({gatewayId:this.gateway.id}))}}]),a}(i["a"]);Object(h["a"])([Vo.Mutation],Ho.prototype,"setActualPage",void 0),Object(h["a"])([Uo.Action],Ho.prototype,"fetchGateways",void 0),Object(h["a"])([Uo.Action],Ho.prototype,"fetchGateway",void 0),Object(h["a"])([Uo.Action],Ho.prototype,"fetchCapability",void 0),Object(h["a"])([Uo.Getter],Ho.prototype,"getGateway",void 0),Object(h["a"])([Uo.Getter],Ho.prototype,"getGateways",void 0),Object(h["a"])([$o.Action],Ho.prototype,"generateNodes",void 0),Object(h["a"])([$o.Getter],Ho.prototype,"getGrapData",void 0),Object(h["a"])([$o.Getter],Ho.prototype,"getAutoUpdateEnabled",void 0),Object(h["a"])([Ko.Action],Ho.prototype,"fetchCommands",void 0),Object(h["a"])([zo.Getter],Ho.prototype,"getRefreshInterval",void 0),Object(h["a"])([Object(f["e"])("getRefreshInterval")],Ho.prototype,"setNewRefreshRate",null),Object(h["a"])([Object(f["e"])("getGrapData")],Ho.prototype,"onGetGrapDataChange",null),Ho=Object(h["a"])([Object(f["a"])({components:{Navbar:ji,GatewayForm:Ro,Canvas:oi,Controll:Wr,SideMenu:co,Footer:yi,Modal:Mn,Notification:So,CreateGatewayModal:rn}})],Ho);var Zo=Ho,Yo=Zo,Jo=(a("cf25"),Object(z["a"])(Yo,r,o,!1,null,null,null)),Xo=Jo.exports,Wo=a("2f62"),qo=a("6821f"),Qo=a.n(qo),ts=!0,es={gateways:[],gateway:null,nodes:[],edges:[],relayTimestamps:[],mustRefresh:!1,lastGetHash:""},as={getNodes:function(t){return t.nodes},getEdges:function(t){return t.edges},getGateways:function(t){return t.gateways},getGateway:function(t){return t.nodes.find((function(t){return t.klass===n.Gateway}))},hasGatewaySelected:function(t){return!!t.gateway},getRelays:function(t){return t.nodes.filter((function(t){return t.klass===n.Relay}))},getRelay:function(t){return function(e){return t.nodes.find((function(t){return t.id===e&&t.klass===n.Relay}))}},getGatewayRoutes:function(t){return t.gateway?t.gateway.routes:[]},getRelayRoutes:function(t){return function(e){if(t.gateway){var a=t.gateway.relays.find((function(t){return t.agentId===e}));if(a)return a.routes}return[]}},getInterface:function(t){return function(e){if("new"===e)return{uid:"new",klass:n.Relay,id:"new",buildId:"",name:"new",pending:!0,isActive:!1,type:-1,error:null,parentId:null,parentKlass:n.Gateway,initialCommand:{},timestamp:Math.floor(Date.now()/1e3)};t.nodes.find((function(t){return t.uid===e}));return t.nodes.find((function(t){return t.uid===e}))}},getInterfaces:function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[n.Channel,n.Connector,n.Peripheral];return t.nodes.filter((function(t){return e.includes(t.klass)}))}},getInterfacesFor:function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[n.Channel,n.Connector,n.Peripheral],a=arguments.length>1?arguments[1]:void 0;return""!==a&&null!==a||!t.gateway||(a=t.gateway.agentId),t.nodes.filter((function(t){return e.includes(t.klass)&&t.parentId===a}))}},getNodeKlass:function(t){return function(e){var a=t.nodes.find((function(t){return t.uid===e}));return a?a.klass:n.Undefined}}},ns={updateGateways:function(t,e){t.gateways=e},updateGateway:function(t,e){t.gateway=e},populateNodes:function(t,e){var a=function(){for(var t=arguments.length,e=new Array(t),a=0;a0)return t.modals[t.modals.length-1]}},ls={newModal:function(t,e){var a=!1;t.modals.length>1&&(a=t.modals[t.modals.length-2]),!1!==a&&a.modalTarget===e.modalTarget&&a.modalTargetId===e.modalTargetId?t.modals.pop():t.modals.push(e)},closeModal:function(t){t.modals.length>0&&t.modals.pop()},closeModalAll:function(t){t.modals=[]}},us={},ds={namespaced:os,state:ss,getters:cs,mutations:ls,actions:us},hs=!0,fs={itemPerPage:5,actualPage:1,lastChange:Date.now()},ps={getItemPerPage:function(t){return t.itemPerPage},getActualPage:function(t){return t.actualPage},getLastChange:function(t){return t.lastChange}},ys={setItemPerPage:function(t,e){t.actualPage=1,t.itemPerPage=e,t.lastChange=Date.now()},setActualPage:function(t,e){t.actualPage=e,t.lastChange=Date.now()}},gs={},ms={namespaced:hs,state:fs,getters:ps,mutations:ys,actions:gs},vs=a("c540"),bs='',ws='',Cs='',Os='',ks='',js='',Is='',xs='',_s='',Rs='',Ts='',Ns='',Ps='',Gs='',Ls='',Ms='',Es='',As='',Ds='',Ss="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(bs),Bs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(ws),Fs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Cs),Us="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(js),$s="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Is),Vs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Os),Ks="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(ks),zs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(xs),Hs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(_s),Zs=(encodeURIComponent(Rs),encodeURIComponent(Ts),encodeURIComponent(Ns),"data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ps)),Ys="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Gs),Js="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ls),Xs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ms),Ws="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Es),qs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(As),Qs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ds),tc=10,ec=20,ac=30,nc=40,ic=50,rc=5,oc=2,sc=3,cc=5,lc={nodes:{font:{color:"#fff",background:"#222",size:12,face:"Roboto Mono",strokeWidth:0,vadjust:0},shadow:{enabled:!1,color:"rgba(75,174,97,1)",size:20,x:0,y:0},widthConstraint:{maximum:75},margin:{top:0}},edges:{font:{color:"#fff",background:"#222",size:12,face:"Roboto Mono",strokeWidth:0},color:{color:"#BDBDBD",highlight:"#27ae60"},smooth:!1},groups:{10:{shape:"image",image:Zs,size:30},11:{shape:"image",image:Js,size:30},13:{shape:"image",image:Ys,size:30},14:{shape:"image",image:Js,size:30},20:{shape:"image",image:Xs,size:30},21:{shape:"image",image:Qs,size:30},23:{shape:"image",image:Ws,size:30},24:{shape:"image",image:Qs,size:30},25:{shape:"image",image:qs,size:30},26:{shape:"image",image:Qs,size:30},28:{shape:"image",image:qs,size:30},29:{shape:"image",image:Qs,size:30},30:{shape:"image",image:Ss,size:20},31:{shape:"image",image:Fs,size:20},32:{shape:"image",image:Bs,size:20},33:{shape:"image",image:Fs,size:20},35:{shape:"image",image:Vs,size:25},36:{shape:"image",image:Ks,size:25},40:{shape:"image",image:Us,size:20},41:{shape:"image",image:$s,size:20},50:{shape:"image",image:zs,size:20},51:{shape:"image",image:Hs,size:20}},layout:{randomSeed:921401,improvedLayout:!0,hierarchical:{enabled:!0,direction:"LR",parentCentralization:!0,blockShifting:!0,levelSeparation:150,treeSpacing:200,nodeSpacing:100,edgeMinimization:!0,sortMethod:"hubsize"}},physics:{enabled:!0,solver:"barnesHut",barnesHut:{gravitationalConstant:-4500,springLength:100,springConstant:.01,damping:.1,avoidOverlap:0},minVelocity:.45,stabilization:{enabled:!0,iterations:1e3,updateInterval:10,onlyDynamicEdges:!1,fit:!0}},interaction:{navigationButtons:!0,keyboard:!1}},uc=3,dc=5e3,hc=!0,fc={nodes:{},edges:{},options:lc,showInterfaces:!0,showLabels:!0,autoUpdateEnabled:!0,graphData:{nodes:new vs["a"]({}),edges:new vs["a"]({})}},pc={getVisNodes:function(t){return t.nodes},getVisEdges:function(t){return t.edges},getGrapData:function(t){return t.graphData},getOptions:function(t){return t.options},getShowInterfaces:function(t){return t.showInterfaces},getShowLabels:function(t){return t.showLabels},getAutoUpdateEnabled:function(t){return t.autoUpdateEnabled}},yc={setNodes:function(t,e){t.nodes=e},setEdges:function(t,e){t.edges=e},setGraphData:function(t){var e=new vs["a"](t.nodes),a=new vs["a"](t.edges),n={nodes:e,edges:a};t.graphData=n},setOptions:function(t,e){t.options=e},setShowInterfaces:function(t,e){t.showInterfaces=e},setShowLabels:function(t,e){t.showLabels=e},setTreeView:function(t,e){t.options.layout.hierarchical.enabled=e,t.options.physics.stabilization.onlyDynamicEdges=!0===e},setPhysics:function(t,e){t.options.physics.enabled=e},setSmoothEdge:function(t,e){t.options.edges.smooth=e},setAutoUpdateEnabled:function(t,e){t.autoUpdateEnabled=e}},gc={generateNodes:function(t){var e=t.rootGetters["c3Module/getNodes"],a=t.rootGetters["c3Module/getGateway"].timestamp,i=t.rootGetters["c3Module/getGateway"].isActive,r=function(t,e,a){var i=0;null!==t.error&&++i;var r=!0;switch(void 0!==t.isActive&&!1===t.isActive&&(r=!1),t.klass===n.Relay&&(t.timestamp&&(r=!(t.timestamp-1&&(t.notifys[a]=e)},removeNotify:function(t,e){var a=t.notifys.findIndex((function(t){return t.id===e}));a>-1&&t.notifys.splice(a,1)},removeOldestNotify:function(t){var e=t.notifys.length;if(e>0){var a=t.notifys[0];a.timeoutID&&clearTimeout(a.timeoutID),t.notifys.splice(0,1)}}},Oc={insertNotify:function(t,e){var a=function(a){e.id=Math.random().toString(36).substr(2),e.timeoutID=setTimeout((function(){return t.commit("removeNotify",e.id),!0}),dc),t.commit("addNotify",e)},n=t.state.notifys.length;if(n>0)if(e.message!==t.state.notifys[n-1].message)a(e);else{var i=t.state.notifys[n-1];clearTimeout(i.timeoutID),i.timeoutID=setTimeout((function(){return t.commit("removeNotify",i.id),!0}),dc),t.commit("updateNotify",i)}else a(e);n>=uc&&t.commit("removeOldestNotify")}},kc={namespaced:vc,state:bc,getters:wc,mutations:Cc,actions:Oc},jc=!0,Ic={capability:{},interfaceList:[]},xc={getCommandGroupFor:function(t){return function(e){var a={};switch(e){case n.Gateway:t.capability&&t.capability.commands&&(a=t.capability.commands);break;case n.Relay:t.capability&&t.capability.relayCommands&&(a=t.capability.relayCommands.commands);break;case n.Channel:t.capability&&t.capability.channelCommands&&(a=t.capability.channelCommands.commands);break;case n.Peripheral:t.capability&&t.capability.peripheralCommands&&(a=t.capability.peripheralCommands.commands);break;case n.Connector:t.capability&&t.capability.connectorCommands&&(a=t.capability.connectorCommands.commands);break}var i={};return void 0!==a.length&&a.forEach((function(t){var e=t.name;i[e]=e})),i}},getCommandTargetFor:function(t){return function(e,a,i){var r={};switch(a){case n.Gateway:t.capability&&t.capability.commands&&(r=t.capability.commands);break;case n.Relay:t.capability&&t.capability.relayCommands&&(r=t.capability.relayCommands.commands);break;case n.Channel:t.capability&&t.capability.channelCommands&&(r=t.capability.channelCommands.commands);break;case n.Peripheral:t.capability&&t.capability.peripheralCommands&&(r=t.capability.peripheralCommands.commands);break;case n.Connector:t.capability&&t.capability.connectorCommands&&(r=t.capability.connectorCommands.commands);break}var o={};void 0!==r.length&&(o=r.find((function(t){return t.name===e})));var s={};if(o&&o.arguments){var c=o.arguments.find((function(t){return"form"===t.type}));c.defaultValue.forEach((function(t){if(void 0===i)s[t.replace(/:/g,"_")]=t.split(":")[2];else{var e=t.split(":")[1];e===i&&(s[t.replace(/:/g,"_")]=t.split(":")[2])}}))}return s}},getTypeNameForInterface:function(t){return function(e,a){var n=t.interfaceList.find((function(t){return""+t.type===""+e}));return void 0!==n?n.name:""}},getTypesForInterfaceKlass:function(t){return function(e){return t.interfaceList.filter((function(t){return t.klass===e}))}},getCapabilityFor:function(t){return function(e,a){return t.interfaceList.find((function(t){return t.name===e&&t.klass===a}))}}},_c={updateCapability:function(t,e){t.interfaceList=[],t.capability=e},populateList:function(t){var e=function(e){t.capability&&t.capability[e]&&t.capability[e].forEach((function(a){var i={type:a.type,name:a.name,commands:a.commands};switch(e){case"channels":i.klass=n.Channel;break;case"connectors":i.klass=n.Connector;break;case"peripherals":i.klass=n.Peripheral;break;case"gateway":i.klass=n.Gateway;break;case"relay":i.klass=n.Relay;break}t.interfaceList.push(i)}))};e("channels"),e("connectors"),e("peripherals"),e("gateway"),e("relay")}},Rc={fetchCapability:function(t,e){if(e.gatewayId){var a="/api/gateway/".concat(e.gatewayId,"/capability"),n="".concat(t.rootGetters["optionsModule/getAPIUrl"],":").concat(t.rootGetters["optionsModule/getAPIPort"]);G.a.get(a,{baseURL:n}).then((function(e){t.commit("updateCapability",e.data),t.commit("populateList",e.data)})).catch((function(e){t.dispatch("notifyModule/insertNotify",{type:"error",message:e.message},{root:!0}),console.error(e.message)}))}else t.dispatch("notifyModule/insertNotify",{type:"error",message:"missing: gatewayId"},{root:!0}),console.error("missing: gatewayId")}},Tc={namespaced:jc,state:Ic,getters:xc,mutations:_c,actions:Rc},Nc=!0,Pc={baseUrl:"".concat(window.location.protocol,"//").concat(window.location.hostname),port:parseInt(""!==window.location.port?window.location.port:"http:"===window.location.protocol?"80":"443"),refreshInterval:2e3},Gc={getAPIUrl:function(t){return t.baseUrl},getAPIPort:function(t){return t.port},getAPIBaseUrl:function(t){return t.baseUrl+":"+t.port},getRefreshInterval:function(t){return t.refreshInterval}},Lc={setBaseURL:function(t,e){t.baseUrl=e},setBasePort:function(t,e){t.port=e},setRefreshInterval:function(t,e){t.refreshInterval=e}},Mc={},Ec={namespaced:Nc,state:Pc,getters:Gc,mutations:Lc,actions:Mc},Ac=!0,Dc={commands:[],totalCount:0},Sc={getCommands:function(t){return t.commands},getCommand:function(t){return function(e){return t.commands.find((function(t){return""+t.id===""+e}))}},getCommandCount:function(t){return t.totalCount}},Bc={updateCommands:function(t,e){t.commands=e},updateTotalCount:function(t,e){t.totalCount=e}},Fc={fetchCommands:function(t,e){if(e){var a=t.rootGetters["paginateModule/getActualPage"],n=t.rootGetters["paginateModule/getItemPerPage"],i="/api/gateway/".concat(e,"/command?all=true&page=").concat(a,"&perPage=").concat(n),r="".concat(t.rootGetters["optionsModule/getAPIUrl"],":").concat(t.rootGetters["optionsModule/getAPIPort"]);G.a.get(i,{baseURL:r}).then((function(e){t.commit("updateCommands",e.data);var a=0;e.headers["X-Total-Count"]?a=e.headers["X-Total-Count"]:e.headers["x-total-count"]&&(a=e.headers["x-total-count"]),a&&t.commit("updateTotalCount",a)})).catch((function(e){t.dispatch("notifyModule/insertNotify",{type:"error",message:e.message},{root:!0}),console.error(e.message)}))}else t.dispatch("notifyModule/insertNotify",{type:"error",message:"missing: gatewayId"},{root:!0}),console.error("missing: gatewayId")}},Uc={namespaced:Ac,state:Dc,getters:Sc,mutations:Bc,actions:Fc};i["a"].use(Wo["a"]);var $c={state:{version:"1.0.0"},modules:{c3Module:rs,visModule:mc,modalModule:ds,notifyModule:kc,c3Capability:Tc,optionsModule:Ec,paginateModule:ms,c3CommandModule:Uc}},Vc=new Wo["a"].Store($c),Kc=a("7bb1");a("b107");i["a"].config.productionTip=!1,window.networkc3={},i["a"].use(Kc["a"],{inject:!1,validity:!0}),new i["a"]({store:Vc,render:function(t){return t(Xo)}}).$mount("#app")},cf25:function(t,e,a){"use strict";a("fea6")},d027:function(t,e,a){},d199:function(t,e,a){},d2bf:function(t,e,a){},d94a:function(t,e,a){"use strict";a("0885")},dda9:function(t,e,a){},df1d:function(t,e,a){},e14d:function(t,e,a){},e181:function(t,e,a){"use strict";a("a1b6")},e1b5:function(t,e,a){"use strict";a("d2bf")},e3dc:function(t,e,a){},e72f:function(t,e,a){"use strict";a("e14d")},e813:function(t,e,a){"use strict";a("c41d")},e97c:function(t,e,a){},ecdf:function(t,e,a){},f856:function(t,e,a){},f8ce:function(t,e,a){},fb1d:function(t,e,a){"use strict";a("c0a0")},fea6:function(t,e,a){}}); +//# sourceMappingURL=app.8e086b41.js.map \ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/js/app.8e086b41.js.map b/Src/WebController/Backend/wwwroot/js/app.8e086b41.js.map new file mode 100644 index 00000000..1ae130f0 --- /dev/null +++ b/Src/WebController/Backend/wwwroot/js/app.8e086b41.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Notification.vue?4628","webpack:///./src/components/partial/ChannelList.vue?cacf","webpack:///./src/components/Controll.vue?7970","webpack:///./src/components/partial/RelayList.vue?dad4","webpack:///./src/components/modals/Command.vue?5762","webpack:///./src/components/SideMenu.vue?4078","webpack:///./src/components/modals/Relay.vue?2ab7","webpack:///./src/components/modals/CreateRelay.vue?0a0d","webpack:///./src/components/partial/PeripheralList.vue?8bc6","webpack:///./src/components/Navbar.vue?0663","webpack:///./src/components/form/Input.vue?cfaa","webpack:///./src/components/form/CheckBox.vue?1849","webpack:///./src/components/form/Textarea.vue?596f","webpack:///./src/components/partial/RouteList.vue?abc9","webpack:///./src/components/Canvas.vue?9de9","webpack:///./src/components/partial/CommandList.vue?2fee","webpack:///./src/assets/logo.svg","webpack:///./src/components/modals/Interface.vue?7e54","webpack:///./src/components/form/SelectGatewayForm.vue?4063","webpack:///./src/components/GatewayForm.vue?a081","webpack:///./src/components/datatables/DataTableFooter.vue?2766","webpack:///./src/components/partial/NetworkStats.vue?2f84","webpack:///./src/components/form/Toggle.vue?1a8b","webpack:///./src/components/partial/ConnectorList.vue?1b36","webpack:///./src/components/Footer.vue?9186","webpack:///./src/components/partial/DonutForm.vue?bf12","webpack:///./src/types/c3types.ts","webpack:///./src/App.vue?99a7","webpack:///./src/components/Modal.vue?bf6f","webpack:///./src/c3.ts","webpack:///./src/components/modals/Relay.vue?1ed4","webpack:///./src/components/partial/RouteList.vue?a951","webpack:///./src/components/partial/Partial.ts","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/components/partial/RouteList.vue?3499","webpack:///./src/components/partial/RouteList.vue","webpack:///./src/components/partial/ChannelList.vue?2da6","webpack:///./src/components/partial/ChannelList.vue?6dbb","webpack:///./src/components/partial/ChannelList.vue","webpack:///./src/components/partial/PeripheralList.vue?c15b","webpack:///./src/components/partial/PeripheralList.vue?9920","webpack:///./src/components/partial/PeripheralList.vue","webpack:///./src/components/modals/Relay.vue?a6b0","webpack:///./src/components/modals/Relay.vue","webpack:///./src/components/modals/Command.vue?998f","webpack:///./src/components/modals/Command.vue?ee9d","webpack:///./src/components/modals/Command.vue","webpack:///./src/components/modals/Gateway.vue?29f4","webpack:///./src/components/partial/NetworkStats.vue?ee49","webpack:///./src/components/partial/NetworkStats.vue?ad74","webpack:///./src/components/partial/NetworkStats.vue","webpack:///./src/components/partial/ConnectorList.vue?636f","webpack:///./src/components/partial/ConnectorList.vue?a506","webpack:///./src/components/partial/ConnectorList.vue","webpack:///./src/components/modals/CommandCenter.vue?129c","webpack:///./src/components/form/Input.vue?6914","webpack:///./src/components/form/C3FormElement.ts","webpack:///./src/components/form/Input.vue?79ec","webpack:///./src/components/form/Input.vue","webpack:///./src/components/form/Select.vue?b095","webpack:///./src/components/form/Select.vue?702f","webpack:///./src/components/form/Select.vue","webpack:///./src/components/form/GeneralForm.vue?0a80","webpack:///./src/components/form/CheckBox.vue?e0eb","webpack:///./src/components/form/CheckBox.vue?f794","webpack:///./src/components/form/CheckBox.vue","webpack:///./src/components/form/Textarea.vue?2564","webpack:///./src/components/form/Textarea.vue?a5c6","webpack:///./src/components/form/Textarea.vue","webpack:///./src/components/form/GeneralForm.vue?cdf5","webpack:///./src/components/form/GeneralForm.vue","webpack:///./src/components/modals/CommandCenter.vue?676c","webpack:///./src/components/modals/CommandCenter.vue","webpack:///./src/components/modals/Gateway.vue?1e14","webpack:///./src/components/modals/Gateway.vue","webpack:///./src/components/modals/Interface.vue?c232","webpack:///./src/components/modals/Interface.vue?6e2f","webpack:///./src/components/modals/Interface.vue","webpack:///./src/components/modals/CreateRelay.vue?00b3","webpack:///./src/components/partial/DonutForm.vue?fe93","webpack:///./src/components/partial/DonutForm.vue?b38f","webpack:///./src/components/partial/DonutForm.vue","webpack:///./src/components/modals/CreateRelay.vue?15b2","webpack:///./src/components/modals/CreateRelay.vue","webpack:///./src/components/modals/CreateGateway.vue?af5b","webpack:///./src/components/modals/CreateGateway.vue?c75e","webpack:///./src/components/modals/CreateGateway.vue","webpack:///./src/components/modals/ConnectRelays.vue?7bb5","webpack:///./src/components/modals/ConnectRelays.vue?486a","webpack:///./src/components/modals/ConnectRelays.vue","webpack:///./src/components/modals/Options.vue?4080","webpack:///./src/components/modals/Options.vue?c6ec","webpack:///./src/components/modals/Options.vue","webpack:///./src/components/Modal.vue?1359","webpack:///./src/components/Modal.vue","webpack:///./src/components/Canvas.vue?ff5b","webpack:///./src/components/form/Toggle.vue?1201","webpack:///./src/components/form/Toggle.vue?15f8","webpack:///./src/components/form/Toggle.vue","webpack:///./src/lib/path.ts","webpack:///./src/components/Canvas.vue?faaf","webpack:///./src/components/Canvas.vue","webpack:///./src/components/Footer.vue?e2ad","webpack:///./src/components/Footer.vue?7b6b","webpack:///./src/components/Footer.vue","webpack:///./src/components/Navbar.vue?be43","webpack:///./src/components/Navbar.vue?d9b5","webpack:///./src/components/Navbar.vue","webpack:///./src/components/Controll.vue?14bb","webpack:///./src/components/datatables/Relays.vue?be6f","webpack:///./src/components/partial/RelayList.vue?1fdb","webpack:///./src/components/partial/RelayList.vue?c091","webpack:///./src/components/partial/RelayList.vue","webpack:///./src/components/datatables/DataTableFooter.vue?a6a3","webpack:///./src/components/datatables/DataTableFooter.vue?f247","webpack:///./src/components/datatables/DataTableFooter.vue","webpack:///./src/components/datatables/Relays.vue?89d2","webpack:///./src/components/datatables/Relays.vue","webpack:///./src/components/datatables/Commands.vue?2ef3","webpack:///./src/components/partial/CommandList.vue?88de","webpack:///./src/components/partial/CommandList.vue?91b3","webpack:///./src/components/partial/CommandList.vue","webpack:///./src/components/datatables/Commands.vue?eb59","webpack:///./src/components/datatables/Commands.vue","webpack:///./src/components/datatables/Interfaces.vue?bfaa","webpack:///./src/components/partial/InterfaceList.vue?99ad","webpack:///./src/components/partial/InterfaceList.vue?b301","webpack:///./src/components/partial/InterfaceList.vue","webpack:///./src/components/datatables/Interfaces.vue?f977","webpack:///./src/components/datatables/Interfaces.vue","webpack:///./src/components/Controll.vue?6957","webpack:///./src/components/Controll.vue","webpack:///./src/components/SideMenu.vue?a0ac","webpack:///./src/components/SideMenu.vue?e4a8","webpack:///./src/components/SideMenu.vue","webpack:///./src/components/GatewayForm.vue?18c5","webpack:///./src/components/form/SelectGatewayForm.vue?5625","webpack:///./src/components/form/SelectGatewayForm.vue?f0ce","webpack:///./src/components/form/SelectGatewayForm.vue","webpack:///./src/components/GatewayForm.vue?7e1c","webpack:///./src/components/GatewayForm.vue","webpack:///./src/components/Notification.vue?2a88","webpack:///./src/components/Notification.vue?e193","webpack:///./src/components/Notification.vue","webpack:///./src/App.vue?6c26","webpack:///./src/App.vue","webpack:///./src/store/C3Module.ts","webpack:///./src/store/ModalModule.ts","webpack:///./src/store/PaginateModule.ts","webpack:///./src/components/assets/SvgIconsForVis.ts","webpack:///./src/options.ts","webpack:///./src/store/VisModule.ts","webpack:///./src/store/NotifyModule.ts","webpack:///./src/store/C3Capability.ts","webpack:///./src/store/OptionsModule.ts","webpack:///./src/store/C3Command.ts","webpack:///./src/store.ts","webpack:///./src/main.ts","webpack:///./src/App.vue?c2cb","webpack:///./src/components/modals/ConnectRelays.vue?2e86","webpack:///./src/components/modals/CommandCenter.vue?c541","webpack:///./src/components/form/GeneralForm.vue?bd2f","webpack:///./src/components/Modal.vue?384f","webpack:///./src/components/form/Select.vue?251f","webpack:///./src/components/partial/InterfaceList.vue?b47f"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","NodeKlass","_vm","this","_h","$createElement","_c","_self","attrs","hasSelectedGateway","staticClass","_e","_v","staticRenderFns","nullNode","uid","klass","Undefined","id","pending","isActive","type","error","parentId","parentKlass","isReturnChannel","isNegotiationChannel","initialCommand","propertiesText","class","activeModal","modalTarget","toLowerCase","isGateway","targetUid","isRelay","options","isInterface","on","$event","target","currentTarget","closeThisModal","closeAllModal","C3Module","namespace","NotifyModule","ModalModule","C3Capability","PaginateModule","C3","getItemPerPage","getActualPage","itemPerPage","actualPage","maxIndex","modal","newModal","modalTargetId","modalOptions","closeModal","closeModalAll","notify","insertNotify","c3Interface","getTypeNameForInterface","addNotify","message","c3Channel","undefined","getGateway","c3Command","interfaceId","relayAgentId","getNodeKlass","gateway","Relay","Gateway","returnClass","isPending","e","keyCode","unixTimestamp","time","Date","timeStr","toISOString","replace","Vue","__decorate","Mutation","Action","Getter","Component","relay","_s","openModal","buildId","unixTimeToString","timestamp","hostInfo","computerName","userName","domain","processId","isElevated","osMajorVersion","osMinorVersion","osBuildNumber","osServicePackMajor","osServicePackMinor","osProductType","osVersion","targetId","JSON","stringify","routes","displayEmpty","directives","rawName","expression","title","_m","_l","route","destinationAgent","receivingInterface","outgoingInterface","isNeighbour","staticStyle","sendCommand","Partial","showEmpty","Prop","C3OptionsModule","RouteList","getRelayRoutes","getGatewayRoutes","interfaceKlass","capability","getCapabilityFor","com","commands","find","getRelay","routeToDelete","getCommandId","command","arguments","apiURL","axios","url","method","baseURL","getAPIBaseUrl","then","catch","msg","console","Mixins","component","channels","channel","interfaceTypeName","interfaceType","ChannelList","getInterfacesFor","Channel","peripherals","peripheral","PeripheralList","Peripheral","RelayModal","addEventListener","handleGlobalKeyDown","removeEventListener","components","PheripheralList","InterfaceUID","commandType","isCommandPending","commandTypeId","C3CommandModule","CommandModal","getCommand","countRelays","countChannels","countConnectors","countPheripherals","port","NetworkStats","getAPIUrl","getAPIPort","getRefreshInterval","getRelays","getInterfaces","Connector","connectors","connector","ConnectorList","currentItem","selectedCommandGroup","commandGroupOptions","changeCommandGroup","commandGroup","selectedCommandTarget","commandTargetOptions","changeCommandTarget","commandTarget","selectedInterface","selectedCommand","selectedInterfaceKlass","argumentOptions","changeForm","formData","formIsValid","help","onClickRandom","_b","ref","dirty","isDirty","isDisabled","inputUID","autocomplete","domProps","changeInputText","gainFocus","lostFocus","composing","inputText","$attrs","clickOnLabel","legend","errors","first","C3FormElement","disabled","Math","random","toString","substring","Input","getValue","rand","parseInt","handleEnterAndTabKeyDown","focused","intervalTimer","setInterval","clearInterval","$refs","textinput","focus","$validator","verify","validate","isValid","valid","$emit","substr","$_veeValidate","validator","toggleSelect","hasBorder","selectedValue","dropDownIcon","directionReverse","style","selected","isSelected","selectAndClose","Select","border","up","isOpen","keys","forEach","calculateSelectUlOffset","selectedId","feedback","rect","$el","getBoundingClientRect","scrollLeft","pageXOffset","document","documentElement","scrollTop","pageYOffset","selectUlStyle","top","left","width","field","getFieldType","tag","validation","randomize","setDefaultValue","defaultValue","description","onChange","getIconKlass","Array","isArray","isChecked","_i","_q","$$a","$$el","$$c","checked","$$v","$$i","concat","toogleCheckBox","CheckBox","getIsChecked","isCheckedValue","dataText","updateTextarea","updateTextfield","Textarea","textareainput","base64","reader","FileReader","file","fileinput","readAsDataURL","files","onload","GeneralForm","interfaceName","f","payload","index","argumentsArray","findIndex","argumentObjects","emitFormData","clearArray","element","getCommandFrom","rData","v","min","max","inputId","outputId","hasOptions","output","item","input","inputName","inputValue","newValue","argument","getValidationRule","getRandomLenght","argumentItem","setArgumentData","CommandCenterModal","getInterface","resetForm","defaultCommandGroup","defaultCommandTarget","targetGroup","getCommandGroupFor","getCommandTargetFor","pluralize","singular","split","toUpperCase","embeded","formDefault","prefix","interface","dataToEmit","GatewayModal","getInterfaceJitter","generateOprions","InterfaceModal","showConnectRelayButton","showNewRelayButton","showButtons","isChannel","jitter","node","parse","interfaceAguments","propertiesAurguments","values","objectOrArray","getInterfaceParentId","attributes","tmp","a","argumentsString","getArguments","match","optionsArguments","getArgumentsAttributes","changeInputOutputIDs","propertiesArguments","getPropertiesArguments","isNormalChannel","getPrefix","getInterfaceTypeString","generateCommandCenterArguments","source","generateSourceOptions","changeName","relayName","gatewayBuildsId","selectedTargetSuffix","dll","exe","shellcode","changeTargetSuffix","targetSuffix","selectedArchitecture","x86","x64","changeArchitecture","architecture","changeDonutForm","addNewRelayToOptions","createNewRelay","selectedFormat","Binary","Base64","Ruby","C","Python","Powershell","Csharp","HeX","changeFormat","format","selectedCompress","None","Aplib","Lznt1","Xpress","Xpress_huff","changeCompress","compress","selectedEntropy","Random","Default","changeEntropy","entropy","selectedExitOpt","Exit_thread","Exit_process","changeExitOpt","exitOpt","selectedBypass","Abort","Continue","changeBypass","bypass","DonutForm","emitDonut","donut","CreateRelayModal","donutFormData","donutSelected","parentGatewayBuildId","startupCommands","responseType","fileName","blob","Blob","response","contentDisposition","headers","URL","createObjectURL","link","createElement","href","setAttribute","body","appendChild","click","remove","revokeObjectURL","gatewayName","createNewGateway","CreateGatewayModal","getGateways","apiUrl","selectedRelay","generateRelayList","changeTargetRelay","targetRelay","addNewRelayGroupToOptions","ConnectRelayModal","sourceRelay","sourceInterface","selectOptions","optionsCount","nullLiteral","nodes","c3Url","setUrl","c3Port","setPort","isFormValid","saveNetworkConfig","OptionsModal","c3UrlIsValid","c3PortIsValid","setBaseURL","setBasePort","getUrl","getPort","Modal","isFullscreen","fullscreenIcon","getTreeView","toggleTreeView","toggleInterfaces","getShowLabels","toggleLabels","getPhysics","togglePhysics","getSmoothEdges","toggleSmoothEdges","reloadGraph","toogleToggle","Toggle","booleanCheckbox","FindThePathToGateway","startNode","paths","getNodes","nodeId","setStartNode","iterations","hasPathEndpoints","targetNode","nextNode","handleNodeChannel","handleConnectorAndPeripheral","handleRelay","checkEndLoop","setNextNodeForChannel","isStartNodeConnectorOrPeripheral","setNextAndParentNode","isStartNodeRelay","setNextNodeForRelay","getEdges","filter","edge","to","from","neighbour","getParentNode","insertParentNodeToPaths","setNextNodeForReturnChannel","getChannelNeighbours","possibleNext","getPossibeNext","setAndInsertNextNode","getRelayNeighbours","VisModule","Canvas","getOptions","getGrapData","graphOtions","layout","hierarchical","enabled","physics","getShowInterfaces","isSmooth","createVisCanvas","container","c3canvas","networkc3","Network","params","nodeid","getNodeAt","pointer","DOM","lastClickNodeId","nodeKlass","deselectNodes","clearPath","selectNode","progressBarStatus","getElementById","status","floor","stabilization","updateInterval","progressBar","b","setTreeView","setOptions","setGraphData","setPhysics","setShowInterfaces","generateNodes","generateEdges","setShowLabels","setSmoothEdge","randomSeed","getVisNodes","update","shadow","getVisEdges","tmpEdge","edges","color","getPathsFromGateway","includes","findPath","Footer","Navbar","active","activeIsRelay","setActiveTab","activeIsInterface","activeIsCommands","setCount","getCount","relays","minIndex","RelayList","results","perPage","changePerPage","page","prevPage","maxPage","nextPage","DataTableFooter","perPageCount","setItemPerPage","setActualPage","maxpage","ceil","RelaysTab","rCount","selectedCommandStatus","selectedCommandFor","CommandList","commandsArray","getCommands","statusFilter","commandForFilter","CommandsTab","getCommandCount","commandFor","commandStatus","oldValue","fetchCommands","Watch","selectedInterfaceType","ALL","CHANNEL","PERIPHERAL","CONNECTOR","selectInterfaceType","selectedReturnChannel","YES","NO","isChannelOrAllForDisabled","selectReturnChannel","returnChannel","selectedNegotiationChannel","selectNegotiationChannel","negotiationChannel","c3Interfaces","InterfaceList","interfaces","interfaceTypeFilter","returnChannelFilter","c3Node","negotiationChannelFilter","InterfacesTab","iCount","interfaceByType","emitedCountNumber","newtype","filterReturnChannel","filterNegotiationChannel","Controll","activeTab","hasGatewaySelected","selectedRefreshRate","refreshRates","setRefreshRate","refreshRate","getAutoUpdateEnabled","toggleAutoUpdate","SideMenu","setAutoUpdateEnabled","rate","setRefreshInterval","selectedGateway","gateways","selectGateway","activeGateway","SelectGatewayForm","g","agentId","fetchGateway","gatewayId","changeGateway","GatewayForm","deleteNotify","Notification","getNotifies","removeNotify","App","updateData","setTime","setData","fetchCapability","fetchGateways","namespaced","state","relayTimestamps","mustRefresh","lastGetHash","getters","c3State","now","mutations","updateGateways","updateGateway","populateNodes","uuid","args","join","isRelayActive","gatewayTimestamp","relayTimestamp","iid","newTime","populateEdges","guid","interfaceIsExist","Interface","dashes","isDashed","actions","context","nodeIds","dispatch","root","rootGetters","commit","hash","md5","c3Module","modals","modalState","last","pop","modalModule","lastChange","paginateState","getLastChange","paginateModule","svgChannelActive","svgChannelReturn","svgChannelError","svgNegotiationActive","svgNegotiationError","svgPeripheralActive","svgPeripheralError","svgConnectorActive","svgConnectorError","svgInterfaceActive","svgInterfaceInactive","svgInterfaceError","svgGatewayActive","svgGatewayInactive","svgGatewayError","svgRelayActive","svgRelayInactive","svgRelayGhost","svgRelayError","ChannelActive","encodeURIComponent","ChannelReturn","ChannelError","PeripheralActive","PeripheralError","NegotiationActive","NegotiationError","ConnectorActive","ConnectorError","GatewayActive","GatewayInactive","GatewayError","RelayActive","RelayInactive","RelayGhost","RelayError","GATEWAY","RELAY","NEGOTIATION_CHANNEL","RETURN_CHANNEL","INACTIVE","GHOST","VisOptions","font","background","size","face","strokeWidth","vadjust","x","y","widthConstraint","maximum","margin","highlight","smooth","groups","10","shape","image","11","13","14","20","21","23","24","25","26","28","29","30","31","32","33","35","36","40","41","50","51","improvedLayout","direction","parentCentralization","blockShifting","levelSeparation","treeSpacing","nodeSpacing","edgeMinimization","sortMethod","solver","barnesHut","gravitationalConstant","springLength","springConstant","damping","avoidOverlap","minVelocity","onlyDynamicEdges","fit","interaction","navigationButtons","keyboard","maximumToast","notifyLenght","showInterfaces","showLabels","autoUpdateEnabled","graphData","DataSet","visState","setNodes","setEdges","graph","gatewayLastStartTime","gatewayIsActive","setGroup","gatewayStartTime","isGatewayActive","group","interfaccesIncluded","label","es","visModule","notifys","notifyState","updateNotify","notifyIndex","removeOldestNotify","notifyCount","timeoutID","clearTimeout","addNotification","notification","setTimeout","lastNotify","notifyModule","interfaceList","capabilityState","relayCommands","channelCommands","peripheralCommands","connectorCommands","option","commandName","currentType","commandList","form","commandItem","optionType","k","getTypesForInterfaceKlass","updateCapability","populateList","getItem","c3Capability","baseUrl","location","protocol","hostname","refreshInterval","optionsState","optionsModule","totalCount","C3State","updateCommands","updateTotalCount","c3CommandModule","use","Vuex","store","version","Store","config","productionTip","VeeValidate","inject","validity","render","h","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,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AY,2BAA1B,YAAwDJ,EAAQI,YAAY,6BAEzFhmB,IACGzK,IAAI0K,EAAK,CAAEE,YACXE,MAAK,SAAAiU,GAEJsR,EAAQK,OAAO,iBAAkB3R,EAASxhB,MAE1C,IAAIm+B,EAAa,EACX3c,EAASE,QAAQ,iBACrByc,EAAa3c,EAASE,QAAQ,iBACrBF,EAASE,QAAQ,mBAC1Byc,EAAa3c,EAASE,QAAQ,kBAE1Byc,GACJrL,EAAQK,OAAO,mBAAoBgL,MAGtC3wB,OAAM,SAAAtI,GACL4tB,EAAQE,SACN,4BACA,CAAE/tB,KAAM,QAAS8C,QAAS7C,EAAM6C,SAChC,CAAEkrB,MAAM,IAGVvlB,QAAQxI,MAAMA,EAAM6C,iBAGxB+qB,EAAQE,SACN,4BACA,CAAE/tB,KAAM,QAAS8C,QAAS,sBAC1B,CAAEkrB,MAAM,IAGVvlB,QAAQxI,MAAM,wBAKPq5B,GAAqD,CAChEpN,cACAC,SACAI,WACAG,aACAkB,YC7FFzpB,OAAIo1B,IAAIC,SAER,IAAMC,GAAiC,CACrCtN,MAAO,CACLuN,QAAS,SAEX59B,QAAS,CACPuyB,YACAqI,aACAhI,eACA6I,gBACAmB,gBACAO,iBACAnK,kBACAwK,qBAIW,OAAIE,QAAKG,MAAiBF,I,uBCzBzCt1B,OAAIy1B,OAAOC,eAAgB,EAE1Bp7B,OAAeykB,UAAY,GAE5B/e,OAAIo1B,IAAIO,QAAa,CACnBC,QAAQ,EACRC,UAAU,IAGZ,IAAI71B,OAAI,CACNs1B,SACAQ,OAAQ,SAAAC,GAAC,OAAIA,EAAEtO,OACduO,OAAO,S,kCCnBV,W,uGCAA,W,uGCAA,W,kCCAA,W,yDCAA,W,kCCAA,W,8HCAA,W","file":"js/app.8e086b41.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=style&index=0&id=f4969ade&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=style&index=0&id=579275ba&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=style&index=0&id=3748fed6&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=style&index=0&id=6cd95e5d&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=style&index=0&id=0686e7da&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=style&index=0&id=5295cdf8&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=style&index=0&id=0d08badc&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=style&index=0&id=40202deb&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=style&index=0&id=0828628d&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=style&index=0&id=4f91561c&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=style&index=0&id=39bf6527&scoped=true&lang=sass&\"","module.exports = __webpack_public_path__ + \"img/logo.5ba5b17a.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=style&index=0&id=33bc8b88&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=style&index=0&id=49ef2de9&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=style&index=0&id=2eac248e&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=style&index=0&id=b5131632&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=style&index=0&id=edfe580a&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=style&index=0&id=5ea1cc30&scoped=true&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=style&index=0&id=62086585&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=style&index=0&id=2a2638f3&scoped=true&lang=sass&\"","export interface C3State {\n edges: C3Edge[];\n nodes: C3Node[];\n gateways: GatewayHeader[];\n gateway?: C3Gateway | null;\n relayTimestamps?: C3RelayTime[];\n mustRefresh?: boolean;\n lastGetHash: string;\n}\n\nexport enum NodeKlass {\n Channel = 'CHANNEL',\n Connector = 'CONNECTOR',\n Gateway = 'GATEWAY',\n Interface = 'INTERFACE',\n Peripheral = 'PERIPHERAL',\n Relay = 'RELAY',\n Undefined = 'UNDEFINED'\n}\n\nexport interface C3RelayTime {\n id: string;\n time: number;\n}\n\nexport interface C3Node {\n id: string;\n uid: string;\n name?: string;\n klass: NodeKlass;\n buildId?: string;\n pending: boolean;\n isActive?: boolean;\n type: number;\n timestamp?: number;\n error: string | null;\n initialCommand?: any;\n propertiesText?: any;\n parentId: string | null;\n parentKlass: string | null;\n isReturnChannel?: boolean;\n isNegotiationChannel?: boolean;\n hostInfo?: C3HostInfo;\n [key: string]: any;\n}\n\nexport const nullNode: C3Node = {\n uid: '',\n klass: NodeKlass.Undefined,\n id: '',\n name: 'Null Node',\n pending: false,\n isActive: false,\n type: 0,\n error: null,\n parentId: null,\n parentKlass: null,\n isReturnChannel: false,\n isNegotiationChannel: false,\n initialCommand: {},\n propertiesText: {}\n};\n\nexport interface C3Edge {\n id: string;\n klass: NodeKlass;\n isNegotiationChannel?: boolean;\n length: number;\n dashes: boolean;\n from: string;\n to: string;\n color?: string;\n [key: string]: any;\n}\n\nexport interface C3Interface {\n iid: string;\n type: number;\n error?: string;\n pending?: boolean;\n parentId?: string;\n initialCommand?: any;\n propertiesText?: any;\n isReturnChannel?: boolean;\n isNegotiationChannel?: boolean;\n}\n\nexport interface C3Route {\n isNeighbour?: boolean;\n destinationAgent: string;\n outgoingInterface: string;\n receivingInterface: string;\n}\n\nexport interface C3Relay {\n buildId: string;\n agentId: string;\n channels: C3Interface[];\n error?: string;\n initialCommand?: any;\n propertiesText?: any;\n name: string;\n pending: boolean;\n peripherals: C3Interface[];\n routes: C3Route[];\n isActive: boolean;\n timestamp?: number;\n hostInfo: C3HostInfo;\n}\n\nexport interface C3HostInfo {\n computerName: string;\n userName: string;\n domain: string;\n osMajorVersion: number;\n osMinorVersion: number;\n osBuildNumber: number;\n osServicePackMajor: number;\n osServicePackMinor: number;\n osProductType: number;\n processId: number;\n isElevated: boolean;\n osVersion: string;\n}\n\nexport interface GatewayHeader {\n agentId: string;\n buildId: string;\n name: string;\n isActive: boolean;\n}\n\nexport interface C3Gateway {\n agentId: string;\n buildId: string;\n channels: C3Interface[];\n connectors: C3Interface[];\n error?: string;\n initialCommand?: any;\n propertiesText?: any;\n name: string;\n pending: boolean;\n peripherals: C3Interface[];\n relays: C3Relay[];\n routes: C3Route[];\n isActive: boolean;\n timestamp?: number;\n}\n\ninterface C3Args {\n args: C3Opts[];\n}\n\ninterface C3Opts {\n [key: string]: string;\n}\n\nexport interface C3Command {\n name: string;\n id: string | number;\n isPending: boolean;\n data: C3Opts[] | C3Args;\n interfaceId?: string | number;\n relayAgentId?: string | number;\n}\n\nexport interface C3Parent {\n agentId: string;\n parentType: string;\n}\n\nexport interface FetchData {\n relayId?: string;\n gatewayId: string;\n interfaceId?: string;\n}\n\nexport interface C3FieldDefault {\n name: string;\n type?: string;\n value: string;\n}\n\nexport interface FormOptions {\n prefix: string;\n interface: string;\n arguments: C3FieldDefault[];\n}\n\nexport interface SourceOptions {\n relay?: C3Node;\n interface?: C3Node;\n}\nexport interface C3CommandCenterOptions {\n formDefault?: FormOptions;\n source?: SourceOptions;\n targetGroup?: string;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Navbar'),(_vm.hasSelectedGateway === true)?_c('div',{staticClass:\"c3body\"},[_c('div',{staticClass:\"c3body-main\"},[_c('GatewayForm'),_c('Canvas'),_c('Controll')],1),_c('SideMenu')],1):_vm._e(),(_vm.hasSelectedGateway === false)?_c('div',{staticClass:\"c3body-no-gateway-message\"},[_c('h1',[_vm._v(\"There are currently no active Gateways\")]),_c('p',[_vm._v(\" Once a gateway has been detected it will automatically show up and this message will not appear, c3 checks for any gateway every minute. \")])]):_vm._e(),(_vm.hasSelectedGateway === false)?_c('CreateGatewayModal',{staticClass:\"c3body-gateway\"}):_vm._e(),_c('div'),_c('Footer'),_c('Modal'),_c('Notification')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentModal)?_c('div',{staticClass:\"c3modal\",class:this.activeModal.modalTarget.toLowerCase()},[_c('div',{staticClass:\"c3modal-holder\"},[(_vm.isGateway())?_c('GatewayModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(_vm.isRelay())?_c('RelayModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(this.activeModal.modalTarget === 'CREATE_GATEWAY')?_c('CreateGatewayModal'):_vm._e(),(this.activeModal.modalTarget === 'CREATE_RELAY')?_c('CreateRelayModal',{attrs:{\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'COMMAND_CENTER')?_c('CommandCenterModal',{attrs:{\"target-id\":_vm.targetUid,\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'CONNECT_RELAY')?_c('ConnectRelayModal',{attrs:{\"target-id\":_vm.targetUid,\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'COMMAND')?_c('CommandModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(this.activeModal.modalTarget === 'OPTIONS')?_c('OptionsModal'):_vm._e(),(_vm.isInterface())?_c('InterfaceModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),_c('span',{staticClass:\"c3modal-back icon back\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\"Back\")]),_c('span',{staticClass:\"c3modal-close icon close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeAllModal()}}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\n\nimport { GetNodeKlassFn } from '@/store/C3Module';\nimport { Notify, InsertNotifyFn } from '@/store/NotifyModule';\nimport { NewModalFn, CloseModalFn } from '@/store/ModalModule';\nimport { GetTypeNameForInterfaceFn } from '@/store/C3Capability';\nimport { C3Node, C3Command, NodeKlass, nullNode } from '@/types/c3types';\n\nconst C3Module = namespace('c3Module');\nconst NotifyModule = namespace('notifyModule');\nconst ModalModule = namespace('modalModule');\nconst C3Capability = namespace('c3Capability');\nconst PaginateModule = namespace('paginateModule');\n\n@Component\nexport default class C3 extends Vue {\n @ModalModule.Mutation public newModal!: NewModalFn;\n @ModalModule.Mutation public closeModal!: CloseModalFn;\n @ModalModule.Mutation public closeModalAll!: CloseModalFn;\n\n @NotifyModule.Action public insertNotify!: InsertNotifyFn;\n\n @C3Capability.Getter\n public getTypeNameForInterface!: GetTypeNameForInterfaceFn;\n\n @PaginateModule.Getter public getItemPerPage!: number;\n @PaginateModule.Getter public getActualPage!: number;\n\n @C3Module.Getter public getNodeKlass!: GetNodeKlassFn;\n @C3Module.Getter public getGateway!: C3Node;\n\n get itemPerPage() {\n return this.getItemPerPage;\n }\n\n get actualPage() {\n return this.getActualPage;\n }\n\n get maxIndex() {\n return this.itemPerPage * this.actualPage;\n }\n\n get minIndex() {\n return this.maxIndex - this.itemPerPage;\n }\n\n public openModal(id: string, modal: string, options: any = {}) {\n this.newModal({\n modalTarget: modal,\n modalTargetId: id,\n modalOptions: options\n });\n }\n\n public closeThisModal(): void {\n this.closeModal();\n }\n\n public closeAllModal(): void {\n this.closeModalAll();\n }\n\n public addNotify(notify: Notify): void {\n this.insertNotify(notify);\n }\n\n public interfaceTypeName(c3Interface: C3Node): string {\n if (c3Interface && c3Interface.type !== null) {\n if (c3Interface.klass) {\n return this.getTypeNameForInterface(\n c3Interface.type,\n c3Interface.klass\n );\n }\n this.addNotify({\n type: 'error',\n message:\n 'Interface Type cannot be determined. Must be a channel, connector or peripheral.'\n });\n }\n return '';\n }\n\n public interfaceType(c3Channel: C3Node): string {\n if (!!c3Channel.isReturnChannel) {\n return 'Return Channel';\n }\n if (!!c3Channel.isNegotiationChannel) {\n return 'Negotiation Channel';\n }\n\n return '';\n }\n\n get gateway() {\n if (this.getGateway === undefined) {\n return nullNode;\n }\n return this.getGateway;\n }\n\n public commandType(c3Command: C3Command): string {\n if (c3Command.interfaceId && c3Command.interfaceId !== undefined) {\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return this.getNodeKlass(\n c3Command.interfaceId + '-' + c3Command.relayAgentId\n );\n }\n return this.getNodeKlass(c3Command.interfaceId + '-' + this.gateway.id);\n }\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return NodeKlass.Relay;\n }\n return NodeKlass.Gateway;\n }\n\n public commandTypeId(c3Command: C3Command): string {\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return '' + c3Command.relayAgentId;\n }\n if (c3Command.interfaceId && c3Command.interfaceId !== undefined) {\n return '' + c3Command.interfaceId;\n }\n if (this.gateway) {\n return '' + this.gateway.id;\n }\n return 'error';\n }\n\n public isCommandPending(\n c3Command: C3Command,\n returnClass: boolean = false\n ): string {\n if (returnClass) {\n if (c3Command.isPending === true) {\n return 'Pending';\n }\n return 'Complete';\n }\n if (c3Command.isPending === true) {\n return 'is-complete';\n }\n return 'not-complete';\n }\n\n public handleGlobalKeyDown(e: any): void {\n if (e.keyCode === 27) {\n this.closeAllModal();\n }\n }\n\n public unixTimeToString(unixTimestamp: number) {\n const time = new Date(unixTimestamp * 1000);\n let timeStr = time.toISOString();\n timeStr = timeStr.replace(/-/g, '/');\n timeStr = timeStr.replace('T', ' ');\n timeStr = timeStr.replace('.000Z', '');\n return timeStr;\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.relay !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{ 'has-error': !!_vm.relay.error }},[_c('h1',[_vm._v(\" Relay: \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.relay.name)+\" / \"+_vm._s(_vm.relay.id))])]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Parent \"),_c('span',{staticClass:\"c3link\",on:{\"click\":function($event){return _vm.openModal(_vm.relay.parentId, _vm.relay.parentKlass)}}},[_c('span',{staticClass:\"capitalize\"},[_vm._v(_vm._s(_vm.relay.parentKlass.toLowerCase())+\" / \")]),_vm._v(\" \"+_vm._s(_vm.relay.parentId)+\" \")])]),_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.relay.buildId))])]),_c('p',[_vm._v(\" Last seen \"),_c('span',[_vm._v(_vm._s(_vm.unixTimeToString(_vm.relay.timestamp)))])])]),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.relay.id, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])]),_c('div',{staticClass:\"flex-row host-info\"},[_c('div',{staticClass:\"details\"},[_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"Computer Name \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.computerName))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"User Name \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.userName))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"Domain \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.domain === '' ? '-' : _vm.relay.hostInfo.domain))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"processId \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.processId))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"is Elevated \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.isElevated))])])]),_c('div',{staticClass:\"details\"},[_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Major Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osMajorVersion))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Minor Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osMinorVersion))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Build Number \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osBuildNumber))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Service Pack Major \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osServicePackMajor))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Service Pack Minor \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osServicePackMinor))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Product Type \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osProductType))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osVersion))])])])]),(_vm.relay.error && _vm.relay.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.relay.error)+\" \")]):_vm._e()]),_c('div',{staticClass:\"c3modal-details\"},[_c('ChannelList',{attrs:{\"target-id\":_vm.targetId,\"title\":\"Channels\",\"show-empty\":true}}),_c('PheripheralList',{attrs:{\"target-id\":_vm.targetId,\"title\":\"Peripherals\",\"show-empty\":true}}),_c('RouteList',{attrs:{\"target-id\":_vm.targetId,\"parent-id\":_vm.relay.id,\"parent-klass\":\"RELAY\",\"title\":\"Routes\",\"show-empty\":true}}),(JSON.stringify(_vm.relay.initialCommand) !== '{}')?[_c('h1',[_vm._v(\"Command\")]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(JSON.stringify(_vm.relay.initialCommand, null, 4)))])]:_vm._e()],2)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return ((_vm.routes && _vm.routes.length) || _vm.displayEmpty)?_c('div',{staticClass:\"c3route-list\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.routes.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.routes),function(route){return _c('tr',{key:route.destinationAgent},[_c('td',[_vm._v(_vm._s(route.destinationAgent)+\":\"+_vm._s(route.receivingInterface))]),_c('td',[_vm._v(_vm._s(route.destinationAgent))]),_c('td',[_vm._v(_vm._s(route.outgoingInterface))]),_c('td',[_vm._v(_vm._s(route.receivingInterface))]),_c('td',[_vm._v(_vm._s(route.isNeighbour ? 'Yes' : ''))]),_c('td',{staticStyle:{\"position\":\"relative\"}},[_c('span',{staticClass:\"c3route-list-more-btn icon more\"}),_c('ul',{staticClass:\"c3route-list-menu\"},[_c('li',{staticClass:\"c3route-list-menu-item\",on:{\"click\":function($event){return _vm.sendCommand(\n route.destinationAgent + ':' + route.receivingInterface\n )}}},[_vm._v(\" Delete \")])])])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No routes found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Route ID\")]),_c('th',[_vm._v(\"Destination Agent\")]),_c('th',[_vm._v(\"Outgoing Interface\")]),_c('th',[_vm._v(\"Receiving Interface\")]),_c('th',[_vm._v(\"Is Neighbour\")]),_c('th')])])}]\n\nexport { render, staticRenderFns }","import { Prop, Component } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n/**\n * Shared Class for *List components\n *\n * @export\n * @class Partial\n * @extends {Vue}\n */\n\n@Component\nexport default class Partial extends Vue {\n @Prop() public title!: string;\n @Prop() public showEmpty!: boolean;\n\n get hasTitle() {\n return !!this.title && this.title !== '';\n }\n\n get displayEmpty() {\n return !!this.showEmpty && this.showEmpty === true;\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\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { State, Getter, Action, Mutation, namespace } from 'vuex-class';\n\nimport { Func } from '@/types/Func';\nimport { FetchC3DataFn } from './store/C3Module';\nimport { FetchC3CommandFn } from './store/C3Command';\nimport { gateway } from '../tests/unit/store/mockdata';\nimport { SetActualPageFn } from '@/store/PaginateModule';\nimport { GatewayHeader, C3Node, nullNode, NodeKlass } from '@/types/c3types';\n\nimport Modal from '@/components/Modal.vue';\nimport Canvas from '@/components/Canvas.vue';\nimport Footer from '@/components/Footer.vue';\nimport Navbar from '@/components/Navbar.vue';\nimport Controll from '@/components/Controll.vue';\nimport SideMenu from '@/components/SideMenu.vue';\nimport GatewayForm from '@/components/GatewayForm.vue';\nimport Notification from '@/components/Notification.vue';\nimport CreateGatewayModal from '@/components/modals/CreateGateway.vue';\n\nconst C3Module = namespace('c3Module');\nconst VisModule = namespace('visModule');\nconst PaginateModule = namespace('paginateModule');\nconst C3CommandModule = namespace('c3CommandModule');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Navbar,\n GatewayForm,\n Canvas,\n Controll,\n SideMenu,\n Footer,\n Modal,\n Notification,\n CreateGatewayModal\n }\n})\nexport default class App extends Vue {\n @PaginateModule.Mutation public setActualPage!: SetActualPageFn;\n\n @C3Module.Action public fetchGateways!: Func;\n @C3Module.Action public fetchGateway!: FetchC3DataFn;\n @C3Module.Action public fetchCapability!: FetchC3DataFn;\n\n @C3Module.Getter public getGateway!: C3Node;\n @C3Module.Getter public getGateways!: GatewayHeader[];\n\n @VisModule.Action public generateNodes!: Func;\n\n @VisModule.Getter public getGrapData!: object;\n @VisModule.Getter public getAutoUpdateEnabled!: boolean;\n\n @C3CommandModule.Action public fetchCommands!: FetchC3CommandFn;\n\n @C3OptionsModule.Getter public getRefreshInterval!: number;\n\n public setTime: any;\n\n get gateway() {\n if (this.getGateway === undefined) {\n return nullNode;\n }\n\n return this.getGateway;\n }\n\n get hasSelectedGateway() {\n return this.getGateways.length > 0;\n }\n\n get refreshRate() {\n return this.getRefreshInterval;\n }\n\n public mounted(): void {\n this.updateData();\n\n this.setTime = setInterval(this.updateData, this.refreshRate);\n }\n\n public destroy(): void {\n clearInterval(this.setTime);\n }\n\n @Watch('getRefreshInterval')\n public setNewRefreshRate(value: any, oldValue: any) {\n clearInterval(this.setTime);\n this.setTime = setInterval(this.updateData, this.refreshRate);\n }\n\n @Watch('getGrapData')\n public onGetGrapDataChange(value: any, oldValue: any) {\n if ((window as any).networkc3 !== undefined) {\n (window as any).networkc3.setData(this.getGrapData);\n }\n this.fetchCommands(this.gateway.id);\n this.fetchCapability({ gatewayId: this.gateway.id });\n }\n\n public updateData(): void {\n if (this.getAutoUpdateEnabled === true) {\n this.fetchGateways();\n if (this.gateway && this.gateway.klass !== NodeKlass.Undefined) {\n this.fetchGateway({ gatewayId: this.gateway.id });\n }\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RouteList.vue?vue&type=template&id=4f91561c&scoped=true&\"\nimport script from \"./RouteList.vue?vue&type=script&lang=ts&\"\nexport * from \"./RouteList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RouteList.vue?vue&type=style&index=0&id=4f91561c&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f91561c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.channels.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.channels.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.channels),function(channel){return _c('tr',{key:channel.id,on:{\"click\":function($event){return _vm.openModal(channel.uid, channel.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(channel.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(channel)))]),_c('td',[_vm._v(_vm._s(_vm.interfaceType(channel)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No channels found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Channel ID\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Channel Type\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChannelList.vue?vue&type=template&id=f4969ade&scoped=true&\"\nimport script from \"./ChannelList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChannelList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChannelList.vue?vue&type=style&index=0&id=f4969ade&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f4969ade\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.peripherals.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.peripherals.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.peripherals),function(peripheral){return _c('tr',{key:peripheral.id,on:{\"click\":function($event){return _vm.openModal(peripheral.uid, peripheral.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(peripheral.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(peripheral)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No peripherals found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Peripheral ID\")]),_c('th',[_vm._v(\"Name\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PeripheralList.vue?vue&type=template&id=0686e7da&scoped=true&\"\nimport script from \"./PeripheralList.vue?vue&type=script&lang=ts&\"\nexport * from \"./PeripheralList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PeripheralList.vue?vue&type=style&index=0&id=0686e7da&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0686e7da\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Relay.vue?vue&type=template&id=98affa18&\"\nimport script from \"./Relay.vue?vue&type=script&lang=ts&\"\nexport * from \"./Relay.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Relay.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Command !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',[_vm._v(\" Command Details \")]),_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',[_c('tr',{on:{\"click\":function($event){_vm.openModal(_vm.InterfaceUID(_vm.c3Command), _vm.commandType(_vm.c3Command))}}},[_c('td',[_c('span',{staticClass:\"c3tab-pending\",class:_vm.isCommandPending(_vm.c3Command)}),_vm._v(\" \"+_vm._s(_vm.c3Command.id)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.isCommandPending(_vm.c3Command, true))+\" \")]),_c('td',{staticClass:\"hover-link command-for\"},[_vm._v(\" \"+_vm._s(_vm.commandType(_vm.c3Command).toLowerCase())+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.commandTypeId(_vm.c3Command))+\" \")])])])]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(JSON.stringify(_vm.c3Command, null, 4)))])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Command ID\")]),_c('th',[_vm._v(\"Status\")]),_c('th',[_vm._v(\"Command for\")]),_c('th',[_vm._v(\"ID\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Command.vue?vue&type=template&id=3748fed6&scoped=true&\"\nimport script from \"./Command.vue?vue&type=script&lang=ts&\"\nexport * from \"./Command.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Command.vue?vue&type=style&index=0&id=3748fed6&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3748fed6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.gateway !== null)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{ 'has-error': !!_vm.gateway.error }},[_c('h1',[_vm._v(\" Gateway: \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.gateway.name)+\" / \"+_vm._s(_vm.gateway.id))])]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.gateway.buildId))])]),_c('p',[_vm._v(\" Start time \"),_c('span',[_vm._v(_vm._s(_vm.unixTimeToString(_vm.gateway.timestamp)))])])]),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_RELAY')}}},[_vm._v(\" New Relay \")])])]),(_vm.gateway.error && _vm.gateway.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.gateway.error)+\" \")]):_vm._e(),_c('div',{staticClass:\"flex-row\"},[_c('NetworkStats',{staticStyle:{\"width\":\"250px\"}}),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.gateway.id, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])],1)]),_c('div',{staticClass:\"c3modal-details\"},[_c('ChannelList',{attrs:{\"target-id\":null,\"title\":\"Channels\",\"show-empty\":true}}),_c('PheripheralList',{attrs:{\"target-id\":null,\"title\":\"Peripherals\",\"show-empty\":true}}),_c('ConnectorList',{attrs:{\"title\":\"Connectors\",\"show-empty\":true}}),_c('RouteList',{attrs:{\"target-id\":null,\"parent-id\":_vm.gateway.id,\"parent-klass\":\"GATEWAY\",\"title\":\"Routes\",\"show-empty\":true}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3Stats\"},[_c('p',[_c('span',[_vm._v(\"Relays\")]),_c('span',[_vm._v(_vm._s(_vm.countRelays))])]),_c('p',[_c('span',[_vm._v(\"Channels\")]),_c('span',[_vm._v(_vm._s(_vm.countChannels))])]),_c('p',[_c('span',[_vm._v(\"Connectors\")]),_c('span',[_vm._v(_vm._s(_vm.countConnectors))])]),_c('p',[_c('span',[_vm._v(\"Peripherals\")]),_c('span',[_vm._v(_vm._s(_vm.countPheripherals))])]),_c('p',[_c('span',[_vm._v(\"URL\")]),_c('span',[_vm._v(_vm._s(_vm.url))])]),_c('p',[_c('span',[_vm._v(\"Port\")]),_c('span',[_vm._v(_vm._s(_vm.port))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NetworkStats.vue?vue&type=template&id=b5131632&scoped=true&\"\nimport script from \"./NetworkStats.vue?vue&type=script&lang=ts&\"\nexport * from \"./NetworkStats.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NetworkStats.vue?vue&type=style&index=0&id=b5131632&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b5131632\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.connectors.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.connectors.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.connectors),function(connector){return _c('tr',{key:connector.id,on:{\"click\":function($event){return _vm.openModal(connector.uid, connector.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(connector.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(connector)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No connectors found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Connector ID\")]),_c('th',[_vm._v(\"Name\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConnectorList.vue?vue&type=template&id=5ea1cc30&scoped=true&\"\nimport script from \"./ConnectorList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConnectorList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConnectorList.vue?vue&type=style&index=0&id=5ea1cc30&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ea1cc30\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[(_vm.isNotEmbeded)?_c('h1',[_vm._v(\" Create Command for: \"+_vm._s(_vm.currentItem.klass)+\" - \"+_vm._s(_vm.currentItem.name)+\" \"+_vm._s(_vm.interfaceTypeName(_vm.currentItem))+\"/ \"+_vm._s(_vm.currentItem.id)+\" \")]):_vm._e(),_c('div',{staticClass:\"c3command-group\"},[_c('Select',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],staticClass:\"form-element\",attrs:{\"legend\":\"Select Command Group\",\"selected\":_vm.selectedCommandGroup,\"options\":_vm.commandGroupOptions,\"border\":true},on:{\"change\":function($event){return _vm.changeCommandGroup($event, _vm.commandGroup)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Select Command\",\"selected\":_vm.selectedCommandTarget,\"options\":_vm.commandTargetOptions,\"border\":true},on:{\"change\":function($event){return _vm.changeCommandTarget($event, _vm.commandTarget)}}})],1),(_vm.selectedInterface !== undefined && _vm.selectedCommand !== undefined)?_c('GeneralForm',{key:_vm.selectedInterface + _vm.selectedCommand + _vm.selectedCommand,attrs:{\"klass\":_vm.selectedInterfaceKlass,\"interface-name\":_vm.selectedInterface,\"command\":_vm.selectedCommand,\"target-id\":_vm.targetId,\"target\":_vm.selectedInterface,\"options\":_vm.argumentOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}}):_vm._e(),(_vm.isNotEmbeded)?_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn\",attrs:{\"disabled\":_vm.formIsValid},on:{\"click\":function($event){return _vm.sendCommand()}}},[_vm._v(\" Send Command \")])]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3input-wrapper\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),(_vm.random)?_c('span',{staticClass:\"icon random\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onClickRandom.apply(null, arguments)}}}):_vm._e(),_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputText),expression:\"inputText\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validate),expression:\"validate\"}],ref:\"textinput\",staticClass:\"c3input-input\",class:{ dirty: _vm.isDirty },attrs:{\"type\":\"text\",\"disabled\":_vm.isDisabled,\"name\":_vm.inputUID,\"autocomplete\":_vm.autocomplete},domProps:{\"value\":(_vm.inputText)},on:{\"change\":_vm.changeInputText,\"focus\":function($event){return _vm.gainFocus()},\"blur\":function($event){return _vm.lostFocus()},\"input\":function($event){if($event.target.composing){ return; }_vm.inputText=$event.target.value}}},'input',_vm.$attrs,false)),_c('label',{staticClass:\"c3input-label\",class:{ dirty: _vm.isDirty },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.clickOnLabel()}}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]),_c('span',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.errors.first(_vm.inputUID)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Prop, Component } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n/**\n * Shared Class for CheckBox, Input, Textarea and Toggle\n *\n * @export\n * @class C3FormElement\n * @extends {Vue}\n */\n\n@Component\nexport default class C3FormElement extends Vue {\n @Prop() public help!: string;\n @Prop() public name!: string;\n @Prop() public legend!: string;\n @Prop() public disabled!: boolean;\n @Prop() public autocomplete!: string;\n\n get hasHelp() {\n return !!this.help;\n }\n\n get isDisabled() {\n return !!this.disabled;\n }\n\n get inputUID() {\n return !!this.name\n ? this.name\n : Math.random()\n .toString(36)\n .substring(2);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=0d08badc&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=ts&\"\nexport * from \"./Input.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Input.vue?vue&type=style&index=0&id=0d08badc&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d08badc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3select\",class:{ disabled: _vm.isDisabled }},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"c3select-close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}}),_c('div',{staticClass:\"c3select-select\"},[_c('span',{staticClass:\"c3select-selected\",class:{ 'c3select-border': _vm.hasBorder },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}},[_vm._v(\" \"+_vm._s(_vm.selectedValue)+\" \")]),(_vm.legend)?_c('span',{staticClass:\"c3select-legend\"},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]):_vm._e(),_c('span',{staticClass:\"c3select-icon icon\",class:_vm.dropDownIcon,on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}})]),_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"c3select-options\",class:{ 'c3select-direction-up': _vm.directionReverse },style:(_vm.selectUlStyle)},_vm._l((_vm.options),function(value,id){return _c('li',{key:id,staticClass:\"c3select-option\",class:{ selected: _vm.isSelected(id) },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.selectAndClose(id)}}},[_vm._v(\" \"+_vm._s(value)+\" \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Select.vue?vue&type=template&id=893eea00&scoped=true&\"\nimport script from \"./Select.vue?vue&type=script&lang=ts&\"\nexport * from \"./Select.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&id=893eea00&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"893eea00\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3form\"},[_vm._l((_vm.argumentsArray),function(field){return _c(_vm.getFieldType(field),_vm._b({key:field.id,tag:\"component\",attrs:{\"legend\":field.name,\"validate\":field.validation,\"name\":field.name,\"random\":field.randomize,\"value\":_vm.setDefaultValue(field.name, field.defaultValue),\"help\":field.description,\"autocomplete\":\"off\",\"border\":\"ture\",\"options\":field.options,\"selected\":field.selected,\"feedback\":field.feedback},on:{\"change\":function($event){return _vm.onChange($event, field.id)}}},'component',field,false))}),_vm._l((_vm.argumentObjects),function(field){return _c(_vm.getFieldType(field),_vm._b({key:field.id,tag:\"component\",attrs:{\"legend\":field.name,\"validate\":field.validation,\"random\":field.randomize,\"name\":field.name,\"value\":_vm.setDefaultValue(field.name, field.defaultValue),\"help\":field.description,\"autocomplete\":\"off\",\"border\":\"ture\",\"options\":field.options,\"selected\":field.selected,\"feedback\":field.feedback},on:{\"change\":function($event){return _vm.onChange($event, field.id)}}},'component',field,false))})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3checkbox-wrapper\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),_c('label',{staticClass:\"icon checkbox\",class:_vm.getIconKlass,attrs:{\"for\":_vm.inputUID}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.isChecked),expression:\"isChecked\"}],ref:\"booleanCheckbox\",attrs:{\"type\":\"checkbox\",\"value\":\"None\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"true-value\":\"true\",\"false-value\":\"false\",\"disabled\":_vm.disabled,\"autocomplete\":_vm.autocomplete},domProps:{\"checked\":Array.isArray(_vm.isChecked)?_vm._i(_vm.isChecked,\"None\")>-1:_vm._q(_vm.isChecked,\"true\")},on:{\"change\":[function($event){var $$a=_vm.isChecked,$$el=$event.target,$$c=$$el.checked?(\"true\"):(\"false\");if(Array.isArray($$a)){var $$v=\"None\",$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.isChecked=$$a.concat([$$v]))}else{$$i>-1&&(_vm.isChecked=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.isChecked=$$c}},_vm.toogleCheckBox]}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckBox.vue?vue&type=template&id=40202deb&scoped=true&\"\nimport script from \"./CheckBox.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckBox.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckBox.vue?vue&type=style&index=0&id=40202deb&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40202deb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3textarea\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),_c('div',{staticClass:\"textarea\",class:{ focus: _vm.focused }},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dataText),expression:\"dataText\"}],ref:\"textareainput\",staticClass:\"c3textarea-input\",class:{ focus: _vm.focused },attrs:{\"rows\":\"5\",\"cols\":\"33\",\"type\":\"checkbox\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"disabled\":_vm.disabled,\"autocomplete\":_vm.autocomplete},domProps:{\"value\":(_vm.dataText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.dataText=$event.target.value},_vm.updateTextarea],\"focus\":function($event){_vm.focused = true},\"blur\":function($event){return _vm.lostFocus()}}}),_c('label',{staticClass:\"c3textarea-label\",class:{ dirty: _vm.isDirty, focus: _vm.focused },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.clickOnLabel()}}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]),_vm._m(0)]),_c('input',{ref:\"fileinput\",staticStyle:{\"visibility\":\"hidden\"},attrs:{\"id\":\"payload-file\",\"type\":\"file\"},on:{\"change\":_vm.updateTextfield}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"c3textarea-upload-button\",attrs:{\"for\":\"payload-file\"}},[_c('span',{staticClass:\"icon upload\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" Select file to upload... \")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Textarea.vue?vue&type=template&id=0828628d&scoped=true&\"\nimport script from \"./Textarea.vue?vue&type=script&lang=ts&\"\nexport * from \"./Textarea.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Textarea.vue?vue&type=style&index=0&id=0828628d&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0828628d\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GeneralForm.vue?vue&type=template&id=2c5bf78c&\"\nimport script from \"./GeneralForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GeneralForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GeneralForm.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CommandCenter.vue?vue&type=template&id=2fa5dfc1&\"\nimport script from \"./CommandCenter.vue?vue&type=script&lang=ts&\"\nexport * from \"./CommandCenter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CommandCenter.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gateway.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gateway.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Gateway.vue?vue&type=template&id=0b4e8834&\"\nimport script from \"./Gateway.vue?vue&type=script&lang=ts&\"\nexport * from \"./Gateway.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Interface !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{\n 'is-return': !!_vm.c3Interface.isReturnChannel,\n 'has-error': !!_vm.c3Interface.error\n }},[_c('h1',[_c('span',{staticClass:\"capitalize\"},[_vm._v(_vm._s(_vm.c3Interface.klass.toLowerCase())+\" \")]),_vm._v(\" ID: \"+_vm._s(_vm.c3Interface.id || '')+\" \")]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Parent \"),_c('span',{staticClass:\"c3link capitalize\"},[_vm._v(\" \"+_vm._s(_vm.c3Interface.parentKlass.toLowerCase())+\" / \"+_vm._s(_vm.c3Interface.parentId)+\" \")])]),_c('p',{staticClass:\"capitalize\"},[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" Type \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.interfaceTypeName(_vm.c3Interface))+\" \")])]),_c('p',[_vm._v(\" Jitter [min/max] \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.getInterfaceJitter)+\" \")])])]),_c('div',{staticClass:\"actions\"},[(_vm.showRelayDropdown)?_c('span',{staticClass:\"c3modal-more-btn icon more\"},[_vm._v(\" INTERFACE OPTIONS \")]):_vm._e(),_c('ul',{staticClass:\"c3modal-menu\"},[_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showNewRelayButton),expression:\"showNewRelayButton\"}],staticClass:\"c3modal-menu-item\",on:{\"click\":function($event){_vm.openModal(_vm.c3Interface.id, 'CREATE_RELAY', _vm.generateOprions())}}},[_vm._v(\" New Relay \")]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showConnectRelayButton),expression:\"showConnectRelayButton\"}],staticClass:\"c3modal-menu-item\",on:{\"click\":function($event){_vm.openModal(_vm.c3Interface.uid, 'CONNECT_RELAY', _vm.generateOprions())}}},[_vm._v(\" Connect Relay \")])]),_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.c3Interface.uid, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])]),(!!_vm.c3Interface.error && _vm.c3Interface.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.c3Interface.error)+\" \")]):_vm._e(),(\n !!_vm.c3Interface.isReturnChannel &&\n _vm.c3Interface.isReturnChannel !== 'false'\n )?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon return\"}),_vm._v(\" This is a Gateway Return Channel (GRC). \")]):_vm._e(),(\n !!_vm.c3Interface.isNegotiationChannel &&\n _vm.c3Interface.isNegotiationChannel !== 'false'\n )?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon exclamation\"}),_vm._v(\" This is a Negotiation Channel. \")]):_vm._e()]),_c('div',{staticClass:\"c3modal-details\"},[(_vm.c3Interface.propertiesText !== '')?[_c('h1',[_vm._v(\"Properties\")]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(_vm.c3Interface.propertiesText))])]:_vm._e()],2)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Interface.vue?vue&type=template&id=33bc8b88&scoped=true&\"\nimport script from \"./Interface.vue?vue&type=script&lang=ts&\"\nexport * from \"./Interface.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Interface.vue?vue&type=style&index=0&id=33bc8b88&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"33bc8b88\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',[_vm._v(\"Relay Setup\")]),_c('p',[_vm._v(\"Please setup a Relay.\")]),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Name / Auto Generated ID\",\"help\":\"If you do not enter a name an ID will be automatically generated.\"},on:{\"change\":function($event){return _vm.changeName($event, _vm.relayName)}}}),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Parent Gateway Build ID\",\"value\":_vm.gatewayBuildsId,\"disabled\":true}}),_c('div',{staticClass:\"form-row\"},[_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"TargetSuffix\",\"selected\":_vm.selectedTargetSuffix,\"options\":{ dll: 'dll', exe: 'exe', shellcode: 'shellcode' },\"border\":true},on:{\"change\":function($event){return _vm.changeTargetSuffix($event, _vm.targetSuffix)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Architecture\",\"selected\":_vm.selectedArchitecture,\"options\":{ x86: 'x86', x64: 'x64' },\"border\":true},on:{\"change\":function($event){return _vm.changeArchitecture($event, _vm.architecture)}}})],1),_c('div',{staticClass:\"c3modal-form\"},[(_vm.donutSelected)?_c('DonutForm',{on:{\"change\":function($event){return _vm.changeDonutForm($event, _vm.formData)}}}):_vm._e()],1),_c('div',{staticClass:\"c3modal-form\"},[_c('h1',[_vm._v(\"Add Command\")]),_c('p',[_vm._v(\"Please Select the first command to the Relay.\")]),_c('CommandCenterModal',{staticClass:\"embeded-modal\",attrs:{\"target-id\":'new',\"embeded\":true,\"options\":_vm.addNewRelayToOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn\",attrs:{\"disabled\":_vm.formIsValid},on:{\"click\":function($event){return _vm.createNewRelay()}}},[_vm._v(\" Create and Download Relay \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"donut-form\"},[_c('h1',[_vm._v(\"Add Command\")]),_c('Select',{staticClass:\"form-element line\",attrs:{\"legend\":\"Format\",\"selected\":_vm.selectedFormat,\"options\":{\n Binary: 'Binary',\n Base64: 'Base64',\n Ruby: 'Ruby',\n C: 'C',\n Python: 'Python',\n Powershell: 'Powershell',\n Csharp: 'Csharp',\n HeX: 'HeX'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeFormat($event, _vm.format)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Compress\",\"selected\":_vm.selectedCompress,\"options\":{\n None: 'None',\n\tAplib: 'aPLib',\n Lznt1: 'Lznt1',\n Xpress: 'Xpress',\n Xpress_huff: 'Xpress_huff'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeCompress($event, _vm.compress)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Entropy\",\"selected\":_vm.selectedEntropy,\"options\":{\n None: 'None',\n Random: 'Random',\n Default: 'Default'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeEntropy($event, _vm.entropy)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"ExitOpt\",\"selected\":_vm.selectedExitOpt,\"options\":{\n Exit_thread: 'Exit_thread',\n Exit_process: 'Exit_process'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeExitOpt($event, _vm.exitOpt)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Bypass\",\"selected\":_vm.selectedBypass,\"options\":{\n None: 'None',\n Abort: 'Abort',\n Continue: 'Continue'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeBypass($event, _vm.bypass)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DonutForm.vue?vue&type=template&id=2a2638f3&scoped=true&\"\nimport script from \"./DonutForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./DonutForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DonutForm.vue?vue&type=style&index=0&id=2a2638f3&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2a2638f3\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateRelay.vue?vue&type=template&id=44a75612&\"\nimport script from \"./CreateRelay.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateRelay.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CreateRelay.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('div',{staticClass:\"c3modal-title-wrapper\"},[_c('h1',[_vm._v(\"Gateway Setup\")]),_c('span',{staticClass:\"c3modal-config-link\",on:{\"click\":function($event){return _vm.openModal('', 'OPTIONS')}}},[_vm._v(\"EDIT CONFIG\")])]),_c('p',[_vm._v(\"Please setup a Gateway to begin using c3.\")]),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Name / Auto Generated ID\",\"help\":\"If you do not enter a name an ID will be automatically generated.\"},on:{\"change\":function($event){return _vm.changeName($event, _vm.gatewayName)}}}),_c('div',{staticClass:\"form-row\"},[_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"TargetSuffix\",\"selected\":_vm.selectedTargetSuffix,\"options\":{ exe: 'exe' },\"border\":true},on:{\"change\":function($event){return _vm.changeTargetSuffix($event, _vm.targetSuffix)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Architecture\",\"selected\":_vm.selectedArchitecture,\"options\":{ x86: 'x86', x64: 'x64' },\"border\":true},on:{\"change\":function($event){return _vm.changeArchitecture($event, _vm.architecture)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasSelectedGateway !== false),expression:\"hasSelectedGateway !== false\"}],staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn pull-right\",on:{\"click\":function($event){return _vm.createNewGateway()}}},[_vm._v(\" Create and download Gateway \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateGateway.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateGateway.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateGateway.vue?vue&type=template&id=ca40afe0&\"\nimport script from \"./CreateGateway.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateGateway.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\"},[_c('h1',[_vm._v(\"Source Relay & Interface\")]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Relay \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.relay.name)+\" / \"+_vm._s(_vm.relay.id))])]),_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.relay.buildId))])]),_c('p',[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" ID \"),_c('span',[_vm._v(_vm._s(_vm.c3Interface.id || ''))])]),_c('p',[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" Type \"),_c('span',[_vm._v(_vm._s(_vm.interfaceTypeName(_vm.c3Interface)))])])])])]),_c('div',{staticClass:\"c3modal-details\"},[_c('div',{staticStyle:{\"padding-bottom\":\"24px\"}},[_c('h1',[_vm._v(\"Select target Relay\")]),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Target Relay\",\"selected\":_vm.selectedRelay,\"options\":_vm.generateRelayList(),\"border\":true},on:{\"change\":function($event){return _vm.changeTargetRelay($event, _vm.targetRelay)}}})],1),_c('div',{staticClass:\"c3modal-form\"},[_c('CommandCenterModal',{staticClass:\"embeded-modal\",attrs:{\"target-id\":_vm.selectedRelay,\"embeded\":false,\"options\":_vm.addNewRelayGroupToOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConnectRelays.vue?vue&type=template&id=108a0d73&\"\nimport script from \"./ConnectRelays.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConnectRelays.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConnectRelays.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',{staticClass:\"c3network-title\"},[_vm._v(\" Network Configuration \")]),_c('div',{staticClass:\"form-row \"},[_c('Input',{key:'c3-url-field',staticClass:\"form-element\",attrs:{\"legend\":\"Url\",\"value\":_vm.c3Url,\"disabled\":false,\"validate\":\"required\",\"name\":\"Url\"},on:{\"change\":function($event){return _vm.setUrl($event, _vm.c3Url)}}})],1),_c('div',{staticClass:\"form-row\"},[_c('Input',{key:'c3-port-field',staticClass:\"form-element\",attrs:{\"legend\":\"Port\",\"value\":_vm.c3Port,\"disabled\":false,\"validate\":\"required|numeric|max_value:65535\",\"name\":\"Port\"},on:{\"change\":function($event){return _vm.setPort($event, _vm.c3Port)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn pull-right\",attrs:{\"disabled\":!_vm.isFormValid},on:{\"click\":function($event){return _vm.saveNetworkConfig()}}},[_vm._v(\" Save Config \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Options.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Options.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Options.vue?vue&type=template&id=55403ba2&\"\nimport script from \"./Options.vue?vue&type=script&lang=ts&\"\nexport * from \"./Options.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=51404812&\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts&\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3canvas\",class:{ 'c3canvas-fs': _vm.isFullscreen }},[_c('div',{ref:\"c3canvas\",attrs:{\"id\":\"c3canvas\"}}),_c('span',{staticClass:\"c3canvas-fs-btn icon\",class:_vm.fullscreenIcon,on:{\"click\":function($event){_vm.isFullscreen = !_vm.isFullscreen}}}),_c('span',{staticClass:\"c3canvas-more-btn icon more\"}),_c('ul',{staticClass:\"c3canvas-menu\"},[_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-tree-view-button\",attrs:{\"legend\":\"Tree View\",\"checked\":_vm.getTreeView,\"disabled\":false},on:{\"change\":_vm.toggleTreeView}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-interfaces-button\",attrs:{\"legend\":\"Interfaces\",\"checked\":_vm.getInterfaces,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleInterfaces($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-labels-button\",attrs:{\"legend\":\"Labels\",\"checked\":_vm.getShowLabels,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleLabels($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-physics-button\",attrs:{\"legend\":\"Physics\",\"checked\":_vm.getPhysics,\"disabled\":false},on:{\"change\":function($event){return _vm.togglePhysics($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-smooth-edges\",attrs:{\"legend\":\"Smooth Edges\",\"checked\":_vm.getSmoothEdges,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleSmoothEdges($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":_vm.reloadGraph}},[_vm._v(\"Reload Graph\")]),_c('li',{staticClass:\"c3canvas-menu-divider\"}),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_GATEWAY')}}},[_vm._v(\" New Gateway \")]),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_RELAY')}}},[_vm._v(\" New Relay \")])]),_vm._m(0)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress-bar\"},[_c('div',{staticClass:\"progress-bar-status\",attrs:{\"id\":\"progress-bar-status\"}})])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3checkbox-wrapper\"},[_c('div',{staticClass:\"c3checkbox-row\",on:{\"click\":_vm.clickOnLabel}},[_vm._v(\" \"+_vm._s(_vm.legend)+\"   \"),(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(_vm._s(_vm.help))])]):_vm._e()]),_c('div',{staticClass:\"c3toggle\",class:{ disabled: _vm.isDisabled }},[_c('input',_vm._b({ref:\"booleanCheckbox\",staticClass:\"c3toggle-input\",attrs:{\"type\":\"checkbox\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"disabled\":_vm.disabled},domProps:{\"checked\":_vm.getIsChecked},on:{\"change\":_vm.toogleToggle}},'input',_vm.$attrs,false)),_c('label',{staticClass:\"c3toggle-label\",on:{\"click\":_vm.clickOnLabel}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=edfe580a&scoped=true&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Toggle.vue?vue&type=style&index=0&id=edfe580a&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"edfe580a\",\n null\n \n)\n\nexport default component.exports","import { namespace } from 'vuex-class';\nimport { Vue, Component } from 'vue-property-decorator';\nimport { NodeKlass, C3Node, C3Edge, nullNode } from '@/types/c3types';\n\nconst C3Module = namespace('c3Module');\n\n/**\n * Path finding Class for Highlight the path on the graph from the selected node\n * to the gateway\n *\n * @export\n * @class Path\n * @extends {Vue}\n */\n@Component\nexport default class FindThePathToGateway extends Vue {\n @C3Module.Getter public getNodes!: C3Node[];\n @C3Module.Getter public getEdges!: C3Edge[];\n\n private startNode: C3Node = nullNode;\n private paths: string[] = [];\n private nextNode!: C3Node;\n\n get targetNode() {\n return (\n this.getNodes.find(node => {\n return node.klass === NodeKlass.Gateway;\n }) || nullNode\n );\n }\n\n public findPath(nodeId: string) {\n this.setStartNode(nodeId);\n\n this.paths = [];\n\n this.paths.push(this.startNode!.uid);\n\n let iterations = 0;\n\n if (this.hasPathEndpoints()) {\n return [];\n }\n\n while (!!this.startNode && this.startNode.uid !== this.targetNode.uid) {\n // set the next node equal to the current node\n this.nextNode = this.startNode;\n\n // set the next node if the start node is channel\n this.handleNodeChannel();\n\n // set the next node if the start node is connector or pheripheral\n this.handleConnectorAndPeripheral();\n\n // set the next node if the start node is relay\n this.handleRelay();\n\n // set start node to the next node towards the gateway\n this.setStartNode(this.nextNode.uid);\n\n // If something goes wrong, don't let the browser to stuck in an infinite loop.\n iterations++;\n\n // check we found the gateway or accidentaly stuck inside an infinite loop.\n this.checkEndLoop(iterations);\n }\n\n return this.paths;\n }\n\n // find the start node by Id and set it to the startNode\n private setStartNode(nodeId: string): void {\n this.startNode =\n this.getNodes.find(node => {\n return node.uid === nodeId;\n }) || nullNode;\n }\n\n // check booth start end target node has a valid NodeKlass\n private hasPathEndpoints(): boolean {\n return (\n this.startNode.klass === NodeKlass.Undefined ||\n this.targetNode.klass === NodeKlass.Undefined\n );\n }\n\n private handleNodeChannel() {\n return this.isChannel(this.startNode) && this.setNextNodeForChannel();\n }\n\n private handleConnectorAndPeripheral() {\n return (\n this.isStartNodeConnectorOrPeripheral() && this.setNextAndParentNode()\n );\n }\n\n private handleRelay() {\n return this.isStartNodeRelay() && this.setNextNodeForRelay();\n }\n\n // don't let the loop run more than 100 times (possible infinite loop)\n private checkEndLoop(iterations: number) {\n if (iterations > 100) {\n this.paths = [];\n this.setStartNode(this.targetNode.uid);\n }\n }\n\n // get the parent node for the startNode\n private getParentNode(): C3Node {\n return (\n this.getNodes.find(node => {\n return node.uid === this.startNode!.parentId;\n }) || nullNode\n );\n }\n\n private isStartNodeConnectorOrPeripheral(): boolean {\n return (\n this.startNode.klass === NodeKlass.Peripheral ||\n this.startNode.klass === NodeKlass.Connector\n );\n }\n\n private isChannel(node: C3Node): boolean {\n return node.klass === NodeKlass.Channel;\n }\n\n private isStartNodeRelay(): boolean {\n return this.startNode.klass === NodeKlass.Relay;\n }\n\n private isReturnChannel(node: C3Node): boolean {\n return node.isReturnChannel === true;\n }\n\n // find all the neighbours for the channel by the edges\n private getChannelNeighbours(): C3Edge[] {\n return this.getEdges.filter(edge => {\n return (\n edge.to === this.startNode!.uid || edge.from === this.startNode!.uid\n );\n });\n }\n\n // find all the neighbours for the relay by the edges\n private getRelayNeighbours(): C3Edge[] {\n return this.getEdges.filter(edge => {\n return edge.from === this.startNode!.uid;\n });\n }\n\n // look for possible neighbour on the edges by the uid\n // target: Enum ['from', 'to']\n private getPossibeNext(neighbour: C3Edge, target: string): C3Node {\n return (\n this.getNodes.find(node => {\n return node.uid === neighbour[target];\n }) || nullNode\n );\n }\n\n private insertParentNodeToPaths() {\n return (\n this.getParentNode().klass !== NodeKlass.Undefined &&\n this.paths.push(this.nextNode!.uid)\n );\n }\n\n private setNextAndParentNode(): void {\n // The parent is the way to find the gateway\n this.nextNode = this.getParentNode();\n this.insertParentNodeToPaths();\n }\n\n private setAndInsertNextNode(node: C3Node): void {\n // We found the way to the gateway\n this.nextNode = node;\n this.paths.push(node.uid);\n }\n\n // for not return channel the parent is the next node is the next step towards the gateway\n private setNextNodeForChannel(): void {\n if (this.isReturnChannel(this.startNode)) {\n this.setNextNodeForReturnChannel();\n } else {\n this.setNextAndParentNode();\n }\n }\n\n private setNextNodeForReturnChannel(): void {\n // The parent is in the oposite direction as for the normal channel\n // and we using the edge to get the path\n this.getChannelNeighbours().forEach(neighbour => {\n const possibleNext = this.getPossibeNext(neighbour, 'from');\n if (this.isChannel(possibleNext)) {\n this.setAndInsertNextNode(possibleNext);\n }\n });\n }\n\n // for relay we use the edge to found the way to the gateway\n private setNextNodeForRelay(): void {\n this.getRelayNeighbours().forEach(neighbour => {\n const possibleNext = this.getPossibeNext(neighbour, 'to');\n if (this.isReturnChannel(possibleNext)) {\n this.setAndInsertNextNode(possibleNext);\n }\n });\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Canvas.vue?vue&type=template&id=7b1bbc3f&\"\nimport script from \"./Canvas.vue?vue&type=script&lang=ts&\"\nexport * from \"./Canvas.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Canvas.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3footer\"},[_vm._v(\"C3 dashboard - Labs\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=62086585&scoped=true&\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts&\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=62086585&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62086585\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3navbar\"},[_c('img',{staticClass:\"c3navbar-logo\",attrs:{\"alt\":\"C3 logo\",\"src\":require(\"@/assets/logo.svg\")}}),_c('div',{staticClass:\"c3navbar-left\"},[_c('span',{staticClass:\"c3navbar-left--title\"},[_vm._v(\"C3\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Navbar.vue?vue&type=template&id=5295cdf8&scoped=true&\"\nimport script from \"./Navbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./Navbar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Navbar.vue?vue&type=style&index=0&id=5295cdf8&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5295cdf8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hasSelectedGateway)?_c('div',{staticClass:\"c3controll\"},[_c('span',{staticClass:\"c3controll-help icon exclamation\"}),_c('ul',{staticClass:\"c3controll-tabs\"},[_c('li',{class:{ active: _vm.activeIsRelay },on:{\"click\":function($event){return _vm.setActiveTab('relay')}}},[_vm._v(\" Relays \")]),_c('li',{class:{ active: _vm.activeIsInterface },on:{\"click\":function($event){return _vm.setActiveTab('interface')}}},[_vm._v(\" Interfaces \")]),_c('li',{class:{ active: _vm.activeIsCommands },on:{\"click\":function($event){return _vm.setActiveTab('command')}}},[_vm._v(\" Commands \")])]),(_vm.activeIsRelay)?_c('RelaysTab'):_vm._e(),(_vm.activeIsInterface)?_c('InterfacesTab'):_vm._e(),(_vm.activeIsCommands)?_c('CommandsTab'):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('RelayList',{attrs:{\"show-empty\":true},on:{\"count\":function($event){return _vm.setCount($event)}}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.relays.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.relays.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.relays),function(relay,index){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(index >= _vm.minIndex && index < _vm.maxIndex),expression:\"index >= minIndex && index < maxIndex\"}],key:relay.id,on:{\"click\":function($event){return _vm.openModal(relay.uid, relay.klass)}}},[_c('td',{staticClass:\"c3link\"},[_c('span',{staticClass:\"c3tab-info-dot not-active\",class:{\n 'is-active': !!relay.isActive,\n 'has-error': !!relay.error\n }}),_vm._v(\" \"+_vm._s(relay.id)+\" \")]),_c('td',[_vm._v(_vm._s(relay.name))]),_c('td',[_vm._v(_vm._s(relay.buildId))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No relays found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Relay ID\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Build ID\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RelayList.vue?vue&type=template&id=579275ba&scoped=true&\"\nimport script from \"./RelayList.vue?vue&type=script&lang=ts&\"\nexport * from \"./RelayList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RelayList.vue?vue&type=style&index=0&id=579275ba&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"579275ba\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tabfooter\"},[_c('div',{staticClass:\"c3tabfooter-info\"},[_vm._v(\"Result: \"+_vm._s(_vm.results))]),_c('div',{staticClass:\"c3tabfooter-action\"},[_vm._v(\" Items per page: \"),_c('Select',{staticStyle:{\"max-width\":\"60px\",\"margin-bottom\":\"0\"},attrs:{\"selected\":_vm.perPage,\"options\":{\n '5': '5',\n '10': '10',\n '25': '25',\n '50': '50',\n '100': '100',\n '1000': 'All'\n },\"border\":false,\"up\":true},on:{\"change\":function($event){return _vm.changePerPage($event, _vm.page)}}})],1),_c('div',{staticClass:\"c3tabfooter-paginator\"},[_c('span',{staticClass:\"c3tabfooter-controll\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.prevPage.apply(null, arguments)}}},[_vm._v(\" <   \")]),_vm._v(\" Page: \"+_vm._s(_vm.actualPage)+\" of \"+_vm._s(_vm.maxPage)+\" \"),_c('span',{staticClass:\"c3tabfooter-controll\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.nextPage.apply(null, arguments)}}},[_vm._v(\"   > \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataTableFooter.vue?vue&type=template&id=2eac248e&scoped=true&\"\nimport script from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataTableFooter.vue?vue&type=style&index=0&id=2eac248e&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2eac248e\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relays.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relays.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Relays.vue?vue&type=template&id=6fe08944&\"\nimport script from \"./Relays.vue?vue&type=script&lang=ts&\"\nexport * from \"./Relays.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('CommandList',{attrs:{\"show-empty\":true,\"status-filter\":_vm.selectedCommandStatus,\"command-for-filter\":_vm.selectedCommandFor}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.commands.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3CommandList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.commands.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.commands),function(c3Command){return _c('tr',{key:c3Command.id,on:{\"click\":function($event){return _vm.openModal(c3Command.id, 'COMMAND')}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(\" \"+_vm._s(c3Command.id)+\" \")]),_c('td',{staticClass:\"command-for\"},[_vm._v(\" \"+_vm._s(_vm.commandType(c3Command).toLowerCase())+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.commandTypeId(c3Command))+\" \")])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No commands found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Command ID\")]),_c('th',[_vm._v(\"Command for\")]),_c('th',[_vm._v(\"ID\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CommandList.vue?vue&type=template&id=39bf6527&scoped=true&\"\nimport script from \"./CommandList.vue?vue&type=script&lang=ts&\"\nexport * from \"./CommandList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CommandList.vue?vue&type=style&index=0&id=39bf6527&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39bf6527\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Commands.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Commands.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Commands.vue?vue&type=template&id=20c40642&\"\nimport script from \"./Commands.vue?vue&type=script&lang=ts&\"\nexport * from \"./Commands.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('div',{staticClass:\"c3tab-filters\"},[_c('Select',{key:\"type-filter\",attrs:{\"legend\":\"Filter by type\",\"selected\":_vm.selectedInterfaceType,\"options\":{\n ALL: 'All',\n CHANNEL: 'Channel',\n PERIPHERAL: 'Peripheral',\n CONNECTOR: 'Connector'\n },\"border\":true,\"up\":false},on:{\"change\":function($event){return _vm.selectInterfaceType($event, _vm.interfaceType)}}}),_c('Select',{key:\"return-channel-filter\",attrs:{\"legend\":\"Filter by Return Channel\",\"selected\":_vm.selectedReturnChannel,\"options\":{ ALL: 'All', YES: 'Yes', NO: 'No' },\"border\":true,\"up\":false,\"disabled\":_vm.isChannelOrAllForDisabled},on:{\"change\":function($event){return _vm.selectReturnChannel($event, _vm.returnChannel)}}}),_c('Select',{key:\"negotiation-channel-filter\",attrs:{\"legend\":\"Filter by Negotiation Channel\",\"selected\":_vm.selectedNegotiationChannel,\"options\":{ ALL: 'All', YES: 'Yes', NO: 'No' },\"border\":true,\"up\":false,\"disabled\":_vm.isChannelOrAllForDisabled},on:{\"change\":function($event){return _vm.selectNegotiationChannel($event, _vm.negotiationChannel)}}})],1),_c('InterfaceList',{attrs:{\"show-empty\":true,\"return-channel-filter\":_vm.selectedReturnChannel,\"negotiation-channel-filter\":_vm.selectedNegotiationChannel,\"interface-type-filter\":_vm.selectedInterfaceType},on:{\"count\":function($event){return _vm.setCount($event)}}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Interfaces.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3CommandList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.c3Interfaces.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.c3Interfaces),function(c3Interface,index){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(index >= _vm.minIndex && index < _vm.maxIndex),expression:\"index >= minIndex && index < maxIndex\"}],key:c3Interface.uid,on:{\"click\":function($event){return _vm.openModal(c3Interface.uid, c3Interface.klass)}}},[_c('td',{staticClass:\"c3link\"},[_c('span',{staticClass:\"c3tab-info-dot\",class:{\n 'is-return': !!c3Interface.isReturnChannel,\n 'has-error': !!c3Interface.error\n }}),_vm._v(\" \"+_vm._s(c3Interface.id)+\" \")]),_c('td',{staticClass:\"capitalize\"},[_vm._v(_vm._s(c3Interface.klass.toLowerCase()))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(c3Interface)))]),_c('td',[_vm._v(_vm._s(_vm.interfaceType(c3Interface)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No interfaces found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Interface ID\")]),_c('th',[_vm._v(\"Type\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Channel Type\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InterfaceList.vue?vue&type=template&id=5873b325&scoped=true&\"\nimport script from \"./InterfaceList.vue?vue&type=script&lang=ts&\"\nexport * from \"./InterfaceList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InterfaceList.vue?vue&type=style&index=0&id=5873b325&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5873b325\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interfaces.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interfaces.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Interfaces.vue?vue&type=template&id=eda49f72&\"\nimport script from \"./Interfaces.vue?vue&type=script&lang=ts&\"\nexport * from \"./Interfaces.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Controll.vue?vue&type=template&id=31097cf9&\"\nimport script from \"./Controll.vue?vue&type=script&lang=ts&\"\nexport * from \"./Controll.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Controll.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3side\"},[_c('div',{staticClass:\"c3side-title-wrapper\"},[_c('h1',{staticClass:\"c3side-title\"},[_vm._v(\"Network\")]),_c('span',{staticClass:\"c3side-config-link\",on:{\"click\":function($event){return _vm.openModal('', 'OPTIONS')}}},[_vm._v(\"EDIT CONFIG\")])]),_c('div',{staticClass:\"c3side-body\"},[_c('NetworkStats'),_c('div',{staticClass:\"c3side-refresh-wrapper\"},[_c('span',{staticClass:\"c3side-refres-title\"},[_vm._v(\" Refresh Rate \")]),_c('Select',{staticClass:\"c3site-refresh-dropdown\",staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"selected\":_vm.selectedRefreshRate,\"options\":_vm.refreshRates(),\"border\":false},on:{\"change\":function($event){return _vm.setRefreshRate($event, _vm.refreshRate)}}})],1),_c('Toggle',{key:\"toggle-auto-update-button\",attrs:{\"legend\":\"Auto Update\",\"name\":\"autoUpdate\",\"checked\":_vm.getAutoUpdateEnabled,\"help\":\"Auto Update checks for network changes automatically,\\n this may result in live updated to the graph and data tables when enabled\",\"disabled\":false},on:{\"change\":function($event){return _vm.toggleAutoUpdate($event)}}}),_c('div',{staticClass:\"c3btn-group\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_GATEWAY')}}},[_vm._v(\" New Gateway \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SideMenu.vue?vue&type=template&id=6cd95e5d&scoped=true&\"\nimport script from \"./SideMenu.vue?vue&type=script&lang=ts&\"\nexport * from \"./SideMenu.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SideMenu.vue?vue&type=style&index=0&id=6cd95e5d&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cd95e5d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway\"},[_vm._m(0),_c('SelectGatewayForm')],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway-row\"},[_c('span',{staticClass:\"c3gateway-title\"},[_vm._v(\" Gateway Selection \")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway-row\"},[_c('Select',{attrs:{\"legend\":\"Gateways\",\"selected\":_vm.selectedGateway,\"options\":_vm.gateways,\"border\":true,\"up\":false},on:{\"change\":function($event){return _vm.selectGateway($event, _vm.activeGateway)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectGatewayForm.vue?vue&type=template&id=49ef2de9&scoped=true&\"\nimport script from \"./SelectGatewayForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectGatewayForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SelectGatewayForm.vue?vue&type=style&index=0&id=49ef2de9&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49ef2de9\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GatewayForm.vue?vue&type=template&id=0c9ae31e&\"\nimport script from \"./GatewayForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GatewayForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GatewayForm.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition-group',{staticClass:\"c3notify\",attrs:{\"name\":\"slide\",\"tag\":\"ul\"}},_vm._l((_vm.notifies),function(notify){return _c('li',{key:notify.id,class:'c3notify-' + notify.type,staticStyle:{\"right\":\"0\"}},[(notify.title)?_c('h1',[_vm._v(_vm._s(notify.title))]):_vm._e(),_c('p',[_vm._v(_vm._s(notify.message))]),_c('span',{staticClass:\"c3notify-close icon close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.deleteNotify(notify.id)}}})])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Notification.vue?vue&type=template&id=749b9749&\"\nimport script from \"./Notification.vue?vue&type=script&lang=ts&\"\nexport * from \"./Notification.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Notification.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=739d8e11&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport md5 from 'md5';\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport {\n C3State,\n C3Relay,\n C3Interface,\n C3Gateway,\n GatewayHeader,\n NodeKlass,\n C3Node,\n C3Edge,\n FetchData,\n C3Command,\n C3Route,\n C3RelayTime\n} from '@/types/c3types';\n\nconst namespaced: boolean = true;\n// State\n\nexport const state: C3State = {\n gateways: [],\n gateway: null,\n nodes: [],\n edges: [],\n relayTimestamps: [],\n mustRefresh: false,\n lastGetHash: ''\n};\n\n// Getters\n\nexport type GetGatewayFn = () => C3Node | undefined;\nexport type GetRelayFn = (id: string) => C3Node | undefined;\nexport type GetInterfaceFn = (uid: string) => C3Node | undefined;\nexport type GetInterfacesFn = (nodeKlass?: NodeKlass[]) => C3Node[];\nexport type GetInterfacesForFn = (\n nodeKlass: NodeKlass | NodeKlass[],\n parentId: string | null\n) => C3Node[];\nexport type GetNodeKlassFn = (uid: string) => NodeKlass;\nexport type GetCommandFn = (id: string) => C3Command | undefined;\nexport type GetRelayRoutesFn = (id: string) => C3Route[];\n\nexport const getters: GetterTree = {\n getNodes(c3State): C3Node[] {\n return c3State.nodes;\n },\n\n getEdges(c3State): C3Edge[] {\n return c3State.edges;\n },\n\n // return gateways agentIds\n getGateways(c3State): GatewayHeader[] {\n return c3State.gateways;\n },\n\n // return the selected gateway\n getGateway(c3State): C3Node | undefined {\n return c3State.nodes.find(node => {\n return node.klass === NodeKlass.Gateway;\n });\n },\n\n hasGatewaySelected(c3State): boolean {\n if (c3State.gateway) {\n return true;\n }\n return false;\n },\n\n // return all relays from the selected gateway\n getRelays(c3State): C3Node[] {\n return c3State.nodes.filter(node => {\n return node.klass === NodeKlass.Relay;\n });\n },\n\n getRelay: c3State => (id: string): C3Node | undefined => {\n return c3State.nodes.find(node => {\n return node.id === id && node.klass === NodeKlass.Relay;\n });\n },\n\n getGatewayRoutes(c3State): C3Route[] {\n if (c3State.gateway) {\n return c3State.gateway.routes;\n }\n return [];\n },\n\n getRelayRoutes: c3State => (id: string): C3Route[] => {\n if (!!c3State.gateway) {\n const relay = c3State.gateway.relays.find(target => {\n return target.agentId === id;\n });\n if (!!relay) {\n return relay.routes;\n }\n }\n return [];\n },\n\n getInterface: c3State => (uid: string): C3Node | undefined => {\n if (uid === 'new') {\n return {\n uid: 'new',\n klass: NodeKlass.Relay,\n id: 'new',\n buildId: '',\n name: 'new',\n pending: true,\n isActive: false,\n type: -1,\n error: null,\n parentId: null,\n parentKlass: NodeKlass.Gateway,\n initialCommand: {},\n timestamp: Math.floor(Date.now() / 1000)\n };\n }\n\n const c = c3State.nodes.find(node => {\n return node.uid === uid;\n });\n return c3State.nodes.find(node => {\n return node.uid === uid;\n });\n },\n\n getInterfaces: c3State => (\n nodeKlass: NodeKlass[] = [\n NodeKlass.Channel,\n NodeKlass.Connector,\n NodeKlass.Peripheral\n ]\n ): C3Node[] => {\n return c3State.nodes.filter(node => {\n return nodeKlass.includes(node.klass);\n });\n },\n\n getInterfacesFor: c3State => (\n nodeKlass: NodeKlass | NodeKlass[] = [\n NodeKlass.Channel,\n NodeKlass.Connector,\n NodeKlass.Peripheral\n ],\n parentId: string | null\n ): C3Node[] => {\n if ((parentId === '' || parentId === null) && c3State.gateway) {\n parentId = c3State.gateway.agentId;\n }\n return c3State.nodes.filter(node => {\n return nodeKlass.includes(node.klass) && node.parentId === parentId;\n });\n },\n\n getNodeKlass: c3State => (uid: string): NodeKlass => {\n const n = c3State.nodes.find(node => {\n return node.uid === uid;\n });\n if (n) {\n return n.klass;\n }\n return NodeKlass.Undefined;\n }\n};\n\n// Mutations\n\nexport type UpdateGatewaysFn = (relays: GatewayHeader[]) => void;\nexport type UpdateGatewayFn = (relays: C3Gateway) => void;\n\nexport const mutations: MutationTree = {\n updateGateways(c3State, g: GatewayHeader[]) {\n c3State.gateways = g;\n },\n\n updateGateway(c3State, g: C3Gateway) {\n c3State.gateway = g;\n },\n\n populateNodes(c3State, data: C3Gateway) {\n const uuid = (...args: string[]): string => {\n return args.join('-');\n };\n\n const isRelayActive = (relay: C3Relay): boolean => {\n let active = relay.isActive;\n\n // If gateway down the relays are not managable either.\n if (data.isActive === false) {\n active = false;\n }\n\n return active;\n };\n\n c3State.nodes = [];\n c3State.mustRefresh = false;\n\n if (c3State.relayTimestamps === undefined) {\n c3State.relayTimestamps = [];\n }\n\n let gatewayTimestamp = 0;\n let relayTimestamp = 0;\n const relayTimestamps: C3RelayTime[] = [];\n\n if (!!data.timestamp) {\n gatewayTimestamp = data.timestamp;\n }\n\n c3State.nodes.push({\n uid: data.agentId,\n klass: NodeKlass.Gateway,\n id: data.agentId,\n buildId: data.buildId,\n name: data.name,\n pending: data.pending || false,\n isActive: data.isActive,\n type: -1,\n error: data.error || null,\n parentId: null,\n parentKlass: null,\n timestamp: gatewayTimestamp\n });\n\n data.channels.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Channel,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n isReturnChannel: i.isReturnChannel || false,\n isNegotiationChannel: i.isNegotiationChannel || false,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.peripherals.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Peripheral,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.connectors.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Connector,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.relays.forEach((relay: C3Relay) => {\n if (!!relay.timestamp) {\n relayTimestamp = relay.timestamp;\n if (relayTimestamp < gatewayTimestamp) {\n relayTimestamps!.push({\n id: relay.agentId,\n time: relayTimestamp\n });\n } else {\n const newTime = c3State.relayTimestamps!.find(t => {\n return t.id === relay.agentId;\n });\n if (newTime !== undefined) {\n c3State.mustRefresh = true;\n }\n }\n }\n\n c3State.nodes.push({\n uid: relay.agentId,\n klass: NodeKlass.Relay,\n id: relay.agentId,\n buildId: relay.buildId,\n name: relay.name,\n pending: relay.pending || false,\n isActive: isRelayActive(relay),\n type: -1,\n error: relay.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n initialCommand: relay.initialCommand || {},\n timestamp: relayTimestamp,\n hostInfo: relay.hostInfo\n });\n\n relay.channels.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, relay.agentId),\n klass: NodeKlass.Channel,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: relay.agentId,\n isReturnChannel: i.isReturnChannel || false,\n isNegotiationChannel: i.isNegotiationChannel || false,\n parentKlass: NodeKlass.Relay,\n propertiesText: i.propertiesText || ''\n });\n });\n\n relay.peripherals.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, relay.agentId),\n klass: NodeKlass.Peripheral,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: relay.agentId,\n parentKlass: NodeKlass.Relay,\n propertiesText: i.propertiesText || ''\n });\n });\n });\n c3State.relayTimestamps = relayTimestamps;\n },\n\n populateEdges(c3State, data: C3Gateway) {\n const uuid = (...args: string[]): string => {\n return args.join('-');\n };\n\n const guid = () => {\n return Math.random()\n .toString(36)\n .substring(2);\n };\n\n const interfaceIsExist = (agentId: string, iid: string) => {\n const relay = data.relays.find((r: C3Relay) => {\n return r.agentId === agentId;\n });\n if (relay !== undefined) {\n const c = relay.channels.find((i: C3Interface) => {\n return i.iid === iid;\n });\n if (c !== undefined) {\n return true;\n }\n }\n return false;\n };\n\n c3State.edges = [];\n\n data.channels.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n isNegotiationChannel: !!i.isNegotiationChannel,\n length: 0,\n dashes: false,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.peripherals.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.connectors.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: true,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.routes.forEach(route => {\n if (route.isNeighbour === true) {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Relay,\n length: 100,\n dashes: false,\n from: data.agentId,\n to: route.destinationAgent\n });\n\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: uuid(route.outgoingInterface, data.agentId),\n to: uuid(route.receivingInterface, route.destinationAgent)\n });\n }\n });\n\n data.relays.forEach((relay: C3Relay) => {\n relay.channels.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n isNegotiationChannel: !!i.isNegotiationChannel,\n length: 0,\n dashes: false,\n from: relay.agentId,\n to: uuid(i.iid, relay.agentId)\n });\n });\n\n relay.peripherals.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: relay.agentId,\n to: uuid(i.iid, relay.agentId)\n });\n });\n\n relay.routes.forEach(route => {\n if (route.isNeighbour === true) {\n let isDashed = true;\n if (\n interfaceIsExist(\n route.destinationAgent,\n route.receivingInterface\n ) &&\n interfaceIsExist(relay.agentId, route.outgoingInterface)\n ) {\n isDashed = false;\n }\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Relay,\n length: 100,\n dashes: isDashed,\n from: relay.agentId,\n to: route.destinationAgent\n });\n\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: uuid(route.outgoingInterface, relay.agentId),\n to: uuid(route.receivingInterface, route.destinationAgent)\n });\n }\n });\n });\n }\n};\n\n// Actions\n\nexport type FetchC3DataFn = (data: FetchData) => void;\n\nconst actions: ActionTree = {\n fetchCapability(context, nodeIds: FetchData) {\n context.dispatch('c3Capability/fetchCapability', nodeIds, { root: true });\n },\n\n fetchGateways(context): void {\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get('/api/gateway', { baseURL })\n .then(response => {\n context.commit('updateGateways', response.data);\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n },\n\n fetchGateway(context, nodeIds: FetchData) {\n if (nodeIds.gatewayId) {\n const url = `/api/gateway/${nodeIds.gatewayId}`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get(url, { baseURL })\n .then(response => {\n let hash: string = '';\n\n if (context.state.mustRefresh !== true) {\n hash = md5(\n JSON.stringify(response.data).replace(\n /\"timestamp\":[0-9]*[,]{0,1}/g,\n ''\n )\n );\n }\n\n // store the gateway\n context.commit('updateGateway', response.data);\n context.commit('populateNodes', response.data);\n context.commit('populateEdges', response.data);\n\n if (context.state.mustRefresh || hash !== context.state.lastGetHash) {\n // generate the data structure to vis library\n context.dispatch('visModule/generateNodes', {}, { root: true });\n context.dispatch('visModule/generateEdges', {}, { root: true });\n context.commit('visModule/setGraphData', {}, { root: true });\n context.state.lastGetHash = hash;\n }\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3Module: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\nexport interface ModalState {\n modals: C3Modal[];\n}\n\nexport interface C3Modal {\n modalTarget: string;\n modalTargetId: any;\n modalOptions: any;\n}\n\n// State\n\nconst state: ModalState = {\n modals: []\n};\n\n// Getters\nconst getters: GetterTree = {\n activeModal(modalState): C3Modal | undefined {\n if (modalState.modals.length > 0) {\n return modalState.modals[modalState.modals.length - 1];\n }\n return undefined;\n }\n};\n\n// Mutations\n\nexport type NewModalFn = (m: C3Modal) => void;\nexport type CloseModalFn = () => void;\n\nconst mutations: MutationTree = {\n newModal(modalState, m: C3Modal) {\n let last: any = false;\n if (modalState.modals.length > 1) {\n last = modalState.modals[modalState.modals.length - 2];\n }\n if (\n last !== false &&\n last.modalTarget === m.modalTarget &&\n last.modalTargetId === m.modalTargetId\n ) {\n modalState.modals.pop();\n } else {\n modalState.modals.push(m);\n }\n },\n\n closeModal(modalState) {\n if (modalState.modals.length > 0) {\n modalState.modals.pop();\n }\n },\n\n closeModalAll(modalState) {\n modalState.modals = [];\n }\n};\n\n// Actions\n\nexport const actions: ActionTree = {};\n\nexport const modalModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\ninterface PaginateState {\n itemPerPage: number;\n actualPage: number;\n lastChange: number;\n}\n\n// State\n\nconst state: PaginateState = {\n itemPerPage: 5,\n actualPage: 1,\n lastChange: Date.now()\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getItemPerPage(paginateState): number {\n return paginateState.itemPerPage;\n },\n\n getActualPage(paginateState): number {\n return paginateState.actualPage;\n },\n\n getLastChange(paginateState): number {\n return paginateState.lastChange;\n }\n};\n\n// Mutations\n\nexport type SetItemPerPageFn = (itemPerPage: number) => void;\nexport type SetActualPageFn = (itemPerPage: number) => void;\n\nexport const mutations: MutationTree = {\n setItemPerPage(paginateState, itemPerPage: number): void {\n paginateState.actualPage = 1;\n paginateState.itemPerPage = itemPerPage;\n paginateState.lastChange = Date.now();\n },\n\n setActualPage(paginateState, actualPage: number): void {\n paginateState.actualPage = actualPage;\n paginateState.lastChange = Date.now();\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {};\n\nexport const paginateModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","// tslint:disable max-line-length\nconst svgChannelActive =\n '';\nconst svgChannelReturn =\n '';\nconst svgChannelError =\n '';\n\nconst svgNegotiationActive =\n '';\nconst svgNegotiationError =\n '';\n\nconst svgPeripheralActive =\n '';\nconst svgPeripheralError =\n '';\n\nconst svgConnectorActive =\n '';\nconst svgConnectorError =\n '';\n\nconst svgInterfaceActive =\n '';\nconst svgInterfaceInactive =\n '';\nconst svgInterfaceError =\n '';\n\nconst svgGatewayActive =\n '';\nconst svgGatewayInactive =\n '';\nconst svgGatewayError =\n '';\n\nconst svgRelayActive =\n '';\nconst svgRelayInactive =\n '';\nconst svgRelayGhost =\n '';\nconst svgRelayError =\n '';\n\nexport const ChannelActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelActive);\nexport const ChannelReturn =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelReturn);\nexport const ChannelError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelError);\n\nexport const PeripheralActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgPeripheralActive);\nexport const PeripheralError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgPeripheralError);\n\nexport const NegotiationActive =\n 'data:image/svg+xml;charset=utf-8,' +\n encodeURIComponent(svgNegotiationActive);\nexport const NegotiationError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgNegotiationError);\n\nexport const ConnectorActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgConnectorActive);\nexport const ConnectorError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgConnectorError);\n\nexport const InterfaceActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgInterfaceActive);\nexport const InterfaceInactive =\n 'data:image/svg+xml;charset=utf-8,' +\n encodeURIComponent(svgInterfaceInactive);\nexport const InterfaceError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgInterfaceError);\n\nexport const GatewayActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayActive);\nexport const GatewayInactive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayInactive);\nexport const GatewayError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayError);\n\nexport const RelayActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayActive);\nexport const RelayInactive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayInactive);\nexport const RelayGhost =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayGhost);\nexport const RelayError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayError);\n","import {\n GatewayActive,\n GatewayError,\n RelayActive,\n RelayError,\n ChannelActive,\n ChannelReturn,\n ChannelError,\n PeripheralError,\n PeripheralActive,\n ConnectorActive,\n ConnectorError,\n GatewayInactive,\n RelayInactive,\n RelayGhost,\n NegotiationActive,\n NegotiationError\n} from '@/components/assets/SvgIconsForVis';\n\nexport const GATEWAY: number = 10;\nexport const RELAY: number = 20;\nexport const CHANNEL: number = 30;\nexport const PERIPHERAL: number = 40;\nexport const CONNECTOR: number = 50;\nexport const NEGOTIATION_CHANNEL: number = 5;\nexport const ERROR: number = 1;\nexport const RETURN_CHANNEL: number = 2;\nexport const INACTIVE: number = 3;\nexport const GHOST: number = 5;\n\n// The Vis Options for visualisation\nexport const VisOptions: any = {\n nodes: {\n font: {\n color: '#fff',\n background: '#222',\n size: 12,\n face: 'Roboto Mono',\n strokeWidth: 0,\n vadjust: 0\n },\n shadow: {\n enabled: false,\n color: 'rgba(75,174,97,1)',\n size: 20,\n x: 0,\n y: 0\n },\n widthConstraint: {\n maximum: 75\n },\n margin: {\n top: 0\n }\n },\n edges: {\n font: {\n color: '#fff',\n background: '#222',\n size: 12,\n face: 'Roboto Mono',\n strokeWidth: 0\n },\n color: {\n color: '#BDBDBD',\n highlight: '#27ae60'\n },\n smooth: false\n },\n groups: {\n // GATEWAY\n 10: {\n shape: 'image',\n image: GatewayActive,\n size: 30\n },\n // GATEWAY + ERROR\n 11: {\n shape: 'image',\n image: GatewayError,\n size: 30\n },\n // GATEWAY + INACTIVE\n 13: {\n shape: 'image',\n image: GatewayInactive,\n size: 30\n },\n // GATEWAY + INACTIVE + ERROR\n 14: {\n shape: 'image',\n image: GatewayError,\n size: 30\n },\n // RELAY\n 20: {\n shape: 'image',\n image: RelayActive,\n size: 30\n },\n // RELAY + ERROR\n 21: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + INACTIVE\n 23: {\n shape: 'image',\n image: RelayInactive,\n size: 30\n },\n // RELAY + INACTIVE +ERROR\n 24: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + GHOST\n 25: {\n shape: 'image',\n image: RelayGhost,\n size: 30\n },\n // RELAY + GHOST + ERROR\n 26: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + INACTIVE + GHOST\n 28: {\n shape: 'image',\n image: RelayGhost,\n size: 30\n },\n // RELAY + INACTIVE + GHOST + ERROR\n 29: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // CHANNEL\n 30: {\n shape: 'image',\n image: ChannelActive,\n size: 20\n },\n // CHANNEL + ERROR\n 31: {\n shape: 'image',\n image: ChannelError,\n size: 20\n },\n // CHANNEL + RETURN_CHANNEL\n 32: {\n shape: 'image',\n image: ChannelReturn,\n size: 20\n },\n // CHANNEL + RETURN_CHANNEL + ERROR\n 33: {\n shape: 'image',\n image: ChannelError,\n size: 20\n },\n // NEGOTIATION_CHANNEL\n 35: {\n shape: 'image',\n image: NegotiationActive,\n size: 25\n },\n // NEGOTIATION_CHANNEL + ERROR\n 36: {\n shape: 'image',\n image: NegotiationError,\n size: 25\n },\n // PERIPHERAL\n 40: {\n shape: 'image',\n image: PeripheralActive,\n size: 20\n },\n // PERIPHERAL + ERROR\n 41: {\n shape: 'image',\n image: PeripheralError,\n size: 20\n },\n // CONNECTOR\n 50: {\n shape: 'image',\n image: ConnectorActive,\n size: 20\n },\n // CONNECTOR + ERROR\n 51: {\n shape: 'image',\n image: ConnectorError,\n size: 20\n }\n },\n layout: {\n randomSeed: 921401,\n improvedLayout: true,\n hierarchical: {\n enabled: true,\n direction: 'LR',\n parentCentralization: true,\n blockShifting: true,\n levelSeparation: 150,\n treeSpacing: 200,\n nodeSpacing: 100,\n edgeMinimization: true,\n sortMethod: 'hubsize'\n }\n },\n physics: {\n enabled: true,\n solver: 'barnesHut',\n barnesHut: {\n gravitationalConstant: -4500,\n springLength: 100,\n springConstant: 0.01,\n damping: 0.1,\n avoidOverlap: 0\n },\n minVelocity: 0.45,\n stabilization: {\n enabled: true,\n iterations: 1000,\n updateInterval: 10,\n onlyDynamicEdges: false,\n fit: true\n }\n },\n interaction: {\n navigationButtons: true,\n keyboard: false\n }\n};\n\n// maximum toast shown\nexport const maximumToast: number = 3;\n\n// the data refresh rate in milisecond\nexport const refreshInterval: number = 2000;\n\nexport const notifyLenght = 5000;\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { Node, Edge, Options } from 'vis-network';\nimport { DataSet } from 'vis-data/peer/esm/vis-data';\n\nimport { RootState } from '@/types/store/RootState';\nimport { C3Edge, NodeKlass, C3Node } from '@/types/c3types';\nimport {\n GATEWAY,\n RELAY,\n CHANNEL,\n PERIPHERAL,\n CONNECTOR,\n RETURN_CHANNEL,\n VisOptions,\n INACTIVE,\n NEGOTIATION_CHANNEL,\n GHOST\n} from '@/options';\n\nconst namespaced: boolean = true;\n\ninterface VisState {\n nodes: any;\n edges: any;\n options: any;\n autoUpdateEnabled: boolean;\n showInterfaces: boolean;\n showLabels: boolean;\n graphData: {\n nodes: any;\n edges: any;\n };\n}\n\n// State\n\nconst state: VisState = {\n nodes: {},\n edges: {},\n options: VisOptions,\n showInterfaces: true,\n showLabels: true,\n autoUpdateEnabled: true,\n graphData: {\n nodes: new DataSet({}),\n edges: new DataSet({})\n }\n};\n\n// Getters\nconst getters: GetterTree = {\n getVisNodes(visState): any {\n return visState.nodes;\n },\n\n getVisEdges(visState): any {\n return visState.edges;\n },\n\n getGrapData(visState): object {\n return visState.graphData;\n },\n\n getOptions(visState): Options {\n return visState.options;\n },\n\n getShowInterfaces(visState): boolean {\n return visState.showInterfaces;\n },\n\n getShowLabels(visState): boolean {\n return visState.showLabels;\n },\n\n getAutoUpdateEnabled(visState): boolean {\n return visState.autoUpdateEnabled;\n }\n};\n\n// Mutations\n\nexport type SetGraphDataFn = () => void;\nexport type SetOptionFn = (b: boolean) => void;\nexport type SetAutoUpdateEnabledFn = (d: boolean) => void;\nexport type SetOptionslFn = (options: Options) => void;\n\nconst mutations: MutationTree = {\n setNodes(visState, n) {\n visState.nodes = n;\n },\n\n setEdges(visState, e) {\n visState.edges = e;\n },\n\n setGraphData(visState) {\n const nodes = new DataSet(visState.nodes);\n const edges = new DataSet(visState.edges);\n const graph = { nodes, edges };\n visState.graphData = graph;\n },\n\n setOptions(visState, options: Options): void {\n visState.options = options;\n },\n\n setShowInterfaces(visState, b: boolean): void {\n visState.showInterfaces = b;\n },\n\n setShowLabels(visState, b: boolean): void {\n visState.showLabels = b;\n },\n\n setTreeView(visState, b: boolean): void {\n visState.options.layout.hierarchical.enabled = b;\n visState.options.physics.stabilization.onlyDynamicEdges =\n b === true ? true : false;\n },\n\n setPhysics(visState, b: boolean): void {\n visState.options.physics.enabled = b;\n },\n\n setSmoothEdge(visState, b: boolean): void {\n visState.options.edges.smooth = b;\n },\n\n setAutoUpdateEnabled(visState, d: boolean): void {\n visState.autoUpdateEnabled = d;\n }\n};\n\n// Actions\n\nexport type GenerateNodesFn = () => void;\nexport type GenerateEdgesFn = () => void;\n\nconst actions: ActionTree = {\n generateNodes(context) {\n const ns: C3Node[] = context.rootGetters['c3Module/getNodes'];\n const gatewayLastStartTime =\n context.rootGetters['c3Module/getGateway'].timestamp;\n const gatewayIsActive = context.rootGetters['c3Module/getGateway'].isActive;\n\n const setGroup = (\n target: C3Node,\n gatewayStartTime: number,\n isGatewayActive: boolean\n ): string => {\n let group: number = 0;\n\n // Add error if target has an error\n if (target.error !== null) {\n ++group;\n }\n\n let active = true;\n\n // If Target down told by API then make inactive\n if (target.isActive !== undefined && target.isActive === false) {\n active = false;\n }\n\n // If relay last seen begore gateway last start than we think gateway maybe down\n if (target.klass === NodeKlass.Relay) {\n if (!!target.timestamp) {\n active = target.timestamp < gatewayStartTime ? false : true;\n }\n\n // if gateway down the hole network down\n if (!isGatewayActive) {\n active = false;\n }\n\n if (target.isActive === false) {\n group = group + GHOST;\n }\n }\n\n if (!active) {\n group = group + INACTIVE;\n }\n\n switch (target.klass) {\n case NodeKlass.Channel:\n group += CHANNEL;\n if (target.isReturnChannel === true) {\n group += RETURN_CHANNEL;\n }\n if (target.isNegotiationChannel === true) {\n group += NEGOTIATION_CHANNEL;\n }\n return '' + group;\n case NodeKlass.Relay:\n group += RELAY;\n return '' + group;\n case NodeKlass.Peripheral:\n group += PERIPHERAL;\n return '' + group;\n case NodeKlass.Gateway:\n group += GATEWAY;\n return '' + group;\n case NodeKlass.Connector:\n group += CONNECTOR;\n return '' + group;\n }\n\n return '' + group;\n };\n const nodes: Node[] = [];\n const interfaccesIncluded: boolean = context.state.showInterfaces;\n\n ns.forEach((node: C3Node) => {\n if (\n context.state.showInterfaces === true ||\n (interfaccesIncluded !== true && node.klass === NodeKlass.Gateway) ||\n node.klass === NodeKlass.Relay\n ) {\n const group = setGroup(node, gatewayLastStartTime, gatewayIsActive);\n let label = '';\n if (context.state.showLabels) {\n label = node.name || '';\n }\n\n nodes.push({\n id: node.uid,\n group,\n label\n });\n } else {\n if (!!node.isNegotiationChannel && node.isNegotiationChannel === true) {\n const group = setGroup(node, gatewayLastStartTime, gatewayIsActive);\n let label = '';\n if (context.state.showLabels) {\n label = node.name || '';\n }\n\n nodes.push({\n id: node.uid,\n group,\n label\n });\n }\n }\n });\n\n context.commit('setNodes', nodes);\n },\n\n generateEdges(context) {\n const es: C3Edge[] = context.rootGetters['c3Module/getEdges'];\n const edges: Edge[] = [];\n const interfaccesIncluded: boolean = context.state.showInterfaces;\n\n es.forEach(edge => {\n if (interfaccesIncluded === true && edge.klass === NodeKlass.Interface) {\n edges.push({\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to\n });\n }\n\n if (interfaccesIncluded !== true && edge.klass === NodeKlass.Interface) {\n if (!!edge.isNegotiationChannel) {\n edges.push({\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to\n });\n }\n }\n\n if (interfaccesIncluded !== true && edge.klass !== NodeKlass.Interface) {\n const e = {\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to,\n color: {}\n };\n if (edge.dashes === true) {\n e.color = {\n color: '#FFC24B'\n };\n }\n edges.push(e);\n }\n });\n context.commit('setEdges', edges);\n }\n};\n\nexport const visModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport { notifyLenght, maximumToast } from '@/options';\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\nexport interface Notify {\n id?: string;\n type: string;\n title?: string;\n message: string;\n timeoutID?: any;\n}\n\ninterface NotifyState {\n notifys: Notify[];\n}\n\n// State\n\nexport const state: NotifyState = {\n notifys: []\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getNotifies(notifyState): Notify[] {\n return notifyState.notifys;\n }\n};\n\n// Mutations\n\nexport type AddNotifyFn = (notify: Notify) => void;\nexport type UpdateNotifyFn = (notify: Notify) => void;\nexport type RemoveNotifyFn = (id: string) => void;\n\nexport const mutations: MutationTree = {\n addNotify(notifyState, notify: Notify): void {\n notifyState.notifys.push(notify);\n },\n\n updateNotify(notifyState, notify: Notify): void {\n const notifyIndex = notifyState.notifys.findIndex(n => n.id === notify.id);\n if (notifyIndex > -1) {\n notifyState.notifys[notifyIndex] = notify;\n }\n },\n\n removeNotify(notifyState, id: string): void {\n const notifyIndex = notifyState.notifys.findIndex(n => n.id === id);\n if (notifyIndex > -1) {\n notifyState.notifys.splice(notifyIndex, 1);\n }\n },\n\n removeOldestNotify(notifyState): void {\n const notifyCount = notifyState.notifys.length;\n\n if (notifyCount > 0) {\n const notify = notifyState.notifys[0];\n if (!!notify.timeoutID) {\n clearTimeout(notify.timeoutID);\n }\n notifyState.notifys.splice(0, 1);\n }\n }\n};\n\n// Actions\n\nexport type InsertNotifyFn = (notify: Notify) => void;\n\nconst actions: ActionTree = {\n insertNotify(context, notify: Notify) {\n const addNotification = (notification: Notify) => {\n notify.id = Math.random()\n .toString(36)\n .substr(2);\n notify.timeoutID = setTimeout((): boolean => {\n context.commit('removeNotify', notify.id);\n return true;\n }, notifyLenght);\n context.commit('addNotify', notify);\n };\n\n // Check how many notification we have\n const notifyCount = context.state.notifys.length;\n\n // Don' add duplicate notifications\n // Mostly affecting: Network error - if backand not reachable\n if (notifyCount > 0) {\n if (notify.message !== context.state.notifys[notifyCount - 1].message) {\n addNotification(notify);\n } else {\n // Replace the timeout for the notification\n const lastNotify = context.state.notifys[notifyCount - 1];\n\n clearTimeout(lastNotify.timeoutID);\n\n lastNotify.timeoutID = setTimeout((): boolean => {\n context.commit('removeNotify', lastNotify.id);\n return true;\n }, notifyLenght);\n context.commit('updateNotify', lastNotify);\n }\n } else {\n addNotification(notify);\n }\n\n // If we already reach the maximum notification limit\n // remove the oldest\n if (notifyCount >= maximumToast) {\n context.commit('removeOldestNotify');\n }\n }\n};\n\nexport const notifyModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport { FetchData, NodeKlass } from '@/types/c3types';\n\nconst namespaced: boolean = true;\n\nexport interface InterfaceItem {\n type: number;\n name: string;\n klass: NodeKlass;\n commands: any;\n}\n\nexport interface CapabilityState {\n capability: any;\n interfaceList: InterfaceItem[];\n}\n\n// State\n\nexport const state: CapabilityState = {\n capability: {},\n interfaceList: []\n};\n\n// Getters\nexport type GetTypeNameForInterfaceFn = (t: number, k: NodeKlass) => string;\nexport type GetTypesForInterfaceKlassFn = (k: NodeKlass) => InterfaceItem[];\nexport type GetCapabilityForFn = (\n t: string,\n k: NodeKlass\n) => InterfaceItem | undefined;\nexport type GetCommandGroupForFn = (k: NodeKlass) => any;\nexport type GetCommandTargetForFn = (\n commandName: string,\n nodeKlass: NodeKlass,\n currentType?: string | number\n) => any;\n\nexport const getters: GetterTree = {\n getCommandGroupFor: capabilityState => (nodeKlass: NodeKlass): any => {\n let commands: any = {};\n\n switch (nodeKlass) {\n case NodeKlass.Gateway:\n if (capabilityState.capability && capabilityState.capability.commands) {\n commands = capabilityState.capability.commands;\n }\n break;\n case NodeKlass.Relay:\n if (\n capabilityState.capability &&\n capabilityState.capability.relayCommands\n ) {\n commands = capabilityState.capability.relayCommands.commands;\n }\n break;\n case NodeKlass.Channel:\n if (\n capabilityState.capability &&\n capabilityState.capability.channelCommands\n ) {\n commands = capabilityState.capability.channelCommands.commands;\n }\n break;\n case NodeKlass.Peripheral:\n if (\n capabilityState.capability &&\n capabilityState.capability.peripheralCommands\n ) {\n commands = capabilityState.capability.peripheralCommands.commands;\n }\n break;\n case NodeKlass.Connector:\n if (\n capabilityState.capability &&\n capabilityState.capability.connectorCommands\n ) {\n commands = capabilityState.capability.connectorCommands.commands;\n }\n break;\n }\n\n const options: any = {};\n if (commands.length !== undefined) {\n commands.forEach((element: any) => {\n const option = element.name;\n options[option] = option;\n });\n }\n\n return options;\n },\n\n getCommandTargetFor: capabilityState => (\n commandName: string,\n nodeKlass: NodeKlass,\n currentType?: number | string\n ): any => {\n let commands: any = {};\n\n switch (nodeKlass) {\n case NodeKlass.Gateway:\n if (capabilityState.capability && capabilityState.capability.commands) {\n commands = capabilityState.capability.commands;\n }\n break;\n case NodeKlass.Relay:\n if (\n capabilityState.capability &&\n capabilityState.capability.relayCommands\n ) {\n commands = capabilityState.capability.relayCommands.commands;\n }\n break;\n case NodeKlass.Channel:\n if (\n capabilityState.capability &&\n capabilityState.capability.channelCommands\n ) {\n commands = capabilityState.capability.channelCommands.commands;\n }\n break;\n case NodeKlass.Peripheral:\n if (\n capabilityState.capability &&\n capabilityState.capability.peripheralCommands\n ) {\n commands = capabilityState.capability.peripheralCommands.commands;\n }\n break;\n case NodeKlass.Connector:\n if (\n capabilityState.capability &&\n capabilityState.capability.connectorCommands\n ) {\n commands = capabilityState.capability.connectorCommands.commands;\n }\n break;\n }\n\n let commandList: any = {};\n if (commands.length !== undefined) {\n commandList = commands.find((command: any) => {\n return command.name === commandName;\n });\n }\n\n const options: any = {};\n\n if (commandList && commandList.arguments) {\n const form = commandList.arguments.find((commandItem: any) => {\n return commandItem.type === 'form';\n });\n\n form.defaultValue.forEach((option: any) => {\n if (currentType === undefined) {\n options[option.replace(/:/g, '_')] = option.split(':')[2];\n } else {\n const optionType = option.split(':')[1];\n if (optionType === currentType) {\n options[option.replace(/:/g, '_')] = option.split(':')[2];\n }\n }\n });\n }\n\n return options;\n },\n\n getTypeNameForInterface: capabilityState => (\n t: number,\n k: NodeKlass\n ): string | undefined => {\n const item = capabilityState.interfaceList.find((i: InterfaceItem) => {\n return '' + i.type === '' + t; // && i.klass === k;\n });\n if (item !== undefined) {\n return item.name;\n }\n return '';\n },\n\n getTypesForInterfaceKlass: capabilityState => (\n k: NodeKlass\n ): InterfaceItem[] => {\n return capabilityState.interfaceList.filter((i: InterfaceItem) => {\n return i.klass === k;\n });\n },\n\n getCapabilityFor: capabilityState => (\n n: string,\n k: NodeKlass\n ): InterfaceItem | undefined => {\n return capabilityState.interfaceList.find((i: InterfaceItem) => {\n return i.name === n && i.klass === k;\n });\n }\n};\n\n// Mutations\n\nexport const mutations: MutationTree = {\n updateCapability(capabilityState, c: any) {\n capabilityState.interfaceList = [];\n capabilityState.capability = c;\n },\n\n populateList(capabilityState) {\n const getItem = (i: string) => {\n if (capabilityState.capability && capabilityState.capability[i]) {\n capabilityState.capability[i].forEach((element: InterfaceItem) => {\n const item: any = {\n type: element.type,\n name: element.name,\n commands: element.commands\n };\n\n switch (i) {\n case 'channels':\n item.klass = NodeKlass.Channel;\n break;\n case 'connectors':\n item.klass = NodeKlass.Connector;\n break;\n case 'peripherals':\n item.klass = NodeKlass.Peripheral;\n break;\n case 'gateway':\n item.klass = NodeKlass.Gateway;\n break;\n case 'relay':\n item.klass = NodeKlass.Relay;\n break;\n }\n\n capabilityState.interfaceList.push(item);\n });\n }\n };\n\n getItem('channels');\n getItem('connectors');\n getItem('peripherals');\n getItem('gateway');\n getItem('relay');\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {\n fetchCapability(context, d: FetchData): void {\n if (d.gatewayId) {\n const url = `/api/gateway/${d.gatewayId}/capability`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get(url, { baseURL })\n .then(response => {\n context.commit('updateCapability', response.data);\n context.commit('populateList', response.data);\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3Capability: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { RootState } from '@/types/store/RootState';\nimport { refreshInterval } from '@/options';\n\nconst namespaced: boolean = true;\n\ninterface OptionsState {\n baseUrl: string;\n port: number;\n refreshInterval: number;\n}\n\n// State\n\nconst state: OptionsState = {\n baseUrl: `${window.location.protocol}//${window.location.hostname}`,\n port: parseInt(\n window.location.port !== ''\n ? window.location.port\n : window.location.protocol === 'http:'\n ? '80'\n : '443'\n ),\n refreshInterval: 2000\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getAPIUrl(optionsState): string {\n return optionsState.baseUrl;\n },\n\n getAPIPort(optionsState): number {\n return optionsState.port;\n },\n\n getAPIBaseUrl(optionsState): string {\n return optionsState.baseUrl + ':' + optionsState.port;\n },\n\n getRefreshInterval(optionsState): number {\n return optionsState.refreshInterval;\n }\n};\n\n// Mutations\n\nexport type SetBaseURLFn = (url: string) => void;\nexport type SetBasePortFn = (port: number) => void;\nexport type SetRefreshIntervalFn = (refreshInterval: number) => void;\n\nexport const mutations: MutationTree = {\n setBaseURL(optionsState, url: string): void {\n optionsState.baseUrl = url;\n },\n\n setBasePort(optionsState, port: number): void {\n optionsState.port = port;\n },\n\n setRefreshInterval(optionsState, refreshRate: number): void {\n optionsState.refreshInterval = refreshRate;\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {};\n\nexport const optionsModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport { C3Command } from '@/types/c3types';\n\nconst namespaced: boolean = true;\n// State\n\nexport interface C3CommandState {\n commands: C3Command[];\n totalCount: number;\n}\n\nexport const state: C3CommandState = {\n commands: [],\n totalCount: 0\n};\n\n// Getters\n\nexport type GetCommandFn = (id: string) => C3Command | undefined;\n\nexport const getters: GetterTree = {\n // return gateways agentIds\n getCommands(C3State): C3Command[] {\n return C3State.commands;\n },\n\n getCommand: C3State => (id: string | number): C3Command | undefined => {\n return C3State.commands.find(command => {\n return '' + command.id === '' + id;\n });\n },\n\n getCommandCount(C3State): number {\n return C3State.totalCount;\n }\n};\n\n// Mutations\n\nexport const mutations: MutationTree = {\n updateCommands(C3State, data: any) {\n C3State.commands = data;\n },\n\n updateTotalCount(C3State, totalCount: number) {\n C3State.totalCount = totalCount;\n }\n};\n\n// Actions\n\nexport type FetchC3CommandFn = (gatewayId: string) => void;\n\nconst actions: ActionTree = {\n fetchCommands(context, gatewayId: string) {\n if (!!gatewayId) {\n const page = context.rootGetters['paginateModule/getActualPage'];\n const perPage = context.rootGetters['paginateModule/getItemPerPage'];\n\n const url = `/api/gateway/${gatewayId}/command?all=true&page=${page}&perPage=${perPage}`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n\n axios\n .get(url, { baseURL })\n .then(response => {\n // store the gateway\n context.commit('updateCommands', response.data);\n\n let totalCount = 0;\n if (!!response.headers['X-Total-Count']) {\n totalCount = response.headers['X-Total-Count'];\n } else if (response.headers['x-total-count']) {\n totalCount = response.headers['x-total-count'];\n }\n if (!!totalCount) {\n context.commit('updateTotalCount', totalCount);\n }\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3CommandModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import Vue from 'vue';\nimport Vuex, { StoreOptions } from 'vuex';\n\nimport { RootState } from '@/types/store/RootState';\n\nimport { c3Module } from '@/store/C3Module';\nimport { modalModule } from '@/store/ModalModule';\nimport { paginateModule } from '@/store/PaginateModule';\nimport { visModule } from '@/store/VisModule';\nimport { notifyModule } from '@/store/NotifyModule';\nimport { c3Capability } from '@/store/C3Capability';\nimport { optionsModule } from '@/store/OptionsModule';\nimport { c3CommandModule } from '@/store/C3Command';\n\nVue.use(Vuex);\n\nconst store: StoreOptions = {\n state: {\n version: '1.0.0'\n },\n modules: {\n c3Module,\n visModule,\n modalModule,\n notifyModule,\n c3Capability,\n optionsModule,\n paginateModule,\n c3CommandModule\n }\n};\n\nexport default new Vuex.Store(store);\n","import Vue from 'vue';\nimport App from './App.vue';\nimport store from './store';\nimport VeeValidate from 'vee-validate';\n\nimport './scss/main.scss';\n\nVue.config.productionTip = false;\n\n(window as any).networkc3 = {};\n\nVue.use(VeeValidate, {\n inject: false,\n validity: true\n});\n\nnew Vue({\n store,\n render: h => h(App)\n}).$mount('#app');\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=0&id=893eea00&scoped=true&lang=sass&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=style&index=0&id=5873b325&scoped=true&lang=sass&\""],"sourceRoot":""} \ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js b/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js deleted file mode 100644 index afd48208..00000000 --- a/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(t){function e(e){for(var a,o,s=e[0],c=e[1],l=e[2],d=0,h=[];d2&&void 0!==arguments[2]?arguments[2]:{};this.newModal({modalTarget:e,modalTargetId:t,modalOptions:n})}},{key:"closeThisModal",value:function(){this.closeModal()}},{key:"closeAllModal",value:function(){this.closeModalAll()}},{key:"addNotify",value:function(t){this.insertNotify(t)}},{key:"interfaceTypeName",value:function(t){if(t&&null!==t.type){if(t.klass)return this.getTypeNameForInterface(t.type,t.klass);this.addNotify({type:"error",message:"Interface Type cannot be determined. Must be a channel, connector or peripheral."})}return""}},{key:"interfaceType",value:function(t){return t.isReturnChannel?"Return Channel":t.isNegotiationChannel?"Negotiation Channel":""}},{key:"commandType",value:function(t){return t.interfaceId&&void 0!==t.interfaceId?t.relayAgentId&&void 0!==t.relayAgentId?this.getNodeKlass(t.interfaceId+"-"+t.relayAgentId):this.getNodeKlass(t.interfaceId+"-"+this.gateway.id):t.relayAgentId&&void 0!==t.relayAgentId?a.Relay:a.Gateway}},{key:"commandTypeId",value:function(t){return t.relayAgentId&&void 0!==t.relayAgentId?""+t.relayAgentId:t.interfaceId&&void 0!==t.interfaceId?""+t.interfaceId:this.gateway?""+this.gateway.id:"error"}},{key:"isCommandPending",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?!0===t.isPending?"Pending":"Complete":!0===t.isPending?"is-complete":"not-complete"}},{key:"handleGlobalKeyDown",value:function(t){27===t.keyCode&&this.closeAllModal()}},{key:"unixTimeToString",value:function(t){var e=new Date(1e3*t),n=e.toISOString();return n=n.replace(/-/g,"/"),n=n.replace("T"," "),n=n.replace(".000Z",""),n}},{key:"itemPerPage",get:function(){return this.getItemPerPage}},{key:"actualPage",get:function(){return this.getActualPage}},{key:"maxIndex",get:function(){return this.itemPerPage*this.actualPage}},{key:"minIndex",get:function(){return this.maxIndex-this.itemPerPage}},{key:"gateway",get:function(){return void 0===this.getGateway?g:this.getGateway}}]),n}(f["d"]);return Object(h["a"])([O.Mutation],t.prototype,"newModal",void 0),Object(h["a"])([O.Mutation],t.prototype,"closeModal",void 0),Object(h["a"])([O.Mutation],t.prototype,"closeModalAll",void 0),Object(h["a"])([C.Action],t.prototype,"insertNotify",void 0),Object(h["a"])([k.Getter],t.prototype,"getTypeNameForInterface",void 0),Object(h["a"])([j.Getter],t.prototype,"getItemPerPage",void 0),Object(h["a"])([j.Getter],t.prototype,"getActualPage",void 0),Object(h["a"])([w.Getter],t.prototype,"getNodeKlass",void 0),Object(h["a"])([w.Getter],t.prototype,"getGateway",void 0),t=Object(h["a"])([f["a"]],t),t}(),x=I,_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==t.relay?n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-header",class:{"has-error":!!t.relay.error}},[n("h1",[t._v(" Relay: "),n("span",[t._v(" "+t._s(t.relay.name)+" / "+t._s(t.relay.id))])]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"details"},[n("p",[t._v(" Parent "),n("span",{staticClass:"c3link",on:{click:function(e){return t.openModal(t.relay.parentId,t.relay.parentKlass)}}},[n("span",{staticClass:"capitalize"},[t._v(t._s(t.relay.parentKlass.toLowerCase())+" / ")]),t._v(" "+t._s(t.relay.parentId)+" ")])]),n("p",[t._v(" Build ID "),n("span",[t._v(t._s(t.relay.buildId))])]),n("p",[t._v(" Last seen "),n("span",[t._v(t._s(t.unixTimeToString(t.relay.timestamp)))])])]),n("div",{staticClass:"actions"},[n("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.relay.id,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])]),n("div",{staticClass:"flex-row host-info"},[n("div",{staticClass:"details"},[n("p",[n("span",{staticClass:"details-title"},[t._v("Computer Name ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.computerName))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("User Name ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.userName))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("Domain ")]),n("span",{staticClass:"details-value"},[t._v(t._s(""===t.relay.hostInfo.domain?"-":t.relay.hostInfo.domain))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("processId ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.processId))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("is Elevated ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.isElevated))])])]),n("div",{staticClass:"details"},[n("p",[n("span",{staticClass:"details-title"},[t._v("OS Major Version ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osMajorVersion))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Minor Version ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osMinorVersion))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Build Number ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osBuildNumber))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Service Pack Major ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osServicePackMajor))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Service Pack Minor ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osServicePackMinor))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Product Type ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osProductType))])]),n("p",[n("span",{staticClass:"details-title"},[t._v("OS Version ")]),n("span",{staticClass:"details-value"},[t._v(t._s(t.relay.hostInfo.osVersion))])])])]),t.relay.error&&""!==t.relay.error?n("p",{staticClass:"message-with-icon"},[n("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.relay.error)+" ")]):t._e()]),n("div",{staticClass:"c3modal-details"},[n("ChannelList",{attrs:{"target-id":t.targetId,title:"Channels","show-empty":!0}}),n("PheripheralList",{attrs:{"target-id":t.targetId,title:"Peripherals","show-empty":!0}}),n("RouteList",{attrs:{"target-id":t.targetId,"parent-id":t.relay.id,"parent-klass":"RELAY",title:"Routes","show-empty":!0}}),"{}"!==JSON.stringify(t.relay.initialCommand)?[n("h1",[t._v("Command")]),n("pre",{staticClass:"c3command"},[t._v(t._s(JSON.stringify(t.relay.initialCommand,null,4)))])]:t._e()],2)]):t._e()},R=[],T=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.routes&&t.routes.length||t.displayEmpty?n("div",{staticClass:"c3route-list"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.routes.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.routes,(function(e){return n("tr",{key:e.destinationAgent},[n("td",[t._v(t._s(e.destinationAgent)+":"+t._s(e.receivingInterface))]),n("td",[t._v(t._s(e.destinationAgent))]),n("td",[t._v(t._s(e.outgoingInterface))]),n("td",[t._v(t._s(e.receivingInterface))]),n("td",[t._v(t._s(e.isNeighbour?"Yes":""))]),n("td",{staticStyle:{position:"relative"}},[n("span",{staticClass:"c3route-list-more-btn icon more"}),n("ul",{staticClass:"c3route-list-menu"},[n("li",{staticClass:"c3route-list-menu-item",on:{click:function(n){return t.sendCommand(e.destinationAgent+":"+e.receivingInterface)}}},[t._v(" Delete ")])])])])})),0)])]:t.displayEmpty?[t._v(" No routes found... ")]:t._e()],2):t._e()},N=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Route ID")]),n("th",[t._v("Destination Agent")]),n("th",[t._v("Outgoing Interface")]),n("th",[t._v("Receiving Interface")]),n("th",[t._v("Is Neighbour")]),n("th")])])}],P=(n("7f7f"),n("7514"),n("bc3a")),G=n.n(P);function D(t){var e=L();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var M=function(){var t=function(t){Object(l["a"])(n,t);var e=D(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"hasTitle",get:function(){return!!this.title&&""!==this.title}},{key:"displayEmpty",get:function(){return!!this.showEmpty&&!0===this.showEmpty}}]),n}(r["a"]);return Object(h["a"])([Object(f["c"])()],t.prototype,"title",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"showEmpty",void 0),t=Object(h["a"])([f["a"]],t),t}(),E=M;function A(t){var e=S();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var F=Object(p["a"])("c3Module"),U=Object(p["a"])("c3Capability"),B=Object(p["a"])("optionsModule"),$=function(){var t=function(t){Object(l["a"])(n,t);var e=A(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"sendCommand",value:function(t){var e=this,n=null;n=this.targetId?{name:"RelayCommandGroup",data:{id:this.getCommandId,name:"Command",command:"RemoveRoute",arguments:[{type:"string",name:"RouteID",value:t}]}}:{name:"GatewayCommandGroup",data:{id:this.getCommandId,name:"Command",command:"RemoveRoute",arguments:[{type:"string",name:"RouteID",value:t}]}};var r="/api/gateway/";if(this.parentKlass&&this.parentKlass===a.Gateway&&(r+="".concat(this.parentId,"/command")),this.parentKlass&&this.parentKlass===a.Relay){var i=this.getRelay(this.parentId);r=i?r+"".concat(i.parentId,"/relay/").concat(this.parentId,"/command"):r+"".concat(this.parentId,"/command")}G()({url:r,method:"POST",baseURL:this.getAPIBaseUrl,data:n}).then((function(t){e.addNotify({type:"info",message:"Command successfully sent..."}),e.closeThisModal()})).catch((function(t){var n="Command NOT sent: "+t.message;e.addNotify({type:"error",message:n}),console.error(t.message)}))}},{key:"routes",get:function(){return this.targetId?this.getRelayRoutes(this.targetId):this.getGatewayRoutes}},{key:"getCommandId",get:function(){var t=this.targetId?"RELAY":"GATEWAY",e=this.getCapabilityFor("Command",t);if(e){var n=e.commands.find((function(t){return"RemoveRoute"===t.name}));return n.id}return""}},{key:"relay",get:function(){var t=this.getRelay(this.targetId);return t||this.closeThisModal(),t}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"parentId",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"parentKlass",void 0),Object(h["a"])([F.Getter],t.prototype,"getRelay",void 0),Object(h["a"])([F.Getter],t.prototype,"getGatewayRoutes",void 0),Object(h["a"])([F.Getter],t.prototype,"getRelayRoutes",void 0),Object(h["a"])([U.Getter],t.prototype,"getCapabilityFor",void 0),Object(h["a"])([B.Getter],t.prototype,"getAPIBaseUrl",void 0),t=Object(h["a"])([f["a"]],t),t}(),V=$,K=V,z=(n("890d"),n("2877")),H=Object(z["a"])(K,T,N,!1,null,"4f91561c",null),Z=H.exports,Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.channels.length||t.displayEmpty?n("div",{staticClass:"c3InterfaceList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.channels.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.channels,(function(e){return n("tr",{key:e.id,on:{click:function(n){return t.openModal(e.uid,e.klass)}}},[n("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),n("td",[t._v(t._s(t.interfaceTypeName(e)))]),n("td",[t._v(t._s(t.interfaceType(e)))])])})),0)])]:t.displayEmpty?[t._v(" No channels found... ")]:t._e()],2):t._e()},J=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Channel ID")]),n("th",[t._v("Name")]),n("th",[t._v("Channel Type")])])])}];function X(t){var e=W();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function W(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var q=Object(p["a"])("c3Module"),Q=function(){var t=function(t){Object(l["a"])(n,t);var e=X(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"channels",get:function(){return this.targetId?this.getInterfacesFor(a.Channel,this.targetId):this.getInterfacesFor(a.Channel,null)}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([q.Getter],t.prototype,"getInterfacesFor",void 0),t=Object(h["a"])([f["a"]],t),t}(),tt=Q,et=tt,nt=(n("1956"),Object(z["a"])(et,Y,J,!1,null,"f4969ade",null)),at=nt.exports,rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.peripherals.length||t.displayEmpty?n("div",{staticClass:"c3InterfaceList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.peripherals.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.peripherals,(function(e){return n("tr",{key:e.id,on:{click:function(n){return t.openModal(e.uid,e.klass)}}},[n("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),n("td",[t._v(t._s(t.interfaceTypeName(e)))])])})),0)])]:t.displayEmpty?[t._v(" No peripherals found... ")]:t._e()],2):t._e()},it=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Peripheral ID")]),n("th",[t._v("Name")])])])}];function ot(t){var e=st();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function st(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ct=Object(p["a"])("c3Module"),lt=function(){var t=function(t){Object(l["a"])(n,t);var e=ot(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"peripherals",get:function(){return this.targetId?this.getInterfacesFor(a.Peripheral,this.targetId):this.getInterfacesFor(a.Peripheral,null)}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([ct.Getter],t.prototype,"getInterfacesFor",void 0),t=Object(h["a"])([f["a"]],t),t}(),ut=lt,dt=ut,ht=(n("5ae9"),Object(z["a"])(dt,rt,it,!1,null,"0686e7da",null)),ft=ht.exports;function pt(t){var e=gt();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function gt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var yt=Object(p["a"])("c3Module"),mt=function(){var t=function(t){Object(l["a"])(n,t);var e=pt(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"relay",get:function(){var t=this.getRelay(this.targetId);return t||this.closeThisModal(),t}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([yt.Getter],t.prototype,"getRelay",void 0),t=Object(h["a"])([Object(f["a"])({components:{RouteList:Z,ChannelList:at,PheripheralList:ft}})],t),t}(),vt=mt,bt=vt,wt=(n("3f41"),Object(z["a"])(bt,_,R,!1,null,null,null)),Ct=wt.exports,Ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==t.c3Command?n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-details"},[n("h1",[t._v(" Command Details ")]),n("table",{staticClass:"datatable"},[t._m(0),n("tbody",[n("tr",{on:{click:function(e){t.openModal(t.InterfaceUID(t.c3Command),t.commandType(t.c3Command))}}},[n("td",[n("span",{staticClass:"c3tab-pending",class:t.isCommandPending(t.c3Command)}),t._v(" "+t._s(t.c3Command.id)+" ")]),n("td",[t._v(" "+t._s(t.isCommandPending(t.c3Command,!0))+" ")]),n("td",{staticClass:"hover-link command-for"},[t._v(" "+t._s(t.commandType(t.c3Command).toLowerCase())+" ")]),n("td",[t._v(" "+t._s(t.commandTypeId(t.c3Command))+" ")])])])]),n("pre",{staticClass:"c3command"},[t._v(t._s(JSON.stringify(t.c3Command,null,4)))])])]):t._e()},kt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Command ID")]),n("th",[t._v("Status")]),n("th",[t._v("Command for")]),n("th",[t._v("ID")])])])}];function jt(t){var e=It();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function It(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var xt=Object(p["a"])("c3CommandModule"),_t=function(){var t=function(t){Object(l["a"])(n,t);var e=jt(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"InterfaceUID",value:function(t){return t.interfaceId?t.relayAgentId?t.interfaceId+"-"+t.relayAgentId:t.interfaceId+"-"+this.gateway.id:t.relayAgentId?t.relayAgentId:this.gateway.id}},{key:"c3Command",get:function(){var t=this.getCommand(this.targetId);return t||(this.closeThisModal(),this.addNotify({type:"error",message:"The Commandyou looking for: ".concat(this.targetId,", not exist.")})),t}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([xt.Getter],t.prototype,"getCommand",void 0),t=Object(h["a"])([f["a"]],t),t}(),Rt=_t,Tt=Rt,Nt=(n("2a30"),Object(z["a"])(Tt,Ot,kt,!1,null,"3748fed6",null)),Pt=Nt.exports,Gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return null!==t.gateway?n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-header",class:{"has-error":!!t.gateway.error}},[n("h1",[t._v(" Gateway: "),n("span",[t._v(" "+t._s(t.gateway.name)+" / "+t._s(t.gateway.id))])]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"details"},[n("p",[t._v(" Build ID "),n("span",[t._v(t._s(t.gateway.buildId))])]),n("p",[t._v(" Start time "),n("span",[t._v(t._s(t.unixTimeToString(t.gateway.timestamp)))])])]),n("div",{staticClass:"actions"},[n("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return t.openModal("","CREATE_RELAY")}}},[t._v(" New Relay ")])])]),t.gateway.error&&""!==t.gateway.error?n("p",{staticClass:"message-with-icon"},[n("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.gateway.error)+" ")]):t._e(),n("div",{staticClass:"flex-row"},[n("NetworkStats",{staticStyle:{width:"250px"}}),n("div",{staticClass:"actions"},[n("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.gateway.id,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])],1)]),n("div",{staticClass:"c3modal-details"},[n("ChannelList",{attrs:{"target-id":null,title:"Channels","show-empty":!0}}),n("PheripheralList",{attrs:{"target-id":null,title:"Peripherals","show-empty":!0}}),n("ConnectorList",{attrs:{title:"Connectors","show-empty":!0}}),n("RouteList",{attrs:{"target-id":null,"parent-id":t.gateway.id,"parent-klass":"GATEWAY",title:"Routes","show-empty":!0}})],1)]):t._e()},Dt=[],Lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3Stats"},[n("p",[n("span",[t._v("Relays")]),n("span",[t._v(t._s(t.countRelays))])]),n("p",[n("span",[t._v("Channels")]),n("span",[t._v(t._s(t.countChannels))])]),n("p",[n("span",[t._v("Connectors")]),n("span",[t._v(t._s(t.countConnectors))])]),n("p",[n("span",[t._v("Peripherals")]),n("span",[t._v(t._s(t.countPheripherals))])]),n("p",[n("span",[t._v("URL")]),n("span",[t._v(t._s(t.url))])]),n("p",[n("span",[t._v("Port")]),n("span",[t._v(t._s(t.port))])])])},Mt=[];function Et(t){var e=At();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function At(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var St=Object(p["a"])("c3Module"),Ft=Object(p["a"])("optionsModule"),Ut=function(){var t=function(t){Object(l["a"])(n,t);var e=Et(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"url",get:function(){return this.getAPIUrl}},{key:"port",get:function(){return this.getAPIPort}},{key:"refreshInterval",get:function(){return this.getRefreshInterval}},{key:"countRelays",get:function(){return this.getRelays.length}},{key:"countChannels",get:function(){return this.getInterfaces([a.Channel]).length}},{key:"countConnectors",get:function(){return this.getInterfaces([a.Connector]).length}},{key:"countPheripherals",get:function(){return this.getInterfaces([a.Peripheral]).length}}]),n}(Object(f["b"])(x));return Object(h["a"])([St.Getter],t.prototype,"getRelays",void 0),Object(h["a"])([St.Getter],t.prototype,"getInterfaces",void 0),Object(h["a"])([Ft.Getter],t.prototype,"getAPIUrl",void 0),Object(h["a"])([Ft.Getter],t.prototype,"getAPIPort",void 0),Object(h["a"])([Ft.Getter],t.prototype,"getRefreshInterval",void 0),t=Object(h["a"])([f["a"]],t),t}(),Bt=Ut,$t=Bt,Vt=(n("c1fb"),Object(z["a"])($t,Lt,Mt,!1,null,"b5131632",null)),Kt=Vt.exports,zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.connectors.length||t.displayEmpty?n("div",{staticClass:"c3InterfaceList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.connectors.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.connectors,(function(e){return n("tr",{key:e.id,on:{click:function(n){return t.openModal(e.uid,e.klass)}}},[n("td",{staticClass:"c3link"},[t._v(t._s(e.id))]),n("td",[t._v(t._s(t.interfaceTypeName(e)))])])})),0)])]:t.displayEmpty?[t._v(" No connectors found... ")]:t._e()],2):t._e()},Ht=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Connector ID")]),n("th",[t._v("Name")])])])}];function Zt(t){var e=Yt();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Jt=Object(p["a"])("c3Module"),Xt=function(){var t=function(t){Object(l["a"])(n,t);var e=Zt(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"connectors",get:function(){return this.getInterfacesFor(a.Connector,null)}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Jt.Getter],t.prototype,"getInterfacesFor",void 0),t=Object(h["a"])([f["a"]],t),t}(),Wt=Xt,qt=Wt,Qt=(n("c28f"),Object(z["a"])(qt,zt,Ht,!1,null,"5ea1cc30",null)),te=Qt.exports,ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-details"},[t.isNotEmbeded?n("h1",[t._v(" Create Command for: "+t._s(t.currentItem.klass)+" - "+t._s(t.currentItem.name)+" "+t._s(t.interfaceTypeName(t.currentItem))+"/ "+t._s(t.currentItem.id)+" ")]):t._e(),n("div",{staticClass:"c3command-group"},[n("Select",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"form-element",attrs:{legend:"Select Command Group",selected:t.selectedCommandGroup,options:t.commandGroupOptions,border:!0},on:{change:function(e){return t.changeCommandGroup(e,t.commandGroup)}}}),n("Select",{staticClass:"form-element",attrs:{legend:"Select Command",selected:t.selectedCommandTarget,options:t.commandTargetOptions,border:!0},on:{change:function(e){return t.changeCommandTarget(e,t.commandTarget)}}})],1),void 0!==t.selectedInterface&&void 0!==t.selectedCommand?n("GeneralForm",{key:t.selectedInterface+t.selectedCommand+t.selectedCommand,attrs:{klass:t.selectedInterfaceKlass,"interface-name":t.selectedInterface,command:t.selectedCommand,"target-id":t.targetId,target:t.selectedInterface,options:t.argumentOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}}):t._e(),t.isNotEmbeded?n("dir",{staticClass:"flex-row c3modal-actions"},[n("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),n("button",{staticClass:"c3btn",attrs:{disabled:t.formIsValid},on:{click:function(e){return t.sendCommand()}}},[t._v(" Send Command ")])]):t._e()],1)])},ne=[],ae=(n("28a5"),n("ac6a"),n("456d"),n("761a")),re=n.n(ae),ie=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3input-wrapper"},[t.hasHelp?n("span",{staticClass:"icon help"},[n("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),t.random?n("span",{staticClass:"icon random",on:{click:function(e){return e.target!==e.currentTarget?null:t.onClickRandom(e)}}}):t._e(),n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputText,expression:"inputText"},{name:"validate",rawName:"v-validate",value:t.validate,expression:"validate"}],ref:"textinput",staticClass:"c3input-input",class:{dirty:t.isDirty},attrs:{type:"text",disabled:t.isDisabled,name:t.inputUID,autocomplete:t.autocomplete},domProps:{value:t.inputText},on:{change:t.changeInputText,focus:function(e){return t.gainFocus()},blur:function(e){return t.lostFocus()},input:function(e){e.target.composing||(t.inputText=e.target.value)}}},"input",t.$attrs,!1)),n("label",{staticClass:"c3input-label",class:{dirty:t.isDirty},on:{click:function(e){return e.target!==e.currentTarget?null:t.clickOnLabel()}}},[t._v(" "+t._s(t.legend)+" ")]),n("span",{staticClass:"error-message"},[t._v(t._s(t.errors.first(t.inputUID)))])])},oe=[];function se(t){var e=ce();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var le=function(){var t=function(t){Object(l["a"])(n,t);var e=se(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"hasHelp",get:function(){return!!this.help}},{key:"isDisabled",get:function(){return!!this.disabled}},{key:"inputUID",get:function(){return this.name?this.name:Math.random().toString(36).substring(2)}}]),n}(r["a"]);return Object(h["a"])([Object(f["c"])()],t.prototype,"help",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"name",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"legend",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"disabled",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"autocomplete",void 0),t=Object(h["a"])([f["a"]],t),t}(),ue=le;function de(t){var e=he();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function he(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var fe=function(){var t=function(t){Object(l["a"])(n,t);var e=de(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.focused=!1,t.inputText=t.getValue,t.intervalTimer=null,t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.changeInputText(),window.addEventListener("inputkeypress",this.handleEnterAndTabKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("inputkeypress",this.handleEnterAndTabKeyDown,!0)}},{key:"gainFocus",value:function(){this.focused=!0,this.intervalTimer=setInterval(this.changeInputText,500)}},{key:"lostFocus",value:function(){this.focused=!1,clearInterval(this.intervalTimer),this.changeInputText()}},{key:"clickOnLabel",value:function(){this.$refs.textinput.focus()}},{key:"changeInputText",value:function(){var t=this;this.$validator.verify(this.$refs.textinput.value,this.validate).then((function(e){var n=e.valid;t.$emit("change",{value:t.inputText,valid:n})}))}},{key:"handleEnterAndTabKeyDown",value:function(t){13!==t.keyCode&&9!==t.keyCode||this.changeInputText()}},{key:"rand",value:function(t){return t<1&&(t=1),t>10&&(t=10),Math.random().toString(36).substring(2).substr(0,t)}},{key:"onClickRandom",value:function(){var t=this;this.inputText=this.rand(parseInt(this.random,10)),this.$validator.validate().then((function(e){t.changeInputText()}))}},{key:"getValue",get:function(){return""!==this.value&&void 0!==this.value||!this.random?this.value||"":this.rand(parseInt(this.random,10))}},{key:"isDirty",get:function(){return!!this.value||!!this.inputText}}]),n}(Object(f["b"])(x,ue));return Object(h["a"])([Object(f["c"])()],t.prototype,"value",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"random",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"validate",void 0),t=Object(h["a"])([Object(f["a"])({$_veeValidate:{validator:"new"}})],t),t}(),pe=fe,ge=pe,ye=(n("6856"),Object(z["a"])(ge,ie,oe,!1,null,"0d08badc",null)),me=ye.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3select",class:{disabled:t.isDisabled}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"c3select-close",on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}}),n("div",{staticClass:"c3select-select"},[n("span",{staticClass:"c3select-selected",class:{"c3select-border":t.hasBorder},on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}},[t._v(" "+t._s(t.selectedValue)+" ")]),t.legend?n("span",{staticClass:"c3select-legend"},[t._v(" "+t._s(t.legend)+" ")]):t._e(),n("span",{staticClass:"c3select-icon icon",class:t.dropDownIcon,on:{click:function(e){return e.target!==e.currentTarget?null:t.toggleSelect()}}})]),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"c3select-options",class:{"c3select-direction-up":t.directionReverse},style:t.selectUlStyle},t._l(t.options,(function(e,a){return n("li",{key:a,staticClass:"c3select-option",class:{selected:t.isSelected(a)},on:{click:function(e){return e.target!==e.currentTarget?null:t.selectAndClose(a)}}},[t._v(" "+t._s(e)+" ")])})),0)])},be=[];function we(t){var e=Ce();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Oe=function(){var t=function(t){Object(l["a"])(n,t);var e=we(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.isOpen=!1,t.hasBorder=t.border||!1,t.directionReverse=t.up||!1,t.selectRef=Math.random().toString(36).substring(2),t.selectUlStyle="",t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.up||this.calculateSelectUlOffset()}},{key:"isSelected",value:function(t){return this.selected===t?"selected":""}},{key:"toggleSelect",value:function(){this.calculateSelectUlOffset(),this.isDisabled||(this.isOpen=!this.isOpen)}},{key:"selectAndClose",value:function(t){"validated"===this.feedback?this.$emit("change",{value:t,valid:!0}):this.$emit("change",t),this.toggleSelect()}},{key:"calculateSelectUlOffset",value:function(){var t=this.$el.getBoundingClientRect(),e=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;this.directionReverse?this.selectUlStyle="position: fixed; margin-bottom: -31px; bottom: calc(100vh - ".concat(t.top+n,"px);")+" left: ".concat(t.left+e,"px; width: ").concat(t.width,"px;"):this.selectUlStyle="position: fixed; margin-top: 31px; top: ".concat(t.top+n,"px;")+" left: ".concat(t.left+e,"px; width: ").concat(t.width,"px;")}},{key:"dropDownIcon",get:function(){return this.isOpen?"carrotup":"carrotdown"}},{key:"selectedValue",get:function(){var t=this,e="";return Object.keys(this.options).forEach((function(n){t.selected===n&&(e=t.options[n])})),e}}]),n}(Object(f["b"])(x,ue));return Object(h["a"])([Object(f["c"])()],t.prototype,"up",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"legend",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"border",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"selected",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"options",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"feedback",void 0),t=Object(h["a"])([f["a"]],t),t}(),ke=Oe,je=ke,Ie=(n("e813"),Object(z["a"])(je,ve,be,!1,null,"893eea00",null)),xe=Ie.exports,_e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3form"},[t._l(t.argumentsArray,(function(e){return n(t.getFieldType(e),t._b({key:e.id,tag:"component",attrs:{legend:e.name,validate:e.validation,name:e.name,random:e.randomize,value:t.setDefaultValue(e.name,e.defaultValue),help:e.description,autocomplete:"off",border:"ture",options:e.options,selected:e.selected,feedback:e.feedback},on:{change:function(n){return t.onChange(n,e.id)}}},"component",e,!1))})),t._l(t.argumentObjects,(function(e){return n(t.getFieldType(e),t._b({key:e.id,tag:"component",attrs:{legend:e.name,validate:e.validation,random:e.randomize,name:e.name,value:t.setDefaultValue(e.name,e.defaultValue),help:e.description,autocomplete:"off",border:"ture",options:e.options,selected:e.selected,feedback:e.feedback},on:{change:function(n){return t.onChange(n,e.id)}}},"component",e,!1))}))],2)},Re=[],Te=(n("20d6"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3checkbox-wrapper"},[t.hasHelp?n("span",{staticClass:"icon help"},[n("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),n("label",{staticClass:"icon checkbox",class:t.getIconKlass,attrs:{for:t.inputUID}},[t._v(" "+t._s(t.legend)+" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.isChecked,expression:"isChecked"}],ref:"booleanCheckbox",attrs:{type:"checkbox",value:"None",id:t.inputUID,name:t.inputUID,"true-value":"true","false-value":"false",disabled:t.disabled,autocomplete:t.autocomplete},domProps:{checked:Array.isArray(t.isChecked)?t._i(t.isChecked,"None")>-1:t._q(t.isChecked,"true")},on:{change:[function(e){var n=t.isChecked,a=e.target,r=a.checked?"true":"false";if(Array.isArray(n)){var i="None",o=t._i(n,i);a.checked?o<0&&(t.isChecked=n.concat([i])):o>-1&&(t.isChecked=n.slice(0,o).concat(n.slice(o+1)))}else t.isChecked=r},t.toogleCheckBox]}})])])}),Ne=[];function Pe(t){var e=Ge();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ge(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var De=function(){var t=function(t){Object(l["a"])(n,t);var e=Pe(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.isChecked=t.getIsChecked,t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.toogleCheckBox()}},{key:"toogleCheckBox",value:function(){var t="true"===this.isChecked;this.$emit("change",{value:t,valid:!0})}},{key:"getIconKlass",get:function(){var t="true"===this.isChecked?"-on":"-off",e=this.isDisabled?"--disabled":"";return"checkbox".concat(t).concat(e)}},{key:"getIsChecked",get:function(){return this.value&&"boolean"===typeof this.value&&!0===this.value?"true":"false"}}]),n}(Object(f["b"])(x,ue));return Object(h["a"])([Object(f["c"])()],t.prototype,"value",void 0),t=Object(h["a"])([f["a"]],t),t}(),Le=De,Me=Le,Ee=(n("76d6"),Object(z["a"])(Me,Te,Ne,!1,null,"40202deb",null)),Ae=Ee.exports,Se=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3textarea"},[t.hasHelp?n("span",{staticClass:"icon help"},[n("div",{staticClass:"help-text"},[t._v(" "+t._s(t.help)+" ")])]):t._e(),n("div",{staticClass:"textarea",class:{focus:t.focused}},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.dataText,expression:"dataText"}],ref:"textareainput",staticClass:"c3textarea-input",class:{focus:t.focused},attrs:{rows:"5",cols:"33",type:"checkbox",id:t.inputUID,name:t.inputUID,disabled:t.disabled,autocomplete:t.autocomplete},domProps:{value:t.dataText},on:{input:[function(e){e.target.composing||(t.dataText=e.target.value)},t.updateTextarea],focus:function(e){t.focused=!0},blur:function(e){return t.lostFocus()}}}),n("label",{staticClass:"c3textarea-label",class:{dirty:t.isDirty,focus:t.focused},on:{click:function(e){return e.target!==e.currentTarget?null:t.clickOnLabel()}}},[t._v(" "+t._s(t.legend)+" ")]),t._m(0)]),n("input",{ref:"fileinput",staticStyle:{visibility:"hidden"},attrs:{id:"payload-file",type:"file"},on:{change:t.updateTextfield}})])},Fe=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"c3textarea-upload-button",attrs:{for:"payload-file"}},[n("span",{staticClass:"icon upload"},[n("div",{staticClass:"help-text"},[t._v(" Select file to upload... ")])])])}];function Ue(t){var e=Be();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Be(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var $e=function(){var t=function(t){Object(l["a"])(n,t);var e=Ue(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.dataText="",t.focused=!1,t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.updateTextarea()}},{key:"created",value:function(){this.value!==this.dataText&&""===this.dataText&&(this.dataText=this.value),this.updateTextarea()}},{key:"lostFocus",value:function(){this.focused=!1,this.updateTextarea()}},{key:"updateTextarea",value:function(){this.$emit("change",{value:this.dataText,valid:!0})}},{key:"clickOnLabel",value:function(){this.$refs.textareainput.focus()}},{key:"updateTextfield",value:function(){var t,e=this,n=new FileReader,a=this.$refs.fileinput;n.readAsDataURL(a.files[0]),n.onload=function(){t=n.result,"string"===typeof t&&(t=t.replace(/^data:(.*;base64,)?/,"")),e.dataText=t,e.updateTextarea();try{e.$refs.fileinput.value="",e.$refs.fileinput.value&&(e.$refs.fileinput.type="text",e.$refs.fileinput.type="file")}catch(a){console.error("Error during input element reset.")}}}},{key:"isDirty",get:function(){return!!this.value||!!this.dataText}}]),n}(Object(f["b"])(x,ue));return Object(h["a"])([Object(f["c"])()],t.prototype,"value",void 0),t=Object(h["a"])([f["a"]],t),t}(),Ve=$e,Ke=Ve,ze=(n("794d"),Object(z["a"])(Ke,Se,Fe,!1,null,"0828628d",null)),He=ze.exports;function Ze(t){var e=Ye();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ye(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Je=Object(p["a"])("c3Capability"),Xe=(Object(p["a"])("c3Module"),function(){var t=function(t){Object(l["a"])(n,t);var e=Ze(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.isValid=!1,t.argumentsArray=[],t.argumentObjects=[],t}return Object(c["a"])(n,[{key:"getFieldType",value:function(t){switch(t.type){case"boolean":return"CheckBox";case"base64":return"Textarea";case"base32":return"Textarea";case"binary":return"Textarea"}return"Input"}},{key:"onChange",value:function(t,e){this.isValid=!0;var n=this.argumentsArray.findIndex((function(t){return t.id===e}));n>-1&&(this.argumentsArray[n].value=t.value,this.argumentsArray[n].isValid=t.valid),n=this.argumentObjects.findIndex((function(t){return t.id===e})),n>-1&&(this.argumentObjects[n].value=t.value,this.argumentObjects[n].isValid=t.valid),this.emitFormData()}},{key:"emitFormData",value:function(){this.isValid=!0;var t=[this.clearArray(this.argumentsArray)];this.clearArray(this.argumentObjects).forEach((function(e){t.push(e)}));var e=this.isValid;this.$emit("change",{data:t,valid:e})}},{key:"mounted",value:function(){this.getCommandFrom(),this.emitFormData()}},{key:"clearArray",value:function(t){var e=this,n=[];return t&&t.forEach((function(t){t.isValid||(e.isValid=!1);var a=t.type,r=t.name,i=t.value;n.push({type:a,name:r,value:i})})),n}},{key:"getValidationRule",value:function(t){var e="";return t.type&&"ip"===t.type&&(e="ip|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e="numeric|",t.min||"uint16"!==t.type||(e+="min_value:0|")),t.type&&"boolean"===t.type&&(e=""),t.min&&parseInt(t.min,10)>0&&(t.type&&"string"===t.type&&(e=e+"min:"+t.min+"|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e=e+"min_value:"+t.min+"|"),e+="required|"),t.max&&t.min&&parseInt(t.max,10)>=parseInt(t.min,10)&&(t.type&&"string"===t.type&&(e=e+"max:"+t.max+"|"),!t.type||"int16"!==t.type&&"uint16"!==t.type||(e=e+"max_value:"+t.max+"|")),e}},{key:"getRandomLenght",value:function(t){if(t.randomize&&!0===t.randomize||"true"===t.randomize){if(t.min&&parseInt(t.min,10)>0)return parseInt(t.min,10);t.randomize=8}}},{key:"getCrossArgumentOption",value:function(t){var e="Input ID"===t?"Output ID":"Input ID";if(this.hasOptions){var n=this.options.find((function(t){return t.name===e}));if(n)return n.value}return!1}},{key:"getArgumentOption",value:function(t){if(this.hasOptions){var e=this.options.find((function(e){return e.name===t}));if(e)return e.value}return!1}},{key:"setDefaultValue",value:function(t,e){var n=e;if(this.hasOptions){var a=this.options.find((function(e){return t===e.name}));if(a)return a.value}return n}},{key:"setArgumentData",value:function(t){return t.validation=this.getValidationRule(t),t.id=Math.random().toString(36).substring(2),this.getRandomLenght(t)&&(t.randomize=this.getRandomLenght(t)),t.value={value:"",valid:!1},t}},{key:"getCommandFrom",value:function(){var t=this;if(this.capability&&this.capability.commands&&this.capability.commands.length>0){var e=this.capability.commands.find((function(e){return e.name===t.command}));void 0!==e&&e.arguments?(this.argumentsArray=[],this.argumentObjects=[],e.arguments.forEach((function(e){Array.isArray(e)?(e.forEach((function(e){e=t.setArgumentData(e)})),t.argumentsArray=e):(e=t.setArgumentData(e),t.argumentObjects.push(e))}))):this.addNotify({type:"info",message:"Command not set up correctly, Form can't be generated."})}return!1}},{key:"capability",get:function(){return this.getCapabilityFor(this.interfaceName,this.klass)}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"command",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"target",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"klass",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"interfaceName",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"options",void 0),Object(h["a"])([Je.Getter],t.prototype,"getCapabilityFor",void 0),Object(h["a"])([Je.Getter],t.prototype,"getTypeNameForInterface",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,Textarea:He,CheckBox:Ae}})],t),t}()),We=Xe,qe=We,Qe=(n("e1b5"),Object(z["a"])(qe,_e,Re,!1,null,null,null)),tn=Qe.exports;function en(t){var e=nn();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function nn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var an=Object(p["a"])("c3Module"),rn=Object(p["a"])("c3Capability"),on=Object(p["a"])("optionsModule"),sn=function(){var t=function(t){Object(l["a"])(n,t);var e=en(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.formData={},t.isValid=!1,t.commandGroup="",t.commandTarget="",t.formDirty=!1,t}return Object(c["a"])(n,[{key:"mounted",value:function(){var t=this;if(window.addEventListener("keydown",this.handleGlobalKeyDown,!0),this.hasOptions&&this.options.formDefault){var e=Object.keys(this.commandTargetOptions).find((function(e){return!(!t.options||!t.options.formDefault)&&t.commandTargetOptions[e]===t.options.formDefault.prefix+t.options.formDefault.interface}));e&&(this.commandTarget=e)}}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"resetForm",value:function(){this.commandTarget=""}},{key:"changeForm",value:function(t){if(this.isValid=t.valid,1===t.data.length&&0===t.data[0].length?this.formData=[]:(0===t.data[0].length&&t.data.shift(),this.formData=t.data),"new"===this.targetId){var e={name:this.selectedCommandGroup,data:{id:this.getCommandId,name:this.selectedInterface,command:this.selectedCommand,arguments:this.formData}};this.$emit("change",{data:e,valid:this.isValid})}}},{key:"changeCommandGroup",value:function(t){this.commandGroup=t}},{key:"changeCommandTarget",value:function(t){this.isValid=!0,this.commandTarget=t}},{key:"sendCommand",value:function(){var t=this,e={name:this.selectedCommandGroup,data:{id:this.getCommandId,name:this.selectedInterface,command:this.selectedCommand,arguments:this.formData}},n="/api/gateway/";if(this.currentItem&&this.currentItem.klass===a.Gateway&&(n+="".concat(this.currentItem.id,"/command")),this.currentItem&&this.currentItem.klass===a.Relay&&(n+="".concat(this.currentItem.parentId,"/relay/").concat(this.currentItem.id,"/command")),this.currentItem&&this.currentItem.klass===a.Channel||this.currentItem&&this.currentItem.klass===a.Peripheral||this.currentItem&&this.currentItem.klass===a.Connector){if(this.currentItem.parentKlass===a.Gateway)switch(this.currentItem.klass){case a.Channel:n+="".concat(this.currentItem.parentId,"/channel/").concat(this.currentItem.id,"/command");break;case a.Peripheral:n+="".concat(this.currentItem.parentId,"/peripheral/").concat(this.currentItem.id,"/command");break;case a.Connector:n+="".concat(this.currentItem.parentId,"/connector/").concat(this.currentItem.id,"/command");break}if(this.currentItem.parentKlass===a.Relay)switch(this.currentItem.klass){case a.Channel:n+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/channel/").concat(this.currentItem.id,"/command");break;case a.Peripheral:n+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/peripheral/").concat(this.currentItem.id,"/command");break;case a.Connector:n+="".concat(this.gateway.id,"/relay/").concat(this.currentItem.parentId,"/connector/").concat(this.currentItem.id,"/command");break}}G()({url:n,method:"POST",baseURL:this.getAPIBaseUrl,data:e}).then((function(e){t.addNotify({type:"info",message:"Command successfully sent..."}),t.closeThisModal()})).catch((function(e){var n="Command NOT sent: "+e.message;t.addNotify({type:"error",message:n}),console.error(e.message)}))}},{key:"formIsValid",get:function(){return!this.isValid}},{key:"currentItem",get:function(){return this.getInterface(this.targetId)}},{key:"selectedCommandGroup",get:function(){return this.commandGroup?(this.resetForm(),this.commandGroup):this.defaultCommandGroup}},{key:"selectedCommandTarget",get:function(){return this.commandTarget?this.commandTarget:this.defaultCommandTarget}},{key:"defaultCommandGroup",get:function(){return void 0!==this.options&&void 0!==this.options.targetGroup?this.options.targetGroup:this.commandGroupOptions?Object.keys(this.commandGroupOptions)[0]:""}},{key:"defaultCommandTarget",get:function(){return this.commandTargetOptions?(this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]),Object.keys(this.commandTargetOptions)[0]):""}},{key:"commandGroupOptions",get:function(){return this.currentItem?this.getCommandGroupFor(this.currentItem.klass):""}},{key:"commandTargetOptions",get:function(){return this.currentItem?this.currentItem.klass===a.Gateway||this.currentItem.klass===a.Relay?this.getCommandTargetFor(this.selectedCommandGroup,this.currentItem.klass):this.getCommandTargetFor(this.selectedCommandGroup,this.currentItem.klass,this.interfaceTypeName(this.currentItem)):""}},{key:"selectedInterfaceKlass",get:function(){return void 0!==this.commandTarget?re.a.singular(this.commandTarget.split("_")[0]).toUpperCase():""}},{key:"selectedInterface",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[1]:""}},{key:"selectedCommand",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[2]:""}},{key:"getCommandId",get:function(){var t=this,e=this.getCapabilityFor(this.selectedInterface,this.selectedInterfaceKlass);if(e){var n=e.commands.find((function(e){return e.name===t.selectedCommand}));return n.id}return""}},{key:"isNotEmbeded",get:function(){return void 0===this.embeded||!0!==this.embeded}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}},{key:"argumentOptions",get:function(){return!(!this.hasOptions||!this.options.formDefault)&&this.options.formDefault.arguments}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"embeded",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"options",void 0),Object(h["a"])([an.Getter],t.prototype,"getInterface",void 0),Object(h["a"])([rn.Getter],t.prototype,"getCapabilityFor",void 0),Object(h["a"])([rn.Getter],t.prototype,"getCommandGroupFor",void 0),Object(h["a"])([rn.Getter],t.prototype,"getCommandTargetFor",void 0),Object(h["a"])([on.Getter],t.prototype,"getAPIBaseUrl",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,GeneralForm:tn}})],t),t}(),cn=sn,ln=cn,un=(n("e181"),Object(z["a"])(ln,ee,ne,!1,null,null,null)),dn=un.exports;function hn(t){var e=fn();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function fn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var pn=function(){var t=function(t){Object(l["a"])(n,t);var e=hn(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}}]),n}(Object(f["b"])(x));return t=Object(h["a"])([Object(f["a"])({components:{RouteList:Z,ChannelList:at,NetworkStats:Kt,ConnectorList:te,PheripheralList:ft,CommandCenterModal:dn}})],t),t}(),gn=pn,yn=gn,mn=Object(z["a"])(yn,Gt,Dt,!1,null,null,null),vn=mn.exports,bn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==t.c3Interface?n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-header",class:{"is-return":!!t.c3Interface.isReturnChannel,"has-error":!!t.c3Interface.error}},[n("h1",[n("span",{staticClass:"capitalize"},[t._v(t._s(t.c3Interface.klass.toLowerCase())+" ")]),t._v(" ID: "+t._s(t.c3Interface.id||"")+" ")]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"details"},[n("p",[t._v(" Parent "),n("span",{staticClass:"c3link capitalize"},[t._v(" "+t._s(t.c3Interface.parentKlass.toLowerCase())+" / "+t._s(t.c3Interface.parentId)+" ")])]),n("p",{staticClass:"capitalize"},[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" Type "),n("span",[t._v(" "+t._s(t.interfaceTypeName(t.c3Interface))+" ")])]),n("p",[t._v(" Jitter [min/max] "),n("span",[t._v(" "+t._s(t.getInterfaceJitter)+" ")])])]),n("div",{staticClass:"actions"},[t.showRelayDropdown?n("span",{staticClass:"c3modal-more-btn icon more"},[t._v(" INTERFACE OPTIONS ")]):t._e(),n("ul",{staticClass:"c3modal-menu"},[n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNewRelayButton,expression:"showNewRelayButton"}],staticClass:"c3modal-menu-item",on:{click:function(e){t.openModal(t.c3Interface.id,"CREATE_RELAY",t.generateOprions())}}},[t._v(" New Relay ")]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showConnectRelayButton,expression:"showConnectRelayButton"}],staticClass:"c3modal-menu-item",on:{click:function(e){t.openModal(t.c3Interface.uid,"CONNECT_RELAY",t.generateOprions())}}},[t._v(" Connect Relay ")])]),n("button",{staticClass:"c3btn c3btn--outline",on:{click:function(e){return t.openModal(t.c3Interface.uid,"COMMAND_CENTER")}}},[t._v(" Command Center ")])])]),t.c3Interface.error&&""!==t.c3Interface.error?n("p",{staticClass:"message-with-icon"},[n("span",{staticClass:"icon warning"}),t._v(" Error: "+t._s(t.c3Interface.error)+" ")]):t._e(),t.c3Interface.isReturnChannel&&"false"!==t.c3Interface.isReturnChannel?n("p",{staticClass:"message-with-icon"},[n("span",{staticClass:"icon return"}),t._v(" This is a Gateway Return Channel (GRC). ")]):t._e(),t.c3Interface.isNegotiationChannel&&"false"!==t.c3Interface.isNegotiationChannel?n("p",{staticClass:"message-with-icon"},[n("span",{staticClass:"icon exclamation"}),t._v(" This is a Negotiation Channel. ")]):t._e()]),n("div",{staticClass:"c3modal-details"},[""!==t.c3Interface.propertiesText?[n("h1",[t._v("Properties")]),n("pre",{staticClass:"c3command"},[t._v(t._s(t.c3Interface.propertiesText))])]:t._e()],2)]):t._e()},wn=[];n("4917"),n("8615");function Cn(t){var e=On();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function On(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var kn=Object(p["a"])("c3Module"),jn=function(){var t=function(t){Object(l["a"])(n,t);var e=Cn(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"showButtons",value:function(){return!(this.isReturnChannel()||!this.isChannel())}},{key:"isChannel",value:function(){return!!this.c3Interface&&this.c3Interface.klass===a.Channel}},{key:"isReturnChannel",value:function(){return!!this.c3Interface&&!0===this.c3Interface.isReturnChannel}},{key:"isNegotiationChannel",value:function(){return!!this.c3Interface&&!0===this.c3Interface.isNegotiationChannel}},{key:"getArguments",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return this.isChannel()&&t.propertiesText&&t.propertiesText.arguments?JSON.parse(JSON.stringify(t.propertiesText.arguments)):[]}},{key:"getArgumentsAttributes",value:function(t){return Array.isArray(t[0])?t[0]:[]}},{key:"getPropertiesArguments",value:function(t){var e=[];return Object.values(t).forEach((function(t){Array.isArray(t)||e.push(t)})),e}},{key:"getInterfaceParentId",value:function(){return this.c3Interface&&this.c3Interface.parentId?this.c3Interface.parentId:""}},{key:"generateSourceOptions",value:function(){return{relay:this.getRelay(this.getInterfaceParentId()),interface:this.c3Interface}}},{key:"changeInputOutputIDs",value:function(t){var e={name:"",type:"",value:""},n={name:"",type:"",value:""},a="";return t.length&&(e=t.find((function(t){return"Input ID"===t.name}))||"",n=t.find((function(t){return"Output ID"===t.name}))||""),a=n.value,n.value=e.value,e.value=a,t}},{key:"isNormalChannel",value:function(){var t=JSON.stringify(this.getArguments(this.c3Interface));return!!t.match(/Input ID/g)&&!!t.match(/Output ID/g)}},{key:"generateCommandCenterArguments",value:function(){var t=[],e=this.getArgumentsAttributes(this.getArguments(this.c3Interface));e.length>0&&(e=this.changeInputOutputIDs(e));var n=this.getPropertiesArguments(this.getArguments(this.c3Interface));return e.length&&e.forEach((function(e){t.push(e)})),n.length&&n.forEach((function(e){t.push(e)})),t}},{key:"getPrefix",value:function(){return this.isNormalChannel()?"AddChannel":this.isNegotiationChannel()?"AddNegotiationChannel":""}},{key:"getInterfaceTypeString",value:function(){return this.c3Interface?this.interfaceTypeName(this.c3Interface):""}},{key:"generateOprions",value:function(){return{formDefault:{prefix:this.getPrefix(),interface:this.getInterfaceTypeString(),arguments:this.generateCommandCenterArguments()},source:this.generateSourceOptions()}}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"c3Interface",get:function(){var t=this.getInterface(this.targetId);return t||this.closeThisModal(),t}},{key:"showRelayDropdown",get:function(){return this.showConnectRelayButton||this.showNewRelayButton}},{key:"showConnectRelayButton",get:function(){return this.showButtons()}},{key:"showNewRelayButton",get:function(){return this.showButtons()}},{key:"getInterfaceJitter",get:function(){return this.c3Interface?this.c3Interface.propertiesText.jitter:"[N/A, N/A]"}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([kn.Getter],t.prototype,"getRelay",void 0),Object(h["a"])([kn.Getter],t.prototype,"getInterface",void 0),Object(h["a"])([kn.Getter],t.prototype,"getNodeKlass",void 0),t=Object(h["a"])([f["a"]],t),t}(),In=jn,xn=In,_n=(n("a118"),Object(z["a"])(xn,bn,wn,!1,null,"33bc8b88",null)),Rn=_n.exports,Tn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-details"},[n("h1",[t._v("Relay Setup")]),n("p",[t._v("Please setup a Relay.")]),n("Input",{staticClass:"form-element",attrs:{legend:"Name / Auto Generated ID",help:"If you do not enter a name an ID will be automatically generated."},on:{change:function(e){return t.changeName(e,t.relayName)}}}),n("Input",{staticClass:"form-element",attrs:{legend:"Parent Gateway Build ID",value:t.gatewayBuildsId,disabled:!0}}),n("div",{staticClass:"form-row"},[n("Select",{staticClass:"form-element",attrs:{legend:"TargetSuffix",selected:t.selectedTargetSuffix,options:{dll:"dll",exe:"exe",shellcode:"shellcode"},border:!0},on:{change:function(e){return t.changeTargetSuffix(e,t.targetSuffix)}}}),n("Select",{staticClass:"form-element",attrs:{legend:"Architecture",selected:t.selectedArchitecture,options:{x86:"x86",x64:"x64"},border:!0},on:{change:function(e){return t.changeArchitecture(e,t.architecture)}}})],1),n("div",{staticClass:"c3modal-form"},[t.donutSelected?n("DonutForm",{on:{change:function(e){return t.changeDonutForm(e,t.formData)}}}):t._e()],1),n("div",{staticClass:"c3modal-form"},[n("h1",[t._v("Add Command")]),n("p",[t._v("Please Select the first command to the Relay.")]),n("CommandCenterModal",{staticClass:"embeded-modal",attrs:{"target-id":"new",embeded:!0,options:t.addNewRelayToOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}})],1),n("dir",{staticClass:"flex-row c3modal-actions"},[n("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),n("button",{staticClass:"c3btn c3btn",attrs:{disabled:t.formIsValid},on:{click:function(e){return t.createNewRelay()}}},[t._v(" Create and Download Relay ")])])],1)])},Nn=[],Pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"donut-form"},[n("h1",[t._v("Add Command")]),n("Select",{staticClass:"form-element line",attrs:{legend:"Format",selected:t.selectedFormat,options:{Binary:"Binary",Base64:"Base64",Ruby:"Ruby",C:"C",Python:"Python",Powershell:"Powershell",Csharp:"Csharp",HeX:"HeX"},border:!0},on:{change:function(e){return t.changeFormat(e,t.format)}}}),n("Select",{staticClass:"form-element half-line",attrs:{legend:"Compress",selected:t.selectedCompress,options:{None:"None",Aplib:"aPLib",Lznt1:"Lznt1",Xpress:"Xpress",Xpress_huff:"Xpress_huff"},border:!0},on:{change:function(e){return t.changeCompress(e,t.compress)}}}),n("Select",{staticClass:"form-element half-line",attrs:{legend:"Entropy",selected:t.selectedEntropy,options:{None:"None",Random:"Random",Default:"Default"},border:!0},on:{change:function(e){return t.changeEntropy(e,t.entropy)}}}),n("Select",{staticClass:"form-element half-line",attrs:{legend:"ExitOpt",selected:t.selectedExitOpt,options:{Exit_thread:"Exit_thread",Exit_process:"Exit_process"},border:!0},on:{change:function(e){return t.changeExitOpt(e,t.exitOpt)}}}),n("Select",{staticClass:"form-element half-line",attrs:{legend:"Bypass",selected:t.selectedBypass,options:{None:"None",Abort:"Abort",Continue:"Continue"},border:!0},on:{change:function(e){return t.changeBypass(e,t.bypass)}}})],1)},Gn=[];function Dn(t){var e=Ln();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ln(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Mn=function(){var t=function(t){Object(l["a"])(n,t);var e=Dn(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.format="Binary",t.compress="None",t.entropy="Default",t.exitOpt="Exit_thread",t.bypass="None",t}return Object(c["a"])(n,[{key:"changeFormat",value:function(t){this.format=t,this.emitDonut()}},{key:"changeCompress",value:function(t){this.compress=t,this.emitDonut()}},{key:"changeEntropy",value:function(t){this.entropy=t,this.emitDonut()}},{key:"changeExitOpt",value:function(t){this.exitOpt=t,this.emitDonut()}},{key:"changeBypass",value:function(t){this.bypass=t,this.emitDonut()}},{key:"emitDonut",value:function(){var t={format:this.format.toUpperCase(),compress:this.compress.toUpperCase(),entropy:this.entropy.toUpperCase(),exitOpt:this.exitOpt.toUpperCase(),bypass:this.bypass.toUpperCase()};this.$emit("change",t)}},{key:"mounted",value:function(){this.emitDonut()}},{key:"selectedFormat",get:function(){return this.format}},{key:"selectedCompress",get:function(){return this.compress}},{key:"selectedEntropy",get:function(){return this.entropy}},{key:"selectedExitOpt",get:function(){return this.exitOpt}},{key:"selectedBypass",get:function(){return this.bypass}}]),n}(f["d"]);return t=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],t),t}(),En=Mn,An=En,Sn=(n("ca65"),Object(z["a"])(An,Pn,Gn,!1,null,"2a2638f3",null)),Fn=Sn.exports;function Un(t){var e=Bn();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Bn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var $n=Object(p["a"])("c3Capability"),Vn=Object(p["a"])("optionsModule"),Kn=function(){var t=function(t){Object(l["a"])(n,t);var e=Un(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.formData={},t.relayName="",t.isValid=!1,t.targetSuffix="exe",t.architecture="x64",t.commandGroup="Relay",t.commandTarget="",t.donutSelected=!1,t.donutFormData={},t}return Object(c["a"])(n,[{key:"changeCommandTarget",value:function(t){this.isValid=!0,this.commandTarget=t}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeName",value:function(t){this.relayName=t.value}},{key:"changeForm",value:function(t){this.isValid=t.valid,this.formData=t.data}},{key:"changeDonutForm",value:function(t){this.donutFormData=t}},{key:"changeTargetSuffix",value:function(t){this.targetSuffix=t,this.donutSelected="shellcode"===this.targetSuffix?this.donutSelected=!0:this.donutSelected=!1}},{key:"changeArchitecture",value:function(t){this.architecture=t}},{key:"createNewRelay",value:function(){var t=this,e={type:this.selectedTargetSuffix,architecture:this.selectedArchitecture,parentGatewayBuildId:this.gatewayBuildsId,name:this.relayName,startupCommands:[this.formData],donut:this.donutFormData};G()({url:"/api/build/customize",method:"POST",baseURL:this.getAPIBaseUrl,data:e,responseType:"blob"}).then((function(e){var n="",a=new Blob([e.data],{type:e.data.type}),r=e.headers["content-disposition"],i=window.URL.createObjectURL(a),o=document.createElement("a");o.href=i,void 0!==r&&(n=r.split("filename=")[1].split(";")[0].replace(/%20/gi,"-")),"string"===typeof n&&""!==n||(n="relay.exe"),o.href=i,o.setAttribute("download",n),document.body.appendChild(o),o.click(),o.remove(),window.URL.revokeObjectURL(i),t.closeThisModal()})).catch((function(e){t.addNotify({type:"error",message:e.message}),console.error(e.message)}))}},{key:"formIsValid",get:function(){return!this.isValid}},{key:"selectedTargetSuffix",get:function(){return this.targetSuffix}},{key:"selectedArchitecture",get:function(){return this.architecture}},{key:"gatewayBuildsId",get:function(){return this.gateway.buildId?this.gateway.buildId:""}},{key:"selectedCommand",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[2]:""}},{key:"selectedCommandTarget",get:function(){return this.commandTarget?this.commandTarget:this.defaultCommandTarget}},{key:"commandTargetOptions",get:function(){return this.getCommandTargetFor("NewRelayCommandGroup",a.Relay)}},{key:"selectedCommandGroup",get:function(){return this.commandGroup?"":this.commandGroup}},{key:"selectedInterface",get:function(){return void 0!==this.commandTarget?this.commandTarget.split("_")[1]:""}},{key:"defaultCommandTarget",get:function(){return this.commandTargetOptions?(this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]),Object.keys(this.commandTargetOptions)[0]):""}},{key:"addNewRelayToOptions",get:function(){return{formDefault:this.options.formDefault,source:this.options.source,targetGroup:"NewRelayCommandGroup"}}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"options",void 0),Object(h["a"])([$n.Getter],t.prototype,"getCommandTargetFor",void 0),Object(h["a"])([$n.Getter],t.prototype,"getTypesForInterfaceKlass",void 0),Object(h["a"])([Vn.Getter],t.prototype,"getAPIBaseUrl",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,DonutForm:Fn,GeneralForm:tn,CommandCenterModal:dn}})],t),t}(),zn=Kn,Hn=zn,Zn=(n("4556"),Object(z["a"])(Hn,Tn,Nn,!1,null,null,null)),Yn=Zn.exports,Jn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-details"},[n("div",{staticClass:"c3modal-title-wrapper"},[n("h1",[t._v("Gateway Setup")]),n("span",{staticClass:"c3modal-config-link",on:{click:function(e){return t.openModal("","OPTIONS")}}},[t._v("EDIT CONFIG")])]),n("p",[t._v("Please setup a Gateway to begin using c3.")]),n("Input",{staticClass:"form-element",attrs:{legend:"Name / Auto Generated ID",help:"If you do not enter a name an ID will be automatically generated."},on:{change:function(e){return t.changeName(e,t.gatewayName)}}}),n("div",{staticClass:"form-row"},[n("Select",{staticClass:"form-element",attrs:{legend:"TargetSuffix",selected:t.selectedTargetSuffix,options:{exe:"exe"},border:!0},on:{change:function(e){return t.changeTargetSuffix(e,t.targetSuffix)}}}),n("Select",{staticClass:"form-element",attrs:{legend:"Architecture",selected:t.selectedArchitecture,options:{x86:"x86",x64:"x64"},border:!0},on:{change:function(e){return t.changeArchitecture(e,t.architecture)}}})],1),n("dir",{staticClass:"flex-row c3modal-actions"},[n("button",{directives:[{name:"show",rawName:"v-show",value:!1!==t.hasSelectedGateway,expression:"hasSelectedGateway !== false"}],staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),n("button",{staticClass:"c3btn c3btn pull-right",on:{click:function(e){return t.createNewGateway()}}},[t._v(" Create and download Gateway ")])])],1)])},Xn=[];function Wn(t){var e=qn();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function qn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Qn=Object(p["a"])("c3Module"),ta=Object(p["a"])("optionsModule"),ea=function(){var t=function(t){Object(l["a"])(n,t);var e=Wn(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.gatewayName="",t.targetSuffix="exe",t.architecture="x64",t}return Object(c["a"])(n,[{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeName",value:function(t){this.gatewayName=t.value}},{key:"changeTargetSuffix",value:function(t){this.targetSuffix=t}},{key:"changeArchitecture",value:function(t){this.architecture=t}},{key:"createNewGateway",value:function(){var t=this,e="/api/gateway/exe/".concat(this.architecture);this.gatewayName&&""!==this.gatewayName&&(e+="?name=".concat(this.gatewayName)),G()({url:e,method:"GET",baseURL:this.getAPIBaseUrl,responseType:"blob"}).then((function(e){var n=new Blob([e.data],{type:e.data.type}),a=window.URL.createObjectURL(n),r=document.createElement("a");r.href=a;var i=e.headers["content-disposition"],o="";void 0!==i&&(o=i.split("filename=")[1].split(";")[0].replace(/%20/gi,"-")),"string"===typeof o&&""!==o||(o="gateway.exe"),r.href=a,r.setAttribute("download",o),document.body.appendChild(r),r.click(),r.remove(),window.URL.revokeObjectURL(a),t.closeThisModal()})).catch((function(e){t.addNotify({type:"error",message:e.message}),console.error(e.message)}))}},{key:"selectedTargetSuffix",get:function(){return this.targetSuffix}},{key:"selectedArchitecture",get:function(){return this.architecture}},{key:"hasSelectedGateway",get:function(){return this.getGateways.length>0}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([Qn.Getter],t.prototype,"getGateways",void 0),Object(h["a"])([ta.Getter],t.prototype,"getAPIBaseUrl",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe}})],t),t}(),na=ea,aa=na,ra=Object(z["a"])(aa,Jn,Xn,!1,null,null,null),ia=ra.exports,oa=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-header"},[n("h1",[t._v("Source Relay & Interface")]),n("div",{staticClass:"flex-row"},[n("div",{staticClass:"details"},[n("p",[t._v(" Relay "),n("span",[t._v(" "+t._s(t.relay.name)+" / "+t._s(t.relay.id))])]),n("p",[t._v(" Build ID "),n("span",[t._v(t._s(t.relay.buildId))])]),n("p",[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" ID "),n("span",[t._v(t._s(t.c3Interface.id||""))])]),n("p",[t._v(" "+t._s(t.c3Interface.klass.toLowerCase())+" Type "),n("span",[t._v(t._s(t.interfaceTypeName(t.c3Interface)))])])])])]),n("div",{staticClass:"c3modal-details"},[n("div",{staticStyle:{"padding-bottom":"24px"}},[n("h1",[t._v("Select target Relay")]),n("Select",{staticClass:"form-element",attrs:{legend:"Target Relay",selected:t.selectedRelay,options:t.generateRelayList(),border:!0},on:{change:function(e){return t.changeTargetRelay(e,t.targetRelay)}}})],1),n("div",{staticClass:"c3modal-form"},[n("CommandCenterModal",{staticClass:"embeded-modal",attrs:{"target-id":t.selectedRelay,embeded:!1,options:t.addNewRelayGroupToOptions},on:{change:function(e){return t.changeForm(e,t.formData)}}})],1)])])},sa=[];function ca(t){var e=la();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function la(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ua=Object(p["a"])("c3Module"),da=Object(p["a"])("c3Capability"),ha=function(){var t=function(t){Object(l["a"])(n,t);var e=ca(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.formData={},t.isValid=!1,t.targetRelay="",t}return Object(c["a"])(n,[{key:"generateRelayList",value:function(){var t=this,e={},n="",a=0,r="null",i=this.getRelays;return i.forEach((function(r,i){r.id!==t.relay.id&&(a++,e[r.id]="".concat(r.id," ").concat(r.name?"- "+r.name+" ":""),""===n&&(n=r.id))})),0===a&&(e[r]="Nothing to select...",n=r),""===this.targetRelay&&(this.targetRelay=n),e}},{key:"mounted",value:function(){window.addEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"beforeDestroy",value:function(){window.removeEventListener("keydown",this.handleGlobalKeyDown,!0)}},{key:"changeForm",value:function(t){this.isValid=t.valid,this.formData=t.data}},{key:"changeTargetRelay",value:function(t){this.targetRelay=t}},{key:"relay",get:function(){return this.sourceRelay}},{key:"c3Interface",get:function(){return this.sourceInterface}},{key:"hasOptions",get:function(){return!!this.options&&"{}"!==JSON.stringify(this.options)}},{key:"sourceRelay",get:function(){return this.hasOptions&&this.options.source&&this.options.source.relay?this.options.source.relay:g}},{key:"sourceInterface",get:function(){return this.hasOptions&&this.options.source&&this.options.source.interface?this.options.source.interface:g}},{key:"formIsValid",get:function(){return!this.isValid}},{key:"selectedRelay",get:function(){return this.targetRelay}},{key:"addNewRelayGroupToOptions",get:function(){return{formDefault:this.options.formDefault,source:this.options.source,targetGroup:"NewRelayCommandGroup"}}},{key:"showConnectRelayButton",get:function(){return!0}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"targetId",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"options",void 0),Object(h["a"])([da.Getter],t.prototype,"getCommandTargetFor",void 0),Object(h["a"])([da.Getter],t.prototype,"getTypesForInterfaceKlass",void 0),Object(h["a"])([ua.Getter],t.prototype,"getRelays",void 0),Object(h["a"])([ua.Getter],t.prototype,"getRelay",void 0),Object(h["a"])([ua.Getter],t.prototype,"getInterface",void 0),Object(h["a"])([ua.Getter],t.prototype,"getInterfacesFor",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me,Select:xe,GeneralForm:tn,CommandCenterModal:dn}})],t),t}(),fa=ha,pa=fa,ga=(n("d94a"),Object(z["a"])(pa,oa,sa,!1,null,null,null)),ya=ga.exports,ma=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3modal-body"},[n("div",{staticClass:"c3modal-details"},[n("h1",{staticClass:"c3network-title"},[t._v(" Network Configuration ")]),n("div",{staticClass:"form-row "},[n("Input",{key:"c3-url-field",staticClass:"form-element",attrs:{legend:"Url",value:t.c3Url,disabled:!1,validate:"required",name:"Url"},on:{change:function(e){return t.setUrl(e,t.c3Url)}}})],1),n("div",{staticClass:"form-row"},[n("Input",{key:"c3-port-field",staticClass:"form-element",attrs:{legend:"Port",value:t.c3Port,disabled:!1,validate:"required|numeric|max_value:65535",name:"Port"},on:{change:function(e){return t.setPort(e,t.c3Port)}}})],1),n("dir",{staticClass:"flex-row c3modal-actions"},[n("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return e.target!==e.currentTarget?null:t.closeThisModal()}}},[t._v(" Cancel ")]),n("button",{staticClass:"c3btn c3btn pull-right",attrs:{disabled:!t.isFormValid},on:{click:function(e){return t.saveNetworkConfig()}}},[t._v(" Save Confing ")])])],1)])},va=[];function ba(t){var e=wa();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function wa(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ca=Object(p["a"])("optionsModule"),Oa=function(){var t=function(t){Object(l["a"])(n,t);var e=ba(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.c3Url="http://localhost",t.c3UrlIsValid=!0,t.c3Port=52935,t.c3PortIsValid=!0,t}return Object(c["a"])(n,[{key:"setUrl",value:function(t){t.valid?(this.c3UrlIsValid=!0,this.c3Url=t.value):this.c3UrlIsValid=!1}},{key:"setPort",value:function(t){t.valid?(this.c3PortIsValid=!0,this.c3Port=parseInt(t.value,10)):this.c3PortIsValid=!1}},{key:"saveNetworkConfig",value:function(){this.isFormValid&&(this.setBaseURL(this.c3Url),this.setBasePort(this.c3Port))}},{key:"created",value:function(){this.c3Url=this.getUrl,this.c3Port=parseInt(this.getPort,10)}},{key:"getUrl",get:function(){return this.getAPIUrl}},{key:"getPort",get:function(){return this.getAPIPort}},{key:"isFormValid",get:function(){return this.c3UrlIsValid&&this.c3PortIsValid}}]),n}(Object(f["b"])(x));return Object(h["a"])([Ca.Getter],t.prototype,"getAPIUrl",void 0),Object(h["a"])([Ca.Getter],t.prototype,"getAPIPort",void 0),Object(h["a"])([Ca.Mutation],t.prototype,"setBaseURL",void 0),Object(h["a"])([Ca.Mutation],t.prototype,"setBasePort",void 0),t=Object(h["a"])([Object(f["a"])({components:{Input:me}})],t),t}(),ka=Oa,ja=ka,Ia=Object(z["a"])(ja,ma,va,!1,null,null,null),xa=Ia.exports;function _a(t){var e=Ra();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ra(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ta=Object(p["a"])("modalModule"),Na=function(){var t=function(t){Object(l["a"])(n,t);var e=_a(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"isGateway",value:function(){return this.activeModal.modalTarget===a.Gateway}},{key:"isRelay",value:function(){return this.activeModal.modalTarget===a.Relay}},{key:"isChannel",value:function(){return this.activeModal.modalTarget===a.Channel}},{key:"isPeripheral",value:function(){return this.activeModal.modalTarget===a.Peripheral}},{key:"isConnector",value:function(){return this.activeModal.modalTarget===a.Connector}},{key:"isInterface",value:function(){return this.activeModal.modalTarget===a.Channel||this.activeModal.modalTarget===a.Peripheral||this.activeModal.modalTarget===a.Connector}},{key:"options",value:function(){return this.activeModal.modalOptions}},{key:"currentModal",get:function(){return this.activeModal}},{key:"targetUid",get:function(){return this.activeModal.modalTargetId||""}}]),n}(Object(f["b"])(x));return Object(h["a"])([Ta.Getter],t.prototype,"activeModal",void 0),t=Object(h["a"])([Object(f["a"])({components:{RelayModal:Ct,CommandModal:Pt,GatewayModal:vn,OptionsModal:xa,InterfaceModal:Rn,CreateRelayModal:Yn,ConnectRelayModal:ya,CommandCenterModal:dn,CreateGatewayModal:ia}})],t),t}(),Pa=Na,Ga=Pa,Da=(n("e72f"),Object(z["a"])(Ga,y,m,!1,null,null,null)),La=Da.exports,Ma=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3canvas",class:{"c3canvas-fs":t.isFullscreen}},[n("div",{ref:"c3canvas",attrs:{id:"c3canvas"}}),n("span",{staticClass:"c3canvas-fs-btn icon",class:t.fullscreenIcon,on:{click:function(e){t.isFullscreen=!t.isFullscreen}}}),n("span",{staticClass:"c3canvas-more-btn icon more"}),n("ul",{staticClass:"c3canvas-menu"},[n("li",{staticClass:"c3canvas-menu-item"},[n("Toggle",{key:"toggle-tree-view-button",attrs:{legend:"Tree View",checked:t.getTreeView,disabled:!1},on:{change:t.toggleTreeView}})],1),n("li",{staticClass:"c3canvas-menu-item"},[n("Toggle",{key:"toggle-interfaces-button",attrs:{legend:"Interfaces",checked:t.getInterfaces,disabled:!1},on:{change:function(e){return t.toggleInterfaces(e)}}})],1),n("li",{staticClass:"c3canvas-menu-item"},[n("Toggle",{key:"toggle-labels-button",attrs:{legend:"Labels",checked:t.getShowLabels,disabled:!1},on:{change:function(e){return t.toggleLabels(e)}}})],1),n("li",{staticClass:"c3canvas-menu-item"},[n("Toggle",{key:"toggle-physics-button",attrs:{legend:"Physics",checked:t.getPhysics,disabled:!1},on:{change:function(e){return t.togglePhysics(e)}}})],1),n("li",{staticClass:"c3canvas-menu-item"},[n("Toggle",{key:"toggle-smooth-edges",attrs:{legend:"Smooth Edges",checked:t.getSmoothEdges,disabled:!1},on:{change:function(e){return t.toggleSmoothEdges(e)}}})],1),n("li",{staticClass:"c3canvas-menu-item",on:{click:t.reloadGraph}},[t._v("Reload Graph")]),n("li",{staticClass:"c3canvas-menu-divider"}),n("li",{staticClass:"c3canvas-menu-item",on:{click:function(e){return t.openModal("","CREATE_GATEWAY")}}},[t._v(" New Gateway ")]),n("li",{staticClass:"c3canvas-menu-item",on:{click:function(e){return t.openModal("","CREATE_RELAY")}}},[t._v(" New Relay ")])]),t._m(0)])},Ea=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress-bar"},[n("div",{staticClass:"progress-bar-status",attrs:{id:"progress-bar-status"}})])}],Aa=(n("6762"),n("2fdb"),n("a190")),Sa=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3checkbox-wrapper"},[n("div",{staticClass:"c3checkbox-row",on:{click:t.clickOnLabel}},[t._v(" "+t._s(t.legend)+" "),t.hasHelp?n("span",{staticClass:"icon help"},[n("div",{staticClass:"help-text"},[t._v(t._s(t.help))])]):t._e()]),n("div",{staticClass:"c3toggle",class:{disabled:t.isDisabled}},[n("input",t._b({ref:"booleanCheckbox",staticClass:"c3toggle-input",attrs:{type:"checkbox",id:t.inputUID,name:t.inputUID,disabled:t.disabled},domProps:{checked:t.getIsChecked},on:{change:t.toogleToggle}},"input",t.$attrs,!1)),n("label",{staticClass:"c3toggle-label",on:{click:t.clickOnLabel}})])])},Fa=[];function Ua(t){var e=Ba();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ba(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var $a=function(){var t=function(t){Object(l["a"])(n,t);var e=Ua(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.isChecked=t.getIsChecked,t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.$refs.booleanCheckbox.checked=this.getIsChecked}},{key:"toogleToggle",value:function(){this.isChecked=!this.isChecked,this.$emit("change",{value:!0===this.isChecked,valid:!0})}},{key:"clickOnLabel",value:function(){this.toogleToggle()}},{key:"getIsChecked",get:function(){return!(!this.checked||"boolean"!==typeof this.checked||!0!==this.checked)}}]),n}(Object(f["b"])(x,ue));return Object(h["a"])([Object(f["c"])()],t.prototype,"checked",void 0),t=Object(h["a"])([f["a"]],t),t}(),Va=$a,Ka=Va,za=(n("c289"),Object(z["a"])(Ka,Sa,Fa,!1,null,"edfe580a",null)),Ha=za.exports;function Za(t){var e=Ya();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ya(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ja=Object(p["a"])("c3Module"),Xa=function(){var t=function(t){Object(l["a"])(n,t);var e=Za(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.startNode=g,t.paths=[],t}return Object(c["a"])(n,[{key:"findPath",value:function(t){this.setStartNode(t),this.paths=[],this.paths.push(this.startNode.uid);var e=0;if(this.hasPathEndpoints())return[];while(this.startNode&&this.startNode.uid!==this.targetNode.uid)this.nextNode=this.startNode,this.handleNodeChannel(),this.handleConnectorAndPeripheral(),this.handleRelay(),this.setStartNode(this.nextNode.uid),e++,this.checkEndLoop(e);return this.paths}},{key:"setStartNode",value:function(t){this.startNode=this.getNodes.find((function(e){return e.uid===t}))||g}},{key:"hasPathEndpoints",value:function(){return this.startNode.klass===a.Undefined||this.targetNode.klass===a.Undefined}},{key:"handleNodeChannel",value:function(){return this.isChannel(this.startNode)&&this.setNextNodeForChannel()}},{key:"handleConnectorAndPeripheral",value:function(){return this.isStartNodeConnectorOrPeripheral()&&this.setNextAndParentNode()}},{key:"handleRelay",value:function(){return this.isStartNodeRelay()&&this.setNextNodeForRelay()}},{key:"checkEndLoop",value:function(t){t>100&&(this.paths=[],this.setStartNode(this.targetNode.uid))}},{key:"getParentNode",value:function(){var t=this;return this.getNodes.find((function(e){return e.uid===t.startNode.parentId}))||g}},{key:"isStartNodeConnectorOrPeripheral",value:function(){return this.startNode.klass===a.Peripheral||this.startNode.klass===a.Connector}},{key:"isChannel",value:function(t){return t.klass===a.Channel}},{key:"isStartNodeRelay",value:function(){return this.startNode.klass===a.Relay}},{key:"isReturnChannel",value:function(t){return!0===t.isReturnChannel}},{key:"getChannelNeighbours",value:function(){var t=this;return this.getEdges.filter((function(e){return e.to===t.startNode.uid||e.from===t.startNode.uid}))}},{key:"getRelayNeighbours",value:function(){var t=this;return this.getEdges.filter((function(e){return e.from===t.startNode.uid}))}},{key:"getPossibeNext",value:function(t,e){return this.getNodes.find((function(n){return n.uid===t[e]}))||g}},{key:"insertParentNodeToPaths",value:function(){return this.getParentNode().klass!==a.Undefined&&this.paths.push(this.nextNode.uid)}},{key:"setNextAndParentNode",value:function(){this.nextNode=this.getParentNode(),this.insertParentNodeToPaths()}},{key:"setAndInsertNextNode",value:function(t){this.nextNode=t,this.paths.push(t.uid)}},{key:"setNextNodeForChannel",value:function(){this.isReturnChannel(this.startNode)?this.setNextNodeForReturnChannel():this.setNextAndParentNode()}},{key:"setNextNodeForReturnChannel",value:function(){var t=this;this.getChannelNeighbours().forEach((function(e){var n=t.getPossibeNext(e,"from");t.isChannel(n)&&t.setAndInsertNextNode(n)}))}},{key:"setNextNodeForRelay",value:function(){var t=this;this.getRelayNeighbours().forEach((function(e){var n=t.getPossibeNext(e,"to");t.isReturnChannel(n)&&t.setAndInsertNextNode(n)}))}},{key:"targetNode",get:function(){return this.getNodes.find((function(t){return t.klass===a.Gateway}))||g}}]),n}(f["d"]);return Object(h["a"])([Ja.Getter],t.prototype,"getNodes",void 0),Object(h["a"])([Ja.Getter],t.prototype,"getEdges",void 0),t=Object(h["a"])([f["a"]],t),t}(),Wa=Xa;function qa(t){var e=Qa();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Qa(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var tr=Object(p["a"])("c3Module"),er=Object(p["a"])("visModule"),nr=function(){var t=function(t){Object(l["a"])(n,t);var e=qa(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.container=null,t.isSmooth=!1,t.isFullscreen=!1,t.lastClickNodeId="",t}return Object(c["a"])(n,[{key:"mounted",value:function(){this.createVisCanvas()}},{key:"createVisCanvas",value:function(){var t=this;this.container=this.$refs.c3canvas,window.networkc3=new Aa["a"](this.container,this.getGrapData,this.graphOtions),window.networkc3.on("click",(function(e){var n=window.networkc3.getNodeAt(e.pointer.DOM);t.lastClickNodeId===n?n&&t.openModal(n,t.nodeKlass(n)):t.lastClickNodeId=n,t.deselectNodes(),t.clearPath(),n&&t.selectNode(n)})),window.networkc3.on("startStabilizing",(function(t){var e=document.getElementById("progress-bar-status");null!==e&&(e.style.width="1px")})),window.networkc3.on("stabilizationProgress",(function(e){var n=Math.floor(e.iterations/t.getOptions.physics.stabilization.updateInterval),a=document.getElementById("progress-bar-status");null!==a&&(a.style.width=n+"%")})),window.networkc3.on("stabilized",(function(t){var e=document.getElementById("progress-bar-status");null!==e&&(e.style.width="1px")}))}},{key:"nodeKlass",value:function(t){return this.getNodeKlass(t)}},{key:"toggleTreeView",value:function(t){this.setTreeView(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"togglePhysics",value:function(t){this.setPhysics(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"toggleInterfaces",value:function(t){this.setShowInterfaces(t.value),this.generateNodes(),this.generateEdges(),this.setGraphData()}},{key:"toggleLabels",value:function(t){this.setShowLabels(t.value),this.generateNodes(),this.generateEdges(),this.setGraphData()}},{key:"toggleSmoothEdges",value:function(t){this.isSmooth=t.value,this.setSmoothEdge(t.value),window.networkc3.setOptions(this.graphOtions),this.setGraphData()}},{key:"reloadGraph",value:function(){var t=this.graphOtions;t.layout.randomSeed=Math.floor(785496*Math.random())+1,window.networkc3.setOptions(t),this.setGraphData()}},{key:"deselectNodes",value:function(){this.getVisNodes.forEach((function(t){window.networkc3.body.data.nodes.update([{id:t.id,shadow:{enabled:!1}}])}))}},{key:"clearPath",value:function(){this.getVisEdges.forEach((function(t){var e=window.networkc3.body.data.edges.get(t.id);(e.color&&0!==Object.keys(e.color).length||e.width&&1!==e.width)&&window.networkc3.body.data.edges.update([{id:t.id,color:{},width:1}])}))}},{key:"selectNode",value:function(t){window.networkc3.body.data.nodes.update([{id:t,shadow:{enabled:!0}}]);var e=this.getPathsFromGateway(t);this.getVisEdges.forEach((function(t){e&&e.includes(t.from)&&e.includes(t.to)&&window.networkc3.body.data.edges.update([{id:t.id,color:{color:"#AB61F6"},width:4}])}))}},{key:"getPathsFromGateway",value:function(t){return this.findPath(t)}},{key:"fullscreenIcon",get:function(){return this.isFullscreen?"zoomin":"fullscreen"}},{key:"graphOtions",get:function(){return this.getOptions}},{key:"graphData",get:function(){return this.getGrapData}},{key:"getTreeView",get:function(){return this.graphOtions.layout.hierarchical.enabled}},{key:"getPhysics",get:function(){return this.graphOtions.physics.enabled}},{key:"getInterfaces",get:function(){return this.getShowInterfaces}},{key:"getSmoothEdges",get:function(){return this.isSmooth}}]),n}(Object(f["b"])(x,Wa));return Object(h["a"])([er.Action],t.prototype,"generateNodes",void 0),Object(h["a"])([er.Action],t.prototype,"generateEdges",void 0),Object(h["a"])([er.Getter],t.prototype,"getVisNodes",void 0),Object(h["a"])([er.Getter],t.prototype,"getVisEdges",void 0),Object(h["a"])([er.Getter],t.prototype,"getGrapData",void 0),Object(h["a"])([er.Getter],t.prototype,"getOptions",void 0),Object(h["a"])([er.Getter],t.prototype,"getShowInterfaces",void 0),Object(h["a"])([er.Getter],t.prototype,"getShowLabels",void 0),Object(h["a"])([er.Mutation],t.prototype,"setPhysics",void 0),Object(h["a"])([er.Mutation],t.prototype,"setTreeView",void 0),Object(h["a"])([er.Mutation],t.prototype,"setOptions",void 0),Object(h["a"])([er.Mutation],t.prototype,"setSmoothEdge",void 0),Object(h["a"])([er.Mutation],t.prototype,"setGraphData",void 0),Object(h["a"])([er.Mutation],t.prototype,"setShowInterfaces",void 0),Object(h["a"])([er.Mutation],t.prototype,"setShowLabels",void 0),Object(h["a"])([tr.Action],t.prototype,"fetchGateway",void 0),Object(h["a"])([tr.Getter],t.prototype,"getNodeKlass",void 0),t=Object(h["a"])([Object(f["a"])({components:{Toggle:Ha}})],t),t}(),ar=nr,rr=ar,ir=(n("8a9f"),Object(z["a"])(rr,Ma,Ea,!1,null,null,null)),or=ir.exports,sr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3footer"},[t._v("C3 dashboard - Labs")])},cr=[];function lr(t){var e=ur();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function ur(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var dr=function(){var t=function(t){Object(l["a"])(n,t);var e=lr(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return n}(r["a"]);return t=Object(h["a"])([f["a"]],t),t}(),hr=dr,fr=hr,pr=(n("c7ed"),Object(z["a"])(fr,sr,cr,!1,null,"62086585",null)),gr=pr.exports,yr=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},mr=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"c3navbar"},[a("img",{staticClass:"c3navbar-logo",attrs:{alt:"C3 logo",src:n("9b19")}}),a("div",{staticClass:"c3navbar-left"},[a("span",{staticClass:"c3navbar-left--title"},[t._v("C3")])])])}];function vr(t){var e=br();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function br(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var wr=function(){var t=function(t){Object(l["a"])(n,t);var e=vr(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return n}(r["a"]);return t=Object(h["a"])([f["a"]],t),t}(),Cr=wr,Or=Cr,kr=(n("67d9"),Object(z["a"])(Or,yr,mr,!1,null,"5295cdf8",null)),jr=kr.exports,Ir=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasSelectedGateway?n("div",{staticClass:"c3controll"},[n("span",{staticClass:"c3controll-help icon exclamation"}),n("ul",{staticClass:"c3controll-tabs"},[n("li",{class:{active:t.activeIsRelay},on:{click:function(e){return t.setActiveTab("relay")}}},[t._v(" Relays ")]),n("li",{class:{active:t.activeIsInterface},on:{click:function(e){return t.setActiveTab("interface")}}},[t._v(" Interfaces ")]),n("li",{class:{active:t.activeIsCommands},on:{click:function(e){return t.setActiveTab("command")}}},[t._v(" Commands ")])]),t.activeIsRelay?n("RelaysTab"):t._e(),t.activeIsInterface?n("InterfacesTab"):t._e(),t.activeIsCommands?n("CommandsTab"):t._e()],1):t._e()},xr=[],_r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3tab"},[n("RelayList",{attrs:{"show-empty":!0},on:{count:function(e){return t.setCount(e)}}}),n("DataTableFooter",{attrs:{results:t.getCount}})],1)},Rr=[],Tr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.relays.length||t.displayEmpty?n("div",{staticClass:"c3InterfaceList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.relays.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.relays,(function(e,a){return n("tr",{directives:[{name:"show",rawName:"v-show",value:a>=t.minIndex&&a= minIndex && index < maxIndex"}],key:e.id,on:{click:function(n){return t.openModal(e.uid,e.klass)}}},[n("td",{staticClass:"c3link"},[n("span",{staticClass:"c3tab-info-dot not-active",class:{"is-active":!!e.isActive,"has-error":!!e.error}}),t._v(" "+t._s(e.id)+" ")]),n("td",[t._v(t._s(e.name))]),n("td",[t._v(t._s(e.buildId))])])})),0)])]:t.displayEmpty?[t._v(" No relays found... ")]:t._e()],2):t._e()},Nr=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Relay ID")]),n("th",[t._v("Name")]),n("th",[t._v("Build ID")])])])}];function Pr(t){var e=Gr();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Gr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Dr=Object(p["a"])("c3Module"),Lr=function(){var t=function(t){Object(l["a"])(n,t);var e=Pr(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"relays",get:function(){return this.$emit("count",this.getRelays.length),this.getRelays}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Dr.Getter],t.prototype,"getRelays",void 0),t=Object(h["a"])([f["a"]],t),t}(),Mr=Lr,Er=Mr,Ar=(n("29d0"),Object(z["a"])(Er,Tr,Nr,!1,null,"579275ba",null)),Sr=Ar.exports,Fr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3tabfooter"},[n("div",{staticClass:"c3tabfooter-info"},[t._v("Result: "+t._s(t.results))]),n("div",{staticClass:"c3tabfooter-action"},[t._v(" Items per page: "),n("Select",{staticStyle:{"max-width":"60px","margin-bottom":"0"},attrs:{selected:t.perPage,options:{5:"5",10:"10",25:"25",50:"50",100:"100",1e3:"All"},border:!1,up:!0},on:{change:function(e){return t.changePerPage(e,t.page)}}})],1),n("div",{staticClass:"c3tabfooter-paginator"},[n("span",{staticClass:"c3tabfooter-controll",on:{click:function(e){return e.target!==e.currentTarget?null:t.prevPage(e)}}},[t._v(" < ")]),t._v(" Page: "+t._s(t.actualPage)+" of "+t._s(t.maxPage)+" "),n("span",{staticClass:"c3tabfooter-controll",on:{click:function(e){return e.target!==e.currentTarget?null:t.nextPage(e)}}},[t._v(" > ")])])])},Ur=[];function Br(t){var e=$r();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function $r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Vr=Object(p["a"])("paginateModule"),Kr=function(){var t=function(t){Object(l["a"])(n,t);var e=Br(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.page="5",t.perPage="5",t}return Object(c["a"])(n,[{key:"created",value:function(){this.perPage=""+this.itemPerPage}},{key:"changePerPage",value:function(t){this.perPage=t,this.setItemPerPage(+this.perPage)}},{key:"nextPage",value:function(){this.actualPage1&&this.setActualPage(this.actualPage-1)}},{key:"actualPage",get:function(){return this.getActualPage}},{key:"itemPerPage",get:function(){return this.getItemPerPage}},{key:"maxPage",get:function(){var t=Math.ceil(this.results/this.itemPerPage);return 0===t?1:t}}]),n}(Object(f["b"])(x));return Object(h["a"])([Object(f["c"])()],t.prototype,"results",void 0),Object(h["a"])([Vr.Getter],t.prototype,"getActualPage",void 0),Object(h["a"])([Vr.Getter],t.prototype,"getItemPerPage",void 0),Object(h["a"])([Vr.Mutation],t.prototype,"setActualPage",void 0),Object(h["a"])([Vr.Mutation],t.prototype,"setItemPerPage",void 0),t=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],t),t}(),zr=Kr,Hr=zr,Zr=(n("b12a"),Object(z["a"])(Hr,Fr,Ur,!1,null,"2eac248e",null)),Yr=Zr.exports;function Jr(t){var e=Xr();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Xr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Wr=Object(p["a"])("c3Module"),qr=function(){var t=function(t){Object(l["a"])(n,t);var e=Jr(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.rCount=0,t}return Object(c["a"])(n,[{key:"setCount",value:function(t){this.rCount=t}},{key:"getCount",get:function(){return this.rCount}}]),n}(Object(f["b"])(x));return Object(h["a"])([Wr.Getter],t.prototype,"getRelays",void 0),t=Object(h["a"])([Object(f["a"])({components:{RelayList:Sr,DataTableFooter:Yr}})],t),t}(),Qr=qr,ti=Qr,ei=Object(z["a"])(ti,_r,Rr,!1,null,null,null),ni=ei.exports,ai=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3tab"},[n("CommandList",{attrs:{"show-empty":!0,"status-filter":t.selectedCommandStatus,"command-for-filter":t.selectedCommandFor}}),n("DataTableFooter",{attrs:{results:t.getCount}})],1)},ri=[],ii=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.commands.length||t.displayEmpty?n("div",{staticClass:"c3CommandList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.commands.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.commands,(function(e){return n("tr",{key:e.id,on:{click:function(n){return t.openModal(e.id,"COMMAND")}}},[n("td",{staticClass:"c3link"},[t._v(" "+t._s(e.id)+" ")]),n("td",{staticClass:"command-for"},[t._v(" "+t._s(t.commandType(e).toLowerCase())+" ")]),n("td",[t._v(" "+t._s(t.commandTypeId(e))+" ")])])})),0)])]:t.displayEmpty?[t._v(" No commands found... ")]:t._e()],2):t._e()},oi=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Command ID")]),n("th",[t._v("Command for")]),n("th",[t._v("ID")])])])}];function si(t){var e=ci();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function ci(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var li=Object(p["a"])("c3CommandModule"),ui=function(){var t=function(t){Object(l["a"])(n,t);var e=si(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"commands",get:function(){var t=this,e=this.getCommands;return"COMPLETE"===this.statusFilter?e=e.filter((function(t){return!1===t.isPending})):"PENDING"===this.statusFilter&&(e=e.filter((function(t){return!0===t.isPending}))),"ALL"!==this.commandForFilter&&(e=e.filter((function(e){return t.commandType(e)===t.commandForFilter}))),this.$emit("count",e.length),e}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Object(f["c"])()],t.prototype,"statusFilter",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"commandForFilter",void 0),Object(h["a"])([li.Getter],t.prototype,"getCommands",void 0),Object(h["a"])([li.Getter],t.prototype,"getCommandCount",void 0),t=Object(h["a"])([f["a"]],t),t}(),di=ui,hi=di,fi=(n("9426"),Object(z["a"])(hi,ii,oi,!1,null,"39bf6527",null)),pi=fi.exports;function gi(t){var e=yi();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function yi(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var mi=Object(p["a"])("paginateModule"),vi=Object(p["a"])("c3CommandModule"),bi=function(){var t=function(t){Object(l["a"])(n,t);var e=gi(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.commandFor="ALL",t.commandStatus="ALL",t}return Object(c["a"])(n,[{key:"onGetLastChange",value:function(t,e){this.fetchCommands(this.gateway.id)}},{key:"selectCommandFor",value:function(t){this.commandFor=t}},{key:"selectCommandStatus",value:function(t){this.commandStatus=t}},{key:"getCount",get:function(){return this.getCommandCount}},{key:"selectedCommandFor",get:function(){return this.commandFor}},{key:"selectedCommandStatus",get:function(){return this.commandStatus}}]),n}(Object(f["b"])(x));return Object(h["a"])([vi.Getter],t.prototype,"getCommandCount",void 0),Object(h["a"])([vi.Action],t.prototype,"fetchCommands",void 0),Object(h["a"])([mi.Getter],t.prototype,"getActualPage",void 0),Object(h["a"])([mi.Getter],t.prototype,"getLastChange",void 0),Object(h["a"])([mi.Getter],t.prototype,"getItemPerPage",void 0),Object(h["a"])([mi.Mutation],t.prototype,"setActualPage",void 0),Object(h["a"])([Object(f["e"])("getLastChange")],t.prototype,"onGetLastChange",null),t=Object(h["a"])([Object(f["a"])({components:{Select:xe,CommandList:pi,DataTableFooter:Yr}})],t),t}(),wi=bi,Ci=wi,Oi=Object(z["a"])(Ci,ai,ri,!1,null,null,null),ki=Oi.exports,ji=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3tab"},[n("div",{staticClass:"c3tab-filters"},[n("Select",{key:"type-filter",attrs:{legend:"Filter by type",selected:t.selectedInterfaceType,options:{ALL:"All",CHANNEL:"Channel",PERIPHERAL:"Peripheral",CONNECTOR:"Connector"},border:!0,up:!1},on:{change:function(e){return t.selectInterfaceType(e,t.interfaceType)}}}),n("Select",{key:"return-channel-filter",attrs:{legend:"Filter by Return Channel",selected:t.selectedReturnChannel,options:{ALL:"All",YES:"Yes",NO:"No"},border:!0,up:!1,disabled:t.isChannelOrAllForDisabled},on:{change:function(e){return t.selectReturnChannel(e,t.returnChannel)}}}),n("Select",{key:"negotiation-channel-filter",attrs:{legend:"Filter by Negotiation Channel",selected:t.selectedNegotiationChannel,options:{ALL:"All",YES:"Yes",NO:"No"},border:!0,up:!1,disabled:t.isChannelOrAllForDisabled},on:{change:function(e){return t.selectNegotiationChannel(e,t.negotiationChannel)}}})],1),n("InterfaceList",{attrs:{"show-empty":!0,"return-channel-filter":t.selectedReturnChannel,"negotiation-channel-filter":t.selectedNegotiationChannel,"interface-type-filter":t.selectedInterfaceType},on:{count:function(e){return t.setCount(e)}}}),n("DataTableFooter",{attrs:{results:t.getCount}})],1)},Ii=[],xi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.c3Interfaces.length||t.displayEmpty?n("div",{staticClass:"c3CommandList"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:t.hasTitle,expression:"hasTitle"}]},[t._v(t._s(t.title))]),t.c3Interfaces.length?[n("table",{staticClass:"datatable"},[t._m(0),n("tbody",t._l(t.c3Interfaces,(function(e,a){return n("tr",{directives:[{name:"show",rawName:"v-show",value:a>=t.minIndex&&a= minIndex && index < maxIndex"}],key:e.uid,on:{click:function(n){return t.openModal(e.uid,e.klass)}}},[n("td",{staticClass:"c3link"},[n("span",{staticClass:"c3tab-info-dot",class:{"is-return":!!e.isReturnChannel,"has-error":!!e.error}}),t._v(" "+t._s(e.id)+" ")]),n("td",{staticClass:"capitalize"},[t._v(t._s(e.klass.toLowerCase()))]),n("td",[t._v(t._s(t.interfaceTypeName(e)))]),n("td",[t._v(t._s(t.interfaceType(e)))])])})),0)])]:t.displayEmpty?[t._v(" No interfaces found... ")]:t._e()],2):t._e()},_i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Interface ID")]),n("th",[t._v("Type")]),n("th",[t._v("Name")]),n("th",[t._v("Channel Type")])])])}];function Ri(t){var e=Ti();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ti(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ni=Object(p["a"])("c3Module"),Pi=function(){var t=function(t){Object(l["a"])(n,t);var e=Ri(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"c3Interfaces",get:function(){var t=[];return t="ALL"===this.interfaceTypeFilter?this.getInterfaces():this.getInterfaces([this.interfaceTypeFilter]),"YES"===this.returnChannelFilter?t=t.filter((function(t){return!!t.isReturnChannel})):"NO"===this.returnChannelFilter&&(t=t.filter((function(t){return!t.isReturnChannel}))),"YES"===this.negotiationChannelFilter?t=t.filter((function(t){return!!t.isNegotiationChannel})):"NO"===this.negotiationChannelFilter&&(t=t.filter((function(t){return!t.isNegotiationChannel}))),this.$emit("count",t.length),t}}]),n}(Object(f["b"])(x,E));return Object(h["a"])([Object(f["c"])()],t.prototype,"returnChannelFilter",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"interfaceTypeFilter",void 0),Object(h["a"])([Object(f["c"])()],t.prototype,"negotiationChannelFilter",void 0),Object(h["a"])([Ni.Getter],t.prototype,"getCommands",void 0),Object(h["a"])([Ni.Getter],t.prototype,"getInterfaces",void 0),t=Object(h["a"])([f["a"]],t),t}(),Gi=Pi,Di=Gi,Li=(n("fb1d"),Object(z["a"])(Di,xi,_i,!1,null,"5873b325",null)),Mi=Li.exports;function Ei(t){var e=Ai();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ai(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var Si=function(){var t=function(t){Object(l["a"])(n,t);var e=Ei(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.iCount=0,t.interfaceByType="ALL",t.returnChannel="ALL",t.negotiationChannel="ALL",t}return Object(c["a"])(n,[{key:"setCount",value:function(t){this.iCount=t}},{key:"selectInterfaceType",value:function(t){"PERIPHERAL"!==this.interfaceByType&&"CONNECTOR"!==this.interfaceByType||"ALL"!==t&&"CHANNEL"!==t||(this.selectReturnChannel("ALL"),this.selectNegotiationChannel("ALL")),this.interfaceByType=t}},{key:"selectReturnChannel",value:function(t){this.returnChannel=t}},{key:"selectNegotiationChannel",value:function(t){this.negotiationChannel=t}},{key:"getCount",get:function(){return this.iCount}},{key:"selectedInterfaceType",get:function(){return this.interfaceByType}},{key:"selectedReturnChannel",get:function(){return this.returnChannel}},{key:"selectedNegotiationChannel",get:function(){return this.negotiationChannel}},{key:"isChannelOrAllForDisabled",get:function(){var t="ALL"===this.selectedInterfaceType||"CHANNEL"===this.selectedInterfaceType;return t||(this.selectReturnChannel("NO"),this.selectNegotiationChannel("NO")),!t}}]),n}(Object(f["b"])(x));return t=Object(h["a"])([Object(f["a"])({components:{Select:xe,InterfaceList:Mi,DataTableFooter:Yr}})],t),t}(),Fi=Si,Ui=Fi,Bi=Object(z["a"])(Ui,ji,Ii,!1,null,null,null),$i=Bi.exports;function Vi(t){var e=Ki();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Ki(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var zi=Object(p["a"])("c3Module"),Hi=Object(p["a"])("paginateModule"),Zi=function(){var t=function(t){Object(l["a"])(n,t);var e=Vi(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.activeTab="relay",t}return Object(c["a"])(n,[{key:"setActiveTab",value:function(t){this.setActualPage(1),this.activeTab=t}},{key:"activeIsRelay",get:function(){return"relay"===this.activeTab}},{key:"activeIsInterface",get:function(){return"interface"===this.activeTab}},{key:"activeIsCommands",get:function(){return"command"===this.activeTab}},{key:"hasSelectedGateway",get:function(){return this.hasGatewaySelected}}]),n}(Object(f["b"])(x));return Object(h["a"])([Hi.Mutation],t.prototype,"setActualPage",void 0),Object(h["a"])([zi.Getter],t.prototype,"hasGatewaySelected",void 0),t=Object(h["a"])([Object(f["a"])({components:{RelaysTab:ni,CommandsTab:ki,InterfacesTab:$i}})],t),t}(),Yi=Zi,Ji=Yi,Xi=(n("1d22"),Object(z["a"])(Ji,Ir,xr,!1,null,null,null)),Wi=Xi.exports,qi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3side"},[n("div",{staticClass:"c3side-title-wrapper"},[n("h1",{staticClass:"c3side-title"},[t._v("Network")]),n("span",{staticClass:"c3side-config-link",on:{click:function(e){return t.openModal("","OPTIONS")}}},[t._v("EDIT CONFIG")])]),n("div",{staticClass:"c3side-body"},[n("NetworkStats"),n("div",{staticClass:"c3side-refresh-wrapper"},[n("span",{staticClass:"c3side-refres-title"},[t._v(" Refresh Rate ")]),n("Select",{staticClass:"c3site-refresh-dropdown",staticStyle:{"margin-bottom":"0"},attrs:{selected:t.selectedRefreshRate,options:t.refreshRates(),border:!1},on:{change:function(e){return t.setRefreshRate(e,t.refreshRate)}}})],1),n("Toggle",{key:"toggle-auto-update-button",attrs:{legend:"Auto Update",name:"autoUpdate",checked:t.getAutoUpdateEnabled,help:"Auto Update checks for network changes automatically,\n this may result in live updated to the graph and data tables when enabled",disabled:!1},on:{change:function(e){return t.toggleAutoUpdate(e)}}}),n("div",{staticClass:"c3btn-group"},[n("button",{staticClass:"c3btn c3btn--grey",on:{click:function(e){return t.openModal("","CREATE_GATEWAY")}}},[t._v(" New Gateway ")])])],1)])},Qi=[];function to(t){var e=eo();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function eo(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Object(p["a"])("c3Module");var no=Object(p["a"])("visModule"),ao=Object(p["a"])("optionsModule"),ro=function(){var t=function(t){Object(l["a"])(n,t);var e=to(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.refreshRate="2",t}return Object(c["a"])(n,[{key:"toggleAutoUpdate",value:function(t){this.setAutoUpdateEnabled(t.value)}},{key:"setRefreshRate",value:function(t){this.refreshRate=t,this.setRefreshInterval(1e3*parseInt(t,10))}},{key:"refreshRates",value:function(){return{1:"1 second",2:"2 seconds",5:"5 seconds",10:"10 seconds",20:"20 seconds",30:"30 seconds",60:"1 minute",120:"2 minutes",300:"5 minutes",600:"10 minutes",1800:"30 minutes",3600:"1 hour"}}},{key:"getAutoUpdate",get:function(){return this.getAutoUpdateEnabled}},{key:"selectedRefreshRate",get:function(){return this.refreshRate}}]),n}(Object(f["b"])(x));return Object(h["a"])([no.Getter],t.prototype,"getAutoUpdateEnabled",void 0),Object(h["a"])([no.Mutation],t.prototype,"setAutoUpdateEnabled",void 0),Object(h["a"])([ao.Getter],t.prototype,"getRefreshInterval",void 0),Object(h["a"])([ao.Mutation],t.prototype,"setRefreshInterval",void 0),t=Object(h["a"])([Object(f["a"])({components:{Toggle:Ha,Select:xe,NetworkStats:Kt}})],t),t}(),io=ro,oo=io,so=(n("3d3f"),Object(z["a"])(oo,qi,Qi,!1,null,"6cd95e5d",null)),co=so.exports,lo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3gateway"},[t._m(0),n("SelectGatewayForm")],1)},uo=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3gateway-row"},[n("span",{staticClass:"c3gateway-title"},[t._v(" Gateway Selection ")])])}],ho=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c3gateway-row"},[n("Select",{attrs:{legend:"Gateways",selected:t.selectedGateway,options:t.gateways,border:!0,up:!1},on:{change:function(e){return t.selectGateway(e,t.activeGateway)}}})],1)},fo=[];function po(t){var e=go();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function go(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var yo=Object(p["a"])("c3Module"),mo=function(){var t=function(t){Object(l["a"])(n,t);var e=po(n);function n(){var t;return Object(s["a"])(this,n),t=e.apply(this,arguments),t.activeGateway="",t}return Object(c["a"])(n,[{key:"selectGateway",value:function(t){this.activeGateway=t,this.changeGateway(),this.addNotify({type:"info",message:"Gateway [".concat(this.selectedGateway,"] selected...")})}},{key:"changeGateway",value:function(){this.fetchGateway({gatewayId:this.selectedGateway})}},{key:"selectedGateway",get:function(){return this.activeGateway}},{key:"gateways",get:function(){var t=this.getGateways,e={};return t.forEach((function(t,n){e[t.agentId]="".concat(t.name," - ").concat(t.agentId)})),t.length>0&&""===this.selectedGateway&&(this.activeGateway=t[0].agentId,this.fetchGateway({gatewayId:this.selectedGateway})),e}}]),n}(Object(f["b"])(x));return Object(h["a"])([yo.Action],t.prototype,"fetchGateway",void 0),Object(h["a"])([yo.Getter],t.prototype,"getGateways",void 0),t=Object(h["a"])([Object(f["a"])({components:{Select:xe}})],t),t}(),vo=mo,bo=vo,wo=(n("a29d"),Object(z["a"])(bo,ho,fo,!1,null,"49ef2de9",null)),Co=wo.exports;function Oo(t){var e=ko();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function ko(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var jo=function(){var t=function(t){Object(l["a"])(n,t);var e=Oo(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return n}(Object(f["b"])(x));return t=Object(h["a"])([Object(f["a"])({components:{SelectGatewayForm:Co}})],t),t}(),Io=jo,xo=Io,_o=(n("b0db"),Object(z["a"])(xo,lo,uo,!1,null,null,null)),Ro=_o.exports,To=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition-group",{staticClass:"c3notify",attrs:{name:"slide",tag:"ul"}},t._l(t.notifies,(function(e){return n("li",{key:e.id,class:"c3notify-"+e.type,staticStyle:{right:"0"}},[e.title?n("h1",[t._v(t._s(e.title))]):t._e(),n("p",[t._v(t._s(e.message))]),n("span",{staticClass:"c3notify-close icon close",on:{click:function(n){return n.target!==n.currentTarget?null:t.deleteNotify(e.id)}}})])})),0)},No=[];function Po(t){var e=Go();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Go(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Do=Object(p["a"])("notifyModule"),Lo=function(){var t=function(t){Object(l["a"])(n,t);var e=Po(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"deleteNotify",value:function(t){this.removeNotify(t)}},{key:"notifies",get:function(){return this.getNotifies}}]),n}(r["a"]);return Object(h["a"])([Do.Getter],t.prototype,"getNotifies",void 0),Object(h["a"])([Do.Mutation],t.prototype,"removeNotify",void 0),t=Object(h["a"])([f["a"]],t),t}(),Mo=Lo,Eo=Mo,Ao=(n("0673"),Object(z["a"])(Eo,To,No,!1,null,null,null)),So=Ao.exports;function Fo(t){var e=Uo();return function(){var n,a=Object(d["a"])(t);if(e){var r=Object(d["a"])(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Object(u["a"])(this,n)}}function Uo(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Bo=Object(p["a"])("c3Module"),$o=Object(p["a"])("visModule"),Vo=Object(p["a"])("paginateModule"),Ko=Object(p["a"])("c3CommandModule"),zo=Object(p["a"])("optionsModule"),Ho=function(){var t=function(t){Object(l["a"])(n,t);var e=Fo(n);function n(){return Object(s["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"mounted",value:function(){this.updateData(),this.setTime=setInterval(this.updateData,this.refreshRate)}},{key:"destroy",value:function(){clearInterval(this.setTime)}},{key:"setNewRefreshRate",value:function(t,e){clearInterval(this.setTime),this.setTime=setInterval(this.updateData,this.refreshRate)}},{key:"onGetGrapDataChange",value:function(t,e){void 0!==window.networkc3&&window.networkc3.setData(this.getGrapData),this.fetchCommands(this.gateway.id),this.fetchCapability({gatewayId:this.gateway.id})}},{key:"updateData",value:function(){!0===this.getAutoUpdateEnabled&&(this.fetchGateways(),this.gateway&&this.gateway.klass!==a.Undefined&&this.fetchGateway({gatewayId:this.gateway.id}))}},{key:"gateway",get:function(){return void 0===this.getGateway?g:this.getGateway}},{key:"hasSelectedGateway",get:function(){return this.getGateways.length>0}},{key:"refreshRate",get:function(){return this.getRefreshInterval}}]),n}(r["a"]);return Object(h["a"])([Vo.Mutation],t.prototype,"setActualPage",void 0),Object(h["a"])([Bo.Action],t.prototype,"fetchGateways",void 0),Object(h["a"])([Bo.Action],t.prototype,"fetchGateway",void 0),Object(h["a"])([Bo.Action],t.prototype,"fetchCapability",void 0),Object(h["a"])([Bo.Getter],t.prototype,"getGateway",void 0),Object(h["a"])([Bo.Getter],t.prototype,"getGateways",void 0),Object(h["a"])([$o.Action],t.prototype,"generateNodes",void 0),Object(h["a"])([$o.Getter],t.prototype,"getGrapData",void 0),Object(h["a"])([$o.Getter],t.prototype,"getAutoUpdateEnabled",void 0),Object(h["a"])([Ko.Action],t.prototype,"fetchCommands",void 0),Object(h["a"])([zo.Getter],t.prototype,"getRefreshInterval",void 0),Object(h["a"])([Object(f["e"])("getRefreshInterval")],t.prototype,"setNewRefreshRate",null),Object(h["a"])([Object(f["e"])("getGrapData")],t.prototype,"onGetGrapDataChange",null),t=Object(h["a"])([Object(f["a"])({components:{Navbar:jr,GatewayForm:Ro,Canvas:or,Controll:Wi,SideMenu:co,Footer:gr,Modal:La,Notification:So,CreateGatewayModal:ia}})],t),t}(),Zo=Ho,Yo=Zo,Jo=(n("cf25"),Object(z["a"])(Yo,i,o,!1,null,null,null)),Xo=Jo.exports,Wo=n("2f62"),qo=n("6821f"),Qo=n.n(qo),ts=!0,es={gateways:[],gateway:null,nodes:[],edges:[],relayTimestamps:[],mustRefresh:!1,lastGetHash:""},ns={getNodes:function(t){return t.nodes},getEdges:function(t){return t.edges},getGateways:function(t){return t.gateways},getGateway:function(t){return t.nodes.find((function(t){return t.klass===a.Gateway}))},hasGatewaySelected:function(t){return!!t.gateway},getRelays:function(t){return t.nodes.filter((function(t){return t.klass===a.Relay}))},getRelay:function(t){return function(e){return t.nodes.find((function(t){return t.id===e&&t.klass===a.Relay}))}},getGatewayRoutes:function(t){return t.gateway?t.gateway.routes:[]},getRelayRoutes:function(t){return function(e){if(t.gateway){var n=t.gateway.relays.find((function(t){return t.agentId===e}));if(n)return n.routes}return[]}},getInterface:function(t){return function(e){if("new"===e)return{uid:"new",klass:a.Relay,id:"new",buildId:"",name:"new",pending:!0,isActive:!1,type:-1,error:null,parentId:null,parentKlass:a.Gateway,initialCommand:{},timestamp:Math.floor(Date.now()/1e3)};t.nodes.find((function(t){return t.uid===e}));return t.nodes.find((function(t){return t.uid===e}))}},getInterfaces:function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[a.Channel,a.Connector,a.Peripheral];return t.nodes.filter((function(t){return e.includes(t.klass)}))}},getInterfacesFor:function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[a.Channel,a.Connector,a.Peripheral],n=arguments.length>1?arguments[1]:void 0;return""!==n&&null!==n||!t.gateway||(n=t.gateway.agentId),t.nodes.filter((function(t){return e.includes(t.klass)&&t.parentId===n}))}},getNodeKlass:function(t){return function(e){var n=t.nodes.find((function(t){return t.uid===e}));return n?n.klass:a.Undefined}}},as={updateGateways:function(t,e){t.gateways=e},updateGateway:function(t,e){t.gateway=e},populateNodes:function(t,e){var n=function(){for(var t=arguments.length,e=new Array(t),n=0;n0)return t.modals[t.modals.length-1]}},ls={newModal:function(t,e){var n=!1;t.modals.length>1&&(n=t.modals[t.modals.length-2]),!1!==n&&n.modalTarget===e.modalTarget&&n.modalTargetId===e.modalTargetId?t.modals.pop():t.modals.push(e)},closeModal:function(t){t.modals.length>0&&t.modals.pop()},closeModalAll:function(t){t.modals=[]}},us={},ds={namespaced:os,state:ss,getters:cs,mutations:ls,actions:us},hs=!0,fs={itemPerPage:5,actualPage:1,lastChange:Date.now()},ps={getItemPerPage:function(t){return t.itemPerPage},getActualPage:function(t){return t.actualPage},getLastChange:function(t){return t.lastChange}},gs={setItemPerPage:function(t,e){t.actualPage=1,t.itemPerPage=e,t.lastChange=Date.now()},setActualPage:function(t,e){t.actualPage=e,t.lastChange=Date.now()}},ys={},ms={namespaced:hs,state:fs,getters:ps,mutations:gs,actions:ys},vs=n("c540"),bs='',ws='',Cs='',Os='',ks='',js='',Is='',xs='',_s='',Rs='',Ts='',Ns='',Ps='',Gs='',Ds='',Ls='',Ms='',Es='',As='',Ss="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(bs),Fs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(ws),Us="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Cs),Bs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(js),$s="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Is),Vs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Os),Ks="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(ks),zs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(xs),Hs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(_s),Zs=(encodeURIComponent(Rs),encodeURIComponent(Ts),encodeURIComponent(Ns),"data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ps)),Ys="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Gs),Js="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ds),Xs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ls),Ws="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Ms),qs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(Es),Qs="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(As),tc=10,ec=20,nc=30,ac=40,rc=50,ic=5,oc=2,sc=3,cc=5,lc={nodes:{font:{color:"#fff",background:"#222",size:12,face:"Roboto Mono",strokeWidth:0,vadjust:0},shadow:{enabled:!1,color:"rgba(75,174,97,1)",size:20,x:0,y:0},widthConstraint:{maximum:75},margin:{top:0}},edges:{font:{color:"#fff",background:"#222",size:12,face:"Roboto Mono",strokeWidth:0},color:{color:"#BDBDBD",highlight:"#27ae60"},smooth:!1},groups:{10:{shape:"image",image:Zs,size:30},11:{shape:"image",image:Js,size:30},13:{shape:"image",image:Ys,size:30},14:{shape:"image",image:Js,size:30},20:{shape:"image",image:Xs,size:30},21:{shape:"image",image:Qs,size:30},23:{shape:"image",image:Ws,size:30},24:{shape:"image",image:Qs,size:30},25:{shape:"image",image:qs,size:30},26:{shape:"image",image:Qs,size:30},28:{shape:"image",image:qs,size:30},29:{shape:"image",image:Qs,size:30},30:{shape:"image",image:Ss,size:20},31:{shape:"image",image:Us,size:20},32:{shape:"image",image:Fs,size:20},33:{shape:"image",image:Us,size:20},35:{shape:"image",image:Vs,size:25},36:{shape:"image",image:Ks,size:25},40:{shape:"image",image:Bs,size:20},41:{shape:"image",image:$s,size:20},50:{shape:"image",image:zs,size:20},51:{shape:"image",image:Hs,size:20}},layout:{randomSeed:921401,improvedLayout:!0,hierarchical:{enabled:!0,direction:"LR",parentCentralization:!0,blockShifting:!0,levelSeparation:150,treeSpacing:200,nodeSpacing:100,edgeMinimization:!0,sortMethod:"hubsize"}},physics:{enabled:!0,solver:"barnesHut",barnesHut:{gravitationalConstant:-4500,springLength:100,springConstant:.01,damping:.1,avoidOverlap:0},minVelocity:.45,stabilization:{enabled:!0,iterations:1e3,updateInterval:10,onlyDynamicEdges:!1,fit:!0}},interaction:{navigationButtons:!0,keyboard:!1}},uc=3,dc=5e3,hc=!0,fc={nodes:{},edges:{},options:lc,showInterfaces:!0,showLabels:!0,autoUpdateEnabled:!0,graphData:{nodes:new vs["a"]({}),edges:new vs["a"]({})}},pc={getVisNodes:function(t){return t.nodes},getVisEdges:function(t){return t.edges},getGrapData:function(t){return t.graphData},getOptions:function(t){return t.options},getShowInterfaces:function(t){return t.showInterfaces},getShowLabels:function(t){return t.showLabels},getAutoUpdateEnabled:function(t){return t.autoUpdateEnabled}},gc={setNodes:function(t,e){t.nodes=e},setEdges:function(t,e){t.edges=e},setGraphData:function(t){var e=new vs["a"](t.nodes),n=new vs["a"](t.edges),a={nodes:e,edges:n};t.graphData=a},setOptions:function(t,e){t.options=e},setShowInterfaces:function(t,e){t.showInterfaces=e},setShowLabels:function(t,e){t.showLabels=e},setTreeView:function(t,e){t.options.layout.hierarchical.enabled=e,t.options.physics.stabilization.onlyDynamicEdges=!0===e},setPhysics:function(t,e){t.options.physics.enabled=e},setSmoothEdge:function(t,e){t.options.edges.smooth=e},setAutoUpdateEnabled:function(t,e){t.autoUpdateEnabled=e}},yc={generateNodes:function(t){var e=t.rootGetters["c3Module/getNodes"],n=t.rootGetters["c3Module/getGateway"].timestamp,r=t.rootGetters["c3Module/getGateway"].isActive,i=function(t,e,n){var r=0;null!==t.error&&++r;var i=!0;switch(void 0!==t.isActive&&!1===t.isActive&&(i=!1),t.klass===a.Relay&&(t.timestamp&&(i=!(t.timestamp-1&&(t.notifys[n]=e)},removeNotify:function(t,e){var n=t.notifys.findIndex((function(t){return t.id===e}));n>-1&&t.notifys.splice(n,1)},removeOldestNotify:function(t){var e=t.notifys.length;if(e>0){var n=t.notifys[0];n.timeoutID&&clearTimeout(n.timeoutID),t.notifys.splice(0,1)}}},Oc={insertNotify:function(t,e){var n=function(n){e.id=Math.random().toString(36).substr(2),e.timeoutID=setTimeout((function(){return t.commit("removeNotify",e.id),!0}),dc),t.commit("addNotify",e)},a=t.state.notifys.length;if(a>0)if(e.message!==t.state.notifys[a-1].message)n(e);else{var r=t.state.notifys[a-1];clearTimeout(r.timeoutID),r.timeoutID=setTimeout((function(){return t.commit("removeNotify",r.id),!0}),dc),t.commit("updateNotify",r)}else n(e);a>=uc&&t.commit("removeOldestNotify")}},kc={namespaced:vc,state:bc,getters:wc,mutations:Cc,actions:Oc},jc=!0,Ic={capability:{},interfaceList:[]},xc={getCommandGroupFor:function(t){return function(e){var n={};switch(e){case a.Gateway:t.capability&&t.capability.commands&&(n=t.capability.commands);break;case a.Relay:t.capability&&t.capability.relayCommands&&(n=t.capability.relayCommands.commands);break;case a.Channel:t.capability&&t.capability.channelCommands&&(n=t.capability.channelCommands.commands);break;case a.Peripheral:t.capability&&t.capability.peripheralCommands&&(n=t.capability.peripheralCommands.commands);break;case a.Connector:t.capability&&t.capability.connectorCommands&&(n=t.capability.connectorCommands.commands);break}var r={};return void 0!==n.length&&n.forEach((function(t){var e=t.name;r[e]=e})),r}},getCommandTargetFor:function(t){return function(e,n,r){var i={};switch(n){case a.Gateway:t.capability&&t.capability.commands&&(i=t.capability.commands);break;case a.Relay:t.capability&&t.capability.relayCommands&&(i=t.capability.relayCommands.commands);break;case a.Channel:t.capability&&t.capability.channelCommands&&(i=t.capability.channelCommands.commands);break;case a.Peripheral:t.capability&&t.capability.peripheralCommands&&(i=t.capability.peripheralCommands.commands);break;case a.Connector:t.capability&&t.capability.connectorCommands&&(i=t.capability.connectorCommands.commands);break}var o={};void 0!==i.length&&(o=i.find((function(t){return t.name===e})));var s={};if(o&&o.arguments){var c=o.arguments.find((function(t){return"form"===t.type}));c.defaultValue.forEach((function(t){if(void 0===r)s[t.replace(/:/g,"_")]=t.split(":")[2];else{var e=t.split(":")[1];e===r&&(s[t.replace(/:/g,"_")]=t.split(":")[2])}}))}return s}},getTypeNameForInterface:function(t){return function(e,n){var a=t.interfaceList.find((function(t){return""+t.type===""+e}));return void 0!==a?a.name:""}},getTypesForInterfaceKlass:function(t){return function(e){return t.interfaceList.filter((function(t){return t.klass===e}))}},getCapabilityFor:function(t){return function(e,n){return t.interfaceList.find((function(t){return t.name===e&&t.klass===n}))}}},_c={updateCapability:function(t,e){t.interfaceList=[],t.capability=e},populateList:function(t){var e=function(e){t.capability&&t.capability[e]&&t.capability[e].forEach((function(n){var r={type:n.type,name:n.name,commands:n.commands};switch(e){case"channels":r.klass=a.Channel;break;case"connectors":r.klass=a.Connector;break;case"peripherals":r.klass=a.Peripheral;break;case"gateway":r.klass=a.Gateway;break;case"relay":r.klass=a.Relay;break}t.interfaceList.push(r)}))};e("channels"),e("connectors"),e("peripherals"),e("gateway"),e("relay")}},Rc={fetchCapability:function(t,e){if(e.gatewayId){var n="/api/gateway/".concat(e.gatewayId,"/capability"),a="".concat(t.rootGetters["optionsModule/getAPIUrl"],":").concat(t.rootGetters["optionsModule/getAPIPort"]);G.a.get(n,{baseURL:a}).then((function(e){t.commit("updateCapability",e.data),t.commit("populateList",e.data)})).catch((function(e){t.dispatch("notifyModule/insertNotify",{type:"error",message:e.message},{root:!0}),console.error(e.message)}))}else t.dispatch("notifyModule/insertNotify",{type:"error",message:"missing: gatewayId"},{root:!0}),console.error("missing: gatewayId")}},Tc={namespaced:jc,state:Ic,getters:xc,mutations:_c,actions:Rc},Nc=!0,Pc={baseUrl:"http://localhost",port:52935,refreshInterval:2e3},Gc={getAPIUrl:function(t){return t.baseUrl},getAPIPort:function(t){return t.port},getAPIBaseUrl:function(t){return t.baseUrl+":"+t.port},getRefreshInterval:function(t){return t.refreshInterval}},Dc={setBaseURL:function(t,e){t.baseUrl=e},setBasePort:function(t,e){t.port=e},setRefreshInterval:function(t,e){t.refreshInterval=e}},Lc={},Mc={namespaced:Nc,state:Pc,getters:Gc,mutations:Dc,actions:Lc},Ec=!0,Ac={commands:[],totalCount:0},Sc={getCommands:function(t){return t.commands},getCommand:function(t){return function(e){return t.commands.find((function(t){return""+t.id===""+e}))}},getCommandCount:function(t){return t.totalCount}},Fc={updateCommands:function(t,e){t.commands=e},updateTotalCount:function(t,e){t.totalCount=e}},Uc={fetchCommands:function(t,e){if(e){var n=t.rootGetters["paginateModule/getActualPage"],a=t.rootGetters["paginateModule/getItemPerPage"],r="/api/gateway/".concat(e,"/command?all=true&page=").concat(n,"&perPage=").concat(a),i="".concat(t.rootGetters["optionsModule/getAPIUrl"],":").concat(t.rootGetters["optionsModule/getAPIPort"]);G.a.get(r,{baseURL:i}).then((function(e){t.commit("updateCommands",e.data);var n=0;e.headers["X-Total-Count"]?n=e.headers["X-Total-Count"]:e.headers["x-total-count"]&&(n=e.headers["x-total-count"]),n&&t.commit("updateTotalCount",n)})).catch((function(e){t.dispatch("notifyModule/insertNotify",{type:"error",message:e.message},{root:!0}),console.error(e.message)}))}else t.dispatch("notifyModule/insertNotify",{type:"error",message:"missing: gatewayId"},{root:!0}),console.error("missing: gatewayId")}},Bc={namespaced:Ec,state:Ac,getters:Sc,mutations:Fc,actions:Uc};r["a"].use(Wo["a"]);var $c={state:{version:"1.0.0"},modules:{c3Module:is,visModule:mc,modalModule:ds,notifyModule:kc,c3Capability:Tc,optionsModule:Mc,paginateModule:ms,c3CommandModule:Bc}},Vc=new Wo["a"].Store($c),Kc=n("7bb1");n("b107");r["a"].config.productionTip=!1,window.networkc3={},r["a"].use(Kc["a"],{inject:!1,validity:!0}),new r["a"]({store:Vc,render:function(t){return t(Xo)}}).$mount("#app")},cf25:function(t,e,n){"use strict";var a=n("fea6"),r=n.n(a);r.a},d027:function(t,e,n){},d199:function(t,e,n){},d2bf:function(t,e,n){},d94a:function(t,e,n){"use strict";var a=n("0885"),r=n.n(a);r.a},dda9:function(t,e,n){},df1d:function(t,e,n){},e14d:function(t,e,n){},e181:function(t,e,n){"use strict";var a=n("a1b6"),r=n.n(a);r.a},e1b5:function(t,e,n){"use strict";var a=n("d2bf"),r=n.n(a);r.a},e3dc:function(t,e,n){},e72f:function(t,e,n){"use strict";var a=n("e14d"),r=n.n(a);r.a},e813:function(t,e,n){"use strict";var a=n("c41d"),r=n.n(a);r.a},e97c:function(t,e,n){},ecdf:function(t,e,n){},f856:function(t,e,n){},f8ce:function(t,e,n){},fb1d:function(t,e,n){"use strict";var a=n("c0a0"),r=n.n(a);r.a},fea6:function(t,e,n){}}); -//# sourceMappingURL=app.bf5ac533.js.map \ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js.map b/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js.map deleted file mode 100644 index 689e85a7..00000000 --- a/Src/WebController/Backend/wwwroot/js/app.bf5ac533.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Notification.vue?aa51","webpack:///./src/components/partial/ChannelList.vue?2672","webpack:///./src/components/Controll.vue?f5dd","webpack:///./src/components/partial/RelayList.vue?251f","webpack:///./src/components/modals/Command.vue?91f2","webpack:///./src/components/SideMenu.vue?af4a","webpack:///./src/components/modals/Relay.vue?a1cd","webpack:///./src/components/modals/CreateRelay.vue?7f38","webpack:///./src/components/partial/PeripheralList.vue?b7cf","webpack:///./src/components/Navbar.vue?2cf3","webpack:///./src/components/form/Input.vue?a5f3","webpack:///./src/components/form/CheckBox.vue?cedc","webpack:///./src/components/form/Textarea.vue?45e9","webpack:///./src/components/partial/RouteList.vue?985b","webpack:///./src/components/Canvas.vue?9ed8","webpack:///./src/components/partial/CommandList.vue?f366","webpack:///./src/assets/logo.svg","webpack:///./src/components/modals/Interface.vue?ab2e","webpack:///./src/components/form/SelectGatewayForm.vue?4b8f","webpack:///./src/components/GatewayForm.vue?3d1b","webpack:///./src/components/datatables/DataTableFooter.vue?7143","webpack:///./src/components/partial/NetworkStats.vue?b880","webpack:///./src/components/form/Toggle.vue?6083","webpack:///./src/components/partial/ConnectorList.vue?c0a7","webpack:///./src/components/Footer.vue?ffb9","webpack:///./src/components/partial/DonutForm.vue?0f12","webpack:///./src/types/c3types.ts","webpack:///./src/App.vue?7dca","webpack:///./src/components/Modal.vue?f6b8","webpack:///./src/c3.ts","webpack:///./src/components/modals/Relay.vue?3c5e","webpack:///./src/components/partial/RouteList.vue?64c6","webpack:///./src/components/partial/Partial.ts","webpack:///./src/components/partial/RouteList.vue?06ec","webpack:///./src/components/partial/RouteList.vue?7d6e","webpack:///./src/components/partial/RouteList.vue","webpack:///./src/components/partial/ChannelList.vue?c8ad","webpack:///./src/components/partial/ChannelList.vue?faea","webpack:///./src/components/partial/ChannelList.vue?6305","webpack:///./src/components/partial/ChannelList.vue","webpack:///./src/components/partial/PeripheralList.vue?8acf","webpack:///./src/components/partial/PeripheralList.vue?1531","webpack:///./src/components/partial/PeripheralList.vue?378d","webpack:///./src/components/partial/PeripheralList.vue","webpack:///./src/components/modals/Relay.vue?6330","webpack:///./src/components/modals/Relay.vue?8630","webpack:///./src/components/modals/Relay.vue","webpack:///./src/components/modals/Command.vue?1878","webpack:///./src/components/modals/Command.vue?8ca1","webpack:///./src/components/modals/Command.vue?c60c","webpack:///./src/components/modals/Command.vue","webpack:///./src/components/modals/Gateway.vue?6dad","webpack:///./src/components/partial/NetworkStats.vue?9e8f","webpack:///./src/components/partial/NetworkStats.vue?c9ff","webpack:///./src/components/partial/NetworkStats.vue?6899","webpack:///./src/components/partial/NetworkStats.vue","webpack:///./src/components/partial/ConnectorList.vue?6937","webpack:///./src/components/partial/ConnectorList.vue?a4e8","webpack:///./src/components/partial/ConnectorList.vue?4a28","webpack:///./src/components/partial/ConnectorList.vue","webpack:///./src/components/modals/CommandCenter.vue?605d","webpack:///./src/components/form/Input.vue?536d","webpack:///./src/components/form/C3FormElement.ts","webpack:///./src/components/form/Input.vue?0950","webpack:///./src/components/form/Input.vue?b457","webpack:///./src/components/form/Input.vue","webpack:///./src/components/form/Select.vue?dc21","webpack:///./src/components/form/Select.vue?5ae7","webpack:///./src/components/form/Select.vue?9c6b","webpack:///./src/components/form/Select.vue","webpack:///./src/components/form/GeneralForm.vue?5182","webpack:///./src/components/form/CheckBox.vue?f085","webpack:///./src/components/form/CheckBox.vue?2a9d","webpack:///./src/components/form/CheckBox.vue?e74f","webpack:///./src/components/form/CheckBox.vue","webpack:///./src/components/form/Textarea.vue?c511","webpack:///./src/components/form/Textarea.vue?b2ff","webpack:///./src/components/form/Textarea.vue?404a","webpack:///./src/components/form/Textarea.vue","webpack:///./src/components/form/GeneralForm.vue?492d","webpack:///./src/components/form/GeneralForm.vue?1dcc","webpack:///./src/components/form/GeneralForm.vue","webpack:///./src/components/modals/CommandCenter.vue?1834","webpack:///./src/components/modals/CommandCenter.vue?4b8f","webpack:///./src/components/modals/CommandCenter.vue","webpack:///./src/components/modals/Gateway.vue?139e","webpack:///./src/components/modals/Gateway.vue?d72d","webpack:///./src/components/modals/Gateway.vue","webpack:///./src/components/modals/Interface.vue?6f0c","webpack:///./src/components/modals/Interface.vue?d51e","webpack:///./src/components/modals/Interface.vue?84e7","webpack:///./src/components/modals/Interface.vue","webpack:///./src/components/modals/CreateRelay.vue?d140","webpack:///./src/components/partial/DonutForm.vue?04aa","webpack:///./src/components/partial/DonutForm.vue?e442","webpack:///./src/components/partial/DonutForm.vue?0e68","webpack:///./src/components/partial/DonutForm.vue","webpack:///./src/components/modals/CreateRelay.vue?6c1d","webpack:///./src/components/modals/CreateRelay.vue?9a90","webpack:///./src/components/modals/CreateRelay.vue","webpack:///./src/components/modals/CreateGateway.vue?8e7a","webpack:///./src/components/modals/CreateGateway.vue?a2ac","webpack:///./src/components/modals/CreateGateway.vue?de3f","webpack:///./src/components/modals/CreateGateway.vue","webpack:///./src/components/modals/ConnectRelays.vue?ac58","webpack:///./src/components/modals/ConnectRelays.vue?380a","webpack:///./src/components/modals/ConnectRelays.vue?a4d9","webpack:///./src/components/modals/ConnectRelays.vue","webpack:///./src/components/modals/Options.vue?27c6","webpack:///./src/components/modals/Options.vue?7b67","webpack:///./src/components/modals/Options.vue?61d2","webpack:///./src/components/modals/Options.vue","webpack:///./src/components/Modal.vue?fcbb","webpack:///./src/components/Modal.vue?2e40","webpack:///./src/components/Modal.vue","webpack:///./src/components/Canvas.vue?2572","webpack:///./src/components/form/Toggle.vue?fae7","webpack:///./src/components/form/Toggle.vue?acac","webpack:///./src/components/form/Toggle.vue?c9d7","webpack:///./src/components/form/Toggle.vue","webpack:///./src/lib/path.ts","webpack:///./src/components/Canvas.vue?65a0","webpack:///./src/components/Canvas.vue?1a0e","webpack:///./src/components/Canvas.vue","webpack:///./src/components/Footer.vue?6c53","webpack:///./src/components/Footer.vue?47c3","webpack:///./src/components/Footer.vue?4a0f","webpack:///./src/components/Footer.vue","webpack:///./src/components/Navbar.vue?3315","webpack:///./src/components/Navbar.vue?6c59","webpack:///./src/components/Navbar.vue?1bdf","webpack:///./src/components/Navbar.vue","webpack:///./src/components/Controll.vue?08b8","webpack:///./src/components/datatables/Relays.vue?87cd","webpack:///./src/components/partial/RelayList.vue?9bf1","webpack:///./src/components/partial/RelayList.vue?e3da","webpack:///./src/components/partial/RelayList.vue?c946","webpack:///./src/components/partial/RelayList.vue","webpack:///./src/components/datatables/DataTableFooter.vue?cf9b","webpack:///./src/components/datatables/DataTableFooter.vue?283b","webpack:///./src/components/datatables/DataTableFooter.vue?e8ee","webpack:///./src/components/datatables/DataTableFooter.vue","webpack:///./src/components/datatables/Relays.vue?e99b","webpack:///./src/components/datatables/Relays.vue?8d18","webpack:///./src/components/datatables/Relays.vue","webpack:///./src/components/datatables/Commands.vue?6e75","webpack:///./src/components/partial/CommandList.vue?2020","webpack:///./src/components/partial/CommandList.vue?ce21","webpack:///./src/components/partial/CommandList.vue?9d8b","webpack:///./src/components/partial/CommandList.vue","webpack:///./src/components/datatables/Commands.vue?14cf","webpack:///./src/components/datatables/Commands.vue?67c2","webpack:///./src/components/datatables/Commands.vue","webpack:///./src/components/datatables/Interfaces.vue?1a09","webpack:///./src/components/partial/InterfaceList.vue?b252","webpack:///./src/components/partial/InterfaceList.vue?90ef","webpack:///./src/components/partial/InterfaceList.vue?c5e5","webpack:///./src/components/partial/InterfaceList.vue","webpack:///./src/components/datatables/Interfaces.vue?a48b","webpack:///./src/components/datatables/Interfaces.vue?fb57","webpack:///./src/components/datatables/Interfaces.vue","webpack:///./src/components/Controll.vue?60cb","webpack:///./src/components/Controll.vue?71af","webpack:///./src/components/Controll.vue","webpack:///./src/components/SideMenu.vue?18b2","webpack:///./src/components/SideMenu.vue?4ee6","webpack:///./src/components/SideMenu.vue?e9cd","webpack:///./src/components/SideMenu.vue","webpack:///./src/components/GatewayForm.vue?47e6","webpack:///./src/components/form/SelectGatewayForm.vue?1fff","webpack:///./src/components/form/SelectGatewayForm.vue?cf7c","webpack:///./src/components/form/SelectGatewayForm.vue?e87b","webpack:///./src/components/form/SelectGatewayForm.vue","webpack:///./src/components/GatewayForm.vue?8fdb","webpack:///./src/components/GatewayForm.vue?0c0a","webpack:///./src/components/GatewayForm.vue","webpack:///./src/components/Notification.vue?2c02","webpack:///./src/components/Notification.vue?b843","webpack:///./src/components/Notification.vue?22c7","webpack:///./src/components/Notification.vue","webpack:///./src/App.vue?ec60","webpack:///./src/App.vue?640d","webpack:///./src/App.vue","webpack:///./src/store/C3Module.ts","webpack:///./src/store/ModalModule.ts","webpack:///./src/store/PaginateModule.ts","webpack:///./src/components/assets/SvgIconsForVis.ts","webpack:///./src/options.ts","webpack:///./src/store/VisModule.ts","webpack:///./src/store/NotifyModule.ts","webpack:///./src/store/C3Capability.ts","webpack:///./src/store/OptionsModule.ts","webpack:///./src/store/C3Command.ts","webpack:///./src/store.ts","webpack:///./src/main.ts","webpack:///./src/App.vue?272e","webpack:///./src/components/modals/ConnectRelays.vue?83d9","webpack:///./src/components/modals/CommandCenter.vue?730c","webpack:///./src/components/form/GeneralForm.vue?7a52","webpack:///./src/components/Modal.vue?dbe3","webpack:///./src/components/form/Select.vue?9f8b","webpack:///./src/components/partial/InterfaceList.vue?84b9"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","NodeKlass","_vm","this","_h","$createElement","_c","_self","attrs","hasSelectedGateway","staticClass","_e","_v","staticRenderFns","nullNode","uid","klass","Undefined","id","pending","isActive","type","error","parentId","parentKlass","isReturnChannel","isNegotiationChannel","initialCommand","propertiesText","class","activeModal","modalTarget","toLowerCase","isGateway","targetUid","isRelay","options","isInterface","on","$event","target","currentTarget","closeThisModal","closeAllModal","C3Module","NotifyModule","ModalModule","C3Capability","PaginateModule","C3","modal","newModal","modalTargetId","modalOptions","closeModal","closeModalAll","notify","insertNotify","c3Interface","getTypeNameForInterface","addNotify","message","c3Channel","c3Command","interfaceId","undefined","relayAgentId","getNodeKlass","gateway","Relay","Gateway","returnClass","isPending","e","keyCode","unixTimestamp","time","Date","timeStr","toISOString","replace","getItemPerPage","getActualPage","itemPerPage","actualPage","maxIndex","getGateway","Mutation","Action","Getter","relay","_s","openModal","buildId","unixTimeToString","timestamp","hostInfo","computerName","userName","domain","processId","isElevated","osMajorVersion","osMinorVersion","osBuildNumber","osServicePackMajor","osServicePackMinor","osProductType","osVersion","targetId","JSON","stringify","routes","displayEmpty","directives","rawName","expression","title","_m","_l","route","destinationAgent","receivingInterface","outgoingInterface","isNeighbour","staticStyle","sendCommand","Partial","showEmpty","C3OptionsModule","RouteList","routeToDelete","getCommandId","command","arguments","apiURL","getRelay","url","method","baseURL","getAPIBaseUrl","then","response","catch","msg","console","getRelayRoutes","getGatewayRoutes","interfaceKlass","capability","getCapabilityFor","com","commands","find","component","channels","channel","interfaceTypeName","interfaceType","ChannelList","getInterfacesFor","Channel","peripherals","peripheral","PeripheralList","Peripheral","RelayModal","addEventListener","handleGlobalKeyDown","removeEventListener","components","PheripheralList","InterfaceUID","commandType","isCommandPending","commandTypeId","C3CommandModule","CommandModal","getCommand","countRelays","countChannels","countConnectors","countPheripherals","port","NetworkStats","getAPIUrl","getAPIPort","getRefreshInterval","getRelays","getInterfaces","Connector","connectors","connector","ConnectorList","currentItem","selectedCommandGroup","commandGroupOptions","changeCommandGroup","commandGroup","selectedCommandTarget","commandTargetOptions","changeCommandTarget","commandTarget","selectedInterface","selectedCommand","selectedInterfaceKlass","argumentOptions","changeForm","formData","formIsValid","help","onClickRandom","_b","ref","dirty","isDirty","isDisabled","inputUID","autocomplete","domProps","changeInputText","gainFocus","lostFocus","composing","inputText","$attrs","clickOnLabel","legend","errors","first","C3FormElement","disabled","Math","random","toString","substring","Input","focused","getValue","intervalTimer","handleEnterAndTabKeyDown","setInterval","clearInterval","$refs","textinput","focus","$validator","verify","validate","valid","isValid","$emit","substr","rand","parseInt","$_veeValidate","validator","toggleSelect","hasBorder","selectedValue","dropDownIcon","directionReverse","style","selected","isSelected","selectAndClose","Select","isOpen","border","up","selectRef","selectUlStyle","calculateSelectUlOffset","selectedId","feedback","rect","$el","getBoundingClientRect","scrollLeft","pageXOffset","document","documentElement","scrollTop","pageYOffset","top","left","width","keys","forEach","field","getFieldType","tag","validation","randomize","setDefaultValue","defaultValue","description","onChange","getIconKlass","Array","isArray","isChecked","_i","_q","$$a","$$el","$$c","checked","$$v","$$i","concat","toogleCheckBox","CheckBox","getIsChecked","isCheckedValue","dataText","updateTextarea","updateTextfield","Textarea","textareainput","base64","reader","FileReader","file","fileinput","readAsDataURL","files","onload","GeneralForm","argumentsArray","argumentObjects","f","payload","index","findIndex","emitFormData","clearArray","element","getCommandFrom","rData","v","min","max","inputId","outputId","hasOptions","output","item","input","inputName","inputValue","newValue","argument","getValidationRule","getRandomLenght","argumentItem","setArgumentData","interfaceName","CommandCenterModal","formDirty","formDefault","prefix","interface","dataToEmit","getInterface","resetForm","defaultCommandGroup","defaultCommandTarget","targetGroup","getCommandGroupFor","getCommandTargetFor","singular","split","toUpperCase","embeded","GatewayModal","CommandCenter","getInterfaceJitter","generateOprions","InterfaceModal","isChannel","node","parse","interfaceAguments","propertiesAurguments","values","objectOrArray","getInterfaceParentId","attributes","tmp","a","argumentsString","getArguments","match","optionsArguments","getArgumentsAttributes","changeInputOutputIDs","propertiesArguments","getPropertiesArguments","isNormalChannel","getPrefix","getInterfaceTypeString","generateCommandCenterArguments","source","generateSourceOptions","showConnectRelayButton","showNewRelayButton","showButtons","jitter","changeName","relayName","gatewayBuildsId","selectedTargetSuffix","dll","exe","shellcode","changeTargetSuffix","targetSuffix","selectedArchitecture","x86","x64","changeArchitecture","architecture","changeDonutForm","addNewRelayToOptions","createNewRelay","selectedFormat","Binary","Base64","Ruby","C","Python","Powershell","Csharp","HeX","changeFormat","format","selectedCompress","None","Aplib","Lznt1","Xpress","Xpress_huff","changeCompress","compress","selectedEntropy","Random","Default","changeEntropy","entropy","selectedExitOpt","Exit_thread","Exit_process","changeExitOpt","exitOpt","selectedBypass","Abort","Continue","changeBypass","bypass","DonutForm","emitDonut","donut","CreateRelayModal","donutSelected","donutFormData","parentGatewayBuildId","startupCommands","responseType","fileName","blob","Blob","contentDisposition","headers","URL","createObjectURL","link","createElement","href","setAttribute","body","appendChild","click","remove","revokeObjectURL","gatewayName","createNewGateway","CreateGatewayModal","apiUrl","getGateways","selectedRelay","generateRelayList","changeTargetRelay","targetRelay","addNewRelayGroupToOptions","ConnectRelayModal","selectOptions","optionsCount","nullLiteral","nodes","sourceRelay","sourceInterface","c3Url","setUrl","c3Port","setPort","isFormValid","saveNetworkConfig","OptionsModal","c3UrlIsValid","c3PortIsValid","setBaseURL","setBasePort","getUrl","getPort","Modal","Command","Options","Interface","CreateRelay","CreateGateway","isFullscreen","fullscreenIcon","getTreeView","toggleTreeView","toggleInterfaces","getShowLabels","toggleLabels","getPhysics","togglePhysics","getSmoothEdges","toggleSmoothEdges","reloadGraph","toogleToggle","Toggle","booleanCheckbox","FindThePathToGateway","startNode","paths","nodeId","setStartNode","iterations","hasPathEndpoints","targetNode","nextNode","handleNodeChannel","handleConnectorAndPeripheral","handleRelay","checkEndLoop","getNodes","setNextNodeForChannel","isStartNodeConnectorOrPeripheral","setNextAndParentNode","isStartNodeRelay","setNextNodeForRelay","getEdges","filter","edge","to","from","neighbour","getParentNode","insertParentNodeToPaths","setNextNodeForReturnChannel","getChannelNeighbours","possibleNext","getPossibeNext","setAndInsertNextNode","getRelayNeighbours","VisModule","Canvas","container","isSmooth","lastClickNodeId","createVisCanvas","c3canvas","networkc3","getGrapData","graphOtions","params","nodeid","getNodeAt","pointer","DOM","nodeKlass","deselectNodes","clearPath","selectNode","progressBarStatus","getElementById","status","floor","getOptions","physics","stabilization","updateInterval","progressBar","b","setTreeView","setOptions","setGraphData","setPhysics","setShowInterfaces","generateNodes","generateEdges","setShowLabels","setSmoothEdge","layout","randomSeed","getVisNodes","update","shadow","enabled","getVisEdges","tmpEdge","edges","color","getPathsFromGateway","includes","findPath","hierarchical","getShowInterfaces","Footer","Navbar","active","activeIsRelay","setActiveTab","activeIsInterface","activeIsCommands","setCount","getCount","relays","minIndex","RelayList","results","perPage","changePerPage","page","prevPage","maxPage","nextPage","DataTableFooter","perPageCount","setItemPerPage","setActualPage","maxpage","ceil","RelaysTab","rCount","selectedCommandStatus","selectedCommandFor","CommandList","commandsArray","getCommands","statusFilter","commandForFilter","CommandsTab","commandFor","commandStatus","oldValue","fetchCommands","getCommandCount","selectedInterfaceType","ALL","CHANNEL","PERIPHERAL","CONNECTOR","selectInterfaceType","selectedReturnChannel","YES","NO","isChannelOrAllForDisabled","selectReturnChannel","returnChannel","selectedNegotiationChannel","selectNegotiationChannel","negotiationChannel","c3Interfaces","InterfaceList","interfaces","interfaceTypeFilter","returnChannelFilter","c3Node","negotiationChannelFilter","InterfacesTab","iCount","interfaceByType","emitedCountNumber","newtype","filterReturnChannel","filterNegotiationChannel","Controll","activeTab","hasGatewaySelected","Relays","Commands","Interfaces","selectedRefreshRate","refreshRates","setRefreshRate","refreshRate","getAutoUpdateEnabled","toggleAutoUpdate","SideMenu","setAutoUpdateEnabled","rate","setRefreshInterval","1","2","5","10","20","30","60","120","300","600","1800","3600","selectedGateway","gateways","selectGateway","activeGateway","SelectGatewayForm","changeGateway","fetchGateway","gatewayId","g","agentId","GatewayForm","deleteNotify","Notification","removeNotify","getNotifies","App","updateData","setTime","setData","fetchCapability","fetchGateways","namespaced","state","relayTimestamps","mustRefresh","lastGetHash","getters","c3State","now","mutations","updateGateways","updateGateway","populateNodes","uuid","args","join","isRelayActive","gatewayTimestamp","relayTimestamp","iid","newTime","populateEdges","guid","interfaceIsExist","dashes","isDashed","actions","context","nodeIds","dispatch","root","rootGetters","commit","hash","c3Module","modals","modalState","last","pop","modalModule","lastChange","paginateState","getLastChange","paginateModule","svgChannelActive","svgChannelReturn","svgChannelError","svgNegotiationActive","svgNegotiationError","svgPeripheralActive","svgPeripheralError","svgConnectorActive","svgConnectorError","svgInterfaceActive","svgInterfaceInactive","svgInterfaceError","svgGatewayActive","svgGatewayInactive","svgGatewayError","svgRelayActive","svgRelayInactive","svgRelayGhost","svgRelayError","ChannelActive","encodeURIComponent","ChannelReturn","ChannelError","PeripheralActive","PeripheralError","NegotiationActive","NegotiationError","ConnectorActive","ConnectorError","GatewayActive","GatewayInactive","GatewayError","RelayActive","RelayInactive","RelayGhost","RelayError","GATEWAY","RELAY","NEGOTIATION_CHANNEL","RETURN_CHANNEL","INACTIVE","GHOST","VisOptions","font","background","size","face","strokeWidth","vadjust","x","y","widthConstraint","maximum","margin","highlight","smooth","groups","shape","image","11","13","14","21","23","24","25","26","28","29","31","32","33","35","36","40","41","50","51","improvedLayout","direction","parentCentralization","blockShifting","levelSeparation","treeSpacing","nodeSpacing","edgeMinimization","sortMethod","solver","barnesHut","gravitationalConstant","springLength","springConstant","damping","avoidOverlap","minVelocity","onlyDynamicEdges","fit","interaction","navigationButtons","keyboard","maximumToast","notifyLenght","showInterfaces","showLabels","autoUpdateEnabled","graphData","visState","setNodes","setEdges","graph","gatewayLastStartTime","gatewayIsActive","setGroup","gatewayStartTime","isGatewayActive","group","interfaccesIncluded","label","es","visModule","notifys","notifyState","updateNotify","notifyIndex","removeOldestNotify","notifyCount","timeoutID","clearTimeout","addNotification","notification","setTimeout","lastNotify","notifyModule","interfaceList","capabilityState","relayCommands","channelCommands","peripheralCommands","connectorCommands","option","commandName","currentType","commandList","form","commandItem","optionType","k","getTypesForInterfaceKlass","updateCapability","populateList","getItem","c3Capability","baseUrl","refreshInterval","optionsState","optionsModule","totalCount","C3State","updateCommands","updateTotalCount","c3CommandModule","use","store","version","Store","config","productionTip","inject","validity","render","h","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU6B,QAGnC,IAAIC,EAASF,EAAiB5B,GAAY,CACzCK,EAAGL,EACH+B,GAAG,EACHF,QAAS,IAUV,OANAf,EAAQd,GAAUW,KAAKmB,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOC,GAAI,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G,OAAOC,eAAgB,EAE1Bv7B,OAAekkB,UAAY,GAE5B,OAAIgX,IAAI,QAAa,CACnBM,QAAQ,EACRC,UAAU,IAGZ,IAAI,OAAI,CACNN,MAAA,GACAO,OAAQ,SAAAC,GAAC,OAAIA,EAAE,OACdC,OAAO,S,kCCnBV,yBAAmf,EAAG,G,uGCAtf,yBAAuiB,EAAG,G,uGCA1iB,yBAAuiB,EAAG,G,kCCA1iB,yBAAqiB,EAAG,G,yDCAxiB,yBAA0gB,EAAG,G,kCCA7gB,yBAAwjB,EAAG,G,8HCA3jB,yBAA+jB,EAAG,G","file":"js/app.bf5ac533.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=style&index=0&id=f4969ade&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=style&index=0&id=f4969ade&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=style&index=0&id=579275ba&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=style&index=0&id=579275ba&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=style&index=0&id=3748fed6&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=style&index=0&id=3748fed6&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=style&index=0&id=6cd95e5d&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=style&index=0&id=6cd95e5d&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=style&index=0&id=0686e7da&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=style&index=0&id=0686e7da&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=style&index=0&id=5295cdf8&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=style&index=0&id=5295cdf8&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=style&index=0&id=0d08badc&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=style&index=0&id=0d08badc&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=style&index=0&id=40202deb&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=style&index=0&id=40202deb&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=style&index=0&id=0828628d&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=style&index=0&id=0828628d&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=style&index=0&id=4f91561c&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=style&index=0&id=4f91561c&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=style&index=0&id=39bf6527&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=style&index=0&id=39bf6527&scoped=true&lang=sass&\"","module.exports = __webpack_public_path__ + \"img/logo.5ba5b17a.svg\";","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=style&index=0&id=33bc8b88&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=style&index=0&id=33bc8b88&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=style&index=0&id=49ef2de9&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=style&index=0&id=49ef2de9&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=style&index=0&id=2eac248e&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=style&index=0&id=2eac248e&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=style&index=0&id=b5131632&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=style&index=0&id=b5131632&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=style&index=0&id=edfe580a&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=style&index=0&id=edfe580a&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=style&index=0&id=5ea1cc30&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=style&index=0&id=5ea1cc30&scoped=true&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=style&index=0&id=62086585&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=style&index=0&id=62086585&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=style&index=0&id=2a2638f3&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=style&index=0&id=2a2638f3&scoped=true&lang=sass&\"","export interface C3State {\n edges: C3Edge[];\n nodes: C3Node[];\n gateways: GatewayHeader[];\n gateway?: C3Gateway | null;\n relayTimestamps?: C3RelayTime[];\n mustRefresh?: boolean;\n lastGetHash: string;\n}\n\nexport enum NodeKlass {\n Channel = 'CHANNEL',\n Connector = 'CONNECTOR',\n Gateway = 'GATEWAY',\n Interface = 'INTERFACE',\n Peripheral = 'PERIPHERAL',\n Relay = 'RELAY',\n Undefined = 'UNDEFINED'\n}\n\nexport interface C3RelayTime {\n id: string;\n time: number;\n}\n\nexport interface C3Node {\n id: string;\n uid: string;\n name?: string;\n klass: NodeKlass;\n buildId?: string;\n pending: boolean;\n isActive?: boolean;\n type: number;\n timestamp?: number;\n error: string | null;\n initialCommand?: any;\n propertiesText?: any;\n parentId: string | null;\n parentKlass: string | null;\n isReturnChannel?: boolean;\n isNegotiationChannel?: boolean;\n hostInfo?: C3HostInfo;\n [key: string]: any;\n}\n\nexport const nullNode: C3Node = {\n uid: '',\n klass: NodeKlass.Undefined,\n id: '',\n name: 'Null Node',\n pending: false,\n isActive: false,\n type: 0,\n error: null,\n parentId: null,\n parentKlass: null,\n isReturnChannel: false,\n isNegotiationChannel: false,\n initialCommand: {},\n propertiesText: {}\n};\n\nexport interface C3Edge {\n id: string;\n klass: NodeKlass;\n isNegotiationChannel?: boolean;\n length: number;\n dashes: boolean;\n from: string;\n to: string;\n color?: string;\n [key: string]: any;\n}\n\nexport interface C3Interface {\n iid: string;\n type: number;\n error?: string;\n pending?: boolean;\n parentId?: string;\n initialCommand?: any;\n propertiesText?: any;\n isReturnChannel?: boolean;\n isNegotiationChannel?: boolean;\n}\n\nexport interface C3Route {\n isNeighbour?: boolean;\n destinationAgent: string;\n outgoingInterface: string;\n receivingInterface: string;\n}\n\nexport interface C3Relay {\n buildId: string;\n agentId: string;\n channels: C3Interface[];\n error?: string;\n initialCommand?: any;\n propertiesText?: any;\n name: string;\n pending: boolean;\n peripherals: C3Interface[];\n routes: C3Route[];\n isActive: boolean;\n timestamp?: number;\n hostInfo: C3HostInfo;\n}\n\nexport interface C3HostInfo {\n computerName: string;\n userName: string;\n domain: string;\n osMajorVersion: number;\n osMinorVersion: number;\n osBuildNumber: number;\n osServicePackMajor: number;\n osServicePackMinor: number;\n osProductType: number;\n processId: number;\n isElevated: boolean;\n osVersion: string;\n}\n\nexport interface GatewayHeader {\n agentId: string;\n buildId: string;\n name: string;\n isActive: boolean;\n}\n\nexport interface C3Gateway {\n agentId: string;\n buildId: string;\n channels: C3Interface[];\n connectors: C3Interface[];\n error?: string;\n initialCommand?: any;\n propertiesText?: any;\n name: string;\n pending: boolean;\n peripherals: C3Interface[];\n relays: C3Relay[];\n routes: C3Route[];\n isActive: boolean;\n timestamp?: number;\n}\n\ninterface C3Args {\n args: C3Opts[];\n}\n\ninterface C3Opts {\n [key: string]: string;\n}\n\nexport interface C3Command {\n name: string;\n id: string | number;\n isPending: boolean;\n data: C3Opts[] | C3Args;\n interfaceId?: string | number;\n relayAgentId?: string | number;\n}\n\nexport interface C3Parent {\n agentId: string;\n parentType: string;\n}\n\nexport interface FetchData {\n relayId?: string;\n gatewayId: string;\n interfaceId?: string;\n}\n\nexport interface C3FieldDefault {\n name: string;\n type?: string;\n value: string;\n}\n\nexport interface FormOptions {\n prefix: string;\n interface: string;\n arguments: C3FieldDefault[];\n}\n\nexport interface SourceOptions {\n relay?: C3Node;\n interface?: C3Node;\n}\nexport interface C3CommandCenterOptions {\n formDefault?: FormOptions;\n source?: SourceOptions;\n targetGroup?: string;\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Navbar'),(_vm.hasSelectedGateway === true)?_c('div',{staticClass:\"c3body\"},[_c('div',{staticClass:\"c3body-main\"},[_c('GatewayForm'),_c('Canvas'),_c('Controll')],1),_c('SideMenu')],1):_vm._e(),(_vm.hasSelectedGateway === false)?_c('div',{staticClass:\"c3body-no-gateway-message\"},[_c('h1',[_vm._v(\"There are currently no active Gateways\")]),_c('p',[_vm._v(\" Once a gateway has been detected it will automatically show up and this message will not appear, c3 checks for any gateway every minute. \")])]):_vm._e(),(_vm.hasSelectedGateway === false)?_c('CreateGatewayModal',{staticClass:\"c3body-gateway\"}):_vm._e(),_c('div'),_c('Footer'),_c('Modal'),_c('Notification')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentModal)?_c('div',{staticClass:\"c3modal\",class:this.activeModal.modalTarget.toLowerCase()},[_c('div',{staticClass:\"c3modal-holder\"},[(_vm.isGateway())?_c('GatewayModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(_vm.isRelay())?_c('RelayModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(this.activeModal.modalTarget === 'CREATE_GATEWAY')?_c('CreateGatewayModal'):_vm._e(),(this.activeModal.modalTarget === 'CREATE_RELAY')?_c('CreateRelayModal',{attrs:{\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'COMMAND_CENTER')?_c('CommandCenterModal',{attrs:{\"target-id\":_vm.targetUid,\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'CONNECT_RELAY')?_c('ConnectRelayModal',{attrs:{\"target-id\":_vm.targetUid,\"options\":_vm.options()}}):_vm._e(),(this.activeModal.modalTarget === 'COMMAND')?_c('CommandModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),(this.activeModal.modalTarget === 'OPTIONS')?_c('OptionsModal'):_vm._e(),(_vm.isInterface())?_c('InterfaceModal',{attrs:{\"target-id\":_vm.targetUid}}):_vm._e(),_c('span',{staticClass:\"c3modal-back icon back\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\"Back\")]),_c('span',{staticClass:\"c3modal-close icon close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeAllModal()}}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\n\nimport { GetNodeKlassFn } from '@/store/C3Module';\nimport { Notify, InsertNotifyFn } from '@/store/NotifyModule';\nimport { NewModalFn, CloseModalFn } from '@/store/ModalModule';\nimport { GetTypeNameForInterfaceFn } from '@/store/C3Capability';\nimport { C3Node, C3Command, NodeKlass, nullNode } from '@/types/c3types';\n\nconst C3Module = namespace('c3Module');\nconst NotifyModule = namespace('notifyModule');\nconst ModalModule = namespace('modalModule');\nconst C3Capability = namespace('c3Capability');\nconst PaginateModule = namespace('paginateModule');\n\n@Component\nexport default class C3 extends Vue {\n @ModalModule.Mutation public newModal!: NewModalFn;\n @ModalModule.Mutation public closeModal!: CloseModalFn;\n @ModalModule.Mutation public closeModalAll!: CloseModalFn;\n\n @NotifyModule.Action public insertNotify!: InsertNotifyFn;\n\n @C3Capability.Getter\n public getTypeNameForInterface!: GetTypeNameForInterfaceFn;\n\n @PaginateModule.Getter public getItemPerPage!: number;\n @PaginateModule.Getter public getActualPage!: number;\n\n @C3Module.Getter public getNodeKlass!: GetNodeKlassFn;\n @C3Module.Getter public getGateway!: C3Node;\n\n get itemPerPage() {\n return this.getItemPerPage;\n }\n\n get actualPage() {\n return this.getActualPage;\n }\n\n get maxIndex() {\n return this.itemPerPage * this.actualPage;\n }\n\n get minIndex() {\n return this.maxIndex - this.itemPerPage;\n }\n\n public openModal(id: string, modal: string, options: any = {}) {\n this.newModal({\n modalTarget: modal,\n modalTargetId: id,\n modalOptions: options\n });\n }\n\n public closeThisModal(): void {\n this.closeModal();\n }\n\n public closeAllModal(): void {\n this.closeModalAll();\n }\n\n public addNotify(notify: Notify): void {\n this.insertNotify(notify);\n }\n\n public interfaceTypeName(c3Interface: C3Node): string {\n if (c3Interface && c3Interface.type !== null) {\n if (c3Interface.klass) {\n return this.getTypeNameForInterface(\n c3Interface.type,\n c3Interface.klass\n );\n }\n this.addNotify({\n type: 'error',\n message:\n 'Interface Type cannot be determined. Must be a channel, connector or peripheral.'\n });\n }\n return '';\n }\n\n public interfaceType(c3Channel: C3Node): string {\n if (!!c3Channel.isReturnChannel) {\n return 'Return Channel';\n }\n if (!!c3Channel.isNegotiationChannel) {\n return 'Negotiation Channel';\n }\n\n return '';\n }\n\n get gateway() {\n if (this.getGateway === undefined) {\n return nullNode;\n }\n return this.getGateway;\n }\n\n public commandType(c3Command: C3Command): string {\n if (c3Command.interfaceId && c3Command.interfaceId !== undefined) {\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return this.getNodeKlass(\n c3Command.interfaceId + '-' + c3Command.relayAgentId\n );\n }\n return this.getNodeKlass(c3Command.interfaceId + '-' + this.gateway.id);\n }\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return NodeKlass.Relay;\n }\n return NodeKlass.Gateway;\n }\n\n public commandTypeId(c3Command: C3Command): string {\n if (c3Command.relayAgentId && c3Command.relayAgentId !== undefined) {\n return '' + c3Command.relayAgentId;\n }\n if (c3Command.interfaceId && c3Command.interfaceId !== undefined) {\n return '' + c3Command.interfaceId;\n }\n if (this.gateway) {\n return '' + this.gateway.id;\n }\n return 'error';\n }\n\n public isCommandPending(\n c3Command: C3Command,\n returnClass: boolean = false\n ): string {\n if (returnClass) {\n if (c3Command.isPending === true) {\n return 'Pending';\n }\n return 'Complete';\n }\n if (c3Command.isPending === true) {\n return 'is-complete';\n }\n return 'not-complete';\n }\n\n public handleGlobalKeyDown(e: any): void {\n if (e.keyCode === 27) {\n this.closeAllModal();\n }\n }\n\n public unixTimeToString(unixTimestamp: number) {\n const time = new Date(unixTimestamp * 1000);\n let timeStr = time.toISOString();\n timeStr = timeStr.replace(/-/g, '/');\n timeStr = timeStr.replace('T', ' ');\n timeStr = timeStr.replace('.000Z', '');\n return timeStr;\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.relay !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{ 'has-error': !!_vm.relay.error }},[_c('h1',[_vm._v(\" Relay: \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.relay.name)+\" / \"+_vm._s(_vm.relay.id))])]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Parent \"),_c('span',{staticClass:\"c3link\",on:{\"click\":function($event){return _vm.openModal(_vm.relay.parentId, _vm.relay.parentKlass)}}},[_c('span',{staticClass:\"capitalize\"},[_vm._v(_vm._s(_vm.relay.parentKlass.toLowerCase())+\" / \")]),_vm._v(\" \"+_vm._s(_vm.relay.parentId)+\" \")])]),_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.relay.buildId))])]),_c('p',[_vm._v(\" Last seen \"),_c('span',[_vm._v(_vm._s(_vm.unixTimeToString(_vm.relay.timestamp)))])])]),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.relay.id, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])]),_c('div',{staticClass:\"flex-row host-info\"},[_c('div',{staticClass:\"details\"},[_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"Computer Name \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.computerName))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"User Name \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.userName))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"Domain \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.domain === '' ? '-' : _vm.relay.hostInfo.domain))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"processId \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.processId))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"is Elevated \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.isElevated))])])]),_c('div',{staticClass:\"details\"},[_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Major Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osMajorVersion))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Minor Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osMinorVersion))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Build Number \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osBuildNumber))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Service Pack Major \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osServicePackMajor))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Service Pack Minor \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osServicePackMinor))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Product Type \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osProductType))])]),_c('p',[_c('span',{staticClass:\"details-title\"},[_vm._v(\"OS Version \")]),_c('span',{staticClass:\"details-value\"},[_vm._v(_vm._s(_vm.relay.hostInfo.osVersion))])])])]),(_vm.relay.error && _vm.relay.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.relay.error)+\" \")]):_vm._e()]),_c('div',{staticClass:\"c3modal-details\"},[_c('ChannelList',{attrs:{\"target-id\":_vm.targetId,\"title\":\"Channels\",\"show-empty\":true}}),_c('PheripheralList',{attrs:{\"target-id\":_vm.targetId,\"title\":\"Peripherals\",\"show-empty\":true}}),_c('RouteList',{attrs:{\"target-id\":_vm.targetId,\"parent-id\":_vm.relay.id,\"parent-klass\":\"RELAY\",\"title\":\"Routes\",\"show-empty\":true}}),(JSON.stringify(_vm.relay.initialCommand) !== '{}')?[_c('h1',[_vm._v(\"Command\")]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(JSON.stringify(_vm.relay.initialCommand, null, 4)))])]:_vm._e()],2)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return ((_vm.routes && _vm.routes.length) || _vm.displayEmpty)?_c('div',{staticClass:\"c3route-list\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.routes.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.routes),function(route){return _c('tr',{key:route.destinationAgent},[_c('td',[_vm._v(_vm._s(route.destinationAgent)+\":\"+_vm._s(route.receivingInterface))]),_c('td',[_vm._v(_vm._s(route.destinationAgent))]),_c('td',[_vm._v(_vm._s(route.outgoingInterface))]),_c('td',[_vm._v(_vm._s(route.receivingInterface))]),_c('td',[_vm._v(_vm._s(route.isNeighbour ? 'Yes' : ''))]),_c('td',{staticStyle:{\"position\":\"relative\"}},[_c('span',{staticClass:\"c3route-list-more-btn icon more\"}),_c('ul',{staticClass:\"c3route-list-menu\"},[_c('li',{staticClass:\"c3route-list-menu-item\",on:{\"click\":function($event){return _vm.sendCommand(\n route.destinationAgent + ':' + route.receivingInterface\n )}}},[_vm._v(\" Delete \")])])])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No routes found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Route ID\")]),_c('th',[_vm._v(\"Destination Agent\")]),_c('th',[_vm._v(\"Outgoing Interface\")]),_c('th',[_vm._v(\"Receiving Interface\")]),_c('th',[_vm._v(\"Is Neighbour\")]),_c('th')])])}]\n\nexport { render, staticRenderFns }","import { Prop, Component } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n/**\n * Shared Class for *List components\n *\n * @export\n * @class Partial\n * @extends {Vue}\n */\n\n@Component\nexport default class Partial extends Vue {\n @Prop() public title!: string;\n @Prop() public showEmpty!: boolean;\n\n get hasTitle() {\n return !!this.title && this.title !== '';\n }\n\n get displayEmpty() {\n return !!this.showEmpty && this.showEmpty === true;\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport axios from 'axios';\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass, C3Route } from '@/types/c3types';\nimport { GetRelayRoutesFn, GetRelayFn } from '@/store/C3Module';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\nimport { GetCapabilityForFn } from '@/store/C3Capability';\n\nconst C3Module = namespace('c3Module');\nconst C3Capability = namespace('c3Capability');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component\nexport default class RouteList extends Mixins(C3, Partial) {\n @Prop() public targetId!: string;\n @Prop() public parentId!: string;\n @Prop() public parentKlass!: NodeKlass;\n\n @C3Module.Getter public getRelay!: GetRelayFn;\n @C3Module.Getter public getGatewayRoutes!: C3Route[];\n @C3Module.Getter public getRelayRoutes!: GetRelayRoutesFn;\n\n @C3Capability.Getter public getCapabilityFor!: GetCapabilityForFn;\n\n @C3OptionsModule.Getter public getAPIBaseUrl!: string;\n\n get routes() {\n if (!this.targetId) {\n return this.getGatewayRoutes;\n }\n return this.getRelayRoutes(this.targetId);\n }\n\n get getCommandId() {\n const interfaceKlass = !!this.targetId ? 'RELAY' : 'GATEWAY';\n const capability = this.getCapabilityFor(\n 'Command',\n interfaceKlass as NodeKlass\n );\n if (!!capability) {\n const com = capability.commands.find((c: any) => {\n return c.name === 'RemoveRoute';\n });\n return com.id;\n }\n return '';\n }\n\n get relay() {\n const r = this.getRelay(this.targetId);\n if (!r) {\n this.closeThisModal();\n }\n return r;\n }\n\n public sendCommand(routeToDelete: string): void {\n let data = null;\n\n if (!this.targetId) {\n data = {\n name: 'GatewayCommandGroup',\n data: {\n id: this.getCommandId,\n name: 'Command',\n command: 'RemoveRoute',\n arguments: [\n {\n type: 'string',\n name: 'RouteID',\n value: routeToDelete\n }\n ]\n }\n };\n } else {\n data = {\n name: 'RelayCommandGroup',\n data: {\n id: this.getCommandId,\n name: 'Command',\n command: 'RemoveRoute',\n arguments: [\n {\n type: 'string',\n name: 'RouteID',\n value: routeToDelete\n }\n ]\n }\n };\n }\n\n // POST /api/gateway/{gatewayId}/command\n // POST /api/gateway/{gatewayId}/relay/{relayId}/command\n\n let apiURL = '/api/gateway/';\n\n if (!!this.parentKlass && this.parentKlass === NodeKlass.Gateway) {\n apiURL = apiURL + `${this.parentId}/command`;\n }\n\n if (!!this.parentKlass && this.parentKlass === NodeKlass.Relay) {\n const relay = this.getRelay(this.parentId);\n apiURL = !!relay\n ? apiURL + `${relay.parentId}/relay/${this.parentId}/command`\n : apiURL + `${this.parentId}/command`;\n }\n\n axios({\n url: apiURL,\n method: 'POST',\n baseURL: this.getAPIBaseUrl,\n data\n })\n .then(response => {\n this.addNotify({\n type: 'info',\n message: 'Command successfully sent...'\n });\n this.closeThisModal();\n })\n .catch(error => {\n const msg: string = 'Command NOT sent: ' + error.message;\n this.addNotify({\n type: 'error',\n message: msg\n });\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RouteList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RouteList.vue?vue&type=template&id=4f91561c&scoped=true&\"\nimport script from \"./RouteList.vue?vue&type=script&lang=ts&\"\nexport * from \"./RouteList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RouteList.vue?vue&type=style&index=0&id=4f91561c&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f91561c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.channels.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.channels.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.channels),function(channel){return _c('tr',{key:channel.id,on:{\"click\":function($event){return _vm.openModal(channel.uid, channel.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(channel.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(channel)))]),_c('td',[_vm._v(_vm._s(_vm.interfaceType(channel)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No channels found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Channel ID\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Channel Type\")])])])}]\n\nexport { render, staticRenderFns }","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass } from '@/types/c3types';\nimport { GetInterfacesForFn } from '@/store/C3Module';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class ChannelList extends Mixins(C3, Partial) {\n @Prop() public targetId!: string;\n\n @C3Module.Getter public getInterfacesFor!: GetInterfacesForFn;\n\n get channels() {\n if (!this.targetId) {\n return this.getInterfacesFor(NodeKlass.Channel, null);\n }\n return this.getInterfacesFor(NodeKlass.Channel, this.targetId);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChannelList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChannelList.vue?vue&type=template&id=f4969ade&scoped=true&\"\nimport script from \"./ChannelList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChannelList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChannelList.vue?vue&type=style&index=0&id=f4969ade&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f4969ade\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.peripherals.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.peripherals.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.peripherals),function(peripheral){return _c('tr',{key:peripheral.id,on:{\"click\":function($event){return _vm.openModal(peripheral.uid, peripheral.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(peripheral.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(peripheral)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No peripherals found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Peripheral ID\")]),_c('th',[_vm._v(\"Name\")])])])}]\n\nexport { render, staticRenderFns }","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass } from '@/types/c3types';\nimport { GetInterfacesForFn } from '@/store/C3Module';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class PeripheralList extends Mixins(C3, Partial) {\n @Prop() public targetId!: string;\n\n @C3Module.Getter public getInterfacesFor!: GetInterfacesForFn;\n\n get peripherals() {\n if (!this.targetId) {\n return this.getInterfacesFor(NodeKlass.Peripheral, null);\n }\n return this.getInterfacesFor(NodeKlass.Peripheral, this.targetId);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PeripheralList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PeripheralList.vue?vue&type=template&id=0686e7da&scoped=true&\"\nimport script from \"./PeripheralList.vue?vue&type=script&lang=ts&\"\nexport * from \"./PeripheralList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PeripheralList.vue?vue&type=style&index=0&id=0686e7da&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0686e7da\",\n null\n \n)\n\nexport default component.exports","\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\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\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\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\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { C3Relay, C3Interface, NodeKlass } from '@/types/c3types';\nimport { GetRelayFn, GetInterfacesForFn } from '@/store/C3Module';\n\nimport C3 from '@/c3';\nimport RouteList from '@/components/partial/RouteList.vue';\nimport ChannelList from '@/components/partial/ChannelList.vue';\nimport PheripheralList from '@/components/partial/PeripheralList.vue';\n\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n RouteList,\n ChannelList,\n PheripheralList\n }\n})\nexport default class RelayModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n\n @C3Module.Getter public getRelay!: GetRelayFn;\n\n get relay() {\n const r = this.getRelay(this.targetId);\n if (!r) {\n this.closeThisModal();\n }\n return r;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Relay.vue?vue&type=template&id=98affa18&\"\nimport script from \"./Relay.vue?vue&type=script&lang=ts&\"\nexport * from \"./Relay.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Relay.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Command !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',[_vm._v(\" Command Details \")]),_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',[_c('tr',{on:{\"click\":function($event){_vm.openModal(_vm.InterfaceUID(_vm.c3Command), _vm.commandType(_vm.c3Command))}}},[_c('td',[_c('span',{staticClass:\"c3tab-pending\",class:_vm.isCommandPending(_vm.c3Command)}),_vm._v(\" \"+_vm._s(_vm.c3Command.id)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.isCommandPending(_vm.c3Command, true))+\" \")]),_c('td',{staticClass:\"hover-link command-for\"},[_vm._v(\" \"+_vm._s(_vm.commandType(_vm.c3Command).toLowerCase())+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.commandTypeId(_vm.c3Command))+\" \")])])])]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(JSON.stringify(_vm.c3Command, null, 4)))])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Command ID\")]),_c('th',[_vm._v(\"Status\")]),_c('th',[_vm._v(\"Command for\")]),_c('th',[_vm._v(\"ID\")])])])}]\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { Notify } from '@/store/NotifyModule';\nimport { GetCommandFn } from '@/store/C3Module';\nimport {\n C3Interface,\n C3Gateway,\n C3Relay,\n NodeKlass,\n C3Command,\n C3Node\n} from '@/types/c3types';\n\nimport C3 from '@/c3';\n\nconst C3CommandModule = namespace('c3CommandModule');\nconst nodeKlass = NodeKlass;\n\n@Component\nexport default class CommandModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n\n @C3CommandModule.Getter public getCommand!: GetCommandFn;\n\n get c3Command() {\n const target = this.getCommand(this.targetId);\n if (!target) {\n this.closeThisModal();\n this.addNotify({\n type: 'error',\n message: `The Commandyou looking for: ${this.targetId}, not exist.`\n });\n }\n return target;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n\n public InterfaceUID(c: C3Command): string | number {\n if (!!c.interfaceId) {\n if (!!c.relayAgentId) {\n return c.interfaceId + '-' + c.relayAgentId;\n }\n return c.interfaceId + '-' + this.gateway.id;\n }\n if (!!c.relayAgentId) {\n return c.relayAgentId;\n }\n return this.gateway.id;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Command.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Command.vue?vue&type=template&id=3748fed6&scoped=true&\"\nimport script from \"./Command.vue?vue&type=script&lang=ts&\"\nexport * from \"./Command.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Command.vue?vue&type=style&index=0&id=3748fed6&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3748fed6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.gateway !== null)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{ 'has-error': !!_vm.gateway.error }},[_c('h1',[_vm._v(\" Gateway: \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.gateway.name)+\" / \"+_vm._s(_vm.gateway.id))])]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.gateway.buildId))])]),_c('p',[_vm._v(\" Start time \"),_c('span',[_vm._v(_vm._s(_vm.unixTimeToString(_vm.gateway.timestamp)))])])]),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_RELAY')}}},[_vm._v(\" New Relay \")])])]),(_vm.gateway.error && _vm.gateway.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.gateway.error)+\" \")]):_vm._e(),_c('div',{staticClass:\"flex-row\"},[_c('NetworkStats',{staticStyle:{\"width\":\"250px\"}}),_c('div',{staticClass:\"actions\"},[_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.gateway.id, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])],1)]),_c('div',{staticClass:\"c3modal-details\"},[_c('ChannelList',{attrs:{\"target-id\":null,\"title\":\"Channels\",\"show-empty\":true}}),_c('PheripheralList',{attrs:{\"target-id\":null,\"title\":\"Peripherals\",\"show-empty\":true}}),_c('ConnectorList',{attrs:{\"title\":\"Connectors\",\"show-empty\":true}}),_c('RouteList',{attrs:{\"target-id\":null,\"parent-id\":_vm.gateway.id,\"parent-klass\":\"GATEWAY\",\"title\":\"Routes\",\"show-empty\":true}})],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3Stats\"},[_c('p',[_c('span',[_vm._v(\"Relays\")]),_c('span',[_vm._v(_vm._s(_vm.countRelays))])]),_c('p',[_c('span',[_vm._v(\"Channels\")]),_c('span',[_vm._v(_vm._s(_vm.countChannels))])]),_c('p',[_c('span',[_vm._v(\"Connectors\")]),_c('span',[_vm._v(_vm._s(_vm.countConnectors))])]),_c('p',[_c('span',[_vm._v(\"Peripherals\")]),_c('span',[_vm._v(_vm._s(_vm.countPheripherals))])]),_c('p',[_c('span',[_vm._v(\"URL\")]),_c('span',[_vm._v(_vm._s(_vm.url))])]),_c('p',[_c('span',[_vm._v(\"Port\")]),_c('span',[_vm._v(_vm._s(_vm.port))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { GetInterfacesFn } from '@/store/C3Module';\nimport { GatewayHeader, NodeKlass, C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\n\nconst C3Module = namespace('c3Module');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component\nexport default class NetworkStats extends Mixins(C3) {\n @C3Module.Getter public getRelays!: C3Node[];\n @C3Module.Getter public getInterfaces!: GetInterfacesFn;\n\n @C3OptionsModule.Getter public getAPIUrl!: string;\n @C3OptionsModule.Getter public getAPIPort!: number;\n @C3OptionsModule.Getter public getRefreshInterval!: number;\n\n get url() {\n return this.getAPIUrl;\n }\n\n get port() {\n return this.getAPIPort;\n }\n\n get refreshInterval() {\n return this.getRefreshInterval;\n }\n\n get countRelays() {\n return this.getRelays.length;\n }\n\n get countChannels() {\n return this.getInterfaces([NodeKlass.Channel]).length;\n }\n\n get countConnectors() {\n return this.getInterfaces([NodeKlass.Connector]).length;\n }\n\n get countPheripherals() {\n return this.getInterfaces([NodeKlass.Peripheral]).length;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkStats.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NetworkStats.vue?vue&type=template&id=b5131632&scoped=true&\"\nimport script from \"./NetworkStats.vue?vue&type=script&lang=ts&\"\nexport * from \"./NetworkStats.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NetworkStats.vue?vue&type=style&index=0&id=b5131632&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b5131632\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.connectors.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.connectors.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.connectors),function(connector){return _c('tr',{key:connector.id,on:{\"click\":function($event){return _vm.openModal(connector.uid, connector.klass)}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(_vm._s(connector.id))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(connector)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No connectors found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Connector ID\")]),_c('th',[_vm._v(\"Name\")])])])}]\n\nexport { render, staticRenderFns }","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass } from '@/types/c3types';\nimport { GetInterfacesForFn } from '@/store/C3Module';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class ConnectorList extends Mixins(C3, Partial) {\n @C3Module.Getter public getInterfacesFor!: GetInterfacesForFn;\n\n get connectors() {\n // Only Gateway can have a connector...\n return this.getInterfacesFor(NodeKlass.Connector, null);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectorList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConnectorList.vue?vue&type=template&id=5ea1cc30&scoped=true&\"\nimport script from \"./ConnectorList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConnectorList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConnectorList.vue?vue&type=style&index=0&id=5ea1cc30&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ea1cc30\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[(_vm.isNotEmbeded)?_c('h1',[_vm._v(\" Create Command for: \"+_vm._s(_vm.currentItem.klass)+\" - \"+_vm._s(_vm.currentItem.name)+\" \"+_vm._s(_vm.interfaceTypeName(_vm.currentItem))+\"/ \"+_vm._s(_vm.currentItem.id)+\" \")]):_vm._e(),_c('div',{staticClass:\"c3command-group\"},[_c('Select',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],staticClass:\"form-element\",attrs:{\"legend\":\"Select Command Group\",\"selected\":_vm.selectedCommandGroup,\"options\":_vm.commandGroupOptions,\"border\":true},on:{\"change\":function($event){return _vm.changeCommandGroup($event, _vm.commandGroup)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Select Command\",\"selected\":_vm.selectedCommandTarget,\"options\":_vm.commandTargetOptions,\"border\":true},on:{\"change\":function($event){return _vm.changeCommandTarget($event, _vm.commandTarget)}}})],1),(_vm.selectedInterface !== undefined && _vm.selectedCommand !== undefined)?_c('GeneralForm',{key:_vm.selectedInterface + _vm.selectedCommand + _vm.selectedCommand,attrs:{\"klass\":_vm.selectedInterfaceKlass,\"interface-name\":_vm.selectedInterface,\"command\":_vm.selectedCommand,\"target-id\":_vm.targetId,\"target\":_vm.selectedInterface,\"options\":_vm.argumentOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}}):_vm._e(),(_vm.isNotEmbeded)?_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn\",attrs:{\"disabled\":_vm.formIsValid},on:{\"click\":function($event){return _vm.sendCommand()}}},[_vm._v(\" Send Command \")])]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3input-wrapper\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),(_vm.random)?_c('span',{staticClass:\"icon random\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onClickRandom($event)}}}):_vm._e(),_c('input',_vm._b({directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.inputText),expression:\"inputText\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validate),expression:\"validate\"}],ref:\"textinput\",staticClass:\"c3input-input\",class:{ dirty: _vm.isDirty },attrs:{\"type\":\"text\",\"disabled\":_vm.isDisabled,\"name\":_vm.inputUID,\"autocomplete\":_vm.autocomplete},domProps:{\"value\":(_vm.inputText)},on:{\"change\":_vm.changeInputText,\"focus\":function($event){return _vm.gainFocus()},\"blur\":function($event){return _vm.lostFocus()},\"input\":function($event){if($event.target.composing){ return; }_vm.inputText=$event.target.value}}},'input',_vm.$attrs,false)),_c('label',{staticClass:\"c3input-label\",class:{ dirty: _vm.isDirty },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.clickOnLabel()}}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]),_c('span',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.errors.first(_vm.inputUID)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Prop, Component } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n/**\n * Shared Class for CheckBox, Input, Textarea and Toggle\n *\n * @export\n * @class C3FormElement\n * @extends {Vue}\n */\n\n@Component\nexport default class C3FormElement extends Vue {\n @Prop() public help!: string;\n @Prop() public name!: string;\n @Prop() public legend!: string;\n @Prop() public disabled!: boolean;\n @Prop() public autocomplete!: string;\n\n get hasHelp() {\n return !!this.help;\n }\n\n get isDisabled() {\n return !!this.disabled;\n }\n\n get inputUID() {\n return !!this.name\n ? this.name\n : Math.random()\n .toString(36)\n .substring(2);\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\n\n\n\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport C3FormElement from '@/components/form/C3FormElement';\n\nimport C3 from '@/c3';\n\n@Component({\n $_veeValidate: {\n validator: 'new'\n }\n})\nexport default class Input extends Mixins(C3, C3FormElement) {\n @Prop() public value!: string;\n @Prop() public random!: string;\n @Prop() public validate!: string;\n\n public focused: boolean = false;\n public inputText: string = this.getValue;\n public intervalTimer: any = null;\n\n get getValue() {\n if ((this.value === '' || this.value === undefined) && this.random) {\n return this.rand(parseInt(this.random, 10));\n }\n return this.value || '';\n }\n\n get isDirty() {\n return !!this.value || !!this.inputText;\n }\n\n public mounted(): void {\n this.changeInputText();\n (window as any).addEventListener(\n 'inputkeypress',\n this.handleEnterAndTabKeyDown,\n true\n );\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'inputkeypress',\n this.handleEnterAndTabKeyDown,\n true\n );\n }\n\n public gainFocus(): void {\n this.focused = true;\n this.intervalTimer = setInterval(this.changeInputText, 500);\n }\n\n public lostFocus(): void {\n this.focused = false;\n clearInterval(this.intervalTimer);\n this.changeInputText();\n }\n\n public clickOnLabel(): void {\n (this.$refs.textinput as HTMLInputElement).focus();\n }\n\n public changeInputText() {\n this.$validator\n .verify((this.$refs.textinput as HTMLInputElement).value, this.validate)\n .then(valid => {\n const isValid = valid.valid;\n this.$emit('change', {\n value: this.inputText,\n valid: isValid\n });\n });\n }\n\n public handleEnterAndTabKeyDown(e: any): void {\n if (e.keyCode === 13 || e.keyCode === 9) {\n this.changeInputText();\n }\n }\n\n public rand(n: number) {\n if (n < 1) {\n n = 1;\n }\n if (n > 10) {\n n = 10;\n }\n return Math.random()\n .toString(36)\n .substring(2)\n .substr(0, n);\n }\n\n public onClickRandom() {\n this.inputText = this.rand(parseInt(this.random, 10));\n // We need to run the validation manualy because the value changed programaticaly\n // and not by user interaction.\n this.$validator.validate().then(valid => {\n this.changeInputText();\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=0d08badc&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=ts&\"\nexport * from \"./Input.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Input.vue?vue&type=style&index=0&id=0d08badc&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d08badc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3select\",class:{ disabled: _vm.isDisabled }},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"c3select-close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}}),_c('div',{staticClass:\"c3select-select\"},[_c('span',{staticClass:\"c3select-selected\",class:{ 'c3select-border': _vm.hasBorder },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}},[_vm._v(\" \"+_vm._s(_vm.selectedValue)+\" \")]),(_vm.legend)?_c('span',{staticClass:\"c3select-legend\"},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]):_vm._e(),_c('span',{staticClass:\"c3select-icon icon\",class:_vm.dropDownIcon,on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.toggleSelect()}}})]),_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"c3select-options\",class:{ 'c3select-direction-up': _vm.directionReverse },style:(_vm.selectUlStyle)},_vm._l((_vm.options),function(value,id){return _c('li',{key:id,staticClass:\"c3select-option\",class:{ selected: _vm.isSelected(id) },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.selectAndClose(id)}}},[_vm._v(\" \"+_vm._s(value)+\" \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport C3 from '@/c3';\nimport C3FormElement from './C3FormElement';\n\n@Component\nexport default class Select extends Mixins(C3, C3FormElement) {\n @Prop() public up!: boolean;\n @Prop() public legend!: string;\n @Prop() public border!: boolean;\n @Prop() public selected!: string;\n @Prop() public options!: { [key: string]: string };\n @Prop() public feedback!: string;\n\n public isOpen: boolean = false;\n public hasBorder: boolean = this.border || false;\n public directionReverse: boolean = this.up || false;\n public selectRef: string = Math.random()\n .toString(36)\n .substring(2);\n public selectUlStyle: string = '';\n\n get dropDownIcon() {\n return this.isOpen ? 'carrotup' : 'carrotdown';\n }\n\n get selectedValue(): string {\n let value: string = '';\n Object.keys(this.options).forEach(e => {\n if (this.selected === e) {\n value = this.options[e];\n }\n });\n return value;\n }\n\n public mounted(): void {\n if (!this.up) {\n this.calculateSelectUlOffset();\n }\n }\n\n public isSelected(selectedId: string) {\n return this.selected === selectedId ? 'selected' : '';\n }\n\n public toggleSelect(): void {\n this.calculateSelectUlOffset();\n if (!this.isDisabled) {\n this.isOpen = !this.isOpen;\n }\n }\n\n public selectAndClose(value: string): void {\n if (this.feedback === 'validated') {\n this.$emit('change', { value, valid: true });\n } else {\n this.$emit('change', value);\n }\n this.toggleSelect();\n }\n\n public calculateSelectUlOffset(): void {\n const rect = this.$el.getBoundingClientRect();\n const scrollLeft =\n window.pageXOffset || document.documentElement.scrollLeft;\n const scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n if (this.directionReverse) {\n this.selectUlStyle =\n `position: fixed; margin-bottom: -31px; bottom: calc(100vh - ${rect.top +\n scrollTop}px);` +\n ` left: ${rect.left + scrollLeft}px; width: ${rect.width}px;`;\n } else {\n this.selectUlStyle =\n `position: fixed; margin-top: 31px; top: ${rect.top + scrollTop}px;` +\n ` left: ${rect.left + scrollLeft}px; width: ${rect.width}px;`;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Select.vue?vue&type=template&id=893eea00&scoped=true&\"\nimport script from \"./Select.vue?vue&type=script&lang=ts&\"\nexport * from \"./Select.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&id=893eea00&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"893eea00\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3form\"},[_vm._l((_vm.argumentsArray),function(field){return _c(_vm.getFieldType(field),_vm._b({key:field.id,tag:\"component\",attrs:{\"legend\":field.name,\"validate\":field.validation,\"name\":field.name,\"random\":field.randomize,\"value\":_vm.setDefaultValue(field.name, field.defaultValue),\"help\":field.description,\"autocomplete\":\"off\",\"border\":\"ture\",\"options\":field.options,\"selected\":field.selected,\"feedback\":field.feedback},on:{\"change\":function($event){return _vm.onChange($event, field.id)}}},'component',field,false))}),_vm._l((_vm.argumentObjects),function(field){return _c(_vm.getFieldType(field),_vm._b({key:field.id,tag:\"component\",attrs:{\"legend\":field.name,\"validate\":field.validation,\"random\":field.randomize,\"name\":field.name,\"value\":_vm.setDefaultValue(field.name, field.defaultValue),\"help\":field.description,\"autocomplete\":\"off\",\"border\":\"ture\",\"options\":field.options,\"selected\":field.selected,\"feedback\":field.feedback},on:{\"change\":function($event){return _vm.onChange($event, field.id)}}},'component',field,false))})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3checkbox-wrapper\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),_c('label',{staticClass:\"icon checkbox\",class:_vm.getIconKlass,attrs:{\"for\":_vm.inputUID}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.isChecked),expression:\"isChecked\"}],ref:\"booleanCheckbox\",attrs:{\"type\":\"checkbox\",\"value\":\"None\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"true-value\":\"true\",\"false-value\":\"false\",\"disabled\":_vm.disabled,\"autocomplete\":_vm.autocomplete},domProps:{\"checked\":Array.isArray(_vm.isChecked)?_vm._i(_vm.isChecked,\"None\")>-1:_vm._q(_vm.isChecked,\"true\")},on:{\"change\":[function($event){var $$a=_vm.isChecked,$$el=$event.target,$$c=$$el.checked?(\"true\"):(\"false\");if(Array.isArray($$a)){var $$v=\"None\",$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.isChecked=$$a.concat([$$v]))}else{$$i>-1&&(_vm.isChecked=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.isChecked=$$c}},_vm.toogleCheckBox]}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport C3FormElement from '@/components/form/C3FormElement';\n\nimport C3 from '@/c3';\n\n@Component\nexport default class CheckBox extends Mixins(C3, C3FormElement) {\n @Prop() public value!: string;\n\n public isChecked: string = this.getIsChecked;\n\n get getIconKlass() {\n const checked: string = this.isChecked === 'true' ? '-on' : '-off';\n const disabled: string = this.isDisabled ? '--disabled' : '';\n return `checkbox${checked}${disabled}`;\n }\n\n get getIsChecked() {\n if (this.value && typeof this.value === 'boolean' && this.value === true) {\n return 'true';\n }\n return 'false';\n }\n\n public mounted(): void {\n this.toogleCheckBox();\n }\n\n // boolean true or false, nothing to validate here\n public toogleCheckBox(): void {\n const isCheckedValue = this.isChecked === 'true' ? true : false;\n this.$emit('change', {\n value: isCheckedValue,\n valid: true\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckBox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckBox.vue?vue&type=template&id=40202deb&scoped=true&\"\nimport script from \"./CheckBox.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckBox.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckBox.vue?vue&type=style&index=0&id=40202deb&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40202deb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3textarea\"},[(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" \"+_vm._s(_vm.help)+\" \")])]):_vm._e(),_c('div',{staticClass:\"textarea\",class:{ focus: _vm.focused }},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dataText),expression:\"dataText\"}],ref:\"textareainput\",staticClass:\"c3textarea-input\",class:{ focus: _vm.focused },attrs:{\"rows\":\"5\",\"cols\":\"33\",\"type\":\"checkbox\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"disabled\":_vm.disabled,\"autocomplete\":_vm.autocomplete},domProps:{\"value\":(_vm.dataText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.dataText=$event.target.value},_vm.updateTextarea],\"focus\":function($event){_vm.focused = true},\"blur\":function($event){return _vm.lostFocus()}}}),_c('label',{staticClass:\"c3textarea-label\",class:{ dirty: _vm.isDirty, focus: _vm.focused },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.clickOnLabel()}}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \")]),_vm._m(0)]),_c('input',{ref:\"fileinput\",staticStyle:{\"visibility\":\"hidden\"},attrs:{\"id\":\"payload-file\",\"type\":\"file\"},on:{\"change\":_vm.updateTextfield}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"c3textarea-upload-button\",attrs:{\"for\":\"payload-file\"}},[_c('span',{staticClass:\"icon upload\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(\" Select file to upload... \")])])])}]\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport C3FormElement from '@/components/form/C3FormElement';\n\nimport C3 from '@/c3';\n\n@Component\nexport default class Textarea extends Mixins(C3, C3FormElement) {\n @Prop() public value!: string;\n\n public dataText: string = '';\n public focused: boolean = false;\n\n get isDirty() {\n return !!this.value || !!this.dataText;\n }\n\n public mounted(): void {\n this.updateTextarea();\n }\n\n public created() {\n if (this.value !== this.dataText && this.dataText === '') {\n this.dataText = this.value;\n }\n this.updateTextarea();\n }\n\n public lostFocus(): void {\n this.focused = false;\n this.updateTextarea();\n }\n\n // can be anything so nothing to validate here\n public updateTextarea(): void {\n this.$emit('change', {\n value: this.dataText,\n valid: true\n });\n }\n\n public clickOnLabel(): void {\n (this.$refs.textareainput as HTMLInputElement).focus();\n }\n\n public updateTextfield(): void {\n const reader = new FileReader();\n const file: any = this.$refs.fileinput as HTMLInputElement;\n let base64: string;\n\n reader.readAsDataURL(file.files[0]);\n\n reader.onload = () => {\n base64 = reader.result as string;\n if (typeof base64 === 'string') {\n base64 = (base64 as string).replace(/^data:(.*;base64,)?/, '');\n }\n this.dataText = base64;\n this.updateTextarea();\n // If manualy delete the content and select the same file, we need to populate the data again.\n // To do this we need to reset the input field. If we don't do that selecting the same file\n // is not trigger the change event.\n try {\n (this.$refs.fileinput as HTMLInputElement).value = '';\n if ((this.$refs.fileinput as HTMLInputElement).value) {\n (this.$refs.fileinput as HTMLInputElement).type = 'text';\n (this.$refs.fileinput as HTMLInputElement).type = 'file';\n }\n } catch (e) {\n // tslint:disable-next-line:no-console\n console.error('Error during input element reset.');\n }\n };\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Textarea.vue?vue&type=template&id=0828628d&scoped=true&\"\nimport script from \"./Textarea.vue?vue&type=script&lang=ts&\"\nexport * from \"./Textarea.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Textarea.vue?vue&type=style&index=0&id=0828628d&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0828628d\",\n null\n \n)\n\nexport default component.exports","\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\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Watch, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass, C3Node, C3FieldDefault } from '@/types/c3types';\nimport {\n GetCapabilityForFn,\n GetTypeNameForInterfaceFn\n} from '@/store/C3Capability';\n\nimport C3 from '@/c3';\nimport Input from '@/components/form/Input.vue';\nimport Select from '@/components/form/Select.vue';\nimport CheckBox from '@/components/form/CheckBox.vue';\nimport Textarea from '@/components/form/Textarea.vue';\n\nconst C3Capability = namespace('c3Capability');\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n Input,\n Select,\n Textarea,\n CheckBox\n }\n})\nexport default class GeneralForm extends Mixins(C3) {\n @Prop() public command!: any;\n @Prop() public target!: string;\n @Prop() public klass!: NodeKlass;\n @Prop() public targetId!: string;\n @Prop() public interfaceName!: any;\n @Prop() public options!: C3FieldDefault[];\n\n public isValid: boolean = false;\n // hold the command argumentum array part\n public argumentsArray: any = [];\n // hold the command argumentum objects outside the array\n public argumentObjects: any = [];\n\n // get the capability from store\n @C3Capability.Getter public getCapabilityFor!: GetCapabilityForFn;\n @C3Capability.Getter\n public getTypeNameForInterface!: GetTypeNameForInterfaceFn;\n\n get capability() {\n return this.getCapabilityFor(this.interfaceName, this.klass);\n }\n\n get hasOptions() {\n if (this.options) {\n return JSON.stringify(this.options) === '{}' ? false : true;\n }\n return false;\n }\n\n // TODO: add more field type\n public getFieldType(f: any): string {\n switch (f.type) {\n case 'boolean':\n return 'CheckBox';\n case 'base64':\n return 'Textarea';\n case 'base32':\n return 'Textarea';\n case 'binary':\n return 'Textarea';\n }\n return 'Input';\n }\n\n public onChange(payload: any, id: any) {\n this.isValid = true;\n let index = this.argumentsArray.findIndex((i: any) => {\n return i.id === id;\n });\n if (index > -1) {\n this.argumentsArray[index].value = payload.value;\n this.argumentsArray[index].isValid = payload.valid;\n }\n index = this.argumentObjects.findIndex((i: any) => {\n return i.id === id;\n });\n if (index > -1) {\n this.argumentObjects[index].value = payload.value;\n this.argumentObjects[index].isValid = payload.valid;\n }\n\n this.emitFormData();\n }\n\n // emit back the form data\n public emitFormData(): void {\n this.isValid = true;\n\n const formData = [this.clearArray(this.argumentsArray)];\n this.clearArray(this.argumentObjects).forEach((element: any) => {\n formData.push(element);\n });\n\n const formIsValid = this.isValid;\n\n this.$emit('change', {\n data: formData,\n valid: formIsValid\n });\n }\n\n // populate the argumentsArray and argumentObjects arrays on load\n public mounted(): void {\n this.getCommandFrom();\n this.emitFormData();\n }\n\n public clearArray(data: any): any {\n const rData: any = [];\n\n if (data) {\n data.forEach((element: any) => {\n if (!element.isValid) {\n this.isValid = false;\n }\n\n const t = element.type;\n const n = element.name;\n const v = element.value;\n\n rData.push({\n type: t,\n name: n,\n value: v\n });\n });\n }\n\n return rData;\n }\n\n public getValidationRule(e: any): string {\n let validation: string = '';\n\n if (!!e.type && e.type === 'ip') {\n validation = 'ip|';\n }\n if (!!e.type && (e.type === 'int16' || e.type === 'uint16')) {\n validation = 'numeric|';\n if (!e.min && e.type === 'uint16') {\n validation = validation + 'min_value:0|';\n }\n }\n if (!!e.type && e.type === 'boolean') {\n validation = '';\n }\n if (!!e.min && parseInt(e.min, 10) > 0) {\n if (!!e.type && e.type === 'string') {\n validation = validation + 'min:' + e.min + '|';\n }\n if (!!e.type && (e.type === 'int16' || e.type === 'uint16')) {\n validation = validation + 'min_value:' + e.min + '|';\n }\n validation = validation + 'required|';\n }\n if (!!e.max && e.min && parseInt(e.max, 10) >= parseInt(e.min, 10)) {\n if (!!e.type && e.type === 'string') {\n validation = validation + 'max:' + e.max + '|';\n }\n if (!!e.type && (e.type === 'int16' || e.type === 'uint16')) {\n validation = validation + 'max_value:' + e.max + '|';\n }\n }\n return validation;\n }\n\n public getRandomLenght(e: any): number | undefined {\n // If no minimum then dont show the random button.\n if ((e.randomize && e.randomize === true) || e.randomize === 'true') {\n if (e.min && parseInt(e.min, 10) > 0) {\n return parseInt(e.min, 10);\n } else {\n e.randomize = 8;\n }\n }\n return undefined;\n }\n\n public getCrossArgumentOption(inputId: string): string | boolean {\n const outputId = inputId === 'Input ID' ? 'Output ID' : 'Input ID';\n\n if (this.hasOptions) {\n const output = this.options.find((item: C3FieldDefault) => {\n return item.name === outputId;\n });\n if (output) {\n return output.value;\n }\n }\n return false;\n }\n\n public getArgumentOption(input: string): string | boolean {\n if (this.hasOptions) {\n const output = this.options.find((item: C3FieldDefault) => {\n return item.name === input;\n });\n if (output) {\n return output.value;\n }\n }\n return false;\n }\n\n public setDefaultValue(inputName: string, inputValue: any) {\n const value = inputValue;\n if (this.hasOptions) {\n const newValue = this.options.find(item => {\n return inputName === item.name;\n });\n if (!!newValue) {\n return newValue.value;\n }\n }\n return value;\n }\n\n public setArgumentData(argument: any): any {\n argument.validation = this.getValidationRule(argument);\n argument.id = Math.random()\n .toString(36)\n .substring(2);\n if (this.getRandomLenght(argument)) {\n argument.randomize = this.getRandomLenght(argument);\n }\n\n argument.value = {\n value: '',\n valid: false\n };\n\n return argument;\n }\n\n // populate the argumentsArray and argumentObjects arrays\n public getCommandFrom(): any {\n if (\n this.capability &&\n this.capability.commands &&\n this.capability.commands.length > 0\n ) {\n const com = this.capability.commands.find((c: any) => {\n return c.name === this.command;\n });\n if (com !== undefined && com.arguments) {\n this.argumentsArray = [];\n this.argumentObjects = [];\n com.arguments.forEach((argument: any) => {\n if (Array.isArray(argument)) {\n argument.forEach((argumentItem: any) => {\n argumentItem = this.setArgumentData(argumentItem);\n });\n this.argumentsArray = argument;\n } else {\n argument = this.setArgumentData(argument);\n this.argumentObjects.push(argument);\n }\n });\n } else {\n this.addNotify({\n type: 'info',\n message: `Command not set up correctly, Form can't be generated.`\n });\n }\n }\n return false;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GeneralForm.vue?vue&type=template&id=2c5bf78c&\"\nimport script from \"./GeneralForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GeneralForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GeneralForm.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport pluralize from 'pluralize';\nimport axios from 'axios';\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { GetInterfaceFn } from '@/store/C3Module';\nimport { C3Gateway, NodeKlass, C3CommandCenterOptions } from '@/types/c3types';\nimport {\n GetTypesForInterfaceKlassFn,\n GetCommandGroupForFn,\n GetCommandTargetForFn,\n GetCapabilityForFn\n} from '@/store/C3Capability';\n\nimport C3 from '@/c3';\nimport Input from '@/components/form/Input.vue';\nimport Select from '@/components/form/Select.vue';\nimport GeneralForm from '@/components/form/GeneralForm.vue';\nimport AddChannelForm from '@/components/form/AddChannelForm.vue';\n\nconst C3Module = namespace('c3Module');\nconst C3Capability = namespace('c3Capability');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Input,\n Select,\n GeneralForm\n }\n})\nexport default class CommandCenterModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n @Prop() public embeded!: boolean;\n @Prop() public options!: C3CommandCenterOptions;\n\n @C3Module.Getter public getInterface!: GetInterfaceFn;\n\n @C3Capability.Getter public getCapabilityFor!: GetCapabilityForFn;\n @C3Capability.Getter public getCommandGroupFor!: GetCommandGroupForFn;\n @C3Capability.Getter public getCommandTargetFor!: GetCommandTargetForFn;\n\n @C3OptionsModule.Getter public getAPIBaseUrl!: string;\n\n public formData: any = {};\n public isValid: boolean = false;\n public commandGroup: string = '';\n public commandTarget: string = '';\n public formDirty: boolean = false;\n\n get formIsValid() {\n return !this.isValid;\n }\n\n get currentItem() {\n return this.getInterface(this.targetId);\n }\n\n get selectedCommandGroup() {\n if (!this.commandGroup) {\n return this.defaultCommandGroup;\n }\n this.resetForm();\n return this.commandGroup;\n }\n\n get selectedCommandTarget() {\n if (!this.commandTarget) {\n return this.defaultCommandTarget;\n }\n return this.commandTarget;\n }\n\n get defaultCommandGroup() {\n if (this.options !== undefined && this.options.targetGroup !== undefined) {\n return this.options.targetGroup;\n }\n if (!!this.commandGroupOptions) {\n return Object.keys(this.commandGroupOptions)[0];\n }\n return '';\n }\n\n get defaultCommandTarget() {\n if (!!this.commandTargetOptions) {\n this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]);\n return Object.keys(this.commandTargetOptions)[0];\n }\n return '';\n }\n\n get commandGroupOptions() {\n if (!!this.currentItem) {\n return this.getCommandGroupFor(this.currentItem.klass);\n }\n return '';\n }\n\n get commandTargetOptions() {\n if (!!this.currentItem) {\n if (\n this.currentItem.klass === NodeKlass.Gateway ||\n this.currentItem.klass === NodeKlass.Relay\n ) {\n return this.getCommandTargetFor(\n this.selectedCommandGroup,\n this.currentItem.klass\n );\n }\n return this.getCommandTargetFor(\n this.selectedCommandGroup,\n this.currentItem.klass,\n this.interfaceTypeName(this.currentItem)\n );\n }\n return '';\n }\n\n get selectedInterfaceKlass() {\n if (this.commandTarget !== undefined) {\n return pluralize.singular(this.commandTarget.split('_')[0]).toUpperCase();\n }\n return '';\n }\n\n get selectedInterface() {\n if (this.commandTarget !== undefined) {\n return this.commandTarget.split('_')[1];\n }\n return '';\n }\n\n get selectedCommand() {\n if (this.commandTarget !== undefined) {\n return this.commandTarget.split('_')[2];\n }\n return '';\n }\n\n get getCommandId() {\n const capability = this.getCapabilityFor(\n this.selectedInterface,\n this.selectedInterfaceKlass as NodeKlass\n );\n if (!!capability) {\n const com = capability.commands.find((c: any) => {\n return c.name === this.selectedCommand;\n });\n return com.id;\n }\n return '';\n }\n\n get isNotEmbeded(): boolean {\n if (this.embeded === undefined) {\n return true;\n }\n return this.embeded === true ? false : true;\n }\n\n get hasOptions() {\n if (this.options) {\n return JSON.stringify(this.options) === '{}' ? false : true;\n }\n return false;\n }\n\n get argumentOptions() {\n if (this.hasOptions) {\n if (!!this.options.formDefault) {\n return this.options.formDefault.arguments;\n }\n }\n return false;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n if (this.hasOptions) {\n if (!!this.options.formDefault) {\n const target = Object.keys(this.commandTargetOptions).find(key => {\n if (!!this.options && !!this.options.formDefault) {\n // TODO: found a better way to found the must select options.\n return (\n this.commandTargetOptions[key] ===\n this.options.formDefault.prefix +\n this.options.formDefault.interface\n );\n }\n return false;\n });\n if (!!target) {\n this.commandTarget = target;\n }\n }\n }\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n\n public resetForm(): void {\n this.commandTarget = '';\n }\n\n public changeForm(data: any): void {\n this.isValid = data.valid;\n if (data.data.length === 1 && data.data[0].length === 0) {\n this.formData = [];\n } else {\n if (data.data[0].length === 0) {\n data.data.shift();\n }\n this.formData = data.data;\n }\n\n // if the command center embeded to the new relay form we\n // want to give the form data to create relay form\n if (this.targetId === 'new') {\n const dataToEmit = {\n name: this.selectedCommandGroup,\n data: {\n id: this.getCommandId,\n name: this.selectedInterface,\n command: this.selectedCommand,\n arguments: this.formData\n }\n };\n this.$emit('change', {\n data: dataToEmit,\n valid: this.isValid\n });\n }\n }\n\n public changeCommandGroup(n: string): void {\n this.commandGroup = n;\n }\n\n public changeCommandTarget(n: string): void {\n this.isValid = true;\n this.commandTarget = n;\n }\n\n public sendCommand(): void {\n const data = {\n name: this.selectedCommandGroup,\n data: {\n id: this.getCommandId,\n name: this.selectedInterface,\n command: this.selectedCommand,\n arguments: this.formData\n }\n };\n\n // POST /api/gateway/{gatewayId}/command\n // POST /api/gateway/{gatewayId}/interface/{interfaceId}/command\n // POST /api/gateway/{gatewayId}/relay/{relayId}/command\n // POST /api/gateway/{gatewayId}/relay/{relayId}/interface/{interfaceId}/command\n\n let apiURL = '/api/gateway/';\n\n if (!!this.currentItem && this.currentItem.klass === NodeKlass.Gateway) {\n apiURL = apiURL + `${this.currentItem.id}/command`;\n }\n if (!!this.currentItem && this.currentItem.klass === NodeKlass.Relay) {\n apiURL =\n apiURL +\n `${this.currentItem.parentId}/relay/${this.currentItem.id}/command`;\n }\n if (\n (!!this.currentItem && this.currentItem.klass === NodeKlass.Channel) ||\n (!!this.currentItem && this.currentItem.klass === NodeKlass.Peripheral) ||\n (!!this.currentItem && this.currentItem.klass === NodeKlass.Connector)\n ) {\n if (this.currentItem.parentKlass === NodeKlass.Gateway) {\n switch (this.currentItem.klass) {\n case NodeKlass.Channel:\n apiURL =\n apiURL +\n `${this.currentItem.parentId}/channel/${this.currentItem.id}/command`;\n break;\n case NodeKlass.Peripheral:\n apiURL =\n apiURL +\n `${this.currentItem.parentId}/peripheral/${this.currentItem.id}/command`;\n break;\n case NodeKlass.Connector:\n apiURL =\n apiURL +\n `${this.currentItem.parentId}/connector/${this.currentItem.id}/command`;\n break;\n }\n }\n if (this.currentItem.parentKlass === NodeKlass.Relay) {\n switch (this.currentItem.klass) {\n case NodeKlass.Channel:\n apiURL =\n apiURL +\n `${this.gateway.id}/relay/${this.currentItem.parentId}/channel/${this.currentItem.id}/command`;\n break;\n case NodeKlass.Peripheral:\n apiURL =\n apiURL +\n `${this.gateway.id}/relay/${this.currentItem.parentId}/peripheral/${this.currentItem.id}/command`;\n break;\n case NodeKlass.Connector:\n apiURL =\n apiURL +\n `${this.gateway.id}/relay/${this.currentItem.parentId}/connector/${this.currentItem.id}/command`;\n break;\n }\n }\n }\n axios({\n url: apiURL,\n method: 'POST',\n baseURL: this.getAPIBaseUrl,\n data\n })\n .then(response => {\n this.addNotify({\n type: 'info',\n message: 'Command successfully sent...'\n });\n this.closeThisModal();\n })\n .catch(error => {\n const msg: string = 'Command NOT sent: ' + error.message;\n this.addNotify({\n type: 'error',\n message: msg\n });\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CommandCenter.vue?vue&type=template&id=2fa5dfc1&\"\nimport script from \"./CommandCenter.vue?vue&type=script&lang=ts&\"\nexport * from \"./CommandCenter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CommandCenter.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\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\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\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { C3Relay, C3Interface, NodeKlass, C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport RouteList from '@/components/partial/RouteList.vue';\nimport ChannelList from '@/components/partial/ChannelList.vue';\nimport NetworkStats from '@/components/partial/NetworkStats.vue';\nimport ConnectorList from '@/components/partial/ConnectorList.vue';\nimport PheripheralList from '@/components/partial/PeripheralList.vue';\nimport CommandCenterModal from '@/components/modals/CommandCenter.vue';\n\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n RouteList,\n ChannelList,\n NetworkStats,\n ConnectorList,\n PheripheralList,\n CommandCenterModal\n }\n})\nexport default class GatewayModal extends Mixins(C3) {\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gateway.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gateway.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Gateway.vue?vue&type=template&id=0b4e8834&\"\nimport script from \"./Gateway.vue?vue&type=script&lang=ts&\"\nexport * from \"./Gateway.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Interface !== undefined)?_c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\",class:{\n 'is-return': !!_vm.c3Interface.isReturnChannel,\n 'has-error': !!_vm.c3Interface.error\n }},[_c('h1',[_c('span',{staticClass:\"capitalize\"},[_vm._v(_vm._s(_vm.c3Interface.klass.toLowerCase())+\" \")]),_vm._v(\" ID: \"+_vm._s(_vm.c3Interface.id || '')+\" \")]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Parent \"),_c('span',{staticClass:\"c3link capitalize\"},[_vm._v(\" \"+_vm._s(_vm.c3Interface.parentKlass.toLowerCase())+\" / \"+_vm._s(_vm.c3Interface.parentId)+\" \")])]),_c('p',{staticClass:\"capitalize\"},[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" Type \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.interfaceTypeName(_vm.c3Interface))+\" \")])]),_c('p',[_vm._v(\" Jitter [min/max] \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.getInterfaceJitter)+\" \")])])]),_c('div',{staticClass:\"actions\"},[(_vm.showRelayDropdown)?_c('span',{staticClass:\"c3modal-more-btn icon more\"},[_vm._v(\" INTERFACE OPTIONS \")]):_vm._e(),_c('ul',{staticClass:\"c3modal-menu\"},[_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showNewRelayButton),expression:\"showNewRelayButton\"}],staticClass:\"c3modal-menu-item\",on:{\"click\":function($event){_vm.openModal(_vm.c3Interface.id, 'CREATE_RELAY', _vm.generateOprions())}}},[_vm._v(\" New Relay \")]),_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showConnectRelayButton),expression:\"showConnectRelayButton\"}],staticClass:\"c3modal-menu-item\",on:{\"click\":function($event){_vm.openModal(_vm.c3Interface.uid, 'CONNECT_RELAY', _vm.generateOprions())}}},[_vm._v(\" Connect Relay \")])]),_c('button',{staticClass:\"c3btn c3btn--outline\",on:{\"click\":function($event){return _vm.openModal(_vm.c3Interface.uid, 'COMMAND_CENTER')}}},[_vm._v(\" Command Center \")])])]),(!!_vm.c3Interface.error && _vm.c3Interface.error !== '')?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon warning\"}),_vm._v(\" Error: \"+_vm._s(_vm.c3Interface.error)+\" \")]):_vm._e(),(\n !!_vm.c3Interface.isReturnChannel &&\n _vm.c3Interface.isReturnChannel !== 'false'\n )?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon return\"}),_vm._v(\" This is a Gateway Return Channel (GRC). \")]):_vm._e(),(\n !!_vm.c3Interface.isNegotiationChannel &&\n _vm.c3Interface.isNegotiationChannel !== 'false'\n )?_c('p',{staticClass:\"message-with-icon\"},[_c('span',{staticClass:\"icon exclamation\"}),_vm._v(\" This is a Negotiation Channel. \")]):_vm._e()]),_c('div',{staticClass:\"c3modal-details\"},[(_vm.c3Interface.propertiesText !== '')?[_c('h1',[_vm._v(\"Properties\")]),_c('pre',{staticClass:\"c3command\"},[_vm._v(_vm._s(_vm.c3Interface.propertiesText))])]:_vm._e()],2)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\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\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { Notify } from '@/store/NotifyModule';\nimport { GetInterfaceFn, GetNodeKlassFn, GetRelayFn } from '@/store/C3Module';\nimport {\n C3Interface,\n C3Gateway,\n C3Relay,\n NodeKlass,\n C3Node,\n C3FieldDefault,\n C3CommandCenterOptions,\n SourceOptions,\n nullNode\n} from '@/types/c3types';\n\nimport C3 from '@/c3';\n\nconst nodeKlass = NodeKlass;\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class InterfaceModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n\n @C3Module.Getter public getRelay!: GetRelayFn;\n @C3Module.Getter public getInterface!: GetInterfaceFn;\n @C3Module.Getter public getNodeKlass!: GetNodeKlassFn;\n\n get c3Interface() {\n const target = this.getInterface(this.targetId);\n if (!target) {\n this.closeThisModal();\n }\n return target;\n }\n\n get showRelayDropdown() {\n return this.showConnectRelayButton || this.showNewRelayButton;\n }\n\n get showConnectRelayButton() {\n return this.showButtons();\n }\n\n get showNewRelayButton() {\n return this.showButtons();\n }\n\n public showButtons() {\n if (this.isReturnChannel() || !this.isChannel()) {\n return false;\n }\n return true;\n }\n\n get getInterfaceJitter() {\n if (this.c3Interface) {\n return this.c3Interface.propertiesText.jitter;\n }\n return '[N/A, N/A]';\n }\n\n public isChannel(): boolean {\n if (!!this.c3Interface) {\n return this.c3Interface.klass === NodeKlass.Channel;\n }\n return false;\n }\n\n public isReturnChannel(): boolean {\n if (!!this.c3Interface) {\n return this.c3Interface.isReturnChannel === true;\n }\n return false;\n }\n\n public isNegotiationChannel(): boolean {\n if (!!this.c3Interface) {\n return this.c3Interface.isNegotiationChannel === true;\n }\n return false;\n }\n\n public getArguments(node: C3Node = nullNode): any {\n if (this.isChannel()) {\n if (!!node.propertiesText && !!node.propertiesText.arguments) {\n return JSON.parse(JSON.stringify(node.propertiesText.arguments));\n }\n }\n return [];\n }\n\n public getArgumentsAttributes(interfaceAguments: any): any {\n if (Array.isArray(interfaceAguments[0])) {\n return interfaceAguments[0];\n }\n return [];\n }\n\n public getPropertiesArguments(interfaceAguments: any): C3FieldDefault[] {\n const propertiesAurguments: C3FieldDefault[] = [];\n\n Object.values(interfaceAguments).forEach(\n (objectOrArray: C3FieldDefault | any) => {\n if (!Array.isArray(objectOrArray)) {\n propertiesAurguments.push(objectOrArray);\n }\n }\n );\n\n return propertiesAurguments;\n }\n\n public getInterfaceParentId(): string {\n if (!!this.c3Interface && !!this.c3Interface.parentId) {\n return this.c3Interface.parentId;\n }\n return '';\n }\n\n public generateSourceOptions(): SourceOptions {\n return {\n relay: this.getRelay(this.getInterfaceParentId()),\n interface: this.c3Interface\n };\n }\n\n public changeInputOutputIDs(attributes: any) {\n let inputId = {\n name: '',\n type: '',\n value: ''\n };\n\n let outputId = {\n name: '',\n type: '',\n value: ''\n };\n\n let tmp = '';\n\n if (!!attributes.length) {\n inputId =\n attributes.find((a: C3FieldDefault) => {\n return a.name === 'Input ID';\n }) || '';\n outputId =\n attributes.find((a: C3FieldDefault) => {\n return a.name === 'Output ID';\n }) || '';\n }\n\n tmp = outputId.value;\n outputId.value = inputId.value;\n inputId.value = tmp;\n\n return attributes;\n }\n\n public isNormalChannel(): boolean {\n const argumentsString = JSON.stringify(this.getArguments(this.c3Interface));\n\n return (\n !!argumentsString.match(/Input ID/g) &&\n !!argumentsString.match(/Output ID/g)\n );\n }\n\n public generateCommandCenterArguments(): C3FieldDefault[] {\n const optionsArguments: C3FieldDefault[] = [];\n\n let attributes = this.getArgumentsAttributes(\n this.getArguments(this.c3Interface)\n );\n if (attributes.length > 0) {\n attributes = this.changeInputOutputIDs(attributes);\n }\n\n const propertiesArguments = this.getPropertiesArguments(\n this.getArguments(this.c3Interface)\n );\n\n if (!!attributes.length) {\n attributes.forEach((element: C3FieldDefault) => {\n optionsArguments.push(element);\n });\n }\n if (!!propertiesArguments.length) {\n propertiesArguments.forEach((element: C3FieldDefault) => {\n optionsArguments.push(element);\n });\n }\n\n return optionsArguments;\n }\n\n public getPrefix(): string {\n if (this.isNormalChannel()) {\n return 'AddChannel';\n }\n if (this.isNegotiationChannel()) {\n return 'AddNegotiationChannel';\n }\n return '';\n }\n\n public getInterfaceTypeString(): string {\n if (this.c3Interface) {\n return this.interfaceTypeName(this.c3Interface);\n }\n return '';\n }\n\n public generateOprions(): C3CommandCenterOptions {\n return {\n formDefault: {\n prefix: this.getPrefix(),\n interface: this.getInterfaceTypeString(),\n arguments: this.generateCommandCenterArguments()\n },\n source: this.generateSourceOptions()\n };\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interface.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Interface.vue?vue&type=template&id=33bc8b88&scoped=true&\"\nimport script from \"./Interface.vue?vue&type=script&lang=ts&\"\nexport * from \"./Interface.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Interface.vue?vue&type=style&index=0&id=33bc8b88&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"33bc8b88\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',[_vm._v(\"Relay Setup\")]),_c('p',[_vm._v(\"Please setup a Relay.\")]),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Name / Auto Generated ID\",\"help\":\"If you do not enter a name an ID will be automatically generated.\"},on:{\"change\":function($event){return _vm.changeName($event, _vm.relayName)}}}),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Parent Gateway Build ID\",\"value\":_vm.gatewayBuildsId,\"disabled\":true}}),_c('div',{staticClass:\"form-row\"},[_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"TargetSuffix\",\"selected\":_vm.selectedTargetSuffix,\"options\":{ dll: 'dll', exe: 'exe', shellcode: 'shellcode' },\"border\":true},on:{\"change\":function($event){return _vm.changeTargetSuffix($event, _vm.targetSuffix)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Architecture\",\"selected\":_vm.selectedArchitecture,\"options\":{ x86: 'x86', x64: 'x64' },\"border\":true},on:{\"change\":function($event){return _vm.changeArchitecture($event, _vm.architecture)}}})],1),_c('div',{staticClass:\"c3modal-form\"},[(_vm.donutSelected)?_c('DonutForm',{on:{\"change\":function($event){return _vm.changeDonutForm($event, _vm.formData)}}}):_vm._e()],1),_c('div',{staticClass:\"c3modal-form\"},[_c('h1',[_vm._v(\"Add Command\")]),_c('p',[_vm._v(\"Please Select the first command to the Relay.\")]),_c('CommandCenterModal',{staticClass:\"embeded-modal\",attrs:{\"target-id\":'new',\"embeded\":true,\"options\":_vm.addNewRelayToOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn\",attrs:{\"disabled\":_vm.formIsValid},on:{\"click\":function($event){return _vm.createNewRelay()}}},[_vm._v(\" Create and Download Relay \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"donut-form\"},[_c('h1',[_vm._v(\"Add Command\")]),_c('Select',{staticClass:\"form-element line\",attrs:{\"legend\":\"Format\",\"selected\":_vm.selectedFormat,\"options\":{\n Binary: 'Binary',\n Base64: 'Base64',\n Ruby: 'Ruby',\n C: 'C',\n Python: 'Python',\n Powershell: 'Powershell',\n Csharp: 'Csharp',\n HeX: 'HeX'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeFormat($event, _vm.format)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Compress\",\"selected\":_vm.selectedCompress,\"options\":{\n None: 'None',\n\tAplib: 'aPLib',\n Lznt1: 'Lznt1',\n Xpress: 'Xpress',\n Xpress_huff: 'Xpress_huff'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeCompress($event, _vm.compress)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Entropy\",\"selected\":_vm.selectedEntropy,\"options\":{\n None: 'None',\n Random: 'Random',\n Default: 'Default'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeEntropy($event, _vm.entropy)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"ExitOpt\",\"selected\":_vm.selectedExitOpt,\"options\":{\n Exit_thread: 'Exit_thread',\n Exit_process: 'Exit_process'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeExitOpt($event, _vm.exitOpt)}}}),_c('Select',{staticClass:\"form-element half-line\",attrs:{\"legend\":\"Bypass\",\"selected\":_vm.selectedBypass,\"options\":{\n None: 'None',\n Abort: 'Abort',\n Continue: 'Continue'\n },\"border\":true},on:{\"change\":function($event){return _vm.changeBypass($event, _vm.bypass)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\nimport C3 from '@/c3';\nimport Select from '../form/Select.vue';\n\n@Component({\n components: {\n Select\n }\n})\nexport default class DonutForm extends Vue {\n public format: string = 'Binary';\n public compress: string = 'None';\n public entropy: string = 'Default';\n public exitOpt: string = 'Exit_thread';\n public bypass: string = 'None';\n\n get selectedFormat() {\n return this.format;\n }\n\n public changeFormat(a: string): void {\n this.format = a;\n this.emitDonut();\n }\n\n get selectedCompress() {\n return this.compress;\n }\n\n public changeCompress(a: string): void {\n this.compress = a;\n this.emitDonut();\n }\n\n get selectedEntropy() {\n return this.entropy;\n }\n\n public changeEntropy(a: string): void {\n this.entropy = a;\n this.emitDonut();\n }\n\n get selectedExitOpt() {\n return this.exitOpt;\n }\n\n public changeExitOpt(a: string): void {\n this.exitOpt = a;\n this.emitDonut();\n }\n\n get selectedBypass() {\n return this.bypass;\n }\n\n public changeBypass(a: string): void {\n this.bypass = a;\n this.emitDonut();\n }\n\n public emitDonut(): void {\n const donut = {\n format: this.format.toUpperCase(),\n compress: this.compress.toUpperCase(),\n entropy: this.entropy.toUpperCase(),\n exitOpt: this.exitOpt.toUpperCase(),\n bypass: this.bypass.toUpperCase()\n };\n\n this.$emit('change', donut);\n }\n\n public mounted(): void {\n this.emitDonut();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DonutForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DonutForm.vue?vue&type=template&id=2a2638f3&scoped=true&\"\nimport script from \"./DonutForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./DonutForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DonutForm.vue?vue&type=style&index=0&id=2a2638f3&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2a2638f3\",\n null\n \n)\n\nexport default component.exports","\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\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\nimport axios from 'axios';\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins, Prop } from 'vue-property-decorator';\n\nimport { C3Gateway, NodeKlass, C3CommandCenterOptions } from '@/types/c3types';\nimport {\n GetTypesForInterfaceKlassFn,\n InterfaceItem,\n GetCommandTargetForFn\n} from '@/store/C3Capability';\n\nimport C3 from '@/c3';\nimport Input from '@/components/form/Input.vue';\nimport Select from '@/components/form/Select.vue';\nimport DonutForm from '@/components/partial/DonutForm.vue';\nimport GeneralForm from '@/components/form/GeneralForm.vue';\nimport AddChannelForm from '@/components/form/AddChannelForm.vue';\nimport CommandCenterModal from './CommandCenter.vue';\n\nconst C3Module = namespace('c3Module');\nconst C3Capability = namespace('c3Capability');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Input,\n Select,\n DonutForm,\n GeneralForm,\n CommandCenterModal\n }\n})\nexport default class CreateRelayModal extends Mixins(C3) {\n @Prop() public options!: C3CommandCenterOptions;\n\n @C3Capability.Getter public getCommandTargetFor!: GetCommandTargetForFn;\n @C3Capability.Getter\n public getTypesForInterfaceKlass!: GetTypesForInterfaceKlassFn;\n\n @C3OptionsModule.Getter public getAPIBaseUrl!: string;\n\n public formData: any = {};\n public relayName: string = '';\n public isValid: boolean = false;\n public targetSuffix: string = 'exe';\n public architecture: string = 'x64';\n public commandGroup: string = 'Relay';\n public commandTarget: string = '';\n public donutSelected: boolean = false;\n public donutFormData: object = {};\n\n get formIsValid() {\n return !this.isValid;\n }\n\n get selectedTargetSuffix() {\n return this.targetSuffix;\n }\n\n get selectedArchitecture() {\n return this.architecture;\n }\n\n get gatewayBuildsId() {\n if (this.gateway.buildId) {\n return this.gateway.buildId;\n }\n return '';\n }\n\n get selectedCommand() {\n if (this.commandTarget !== undefined) {\n return this.commandTarget.split('_')[2];\n }\n return '';\n }\n\n get selectedCommandTarget() {\n if (!this.commandTarget) {\n return this.defaultCommandTarget;\n }\n return this.commandTarget;\n }\n\n get commandTargetOptions() {\n return this.getCommandTargetFor('NewRelayCommandGroup', NodeKlass.Relay);\n }\n\n get selectedCommandGroup() {\n if (!this.commandGroup) {\n return this.commandGroup;\n }\n return '';\n }\n\n get selectedInterface() {\n if (this.commandTarget !== undefined) {\n return this.commandTarget.split('_')[1];\n }\n return '';\n }\n\n get defaultCommandTarget() {\n if (!!this.commandTargetOptions) {\n this.changeCommandTarget(Object.keys(this.commandTargetOptions)[0]);\n return Object.keys(this.commandTargetOptions)[0];\n }\n return '';\n }\n\n get addNewRelayToOptions() {\n return {\n formDefault: this.options.formDefault,\n source: this.options.source,\n targetGroup: 'NewRelayCommandGroup'\n };\n }\n\n public changeCommandTarget(n: string): void {\n this.isValid = true;\n this.commandTarget = n;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n\n public changeName(n: any): void {\n this.relayName = n.value;\n }\n\n public changeForm(data: any): void {\n this.isValid = data.valid;\n this.formData = data.data;\n }\n\n public changeDonutForm(data: any): void {\n this.donutFormData = data;\n }\n\n public changeTargetSuffix(t: string): void {\n this.targetSuffix = t;\n this.donutSelected =\n this.targetSuffix === 'shellcode'\n ? (this.donutSelected = true)\n : (this.donutSelected = false);\n }\n\n public changeArchitecture(a: string): void {\n this.architecture = a;\n }\n\n public createNewRelay(): void {\n const data = {\n type: this.selectedTargetSuffix,\n architecture: this.selectedArchitecture,\n parentGatewayBuildId: this.gatewayBuildsId,\n name: this.relayName,\n startupCommands: [this.formData],\n donut: this.donutFormData\n };\n axios({\n url: '/api/build/customize',\n method: 'POST',\n baseURL: this.getAPIBaseUrl,\n data,\n responseType: 'blob'\n })\n .then(response => {\n let fileName = '';\n const blob = new Blob([response.data], { type: response.data.type });\n const contentDisposition = response.headers['content-disposition'];\n const url = window.URL.createObjectURL(blob);\n const link = document.createElement('a');\n\n link.href = url;\n\n if (contentDisposition !== undefined) {\n fileName = contentDisposition\n .split('filename=')[1]\n .split(';')[0]\n .replace(/%20/gi, '-');\n }\n\n if (typeof fileName !== 'string' || fileName === '') {\n fileName = 'relay.exe';\n }\n\n link.href = url;\n link.setAttribute('download', fileName);\n document.body.appendChild(link);\n link.click();\n link.remove();\n window.URL.revokeObjectURL(url);\n\n this.closeThisModal();\n })\n .catch(error => {\n this.addNotify({\n type: 'error',\n message: error.message\n });\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateRelay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateRelay.vue?vue&type=template&id=44a75612&\"\nimport script from \"./CreateRelay.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateRelay.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CreateRelay.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('div',{staticClass:\"c3modal-title-wrapper\"},[_c('h1',[_vm._v(\"Gateway Setup\")]),_c('span',{staticClass:\"c3modal-config-link\",on:{\"click\":function($event){return _vm.openModal('', 'OPTIONS')}}},[_vm._v(\"EDIT CONFIG\")])]),_c('p',[_vm._v(\"Please setup a Gateway to begin using c3.\")]),_c('Input',{staticClass:\"form-element\",attrs:{\"legend\":\"Name / Auto Generated ID\",\"help\":\"If you do not enter a name an ID will be automatically generated.\"},on:{\"change\":function($event){return _vm.changeName($event, _vm.gatewayName)}}}),_c('div',{staticClass:\"form-row\"},[_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"TargetSuffix\",\"selected\":_vm.selectedTargetSuffix,\"options\":{ exe: 'exe' },\"border\":true},on:{\"change\":function($event){return _vm.changeTargetSuffix($event, _vm.targetSuffix)}}}),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Architecture\",\"selected\":_vm.selectedArchitecture,\"options\":{ x86: 'x86', x64: 'x64' },\"border\":true},on:{\"change\":function($event){return _vm.changeArchitecture($event, _vm.architecture)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasSelectedGateway !== false),expression:\"hasSelectedGateway !== false\"}],staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn pull-right\",on:{\"click\":function($event){return _vm.createNewGateway()}}},[_vm._v(\" Create and download Gateway \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport axios from 'axios';\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { GatewayHeader } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Input from '@/components/form/Input.vue';\nimport Select from '@/components/form/Select.vue';\n\nconst C3Module = namespace('c3Module');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Input,\n Select\n }\n})\nexport default class CreateGatewayModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n\n @C3Module.Getter public getGateways!: GatewayHeader[];\n\n @C3OptionsModule.Getter public getAPIBaseUrl!: string;\n\n public gatewayName: string = '';\n public targetSuffix: string = 'exe';\n public architecture: string = 'x64';\n\n get selectedTargetSuffix() {\n return this.targetSuffix;\n }\n\n get selectedArchitecture() {\n return this.architecture;\n }\n\n get hasSelectedGateway() {\n return this.getGateways.length > 0;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n\n public changeName(n: any): void {\n this.gatewayName = n.value;\n }\n\n public changeTargetSuffix(t: string): void {\n this.targetSuffix = t;\n }\n\n public changeArchitecture(a: string): void {\n this.architecture = a;\n }\n\n public createNewGateway(): void {\n let apiUrl = `/api/gateway/exe/${this.architecture}`;\n if (this.gatewayName && this.gatewayName !== '') {\n apiUrl = apiUrl + `?name=${this.gatewayName}`;\n }\n axios({\n url: apiUrl,\n method: 'GET',\n baseURL: this.getAPIBaseUrl,\n responseType: 'blob'\n })\n .then(response => {\n const blob = new Blob([response.data], { type: response.data.type });\n const url = window.URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.href = url;\n const contentDisposition = response.headers['content-disposition'];\n let fileName = '';\n\n if (contentDisposition !== undefined) {\n fileName = contentDisposition\n .split('filename=')[1]\n .split(';')[0]\n .replace(/%20/gi, '-');\n }\n\n if (typeof fileName !== 'string' || fileName === '') {\n fileName = 'gateway.exe';\n }\n\n link.href = url;\n link.setAttribute('download', fileName);\n document.body.appendChild(link);\n link.click();\n link.remove();\n window.URL.revokeObjectURL(url);\n\n this.closeThisModal();\n })\n .catch(error => {\n this.addNotify({\n type: 'error',\n message: error.message\n });\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateGateway.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateGateway.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateGateway.vue?vue&type=template&id=ca40afe0&\"\nimport script from \"./CreateGateway.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateGateway.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-header\"},[_c('h1',[_vm._v(\"Source Relay & Interface\")]),_c('div',{staticClass:\"flex-row\"},[_c('div',{staticClass:\"details\"},[_c('p',[_vm._v(\" Relay \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.relay.name)+\" / \"+_vm._s(_vm.relay.id))])]),_c('p',[_vm._v(\" Build ID \"),_c('span',[_vm._v(_vm._s(_vm.relay.buildId))])]),_c('p',[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" ID \"),_c('span',[_vm._v(_vm._s(_vm.c3Interface.id || ''))])]),_c('p',[_vm._v(\" \"+_vm._s(_vm.c3Interface.klass.toLowerCase())+\" Type \"),_c('span',[_vm._v(_vm._s(_vm.interfaceTypeName(_vm.c3Interface)))])])])])]),_c('div',{staticClass:\"c3modal-details\"},[_c('div',{staticStyle:{\"padding-bottom\":\"24px\"}},[_c('h1',[_vm._v(\"Select target Relay\")]),_c('Select',{staticClass:\"form-element\",attrs:{\"legend\":\"Target Relay\",\"selected\":_vm.selectedRelay,\"options\":_vm.generateRelayList(),\"border\":true},on:{\"change\":function($event){return _vm.changeTargetRelay($event, _vm.targetRelay)}}})],1),_c('div',{staticClass:\"c3modal-form\"},[_c('CommandCenterModal',{staticClass:\"embeded-modal\",attrs:{\"target-id\":_vm.selectedRelay,\"embeded\":false,\"options\":_vm.addNewRelayGroupToOptions},on:{\"change\":function($event){return _vm.changeForm($event, _vm.formData)}}})],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins, Prop } from 'vue-property-decorator';\n\nimport {\n C3Gateway,\n NodeKlass,\n C3Node,\n C3Relay,\n nullNode\n} from '@/types/c3types';\nimport {\n GetTypesForInterfaceKlassFn,\n InterfaceItem,\n GetCommandTargetForFn\n} from '@/store/C3Capability';\n\nimport C3 from '@/c3';\nimport Input from '@/components/form/Input.vue';\nimport Select from '@/components/form/Select.vue';\nimport GeneralForm from '@/components/form/GeneralForm.vue';\nimport AddChannelForm from '@/components/form/AddChannelForm.vue';\nimport CommandCenterModal from './CommandCenter.vue';\nimport {\n GetRelayFn,\n GetInterfaceFn,\n GetInterfacesForFn\n} from '@/store/C3Module';\n\nconst C3Module = namespace('c3Module');\nconst C3Capability = namespace('c3Capability');\n\n@Component({\n components: {\n Input,\n Select,\n GeneralForm,\n CommandCenterModal\n }\n})\nexport default class ConnectRelayModal extends Mixins(C3) {\n @Prop() public targetId!: string;\n @Prop() public options!: any;\n\n @C3Capability.Getter public getCommandTargetFor!: GetCommandTargetForFn;\n @C3Capability.Getter\n public getTypesForInterfaceKlass!: GetTypesForInterfaceKlassFn;\n\n @C3Module.Getter public getRelays!: C3Node[];\n @C3Module.Getter public getRelay!: GetRelayFn;\n @C3Module.Getter public getInterface!: GetInterfaceFn;\n @C3Module.Getter public getInterfacesFor!: GetInterfacesForFn;\n\n public formData: any = {};\n public isValid: boolean = false;\n public targetRelay: string = '';\n\n get relay() {\n return this.sourceRelay;\n }\n\n get c3Interface() {\n return this.sourceInterface;\n }\n\n get hasOptions() {\n if (this.options) {\n return JSON.stringify(this.options) === '{}' ? false : true;\n }\n return false;\n }\n\n get sourceRelay() {\n if (this.hasOptions) {\n if (!!this.options.source && !!this.options.source.relay) {\n return this.options.source.relay;\n }\n }\n return nullNode;\n }\n\n get sourceInterface() {\n if (this.hasOptions) {\n if (!!this.options.source && !!this.options.source.interface) {\n return this.options.source.interface;\n }\n }\n return nullNode;\n }\n\n // check the form is valid\n get formIsValid() {\n return !this.isValid;\n }\n\n // hold the actual selected relay\n get selectedRelay() {\n return this.targetRelay;\n }\n\n get addNewRelayGroupToOptions() {\n return {\n formDefault: this.options.formDefault,\n source: this.options.source,\n targetGroup: 'NewRelayCommandGroup'\n };\n }\n\n public generateRelayList(): any {\n const selectOptions: any = {};\n let first: string = '';\n let optionsCount = 0;\n const nullLiteral: string = 'null';\n const nodes = this.getRelays;\n nodes.forEach((node, index) => {\n if (node.id !== this.relay.id) {\n optionsCount++;\n selectOptions[node.id] = `${node.id} ${\n node.name ? '- ' + node.name + ' ' : ''\n }`;\n if (first === '') {\n first = node.id;\n }\n }\n });\n if (optionsCount === 0) {\n selectOptions[nullLiteral] = `Nothing to select...`;\n first = nullLiteral;\n }\n // select the first relay if nothing selected yet\n if (this.targetRelay === '') {\n this.targetRelay = first;\n }\n return selectOptions;\n }\n\n get showConnectRelayButton() {\n return true;\n }\n\n public mounted(): void {\n (window as any).addEventListener('keydown', this.handleGlobalKeyDown, true);\n }\n\n public beforeDestroy(): void {\n (window as any).removeEventListener(\n 'keydown',\n this.handleGlobalKeyDown,\n true\n );\n }\n\n public changeForm(data: any): void {\n this.isValid = data.valid;\n this.formData = data.data;\n }\n\n public changeTargetRelay(t: string): void {\n this.targetRelay = t;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConnectRelays.vue?vue&type=template&id=108a0d73&\"\nimport script from \"./ConnectRelays.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConnectRelays.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ConnectRelays.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3modal-body\"},[_c('div',{staticClass:\"c3modal-details\"},[_c('h1',{staticClass:\"c3network-title\"},[_vm._v(\" Network Configuration \")]),_c('div',{staticClass:\"form-row \"},[_c('Input',{key:'c3-url-field',staticClass:\"form-element\",attrs:{\"legend\":\"Url\",\"value\":_vm.c3Url,\"disabled\":false,\"validate\":\"required\",\"name\":\"Url\"},on:{\"change\":function($event){return _vm.setUrl($event, _vm.c3Url)}}})],1),_c('div',{staticClass:\"form-row\"},[_c('Input',{key:'c3-port-field',staticClass:\"form-element\",attrs:{\"legend\":\"Port\",\"value\":_vm.c3Port,\"disabled\":false,\"validate\":\"required|numeric|max_value:65535\",\"name\":\"Port\"},on:{\"change\":function($event){return _vm.setPort($event, _vm.c3Port)}}})],1),_c('dir',{staticClass:\"flex-row c3modal-actions\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeThisModal()}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"c3btn c3btn pull-right\",attrs:{\"disabled\":!_vm.isFormValid},on:{\"click\":function($event){return _vm.saveNetworkConfig()}}},[_vm._v(\" Save Confing \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport C3 from '@/c3';\nimport { SetBaseURLFn, SetBasePortFn } from '@/store/OptionsModule';\nimport Input from '../form/Input.vue';\n\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Input\n }\n})\nexport default class OptionsModal extends Mixins(C3) {\n @C3OptionsModule.Getter public getAPIUrl!: string;\n @C3OptionsModule.Getter public getAPIPort!: string;\n @C3OptionsModule.Mutation public setBaseURL!: SetBaseURLFn;\n @C3OptionsModule.Mutation public setBasePort!: SetBasePortFn;\n\n public c3Url: string = 'http://localhost';\n public c3UrlIsValid: boolean = true;\n public c3Port: number = 52935;\n public c3PortIsValid: boolean = true;\n\n get getUrl() {\n return this.getAPIUrl;\n }\n\n get getPort() {\n return this.getAPIPort;\n }\n\n public setUrl(url: any) {\n if (url.valid) {\n this.c3UrlIsValid = true;\n this.c3Url = url.value;\n } else {\n this.c3UrlIsValid = false;\n }\n }\n\n public setPort(port: any) {\n if (port.valid) {\n this.c3PortIsValid = true;\n this.c3Port = parseInt(port.value, 10);\n } else {\n this.c3PortIsValid = false;\n }\n }\n\n get isFormValid() {\n return this.c3UrlIsValid && this.c3PortIsValid;\n }\n\n public saveNetworkConfig(): void {\n if (this.isFormValid) {\n this.setBaseURL(this.c3Url);\n this.setBasePort(this.c3Port);\n }\n }\n\n public created() {\n this.c3Url = this.getUrl;\n this.c3Port = parseInt(this.getPort, 10);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Options.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Options.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Options.vue?vue&type=template&id=ceb6f1c8&\"\nimport script from \"./Options.vue?vue&type=script&lang=ts&\"\nexport * from \"./Options.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\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\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass } from '@/types/c3types';\nimport { C3Modal } from '@/store/ModalModule';\n\nimport C3 from '@/c3';\nimport RelayModal from '@/components/modals/Relay.vue';\nimport CommandModal from '@/components/modals/Command.vue';\nimport GatewayModal from '@/components/modals/Gateway.vue';\nimport InterfaceModal from '@/components/modals/Interface.vue';\nimport CreateRelayModal from '@/components/modals/CreateRelay.vue';\nimport CommandCenterModal from '@/components/modals/CommandCenter.vue';\nimport CreateGatewayModal from '@/components/modals/CreateGateway.vue';\nimport ConnectRelayModal from '@/components/modals/ConnectRelays.vue';\nimport OptionsModal from '@/components/modals/Options.vue';\n\nconst ModalModule = namespace('modalModule');\n\n@Component({\n components: {\n RelayModal,\n CommandModal,\n GatewayModal,\n OptionsModal,\n InterfaceModal,\n CreateRelayModal,\n ConnectRelayModal,\n CommandCenterModal,\n CreateGatewayModal\n }\n})\nexport default class Modal extends Mixins(C3) {\n @ModalModule.Getter public activeModal!: C3Modal;\n\n get currentModal() {\n return this.activeModal;\n }\n\n get targetUid() {\n return this.activeModal.modalTargetId || '';\n }\n\n public isGateway(): boolean {\n return this.activeModal.modalTarget === NodeKlass.Gateway;\n }\n\n public isRelay(): boolean {\n return this.activeModal.modalTarget === NodeKlass.Relay;\n }\n\n public isChannel(): boolean {\n return this.activeModal.modalTarget === NodeKlass.Channel;\n }\n\n public isPeripheral(): boolean {\n return this.activeModal.modalTarget === NodeKlass.Peripheral;\n }\n\n public isConnector(): boolean {\n return this.activeModal.modalTarget === NodeKlass.Connector;\n }\n\n public isInterface(): boolean {\n return (\n this.activeModal.modalTarget === NodeKlass.Channel ||\n this.activeModal.modalTarget === NodeKlass.Peripheral ||\n this.activeModal.modalTarget === NodeKlass.Connector\n );\n }\n\n public options(): any {\n return this.activeModal.modalOptions;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=51404812&\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts&\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3canvas\",class:{ 'c3canvas-fs': _vm.isFullscreen }},[_c('div',{ref:\"c3canvas\",attrs:{\"id\":\"c3canvas\"}}),_c('span',{staticClass:\"c3canvas-fs-btn icon\",class:_vm.fullscreenIcon,on:{\"click\":function($event){_vm.isFullscreen = !_vm.isFullscreen}}}),_c('span',{staticClass:\"c3canvas-more-btn icon more\"}),_c('ul',{staticClass:\"c3canvas-menu\"},[_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-tree-view-button\",attrs:{\"legend\":\"Tree View\",\"checked\":_vm.getTreeView,\"disabled\":false},on:{\"change\":_vm.toggleTreeView}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-interfaces-button\",attrs:{\"legend\":\"Interfaces\",\"checked\":_vm.getInterfaces,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleInterfaces($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-labels-button\",attrs:{\"legend\":\"Labels\",\"checked\":_vm.getShowLabels,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleLabels($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-physics-button\",attrs:{\"legend\":\"Physics\",\"checked\":_vm.getPhysics,\"disabled\":false},on:{\"change\":function($event){return _vm.togglePhysics($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\"},[_c('Toggle',{key:\"toggle-smooth-edges\",attrs:{\"legend\":\"Smooth Edges\",\"checked\":_vm.getSmoothEdges,\"disabled\":false},on:{\"change\":function($event){return _vm.toggleSmoothEdges($event)}}})],1),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":_vm.reloadGraph}},[_vm._v(\"Reload Graph\")]),_c('li',{staticClass:\"c3canvas-menu-divider\"}),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_GATEWAY')}}},[_vm._v(\" New Gateway \")]),_c('li',{staticClass:\"c3canvas-menu-item\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_RELAY')}}},[_vm._v(\" New Relay \")])]),_vm._m(0)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress-bar\"},[_c('div',{staticClass:\"progress-bar-status\",attrs:{\"id\":\"progress-bar-status\"}})])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3checkbox-wrapper\"},[_c('div',{staticClass:\"c3checkbox-row\",on:{\"click\":_vm.clickOnLabel}},[_vm._v(\" \"+_vm._s(_vm.legend)+\" \"),(_vm.hasHelp)?_c('span',{staticClass:\"icon help\"},[_c('div',{staticClass:\"help-text\"},[_vm._v(_vm._s(_vm.help))])]):_vm._e()]),_c('div',{staticClass:\"c3toggle\",class:{ disabled: _vm.isDisabled }},[_c('input',_vm._b({ref:\"booleanCheckbox\",staticClass:\"c3toggle-input\",attrs:{\"type\":\"checkbox\",\"id\":_vm.inputUID,\"name\":_vm.inputUID,\"disabled\":_vm.disabled},domProps:{\"checked\":_vm.getIsChecked},on:{\"change\":_vm.toogleToggle}},'input',_vm.$attrs,false)),_c('label',{staticClass:\"c3toggle-label\",on:{\"click\":_vm.clickOnLabel}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport C3FormElement from '@/components/form/C3FormElement';\n\nimport C3 from '@/c3';\n\n@Component\nexport default class Toggle extends Mixins(C3, C3FormElement) {\n @Prop() public checked!: string;\n\n public isChecked: boolean = this.getIsChecked;\n\n get getIsChecked() {\n if (\n this.checked &&\n typeof this.checked === 'boolean' &&\n this.checked === true\n ) {\n return true;\n }\n return false;\n }\n\n public mounted(): void {\n (this.$refs\n .booleanCheckbox as HTMLInputElement).checked = this.getIsChecked;\n }\n\n // boolean true or false, nothing to validate here\n public toogleToggle(): void {\n this.isChecked = !this.isChecked;\n this.$emit('change', {\n value: this.isChecked === true ? true : false,\n valid: true\n });\n }\n\n public clickOnLabel(): void {\n this.toogleToggle();\n // (this.$refs.booleanCheckbox as HTMLInputElement).checked = this.isChecked;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=edfe580a&scoped=true&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Toggle.vue?vue&type=style&index=0&id=edfe580a&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"edfe580a\",\n null\n \n)\n\nexport default component.exports","import { namespace } from 'vuex-class';\nimport { Vue, Component } from 'vue-property-decorator';\nimport { NodeKlass, C3Node, C3Edge, nullNode } from '@/types/c3types';\n\nconst C3Module = namespace('c3Module');\n\n/**\n * Path finding Class for Highlight the path on the graph from the selected node\n * to the gateway\n *\n * @export\n * @class Path\n * @extends {Vue}\n */\n@Component\nexport default class FindThePathToGateway extends Vue {\n @C3Module.Getter public getNodes!: C3Node[];\n @C3Module.Getter public getEdges!: C3Edge[];\n\n private startNode: C3Node = nullNode;\n private paths: string[] = [];\n private nextNode!: C3Node;\n\n get targetNode() {\n return (\n this.getNodes.find(node => {\n return node.klass === NodeKlass.Gateway;\n }) || nullNode\n );\n }\n\n public findPath(nodeId: string) {\n this.setStartNode(nodeId);\n\n this.paths = [];\n\n this.paths.push(this.startNode!.uid);\n\n let iterations = 0;\n\n if (this.hasPathEndpoints()) {\n return [];\n }\n\n while (!!this.startNode && this.startNode.uid !== this.targetNode.uid) {\n // set the next node equal to the current node\n this.nextNode = this.startNode;\n\n // set the next node if the start node is channel\n this.handleNodeChannel();\n\n // set the next node if the start node is connector or pheripheral\n this.handleConnectorAndPeripheral();\n\n // set the next node if the start node is relay\n this.handleRelay();\n\n // set start node to the next node towards the gateway\n this.setStartNode(this.nextNode.uid);\n\n // If something goes wrong, don't let the browser to stuck in an infinite loop.\n iterations++;\n\n // check we found the gateway or accidentaly stuck inside an infinite loop.\n this.checkEndLoop(iterations);\n }\n\n return this.paths;\n }\n\n // find the start node by Id and set it to the startNode\n private setStartNode(nodeId: string): void {\n this.startNode =\n this.getNodes.find(node => {\n return node.uid === nodeId;\n }) || nullNode;\n }\n\n // check booth start end target node has a valid NodeKlass\n private hasPathEndpoints(): boolean {\n return (\n this.startNode.klass === NodeKlass.Undefined ||\n this.targetNode.klass === NodeKlass.Undefined\n );\n }\n\n private handleNodeChannel() {\n return this.isChannel(this.startNode) && this.setNextNodeForChannel();\n }\n\n private handleConnectorAndPeripheral() {\n return (\n this.isStartNodeConnectorOrPeripheral() && this.setNextAndParentNode()\n );\n }\n\n private handleRelay() {\n return this.isStartNodeRelay() && this.setNextNodeForRelay();\n }\n\n // don't let the loop run more than 100 times (possible infinite loop)\n private checkEndLoop(iterations: number) {\n if (iterations > 100) {\n this.paths = [];\n this.setStartNode(this.targetNode.uid);\n }\n }\n\n // get the parent node for the startNode\n private getParentNode(): C3Node {\n return (\n this.getNodes.find(node => {\n return node.uid === this.startNode!.parentId;\n }) || nullNode\n );\n }\n\n private isStartNodeConnectorOrPeripheral(): boolean {\n return (\n this.startNode.klass === NodeKlass.Peripheral ||\n this.startNode.klass === NodeKlass.Connector\n );\n }\n\n private isChannel(node: C3Node): boolean {\n return node.klass === NodeKlass.Channel;\n }\n\n private isStartNodeRelay(): boolean {\n return this.startNode.klass === NodeKlass.Relay;\n }\n\n private isReturnChannel(node: C3Node): boolean {\n return node.isReturnChannel === true;\n }\n\n // find all the neighbours for the channel by the edges\n private getChannelNeighbours(): C3Edge[] {\n return this.getEdges.filter(edge => {\n return (\n edge.to === this.startNode!.uid || edge.from === this.startNode!.uid\n );\n });\n }\n\n // find all the neighbours for the relay by the edges\n private getRelayNeighbours(): C3Edge[] {\n return this.getEdges.filter(edge => {\n return edge.from === this.startNode!.uid;\n });\n }\n\n // look for possible neighbour on the edges by the uid\n // target: Enum ['from', 'to']\n private getPossibeNext(neighbour: C3Edge, target: string): C3Node {\n return (\n this.getNodes.find(node => {\n return node.uid === neighbour[target];\n }) || nullNode\n );\n }\n\n private insertParentNodeToPaths() {\n return (\n this.getParentNode().klass !== NodeKlass.Undefined &&\n this.paths.push(this.nextNode!.uid)\n );\n }\n\n private setNextAndParentNode(): void {\n // The parent is the way to find the gateway\n this.nextNode = this.getParentNode();\n this.insertParentNodeToPaths();\n }\n\n private setAndInsertNextNode(node: C3Node): void {\n // We found the way to the gateway\n this.nextNode = node;\n this.paths.push(node.uid);\n }\n\n // for not return channel the parent is the next node is the next step towards the gateway\n private setNextNodeForChannel(): void {\n if (this.isReturnChannel(this.startNode)) {\n this.setNextNodeForReturnChannel();\n } else {\n this.setNextAndParentNode();\n }\n }\n\n private setNextNodeForReturnChannel(): void {\n // The parent is in the oposite direction as for the normal channel\n // and we using the edge to get the path\n this.getChannelNeighbours().forEach(neighbour => {\n const possibleNext = this.getPossibeNext(neighbour, 'from');\n if (this.isChannel(possibleNext)) {\n this.setAndInsertNextNode(possibleNext);\n }\n });\n }\n\n // for relay we use the edge to found the way to the gateway\n private setNextNodeForRelay(): void {\n this.getRelayNeighbours().forEach(neighbour => {\n const possibleNext = this.getPossibeNext(neighbour, 'to');\n if (this.isReturnChannel(possibleNext)) {\n this.setAndInsertNextNode(possibleNext);\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\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\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { VisOptions } from '@/options';\nimport { Component, Watch, Mixins } from 'vue-property-decorator';\nimport { DataView, Options } from 'vis-network';\nimport { DataSet } from 'vis-data/peer/esm/vis-data';\nimport { Network } from 'vis-network/peer/esm/vis-network';\n\nimport { NodeKlass, C3Node, C3Edge, nullNode } from '@/types/c3types';\nimport { GetNodeKlassFn, FetchC3DataFn } from '@/store/C3Module';\nimport {\n SetOptionslFn,\n SetGraphDataFn,\n GenerateNodesFn,\n GenerateEdgesFn,\n SetOptionFn\n} from '@/store/VisModule';\n\nimport C3 from '@/c3';\nimport Toggle from '@/components/form/Toggle.vue';\nimport FindThePathToGateway from '@/lib/path';\n\nconst C3Module = namespace('c3Module');\nconst VisModule = namespace('visModule');\n\n@Component({\n components: {\n Toggle\n }\n})\nexport default class Canvas extends Mixins(C3, FindThePathToGateway) {\n get fullscreenIcon() {\n return this.isFullscreen ? 'zoomin' : 'fullscreen';\n }\n\n get graphOtions() {\n return this.getOptions;\n }\n\n get graphData() {\n return this.getGrapData;\n }\n\n get getTreeView() {\n return this.graphOtions.layout.hierarchical.enabled;\n }\n\n get getPhysics() {\n return this.graphOtions.physics.enabled;\n }\n\n get getInterfaces() {\n return this.getShowInterfaces;\n }\n\n get getSmoothEdges() {\n return this.isSmooth;\n }\n\n @VisModule.Action public generateNodes!: GenerateNodesFn;\n @VisModule.Action public generateEdges!: GenerateEdgesFn;\n\n @VisModule.Getter public getVisNodes!: any;\n @VisModule.Getter public getVisEdges!: any;\n @VisModule.Getter public getGrapData!: object;\n @VisModule.Getter public getOptions!: Options;\n @VisModule.Getter public getShowInterfaces!: boolean;\n @VisModule.Getter public getShowLabels!: boolean;\n\n @VisModule.Mutation public setPhysics!: SetOptionFn;\n @VisModule.Mutation public setTreeView!: SetOptionFn;\n @VisModule.Mutation public setOptions!: SetOptionslFn;\n @VisModule.Mutation public setSmoothEdge!: SetOptionFn;\n @VisModule.Mutation public setGraphData!: SetGraphDataFn;\n @VisModule.Mutation public setShowInterfaces!: SetOptionFn;\n @VisModule.Mutation public setShowLabels!: SetOptionFn;\n\n @C3Module.Action public fetchGateway!: FetchC3DataFn;\n\n @C3Module.Getter public getNodeKlass!: GetNodeKlassFn;\n\n public container: any = null;\n public isSmooth: boolean = false;\n public isFullscreen: boolean = false;\n public lastClickNodeId: string = '';\n\n public mounted(): void {\n this.createVisCanvas();\n }\n\n public createVisCanvas(): void {\n this.container = this.$refs.c3canvas;\n (window as any).networkc3 = new Network(\n this.container,\n this.getGrapData,\n this.graphOtions\n );\n\n (window as any).networkc3.on('click', (params: any) => {\n const nodeid = (window as any).networkc3.getNodeAt(params.pointer.DOM);\n if (this.lastClickNodeId === nodeid) {\n if (!!nodeid) {\n this.openModal(nodeid, this.nodeKlass(nodeid));\n }\n } else {\n this.lastClickNodeId = nodeid;\n }\n this.deselectNodes();\n this.clearPath();\n if (!!nodeid) {\n this.selectNode(nodeid);\n }\n });\n\n (window as any).networkc3.on('startStabilizing', (params: any) => {\n const progressBarStatus = document.getElementById('progress-bar-status');\n if (progressBarStatus !== null) {\n progressBarStatus.style.width = '1px';\n }\n });\n\n (window as any).networkc3.on('stabilizationProgress', (params: any) => {\n const status = Math.floor(\n params.iterations / this.getOptions.physics.stabilization.updateInterval\n );\n const progressBarStatus = document.getElementById('progress-bar-status');\n if (progressBarStatus !== null) {\n progressBarStatus.style.width = status + '%';\n }\n });\n\n (window as any).networkc3.on('stabilized', (params: any) => {\n const progressBar = document.getElementById('progress-bar-status');\n if (progressBar !== null) {\n progressBar.style.width = '1px';\n }\n });\n }\n\n public nodeKlass(nodeid: string): NodeKlass {\n return this.getNodeKlass(nodeid);\n }\n\n public toggleTreeView(b: any): void {\n this.setTreeView(b.value);\n (window as any).networkc3.setOptions(this.graphOtions);\n this.setGraphData();\n }\n\n public togglePhysics(b: any): void {\n this.setPhysics(b.value);\n (window as any).networkc3.setOptions(this.graphOtions);\n this.setGraphData();\n }\n\n public toggleInterfaces(b: any): void {\n this.setShowInterfaces(b.value);\n this.generateNodes();\n this.generateEdges();\n this.setGraphData();\n }\n\n public toggleLabels(b: any): void {\n this.setShowLabels(b.value);\n this.generateNodes();\n this.generateEdges();\n this.setGraphData();\n }\n\n public toggleSmoothEdges(b: any): void {\n this.isSmooth = b.value;\n this.setSmoothEdge(b.value);\n (window as any).networkc3.setOptions(this.graphOtions);\n this.setGraphData();\n }\n\n public reloadGraph(): void {\n const o = this.graphOtions;\n o.layout.randomSeed = Math.floor(Math.random() * 785496) + 1;\n (window as any).networkc3.setOptions(o);\n this.setGraphData();\n }\n\n public deselectNodes(): void {\n this.getVisNodes.forEach((nodeId: any) => {\n (window as any).networkc3.body.data.nodes.update([\n {\n id: nodeId.id,\n shadow: {\n enabled: false\n }\n }\n ]);\n });\n }\n\n public clearPath(): void {\n this.getVisEdges.forEach((edge: any) => {\n const tmpEdge = (window as any).networkc3.body.data.edges.get(edge.id);\n if (\n (!!tmpEdge.color && Object.keys(tmpEdge.color).length !== 0) ||\n (!!tmpEdge.width && tmpEdge.width !== 1)\n ) {\n (window as any).networkc3.body.data.edges.update([\n {\n id: edge.id,\n color: {},\n width: 1\n }\n ]);\n }\n });\n }\n\n public selectNode(nodeId: string): void {\n (window as any).networkc3.body.data.nodes.update([\n {\n id: nodeId,\n shadow: {\n enabled: true\n }\n }\n ]);\n\n const paths = this.getPathsFromGateway(nodeId);\n this.getVisEdges.forEach((edge: any) => {\n if (!!paths && paths.includes(edge.from) && paths.includes(edge.to)) {\n (window as any).networkc3.body.data.edges.update([\n {\n id: edge.id,\n color: {\n color: '#AB61F6'\n },\n width: 4\n }\n ]);\n }\n });\n }\n\n public getPathsFromGateway(nodeId: string) {\n return this.findPath(nodeId);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Canvas.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Canvas.vue?vue&type=template&id=7b1bbc3f&\"\nimport script from \"./Canvas.vue?vue&type=script&lang=ts&\"\nexport * from \"./Canvas.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Canvas.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3footer\"},[_vm._v(\"C3 dashboard - Labs\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\n\n@Component\nexport default class Footer extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=62086585&scoped=true&\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts&\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=62086585&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62086585\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3navbar\"},[_c('img',{staticClass:\"c3navbar-logo\",attrs:{\"alt\":\"C3 logo\",\"src\":require(\"@/assets/logo.svg\")}}),_c('div',{staticClass:\"c3navbar-left\"},[_c('span',{staticClass:\"c3navbar-left--title\"},[_vm._v(\"C3\")])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\n\n@Component\nexport default class Navbar extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Navbar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Navbar.vue?vue&type=template&id=5295cdf8&scoped=true&\"\nimport script from \"./Navbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./Navbar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Navbar.vue?vue&type=style&index=0&id=5295cdf8&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5295cdf8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hasSelectedGateway)?_c('div',{staticClass:\"c3controll\"},[_c('span',{staticClass:\"c3controll-help icon exclamation\"}),_c('ul',{staticClass:\"c3controll-tabs\"},[_c('li',{class:{ active: _vm.activeIsRelay },on:{\"click\":function($event){return _vm.setActiveTab('relay')}}},[_vm._v(\" Relays \")]),_c('li',{class:{ active: _vm.activeIsInterface },on:{\"click\":function($event){return _vm.setActiveTab('interface')}}},[_vm._v(\" Interfaces \")]),_c('li',{class:{ active: _vm.activeIsCommands },on:{\"click\":function($event){return _vm.setActiveTab('command')}}},[_vm._v(\" Commands \")])]),(_vm.activeIsRelay)?_c('RelaysTab'):_vm._e(),(_vm.activeIsInterface)?_c('InterfacesTab'):_vm._e(),(_vm.activeIsCommands)?_c('CommandsTab'):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('RelayList',{attrs:{\"show-empty\":true},on:{\"count\":function($event){return _vm.setCount($event)}}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.relays.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3InterfaceList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.relays.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.relays),function(relay,index){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(index >= _vm.minIndex && index < _vm.maxIndex),expression:\"index >= minIndex && index < maxIndex\"}],key:relay.id,on:{\"click\":function($event){return _vm.openModal(relay.uid, relay.klass)}}},[_c('td',{staticClass:\"c3link\"},[_c('span',{staticClass:\"c3tab-info-dot not-active\",class:{\n 'is-active': !!relay.isActive,\n 'has-error': !!relay.error\n }}),_vm._v(\" \"+_vm._s(relay.id)+\" \")]),_c('td',[_vm._v(_vm._s(relay.name))]),_c('td',[_vm._v(_vm._s(relay.buildId))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No relays found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Relay ID\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Build ID\")])])])}]\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { NodeKlass, C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class RelayList extends Mixins(C3, Partial) {\n @C3Module.Getter public getRelays!: C3Node[];\n\n get relays() {\n this.$emit('count', this.getRelays.length);\n return this.getRelays;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelayList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RelayList.vue?vue&type=template&id=579275ba&scoped=true&\"\nimport script from \"./RelayList.vue?vue&type=script&lang=ts&\"\nexport * from \"./RelayList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RelayList.vue?vue&type=style&index=0&id=579275ba&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"579275ba\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tabfooter\"},[_c('div',{staticClass:\"c3tabfooter-info\"},[_vm._v(\"Result: \"+_vm._s(_vm.results))]),_c('div',{staticClass:\"c3tabfooter-action\"},[_vm._v(\" Items per page: \"),_c('Select',{staticStyle:{\"max-width\":\"60px\",\"margin-bottom\":\"0\"},attrs:{\"selected\":_vm.perPage,\"options\":{\n '5': '5',\n '10': '10',\n '25': '25',\n '50': '50',\n '100': '100',\n '1000': 'All'\n },\"border\":false,\"up\":true},on:{\"change\":function($event){return _vm.changePerPage($event, _vm.page)}}})],1),_c('div',{staticClass:\"c3tabfooter-paginator\"},[_c('span',{staticClass:\"c3tabfooter-controll\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.prevPage($event)}}},[_vm._v(\" < \")]),_vm._v(\" Page: \"+_vm._s(_vm.actualPage)+\" of \"+_vm._s(_vm.maxPage)+\" \"),_c('span',{staticClass:\"c3tabfooter-controll\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.nextPage($event)}}},[_vm._v(\" > \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Watch, Mixins } from 'vue-property-decorator';\n\nimport { SetActualPageFn, SetItemPerPageFn } from '@/store/PaginateModule';\n\nimport C3 from '@/c3';\nimport Select from '@/components/form/Select.vue';\n\nconst PaginateModule = namespace('paginateModule');\n\n@Component({\n components: {\n Select\n }\n})\nexport default class DataTableFooter extends Mixins(C3) {\n @Prop() public results!: number;\n\n @PaginateModule.Getter public getActualPage!: number;\n @PaginateModule.Getter public getItemPerPage!: number;\n\n @PaginateModule.Mutation public setActualPage!: SetActualPageFn;\n @PaginateModule.Mutation public setItemPerPage!: SetItemPerPageFn;\n\n public page: string = '5';\n public perPage: string = '5';\n\n public created(): void {\n this.perPage = '' + this.itemPerPage;\n }\n\n public changePerPage(perPageCount: string): void {\n this.perPage = perPageCount;\n this.setItemPerPage(+this.perPage);\n }\n\n public nextPage(): void {\n if (this.actualPage < this.maxPage) {\n this.setActualPage(this.actualPage + 1);\n }\n }\n\n public prevPage(): void {\n if (this.actualPage > 1) {\n this.setActualPage(this.actualPage - 1);\n }\n }\n\n get actualPage() {\n return this.getActualPage;\n }\n\n get itemPerPage() {\n return this.getItemPerPage;\n }\n\n get maxPage() {\n const maxpage: number = Math.ceil(this.results / this.itemPerPage);\n return maxpage === 0 ? 1 : maxpage;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataTableFooter.vue?vue&type=template&id=2eac248e&scoped=true&\"\nimport script from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataTableFooter.vue?vue&type=style&index=0&id=2eac248e&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2eac248e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport RelayList from '@/components/partial/RelayList.vue';\nimport DataTableFooter from '@/components/datatables/DataTableFooter.vue';\n\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n RelayList,\n DataTableFooter\n }\n})\nexport default class RelaysTab extends Mixins(C3) {\n @C3Module.Getter public getRelays!: C3Node[];\n\n public rCount: number = 0;\n\n get getCount() {\n return this.rCount;\n }\n\n public setCount(n: number): void {\n this.rCount = n;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relays.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Relays.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Relays.vue?vue&type=template&id=6fe08944&\"\nimport script from \"./Relays.vue?vue&type=script&lang=ts&\"\nexport * from \"./Relays.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('CommandList',{attrs:{\"show-empty\":true,\"status-filter\":_vm.selectedCommandStatus,\"command-for-filter\":_vm.selectedCommandFor}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.commands.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3CommandList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.commands.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.commands),function(c3Command){return _c('tr',{key:c3Command.id,on:{\"click\":function($event){return _vm.openModal(c3Command.id, 'COMMAND')}}},[_c('td',{staticClass:\"c3link\"},[_vm._v(\" \"+_vm._s(c3Command.id)+\" \")]),_c('td',{staticClass:\"command-for\"},[_vm._v(\" \"+_vm._s(_vm.commandType(c3Command).toLowerCase())+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.commandTypeId(c3Command))+\" \")])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No commands found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Command ID\")]),_c('th',[_vm._v(\"Command for\")]),_c('th',[_vm._v(\"ID\")])])])}]\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins } from 'vue-property-decorator';\n\nimport { GetNodeKlassFn } from '@/store/C3Module';\nimport {\n NodeKlass,\n C3Node,\n C3Command,\n C3Gateway,\n nullNode\n} from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3CommandModule = namespace('c3CommandModule');\n\n@Component\nexport default class CommandList extends Mixins(C3, Partial) {\n @Prop() public statusFilter!: string;\n @Prop() public commandForFilter!: string;\n\n @C3CommandModule.Getter public getCommands!: C3Command[];\n @C3CommandModule.Getter public getCommandCount!: number;\n\n get commands() {\n let commandsArray = this.getCommands;\n\n if (this.statusFilter === 'COMPLETE') {\n commandsArray = commandsArray.filter((c3Command: C3Command) => {\n return c3Command.isPending === false;\n });\n } else if (this.statusFilter === 'PENDING') {\n commandsArray = commandsArray.filter((c3Command: C3Command) => {\n return c3Command.isPending === true;\n });\n }\n\n if (this.commandForFilter !== 'ALL') {\n commandsArray = commandsArray.filter((c3Command: C3Command) => {\n return this.commandType(c3Command) === this.commandForFilter;\n });\n }\n\n this.$emit('count', commandsArray.length);\n return commandsArray;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CommandList.vue?vue&type=template&id=39bf6527&scoped=true&\"\nimport script from \"./CommandList.vue?vue&type=script&lang=ts&\"\nexport * from \"./CommandList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CommandList.vue?vue&type=style&index=0&id=39bf6527&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39bf6527\",\n null\n \n)\n\nexport default component.exports","\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\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins, Watch } from 'vue-property-decorator';\n\nimport { C3Node, C3Command } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Select from '@/components/form/Select.vue';\nimport CommandList from '@/components/partial/CommandList.vue';\nimport DataTableFooter from '@/components/datatables/DataTableFooter.vue';\nimport { FetchC3CommandFn } from '@/store/C3Command';\nimport { SetActualPageFn } from '@/store/PaginateModule';\n\nconst PaginateModule = namespace('paginateModule');\nconst C3CommandModule = namespace('c3CommandModule');\n\n@Component({\n components: {\n Select,\n CommandList,\n DataTableFooter\n }\n})\nexport default class CommandsTab extends Mixins(C3) {\n @C3CommandModule.Getter public getCommandCount!: number;\n\n @C3CommandModule.Action public fetchCommands!: FetchC3CommandFn;\n\n @PaginateModule.Getter public getActualPage!: number;\n @PaginateModule.Getter public getLastChange!: number;\n @PaginateModule.Getter public getItemPerPage!: number;\n\n @PaginateModule.Mutation public setActualPage!: SetActualPageFn;\n\n // public commandCount: number = 0;\n public commandFor: string = 'ALL';\n public commandStatus: string = 'ALL';\n\n get getCount() {\n return this.getCommandCount;\n }\n\n get selectedCommandFor() {\n return this.commandFor;\n }\n\n get selectedCommandStatus() {\n return this.commandStatus;\n }\n\n // Command count set by the back-end response. No filtering, so the results count won't change.\n // public setCount(count: number): void {\n // this.commandCount = count;\n // }\n\n // If the actual page or item per page change: fetch the command logs\n @Watch('getLastChange')\n public onGetLastChange(value: any, oldValue: any) {\n this.fetchCommands(this.gateway.id);\n }\n\n public selectCommandFor(r: string) {\n this.commandFor = r;\n }\n\n public selectCommandStatus(t: string) {\n this.commandStatus = t;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Commands.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Commands.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Commands.vue?vue&type=template&id=20c40642&\"\nimport script from \"./Commands.vue?vue&type=script&lang=ts&\"\nexport * from \"./Commands.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3tab\"},[_c('div',{staticClass:\"c3tab-filters\"},[_c('Select',{key:\"type-filter\",attrs:{\"legend\":\"Filter by type\",\"selected\":_vm.selectedInterfaceType,\"options\":{\n ALL: 'All',\n CHANNEL: 'Channel',\n PERIPHERAL: 'Peripheral',\n CONNECTOR: 'Connector'\n },\"border\":true,\"up\":false},on:{\"change\":function($event){return _vm.selectInterfaceType($event, _vm.interfaceType)}}}),_c('Select',{key:\"return-channel-filter\",attrs:{\"legend\":\"Filter by Return Channel\",\"selected\":_vm.selectedReturnChannel,\"options\":{ ALL: 'All', YES: 'Yes', NO: 'No' },\"border\":true,\"up\":false,\"disabled\":_vm.isChannelOrAllForDisabled},on:{\"change\":function($event){return _vm.selectReturnChannel($event, _vm.returnChannel)}}}),_c('Select',{key:\"negotiation-channel-filter\",attrs:{\"legend\":\"Filter by Negotiation Channel\",\"selected\":_vm.selectedNegotiationChannel,\"options\":{ ALL: 'All', YES: 'Yes', NO: 'No' },\"border\":true,\"up\":false,\"disabled\":_vm.isChannelOrAllForDisabled},on:{\"change\":function($event){return _vm.selectNegotiationChannel($event, _vm.negotiationChannel)}}})],1),_c('InterfaceList',{attrs:{\"show-empty\":true,\"return-channel-filter\":_vm.selectedReturnChannel,\"negotiation-channel-filter\":_vm.selectedNegotiationChannel,\"interface-type-filter\":_vm.selectedInterfaceType},on:{\"count\":function($event){return _vm.setCount($event)}}}),_c('DataTableFooter',{attrs:{\"results\":_vm.getCount}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.c3Interfaces.length || _vm.displayEmpty)?_c('div',{staticClass:\"c3CommandList\"},[_c('h1',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasTitle),expression:\"hasTitle\"}]},[_vm._v(_vm._s(_vm.title))]),(_vm.c3Interfaces.length)?[_c('table',{staticClass:\"datatable\"},[_vm._m(0),_c('tbody',_vm._l((_vm.c3Interfaces),function(c3Interface,index){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(index >= _vm.minIndex && index < _vm.maxIndex),expression:\"index >= minIndex && index < maxIndex\"}],key:c3Interface.uid,on:{\"click\":function($event){return _vm.openModal(c3Interface.uid, c3Interface.klass)}}},[_c('td',{staticClass:\"c3link\"},[_c('span',{staticClass:\"c3tab-info-dot\",class:{\n 'is-return': !!c3Interface.isReturnChannel,\n 'has-error': !!c3Interface.error\n }}),_vm._v(\" \"+_vm._s(c3Interface.id)+\" \")]),_c('td',{staticClass:\"capitalize\"},[_vm._v(_vm._s(c3Interface.klass.toLowerCase()))]),_c('td',[_vm._v(_vm._s(_vm.interfaceTypeName(c3Interface)))]),_c('td',[_vm._v(_vm._s(_vm.interfaceType(c3Interface)))])])}),0)])]:(_vm.displayEmpty)?[_vm._v(\" No interfaces found... \")]:_vm._e()],2):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Interface ID\")]),_c('th',[_vm._v(\"Type\")]),_c('th',[_vm._v(\"Name\")]),_c('th',[_vm._v(\"Channel Type\")])])])}]\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Prop, Mixins, Provide } from 'vue-property-decorator';\n\nimport { GetNodeKlassFn, GetInterfacesFn } from '@/store/C3Module';\nimport {\n NodeKlass,\n C3Node,\n C3Command,\n C3Gateway,\n nullNode\n} from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Partial from '@/components/partial/Partial';\n\nconst C3Module = namespace('c3Module');\n\n@Component\nexport default class InterfaceList extends Mixins(C3, Partial) {\n @Prop() public returnChannelFilter!: string;\n @Prop() public interfaceTypeFilter!: string;\n @Prop() public negotiationChannelFilter!: string;\n\n @C3Module.Getter public getCommands!: C3Command[];\n @C3Module.Getter public getInterfaces!: GetInterfacesFn;\n\n get c3Interfaces() {\n let interfaces = [];\n interfaces =\n this.interfaceTypeFilter === 'ALL'\n ? this.getInterfaces()\n : this.getInterfaces([this.interfaceTypeFilter as NodeKlass]);\n\n if (this.returnChannelFilter === 'YES') {\n interfaces = interfaces.filter((c3Node: C3Node) => {\n return !!c3Node.isReturnChannel;\n });\n } else if (this.returnChannelFilter === 'NO') {\n interfaces = interfaces.filter((c3Node: C3Node) => {\n return !c3Node.isReturnChannel;\n });\n }\n\n if (this.negotiationChannelFilter === 'YES') {\n interfaces = interfaces.filter((c3Node: C3Node) => {\n return !!c3Node.isNegotiationChannel;\n });\n } else if (this.negotiationChannelFilter === 'NO') {\n interfaces = interfaces.filter((c3Node: C3Node) => {\n return !c3Node.isNegotiationChannel;\n });\n }\n\n this.$emit('count', interfaces.length);\n return interfaces;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InterfaceList.vue?vue&type=template&id=5873b325&scoped=true&\"\nimport script from \"./InterfaceList.vue?vue&type=script&lang=ts&\"\nexport * from \"./InterfaceList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InterfaceList.vue?vue&type=style&index=0&id=5873b325&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5873b325\",\n null\n \n)\n\nexport default component.exports","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { c3Module, GetInterfacesFn } from '@/store/C3Module';\nimport { C3Interface, NodeKlass, C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Select from '@/components/form/Select.vue';\nimport InterfaceList from '@/components/partial/InterfaceList.vue';\nimport DataTableFooter from '@/components/datatables/DataTableFooter.vue';\n\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n Select,\n InterfaceList,\n DataTableFooter\n }\n})\nexport default class InterfacesTab extends Mixins(C3) {\n public iCount = 0;\n public interfaceByType: string = 'ALL';\n public returnChannel: string = 'ALL';\n public negotiationChannel: string = 'ALL';\n\n get getCount() {\n return this.iCount;\n }\n\n get selectedInterfaceType() {\n return this.interfaceByType;\n }\n\n get selectedReturnChannel() {\n return this.returnChannel;\n }\n\n get selectedNegotiationChannel() {\n return this.negotiationChannel;\n }\n\n get isChannelOrAllForDisabled() {\n const isChannel =\n this.selectedInterfaceType === 'ALL' ||\n this.selectedInterfaceType === 'CHANNEL';\n if (!isChannel) {\n this.selectReturnChannel('NO');\n this.selectNegotiationChannel('NO');\n }\n return isChannel ? false : true;\n }\n\n public setCount(emitedCountNumber: number): void {\n this.iCount = emitedCountNumber;\n }\n\n public selectInterfaceType(newtype: string) {\n if (\n (this.interfaceByType === 'PERIPHERAL' ||\n this.interfaceByType === 'CONNECTOR') &&\n (newtype === 'ALL' || newtype === 'CHANNEL')\n ) {\n this.selectReturnChannel('ALL');\n this.selectNegotiationChannel('ALL');\n }\n this.interfaceByType = newtype;\n }\n\n public selectReturnChannel(filterReturnChannel: string) {\n this.returnChannel = filterReturnChannel;\n }\n\n public selectNegotiationChannel(filterNegotiationChannel: string) {\n this.negotiationChannel = filterNegotiationChannel;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interfaces.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Interfaces.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Interfaces.vue?vue&type=template&id=eda49f72&\"\nimport script from \"./Interfaces.vue?vue&type=script&lang=ts&\"\nexport * from \"./Interfaces.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\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\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { SetActualPageFn } from '@/store/PaginateModule';\n\nimport C3 from '@/c3';\nimport RelaysTab from '@/components/datatables/Relays.vue';\nimport CommandsTab from '@/components/datatables/Commands.vue';\nimport InterfacesTab from '@/components/datatables/Interfaces.vue';\n\nconst C3Module = namespace('c3Module');\nconst PaginateModule = namespace('paginateModule');\n\n@Component({\n components: {\n RelaysTab,\n CommandsTab,\n InterfacesTab\n }\n})\nexport default class Controll extends Mixins(C3) {\n @PaginateModule.Mutation public setActualPage!: SetActualPageFn;\n\n @C3Module.Getter public hasGatewaySelected!: boolean;\n\n public activeTab: string = 'relay';\n\n get activeIsRelay() {\n return this.activeTab === 'relay';\n }\n\n get activeIsInterface() {\n return this.activeTab === 'interface';\n }\n\n get activeIsCommands() {\n return this.activeTab === 'command';\n }\n\n get hasSelectedGateway() {\n return this.hasGatewaySelected;\n }\n\n public setActiveTab(s: string): void {\n this.setActualPage(1);\n this.activeTab = s;\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Controll.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Controll.vue?vue&type=template&id=31097cf9&\"\nimport script from \"./Controll.vue?vue&type=script&lang=ts&\"\nexport * from \"./Controll.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Controll.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3side\"},[_c('div',{staticClass:\"c3side-title-wrapper\"},[_c('h1',{staticClass:\"c3side-title\"},[_vm._v(\"Network\")]),_c('span',{staticClass:\"c3side-config-link\",on:{\"click\":function($event){return _vm.openModal('', 'OPTIONS')}}},[_vm._v(\"EDIT CONFIG\")])]),_c('div',{staticClass:\"c3side-body\"},[_c('NetworkStats'),_c('div',{staticClass:\"c3side-refresh-wrapper\"},[_c('span',{staticClass:\"c3side-refres-title\"},[_vm._v(\" Refresh Rate \")]),_c('Select',{staticClass:\"c3site-refresh-dropdown\",staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"selected\":_vm.selectedRefreshRate,\"options\":_vm.refreshRates(),\"border\":false},on:{\"change\":function($event){return _vm.setRefreshRate($event, _vm.refreshRate)}}})],1),_c('Toggle',{key:\"toggle-auto-update-button\",attrs:{\"legend\":\"Auto Update\",\"name\":\"autoUpdate\",\"checked\":_vm.getAutoUpdateEnabled,\"help\":\"Auto Update checks for network changes automatically,\\n this may result in live updated to the graph and data tables when enabled\",\"disabled\":false},on:{\"change\":function($event){return _vm.toggleAutoUpdate($event)}}}),_c('div',{staticClass:\"c3btn-group\"},[_c('button',{staticClass:\"c3btn c3btn--grey\",on:{\"click\":function($event){return _vm.openModal('', 'CREATE_GATEWAY')}}},[_vm._v(\" New Gateway \")])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { GetInterfacesFn } from '@/store/C3Module';\nimport { SetAutoUpdateEnabledFn } from '@/store/VisModule';\nimport { GatewayHeader, NodeKlass, C3Node } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Toggle from '@/components/form/Toggle.vue';\nimport NetworkStats from '@/components/partial/NetworkStats.vue';\nimport Select from '@/components/form/Select.vue';\nimport { SetRefreshIntervalFn } from '@/store/OptionsModule';\n\nconst C3Module = namespace('c3Module');\nconst VisModule = namespace('visModule');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Toggle,\n Select,\n NetworkStats\n }\n})\nexport default class SideMenu extends Mixins(C3) {\n @VisModule.Getter public getAutoUpdateEnabled!: boolean;\n @VisModule.Mutation public setAutoUpdateEnabled!: SetAutoUpdateEnabledFn;\n\n @C3OptionsModule.Getter public getRefreshInterval!: number;\n @C3OptionsModule.Mutation public setRefreshInterval!: SetRefreshIntervalFn;\n\n public refreshRate: string = '2';\n\n get getAutoUpdate() {\n return this.getAutoUpdateEnabled;\n }\n\n public toggleAutoUpdate(d: any): void {\n this.setAutoUpdateEnabled(d.value);\n }\n\n get selectedRefreshRate() {\n return this.refreshRate;\n }\n\n public setRefreshRate(rate: any) {\n this.refreshRate = rate;\n this.setRefreshInterval(parseInt(rate, 10) * 1000);\n }\n\n private refreshRates() {\n return {\n 1: '1 second',\n 2: '2 seconds',\n 5: '5 seconds',\n 10: '10 seconds',\n 20: '20 seconds',\n 30: '30 seconds',\n 60: '1 minute',\n 120: '2 minutes',\n 300: '5 minutes',\n 600: '10 minutes',\n 1800: '30 minutes',\n 3600: '1 hour'\n };\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SideMenu.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SideMenu.vue?vue&type=template&id=6cd95e5d&scoped=true&\"\nimport script from \"./SideMenu.vue?vue&type=script&lang=ts&\"\nexport * from \"./SideMenu.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SideMenu.vue?vue&type=style&index=0&id=6cd95e5d&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cd95e5d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway\"},[_vm._m(0),_c('SelectGatewayForm')],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway-row\"},[_c('span',{staticClass:\"c3gateway-title\"},[_vm._v(\" Gateway Selection \")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"c3gateway-row\"},[_c('Select',{attrs:{\"legend\":\"Gateways\",\"selected\":_vm.selectedGateway,\"options\":_vm.gateways,\"border\":true,\"up\":false},on:{\"change\":function($event){return _vm.selectGateway($event, _vm.activeGateway)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { FetchC3DataFn } from '@/store/C3Module';\nimport { C3Relay, C3Interface, GatewayHeader } from '@/types/c3types';\n\nimport C3 from '@/c3';\nimport Select from '@/components/form/Select.vue';\n\nconst C3Module = namespace('c3Module');\n\n@Component({\n components: {\n Select\n }\n})\nexport default class SelectGatewayForm extends Mixins(C3) {\n @C3Module.Action public fetchGateway!: FetchC3DataFn;\n\n @C3Module.Getter public getGateways!: GatewayHeader[];\n\n public activeGateway: string = '';\n\n get selectedGateway() {\n return this.activeGateway;\n }\n\n get gateways() {\n const gateways: GatewayHeader[] = this.getGateways;\n const g: any = {};\n\n gateways.forEach((gateway: GatewayHeader, index: number) => {\n g[gateway.agentId] = `${gateway.name} - ${gateway.agentId}`;\n });\n\n if (gateways.length > 0 && this.selectedGateway === '') {\n this.activeGateway = gateways[0].agentId;\n this.fetchGateway({ gatewayId: this.selectedGateway });\n }\n return g;\n }\n\n public selectGateway(id: string): void {\n this.activeGateway = id;\n this.changeGateway();\n this.addNotify({\n type: 'info',\n message: `Gateway [${this.selectedGateway}] selected...`\n });\n }\n\n public changeGateway(): void {\n this.fetchGateway({ gatewayId: this.selectedGateway });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectGatewayForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SelectGatewayForm.vue?vue&type=template&id=49ef2de9&scoped=true&\"\nimport script from \"./SelectGatewayForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SelectGatewayForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SelectGatewayForm.vue?vue&type=style&index=0&id=49ef2de9&scoped=true&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49ef2de9\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport C3 from '@/c3';\nimport SelectGatewayForm from '@/components/form/SelectGatewayForm.vue';\n\n@Component({\n components: {\n SelectGatewayForm\n }\n})\nexport default class GatewayForm extends Mixins(C3) {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GatewayForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GatewayForm.vue?vue&type=template&id=0c9ae31e&\"\nimport script from \"./GatewayForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./GatewayForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GatewayForm.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition-group',{staticClass:\"c3notify\",attrs:{\"name\":\"slide\",\"tag\":\"ul\"}},_vm._l((_vm.notifies),function(notify){return _c('li',{key:notify.id,class:'c3notify-' + notify.type,staticStyle:{\"right\":\"0\"}},[(notify.title)?_c('h1',[_vm._v(_vm._s(notify.title))]):_vm._e(),_c('p',[_vm._v(_vm._s(notify.message))]),_c('span',{staticClass:\"c3notify-close icon close\",on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.deleteNotify(notify.id)}}})])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { namespace } from 'vuex-class';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport { Notify, RemoveNotifyFn } from '@/store/NotifyModule';\n\nconst NotifyModule = namespace('notifyModule');\n\n@Component\nexport default class Notification extends Vue {\n @NotifyModule.Getter public getNotifies!: Notify[];\n\n @NotifyModule.Mutation public removeNotify!: RemoveNotifyFn;\n\n get notifies() {\n return this.getNotifies;\n }\n\n public deleteNotify(id: string): void {\n this.removeNotify(id);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notification.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Notification.vue?vue&type=template&id=749b9749&\"\nimport script from \"./Notification.vue?vue&type=script&lang=ts&\"\nexport * from \"./Notification.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Notification.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\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\nimport Vue from 'vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { State, Getter, Action, Mutation, namespace } from 'vuex-class';\n\nimport { Func } from '@/types/Func';\nimport { FetchC3DataFn } from './store/C3Module';\nimport { FetchC3CommandFn } from './store/C3Command';\nimport { gateway } from '../tests/unit/store/mockdata';\nimport { SetActualPageFn } from '@/store/PaginateModule';\nimport { GatewayHeader, C3Node, nullNode, NodeKlass } from '@/types/c3types';\n\nimport Modal from '@/components/Modal.vue';\nimport Canvas from '@/components/Canvas.vue';\nimport Footer from '@/components/Footer.vue';\nimport Navbar from '@/components/Navbar.vue';\nimport Controll from '@/components/Controll.vue';\nimport SideMenu from '@/components/SideMenu.vue';\nimport GatewayForm from '@/components/GatewayForm.vue';\nimport Notification from '@/components/Notification.vue';\nimport CreateGatewayModal from '@/components/modals/CreateGateway.vue';\n\nconst C3Module = namespace('c3Module');\nconst VisModule = namespace('visModule');\nconst PaginateModule = namespace('paginateModule');\nconst C3CommandModule = namespace('c3CommandModule');\nconst C3OptionsModule = namespace('optionsModule');\n\n@Component({\n components: {\n Navbar,\n GatewayForm,\n Canvas,\n Controll,\n SideMenu,\n Footer,\n Modal,\n Notification,\n CreateGatewayModal\n }\n})\nexport default class App extends Vue {\n @PaginateModule.Mutation public setActualPage!: SetActualPageFn;\n\n @C3Module.Action public fetchGateways!: Func;\n @C3Module.Action public fetchGateway!: FetchC3DataFn;\n @C3Module.Action public fetchCapability!: FetchC3DataFn;\n\n @C3Module.Getter public getGateway!: C3Node;\n @C3Module.Getter public getGateways!: GatewayHeader[];\n\n @VisModule.Action public generateNodes!: Func;\n\n @VisModule.Getter public getGrapData!: object;\n @VisModule.Getter public getAutoUpdateEnabled!: boolean;\n\n @C3CommandModule.Action public fetchCommands!: FetchC3CommandFn;\n\n @C3OptionsModule.Getter public getRefreshInterval!: number;\n\n public setTime: any;\n\n get gateway() {\n if (this.getGateway === undefined) {\n return nullNode;\n }\n\n return this.getGateway;\n }\n\n get hasSelectedGateway() {\n return this.getGateways.length > 0;\n }\n\n get refreshRate() {\n return this.getRefreshInterval;\n }\n\n public mounted(): void {\n this.updateData();\n\n this.setTime = setInterval(this.updateData, this.refreshRate);\n }\n\n public destroy(): void {\n clearInterval(this.setTime);\n }\n\n @Watch('getRefreshInterval')\n public setNewRefreshRate(value: any, oldValue: any) {\n clearInterval(this.setTime);\n this.setTime = setInterval(this.updateData, this.refreshRate);\n }\n\n @Watch('getGrapData')\n public onGetGrapDataChange(value: any, oldValue: any) {\n if ((window as any).networkc3 !== undefined) {\n (window as any).networkc3.setData(this.getGrapData);\n }\n this.fetchCommands(this.gateway.id);\n this.fetchCapability({ gatewayId: this.gateway.id });\n }\n\n public updateData(): void {\n if (this.getAutoUpdateEnabled === true) {\n this.fetchGateways();\n if (this.gateway && this.gateway.klass !== NodeKlass.Undefined) {\n this.fetchGateway({ gatewayId: this.gateway.id });\n }\n }\n }\n}\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=739d8e11&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=sass&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport md5 from 'md5';\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport {\n C3State,\n C3Relay,\n C3Interface,\n C3Gateway,\n GatewayHeader,\n NodeKlass,\n C3Node,\n C3Edge,\n FetchData,\n C3Command,\n C3Route,\n C3RelayTime\n} from '@/types/c3types';\n\nconst namespaced: boolean = true;\n// State\n\nexport const state: C3State = {\n gateways: [],\n gateway: null,\n nodes: [],\n edges: [],\n relayTimestamps: [],\n mustRefresh: false,\n lastGetHash: ''\n};\n\n// Getters\n\nexport type GetGatewayFn = () => C3Node | undefined;\nexport type GetRelayFn = (id: string) => C3Node | undefined;\nexport type GetInterfaceFn = (uid: string) => C3Node | undefined;\nexport type GetInterfacesFn = (nodeKlass?: NodeKlass[]) => C3Node[];\nexport type GetInterfacesForFn = (\n nodeKlass: NodeKlass | NodeKlass[],\n parentId: string | null\n) => C3Node[];\nexport type GetNodeKlassFn = (uid: string) => NodeKlass;\nexport type GetCommandFn = (id: string) => C3Command | undefined;\nexport type GetRelayRoutesFn = (id: string) => C3Route[];\n\nexport const getters: GetterTree = {\n getNodes(c3State): C3Node[] {\n return c3State.nodes;\n },\n\n getEdges(c3State): C3Edge[] {\n return c3State.edges;\n },\n\n // return gateways agentIds\n getGateways(c3State): GatewayHeader[] {\n return c3State.gateways;\n },\n\n // return the selected gateway\n getGateway(c3State): C3Node | undefined {\n return c3State.nodes.find(node => {\n return node.klass === NodeKlass.Gateway;\n });\n },\n\n hasGatewaySelected(c3State): boolean {\n if (c3State.gateway) {\n return true;\n }\n return false;\n },\n\n // return all relays from the selected gateway\n getRelays(c3State): C3Node[] {\n return c3State.nodes.filter(node => {\n return node.klass === NodeKlass.Relay;\n });\n },\n\n getRelay: c3State => (id: string): C3Node | undefined => {\n return c3State.nodes.find(node => {\n return node.id === id && node.klass === NodeKlass.Relay;\n });\n },\n\n getGatewayRoutes(c3State): C3Route[] {\n if (c3State.gateway) {\n return c3State.gateway.routes;\n }\n return [];\n },\n\n getRelayRoutes: c3State => (id: string): C3Route[] => {\n if (!!c3State.gateway) {\n const relay = c3State.gateway.relays.find(target => {\n return target.agentId === id;\n });\n if (!!relay) {\n return relay.routes;\n }\n }\n return [];\n },\n\n getInterface: c3State => (uid: string): C3Node | undefined => {\n if (uid === 'new') {\n return {\n uid: 'new',\n klass: NodeKlass.Relay,\n id: 'new',\n buildId: '',\n name: 'new',\n pending: true,\n isActive: false,\n type: -1,\n error: null,\n parentId: null,\n parentKlass: NodeKlass.Gateway,\n initialCommand: {},\n timestamp: Math.floor(Date.now() / 1000)\n };\n }\n\n const c = c3State.nodes.find(node => {\n return node.uid === uid;\n });\n return c3State.nodes.find(node => {\n return node.uid === uid;\n });\n },\n\n getInterfaces: c3State => (\n nodeKlass: NodeKlass[] = [\n NodeKlass.Channel,\n NodeKlass.Connector,\n NodeKlass.Peripheral\n ]\n ): C3Node[] => {\n return c3State.nodes.filter(node => {\n return nodeKlass.includes(node.klass);\n });\n },\n\n getInterfacesFor: c3State => (\n nodeKlass: NodeKlass | NodeKlass[] = [\n NodeKlass.Channel,\n NodeKlass.Connector,\n NodeKlass.Peripheral\n ],\n parentId: string | null\n ): C3Node[] => {\n if ((parentId === '' || parentId === null) && c3State.gateway) {\n parentId = c3State.gateway.agentId;\n }\n return c3State.nodes.filter(node => {\n return nodeKlass.includes(node.klass) && node.parentId === parentId;\n });\n },\n\n getNodeKlass: c3State => (uid: string): NodeKlass => {\n const n = c3State.nodes.find(node => {\n return node.uid === uid;\n });\n if (n) {\n return n.klass;\n }\n return NodeKlass.Undefined;\n }\n};\n\n// Mutations\n\nexport type UpdateGatewaysFn = (relays: GatewayHeader[]) => void;\nexport type UpdateGatewayFn = (relays: C3Gateway) => void;\n\nexport const mutations: MutationTree = {\n updateGateways(c3State, g: GatewayHeader[]) {\n c3State.gateways = g;\n },\n\n updateGateway(c3State, g: C3Gateway) {\n c3State.gateway = g;\n },\n\n populateNodes(c3State, data: C3Gateway) {\n const uuid = (...args: string[]): string => {\n return args.join('-');\n };\n\n const isRelayActive = (relay: C3Relay): boolean => {\n let active = relay.isActive;\n\n // If gateway down the relays are not managable either.\n if (data.isActive === false) {\n active = false;\n }\n\n return active;\n };\n\n c3State.nodes = [];\n c3State.mustRefresh = false;\n\n if (c3State.relayTimestamps === undefined) {\n c3State.relayTimestamps = [];\n }\n\n let gatewayTimestamp = 0;\n let relayTimestamp = 0;\n const relayTimestamps: C3RelayTime[] = [];\n\n if (!!data.timestamp) {\n gatewayTimestamp = data.timestamp;\n }\n\n c3State.nodes.push({\n uid: data.agentId,\n klass: NodeKlass.Gateway,\n id: data.agentId,\n buildId: data.buildId,\n name: data.name,\n pending: data.pending || false,\n isActive: data.isActive,\n type: -1,\n error: data.error || null,\n parentId: null,\n parentKlass: null,\n timestamp: gatewayTimestamp\n });\n\n data.channels.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Channel,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n isReturnChannel: i.isReturnChannel || false,\n isNegotiationChannel: i.isNegotiationChannel || false,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.peripherals.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Peripheral,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.connectors.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, data.agentId),\n klass: NodeKlass.Connector,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n propertiesText: i.propertiesText || ''\n });\n });\n\n data.relays.forEach((relay: C3Relay) => {\n if (!!relay.timestamp) {\n relayTimestamp = relay.timestamp;\n if (relayTimestamp < gatewayTimestamp) {\n relayTimestamps!.push({\n id: relay.agentId,\n time: relayTimestamp\n });\n } else {\n const newTime = c3State.relayTimestamps!.find(t => {\n return t.id === relay.agentId;\n });\n if (newTime !== undefined) {\n c3State.mustRefresh = true;\n }\n }\n }\n\n c3State.nodes.push({\n uid: relay.agentId,\n klass: NodeKlass.Relay,\n id: relay.agentId,\n buildId: relay.buildId,\n name: relay.name,\n pending: relay.pending || false,\n isActive: isRelayActive(relay),\n type: -1,\n error: relay.error || null,\n parentId: data.agentId,\n parentKlass: NodeKlass.Gateway,\n initialCommand: relay.initialCommand || {},\n timestamp: relayTimestamp,\n hostInfo: relay.hostInfo\n });\n\n relay.channels.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, relay.agentId),\n klass: NodeKlass.Channel,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: relay.agentId,\n isReturnChannel: i.isReturnChannel || false,\n isNegotiationChannel: i.isNegotiationChannel || false,\n parentKlass: NodeKlass.Relay,\n propertiesText: i.propertiesText || ''\n });\n });\n\n relay.peripherals.forEach((i: C3Interface) => {\n c3State.nodes.push({\n uid: uuid(i.iid, relay.agentId),\n klass: NodeKlass.Peripheral,\n id: i.iid,\n pending: i.pending || false,\n type: i.type,\n error: i.error || null,\n parentId: relay.agentId,\n parentKlass: NodeKlass.Relay,\n propertiesText: i.propertiesText || ''\n });\n });\n });\n c3State.relayTimestamps = relayTimestamps;\n },\n\n populateEdges(c3State, data: C3Gateway) {\n const uuid = (...args: string[]): string => {\n return args.join('-');\n };\n\n const guid = () => {\n return Math.random()\n .toString(36)\n .substring(2);\n };\n\n const interfaceIsExist = (agentId: string, iid: string) => {\n const relay = data.relays.find((r: C3Relay) => {\n return r.agentId === agentId;\n });\n if (relay !== undefined) {\n const c = relay.channels.find((i: C3Interface) => {\n return i.iid === iid;\n });\n if (c !== undefined) {\n return true;\n }\n }\n return false;\n };\n\n c3State.edges = [];\n\n data.channels.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n isNegotiationChannel: !!i.isNegotiationChannel,\n length: 0,\n dashes: false,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.peripherals.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.connectors.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: true,\n from: data.agentId,\n to: uuid(i.iid, data.agentId)\n });\n });\n\n data.routes.forEach(route => {\n if (route.isNeighbour === true) {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Relay,\n length: 100,\n dashes: false,\n from: data.agentId,\n to: route.destinationAgent\n });\n\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: uuid(route.outgoingInterface, data.agentId),\n to: uuid(route.receivingInterface, route.destinationAgent)\n });\n }\n });\n\n data.relays.forEach((relay: C3Relay) => {\n relay.channels.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n isNegotiationChannel: !!i.isNegotiationChannel,\n length: 0,\n dashes: false,\n from: relay.agentId,\n to: uuid(i.iid, relay.agentId)\n });\n });\n\n relay.peripherals.forEach((i: C3Interface) => {\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: relay.agentId,\n to: uuid(i.iid, relay.agentId)\n });\n });\n\n relay.routes.forEach(route => {\n if (route.isNeighbour === true) {\n let isDashed = true;\n if (\n interfaceIsExist(\n route.destinationAgent,\n route.receivingInterface\n ) &&\n interfaceIsExist(relay.agentId, route.outgoingInterface)\n ) {\n isDashed = false;\n }\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Relay,\n length: 100,\n dashes: isDashed,\n from: relay.agentId,\n to: route.destinationAgent\n });\n\n c3State.edges.push({\n id: guid(),\n klass: NodeKlass.Interface,\n length: 0,\n dashes: false,\n from: uuid(route.outgoingInterface, relay.agentId),\n to: uuid(route.receivingInterface, route.destinationAgent)\n });\n }\n });\n });\n }\n};\n\n// Actions\n\nexport type FetchC3DataFn = (data: FetchData) => void;\n\nconst actions: ActionTree = {\n fetchCapability(context, nodeIds: FetchData) {\n context.dispatch('c3Capability/fetchCapability', nodeIds, { root: true });\n },\n\n fetchGateways(context): void {\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get('/api/gateway', { baseURL })\n .then(response => {\n context.commit('updateGateways', response.data);\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n },\n\n fetchGateway(context, nodeIds: FetchData) {\n if (nodeIds.gatewayId) {\n const url = `/api/gateway/${nodeIds.gatewayId}`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get(url, { baseURL })\n .then(response => {\n let hash: string = '';\n\n if (context.state.mustRefresh !== true) {\n hash = md5(\n JSON.stringify(response.data).replace(\n /\"timestamp\":[0-9]*[,]{0,1}/g,\n ''\n )\n );\n }\n\n // store the gateway\n context.commit('updateGateway', response.data);\n context.commit('populateNodes', response.data);\n context.commit('populateEdges', response.data);\n\n if (context.state.mustRefresh || hash !== context.state.lastGetHash) {\n // generate the data structure to vis library\n context.dispatch('visModule/generateNodes', {}, { root: true });\n context.dispatch('visModule/generateEdges', {}, { root: true });\n context.commit('visModule/setGraphData', {}, { root: true });\n context.state.lastGetHash = hash;\n }\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3Module: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\nexport interface ModalState {\n modals: C3Modal[];\n}\n\nexport interface C3Modal {\n modalTarget: string;\n modalTargetId: any;\n modalOptions: any;\n}\n\n// State\n\nconst state: ModalState = {\n modals: []\n};\n\n// Getters\nconst getters: GetterTree = {\n activeModal(modalState): C3Modal | undefined {\n if (modalState.modals.length > 0) {\n return modalState.modals[modalState.modals.length - 1];\n }\n return undefined;\n }\n};\n\n// Mutations\n\nexport type NewModalFn = (m: C3Modal) => void;\nexport type CloseModalFn = () => void;\n\nconst mutations: MutationTree = {\n newModal(modalState, m: C3Modal) {\n let last: any = false;\n if (modalState.modals.length > 1) {\n last = modalState.modals[modalState.modals.length - 2];\n }\n if (\n last !== false &&\n last.modalTarget === m.modalTarget &&\n last.modalTargetId === m.modalTargetId\n ) {\n modalState.modals.pop();\n } else {\n modalState.modals.push(m);\n }\n },\n\n closeModal(modalState) {\n if (modalState.modals.length > 0) {\n modalState.modals.pop();\n }\n },\n\n closeModalAll(modalState) {\n modalState.modals = [];\n }\n};\n\n// Actions\n\nexport const actions: ActionTree = {};\n\nexport const modalModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\ninterface PaginateState {\n itemPerPage: number;\n actualPage: number;\n lastChange: number;\n}\n\n// State\n\nconst state: PaginateState = {\n itemPerPage: 5,\n actualPage: 1,\n lastChange: Date.now()\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getItemPerPage(paginateState): number {\n return paginateState.itemPerPage;\n },\n\n getActualPage(paginateState): number {\n return paginateState.actualPage;\n },\n\n getLastChange(paginateState): number {\n return paginateState.lastChange;\n }\n};\n\n// Mutations\n\nexport type SetItemPerPageFn = (itemPerPage: number) => void;\nexport type SetActualPageFn = (itemPerPage: number) => void;\n\nexport const mutations: MutationTree = {\n setItemPerPage(paginateState, itemPerPage: number): void {\n paginateState.actualPage = 1;\n paginateState.itemPerPage = itemPerPage;\n paginateState.lastChange = Date.now();\n },\n\n setActualPage(paginateState, actualPage: number): void {\n paginateState.actualPage = actualPage;\n paginateState.lastChange = Date.now();\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {};\n\nexport const paginateModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","// tslint:disable max-line-length\nconst svgChannelActive =\n '';\nconst svgChannelReturn =\n '';\nconst svgChannelError =\n '';\n\nconst svgNegotiationActive =\n '';\nconst svgNegotiationError =\n '';\n\nconst svgPeripheralActive =\n '';\nconst svgPeripheralError =\n '';\n\nconst svgConnectorActive =\n '';\nconst svgConnectorError =\n '';\n\nconst svgInterfaceActive =\n '';\nconst svgInterfaceInactive =\n '';\nconst svgInterfaceError =\n '';\n\nconst svgGatewayActive =\n '';\nconst svgGatewayInactive =\n '';\nconst svgGatewayError =\n '';\n\nconst svgRelayActive =\n '';\nconst svgRelayInactive =\n '';\nconst svgRelayGhost =\n '';\nconst svgRelayError =\n '';\n\nexport const ChannelActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelActive);\nexport const ChannelReturn =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelReturn);\nexport const ChannelError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgChannelError);\n\nexport const PeripheralActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgPeripheralActive);\nexport const PeripheralError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgPeripheralError);\n\nexport const NegotiationActive =\n 'data:image/svg+xml;charset=utf-8,' +\n encodeURIComponent(svgNegotiationActive);\nexport const NegotiationError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgNegotiationError);\n\nexport const ConnectorActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgConnectorActive);\nexport const ConnectorError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgConnectorError);\n\nexport const InterfaceActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgInterfaceActive);\nexport const InterfaceInactive =\n 'data:image/svg+xml;charset=utf-8,' +\n encodeURIComponent(svgInterfaceInactive);\nexport const InterfaceError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgInterfaceError);\n\nexport const GatewayActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayActive);\nexport const GatewayInactive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayInactive);\nexport const GatewayError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgGatewayError);\n\nexport const RelayActive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayActive);\nexport const RelayInactive =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayInactive);\nexport const RelayGhost =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayGhost);\nexport const RelayError =\n 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgRelayError);\n","import {\n GatewayActive,\n GatewayError,\n RelayActive,\n RelayError,\n ChannelActive,\n ChannelReturn,\n ChannelError,\n PeripheralError,\n PeripheralActive,\n ConnectorActive,\n ConnectorError,\n GatewayInactive,\n RelayInactive,\n RelayGhost,\n NegotiationActive,\n NegotiationError\n} from '@/components/assets/SvgIconsForVis';\n\nexport const GATEWAY: number = 10;\nexport const RELAY: number = 20;\nexport const CHANNEL: number = 30;\nexport const PERIPHERAL: number = 40;\nexport const CONNECTOR: number = 50;\nexport const NEGOTIATION_CHANNEL: number = 5;\nexport const ERROR: number = 1;\nexport const RETURN_CHANNEL: number = 2;\nexport const INACTIVE: number = 3;\nexport const GHOST: number = 5;\n\n// The Vis Options for visualisation\nexport const VisOptions: any = {\n nodes: {\n font: {\n color: '#fff',\n background: '#222',\n size: 12,\n face: 'Roboto Mono',\n strokeWidth: 0,\n vadjust: 0\n },\n shadow: {\n enabled: false,\n color: 'rgba(75,174,97,1)',\n size: 20,\n x: 0,\n y: 0\n },\n widthConstraint: {\n maximum: 75\n },\n margin: {\n top: 0\n }\n },\n edges: {\n font: {\n color: '#fff',\n background: '#222',\n size: 12,\n face: 'Roboto Mono',\n strokeWidth: 0\n },\n color: {\n color: '#BDBDBD',\n highlight: '#27ae60'\n },\n smooth: false\n },\n groups: {\n // GATEWAY\n 10: {\n shape: 'image',\n image: GatewayActive,\n size: 30\n },\n // GATEWAY + ERROR\n 11: {\n shape: 'image',\n image: GatewayError,\n size: 30\n },\n // GATEWAY + INACTIVE\n 13: {\n shape: 'image',\n image: GatewayInactive,\n size: 30\n },\n // GATEWAY + INACTIVE + ERROR\n 14: {\n shape: 'image',\n image: GatewayError,\n size: 30\n },\n // RELAY\n 20: {\n shape: 'image',\n image: RelayActive,\n size: 30\n },\n // RELAY + ERROR\n 21: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + INACTIVE\n 23: {\n shape: 'image',\n image: RelayInactive,\n size: 30\n },\n // RELAY + INACTIVE +ERROR\n 24: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + GHOST\n 25: {\n shape: 'image',\n image: RelayGhost,\n size: 30\n },\n // RELAY + GHOST + ERROR\n 26: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // RELAY + INACTIVE + GHOST\n 28: {\n shape: 'image',\n image: RelayGhost,\n size: 30\n },\n // RELAY + INACTIVE + GHOST + ERROR\n 29: {\n shape: 'image',\n image: RelayError,\n size: 30\n },\n // CHANNEL\n 30: {\n shape: 'image',\n image: ChannelActive,\n size: 20\n },\n // CHANNEL + ERROR\n 31: {\n shape: 'image',\n image: ChannelError,\n size: 20\n },\n // CHANNEL + RETURN_CHANNEL\n 32: {\n shape: 'image',\n image: ChannelReturn,\n size: 20\n },\n // CHANNEL + RETURN_CHANNEL + ERROR\n 33: {\n shape: 'image',\n image: ChannelError,\n size: 20\n },\n // NEGOTIATION_CHANNEL\n 35: {\n shape: 'image',\n image: NegotiationActive,\n size: 25\n },\n // NEGOTIATION_CHANNEL + ERROR\n 36: {\n shape: 'image',\n image: NegotiationError,\n size: 25\n },\n // PERIPHERAL\n 40: {\n shape: 'image',\n image: PeripheralActive,\n size: 20\n },\n // PERIPHERAL + ERROR\n 41: {\n shape: 'image',\n image: PeripheralError,\n size: 20\n },\n // CONNECTOR\n 50: {\n shape: 'image',\n image: ConnectorActive,\n size: 20\n },\n // CONNECTOR + ERROR\n 51: {\n shape: 'image',\n image: ConnectorError,\n size: 20\n }\n },\n layout: {\n randomSeed: 921401,\n improvedLayout: true,\n hierarchical: {\n enabled: true,\n direction: 'LR',\n parentCentralization: true,\n blockShifting: true,\n levelSeparation: 150,\n treeSpacing: 200,\n nodeSpacing: 100,\n edgeMinimization: true,\n sortMethod: 'hubsize'\n }\n },\n physics: {\n enabled: true,\n solver: 'barnesHut',\n barnesHut: {\n gravitationalConstant: -4500,\n springLength: 100,\n springConstant: 0.01,\n damping: 0.1,\n avoidOverlap: 0\n },\n minVelocity: 0.45,\n stabilization: {\n enabled: true,\n iterations: 1000,\n updateInterval: 10,\n onlyDynamicEdges: false,\n fit: true\n }\n },\n interaction: {\n navigationButtons: true,\n keyboard: false\n }\n};\n\n// maximum toast shown\nexport const maximumToast: number = 3;\n\n// the data refresh rate in milisecond\nexport const refreshInterval: number = 2000;\n\nexport const notifyLenght = 5000;\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { Node, Edge, Options } from 'vis-network';\nimport { DataSet } from 'vis-data/peer/esm/vis-data';\n\nimport { RootState } from '@/types/store/RootState';\nimport { C3Edge, NodeKlass, C3Node } from '@/types/c3types';\nimport {\n GATEWAY,\n RELAY,\n CHANNEL,\n PERIPHERAL,\n CONNECTOR,\n RETURN_CHANNEL,\n VisOptions,\n INACTIVE,\n NEGOTIATION_CHANNEL,\n GHOST\n} from '@/options';\n\nconst namespaced: boolean = true;\n\ninterface VisState {\n nodes: any;\n edges: any;\n options: any;\n autoUpdateEnabled: boolean;\n showInterfaces: boolean;\n showLabels: boolean;\n graphData: {\n nodes: any;\n edges: any;\n };\n}\n\n// State\n\nconst state: VisState = {\n nodes: {},\n edges: {},\n options: VisOptions,\n showInterfaces: true,\n showLabels: true,\n autoUpdateEnabled: true,\n graphData: {\n nodes: new DataSet({}),\n edges: new DataSet({})\n }\n};\n\n// Getters\nconst getters: GetterTree = {\n getVisNodes(visState): any {\n return visState.nodes;\n },\n\n getVisEdges(visState): any {\n return visState.edges;\n },\n\n getGrapData(visState): object {\n return visState.graphData;\n },\n\n getOptions(visState): Options {\n return visState.options;\n },\n\n getShowInterfaces(visState): boolean {\n return visState.showInterfaces;\n },\n\n getShowLabels(visState): boolean {\n return visState.showLabels;\n },\n\n getAutoUpdateEnabled(visState): boolean {\n return visState.autoUpdateEnabled;\n }\n};\n\n// Mutations\n\nexport type SetGraphDataFn = () => void;\nexport type SetOptionFn = (b: boolean) => void;\nexport type SetAutoUpdateEnabledFn = (d: boolean) => void;\nexport type SetOptionslFn = (options: Options) => void;\n\nconst mutations: MutationTree = {\n setNodes(visState, n) {\n visState.nodes = n;\n },\n\n setEdges(visState, e) {\n visState.edges = e;\n },\n\n setGraphData(visState) {\n const nodes = new DataSet(visState.nodes);\n const edges = new DataSet(visState.edges);\n const graph = { nodes, edges };\n visState.graphData = graph;\n },\n\n setOptions(visState, options: Options): void {\n visState.options = options;\n },\n\n setShowInterfaces(visState, b: boolean): void {\n visState.showInterfaces = b;\n },\n\n setShowLabels(visState, b: boolean): void {\n visState.showLabels = b;\n },\n\n setTreeView(visState, b: boolean): void {\n visState.options.layout.hierarchical.enabled = b;\n visState.options.physics.stabilization.onlyDynamicEdges =\n b === true ? true : false;\n },\n\n setPhysics(visState, b: boolean): void {\n visState.options.physics.enabled = b;\n },\n\n setSmoothEdge(visState, b: boolean): void {\n visState.options.edges.smooth = b;\n },\n\n setAutoUpdateEnabled(visState, d: boolean): void {\n visState.autoUpdateEnabled = d;\n }\n};\n\n// Actions\n\nexport type GenerateNodesFn = () => void;\nexport type GenerateEdgesFn = () => void;\n\nconst actions: ActionTree = {\n generateNodes(context) {\n const ns: C3Node[] = context.rootGetters['c3Module/getNodes'];\n const gatewayLastStartTime =\n context.rootGetters['c3Module/getGateway'].timestamp;\n const gatewayIsActive = context.rootGetters['c3Module/getGateway'].isActive;\n\n const setGroup = (\n target: C3Node,\n gatewayStartTime: number,\n isGatewayActive: boolean\n ): string => {\n let group: number = 0;\n\n // Add error if target has an error\n if (target.error !== null) {\n ++group;\n }\n\n let active = true;\n\n // If Target down told by API then make inactive\n if (target.isActive !== undefined && target.isActive === false) {\n active = false;\n }\n\n // If relay last seen begore gateway last start than we think gateway maybe down\n if (target.klass === NodeKlass.Relay) {\n if (!!target.timestamp) {\n active = target.timestamp < gatewayStartTime ? false : true;\n }\n\n // if gateway down the hole network down\n if (!isGatewayActive) {\n active = false;\n }\n\n if (target.isActive === false) {\n group = group + GHOST;\n }\n }\n\n if (!active) {\n group = group + INACTIVE;\n }\n\n switch (target.klass) {\n case NodeKlass.Channel:\n group += CHANNEL;\n if (target.isReturnChannel === true) {\n group += RETURN_CHANNEL;\n }\n if (target.isNegotiationChannel === true) {\n group += NEGOTIATION_CHANNEL;\n }\n return '' + group;\n case NodeKlass.Relay:\n group += RELAY;\n return '' + group;\n case NodeKlass.Peripheral:\n group += PERIPHERAL;\n return '' + group;\n case NodeKlass.Gateway:\n group += GATEWAY;\n return '' + group;\n case NodeKlass.Connector:\n group += CONNECTOR;\n return '' + group;\n }\n\n return '' + group;\n };\n const nodes: Node[] = [];\n const interfaccesIncluded: boolean = context.state.showInterfaces;\n\n ns.forEach((node: C3Node) => {\n if (\n context.state.showInterfaces === true ||\n (interfaccesIncluded !== true && node.klass === NodeKlass.Gateway) ||\n node.klass === NodeKlass.Relay\n ) {\n const group = setGroup(node, gatewayLastStartTime, gatewayIsActive);\n let label = '';\n if (context.state.showLabels) {\n label = node.name || '';\n }\n\n nodes.push({\n id: node.uid,\n group,\n label\n });\n } else {\n if (!!node.isNegotiationChannel && node.isNegotiationChannel === true) {\n const group = setGroup(node, gatewayLastStartTime, gatewayIsActive);\n let label = '';\n if (context.state.showLabels) {\n label = node.name || '';\n }\n\n nodes.push({\n id: node.uid,\n group,\n label\n });\n }\n }\n });\n\n context.commit('setNodes', nodes);\n },\n\n generateEdges(context) {\n const es: C3Edge[] = context.rootGetters['c3Module/getEdges'];\n const edges: Edge[] = [];\n const interfaccesIncluded: boolean = context.state.showInterfaces;\n\n es.forEach(edge => {\n if (interfaccesIncluded === true && edge.klass === NodeKlass.Interface) {\n edges.push({\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to\n });\n }\n\n if (interfaccesIncluded !== true && edge.klass === NodeKlass.Interface) {\n if (!!edge.isNegotiationChannel) {\n edges.push({\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to\n });\n }\n }\n\n if (interfaccesIncluded !== true && edge.klass !== NodeKlass.Interface) {\n const e = {\n id: edge.id,\n length: edge.length,\n dashes: edge.dashes,\n from: edge.from,\n to: edge.to,\n color: {}\n };\n if (edge.dashes === true) {\n e.color = {\n color: '#FFC24B'\n };\n }\n edges.push(e);\n }\n });\n context.commit('setEdges', edges);\n }\n};\n\nexport const visModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport { notifyLenght, maximumToast } from '@/options';\nimport { RootState } from '@/types/store/RootState';\n\nconst namespaced: boolean = true;\n\nexport interface Notify {\n id?: string;\n type: string;\n title?: string;\n message: string;\n timeoutID?: any;\n}\n\ninterface NotifyState {\n notifys: Notify[];\n}\n\n// State\n\nexport const state: NotifyState = {\n notifys: []\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getNotifies(notifyState): Notify[] {\n return notifyState.notifys;\n }\n};\n\n// Mutations\n\nexport type AddNotifyFn = (notify: Notify) => void;\nexport type UpdateNotifyFn = (notify: Notify) => void;\nexport type RemoveNotifyFn = (id: string) => void;\n\nexport const mutations: MutationTree = {\n addNotify(notifyState, notify: Notify): void {\n notifyState.notifys.push(notify);\n },\n\n updateNotify(notifyState, notify: Notify): void {\n const notifyIndex = notifyState.notifys.findIndex(n => n.id === notify.id);\n if (notifyIndex > -1) {\n notifyState.notifys[notifyIndex] = notify;\n }\n },\n\n removeNotify(notifyState, id: string): void {\n const notifyIndex = notifyState.notifys.findIndex(n => n.id === id);\n if (notifyIndex > -1) {\n notifyState.notifys.splice(notifyIndex, 1);\n }\n },\n\n removeOldestNotify(notifyState): void {\n const notifyCount = notifyState.notifys.length;\n\n if (notifyCount > 0) {\n const notify = notifyState.notifys[0];\n if (!!notify.timeoutID) {\n clearTimeout(notify.timeoutID);\n }\n notifyState.notifys.splice(0, 1);\n }\n }\n};\n\n// Actions\n\nexport type InsertNotifyFn = (notify: Notify) => void;\n\nconst actions: ActionTree = {\n insertNotify(context, notify: Notify) {\n const addNotification = (notification: Notify) => {\n notify.id = Math.random()\n .toString(36)\n .substr(2);\n notify.timeoutID = setTimeout((): boolean => {\n context.commit('removeNotify', notify.id);\n return true;\n }, notifyLenght);\n context.commit('addNotify', notify);\n };\n\n // Check how many notification we have\n const notifyCount = context.state.notifys.length;\n\n // Don' add duplicate notifications\n // Mostly affecting: Network error - if backand not reachable\n if (notifyCount > 0) {\n if (notify.message !== context.state.notifys[notifyCount - 1].message) {\n addNotification(notify);\n } else {\n // Replace the timeout for the notification\n const lastNotify = context.state.notifys[notifyCount - 1];\n\n clearTimeout(lastNotify.timeoutID);\n\n lastNotify.timeoutID = setTimeout((): boolean => {\n context.commit('removeNotify', lastNotify.id);\n return true;\n }, notifyLenght);\n context.commit('updateNotify', lastNotify);\n }\n } else {\n addNotification(notify);\n }\n\n // If we already reach the maximum notification limit\n // remove the oldest\n if (notifyCount >= maximumToast) {\n context.commit('removeOldestNotify');\n }\n }\n};\n\nexport const notifyModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport { FetchData, NodeKlass } from '@/types/c3types';\n\nconst namespaced: boolean = true;\n\nexport interface InterfaceItem {\n type: number;\n name: string;\n klass: NodeKlass;\n commands: any;\n}\n\nexport interface CapabilityState {\n capability: any;\n interfaceList: InterfaceItem[];\n}\n\n// State\n\nexport const state: CapabilityState = {\n capability: {},\n interfaceList: []\n};\n\n// Getters\nexport type GetTypeNameForInterfaceFn = (t: number, k: NodeKlass) => string;\nexport type GetTypesForInterfaceKlassFn = (k: NodeKlass) => InterfaceItem[];\nexport type GetCapabilityForFn = (\n t: string,\n k: NodeKlass\n) => InterfaceItem | undefined;\nexport type GetCommandGroupForFn = (k: NodeKlass) => any;\nexport type GetCommandTargetForFn = (\n commandName: string,\n nodeKlass: NodeKlass,\n currentType?: string | number\n) => any;\n\nexport const getters: GetterTree = {\n getCommandGroupFor: capabilityState => (nodeKlass: NodeKlass): any => {\n let commands: any = {};\n\n switch (nodeKlass) {\n case NodeKlass.Gateway:\n if (capabilityState.capability && capabilityState.capability.commands) {\n commands = capabilityState.capability.commands;\n }\n break;\n case NodeKlass.Relay:\n if (\n capabilityState.capability &&\n capabilityState.capability.relayCommands\n ) {\n commands = capabilityState.capability.relayCommands.commands;\n }\n break;\n case NodeKlass.Channel:\n if (\n capabilityState.capability &&\n capabilityState.capability.channelCommands\n ) {\n commands = capabilityState.capability.channelCommands.commands;\n }\n break;\n case NodeKlass.Peripheral:\n if (\n capabilityState.capability &&\n capabilityState.capability.peripheralCommands\n ) {\n commands = capabilityState.capability.peripheralCommands.commands;\n }\n break;\n case NodeKlass.Connector:\n if (\n capabilityState.capability &&\n capabilityState.capability.connectorCommands\n ) {\n commands = capabilityState.capability.connectorCommands.commands;\n }\n break;\n }\n\n const options: any = {};\n if (commands.length !== undefined) {\n commands.forEach((element: any) => {\n const option = element.name;\n options[option] = option;\n });\n }\n\n return options;\n },\n\n getCommandTargetFor: capabilityState => (\n commandName: string,\n nodeKlass: NodeKlass,\n currentType?: number | string\n ): any => {\n let commands: any = {};\n\n switch (nodeKlass) {\n case NodeKlass.Gateway:\n if (capabilityState.capability && capabilityState.capability.commands) {\n commands = capabilityState.capability.commands;\n }\n break;\n case NodeKlass.Relay:\n if (\n capabilityState.capability &&\n capabilityState.capability.relayCommands\n ) {\n commands = capabilityState.capability.relayCommands.commands;\n }\n break;\n case NodeKlass.Channel:\n if (\n capabilityState.capability &&\n capabilityState.capability.channelCommands\n ) {\n commands = capabilityState.capability.channelCommands.commands;\n }\n break;\n case NodeKlass.Peripheral:\n if (\n capabilityState.capability &&\n capabilityState.capability.peripheralCommands\n ) {\n commands = capabilityState.capability.peripheralCommands.commands;\n }\n break;\n case NodeKlass.Connector:\n if (\n capabilityState.capability &&\n capabilityState.capability.connectorCommands\n ) {\n commands = capabilityState.capability.connectorCommands.commands;\n }\n break;\n }\n\n let commandList: any = {};\n if (commands.length !== undefined) {\n commandList = commands.find((command: any) => {\n return command.name === commandName;\n });\n }\n\n const options: any = {};\n\n if (commandList && commandList.arguments) {\n const form = commandList.arguments.find((commandItem: any) => {\n return commandItem.type === 'form';\n });\n\n form.defaultValue.forEach((option: any) => {\n if (currentType === undefined) {\n options[option.replace(/:/g, '_')] = option.split(':')[2];\n } else {\n const optionType = option.split(':')[1];\n if (optionType === currentType) {\n options[option.replace(/:/g, '_')] = option.split(':')[2];\n }\n }\n });\n }\n\n return options;\n },\n\n getTypeNameForInterface: capabilityState => (\n t: number,\n k: NodeKlass\n ): string | undefined => {\n const item = capabilityState.interfaceList.find((i: InterfaceItem) => {\n return '' + i.type === '' + t; // && i.klass === k;\n });\n if (item !== undefined) {\n return item.name;\n }\n return '';\n },\n\n getTypesForInterfaceKlass: capabilityState => (\n k: NodeKlass\n ): InterfaceItem[] => {\n return capabilityState.interfaceList.filter((i: InterfaceItem) => {\n return i.klass === k;\n });\n },\n\n getCapabilityFor: capabilityState => (\n n: string,\n k: NodeKlass\n ): InterfaceItem | undefined => {\n return capabilityState.interfaceList.find((i: InterfaceItem) => {\n return i.name === n && i.klass === k;\n });\n }\n};\n\n// Mutations\n\nexport const mutations: MutationTree = {\n updateCapability(capabilityState, c: any) {\n capabilityState.interfaceList = [];\n capabilityState.capability = c;\n },\n\n populateList(capabilityState) {\n const getItem = (i: string) => {\n if (capabilityState.capability && capabilityState.capability[i]) {\n capabilityState.capability[i].forEach((element: InterfaceItem) => {\n const item: any = {\n type: element.type,\n name: element.name,\n commands: element.commands\n };\n\n switch (i) {\n case 'channels':\n item.klass = NodeKlass.Channel;\n break;\n case 'connectors':\n item.klass = NodeKlass.Connector;\n break;\n case 'peripherals':\n item.klass = NodeKlass.Peripheral;\n break;\n case 'gateway':\n item.klass = NodeKlass.Gateway;\n break;\n case 'relay':\n item.klass = NodeKlass.Relay;\n break;\n }\n\n capabilityState.interfaceList.push(item);\n });\n }\n };\n\n getItem('channels');\n getItem('connectors');\n getItem('peripherals');\n getItem('gateway');\n getItem('relay');\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {\n fetchCapability(context, d: FetchData): void {\n if (d.gatewayId) {\n const url = `/api/gateway/${d.gatewayId}/capability`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n axios\n .get(url, { baseURL })\n .then(response => {\n context.commit('updateCapability', response.data);\n context.commit('populateList', response.data);\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3Capability: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\nimport { RootState } from '@/types/store/RootState';\nimport { refreshInterval } from '@/options';\n\nconst namespaced: boolean = true;\n\ninterface OptionsState {\n baseUrl: string;\n port: number;\n refreshInterval: number;\n}\n\n// State\n\nconst state: OptionsState = {\n baseUrl: 'http://localhost',\n port: 52935,\n refreshInterval: 2000\n};\n\n// Getters\n\nconst getters: GetterTree = {\n getAPIUrl(optionsState): string {\n return optionsState.baseUrl;\n },\n\n getAPIPort(optionsState): number {\n return optionsState.port;\n },\n\n getAPIBaseUrl(optionsState): string {\n return optionsState.baseUrl + ':' + optionsState.port;\n },\n\n getRefreshInterval(optionsState): number {\n return optionsState.refreshInterval;\n }\n};\n\n// Mutations\n\nexport type SetBaseURLFn = (url: string) => void;\nexport type SetBasePortFn = (port: number) => void;\nexport type SetRefreshIntervalFn = (refreshInterval: number) => void;\n\nexport const mutations: MutationTree = {\n setBaseURL(optionsState, url: string): void {\n optionsState.baseUrl = url;\n },\n\n setBasePort(optionsState, port: number): void {\n optionsState.port = port;\n },\n\n setRefreshInterval(optionsState, refreshRate: number): void {\n optionsState.refreshInterval = refreshRate;\n }\n};\n\n// Actions\n\nconst actions: ActionTree = {};\n\nexport const optionsModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\n\nimport axios from 'axios';\nimport { RootState } from '@/types/store/RootState';\nimport { C3Command } from '@/types/c3types';\n\nconst namespaced: boolean = true;\n// State\n\nexport interface C3CommandState {\n commands: C3Command[];\n totalCount: number;\n}\n\nexport const state: C3CommandState = {\n commands: [],\n totalCount: 0\n};\n\n// Getters\n\nexport type GetCommandFn = (id: string) => C3Command | undefined;\n\nexport const getters: GetterTree = {\n // return gateways agentIds\n getCommands(C3State): C3Command[] {\n return C3State.commands;\n },\n\n getCommand: C3State => (id: string | number): C3Command | undefined => {\n return C3State.commands.find(command => {\n return '' + command.id === '' + id;\n });\n },\n\n getCommandCount(C3State): number {\n return C3State.totalCount;\n }\n};\n\n// Mutations\n\nexport const mutations: MutationTree = {\n updateCommands(C3State, data: any) {\n C3State.commands = data;\n },\n\n updateTotalCount(C3State, totalCount: number) {\n C3State.totalCount = totalCount;\n }\n};\n\n// Actions\n\nexport type FetchC3CommandFn = (gatewayId: string) => void;\n\nconst actions: ActionTree = {\n fetchCommands(context, gatewayId: string) {\n if (!!gatewayId) {\n const page = context.rootGetters['paginateModule/getActualPage'];\n const perPage = context.rootGetters['paginateModule/getItemPerPage'];\n\n const url = `/api/gateway/${gatewayId}/command?all=true&page=${page}&perPage=${perPage}`;\n const baseURL = `${context.rootGetters['optionsModule/getAPIUrl']}:${context.rootGetters['optionsModule/getAPIPort']}`;\n\n axios\n .get(url, { baseURL })\n .then(response => {\n // store the gateway\n context.commit('updateCommands', response.data);\n\n let totalCount = 0;\n if (!!response.headers['X-Total-Count']) {\n totalCount = response.headers['X-Total-Count'];\n } else if (response.headers['x-total-count']) {\n totalCount = response.headers['x-total-count'];\n }\n if (!!totalCount) {\n context.commit('updateTotalCount', totalCount);\n }\n })\n .catch(error => {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: error.message },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error(error.message);\n });\n } else {\n context.dispatch(\n 'notifyModule/insertNotify',\n { type: 'error', message: 'missing: gatewayId' },\n { root: true }\n );\n // tslint:disable-next-line:no-console\n console.error('missing: gatewayId');\n }\n }\n};\n\nexport const c3CommandModule: Module = {\n namespaced,\n state,\n getters,\n mutations,\n actions\n};\n","import Vue from 'vue';\nimport Vuex, { StoreOptions } from 'vuex';\n\nimport { RootState } from '@/types/store/RootState';\n\nimport { c3Module } from '@/store/C3Module';\nimport { modalModule } from '@/store/ModalModule';\nimport { paginateModule } from '@/store/PaginateModule';\nimport { visModule } from '@/store/VisModule';\nimport { notifyModule } from '@/store/NotifyModule';\nimport { c3Capability } from '@/store/C3Capability';\nimport { optionsModule } from '@/store/OptionsModule';\nimport { c3CommandModule } from '@/store/C3Command';\n\nVue.use(Vuex);\n\nconst store: StoreOptions = {\n state: {\n version: '1.0.0'\n },\n modules: {\n c3Module,\n visModule,\n modalModule,\n notifyModule,\n c3Capability,\n optionsModule,\n paginateModule,\n c3CommandModule\n }\n};\n\nexport default new Vuex.Store(store);\n","import Vue from 'vue';\nimport App from './App.vue';\nimport store from './store';\nimport VeeValidate from 'vee-validate';\n\nimport './scss/main.scss';\n\nVue.config.productionTip = false;\n\n(window as any).networkc3 = {};\n\nVue.use(VeeValidate, {\n inject: false,\n validity: true\n});\n\nnew Vue({\n store,\n render: h => h(App)\n}).$mount('#app');\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConnectRelays.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CommandCenter.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GeneralForm.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&lang=sass&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=0&id=893eea00&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=0&id=893eea00&scoped=true&lang=sass&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=style&index=0&id=5873b325&scoped=true&lang=sass&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InterfaceList.vue?vue&type=style&index=0&id=5873b325&scoped=true&lang=sass&\""],"sourceRoot":""} \ No newline at end of file diff --git a/Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js b/Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js new file mode 100644 index 00000000..fc923898 --- /dev/null +++ b/Src/WebController/Backend/wwwroot/js/chunk-vendors.90a9885b.js @@ -0,0 +1,140 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00d8":function(t,e){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,i=0;n>>5]|=t[n]<<24-i%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],i=0,r=0;i>>6-2*r);return n}};t.exports=n})()},"014b":function(t,e,n){"use strict";var i=n("e53d"),r=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),u=n("ebfd").KEY,c=n("294c"),l=n("dbdb"),d=n("45f2"),h=n("62a0"),f=n("5168"),p=n("ccb9"),v=n("6718"),y=n("47ee"),g=n("9003"),m=n("e4ae"),b=n("f772"),w=n("241e"),_=n("36c3"),x=n("1bc3"),k=n("aebd"),O=n("a159"),S=n("0395"),E=n("bf0b"),C=n("9aa9"),T=n("d9f6"),D=n("c3a1"),M=E.f,A=T.f,P=S.f,I=i.Symbol,N=i.JSON,j=N&&N.stringify,F="prototype",R=f("_hidden"),L=f("toPrimitive"),B={}.propertyIsEnumerable,z=l("symbol-registry"),$=l("symbols"),H=l("op-symbols"),W=Object[F],Y="function"==typeof I&&!!C.f,U=i.QObject,q=!U||!U[F]||!U[F].findChild,V=o&&c((function(){return 7!=O(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=M(W,e);i&&delete W[e],A(t,e,n),i&&t!==W&&A(W,e,i)}:A,G=function(t){var e=$[t]=O(I[F]);return e._k=t,e},X=Y&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},Z=function(t,e,n){return t===W&&Z(H,e,n),m(t),e=x(e,!0),m(n),r($,e)?(n.enumerable?(r(t,R)&&t[R][e]&&(t[R][e]=!1),n=O(n,{enumerable:k(0,!1)})):(r(t,R)||A(t,R,k(1,{})),t[R][e]=!0),V(t,e,n)):A(t,e,n)},K=function(t,e){m(t);var n,i=y(e=_(e)),r=0,o=i.length;while(o>r)Z(t,n=i[r++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):K(O(t),e)},J=function(t){var e=B.call(this,t=x(t,!0));return!(this===W&&r($,t)&&!r(H,t))&&(!(e||!r(this,t)||!r($,t)||r(this,R)&&this[R][t])||e)},tt=function(t,e){if(t=_(t),e=x(e,!0),t!==W||!r($,e)||r(H,e)){var n=M(t,e);return!n||!r($,e)||r(t,R)&&t[R][e]||(n.enumerable=!0),n}},et=function(t){var e,n=P(_(t)),i=[],o=0;while(n.length>o)r($,e=n[o++])||e==R||e==u||i.push(e);return i},nt=function(t){var e,n=t===W,i=P(n?H:_(t)),o=[],a=0;while(i.length>a)!r($,e=i[a++])||n&&!r(W,e)||o.push($[e]);return o};Y||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(H,n),r(this,R)&&r(this[R],t)&&(this[R][t]=!1),V(this,t,k(1,n))};return o&&q&&V(W,t,{configurable:!0,set:e}),G(t)},s(I[F],"toString",(function(){return this._k})),E.f=tt,T.f=Z,n("6abf").f=S.f=et,n("355d").f=J,C.f=nt,o&&!n("b8e3")&&s(W,"propertyIsEnumerable",J,!0),p.f=function(t){return G(f(t))}),a(a.G+a.W+a.F*!Y,{Symbol:I});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;it.length>rt;)f(it[rt++]);for(var ot=D(f.store),at=0;ot.length>at;)v(ot[at++]);a(a.S+a.F*!Y,"Symbol",{for:function(t){return r(z,t+="")?z[t]:z[t]=I(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!Y,"Object",{create:Q,defineProperty:Z,defineProperties:K,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=c((function(){C.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return C.f(w(t))}}),N&&a(a.S+a.F*(!Y||c((function(){var t=I();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,i=[t],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=e=i[1],(b(e)||void 0!==t)&&!X(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),i[1]=e,j.apply(N,i)}}),I[F][L]||n("35e8")(I[F],L,I[F].valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),u=n("41a0"),c=n("7f20"),l=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",v="values",y=function(){return this};t.exports=function(t,e,n,g,m,b,w){u(n,e,g);var _,x,k,O=function(t){if(!h&&t in T)return T[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",E=m==v,C=!1,T=t.prototype,D=T[d]||T[f]||m&&T[m],M=D||O(m),A=m?E?O("entries"):M:void 0,P="Array"==e&&T.entries||D;if(P&&(k=l(P.call(new t)),k!==Object.prototype&&k.next&&(c(k,S,!0),i||"function"==typeof k[d]||a(k,d,y))),E&&D&&D.name!==v&&(C=!0,M=function(){return D.call(this)}),i&&!w||!h&&!C&&T[d]||a(T,d,M),s[e]=M,s[S]=y,m)if(_={values:E?M:O(v),keys:b?M:O(p),entries:A},w)for(x in _)x in T||o(T,x,_[x]);else r(r.P+r.F*(h||C),e,_);return _}},"0293":function(t,e,n){var i=n("241e"),r=n("53e2");n("ce7e")("getPrototypeOf",(function(){return function(t){return r(i(t))}}))},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),u=i(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0395":function(t,e,n){var i=n("36c3"),r=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},"044b":function(t,e){function n(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function i(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&n(t.slice(0,0))} +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +t.exports=function(t){return null!=t&&(n(t)||i(t)||!!t._isBuffer)}},"061b":function(t,e,n){t.exports=n("fa99")},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var i=n("5ca1"),r=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b");function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},u.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=u},"0a49":function(t,e,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,d=6==t,h=5==t||d,f=e||s;return function(e,s,p){for(var v,y,g=o(e),m=r(g),b=i(s,p,3),w=a(m.length),_=0,x=n?f(e,w):u?f(e,0):void 0;w>_;_++)if((h||_ in m)&&(v=m[_],y=b(v,_,g),t))if(n)x[_]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:x.push(v)}else if(l)return!1;return d?-1:c||l?l:x}}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0fc9":function(t,e,n){var i=n("3a38"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},1169:function(t,e,n){var i=n("2d95");t.exports=Array.isArray||function(t){return"Array"==i(t)}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,a=o(e),s=a.length,u=0;while(s>u)i.f(t,n=a[u++],e[n]);return t}},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1991:function(t,e,n){var i,r,o,a=n("9b43"),s=n("31f4"),u=n("fab2"),c=n("230e"),l=n("7726"),d=l.process,h=l.setImmediate,f=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,y=0,g={},m="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){b.call(t.data)};h&&f||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++y]=function(){s("function"==typeof t?t:Function(t),e)},i(y),y},f=function(t){delete g[t]},"process"==n("2d95")(d)?i=function(t){d.nextTick(a(b,t,1))}:v&&v.now?i=function(t){v.now(a(b,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=w,i=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):i=m in c("script")?function(t){u.appendChild(c("script"))[m]=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:f}},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i1?arguments[1]:void 0)}}),n("9c6c")(o)},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),u=n("520a"),c=s("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),f=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=f?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!e})):void 0;if(!f||!p||"replace"===t&&!l||"split"===t&&!d){var v=/./[h],y=n(a,h,""[t],(function(t,e,n,i,r){return e.exec===u?f&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),g=y[0],m=y[1];i(String.prototype,t,g),r(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},2397:function(t,e,n){var i=n("5ca1"),r=n("2aeb"),o=n("d8e8"),a=n("cb7c"),s=n("d3f4"),u=n("79e5"),c=n("f0c1"),l=(n("7726").Reflect||{}).construct,d=u((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!u((function(){l((function(){}))}));i(i.S+i.F*(d||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!d)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(c.apply(t,i))}var u=n.prototype,f=r(s(u)?u:Object.prototype),p=Function.apply.call(t,f,e);return s(p)?p:f}})},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},"241e":function(t,e,n){var i=n("25eb");t.exports=function(t){return Object(i(t))}},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}var u={adapter:s(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(a(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,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(o)})),t.exports=u}).call(this,n("4362"))},"25b0":function(t,e,n){n("1df8"),t.exports=n("584a").Object.setPrototypeOf},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var i=n("23c6"),r=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):r&&(u=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return i}))},"28a5":function(t,e,n){"use strict";var i=n("aae3"),r=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),u=n("5f1b"),c=n("520a"),l=n("79e5"),d=Math.min,h=[].push,f="split",p="length",v="lastIndex",y=4294967295,g=!l((function(){RegExp(y,"y")}));n("214f")("split",2,(function(t,e,n,l){var m;return m="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);var o,a,s,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,f=void 0===e?y:e>>>0,g=new RegExp(t.source,l+"g");while(o=c.call(g,r)){if(a=g[v],a>d&&(u.push(r.slice(d,o.index)),o[p]>1&&o.index=f))break;g[v]===o.index&&g[v]++}return d===r[p]?!s&&g.test("")||u.push(""):u.push(r.slice(d)),u[p]>f?u.slice(0,f):u}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,i){var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r,i):m.call(String(r),n,i)},function(t,e){var i=l(m,t,this,e,m!==n);if(i.done)return i.value;var c=r(t),h=String(this),f=o(c,RegExp),p=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(g?"y":"g"),b=new f(g?c:"^(?:"+c.source+")",v),w=void 0===e?y:e>>>0;if(0===w)return[];if(0===h.length)return null===u(b,h)?[h]:[];var _=0,x=0,k=[];while(x";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),c=t.F;while(i--)delete c[u][o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=i(t),n=new s,s[u]=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},"2b0e":function(t,e,n){"use strict";(function(t){ +/*! + * Vue.js v2.6.14 + * (c) 2014-2021 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function l(t){return"[object Object]"===c.call(t)}function d(t){return"[object RegExp]"===c.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,k=_((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),O=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),S=/\B([A-Z])/g,E=_((function(t){return t.replace(S,"-$1").toLowerCase()}));function C(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function T(t,e){return t.bind(e)}var D=Function.prototype.bind?T:C;function M(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function A(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n0,nt=J&&J.indexOf("edge/")>0,it=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),rt=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(Z)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Oa){}var ut=function(){return void 0===G&&(G=!Z&&!K&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),G},ct=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,ht="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);dt="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=I,pt=0,vt=function(){this.id=pt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){m(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===E(t)){var u=ee(String,r.type);(u<0||s0&&(a=Te(a,(e||"")+"_"+n),Ce(a[0])&&Ce(c)&&(l[u]=xt(c.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?Ce(c)?l[u]=xt(c.text+a):""!==a&&l.push(xt(a)):Ce(a)&&Ce(c)?l[u]=xt(c.text+a.text):(o(t._isVList)&&r(a.tag)&&i(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function De(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Me(t){var e=Ae(t.$options.inject,t);e&&(Dt(!1),Object.keys(e).forEach((function(n){Nt(t,n,e[n])})),Dt(!0))}function Ae(t,e){if(t){for(var n=Object.create(null),i=ht?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var u in r={},t)t[u]&&"$"!==u[0]&&(r[u]=Fe(e,u,t[u]))}else r={};for(var c in e)c in r||(r[c]=Re(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),U(r,"$stable",a),U(r,"$key",s),U(r,"$hasNormal",o),r}function Fe(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ee(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!Ne(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function Re(t,e){return function(){return t[e]}}function Le(t,e){var n,i,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;i1?M(n):n;for(var i=M(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Xn=function(){return Zn.now()})}function Kn(){var t,e;for(Gn=Xn(),Un=!0,$n.sort((function(t,e){return t.id-e.id})),qn=0;qn<$n.length;qn++)t=$n[qn],t.before&&t.before(),e=t.id,Wn[e]=null,t.run();var n=Hn.slice(),i=$n.slice();Vn(),ti(n),Qn(i),ct&&H.devtools&&ct.emit("flush")}function Qn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&zn(i,"updated")}}function Jn(t){t._inactive=!1,Hn.push(t)}function ti(t){for(var e=0;eqn&&$n[n].id>t.id)n--;$n.splice(n+1,0,t)}else $n.push(t);Yn||(Yn=!0,ve(Kn))}}var ni=0,ii=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ni,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="","function"===typeof e?this.getter=e:(this.getter=V(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};ii.prototype.get=function(){var t;gt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Oa){if(!this.user)throw Oa;ne(Oa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),mt(),this.cleanupDeps()}return t},ii.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ii.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ii.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ei(this)},ii.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';ie(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},ii.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ii.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ii.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ri={enumerable:!0,configurable:!0,get:I,set:I};function oi(t,e,n){ri.get=function(){return this[e][n]},ri.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ri)}function ai(t){t._watchers=[];var e=t.$options;e.props&&si(t,e.props),e.methods&&vi(t,e.methods),e.data?ui(t):It(t._data={},!0),e.computed&&di(t,e.computed),e.watch&&e.watch!==ot&&yi(t,e.watch)}function si(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||Dt(!1);var a=function(o){r.push(o);var a=Zt(o,e,n,t);Nt(i,o,a),o in t||oi(t,"_props",o)};for(var s in e)a(s);Dt(!0)}function ui(t){var e=t.$options.data;e=t._data="function"===typeof e?ci(e,t):e||{},l(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&w(i,o)||Y(o)||oi(t,"_data",o)}It(e,!0)}function ci(t,e){gt();try{return t.call(e,e)}catch(Oa){return ne(Oa,e,"data()"),{}}finally{mt()}}var li={lazy:!0};function di(t,e){var n=t._computedWatchers=Object.create(null),i=ut();for(var r in e){var o=e[r],a="function"===typeof o?o:o.get;0,i||(n[r]=new ii(t,a||I,I,li)),r in t||hi(t,r,o)}}function hi(t,e,n){var i=!ut();"function"===typeof n?(ri.get=i?fi(e):pi(n),ri.set=I):(ri.get=n.get?i&&!1!==n.cache?fi(e):pi(n.get):I,ri.set=n.set||I),Object.defineProperty(t,e,ri)}function fi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function pi(t){return function(){return t.call(this,this)}}function vi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:D(e[n],t)}function yi(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ei(t){t.mixin=function(t){return this.options=Gt(this.options,t),this}}function Ci(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Gt(n.options,t),a["super"]=n,a.options.props&&Ti(a),a.options.computed&&Di(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=A({},a.options),r[i]=a,a}}function Ti(t){var e=t.options.props;for(var n in e)oi(t.prototype,"_props",n)}function Di(t){var e=t.options.computed;for(var n in e)hi(t.prototype,n,e[n])}function Mi(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Ai(t){return t&&(t.Ctor.options.name||t.tag)}function Pi(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Ii(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Ni(n,o,i,r)}}}function Ni(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}wi(Oi),mi(Oi),Mn(Oi),Nn(Oi),wn(Oi);var ji=[String,RegExp,Array],Fi={name:"keep-alive",abstract:!0,props:{include:ji,exclude:ji,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:Ai(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&Ni(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ni(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ii(t,(function(t){return Pi(e,t)}))})),this.$watch("exclude",(function(e){Ii(t,(function(t){return!Pi(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=On(t),n=e&&e.componentOptions;if(n){var i=Ai(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!Pi(o,i))||a&&i&&Pi(a,i))return e;var s=this,u=s.cache,c=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;u[l]?(e.componentInstance=u[l].componentInstance,m(c,l),c.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},Ri={KeepAlive:Fi};function Li(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:A,mergeOptions:Gt,defineReactive:Nt},t.set=jt,t.delete=Ft,t.nextTick=ve,t.observable=function(t){return It(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,Ri),Si(t),Ei(t),Ci(t),Mi(t)}Li(Oi),Object.defineProperty(Oi.prototype,"$isServer",{get:ut}),Object.defineProperty(Oi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Oi,"FunctionalRenderContext",{value:Je}),Oi.version="2.6.14";var Bi=y("style,class"),zi=y("input,textarea,option,select,progress"),$i=function(t,e,n){return"value"===n&&zi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Hi=y("contenteditable,draggable,spellcheck"),Wi=y("events,caret,typing,plaintext-only"),Yi=function(t,e){return Xi(e)||"false"===e?"false":"contenteditable"===t&&Wi(e)?e:"true"},Ui=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qi="http://www.w3.org/1999/xlink",Vi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Gi=function(t){return Vi(t)?t.slice(6,t.length):""},Xi=function(t){return null==t||!1===t};function Zi(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Ki(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Ki(e,n.data));return Qi(e.staticClass,e.class)}function Ki(t,e){return{staticClass:Ji(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Qi(t,e){return r(t)||r(e)?Ji(t,tr(e)):""}function Ji(t,e){return t?e?t+" "+e:t:e||""}function tr(t){return Array.isArray(t)?er(t):u(t)?nr(t):"string"===typeof t?t:""}function er(t){for(var e,n="",i=0,o=t.length;i-1?ur[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ur[t]=/HTMLUnknownElement/.test(e.toString())}var lr=y("text,number,password,search,email,tel,url");function dr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fr(t,e){return document.createElementNS(ir[t],e)}function pr(t){return document.createTextNode(t)}function vr(t){return document.createComment(t)}function yr(t,e,n){t.insertBefore(e,n)}function gr(t,e){t.removeChild(e)}function mr(t,e){t.appendChild(e)}function br(t){return t.parentNode}function wr(t){return t.nextSibling}function _r(t){return t.tagName}function xr(t,e){t.textContent=e}function kr(t,e){t.setAttribute(e,"")}var Or=Object.freeze({createElement:hr,createElementNS:fr,createTextNode:pr,createComment:vr,insertBefore:yr,removeChild:gr,appendChild:mr,parentNode:br,nextSibling:wr,tagName:_r,setTextContent:xr,setStyleScope:kr}),Sr={create:function(t,e){Er(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Er(t,!0),Er(e))},destroy:function(t){Er(t,!0)}};function Er(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Cr=new bt("",{},[]),Tr=["create","activate","update","remove","destroy"];function Dr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Mr(t,e)||o(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function Mr(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||lr(i)&&lr(o)}function Ar(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Pr(t){var e,n,a={},u=t.modules,c=t.nodeOps;for(e=0;ev?(d=i(n[m+1])?null:n[m+1].elm,k(t,d,n,p,m,o)):p>m&&S(e,h,v)}function T(t,e,n,i){for(var o=n;o-1?Wr(t,e,n):Ui(e)?Xi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Hi(e)?t.setAttribute(e,Yi(e,n)):Vi(e)?Xi(n)?t.removeAttributeNS(qi,Gi(e)):t.setAttributeNS(qi,e,n):Wr(t,e,n)}function Wr(t,e,n){if(Xi(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Yr={create:$r,update:$r};function Ur(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Zi(e),u=n._transitionClasses;r(u)&&(s=Ji(s,tr(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qr,Vr={create:Ur,update:Ur},Gr="__r",Xr="__c";function Zr(t){if(r(t[Gr])){var e=tt?"change":"input";t[e]=[].concat(t[Gr],t[e]||[]),delete t[Gr]}r(t[Xr])&&(t.change=[].concat(t[Xr],t.change||[]),delete t[Xr])}function Kr(t,e,n){var i=qr;return function r(){var o=e.apply(null,arguments);null!==o&&to(t,r,n,i)}}var Qr=se&&!(rt&&Number(rt[1])<=53);function Jr(t,e,n,i){if(Qr){var r=Gn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(t,e,at?{capture:n,passive:i}:n)}function to(t,e,n,i){(i||qr).removeEventListener(t,e._wrapper||e,n)}function eo(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};qr=e.elm,Zr(n),_e(n,r,Jr,to,Kr,e.context),qr=void 0}}var no,io={create:eo,update:eo};function ro(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in r(u.__ob__)&&(u=e.data.domProps=A({},u)),s)n in u||(a[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var c=i(o)?"":String(o);oo(a,c)&&(a.value=c)}else if("innerHTML"===n&&or(a.tagName)&&i(a.innerHTML)){no=no||document.createElement("div"),no.innerHTML=""+o+"";var l=no.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Oa){}}}}function oo(t,e){return!t.composing&&("OPTION"===t.tagName||ao(t,e)||so(t,e))}function ao(t,e){var n=!0;try{n=document.activeElement!==t}catch(Oa){}return n&&t.value!==e}function so(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var uo={create:ro,update:ro},co=_((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function lo(t){var e=ho(t.style);return t.staticStyle?A(t.staticStyle,e):e}function ho(t){return Array.isArray(t)?P(t):"string"===typeof t?co(t):t}function fo(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=lo(r.data))&&A(i,n)}(n=lo(t.data))&&A(i,n);var o=t;while(o=o.parent)o.data&&(n=lo(o.data))&&A(i,n);return i}var po,vo=/^--/,yo=/\s*!important$/,go=function(t,e,n){if(vo.test(e))t.style.setProperty(e,n);else if(yo.test(n))t.style.setProperty(E(e),n.replace(yo,""),"important");else{var i=bo(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(xo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(xo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function So(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&A(e,Eo(t.name||"v")),A(e,t),e}return"string"===typeof t?Eo(t):void 0}}var Eo=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Co=Z&&!et,To="transition",Do="animation",Mo="transition",Ao="transitionend",Po="animation",Io="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mo="WebkitTransition",Ao="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Po="WebkitAnimation",Io="webkitAnimationEnd"));var No=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function jo(t){No((function(){No(t)}))}function Fo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ko(t,e))}function Ro(t,e){t._transitionClasses&&m(t._transitionClasses,e),Oo(t,e)}function Lo(t,e,n){var i=zo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===To?Ao:Io,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout((function(){u0&&(n=To,l=a,d=o.length):e===Do?c>0&&(n=Do,l=c,d=u.length):(l=Math.max(a,c),n=l>0?a>c?To:Do:null,d=n?n===To?o.length:u.length:0);var h=n===To&&Bo.test(i[Mo+"Property"]);return{type:n,timeout:l,propCount:d,hasTransform:h}}function $o(t,e){while(t.length1}function Vo(t,e){!0!==e.data.show&&Wo(e)}var Go=Z?{create:Vo,activate:Vo,remove:function(t,e){!0!==t.data.show?Yo(t,e):e()}}:{},Xo=[Yr,Vr,io,uo,_o,Go],Zo=Xo.concat(zr),Ko=Pr({nodeOps:Or,modules:Zo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&oa(t,"input")}));var Qo={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?xe(n,"postpatch",(function(){Qo.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,na)):("textarea"===n.tag||lr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ia),t.addEventListener("compositionend",ra),t.addEventListener("change",ra),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,na);if(r.some((function(t,e){return!F(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return ea(t,r)})):e.value!==e.oldValue&&ea(e.value,r);o&&oa(t,"change")}}}};function Jo(t,e,n){ta(t,e,n),(tt||nt)&&setTimeout((function(){ta(t,e,n)}),0)}function ta(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,u=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(F(na(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function ea(t,e){return e.every((function(e){return!F(e,t)}))}function na(t){return"_value"in t?t._value:t.value}function ia(t){t.target.composing=!0}function ra(t){t.target.composing&&(t.target.composing=!1,oa(t.target,"input"))}function oa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function aa(t){return!t.componentInstance||t.data&&t.data.transition?t:aa(t.componentInstance._vnode)}var sa={bind:function(t,e,n){var i=e.value;n=aa(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Wo(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=aa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Wo(n,(function(){t.style.display=t.__vOriginalDisplay})):Yo(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},ua={model:Qo,show:sa},ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?la(On(e.children)):t}function da(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[k(o)]=r[o];return e}function ha(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fa(t){while(t=t.parent)if(t.data.transition)return!0}function pa(t,e){return e.key===t.key&&e.tag===t.tag}var va=function(t){return t.tag||Ne(t)},ya=function(t){return"show"===t.name},ga={name:"transition",props:ca,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va),n.length)){0;var i=this.mode;0;var r=n[0];if(fa(this.$vnode))return r;var o=la(r);if(!o)return r;if(this._leaving)return ha(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=da(this),c=this._vnode,l=la(c);if(o.data.directives&&o.data.directives.some(ya)&&(o.data.show=!0),l&&l.data&&!pa(o,l)&&!Ne(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=A({},u);if("out-in"===i)return this._leaving=!0,xe(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ha(t,r);if("in-out"===i){if(Ne(o))return c;var h,f=function(){h()};xe(u,"afterEnter",f),xe(u,"enterCancelled",f),xe(d,"delayLeave",(function(t){h=t}))}}return r}}},ma=A({tag:String,moveClass:String},ca);delete ma.mode;var ba={props:ma,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Pn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=da(this),s=0;s=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){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)}}n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return N})),n.d(e,"e",(function(){return I}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(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 s(t,e){return t.filter(e)[0]}function u(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=u(t[n],e)})),i}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function d(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.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)},f.prototype.forEachChild=function(t){c(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var v=function(t){this.register([],t,!1)};function y(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;y(t.concat(i),e.getChild(i),n.modules[i])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){y([],this.root,t)},v.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&c(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var m=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return u.call(r,t,e,n)},this.strict=i;var c=this._modules.root.state;k(this,c,[],this._modules.root),x(this,c),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:g.config.devtools;l&&a(this)},b={state:{configurable:!0}};function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),x(t,n,e)}function x(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};c(r,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:o}),g.config.silent=a,t.strict&&D(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function k(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=M(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){g.set(s,u,i.state)}))}var c=i.context=O(t,a,n);i.forEachMutation((function(e,n){var i=a+n;E(t,i,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;C(t,i,r,c)})),i.forEachGetter((function(e,n){var i=a+n;T(t,i,e,c)})),i.forEachChild((function(i,o){k(t,e,n.concat(o),i,r)}))}function O(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=A(n,i,r),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:i?t.commit:function(n,i,r){var o=A(n,i,r),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return M(t.state,n)}}}),r}function S(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function E(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function C(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return d(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function T(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function D(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function A(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){g&&t===g||(g=t,i(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},m.prototype.commit=function(t,e,n){var i=this,r=A(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},m.prototype.dispatch=function(t,e){var n=this,i=A(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(c){0}var u=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(c){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(c){0}e(t)}))}))}},m.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),x(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=M(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),_(this)},m.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},m.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,b);var I=z((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=$(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),N=z((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=$(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),j=z((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||$(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),F=z((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=$(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=function(t){return{mapState:I.bind(null,t),mapGetters:j.bind(null,t),mapMutations:N.bind(null,t),mapActions:F.bind(null,t)}};function L(t){return B(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 B(t){return Array.isArray(t)||l(t)}function z(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function $(t,e,n){var i=t._modulesNamespaceMap[n];return i}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var c=t.logActions;void 0===c&&(c=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var d=u(t.state);"undefined"!==typeof l&&(s&&t.subscribe((function(t,o){var a=u(o);if(n(t,d,a)){var s=U(),c=r(t),h="mutation "+t.type+s;W(l,h,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",c),l.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),Y(l)}d=a})),c&&t.subscribeAction((function(t,n){if(o(t,n)){var i=U(),r=a(t),s="action "+t.type+i;W(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",r),Y(l)}})))}}function W(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function Y(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function U(){var t=new Date;return" @ "+V(t.getHours(),2)+":"+V(t.getMinutes(),2)+":"+V(t.getSeconds(),2)+"."+V(t.getMilliseconds(),3)}function q(t,e){return new Array(e+1).join(t)}function V(t,e){return q("0",e-t.toString().length)+t}var G={Store:m,install:P,version:"3.6.2",mapState:I,mapMutations:N,mapGetters:j,mapActions:F,createNamespacedHelpers:R,createLogger:H};e["a"]=G}).call(this,n("c8ba"))},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"2fe1":function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"c",(function(){return y}));var i=n("2b0e"); +/** + * vue-class-component v7.2.6 + * (c) 2015-present Evan You + * @license MIT + */function r(t){return r="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},r(t)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){return s(t)||u(t)||c()}function s(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(b.indexOf(t)>-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"===typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){return o({},t,i.value)}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return m(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var a=Object.getPrototypeOf(t.prototype),s=a instanceof i["a"]?a.constructor:i["a"],u=s.extend(e);return x(u,t,s),l()&&d(u,t),u}var _={prototype:!0,arguments:!0,callee:!0,caller:!0};function x(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if(!_[i]){var r=Object.getOwnPropertyDescriptor(t,i);if(!r||r.configurable){var o=Object.getOwnPropertyDescriptor(e,i);if(!p){if("cid"===i)return;var a=Object.getOwnPropertyDescriptor(n,i);if(!g(o.value)&&a&&a.value===o.value)return}0,Object.defineProperty(t,i,o)}}}))}function k(t){return"function"===typeof t?w(t):function(e){return w(e,t)}}k.registerHooks=function(t){b.push.apply(b,a(t))},e["b"]=k},"308d":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("67bb"),r=n.n(i),o=n("5d58"),a=n.n(o);function s(t){return s="function"==typeof r.a&&"symbol"==typeof a.a?function(t){return typeof t}:function(t){return t&&"function"==typeof r.a&&t.constructor===r.a&&t!==r.a.prototype?"symbol":typeof t},s(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){if(e&&("object"===s(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return u(t)}},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),u=n("8f60"),c=n("45f2"),l=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",v="values",y=function(){return this};t.exports=function(t,e,n,g,m,b,w){u(n,e,g);var _,x,k,O=function(t){if(!h&&t in T)return T[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",E=m==v,C=!1,T=t.prototype,D=T[d]||T[f]||m&&T[m],M=D||O(m),A=m?E?O("entries"):M:void 0,P="Array"==e&&T.entries||D;if(P&&(k=l(P.call(new t)),k!==Object.prototype&&k.next&&(c(k,S,!0),i||"function"==typeof k[d]||a(k,d,y))),E&&D&&D.name!==v&&(C=!0,M=function(){return D.call(this)}),i&&!w||!h&&!C&&T[d]||a(T,d,M),s[e]=M,s[S]=y,m)if(_={values:E?M:O(v),keys:b?M:O(p),entries:A},w)for(x in _)x in T||o(T,x,_[x]);else r(r.P+r.F*(h||C),e,_);return _}},"31f4":function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var i=n("e53d").document;t.exports=i&&i.documentElement},"335c":function(t,e,n){var i=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var i=n("84f2"),r=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var i=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,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}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"454f":function(t,e,n){n("46a7");var i=n("584a").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"45f2":function(t,e,n){var i=n("d9f6").f,r=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;!r||r(n.status)?t(n):e(i("Request failed with status code "+n.status,n.config,null,n.request,n))}},"46a7":function(t,e,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var i=n("c3a1"),r=n("9aa9"),o=n("355d");t.exports=function(t){var e=i(t),n=r.f;if(n){var a,s=n(t),u=o.f,c=0;while(s.length>c)u.call(t,a=s[c++])&&e.push(a)}return e}},"481b":function(t,e){t.exports={}},4917:function(t,e,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,(function(t,e,n,s){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var u=i(t),c=String(this);if(!u.global)return a(u,c);var l=u.unicode;u.lastIndex=0;var d,h=[],f=0;while(null!==(d=a(u,c))){var p=String(d[0]);h[f]=p,""===p&&(u.lastIndex=o(c,r(u.lastIndex),l)),f++}return 0===f?null:h}]}))},"4a59":function(t,e,n){var i=n("9b43"),r=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),u=n("27ee"),c={},l={};e=t.exports=function(t,e,n,d,h){var f,p,v,y,g=h?function(){return t}:u(t),m=i(n,d,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(f=s(t.length);f>b;b++)if(y=e?m(a(p=t[b])[0],p[1]):m(t[b]),y===c||y===l)return y}else for(v=g.call(t);!(p=v.next()).done;)if(y=r(v,m,p.value,e),y===c||y===l)return y};e.BREAK=c,e.RETURN=l},"4a7b":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){e=e||{};var n={},r=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];i.forEach(r,(function(t){"undefined"!==typeof e[t]&&(n[t]=e[t])})),i.forEach(o,(function(r){i.isObject(e[r])?n[r]=i.deepMerge(t[r],e[r]):"undefined"!==typeof e[r]?n[r]=e[r]:i.isObject(t[r])?n[r]=i.deepMerge(t[r]):"undefined"!==typeof t[r]&&(n[r]=t[r])})),i.forEach(a,(function(i){"undefined"!==typeof e[i]?n[i]=e[i]:"undefined"!==typeof t[i]&&(n[i]=t[i])}));var s=r.concat(o).concat(a),u=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return i.forEach(u,(function(i){"undefined"!==typeof e[i]?n[i]=e[i]:"undefined"!==typeof t[i]&&(n[i]=t[i])})),n}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("2fe1"),r=n("2f62"),o=l("computed",r["e"]),a=l("computed",r["c"]),s=l("methods",r["b"]),u=l("methods",r["d"]);function c(t,e){function n(e){function n(n,i){if("string"===typeof i){var r=i,o=n;return e(r,{namespace:t})(o,r)}var a=n,s=h(i||{},{namespace:t});return e(a,s)}return n}return e?(console.warn("[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead."),n(e)):{State:n(o),Getter:n(a),Mutation:n(u),Action:n(s)}}function l(t,e){function n(n,r){return Object(i["a"])((function(i,o){i[t]||(i[t]={});var a,s=(a={},a[o]=n,a);i[t][o]=void 0!==r?e(r,s)[o]:e(s)[o]}))}function r(t,e){if("string"===typeof e){var i=e,r=t;return n(i,void 0)(r,i)}var o=d(e),a=t;return n(a,o)}return r}function d(t){var e=t&&t.namespace;if("string"===typeof e)return"/"!==e[e.length-1]?e+"/":e}function h(t,e){var n={};return[t,e].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e]}))})),n}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4d16":function(t,e,n){t.exports=n("25b0")},"4e2b":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("4aa6"),r=n.n(i),o=n("85f2"),a=n.n(o),s=n("4d16"),u=n.n(s);function c(t,e){return c=u.a||function(t,e){return t.__proto__=e,t},c(t,e)}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r()(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),a()(t,"prototype",{writable:!1}),e&&c(t,e)}},"504c":function(t,e,n){var i=n("9e1e"),r=n("0d58"),o=n("6821"),a=n("52a7").f;t.exports=function(t){return function(e){var n,s=o(e),u=r(s),c=u.length,l=0,d=[];while(c>l)n=u[l++],i&&!a.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},5168:function(t,e,n){var i=n("dbdb")("wks"),r=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,s="lastIndex",u=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),c=void 0!==/()??/.exec("")[1],l=u||c;l&&(a=function(t){var e,n,a,l,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),u&&(e=d[s]),a=r.call(d,t),u&&a&&(d[s]=d.global?a.index+a[0].length:e),c&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;lo)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){g.call(u,(function(){var e,n,i,r=t._v,o=F(t);if(o&&(e=w((function(){D?S.emit("unhandledRejection",r,t):(n=u.onunhandledrejection)?n({promise:t,reason:r}):(i=u.console)&&i.error&&i.error("Unhandled promise rejection",r)})),t._h=D||F(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(u,(function(){var e;D?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})}))},L=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),N(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=I(t))?m((function(){var i={_w:n,_d:!1};try{e.call(t,c(B,i,1),c(L,i,1))}catch(r){L.call(i,r)}})):(n._v=t,n._s=1,N(n,!1))}catch(i){L.call({_w:n,_d:!1},i)}}};P||(T=function(t){p(this,T,k,"_h"),f(t),i.call(this);try{t(c(B,this,1),c(L,this,1))}catch(e){L.call(this,e)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(T.prototype,{then:function(t,e){var n=A(y(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=c(B,t,1),this.reject=c(L,t,1)},b.f=A=function(t){return t===T||t===a?new o(t):r(t)}),d(d.G+d.W+d.F*!P,{Promise:T}),n("7f20")(T,k),n("7a56")(k),a=n("8378")[k],d(d.S+d.F*!P,k,{reject:function(t){var e=A(this),n=e.reject;return n(t),e.promise}}),d(d.S+d.F*(s||!P),k,{resolve:function(t){return x(s&&this===a?T:this,t)}}),d(d.S+d.F*!(P&&n("5cc5")((function(t){T.all(t)["catch"](M)}))),k,{all:function(t){var e=this,n=A(e),i=n.resolve,r=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,u=!1;n.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,n[s]=t,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=A(e),i=n.reject,r=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var i=n("36c3"),r=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,a){var s,u=i(e),c=r(u.length),l=o(a,c);if(t&&n!=n){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),u="prototype",c=function(t,e,n){var l,d,h,f,p=t&c.F,v=t&c.G,y=t&c.S,g=t&c.P,m=t&c.B,b=v?i:y?i[e]||(i[e]={}):(i[e]||{})[u],w=v?r:r[e]||(r[e]={}),_=w[u]||(w[u]={});for(l in v&&(n=e),n)d=!p&&b&&void 0!==b[l],h=(d?b:n)[l],f=m&&d?s(h,i):g&&"function"==typeof h?s(Function.call,h):h,b&&a(b,l,h,t&c.U),w[l]!=h&&o(w,l,f),g&&_[l]!=h&&(_[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5cc5":function(t,e,n){var i=n("2b4c")("iterator"),r=!1;try{var o=[7][i]();o["return"]=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(a){}return n}},"5d58":function(t,e,n){t.exports=n("d8d6")},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"60a3":function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return u}));var i=n("2b0e");n.d(e,"d",(function(){return i["a"]}));var r=n("2fe1");n.d(e,"a",(function(){return r["b"]})),n.d(e,"b",(function(){return r["c"]}));var o="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function a(t,e,n){if(o&&!Array.isArray(t)&&"function"!==typeof t&&"undefined"===typeof t.type){var i=Reflect.getMetadata("design:type",e,n);i!==Object&&(t.type=i)}}function s(t){return void 0===t&&(t={}),function(e,n){a(t,e,n),Object(r["a"])((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function u(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,o=e.immediate,a=void 0!==o&&o;return Object(r["a"])((function(e,n){"object"!==typeof e.watch&&(e.watch=Object.create(null));var r=e.watch;"object"!==typeof r[t]||Array.isArray(r[t])?"undefined"===typeof r[t]&&(r[t]=[]):r[t]=[r[t]],r[t].push({handler:n,deep:i,immediate:a})}))}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"63b6":function(t,e,n){var i=n("e53d"),r=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),u="prototype",c=function(t,e,n){var l,d,h,f=t&c.F,p=t&c.G,v=t&c.S,y=t&c.P,g=t&c.B,m=t&c.W,b=p?r:r[e]||(r[e]={}),w=b[u],_=p?i:v?i[e]:(i[e]||{})[u];for(l in p&&(n=e),n)d=!f&&_&&void 0!==_[l],d&&s(b,l)||(h=d?_[l]:n[l],b[l]=p&&"function"!=typeof _[l]?n[l]:g&&d?o(h,i):m&&_[l]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[u]=t[u],e}(h):y&&"function"==typeof h?o(Function.call,h):h,y&&((b.virtual||(b.virtual={}))[l]=h,t&c.R&&w&&!w[l]&&a(w,l,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},6718:function(t,e,n){var i=n("e53d"),r=n("584a"),o=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"6821f":function(t,e,n){(function(){var e=n("00d8"),i=n("9a63").utf8,r=n("044b"),o=n("9a63").bin,a=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?o.stringToBytes(t):i.stringToBytes(t):r(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var s=e.bytesToWords(t),u=8*t.length,c=1732584193,l=-271733879,d=-1732584194,h=271733878,f=0;f>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[u>>>5]|=128<>>9<<4)]=u;var p=a._ff,v=a._gg,y=a._hh,g=a._ii;for(f=0;f>>0,l=l+b>>>0,d=d+w>>>0,h=h+_>>>0}return e.endian([c,l,d,h])};a._ff=function(t,e,n,i,r,o,a){var s=t+(e&n|~e&i)+(r>>>0)+a;return(s<>>32-o)+e},a._gg=function(t,e,n,i,r,o,a){var s=t+(e&i|n&~i)+(r>>>0)+a;return(s<>>32-o)+e},a._hh=function(t,e,n,i,r,o,a){var s=t+(e^n^i)+(r>>>0)+a;return(s<>>32-o)+e},a._ii=function(t,e,n,i,r,o,a){var s=t+(n^(e|~i))+(r>>>0)+a;return(s<>>32-o)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,n){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var i=e.wordsToBytes(a(t,n));return n&&n.asBytes?i:n&&n.asString?o.bytesToString(i):e.bytesToHex(i)}})()},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var i=n("e6f3"),r=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),o=n("9e1e"),a="toString",s=/./[a],u=function(t){n("2aba")(RegExp.prototype,a,t,!0)};n("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?u((function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)})):s.name!=a&&u((function(){return s.call(this)}))},"6bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("4d16"),r=n.n(i),o=n("061b"),a=n.n(o);function s(t){return s=r.a?a.a:function(t){return t.__proto__||a()(t)},s(t)}},"6c1c":function(t,e,n){n("c367");for(var i=n("e53d"),r=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},7333:function(t,e,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),u=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i}))?function(t,e){var n=s(t),c=arguments.length,l=1,d=o.f,h=a.f;while(c>l){var f,p=u(arguments[l++]),v=d?r(p).concat(d(p)):r(p),y=v.length,g=0;while(y>g)f=v[g++],i&&!h.call(p,f)||(n[f]=p[f])}return n}:c},7514:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"761a":function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){var t=[],e=[],n={},i={},r={};function o(t){return"string"===typeof t?new RegExp("^"+t+"$","i"):t}function a(t,e){return t===e?e:t===t.toLowerCase()?e.toLowerCase():t===t.toUpperCase()?e.toUpperCase():t[0]===t[0].toUpperCase()?e.charAt(0).toUpperCase()+e.substr(1).toLowerCase():e.toLowerCase()}function s(t,e){return t.replace(/\$(\d{1,2})/g,(function(t,n){return e[n]||""}))}function u(t,e){return t.replace(e[0],(function(n,i){var r=s(e[1],arguments);return a(""===n?t[i-1]:n,r)}))}function c(t,e,i){if(!t.length||n.hasOwnProperty(t))return e;var r=i.length;while(r--){var o=i[r];if(o[0].test(e))return u(e,o)}return e}function l(t,e,n){return function(i){var r=i.toLowerCase();return e.hasOwnProperty(r)?a(i,r):t.hasOwnProperty(r)?a(i,t[r]):c(r,i,n)}}function d(t,e,n,i){return function(i){var r=i.toLowerCase();return!!e.hasOwnProperty(r)||!t.hasOwnProperty(r)&&c(r,r,n)===r}}function h(t,e,n){var i=1===e?h.singular(t):h.plural(t);return(n?e+" ":"")+i}return h.plural=l(r,i,t),h.isPlural=d(r,i,t),h.singular=l(i,r,e),h.isSingular=d(i,r,e),h.addPluralRule=function(e,n){t.push([o(e),n])},h.addSingularRule=function(t,n){e.push([o(t),n])},h.addUncountableRule=function(t){"string"!==typeof t?(h.addPluralRule(t,"$0"),h.addSingularRule(t,"$0")):n[t.toLowerCase()]=!0},h.addIrregularRule=function(t,e){e=e.toLowerCase(),t=t.toLowerCase(),r[t]=e,i[e]=t},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach((function(t){return h.addIrregularRule(t[0],t[1])})),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach((function(t){return h.addPluralRule(t[0],t[1])})),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach((function(t){return h.addSingularRule(t[0],t[1])})),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(h.addUncountableRule),h}))},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},"7a77":function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},"7aac":function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.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(){}}}()},"7bb1":function(t,e,n){"use strict"; +/** + * vee-validate v2.2.15 + * (c) 2019 Abdelrahman Awad + * @license MIT + */var i=function(t){return H(["text","password","search","email","tel","url","textarea","number"],t.type)},r=function(t){return H(["radio","checkbox"],t.type)},o=function(t){return H(["date","week","month","datetime-local","time"],t.type)},a=function(t,e){return t.getAttribute("data-vv-"+e)},s=function(t){return"isNaN"in Number?Number.isNaN(t):"number"===typeof t&&t!==t},u=function(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];return t.every((function(t){return null===t||void 0===t}))},c=function(){return{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1}},l=function(t,e){if(t instanceof RegExp&&e instanceof RegExp)return l(t.source,e.source)&&l(t.flags,e.flags);if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(var n=0;n0)e[n]=arguments[n+1];if(x(Object.assign))return Object.assign.apply(Object,[t].concat(e));if(null==t)throw new TypeError("Cannot convert undefined or null to object");var i=Object(t);return e.forEach((function(t){null!=t&&Object.keys(t).forEach((function(e){i[e]=t[e]}))})),i},M=0,A="{id}",P=function(){M>=9999&&(M=0,A=A.replace("{id}","_{id}")),M++;var t=A.replace("{id}",String(M));return t},I=function(t,e){for(var n=Array.isArray(t)?t:C(t),i=0;i=0&&t.maxLength<524288&&(e=g("max:"+t.maxLength,e)),t.minLength>0&&(e=g("min:"+t.minLength,e)),"number"===t.type&&(e=g("decimal",e),""!==t.min&&(e=g("min_value:"+t.min,e)),""!==t.max&&(e=g("max_value:"+t.max,e))),e;if(o(t)){var n=t.step&&Number(t.step)<60?"HH:mm:ss":"HH:mm";if("date"===t.type)return g("date_format:yyyy-MM-dd",e);if("datetime-local"===t.type)return g("date_format:yyyy-MM-ddT"+n,e);if("month"===t.type)return g("date_format:yyyy-MM",e);if("week"===t.type)return g("date_format:yyyy-[W]WW",e);if("time"===t.type)return g("date_format:"+n,e)}return e},z=function(t){return x(Object.values)?Object.values(t):Object.keys(t).map((function(e){return t[e]}))},$=function(t){var e=null;if(H(t,":")&&(e=t.split(":").pop(),t=t.replace(":"+e,"")),"#"===t[0])return{id:t.slice(1),rule:e,name:null,scope:null};var n=null,i=t;if(H(t,".")){var r=t.split(".");n=r[0],i=r.slice(1).join(".")}return{id:null,scope:n,name:i,rule:e}},H=function(t,e){return-1!==t.indexOf(e)},W=function(t){return Array.isArray(t)&&0===t.length},Y=function(t,e,n){Object.defineProperty(t,e,{configurable:!1,writable:!0,value:n})},U="en",q=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},V={locale:{configurable:!0}};V.locale.get=function(){return U},V.locale.set=function(t){U=t||"en"},q.prototype.hasLocale=function(t){return!!this.container[t]},q.prototype.setDateFormat=function(t,e){this.container[t]||(this.container[t]={}),this.container[t].dateFormat=e},q.prototype.getDateFormat=function(t){return this.container[t]&&this.container[t].dateFormat?this.container[t].dateFormat:null},q.prototype.getMessage=function(t,e,n){var i=null;return i=this.hasMessage(t,e)?this.container[t].messages[e]:this._getDefaultMessage(t),x(i)?i.apply(void 0,n):i},q.prototype.getFieldMessage=function(t,e,n,i){if(!this.hasLocale(t))return this.getMessage(t,n,i);var r=this.container[t].custom&&this.container[t].custom[e];if(!r||!r[n])return this.getMessage(t,n,i);var o=r[n];return x(o)?o.apply(void 0,i):o},q.prototype._getDefaultMessage=function(t){return this.hasMessage(t,"_default")?this.container[t].messages._default:this.container.en.messages._default},q.prototype.getAttribute=function(t,e,n){return void 0===n&&(n=""),this.hasAttribute(t,e)?this.container[t].attributes[e]:n},q.prototype.hasMessage=function(t,e){return!!(this.hasLocale(t)&&this.container[t].messages&&this.container[t].messages[e])},q.prototype.hasAttribute=function(t,e){return!!(this.hasLocale(t)&&this.container[t].attributes&&this.container[t].attributes[e])},q.prototype.merge=function(t){L(this.container,t)},q.prototype.setMessage=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].messages||(this.container[t].messages={}),this.container[t].messages[e]=n},q.prototype.setAttribute=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].attributes[e]=n},Object.defineProperties(q.prototype,V);var G={default:new q({en:{messages:{},attributes:{},custom:{}}})},X="default",Z=function(){};Z._checkDriverName=function(t){if(!t)throw w("you must provide a name to the dictionary driver")},Z.setDriver=function(t,e){void 0===e&&(e=null),this._checkDriverName(t),e&&(G[t]=e),X=t},Z.getDriver=function(){return G[X]};var K=function t(e,n){void 0===e&&(e=null),void 0===n&&(n=null),this.vmId=n||null,this.items=e&&e instanceof t?e.items:[]};K.prototype["function"===typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},K.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},K.prototype._normalizeError=function(t){var e=this;return Array.isArray(t)?t.map((function(t){return t.scope=u(t.scope)?null:t.scope,t.vmId=u(t.vmId)?e.vmId||null:t.vmId,t})):(t.scope=u(t.scope)?null:t.scope,t.vmId=u(t.vmId)?this.vmId||null:t.vmId,[t])},K.prototype.regenerate=function(){this.items.forEach((function(t){t.msg=x(t.regenerate)?t.regenerate():t.msg}))},K.prototype.update=function(t,e){var n=N(this.items,(function(e){return e.id===t}));if(n){var i=this.items.indexOf(n);this.items.splice(i,1),n.scope=e.scope,this.items.push(n)}},K.prototype.all=function(t){var e=this,n=function(n){var i=!0,r=!0;return u(t)||(i=n.scope===t),u(e.vmId)||(r=n.vmId===e.vmId),r&&i};return this.items.filter(n).map((function(t){return t.msg}))},K.prototype.any=function(t){var e=this,n=function(n){var i=!0,r=!0;return u(t)||(i=n.scope===t),u(e.vmId)||(r=n.vmId===e.vmId),r&&i};return!!this.items.filter(n).length},K.prototype.clear=function(t){var e=this,n=u(this.vmId)?function(){return!0}:function(t){return t.vmId===e.vmId},i=function(e){return e.scope===t};0===arguments.length?i=function(){return!0}:u(t)&&(t=null);for(var r=0;rt.items.length}}}},Ct.length.get=function(){return this.items.length},Et.prototype.find=function(t){return N(this.items,(function(e){return e.matches(t)}))},Et.prototype.findById=function(t){return this.itemsById[t]||null},Et.prototype.filter=function(t){return Array.isArray(t)?this.items.filter((function(e){return t.some((function(t){return e.matches(t)}))})):this.items.filter((function(e){return e.matches(t)}))},Et.prototype.map=function(t){return this.items.map(t)},Et.prototype.remove=function(t){var e=null;if(e=t instanceof Ot?t:this.find(t),!e)return null;var n=this.items.indexOf(e);return this.items.splice(n,1),delete this.itemsById[e.id],e},Et.prototype.push=function(t){if(!(t instanceof Ot))throw w("FieldBag only accepts instances of Field that has an id defined.");if(!t.id)throw w("Field id must be defined.");if(this.findById(t.id))throw w("Field with id "+t.id+" is already added.");this.items.push(t),this.itemsById[t.id]=t},Object.defineProperties(Et.prototype,Ct);var Tt=function(t,e){this.id=e._uid,this._base=t,this._paused=!1,this.errors=new K(t.errors,this.id)},Dt={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Dt.flags.get=function(){var t=this;return this._base.fields.items.filter((function(e){return e.vmId===t.id})).reduce((function(t,e){return e.scope&&(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags),t[e.name]=e.flags,t}),{})},Dt.rules.get=function(){return this._base.rules},Dt.fields.get=function(){return new Et(this._base.fields.filter({vmId:this.id}))},Dt.dictionary.get=function(){return this._base.dictionary},Dt.locale.get=function(){return this._base.locale},Dt.locale.set=function(t){this._base.locale=t},Tt.prototype.localize=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base).localize.apply(t,e)},Tt.prototype.update=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base).update.apply(t,e)},Tt.prototype.attach=function(t){var e=D({},t,{vmId:this.id});return this._base.attach(e)},Tt.prototype.pause=function(){this._paused=!0},Tt.prototype.resume=function(){this._paused=!1},Tt.prototype.remove=function(t){return this._base.remove(t)},Tt.prototype.detach=function(t,e){return this._base.detach(t,e,this.id)},Tt.prototype.extend=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base).extend.apply(t,e)},Tt.prototype.validate=function(t,e,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validate(t,e,D({},{vmId:this.id},n||{}))},Tt.prototype.verify=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base).verify.apply(t,e)},Tt.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,D({},{vmId:this.id},e||{}))},Tt.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(D({},{vmId:this.id},t||{}))},Tt.prototype.destroy=function(){delete this.id,delete this._base},Tt.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},Tt.prototype.flag=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base).flag.apply(t,e.concat([this.id]))},Tt.prototype._resolveField=function(){var t,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return(t=this._base)._resolveField.apply(t,e)},Object.defineProperties(Tt.prototype,Dt);var Mt=null,At=function(){return Mt},Pt=function(t){return Mt=t,t},It=function(t){return!(!_(t)||!t.$validator)},Nt={provide:function(){return this.$validator&&!j(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!j(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||nt(this.$options.$_veeValidate||{});var t=tt(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Tt(At(),this));var e=It(this.$options.inject);if(this.$validator||!t.inject||e||(this.$validator=new Tt(At(),this)),e||this.$validator){if(!e&&this.$validator){var n=this.$options._base;n.util.defineReactive(this.$validator,"errors",this.$validator.errors)}this.$options.computed||(this.$options.computed={}),this.$options.computed[t.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[t.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce((function(t,e){return e.scope?(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags,t):(t[e.name]=e.flags,t)}),{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function jt(t,e){return e&&e.$validator?e.$validator.fields.findById(t._veeValidateId):null}var Ft={bind:function(t,e,n){var i=n.context.$validator;if(i){var r=pt.generate(t,e,n);i.attach(r)}},inserted:function(t,e,n){var i=jt(t,n.context),r=pt.resolveScope(t,e,n);i&&r!==i.scope&&(i.update({scope:r}),i.updated=!1)},update:function(t,e,n){var i=jt(t,n.context);if(!(!i||i.updated&&l(e.value,e.oldValue))){var r=pt.resolveScope(t,e,n),o=pt.resolveRules(t,e,n);i.update({scope:r,rules:o})}},unbind:function(t,e,n){var i=n.context,r=jt(t,i);r&&i.$validator.detach(r)}},Rt=function(t,e,n){void 0===e&&(e={fastExit:!0}),void 0===n&&(n=null),this.errors=new K,this.fields=new Et,this._createFields(t),this.paused=!1,this.fastExit=!!u(e&&e.fastExit)||e.fastExit,this.$vee=n||{_vm:{$nextTick:function(t){return x(t)?t():Promise.resolve()},$emit:function(){},$off:function(){}}}},Lt={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},Bt={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Bt.rules.get=function(){return yt.rules},Lt.rules.get=function(){return yt.rules},Lt.dictionary.get=function(){return Z.getDriver()},Bt.dictionary.get=function(){return Z.getDriver()},Lt.flags.get=function(){return this.fields.items.reduce((function(t,e){var n;return e.scope?(t["$"+e.scope]=(n={},n[e.name]=e.flags,n),t):(t[e.name]=e.flags,t)}),{})},Lt.locale.get=function(){return Rt.locale},Lt.locale.set=function(t){Rt.locale=t},Bt.locale.get=function(){return Z.getDriver().locale},Bt.locale.set=function(t){var e=t!==Z.getDriver().locale;Z.getDriver().locale=t,e&&Rt.$vee&&Rt.$vee._vm&&Rt.$vee._vm.$emit("localeChanged")},Rt.create=function(t,e){return new Rt(t,e)},Rt.extend=function(t,e,n){void 0===n&&(n={}),Rt._guardExtend(t,e);var i=e.options||{};Rt._merge(t,{validator:e,paramNames:n&&n.paramNames||e.paramNames,options:D({hasTarget:!1,immediate:!0},i,n||{})})},Rt.remove=function(t){yt.remove(t)},Rt.prototype.localize=function(t,e){Rt.localize(t,e)},Rt.localize=function(t,e){var n;if(_(t))Z.getDriver().merge(t);else{if(e){var i=t||e.name;e=D({},e),Z.getDriver().merge((n={},n[i]=e,n))}t&&(Rt.locale=t)}},Rt.prototype.attach=function(t){var e=this,n={name:t.name,scope:t.scope,persist:!0},i=t.persist?this.fields.find(n):null;i&&(t.flags=i.flags,i.destroy(),this.fields.remove(i));var r=t.initialValue,o=new Ot(t);return this.fields.push(o),o.immediate?this.$vee._vm.$nextTick((function(){return e.validate("#"+o.id,r||o.value,{vmId:t.vmId})})):this._validate(o,r||o.value,{initial:!0}).then((function(t){o.flags.valid=t.valid,o.flags.invalid=!t.valid})),o},Rt.prototype.flag=function(t,e,n){void 0===n&&(n=null);var i=this._resolveField(t,void 0,n);i&&e&&i.setFlags(e)},Rt.prototype.detach=function(t,e,n){var i=x(t.destroy)?t:this._resolveField(t,e,n);i&&(i.persist||(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i)))},Rt.prototype.extend=function(t,e,n){void 0===n&&(n={}),Rt.extend(t,e,n)},Rt.prototype.reset=function(t){var e=this;return this.$vee._vm.$nextTick().then((function(){return e.$vee._vm.$nextTick()})).then((function(){e.fields.filter(t).forEach((function(n){n.waitFor(null),n.reset(),e.errors.remove(n.name,n.scope,t&&t.vmId)}))}))},Rt.prototype.update=function(t,e){var n=e.scope,i=this._resolveField("#"+t);i&&this.errors.update(t,{scope:n})},Rt.prototype.remove=function(t){Rt.remove(t)},Rt.prototype.validate=function(t,e,n){var i=this;void 0===n&&(n={});var r=n.silent,o=n.vmId;if(this.paused)return Promise.resolve(!0);if(u(t))return this.validateScopes({silent:r,vmId:o});if("*"===t)return this.validateAll(void 0,{silent:r,vmId:o});if(/^(.+)\.\*$/.test(t)){var a=t.match(/^(.+)\.\*$/)[1];return this.validateAll(a)}var s=this._resolveField(t);if(!s)return this._handleFieldNotFound(t);r||(s.flags.pending=!0),void 0===e&&(e=s.value);var c=this._validate(s,e);return s.waitFor(c),c.then((function(t){return!r&&s.isWaitingFor(c)&&(s.waitFor(null),i._handleValidationResults([t],o)),t.valid}))},Rt.prototype.pause=function(){return this.paused=!0,this},Rt.prototype.resume=function(){return this.paused=!1,this},Rt.prototype.validateAll=function(t,e){var n=this;void 0===e&&(e={});var i=e.silent,r=e.vmId;if(this.paused)return Promise.resolve(!0);var o=null,a=!1;return"string"===typeof t?o={scope:t,vmId:r}:_(t)?(o=Object.keys(t).map((function(t){return{name:t,vmId:r,scope:null}})),a=!0):o=Array.isArray(t)?t.map((function(t){return"object"===typeof t?Object.assign({vmId:r},t):{name:t,vmId:r}})):{scope:null,vmId:r},Promise.all(this.fields.filter(o).map((function(e){return n._validate(e,a?t[e.name]:e.value)}))).then((function(t){return i||n._handleValidationResults(t,r),t.every((function(t){return t.valid}))}))},Rt.prototype.validateScopes=function(t){var e=this;void 0===t&&(t={});var n=t.silent,i=t.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:i}).map((function(t){return e._validate(t,t.value)}))).then((function(t){return n||e._handleValidationResults(t,i),t.every((function(t){return t.valid}))}))},Rt.prototype.verify=function(t,e,n){void 0===n&&(n={});var i={name:n&&n.name||"{field}",rules:m(e),bails:f("bails",n,!0),forceRequired:!1,get isRequired(){return!!this.rules.required||this.forceRequired}},r=Object.keys(i.rules).filter(yt.isTargetRule);return r.length&&n&&_(n.values)&&(i.dependencies=r.map((function(t){var e=i.rules[t],r=e[0];return{name:t,field:{value:n.values[r]}}}))),this._validate(i,t).then((function(t){var e=[],n={};return t.errors.forEach((function(t){e.push(t.msg),n[t.rule]=t.msg})),{valid:t.valid,errors:e,failedRules:n}}))},Rt.prototype.destroy=function(){this.$vee._vm.$off("localeChanged")},Rt.prototype._createFields=function(t){var e=this;t&&Object.keys(t).forEach((function(n){var i=D({},{name:n,rules:t[n]});e.attach(i)}))},Rt.prototype._getDateFormat=function(t){var e=null;return t.date_format&&Array.isArray(t.date_format)&&(e=t.date_format[0]),e||Z.getDriver().getDateFormat(this.locale)},Rt.prototype._formatErrorMessage=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i=null);var r=this._getFieldDisplayName(t),o=this._getLocalizedParams(e,i);return Z.getDriver().getFieldMessage(this.locale,t.name,e.name,[r,o,n])},Rt.prototype._convertParamObjectToArray=function(t,e){if(Array.isArray(t))return t;var n=yt.getParamNames(e);return n&&_(t)?n.reduce((function(e,n){return n in t&&e.push(t[n]),e}),[]):t},Rt.prototype._getLocalizedParams=function(t,e){void 0===e&&(e=null);var n=this._convertParamObjectToArray(t.params,t.name);if(t.options.hasTarget&&n&&n[0]){var i=e||Z.getDriver().getAttribute(this.locale,n[0],n[0]);return[i].concat(n.slice(1))}return n},Rt.prototype._getFieldDisplayName=function(t){return t.alias||Z.getDriver().getAttribute(this.locale,t.name,t.name)},Rt.prototype._convertParamArrayToObj=function(t,e){var n=yt.getParamNames(e);if(!n)return t;if(_(t)){var i=n.some((function(e){return-1!==Object.keys(t).indexOf(e)}));if(i)return t;t=[t]}return t.reduce((function(t,e,i){return t[n[i]]=e,t}),{})},Rt.prototype._test=function(t,e,n){var i=this,r=yt.getValidatorMethod(n.name),o=Array.isArray(n.params)?C(n.params):n.params;o||(o=[]);var a=null;if(!r||"function"!==typeof r)return Promise.reject(w("No such validator '"+n.name+"' exists."));if(n.options.hasTarget&&t.dependencies){var s=N(t.dependencies,(function(t){return t.name===n.name}));s&&(a=s.field.alias,o=[s.field.value].concat(o.slice(1)))}else"required"===n.name&&t.rejectsFalse&&(o=o.length?o:[!0]);if(n.options.isDate){var u=this._getDateFormat(t.rules);"date_format"!==n.name&&o.push(u)}var c=r(e,this._convertParamArrayToObj(o,n.name));return x(c.then)?c.then((function(e){var r=!0,o={};return Array.isArray(e)?r=e.every((function(t){return _(t)?t.valid:t})):(r=_(e)?e.valid:e,o=e.data),{valid:r,data:c.data,errors:r?[]:[i._createFieldError(t,n,o,a)]}})):(_(c)||(c={valid:c,data:{}}),{valid:c.valid,data:c.data,errors:c.valid?[]:[this._createFieldError(t,n,c.data,a)]})},Rt._merge=function(t,e){var n=e.validator,i=e.options,r=e.paramNames,o=x(n)?n:n.validate;n.getMessage&&Z.getDriver().setMessage(Rt.locale,t,n.getMessage),yt.add(t,{validate:o,options:i,paramNames:r})},Rt._guardExtend=function(t,e){if(!x(e)&&!x(e.validate))throw w("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},Rt.prototype._createFieldError=function(t,e,n,i){var r=this;return{id:t.id,vmId:t.vmId,field:t.name,msg:this._formatErrorMessage(t,e,n,i),rule:e.name,scope:t.scope,regenerate:function(){return r._formatErrorMessage(t,e,n,i)}}},Rt.prototype._resolveField=function(t,e,n){if("#"===t[0])return this.fields.findById(t.slice(1));if(!u(e))return this.fields.find({name:t,scope:e,vmId:n});if(H(t,".")){var i=t.split("."),r=i[0],o=i.slice(1),a=this.fields.find({name:o.join("."),scope:r,vmId:n});if(a)return a}return this.fields.find({name:t,scope:null,vmId:n})},Rt.prototype._handleFieldNotFound=function(t,e){var n=u(e)?t:(u(e)?"":e+".")+t;return Promise.reject(w('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},Rt.prototype._handleValidationResults=function(t,e){var n=this,i=t.map((function(t){return{id:t.id}}));this.errors.removeById(i.map((function(t){return t.id}))),t.forEach((function(t){n.errors.remove(t.field,t.scope,e)}));var r=t.reduce((function(t,e){return t.push.apply(t,e.errors),t}),[]);this.errors.add(r),this.fields.filter(i).forEach((function(e){var n=N(t,(function(t){return t.id===e.id}));e.setFlags({pending:!1,valid:n.valid,validated:!0})}))},Rt.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!(!t.isDisabled||!et().useConstraintAttrs)||!t.isRequired&&(u(e)||""===e||W(e)))},Rt.prototype._shouldBail=function(t){return void 0!==t.bails?t.bails:this.fastExit},Rt.prototype._validate=function(t,e,n){var i=this;void 0===n&&(n={});var r=n.initial,o=Object.keys(t.rules).filter(yt.isRequireRule);if(t.forceRequired=!1,o.forEach((function(n){var r=yt.getOptions(n),o=i._test(t,e,{name:n,params:t.rules[n],options:r});if(x(o.then))throw w("Require rules cannot be async");if(!_(o))throw w("Require rules has to return an object (see docs)");!0===o.data.required&&(t.forceRequired=!0)})),this._shouldSkip(t,e))return Promise.resolve({valid:!0,id:t.id,field:t.name,scope:t.scope,errors:[]});var a=[],s=[],u=!1;return x(t.checkValueChanged)&&(t.flags.changed=t.checkValueChanged()),Object.keys(t.rules).filter((function(t){return!r||!yt.has(t)||yt.isImmediate(t)})).some((function(n){var r=yt.getOptions(n),o=i._test(t,e,{name:n,params:t.rules[n],options:r});return x(o.then)?a.push(o):!o.valid&&i._shouldBail(t)?(s.push.apply(s,o.errors),u=!0):a.push(new Promise((function(t){return t(o)}))),u})),u?Promise.resolve({valid:!1,errors:s,id:t.id,field:t.name,scope:t.scope}):Promise.all(a).then((function(e){return e.reduce((function(t,e){var n;return e.valid||(n=t.errors).push.apply(n,e.errors),t.valid=t.valid&&e.valid,t}),{valid:!0,errors:s,id:t.id,field:t.name,scope:t.scope})}))},Object.defineProperties(Rt.prototype,Lt),Object.defineProperties(Rt,Bt);var zt=function(t){return _(t)?Object.keys(t).reduce((function(e,n){return e[n]=zt(t[n]),e}),{}):x(t)?t("{0}",["{1}","{2}","{3}"]):t},$t=function(t){var e={};return t.messages&&(e.messages=zt(t.messages)),t.custom&&(e.custom=zt(t.custom)),t.attributes&&(e.attributes=t.attributes),u(t.dateFormat)||(e.dateFormat=t.dateFormat),e},Ht=function(t,e){this.i18n=t,this.rootKey=e},Wt={locale:{configurable:!0}};Wt.locale.get=function(){return this.i18n.locale},Wt.locale.set=function(t){b("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},Ht.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},Ht.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},Ht.prototype.getMessage=function(t,e,n){var i=this.rootKey+".messages."+e,r=n;return Array.isArray(n)&&(r=[].concat.apply([],n)),this.i18n.te(i)?this.i18n.t(i,r):this.i18n.te(i,this.i18n.fallbackLocale)?this.i18n.t(i,this.i18n.fallbackLocale,r):this.i18n.t(this.rootKey+".messages._default",r)},Ht.prototype.getAttribute=function(t,e,n){void 0===n&&(n="");var i=this.rootKey+".attributes."+e;return this.i18n.te(i)?this.i18n.t(i):n},Ht.prototype.getFieldMessage=function(t,e,n,i){var r=this.rootKey+".custom."+e+"."+n;return this.i18n.te(r)?this.i18n.t(r,i):this.getMessage(t,n,i)},Ht.prototype.merge=function(t){var e=this;Object.keys(t).forEach((function(n){var i,r=L({},f(n+"."+e.rootKey,e.i18n.messages,{})),o=L(r,$t(t[n]));e.i18n.mergeLocaleMessage(n,(i={},i[e.rootKey]=o,i)),o.dateFormat&&e.i18n.setDateTimeFormat(n,o.dateFormat)}))},Ht.prototype.setMessage=function(t,e,n){var i,r;this.merge((r={},r[t]={messages:(i={},i[e]=n,i)},r))},Ht.prototype.setAttribute=function(t,e,n){var i,r;this.merge((r={},r[t]={attributes:(i={},i[e]=n,i)},r))},Object.defineProperties(Ht.prototype,Wt);var Yt,Ut,qt,Vt=function(){return{on:["input"]}},Gt=function(){return{on:["change"]}},Xt=function(t){var e=t.errors;return e.length?{on:["input"]}:{on:["change","blur"]}},Zt=function(){return{on:[]}},Kt={aggressive:Vt,eager:Xt,passive:Zt,lazy:Gt},Qt=function(t,e){this.configure(t),qt=this,e&&(Yt=e),this._validator=Pt(new Rt(null,{fastExit:t&&t.fastExit},this)),this._initVM(this.config),this._initI18n(this.config)},Jt={i18nDriver:{configurable:!0},config:{configurable:!0}},te={i18nDriver:{configurable:!0},config:{configurable:!0}};Qt.setI18nDriver=function(t,e){Z.setDriver(t,e)},Qt.configure=function(t){nt(t)},Qt.setMode=function(t,e){if(nt({mode:t}),e){if(!x(e))throw new Error("A mode implementation must be a function");Kt[t]=e}},Qt.use=function(t,e){return void 0===e&&(e={}),x(t)?qt?void t({Validator:Rt,ErrorBag:K,Rules:Rt.rules},e):(Ut||(Ut=[]),void Ut.push({plugin:t,options:e})):b("The plugin must be a callable function")},Qt.install=function(t,e){Yt&&t===Yt||(Yt=t,qt=new Qt(e),Rt.$vee=qt,_t(),Yt.mixin(Nt),Yt.directive("validate",Ft),Ut&&(Ut.forEach((function(t){var e=t.plugin,n=t.options;Qt.use(e,n)})),Ut=null))},Jt.i18nDriver.get=function(){return Z.getDriver()},te.i18nDriver.get=function(){return Z.getDriver()},Jt.config.get=function(){return et()},te.config.get=function(){return et()},Qt.prototype._initVM=function(t){var e=this;this._vm=new Yt({data:function(){return{errors:e._validator.errors,fields:e._validator.fields}}})},Qt.prototype._initI18n=function(t){var e=this,n=t.dictionary,i=t.i18n,r=t.i18nRootKey,o=t.locale,a=function(){n&&e.i18nDriver.merge(n),e._validator.errors.regenerate()};i?(Qt.setI18nDriver("i18n",new Ht(i,r)),i._vm.$watch("locale",a)):"undefined"!==typeof window&&this._vm.$on("localeChanged",a),n&&this.i18nDriver.merge(n),o&&!i&&this._validator.localize(o)},Qt.prototype.configure=function(t){nt(t)},Object.defineProperties(Qt.prototype,Jt),Object.defineProperties(Qt,te),Qt.mixin=Nt,Qt.directive=Ft,Qt.Validator=Rt,Qt.ErrorBag=K;var ee,ne=function(t){var e=["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"],n=1024;t=Number(t)*n;var i=0===t?0:Math.floor(Math.log(t)/Math.log(n));return 1*(t/Math.pow(n,i)).toFixed(2)+" "+e[i]},ie=function(){return"undefined"!==typeof VeeValidate},re={_default:function(t){return"The "+t+" value is not valid"},after:function(t,e){var n=e[0],i=e[1];return"The "+t+" must be after "+(i?"or equal to ":"")+n},alpha:function(t){return"The "+t+" field may only contain alphabetic characters"},alpha_dash:function(t){return"The "+t+" field may contain alpha-numeric characters as well as dashes and underscores"},alpha_num:function(t){return"The "+t+" field may only contain alpha-numeric characters"},alpha_spaces:function(t){return"The "+t+" field may only contain alphabetic characters as well as spaces"},before:function(t,e){var n=e[0],i=e[1];return"The "+t+" must be before "+(i?"or equal to ":"")+n},between:function(t,e){var n=e[0],i=e[1];return"The "+t+" field must be between "+n+" and "+i},confirmed:function(t){return"The "+t+" confirmation does not match"},credit_card:function(t){return"The "+t+" field is invalid"},date_between:function(t,e){var n=e[0],i=e[1];return"The "+t+" must be between "+n+" and "+i},date_format:function(t,e){var n=e[0];return"The "+t+" must be in the format "+n},decimal:function(t,e){void 0===e&&(e=[]);var n=e[0];return void 0===n&&(n="*"),"The "+t+" field must be numeric and may contain"+(n&&"*"!==n?" "+n:"")+" decimal points"},digits:function(t,e){var n=e[0];return"The "+t+" field must be numeric and contains exactly "+n+" digits"},dimensions:function(t,e){var n=e[0],i=e[1];return"The "+t+" field must be "+n+" pixels by "+i+" pixels"},email:function(t){return"The "+t+" field must be a valid email"},excluded:function(t){return"The "+t+" field must be a valid value"},ext:function(t){return"The "+t+" field must be a valid file"},image:function(t){return"The "+t+" field must be an image"},included:function(t){return"The "+t+" field must be a valid value"},integer:function(t){return"The "+t+" field must be an integer"},ip:function(t){return"The "+t+" field must be a valid ip address"},ip_or_fqdn:function(t){return"The "+t+" field must be a valid ip address or FQDN"},length:function(t,e){var n=e[0],i=e[1];return i?"The "+t+" length must be between "+n+" and "+i:"The "+t+" length must be "+n},max:function(t,e){var n=e[0];return"The "+t+" field may not be greater than "+n+" characters"},max_value:function(t,e){var n=e[0];return"The "+t+" field must be "+n+" or less"},mimes:function(t){return"The "+t+" field must have a valid file type"},min:function(t,e){var n=e[0];return"The "+t+" field must be at least "+n+" characters"},min_value:function(t,e){var n=e[0];return"The "+t+" field must be "+n+" or more"},numeric:function(t){return"The "+t+" field may only contain numeric characters"},regex:function(t){return"The "+t+" field format is invalid"},required:function(t){return"The "+t+" field is required"},required_if:function(t,e){var n=e[0];return"The "+t+" field is required when the "+n+" field has this value"},size:function(t,e){var n=e[0];return"The "+t+" size must be less than "+ne(n)},url:function(t){return"The "+t+" field is not a valid URL"}},oe={name:"en",messages:re,attributes:{}};function ae(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}ie()&&VeeValidate.Validator.localize((ee={},ee[oe.name]=oe,ee));var se=6e4;function ue(t){var e=new Date(t.getTime()),n=e.getTimezoneOffset();e.setSeconds(0,0);var i=e.getTime()%se;return n*se+i}var ce=36e5,le=6e4,de=2,he={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function fe(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=e||{},i=null==n.additionalDigits?de:ae(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"===typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!==typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var r=pe(t),o=ve(r.date,i),a=o.year,s=o.restDateString,u=ye(s,a);if(isNaN(u))return new Date(NaN);if(u){var c,l=u.getTime(),d=0;if(r.time&&(d=ge(r.time),isNaN(d)))return new Date(NaN);if(r.timezone){if(c=me(r.timezone),isNaN(c))return new Date(NaN)}else c=ue(new Date(l+d)),c=ue(new Date(l+d+c));return new Date(l+d+c)}return new Date(NaN)}function pe(t){var e,n={},i=t.split(he.dateTimeDelimeter);if(he.plainTime.test(i[0])?(n.date=null,e=i[0]):(n.date=i[0],e=i[1],he.timeZoneDelimeter.test(n.date)&&(n.date=t.split(he.timeZoneDelimeter)[0],e=t.substr(n.date.length,t.length))),e){var r=he.timezone.exec(e);r?(n.time=e.replace(r[1],""),n.timezone=r[1]):n.time=e}return n}function ve(t,e){var n,i=he.YYY[e],r=he.YYYYY[e];if(n=he.YYYY.exec(t)||r.exec(t),n){var o=n[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(n=he.YY.exec(t)||i.exec(t),n){var a=n[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}function ye(t,e){if(null===e)return null;var n,i,r,o;if(0===t.length)return i=new Date(0),i.setUTCFullYear(e),i;if(n=he.MM.exec(t),n)return i=new Date(0),r=parseInt(n[1],10)-1,ke(e,r)?(i.setUTCFullYear(e,r),i):new Date(NaN);if(n=he.DDD.exec(t),n){i=new Date(0);var a=parseInt(n[1],10);return Oe(e,a)?(i.setUTCFullYear(e,0,a),i):new Date(NaN)}if(n=he.MMDD.exec(t),n){i=new Date(0),r=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return ke(e,r,s)?(i.setUTCFullYear(e,r,s),i):new Date(NaN)}if(n=he.Www.exec(t),n)return o=parseInt(n[1],10)-1,Se(e,o)?be(e,o):new Date(NaN);if(n=he.WwwD.exec(t),n){o=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return Se(e,o,u)?be(e,o,u):new Date(NaN)}return null}function ge(t){var e,n,i;if(e=he.HH.exec(t),e)return n=parseFloat(e[1].replace(",",".")),Ee(n)?n%24*ce:NaN;if(e=he.HHMM.exec(t),e)return n=parseInt(e[1],10),i=parseFloat(e[2].replace(",",".")),Ee(n,i)?n%24*ce+i*le:NaN;if(e=he.HHMMSS.exec(t),e){n=parseInt(e[1],10),i=parseInt(e[2],10);var r=parseFloat(e[3].replace(",","."));return Ee(n,i,r)?n%24*ce+i*le+1e3*r:NaN}return null}function me(t){var e,n,i;if(e=he.timezoneZ.exec(t),e)return 0;if(e=he.timezoneHH.exec(t),e)return i=parseInt(e[2],10),Ce()?(n=i*ce,"+"===e[1]?-n:n):NaN;if(e=he.timezoneHHMM.exec(t),e){i=parseInt(e[2],10);var r=parseInt(e[3],10);return Ce(i,r)?(n=i*ce+r*le,"+"===e[1]?-n:n):NaN}return 0}function be(t,e,n){e=e||0,n=n||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var r=i.getUTCDay()||7,o=7*e+n+1-r;return i.setUTCDate(i.getUTCDate()+o),i}var we=[31,28,31,30,31,30,31,31,30,31,30,31],_e=[31,29,31,30,31,30,31,31,30,31,30,31];function xe(t){return t%400===0||t%4===0&&t%100!==0}function ke(t,e,n){if(e<0||e>11)return!1;if(null!=n){if(n<1)return!1;var i=xe(t);if(i&&n>_e[e])return!1;if(!i&&n>we[e])return!1}return!0}function Oe(t,e){if(e<1)return!1;var n=xe(t);return!(n&&e>366)&&!(!n&&e>365)}function Se(t,e,n){return!(e<0||e>52)&&(null==n||!(n<0||n>6))}function Ee(t,e,n){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==n||!(n<0||n>=60)))}function Ce(t,e){return null==e||!(e<0||e>59)}function Te(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=fe(t,n).getTime(),r=ae(e);return new Date(i+r)}function De(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=fe(t,e);return!isNaN(n)}var Me={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ae(t,e,n){var i;return n=n||{},i="string"===typeof Me[t]?Me[t]:1===e?Me[t].one:Me[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+i:i+" ago":i}function Pe(t){return function(e){var n=e||{},i=n.width?String(n.width):t.defaultWidth,r=t.formats[i]||t.formats[t.defaultWidth];return r}}var Ie={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},je={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Fe={date:Pe({formats:Ie,defaultWidth:"full"}),time:Pe({formats:Ne,defaultWidth:"full"}),dateTime:Pe({formats:je,defaultWidth:"full"})},Re={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Le(t,e,n,i){return Re[t]}function Be(t){return function(e,n){var i,r=n||{},o=r.width?String(r.width):t.defaultWidth,a=r.context?String(r.context):"standalone";i="formatting"===a&&t.formattingValues?t.formattingValues[o]||t.formattingValues[t.defaultFormattingWidth]:t.values[o]||t.values[t.defaultWidth];var s=t.argumentCallback?t.argumentCallback(e):e;return i[s]}}var ze={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},He={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},We={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ye={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ue={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};function qe(t,e){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"}var Ve={ordinalNumber:qe,era:Be({values:ze,defaultWidth:"wide"}),quarter:Be({values:$e,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Be({values:He,defaultWidth:"wide"}),day:Be({values:We,defaultWidth:"wide"}),dayPeriod:Be({values:Ye,defaultWidth:"wide",formattingValues:Ue,defaulFormattingWidth:"wide"})};function Ge(t){return function(e,n){var i=String(e),r=n||{},o=i.match(t.matchPattern);if(!o)return null;var a=o[0],s=i.match(t.parsePattern);if(!s)return null;var u=t.valueCallback?t.valueCallback(s[0]):s[0];return u=r.valueCallback?r.valueCallback(u):u,{value:u,rest:i.slice(a.length)}}}function Xe(t){return function(e,n){var i=String(e),r=n||{},o=r.width,a=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],s=i.match(a);if(!s)return null;var u,c=s[0],l=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth];return u="[object Array]"===Object.prototype.toString.call(l)?l.findIndex((function(t){return t.test(i)})):Ze(l,(function(t){return t.test(i)})),u=t.valueCallback?t.valueCallback(u):u,u=r.valueCallback?r.valueCallback(u):u,{value:u,rest:i.slice(c.length)}}}function Ze(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}var Ke=/^(\d+)(th|st|nd|rd)?/i,Qe=/\d+/i,Je={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},tn={any:[/^b/i,/^(a|c)/i]},en={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},nn={any:[/1/i,/2/i,/3/i,/4/i]},rn={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},on={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},an={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},sn={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},un={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},cn={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ln={ordinalNumber:Ge({matchPattern:Ke,parsePattern:Qe,valueCallback:function(t){return parseInt(t,10)}}),era:Xe({matchPatterns:Je,defaultMatchWidth:"wide",parsePatterns:tn,defaultParseWidth:"any"}),quarter:Xe({matchPatterns:en,defaultMatchWidth:"wide",parsePatterns:nn,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Xe({matchPatterns:rn,defaultMatchWidth:"wide",parsePatterns:on,defaultParseWidth:"any"}),day:Xe({matchPatterns:an,defaultMatchWidth:"wide",parsePatterns:sn,defaultParseWidth:"any"}),dayPeriod:Xe({matchPatterns:un,defaultMatchWidth:"any",parsePatterns:cn,defaultParseWidth:"any"})},dn={formatDistance:Ae,formatLong:Fe,formatRelative:Le,localize:Ve,match:ln,options:{weekStartsOn:0,firstWeekContainsDate:1}},hn=864e5;function fn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=fe(t,e),i=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var r=n.getTime(),o=i-r;return Math.floor(o/hn)+1}function pn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=1,i=fe(t,e),r=i.getUTCDay(),o=(r=o.getTime()?i+1:n.getTime()>=s.getTime()?i:i-1}function yn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=vn(t,e),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var r=pn(i,e);return r}var gn=6048e5;function mn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=fe(t,e),i=pn(n,e).getTime()-yn(n,e).getTime();return Math.round(i/gn)+1}function bn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,o=null==r?0:ae(r),a=null==n.weekStartsOn?o:ae(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=fe(t,n),u=s.getUTCDay(),c=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(i+1,0,u),c.setUTCHours(0,0,0,0);var l=bn(c,e),d=new Date(0);d.setUTCFullYear(i,0,u),d.setUTCHours(0,0,0,0);var h=bn(d,e);return n.getTime()>=l.getTime()?i+1:n.getTime()>=h.getTime()?i:i-1}function _n(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=e||{},i=n.locale,r=i&&i.options&&i.options.firstWeekContainsDate,o=null==r?1:ae(r),a=null==n.firstWeekContainsDate?o:ae(n.firstWeekContainsDate),s=wn(t,e),u=new Date(0);u.setUTCFullYear(s,0,a),u.setUTCHours(0,0,0,0);var c=bn(u,e);return c}var xn=6048e5;function kn(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=fe(t,e),i=bn(n,e).getTime()-_n(n,e).getTime();return Math.round(i/xn)+1}var On={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Sn={G:function(t,e,n){var i=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,e,n,i){var r=t.getUTCFullYear(),o=r>0?r:1-r;if("yy"===e){var a=o%100;return En(a,2)}return"yo"===e?n.ordinalNumber(o,{unit:"year"}):En(o,e.length)},Y:function(t,e,n,i){var r=wn(t,i),o=r>0?r:1-r;if("YY"===e){var a=o%100;return En(a,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):En(o,e.length)},R:function(t,e,n,i){var r=vn(t,i);return En(r,e.length)},u:function(t,e,n,i){var r=t.getUTCFullYear();return En(r,e.length)},Q:function(t,e,n,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return En(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return En(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n,i){var r=t.getUTCMonth();switch(e){case"M":return String(r+1);case"MM":return En(r+1,2);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n,i){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return En(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){var r=kn(t,i);return"wo"===e?n.ordinalNumber(r,{unit:"week"}):En(r,e.length)},I:function(t,e,n,i){var r=mn(t,i);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):En(r,e.length)},d:function(t,e,n,i){var r=t.getUTCDate();return"do"===e?n.ordinalNumber(r,{unit:"date"}):En(r,e.length)},D:function(t,e,n,i){var r=fn(t,i);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):En(r,e.length)},E:function(t,e,n,i){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){var r=t.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return En(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){var r=t.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return En(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n,i){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return En(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var i=t.getUTCHours(),r=i/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var i,r=t.getUTCHours();switch(i=12===r?On.noon:0===r?On.midnight:r/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){var i,r=t.getUTCHours();switch(i=r>=17?On.evening:r>=12?On.afternoon:r>=4?On.morning:On.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n,i){var r=t.getUTCHours()%12;return 0===r&&(r=12),"ho"===e?n.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},H:function(t,e,n,i){var r=t.getUTCHours();return"Ho"===e?n.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},K:function(t,e,n,i){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},k:function(t,e,n,i){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},m:function(t,e,n,i){var r=t.getUTCMinutes();return"mo"===e?n.ordinalNumber(r,{unit:"minute"}):En(r,e.length)},s:function(t,e,n,i){var r=t.getUTCSeconds();return"so"===e?n.ordinalNumber(r,{unit:"second"}):En(r,e.length)},S:function(t,e,n,i){var r=e.length,o=t.getUTCMilliseconds(),a=Math.floor(o*Math.pow(10,r-3));return En(a,r)},X:function(t,e,n,i){var r=i._originalDate||t,o=r.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Tn(o);case"XXXX":case"XX":return Cn(o);case"XXXXX":case"XXX":default:return Cn(o,":")}},x:function(t,e,n,i){var r=i._originalDate||t,o=r.getTimezoneOffset();switch(e){case"x":return Tn(o);case"xxxx":case"xx":return Cn(o);case"xxxxx":case"xxx":default:return Cn(o,":")}},O:function(t,e,n,i){var r=i._originalDate||t,o=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Dn(o,":");case"OOOO":default:return"GMT"+Cn(o,":")}},z:function(t,e,n,i){var r=i._originalDate||t,o=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Dn(o,":");case"zzzz":default:return"GMT"+Cn(o,":")}},t:function(t,e,n,i){var r=i._originalDate||t,o=Math.floor(r.getTime()/1e3);return En(o,e.length)},T:function(t,e,n,i){var r=i._originalDate||t,o=r.getTime();return En(o,e.length)}};function En(t,e){var n=t<0?"-":"",i=Math.abs(t).toString();while(i.length0?"-":"+",r=Math.abs(t),o=En(Math.floor(r/60),2),a=En(r%60,2);return i+o+n+a}function Tn(t,e){if(t%60===0){var n=t>0?"-":"+";return n+En(Math.abs(t)/60,2)}return Cn(t,e)}function Dn(t,e){var n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),o=i%60;if(0===o)return n+String(r);var a=e||"";return n+String(r)+a+En(o,2)}function Mn(t,e,n){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function An(t,e,n){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function Pn(t,e,n){var i,r=t.match(/(P+)(p+)?/),o=r[1],a=r[2];if(!a)return Mn(t,e);switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Mn(o,e)).replace("{{time}}",An(a,e))}var In={p:An,P:Pn};function Nn(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=ae(e);return Te(t,-i,n)}var jn=["D","DD","YY","YYYY"];function Fn(t){return-1!==jn.indexOf(t)}function Rn(t){throw new RangeError("`options.awareOfUnicodeTokens` must be set to `true` to use `"+t+"` token; see: https://git.io/fxCyr")}var Ln=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Bn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zn=/^'(.*?)'?$/,$n=/''/g;function Hn(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=String(e),r=n||{},o=r.locale||dn,a=o.options&&o.options.firstWeekContainsDate,s=null==a?1:ae(a),u=null==r.firstWeekContainsDate?s:ae(r.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=o.options&&o.options.weekStartsOn,l=null==c?0:ae(c),d=null==r.weekStartsOn?l:ae(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var h=fe(t,r);if(!De(h,r))return"Invalid Date";var f=ue(h),p=Nn(h,f,r),v={firstWeekContainsDate:u,weekStartsOn:d,locale:o,_originalDate:h},y=i.match(Bn).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=In[e];return n(t,o.formatLong,v)}return t})).join("").match(Ln).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return Wn(t);var n=Sn[e];return n?(!r.awareOfUnicodeTokens&&Fn(t)&&Rn(t),n(p,t,o.localize,v)):t})).join("");return y}function Wn(t){return t.match(zn)[1].replace($n,"'")}function Yn(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=fe(t,n),r=fe(e,n);return i.getTime()>r.getTime()}function Un(t,e,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=fe(t,n),r=fe(e,n);return i.getTime()=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=fe(t,n),c=ae(e),l=u.getUTCDay(),d=c%7,h=(d+7)%7,f=(h0,r=i?e:1-e;if(r<=50)n=t||100;else{var o=r+50,a=100*Math.floor(o/100),s=t>=o%100;n=t+a-(s?100:0)}return i?n:1-n}var ci=[31,28,31,30,31,30,31,31,30,31,30,31],li=[31,29,31,30,31,30,31,31,30,31,30,31];function di(t){return t%400===0||t%4===0&&t%100!==0}var hi={G:{priority:140,parse:function(t,e,n,i){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}},set:function(t,e,n){return t.setUTCFullYear(1===e?10:-9,0,1),t.setUTCHours(0,0,0,0),t}},y:{priority:130,parse:function(t,e,n,i){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return oi(4,t,r);case"yo":return n.ordinalNumber(t,{unit:"year",valueCallback:r});default:return oi(e.length,t,r)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n){var i=wn(t,n);if(e.isTwoDigitYear){var r=ui(e.year,i);return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}var o=i>0?e.year:1-e.year;return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}},Y:{priority:130,parse:function(t,e,n,i){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return oi(4,t,r);case"Yo":return n.ordinalNumber(t,{unit:"year",valueCallback:r});default:return oi(e.length,t,r)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n){var i=t.getUTCFullYear();if(e.isTwoDigitYear){var r=ui(e.year,i);return t.setUTCFullYear(r,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),bn(t,n)}var o=i>0?e.year:1-e.year;return t.setUTCFullYear(o,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),bn(t,n)}},R:{priority:130,parse:function(t,e,n,i){return ai("R"===e?4:e.length,t)},set:function(t,e,n){var i=new Date(0);return i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0),pn(i)}},u:{priority:130,parse:function(t,e,n,i){return ai("u"===e?4:e.length,t)},set:function(t,e,n){return t.setUTCFullYear(e,0,1),t.setUTCHours(0,0,0,0),t}},Q:{priority:120,parse:function(t,e,n,i){switch(e){case"Q":case"QQ":return oi(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n){return t.setUTCMonth(3*(e-1),1),t.setUTCHours(0,0,0,0),t}},q:{priority:120,parse:function(t,e,n,i){switch(e){case"q":case"qq":return oi(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n){return t.setUTCMonth(3*(e-1),1),t.setUTCHours(0,0,0,0),t}},M:{priority:110,parse:function(t,e,n,i){var r=function(t){return t-1};switch(e){case"M":return ni(ti.month,t,r);case"MM":return oi(2,t,r);case"Mo":return n.ordinalNumber(t,{unit:"month",valueCallback:r});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n){return t.setUTCMonth(e,1),t.setUTCHours(0,0,0,0),t}},L:{priority:110,parse:function(t,e,n,i){var r=function(t){return t-1};switch(e){case"L":return ni(ti.month,t,r);case"LL":return oi(2,t,r);case"Lo":return n.ordinalNumber(t,{unit:"month",valueCallback:r});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n){return t.setUTCMonth(e,1),t.setUTCHours(0,0,0,0),t}},w:{priority:100,parse:function(t,e,n,i){switch(e){case"w":return ni(ti.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n){return bn(Gn(t,e,n),n)}},I:{priority:100,parse:function(t,e,n,i){switch(e){case"I":return ni(ti.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n){return pn(Zn(t,e,n),n)}},d:{priority:90,parse:function(t,e,n,i){switch(e){case"d":return ni(ti.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return oi(e.length,t)}},validate:function(t,e,n){var i=t.getUTCFullYear(),r=di(i),o=t.getUTCMonth();return r?e>=1&&e<=li[o]:e>=1&&e<=ci[o]},set:function(t,e,n){return t.setUTCDate(e),t.setUTCHours(0,0,0,0),t}},D:{priority:90,parse:function(t,e,n,i){switch(e){case"D":case"DD":return ni(ti.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return oi(e.length,t)}},validate:function(t,e,n){var i=t.getUTCFullYear(),r=di(i);return r?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,n){return t.setUTCMonth(0,e),t.setUTCHours(0,0,0,0),t}},E:{priority:90,parse:function(t,e,n,i){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n){return t=Vn(t,e,n),t.setUTCHours(0,0,0,0),t}},e:{priority:90,parse:function(t,e,n,i){var r=function(t){var e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return oi(e.length,t,r);case"eo":return n.ordinalNumber(t,{unit:"day",valueCallback:r});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n){return t=Vn(t,e,n),t.setUTCHours(0,0,0,0),t}},c:{priority:90,parse:function(t,e,n,i){var r=function(t){var e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return oi(e.length,t,r);case"co":return n.ordinalNumber(t,{unit:"day",valueCallback:r});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n){return t=Vn(t,e,n),t.setUTCHours(0,0,0,0),t}},i:{priority:90,parse:function(t,e,n,i){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return oi(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(t,{width:"short",context:"formatting",valueCallback:r})||n.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(t,{width:"short",context:"formatting",valueCallback:r})||n.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return n.day(t,{width:"wide",context:"formatting",valueCallback:r})||n.day(t,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(t,{width:"short",context:"formatting",valueCallback:r})||n.day(t,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(t,e,n){return e>=1&&e<=7},set:function(t,e,n){return t=Xn(t,e,n),t.setUTCHours(0,0,0,0),t}},a:{priority:80,parse:function(t,e,n,i){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n){return t.setUTCHours(si(e),0,0,0),t}},b:{priority:80,parse:function(t,e,n,i){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n){return t.setUTCHours(si(e),0,0,0),t}},B:{priority:80,parse:function(t,e,n,i){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n){return t.setUTCHours(si(e),0,0,0),t}},h:{priority:70,parse:function(t,e,n,i){switch(e){case"h":return ni(ti.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=12},set:function(t,e,n){var i=t.getUTCHours()>=12;return i&&e<12?t.setUTCHours(e+12,0,0,0):i||12!==e?t.setUTCHours(e,0,0,0):t.setUTCHours(0,0,0,0),t}},H:{priority:70,parse:function(t,e,n,i){switch(e){case"H":return ni(ti.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=23},set:function(t,e,n){return t.setUTCHours(e,0,0,0),t}},K:{priority:70,parse:function(t,e,n,i){switch(e){case"K":return ni(ti.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n){var i=t.getUTCHours()>=12;return i&&e<12?t.setUTCHours(e+12,0,0,0):t.setUTCHours(e,0,0,0),t}},k:{priority:70,parse:function(t,e,n,i){switch(e){case"k":return ni(ti.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=24},set:function(t,e,n){var i=e<=24?e%24:e;return t.setUTCHours(i,0,0,0),t}},m:{priority:60,parse:function(t,e,n,i){switch(e){case"m":return ni(ti.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n){return t.setUTCMinutes(e,0,0),t}},s:{priority:50,parse:function(t,e,n,i){switch(e){case"s":return ni(ti.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return oi(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n){return t.setUTCSeconds(e,0),t}},S:{priority:40,parse:function(t,e,n,i){var r=function(t){return Math.floor(t*Math.pow(10,3-e.length))};return oi(e.length,t,r)},set:function(t,e,n){return t.setUTCMilliseconds(e),t}},X:{priority:20,parse:function(t,e,n,i){switch(e){case"X":return ii(ei.basicOptionalMinutes,t);case"XX":return ii(ei.basic,t);case"XXXX":return ii(ei.basicOptionalSeconds,t);case"XXXXX":return ii(ei.extendedOptionalSeconds,t);case"XXX":default:return ii(ei.extended,t)}},set:function(t,e,n){return new Date(t.getTime()-e)}},x:{priority:20,parse:function(t,e,n,i){switch(e){case"x":return ii(ei.basicOptionalMinutes,t);case"xx":return ii(ei.basic,t);case"xxxx":return ii(ei.basicOptionalSeconds,t);case"xxxxx":return ii(ei.extendedOptionalSeconds,t);case"xxx":default:return ii(ei.extended,t)}},set:function(t,e,n){return new Date(t.getTime()-e)}},t:{priority:10,parse:function(t,e,n,i){return ri(t)},set:function(t,e,n){return new Date(1e3*e)}},T:{priority:10,parse:function(t,e,n,i){return ri(t)},set:function(t,e,n){return new Date(e)}}},fi=20,pi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vi=/^'(.*?)'?$/,yi=/''/g,gi=/\S/;function mi(t,e,n,i){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var r=String(t),o=String(e),a=i||{},s=a.locale||dn;if(!s.match)throw new RangeError("locale must contain match property");var u=s.options&&s.options.firstWeekContainsDate,c=null==u?1:ae(u),l=null==a.firstWeekContainsDate?c:ae(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=s.options&&s.options.weekStartsOn,h=null==d?0:ae(d),f=null==a.weekStartsOn?h:ae(a.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===r?fe(n,a):new Date(NaN);var p,v={firstWeekContainsDate:l,weekStartsOn:f,locale:s},y=[{priority:fi,set:bi,index:0}],g=o.match(pi);for(p=0;p0&&gi.test(r))return new Date(NaN);var x=y.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return y.filter((function(e){return e.priority===t})).reverse()})).map((function(t){return t[0]})),k=fe(n,a);if(isNaN(k))return new Date(NaN);var O=Nn(k,ue(k));for(p=0;p=t},Vi=["min","max"],Gi={validate:qi,paramNames:Vi},Xi=function(t,e){var n=e.targetValue;return String(t)===String(n)},Zi={hasTarget:!0},Ki=["targetValue"],Qi={validate:Xi,options:Zi,paramNames:Ki};function Ji(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t}function tr(t,e){return e={exports:{}},t(e,e.exports),e.exports}var er=tr((function(t,e){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)}function i(t){var e,i="string"===typeof t||t instanceof String;if(!i)throw null===t?e="null":(e=n(t),e="object"===e&&t.constructor&&t.constructor.hasOwnProperty("name")?t.constructor.name:"a ".concat(e)),new TypeError("Expected string but received ".concat(e,"."))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i,t.exports=e.default,t.exports.default=e.default}));Ji(er);var nr=tr((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=i(er);function i(t){return t&&t.__esModule?t:{default:t}}var r=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;function o(t){(0,n.default)(t);var e=t.replace(/[- ]+/g,"");if(!r.test(e))return!1;for(var i,o,a,s=0,u=e.length-1;u>=0;u--)i=e.substring(u,u+1),o=parseInt(i,10),a?(o*=2,s+=o>=10?o%10+1:o):s+=o,a=!a;return!(s%10!==0||!e)}t.exports=e.default,t.exports.default=e.default})),ir=Ji(nr),rr=function(t){return ir(String(t))},or={validate:rr},ar=function(t,e){void 0===e&&(e={});var n=e.min,i=e.max,r=e.inclusivity;void 0===r&&(r="()");var o=e.format;"undefined"===typeof o&&(o=r,r="()");var a=_i(String(n),o),s=_i(String(i),o),u=_i(String(t),o);return!!(a&&s&&u)&&("()"===r?Yn(u,a)&&Un(u,s):"(]"===r?Yn(u,a)&&(qn(u,s)||Un(u,s)):"[)"===r?Un(u,s)&&(qn(u,a)||Yn(u,a)):qn(u,s)||qn(u,a)||Un(u,s)&&Yn(u,a))},sr={isDate:!0},ur=["min","max","inclusivity","format"],cr={validate:ar,options:sr,paramNames:ur},lr=function(t,e){var n=e.format;return!!_i(t,n)},dr={isDate:!0},hr=["format"],fr={validate:lr,options:dr,paramNames:hr},pr=function(t,e){void 0===e&&(e={});var n=e.decimals;void 0===n&&(n="*");var i=e.separator;if(void 0===i&&(i="."),u(t)||""===t)return!1;if(Array.isArray(t))return t.every((function(t){return pr(t,{decimals:n,separator:i})}));if(0===Number(n))return/^-?\d*$/.test(t);var r="*"===n?"+":"{1,"+n+"}",o=new RegExp("^[-+]?\\d*(\\"+i+"\\d"+r+")?([eE]{1}[-]?\\d+)?$");if(!o.test(t))return!1;var a=parseFloat(t);return a===a},vr=["decimals","separator"],yr={validate:pr,paramNames:vr},gr=function(t,e){var n=e[0];if(Array.isArray(t))return t.every((function(t){return gr(t,[n])}));var i=String(t);return/^[0-9]*$/.test(i)&&i.length===Number(n)},mr={validate:gr},br=/\.(jpg|svg|jpeg|png|bmp|gif)$/i,wr=function(t,e,n){var i=window.URL||window.webkitURL;return new Promise((function(r){var o=new Image;o.onerror=function(){return r({valid:!1})},o.onload=function(){return r({valid:o.width===Number(e)&&o.height===Number(n)})},o.src=i.createObjectURL(t)}))},_r=function(t,e){var n=e[0],i=e[1],r=T(t).filter((function(t){return br.test(t.name)}));return 0!==r.length&&Promise.all(r.map((function(t){return wr(t,n,i)})))},xr={validate:_r},kr=tr((function(t,e){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;for(var n in e)"undefined"===typeof t[n]&&(t[n]=e[n]);return t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n,t.exports=e.default,t.exports.default=e.default}));Ji(kr);var Or=tr((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=i(er);function i(t){return t&&t.__esModule?t:{default:t}}function r(t){return r="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},r(t)}function o(t,e){var i,o;(0,n.default)(t),"object"===r(e)?(i=e.min||0,o=e.max):(i=arguments[1],o=arguments[2]);var a=encodeURI(t).split(/%..|./).length-1;return a>=i&&("undefined"===typeof o||a<=o)}t.exports=e.default,t.exports.default=e.default}));Ji(Or);var Sr=tr((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var n=r(er),i=r(kr);function r(t){return t&&t.__esModule?t:{default:t}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};function a(t,e){(0,n.default)(t),e=(0,i.default)(e,o),e.allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));for(var r=t.split("."),a=0;a63)return!1;if(e.require_tld){var s=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(s))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(s))return!1}for(var u,c=0;c1&&void 0!==arguments[1]?arguments[1]:"";if((0,n.default)(t),e=String(e),!e)return a(t,4)||a(t,6);if("4"===e){if(!r.test(t))return!1;var i=t.split(".").sort((function(t,e){return t-e}));return i[3]<=255}if("6"===e){var s=t.split(":"),u=!1,c=a(s[s.length-1],4),l=c?7:8;if(s.length>l)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),u=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),u=!0);for(var d=0;d0&&d=1:s.length===l}return!1}t.exports=e.default,t.exports.default=e.default})),Tr=Ji(Cr),Dr=tr((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var n=s(er),i=s(kr),r=s(Or),o=s(Sr),a=s(Cr);function s(t){return t&&t.__esModule?t:{default:t}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},c=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,d=/^[a-z\d]+$/,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;function v(t,e){if((0,n.default)(t),e=(0,i.default)(e,u),e.require_display_name||e.allow_display_name){var s=t.match(c);if(s)t=s[1];else if(e.require_display_name)return!1}var v=t.split("@"),y=v.pop(),g=v.join("@"),m=y.toLowerCase();if(e.domain_specific_validation&&("gmail.com"===m||"googlemail.com"===m)){g=g.toLowerCase();var b=g.split("+")[0];if(!(0,r.default)(b.replace(".",""),{min:6,max:30}))return!1;for(var w=b.split("."),_=0;_=e&&t.length<=n)},to=function(t,e){var n=e[0],i=e[1];return void 0===i&&(i=void 0),!u(t)&&(n=Number(n),"number"===typeof t&&(t=String(t)),t.length||(t=C(t)),Jr(t,n,i))},eo={validate:to},no=function(t,e){var n=e[0];return u(t)?n>=0:Array.isArray(t)?t.every((function(t){return no(t,[n])})):String(t).length<=n},io={validate:no},ro=function(t,e){var n=e[0];return!u(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return ro(t,[n])})):Number(t)<=n)},oo={validate:ro},ao=function(t,e){var n=new RegExp(e.join("|").replace("*",".+")+"$","i");return T(t).every((function(t){return n.test(t.type)}))},so={validate:ao},uo=function(t,e){var n=e[0];return!u(t)&&(Array.isArray(t)?t.every((function(t){return uo(t,[n])})):String(t).length>=n)},co={validate:uo},lo=function(t,e){var n=e[0];return!u(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return lo(t,[n])})):Number(t)>=n)},ho={validate:lo},fo=/^[٠١٢٣٤٥٦٧٨٩]+$/,po=/^[0-9]+$/,vo=function(t){var e=function(t){var e=String(t);return po.test(e)||fo.test(e)};return Array.isArray(t)?t.every(e):e(t)},yo={validate:vo},go=function(t,e){var n=e.expression;return"string"===typeof n&&(n=new RegExp(n)),Array.isArray(t)?t.every((function(t){return go(t,{expression:n})})):n.test(String(t))},mo=["expression"],bo={validate:go,paramNames:mo},wo=function(t,e){void 0===e&&(e=[]);var n=e[0];return void 0===n&&(n=!1),!u(t)&&!W(t)&&((!1!==t||!n)&&!!String(t).trim().length)},_o={validate:wo},xo=function(t,e){void 0===e&&(e=[]);var n=e[0],i=e.slice(1),r=i.includes(String(n).trim());if(!r)return{valid:!0,data:{required:r}};var o=W(t)||[!1,null,void 0].includes(t);return o=o||!String(t).trim().length,{valid:!o,data:{required:r}}},ko={hasTarget:!0,computesRequired:!0},Oo={validate:xo,options:ko},So=function(t,e){var n=e[0];if(isNaN(n))return!1;var i=1024*Number(n);return T(t).every((function(t){return t.size<=i}))},Eo={validate:So},Co=tr((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var n=a(er),i=a(Sr),r=a(Cr),o=a(kr);function a(t){return t&&t.__esModule?t:{default:t}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function l(t,e){for(var n=0;n=2083||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;var a,c,d,h,f,p,v,y;if(e=(0,o.default)(e,s),v=t.split("#"),t=v.shift(),v=t.split("?"),t=v.shift(),v=t.split("://"),v.length>1){if(a=v.shift().toLowerCase(),e.require_valid_protocol&&-1===e.protocols.indexOf(a))return!1}else{if(e.require_protocol)return!1;if("//"===t.substr(0,2)){if(!e.allow_protocol_relative_urls)return!1;v[0]=t.substr(2)}}if(t=v.join("://"),""===t)return!1;if(v=t.split("/"),t=v.shift(),""===t&&!e.require_host)return!0;if(v=t.split("@"),v.length>1){if(e.disallow_auth)return!1;if(c=v.shift(),c.indexOf(":")>=0&&c.split(":").length>2)return!1}h=v.join("@"),p=null,y=null;var g=h.match(u);return g?(d="",y=g[1],p=g[2]||null):(v=h.split(":"),d=v.shift(),v.length&&(p=v.join(":"))),!(null!==p&&(f=parseInt(p,10),!/^[0-9]+$/.test(p)||f<=0||f>65535))&&(!!((0,r.default)(d)||(0,i.default)(d,e)||y&&(0,r.default)(y,6))&&(d=d||y,!(e.host_whitelist&&!l(d,e.host_whitelist))&&(!e.host_blacklist||!l(d,e.host_blacklist))))}t.exports=e.default,t.exports.default=e.default})),To=Ji(Co),Do=function(t,e){void 0===e&&(e={}),u(t)&&(t="");var n=D({},e);return Array.isArray(t)?t.every((function(t){return To(t,n)})):To(t,n)},Mo={validate:Do},Ao=Object.freeze({after:Si,alpha_dash:ji,alpha_num:Li,alpha_spaces:$i,alpha:Pi,before:Ui,between:Gi,confirmed:Qi,credit_card:or,date_between:cr,date_format:fr,decimal:yr,digits:mr,dimensions:xr,email:Ir,ext:Br,image:$r,included:jr,integer:Wr,length:eo,ip:qr,ip_or_fqdn:Gr,is_not:Qr,is:Zr,max:io,max_value:oo,mimes:so,min:co,min_value:ho,excluded:Rr,numeric:yo,regex:bo,required:_o,required_if:Oo,size:Eo,url:Mo}),Po=function(t){return Array.isArray(t)?t.reduce((function(t,e){return H(e,".")?t[e.split(".")[1]]=e:t[e]=e,t}),{}):t},Io=function(t,e){var n={pristine:function(t,e){return t&&e},dirty:function(t,e){return t||e},touched:function(t,e){return t||e},untouched:function(t,e){return t&&e},valid:function(t,e){return t&&e},invalid:function(t,e){return t||e},pending:function(t,e){return t||e},required:function(t,e){return t||e},validated:function(t,e){return t&&e}};return Object.keys(n).reduce((function(i,r){return i[r]=n[r](t[r],e[r]),i}),{})},No=function(t,e){return void 0===e&&(e=!0),Object.keys(t).reduce((function(n,i){if(!n)return n=D({},t[i]),n;var r=0===i.indexOf("$");return e&&r?Io(No(t[i]),n):(!e&&r||(n=Io(n,t[i])),n)}),null)},jo=function(t){if(!t)return function(){return No(this.$validator.flags)};var e=Po(t);return Object.keys(e).reduce((function(t,n){var i=e[n];return t[n]=function(){if(this.$validator.flags[i])return this.$validator.flags[i];if("*"===e[n])return No(this.$validator.flags,!1);var t=i.indexOf(".");if(t<=0)return{};var r=i.split("."),o=r[0],a=r.slice(1);return o=this.$validator.flags["$"+o],a=a.join("."),"*"===a&&o?No(o):o&&o[a]?o[a]:{}},t}),{})},Fo=null,Ro=0,Lo={$__veeInject:!1,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver=Go()),this.$vnode.context.$_veeObserver}}},props:{vid:{type:[String,Number],default:function(){return Ro++,"_vee_"+Ro}},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return et().mode}},events:{type:Array,validate:function(){return!0},default:function(){var t=et().events;return"string"===typeof t?t.split("|"):t}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},persist:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return et().fastExit}},debounce:{type:Number,default:function(){return et().delay||0}},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1}},watch:{rules:{deep:!0,handler:function(t,e){this._needsValidation=!l(t,e)}}},data:function(){return{messages:[],value:void 0,initialized:!1,initialValue:void 0,flags:c(),failedRules:{},forceRequired:!1,isDeactivated:!1,id:null}},computed:{isValid:function(){return this.flags.valid},fieldDeps:function(){var t=this,e=m(this.rules);return Object.keys(e).filter(yt.isTargetRule).map((function(n){var i=e[n][0];return Xo(t,i),i}))},normalizedEvents:function(){var t=this,e=Ho(this),n=e.on;return bt(n||this.events||[]).map((function(e){return"input"===e?t._inputEventName:e}))},isRequired:function(){var t=m(this.rules),e=this.forceRequired,n=t.required||e;return this.flags.required=n,n},classes:function(){var t=this,e=et().classNames;return Object.keys(this.flags).reduce((function(n,i){var r=e&&e[i]||i;return u(t.flags[i])||r&&(n[r]=t.flags[i]),n}),{})}},render:function(t){var e=this;this.registerField();var n=Bo(this),i=this.$scopedSlots.default;if(!x(i))return t(this.tag,this.$slots.default);var r=i(n);return ot(r).forEach((function(t){Uo.call(e,t)})),this.slim?ft(t,r):t(this.tag,r)},beforeDestroy:function(){this.$_veeObserver.unsubscribe(this)},activated:function(){this.$_veeObserver.subscribe(this),this.isDeactivated=!1},deactivated:function(){this.$_veeObserver.unsubscribe(this),this.isDeactivated=!0},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(n){e.flags[n]=t[n]}))},syncValue:function(t){var e=zo(t);this.value=e,this.flags.changed=this.initialValue!==e},reset:function(){this.messages=[],this._pendingValidation=null,this.initialValue=this.value;var t=c();this.setFlags(t)},validate:function(){var t=this,e=[],n=arguments.length;while(n--)e[n]=arguments[n];return e.length>0&&this.syncValue(e[0]),this.validateSilent().then((function(e){return t.applyResult(e),e}))},validateSilent:function(){var t=this;return this.setFlags({pending:!0}),Fo.verify(this.value,this.rules,{name:this.name,values:qo(this),bails:this.bails}).then((function(e){return t.setFlags({pending:!1}),t.isRequired||t.setFlags({valid:e.valid,invalid:!e.valid}),e}))},applyResult:function(t){var e=t.errors,n=t.failedRules;this.messages=e,this.failedRules=D({},n),this.setFlags({valid:!e.length,changed:this.value!==this.initialValue,invalid:!!e.length,validated:!0})},registerField:function(){Fo||(Fo=At()||new Rt(null,{fastExit:et().fastExit})),Vo(this)}}};function Bo(t){return{errors:t.messages,flags:t.flags,classes:t.classes,valid:t.isValid,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];return t.validate.apply(t,e)},aria:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false"}}}function zo(t){return mt(t)?"file"===t.target.type?C(t.target.files):t.target.value:t}function $o(t,e){return!(t._ignoreImmediate||!t.immediate)||(t.value!==e.value||(!!t._needsValidation||!t.initialized&&void 0===e.value))}function Ho(t){var e=x(t.mode)?t.mode:Kt[t.mode];return e({errors:t.messages,value:t.value,flags:t.flags})}function Wo(t){this.initialized||(this.initialValue=t.value);var e=$o(this,t);this._needsValidation=!1,this.value=t.value,this._ignoreImmediate=!0,e&&this.validateSilent().then(this.immediate||this.flags.validated?this.applyResult:function(t){return t})}function Yo(t){var e=function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})},n=function(){t.setFlags({touched:!0,untouched:!1})},i=t.$veeHandler,r=Ho(t);return i&&t.$veeDebounce===t.debounce||(i=y((function(){t.$nextTick((function(){var e=t.validateSilent();t._pendingValidation=e,e.then((function(n){e===t._pendingValidation&&(t.applyResult(n),t._pendingValidation=null)}))}))}),r.debounce||t.debounce),t.$veeHandler=i,t.$veeDebounce=t.debounce),{onInput:e,onBlur:n,onValidate:i}}function Uo(t){var e=it(t);this._inputEventName=this._inputEventName||dt(t,e),Wo.call(this,e);var n=Yo(this),i=n.onInput,r=n.onBlur,o=n.onValidate;lt(t,this._inputEventName,i),lt(t,"blur",r),this.normalizedEvents.forEach((function(e){lt(t,e,o)})),this.initialized=!0}function qo(t){var e=t.$_veeObserver.refs;return t.fieldDeps.reduce((function(t,n){return e[n]?(t[n]=e[n].value,t):t}),{})}function Vo(t){u(t.id)&&t.id===t.vid&&(t.id=Ro,Ro++);var e=t.id,n=t.vid;t.isDeactivated||e===n&&t.$_veeObserver.refs[e]||(e!==n&&t.$_veeObserver.refs[e]===t&&t.$_veeObserver.unsubscribe({vid:e}),t.$_veeObserver.subscribe(t),t.id=n)}function Go(){return{refs:{},subscribe:function(t){this.refs[t.vid]=t},unsubscribe:function(t){delete this.refs[t.vid]}}}function Xo(t,e,n){void 0===n&&(n=!0);var i=t.$_veeObserver.refs;if(t._veeWatchers||(t._veeWatchers={}),!i[e]&&n)return t.$once("hook:mounted",(function(){Xo(t,e,!1)}));!x(t._veeWatchers[e])&&i[e]&&(t._veeWatchers[e]=i[e].$watch("value",(function(){t.flags.validated&&(t._needsValidation=!0,t.validate())})))}var Zo={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"};function Ko(t,e,n){var i=Zo[n];return[t,e][i]((function(t){return t}))}var Qo=0,Jo={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},slim:{type:Boolean,default:!1}},data:function(){return{vid:"obs_"+Qo++,refs:{},observers:[],persistedStore:{}}},computed:{ctx:function(){var t=this,e={errors:{},validate:function(e){var n=t.validate(e);return{then:function(t){return n.then((function(e){return e&&x(t)?Promise.resolve(t()):Promise.resolve(e)}))}}},reset:function(){return t.reset()}};return z(this.refs).concat(Object.keys(this.persistedStore).map((function(e){return{vid:e,flags:t.persistedStore[e].flags,messages:t.persistedStore[e].errors}})),this.observers).reduce((function(t,e){return Object.keys(Zo).forEach((function(n){var i=e.flags||e.ctx;t[n]=n in t?Ko(t[n],i[n],n):i[n]})),t.errors[e.vid]=e.messages||z(e.ctx.errors).reduce((function(t,e){return t.concat(e)}),[]),t}),e)}},created:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},activated:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},deactivated:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},beforeDestroy:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[];return x(e)&&(e=e(this.ctx)),this.slim?ft(t,e):t(this.tag,{on:this.$listeners,attrs:this.$attrs},e)},methods:{subscribe:function(t,e){var n;void 0===e&&(e="provider"),"observer"!==e?(this.refs=Object.assign({},this.refs,(n={},n[t.vid]=t,n)),t.persist&&this.persistedStore[t.vid]&&this.restoreProviderState(t)):this.observers.push(t)},unsubscribe:function(t,e){var n=t.vid;void 0===e&&(e="provider"),"provider"===e&&this.removeProvider(n);var i=I(this.observers,(function(t){return t.vid===n}));-1!==i&&this.observers.splice(i,1)},validate:function(t){void 0===t&&(t={silent:!1});var e=t.silent;return Promise.all(z(this.refs).map((function(t){return t[e?"validateSilent":"validate"]().then((function(t){return t.valid}))})).concat(this.observers.map((function(t){return t.validate({silent:e})})))).then((function(t){return t.every((function(t){return t}))}))},reset:function(){var t=this;return Object.keys(this.persistedStore).forEach((function(e){t.$delete(t.persistedStore,e)})),z(this.refs).concat(this.observers).forEach((function(t){return t.reset()}))},restoreProviderState:function(t){var e=this.persistedStore[t.vid];t.setFlags(e.flags),t.applyResult(e),this.$delete(this.persistedStore,t.vid)},removeProvider:function(t){var e,n=this.refs[t];n&&n.persist&&(this.persistedStore=D({},this.persistedStore,(e={},e[t]={flags:n.flags,errors:n.messages,failedRules:n.failedRules},e))),this.$delete(this.refs,t)}}};function ta(t,e){void 0===e&&(e=null);var n=x(t)?t.options:t;n.$__veeInject=!1;var i={name:(n.name||"AnonymousHoc")+"WithValidation",props:D({},Lo.props),data:Lo.data,computed:D({},Lo.computed),methods:D({},Lo.methods),$__veeInject:!1,beforeDestroy:Lo.beforeDestroy,inject:Lo.inject};e||(e=function(t){return t});var r=n.model&&n.model.event||"input";return i.render=function(t){var i;this.registerField();var o=Bo(this),a=D({},this.$listeners),s=it(this.$vnode);this._inputEventName=this._inputEventName||dt(this.$vnode,s),Wo.call(this,s);var u=Yo(this),c=u.onInput,l=u.onBlur,d=u.onValidate;st(a,r,c),st(a,"blur",l),this.normalizedEvents.forEach((function(t,e){st(a,t,d)}));var h=at(this.$vnode)||{prop:"value"},f=h.prop,p=D({},this.$attrs,(i={},i[f]=s.value,i),e(o));return t(n,{attrs:this.$attrs,props:p,on:a},ht(this.$slots,this.$vnode.context))},i}var ea="2.2.15";Object.keys(Ao).forEach((function(t){Rt.extend(t,Ao[t].validate,D({},Ao[t].options,{paramNames:Ao[t].paramNames}))})),Rt.localize({en:oe});Qt.install;Qt.version=ea,Qt.mapFields=jo,Qt.ValidationProvider=Lo,Qt.ValidationObserver=Jo,Qt.withValidation=ta,e["a"]=Qt},"7e90":function(t,e,n){var i=n("d9f6"),r=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);var n,a=o(e),s=a.length,u=0;while(s>u)i.f(t,n=a[u++],e[n]);return t}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var i=n("86cc").f,r=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in r||n("9e1e")&&i(r,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},8079:function(t,e,n){var i=n("7726"),r=n("1991").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,u="process"==n("2d95")(a);t.exports=function(){var t,e,n,c=function(){var i,r;u&&(i=a.domain)&&i.exit();while(t){r=t.fn,t=t.next;try{r()}catch(o){throw t?n():e=void 0,o}}e=void 0,i&&i.enter()};if(u)n=function(){a.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(i,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"83b9":function(t,e,n){"use strict";var i=n("d925"),r=n("e683");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var i=n("5ca1"),r=n("504c")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8df4":function(t,e,n){"use strict";var i=n("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var i=n("a159"),r=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var i=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==i(t)}},9138:function(t,e,n){t.exports=n("35e8")},9427:function(t,e,n){var i=n("63b6");i(i.S,"Object",{create:n("a159")})},"9a63":function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},u="prototype",c=function(){var t,e=n("1ec9")("iframe"),i=o.length,r="<",a=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),c=t.F;while(i--)delete c[u][o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=i(t),n=new s,s[u]=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},a190:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Em}));var i=n("c540"),r="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{}; +/** + * vis-network + * https://visjs.github.io/vis-network/ + * + * A dynamic, browser-based visualization library. + * + * @version 7.10.2 + * @date 2020-07-25T19:58:51.154Z + * + * @copyright (c) 2011-2017 Almende B.V, http://almende.com + * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs + * + * @license + * vis.js is dual licensed under both + * + * 1. The Apache 2.0 License + * http://www.apache.org/licenses/LICENSE-2.0 + * + * and + * + * 2. The MIT License + * http://opensource.org/licenses/MIT + * + * vis.js may be distributed under either license. + */function o(t,e,n){return n={path:e,exports:{},require:function(t,e){return s(t,void 0===e||null===e?n.path:e)}},t(n,n.exports),n.exports}function a(t){return t&&t["default"]||t}function s(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var u=function(t){return t&&t.Math==Math&&t},c=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof r&&r)||Function("return this")(),l=function(t){try{return!!t()}catch(e){return!0}},d=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,p=f&&!h.call({1:2},1),v=p?function(t){var e=f(this,t);return!!e&&e.enumerable}:h,y={f:v},g=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},m={}.toString,b=function(t){return m.call(t).slice(8,-1)},w="".split,_=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==b(t)?w.call(t,""):Object(t)}:Object,x=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},k=function(t){return _(x(t))},O=function(t){return"object"===typeof t?null!==t:"function"===typeof t},S=function(t,e){if(!O(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!O(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!O(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!O(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,C=function(t,e){return E.call(t,e)},T=c.document,D=O(T)&&O(T.createElement),M=function(t){return D?T.createElement(t):{}},A=!d&&!l((function(){return 7!=Object.defineProperty(M("div"),"a",{get:function(){return 7}}).a})),P=Object.getOwnPropertyDescriptor,I=d?P:function(t,e){if(t=k(t),e=S(e,!0),A)try{return P(t,e)}catch(n){}if(C(t,e))return g(!y.f.call(t,e),t[e])},N={f:I},j=/#|\.prototype\./,F=function(t,e){var n=L[R(t)];return n==z||n!=B&&("function"==typeof e?l(e):!!e)},R=F.normalize=function(t){return String(t).replace(j,".").toLowerCase()},L=F.data={},B=F.NATIVE="N",z=F.POLYFILL="P",$=F,H={},W=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Y=function(t,e,n){if(W(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}},U=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},q=Object.defineProperty,V=d?q:function(t,e,n){if(U(t),e=S(e,!0),U(n),A)try{return q(t,e,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t},G={f:V},X=d?function(t,e,n){return G.f(t,e,g(1,n))}:function(t,e,n){return t[e]=n,t},Z=N.f,K=function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},Q=function(t,e){var n,i,r,o,a,s,u,l,d,h=t.target,f=t.global,p=t.stat,v=t.proto,y=f?c:p?c[h]:(c[h]||{}).prototype,g=f?H:H[h]||(H[h]={}),m=g.prototype;for(o in e)n=$(f?o:h+(p?".":"#")+o,t.forced),i=!n&&y&&C(y,o),s=g[o],i&&(t.noTargetGet?(d=Z(y,o),u=d&&d.value):u=y[o]),a=i&&u?u:e[o],i&&typeof s===typeof a||(l=t.bind&&i?Y(a,c):t.wrap&&i?K(a):v&&"function"==typeof a?Y(Function.call,a):a,(t.sham||a&&a.sham||s&&s.sham)&&X(l,"sham",!0),g[o]=l,v&&(r=h+"Prototype",C(H,r)||X(H,r,{}),H[r][o]=a,t.real&&m&&!m[o]&&X(m,o,a)))},J=[].slice,tt={},et=function(t,e,n){if(!(e in tt)){for(var i=[],r=0;r0?lt:ct)(t)},ht=Math.min,ft=function(t){return t>0?ht(dt(t),9007199254740991):0},pt=Math.max,vt=Math.min,yt=function(t,e){var n=dt(t);return n<0?pt(n+e,0):vt(n,e)},gt=function(t){return function(e,n,i){var r,o=k(e),a=ft(o.length),s=yt(i,a);if(t&&n!=n){while(a>s)if(r=o[s++],r!=r)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},mt={includes:gt(!0),indexOf:gt(!1)},bt={},wt=mt.indexOf,_t=function(t,e){var n,i=k(t),r=0,o=[];for(n in i)!C(bt,n)&&C(i,n)&&o.push(n);while(e.length>r)C(i,n=e[r++])&&(~wt(o,n)||o.push(n));return o},xt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kt=Object.keys||function(t){return _t(t,xt)},Ot=Object.getOwnPropertySymbols,St={f:Ot},Et=function(t){return Object(x(t))},Ct=Object.assign,Tt=Object.defineProperty,Dt=!Ct||l((function(){if(d&&1!==Ct({b:1},Ct(Tt({},"a",{enumerable:!0,get:function(){Tt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=Ct({},t)[n]||kt(Ct({},e)).join("")!=i}))?function(t,e){var n=Et(t),i=arguments.length,r=1,o=St.f,a=y.f;while(i>r){var s,u=_(arguments[r++]),c=o?kt(u).concat(o(u)):kt(u),l=c.length,h=0;while(l>h)s=c[h++],d&&!a.call(u,s)||(n[s]=u[s])}return n}:Ct;Q({target:"Object",stat:!0,forced:Object.assign!==Dt},{assign:Dt});var Mt=H.Object.assign,At=Mt,Pt=At;function It(t,e,n,i){t.beginPath(),t.arc(e,n,i,0,2*Math.PI,!1),t.closePath()}function Nt(t,e,n,i){t.beginPath(),t.rect(e-i,n-i,2*i,2*i),t.closePath()}function jt(t,e,n,i){t.beginPath(),i*=1.15,n+=.275*i;var r=2*i,o=r/2,a=Math.sqrt(3)/6*r,s=Math.sqrt(r*r-o*o);t.moveTo(e,n-(s-a)),t.lineTo(e+o,n+a),t.lineTo(e-o,n+a),t.lineTo(e,n-(s-a)),t.closePath()}function Ft(t,e,n,i){t.beginPath(),i*=1.15,n-=.275*i;var r=2*i,o=r/2,a=Math.sqrt(3)/6*r,s=Math.sqrt(r*r-o*o);t.moveTo(e,n+(s-a)),t.lineTo(e+o,n-a),t.lineTo(e-o,n-a),t.lineTo(e,n+(s-a)),t.closePath()}function Rt(t,e,n,i){t.beginPath(),i*=.82,n+=.1*i;for(var r=0;r<10;r++){var o=r%2===0?1.3*i:.5*i;t.lineTo(e+o*Math.sin(2*r*Math.PI/10),n-o*Math.cos(2*r*Math.PI/10))}t.closePath()}function Lt(t,e,n,i){t.beginPath(),t.lineTo(e,n+i),t.lineTo(e+i,n),t.lineTo(e,n-i),t.lineTo(e-i,n),t.closePath()}function Bt(t,e,n,i,r,o){var a=Math.PI/180;i-2*o<0&&(o=i/2),r-2*o<0&&(o=r/2),t.beginPath(),t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.arc(e+i-o,n+o,o,270*a,360*a,!1),t.lineTo(e+i,n+r-o),t.arc(e+i-o,n+r-o,o,0,90*a,!1),t.lineTo(e+o,n+r),t.arc(e+o,n+r-o,o,90*a,180*a,!1),t.lineTo(e,n+o),t.arc(e+o,n+o,o,180*a,270*a,!1),t.closePath()}function zt(t,e,n,i,r){var o=.5522848,a=i/2*o,s=r/2*o,u=e+i,c=n+r,l=e+i/2,d=n+r/2;t.beginPath(),t.moveTo(e,d),t.bezierCurveTo(e,d-s,l-a,n,l,n),t.bezierCurveTo(l+a,n,u,d-s,u,d),t.bezierCurveTo(u,d+s,l+a,c,l,c),t.bezierCurveTo(l-a,c,e,d+s,e,d),t.closePath()}function $t(t,e,n,i,r){var o=1/3,a=i,s=r*o,u=.5522848,c=a/2*u,l=s/2*u,d=e+a,h=n+s,f=e+a/2,p=n+s/2,v=n+(r-s/2),y=n+r;t.beginPath(),t.moveTo(d,p),t.bezierCurveTo(d,p+l,f+c,h,f,h),t.bezierCurveTo(f-c,h,e,p+l,e,p),t.bezierCurveTo(e,p-l,f-c,n,f,n),t.bezierCurveTo(f+c,n,d,p-l,d,p),t.lineTo(d,v),t.bezierCurveTo(d,v+l,f+c,y,f,y),t.bezierCurveTo(f-c,y,e,v+l,e,v),t.lineTo(e,p)}function Ht(t,e,n,i,r,o){t.beginPath(),t.moveTo(e,n);var a=o.length,s=i-e,u=r-n,c=u/s,l=Math.sqrt(s*s+u*u),d=0,h=!0,f=0,p=+o[0];while(l>=.1)p=+o[d++%a],p>l&&(p=l),f=Math.sqrt(p*p/(1+c*c)),f=s<0?-f:f,e+=f,n+=c*f,!0===h?t.lineTo(e,n):t.moveTo(e,n),l-=p,h=!h}function Wt(t,e,n,i){t.beginPath();var r=6,o=2*Math.PI/r;t.moveTo(e+i,n);for(var a=1;a1?n-1:0),r=1;ro)G.f(t,n=i[o++],e[n]);return t};Q({target:"Object",stat:!0,forced:!d,sham:!d},{defineProperties:Zt});var Kt=o((function(t){var e=H.Object,n=t.exports=function(t,n){return e.defineProperties(t,n)};e.defineProperties.sham&&(n.sham=!0)})),Qt=Kt,Jt=Qt,te=function(t){return"function"==typeof t?t:void 0},ee=function(t,e){return arguments.length<2?te(H[t])||te(c[t]):H[t]&&H[t][e]||c[t]&&c[t][e]},ne=xt.concat("length","prototype"),ie=Object.getOwnPropertyNames||function(t){return _t(t,ne)},re={f:ie},oe=ee("Reflect","ownKeys")||function(t){var e=re.f(U(t)),n=St.f;return n?e.concat(n(t)):e},ae=function(t,e,n){var i=S(e);i in t?G.f(t,i,g(0,n)):t[i]=n};Q({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function(t){var e,n,i=k(t),r=N.f,o=oe(i),a={},s=0;while(o.length>s)n=r(i,e=o[s++]),void 0!==n&&ae(a,e,n);return a}});var se=H.Object.getOwnPropertyDescriptors,ue=se,ce=ue,le=N.f,de=l((function(){le(1)})),he=!d||de;Q({target:"Object",stat:!0,forced:he,sham:!d},{getOwnPropertyDescriptor:function(t,e){return le(k(t),e)}});var fe,pe=o((function(t){var e=H.Object,n=t.exports=function(t,n){return e.getOwnPropertyDescriptor(t,n)};e.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),ve=pe,ye=ve,ge=!!Object.getOwnPropertySymbols&&!l((function(){return!String(Symbol())})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=Array.isArray||function(t){return"Array"==b(t)},we=ee("document","documentElement"),_e=function(t,e){try{X(c,t,e)}catch(n){c[t]=e}return e},xe="__core-js_shared__",ke=c[xe]||_e(xe,{}),Oe=ke,Se=o((function(t){(t.exports=function(t,e){return Oe[t]||(Oe[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),Ee=0,Ce=Math.random(),Te=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Ee+Ce).toString(36)},De=Se("keys"),Me=function(t){return De[t]||(De[t]=Te(t))},Ae=">",Pe="<",Ie="prototype",Ne="script",je=Me("IE_PROTO"),Fe=function(){},Re=function(t){return Pe+Ne+Ae+t+Pe+"/"+Ne+Ae},Le=function(t){t.write(Re("")),t.close();var e=t.parentWindow.Object;return t=null,e},Be=function(){var t,e=M("iframe"),n="java"+Ne+":";return e.style.display="none",we.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(Re("document.F=Object")),t.close(),t.F},ze=function(){try{fe=document.domain&&new ActiveXObject("htmlfile")}catch(e){}ze=fe?Le(fe):Be();var t=xt.length;while(t--)delete ze[Ie][xt[t]];return ze()};bt[je]=!0;var $e=Object.create||function(t,e){var n;return null!==t?(Fe[Ie]=U(t),n=new Fe,Fe[Ie]=null,n[je]=t):n=ze(),void 0===e?n:Zt(n,e)},He=re.f,We={}.toString,Ye="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ue=function(t){try{return He(t)}catch(e){return Ye.slice()}},qe=function(t){return Ye&&"[object Window]"==We.call(t)?Ue(t):He(k(t))},Ve={f:qe},Ge=function(t,e,n,i){i&&i.enumerable?t[e]=n:X(t,e,n)},Xe=Se("wks"),Ze=c.Symbol,Ke=me?Ze:Ze&&Ze.withoutSetter||Te,Qe=function(t){return C(Xe,t)||(ge&&C(Ze,t)?Xe[t]=Ze[t]:Xe[t]=Ke("Symbol."+t)),Xe[t]},Je=Qe,tn={f:Je},en=G.f,nn=function(t){var e=H.Symbol||(H.Symbol={});C(e,t)||en(e,t,{value:tn.f(t)})},rn=Qe("toStringTag"),on={};on[rn]="z";var an="[object z]"===String(on),sn=Qe("toStringTag"),un="Arguments"==b(function(){return arguments}()),cn=function(t,e){try{return t[e]}catch(n){}},ln=an?b:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=cn(e=Object(t),sn))?n:un?b(e):"Object"==(i=b(e))&&"function"==typeof e.callee?"Arguments":i},dn=an?{}.toString:function(){return"[object "+ln(this)+"]"},hn=G.f,fn=Qe("toStringTag"),pn=function(t,e,n,i){if(t){var r=n?t:t.prototype;C(r,fn)||hn(r,fn,{configurable:!0,value:e}),i&&!an&&X(r,"toString",dn)}},vn=Function.toString;"function"!=typeof Oe.inspectSource&&(Oe.inspectSource=function(t){return vn.call(t)});var yn,gn,mn,bn=Oe.inspectSource,wn=c.WeakMap,_n="function"===typeof wn&&/native code/.test(bn(wn)),xn=c.WeakMap,kn=function(t){return mn(t)?gn(t):yn(t,{})},On=function(t){return function(e){var n;if(!O(e)||(n=gn(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(_n){var Sn=new xn,En=Sn.get,Cn=Sn.has,Tn=Sn.set;yn=function(t,e){return Tn.call(Sn,t,e),e},gn=function(t){return En.call(Sn,t)||{}},mn=function(t){return Cn.call(Sn,t)}}else{var Dn=Me("state");bt[Dn]=!0,yn=function(t,e){return X(t,Dn,e),e},gn=function(t){return C(t,Dn)?t[Dn]:{}},mn=function(t){return C(t,Dn)}}var Mn={set:yn,get:gn,has:mn,enforce:kn,getterFor:On},An=Qe("species"),Pn=function(t,e){var n;return be(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!be(n.prototype)?O(n)&&(n=n[An],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},In=[].push,Nn=function(t){var e=1==t,n=2==t,i=3==t,r=4==t,o=6==t,a=5==t||o;return function(s,u,c,l){for(var d,h,f=Et(s),p=_(f),v=Y(u,c,3),y=ft(p.length),g=0,m=l||Pn,b=e?m(s,y):n?m(s,0):void 0;y>g;g++)if((a||g in p)&&(d=p[g],h=v(d,g,f),t))if(e)b[g]=h;else if(h)switch(t){case 3:return!0;case 5:return d;case 6:return g;case 2:In.call(b,d)}else if(r)return!1;return o?-1:i||r?r:b}},jn={forEach:Nn(0),map:Nn(1),filter:Nn(2),some:Nn(3),every:Nn(4),find:Nn(5),findIndex:Nn(6)},Fn=jn.forEach,Rn=Me("hidden"),Ln="Symbol",Bn="prototype",zn=Qe("toPrimitive"),$n=Mn.set,Hn=Mn.getterFor(Ln),Wn=Object[Bn],Yn=c.Symbol,Un=ee("JSON","stringify"),qn=N.f,Vn=G.f,Gn=Ve.f,Xn=y.f,Zn=Se("symbols"),Kn=Se("op-symbols"),Qn=Se("string-to-symbol-registry"),Jn=Se("symbol-to-string-registry"),ti=Se("wks"),ei=c.QObject,ni=!ei||!ei[Bn]||!ei[Bn].findChild,ii=d&&l((function(){return 7!=$e(Vn({},"a",{get:function(){return Vn(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=qn(Wn,e);i&&delete Wn[e],Vn(t,e,n),i&&t!==Wn&&Vn(Wn,e,i)}:Vn,ri=function(t,e){var n=Zn[t]=$e(Yn[Bn]);return $n(n,{type:Ln,tag:t,description:e}),d||(n.description=e),n},oi=me?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Yn},ai=function(t,e,n){t===Wn&&ai(Kn,e,n),U(t);var i=S(e,!0);return U(n),C(Zn,i)?(n.enumerable?(C(t,Rn)&&t[Rn][i]&&(t[Rn][i]=!1),n=$e(n,{enumerable:g(0,!1)})):(C(t,Rn)||Vn(t,Rn,g(1,{})),t[Rn][i]=!0),ii(t,i,n)):Vn(t,i,n)},si=function(t,e){U(t);var n=k(e),i=kt(n).concat(hi(n));return Fn(i,(function(e){d&&!ci.call(n,e)||ai(t,e,n[e])})),t},ui=function(t,e){return void 0===e?$e(t):si($e(t),e)},ci=function(t){var e=S(t,!0),n=Xn.call(this,e);return!(this===Wn&&C(Zn,e)&&!C(Kn,e))&&(!(n||!C(this,e)||!C(Zn,e)||C(this,Rn)&&this[Rn][e])||n)},li=function(t,e){var n=k(t),i=S(e,!0);if(n!==Wn||!C(Zn,i)||C(Kn,i)){var r=qn(n,i);return!r||!C(Zn,i)||C(n,Rn)&&n[Rn][i]||(r.enumerable=!0),r}},di=function(t){var e=Gn(k(t)),n=[];return Fn(e,(function(t){C(Zn,t)||C(bt,t)||n.push(t)})),n},hi=function(t){var e=t===Wn,n=Gn(e?Kn:k(t)),i=[];return Fn(n,(function(t){!C(Zn,t)||e&&!C(Wn,t)||i.push(Zn[t])})),i};if(ge||(Yn=function(){if(this instanceof Yn)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=Te(t),n=function(t){this===Wn&&n.call(Kn,t),C(this,Rn)&&C(this[Rn],e)&&(this[Rn][e]=!1),ii(this,e,g(1,t))};return d&&ni&&ii(Wn,e,{configurable:!0,set:n}),ri(e,t)},Ge(Yn[Bn],"toString",(function(){return Hn(this).tag})),Ge(Yn,"withoutSetter",(function(t){return ri(Te(t),t)})),y.f=ci,G.f=ai,N.f=li,re.f=Ve.f=di,St.f=hi,tn.f=function(t){return ri(Qe(t),t)},d&&Vn(Yn[Bn],"description",{configurable:!0,get:function(){return Hn(this).description}})),Q({global:!0,wrap:!0,forced:!ge,sham:!ge},{Symbol:Yn}),Fn(kt(ti),(function(t){nn(t)})),Q({target:Ln,stat:!0,forced:!ge},{for:function(t){var e=String(t);if(C(Qn,e))return Qn[e];var n=Yn(e);return Qn[e]=n,Jn[n]=e,n},keyFor:function(t){if(!oi(t))throw TypeError(t+" is not a symbol");if(C(Jn,t))return Jn[t]},useSetter:function(){ni=!0},useSimple:function(){ni=!1}}),Q({target:"Object",stat:!0,forced:!ge,sham:!d},{create:ui,defineProperty:ai,defineProperties:si,getOwnPropertyDescriptor:li}),Q({target:"Object",stat:!0,forced:!ge},{getOwnPropertyNames:di,getOwnPropertySymbols:hi}),Q({target:"Object",stat:!0,forced:l((function(){St.f(1)}))},{getOwnPropertySymbols:function(t){return St.f(Et(t))}}),Un){var fi=!ge||l((function(){var t=Yn();return"[null]"!=Un([t])||"{}"!=Un({a:t})||"{}"!=Un(Object(t))}));Q({target:"JSON",stat:!0,forced:fi},{stringify:function(t,e,n){var i,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(i=e,(O(e)||void 0!==t)&&!oi(t))return be(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!oi(e))return e}),r[1]=e,Un.apply(null,r)}})}Yn[Bn][zn]||X(Yn[Bn],zn,Yn[Bn].valueOf),pn(Yn,Ln),bt[Rn]=!0;var pi,vi,yi,gi=H.Object.getOwnPropertySymbols,mi=gi,bi=mi,wi={},_i=!l((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),xi=Me("IE_PROTO"),ki=Object.prototype,Oi=_i?Object.getPrototypeOf:function(t){return t=Et(t),C(t,xi)?t[xi]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?ki:null},Si=(Qe("iterator"),!1);[].keys&&(yi=[].keys(),"next"in yi?(vi=Oi(Oi(yi)),vi!==Object.prototype&&(pi=vi)):Si=!0),void 0==pi&&(pi={});var Ei={IteratorPrototype:pi,BUGGY_SAFARI_ITERATORS:Si},Ci=Ei.IteratorPrototype,Ti=function(){return this},Di=function(t,e,n){var i=e+" Iterator";return t.prototype=$e(Ci,{next:g(1,n)}),pn(t,i,!1,!0),wi[i]=Ti,t},Mi=function(t){if(!O(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Ai=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return U(n),Mi(i),e?t.call(n,i):n.__proto__=i,n}}():void 0),Pi=Ei.IteratorPrototype,Ii=Ei.BUGGY_SAFARI_ITERATORS,Ni=Qe("iterator"),ji="keys",Fi="values",Ri="entries",Li=function(){return this},Bi=function(t,e,n,i,r,o,a){Di(n,e,i);var s,u,c,l=function(t){if(t===r&&v)return v;if(!Ii&&t in f)return f[t];switch(t){case ji:return function(){return new n(this,t)};case Fi:return function(){return new n(this,t)};case Ri:return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",h=!1,f=t.prototype,p=f[Ni]||f["@@iterator"]||r&&f[r],v=!Ii&&p||l(r),y="Array"==e&&f.entries||p;if(y&&(s=Oi(y.call(new t)),Pi!==Object.prototype&&s.next&&(pn(s,d,!0,!0),wi[d]=Li)),r==Fi&&p&&p.name!==Fi&&(h=!0,v=function(){return p.call(this)}),a&&f[Ni]!==v&&X(f,Ni,v),wi[e]=v,r)if(u={values:l(Fi),keys:o?v:l(ji),entries:l(Ri)},a)for(c in u)(Ii||h||!(c in f))&&Ge(f,c,u[c]);else Q({target:e,proto:!0,forced:Ii||h},u);return u},zi="Array Iterator",$i=Mn.set,Hi=Mn.getterFor(zi);Bi(Array,"Array",(function(t,e){$i(this,{type:zi,target:k(t),index:0,kind:e})}),(function(){var t=Hi(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");wi.Arguments=wi.Array;var Wi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Yi=Qe("toStringTag");for(var Ui in Wi){var qi=c[Ui],Vi=qi&&qi.prototype;Vi&&ln(Vi)!==Yi&&X(Vi,Yi,Ui),wi[Ui]=wi.Array}var Gi=function(t){return function(e,n){var i,r,o=String(x(e)),a=dt(n),s=o.length;return a<0||a>=s?t?"":void 0:(i=o.charCodeAt(a),i<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?t?o.charAt(a):i:t?o.slice(a,a+2):r-56320+(i-55296<<10)+65536)}},Xi={codeAt:Gi(!1),charAt:Gi(!0)},Zi=Xi.charAt,Ki="String Iterator",Qi=Mn.set,Ji=Mn.getterFor(Ki);Bi(String,"String",(function(t){Qi(this,{type:Ki,string:String(t),index:0})}),(function(){var t,e=Ji(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=Zi(n,i),e.index+=t.length,{value:t,done:!1})}));var tr=Qe("iterator"),er=function(t){if(void 0!=t)return t[tr]||t["@@iterator"]||wi[ln(t)]},nr=function(t){var e=er(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return U(e.call(t))},ir=nr,rr=ir,or=er,ar=or,sr=function(t,e,n,i){try{return i?e(U(n)[0],n[1]):e(n)}catch(o){var r=t["return"];throw void 0!==r&&U(r.call(t)),o}},ur=Qe("iterator"),cr=Array.prototype,lr=function(t){return void 0!==t&&(wi.Array===t||cr[ur]===t)},dr=function(t){var e,n,i,r,o,a,s=Et(t),u="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,d=void 0!==l,h=er(s),f=0;if(d&&(l=Y(l,c>2?arguments[2]:void 0,2)),void 0==h||u==Array&&lr(h))for(e=ft(s.length),n=new u(e);e>f;f++)a=d?l(s[f],f):s[f],ae(n,f,a);else for(r=h.call(s),o=r.next,n=new u;!(i=o.call(r)).done;f++)a=d?sr(r,l,[i.value,f],!0):i.value,ae(n,f,a);return n.length=f,n},hr=Qe("iterator"),fr=!1;try{var pr=0,vr={next:function(){return{done:!!pr++}},return:function(){fr=!0}};vr[hr]=function(){return this},Array.from(vr,(function(){throw 2}))}catch(Cm){}var yr=function(t,e){if(!e&&!fr)return!1;var n=!1;try{var i={};i[hr]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(Cm){}return n},gr=!yr((function(t){Array.from(t)}));Q({target:"Array",stat:!0,forced:gr},{from:dr});var mr=H.Array.from,br=mr,wr=br;Q({target:"Object",stat:!0,sham:!d},{create:$e});var _r=H.Object,xr=function(t,e){return _r.create(t,e)},kr=xr,Or=kr,Sr=Vt,Er=Sr;function Cr(t,e,n){return e in t?Er(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tr=Cr,Dr="\t\n\v\f\r                 \u2028\u2029\ufeff",Mr="["+Dr+"]",Ar=RegExp("^"+Mr+Mr+"*"),Pr=RegExp(Mr+Mr+"*$"),Ir=function(t){return function(e){var n=String(x(e));return 1&t&&(n=n.replace(Ar,"")),2&t&&(n=n.replace(Pr,"")),n}},Nr={start:Ir(1),end:Ir(2),trim:Ir(3)},jr="​…᠎",Fr=function(t){return l((function(){return!!Dr[t]()||jr[t]()!=jr||Dr[t].name!==t}))},Rr=Nr.trim;Q({target:"String",proto:!0,forced:Fr("trim")},{trim:function(){return Rr(this)}});it("String").trim;var Lr=function(t,e){var n=[][t];return!!n&&l((function(){n.call(null,e||function(){throw 1},1)}))},Br=Object.defineProperty,zr={},$r=function(t){throw t},Hr=function(t,e){if(C(zr,t))return zr[t];e||(e={});var n=[][t],i=!!C(e,"ACCESSORS")&&e.ACCESSORS,r=C(e,0)?e[0]:$r,o=C(e,1)?e[1]:void 0;return zr[t]=!!n&&!l((function(){if(i&&!d)return!0;var t={length:-1};i?Br(t,1,{enumerable:!0,get:$r}):t[1]=1,n.call(t,r,o)}))},Wr=jn.forEach,Yr=Lr("forEach"),Ur=Hr("forEach"),qr=Yr&&Ur?[].forEach:function(t){return Wr(this,t,arguments.length>1?arguments[1]:void 0)};Q({target:"Array",proto:!0,forced:[].forEach!=qr},{forEach:qr});var Vr=it("Array").forEach,Gr=Vr,Xr=Array.prototype,Zr={DOMTokenList:!0,NodeList:!0},Kr=function(t){var e=t.forEach;return t===Xr||t instanceof Array&&e===Xr.forEach||Zr.hasOwnProperty(ln(t))?Gr:e},Qr=Kr,Jr=Nr.trim,to=c.parseInt,eo=/^[+-]?0[Xx]/,no=8!==to(Dr+"08")||22!==to(Dr+"0x16"),io=no?function(t,e){var n=Jr(String(t));return to(n,e>>>0||(eo.test(n)?16:10))}:to;Q({global:!0,forced:parseInt!=io},{parseInt:io});var ro=H.parseInt,oo=ro,ao=oo,so=y.f,uo=function(t){return function(e){var n,i=k(e),r=kt(i),o=r.length,a=0,s=[];while(o>a)n=r[a++],d&&!so.call(i,n)||s.push(t?[n,i[n]]:i[n]);return s}},co={entries:uo(!0),values:uo(!1)},lo=co.values;Q({target:"Object",stat:!0},{values:function(t){return lo(t)}});H.Object.values;var ho,fo,po=ee("navigator","userAgent")||"",vo=c.process,yo=vo&&vo.versions,go=yo&&yo.v8;go?(ho=go.split("."),fo=ho[0]+ho[1]):po&&(ho=po.match(/Edge\/(\d+)/),(!ho||ho[1]>=74)&&(ho=po.match(/Chrome\/(\d+)/),ho&&(fo=ho[1])));var mo=fo&&+fo,bo=Qe("species"),wo=function(t){return mo>=51||!l((function(){var e=[],n=e.constructor={};return n[bo]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},_o=jn.filter,xo=wo("filter"),ko=Hr("filter");Q({target:"Array",proto:!0,forced:!xo||!ko},{filter:function(t){return _o(this,t,arguments.length>1?arguments[1]:void 0)}});var Oo=it("Array").filter,So=Array.prototype,Eo=function(t){var e=t.filter;return t===So||t instanceof Array&&e===So.filter?Oo:e},Co=Eo,To=Co,Do=l((function(){Oi(1)}));Q({target:"Object",stat:!0,forced:Do,sham:!_i},{getPrototypeOf:function(t){return Oi(Et(t))}});var Mo=H.Object.getPrototypeOf,Ao=Mo,Po=Ao,Io=mt.indexOf,No=[].indexOf,jo=!!No&&1/[1].indexOf(1,-0)<0,Fo=Lr("indexOf"),Ro=Hr("indexOf",{ACCESSORS:!0,1:0});Q({target:"Array",proto:!0,forced:jo||!Fo||!Ro},{indexOf:function(t){return jo?No.apply(this,arguments)||0:Io(this,t,arguments.length>1?arguments[1]:void 0)}});var Lo=it("Array").indexOf,Bo=Array.prototype,zo=function(t){var e=t.indexOf;return t===Bo||t instanceof Array&&e===Bo.indexOf?Lo:e},$o=zo,Ho=$o;Q({target:"Array",stat:!0},{isArray:be});var Wo=H.Array.isArray,Yo=Wo,Uo=Yo;function qo(t){if(Uo(t))return t}var Vo=qo,Go=Qe("iterator"),Xo=function(t){var e=Object(t);return void 0!==e[Go]||"@@iterator"in e||wi.hasOwnProperty(ln(e))},Zo=Xo,Ko=Zo,Qo=Qe("isConcatSpreadable"),Jo=9007199254740991,ta="Maximum allowed index exceeded",ea=mo>=51||!l((function(){var t=[];return t[Qo]=!1,t.concat()[0]!==t})),na=wo("concat"),ia=function(t){if(!O(t))return!1;var e=t[Qo];return void 0!==e?!!e:be(t)},ra=!ea||!na;Q({target:"Array",proto:!0,forced:ra},{concat:function(t){var e,n,i,r,o,a=Et(this),s=Pn(a,0),u=0;for(e=-1,i=arguments.length;eJo)throw TypeError(ta);for(n=0;n=Jo)throw TypeError(ta);ae(s,u++,o)}return s.length=u,s}});var oa=Object.freeze({__proto__:null});nn("asyncIterator");var aa=Object.freeze({__proto__:null});nn("hasInstance"),nn("isConcatSpreadable"),nn("iterator"),nn("match"),nn("matchAll"),nn("replace"),nn("search"),nn("species"),nn("split"),nn("toPrimitive"),nn("toStringTag"),nn("unscopables"),pn(Math,"Math",!0),pn(c.JSON,"JSON",!0),a(oa),a(aa);var sa=H.Symbol;nn("asyncDispose"),nn("dispose"),nn("observable"),nn("patternMatch"),nn("replaceAll");var ua=sa,ca=ua;function la(t,e){if("undefined"!==typeof ca&&Ko(Object(t))){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=rr(t);!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(u){r=!0,o=u}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}var da=la,ha=mr,fa=ha,pa=wo("slice"),va=Hr("slice",{ACCESSORS:!0,0:0,1:2}),ya=Qe("species"),ga=[].slice,ma=Math.max;Q({target:"Array",proto:!0,forced:!pa||!va},{slice:function(t,e){var n,i,r,o=k(this),a=ft(o.length),s=yt(t,a),u=yt(void 0===e?a:e,a);if(be(o)&&(n=o.constructor,"function"!=typeof n||n!==Array&&!be(n.prototype)?O(n)&&(n=n[ya],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return ga.call(o,s,u);for(i=new(void 0===n?Array:n)(ma(u-s,0)),r=0;st.length)&&(e=t.length);for(var n=0,i=new Array(e);n1?arguments[1]:void 0)}});var Ha=it("Array").map,Wa=Array.prototype,Ya=function(t){var e=t.map;return t===Wa||t instanceof Array&&e===Wa.map?Ha:e},Ua=Ya,qa=Ua,Va=Wo,Ga=Va,Xa=tn.f("iterator"),Za=Xa,Ka=Za,Qa=o((function(t){function e(n){return t.exports=e="function"===typeof ca&&"symbol"===typeof Ka?function(t){return typeof t}:function(t){return t&&"function"===typeof ca&&t.constructor===ca&&t!==ca.prototype?"symbol":typeof t},e(n)}t.exports=e}));Q({target:"Reflect",stat:!0},{ownKeys:oe});H.Reflect.ownKeys;var Ja=_a,ts=Ja;function es(t){if(Uo(t))return Sa(t)}var ns=es;function is(t){if("undefined"!==typeof ca&&Ko(Object(t)))return fa(t)}var rs=is;function os(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var as=os;function ss(t){return ns(t)||rs(t)||Ca(t)||as()}var us=ss,cs=it("Array").concat,ls=Array.prototype,ds=function(t){var e=t.concat;return t===ls||t instanceof Array&&e===ls.concat?cs:e},hs=ds,fs=hs,ps=sa,vs=ps;function ys(t,e){var n;if("undefined"===typeof vs||null==ar(t)){if(Ga(t)||(n=gs(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=rr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function gs(t,e){var n;if(t){if("string"===typeof t)return ms(t,e);var i=ts(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?wr(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ms(t,e):void 0}}function ms(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n>>0,r-=t,r*=t,t=r>>>0,r-=t,t+=4294967296*r}return 2.3283064365386963e-10*(t>>>0)}}var ks=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Os=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Ss=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,Es=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function Cs(t){if(t)while(!0===t.hasChildNodes()){var e=t.firstChild;e&&(Cs(e),t.removeChild(e))}}function Ts(t){return t instanceof String||"string"===typeof t}function Ds(t){return"object"===Qa(t)&&null!==t}function Ms(t,e,n,i){var r=!1;!0===i&&(r=null===e[n]&&void 0!==t[n]),r?delete t[n]:t[n]=e[n]}function As(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var i in t)if(void 0!==e[i])if(null===e[i]||"object"!==Qa(e[i]))Ms(t,e,i,n);else{var r=t[i],o=e[i];Ds(r)&&Ds(o)&&As(r,o,n)}}function Ps(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Ga(n))throw new TypeError("Arrays are not supported by deepExtend");for(var r=0;r3&&void 0!==arguments[3]&&arguments[3];if(Ga(n))throw new TypeError("Arrays are not supported by deepExtend");for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&-1===Ho(t).call(t,r))if(n[r]&&n[r].constructor===Object)void 0===e[r]&&(e[r]={}),e[r].constructor===Object?Ns(e[r],n[r]):Ms(e,n,r,i);else if(Ga(n[r])){e[r]=[];for(var o=0;o2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)||!0===n)if("object"===Qa(e[r])&&null!==e[r]&&Po(e[r])===Object.prototype)void 0===t[r]?t[r]=Ns({},e[r],n):"object"===Qa(t[r])&&null!==t[r]&&Po(t[r])===Object.prototype?Ns(t[r],e[r],n):Ms(t,e,r,i);else if(Ga(e[r])){var o;t[r]=ts(o=e[r]).call(o)}else Ms(t,e,r,i);return t}function js(t,e){var n;return fs(n=[]).call(n,us(t),[e])}function Fs(t){return ts(t).call(t)}function Rs(t){return t.getBoundingClientRect().left}function Ls(t){return t.getBoundingClientRect().top}function Bs(t,e){var n=t.className.split(" "),i=e.split(" ");n=fs(n).call(n,To(i).call(i,(function(t){return Ho(n).call(n,t)<0}))),t.className=n.join(" ")}function zs(t,e){var n=t.className.split(" "),i=e.split(" ");n=To(n).call(n,(function(t){return Ho(i).call(i,t)<0})),t.className=n.join(" ")}function $s(t,e){if(Ga(t))for(var n=t.length,i=0;i=0&&(e="DOMMouseScroll"),t.addEventListener(e,n,i)):t.attachEvent("on"+e,n)}function Ws(t,e,n,i){var r;t.removeEventListener?(void 0===i&&(i=!1),"mousewheel"===e&&Ho(r=navigator.userAgent).call(r,"Firefox")>=0&&(e="DOMMouseScroll"),t.removeEventListener(e,n,i)):t.detachEvent("on"+e,n)}function Ys(t){var e;switch(t.length){case 3:case 4:return e=Os.exec(t),e?{r:ao(e[1]+e[1],16),g:ao(e[2]+e[2],16),b:ao(e[3]+e[3],16)}:null;case 6:case 7:return e=ks.exec(t),e?{r:ao(e[1],16),g:ao(e[2],16),b:ao(e[3],16)}:null;default:return null}}function Us(t,e){if(-1!==Ho(t).call(t,"rgba"))return t;if(-1!==Ho(t).call(t,"rgb")){var n=t.substr(Ho(t).call(t,"(")+1).replace(")","").split(",");return"rgba("+n[0]+","+n[1]+","+n[2]+","+e+")"}var i=Ys(t);return null==i?t:"rgba("+i.r+","+i.g+","+i.b+","+e+")"}function qs(t,e,n){var i;return"#"+ts(i=((1<<24)+(t<<16)+(e<<8)+n).toString(16)).call(i,1)}function Vs(t,e){if(Ts(t)){var n=t;if(Js(n)){var i,r=qa(i=n.substr(4).substr(0,n.length-5).split(",")).call(i,(function(t){return ao(t)}));n=qs(r[0],r[1],r[2])}if(!0===Qs(n)){var o=Ks(n),a={h:o.h,s:.8*o.s,v:Math.min(1,1.02*o.v)},s={h:o.h,s:Math.min(1,1.25*o.s),v:.8*o.v},u=Zs(s.h,s.s,s.v),c=Zs(a.h,a.s,a.v);return{background:n,border:u,highlight:{background:c,border:u},hover:{background:c,border:u}}}return{background:n,border:n,highlight:{background:n,border:n},hover:{background:n,border:n}}}if(e){var l={background:t.background||e.background,border:t.border||e.border,highlight:Ts(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||e.highlight.background,border:t.highlight&&t.highlight.border||e.highlight.border},hover:Ts(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||e.hover.border,background:t.hover&&t.hover.background||e.hover.background}};return l}var d={background:t.background||void 0,border:t.border||void 0,highlight:Ts(t.highlight)?{border:t.highlight,background:t.highlight}:{background:t.highlight&&t.highlight.background||void 0,border:t.highlight&&t.highlight.border||void 0},hover:Ts(t.hover)?{border:t.hover,background:t.hover}:{border:t.hover&&t.hover.border||void 0,background:t.hover&&t.hover.background||void 0}};return d}function Gs(t,e,n){t/=255,e/=255,n/=255;var i=Math.min(t,Math.min(e,n)),r=Math.max(t,Math.max(e,n));if(i===r)return{h:0,s:0,v:i};var o=t===i?e-n:n===i?t-e:n-t,a=t===i?3:n===i?1:5,s=60*(a-o/(r-i))/360,u=(r-i)/r,c=r;return{h:s,s:u,v:c}}function Xs(t,e,n){var i,r,o,a=Math.floor(6*t),s=6*t-a,u=n*(1-e),c=n*(1-s*e),l=n*(1-(1-s)*e);switch(a%6){case 0:i=n,r=l,o=u;break;case 1:i=c,r=n,o=u;break;case 2:i=u,r=n,o=l;break;case 3:i=u,r=c,o=n;break;case 4:i=l,r=u,o=n;break;case 5:i=n,r=u,o=c;break}return{r:Math.floor(255*i),g:Math.floor(255*r),b:Math.floor(255*o)}}function Zs(t,e,n){var i=Xs(t,e,n);return qs(i.r,i.g,i.b)}function Ks(t){var e=Ys(t);if(!e)throw new TypeError("'".concat(t,"' is not a valid color."));return Gs(e.r,e.g,e.b)}function Qs(t){var e=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t);return e}function Js(t){return Ss.test(t)}function tu(t){return Es.test(t)}function eu(t){if(null===t||"object"!==Qa(t))return null;if(t instanceof Element)return t;var e=Or(t);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"object"==Qa(t[n])&&(e[n]=eu(t[n]));return e}function nu(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=function(t){return null!==t&&void 0!==t},o=function(t){return null!==t&&"object"===Qa(t)},a=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};if(!o(t))throw new Error("Parameter mergeTarget must be an object");if(!o(e))throw new Error("Parameter options must be an object");if(!r(n))throw new Error("Parameter option must have a value");if(!o(i))throw new Error("Parameter globalOptions must be an object");var s=function(t,e,n){o(t[n])||(t[n]={});var i=e[n],r=t[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},u=e[n],c=o(i)&&!a(i),l=c?i[n]:void 0,d=l?l.enabled:void 0;if(void 0!==u){if("boolean"===typeof u)return o(t[n])||(t[n]={}),void(t[n].enabled=u);if(null===u&&!o(t[n])){if(!r(l))return;t[n]=Or(l)}if(o(u)){var h=!0;void 0!==u.enabled?h=u.enabled:void 0!==d&&(h=l.enabled),s(t,e,n),t[n].enabled=h}}}var iu={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:(4-2*t)*t-1},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}};function ru(t,e){var n;Ga(e)||(e=[e]);var i,r=ys(t);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(o){n=o[e[0]];for(var a=1;acu)throw TypeError(lu);for(r=Pn(u,i),o=0;oc-i+n;o--)delete u[o-1]}else if(n>i)for(o=c-i;o>l;o--)a=o+i-1,s=o+n-1,a in u?u[s]=u[a]:delete u[s];for(o=0;o1?arguments[1]:void 0)}});var mu=it("Array").includes,bu=Qe("match"),wu=function(t){var e;return O(t)&&(void 0!==(e=t[bu])?!!e:"RegExp"==b(t))},_u=function(t){if(wu(t))throw TypeError("The method doesn't accept regular expressions");return t},xu=Qe("match"),ku=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[xu]=!1,"/./"[t](e)}catch(v){}}return!1};Q({target:"String",proto:!0,forced:!ku("includes")},{includes:function(t){return!!~String(x(this)).indexOf(_u(t),arguments.length>1?arguments[1]:void 0)}});var Ou=it("String").includes,Su=Array.prototype,Eu=String.prototype,Cu=function(t){var e=t.includes;return t===Su||t instanceof Array&&e===Su.includes?mu:"string"===typeof t||t===Eu||t instanceof String&&e===Eu.includes?Ou:e},Tu=Cu,Du=Tu;function Mu(t){return ju=t,Ku()}var Au={fontsize:"font.size",fontcolor:"font.color",labelfontcolor:"font.color",fontname:"font.face",color:["color.border","color.background"],fillcolor:"color.background",tooltip:"title",labeltooltip:"title"},Pu=Or(Au);Pu.color="color.color",Pu.style="dashes";var Iu={NULL:0,DELIMITER:1,IDENTIFIER:2,UNKNOWN:3},Nu={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},ju="",Fu=0,Ru="",Lu="",Bu=Iu.NULL;function zu(){Fu=0,Ru=ju.charAt(0)}function $u(){Fu++,Ru=ju.charAt(Fu)}function Hu(){return ju.charAt(Fu+1)}var Wu=/[a-zA-Z_0-9.:#]/;function Yu(t){return Wu.test(t)}function Uu(t,e){if(t||(t={}),e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function qu(t,e,n){var i=e.split("."),r=t;while(i.length){var o=i.shift();i.length?(r[o]||(r[o]={}),r=r[o]):r[o]=n}}function Vu(t,e){var n,i,r=null,o=[t],a=t;while(a.parent)o.push(a.parent),a=a.parent;if(a.nodes)for(n=0,i=a.nodes.length;n=0;n--){var s,u=o[n];u.nodes||(u.nodes=[]),-1===Ho(s=u.nodes).call(s,r)&&u.nodes.push(r)}e.attr&&(r.attr=Uu(r.attr,e.attr))}function Gu(t,e){if(t.edges||(t.edges=[]),t.edges.push(e),t.edge){var n=Uu({},t.edge);e.attr=Uu(n,e.attr)}}function Xu(t,e,n,i,r){var o={from:e,to:n,type:i};return t.edge&&(o.attr=Uu({},t.edge)),o.attr=Uu(o.attr||{},r),null!=r&&r.hasOwnProperty("arrows")&&null!=r["arrows"]&&(o["arrows"]={to:{enabled:!0,type:r.arrows.type}},r["arrows"]=null),o}function Zu(){Bu=Iu.NULL,Lu="";while(" "===Ru||"\t"===Ru||"\n"===Ru||"\r"===Ru)$u();do{var t=!1;if("#"===Ru){var e=Fu-1;while(" "===ju.charAt(e)||"\t"===ju.charAt(e))e--;if("\n"===ju.charAt(e)||""===ju.charAt(e)){while(""!=Ru&&"\n"!=Ru)$u();t=!0}}if("/"===Ru&&"/"===Hu()){while(""!=Ru&&"\n"!=Ru)$u();t=!0}if("/"===Ru&&"*"===Hu()){while(""!=Ru){if("*"===Ru&&"/"===Hu()){$u(),$u();break}$u()}t=!0}while(" "===Ru||"\t"===Ru||"\n"===Ru||"\r"===Ru)$u()}while(t);if(""!==Ru){var n=Ru+Hu();if(Nu[n])return Bu=Iu.DELIMITER,Lu=n,$u(),void $u();if(Nu[Ru])return Bu=Iu.DELIMITER,Lu=Ru,void $u();if(Yu(Ru)||"-"===Ru){Lu+=Ru,$u();while(Yu(Ru))Lu+=Ru,$u();return"false"===Lu?Lu=!1:"true"===Lu?Lu=!0:isNaN(Number(Lu))||(Lu=Number(Lu)),void(Bu=Iu.IDENTIFIER)}if('"'===Ru){$u();while(""!=Ru&&('"'!=Ru||'"'===Ru&&'"'===Hu()))'"'===Ru?(Lu+=Ru,$u()):"\\"===Ru&&"n"===Hu()?(Lu+="\n",$u()):Lu+=Ru,$u();if('"'!=Ru)throw oc('End of string " expected');return $u(),void(Bu=Iu.IDENTIFIER)}Bu=Iu.UNKNOWN;while(""!=Ru)Lu+=Ru,$u();throw new SyntaxError('Syntax error in part "'+ac(Lu,30)+'"')}Bu=Iu.DELIMITER}function Ku(){var t={};if(zu(),Zu(),"strict"===Lu&&(t.strict=!0,Zu()),"graph"!==Lu&&"digraph"!==Lu||(t.type=Lu,Zu()),Bu===Iu.IDENTIFIER&&(t.id=Lu,Zu()),"{"!=Lu)throw oc("Angle bracket { expected");if(Zu(),Qu(t),"}"!=Lu)throw oc("Angle bracket } expected");if(Zu(),""!==Lu)throw oc("End of file expected");return Zu(),delete t.node,delete t.edge,delete t.graph,t}function Qu(t){while(""!==Lu&&"}"!=Lu)Ju(t),";"===Lu&&Zu()}function Ju(t){var e=tc(t);if(e)ic(t,e);else{var n=ec(t);if(!n){if(Bu!=Iu.IDENTIFIER)throw oc("Identifier expected");var i=Lu;if(Zu(),"="===Lu){if(Zu(),Bu!=Iu.IDENTIFIER)throw oc("Identifier expected");t[i]=Lu,Zu()}else nc(t,i)}}}function tc(t){var e=null;if("subgraph"===Lu&&(e={},e.type="subgraph",Zu(),Bu===Iu.IDENTIFIER&&(e.id=Lu,Zu())),"{"===Lu){if(Zu(),e||(e={}),e.parent=t,e.node=t.node,e.edge=t.edge,e.graph=t.graph,Qu(e),"}"!=Lu)throw oc("Angle bracket } expected");Zu(),delete e.node,delete e.edge,delete e.graph,delete e.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(e)}return e}function ec(t){return"node"===Lu?(Zu(),t.node=rc(),"node"):"edge"===Lu?(Zu(),t.edge=rc(),"edge"):"graph"===Lu?(Zu(),t.graph=rc(),"graph"):null}function nc(t,e){var n={id:e},i=rc();i&&(n.attr=i),Vu(t,n),ic(t,e)}function ic(t,e){while("->"===Lu||"--"===Lu){var n,i=Lu;Zu();var r=tc(t);if(r)n=r;else{if(Bu!=Iu.IDENTIFIER)throw oc("Identifier or subgraph expected");n=Lu,Vu(t,{id:n}),Zu()}var o=rc(),a=Xu(t,e,n,i,o);Gu(t,a),e=n}}function rc(){var t,e,n=null,i={dashed:!0,solid:!1,dotted:[1,5]},r={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},o=new Array,a=new Array;while("["===Lu){Zu(),n={};while(""!==Lu&&"]"!=Lu){if(Bu!=Iu.IDENTIFIER)throw oc("Attribute name expected");var s=Lu;if(Zu(),"="!=Lu)throw oc("Equal sign = expected");if(Zu(),Bu!=Iu.IDENTIFIER)throw oc("Attribute value expected");var u,c=Lu;"style"===s&&(c=i[c]),"arrowhead"===s&&(u=r[c],s="arrows",c={to:{enabled:!0,type:u}}),"arrowtail"===s&&(u=r[c],s="arrows",c={from:{enabled:!0,type:u}}),o.push({attr:n,name:s,value:c}),a.push(s),Zu(),","==Lu&&Zu()}if("]"!=Lu)throw oc("Bracket ] expected");Zu()}if(Du(a).call(a,"dir")){var l={arrows:{}};for(t=0;t"===t.type&&(e.arrows="to"),e};Qr(r=n.edges).call(r,(function(t){var e,n,r,a;(e=t.from instanceof Object?t.from.nodes:{id:t.from},n=t.to instanceof Object?t.to.nodes:{id:t.to},t.from instanceof Object&&t.from.edges)&&Qr(r=t.from.edges).call(r,(function(t){var e=o(t);i.edges.push(e)}));(sc(e,n,(function(e,n){var r=Xu(i,e.id,n.id,t.type,t.attr),a=o(r);i.edges.push(a)})),t.to instanceof Object&&t.to.edges)&&Qr(a=t.to.edges).call(a,(function(t){var e=o(t);i.edges.push(e)}))}))}return n.attr&&(i.options=n.attr),i}function dc(t,e){var n,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));var r=t.edges,o=qa(r).call(r,(function(t){var 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})),a=qa(n=t.nodes).call(n,(function(t){var 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:a,edges:o}}var hc,fc=o((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e,n=t&&t.preventDefault||!1,i=t&&t.container||window,r={},o={keydown:{},keyup:{}},a={};for(e=97;e<=122;e++)a[String.fromCharCode(e)]={code:e-97+65,shift:!1};for(e=65;e<=90;e++)a[String.fromCharCode(e)]={code:e,shift:!0};for(e=0;e<=9;e++)a[""+e]={code:48+e,shift:!1};for(e=1;e<=12;e++)a["F"+e]={code:111+e,shift:!1};for(e=0;e<=9;e++)a["num"+e]={code:96+e,shift:!1};a["num*"]={code:106,shift:!1},a["num+"]={code:107,shift:!1},a["num-"]={code:109,shift:!1},a["num/"]={code:111,shift:!1},a["num."]={code:110,shift:!1},a["left"]={code:37,shift:!1},a["up"]={code:38,shift:!1},a["right"]={code:39,shift:!1},a["down"]={code:40,shift:!1},a["space"]={code:32,shift:!1},a["enter"]={code:13,shift:!1},a["shift"]={code:16,shift:void 0},a["esc"]={code:27,shift:!1},a["backspace"]={code:8,shift:!1},a["tab"]={code:9,shift:!1},a["ctrl"]={code:17,shift:!1},a["alt"]={code:18,shift:!1},a["delete"]={code:46,shift:!1},a["pageup"]={code:33,shift:!1},a["pagedown"]={code:34,shift:!1},a["="]={code:187,shift:!1},a["-"]={code:189,shift:!1},a["]"]={code:221,shift:!1},a["["]={code:219,shift:!1};var s=function(t){c(t,"keydown")},u=function(t){c(t,"keyup")},c=function(t,e){if(void 0!==o[e][t.keyCode]){for(var i=o[e][t.keyCode],r=0;r-1}function ul(t){if(sl(t,Pc))return Pc;var e=sl(t,Ic),n=sl(t,Nc);return e&&n?Pc:e||n?e?Ic:Nc:sl(t,Ac)?Ac:Mc}var cl=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===Dc&&(t=this.compute()),Cc&&this.manager.element.style&&jc[t]&&(this.manager.element.style[Ec]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return ol(this.manager.recognizers,(function(e){al(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),ul(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=sl(i,Pc)&&!jc[Pc],o=sl(i,Nc)&&!jc[Nc],a=sl(i,Ic)&&!jc[Ic];if(r){var s=1===t.pointers.length,u=t.distance<2,c=t.deltaTime<250;if(s&&u&&c)return}if(!a||!o)return r||o&&n&tl||a&&n&el?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function ll(t,e){while(t){if(t===e)return!0;t=t.parentNode}return!1}function dl(t){var e=t.length;if(1===e)return{x:xc(t[0].clientX),y:xc(t[0].clientY)};var n=0,i=0,r=0;while(r=kc(e)?t<0?Zc:Kc:e<0?Qc:Jc}function yl(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Uc&&o.eventType!==Vc||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function gl(t,e,n){return{x:e/t||0,y:n/t||0}}function ml(t,e){return fl(e[0],e[1],rl)/fl(t[0],t[1],rl)}function bl(t,e){return pl(e[1],e[0],rl)+pl(t[1],t[0],rl)}function wl(t,e){var n,i,r,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!==Gc&&(s>Yc||void 0===a.velocity)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,l=gl(s,u,c);i=l.x,r=l.y,n=kc(l.x)>kc(l.y)?l.x:l.y,o=vl(u,c),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function _l(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=hl(e)),r>1&&!n.firstMultiple?n.firstMultiple=hl(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,u=e.center=dl(i);e.timeStamp=Oc(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=pl(s,u),e.distance=fl(s,u),yl(n,e),e.offsetDirection=vl(e.deltaX,e.deltaY);var c=gl(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=kc(c.x)>kc(c.y)?c.x:c.y,e.scale=a?ml(a.pointers,i):1,e.rotation=a?bl(a.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,wl(n,e);var l,d=t.element,h=e.srcEvent;l=h.composedPath?h.composedPath()[0]:h.path?h.path[0]:h.target,ll(l,d)&&(d=l),e.target=d}function xl(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&Uc&&i-r===0,a=e&(Vc|Gc)&&i-r===0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,_l(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function kl(t){return t.trim().split(/\s+/g)}function Ol(t,e,n){ol(kl(e),(function(e){t.addEventListener(e,n,!1)}))}function Sl(t,e,n){ol(kl(e),(function(e){t.removeEventListener(e,n,!1)}))}function El(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}var Cl=function(){function t(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){al(t.options.enable,[t])&&n.handler(e)},this.init()}var e=t.prototype;return e.handler=function(){},e.init=function(){this.evEl&&Ol(this.element,this.evEl,this.domHandler),this.evTarget&&Ol(this.target,this.evTarget,this.domHandler),this.evWin&&Ol(El(this.element),this.evWin,this.domHandler)},e.destroy=function(){this.evEl&&Sl(this.element,this.evEl,this.domHandler),this.evTarget&&Sl(this.target,this.evTarget,this.domHandler),this.evWin&&Sl(El(this.element),this.evWin,this.domHandler)},t}();function Tl(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);var i=0;while(in[e]})):i.sort()),i}var Fl={touchstart:Uc,touchmove:qc,touchend:Vc,touchcancel:Gc},Rl="touchstart touchmove touchend touchcancel",Ll=function(t){function e(){var n;return e.prototype.evTarget=Rl,n=t.apply(this,arguments)||this,n.targetIds={},n}vc(e,t);var n=e.prototype;return n.handler=function(t){var e=Fl[t.type],n=Bl.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:zc,srcEvent:t})},e}(Cl);function Bl(t,e){var n,i,r=Nl(t.touches),o=this.targetIds;if(e&(Uc|qc)&&1===r.length)return o[r[0].identifier]=!0,[r,r];var a=Nl(t.changedTouches),s=[],u=this.target;if(i=r.filter((function(t){return ll(t.target,u)})),e===Uc){n=0;while(n-1&&r.splice(t,1)};setTimeout(o,Yl)}}function Vl(t,e){t&Uc?(this.primaryTouch=e.changedPointers[0].identifier,ql.call(this,e)):t&(Vc|Gc)&&ql.call(this,e)}function Gl(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-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,n=this.state;function i(n){e.manager.emit(n,t)}n=ed&&i(e.options.event+ud(n))},e.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=rd},e.canEmit=function(){var t=0;while(te.threshold&&r&e.direction},n.attrTest=function(t){return dd.prototype.attrTest.call(this,t)&&(this.state&Jl||!(this.state&Jl)&&this.directionTest(t))},n.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var n=hd(e.direction);n&&(e.additionalEvent=this.options.event+n),t.prototype.emit.call(this,e)},e}(dd),pd=function(t){function e(e){return void 0===e&&(e={}),t.call(this,pc({event:"swipe",threshold:10,velocity:.3,direction:tl|el,pointers:1},e))||this}vc(e,t);var n=e.prototype;return n.getTouchAction=function(){return fd.prototype.getTouchAction.call(this)},n.attrTest=function(e){var n,i=this.options.direction;return i&(tl|el)?n=e.overallVelocity:i&tl?n=e.overallVelocityX:i&el&&(n=e.overallVelocityY),t.prototype.attrTest.call(this,e)&&i&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers===this.options.pointers&&kc(n)>this.options.velocity&&e.eventType&Vc},n.emit=function(t){var e=hd(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)},e}(dd),vd=function(t){function e(e){return void 0===e&&(e={}),t.call(this,pc({event:"pinch",threshold:0,pointers:2},e))||this}vc(e,t);var n=e.prototype;return n.getTouchAction=function(){return[Pc]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Jl)},n.emit=function(e){if(1!==e.scale){var n=e.scale<1?"in":"out";e.additionalEvent=this.options.event+n}t.prototype.emit.call(this,e)},e}(dd),yd=function(t){function e(e){return void 0===e&&(e={}),t.call(this,pc({event:"rotate",threshold:0,pointers:2},e))||this}vc(e,t);var n=e.prototype;return n.getTouchAction=function(){return[Pc]},n.attrTest=function(e){return t.prototype.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Jl)},e}(dd),gd=function(t){function e(e){var n;return void 0===e&&(e={}),n=t.call(this,pc({event:"press",pointers:1,time:251,threshold:9},e))||this,n._timer=null,n._input=null,n}vc(e,t);var n=e.prototype;return n.getTouchAction=function(){return[Mc]},n.process=function(t){var e=this,n=this.options,i=t.pointers.length===n.pointers,r=t.distancen.time;if(this._input=t,!r||!i||t.eventType&(Vc|Gc)&&!o)this.reset();else if(t.eventType&Uc)this.reset(),this._timer=setTimeout((function(){e.state=nd,e.tryEmit()}),n.time);else if(t.eventType&Vc)return nd;return rd},n.reset=function(){clearTimeout(this._timer)},n.emit=function(t){this.state===nd&&(t&&t.eventType&Vc?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Oc(),this.manager.emit(this.options.event,this._input)))},e}(cd),md={domEvents:!1,touchAction:Dc,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},bd=[[yd,{enable:!1}],[vd,{enable:!1},["rotate"]],[pd,{direction:tl}],[fd,{direction:tl},["swipe"]],[ld],[ld,{event:"doubletap",taps:2},["tap"]],[gd]],wd=1,_d=2;function xd(t,e){var n,i=t.element;i.style&&(ol(t.options.cssProps,(function(r,o){n=Sc(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}function kd(t,e){var n=document.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var Od=function(){function t(t,e){var n=this;this.options=mc({},md,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=Zl(this),this.touchAction=new cl(this,this.options.touchAction),xd(this,!0),ol(this.options.recognizers,(function(t){var e=n.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 mc(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?_d:wd},e.recognize=function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&nd)&&(e.curRecognizer=null,r=null);var o=0;while(o\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=window.console&&(window.console.warn||window.console.log);return r&&r.call(window.console,i,n),t.apply(this,arguments)}}var Ad=Md((function(t,e,n){var i=Object.keys(e),r=0;while(r2){e*=.5;var a=0;while(e>2&&a=this.NUM_ITERATIONS&&(a=this.NUM_ITERATIONS-1);var s=this.coordinates[a];t.drawImage(this.canvas,s[0],s[1],s[2],s[3],n,i,r,o)}else t.drawImage(this.image,n,i,r,o)}}]),t}(),sh=function(){function t(e){nh(this,t),this.images={},this.imageBroken={},this.callback=e}return oh(t,[{key:"_tryloadBrokenUrl",value:function(t,e,n){void 0!==t&&void 0!==n&&(void 0!==e?(n.image.onerror=function(){console.error("Could not load brokenImage:",e)},n.image.src=e):console.warn("No broken url image defined"))}},{key:"_redrawWithImage",value:function(t){this.callback&&this.callback(t)}},{key:"load",value:function(t,e){var n=this,i=this.images[t];if(i)return i;var r=new ah;return this.images[t]=r,r.image.onload=function(){n._fixImageCoordinates(r.image),r.init(),n._redrawWithImage(r)},r.image.onerror=function(){console.error("Could not load image:",t),n._tryloadBrokenUrl(t,e,r)},r.image.src=t,r}},{key:"_fixImageCoordinates",value:function(t){0===t.width&&(document.body.appendChild(t),t.width=t.offsetWidth,t.height=t.offsetHeight,document.body.removeChild(t))}}]),t}(),uh=function(){function t(){nh(this,t),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},Pt(this.options,this.defaultOptions)}return oh(t,[{key:"setOptions",value:function(t){var e=["useDefaultGroups"];if(void 0!==t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&-1===Ho(e).call(e,n)){var i=t[n];this.add(n,i)}}},{key:"clear",value:function(){this.groups={},this.groupsArray=[]}},{key:"get",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.groups[t];if(void 0===n&&e)if(!1===this.options.useDefaultGroups&&this.groupsArray.length>0){var i=this.groupIndex%this.groupsArray.length;this.groupIndex++,n={},n.color=this.groups[this.groupsArray[i]],this.groups[t]=n}else{var r=this.defaultIndex%this.defaultGroups.length;this.defaultIndex++,n={},n.color=this.defaultGroups[r],this.groups[t]=n}return n}},{key:"add",value:function(t,e){return this.groups[t]=e,this.groupsArray.push(t),e}}]),t}(),ch=[].slice,lh=/MSIE .\./.test(po),dh=function(t){return function(e,n){var i=arguments.length>2,r=i?ch.call(arguments,2):void 0;return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,n)}};Q({global:!0,bind:!0,forced:lh},{setTimeout:dh(c.setTimeout),setInterval:dh(c.setInterval)});var hh=H.setTimeout,fh=hh,ph=jn.some,vh=Lr("some"),yh=Hr("some");Q({target:"Array",proto:!0,forced:!vh||!yh},{some:function(t){return ph(this,t,arguments.length>1?arguments[1]:void 0)}});var gh=it("Array").some,mh=Array.prototype,bh=function(t){var e=t.some;return t===mh||t instanceof Array&&e===mh.some?gh:e},wh=bh,_h=wh,xh=c.isFinite,kh=Number.isFinite||function(t){return"number"==typeof t&&xh(t)};Q({target:"Number",stat:!0},{isFinite:kh});var Oh=H.Number.isFinite,Sh=Oh,Eh=Sh;Q({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Ch=H.Number.isNaN,Th=Ch,Dh=Th,Mh=Ve.f,Ah=l((function(){return!Object.getOwnPropertyNames(1)}));Q({target:"Object",stat:!0,forced:Ah},{getOwnPropertyNames:Mh});var Ph=H.Object,Ih=function(t){return Ph.getOwnPropertyNames(t)},Nh=Ih,jh=Nh,Fh=Nr.trim,Rh=c.parseFloat,Lh=1/Rh(Dr+"-0")!==-1/0,Bh=Lh?function(t){var e=Fh(String(t)),n=Rh(e);return 0===n&&"-"==e.charAt(0)?-0:n}:Rh;Q({global:!0,forced:parseFloat!=Bh},{parseFloat:Bh});var zh=H.parseFloat,$h=zh,Hh=$h;function Wh(t,e){var n=["node","edge","label"],i=!0,r=ru(e,"chosen");if("boolean"===typeof r)i=r;else if("object"===Qa(r)){if(-1===Ho(n).call(n,t))throw new Error("choosify: subOption '"+t+"' should be one of '"+n.join("', '")+"'");var o=ru(e,["chosen",t]);"boolean"!==typeof o&&"function"!==typeof o||(i=o)}return i}function Yh(t,e,n){if(t.width<=0||t.height<=0)return!1;if(void 0!==n){var i={x:e.x-n.x,y:e.y-n.y};if(0!==n.angle){var r=-n.angle,o={x:Math.cos(r)*i.x-Math.sin(r)*i.y,y:Math.sin(r)*i.x+Math.cos(r)*i.y};e=o}else e=i}var a=t.x+t.width,s=t.y+t.width;return t.lefte.x&&t.tope.y}function Uh(t){return"string"===typeof t&&""!==t}function qh(t,e,n,i){var r=i.x,o=i.y;if("function"===typeof i.distanceToBorder){var a=i.distanceToBorder(t,e),s=Math.sin(e)*a,u=Math.cos(e)*a;u===a?(r+=a,o=i.y):s===a?(r=i.x,o-=a):(r+=u,o-=s)}else i.shape.width>i.shape.height?(r=i.x+.5*i.shape.width,o=i.y-n):(r=i.x+n,o=i.y-.5*i.shape.height);return{x:r,y:o}}var Vh=it("Array").values,Gh=Vh,Xh=Array.prototype,Zh={DOMTokenList:!0,NodeList:!0},Kh=function(t){var e=t.values;return t===Xh||t instanceof Array&&e===Xh.values||Zh.hasOwnProperty(ln(t))?Gh:e},Qh=Kh,Jh=function(){function t(e){nh(this,t),this.measureText=e,this.current=0,this.width=0,this.height=0,this.lines=[]}return oh(t,[{key:"_add",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";void 0===this.lines[t]&&(this.lines[t]={width:0,height:0,blocks:[]});var i=e;void 0!==e&&""!==e||(i=" ");var r=this.measureText(i,n),o=Pt({},Qh(r));o.text=e,o.width=r.width,o.mod=n,void 0!==e&&""!==e||(o.width=0),this.lines[t].blocks.push(o),this.lines[t].width+=o.width}},{key:"curWidth",value:function(){var t=this.lines[this.current];return void 0===t?0:t.width}},{key:"append",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,t,e)}},{key:"newLine",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,t,e),this.current++}},{key:"determineLineHeights",value:function(){for(var t=0;tt&&(t=i.width),e+=i.height}this.width=t,this.height=e}},{key:"removeEmptyBlocks",value:function(){for(var t=[],e=0;e"://,""://,""://,"":/<\/b>/,"":/<\/i>/,"":/<\/code>/,"*":/\*/,_:/\_/,"`":/`/,afterBold:/[^\*]/,afterItal:/[^_]/,afterMono:/[^`]/},ef=function(){function t(e){nh(this,t),this.text=e,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}return oh(t,[{key:"mod",value:function(){return 0===this.modStack.length?"normal":this.modStack[0]}},{key:"modName",value:function(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":this.bold&&this.ital?"boldital":this.bold?"bold":this.ital?"ital":void 0}},{key:"emitBlock",value:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}},{key:"add",value:function(t){" "===t&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=t&&(this.buffer+=t)}},{key:"parseWS",value:function(t){return!!/[ \t]/.test(t)&&(this.mono?this.add(t):this.spacing=!0,!0)}},{key:"setTag",value:function(t){this.emitBlock(),this[t]=!0,this.modStack.unshift(t)}},{key:"unsetTag",value:function(t){this.emitBlock(),this[t]=!1,this.modStack.shift()}},{key:"parseStartTag",value:function(t,e){return!(this.mono||this[t]||!this.match(e))&&(this.setTag(t),!0)}},{key:"match",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.prepareRegExp(t),i=Aa(n,2),r=i[0],o=i[1],a=r.test(this.text.substr(this.position,o));return a&&e&&(this.position+=o-1),a}},{key:"parseEndTag",value:function(t,e,n){var i=this.mod()===t;return i="mono"===t?i&&this.mono:i&&!this.mono,!(!i||!this.match(e))&&(void 0!==n?(this.position===this.text.length-1||this.match(n,!1))&&this.unsetTag(t):this.unsetTag(t),!0)}},{key:"replace",value:function(t,e){return!!this.match(t)&&(this.add(e),this.position+=length-1,!0)}},{key:"prepareRegExp",value:function(t){var e,n;if(t instanceof RegExp)n=t,e=1;else{var i=tf[t];n=void 0!==i?i:new RegExp(t),e=t.length}return[n,e]}}]),t}(),nf=function(){function t(e,n,i,r){var o=this;nh(this,t),this.ctx=e,this.parent=n,this.selected=i,this.hover=r;var a=function(t,n){if(void 0===t)return 0;var a=o.parent.getFormattingValues(e,i,r,n),s=0;if(""!==t){var u=o.ctx.measureText(t);s=u.width}return{width:s,values:a}};this.lines=new Jh(a)}return oh(t,[{key:"process",value:function(t){if(!Uh(t))return this.lines.finalize();var e=this.parent.fontOptions;t=t.replace(/\r\n/g,"\n"),t=t.replace(/\r/g,"\n");var n=String(t).split("\n"),i=n.length;if(e.multi)for(var r=0;r0)for(var a=0;a0)for(var h=0;h")||e.parseStartTag("ital","")||e.parseStartTag("mono","")||e.parseEndTag("bold","")||e.parseEndTag("ital","")||e.parseEndTag("mono",""))||n(i);r||e.add(i),e.position++}return e.emitBlock(),e.blocks}},{key:"splitMarkdownBlocks",value:function(t){var e=this,n=new ef(t),i=!0,r=function(t){return!!/\\/.test(t)&&(n.positionthis.parent.fontOptions.maxWdt}},{key:"getLongestFit",value:function(t){var e="",n=0;while(n1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parent.getFormattingValues(this.ctx,this.selected,this.hover,e),t=t.replace(/^( +)/g,"$1\r"),t=t.replace(/([^\r][^ ]*)( +)/g,"$1\r$2\r");var i=t.split("\r");while(i.length>0){var r=this.getLongestFit(i);if(0===r){var o=i[0],a=this.getLongestFitWord(o);this.lines.newLine(ts(o).call(o,0,a),e),i[0]=ts(o).call(o,a)}else{var s=r;" "===i[r-1]?r--:" "===i[s]&&s++;var u=ts(i).call(i,0,r).join("");r==i.length&&n?this.lines.append(u,e):this.lines.newLine(u,e),i=ts(i).call(i,s)}}}}]),t}(),rf=["bold","ital","boldital","mono"],of=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];nh(this,t),this.body=e,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(n),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=i}return oh(t,[{key:"setOptions",value:function(t){if(this.elementOptions=t,this.initFontOptions(t.font),Uh(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"===Qa(t.font)){var e=t.font.size;void 0!==e&&(this.baseSize=e)}}},{key:"initFontOptions",value:function(e){var n=this;$s(rf,(function(t){n.fontOptions[t]={}})),t.parseFontString(this.fontOptions,e)?this.fontOptions.vadjust=0:$s(e,(function(t,e){void 0!==t&&null!==t&&"object"!==Qa(t)&&(n.fontOptions[e]=t)}))}},{key:"constrain",value:function(t){var e={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},n=ru(t,"widthConstraint");if("number"===typeof n)e.maxWdt=Number(n),e.minWdt=Number(n);else if("object"===Qa(n)){var i=ru(t,["widthConstraint","maximum"]);"number"===typeof i&&(e.maxWdt=Number(i));var r=ru(t,["widthConstraint","minimum"]);"number"===typeof r&&(e.minWdt=Number(r))}var o=ru(t,"heightConstraint");if("number"===typeof o)e.minHgt=Number(o);else if("object"===Qa(o)){var a=ru(t,["heightConstraint","minimum"]);"number"===typeof a&&(e.minHgt=Number(a));var s=ru(t,["heightConstraint","valign"]);"string"===typeof s&&("top"!==s&&"bottom"!==s||(e.valign=s))}return e}},{key:"update",value:function(t,e){this.setOptions(t,!0),this.propagateFonts(e),Ns(this.fontOptions,this.constrain(e)),this.fontOptions.chooser=Wh("label",e)}},{key:"adjustSizes",value:function(t){var e=t?t.right+t.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=e,this.fontOptions.minWdt-=e);var n=t?t.top+t.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=n)}},{key:"addFontOptionsToPile",value:function(t,e){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:"middle";if(void 0!==this.elementOptions.label){var a=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&a=this.elementOptions.scaling.label.maxVisible&&(a=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(t,i,r,e,n,o),this._drawBackground(t),this._drawText(t,e,this.size.yLine,o,a))}}},{key:"_drawBackground",value:function(t){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){t.fillStyle=this.fontOptions.background;var e=this.getSize();t.fillRect(e.left,e.top,e.width,e.height)}}},{key:"_drawText",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"middle",r=arguments.length>4?arguments[4]:void 0,o=this._setAlignment(t,e,n,i),a=Aa(o,2);e=a[0],n=a[1],t.textAlign="left",e-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(n-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(n+=(this.size.height-this.size.labelHeight)/2));for(var s=0;s0&&(t.lineWidth=d.strokeWidth,t.strokeStyle=v,t.lineJoin="round"),t.fillStyle=p,d.strokeWidth>0&&t.strokeText(d.text,e+c,n+d.vadjust),t.fillText(d.text,e+c,n+d.vadjust),c+=d.width}n+=u.height}}}},{key:"_setAlignment",value:function(t,e,n,i){if(this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf){e=0,n=0;var r=2;"top"===this.fontOptions.align?(t.textBaseline="alphabetic",n-=2*r):"bottom"===this.fontOptions.align?(t.textBaseline="hanging",n+=2*r):t.textBaseline="middle"}else t.textBaseline=i;return[e,n]}},{key:"_getColor",value:function(t,e,n){var i=t||"#000000",r=n||"#ffffff";if(e<=this.elementOptions.scaling.label.drawThreshold){var o=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-e)));i=Us(i,o),r=Us(r,o)}return[i,r]}},{key:"getTextSize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._processLabel(t,e,n),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}},{key:"getSize",value:function(){var t=2,e=this.size.left,n=this.size.top-.5*t;if(this.isEdgeLabel){var i=.5*-this.size.width;switch(this.fontOptions.align){case"middle":e=i,n=.5*-this.size.height;break;case"top":e=i,n=-(this.size.height+t);break;case"bottom":e=i,n=t;break}}var r={left:e,top:n,width:this.size.width,height:this.size.height};return r}},{key:"calculateLabelSize",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";this._processLabel(t,e,n),this.size.left=i-.5*this.size.width,this.size.top=r-.5*this.size.height,this.size.yLine=r+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===o&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}},{key:"getFormattingValues",value:function(t,e,n,i){var r=function(t,e,n){return"normal"===e?"mod"===n?"":t[n]:void 0!==t[e][n]?t[e][n]:t[n]},o={color:r(this.fontOptions,i,"color"),size:r(this.fontOptions,i,"size"),face:r(this.fontOptions,i,"face"),mod:r(this.fontOptions,i,"mod"),vadjust:r(this.fontOptions,i,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(e||n)&&("normal"===i&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?o.mod="bold":"function"===typeof this.fontOptions.chooser&&this.fontOptions.chooser(o,this.elementOptions.id,e,n));var a="";return void 0!==o.mod&&""!==o.mod&&(a+=o.mod+" "),a+=o.size+"px "+o.face,t.font=a.replace(/"/g,""),o.font=t.font,o.height=o.size,o}},{key:"differentState",value:function(t,e){return t!==this.selectedState||e!==this.hoverState}},{key:"_processLabelText",value:function(t,e,n,i){var r=new nf(t,this,e,n);return r.process(i)}},{key:"_processLabel",value:function(t,e,n){if(!1!==this.labelDirty||this.differentState(e,n)){var i=this._processLabelText(t,e,n,this.elementOptions.label);this.fontOptions.minWdt>0&&i.width0&&i.height1?arguments[1]:void 0,n),o=i>2?arguments[2]:void 0,a=void 0===o?n:yt(o,n);while(a>r)e[r++]=t;return e};Q({target:"Array",proto:!0},{fill:Tf});var Df=it("Array").fill,Mf=Array.prototype,Af=function(t){var e=t.fill;return t===Mf||t instanceof Array&&e===Mf.fill?Df:e},Pf=Af,If=Pf,Nf=function(){function t(e,n,i){nh(this,t),this.body=n,this.labelModule=i,this.setOptions(e),this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.radius=void 0,this.margin=void 0,this.refreshNeeded=!0,this.boundingBox={top:0,left:0,right:0,bottom:0}}return oh(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"_setMargins",value:function(t){this.margin={},this.options.margin&&("object"==Qa(this.options.margin)?(this.margin.top=this.options.margin.top,this.margin.right=this.options.margin.right,this.margin.bottom=this.options.margin.bottom,this.margin.left=this.options.margin.left):(this.margin.top=this.options.margin,this.margin.right=this.options.margin,this.margin.bottom=this.options.margin,this.margin.left=this.options.margin)),t.adjustSizes(this.margin)}},{key:"_distanceToBorder",value:function(t,e){var n=this.options.borderWidth;return t&&this.resize(t),Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+n}},{key:"enableShadow",value:function(t,e){e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}},{key:"disableShadow",value:function(t,e){e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}},{key:"enableBorderDashes",value:function(t,e){if(!1!==e.borderDashes)if(void 0!==t.setLineDash){var n=e.borderDashes;!0===n&&(n=[5,15]),t.setLineDash(n)}else console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,e.borderDashes=!1}},{key:"disableBorderDashes",value:function(t,e){!1!==e.borderDashes&&(void 0!==t.setLineDash?t.setLineDash([0]):(console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,e.borderDashes=!1))}},{key:"needsRefresh",value:function(t,e){return!0===this.refreshNeeded?(this.refreshNeeded=!1,!0):void 0===this.width||this.labelModule.differentState(t,e)}},{key:"initContextForDraw",value:function(t,e){var n=e.borderWidth/this.body.view.scale;t.lineWidth=Math.min(this.width,n),t.strokeStyle=e.borderColor,t.fillStyle=e.color}},{key:"performStroke",value:function(t,e){var n=e.borderWidth/this.body.view.scale;t.save(),n>0&&(this.enableBorderDashes(t,e),t.stroke(),this.disableBorderDashes(t,e)),t.restore()}},{key:"performFill",value:function(t,e){t.save(),t.fillStyle=e.color,this.enableShadow(t,e),If(t).call(t),this.disableShadow(t,e),t.restore(),this.performStroke(t,e)}},{key:"_addBoundingBoxMargin",value:function(t){this.boundingBox.left-=t,this.boundingBox.top-=t,this.boundingBox.bottom+=t,this.boundingBox.right+=t}},{key:"_updateBoundingBox",value:function(t,e,n,i,r){void 0!==n&&this.resize(n,i,r),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}},{key:"updateBoundingBox",value:function(t,e,n,i,r){this._updateBoundingBox(t,e,n,i,r)}},{key:"getDimensionsFromLabel",value:function(t,e,n){this.textSize=this.labelModule.getTextSize(t,e,n);var i=this.textSize.width,r=this.textSize.height,o=14;return 0===i&&(i=o,r=o),{width:i,height:r}}}]),t}();function jf(t){var e=Ff();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Ff(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Rf=function(t){wf(n,t);var e=jf(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o._setMargins(r),o}return oh(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var i=this.getDimensionsFromLabel(t,e,n);this.width=i.width+this.margin.right+this.margin.left,this.height=i.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,i,r,o){this.resize(t,i,r),this.left=e-this.width/2,this.top=n-this.height/2,this.initContextForDraw(t,o),Bt(t,this.left,this.top,this.width,this.height,o.borderRadius),this.performFill(t,o),this.updateBoundingBox(e,n,t,i,r),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,i,r)}},{key:"updateBoundingBox",value:function(t,e,n,i,r){this._updateBoundingBox(t,e,n,i,r);var o=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(o)}},{key:"distanceToBorder",value:function(t,e){t&&this.resize(t);var n=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+n}}]),n}(Nf);function Lf(t){var e=Bf();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Bf(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var zf=function(t){wf(n,t);var e=Lf(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o.labelOffset=0,o.selected=!1,o}return oh(n,[{key:"setOptions",value:function(t,e,n){this.options=t,void 0===e&&void 0===n||this.setImages(e,n)}},{key:"setImages",value:function(t,e){e&&this.selected?(this.imageObj=e,this.imageObjAlt=t):(this.imageObj=t,this.imageObjAlt=e)}},{key:"switchImages",value:function(t){var e=t&&!this.selected||!t&&this.selected;if(this.selected=t,void 0!==this.imageObjAlt&&e){var n=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=n}}},{key:"_getImagePadding",value:function(){var t={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){var e=this.options.imagePadding;"object"==Qa(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}},{key:"_resizeImage",value:function(){var t,e;if(!1===this.options.shapeProperties.useImageSize){var n=1,i=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?n=this.imageObj.width/this.imageObj.height:i=this.imageObj.height/this.imageObj.width),t=2*this.options.size*n,e=2*this.options.size*i}else{var r=this._getImagePadding();t=this.imageObj.width+r.left+r.right,e=this.imageObj.height+r.top+r.bottom}this.width=t,this.height=e,this.radius=.5*this.width}},{key:"_drawRawCircle",value:function(t,e,n,i){this.initContextForDraw(t,i),It(t,e,n,i.size),this.performFill(t,i)}},{key:"_drawImageAtPosition",value:function(t,e){if(0!=this.imageObj.width){t.globalAlpha=void 0!==e.opacity?e.opacity:1,this.enableShadow(t,e);var n=1;!0===this.options.shapeProperties.interpolation&&(n=this.imageObj.width/this.width/this.body.view.scale);var i=this._getImagePadding(),r=this.left+i.left,o=this.top+i.top,a=this.width-i.left-i.right,s=this.height-i.top-i.bottom;this.imageObj.drawImageAtPosition(t,n,r,o,a,s),this.disableShadow(t,e)}}},{key:"_drawImageLabel",value:function(t,e,n,i,r){var o=0;if(void 0!==this.height){o=.5*this.height;var a=this.labelModule.getTextSize(t,i,r);a.lineCount>=1&&(o+=a.height/2)}var s=n+o;this.options.label&&(this.labelOffset=o),this.labelModule.draw(t,e,s,i,r,"hanging")}}]),n}(Nf);function $f(t){var e=Hf();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Hf(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Wf=function(t){wf(n,t);var e=$f(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o._setMargins(r),o}return oh(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var i=this.getDimensionsFromLabel(t,e,n),r=Math.max(i.width+this.margin.right+this.margin.left,i.height+this.margin.top+this.margin.bottom);this.options.size=r/2,this.width=r,this.height=r,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,i,r,o){this.resize(t,i,r),this.left=e-this.width/2,this.top=n-this.height/2,this._drawRawCircle(t,e,n,o),this.updateBoundingBox(e,n),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,n,i,r)}},{key:"updateBoundingBox",value:function(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}},{key:"distanceToBorder",value:function(t,e){return t&&this.resize(t),.5*this.width}}]),n}(zf);function Yf(t){var e=Uf();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Uf(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var qf=function(t){wf(n,t);var e=Yf(n);function n(t,i,r,o,a){var s;return nh(this,n),s=e.call(this,t,i,r),s.setImages(o,a),s}return oh(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,i=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(i){var r=2*this.options.size;return this.width=r,this.height=r,void(this.radius=.5*this.width)}this.needsRefresh(e,n)&&this._resizeImage()}},{key:"draw",value:function(t,e,n,i,r,o){this.switchImages(i),this.resize();var a=e,s=n;"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=n,a+=this.width/2,s+=this.height/2):(this.left=e-this.width/2,this.top=n-this.height/2),this._drawRawCircle(t,a,s,o),t.save(),t.clip(),this._drawImageAtPosition(t,o),t.restore(),this._drawImageLabel(t,a,s,i,r),this.updateBoundingBox(e,n)}},{key:"updateBoundingBox",value:function(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)}},{key:"distanceToBorder",value:function(t,e){return t&&this.resize(t),.5*this.width}}]),n}(zf);function Vf(t,e){var n=La(t);if(bi){var i=bi(t);e&&(i=To(i).call(i,(function(e){return ye(t,e).enumerable}))),n.push.apply(n,i)}return n}function Gf(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{size:this.options.size};if(this.needsRefresh(e,n)){this.labelModule.getTextSize(t,e,n);var r=2*i.size;this.width=r,this.height=r,this.radius=.5*this.width}}},{key:"_drawShape",value:function(t,e,n,i,r,o,a,s,u){if(this.resize(t,o,a,s),this.left=i-this.width/2,this.top=r-this.height/2,"custom"===e)return t.save(),u({ctx:t,x:i,y:r,state:{selected:o,hover:a},style:Gf({},s),label:this.options.label}),void t.restore();if(this.initContextForDraw(t,s),Ut(e)(t,i,r,s.size),this.performFill(t,s),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(t.font=(o?"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,i,r)),void 0!==this.options.label){this.labelModule.calculateLabelSize(t,o,a,i,r,"hanging");var c=r+.5*this.height+.5*this.labelModule.size.height;this.labelModule.draw(t,i,c,o,a,"hanging")}this.updateBoundingBox(i,r)}},{key:"updateBoundingBox",value:function(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))}}]),n}(Nf);function Qf(t){var e=Jf();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Jf(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var tp=function(t){wf(n,t);var e=Qf(n);function n(t,i,r,o){var a;return nh(this,n),a=e.call(this,t,i,r,o),a.ctxRenderer=o,a}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"custom",4,e,n,i,r,o,this.ctxRenderer)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function ep(t){var e=np();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function np(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var ip=function(t){wf(n,t);var e=ep(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o._setMargins(r),o}return oh(n,[{key:"resize",value:function(t,e,n){if(this.needsRefresh(e,n)){var i=this.getDimensionsFromLabel(t,e,n),r=i.width+this.margin.right+this.margin.left;this.width=r,this.height=r,this.radius=this.width/2}}},{key:"draw",value:function(t,e,n,i,r,o){this.resize(t,i,r),this.left=e-this.width/2,this.top=n-this.height/2,this.initContextForDraw(t,o),$t(t,e-this.width/2,n-this.height/2,this.width,this.height),this.performFill(t,o),this.updateBoundingBox(e,n,t,i,r),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,i,r)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Nf);function rp(t){var e=op();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function op(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var ap=function(t){wf(n,t);var e=rp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"diamond",4,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function sp(t){var e=up();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function up(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var cp=function(t){wf(n,t);var e=sp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"circle",2,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return t&&this.resize(t),this.options.size}}]),n}(Kf);function lp(t){var e=dp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function dp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var hp=function(t){wf(n,t);var e=lp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(e,n)){var i=this.getDimensionsFromLabel(t,e,n);this.height=2*i.height,this.width=i.width+i.height,this.radius=.5*this.width}}},{key:"draw",value:function(t,e,n,i,r,o){this.resize(t,i,r),this.left=e-.5*this.width,this.top=n-.5*this.height,this.initContextForDraw(t,o),zt(t,this.left,this.top,this.width,this.height),this.performFill(t,o),this.updateBoundingBox(e,n,t,i,r),this.labelModule.draw(t,e,n,i,r)}},{key:"distanceToBorder",value:function(t,e){t&&this.resize(t);var n=.5*this.width,i=.5*this.height,r=Math.sin(e)*n,o=Math.cos(e)*i;return n*i/Math.sqrt(r*r+o*o)}}]),n}(Nf);function fp(t){var e=pp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function pp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var vp=function(t){wf(n,t);var e=fp(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o._setMargins(r),o}return oh(n,[{key:"resize",value:function(t,e,n){this.needsRefresh(e,n)&&(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)}},{key:"draw",value:function(t,e,n,i,r,o){if(this.resize(t,i,r),this.options.icon.size=this.options.icon.size||50,this.left=e-this.width/2,this.top=n-this.height/2,this._icon(t,e,n,i,r,o),void 0!==this.options.label){var a=5;this.labelModule.draw(t,this.left+this.iconSize.width/2+this.margin.left,n+this.height/2+a,i)}this.updateBoundingBox(e,n)}},{key:"updateBoundingBox",value:function(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){var n=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+n)}}},{key:"_icon",value:function(t,e,n,i,r,o){var a=Number(this.options.icon.size);void 0!==this.options.icon.code?(t.font=[null!=this.options.icon.weight?this.options.icon.weight:i?"bold":"",(null!=this.options.icon.weight&&i?5:0)+a+"px",this.options.icon.face].join(" "),t.fillStyle=this.options.icon.color||"black",t.textAlign="center",t.textBaseline="middle",this.enableShadow(t,o),t.fillText(this.options.icon.code,e,n),this.disableShadow(t,o)):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.")}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Nf);function yp(t){var e=gp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function gp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var mp=function(t){wf(n,t);var e=yp(n);function n(t,i,r,o,a){var s;return nh(this,n),s=e.call(this,t,i,r),s.setImages(o,a),s}return oh(n,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,i=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(i){var r=2*this.options.size;return this.width=r,void(this.height=r)}this.needsRefresh(e,n)&&this._resizeImage()}},{key:"draw",value:function(t,e,n,i,r,o){t.save(),this.switchImages(i),this.resize();var a=e,s=n;if("top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=e,this.top=n,a+=this.width/2,s+=this.height/2):(this.left=e-this.width/2,this.top=n-this.height/2),!0===this.options.shapeProperties.useBorderWithImage){var u=this.options.borderWidth,c=this.options.borderWidthSelected||2*this.options.borderWidth,l=(i?c:u)/this.body.view.scale;t.lineWidth=Math.min(this.width,l),t.beginPath();var d=i?this.options.color.highlight.border:r?this.options.color.hover.border:this.options.color.border,h=i?this.options.color.highlight.background:r?this.options.color.hover.background:this.options.color.background;void 0!==o.opacity&&(d=Us(d,o.opacity),h=Us(h,o.opacity)),t.strokeStyle=d,t.fillStyle=h,t.rect(this.left-.5*t.lineWidth,this.top-.5*t.lineWidth,this.width+t.lineWidth,this.height+t.lineWidth),If(t).call(t),this.performStroke(t,o),t.closePath()}this._drawImageAtPosition(t,o),this._drawImageLabel(t,a,s,i,r),this.updateBoundingBox(e,n),t.restore()}},{key:"updateBoundingBox",value:function(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))}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(zf);function bp(t){var e=wp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function wp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var _p=function(t){wf(n,t);var e=bp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"square",2,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function xp(t){var e=kp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function kp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Op=function(t){wf(n,t);var e=xp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"hexagon",4,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function Sp(t){var e=Ep();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Ep(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Cp=function(t){wf(n,t);var e=Sp(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"star",4,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function Tp(t){var e=Dp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Dp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Mp=function(t){wf(n,t);var e=Tp(n);function n(t,i,r){var o;return nh(this,n),o=e.call(this,t,i,r),o._setMargins(r),o}return oh(n,[{key:"resize",value:function(t,e,n){this.needsRefresh(e,n)&&(this.textSize=this.labelModule.getTextSize(t,e,n),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)}},{key:"draw",value:function(t,e,n,i,r,o){this.resize(t,i,r),this.left=e-this.width/2,this.top=n-this.height/2,this.enableShadow(t,o),this.labelModule.draw(t,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,i,r),this.disableShadow(t,o),this.updateBoundingBox(e,n,t,i,r)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Nf);function Ap(t){var e=Pp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Pp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Ip=function(t){wf(n,t);var e=Ap(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"triangle",3,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf);function Np(t){var e=jp();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function jp(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Fp=function(t){wf(n,t);var e=Np(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"draw",value:function(t,e,n,i,r,o){this._drawShape(t,"triangleDown",3,e,n,i,r,o)}},{key:"distanceToBorder",value:function(t,e){return this._distanceToBorder(t,e)}}]),n}(Kf),Rp=ee("JSON","stringify"),Lp=/[\uD800-\uDFFF]/g,Bp=/^[\uD800-\uDBFF]$/,zp=/^[\uDC00-\uDFFF]$/,$p=function(t,e,n){var i=n.charAt(e-1),r=n.charAt(e+1);return Bp.test(t)&&!zp.test(r)||zp.test(t)&&!Bp.test(i)?"\\u"+t.charCodeAt(0).toString(16):t},Hp=l((function(){return'"\\udf06\\ud834"'!==Rp("\udf06\ud834")||'"\\udead"'!==Rp("\udead")}));Rp&&Q({target:"JSON",stat:!0,forced:Hp},{stringify:function(t,e,n){var i=Rp.apply(null,arguments);return"string"==typeof i?i.replace(Lp,$p):i}}),H.JSON||(H.JSON={stringify:JSON.stringify});var Wp,Yp=function(t,e,n){return H.JSON.stringify.apply(null,arguments)},Up=Yp,qp=Up,Vp=!1,Gp="background: #FFeeee; color: #dd0000",Xp=function(){function t(){nh(this,t)}return oh(t,null,[{key:"validate",value:function(e,n,i){Vp=!1,Wp=n;var r=n;return void 0!==i&&(r=n[i]),t.parse(e,r,[]),Vp}},{key:"parse",value:function(e,n,i){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.check(r,e,n,i)}},{key:"check",value:function(e,n,i,r){if(void 0!==i[e]||void 0!==i.__any__){var o=e,a=!0;void 0===i[e]&&void 0!==i.__any__&&(o="__any__",a="object"===t.getType(n[e]));var s=i[o];a&&void 0!==s.__type__&&(s=s.__type__),t.checkFields(e,n,i,o,s,r)}else t.getSuggestion(e,i,r)}},{key:"checkFields",value:function(e,n,i,r,o,a){var s=function(n){console.log("%c"+n+t.printLocation(a,e),Gp)},u=t.getType(n[e]),c=o[u];void 0!==c?"array"===t.getType(c)&&-1===Ho(c).call(c,n[e])?(s('Invalid option detected in "'+e+'". Allowed values are:'+t.print(c)+' not "'+n[e]+'". '),Vp=!0):"object"===u&&"__any__"!==r&&(a=js(a,e),t.parse(n[e],i[r],a)):void 0===o["any"]&&(s('Invalid type received for "'+e+'". Expected: '+t.print(La(o))+". Received ["+u+'] "'+n[e]+'"'),Vp=!0)}},{key:"getType",value:function(t){var e=Qa(t);return"object"===e?null===t?"null":t instanceof Boolean?"boolean":t instanceof Number?"number":t instanceof String?"string":Ga(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}},{key:"getSuggestion",value:function(e,n,i){var r,o=t.findInOptions(e,n,i,!1),a=t.findInOptions(e,Wp,[],!0),s=8,u=4;r=void 0!==o.indexMatch?" in "+t.printLocation(o.path,e,"")+'Perhaps it was incomplete? Did you mean: "'+o.indexMatch+'"?\n\n':a.distance<=u&&o.distance>a.distance?" in "+t.printLocation(o.path,e,"")+"Perhaps it was misplaced? Matching option found at: "+t.printLocation(a.path,a.closestMatch,""):o.distance<=s?'. Did you mean "'+o.closestMatch+'"?'+t.printLocation(o.path,e):". Did you mean one of these: "+t.print(La(n))+t.printLocation(i,e),console.log('%cUnknown option detected: "'+e+'"'+r,Gp),Vp=!0}},{key:"findInOptions",value:function(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=1e9,a="",s=[],u=e.toLowerCase(),c=void 0;for(var l in n){var d=void 0;if(void 0!==n[l].__type__&&!0===r){var h=t.findInOptions(e,n[l],js(i,l));o>h.distance&&(a=h.closestMatch,s=h.path,o=h.distance,c=h.indexMatch)}else{var f;-1!==Ho(f=l.toLowerCase()).call(f,u)&&(c=l),d=t.levenshteinDistance(e,l),o>d&&(a=l,s=Fs(i),o=d)}}return{closestMatch:a,path:s,distance:o,indexMatch:c}}},{key:"printLocation",value:function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Problem value found at: \n",i="\n\n"+n+"options = {\n",r=0;rt.left&&this.shape.topt.top}},{key:"isBoundingBoxOverlappingWith",value:function(t){return this.shape.boundingBox.leftt.left&&this.shape.boundingBox.topt.top}}],[{key:"checkOpacity",value:function(t){return 0<=t&&t<=1}},{key:"checkCoordinateOrigin",value:function(t){return void 0===t||"center"===t||"top-left"===t}},{key:"updateGroupOptions",value:function(e,n,i){var r;if(void 0!==i){var o=e.group;if(void 0!==n&&void 0!==n.group&&o!==n.group)throw new Error("updateGroupOptions: group values in options don't match.");var a="number"===typeof o||"string"===typeof o&&""!=o;if(a){var s=i.get(o);void 0!==s.opacity&&void 0===n.opacity&&(t.checkOpacity(s.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+s.opacity),s.opacity=void 0));var u=To(r=jh(n)).call(r,(function(t){return null!=n[t]}));u.push("font"),Is(u,e,s),e.color=Vs(e.color)}}}},{key:"parseOptions",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,a=["color","fixed","shadow"];if(Is(a,e,n,i),t.checkMass(n),void 0!==e.opacity&&(t.checkOpacity(e.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+e.opacity),e.opacity=void 0)),void 0!==n.opacity&&(t.checkOpacity(n.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+n.opacity),n.opacity=void 0)),n.shapeProperties&&!t.checkCoordinateOrigin(n.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+n.shapeProperties.coordinateOrigin),nu(e,n,"shadow",r),void 0!==n.color&&null!==n.color){var s=Vs(n.color);As(e.color,s)}else!0===i&&null===n.color&&(e.color=eu(r.color));void 0!==n.fixed&&null!==n.fixed&&("boolean"===typeof n.fixed?(e.fixed.x=n.fixed,e.fixed.y=n.fixed):(void 0!==n.fixed.x&&"boolean"===typeof n.fixed.x&&(e.fixed.x=n.fixed.x),void 0!==n.fixed.y&&"boolean"===typeof n.fixed.y&&(e.fixed.y=n.fixed.y))),!0===i&&null===n.font&&(e.font=eu(r.font)),t.updateGroupOptions(e,n,o),void 0!==n.scaling&&nu(e.scaling,n.scaling,"label",r.scaling)}},{key:"checkMass",value:function(t,e){if(void 0!==t.mass&&t.mass<=0){var n="";void 0!==e&&(n=" in node id: "+e),console.log("%cNegative or zero mass disallowed"+n+", setting mass to 1.",Gp),t.mass=1}}}]),t}();function Jp(t,e){var n;if("undefined"===typeof vs||null==ar(t)){if(Ga(t)||(n=tv(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=rr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function tv(t,e){var n;if(t){if("string"===typeof t)return ev(t,e);var i=ts(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?wr(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ev(t,e):void 0}}function ev(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1?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(var e in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&this.body.nodes[e].updateShape();if("undefined"!==typeof t.font||"undefined"!==typeof t.widthConstraint||"undefined"!==typeof t.heightConstraint)for(var n=0,i=La(this.body.nodes);n1&&void 0!==arguments[1]&&arguments[1],n=this.body.data.nodes;if(t instanceof i["a"]||t instanceof i["b"])this.body.data.nodes=t;else if(Ga(t))this.body.data.nodes=new i["a"],this.body.data.nodes.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new i["a"]}if(n&&$s(this.nodesListeners,(function(t,e){n.off(e,t)})),this.body.nodes={},this.body.data.nodes){var r=this;$s(this.nodesListeners,(function(t,e){r.body.data.nodes.on(e,t)}));var o=this.body.data.nodes.getIds();this.add(o,!0)}!1===e&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],r=0;r1&&void 0!==arguments[1]?arguments[1]:Qp;return new e(t,this.body,this.images,this.groups,this.options,this.defaultOptions)}},{key:"refresh",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];$s(this.body.nodes,(function(n,i){var r=t.body.data.nodes.get(i);void 0!==r&&(!0===e&&n.setOptions({x:null,y:null}),n.setOptions({fixed:!1}),n.setOptions(r))}))}},{key:"getPositions",value:function(t){var e={};if(void 0!==t){if(!0===Ga(t)){for(var n=0;n0?(i=n/s,r+=i*i):r+=n;return s===1/0?1/0:s*pv(r)}});var yv=H.Math.hypot,gv=yv,mv=gv;function bv(t){var e=wv();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function wv(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var _v=function(){function t(){nh(this,t)}return oh(t,null,[{key:"transform",value:function(t,e){Ga(t)||(t=[t]);for(var n=e.point.x,i=e.point.y,r=e.angle,o=e.length,a=0;a4&&void 0!==arguments[4]?arguments[4]:this.getViaNode();t.strokeStyle=this.getColor(t,e),t.lineWidth=e.width,!1!==e.dashes?this._drawDashedLine(t,e,r):this._drawLine(t,e,r)}},{key:"_drawLine",value:function(t,e,n,i,r){if(this.from!=this.to)this._line(t,e,n,i,r);else{var o=this._getCircleData(t),a=Aa(o,3),s=a[0],u=a[1],c=a[2];this._circle(t,e,s,u,c)}}},{key:"_drawDashedLine",value:function(t,e,n,i,r){t.lineCap="round";var o=Ga(e.dashes)?e.dashes:[5,5];if(void 0!==t.setLineDash){if(t.save(),t.setLineDash(o),t.lineDashOffset=0,this.from!=this.to)this._line(t,e,n);else{var a=this._getCircleData(t),s=Aa(a,3),u=s[0],c=s[1],l=s[2];this._circle(t,e,u,c,l)}t.setLineDash([0]),t.lineDashOffset=0,t.restore()}else{if(this.from!=this.to)Ht(t,this.from.x,this.from.y,this.to.x,this.to.y,o);else{var d=this._getCircleData(t),h=Aa(d,3),f=h[0],p=h[1],v=h[2];this._circle(t,e,f,p,v)}this.enableShadow(t,e),t.stroke(),this.disableShadow(t,e)}}},{key:"findBorderPosition",value:function(t,e,n){return this.from!=this.to?this._findBorderPosition(t,e,n):this._findBorderPositionCircle(t,e,n)}},{key:"findBorderPositions",value:function(t){if(this.from!=this.to)return{from:this._findBorderPosition(this.from,t),to:this._findBorderPosition(this.to,t)};var e,n=ts(e=this._getCircleData(t)).call(e,0,2),i=Aa(n,2),r=i[0],o=i[1];return{from:this._findBorderPositionCircle(this.from,t,{x:r,y:o,low:.25,high:.6,direction:-1}),to:this._findBorderPositionCircle(this.from,t,{x:r,y:o,low:.6,high:.8,direction:1})}}},{key:"_getCircleData",value:function(t){var e=this.options.selfReference.size;void 0!==t&&void 0===this.from.shape.width&&this.from.shape.resize(t);var n=qh(t,this.options.selfReference.angle,e,this.from);return[n.x,n.y,e]}},{key:"_pointOnCircle",value:function(t,e,n,i){var r=2*i*Math.PI;return{x:t+n*Math.cos(r),y:e-n*Math.sin(r)}}},{key:"_findBorderPositionCircle",value:function(t,e,n){var i,r=n.x,o=n.y,a=n.low,s=n.high,u=n.direction,c=10,l=this.options.selfReference.size,d=.05,h=.5*(a+s),f=0;!0===this.options.arrowStrikethrough&&(-1===u?f=this.options.endPointOffset.from:1===u&&(f=this.options.endPointOffset.to));var p=0;do{h=.5*(a+s),i=this._pointOnCircle(r,o,l,h);var v=Math.atan2(t.y-i.y,t.x-i.x),y=t.distanceToBorder(e,v)+f,g=Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2)),m=y-g;if(Math.abs(m)0?u>0?a=h:s=h:u>0?s=h:a=h,++p}while(a<=s&&p1?c=1:c<0&&(c=0);var l=t+c*a,d=e+c*s,h=l-r,f=d-o;return Math.sqrt(h*h+f*f)}},{key:"getArrowData",value:function(t,e,n,i,r,o){var a,s,u,c,l,d,h,f=o.width;"from"===e?(u=this.from,c=this.to,l=o.fromArrowScale<0,d=Math.abs(o.fromArrowScale),h=o.fromArrowType):"to"===e?(u=this.to,c=this.from,l=o.toArrowScale<0,d=Math.abs(o.toArrowScale),h=o.toArrowType):(u=this.to,c=this.from,l=o.middleArrowScale<0,d=Math.abs(o.middleArrowScale),h=o.middleArrowType);var p=15*d+3*f;if(u!=c){var v=mv(u.x-c.x,u.y-c.y),y=p/v;if("middle"!==e)if(!0===this.options.smooth.enabled){var g=this._findBorderPosition(u,t,{via:n}),m=this.getPoint(g.t+y*("from"===e?1:-1),n);a=Math.atan2(g.y-m.y,g.x-m.x),s=g}else a=Math.atan2(u.y-c.y,u.x-c.x),s=this._findBorderPosition(u,t);else{var b=(l?-y:y)/2,w=this.getPoint(.5+b,n),_=this.getPoint(.5-b,n);a=Math.atan2(w.y-_.y,w.x-_.x),s=this.getPoint(.5,n)}}else{var x=this._getCircleData(t),k=Aa(x,3),O=k[0],S=k[1],E=k[2];if("from"===e){var C=this.options.selfReference.angle,T=this.options.selfReference.angle+Math.PI,D=this._findBorderPositionCircle(this.from,t,{x:O,y:S,low:C,high:T,direction:-1});a=-2*D.t*Math.PI+1.5*Math.PI+.1*Math.PI,s=D}else if("to"===e){var M=this.options.selfReference.angle,A=this.options.selfReference.angle+Math.PI,P=this._findBorderPositionCircle(this.from,t,{x:O,y:S,low:M,high:A,direction:1});a=-2*P.t*Math.PI+1.5*Math.PI-1.1*Math.PI,s=P}else{var I=this.options.selfReference.angle/(2*Math.PI);s=this._pointOnCircle(O,S,E,I),a=-2*I*Math.PI+1.5*Math.PI+.1*Math.PI}}var N=s.x-.9*p*Math.cos(a),j=s.y-.9*p*Math.sin(a),F={x:N,y:j};return{point:s,core:F,angle:a,length:p,type:h}}},{key:"drawArrowHead",value:function(t,e,n,i,r){t.strokeStyle=this.getColor(t,e),t.fillStyle=t.strokeStyle,t.lineWidth=e.width;var o=Nv.draw(t,r);o&&(this.enableShadow(t,e),If(t).call(t),this.disableShadow(t,e))}},{key:"enableShadow",value:function(t,e){!0===e.shadow&&(t.shadowColor=e.shadowColor,t.shadowBlur=e.shadowSize,t.shadowOffsetX=e.shadowX,t.shadowOffsetY=e.shadowY)}},{key:"disableShadow",value:function(t,e){!0===e.shadow&&(t.shadowColor="rgba(0,0,0,0)",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0)}},{key:"drawBackground",value:function(t,e){if(!1!==e.background){var n={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=n.strokeStyle,t.lineWidth=n.lineWidth,t.dashes=n.dashes,this.setStrokeDashed(t,e.dashes)}}},{key:"setStrokeDashed",value:function(t,e){if(!1!==e)if(void 0!==t.setLineDash){var n=Ga(e)?e:[5,5];t.setLineDash(n)}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.")}}]),t}();function Lv(t,e){var n=La(t);if(bi){var i=bi(t);e&&(i=To(i).call(i,(function(e){return ye(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bv(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:this._getViaCoordinates(),o=10,a=.2,s=!1,u=1,c=0,l=this.to,d=this.options.endPointOffset?this.options.endPointOffset.to:0;t.id===this.from.id&&(l=this.from,s=!0,d=this.options.endPointOffset?this.options.endPointOffset.from:0),!1===this.options.arrowStrikethrough&&(d=0);var h=0;do{i=.5*(c+u),n=this.getPoint(i,r);var f=Math.atan2(l.y-n.y,l.x-n.x),p=l.distanceToBorder(e,f)+d,v=Math.sqrt(Math.pow(n.x-l.x,2)+Math.pow(n.y-l.y,2)),y=p-v;if(Math.abs(y)0&&(s=this._getDistanceToLine(f,p,l,d,r,o),h=s1&&void 0!==arguments[1]?arguments[1]:this.via;if(this.from===this.to){var n=this._getCircleData(),i=Aa(n,3),r=i[0],o=i[1],a=i[2],s=2*Math.PI*(1-t);return{x:r+a*Math.sin(s),y:o+a-a*(1-Math.cos(s))}}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}}},{key:"_findBorderPosition",value:function(t,e){return this._findBorderPositionBezier(t,e,this.via)}},{key:"_getDistanceToEdge",value:function(t,e,n,i,r,o){return this._getDistanceToBezierEdge(t,e,n,i,r,o,this.via)}}]),n}(Hv);function qv(t){var e=Vv();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Vv(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Gv=function(t){wf(n,t);var e=qv(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"_line",value:function(t,e,n){this._bezierCurve(t,e,n)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_getViaCoordinates",value:function(){var t,e,n=this.options.smooth.roundness,i=this.options.smooth.type,r=Math.abs(this.from.x-this.to.x),o=Math.abs(this.from.y-this.to.y);if("discrete"===i||"diagonalCross"===i){var a,s;a=s=r<=o?n*o:n*r,this.from.x>this.to.x&&(a=-a),this.from.y>=this.to.y&&(s=-s);var u=this.from.x+a,c=this.from.y+s;return"discrete"===i&&(r<=o?u=rthis.to.x&&(t=-t),this.from.y>=this.to.y&&(e=-e);var x=this.from.x+t,k=this.from.y+e;return r<=o?x=this.from.x<=this.to.x?this.to.xx?this.to.x:x:k=this.from.y>=this.to.y?this.to.y>k?this.to.y:k:this.to.y2&&void 0!==arguments[2]?arguments[2]:{};return this._findBorderPositionBezier(t,e,n.via)}},{key:"_getDistanceToEdge",value:function(t,e,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates();return this._getDistanceToBezierEdge(t,e,n,i,r,o,a)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=t,i=Math.pow(1-n,2)*this.fromPoint.x+2*n*(1-n)*e.x+Math.pow(n,2)*this.toPoint.x,r=Math.pow(1-n,2)*this.fromPoint.y+2*n*(1-n)*e.y+Math.pow(n,2)*this.toPoint.y;return{x:i,y:r}}}]),n}(Hv);function Xv(t){var e=Zv();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function Zv(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var Kv=function(t){wf(n,t);var e=Xv(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"_getDistanceToBezierEdge2",value:function(t,e,n,i,r,o,a,s){for(var u=1e9,c=t,l=e,d=[0,0,0,0],h=1;h<10;h++){var f=.1*h;d[0]=Math.pow(1-f,3),d[1]=3*f*Math.pow(1-f,2),d[2]=3*Math.pow(f,2)*(1-f),d[3]=Math.pow(f,3);var p=d[0]*t+d[1]*a.x+d[2]*s.x+d[3]*n,v=d[0]*e+d[1]*a.y+d[2]*s.y+d[3]*i;if(h>0){var y=this._getDistanceToLine(c,l,p,v,r,o);u=yMath.abs(o)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(e=this.from.y,i=this.to.y,t=this.from.x-a*r,n=this.to.x+a*r):(e=this.from.y-a*o,i=this.to.y+a*o,t=this.from.x,n=this.to.x),[{x:t,y:e},{x:n,y:i}]}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_findBorderPosition",value:function(t,e){return this._findBorderPositionBezier(t,e)}},{key:"_getDistanceToEdge",value:function(t,e,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates(),s=Aa(a,2),u=s[0],c=s[1];return this._getDistanceToBezierEdge2(t,e,n,i,r,o,u,c)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=Aa(e,2),i=n[0],r=n[1],o=t,a=[Math.pow(1-o,3),3*o*Math.pow(1-o,2),3*Math.pow(o,2)*(1-o),Math.pow(o,3)],s=a[0]*this.fromPoint.x+a[1]*i.x+a[2]*r.x+a[3]*this.toPoint.x,u=a[0]*this.fromPoint.y+a[1]*i.y+a[2]*r.y+a[3]*this.toPoint.y;return{x:s,y:u}}}]),n}(Kv);function ey(t){var e=ny();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function ny(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var iy=function(t){wf(n,t);var e=ey(n);function n(t,i,r){return nh(this,n),e.call(this,t,i,r)}return oh(n,[{key:"_line",value:function(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)}},{key:"getViaNode",value:function(){}},{key:"getPoint",value:function(t){return{x:(1-t)*this.fromPoint.x+t*this.toPoint.x,y:(1-t)*this.fromPoint.y+t*this.toPoint.y}}},{key:"_findBorderPosition",value:function(t,e){var n=this.to,i=this.from;t.id===this.from.id&&(n=this.from,i=this.to);var r=Math.atan2(n.y-i.y,n.x-i.x),o=n.x-i.x,a=n.y-i.y,s=Math.sqrt(o*o+a*a),u=t.distanceToBorder(e,r),c=(s-u)/s;return{x:(1-c)*i.x+c*n.x,y:(1-c)*i.y+c*n.y,t:0}}},{key:"_getDistanceToEdge",value:function(t,e,n,i,r,o){return this._getDistanceToLine(t,e,n,i,r,o)}}]),n}(Rv),ry=function(){function t(e,n,i,r,o){if(nh(this,t),void 0===n)throw new Error("No body provided");this.options=eu(r),this.globalOptions=r,this.defaultOptions=o,this.body=n,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 of(this.body,this.options,!0),this.setOptions(e)}return oh(t,[{key:"setOptions",value:function(e){if(e){var n="undefined"!==typeof e.physics&&this.options.physics!==e.physics||"undefined"!==typeof e.hidden&&(this.options.hidden||!1)!==(e.hidden||!1)||"undefined"!==typeof e.from&&this.options.from!==e.from||"undefined"!==typeof e.to&&this.options.to!==e.to;t.parseOptions(this.options,e,!0,this.globalOptions),void 0!==e.id&&(this.id=e.id),void 0!==e.from&&(this.fromId=e.from),void 0!==e.to&&(this.toId=e.to),void 0!==e.title&&(this.title=e.title),void 0!==e.value&&(e.value=Hh(e.value));var i=[e,this.options,this.defaultOptions];return this.chooser=Wh("edge",i),this.updateLabelModule(e),n=this.updateEdgeType()||n,this._setInteractionWidths(),this.connect(),n}}},{key:"getFormattingValues",value:function(){var t=!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,e=!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,n=!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,i=this.options.color.inherit,r={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:n,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:i?void 0:this.options.color.color,inheritsColor:i,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){var o=this.options.selectionWidth;"function"===typeof o?r.width=o(r.width):"number"===typeof o&&(r.width+=o),r.width=Math.max(r.width,.3/this.body.view.scale),r.color=this.options.color.highlight,r.shadow=this.options.shadow.enabled}else if(this.hover){var a=this.options.hoverWidth;"function"===typeof a?r.width=a(r.width):"number"===typeof a&&(r.width+=a),r.width=Math.max(r.width,.3/this.body.view.scale),r.color=this.options.color.hover,r.shadow=this.options.shadow.enabled}}else"function"===typeof this.chooser&&(this.chooser(r,this.options.id,this.selected,this.hover),void 0!==r.color&&(r.inheritsColor=!1),!1===r.shadow&&(r.shadowColor===this.options.shadow.color&&r.shadowSize===this.options.shadow.size&&r.shadowX===this.options.shadow.x&&r.shadowY===this.options.shadow.y||(r.shadow=!0)));else r.shadow=this.options.shadow.enabled,r.width=Math.max(r.width,.3/this.body.view.scale);return r}},{key:"updateLabelModule",value:function(t){var e=[t,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,e),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateEdgeType",value:function(){var t=this.options.smooth,e=!1,n=!0;return void 0!==this.edgeType&&((this.edgeType instanceof Uv&&!0===t.enabled&&"dynamic"===t.type||this.edgeType instanceof ty&&!0===t.enabled&&"cubicBezier"===t.type||this.edgeType instanceof Gv&&!0===t.enabled&&"dynamic"!==t.type&&"cubicBezier"!==t.type||this.edgeType instanceof iy&&!1===t.type.enabled)&&(n=!1),!0===n&&(e=this.cleanup())),!0===n?!0===t.enabled?"dynamic"===t.type?(e=!0,this.edgeType=new Uv(this.options,this.body,this.labelModule)):"cubicBezier"===t.type?this.edgeType=new ty(this.options,this.body,this.labelModule):this.edgeType=new Gv(this.options,this.body,this.labelModule):this.edgeType=new iy(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),e}},{key:"connect",value:function(){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()}},{key:"disconnect",value:function(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}},{key:"getTitle",value:function(){return this.title}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"setValueRange",value:function(t,e,n){if(void 0!==this.options.value){var i=this.options.scaling.customScalingFunction(t,e,n,this.options.value),r=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){var o=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+i*o}this.options.width=this.options.scaling.min+i*r}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}},{key:"_setInteractionWidths",value:function(){"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}},{key:"draw",value:function(t){var e=this.getFormattingValues();if(!e.hidden){var n=this.edgeType.getViaNode();this.edgeType.drawLine(t,e,this.selected,this.hover,n),this.drawLabel(t,n)}}},{key:"drawArrows",value:function(t){var e=this.getFormattingValues();if(!e.hidden){var n=this.edgeType.getViaNode(),i={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,e.fromArrow&&(i.from=this.edgeType.getArrowData(t,"from",n,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.fromPoint=i.from.core),e.fromArrowSrc&&(i.from.image=this.imagelist.load(e.fromArrowSrc)),e.fromArrowImageWidth&&(i.from.imageWidth=e.fromArrowImageWidth),e.fromArrowImageHeight&&(i.from.imageHeight=e.fromArrowImageHeight)),e.toArrow&&(i.to=this.edgeType.getArrowData(t,"to",n,this.selected,this.hover,e),!1===e.arrowStrikethrough&&(this.edgeType.toPoint=i.to.core),e.toArrowSrc&&(i.to.image=this.imagelist.load(e.toArrowSrc)),e.toArrowImageWidth&&(i.to.imageWidth=e.toArrowImageWidth),e.toArrowImageHeight&&(i.to.imageHeight=e.toArrowImageHeight)),e.middleArrow&&(i.middle=this.edgeType.getArrowData(t,"middle",n,this.selected,this.hover,e),e.middleArrowSrc&&(i.middle.image=this.imagelist.load(e.middleArrowSrc)),e.middleArrowImageWidth&&(i.middle.imageWidth=e.middleArrowImageWidth),e.middleArrowImageHeight&&(i.middle.imageHeight=e.middleArrowImageHeight)),e.fromArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,i.from),e.middleArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,i.middle),e.toArrow&&this.edgeType.drawArrowHead(t,e,this.selected,this.hover,i.to)}}},{key:"drawLabel",value:function(t,e){if(void 0!==this.options.label){var n,i=this.from,r=this.to;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(t,this.selected,this.hover),i.id!=r.id){this.labelModule.pointToSelf=!1,n=this.edgeType.getPoint(.5,e),t.save();var o=this._getRotation(t);0!=o.angle&&(t.translate(o.x,o.y),t.rotate(o.angle)),this.labelModule.draw(t,n.x,n.y,this.selected,this.hover),t.restore()}else{this.labelModule.pointToSelf=!0;var a=qh(t,this.options.selfReference.angle,this.options.selfReference.size,i);n=this._pointOnCircle(a.x,a.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(t,n.x,n.y,this.selected,this.hover)}}}},{key:"getItemsOnPoint",value:function(t){var e=[];if(this.labelModule.visible()){var n=this._getRotation();Yh(this.labelModule.getSize(),t,n)&&e.push({edgeId:this.id,labelId:0})}var i={left:t.x,top:t.y};return this.isOverlappingWith(i)&&e.push({edgeId:this.id}),e}},{key:"isOverlappingWith",value:function(t){if(this.connected){var e=10,n=this.from.x,i=this.from.y,r=this.to.x,o=this.to.y,a=t.left,s=t.top,u=this.edgeType.getDistanceToEdge(n,i,r,o,a,s);return u0&&o<0)&&(a+=Math.PI),i.angle=a,i}},{key:"_pointOnCircle",value:function(t,e,n,i){return{x:t+n*Math.cos(i),y:e-n*Math.sin(i)}}},{key:"select",value:function(){this.selected=!0}},{key:"unselect",value:function(){this.selected=!1}},{key:"cleanup",value:function(){return this.edgeType.cleanup()}},{key:"remove",value:function(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}},{key:"endPointsValid",value:function(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}],[{key:"parseOptions",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if(Ps(o,t,e,n),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.from&&(Eh(e.endPointOffset.from)?t.endPointOffset.from=e.endPointOffset.from:(t.endPointOffset.from=void 0!==i.endPointOffset.from?i.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),void 0!==e.endPointOffset&&void 0!==e.endPointOffset.to&&(Eh(e.endPointOffset.to)?t.endPointOffset.to=e.endPointOffset.to:(t.endPointOffset.to=void 0!==i.endPointOffset.to?i.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),Uh(e.label)?t.label=e.label:Uh(t.label)||(t.label=void 0),nu(t,e,"smooth",i),nu(t,e,"shadow",i),nu(t,e,"background",i),void 0!==e.dashes&&null!==e.dashes?t.dashes=e.dashes:!0===n&&null===e.dashes&&(t.dashes=Or(i.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),nu(t.scaling,e.scaling,"label",i.scaling)):!0===n&&null===e.scaling&&(t.scaling=Or(i.scaling)),void 0!==e.arrows&&null!==e.arrows)if("string"===typeof e.arrows){var a=e.arrows.toLowerCase();t.arrows.to.enabled=-1!=Ho(a).call(a,"to"),t.arrows.middle.enabled=-1!=Ho(a).call(a,"middle"),t.arrows.from.enabled=-1!=Ho(a).call(a,"from")}else{if("object"!==Qa(e.arrows))throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+qp(e.arrows));nu(t.arrows,e.arrows,"to",i.arrows),nu(t.arrows,e.arrows,"middle",i.arrows),nu(t.arrows,e.arrows,"from",i.arrows)}else!0===n&&null===e.arrows&&(t.arrows=Or(i.arrows));if(void 0!==e.color&&null!==e.color){var s=Ts(e.color)?{color:e.color,highlight:e.color,hover:e.color,inherit:!1,opacity:1}:e.color,u=t.color;if(r)Ns(u,i.color,!1,n);else for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&delete u[c];if(Ts(u))u.color=u,u.highlight=u,u.hover=u,u.inherit=!1,void 0===s.opacity&&(u.opacity=1);else{var l=!1;void 0!==s.color&&(u.color=s.color,l=!0),void 0!==s.highlight&&(u.highlight=s.highlight,l=!0),void 0!==s.hover&&(u.hover=s.hover,l=!0),void 0!==s.inherit&&(u.inherit=s.inherit),void 0!==s.opacity&&(u.opacity=Math.min(1,Math.max(0,s.opacity))),!0===l?u.inherit=!1:void 0===u.inherit&&(u.inherit="from")}}else!0===n&&null===e.color&&(t.color=eu(i.color));!0===n&&null===e.font&&(t.font=eu(i.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)}}]),t}(),oy=function(){function t(e,n,i){var r,o=this;nh(this,t),this.body=e,this.images=n,this.groups=i,this.body.functions.createEdge=ut(r=this.create).call(r,this),this.edgesListeners={add:function(t,e){o.add(e.items)},update:function(t,e){o.update(e.items)},remove:function(t,e){o.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,n,i){if(e===t)return.5;var r=1/(e-t);return Math.max(0,(i-t)*r)}},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},Ns(this.options,this.defaultOptions),this.bindEventListeners()}return oh(t,[{key:"bindEventListeners",value:function(){var t,e,n=this;this.body.emitter.on("_forceDisableDynamicCurves",(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"dynamic"===t&&(t="continuous");var i=!1;for(var r in n.body.edges)if(Object.prototype.hasOwnProperty.call(n.body.edges,r)){var o=n.body.edges[r],a=n.body.data.edges.get(r);if(null!=a){var s=a.smooth;void 0!==s&&!0===s.enabled&&"dynamic"===s.type&&(void 0===t?o.setOptions({smooth:!1}):o.setOptions({smooth:{type:t}}),i=!0)}}!0===e&&!0===i&&n.body.emitter.emit("_dataChanged")})),this.body.emitter.on("_dataUpdated",(function(){n.reconnectEdges()})),this.body.emitter.on("refreshEdges",ut(t=this.refresh).call(t,this)),this.body.emitter.on("refresh",ut(e=this.refresh).call(e,this)),this.body.emitter.on("destroy",(function(){$s(n.edgesListeners,(function(t,e){n.body.data.edges&&n.body.data.edges.off(e,t)})),delete n.body.functions.createEdge,delete n.edgesListeners.add,delete n.edgesListeners.update,delete n.edgesListeners.remove,delete n.edgesListeners}))}},{key:"setOptions",value:function(t){if(void 0!==t){ry.parseOptions(this.options,t,!0,this.defaultOptions,!0);var e=!1;if(void 0!==t.smooth)for(var n in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,n)&&(e=this.body.edges[n].updateEdgeType()||e);if(void 0!==t.font)for(var i in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,i)&&this.body.edges[i].updateLabelModule();void 0===t.hidden&&void 0===t.physics&&!0!==e||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.body.data.edges;if(t instanceof i["a"]||t instanceof i["b"])this.body.data.edges=t;else if(Ga(t))this.body.data.edges=new i["a"],this.body.data.edges.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.body.data.edges=new i["a"]}if(r&&$s(this.edgesListeners,(function(t,e){r.off(e,t)})),this.body.edges={},this.body.data.edges){$s(this.edgesListeners,(function(t,n){e.body.data.edges.on(n,t)}));var o=this.body.data.edges.getIds();this.add(o,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===n&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.edges,i=this.body.data.edges,r=0;r1&&void 0!==arguments[1])||arguments[1];if(0!==t.length){var n=this.body.edges;$s(t,(function(t){var e=n[t];void 0!==e&&e.remove()})),e&&this.body.emitter.emit("_dataChanged")}}},{key:"refresh",value:function(){var t=this;$s(this.body.edges,(function(e,n){var i=t.body.data.edges.get(n);void 0!==i&&e.setOptions(i)}))}},{key:"create",value:function(t){return new ry(t,this.body,this.images,this.options,this.defaultOptions)}},{key:"reconnectEdges",value:function(){var t,e=this.body.nodes,n=this.body.edges;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t].edges=[]);for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)){var i=n[t];i.from=null,i.to=null,i.connect()}}},{key:"getConnectedNodes",value:function(t){var e=[];if(void 0!==this.body.edges[t]){var n=this.body.edges[t];void 0!==n.fromId&&e.push(n.fromId),void 0!==n.toId&&e.push(n.toId)}return e}},{key:"_updateState",value:function(){this._addMissingEdges(),this._removeInvalidEdges()}},{key:"_removeInvalidEdges",value:function(){var t=this,e=[];$s(this.body.edges,(function(n,i){var r=t.body.nodes[n.toId],o=t.body.nodes[n.fromId];void 0!==r&&!0===r.isCluster||void 0!==o&&!0===o.isCluster||void 0!==r&&void 0!==o||e.push(i)})),this.remove(e,!1)}},{key:"_addMissingEdges",value:function(){var t=this.body.data.edges;if(void 0!==t&&null!==t){var e=this.body.edges,n=[];Qr(t).call(t,(function(t,i){var r=e[i];void 0===r&&n.push(i)})),this.add(n,!0)}}}]),t}(),ay=function(){function t(e,n,i){nh(this,t),this.body=e,this.physicsBody=n,this.barnesHutTree,this.setOptions(i),this._rng=bs("BARNES HUT SOLVER")}return oh(t,[{key:"setOptions",value:function(t){this.options=t,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}},{key:"solve",value:function(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){var t,e=this.body.nodes,n=this.physicsBody.physicsNodeIndices,i=n.length,r=this._formBarnesHutTree(e,n);this.barnesHutTree=r;for(var o=0;o0&&this._getForceContributions(r.root,t)}}},{key:"_getForceContributions",value:function(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)}},{key:"_getForceContribution",value:function(t,e){if(t.childrenCount>0){var n=t.centerOfMass.x-e.x,i=t.centerOfMass.y-e.y,r=Math.sqrt(n*n+i*i);r*t.calcSize>this.thetaInversed?this._calculateForces(r,n,i,e,t):4===t.childrenCount?this._getForceContributions(t,e):t.children.data.id!=e.id&&this._calculateForces(r,n,i,e,t)}}},{key:"_calculateForces",value:function(t,e,n,i,r){0===t&&(t=.1,e=t),this.overlapAvoidanceFactor<1&&i.shape.radius&&(t=Math.max(.1+this.overlapAvoidanceFactor*i.shape.radius,t-i.shape.radius));var o=this.options.gravitationalConstant*r.mass*i.options.mass/Math.pow(t,3),a=e*o,s=n*o;this.physicsBody.forces[i.id].x+=a,this.physicsBody.forces[i.id].y+=s}},{key:"_formBarnesHutTree",value:function(t,e){for(var n,i=e.length,r=t[e[0]].x,o=t[e[0]].y,a=t[e[0]].x,s=t[e[0]].y,u=1;u0&&(la&&(a=l),ds&&(s=d))}var h=Math.abs(a-r)-Math.abs(s-o);h>0?(o-=.5*h,s+=.5*h):(r+=.5*h,a-=.5*h);var f=1e-5,p=Math.max(f,Math.abs(a-r)),v=.5*p,y=.5*(r+a),g=.5*(o+s),m={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:y-v,maxX:y+v,minY:g-v,maxY:g+v},size:p,calcSize:1/p,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(m.root);for(var b=0;b0&&this._placeInTree(m.root,n);return m}},{key:"_updateBranchMass",value:function(t,e){var n=t.centerOfMass,i=t.mass+e.options.mass,r=1/i;n.x=n.x*t.mass+e.x*e.options.mass,n.x*=r,n.y=n.y*t.mass+e.y*e.options.mass,n.y*=r,t.mass=i;var o=Math.max(Math.max(e.height,e.radius),e.width);t.maxWidth=t.maxWidthe.x?r.maxY>e.y?"NW":"SW":r.maxY>e.y?"NE":"SE",this._placeInRegion(t,e,i)}},{key:"_placeInRegion",value:function(t,e,n){var i=t.children[n];switch(i.childrenCount){case 0:i.children.data=e,i.childrenCount=1,this._updateBranchMass(i,e);break;case 1:i.children.data.x===e.x&&i.children.data.y===e.y?(e.x+=this._rng(),e.y+=this._rng()):(this._splitBranch(i),this._placeInTree(i,e));break;case 4:this._placeInTree(i,e);break}}},{key:"_splitBranch",value:function(t){var 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)}},{key:"_insertRegion",value:function(t,e){var n,i,r,o,a=.5*t.size;switch(e){case"NW":n=t.range.minX,i=t.range.minX+a,r=t.range.minY,o=t.range.minY+a;break;case"NE":n=t.range.minX+a,i=t.range.maxX,r=t.range.minY,o=t.range.minY+a;break;case"SW":n=t.range.minX,i=t.range.minX+a,r=t.range.minY+a,o=t.range.maxY;break;case"SE":n=t.range.minX+a,i=t.range.maxX,r=t.range.minY+a,o=t.range.maxY;break}t.children[e]={centerOfMass:{x:0,y:0},mass:0,range:{minX:n,maxX:i,minY:r,maxY:o},size:.5*t.size,calcSize:2*t.calcSize,children:{data:null},maxWidth:0,level:t.level+1,childrenCount:0}}},{key:"_debug",value:function(t,e){void 0!==this.barnesHutTree&&(t.lineWidth=1,this._drawBranch(this.barnesHutTree.root,t,e))}},{key:"_drawBranch",value:function(t,e,n){void 0===n&&(n="#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=n,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()}}]),t}(),sy=function(){function t(e,n,i){nh(this,t),this._rng=bs("REPULSION SOLVER"),this.body=e,this.physicsBody=n,this.setOptions(i)}return oh(t,[{key:"setOptions",value:function(t){this.options=t}},{key:"solve",value:function(){for(var t,e,n,i,r,o,a,s,u=this.body.nodes,c=this.physicsBody.physicsNodeIndices,l=this.physicsBody.forces,d=this.options.nodeDistance,h=-2/3/d,f=4/3,p=0;p0){var o=r.edges.length+1,a=this.options.centralGravity*o*r.options.mass;i[r.id].x=e*a,i[r.id].y=n*a}}}]),n}(dy),my=function(){function t(e){nh(this,t),this.body=e,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}},Pt(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}return oh(t,[{key:"bindEventListeners",value:function(){var t=this;this.body.emitter.on("initPhysics",(function(){t.initPhysics()})),this.body.emitter.on("_layoutFailed",(function(){t.layoutFailed=!0})),this.body.emitter.on("resetPhysics",(function(){t.stopSimulation(),t.ready=!1})),this.body.emitter.on("disablePhysics",(function(){t.physicsEnabled=!1,t.stopSimulation()})),this.body.emitter.on("restorePhysics",(function(){t.setOptions(t.options),!0===t.ready&&t.startSimulation()})),this.body.emitter.on("startSimulation",(function(){!0===t.ready&&t.startSimulation()})),this.body.emitter.on("stopSimulation",(function(){t.stopSimulation()})),this.body.emitter.on("destroy",(function(){t.stopSimulation(!1),t.body.emitter.off()})),this.body.emitter.on("_dataChanged",(function(){t.updatePhysicsData()}))}},{key:"setOptions",value:function(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,Is(["stabilization"],this.options,t),nu(this.options,t,"stabilization"),void 0===t.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation());var e=this.options.wind;e&&(("number"!==typeof e.x||Dh(e.x))&&(e.x=0),("number"!==typeof e.y||Dh(e.y))&&(e.y=0)),this.timestep=this.options.timestep}this.init()}},{key:"init",value:function(){var t;"forceAtlas2Based"===this.options.solver?(t=this.options.forceAtlas2Based,this.nodesSolver=new py(this.body,this.physicsBody,t),this.edgesSolver=new cy(this.body,this.physicsBody,t),this.gravitySolver=new gy(this.body,this.physicsBody,t)):"repulsion"===this.options.solver?(t=this.options.repulsion,this.nodesSolver=new sy(this.body,this.physicsBody,t),this.edgesSolver=new cy(this.body,this.physicsBody,t),this.gravitySolver=new dy(this.body,this.physicsBody,t)):"hierarchicalRepulsion"===this.options.solver?(t=this.options.hierarchicalRepulsion,this.nodesSolver=new uy(this.body,this.physicsBody,t),this.edgesSolver=new ly(this.body,this.physicsBody,t),this.gravitySolver=new dy(this.body,this.physicsBody,t)):(t=this.options.barnesHut,this.nodesSolver=new ay(this.body,this.physicsBody,t),this.edgesSolver=new cy(this.body,this.physicsBody,t),this.gravitySolver=new dy(this.body,this.physicsBody,t)),this.modelOptions=t}},{key:"initPhysics",value:function(){!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"))}},{key:"startSimulation",value:function(){var t;!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=ut(t=this.simulationStep).call(t,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}},{key:"stopSimulation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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"))}},{key:"simulationStep",value:function(){var t=Na();this.physicsTick();var e=Na()-t;(e<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}},{key:"_emitStabilized",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.stabilizationIterations;(this.stabilizationIterations>1||!0===this.startedStabilization)&&fh((function(){t.body.emitter.emit("stabilized",{iterations:e}),t.startedStabilization=!1,t.stabilizationIterations=0}),0)}},{key:"physicsStep",value:function(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}},{key:"adjustTimeStep",value:function(){var t=1.2;!0===this._evaluateStepQuality()?this.timestep=t*this.timestep:this.timestep/to))return!1;return!0}},{key:"moveNodes",value:function(){for(var t=this.physicsBody.physicsNodeIndices,e=0,n=0,i=5,r=0;ro&&(t=t>0?o:-o),t}},{key:"_performStep",value:function(t){var e=this.body.nodes[t],n=this.physicsBody.forces[t];this.options.wind&&(n.x+=this.options.wind.x,n.y+=this.options.wind.y);var i=this.physicsBody.velocities[t];this.previousStates[t]={x:e.x,y:e.y,vx:i.x,vy:i.y},!1===e.options.fixed.x?(i.x=this.calculateComponentVelocity(i.x,n.x,e.options.mass),e.x+=i.x*this.timestep):(n.x=0,i.x=0),!1===e.options.fixed.y?(i.y=this.calculateComponentVelocity(i.y,n.y,e.options.mass),e.y+=i.y*this.timestep):(n.y=0,i.y=0);var r=Math.sqrt(Math.pow(i.x,2)+Math.pow(i.y,2));return r}},{key:"_freezeNodes",value:function(){var t=this.body.nodes;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].x&&t[e].y){var n=t[e].options.fixed;this.freezeCache[e]={x:n.x,y:n.y},n.x=!0,n.y=!0}}},{key:"_restoreFrozenNodes",value:function(){var t=this.body.nodes;for(var 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={}}},{key:"stabilize",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.stabilization.iterations;"number"!==typeof e&&(e=this.options.stabilization.iterations,console.log("The stabilize method needs a numeric amount of iterations. Switching to default: ",e)),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=e,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,fh((function(){return t._stabilizationBatch()}),0)):this.ready=!0}},{key:"_startStabilizing",value:function(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}},{key:"_stabilizationBatch",value:function(){var t=this,e=function(){return!1===t.stabilized&&t.stabilizationIterations1&&void 0!==arguments[1]?arguments[1]:[],i=1e9,r=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;se.shape.boundingBox.left&&(o=e.shape.boundingBox.left),ae.shape.boundingBox.top&&(i=e.shape.boundingBox.top),r1&&void 0!==arguments[1]?arguments[1]:[],i=1e9,r=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;se.x&&(o=e.x),ae.y&&(i=e.y),r=t&&n.push(r.id)}for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0===e.joinCondition)throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");e=this._checkOptions(e);var i={},r={};$s(this.body.nodes,(function(n,o){n.options&&!0===e.joinCondition(n.options)&&(i[o]=n,$s(n.edges,(function(e){void 0===t.clusteredEdges[e.id]&&(r[e.id]=e)})))})),this._cluster(i,r,e,n)}},{key:"clusterByEdgeCount",value:function(t,e){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e=this._checkOptions(e);for(var r,o,a,s=[],u={},c=function(i){var c={},l={},d=n.body.nodeIndices[i],h=n.body.nodes[d];if(void 0===u[d]){a=0,o=[];for(var f=0;f0&&La(l).length>0&&!0===v){var m=function(){for(var t=0;t1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(1,t,e)}},{key:"clusterBridges",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(2,t,e)}},{key:"clusterByConnection",value:function(t,e){var n,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===t)throw new Error("No nodeId supplied to clusterByConnection!");if(void 0===this.body.nodes[t])throw new Error("The nodeId given to clusterByConnection does not exist!");var r=this.body.nodes[t];e=this._checkOptions(e,r),void 0===e.clusterNodeProperties.x&&(e.clusterNodeProperties.x=r.x),void 0===e.clusterNodeProperties.y&&(e.clusterNodeProperties.y=r.y),void 0===e.clusterNodeProperties.fixed&&(e.clusterNodeProperties.fixed={},e.clusterNodeProperties.fixed.x=r.options.fixed.x,e.clusterNodeProperties.fixed.y=r.options.fixed.y);var o={},a={},s=r.id,u=Iy.cloneOptions(r);o[s]=r;for(var c=0;c-1&&(a[g.id]=g)}this._cluster(o,a,e,i)}},{key:"_createClusterEdges",value:function(t,e,n,i){for(var r,o,a,s,u,c,l=La(t),d=[],h=0;h0&&void 0!==arguments[0]?arguments[0]:{};return void 0===t.clusterEdgeProperties&&(t.clusterEdgeProperties={}),void 0===t.clusterNodeProperties&&(t.clusterNodeProperties={}),t}},{key:"_cluster",value:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=[];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&void 0!==this.clusteredNodes[o]&&r.push(o);for(var a=0;ar?e.x:r,o=e.ya?e.y:a;return{x:.5*(i+r),y:.5*(o+a)}}},{key:"openCluster",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===t)throw new Error("No clusterNodeId supplied to openCluster.");var i=this.body.nodes[t];if(void 0===i)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==i.isCluster||void 0===i.containedNodes||void 0===i.containedEdges)throw new Error("The node:"+t+" is not a valid cluster.");var r=this.findNode(t),o=Ho(r).call(r,t)-1;if(o>=0){var a=r[o],s=this.body.nodes[a];return s._openChildCluster(t),delete this.body.nodes[t],void(!0===n&&this.body.emitter.emit("_dataChanged"))}var u=i.containedNodes,c=i.containedEdges;if(void 0!==e&&void 0!==e.releaseFunction&&"function"===typeof e.releaseFunction){var l={},d={x:i.x,y:i.y};for(var h in u)if(Object.prototype.hasOwnProperty.call(u,h)){var f=this.body.nodes[h];l[h]={x:f.x,y:f.y}}var p=e.releaseFunction(d,l);for(var v in u)if(Object.prototype.hasOwnProperty.call(u,v)){var y=this.body.nodes[v];void 0!==p[v]&&(y.x=void 0===p[v].x?i.x:p[v].x,y.y=void 0===p[v].y?i.y:p[v].y)}}else $s(u,(function(t){!1===t.options.fixed.x&&(t.x=i.x),!1===t.options.fixed.y&&(t.y=i.y)}));for(var g in u)if(Object.prototype.hasOwnProperty.call(u,g)){var m=this.body.nodes[g];m.vx=i.vx,m.vy=i.vy,m.setOptions({physics:!0}),delete this.clusteredNodes[g]}for(var b=[],w=0;w0&&oi&&(i=o.edges.length),t+=o.edges.length,e+=Math.pow(o.edges.length,2),n+=1}t/=n,e/=n;var a=e-Math.pow(t,2),s=Math.sqrt(a),u=Math.floor(t+2*s);return u>i&&(u=i),u}},{key:"_createClusteredEdge",value:function(t,e,n,i,r){var o=Iy.cloneOptions(n,"edge");Ns(o,i),o.from=t,o.to=e,o.id="clusterEdge:"+Py(),void 0!==r&&Ns(o,r);var a=this.body.functions.createEdge(o);return a.clusteringEdgeReplacingIds=[n.id],a.connect(),this.body.edges[a.id]=a,a}},{key:"_clusterEdges",value:function(t,e,n,i){if(e instanceof ry){var r=e,o={};o[r.id]=r,e=o}if(t instanceof Qp){var a=t,s={};s[a.id]=a,t=s}if(void 0===n||null===n)throw new Error("_clusterEdges: parameter clusterNode required");for(var u in void 0===i&&(i=n.clusterEdgeProperties),this._createClusterEdges(t,e,n,i),e)if(Object.prototype.hasOwnProperty.call(e,u)&&void 0!==this.body.edges[u]){var c=this.body.edges[u];this._backupEdgeOptions(c),c.setOptions({physics:!1})}for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(this.clusteredNodes[l]={clusterId:n.id,node:this.body.nodes[l]},this.body.nodes[l].setOptions({physics:!1}))}},{key:"_getClusterNodeForNode",value:function(t){if(void 0!==t){var e=this.clusteredNodes[t];if(void 0!==e){var n=e.clusterId;if(void 0!==n)return this.body.nodes[n]}}}},{key:"_filter",value:function(t,e){var n=[];return $s(t,(function(t){e(t)&&n.push(t)})),n}},{key:"_updateState",value:function(){var t,e=this,n=[],i={},r=function(t){$s(e.body.nodes,(function(e){!0===e.isCluster&&t(e)}))};for(t in this.clusteredNodes)if(Object.prototype.hasOwnProperty.call(this.clusteredNodes,t)){var o=this.body.nodes[t];void 0===o&&n.push(t)}r((function(t){for(var e=0;e0}t.endPointsValid()&&r||(i[n]=n)})),r((function(t){$s(i,(function(n){delete t.containedEdges[n],$s(t.edges,(function(r,o){r.id!==n?r.clusteringEdgeReplacingIds=e._filter(r.clusteringEdgeReplacingIds,(function(t){return!i[t]})):t.edges[o]=null})),t.edges=e._filter(t.edges,(function(t){return null!==t}))}))})),$s(i,(function(t){delete e.clusteredEdges[t]})),$s(i,(function(t){delete e.body.edges[t]}));var s=La(this.body.edges);$s(s,(function(t){var n=e.body.edges[t],i=e._isClusteredNode(n.fromId)||e._isClusteredNode(n.toId);if(i!==e._isClusteredEdge(n.id))if(i){var r=e._getClusterNodeForNode(n.fromId);void 0!==r&&e._clusterEdges(e.body.nodes[n.fromId],n,r);var o=e._getClusterNodeForNode(n.toId);void 0!==o&&e._clusterEdges(e.body.nodes[n.toId],n,o)}else delete e._clusterEdges[t],e._restoreEdge(n)}));var u=!1,c=!0,l=function(){var t=[];r((function(e){var n=La(e.containedNodes).length,i=!0===e.options.allowSingleNodeCluster;(i&&n<1||!i&&n<2)&&t.push(e.id)}));for(var n=0;n0,u=u||c};while(c)l();u&&this._updateState()}},{key:"_isClusteredNode",value:function(t){return void 0!==this.clusteredNodes[t]}},{key:"_isClusteredEdge",value:function(t){return void 0!==this.clusteredEdges[t]}}]),t}();function Ly(){var t;void 0!==window&&(t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===t?function(t){t()}:t}var By=function(){function t(e,n){nh(this,t),Ly(),this.body=e,this.canvas=n,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},Pt(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}return oh(t,[{key:"bindEventListeners",value:function(){var t,e=this;this.body.emitter.on("dragStart",(function(){e.dragging=!0})),this.body.emitter.on("dragEnd",(function(){e.dragging=!1})),this.body.emitter.on("zoom",(function(){e.zooming=!0,window.clearTimeout(e.zoomTimeoutId),e.zoomTimeoutId=window.setTimeout((function(){var t;e.zooming=!1,ut(t=e._requestRedraw).call(t,e)()}),250)})),this.body.emitter.on("_resizeNodes",(function(){e._resizeNodes()})),this.body.emitter.on("_redraw",(function(){!1===e.renderingActive&&e._redraw()})),this.body.emitter.on("_blockRedraw",(function(){e.allowRedraw=!1})),this.body.emitter.on("_allowRedraw",(function(){e.allowRedraw=!0,e.redrawRequested=!1})),this.body.emitter.on("_requestRedraw",ut(t=this._requestRedraw).call(t,this)),this.body.emitter.on("_startRendering",(function(){e.renderRequests+=1,e.renderingActive=!0,e._startRendering()})),this.body.emitter.on("_stopRendering",(function(){e.renderRequests-=1,e.renderingActive=e.renderRequests>0,e.renderTimer=void 0})),this.body.emitter.on("destroy",(function(){e.renderRequests=0,e.allowRedraw=!1,e.renderingActive=!1,!0===e.requiresTimeout?clearTimeout(e.renderTimer):window.cancelAnimationFrame(e.renderTimer),e.body.emitter.off()}))}},{key:"setOptions",value:function(t){if(void 0!==t){var e=["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"];Ps(e,this.options,t)}}},{key:"_requestNextFrame",value:function(t,e){if("undefined"!==typeof window){var n,i=window;return!0===this.requiresTimeout?n=i.setTimeout(t,e):i.requestAnimationFrame&&(n=i.requestAnimationFrame(t)),n}}},{key:"_startRendering",value:function(){var t;!0===this.renderingActive&&(void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame(ut(t=this._renderStep).call(t,this),this.simulationInterval)))}},{key:"_renderStep",value:function(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}},{key:"redraw",value:function(){this.body.emitter.emit("setSize"),this._redraw()}},{key:"_requestRedraw",value:function(){var t=this;!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame((function(){t._redraw(!1)}),0))}},{key:"_redraw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];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();var e=this.canvas.getContext(),n=this.canvas.frame.canvas.clientWidth,i=this.canvas.frame.canvas.clientHeight;if(e.clearRect(0,0,n,i),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,n,i)}}},{key:"_resizeNodes",value:function(){this.canvas.setTransform();var 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);var e,n=this.body.nodes;for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e=n[i],e.resize(t),e.updateBoundingBox(t,e.selected));t.restore()}},{key:"_drawNodes",value:function(t){for(var e,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.body.nodes,o=this.body.nodeIndices,a=[],s=[],u=20,c=this.canvas.DOMtoCanvas({x:-u,y:-u}),l=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+u,y:this.canvas.frame.canvas.clientHeight+u}),d={top:c.y,left:c.x,bottom:l.y,right:l.x},h=0;h0&&void 0!==arguments[0]?arguments[0]: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}))}},{key:"_setCameraState",value:function(){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){var t=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,e=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight,n=this.cameraState.scale;1!=t&&1!=e?n=.5*this.cameraState.scale*(t+e):1!=t?n=this.cameraState.scale*t:1!=e&&(n=this.cameraState.scale*e),this.body.view.scale=n;var i=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),r={x:i.x-this.cameraState.position.x,y:i.y-this.cameraState.position.y};this.body.view.translation.x+=r.x*this.body.view.scale,this.body.view.translation.y+=r.y*this.body.view.scale}}},{key:"_prepareValue",value:function(t){if("number"===typeof t)return t+"px";if("string"===typeof t){if(-1!==Ho(t).call(t,"%")||-1!==Ho(t).call(t,"px"))return t;if(-1===Ho(t).call(t,"%"))return t+"px"}throw new Error("Could not use the value supplied for width or height:"+t)}},{key:"_create",value:function(){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{var 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()}},{key:"_bindHammer",value:function(){var t=this;void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new Bd(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:Bd.DIRECTION_ALL}),Hy(this.hammer,(function(e){t.body.eventListeners.onTouch(e)})),this.hammer.on("tap",(function(e){t.body.eventListeners.onTap(e)})),this.hammer.on("doubletap",(function(e){t.body.eventListeners.onDoubleTap(e)})),this.hammer.on("press",(function(e){t.body.eventListeners.onHold(e)})),this.hammer.on("panstart",(function(e){t.body.eventListeners.onDragStart(e)})),this.hammer.on("panmove",(function(e){t.body.eventListeners.onDrag(e)})),this.hammer.on("panend",(function(e){t.body.eventListeners.onDragEnd(e)})),this.hammer.on("pinch",(function(e){t.body.eventListeners.onPinch(e)})),this.frame.canvas.addEventListener("wheel",(function(e){t.body.eventListeners.onMouseWheel(e)})),this.frame.canvas.addEventListener("mousemove",(function(e){t.body.eventListeners.onMouseMove(e)})),this.frame.canvas.addEventListener("contextmenu",(function(e){t.body.eventListeners.onContext(e)})),this.hammerFrame=new Bd(this.frame),Wy(this.hammerFrame,(function(e){t.body.eventListeners.onRelease(e)}))}},{key:"setSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.width,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.height;t=this._prepareValue(t),e=this._prepareValue(e);var n=!1,i=this.frame.canvas.width,r=this.frame.canvas.height,o=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(o),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},n=!0;else{var a=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),s=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===a&&this.frame.canvas.height===s||this._getCameraState(o),this.frame.canvas.width!==a&&(this.frame.canvas.width=a,n=!0),this.frame.canvas.height!==s&&(this.frame.canvas.height=s,n=!0)}return!0===n&&(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(i/this.pixelRatio),oldHeight:Math.round(r/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,n}},{key:"getContext",value:function(){return this.frame.canvas.getContext("2d")}},{key:"_determinePixelRatio",value:function(){var t=this.getContext();if(void 0===t)throw new Error("Could not get canvax context");var e=1;"undefined"!==typeof window&&(e=window.devicePixelRatio||1);var n=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return e/n}},{key:"_setPixelRatio",value:function(){this.pixelRatio=this._determinePixelRatio()}},{key:"setTransform",value:function(){var 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)}},{key:"_XconvertDOMtoCanvas",value:function(t){return(t-this.body.view.translation.x)/this.body.view.scale}},{key:"_XconvertCanvasToDOM",value:function(t){return t*this.body.view.scale+this.body.view.translation.x}},{key:"_YconvertDOMtoCanvas",value:function(t){return(t-this.body.view.translation.y)/this.body.view.scale}},{key:"_YconvertCanvasToDOM",value:function(t){return t*this.body.view.scale+this.body.view.translation.y}},{key:"canvasToDOM",value:function(t){return{x:this._XconvertCanvasToDOM(t.x),y:this._YconvertCanvasToDOM(t.y)}}},{key:"DOMtoCanvas",value:function(t){return{x:this._XconvertDOMtoCanvas(t.x),y:this._YconvertDOMtoCanvas(t.y)}}}]),t}(),Uy=function(){function t(e,n){var i,r,o=this;nh(this,t),this.body=e,this.canvas=n,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",ut(i=this.fit).call(i,this)),this.body.emitter.on("animationFinished",(function(){o.body.emitter.emit("_stopRendering")})),this.body.emitter.on("unlockNode",ut(r=this.releaseNode).call(r,this))}return oh(t,[{key:"setOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=t}},{key:"fit",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{nodes:[]},i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n=Pt({},n),void 0!==n.nodes&&0!==n.nodes.length||(n.nodes=this.body.nodeIndices);var r=this.canvas.frame.canvas.clientWidth,o=this.canvas.frame.canvas.clientHeight;if(0===r||0===o)e=1,t=Iy.getRange(this.body.nodes,n.nodes);else if(!0===i){var a=0;for(var s in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,s)){var u=this.body.nodes[s];!0===u.predefinedPosition&&(a+=1)}if(a>.5*this.body.nodeIndices.length)return void this.fit(n,!1);t=Iy.getRange(this.body.nodes,n.nodes);var c=this.body.nodeIndices.length;e=12.662/(c+7.4147)+.0964822;var l=Math.min(r/600,o/600);e*=l}else{this.body.emitter.emit("_resizeNodes"),t=Iy.getRange(this.body.nodes,n.nodes);var d=1.1*Math.abs(t.maxX-t.minX),h=1.1*Math.abs(t.maxY-t.minY),f=r/d,p=o/h;e=f<=p?f:p}(e>1||0===e)&&(e=1);var v=Iy.findCenter(t),y={position:v,scale:e,animation:n.animation};this.moveTo(y)}},{key:"focus",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0!==this.body.nodes[t]){var n={x:this.body.nodes[t].x,y:this.body.nodes[t].y};e.position=n,e.lockedOnNode=t,this.moveTo(e)}else console.log("Node: "+t+" cannot be found.")}},{key:"moveTo",value:function(t){if(void 0!==t){if(null!=t.offset){if(null!=t.offset.x){if(t.offset.x=+t.offset.x,!Eh(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,!Eh(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,!Eh(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,!Eh(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={}}},{key:"animateView",value:function(t){if(void 0!==t){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;var e,n,i=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),r={x:i.x-t.position.x,y:i.y-t.position.y};if(this.targetTranslation={x:this.sourceTranslation.x+r.x*this.targetScale+t.offset.x,y:this.sourceTranslation.y+r.y*this.targetScale+t.offset.y},0===t.animation.duration)if(void 0!=this.lockedOnNodeId)this.viewFunction=ut(e=this._lockedRedraw).call(e,this),this.body.emitter.on("initRedraw",this.viewFunction);else this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw");else this.animationSpeed=1/(60*t.animation.duration*.001)||1/60,this.animationEasingFunction=t.animation.easingFunction,this.viewFunction=ut(n=this._transitionRedraw).call(n,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering")}}},{key:"_lockedRedraw",value:function(){var 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}),n={x:e.x-t.x,y:e.y-t.y},i=this.body.view.translation,r={x:i.x+n.x*this.body.view.scale+this.lockedOnNodeOffset.x,y:i.y+n.y*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=r}},{key:"releaseNode",value:function(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}},{key:"_transitionRedraw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.easingTime+=this.animationSpeed,this.easingTime=!0===t?1:this.easingTime;var e=iu[this.animationEasingFunction](this.easingTime);if(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){var n;if(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,void 0!=this.lockedOnNodeId)this.viewFunction=ut(n=this._lockedRedraw).call(n,this),this.body.emitter.on("initRedraw",this.viewFunction);this.body.emitter.emit("animationFinished")}}},{key:"getScale",value:function(){return this.body.view.scale}},{key:"getViewPosition",value:function(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}]),t}(),qy=function(){function t(e,n){var i=this;nh(this,t),this.body=e,this.canvas=n,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",(function(){i.activated=!0,i.configureKeyboardBindings()})),this.body.emitter.on("deactivate",(function(){i.activated=!1,i.configureKeyboardBindings()})),this.body.emitter.on("destroy",(function(){void 0!==i.keycharm&&i.keycharm.destroy()})),this.options={}}return oh(t,[{key:"setOptions",value:function(t){void 0!==t&&(this.options=t,this.create())}},{key:"create",value:function(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}},{key:"cleanNavigation",value:function(){if(0!=this.navigationHammers.length){for(var t=0;t700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}},{key:"_stopMovement",value:function(){for(var 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={}}},{key:"_moveUp",value:function(){this.body.view.translation.y+=this.options.keyboard.speed.y}},{key:"_moveDown",value:function(){this.body.view.translation.y-=this.options.keyboard.speed.y}},{key:"_moveLeft",value:function(){this.body.view.translation.x+=this.options.keyboard.speed.x}},{key:"_moveRight",value:function(){this.body.view.translation.x-=this.options.keyboard.speed.x}},{key:"_zoomIn",value:function(){var t=this.body.view.scale,e=this.body.view.scale*(1+this.options.keyboard.speed.zoom),n=this.body.view.translation,i=e/t,r=(1-i)*this.canvas.canvasViewCenter.x+n.x*i,o=(1-i)*this.canvas.canvasViewCenter.y+n.y*i;this.body.view.scale=e,this.body.view.translation={x:r,y:o},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}},{key:"_zoomOut",value:function(){var t=this.body.view.scale,e=this.body.view.scale/(1+this.options.keyboard.speed.zoom),n=this.body.view.translation,i=e/t,r=(1-i)*this.canvas.canvasViewCenter.x+n.x*i,o=(1-i)*this.canvas.canvasViewCenter.y+n.y*i;this.body.view.scale=e,this.body.view.translation={x:r,y:o},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}},{key:"configureKeyboardBindings",value:function(){var t,e,n,i,r,o,a,s,u,c,l,d,h,f,p,v,y,g,m,b,w,_,x,k,O=this;(void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled)&&(!0===this.options.keyboard.bindToWindow?this.keycharm=fc({container:window,preventDefault:!0}):this.keycharm=fc({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&(ut(t=this.keycharm).call(t,"up",(function(){O.bindToRedraw("_moveUp")}),"keydown"),ut(e=this.keycharm).call(e,"down",(function(){O.bindToRedraw("_moveDown")}),"keydown"),ut(n=this.keycharm).call(n,"left",(function(){O.bindToRedraw("_moveLeft")}),"keydown"),ut(i=this.keycharm).call(i,"right",(function(){O.bindToRedraw("_moveRight")}),"keydown"),ut(r=this.keycharm).call(r,"=",(function(){O.bindToRedraw("_zoomIn")}),"keydown"),ut(o=this.keycharm).call(o,"num+",(function(){O.bindToRedraw("_zoomIn")}),"keydown"),ut(a=this.keycharm).call(a,"num-",(function(){O.bindToRedraw("_zoomOut")}),"keydown"),ut(s=this.keycharm).call(s,"-",(function(){O.bindToRedraw("_zoomOut")}),"keydown"),ut(u=this.keycharm).call(u,"[",(function(){O.bindToRedraw("_zoomOut")}),"keydown"),ut(c=this.keycharm).call(c,"]",(function(){O.bindToRedraw("_zoomIn")}),"keydown"),ut(l=this.keycharm).call(l,"pageup",(function(){O.bindToRedraw("_zoomIn")}),"keydown"),ut(d=this.keycharm).call(d,"pagedown",(function(){O.bindToRedraw("_zoomOut")}),"keydown"),ut(h=this.keycharm).call(h,"up",(function(){O.unbindFromRedraw("_moveUp")}),"keyup"),ut(f=this.keycharm).call(f,"down",(function(){O.unbindFromRedraw("_moveDown")}),"keyup"),ut(p=this.keycharm).call(p,"left",(function(){O.unbindFromRedraw("_moveLeft")}),"keyup"),ut(v=this.keycharm).call(v,"right",(function(){O.unbindFromRedraw("_moveRight")}),"keyup"),ut(y=this.keycharm).call(y,"=",(function(){O.unbindFromRedraw("_zoomIn")}),"keyup"),ut(g=this.keycharm).call(g,"num+",(function(){O.unbindFromRedraw("_zoomIn")}),"keyup"),ut(m=this.keycharm).call(m,"num-",(function(){O.unbindFromRedraw("_zoomOut")}),"keyup"),ut(b=this.keycharm).call(b,"-",(function(){O.unbindFromRedraw("_zoomOut")}),"keyup"),ut(w=this.keycharm).call(w,"[",(function(){O.unbindFromRedraw("_zoomOut")}),"keyup"),ut(_=this.keycharm).call(_,"]",(function(){O.unbindFromRedraw("_zoomIn")}),"keyup"),ut(x=this.keycharm).call(x,"pageup",(function(){O.unbindFromRedraw("_zoomIn")}),"keyup"),ut(k=this.keycharm).call(k,"pagedown",(function(){O.unbindFromRedraw("_zoomOut")}),"keyup")))}}]),t}(),Vy=function(){function t(e,n){nh(this,t),this.container=e,this.overflowMethod=n||"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)}return oh(t,[{key:"setPosition",value:function(t,e){this.x=ao(t),this.y=ao(e)}},{key:"setText",value:function(t){t instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(t)):this.frame.innerHTML=t}},{key:"show",value:function(t){if(void 0===t&&(t=!0),!0===t){var e=this.frame.clientHeight,n=this.frame.clientWidth,i=this.frame.parentNode.clientHeight,r=this.frame.parentNode.clientWidth,o=0,a=0;if("flip"==this.overflowMethod){var s=!1,u=!0;this.y-er-this.padding&&(s=!0),o=s?this.x-n:this.x,a=u?this.y-e:this.y}else a=this.y-e,a+e+this.padding>i&&(a=i-e-this.padding),ar&&(o=r-n-this.padding),o50&&(this.drag.pointer=this.getPointer(t.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}},{key:"onTap",value:function(t){var e=this.getPointer(t.center),n=this.selectionHandler.options.multiselect&&(t.changedPointers[0].ctrlKey||t.changedPointers[0].metaKey);this.checkSelectionChanges(e,t,n),this.selectionHandler._generateClickEvent("click",t,e)}},{key:"onDoubleTap",value:function(t){var e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("doubleClick",t,e)}},{key:"onHold",value:function(t){var e=this.getPointer(t.center),n=this.selectionHandler.options.multiselect;this.checkSelectionChanges(e,t,n),this.selectionHandler._generateClickEvent("click",t,e),this.selectionHandler._generateClickEvent("hold",t,e)}},{key:"onRelease",value:function(t){if((new Date).valueOf()-this.touchTime>10){var e=this.getPointer(t.center);this.selectionHandler._generateClickEvent("release",t,e),this.touchTime=(new Date).valueOf()}}},{key:"onContext",value:function(t){var e=this.getPointer({x:t.clientX,y:t.clientY});this.selectionHandler._generateClickEvent("oncontext",t,e)}},{key:"checkSelectionChanges",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.selectionHandler.getSelection(),r=!1;r=!0===n?this.selectionHandler.selectAdditionalOnPoint(t):this.selectionHandler.selectOnPoint(t);var o=this.selectionHandler.getSelection(),a=this._determineDifference(i,o),s=this._determineDifference(o,i);a.edges.length>0&&(this.selectionHandler._generateClickEvent("deselectEdge",e,t,i),r=!0),a.nodes.length>0&&(this.selectionHandler._generateClickEvent("deselectNode",e,t,i),r=!0),s.nodes.length>0&&(this.selectionHandler._generateClickEvent("selectNode",e,t),r=!0),s.edges.length>0&&(this.selectionHandler._generateClickEvent("selectEdge",e,t),r=!0),!0===r&&this.selectionHandler._generateClickEvent("select",e,t)}},{key:"_determineDifference",value:function(t,e){var n=function(t,e){for(var n=[],i=0;i=r.minX&&n.x<=r.maxX&&n.y>=r.minY&&n.y<=r.maxY}));Qr(o).call(o,(function(t){return e.selectionHandler.selectObject(e.body.nodes[t])})),this.selectionHandler._generateClickEvent("dragEnd",t,this.getPointer(t.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{var a=this.drag.selection;a&&a.length?(Qr(a).call(a,(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"))}}},{key:"onPinch",value:function(t){var e=this.getPointer(t.center);this.drag.pinched=!0,void 0===this.pinch["scale"]&&(this.pinch.scale=1);var n=this.pinch.scale*t.scale;this.zoom(n,e)}},{key:"zoom",value:function(t,e){if(!0===this.options.zoomView){var n=this.body.view.scale;t<1e-5&&(t=1e-5),t>10&&(t=10);var i=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(i=this.canvas.DOMtoCanvas(this.drag.pointer));var r=this.body.view.translation,o=t/n,a=(1-o)*e.x+r.x*o,s=(1-o)*e.y+r.y*o;if(this.body.view.scale=t,this.body.view.translation={x:a,y:s},void 0!=i){var u=this.canvas.canvasToDOM(i);this.drag.pointer.x=u.x,this.drag.pointer.y=u.y}this.body.emitter.emit("_requestRedraw"),n0&&(this.popupObj=c[l[l.length-1]],o=!0)}if(void 0===this.popupObj&&!1===o){for(var h,f=this.body.edgeIndices,p=this.body.edges,v=[],y=0;y0&&(this.popupObj=p[v[v.length-1]],a="edge")}void 0!==this.popupObj?this.popupObj.id!==r&&(void 0===this.popup&&(this.popup=new Vy(this.canvas.frame)),this.popup.popupTargetType=a,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"))}},{key:"_checkHidePopup",value:function(t){var e=this.selectionHandler._pointerToPositionObject(t),n=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&(n=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(e),!0===n)){var i=this.selectionHandler.getNodeAt(t);n=void 0!==i&&i.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(t)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(n=this.body.edges[this.popup.popupTargetId].isOverlappingWith(e));!1===n&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}]),t}(),Xy=function(){function t(e,n){var i=this;nh(this,t),this.body=e,this.canvas=n,this.selectionObj={nodes:[],edges:[]},this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},Pt(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",(function(){i.updateSelection()}))}return oh(t,[{key:"setOptions",value:function(t){if(void 0!==t){var e=["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"];Ps(e,this.options,t)}}},{key:"selectOnPoint",value:function(t){var e=!1;if(!0===this.options.selectable){var n=this.getNodeAt(t)||this.getEdgeAt(t);this.unselectAll(),void 0!==n&&(e=this.selectObject(n)),this.body.emitter.emit("_requestRedraw")}return e}},{key:"selectAdditionalOnPoint",value:function(t){var e=!1;if(!0===this.options.selectable){var n=this.getNodeAt(t)||this.getEdgeAt(t);void 0!==n&&(e=!0,!0===n.isSelected()?this.deselectObject(n):this.selectObject(n),this.body.emitter.emit("_requestRedraw"))}return e}},{key:"_initBaseEvent",value:function(t,e){var n={};return n["pointer"]={DOM:{x:e.x,y:e.y},canvas:this.canvas.DOMtoCanvas(e)},n["event"]=t,n}},{key:"_generateClickEvent",value:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this._initBaseEvent(e,n);if(!0===r)o.nodes=[],o.edges=[];else{var a=this.getSelection();o.nodes=a.nodes,o.edges=a.edges}void 0!==i&&(o["previousSelection"]=i),"click"==t&&(o.items=this.getClickedItems(n)),void 0!==e.controlEdge&&(o.controlEdge=e.controlEdge),this.body.emitter.emit(t,o)}},{key:"selectObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.selectConnectedEdges;return void 0!==t&&(t instanceof Qp&&!0===e&&this._selectConnectedEdges(t),t.select(),this._addToSelection(t),!0)}},{key:"deselectObject",value:function(t){!0===t.isSelected()&&(t.selected=!1,this._removeFromSelection(t))}},{key:"_getAllNodesOverlappingWith",value:function(t){for(var e=[],n=this.body.nodes,i=0;i1&&void 0!==arguments[1])||arguments[1],n=this._pointerToPositionObject(t),i=this._getAllNodesOverlappingWith(n);return i.length>0?!0===e?this.body.nodes[i[i.length-1]]:i[i.length-1]:void 0}},{key:"_getEdgesOverlappingWith",value:function(t,e){for(var n=this.body.edges,i=0;i1&&void 0!==arguments[1])||arguments[1],n=this.canvas.DOMtoCanvas(t),i=10,r=null,o=this.body.edges,a=0;a1)return!0;return!1}},{key:"_selectConnectedEdges",value:function(t){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{};if(!t||!t.nodes&&!t.edges)throw"Selection must be an object with nodes and/or edges properties";if((i.unselectAll||void 0===i.unselectAll)&&this.unselectAll(),t.nodes)for(e=0;e1&&void 0!==arguments[1])||arguments[1];if(!t||void 0===t.length)throw"Selection must be an array with ids";this.setSelection({nodes:t},{highlightEdges:e})}},{key:"selectEdges",value:function(t){if(!t||void 0===t.length)throw"Selection must be an array with ids";this.setSelection({edges:t})}},{key:"updateSelection",value:function(){for(var t in this.selectionObj.nodes)Object.prototype.hasOwnProperty.call(this.selectionObj.nodes,t)&&(Object.prototype.hasOwnProperty.call(this.body.nodes,t)||delete this.selectionObj.nodes[t]);for(var e in this.selectionObj.edges)Object.prototype.hasOwnProperty.call(this.selectionObj.edges,e)&&(Object.prototype.hasOwnProperty.call(this.body.edges,e)||delete this.selectionObj.edges[e])}},{key:"getClickedItems",value:function(t){for(var e=this.canvas.DOMtoCanvas(t),n=[],i=this.body.nodeIndices,r=this.body.nodes,o=i.length-1;o>=0;o--){var a=r[i[o]],s=a.getItemsOnPoint(e);n.push.apply(n,s)}for(var u=this.body.edgeIndices,c=this.body.edges,l=u.length-1;l>=0;l--){var d=c[u[l]],h=d.getItemsOnPoint(e);n.push.apply(n,h)}return n}}]),t}(),Zy=!l((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ky=o((function(t){var e=G.f,n=Te("meta"),i=0,r=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++i,weakData:{}}})},a=function(t,e){if(!O(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!C(t,n)){if(!r(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},s=function(t,e){if(!C(t,n)){if(!r(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},u=function(t){return Zy&&c.REQUIRED&&r(t)&&!C(t,n)&&o(t),t},c=t.exports={REQUIRED:!1,fastKey:a,getWeakData:s,onFreeze:u};bt[n]=!0})),Qy=o((function(t){var e=function(t,e){this.stopped=t,this.result=e},n=t.exports=function(t,n,i,r,o){var a,s,u,c,l,d,h,f=Y(n,i,r?2:1);if(o)a=t;else{if(s=er(t),"function"!=typeof s)throw TypeError("Target is not iterable");if(lr(s)){for(u=0,c=ft(t.length);c>u;u++)if(l=r?f(U(h=t[u])[0],h[1]):f(t[u]),l&&l instanceof e)return l;return new e(!1)}a=s.call(t)}d=a.next;while(!(h=d.call(a)).done)if(l=sr(a,f,h.value,r),"object"==typeof l&&l&&l instanceof e)return l;return new e(!1)};n.stop=function(t){return new e(!0,t)}})),Jy=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},tg=G.f,eg=jn.forEach,ng=Mn.set,ig=Mn.getterFor,rg=function(t,e,n){var i,r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),a=r?"set":"add",s=c[t],u=s&&s.prototype,h={};if(d&&"function"==typeof s&&(o||u.forEach&&!l((function(){(new s).entries().next()})))){i=e((function(e,n){ng(Jy(e,i,t),{type:t,collection:new s}),void 0!=n&&Qy(n,e[a],e,r)}));var f=ig(t);eg(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in u)||o&&"clear"==t||X(i.prototype,t,(function(n,i){var r=f(this).collection;if(!e&&o&&!O(n))return"get"==t&&void 0;var a=r[t](0===n?0:n,i);return e?this:a}))})),o||tg(i.prototype,"size",{configurable:!0,get:function(){return f(this).collection.size}})}else i=n.getConstructor(e,t,r,a),Ky.REQUIRED=!0;return pn(i,t,!1,!0),h[t]=i,Q({global:!0,forced:!0},h),o||n.setStrong(i,t,r),i},og=function(t,e,n){for(var i in e)n&&n.unsafe&&t[i]?t[i]=e[i]:Ge(t,i,e[i],n);return t},ag=Qe("species"),sg=function(t){var e=ee(t),n=G.f;d&&e&&!e[ag]&&n(e,ag,{configurable:!0,get:function(){return this}})},ug=G.f,cg=Ky.fastKey,lg=Mn.set,dg=Mn.getterFor,hg={getConstructor:function(t,e,n,i){var r=t((function(t,o){Jy(t,r,e),lg(t,{type:e,index:$e(null),first:void 0,last:void 0,size:0}),d||(t.size=0),void 0!=o&&Qy(o,t[i],t,n)})),o=dg(e),a=function(t,e,n){var i,r,a=o(t),u=s(t,e);return u?u.value=n:(a.last=u={index:r=cg(e,!0),key:e,value:n,previous:i=a.last,next:void 0,removed:!1},a.first||(a.first=u),i&&(i.next=u),d?a.size++:t.size++,"F"!==r&&(a.index[r]=u)),t},s=function(t,e){var n,i=o(t),r=cg(e);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==e)return n};return og(r.prototype,{clear:function(){var t=this,e=o(t),n=e.index,i=e.first;while(i)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete n[i.index],i=i.next;e.first=e.last=void 0,d?e.size=0:t.size=0},delete:function(t){var e=this,n=o(e),i=s(e,t);if(i){var r=i.next,a=i.previous;delete n.index[i.index],i.removed=!0,a&&(a.next=r),r&&(r.previous=a),n.first==i&&(n.first=r),n.last==i&&(n.last=a),d?n.size--:e.size--}return!!i},forEach:function(t){var e,n=o(this),i=Y(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){i(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!s(this,t)}}),og(r.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),d&&ug(r.prototype,"size",{get:function(){return o(this).size}}),r},setStrong:function(t,e,n){var i=e+" Iterator",r=dg(e),o=dg(i);Bi(t,e,(function(t,e){lg(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){var t=o(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),sg(e)}},fg=(rg("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),hg),H.Map),pg=fg,vg=pg,yg=function(t){return function(e,n,i,r){W(n);var o=Et(e),a=_(o),s=ft(o.length),u=t?s-1:0,c=t?-1:1;if(i<2)while(1){if(u in a){r=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(r=n(r,a[u],u,o));return r}},gg={left:yg(!1),right:yg(!0)},mg=gg.left,bg=Lr("reduce"),wg=Hr("reduce",{1:0});Q({target:"Array",proto:!0,forced:!bg||!wg},{reduce:function(t){return mg(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var _g=it("Array").reduce,xg=Array.prototype,kg=function(t){var e=t.reduce;return t===xg||t instanceof Array&&e===xg.reduce?_g:e},Og=kg,Sg=Og,Eg=[],Cg=Eg.sort,Tg=l((function(){Eg.sort(void 0)})),Dg=l((function(){Eg.sort(null)})),Mg=Lr("sort"),Ag=Tg||!Dg||!Mg;Q({target:"Array",proto:!0,forced:Ag},{sort:function(t){return void 0===t?Cg.call(Et(this)):Cg.call(Et(this),W(t))}});var Pg=it("Array").sort,Ig=Array.prototype,Ng=function(t){var e=t.sort;return t===Ig||t instanceof Array&&e===Ig.sort?Pg:e},jg=Ng,Fg=jg,Rg=o((function(t,e){(function(t,n){n(e)})(0,(function(t){function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.sort=v;var n=32,i=7,r=256,o=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9];function a(t){return t<1e5?t<100?t<10?0:1:t<1e4?t<1e3?2:3:4:t<1e7?t<1e6?5:6:t<1e9?t<1e8?7:8:9}function s(t,e){if(t===e)return 0;if(~~t===t&&~~e===e){if(0===t||0===e)return t=0)return-1;if(t>=0)return 1;t=-t,e=-e}var n=a(t),i=a(e),r=0;return ni&&(e*=o[n-i-1],t/=10,r=1),t===e?r:t=n)e|=1&t,t>>=1;return t+e}function c(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r=0)r++;return r-e}function l(t,e,n){n--;while(e>>1;r(o,t[u])<0?s=u:a=u+1}var c=i-a;switch(c){case 3:t[a+3]=t[a+2];case 2:t[a+2]=t[a+1];case 1:t[a+1]=t[a];break;default:while(c>0)t[a+c]=t[a+c-1],c--}t[a]=o}}function h(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])>0){s=i-r;while(u0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}else{s=r+1;while(us&&(u=s);var c=a;a=r-u,u=r-c}a++;while(a>>1);o(t,e[n+l])>0?a=l+1:u=l}return u}function f(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])<0){s=r+1;while(us&&(u=s);var c=a;a=r-u,u=r-c}else{s=i-r;while(u=0)a=u,u=1+(u<<1),u<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}a++;while(a>>1);o(t,e[n+l])<0?u=l:a=l+1}return u}var p=function(){function t(n,o){e(this,t),this.array=null,this.compare=null,this.minGallop=i,this.length=0,this.tmpStorageLength=r,this.stackLength=0,this.runStart=null,this.runLength=null,this.stackSize=0,this.array=n,this.compare=o,this.length=n.length,this.length<2*r&&(this.tmpStorageLength=this.length>>>1),this.tmp=new Array(this.tmpStorageLength),this.stackLength=this.length<120?5:this.length<1542?10:this.length<119151?19:40,this.runStart=new Array(this.stackLength),this.runLength=new Array(this.stackLength)}return t.prototype.pushRun=function(t,e){this.runStart[this.stackSize]=t,this.runLength[this.stackSize]=e,this.stackSize+=1},t.prototype.mergeRuns=function(){while(this.stackSize>1){var t=this.stackSize-2;if(t>=1&&this.runLength[t-1]<=this.runLength[t]+this.runLength[t+1]||t>=2&&this.runLength[t-2]<=this.runLength[t]+this.runLength[t-1])this.runLength[t-1]this.runLength[t+1])break;this.mergeAt(t)}},t.prototype.forceMergeRuns=function(){while(this.stackSize>1){var t=this.stackSize-2;t>0&&this.runLength[t-1]=i||y>=i);if(g)break;p<0&&(p=0),p+=2}if(this.minGallop=p,p<1&&(this.minGallop=1),1===e){for(u=0;u=0;u--)a[v+u]=a[p+u];if(0===e){b=!0;break}}if(a[d--]=s[l--],1===--r){b=!0;break}if(m=r-h(a[c],s,0,r,r-1,o),0!==m){for(d-=m,l-=m,r-=m,v=d+1,p=l+1,u=0;u=i||m>=i);if(b)break;y<0&&(y=0),y+=2}if(this.minGallop=y,y<1&&(this.minGallop=1),1===r){for(d-=e,c-=e,v=d+1,p=c+1,u=e-1;u>=0;u--)a[v+u]=a[p+u];a[d]=s[l]}else{if(0===r)throw new Error("mergeHigh preconditions were not respected");for(p=d-(r-1),u=0;u=0;u--)a[v+u]=a[p+u];a[d]=s[l]}else for(p=d-(r-1),u=0;uh&&(f=h),d(t,i,i+f,i+a,e),a=f}l.pushRun(i,a),l.mergeRuns(),o-=a,i+=a}while(0!==o);l.forceMergeRuns()}}}))})),Lg=Rg;function Bg(t){var e=zg();return function(){var n,i=Cf(t);if(e){var r=Cf(this).constructor;n=hf(i,arguments,r)}else n=i.apply(this,arguments);return Of(this,n)}}function zg(){if("undefined"===typeof Reflect||!hf)return!1;if(hf.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(hf(Date,[],(function(){}))),!0}catch(t){return!1}}var $g=function(){function t(){nh(this,t)}return oh(t,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(t){return this.fake_use(t),this.abstract()}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;this.fake_use(t,e,n),this.abstract()}},{key:"getTreeSize",value:function(t){return this.fake_use(t),this.abstract()}},{key:"sort",value:function(t){this.fake_use(t),this.abstract()}},{key:"fix",value:function(t,e){this.fake_use(t,e),this.abstract()}},{key:"shift",value:function(t,e){this.fake_use(t,e),this.abstract()}}]),t}(),Hg=function(t){wf(n,t);var e=Bg(n);function n(t){var i;return nh(this,n),i=e.call(this),i.layout=t,i}return oh(n,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(t){return t.x}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(t,n),t.x=e}},{key:"getTreeSize",value:function(t){var e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_x,max:e.max_x}}},{key:"sort",value:function(t){Lg.sort(t,(function(t,e){return t.x-e.x}))}},{key:"fix",value:function(t,e){t.y=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.y=!0}},{key:"shift",value:function(t,e){this.layout.body.nodes[t].x+=e}}]),n}($g),Wg=function(t){wf(n,t);var e=Bg(n);function n(t){var i;return nh(this,n),i=e.call(this),i.layout=t,i}return oh(n,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(t){return t.y}},{key:"setPosition",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(t,n),t.y=e}},{key:"getTreeSize",value:function(t){var e=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,t);return{min:e.min_y,max:e.max_y}}},{key:"sort",value:function(t){Lg.sort(t,(function(t,e){return t.y-e.y}))}},{key:"fix",value:function(t,e){t.x=this.layout.options.hierarchical.levelSeparation*e,t.options.fixed.x=!0}},{key:"shift",value:function(t,e){this.layout.body.nodes[t].y+=e}}]),n}($g),Yg=jn.every,Ug=Lr("every"),qg=Hr("every");Q({target:"Array",proto:!0,forced:!Ug||!qg},{every:function(t){return Yg(this,t,arguments.length>1?arguments[1]:void 0)}});var Vg=it("Array").every,Gg=Array.prototype,Xg=function(t){var e=t.every;return t===Gg||t instanceof Array&&e===Gg.every?Vg:e},Zg=Xg,Kg=Zg,Qg=(rg("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),hg),H.Set),Jg=Qg,tm=Jg;function em(t,e){var n;if("undefined"===typeof vs||null==ar(t)){if(Ga(t)||(n=nm(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=rr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function nm(t,e){var n;if(t){if("string"===typeof t)return im(t,e);var i=ts(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?wr(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?im(t,e):void 0}}function im(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=e[i])&&(e[i]=e[n]+1)})),e}function om(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Or(null);return sm((function(e){var n,i;return Kg(n=To(i=e.edges).call(i,(function(e){return t.has(e.toId)}))).call(n,(function(t){return t.to===e}))}),(function(t,e){return e>t}),"from",t,e)}function am(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Or(null);return sm((function(e){var n,i;return Kg(n=To(i=e.edges).call(i,(function(e){return t.has(e.toId)}))).call(n,(function(t){return t.from===e}))}),(function(t,e){return ea)return{v:{v:rm(i,r)}};++f};while(p=h.pop()){var y=v();switch(y){case"continue":continue;default:if("object"===Qa(y))return y.v}}};for(c.s();!(o=c.n()).done;){var d=l();switch(d){case"continue":continue;default:if("object"===Qa(d))return d.v}}}catch(h){c.e(h)}finally{c.f()}return r}var um=function(){function t(){nh(this,t),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return oh(t,[{key:"addRelation",value:function(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)}},{key:"checkIfTree",value:function(){for(var t in this.parentReference)if(this.parentReference[t].length>1)return void(this.isTree=!1);this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(t,e){void 0!==e&&void 0===this.trees[t.id]&&(this.trees[t.id]=e,this.treeIndex=Math.max(e,this.treeIndex))}},{key:"ensureLevel",value:function(t){void 0===this.levels[t]&&(this.levels[t]=0)}},{key:"getMaxLevel",value:function(t){var e=this,n={},i=function t(i){if(void 0!==n[i])return n[i];var r=e.levels[i];if(e.childrenReference[i]){var o=e.childrenReference[i];if(o.length>0)for(var a=0;a0&&(n.levelSeparation*=-1):n.levelSeparation<0&&(n.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(e);if(!0===i)return this.body.emitter.emit("refresh"),Ns(e,this.optionsBackup)}return e}},{key:"_resetRNG",value:function(t){this.initialRandomSeed=t,this._rng=bs(this.initialRandomSeed)}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(t){if(!0===this.options.hierarchical.enabled){var 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"===Qa(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"});var n=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:n};else{var i=t.edges.smooth;void 0!==i.type&&"dynamic"!==i.type&&(n=i.type),this.optionsBackup.edges={smooth:{enabled:void 0===i.enabled||i.enabled,type:void 0===i.type?"dynamic":i.type,roundness:void 0===i.roundness?.5:i.roundness,forceDirection:void 0!==i.forceDirection&&i.forceDirection}},t.edges.smooth={enabled:void 0===i.enabled||i.enabled,type:n,roundness:void 0===i.roundness?.5:i.roundness,forceDirection:void 0!==i.forceDirection&&i.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",n)}return t}},{key:"positionInitially",value:function(t){if(!0!==this.options.hierarchical.enabled){this._resetRNG(this.initialRandomSeed);for(var e=t.length+50,n=0;na){var u=t.length;while(t.length>a&&o<=r){o+=1;var c=t.length;o%3===0?this.body.modules.clustering.clusterBridges(s):this.body.modules.clustering.clusterOutliers(s);var l=t.length;if(c==l&&o%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*u)})}o>r&&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();for(var d=70,h=0;h0){var t,e,n=!1,i=!1;for(e in this.lastNodeOnLevel={},this.hierarchical=new um,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,e)&&(t=this.body.nodes[e],void 0!==t.options.level?(n=!0,this.hierarchical.levels[e]=t.options.level):i=!0);if(!0===i&&!0===n)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===i){var r=this.options.hierarchical.sortMethod;"hubsize"===r?this._determineLevelsByHubsize():"directed"===r?this._determineLevelsDirected():"custom"===r&&this._determineLevelsCustomCallback()}for(var o in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,o)&&this.hierarchical.ensureLevel(o);var a=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(a),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var t=this,e=!1,n={},i=function(){for(var e=o(),n=0,i=0;i0)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:1e9,i=1e9,r=1e9,o=1e9,a=-1e9;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var u=t.body.nodes[s],c=t.hierarchical.levels[u.id],l=t.direction.getPosition(u),d=t._getSpaceAroundNode(u,e),h=Aa(d,2),f=h[0],p=h[1];i=Math.min(f,i),r=Math.min(p,r),c<=n&&(o=Math.min(l,o),a=Math.max(l,a))}return[o,a,i,r]},u=function(e,n){var i=t.hierarchical.getMaxLevel(e.id),r=t.hierarchical.getMaxLevel(n.id);return Math.min(i,r)},c=function(e,n,i){for(var r=t.hierarchical,o=0;o1)for(var u=0;u2&&void 0!==arguments[2]&&arguments[2],o=t.direction.getPosition(n),c=t.direction.getPosition(i),l=Math.abs(c-o),d=t.options.hierarchical.nodeSpacing;if(l>d){var h={},f={};a(n,h),a(i,f);var p=u(n,i),v=s(h,p),y=s(f,p),g=v[1],m=y[0],b=y[2],w=Math.abs(g-m);if(w>d){var _=g-m+d;_<-b+d&&(_=-b+d),_<0&&(t._shiftBlock(i.id,_),e=!0,!0===r&&t._centerParent(i))}}},d=function(i,r){for(var o=r.id,u=r.edges,c=t.hierarchical.levels[r.id],l=t.options.hierarchical.levelSeparation*t.options.hierarchical.levelSeparation,d={},h=[],f=0;f0?f=Math.min(h,d-t.options.hierarchical.nodeSpacing):h<0&&(f=-Math.min(-h,l-t.options.hierarchical.nodeSpacing)),0!=f&&(t._shiftBlock(r.id,f),e=!0)},w=function(n){var i=t.direction.getPosition(r),o=t._getSpaceAroundNode(r),a=Aa(o,2),s=a[0],u=a[1],c=n-i,l=i;c>0?l=Math.min(i+(u-t.options.hierarchical.nodeSpacing),n):c<0&&(l=Math.max(i-(s-t.options.hierarchical.nodeSpacing),n)),l!==i&&(t.direction.setPosition(r,l),e=!0)},_=m(i,h);b(_),_=m(i,u),w(_)},h=function(n){var i=t.hierarchical.getLevels();i=Sy(i).call(i);for(var r=0;r0&&Math.abs(h)0&&(u=this.direction.getPosition(i[o-1])+s),this.direction.setPosition(a,u,e),this._validatePositionAndContinue(a,e,u),r++}}}}},{key:"_placeBranchNodes",value:function(t,e){var n,i=this.hierarchical.childrenReference[t];if(void 0!==i){for(var r=[],o=0;oe&&void 0===this.positionedNodes[s.id]))return;var c=this.options.hierarchical.nodeSpacing,l=void 0;l=0===a?this.direction.getPosition(this.body.nodes[t]):this.direction.getPosition(r[a-1])+c,this.direction.setPosition(s,l,u),this._validatePositionAndContinue(s,u,l)}var d=this._getCenterPosition(r);this.direction.setPosition(this.body.nodes[t],d,e)}}},{key:"_validatePositionAndContinue",value:function(t,e,n){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[e]){var i=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[e]]);if(n-it.hierarchical.levels[e.id]&&t.hierarchical.addRelation(e.id,n.id)};this._crawlNetwork(e),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1?arguments[1]:void 0,i={},r=function n(r,o){if(void 0===i[r.id]){var a;t.hierarchical.setTreeIndex(r,o),i[r.id]=!0;for(var s=t._getActiveEdges(r),u=0;u0&&!1!==this.options.deleteNode||0===n&&!1!==this.options.deleteEdge)&&(!0===a&&this._createSeperator(4),this._createDeleteButton(o)),this._bindHammerToDiv(this.closeDiv,ut(t=this.toggleEditMode).call(t,this)),this._temporaryBindEvent("select",ut(e=this.showManipulatorToolbar).call(e,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var t;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){var e,n=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(n),this._createSeperator(),this._createDescription(n["addDescription"]||this.options.locales["en"]["addDescription"]),this._bindHammerToDiv(this.closeDiv,ut(e=this.toggleEditMode).call(e,this))}this._temporaryBindEvent("click",ut(t=this._performAddNode).call(t,this))}},{key:"editNode",value:function(){var t=this;!0!==this.editMode&&this.enableEditMode(),this._clean();var e=this.selectionHandler._getSelectedNode();if(void 0!==e){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!==e.isCluster){var n=Ns({},e.options,!1);if(n.x=e.x,n.y=e.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(n,(function(e){null!==e&&void 0!==e&&"editNode"===t.inMode&&t.body.data.nodes.getDataSet().update(e),t.showManipulatorToolbar()}))}else alert(this.options.locales[this.options.locale]["editClusterError"]||this.options.locales["en"]["editClusterError"])}else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var t,e,n,i,r;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){var o,a=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(a),this._createSeperator(),this._createDescription(a["edgeDescription"]||this.options.locales["en"]["edgeDescription"]),this._bindHammerToDiv(this.closeDiv,ut(o=this.toggleEditMode).call(o,this))}this._temporaryBindUI("onTouch",ut(t=this._handleConnect).call(t,this)),this._temporaryBindUI("onDragEnd",ut(e=this._finishConnect).call(e,this)),this._temporaryBindUI("onDrag",ut(n=this._dragControlNode).call(n,this)),this._temporaryBindUI("onRelease",ut(i=this._finishConnect).call(i,this)),this._temporaryBindUI("onDragStart",ut(r=this._dragStartEdge).call(r,this)),this._temporaryBindUI("onHold",(function(){}))}},{key:"editEdgeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==Qa(this.options.editEdge)||"function"!==typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){var t,e=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(e),this._createSeperator(),this._createDescription(e["editEdgeDescription"]||this.options.locales["en"]["editEdgeDescription"]),this._bindHammerToDiv(this.closeDiv,ut(t=this.toggleEditMode).call(t,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0!==this.edgeBeingEditedId){var n,i,r,o,a=this.body.edges[this.edgeBeingEditedId],s=this._getNewTargetNode(a.from.x,a.from.y),u=this._getNewTargetNode(a.to.x,a.to.y);this.temporaryIds.nodes.push(s.id),this.temporaryIds.nodes.push(u.id),this.body.nodes[s.id]=s,this.body.nodeIndices.push(s.id),this.body.nodes[u.id]=u,this.body.nodeIndices.push(u.id),this._temporaryBindUI("onTouch",ut(n=this._controlNodeTouch).call(n,this)),this._temporaryBindUI("onTap",(function(){})),this._temporaryBindUI("onHold",(function(){})),this._temporaryBindUI("onDragStart",ut(i=this._controlNodeDragStart).call(i,this)),this._temporaryBindUI("onDrag",ut(r=this._controlNodeDrag).call(r,this)),this._temporaryBindUI("onDragEnd",ut(o=this._controlNodeDragEnd).call(o,this)),this._temporaryBindUI("onMouseMove",(function(){})),this._temporaryBindEvent("beforeDrawing",(function(t){var e=a.edgeType.findBorderPositions(t);!1===s.selected&&(s.x=e.from.x,s.y=e.from.y),!1===u.selected&&(u.x=e.to.x,u.y=e.to.y)})),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{var c=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(c.from.id,c.to.id)}}},{key:"deleteSelected",value:function(){var t=this;!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";var e=this.selectionHandler.getSelectedNodes(),n=this.selectionHandler.getSelectedEdges(),i=void 0;if(e.length>0){for(var r=0;r0&&"function"===typeof this.options.deleteEdge&&(i=this.options.deleteEdge);if("function"===typeof i){var o={nodes:e,edges:n};if(2!==i.length)throw new Error("The function for delete does not support two arguments (data, callback)");i(o,(function(e){null!==e&&void 0!==e&&"delete"===t.inMode?(t.body.data.edges.getDataSet().remove(e.edges),t.body.data.nodes.getDataSet().remove(e.nodes),t.body.emitter.emit("startSimulation"),t.showManipulatorToolbar()):(t.body.emitter.emit("startSimulation"),t.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().remove(n),this.body.data.nodes.getDataSet().remove(e),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){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))}},{key:"_getNewTargetNode",value:function(t,e){var n=Ns({},this.options.controlNodeStyle);n.id="targetNode"+Py(),n.hidden=!1,n.physics=!1,n.x=t,n.y=e;var i=this.body.functions.createNode(n);return i.shape.boundingBox={left:t,right:t,top:e,bottom:e},i}},{key:"_createEditButton",value:function(){var t;this._clean(),this.manipulationDOM={},Cs(this.editModeDiv);var e=this.options.locales[this.options.locale],n=this._createButton("editMode","vis-button vis-edit vis-edit-mode",e["edit"]||this.options.locales["en"]["edit"]);this.editModeDiv.appendChild(n),this._bindHammerToDiv(n,ut(t=this.toggleEditMode).call(t,this))}},{key:"_clean",value:function(){this.inMode=!1,!0===this.guiEnabled&&(Cs(this.editModeDiv),Cs(this.manipulationDiv),this._cleanManipulatorHammers()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanManipulatorHammers",value:function(){if(0!=this.manipulationHammers.length){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+t]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+t].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+t])}},{key:"_createAddNodeButton",value:function(t){var e,n=this._createButton("addNode","vis-button vis-add",t["addNode"]||this.options.locales["en"]["addNode"]);this.manipulationDiv.appendChild(n),this._bindHammerToDiv(n,ut(e=this.addNodeMode).call(e,this))}},{key:"_createAddEdgeButton",value:function(t){var e,n=this._createButton("addEdge","vis-button vis-connect",t["addEdge"]||this.options.locales["en"]["addEdge"]);this.manipulationDiv.appendChild(n),this._bindHammerToDiv(n,ut(e=this.addEdgeMode).call(e,this))}},{key:"_createEditNodeButton",value:function(t){var e,n=this._createButton("editNode","vis-button vis-edit",t["editNode"]||this.options.locales["en"]["editNode"]);this.manipulationDiv.appendChild(n),this._bindHammerToDiv(n,ut(e=this.editNode).call(e,this))}},{key:"_createEditEdgeButton",value:function(t){var e,n=this._createButton("editEdge","vis-button vis-edit",t["editEdge"]||this.options.locales["en"]["editEdge"]);this.manipulationDiv.appendChild(n),this._bindHammerToDiv(n,ut(e=this.editEdgeMode).call(e,this))}},{key:"_createDeleteButton",value:function(t){var e,n;n=this.options.rtl?"vis-button vis-delete-rtl":"vis-button vis-delete";var i=this._createButton("delete",n,t["del"]||this.options.locales["en"]["del"]);this.manipulationDiv.appendChild(i),this._bindHammerToDiv(i,ut(e=this.deleteSelected).call(e,this))}},{key:"_createBackButton",value:function(t){var e,n=this._createButton("back","vis-button vis-back",t["back"]||this.options.locales["en"]["back"]);this.manipulationDiv.appendChild(n),this._bindHammerToDiv(n,ut(e=this.showManipulatorToolbar).call(e,this))}},{key:"_createButton",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vis-label";return this.manipulationDOM[t+"Div"]=document.createElement("div"),this.manipulationDOM[t+"Div"].className=e,this.manipulationDOM[t+"Label"]=document.createElement("div"),this.manipulationDOM[t+"Label"].className=i,this.manipulationDOM[t+"Label"].innerHTML=n,this.manipulationDOM[t+"Div"].appendChild(this.manipulationDOM[t+"Label"]),this.manipulationDOM[t+"Div"]}},{key:"_createDescription",value:function(t){this.manipulationDiv.appendChild(this._createButton("description","vis-button vis-none",t))}},{key:"_temporaryBindEvent",value:function(t,e){this.temporaryEventFunctions.push({event:t,boundFunction:e}),this.body.emitter.on(t,e)}},{key:"_temporaryBindUI",value:function(t,e){if(void 0===this.body.eventListeners[t])throw new Error("This UI function does not exist. Typo? You tried: "+t+" possible are: "+qp(La(this.body.eventListeners)));this.temporaryUIFunctions[t]=this.body.eventListeners[t],this.body.eventListeners[t]=e}},{key:"_unbindTemporaryUIs",value:function(){for(var t in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,t)&&(this.body.eventListeners[t]=this.temporaryUIFunctions[t],delete this.temporaryUIFunctions[t]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var t=0;t=0;a--)if(r[a]!==this.selectedControlNode.id){o=this.body.nodes[r[a]];break}if(void 0!==o&&void 0!==this.selectedControlNode)if(!0===o.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{var s=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===s.id?this._performEditEdge(o.id,i.to.id):this._performEditEdge(i.from.id,o.id)}else i.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(t){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(t.center),this.lastTouch.translation=Pt({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var e=this.lastTouch,n=this.selectionHandler.getNodeAt(e);if(void 0!==n)if(!0===n.isCluster)alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]);else{var i=this._getNewTargetNode(n.x,n.y);this.body.nodes[i.id]=i,this.body.nodeIndices.push(i.id);var r=this.body.functions.createEdge({id:"connectionEdge"+Py(),from:n.id,to:i.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[r.id]=r,this.body.edgeIndices.push(r.id),this.temporaryIds.nodes.push(i.id),this.temporaryIds.edges.push(r.id)}this.touchTime=(new Date).valueOf()}}},{key:"_dragControlNode",value:function(t){var e=this.body.functions.getPointer(t.center),n=this.selectionHandler._pointerToPositionObject(e),i=void 0;void 0!==this.temporaryIds.edges[0]&&(i=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var r=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=r.length-1;a>=0;a--){var s;if(-1===Ho(s=this.temporaryIds.nodes).call(s,r[a])){o=this.body.nodes[r[a]];break}}if(t.controlEdge={from:i,to:o?o.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragging",t,e),void 0!==this.temporaryIds.nodes[0]){var u=this.body.nodes[this.temporaryIds.nodes[0]];u.x=this.canvas._XconvertDOMtoCanvas(e.x),u.y=this.canvas._YconvertDOMtoCanvas(e.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(t)}},{key:"_finishConnect",value:function(t){var e=this.body.functions.getPointer(t.center),n=this.selectionHandler._pointerToPositionObject(e),i=void 0;void 0!==this.temporaryIds.edges[0]&&(i=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var r=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=r.length-1;a>=0;a--){var s;if(-1===Ho(s=this.temporaryIds.nodes).call(s,r[a])){o=this.body.nodes[r[a]];break}}this._cleanupTemporaryNodesAndEdges(),void 0!==o&&(!0===o.isCluster?alert(this.options.locales[this.options.locale]["createEdgeError"]||this.options.locales["en"]["createEdgeError"]):void 0!==this.body.nodes[i]&&void 0!==this.body.nodes[o.id]&&this._performAddEdge(i,o.id)),t.controlEdge={from:i,to:o?o.id:void 0},this.selectionHandler._generateClickEvent("controlNodeDragEnd",t,e),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(t){var e=this.lastTouch;this.selectionHandler._generateClickEvent("dragStart",t,e,void 0,!0)}},{key:"_performAddNode",value:function(t){var e=this,n={id:Py(),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(n,(function(t){null!==t&&void 0!==t&&"addNode"===e.inMode&&e.body.data.nodes.getDataSet().add(t),e.showManipulatorToolbar()}))}else this.body.data.nodes.getDataSet().add(n),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(t,e){var n=this,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,(function(t){null!==t&&void 0!==t&&"addEdge"===n.inMode&&(n.body.data.edges.getDataSet().add(t),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().add(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(t,e){var n=this,i={id:this.edgeBeingEditedId,from:t,to:e,label:this.body.data.edges.get(this.edgeBeingEditedId).label},r=this.options.editEdge;if("object"===Qa(r)&&(r=r.editWithoutDrag),"function"===typeof r){if(2!==r.length)throw new Error("The function for edit does not support two arguments (data, callback)");r(i,(function(t){null===t||void 0===t||"editEdge"!==n.inMode?(n.body.edges[i.id].updateEdgeType(),n.body.emitter.emit("_redraw"),n.showManipulatorToolbar()):(n.body.data.edges.getDataSet().update(t),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().update(i),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),t}(),dm={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"},hm=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;nh(this,t),this.pixelRatio=e,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=function(){},this.closeCallback=function(){},this._create()}return oh(t,[{key:"insertTo",value:function(t){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=t,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}},{key:"setUpdateCallback",value:function(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=t}},{key:"setCloseCallback",value:function(t){if("function"!==typeof t)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=t}},{key:"_isColorString",value:function(t){if("string"===typeof t)return dm[t]}},{key:"setColor",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("none"!==t){var n,i=this._isColorString(t);if(void 0!==i&&(t=i),!0===Ts(t)){if(!0===Js(t)){var r=t.substr(4).substr(0,t.length-5).split(",");n={r:r[0],g:r[1],b:r[2],a:1}}else if(!0===tu(t)){var o=t.substr(5).substr(0,t.length-6).split(",");n={r:o[0],g:o[1],b:o[2],a:o[3]}}else if(!0===Qs(t)){var a=Ys(t);n={r:a.r,g:a.g,b:a.b,a:1}}}else if(t instanceof Object&&void 0!==t.r&&void 0!==t.g&&void 0!==t.b){var s=void 0!==t.a?t.a:"1.0";n={r:t.r,g:t.g,b:t.b,a:s}}if(void 0===n)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: "+qp(t));this._setColor(n,e)}}},{key:"show",value:function(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}},{key:"_hide",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!0===e&&(this.previousColor=Pt({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",fh((function(){void 0!==t.closeCallback&&(t.closeCallback(),t.closeCallback=void 0)}),0)}},{key:"_save",value:function(){this.updateCallback(this.color),this.applied=!1,this._hide()}},{key:"_apply",value:function(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}},{key:"_loadLast",value:function(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}},{key:"_setColor",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!0===e&&(this.initialColor=Pt({},t)),this.color=t;var n=Gs(t.r,t.g,t.b),i=2*Math.PI,r=this.r*n.s,o=this.centerCoordinates.x+r*Math.sin(i*n.h),a=this.centerCoordinates.y+r*Math.cos(i*n.h);this.colorPickerSelector.style.left=o-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=a-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(t)}},{key:"_setOpacity",value:function(t){this.color.a=t/100,this._updatePicker(this.color)}},{key:"_setBrightness",value:function(t){var e=Gs(this.color.r,this.color.g,this.color.b);e.v=t/100;var n=Xs(e.h,e.s,e.v);n["a"]=this.color.a,this.color=n,this._updatePicker()}},{key:"_updatePicker",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.color,e=Gs(t.r,t.g,t.b),n=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(n.webkitBackingStorePixelRatio||n.mozBackingStorePixelRatio||n.msBackingStorePixelRatio||n.oBackingStorePixelRatio||n.backingStorePixelRatio||1)),n.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var i=this.colorPickerCanvas.clientWidth,r=this.colorPickerCanvas.clientHeight;n.clearRect(0,0,i,r),n.putImageData(this.hueCircle,0,0),n.fillStyle="rgba(0,0,0,"+(1-e.v)+")",n.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),If(n).call(n),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+")"}},{key:"_setSize",value:function(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}},{key:"_create",value:function(){var t,e,n,i;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){var r=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(r.webkitBackingStorePixelRatio||r.mozBackingStorePixelRatio||r.msBackingStorePixelRatio||r.oBackingStorePixelRatio||r.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{var o=document.createElement("DIV");o.style.color="red",o.style.fontWeight="bold",o.style.padding="10px",o.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(o)}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(s){}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(s){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var a=this;this.opacityRange.onchange=function(){a._setOpacity(this.value)},this.opacityRange.oninput=function(){a._setOpacity(this.value)},this.brightnessRange.onchange=function(){a._setBrightness(this.value)},this.brightnessRange.oninput=function(){a._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=ut(t=this._hide).call(t,this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=ut(e=this._apply).call(e,this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=ut(n=this._save).call(n,this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=ut(i=this._loadLast).call(i,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)}},{key:"_bindHammer",value:function(){var t=this;this.drag={},this.pinch={},this.hammer=new Bd(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),Hy(this.hammer,(function(e){t._moveSelector(e)})),this.hammer.on("tap",(function(e){t._moveSelector(e)})),this.hammer.on("panstart",(function(e){t._moveSelector(e)})),this.hammer.on("panmove",(function(e){t._moveSelector(e)})),this.hammer.on("panend",(function(e){t._moveSelector(e)}))}},{key:"_generateHueCircle",value:function(){if(!1===this.generated){var 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);var e,n,i,r,o=this.colorPickerCanvas.clientWidth,a=this.colorPickerCanvas.clientHeight;t.clearRect(0,0,o,a),this.centerCoordinates={x:.5*o,y:.5*a},this.r=.49*o;var s,u=2*Math.PI/360,c=1/360,l=1/this.r;for(i=0;i<360;i++)for(r=0;r3&&void 0!==arguments[3]?arguments[3]:1;nh(this,t),this.parent=e,this.changedOptions=[],this.container=n,this.allowCreation=!1,this.options={},this.initialized=!1,this.popupCounter=0,this.defaultOptions={enabled:!1,filter:!0,container:void 0,showButton:!0},Pt(this.options,this.defaultOptions),this.configureOptions=i,this.moduleOptions={},this.domElements=[],this.popupDiv={},this.popupLimit=5,this.popupHistory={},this.colorPicker=new hm(r),this.wrapper=void 0}return oh(t,[{key:"setOptions",value:function(t){if(void 0!==t){this.popupHistory={},this._removePopup();var e=!0;if("string"===typeof t)this.options.filter=t;else if(t instanceof Array)this.options.filter=t.join();else if("object"===Qa(t)){if(null==t)throw new TypeError("options cannot be null");void 0!==t.container&&(this.options.container=t.container),void 0!==To(t)&&(this.options.filter=To(t)),void 0!==t.showButton&&(this.options.showButton=t.showButton),void 0!==t.enabled&&(e=t.enabled)}else"boolean"===typeof t?(this.options.filter=!0,e=t):"function"===typeof t&&(this.options.filter=t,e=!0);!1===To(this.options)&&(e=!1),this.options.enabled=e}this._clean()}},{key:"setModuleOptions",value:function(t){this.moduleOptions=t,!0===this.options.enabled&&(this._clean(),void 0!==this.options.container&&(this.container=this.options.container),this._create())}},{key:"_create",value:function(){this._clean(),this.changedOptions=[];var t=To(this.options),e=0,n=!1;for(var i in this.configureOptions)Object.prototype.hasOwnProperty.call(this.configureOptions,i)&&(this.allowCreation=!1,n=!1,"function"===typeof t?(n=t(i,[]),n=n||this._handleObject(this.configureOptions[i],[i],!0)):!0!==t&&-1===Ho(t).call(t,i)||(n=!0),!1!==n&&(this.allowCreation=!0,e>0&&this._makeItem([]),this._makeHeader(i),this._handleObject(this.configureOptions[i],[i])),e++);this._makeButton(),this._push()}},{key:"_push",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var t=0;t1?n-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],i=document.createElement("div");return i.className="vis-configuration vis-config-label vis-config-s"+e.length,i.innerHTML=!0===n?""+t+":":t+":",i}},{key:"_makeDropdown",value:function(t,e,n){var i=document.createElement("select");i.className="vis-configuration vis-config-select";var r=0;void 0!==e&&-1!==Ho(t).call(t,e)&&(r=Ho(t).call(t,e));for(var o=0;oo&&1!==o&&(s.max=Math.ceil(e*l),c=s.max,u="range increased"),s.value=e}else s.value=i;var d=document.createElement("input");d.className="vis-configuration vis-config-rangeinput",d.value=s.value;var h=this;s.onchange=function(){d.value=this.value,h._update(Number(this.value),n)},s.oninput=function(){d.value=this.value};var f=this._makeLabel(n[n.length-1],n),p=this._makeItem(n,f,s,d);""!==u&&this.popupHistory[p]!==c&&(this.popupHistory[p]=c,this._setupPopup(u,p))}},{key:"_makeButton",value:function(){var t=this;if(!0===this.options.showButton){var e=document.createElement("div");e.className="vis-configuration vis-config-button",e.innerHTML="generate options",e.onclick=function(){t._printOptions()},e.onmouseover=function(){e.className="vis-configuration vis-config-button hover"},e.onmouseout=function(){e.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(e)}}},{key:"_setupPopup",value:function(t,e){var n=this;if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=!1,r=To(this.options),o=!1;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){i=!0;var s=t[a],u=js(e,a);if("function"===typeof r&&(i=r(a,e),!1===i&&!(s instanceof Array)&&"string"!==typeof s&&"boolean"!==typeof s&&s instanceof Object&&(this.allowCreation=!1,i=this._handleObject(s,u,!0),this.allowCreation=!1===n)),!1!==i){o=!0;var c=this._getValue(u);if(s instanceof Array)this._handleArray(s,c,u);else if("string"===typeof s)this._makeTextInput(s,c,u);else if("boolean"===typeof s)this._makeCheckbox(s,c,u);else if(s instanceof Object){var l=!0;if(-1!==Ho(e).call(e,"physics")&&this.moduleOptions.physics.solver!==a&&"wind"!==a&&(l=!1),!0===l)if(void 0!==s.enabled){var d=js(u,"enabled"),h=this._getValue(d);if(!0===h){var f=this._makeLabel(a,u,!0);this._makeItem(u,f),o=this._handleObject(s,u)||o}else this._makeCheckbox(s,h,u)}else{var p=this._makeLabel(a,u,!0);this._makeItem(u,p),o=this._handleObject(s,u)||o}}else console.error("dont know how to handle",s,a,u)}}return o}},{key:"_handleArray",value:function(t,e,n){"string"===typeof t[0]&&"color"===t[0]?(this._makeColorField(t,e,n),t[1]!==e&&this.changedOptions.push({path:n,value:e})):"string"===typeof t[0]?(this._makeDropdown(t,e,n),t[0]!==e&&this.changedOptions.push({path:n,value:e})):"number"===typeof t[0]&&(this._makeRange(t,e,n),t[0]!==e&&this.changedOptions.push({path:n,value:Number(e)}))}},{key:"_update",value:function(t,e){var n=this._constructOptions(t,e);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",n),this.initialized=!0,this.parent.setOptions(n)}},{key:"_constructOptions",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;t="true"===t||t,t="false"!==t&&t;for(var r=0;rvar options = "+qp(t,null,2)+""}},{key:"getOptions",value:function(){for(var t={},e=0;e2&&void 0!==arguments[2]&&arguments[2],i=this.distanceSolver.getDistances(this.body,t,e);this._createL_matrix(i),this._createK_matrix(i),this._createE_matrix();var r=.01,o=1,a=0,s=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),u=5,c=1e9,l=0,d=0,h=0,f=0,p=0;while(c>r&&ao&&p]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,v){return[function(i,r){var o=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=v(n,t,this,e);if(r.done)return r.value;var d=i(t),h=String(this),f="function"===typeof e;f||(e=String(e));var g=d.global;if(g){var m=d.unicode;d.lastIndex=0}var b=[];while(1){var w=u(d,h);if(null===w)break;if(b.push(w),!g)break;var _=String(w[0]);""===_&&(d.lastIndex=s(h,o(d.lastIndex),m))}for(var x="",k=0,O=0;O=k&&(x+=h.slice(k,E)+A,k=E+S.length)}return x+h.slice(k)}];function y(t,e,i,o,a,s){var u=i+t.length,c=o.length,l=f;return void 0!==a&&(a=r(a),l=h),n.call(s,l,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(u);case"<":s=a[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>c){var h=d(l/10);return 0===h?n:h<=c?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},a5b8:function(t,e,n){"use strict";var i=n("d8e8");function r(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),u=n("84f2"),c=n("2b4c"),l=c("iterator"),d=c("toStringTag"),h=u.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),v=0;v0?r(i(t),9007199254740991):0}},b50d:function(t,e,n){"use strict";var i=n("c532"),r=n("467f"),o=n("30b5"),a=n("83b9"),s=n("c345"),u=n("3934"),c=n("2d83");t.exports=function(t){return new Promise((function(e,l){var d=t.data,h=t.headers;i.isFormData(d)&&delete h["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",v=t.auth.password||"";h.Authorization="Basic "+btoa(p+":"+v)}var y=a(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),o(y,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?f.response:f.responseText,o={data:i,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,l,o),f=null}},f.onabort=function(){f&&(l(c("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),l(c(e,t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var g=n("7aac"),m=(t.withCredentials||u(y))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;m&&(h[t.xsrfHeaderName]=m)}if("setRequestHeader"in f&&i.forEach(h,(function(t,e){"undefined"===typeof d&&"content-type"===e.toLowerCase()?delete h[e]:f.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(b){if("json"!==t.responseType)throw b}"function"===typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),l(t),f=null)})),void 0===d&&(d=null),f.send(d)}))}},b8e3:function(t,e){t.exports=!0},bc3a:function(t,e,n){t.exports=n("cee4")},bcaa:function(t,e,n){var i=n("cb7c"),r=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bf0b:function(t,e,n){var i=n("355d"),r=n("aebd"),o=n("36c3"),a=n("1bc3"),s=n("07e3"),u=n("794b"),c=Object.getOwnPropertyDescriptor;e.f=n("8e60")?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(n){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},c207:function(t,e){},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,u=i(e),c=r(u.length),l=o(a,c);if(t&&n!=n){while(c>l)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),o=n("481b"),a=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c401:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e,n){return i.forEach(n,(function(n){t=n(t,e)})),t}},c532:function(t,e,n){"use strict";var i=n("1d2b"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function u(t){return"[object ArrayBuffer]"===r.call(t)}function c(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function d(t){return"string"===typeof t}function h(t){return"number"===typeof t}function f(t){return null!==t&&"object"===typeof t}function p(t){return"[object Date]"===r.call(t)}function v(t){return"[object File]"===r.call(t)}function y(t){return"[object Blob]"===r.call(t)}function g(t){return"[object Function]"===r.call(t)}function m(t){return f(t)&&g(t.pipe)}function b(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n0?tt:J)(t)},nt=Math.min,it=function(t){return t>0?nt(et(t),9007199254740991):0},rt=function(t,e,n,i,r,o,a,s){var u,c=r,l=0,d=!!a&&W(a,s,3);while(l0&&Q(u))c=rt(t,e,u,it(u.length),c,o-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=u}c++}l++}return c},ot=rt,at=function(t){return Object(_(t))},st=function(t,e){try{G(u,t,e)}catch(n){u[t]=e}return e},ut="__core-js_shared__",ct=u[ut]||st(ut,{}),lt=ct,dt=r((function(t){(t.exports=function(t,e){return lt[t]||(lt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ht=0,ft=Math.random(),pt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++ht+ft).toString(36)},vt=!!Object.getOwnPropertySymbols&&!c((function(){return!String(Symbol())})),yt=vt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gt=dt("wks"),mt=u.Symbol,bt=yt?mt:mt&&mt.withoutSetter||pt,wt=function(t){return E(gt,t)||(vt&&E(mt,t)?gt[t]=mt[t]:gt[t]=bt("Symbol."+t)),gt[t]},_t=wt("species"),xt=function(t,e){var n;return Q(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!Q(n.prototype)?k(n)&&(n=n[_t],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)};K({target:"Array",proto:!0},{flatMap:function(t){var e,n=at(this),i=it(n.length);return H(t),e=xt(n,0),e.length=ot(e,n,n,i,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var kt,Ot,St=function(t){return $[t+"Prototype"]},Et=(St("Array").flatMap,Array.prototype,[].push),Ct=function(t){var e=1==t,n=2==t,i=3==t,r=4==t,o=6==t,a=5==t||o;return function(s,u,c,l){for(var d,h,f=at(s),p=w(f),v=W(u,c,3),y=it(p.length),g=0,m=l||xt,b=e?m(s,y):n?m(s,0):void 0;y>g;g++)if((a||g in p)&&(d=p[g],h=v(d,g,f),t))if(e)b[g]=h;else if(h)switch(t){case 3:return!0;case 5:return d;case 6:return g;case 2:Et.call(b,d)}else if(r)return!1;return o?-1:i||r?r:b}},Tt={forEach:Ct(0),map:Ct(1),filter:Ct(2),some:Ct(3),every:Ct(4),find:Ct(5),findIndex:Ct(6)},Dt=function(t){return"function"==typeof t?t:void 0},Mt=function(t,e){return arguments.length<2?Dt($[t])||Dt(u[t]):$[t]&&$[t][e]||u[t]&&u[t][e]},At=Mt("navigator","userAgent")||"",Pt=u.process,It=Pt&&Pt.versions,Nt=It&&It.v8;Nt?(kt=Nt.split("."),Ot=kt[0]+kt[1]):At&&(kt=At.match(/Edge\/(\d+)/),(!kt||kt[1]>=74)&&(kt=At.match(/Chrome\/(\d+)/),kt&&(Ot=kt[1])));var jt=Ot&&+Ot,Ft=wt("species"),Rt=function(t){return jt>=51||!c((function(){var e=[],n=e.constructor={};return n[Ft]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Lt=Object.defineProperty,Bt={},zt=function(t){throw t},$t=function(t,e){if(E(Bt,t))return Bt[t];e||(e={});var n=[][t],i=!!E(e,"ACCESSORS")&&e.ACCESSORS,r=E(e,0)?e[0]:zt,o=E(e,1)?e[1]:void 0;return Bt[t]=!!n&&!c((function(){if(i&&!l)return!0;var t={length:-1};i?Lt(t,1,{enumerable:!0,get:zt}):t[1]=1,n.call(t,r,o)}))},Ht=Tt.map,Wt=Rt("map"),Yt=$t("map");K({target:"Array",proto:!0,forced:!Wt||!Yt},{map:function(t){return Ht(this,t,arguments.length>1?arguments[1]:void 0)}});var Ut=St("Array").map,qt=Array.prototype,Vt=function(t){var e=t.map;return t===qt||t instanceof Array&&e===qt.map?Ut:e},Gt=Vt,Xt=Gt,Zt=Tt.filter,Kt=Rt("filter"),Qt=$t("filter");K({target:"Array",proto:!0,forced:!Kt||!Qt},{filter:function(t){return Zt(this,t,arguments.length>1?arguments[1]:void 0)}});var Jt=St("Array").filter,te=Array.prototype,ee=function(t){var e=t.filter;return t===te||t instanceof Array&&e===te.filter?Jt:e},ne=ee,ie=ne,re=function(t){return function(e,n,i,r){H(n);var o=at(e),a=w(o),s=it(o.length),u=t?s-1:0,c=t?-1:1;if(i<2)while(1){if(u in a){r=a[u],u+=c;break}if(u+=c,t?u<0:s<=u)throw TypeError("Reduce of empty array with no initial value")}for(;t?u>=0:s>u;u+=c)u in a&&(r=n(r,a[u],u,o));return r}},oe={left:re(!1),right:re(!0)},ae=function(t,e){var n=[][t];return!!n&&c((function(){n.call(null,e||function(){throw 1},1)}))},se=oe.left,ue=ae("reduce"),ce=$t("reduce",{1:0});K({target:"Array",proto:!0,forced:!ue||!ce},{reduce:function(t){return se(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var le=St("Array").reduce,de=Array.prototype,he=function(t){var e=t.reduce;return t===de||t instanceof Array&&e===de.reduce?le:e},fe=he,pe=fe,ve=[].slice,ye={},ge=function(t,e,n){if(!(e in ye)){for(var i=[],r=0;rs)if(r=o[s++],r!=r)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},Le={includes:Re(!0),indexOf:Re(!1)},Be={},ze=Le.indexOf,$e=function(t,e){var n,i=x(t),r=0,o=[];for(n in i)!E(Be,n)&&E(i,n)&&o.push(n);while(e.length>r)E(i,n=e[r++])&&(~ze(o,n)||o.push(n));return o},He=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],We=Object.keys||function(t){return $e(t,He)},Ye=l?Object.defineProperties:function(t,e){Y(t);var n,i=We(e),r=i.length,o=0;while(r>o)V.f(t,n=i[o++],e[n]);return t};K({target:"Object",stat:!0,forced:!l,sham:!l},{defineProperties:Ye});var Ue=r((function(t){var e=$.Object,n=t.exports=function(t,n){return e.defineProperties(t,n)};e.defineProperties.sham&&(n.sham=!0)})),qe=Ue,Ve=qe,Ge=He.concat("length","prototype"),Xe=Object.getOwnPropertyNames||function(t){return $e(t,Ge)},Ze={f:Xe},Ke=Object.getOwnPropertySymbols,Qe={f:Ke},Je=Mt("Reflect","ownKeys")||function(t){var e=Ze.f(Y(t)),n=Qe.f;return n?e.concat(n(t)):e},tn=function(t,e,n){var i=O(e);i in t?V.f(t,i,y(0,n)):t[i]=n};K({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(t){var e,n,i=x(t),r=I.f,o=Je(i),a={},s=0;while(o.length>s)n=r(i,e=o[s++]),void 0!==n&&tn(a,e,n);return a}});var en=$.Object.getOwnPropertyDescriptors,nn=en,rn=nn,on={},an=Function.toString;"function"!=typeof lt.inspectSource&&(lt.inspectSource=function(t){return an.call(t)});var sn,un,cn,ln=lt.inspectSource,dn=u.WeakMap,hn="function"===typeof dn&&/native code/.test(ln(dn)),fn=dt("keys"),pn=function(t){return fn[t]||(fn[t]=pt(t))},vn=u.WeakMap,yn=function(t){return cn(t)?un(t):sn(t,{})},gn=function(t){return function(e){var n;if(!k(e)||(n=un(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(hn){var mn=new vn,bn=mn.get,wn=mn.has,_n=mn.set;sn=function(t,e){return _n.call(mn,t,e),e},un=function(t){return bn.call(mn,t)||{}},cn=function(t){return wn.call(mn,t)}}else{var xn=pn("state");Be[xn]=!0,sn=function(t,e){return G(t,xn,e),e},un=function(t){return E(t,xn)?t[xn]:{}},cn=function(t){return E(t,xn)}}var kn,On,Sn,En={set:sn,get:un,has:cn,enforce:yn,getterFor:gn},Cn=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Tn=pn("IE_PROTO"),Dn=Object.prototype,Mn=Cn?Object.getPrototypeOf:function(t){return t=at(t),E(t,Tn)?t[Tn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Dn:null},An=(wt("iterator"),!1);[].keys&&(Sn=[].keys(),"next"in Sn?(On=Mn(Mn(Sn)),On!==Object.prototype&&(kn=On)):An=!0),void 0==kn&&(kn={});var Pn,In={IteratorPrototype:kn,BUGGY_SAFARI_ITERATORS:An},Nn=Mt("document","documentElement"),jn=">",Fn="<",Rn="prototype",Ln="script",Bn=pn("IE_PROTO"),zn=function(){},$n=function(t){return Fn+Ln+jn+t+Fn+"/"+Ln+jn},Hn=function(t){t.write($n("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wn=function(){var t,e=D("iframe"),n="java"+Ln+":";return e.style.display="none",Nn.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write($n("document.F=Object")),t.close(),t.F},Yn=function(){try{Pn=document.domain&&new ActiveXObject("htmlfile")}catch(e){}Yn=Pn?Hn(Pn):Wn();var t=He.length;while(t--)delete Yn[Rn][He[t]];return Yn()};Be[Bn]=!0;var Un=Object.create||function(t,e){var n;return null!==t?(zn[Rn]=Y(t),n=new zn,zn[Rn]=null,n[Bn]=t):n=Yn(),void 0===e?n:Ye(n,e)},qn=wt("toStringTag"),Vn={};Vn[qn]="z";var Gn="[object z]"===String(Vn),Xn=wt("toStringTag"),Zn="Arguments"==m(function(){return arguments}()),Kn=function(t,e){try{return t[e]}catch(n){}},Qn=Gn?m:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=Kn(e=Object(t),Xn))?n:Zn?m(e):"Object"==(i=m(e))&&"function"==typeof e.callee?"Arguments":i},Jn=Gn?{}.toString:function(){return"[object "+Qn(this)+"]"},ti=V.f,ei=wt("toStringTag"),ni=function(t,e,n,i){if(t){var r=n?t:t.prototype;E(r,ei)||ti(r,ei,{configurable:!0,value:e}),i&&!Gn&&G(r,"toString",Jn)}},ii=In.IteratorPrototype,ri=function(){return this},oi=function(t,e,n){var i=e+" Iterator";return t.prototype=Un(ii,{next:y(1,n)}),ni(t,i,!1,!0),on[i]=ri,t},ai=function(t){if(!k(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},si=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return Y(n),ai(i),e?t.call(n,i):n.__proto__=i,n}}():void 0),ui=function(t,e,n,i){i&&i.enumerable?t[e]=n:G(t,e,n)},ci=In.IteratorPrototype,li=In.BUGGY_SAFARI_ITERATORS,di=wt("iterator"),hi="keys",fi="values",pi="entries",vi=function(){return this},yi=function(t,e,n,i,r,o,a){oi(n,e,i);var s,u,c,l=function(t){if(t===r&&v)return v;if(!li&&t in f)return f[t];switch(t){case hi:return function(){return new n(this,t)};case fi:return function(){return new n(this,t)};case pi:return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",h=!1,f=t.prototype,p=f[di]||f["@@iterator"]||r&&f[r],v=!li&&p||l(r),y="Array"==e&&f.entries||p;if(y&&(s=Mn(y.call(new t)),ci!==Object.prototype&&s.next&&(ni(s,d,!0,!0),on[d]=vi)),r==fi&&p&&p.name!==fi&&(h=!0,v=function(){return p.call(this)}),a&&f[di]!==v&&G(f,di,v),on[e]=v,r)if(u={values:l(fi),keys:o?v:l(hi),entries:l(pi)},a)for(c in u)(li||h||!(c in f))&&ui(f,c,u[c]);else K({target:e,proto:!0,forced:li||h},u);return u},gi="Array Iterator",mi=En.set,bi=En.getterFor(gi);yi(Array,"Array",(function(t,e){mi(this,{type:gi,target:x(t),index:0,kind:e})}),(function(){var t=bi(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");on.Arguments=on.Array;var wi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},_i=wt("toStringTag");for(var xi in wi){var ki=u[xi],Oi=ki&&ki.prototype;Oi&&Qn(Oi)!==_i&&G(Oi,_i,xi),on[xi]=on.Array}var Si=Tt.forEach,Ei=ae("forEach"),Ci=$t("forEach"),Ti=Ei&&Ci?[].forEach:function(t){return Si(this,t,arguments.length>1?arguments[1]:void 0)};K({target:"Array",proto:!0,forced:[].forEach!=Ti},{forEach:Ti});var Di=St("Array").forEach,Mi=Di,Ai=Array.prototype,Pi={DOMTokenList:!0,NodeList:!0},Ii=function(t){var e=t.forEach;return t===Ai||t instanceof Array&&e===Ai.forEach||Pi.hasOwnProperty(Qn(t))?Mi:e},Ni=Ii,ji=I.f,Fi=c((function(){ji(1)})),Ri=!l||Fi;K({target:"Object",stat:!0,forced:Ri,sham:!l},{getOwnPropertyDescriptor:function(t,e){return ji(x(t),e)}});var Li=r((function(t){var e=$.Object,n=t.exports=function(t,n){return e.getOwnPropertyDescriptor(t,n)};e.getOwnPropertyDescriptor.sham&&(n.sham=!0)})),Bi=Li,zi=Bi,$i=Ze.f,Hi={}.toString,Wi="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Yi=function(t){try{return $i(t)}catch(e){return Wi.slice()}},Ui=function(t){return Wi&&"[object Window]"==Hi.call(t)?Yi(t):$i(x(t))},qi={f:Ui},Vi=wt,Gi={f:Vi},Xi=V.f,Zi=function(t){var e=$.Symbol||($.Symbol={});E(e,t)||Xi(e,t,{value:Gi.f(t)})},Ki=Tt.forEach,Qi=pn("hidden"),Ji="Symbol",tr="prototype",er=wt("toPrimitive"),nr=En.set,ir=En.getterFor(Ji),rr=Object[tr],or=u.Symbol,ar=Mt("JSON","stringify"),sr=I.f,ur=V.f,cr=qi.f,lr=v.f,dr=dt("symbols"),hr=dt("op-symbols"),fr=dt("string-to-symbol-registry"),pr=dt("symbol-to-string-registry"),vr=dt("wks"),yr=u.QObject,gr=!yr||!yr[tr]||!yr[tr].findChild,mr=l&&c((function(){return 7!=Un(ur({},"a",{get:function(){return ur(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=sr(rr,e);i&&delete rr[e],ur(t,e,n),i&&t!==rr&&ur(rr,e,i)}:ur,br=function(t,e){var n=dr[t]=Un(or[tr]);return nr(n,{type:Ji,tag:t,description:e}),l||(n.description=e),n},wr=yt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof or},_r=function(t,e,n){t===rr&&_r(hr,e,n),Y(t);var i=O(e,!0);return Y(n),E(dr,i)?(n.enumerable?(E(t,Qi)&&t[Qi][i]&&(t[Qi][i]=!1),n=Un(n,{enumerable:y(0,!1)})):(E(t,Qi)||ur(t,Qi,y(1,{})),t[Qi][i]=!0),mr(t,i,n)):ur(t,i,n)},xr=function(t,e){Y(t);var n=x(e),i=We(n).concat(Cr(n));return Ki(i,(function(e){l&&!Or.call(n,e)||_r(t,e,n[e])})),t},kr=function(t,e){return void 0===e?Un(t):xr(Un(t),e)},Or=function(t){var e=O(t,!0),n=lr.call(this,e);return!(this===rr&&E(dr,e)&&!E(hr,e))&&(!(n||!E(this,e)||!E(dr,e)||E(this,Qi)&&this[Qi][e])||n)},Sr=function(t,e){var n=x(t),i=O(e,!0);if(n!==rr||!E(dr,i)||E(hr,i)){var r=sr(n,i);return!r||!E(dr,i)||E(n,Qi)&&n[Qi][i]||(r.enumerable=!0),r}},Er=function(t){var e=cr(x(t)),n=[];return Ki(e,(function(t){E(dr,t)||E(Be,t)||n.push(t)})),n},Cr=function(t){var e=t===rr,n=cr(e?hr:x(t)),i=[];return Ki(n,(function(t){!E(dr,t)||e&&!E(rr,t)||i.push(dr[t])})),i};if(vt||(or=function(){if(this instanceof or)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=pt(t),n=function(t){this===rr&&n.call(hr,t),E(this,Qi)&&E(this[Qi],e)&&(this[Qi][e]=!1),mr(this,e,y(1,t))};return l&&gr&&mr(rr,e,{configurable:!0,set:n}),br(e,t)},ui(or[tr],"toString",(function(){return ir(this).tag})),ui(or,"withoutSetter",(function(t){return br(pt(t),t)})),v.f=Or,V.f=_r,I.f=Sr,Ze.f=qi.f=Er,Qe.f=Cr,Gi.f=function(t){return br(wt(t),t)},l&&ur(or[tr],"description",{configurable:!0,get:function(){return ir(this).description}})),K({global:!0,wrap:!0,forced:!vt,sham:!vt},{Symbol:or}),Ki(We(vr),(function(t){Zi(t)})),K({target:Ji,stat:!0,forced:!vt},{for:function(t){var e=String(t);if(E(fr,e))return fr[e];var n=or(e);return fr[e]=n,pr[n]=e,n},keyFor:function(t){if(!wr(t))throw TypeError(t+" is not a symbol");if(E(pr,t))return pr[t]},useSetter:function(){gr=!0},useSimple:function(){gr=!1}}),K({target:"Object",stat:!0,forced:!vt,sham:!l},{create:kr,defineProperty:_r,defineProperties:xr,getOwnPropertyDescriptor:Sr}),K({target:"Object",stat:!0,forced:!vt},{getOwnPropertyNames:Er,getOwnPropertySymbols:Cr}),K({target:"Object",stat:!0,forced:c((function(){Qe.f(1)}))},{getOwnPropertySymbols:function(t){return Qe.f(at(t))}}),ar){var Tr=!vt||c((function(){var t=or();return"[null]"!=ar([t])||"{}"!=ar({a:t})||"{}"!=ar(Object(t))}));K({target:"JSON",stat:!0,forced:Tr},{stringify:function(t,e,n){var i,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(i=e,(k(e)||void 0!==t)&&!wr(t))return Q(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!wr(e))return e}),r[1]=e,ar.apply(null,r)}})}or[tr][er]||G(or[tr],er,or[tr].valueOf),ni(or,Ji),Be[Qi]=!0;var Dr=$.Object.getOwnPropertySymbols,Mr=Dr,Ar=Mr,Pr=function(t){return function(e,n){var i,r,o=String(_(e)),a=et(n),s=o.length;return a<0||a>=s?t?"":void 0:(i=o.charCodeAt(a),i<55296||i>56319||a+1===s||(r=o.charCodeAt(a+1))<56320||r>57343?t?o.charAt(a):i:t?o.slice(a,a+2):r-56320+(i-55296<<10)+65536)}},Ir={codeAt:Pr(!1),charAt:Pr(!0)},Nr=Ir.charAt,jr="String Iterator",Fr=En.set,Rr=En.getterFor(jr);yi(String,"String",(function(t){Fr(this,{type:jr,string:String(t),index:0})}),(function(){var t,e=Rr(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=Nr(n,i),e.index+=t.length,{value:t,done:!1})}));var Lr=wt("iterator"),Br=function(t){if(void 0!=t)return t[Lr]||t["@@iterator"]||on[Qn(t)]},zr=function(t){var e=Br(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return Y(e.call(t))},$r=zr,Hr=$r,Wr=Br,Yr=Wr,Ur=wt("isConcatSpreadable"),qr=9007199254740991,Vr="Maximum allowed index exceeded",Gr=jt>=51||!c((function(){var t=[];return t[Ur]=!1,t.concat()[0]!==t})),Xr=Rt("concat"),Zr=function(t){if(!k(t))return!1;var e=t[Ur];return void 0!==e?!!e:Q(t)},Kr=!Gr||!Xr;K({target:"Array",proto:!0,forced:Kr},{concat:function(t){var e,n,i,r,o,a=at(this),s=xt(a,0),u=0;for(e=-1,i=arguments.length;eqr)throw TypeError(Vr);for(n=0;n=qr)throw TypeError(Vr);tn(s,u++,o)}return s.length=u,s}});var Qr=Object.freeze({__proto__:null});Zi("asyncIterator");var Jr=Object.freeze({__proto__:null});Zi("hasInstance"),Zi("isConcatSpreadable"),Zi("iterator"),Zi("match"),Zi("matchAll"),Zi("replace"),Zi("search"),Zi("species"),Zi("split"),Zi("toPrimitive"),Zi("toStringTag"),Zi("unscopables"),ni(Math,"Math",!0),ni(u.JSON,"JSON",!0),o(Qr),o(Jr);var to=$.Symbol,eo=to,no=eo,io=function(t,e,n,i){try{return i?e(Y(n)[0],n[1]):e(n)}catch(o){var r=t["return"];throw void 0!==r&&Y(r.call(t)),o}},ro=wt("iterator"),oo=Array.prototype,ao=function(t){return void 0!==t&&(on.Array===t||oo[ro]===t)},so=function(t){var e,n,i,r,o,a,s=at(t),u="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,d=void 0!==l,h=Br(s),f=0;if(d&&(l=W(l,c>2?arguments[2]:void 0,2)),void 0==h||u==Array&&ao(h))for(e=it(s.length),n=new u(e);e>f;f++)a=d?l(s[f],f):s[f],tn(n,f,a);else for(r=h.call(s),o=r.next,n=new u;!(i=o.call(r)).done;f++)a=d?io(r,l,[i.value,f],!0):i.value,tn(n,f,a);return n.length=f,n},uo=wt("iterator"),co=!1;try{var lo=0,ho={next:function(){return{done:!!lo++}},return:function(){co=!0}};ho[uo]=function(){return this},Array.from(ho,(function(){throw 2}))}catch(Jc){}var fo=function(t,e){if(!e&&!co)return!1;var n=!1;try{var i={};i[uo]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(Jc){}return n},po=!fo((function(t){Array.from(t)}));K({target:"Array",stat:!0,forced:po},{from:so});var vo=$.Array.from,yo=vo,go=yo,mo=Rt("slice"),bo=$t("slice",{ACCESSORS:!0,0:0,1:2}),wo=wt("species"),_o=[].slice,xo=Math.max;K({target:"Array",proto:!0,forced:!mo||!bo},{slice:function(t,e){var n,i,r,o=x(this),a=it(o.length),s=Fe(t,a),u=Fe(void 0===e?a:e,a);if(Q(o)&&(n=o.constructor,"function"!=typeof n||n!==Array&&!Q(n.prototype)?k(n)&&(n=n[wo],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return _o.call(o,s,u);for(i=new(void 0===n?Array:n)(xo(u-s,0)),r=0;s=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;C(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:D(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=e}catch(n){Function("r","regeneratorRuntime = r")(e)}})),Ho=$o,Wo=Gi.f("iterator"),Yo=Wo,Uo=Yo,qo=Mt("JSON","stringify"),Vo=/[\uD800-\uDFFF]/g,Go=/^[\uD800-\uDBFF]$/,Xo=/^[\uDC00-\uDFFF]$/,Zo=function(t,e,n){var i=n.charAt(e-1),r=n.charAt(e+1);return Go.test(t)&&!Xo.test(r)||Xo.test(t)&&!Go.test(i)?"\\u"+t.charCodeAt(0).toString(16):t},Ko=c((function(){return'"\\udf06\\ud834"'!==qo("\udf06\ud834")||'"\\udead"'!==qo("\udead")}));qo&&K({target:"JSON",stat:!0,forced:Ko},{stringify:function(t,e,n){var i=qo.apply(null,arguments);return"string"==typeof i?i.replace(Vo,Zo):i}}),$.JSON||($.JSON={stringify:JSON.stringify});var Qo=function(t,e,n){return $.JSON.stringify.apply(null,arguments)},Jo=Qo,ta=Jo;function ea(t,e,n){return e in t?Te(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var na=ea,ia=St("Array").values,ra=ia,oa=Array.prototype,aa={DOMTokenList:!0,NodeList:!0},sa=function(t){var e=t.values;return t===oa||t instanceof Array&&e===oa.values||aa.hasOwnProperty(Qn(t))?ra:e},ua=sa,ca=[],la=ca.sort,da=c((function(){ca.sort(void 0)})),ha=c((function(){ca.sort(null)})),fa=ae("sort"),pa=da||!ha||!fa;K({target:"Array",proto:!0,forced:pa},{sort:function(t){return void 0===t?la.call(at(this)):la.call(at(this),H(t))}});var va=St("Array").sort,ya=Array.prototype,ga=function(t){var e=t.sort;return t===ya||t instanceof Array&&e===ya.sort?va:e},ma=ga,ba=ma,wa=St("Array").keys,_a=wa,xa=Array.prototype,ka={DOMTokenList:!0,NodeList:!0},Oa=function(t){var e=t.keys;return t===xa||t instanceof Array&&e===xa.keys||ka.hasOwnProperty(Qn(t))?_a:e},Sa=Oa;K({target:"Array",stat:!0},{isArray:Q});var Ea=$.Array.isArray,Ca=Ea,Ta=Ca;function Da(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nr){var s,u=w(arguments[r++]),c=o?We(u).concat(o(u)):We(u),d=c.length,h=0;while(d>h)s=c[h++],l&&!a.call(u,s)||(n[s]=u[s])}return n}:ns;K({target:"Object",stat:!0,forced:Object.assign!==rs},{assign:rs});var os=$.Object.assign,as=os,ss=as,us=Tt.some,cs=ae("some"),ls=$t("some");K({target:"Array",proto:!0,forced:!cs||!ls},{some:function(t){return us(this,t,arguments.length>1?arguments[1]:void 0)}});var ds=St("Array").some,hs=Array.prototype,fs=function(t){var e=t.some;return t===hs||t instanceof Array&&e===hs.some?ds:e},ps=fs,vs=ps,ys=Wo,gs=ys,ms=r((function(t){function e(n){return t.exports=e="function"===typeof za&&"symbol"===typeof gs?function(t){return typeof t}:function(t){return t&&"function"===typeof za&&t.constructor===za&&t!==za.prototype?"symbol":typeof t},e(n)}t.exports=e})),bs=c((function(){We(1)}));K({target:"Object",stat:!0,forced:bs},{keys:function(t){return We(at(t))}});var ws=$.Object.keys,_s=ws,xs=_s,ks=!c((function(){return Object.isExtensible(Object.preventExtensions({}))})),Os=r((function(t){var e=V.f,n=pt("meta"),i=0,r=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++i,weakData:{}}})},a=function(t,e){if(!k(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!E(t,n)){if(!r(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},s=function(t,e){if(!E(t,n)){if(!r(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},u=function(t){return ks&&c.REQUIRED&&r(t)&&!E(t,n)&&o(t),t},c=t.exports={REQUIRED:!1,fastKey:a,getWeakData:s,onFreeze:u};Be[n]=!0})),Ss=r((function(t){var e=function(t,e){this.stopped=t,this.result=e},n=t.exports=function(t,n,i,r,o){var a,s,u,c,l,d,h,f=W(n,i,r?2:1);if(o)a=t;else{if(s=Br(t),"function"!=typeof s)throw TypeError("Target is not iterable");if(ao(s)){for(u=0,c=it(t.length);c>u;u++)if(l=r?f(Y(h=t[u])[0],h[1]):f(t[u]),l&&l instanceof e)return l;return new e(!1)}a=s.call(t)}d=a.next;while(!(h=d.call(a)).done)if(l=io(a,f,h.value,r),"object"==typeof l&&l&&l instanceof e)return l;return new e(!1)};n.stop=function(t){return new e(!0,t)}})),Es=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Cs=V.f,Ts=Tt.forEach,Ds=En.set,Ms=En.getterFor,As=function(t,e,n){var i,r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),a=r?"set":"add",s=u[t],d=s&&s.prototype,h={};if(l&&"function"==typeof s&&(o||d.forEach&&!c((function(){(new s).entries().next()})))){i=e((function(e,n){Ds(Es(e,i,t),{type:t,collection:new s}),void 0!=n&&Ss(n,e[a],e,r)}));var f=Ms(t);Ts(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in d)||o&&"clear"==t||G(i.prototype,t,(function(n,i){var r=f(this).collection;if(!e&&o&&!k(n))return"get"==t&&void 0;var a=r[t](0===n?0:n,i);return e?this:a}))})),o||Cs(i.prototype,"size",{configurable:!0,get:function(){return f(this).collection.size}})}else i=n.getConstructor(e,t,r,a),Os.REQUIRED=!0;return ni(i,t,!1,!0),h[t]=i,K({global:!0,forced:!0},h),o||n.setStrong(i,t,r),i},Ps=function(t,e,n){for(var i in e)n&&n.unsafe&&t[i]?t[i]=e[i]:ui(t,i,e[i],n);return t},Is=wt("species"),Ns=function(t){var e=Mt(t),n=V.f;l&&e&&!e[Is]&&n(e,Is,{configurable:!0,get:function(){return this}})},js=V.f,Fs=Os.fastKey,Rs=En.set,Ls=En.getterFor,Bs={getConstructor:function(t,e,n,i){var r=t((function(t,o){Es(t,r,e),Rs(t,{type:e,index:Un(null),first:void 0,last:void 0,size:0}),l||(t.size=0),void 0!=o&&Ss(o,t[i],t,n)})),o=Ls(e),a=function(t,e,n){var i,r,a=o(t),u=s(t,e);return u?u.value=n:(a.last=u={index:r=Fs(e,!0),key:e,value:n,previous:i=a.last,next:void 0,removed:!1},a.first||(a.first=u),i&&(i.next=u),l?a.size++:t.size++,"F"!==r&&(a.index[r]=u)),t},s=function(t,e){var n,i=o(t),r=Fs(e);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==e)return n};return Ps(r.prototype,{clear:function(){var t=this,e=o(t),n=e.index,i=e.first;while(i)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete n[i.index],i=i.next;e.first=e.last=void 0,l?e.size=0:t.size=0},delete:function(t){var e=this,n=o(e),i=s(e,t);if(i){var r=i.next,a=i.previous;delete n.index[i.index],i.removed=!0,a&&(a.next=r),r&&(r.previous=a),n.first==i&&(n.first=r),n.last==i&&(n.last=a),l?n.size--:e.size--}return!!i},forEach:function(t){var e,n=o(this),i=W(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){i(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!s(this,t)}}),Ps(r.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),l&&js(r.prototype,"size",{get:function(){return o(this).size}}),r},setStrong:function(t,e,n){var i=e+" Iterator",r=Ls(e),o=Ls(i);yi(t,e,(function(t,e){Rs(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){var t=o(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Ns(e)}},zs=(As("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Bs),$.Map),$s=zs,Hs=$s,Ws=Ea,Ys=Ws;K({target:"Object",stat:!0,sham:!l},{create:Un});var Us=$.Object,qs=function(t,e){return Us.create(t,e)},Vs=qs,Gs=Vs;K({target:"Object",stat:!0},{setPrototypeOf:si});var Xs=$.Object.setPrototypeOf,Zs=Xs,Ks=Zs,Qs=r((function(t){function e(n,i){return t.exports=e=Ks||function(t,e){return t.__proto__=e,t},e(n,i)}t.exports=e}));function Js(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Gs(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qs(t,e)}var tu=Js;function eu(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var nu=eu;function iu(t,e){return!e||"object"!==ms(e)&&"function"!==typeof e?nu(t):e}var ru=iu,ou=c((function(){Mn(1)}));K({target:"Object",stat:!0,forced:ou,sham:!Cn},{getPrototypeOf:function(t){return Mn(at(t))}});var au=$.Object.getPrototypeOf,su=au,uu=su,cu=r((function(t){function e(n){return t.exports=e=Ks?uu:function(t){return t.__proto__||uu(t)},e(n)}t.exports=e})),lu="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),du=new Uint8Array(16);function hu(){if(!lu)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return lu(du)}for(var fu=[],pu=0;pu<256;++pu)fu.push((pu+256).toString(16).substr(1));function vu(t,e){var n=e||0,i=fu;return(i[t[n+0]]+i[t[n+1]]+i[t[n+2]]+i[t[n+3]]+"-"+i[t[n+4]]+i[t[n+5]]+"-"+i[t[n+6]]+i[t[n+7]]+"-"+i[t[n+8]]+i[t[n+9]]+"-"+i[t[n+10]]+i[t[n+11]]+i[t[n+12]]+i[t[n+13]]+i[t[n+14]]+i[t[n+15]]).toLowerCase()}function yu(t,e,n){"string"===typeof t&&(e="binary"===t?new Uint8Array(16):null,t=null),t=t||{};var i=t.random||(t.rng||hu)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){for(var r=n||0,o=0;o<16;++o)e[r+o]=i[o];return e}return vu(i)}var gu=qs,mu=gu,bu="\t\n\v\f\r                 \u2028\u2029\ufeff",wu="["+bu+"]",_u=RegExp("^"+wu+wu+"*"),xu=RegExp(wu+wu+"*$"),ku=function(t){return function(e){var n=String(_(e));return 1&t&&(n=n.replace(_u,"")),2&t&&(n=n.replace(xu,"")),n}},Ou={start:ku(1),end:ku(2),trim:ku(3)},Su="​…᠎",Eu=function(t){return c((function(){return!!bu[t]()||Su[t]()!=Su||bu[t].name!==t}))},Cu=Ou.trim;K({target:"String",proto:!0,forced:Eu("trim")},{trim:function(){return Cu(this)}});St("String").trim;var Tu=Ou.trim,Du=u.parseInt,Mu=/^[+-]?0[Xx]/,Au=8!==Du(bu+"08")||22!==Du(bu+"0x16"),Pu=Au?function(t,e){var n=Tu(String(t));return Du(n,e>>>0||(Mu.test(n)?16:10))}:Du;K({global:!0,forced:parseInt!=Pu},{parseInt:Pu});var Iu=v.f,Nu=function(t){return function(e){var n,i=x(e),r=We(i),o=r.length,a=0,s=[];while(o>a)n=r[a++],l&&!Iu.call(i,n)||s.push(t?[n,i[n]]:i[n]);return s}},ju={entries:Nu(!0),values:Nu(!1)},Fu=ju.values;K({target:"Object",stat:!0},{values:function(t){return Fu(t)}});$.Object.values;var Ru=Le.indexOf,Lu=[].indexOf,Bu=!!Lu&&1/[1].indexOf(1,-0)<0,zu=ae("indexOf"),$u=$t("indexOf",{ACCESSORS:!0,1:0});K({target:"Array",proto:!0,forced:Bu||!zu||!$u},{indexOf:function(t){return Bu?Lu.apply(this,arguments)||0:Ru(this,t,arguments.length>1?arguments[1]:void 0)}});St("Array").indexOf;function Hu(t){if(Ta(t))return t}var Wu=Hu;function Yu(t,e){if("undefined"!==typeof za&&La(Object(t))){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=Hr(t);!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(u){r=!0,o=u}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}var Uu=Yu;function qu(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Vu=qu;function Gu(t,e){return Wu(t)||Uu(t,e)||qa(t,e)||Vu()}var Xu=Gu;K({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});$.Date.now;K({target:"Reflect",stat:!0},{ownKeys:Je});var Zu=$.Reflect.ownKeys,Ku=Zu,Qu=Ku;function Ju(t,e){var n;if("undefined"===typeof no||null==Yr(t)){if(Ys(t)||(n=tc(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=Hr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function tc(t,e){var n;if(t){if("string"===typeof t)return ec(t,e);var i=Co(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?go(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ec(t,e):void 0}}function ec(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1?n-1:0),r=1;r2)return oc.apply(void 0,es(i=[rc(e[0],e[1])]).call(i,Za(Co(e).call(e,2))));var r,o=e[0],a=e[1],s=Ju(Qu(a));try{for(s.s();!(r=s.n()).done;){var u=r.value;Object.prototype.propertyIsEnumerable.call(a,a[u])||(a[u]===nc?delete o[u]:null===o[u]||null===a[u]||"object"!==ms(o[u])||"object"!==ms(a[u])||Ys(o[u])||Ys(a[u])?o[u]=ac(a[u]):o[u]=oc(o[u],a[u]))}}catch(c){s.e(c)}finally{s.f()}return o}function ac(t){return Ys(t)?Xt(t).call(t,(function(t){return ac(t)})):"object"===ms(t)&&null!==t?oc({},t):t}function sc(t){for(var e=0,n=xs(t);e>>0;for(e=0;e0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},z={};function $(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(z[t]=r),e&&(z[e[0]]=function(){return F(r.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function H(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function W(t){var e,n,i=t.match(R);for(e=0,n=i.length;e=0&&L.test(t))t=t.replace(L,i),L.lastIndex=0,n-=1;return t}var q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(R).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var G="Invalid date";function X(){return this._invalidDate}var Z="%d",K=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var J={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function tt(t,e,n,i){var r=this._relativeTime[n];return M(r)?r(t,e,n,i):r.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}var nt={};function it(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function rt(t){return"string"===typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,i={};for(n in t)u(t,n)&&(e=rt(n),e&&(i[e]=t[n]));return i}var at={};function st(t,e){at[t]=e}function ut(t){var e,n=[];for(e in t)u(t,e)&&n.push({unit:e,priority:at[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4===0&&t%100!==0||t%400===0}function lt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=lt(e)),n}function ht(t,e){return function(n){return null!=n?(pt(this,t,n),i.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function pt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function vt(t){return t=rt(t),M(this[t])?this[t]():this}function yt(t,e){if("object"===typeof t){t=ot(t);var n,i=ut(t);for(n=0;n68?1900:2e3)};var ge=ht("FullYear",!0);function me(){return ct(this.year())}function be(t,e,n,i,r,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,o,a),s}function we(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function _e(t,e,n){var i=7+e-n,r=(7+we(t,0,i).getUTCDay()-e)%7;return-r+i-1}function xe(t,e,n,i,r){var o,a,s=(7+n-i)%7,u=_e(t,i,r),c=1+7*(e-1)+s+u;return c<=0?(o=t-1,a=ye(o)+c):c>ye(t)?(o=t+1,a=c-ye(t)):(o=t,a=c),{year:o,dayOfYear:a}}function ke(t,e,n){var i,r,o=_e(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(r=t.year()-1,i=a+Oe(r,e,n)):a>Oe(t.year(),e,n)?(i=a-Oe(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function Oe(t,e,n){var i=_e(t,e,n),r=_e(t+1,e,n);return(ye(t)-i+r)/7}function Se(t){return ke(t,this._week.dow,this._week.doy).week}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),it("week","w"),it("isoWeek","W"),st("week",5),st("isoWeek",5),jt("w",kt),jt("ww",kt,bt),jt("W",kt),jt("WW",kt,bt),$t(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=dt(t)}));var Ee={dow:0,doy:6};function Ce(){return this._week.dow}function Te(){return this._week.doy}function De(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Me(t){var e=ke(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ae(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Pe(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ie(t,e){return t.slice(e,7).concat(t.slice(0,e))}$("d",0,"do","day"),$("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),$("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),$("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),it("day","d"),it("weekday","e"),it("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),jt("d",kt),jt("e",kt),jt("E",kt),jt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),jt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),jt("dddd",(function(t,e){return e.weekdaysRegex(t)})),$t(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:g(n).invalidWeekday=t})),$t(["d","e","E"],(function(t,e,n,i){e[i]=dt(t)}));var Ne="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Re=Nt,Le=Nt,Be=Nt;function ze(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ie(n,this._week.dow):t?n[t.day()]:n}function $e(t){return!0===t?Ie(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function He(t){return!0===t?Ie(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function We(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=v([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(r=Wt.call(this._weekdaysParse,a),-1!==r?r:null):"ddd"===e?(r=Wt.call(this._shortWeekdaysParse,a),-1!==r?r:null):(r=Wt.call(this._minWeekdaysParse,a),-1!==r?r:null):"dddd"===e?(r=Wt.call(this._weekdaysParse,a),-1!==r?r:(r=Wt.call(this._shortWeekdaysParse,a),-1!==r?r:(r=Wt.call(this._minWeekdaysParse,a),-1!==r?r:null))):"ddd"===e?(r=Wt.call(this._shortWeekdaysParse,a),-1!==r?r:(r=Wt.call(this._weekdaysParse,a),-1!==r?r:(r=Wt.call(this._minWeekdaysParse,a),-1!==r?r:null))):(r=Wt.call(this._minWeekdaysParse,a),-1!==r?r:(r=Wt.call(this._weekdaysParse,a),-1!==r?r:(r=Wt.call(this._shortWeekdaysParse,a),-1!==r?r:null)))}function Ye(t,e,n){var i,r,o;if(this._weekdaysParseExact)return We.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=v([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ae(t,this.localeData()),this.add(t-e,"d")):e}function qe(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ve(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ge(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Re),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xe(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Le),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Be),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function t(t,e){return e.length-t.length}var e,n,i,r,o,a=[],s=[],u=[],c=[];for(e=0;e<7;e++)n=v([2e3,1]).day(e),i=Lt(this.weekdaysMin(n,"")),r=Lt(this.weekdaysShort(n,"")),o=Lt(this.weekdays(n,"")),a.push(i),s.push(r),u.push(o),c.push(i),c.push(r),c.push(o);a.sort(t),s.sort(t),u.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Je(){return this.hours()||24}function tn(t,e){$(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Qe),$("k",["kk",2],0,Je),$("hmm",0,0,(function(){return""+Qe.apply(this)+F(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Qe.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),tn("a",!0),tn("A",!1),it("hour","h"),st("hour",13),jt("a",en),jt("A",en),jt("H",kt),jt("h",kt),jt("k",kt),jt("HH",kt,bt),jt("hh",kt,bt),jt("kk",kt,bt),jt("hmm",Ot),jt("hmmss",St),jt("Hmm",Ot),jt("Hmmss",St),zt(["H","HH"],Vt),zt(["k","kk"],(function(t,e,n){var i=dt(t);e[Vt]=24===i?0:i})),zt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),zt(["h","hh"],(function(t,e,n){e[Vt]=dt(t),g(n).bigHour=!0})),zt("hmm",(function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Gt]=dt(t.substr(i)),g(n).bigHour=!0})),zt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Gt]=dt(t.substr(i,2)),e[Xt]=dt(t.substr(r)),g(n).bigHour=!0})),zt("Hmm",(function(t,e,n){var i=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Gt]=dt(t.substr(i))})),zt("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Vt]=dt(t.substr(0,i)),e[Gt]=dt(t.substr(i,2)),e[Xt]=dt(t.substr(r))}));var rn=/[ap]\.?m?\.?/i,on=ht("Hours",!0);function an(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,un={calendar:N,longDateFormat:q,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:K,relativeTime:J,months:ee,monthsShort:ne,week:Ee,weekdays:Ne,weekdaysMin:Fe,weekdaysShort:je,meridiemParse:rn},cn={},ln={};function dn(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n0){if(i=pn(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}o++}return sn}function pn(e){var n,i=null;if(void 0===cn[e]&&t&&t.exports)try{i=sn._abbr,n=a,n("./locale/"+e),vn(i)}catch(r){cn[e]=null}return cn[e]}function vn(t,e){var n;return t&&(n=l(e)?mn(t):yn(t,e),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sn._abbr}function yn(t,e){if(null!==e){var n,i=un;if(e.abbr=t,null!=cn[t])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])i=cn[e.parentLocale]._config;else{if(n=pn(e.parentLocale),null==n)return ln[e.parentLocale]||(ln[e.parentLocale]=[]),ln[e.parentLocale].push({name:t,config:e}),null;i=n._config}return cn[t]=new I(P(i,e)),ln[t]&&ln[t].forEach((function(t){yn(t.name,t.config)})),vn(t),cn[t]}return delete cn[t],null}function gn(t,e){if(null!=e){var n,i,r=un;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(P(cn[t]._config,e)):(i=pn(t),null!=i&&(r=i._config),e=P(r,e),null==i&&(e.abbr=t),n=new I(e),n.parentLocale=cn[t],cn[t]=n),vn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===vn()&&vn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function mn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!o(t)){if(e=pn(t),e)return e;t=[t]}return fn(t)}function bn(){return C(cn)}function wn(t){var e,n=t._a;return n&&-2===g(t).overflow&&(e=n[Ut]<0||n[Ut]>11?Ut:n[qt]<1||n[qt]>te(n[Yt],n[Ut])?qt:n[Vt]<0||n[Vt]>24||24===n[Vt]&&(0!==n[Gt]||0!==n[Xt]||0!==n[Zt])?Vt:n[Gt]<0||n[Gt]>59?Gt:n[Xt]<0||n[Xt]>59?Xt:n[Zt]<0||n[Zt]>999?Zt:-1,g(t)._overflowDayOfYear&&(eqt)&&(e=qt),g(t)._overflowWeeks&&-1===e&&(e=Kt),g(t)._overflowWeekday&&-1===e&&(e=Qt),g(t).overflow=e),t}var _n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,On=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],En=/^\/?Date\((-?\d+)/i,Cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t){var e,n,i,r,o,a,s=t._i,u=_n.exec(s)||xn.exec(s);if(u){for(g(t).iso=!0,e=0,n=On.length;eye(o)||0===t._dayOfYear)&&(g(t)._overflowDayOfYear=!0),n=we(o,0,t._dayOfYear),t._a[Ut]=n.getUTCMonth(),t._a[qt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Vt]&&0===t._a[Gt]&&0===t._a[Xt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Vt]=0),t._d=(t._useUTC?we:be).apply(null,a),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Vt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(g(t).weekdayMismatch=!0)}}function zn(t){var e,n,i,r,o,a,s,u,c;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=Rn(e.GG,t._a[Yt],ke(Xn(),1,4).year),i=Rn(e.W,1),r=Rn(e.E,1),(r<1||r>7)&&(u=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,c=ke(Xn(),o,a),n=Rn(e.gg,t._a[Yt],c.year),i=Rn(e.w,c.week),null!=e.d?(r=e.d,(r<0||r>6)&&(u=!0)):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(u=!0)):r=o),i<1||i>Oe(n,o,a)?g(t)._overflowWeeks=!0:null!=u?g(t)._overflowWeekday=!0:(s=xe(n,i,r,o,a),t._a[Yt]=s.year,t._dayOfYear=s.dayOfYear)}function $n(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],g(t).empty=!0;var e,n,r,o,a,s,u=""+t._i,c=u.length,l=0;for(r=U(t._f,t._locale).match(R)||[],e=0;e0&&g(t).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),l+=n.length),z[o]?(n?g(t).empty=!1:g(t).unusedTokens.push(o),Ht(o,n,t)):t._strict&&!n&&g(t).unusedTokens.push(o);g(t).charsLeftOver=c-l,u.length>0&&g(t).unusedInput.push(u),t._a[Vt]<=12&&!0===g(t).bigHour&&t._a[Vt]>0&&(g(t).bigHour=void 0),g(t).parsedDateParts=t._a.slice(0),g(t).meridiem=t._meridiem,t._a[Vt]=Hn(t._locale,t._a[Vt],t._meridiem),s=g(t).era,null!==s&&(t._a[Yt]=t._locale.erasConvertYear(s,t._a[Yt])),Bn(t),wn(t)}else jn(t);else Dn(t)}function Hn(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Wn(t){var e,n,i,r,o,a,s=!1;if(0===t._f.length)return g(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:b()}));function Qn(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Xn();for(n=e[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xi(){if(!l(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),e=qn(e),e._a?(t=e._isUTC?v(e._a):Xn(e._a),this._isDSTShifted=this.isValid()&&ci(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ki(){return!!this.isValid()&&!this._isUTC}function Oi(){return!!this.isValid()&&this._isUTC}function Si(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Ei=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ci=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ti(t,e){var n,i,r,o=t,a=null;return si(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Ei.exec(t))?(n="-"===a[1]?-1:1,o={y:0,d:dt(a[qt])*n,h:dt(a[Vt])*n,m:dt(a[Gt])*n,s:dt(a[Xt])*n,ms:dt(ui(1e3*a[Zt]))*n}):(a=Ci.exec(t))?(n="-"===a[1]?-1:1,o={y:Di(a[2],n),M:Di(a[3],n),w:Di(a[4],n),d:Di(a[5],n),h:Di(a[6],n),m:Di(a[7],n),s:Di(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(r=Ai(Xn(o.from),Xn(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new ai(o),si(t)&&u(t,"_locale")&&(i._locale=t._locale),si(t)&&u(t,"_isValid")&&(i._isValid=t._isValid),i}function Di(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Mi(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ai(t,e){var n;return t.isValid()&&e.isValid()?(e=fi(e,t),t.isBefore(e)?n=Mi(t,e):(n=Mi(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pi(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(D(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),r=Ti(n,i),Ii(this,r,t),this}}function Ii(t,e,n,r){var o=e._milliseconds,a=ui(e._days),s=ui(e._months);t.isValid()&&(r=null==r||r,s&&le(t,ft(t,"Month")+s*n),a&&pt(t,"Date",ft(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}Ti.fn=ai.prototype,Ti.invalid=oi;var Ni=Pi(1,"add"),ji=Pi(-1,"subtract");function Fi(t){return"string"===typeof t||t instanceof String}function Ri(t){return O(t)||h(t)||Fi(t)||d(t)||Bi(t)||Li(t)||null===t||void 0===t}function Li(t){var e,n,i=s(t)&&!c(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;en.valueOf():n.valueOf()9999?Y(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=o+'[")]',this.format(t+e+n+i)}function er(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=Y(this,t);return this.localeData().postformat(e)}function nr(t,e){return this.isValid()&&(O(t)&&t.isValid()||Xn(t).isValid())?Ti({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ir(t){return this.from(Xn(),t)}function rr(t,e){return this.isValid()&&(O(t)&&t.isValid()||Xn(t).isValid())?Ti({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function or(t){return this.to(Xn(),t)}function ar(t){var e;return void 0===t?this._locale._abbr:(e=mn(t),null!=e&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sr=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function ur(){return this._locale}var cr=1e3,lr=60*cr,dr=60*lr,hr=3506328*dr;function fr(t,e){return(t%e+e)%e}function pr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-hr:new Date(t,e,n).valueOf()}function vr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-hr:Date.UTC(t,e,n)}function yr(t){var e,n;if(t=rt(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?vr:pr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=fr(e+(this._isUTC?0:this.utcOffset()*lr),dr);break;case"minute":e=this._d.valueOf(),e-=fr(e,lr);break;case"second":e=this._d.valueOf(),e-=fr(e,cr);break}return this._d.setTime(e),i.updateOffset(this,!0),this}function gr(t){var e,n;if(t=rt(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?vr:pr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=dr-fr(e+(this._isUTC?0:this.utcOffset()*lr),dr)-1;break;case"minute":e=this._d.valueOf(),e+=lr-fr(e,lr)-1;break;case"second":e=this._d.valueOf(),e+=cr-fr(e,cr)-1;break}return this._d.setTime(e),i.updateOffset(this,!0),this}function mr(){return this._d.valueOf()-6e4*(this._offset||0)}function br(){return Math.floor(this.valueOf()/1e3)}function wr(){return new Date(this.valueOf())}function _r(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function xr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function kr(){return this.isValid()?this.toISOString():null}function Or(){return m(this)}function Sr(){return p({},g(this))}function Er(){return g(this).overflow}function Cr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tr(t,e){var n,r,o,a=this._eras||mn("en")._eras;for(n=0,r=a.length;n=0)return u[i]}function Mr(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n}function Ar(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;to&&(e=o),Kr.call(this,t,e,n,i,r))}function Kr(t,e,n,i,r){var o=xe(t,e,n,i,r),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}$("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),jt("N",Lr),jt("NN",Lr),jt("NNN",Lr),jt("NNNN",Br),jt("NNNNN",zr),zt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?g(n).era=r:g(n).invalidEra=t})),jt("y",Dt),jt("yy",Dt),jt("yyy",Dt),jt("yyyy",Dt),jt("yo",$r),zt(["y","yy","yyy","yyyy"],Yt),zt(["yo"],(function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Yt]=n._locale.eraYearOrdinalParse(t,r):e[Yt]=parseInt(t,10)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),it("weekYear","gg"),it("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),jt("G",Mt),jt("g",Mt),jt("GG",kt,bt),jt("gg",kt,bt),jt("GGGG",Ct,_t),jt("gggg",Ct,_t),jt("GGGGG",Tt,xt),jt("ggggg",Tt,xt),$t(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=dt(t)})),$t(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),$("Q",0,"Qo","quarter"),it("quarter","Q"),st("quarter",7),jt("Q",mt),zt("Q",(function(t,e){e[Ut]=3*(dt(t)-1)})),$("D",["DD",2],"Do","date"),it("date","D"),st("date",9),jt("D",kt),jt("DD",kt,bt),jt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),zt(["D","DD"],qt),zt("Do",(function(t,e){e[qt]=dt(t.match(kt)[0])}));var Jr=ht("Date",!0);function to(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}$("DDD",["DDDD",3],"DDDo","dayOfYear"),it("dayOfYear","DDD"),st("dayOfYear",4),jt("DDD",Et),jt("DDDD",wt),zt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=dt(t)})),$("m",["mm",2],0,"minute"),it("minute","m"),st("minute",14),jt("m",kt),jt("mm",kt,bt),zt(["m","mm"],Gt);var eo=ht("Minutes",!1);$("s",["ss",2],0,"second"),it("second","s"),st("second",15),jt("s",kt),jt("ss",kt,bt),zt(["s","ss"],Xt);var no,io,ro=ht("Seconds",!1);for($("S",0,0,(function(){return~~(this.millisecond()/100)})),$(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),$(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),$(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),$(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),$(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),$(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),it("millisecond","ms"),st("millisecond",16),jt("S",Et,mt),jt("SS",Et,bt),jt("SSS",Et,wt),no="SSSS";no.length<=9;no+="S")jt(no,Dt);function oo(t,e){e[Zt]=dt(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")zt(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}io=ht("Milliseconds",!1),$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=k.prototype;function co(t){return Xn(1e3*t)}function lo(){return Xn.apply(null,arguments).parseZone()}function ho(t){return t}uo.add=Ni,uo.calendar=Hi,uo.clone=Wi,uo.diff=Zi,uo.endOf=gr,uo.format=er,uo.from=nr,uo.fromNow=ir,uo.to=rr,uo.toNow=or,uo.get=vt,uo.invalidAt=Er,uo.isAfter=Yi,uo.isBefore=Ui,uo.isBetween=qi,uo.isSame=Vi,uo.isSameOrAfter=Gi,uo.isSameOrBefore=Xi,uo.isValid=Or,uo.lang=sr,uo.locale=ar,uo.localeData=ur,uo.max=Kn,uo.min=Zn,uo.parsingFlags=Sr,uo.set=yt,uo.startOf=yr,uo.subtract=ji,uo.toArray=_r,uo.toObject=xr,uo.toDate=wr,uo.toISOString=Ji,uo.inspect=tr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=kr,uo.toString=Qi,uo.unix=br,uo.valueOf=mr,uo.creationData=Cr,uo.eraName=Ar,uo.eraNarrow=Pr,uo.eraAbbr=Ir,uo.eraYear=Nr,uo.year=ge,uo.isLeapYear=me,uo.weekYear=Yr,uo.isoWeekYear=Ur,uo.quarter=uo.quarters=Qr,uo.month=de,uo.daysInMonth=he,uo.week=uo.weeks=De,uo.isoWeek=uo.isoWeeks=Me,uo.weeksInYear=Gr,uo.weeksInWeekYear=Xr,uo.isoWeeksInYear=qr,uo.isoWeeksInISOWeekYear=Vr,uo.date=Jr,uo.day=uo.days=Ue,uo.weekday=qe,uo.isoWeekday=Ve,uo.dayOfYear=to,uo.hour=uo.hours=on,uo.minute=uo.minutes=eo,uo.second=uo.seconds=ro,uo.millisecond=uo.milliseconds=io,uo.utcOffset=vi,uo.utc=gi,uo.local=mi,uo.parseZone=bi,uo.hasAlignedHourOffset=wi,uo.isDST=_i,uo.isLocal=ki,uo.isUtcOffset=Oi,uo.isUtc=Si,uo.isUTC=Si,uo.zoneAbbr=ao,uo.zoneName=so,uo.dates=E("dates accessor is deprecated. Use date instead.",Jr),uo.months=E("months accessor is deprecated. Use month instead",de),uo.years=E("years accessor is deprecated. Use year instead",ge),uo.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yi),uo.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xi);var fo=I.prototype;function po(t,e,n,i){var r=mn(),o=v().set(i,e);return r[n](o,t)}function vo(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return po(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=po(t,i,n,"month");return r}function yo(t,e,n,i){"boolean"===typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var r,o=mn(),a=t?o._week.dow:0,s=[];if(null!=n)return po(e,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=po(e,(r+a)%7,i,"day");return s}function go(t,e){return vo(t,e,"months")}function mo(t,e){return vo(t,e,"monthsShort")}function bo(t,e,n){return yo(t,e,n,"weekdays")}function wo(t,e,n){return yo(t,e,n,"weekdaysShort")}function _o(t,e,n){return yo(t,e,n,"weekdaysMin")}fo.calendar=j,fo.longDateFormat=V,fo.invalidDate=X,fo.ordinal=Q,fo.preparse=ho,fo.postformat=ho,fo.relativeTime=tt,fo.pastFuture=et,fo.set=A,fo.eras=Tr,fo.erasParse=Dr,fo.erasConvertYear=Mr,fo.erasAbbrRegex=Fr,fo.erasNameRegex=jr,fo.erasNarrowRegex=Rr,fo.months=ae,fo.monthsShort=se,fo.monthsParse=ce,fo.monthsRegex=pe,fo.monthsShortRegex=fe,fo.week=Se,fo.firstDayOfYear=Te,fo.firstDayOfWeek=Ce,fo.weekdays=ze,fo.weekdaysMin=He,fo.weekdaysShort=$e,fo.weekdaysParse=Ye,fo.weekdaysRegex=Ge,fo.weekdaysShortRegex=Xe,fo.weekdaysMinRegex=Ze,fo.isPM=nn,fo.meridiem=an,vn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),i.lang=E("moment.lang is deprecated. Use moment.locale instead.",vn),i.langData=E("moment.langData is deprecated. Use moment.localeData instead.",mn);var xo=Math.abs;function ko(){var t=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),t.milliseconds=xo(t.milliseconds),t.seconds=xo(t.seconds),t.minutes=xo(t.minutes),t.hours=xo(t.hours),t.months=xo(t.months),t.years=xo(t.years),this}function Oo(t,e,n,i){var r=Ti(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function So(t,e){return Oo(this,t,e,1)}function Eo(t,e){return Oo(this,t,e,-1)}function Co(t){return t<0?Math.floor(t):Math.ceil(t)}function To(){var t,e,n,i,r,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Co(Mo(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=lt(o/1e3),u.seconds=t%60,e=lt(t/60),u.minutes=e%60,n=lt(e/60),u.hours=n%24,a+=lt(n/24),r=lt(Do(a)),s+=r,a-=Co(Mo(r)),i=lt(s/12),s%=12,u.days=a,u.months=s,u.years=i,this}function Do(t){return 4800*t/146097}function Mo(t){return 146097*t/4800}function Ao(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=rt(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+Do(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Mo(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Po(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Io(t){return function(){return this.as(t)}}var No=Io("ms"),jo=Io("s"),Fo=Io("m"),Ro=Io("h"),Lo=Io("d"),Bo=Io("w"),zo=Io("M"),$o=Io("Q"),Ho=Io("y");function Wo(){return Ti(this)}function Yo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Uo(t){return function(){return this.isValid()?this._data[t]:NaN}}var qo=Uo("milliseconds"),Vo=Uo("seconds"),Go=Uo("minutes"),Xo=Uo("hours"),Zo=Uo("days"),Ko=Uo("months"),Qo=Uo("years");function Jo(){return lt(this.days()/7)}var ta=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ia(t,e,n,i){var r=Ti(t).abs(),o=ta(r.as("s")),a=ta(r.as("m")),s=ta(r.as("h")),u=ta(r.as("d")),c=ta(r.as("M")),l=ta(r.as("w")),d=ta(r.as("y")),h=o<=n.ss&&["s",o]||o0,h[4]=i,na.apply(null,h)}function ra(t){return void 0===t?ta:"function"===typeof t&&(ta=t,!0)}function oa(t,e){return void 0!==ea[t]&&(void 0===e?ea[t]:(ea[t]=e,"s"===t&&(ea.ss=e-1),!0))}function aa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=ea;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(r=t),"object"===typeof e&&(o=Object.assign({},ea,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),i=ia(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var sa=Math.abs;function ua(t){return(t>0)-(t<0)||+t}function ca(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,a,s,u=sa(this._milliseconds)/1e3,c=sa(this._days),l=sa(this._months),d=this.asSeconds();return d?(t=lt(u/60),e=lt(t/60),u%=60,t%=60,n=lt(l/12),l%=12,i=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=ua(this._months)!==ua(d)?"-":"",a=ua(this._days)!==ua(d)?"-":"",s=ua(this._milliseconds)!==ua(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(l?o+l+"M":"")+(c?a+c+"D":"")+(e||t||u?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(u?s+i+"S":"")):"P0D"}var la=ai.prototype;return la.isValid=ri,la.abs=ko,la.add=So,la.subtract=Eo,la.as=Ao,la.asMilliseconds=No,la.asSeconds=jo,la.asMinutes=Fo,la.asHours=Ro,la.asDays=Lo,la.asWeeks=Bo,la.asMonths=zo,la.asQuarters=$o,la.asYears=Ho,la.valueOf=Po,la._bubble=To,la.clone=Wo,la.get=Yo,la.milliseconds=qo,la.seconds=Vo,la.minutes=Go,la.hours=Xo,la.days=Zo,la.weeks=Jo,la.months=Ko,la.years=Qo,la.humanize=aa,la.toISOString=ca,la.toString=ca,la.toJSON=ca,la.locale=ar,la.localeData=ur,la.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),la.lang=sr,$("X",0,0,"unix"),$("x",0,0,"valueOf"),jt("x",Mt),jt("X",It),zt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),zt("x",(function(t,e,n){n._d=new Date(dt(t))})),//! moment.js +i.version="2.26.0",r(Xn),i.fn=uo,i.min=Jn,i.max=ti,i.now=ei,i.utc=v,i.unix=co,i.months=go,i.isDate=h,i.locale=vn,i.invalid=b,i.duration=Ti,i.isMoment=O,i.weekdays=bo,i.parseZone=lo,i.localeData=mn,i.isDuration=si,i.monthsShort=mo,i.weekdaysMin=_o,i.defineLocale=yn,i.updateLocale=gn,i.locales=bn,i.weekdaysShort=wo,i.normalizeUnits=rt,i.relativeTimeRounding=ra,i.relativeTimeThreshold=oa,i.calendarFormat=$i,i.prototype=uo,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}))})),hc=/^\/?Date\((-?\d+)/i;function fc(t){return dc.isMoment(t)}function pc(t,e){var n;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 cc(t)&&!isNaN(Date.parse(t))?dc(t).valueOf():Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(uc(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(fc(t))return new Date(t.valueOf());if(cc(t))return n=hc.exec(t),n?new Date(Number(n[1])):dc(new Date(t)).toDate();throw new Error("Cannot convert object of type "+lc(t)+" to type Date");case"Moment":if(uc(t))return dc(t);if(t instanceof Date)return dc(t.valueOf());if(fc(t))return dc(t);if(cc(t))return n=hc.exec(t),dc(n?Number(n[1]):t);throw new Error("Cannot convert object of type "+lc(t)+" to type Date");case"ISODate":if(uc(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(fc(t))return t.toDate().toISOString();if(cc(t))return n=hc.exec(t),n?new Date(Number(n[1])).toISOString():dc(t).format();throw new Error("Cannot convert object of type "+lc(t)+" to type ISODate");case"ASPDate":if(uc(t))return"/Date("+t+")/";if(t instanceof Date||fc(t))return"/Date("+t.valueOf()+")/";var i;if(cc(t))return n=hc.exec(t),i=n?new Date(Number(n[1])).valueOf():new Date(t).valueOf(),"/Date("+i+")/";throw new Error("Cannot convert object of type "+lc(t)+" to type ASPDate");default:var r=e;throw new Error("Unknown type ".concat(r))}}}function vc(t){return"string"===typeof t||"number"===typeof t}var yc=Rt("splice"),gc=$t("splice",{ACCESSORS:!0,0:0,1:2}),mc=Math.max,bc=Math.min,wc=9007199254740991,_c="Maximum allowed length exceeded";K({target:"Array",proto:!0,forced:!yc||!gc},{splice:function(t,e){var n,i,r,o,a,s,u=at(this),c=it(u.length),l=Fe(t,c),d=arguments.length;if(0===d?n=i=0:1===d?(n=0,i=c-l):(n=d-2,i=bc(mc(et(e),0),c-l)),c+n-i>wc)throw TypeError(_c);for(r=xt(u,i),o=0;oc-i+n;o--)delete u[o-1]}else if(n>i)for(o=c-i;o>l;o--)a=o+i-1,s=o+n-1,a in u?u[s]=u[a]:delete u[s];for(o=0;o2,r=i?Cc.call(arguments,2):void 0;return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,n)}};K({global:!0,bind:!0,forced:Tc},{setTimeout:Dc(u.setTimeout),setInterval:Dc(u.setInterval)});var Mc=$.setTimeout,Ac=Mc,Pc=function(){function t(e){Se(this,t),this._queue=[],this._timeout=null,this._extended=null,this.delay=null,this.max=1/0,this.setOptions(e)}return Ae(t,[{key:"setOptions",value:function(t){t&&"undefined"!==typeof t.delay&&(this.delay=t.delay),t&&"undefined"!==typeof t.max&&(this.max=t.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var t=this._extended.object,e=this._extended.methods,n=0;nthis.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"===typeof this.delay&&(this._timeout=Ac((function(){t.flush()}),this.delay))}},{key:"flush",value:function(){var t,e;Ni(t=Ec(e=this._queue).call(e,0)).call(t,(function(t){t.fn.apply(t.context||t.fn,t.args||[])}))}}],[{key:"extend",value:function(e,n){var i=new t(n);if(void 0!==e.flush)throw new Error("Target object already has a property flush");e.flush=function(){i.flush()};var r=[{name:"flush",original:void 0}];if(n&&n.replace)for(var o=0;o=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=Hr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Lc(t,e){var n;if(t){if("string"===typeof t)return Bc(t,e);var i=Co(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?go(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Bc(t,e):void 0}}function Bc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nr&&(r=u,i=s)}return i}},{key:"min",value:function(t){var e=Hr(this._pairs),n=e.next();if(n.done)return null;var i=n.value[1],r=t(n.value[1],n.value[0]);while(!(n=e.next()).done){var o=Xu(n.value,2),a=o[0],s=o[1],u=t(s,a);u=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=Hr(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Yc(t,e){var n;if(t){if("string"===typeof t)return Uc(t,e);var i=Co(n=Object.prototype.toString.call(t)).call(n,8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?go(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Uc(t,e):void 0}}function Uc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nr?1:ir)&&(i=a,r=s)}}catch(u){o.e(u)}finally{o.f()}return i||null}},{key:"min",value:function(t){var e,n,i=null,r=null,o=Wc(ua(e=this._data).call(e));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a[t];"number"===typeof s&&(null==r||s=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var i=n("e853");t.exports=function(t,e){return new(i(t))(e)}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),u=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);while(e.length>u)i(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},ce7e:function(t,e,n){var i=n("63b6"),r=n("584a"),o=n("294c");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function u(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var c=u(s);c.Axios=o,c.create=function(t){return u(a(c.defaults,t))},c.Cancel=n("7a77"),c.CancelToken=n("8df4"),c.isCancel=n("2e67"),c.all=function(t){return Promise.all(t)},c.spread=n("0df6"),t.exports=c,t.exports.default=c},d225:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var i=n("79aa");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d9f6:function(t,e,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),a=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var i=n("584a").Object;t.exports=function(t,e){return i.create(t,e)}},dcbc:function(t,e,n){var i=n("2aba");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),o=i(n.split("/")),a=Math.min(r.length,o.length),s=a,u=0;u=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){i=o;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(r=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){n=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(t,e,n){var i=n("f772");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,n){var i=n("07e3"),r=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),u=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);while(e.length>u)i(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},e853:function(t,e,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},ead6:function(t,e,n){var i=n("f772"),r=n("e4ae"),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(r){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},ebd6:function(t,e,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},ebfd:function(t,e,n){var i=n("62a0")("meta"),r=n("f772"),o=n("07e3"),a=n("d9f6").f,s=0,u=Object.isExtensible||function(){return!0},c=!n("294c")((function(){return u(Object.preventExtensions({}))})),l=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},d=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[i].i},h=function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[i].w},f=function(t){return c&&p.NEED&&u(t)&&!o(t,i)&&l(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},f0c1:function(t,e,n){"use strict";var i=n("d8e8"),r=n("d3f4"),o=n("31f4"),a=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var i=[],r=0;r>> (32 - b));\n },\n\n // Bit-wise rotation right\n rotr: function(n, b) {\n return (n << (32 - b)) | (n >>> b);\n },\n\n // Swap big-endian to little-endian and vice versa\n endian: function(n) {\n // If number given, swap endian\n if (n.constructor == Number) {\n return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;\n }\n\n // Else, assume array and swap all items\n for (var i = 0; i < n.length; i++)\n n[i] = crypt.endian(n[i]);\n return n;\n },\n\n // Generate an array of any length of random bytes\n randomBytes: function(n) {\n for (var bytes = []; n > 0; n--)\n bytes.push(Math.floor(Math.random() * 256));\n return bytes;\n },\n\n // Convert a byte array to big-endian 32-bit words\n bytesToWords: function(bytes) {\n for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n words[b >>> 5] |= bytes[i] << (24 - b % 32);\n return words;\n },\n\n // Convert big-endian 32-bit words to a byte array\n wordsToBytes: function(words) {\n for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a hex string\n bytesToHex: function(bytes) {\n for (var hex = [], i = 0; i < bytes.length; i++) {\n hex.push((bytes[i] >>> 4).toString(16));\n hex.push((bytes[i] & 0xF).toString(16));\n }\n return hex.join('');\n },\n\n // Convert a hex string to a byte array\n hexToBytes: function(hex) {\n for (var bytes = [], c = 0; c < hex.length; c += 2)\n bytes.push(parseInt(hex.substr(c, 2), 16));\n return bytes;\n },\n\n // Convert a byte array to a base-64 string\n bytesToBase64: function(bytes) {\n for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];\n for (var j = 0; j < 4; j++)\n if (i * 8 + j * 6 <= bytes.length * 8)\n base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));\n else\n base64.push('=');\n }\n return base64.join('');\n },\n\n // Convert a base-64 string to a byte array\n base64ToBytes: function(base64) {\n // Remove non-base-64 characters\n base64 = base64.replace(/[^A-Z0-9+\\/]/ig, '');\n\n for (var bytes = [], i = 0, imod4 = 0; i < base64.length;\n imod4 = ++i % 4) {\n if (imod4 == 0) continue;\n bytes.push(((base64map.indexOf(base64.charAt(i - 1))\n & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))\n | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));\n }\n return bytes;\n }\n };\n\n module.exports = crypt;\n})();\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","module.exports = require(\"core-js/library/fn/object/get-prototype-of\");","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","exports.f = Object.getOwnPropertySymbols;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","/*!\n * Vue.js v2.6.14\n * (c) 2014-2021 Evan You\n * Released under the MIT License.\n */\n/* */\n\nvar emptyObject = Object.freeze({});\n\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef (v) {\n return v === undefined || v === null\n}\n\nfunction isDef (v) {\n return v !== undefined && v !== null\n}\n\nfunction isTrue (v) {\n return v === true\n}\n\nfunction isFalse (v) {\n return v === false\n}\n\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive (value) {\n return (\n typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean'\n )\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\n\nfunction toRawType (value) {\n return _toString.call(value).slice(8, -1)\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject (obj) {\n return _toString.call(obj) === '[object Object]'\n}\n\nfunction isRegExp (v) {\n return _toString.call(v) === '[object RegExp]'\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex (val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val)\n}\n\nfunction isPromise (val) {\n return (\n isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function'\n )\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString (val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val)\n}\n\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber (val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap (\n str,\n expectsLowerCase\n) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase\n ? function (val) { return map[val.toLowerCase()]; }\n : function (val) { return map[val]; }\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array.\n */\nfunction remove (arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1)\n }\n }\n}\n\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn (obj, key) {\n return hasOwnProperty.call(obj, key)\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached (fn) {\n var cache = Object.create(null);\n return (function cachedFn (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str))\n })\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n});\n\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase()\n});\n\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind (fn, ctx) {\n function boundFn (a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx)\n }\n\n boundFn._length = fn.length;\n return boundFn\n}\n\nfunction nativeBind (fn, ctx) {\n return fn.bind(ctx)\n}\n\nvar bind = Function.prototype.bind\n ? nativeBind\n : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray (list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend (to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject (arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res\n}\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop (a, b, c) {}\n\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual (a, b) {\n if (a === b) { return true }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i])\n })\n } else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime()\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key])\n })\n } else {\n /* istanbul ignore next */\n return false\n }\n } catch (e) {\n /* istanbul ignore next */\n return false\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b)\n } else {\n return false\n }\n}\n\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf (arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val)) { return i }\n }\n return -1\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once (fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\n\nvar ASSET_TYPES = [\n 'component',\n 'directive',\n 'filter'\n];\n\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch'\n];\n\n/* */\n\n\n\nvar config = ({\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to record perf\n */\n performance: false,\n\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n});\n\n/* */\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved (str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5F\n}\n\n/**\n * Define a property.\n */\nfunction def (obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp((\"[^\" + (unicodeRegExp.source) + \".$_\\\\d]\"));\nfunction parsePath (path) {\n if (bailRE.test(path)) {\n return\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj) { return }\n obj = obj[segments[i]];\n }\n return obj\n }\n}\n\n/* */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\nvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\nvar isPhantomJS = UA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n\n// Firefox has a \"watch\" function on Object.prototype...\nvar nativeWatch = ({}).watch;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n })); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\nvar _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /*@__PURE__*/(function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\nvar warn = noop;\nvar tip = noop;\nvar generateComponentTrace = (noop); // work around flow check\nvar formatComponentName = (noop);\n\nif (process.env.NODE_ENV !== 'production') {\n var hasConsole = typeof console !== 'undefined';\n var classifyRE = /(?:^|[-_])(\\w)/g;\n var classify = function (str) { return str\n .replace(classifyRE, function (c) { return c.toUpperCase(); })\n .replace(/[-_]/g, ''); };\n\n warn = function (msg, vm) {\n var trace = vm ? generateComponentTrace(vm) : '';\n\n if (config.warnHandler) {\n config.warnHandler.call(null, msg, vm, trace);\n } else if (hasConsole && (!config.silent)) {\n console.error((\"[Vue warn]: \" + msg + trace));\n }\n };\n\n tip = function (msg, vm) {\n if (hasConsole && (!config.silent)) {\n console.warn(\"[Vue tip]: \" + msg + (\n vm ? generateComponentTrace(vm) : ''\n ));\n }\n };\n\n formatComponentName = function (vm, includeFile) {\n if (vm.$root === vm) {\n return ''\n }\n var options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm;\n var name = options.name || options._componentTag;\n var file = options.__file;\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n name = match && match[1];\n }\n\n return (\n (name ? (\"<\" + (classify(name)) + \">\") : \"\") +\n (file && includeFile !== false ? (\" at \" + file) : '')\n )\n };\n\n var repeat = function (str, n) {\n var res = '';\n while (n) {\n if (n % 2 === 1) { res += str; }\n if (n > 1) { str += str; }\n n >>= 1;\n }\n return res\n };\n\n generateComponentTrace = function (vm) {\n if (vm._isVue && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n while (vm) {\n if (tree.length > 0) {\n var last = tree[tree.length - 1];\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent;\n continue\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n tree.push(vm);\n vm = vm.$parent;\n }\n return '\\n\\nfound in\\n\\n' + tree\n .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (target) {\n targetStack.push(target);\n Dep.target = target;\n}\n\nfunction popTarget () {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions,\n asyncFactory\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n};\n\nvar prototypeAccessors = { child: { configurable: true } };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function (text) {\n if ( text === void 0 ) text = '';\n\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(),\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions,\n vnode.asyncFactory\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\n\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\n\nfunction toggleObserving (value) {\n shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n if (hasProto) {\n protoAugment(value, arrayMethods);\n } else {\n copyAugment(value, arrayMethods, arrayKeys);\n }\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment a target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment a target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value) || value instanceof VNode) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n shouldObserve &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter,\n shallow\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) && arguments.length === 2) {\n val = obj[key];\n }\n\n var childOb = !shallow && observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n // #7981: for accessor properties without setter\n if (getter && !setter) { return }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n\n var keys = hasSymbol\n ? Reflect.ownKeys(from)\n : Object.keys(from);\n\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n // in case the object is already observed...\n if (key === '__ob__') { continue }\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (\n toVal !== fromVal &&\n isPlainObject(toVal) &&\n isPlainObject(fromVal)\n ) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n )\n }\n } else {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm, vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm, vm)\n : parentVal;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n}\n\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n if (childVal && typeof childVal !== 'function') {\n process.env.NODE_ENV !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n\n return parentVal\n }\n return mergeDataOrFn(parentVal, childVal)\n }\n\n return mergeDataOrFn(parentVal, childVal, vm)\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n var res = childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal;\n return res\n ? dedupeHooks(res)\n : res\n}\n\nfunction dedupeHooks (hooks) {\n var res = [];\n for (var i = 0; i < hooks.length; i++) {\n if (res.indexOf(hooks[i]) === -1) {\n res.push(hooks[i]);\n }\n }\n return res\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (\n parentVal,\n childVal,\n vm,\n key\n) {\n var res = Object.create(parentVal || null);\n if (childVal) {\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n return extend(res, childVal)\n } else {\n return res\n }\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n if (childVal && process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n if (childVal) { extend(ret, childVal); }\n return ret\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n validateComponentName(key);\n }\n}\n\nfunction validateComponentName (name) {\n if (!new RegExp((\"^[a-zA-Z][\\\\-\\\\.0-9_\" + (unicodeRegExp.source) + \"]*$\")).test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n 'should conform to valid custom element name in html5 specification.'\n );\n }\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + name\n );\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options, vm) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (process.env.NODE_ENV !== 'production') {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(props)) + \".\",\n vm\n );\n }\n options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject (options, vm) {\n var inject = options.inject;\n if (!inject) { return }\n var normalized = options.inject = {};\n if (Array.isArray(inject)) {\n for (var i = 0; i < inject.length; i++) {\n normalized[inject[i]] = { from: inject[i] };\n }\n } else if (isPlainObject(inject)) {\n for (var key in inject) {\n var val = inject[key];\n normalized[key] = isPlainObject(val)\n ? extend({ from: key }, val)\n : { from: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(inject)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def$$1 = dirs[key];\n if (typeof def$$1 === 'function') {\n dirs[key] = { bind: def$$1, update: def$$1 };\n }\n }\n }\n}\n\nfunction assertObjectType (name, value, vm) {\n if (!isPlainObject(value)) {\n warn(\n \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n \"but got \" + (toRawType(value)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (process.env.NODE_ENV !== 'production') {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child, vm);\n normalizeInject(child, vm);\n normalizeDirectives(child);\n\n // Apply extends and mixins on the child options,\n // but only if it is a raw options object that isn't\n // the result of another mergeOptions call.\n // Only merged options has the _base property.\n if (!child._base) {\n if (child.extends) {\n parent = mergeOptions(parent, child.extends, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n }\n\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\n\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // boolean casting\n var booleanIndex = getTypeIndex(Boolean, prop.type);\n if (booleanIndex > -1) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (value === '' || value === hyphenate(key)) {\n // only cast empty string / same name to boolean if\n // boolean has higher priority\n var stringIndex = getTypeIndex(String, prop.type);\n if (stringIndex < 0 || booleanIndex < stringIndex) {\n value = true;\n }\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldObserve = shouldObserve;\n toggleObserving(true);\n observe(value);\n toggleObserving(prevShouldObserve);\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n // skip validation for weex recycle-list child component props\n !(false)\n ) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i], vm);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n\n var haveExpectedTypes = expectedTypes.some(function (t) { return t; });\n if (!valid && haveExpectedTypes) {\n warn(\n getInvalidTypeMessage(name, value, expectedTypes),\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol|BigInt)$/;\n\nfunction assertType (value, type, vm) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n var t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n try {\n valid = value instanceof type;\n } catch (e) {\n warn('Invalid prop type: \"' + String(type) + '\" is not a constructor', vm);\n valid = false;\n }\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\nvar functionTypeCheckRE = /^\\s*function (\\w+)/;\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(functionTypeCheckRE);\n return match ? match[1] : ''\n}\n\nfunction isSameType (a, b) {\n return getType(a) === getType(b)\n}\n\nfunction getTypeIndex (type, expectedTypes) {\n if (!Array.isArray(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1\n }\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\n if (isSameType(expectedTypes[i], type)) {\n return i\n }\n }\n return -1\n}\n\nfunction getInvalidTypeMessage (name, value, expectedTypes) {\n var message = \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n \" Expected \" + (expectedTypes.map(capitalize).join(', '));\n var expectedType = expectedTypes[0];\n var receivedType = toRawType(value);\n // check if we need to specify expected value\n if (\n expectedTypes.length === 1 &&\n isExplicable(expectedType) &&\n isExplicable(typeof value) &&\n !isBoolean(expectedType, receivedType)\n ) {\n message += \" with value \" + (styleValue(value, expectedType));\n }\n message += \", got \" + receivedType + \" \";\n // check if we need to specify received value\n if (isExplicable(receivedType)) {\n message += \"with value \" + (styleValue(value, receivedType)) + \".\";\n }\n return message\n}\n\nfunction styleValue (value, type) {\n if (type === 'String') {\n return (\"\\\"\" + value + \"\\\"\")\n } else if (type === 'Number') {\n return (\"\" + (Number(value)))\n } else {\n return (\"\" + value)\n }\n}\n\nvar EXPLICABLE_TYPES = ['string', 'number', 'boolean'];\nfunction isExplicable (value) {\n return EXPLICABLE_TYPES.some(function (elem) { return value.toLowerCase() === elem; })\n}\n\nfunction isBoolean () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n // See: https://github.com/vuejs/vuex/issues/1505\n pushTarget();\n try {\n if (vm) {\n var cur = vm;\n while ((cur = cur.$parent)) {\n var hooks = cur.$options.errorCaptured;\n if (hooks) {\n for (var i = 0; i < hooks.length; i++) {\n try {\n var capture = hooks[i].call(cur, err, vm, info) === false;\n if (capture) { return }\n } catch (e) {\n globalHandleError(e, cur, 'errorCaptured hook');\n }\n }\n }\n }\n }\n globalHandleError(err, vm, info);\n } finally {\n popTarget();\n }\n}\n\nfunction invokeWithErrorHandling (\n handler,\n context,\n args,\n vm,\n info\n) {\n var res;\n try {\n res = args ? handler.apply(context, args) : handler.call(context);\n if (res && !res._isVue && isPromise(res) && !res._handled) {\n res.catch(function (e) { return handleError(e, vm, info + \" (Promise/async)\"); });\n // issue #9511\n // avoid catch triggering multiple times when nested calls\n res._handled = true;\n }\n } catch (e) {\n handleError(e, vm, info);\n }\n return res\n}\n\nfunction globalHandleError (err, vm, info) {\n if (config.errorHandler) {\n try {\n return config.errorHandler.call(null, err, vm, info)\n } catch (e) {\n // if the user intentionally throws the original error in the handler,\n // do not log it twice\n if (e !== err) {\n logError(e, null, 'config.errorHandler');\n }\n }\n }\n logError(err, vm, info);\n}\n\nfunction logError (err, vm, info) {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n}\n\n/* */\n\nvar isUsingMicroTask = false;\n\nvar callbacks = [];\nvar pending = false;\n\nfunction flushCallbacks () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n}\n\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nvar timerFunc;\n\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n timerFunc = function () {\n p.then(flushCallbacks);\n // In problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n isUsingMicroTask = true;\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n)) {\n // Use MutationObserver where native Promise is not available,\n // e.g. PhantomJS, iOS7, Android 4.4\n // (#6466 MutationObserver is unreliable in IE11)\n var counter = 1;\n var observer = new MutationObserver(flushCallbacks);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n isUsingMicroTask = true;\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n // Fallback to setImmediate.\n // Technically it leverages the (macro) task queue,\n // but it is still a better choice than setTimeout.\n timerFunc = function () {\n setImmediate(flushCallbacks);\n };\n} else {\n // Fallback to setTimeout.\n timerFunc = function () {\n setTimeout(flushCallbacks, 0);\n };\n}\n\nfunction nextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (process.env.NODE_ENV !== 'production') {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n target\n );\n };\n\n var warnReservedPrefix = function (target, key) {\n warn(\n \"Property \\\"\" + key + \"\\\" must be accessed with \\\"$data.\" + key + \"\\\" because \" +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n 'prevent conflicts with Vue internals. ' +\n 'See: https://vuejs.org/v2/api/#data',\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' && isNative(Proxy);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) ||\n (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));\n if (!has && !isAllowed) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse (val) {\n _traverse(val, seenObjects);\n seenObjects.clear();\n}\n\nfunction _traverse (val, seen) {\n var i, keys;\n var isA = Array.isArray(val);\n if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n return\n }\n if (val.__ob__) {\n var depId = val.__ob__.dep.id;\n if (seen.has(depId)) {\n return\n }\n seen.add(depId);\n }\n if (isA) {\n i = val.length;\n while (i--) { _traverse(val[i], seen); }\n } else {\n keys = Object.keys(val);\n i = keys.length;\n while (i--) { _traverse(val[keys[i]], seen); }\n }\n}\n\nvar mark;\nvar measure;\n\nif (process.env.NODE_ENV !== 'production') {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n // perf.clearMeasures(name)\n };\n }\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns, vm) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments$1, vm, \"v-on handler\");\n }\n } else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\")\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n createOnceHandler,\n vm\n) {\n var name, def$$1, cur, old, event;\n for (name in on) {\n def$$1 = cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.