openc3-cosmos-tool-admin 5.12.0 → 5.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/js/162.js +2 -0
  3. data/tools/admin/js/162.js.map +1 -0
  4. data/tools/admin/js/223.js +2 -0
  5. data/tools/admin/js/223.js.map +1 -0
  6. data/tools/admin/js/24.js +2 -0
  7. data/tools/admin/js/24.js.map +1 -0
  8. data/tools/admin/js/240.js +1 -1
  9. data/tools/admin/js/267.js +2 -0
  10. data/tools/admin/js/267.js.map +1 -0
  11. data/tools/admin/js/27.js +2 -0
  12. data/tools/admin/js/27.js.map +1 -0
  13. data/tools/admin/js/35.js +2 -0
  14. data/tools/admin/js/35.js.map +1 -0
  15. data/tools/admin/js/405.js +2 -0
  16. data/tools/admin/js/405.js.map +1 -0
  17. data/tools/admin/js/478.js +2 -0
  18. data/tools/admin/js/478.js.map +1 -0
  19. data/tools/admin/js/537.js +2 -0
  20. data/tools/admin/js/537.js.map +1 -0
  21. data/tools/admin/js/593.js +2 -0
  22. data/tools/admin/js/593.js.map +1 -0
  23. data/tools/admin/js/797.js +2 -0
  24. data/tools/admin/js/797.js.map +1 -0
  25. data/tools/admin/js/829.js +1 -1
  26. data/tools/admin/js/829.js.map +1 -1
  27. data/tools/admin/js/830.js +2 -0
  28. data/tools/admin/js/830.js.map +1 -0
  29. data/tools/admin/js/837.js +2 -2
  30. data/tools/admin/js/837.js.map +1 -1
  31. data/tools/admin/js/876.js +3 -3
  32. data/tools/admin/js/876.js.map +1 -1
  33. data/tools/admin/js/app.js +1 -1
  34. data/tools/admin/js/app.js.map +1 -1
  35. metadata +26 -26
  36. data/tools/admin/js/1.js +0 -2
  37. data/tools/admin/js/1.js.map +0 -1
  38. data/tools/admin/js/12.js +0 -2
  39. data/tools/admin/js/12.js.map +0 -1
  40. data/tools/admin/js/132.js +0 -2
  41. data/tools/admin/js/132.js.map +0 -1
  42. data/tools/admin/js/342.js +0 -2
  43. data/tools/admin/js/342.js.map +0 -1
  44. data/tools/admin/js/407.js +0 -2
  45. data/tools/admin/js/407.js.map +0 -1
  46. data/tools/admin/js/573.js +0 -2
  47. data/tools/admin/js/573.js.map +0 -1
  48. data/tools/admin/js/644.js +0 -2
  49. data/tools/admin/js/644.js.map +0 -1
  50. data/tools/admin/js/650.js +0 -2
  51. data/tools/admin/js/650.js.map +0 -1
  52. data/tools/admin/js/663.js +0 -2
  53. data/tools/admin/js/663.js.map +0 -1
  54. data/tools/admin/js/87.js +0 -2
  55. data/tools/admin/js/87.js.map +0 -1
  56. data/tools/admin/js/888.js +0 -2
  57. data/tools/admin/js/888.js.map +0 -1
  58. data/tools/admin/js/90.js +0 -2
  59. data/tools/admin/js/90.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/27.js","mappings":"yKAwBA,MAAMA,EAAUC,eACdC,EACAC,GACA,KAAEC,EAAI,OAAEC,EAAS,CAAC,EAAC,QAAEC,EAAO,OAAEC,GAAS,EAAK,QAAEC,GAAU,GAAU,CAAC,GAEnE,IAAKD,EAAQ,CACX,IACE,IAAIE,QAAkBC,WAAWC,YAC/BD,WAAWE,oBAETH,GACFC,WAAWG,WAEf,CAAE,MAAOC,GACPJ,WAAWK,OACb,CACAT,EAAQ,iBAAmBU,aAAaC,WAC1C,CAIA,OAHKT,GAAYH,EAAO,WACtBA,EAAO,SAAWa,OAAOC,cAEpBC,EAAAA,EAAAA,GAAM,CACXlB,SACAC,MACAC,OACAC,SACAC,WAEJ,EAEMe,EAA2B,CAC/BC,OAAQ,oBAGJC,EAAqB,IACtBF,EACH,eAAgB,oBAGlB,GACEG,IAAK,SACHC,GACA,OAAEpB,EAAM,QAAEC,EAAUe,EAAwB,QAAEb,EAAO,OAAED,GAAW,CAAC,GAEnE,OAAOP,EAAQ,MAAOyB,EAAM,CAAEpB,SAAQC,UAASE,UAASD,UAC1D,EAEAmB,IAAK,SACHD,GACA,KAAErB,EAAI,OAAEC,EAAM,QAAEC,EAAUiB,EAAkB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AA,EAEA,EACAa,OAAAA,GACA,KAAAC,QACA,EACAC,QAAA,CACAD,MAAAA,GACAE,EAAAA,EAAAjF,IAAA,uBAAAsB,MAAAR,IACA,KAAAuD,QAAAvD,EAAAlC,IAAA,GAEA,EACA8E,OAAA,WACA,KAAAH,eAAA,EACA,IAAA2B,EAAA,KACA,QAAAnC,KAAA,CACA,MAAAoC,EAAA,IAAAC,SACAD,EAAAE,OAAA,YAAAtC,KAAA,KAAAA,KAAAuC,MACAJ,EAAAD,EAAAA,EAAA9E,KAAA,4BAAAkD,aAAA,CACAzE,KAAAuG,EACArG,QAAA,wCAEA,MACAoG,EAAAD,EAAAA,EAAA9E,KAAA,4BAAAkD,aAAA,CACAzE,KAAA,CAAAkE,MAAA,KAAAQ,eAGA4B,EACA5D,MAAAR,IACA,KAAAyC,eAAA,EACA,KAAAR,KAAA,KACA,KAAAM,WAAA,GACA,KAAAC,YAAA,GACA,KAAAyB,QAAA,IAEAQ,OAAAjG,IACA,KAAAiE,eAAA,IAEA,EACAmB,aAAA,SAAAJ,GACA,KAAAkB,QACAC,QAAA,oCAAAnB,IAAA,CACAoB,OAAA,SACAC,WAAA,WAEArE,MAAA,SAAAsE,GACA,OAAAX,EAAAA,EAAA7E,OAAA,uBAAAkE,IACA,IACAhD,MAAAR,IACA,KAAAqD,MAAA,kBAAAG,IACA,KAAAN,UAAA,UACA,KAAAC,WAAA,EACA4B,YAAA,KACA,KAAA5B,WAAA,IACA,KACA,KAAAc,QAAA,GAEA,IClKgU,I,cCO5Te,GAAY,OACd,EACAzD,EACAwC,GACA,EACA,KACA,KACA,MAIF,QAAeiB,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue?b2bb","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SecretsTab.vue?ef95"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\"*\",\"label\":\"Click to select a file to create a secret from or enter a secret value\"},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1),_vm._v(\" \"),_c('v-row',{staticStyle:{\"padding-left\":\"10px\"},attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-text-field',{staticClass:\"px-2\",attrs:{\"label\":\"Secret Name\"},model:{value:(_vm.secretName),callback:function ($$v) {_vm.secretName=$$v},expression:\"secretName\"}})],1),_vm._v(\" \"),_c('v-col',{staticClass:\"px-2\",attrs:{\"cols\":\"3\"}},[_c('v-text-field',{attrs:{\"disabled\":_vm.file,\"label\":\"Secret Value\"},model:{value:(_vm.secretValue),callback:function ($$v) {_vm.secretValue=$$v},expression:\"secretValue\"}})],1),_vm._v(\" \"),_c('v-col',{staticClass:\"px-2\",attrs:{\"cols\":\"3\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"secretUpload\",\"disabled\":_vm.secretName === '' || (_vm.file == null && _vm.secretValue === ''),\"loading\":_vm.loadingSecret},on:{\"click\":function($event){return _vm.upload()}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}])},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-upload\")]),_vm._v(\" \"),_c('span',[_vm._v(\" Set \")])],1)],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),_vm._v(\" \"),_c('v-list',{attrs:{\"data-test\":\"secretList\"}},_vm._l((_vm.secrets),function(secret,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(secret))])],1),_vm._v(\" \"),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteSecret(secret)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-delete\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Delete Secret\")])])],1)],1),_vm._v(\" \"),(index < _vm.secrets.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SecretsTab.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SecretsTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SecretsTab.vue?vue&type=template&id=c9f56912\"\nimport script from \"./SecretsTab.vue?vue&type=script&lang=js\"\nexport * from \"./SecretsTab.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/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"],"names":["request","async","method","url","data","params","headers","noAuth","noScope","refreshed","OpenC3Auth","updateToken","defaultMinValidity","setTokens","error","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","vueInstance","Vue","axiosInstance","create","baseURL","location","origin","timeout","interceptors","response","use","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","ref","staticClass","model","value","file","callback","$$v","expression","_v","staticStyle","secretName","secretValue","loadingSecret","on","$event","upload","scopedSlots","_u","key","fn","proxy","alertType","showAlert","_s","alert","_l","secrets","secret","index","_g","_b","deleteSecret","length","_e","staticRenderFns","mounted","update","methods","Api","promise","formData","FormData","append","name","catch","$dialog","confirm","okText","cancelText","dialog","setTimeout","component"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[35],{9373:(e,t,s)=>{s.d(t,{Z:()=>i});var r=s(162),n=s(4091);const o=new n["default"],a=r.Z.create({baseURL:location.origin,timeout:6e4,params:{}});a.interceptors.response.use((e=>e),(e=>{if(e.response){var t,s,r,n,a;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.headers["ignore-errors"]&&e.response.headers["ignore-errors"].includes(e.response.status.toString()))return Promise.reject(e);let l=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(l+=`${e.response.statusText} `),null!==(s=e.response)&&void 0!==s&&null!==(s=s.config)&&void 0!==s&&s.data&&(l+=`${e.response.config.data} `),null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&r.message)l+=`${e.response.data.message}`;else if(null!==(n=e.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.exception)l+=`${e.response.data.exception}`;else if(null!==(a=e.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&null!==(a=a.error)&&void 0!==a&&a.message)e.response.data.error.class&&(l+=`${e.response.data.error.class} `),l+=`${e.response.data.error.message}`;else{var i;l+=`${null===(i=e.response)||void 0===i?void 0:i.data}`}throw o.$notify&&o.$notify.serious({title:"Network error",body:l}),e}throw e}));const i=a},4610:(e,t,s)=>{s.r(t),s.d(t,{default:()=>U});var r=function(){var e=this,t=e._self._c;return t("div",[t("v-card",[t("v-card-title",[e._v(" Reset suppressed warnings ")]),e._v(" "),t("v-card-subtitle",[e._v('\n This resets "don\'t show this again" dialogs on this browser\n ')]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.suppressedWarnings.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-suppressed-warnings"},model:{value:e.selectAllSuppressedWarnings,callback:function(t){e.selectAllSuppressedWarnings=t},expression:"selectAllSuppressedWarnings"}}),e._v(" "),e._l(e.suppressedWarnings,(function(s){return t("v-checkbox",{key:s.key,staticClass:"mt-0",attrs:{label:s.text,value:s.key,dense:""},model:{value:e.selectedSuppressedWarnings,callback:function(t){e.selectedSuppressedWarnings=t},expression:"selectedSuppressedWarnings"}})}))]:[e._v(" No warnings to reset ")]],2),e._v(" "),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedSuppressedWarnings.length,color:"warning",text:"","data-test":"reset-suppressed-warnings"},on:{click:e.resetSuppressedWarnings}},[e._v("\n Reset\n ")])],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Clear default configs ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This clears the default tool configs on this browser\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.lastConfigs.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-default-configs"},model:{value:e.selectAllLastConfigs,callback:function(t){e.selectAllLastConfigs=t},expression:"selectAllLastConfigs"}}),e._v(" "),e._l(e.lastConfigs,(function(s){return t("v-checkbox",{key:s.key,staticClass:"mt-0",attrs:{label:s.text,value:s.key,dense:""},model:{value:e.selectedLastConfigs,callback:function(t){e.selectedLastConfigs=t},expression:"selectedLastConfigs"}})}))]:[e._v(" No configs to clear ")]],2),e._v(" "),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedLastConfigs.length,color:"warning",text:"","data-test":"clear-default-configs"},on:{click:e.clearLastConfigs}},[e._v("\n Clear\n ")])],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("astro-settings"),e._v(" "),t("v-divider"),e._v(" "),t("classification-banner-settings"),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Source code URL ")]),e._v(" "),t("v-card-subtitle",[e._v('\n This sets the URL for the "Source" link in the footer. This is required\n under the AGPL license.\n ')]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Source URL","data-test":"source-url"},model:{value:e.sourceUrl,callback:function(t){e.sourceUrl=t},expression:"sourceUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-source-url"},on:{click:e.saveSourceUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.sourceUrlErrorSaving,callback:function(t){e.sourceUrlErrorSaving=t},expression:"sourceUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.sourceUrlSuccessSaving,callback:function(t){e.sourceUrlSuccessSaving=t},expression:"sourceUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Rubygems URL ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This sets the URL for installing dependency rubygems. Also used for\n rubygem discovery.\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Rubygems URL","data-test":"rubygems-url"},model:{value:e.rubygemsUrl,callback:function(t){e.rubygemsUrl=t},expression:"rubygemsUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-rubygems-url"},on:{click:e.saveRubygemsUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.rubygemsUrlErrorSaving,callback:function(t){e.rubygemsUrlErrorSaving=t},expression:"rubygemsUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.rubygemsUrlSuccessSaving,callback:function(t){e.rubygemsUrlSuccessSaving=t},expression:"rubygemsUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1),e._v(" "),t("v-divider"),e._v(" "),t("v-card",[t("v-card-title",[e._v(" Pypi URL ")]),e._v(" "),t("v-card-subtitle",[e._v("\n This sets the URL for installing dependency python packages. Also used\n for package discovery.\n ")]),e._v(" "),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Pypi URL","data-test":"pypi-url"},model:{value:e.pypiUrl,callback:function(t){e.pypiUrl=t},expression:"pypiUrl"}})],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-pypi-url"},on:{click:e.savePypiUrl}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.pypiUrlErrorSaving,callback:function(t){e.pypiUrlErrorSaving=t},expression:"pypiUrlErrorSaving"}},[e._v("\n Error saving\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.pypiUrlSuccessSaving,callback:function(t){e.pypiUrlSuccessSaving=t},expression:"pypiUrlSuccessSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)],1)},n=[],o=(s(1531),s(4597),s(309),s(6088)),a=(s(978),s(5984),s(7380),s(527),s(1697),s(9394),s(3438),s(3616),s(5630),s(896),s(4139),s(9373));class i{constructor(){(0,o.Z)(this,"id",1)}async exec(e,t,s={},r={},n=6e4){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(i){OpenC3Auth.login()}this.id=this.id+1;try{s["scope"]=window.openc3Scope;const o=await a.Z.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:t,id:this.id,keyword_params:s},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...r},timeout:n});return o.data.result}catch(i){var o=new Error;throw i.response?(o.name=i.response.data.error.data.class,o.message=i.response.data.error.data.message):i.request?(o.name="Request error",o.message="Request error, no response received"):o.name="Unknown error",o}}decode_openc3_type(e){if(null!==e&&"object"===typeof e&&"Float"==e.json_class&&e.raw){if("NaN"==e.raw)return NaN;if("Infinity"==e.raw)return 1/0;if("-Infinity"==e.raw)return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then((e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then((()=>{delete localStorage.openc3OfflineToken})):OpenC3Auth.getOfflineAccess())}))}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,t){return this.exec("map_target_to_interface",[e,t])}connect_interface(e,...t){return t.length>0?this.exec("connect_interface",[e,...t]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_all_target_info(){return this.exec("get_all_target_info",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,t,s){return this.exec("get_item",[e,t,s])}get_param(e,t,s){return this.exec("get_param",[e,t,s])}get_parameter(e,t,s){return this.exec("get_parameter",[e,t,s])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_list",[])}get_tlm(e,t){return this.exec("get_tlm",[e,t])}get_telemetry(e,t){return this.exec("get_telemetry",[e,t])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_telemetry",[e])}get_all_tlm_names(e){return this.exec("get_all_tlm_names",[e])}get_all_telemetry_names(e){return this.exec("get_all_telemetry_names",[e])}async get_tlm_packet(e,t,s,r=30){const n=await this.exec("get_tlm_packet",[e,t],{type:s,stale_time:r});if(null!=n)for(var o=n.length,a=null,i=0;i<o;i++)a=this.decode_openc3_type(n[i][1]),null!==a&&(n[i][1]=a);return n}get_packet_derived_items(e,t){return this.exec("get_packet_derived_items",[e,t])}get_tlm_buffer(e,t){return this.exec("get_tlm_buffer",[e,t])}async get_tlm_values(e,t=30){const s=await this.exec("get_tlm_values",[e],{stale_time:t},{},1e4);for(var r=s[0].length,n=null,o=0;o<r;o++)n=this.decode_openc3_type(s[0][o]),null!==n&&(s[0][o]=n);return s}get_limits(e,t,s){return this.exec("get_limits",[e,t,s])}async tlm(e,t,s,r="CONVERTED"){let n=null;if(void 0===t)n=await this.exec("tlm",[e]);else if(void 0===s){if(!["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(t)){var o=new Error;throw o.name="TypeError",o.message=`Invalid data type ${t}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,o}n=await this.exec("tlm",[e],{type:t})}else n=await this.exec("tlm",[e,t,s],{type:r});var a=this.decode_openc3_type(n);return null!==a&&(n=a),n}async inject_tlm(e,t,s=null,r="CONVERTED"){data=await this.exec("inject_tlm",[e,t,s],{type:r})}set_tlm(e,t,s,r){return this.exec("set_tlm",[e,t,s],{type:r})}override_tlm(e,t,s,r){return this.exec("override_tlm",[e,t,s],{type:r})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,t,s,r){return this.exec("normalize_tlm",[e,t,s],{type:r})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_commands",[e])}get_all_cmd_names(e){return this.exec("get_all_cmd_names",[e])}get_all_command_names(e){return this.exec("get_all_command_names",[e])}get_cmd(e,t){return this.exec("get_cmd",[e,t])}get_command(e,t){return this.exec("get_command",[e,t])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,t,s,r="CONVERTED"){return this.exec("get_cmd_value",[e,t,s,r])}get_cmd_buffer(e,t){return this.exec("get_cmd_buffer",[e,t])}_cmd(e,t,s,r,n){var o=null;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(o=this.encode_openc3_type(r[a]),null!==o&&(r[a]=o));return this.exec(e,[t,s,r],{},n)}get_cmd_hazardous(e,t,s){return void 0===t?this.exec("get_cmd_hazardous",e):this._cmd("get_cmd_hazardous",e,t,s)}cmd(e,t,s,r={}){return void 0===t?this.exec("cmd",e,{},r):this._cmd("cmd",e,t,s,r)}cmd_no_range_check(e,t,s){return void 0===t?this.exec("cmd_no_range_check",e):this._cmd("cmd_no_range_check",e,t,s)}cmd_raw(e,t,s){return void 0===t?this.exec("cmd_raw",e):this._cmd("cmd_raw",e,t,s)}cmd_raw_no_range_check(e,t,s){return void 0===t?this.exec("cmd_raw_no_range_check",e):this._cmd("cmd_raw_no_range_check",e,t,s)}cmd_no_hazardous_check(e,t,s){return void 0===t?this.exec("cmd_no_hazardous_check",e):this._cmd("cmd_no_hazardous_check",e,t,s)}cmd_no_checks(e,t,s){return void 0===t?this.exec("cmd_no_checks",e):this._cmd("cmd_no_checks",e,t,s)}cmd_raw_no_hazardous_check(e,t,s){return void 0===t?this.exec("cmd_raw_no_hazardous_check",e):this._cmd("cmd_raw_no_hazardous_check",e,t,s)}cmd_raw_no_checks(e,t,s){return void 0===t?this.exec("cmd_raw_no_checks",e):this._cmd("cmd_raw_no_checks",e,t,s)}build_cmd(e,t,s){return void 0===t?this.exec("build_cmd",e):this._cmd("build_cmd",e,t,s)}build_command(e,t,s){return void 0===t?this.exec("build_command",e):this._cmd("build_command",e,t,s)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,t){return this.exec("send_raw",[e,t])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,t){return this.exec("load_config",[e,t])}save_config(e,t,s){return this.exec("save_config",[e,t,s])}delete_config(e,t){return this.exec("delete_config",[e,t])}enable_limits(e,t,s){return this.exec("enable_limits",[e,t,s])}disable_limits(e,t,s){return this.exec("disable_limits",[e,t,s])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,t){return this.exec("set_setting",[e,t])}save_setting(e,t){return this.exec("save_setting",[e,t])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const t=(new TextEncoder).encode(e),s=await crypto.subtle.digest("SHA-256",t),r=new Uint8Array(s);return Array.from(r).map((e=>e.toString(16).padStart(2,"0"))).join("")}}}var l=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("Astro Settings")]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorLoading,callback:function(t){e.errorLoading=t},expression:"errorLoading"}},[e._v("\n Error loading previous configuration due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-container",{staticClass:"pb-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-switch",{attrs:{label:"Hide Astro Clock","data-test":"hide-astro-clock"},model:{value:e.hideClock,callback:function(t){e.hideClock=t},expression:"hideClock"}})],1)],1)],1)],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-astro-settings"},on:{click:e.save}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v("\n Error saving due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)},c=[];const u="astro",d={data(){return{api:null,errorLoading:!1,errorSaving:!1,errorText:"",successSaving:!1,hideClock:!1}},computed:{saveObj:function(){return JSON.stringify({hideClock:this.hideClock})}},created(){this.api=new i,this.load()},methods:{load:function(){this.api.get_setting(u).then((e=>{if(this.errorLoading=!1,e){const t=JSON.parse(e);this.hideClock=t.hideClock}})).catch((e=>{this.errorText=e,this.errorLoading=!0}))},save:function(){this.api.set_setting(u,this.saveObj).then((()=>{this.errorSaving=!1,this.successSaving=!0})).catch((e=>{this.errorText=e,this.errorSaving=!0}))}}},_=d;var g=s(3483),v=(0,g.Z)(_,l,c,!1,null,null,null);const p=v.exports;var h=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("Classification Banner Settings")]),e._v(" "),t("v-card-text",{staticClass:"pb-0"},[t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorLoading,callback:function(t){e.errorLoading=t},expression:"errorLoading"}},[e._v("\n Error loading previous configuration due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-container",{staticClass:"pb-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-text-field",{attrs:{label:"Text","data-test":"classification-banner-text"},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-select",{attrs:{label:"Background color",items:e.colors,"data-test":"classification-banner-background-color"},scopedSlots:e._u([e.selectedBackgroundColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{attrs:{color:e.selectedBackgroundColor}},[e._v(" mdi-square ")])]},proxy:!0}:null,{key:"item",fn:function(s){return[s.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:s.item.value}},[e._v("\n mdi-square\n ")]):e._e(),e._v("\n "+e._s(s.item.text)+"\n ")]}}],null,!0),model:{value:e.selectedBackgroundColor,callback:function(t){e.selectedBackgroundColor=t},expression:"selectedBackgroundColor"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Custom background color",hint:e.customColorHint,disabled:!1!==e.selectedBackgroundColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-background-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedBackgroundColor,expression:"!selectedBackgroundColor"}],attrs:{color:e.customBackgroundColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}]),model:{value:e.customBackgroundColor,callback:function(t){e.customBackgroundColor=t},expression:"customBackgroundColor"}})],1),e._v(" "),t("v-col",[t("v-select",{attrs:{label:"Font color",items:e.colors,"data-test":"classification-banner-font-color"},scopedSlots:e._u([e.selectedFontColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:e.selectedFontColor,expression:"selectedFontColor"}],attrs:{color:e.selectedFontColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}:null,{key:"item",fn:function(s){return[s.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:s.item.value}},[e._v("\n mdi-square\n ")]):e._e(),e._v("\n "+e._s(s.item.text)+"\n ")]}}],null,!0),model:{value:e.selectedFontColor,callback:function(t){e.selectedFontColor=t},expression:"selectedFontColor"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Custom font color",hint:e.customColorHint,disabled:!1!==e.selectedFontColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-font-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedFontColor,expression:"!selectedFontColor"}],attrs:{color:e.customFontColor}},[e._v("\n mdi-square\n ")])]},proxy:!0}]),model:{value:e.customFontColor,callback:function(t){e.customFontColor=t},expression:"customFontColor"}})],1)],1),e._v(" "),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-switch",{attrs:{label:"Display top banner","data-test":"display-top-banner"},model:{value:e.displayTopBanner,callback:function(t){e.displayTopBanner=t},expression:"displayTopBanner"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Top height",disabled:!e.displayTopBanner,type:"number",suffix:"px","data-test":"classification-banner-top-height"},model:{value:e.topHeight,callback:function(t){e.topHeight=t},expression:"topHeight"}})],1),e._v(" "),t("v-col",[t("v-switch",{attrs:{label:"Display bottom banner","data-test":"display-bottom-banner"},model:{value:e.displayBottomBanner,callback:function(t){e.displayBottomBanner=t},expression:"displayBottomBanner"}})],1),e._v(" "),t("v-col",[t("v-text-field",{attrs:{label:"Bottom height",disabled:!e.displayBottomBanner,type:"number",suffix:"px","data-test":"classification-banner-bottom-height"},model:{value:e.bottomHeight,callback:function(t){e.bottomHeight=t},expression:"bottomHeight"}})],1)],1)],1)],1),e._v(" "),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{disabled:!e.formValid,color:"success",text:"","data-test":"save-classification-banner"},on:{click:e.save}},[e._v("\n Save\n ")])],1)],1),e._v(" "),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v("\n Error saving due to "+e._s(e.errorText)+"\n ")]),e._v(" "),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v("\n Saved! (Refresh the page to see changes)\n ")])],1)],1)],1)},m=[];const f="classification_banner",x={data(){return{api:null,errorLoading:!1,errorSaving:!1,errorText:"",successSaving:!1,text:"",displayTopBanner:!1,displayBottomBanner:!1,topHeight:0,bottomHeight:0,selectedBackgroundColor:"red",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Yellow",value:"yellow"},{text:"Orange",value:"orange"},{text:"Red",value:"red"},{text:"Purple",value:"purple"},{text:"Blue",value:"blue"},{text:"Green",value:"green"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:e=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)||this.customColorHint}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor,topHeight:this.displayTopBanner?this.topHeight:0,bottomHeight:this.displayBottomBanner?this.bottomHeight:0})},formValid:function(){return(this.selectedFontColor||!0===this.rules.customColor(this.customFontColor))&&(this.selectedBackgroundColor||!0===this.rules.customColor(this.customBackgroundColor))}},watch:{displayTopBanner:function(e){this.topHeight=e?20:0},displayBottomBanner:function(e){this.bottomHeight=e?20:0},customFontColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customFontColor=`#${e}`)},customBackgroundColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customBackgroundColor=`#${e}`)}},created(){this.api=new i,this.load()},methods:{load:function(){this.api.get_setting(f).then((e=>{if(this.errorLoading=!1,e){const t=JSON.parse(e);this.text=t.text,this.topHeight=t.topHeight,this.bottomHeight=t.bottomHeight,this.displayTopBanner=0!==t.topHeight,this.displayBottomBanner=0!==t.bottomHeight,t.backgroundColor&&t.backgroundColor.startsWith("#")?(this.customBackgroundColor=t.backgroundColor,this.selectedBackgroundColor=!1):this.selectedBackgroundColor=t.backgroundColor,t.fontColor&&t.fontColor.startsWith("#")?(this.customFontColor=t.fontColor,this.selectedFontColor=!1):this.selectedFontColor=t.fontColor}})).catch((e=>{this.errorText=e,this.errorLoading=!0}))},save:function(){this.api.set_setting(f,this.saveObj).then((()=>{this.errorSaving=!1,this.successSaving=!0})).catch((e=>{this.errorText=e,this.errorSaving=!0}))}}},b=x;var y=(0,g.Z)(b,h,m,!1,null,null,null);const C=y.exports,S={components:{AstroSettings:p,ClassificationBannerSettings:C},data(){return{api:new i,suppressedWarnings:[],selectedSuppressedWarnings:[],selectAllSuppressedWarnings:!1,lastConfigs:[],selectedLastConfigs:[],selectAllLastConfigs:!1,sourceUrl:"",rubygemsUrl:"",pypiUrl:"",sourceUrlErrorSaving:!1,sourceUrlSuccessSaving:!1,rubygemsUrlErrorSaving:!1,rubygemsUrlSuccessSaving:!1,pypiUrlErrorSaving:!1,pypiUrlSuccessSaving:!1}},watch:{selectAllSuppressedWarnings:function(e){this.selectedSuppressedWarnings=e?this.suppressedWarnings.map((e=>e.key)):[]},selectAllLastConfigs:function(e){this.selectedLastConfigs=e?this.lastConfigs.map((e=>e.key)):[]}},created(){this.loadSuppressedWarnings(),this.loadLastConfigs(),this.loadSourceUrl(),this.loadRubygemsUrl(),this.loadPypiUrl()},methods:{loadSuppressedWarnings:function(){this.suppressedWarnings=Object.keys(localStorage).filter((e=>e.startsWith("suppresswarning__"))).map(this.localStorageKeyToDisplayObject),this.selectedSuppressedWarnings=[]},resetSuppressedWarnings:function(){this.deleteLocalStorageKeys(this.selectedSuppressedWarnings),this.loadSuppressedWarnings()},loadLastConfigs:function(){this.lastConfigs=Object.keys(localStorage).filter((e=>e.endsWith("__default"))).map((e=>{const t=e.split("__")[0].replaceAll("_"," ");return{key:e,text:t.charAt(0).toUpperCase()+t.slice(1)}})),this.selectedLastConfigs=[]},clearLastConfigs:function(){this.deleteLocalStorageKeys(this.selectedLastConfigs),this.loadLastConfigs()},deleteLocalStorageKeys:function(e){for(const t of e)delete localStorage[t]},localStorageKeyToDisplayObject:function(e){const t=e.split("__")[0].replaceAll("_"," ");return{key:e,text:t.charAt(0).toUpperCase()+t.slice(1),value:localStorage[e]}},loadSourceUrl:function(){this.api.get_setting("source_url").then((e=>{this.sourceUrl=e})).catch((()=>{this.sourceUrl="https://github.com/OpenC3/openc3"}))},saveSourceUrl:function(){this.api.set_setting("source_url",this.sourceUrl).then((()=>{this.sourceUrlErrorSaving=!1,this.sourceUrlSuccessSaving=!0})).catch((()=>{this.sourceUrlErrorSaving=!0}))},loadRubygemsUrl:function(){this.api.get_setting("rubygems_url").then((e=>{this.rubygemsUrl=e})).catch((()=>{this.rubygemsUrl="https://rubygems.org"}))},saveRubygemsUrl:function(){this.api.set_setting("rubygems_url",this.rubygemsUrl).then((()=>{this.rubygemsUrlErrorSaving=!1,this.rubygemsUrlSuccessSaving=!0})).catch((()=>{this.rubygemsUrlErrorSaving=!0}))},loadPypiUrl:function(){this.api.get_setting("pypi_url").then((e=>{this.pypiUrl=e})).catch((()=>{this.pypiUrl="https://pypi.org/simple"}))},savePypiUrl:function(){this.api.set_setting("pypi_url",this.pypiUrl).then((()=>{this.pypiUrlErrorSaving=!1,this.pypiUrlSuccessSaving=!0})).catch((()=>{this.pypiUrlErrorSaving=!0}))}}},k=S;var w=(0,g.Z)(k,r,n,!1,null,null,null);const U=w.exports},9887:(e,t,s)=>{var r=s(6148),n=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new n("Incorrect invocation")}},6403:(e,t,s)=>{var r=s(7352),n=s(8344),o=s(3182),a=Array,i=Math.max;e.exports=function(e,t,s){for(var l=n(e),c=r(t,l),u=r(void 0===s?l:s,l),d=a(i(u-c,0)),_=0;c<u;c++,_++)o(d,_,e[c]);return d.length=_,d}},3097:(e,t,s)=>{var r=s(6403),n=Math.floor,o=function(e,t){var s=e.length,l=n(s/2);return s<8?a(e,t):i(e,o(r(e,0,l),t),o(r(e,l),t),t)},a=function(e,t){var s,r,n=e.length,o=1;while(o<n){r=o,s=e[o];while(r&&t(e[r-1],s)>0)e[r]=e[--r];r!==o++&&(e[r]=s)}return e},i=function(e,t,s,r){var n=t.length,o=s.length,a=0,i=0;while(a<n||i<o)e[a+i]=a<n&&i<o?r(t[a],s[i])<=0?t[a++]:s[i++]:a<n?t[a++]:s[i++];return e};e.exports=o},3182:(e,t,s)=>{var r=s(2358),n=s(2131),o=s(7781);e.exports=function(e,t,s){var a=r(t);a in e?n.f(e,a,o(0,s)):e[a]=s}},9393:(e,t,s)=>{var r=s(1135),n=s(2131);e.exports=function(e,t,s){return s.get&&r(s.get,t,{getter:!0}),s.set&&r(s.set,t,{setter:!0}),n.f(e,t,s)}},9700:(e,t,s)=>{var r=s(2470);e.exports=function(e,t,s){for(var n in t)r(e,n,t[n],s);return e}},4162:(e,t,s)=>{var r=s(5033),n=s(1052),o=s(6398),a=r(r.bind);e.exports=function(e,t){return n(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},8674:(e,t,s)=>{var r=s(1566),n=s(5383),o=s(5268),a=s(8515),i=s(2032),l=i("iterator");e.exports=function(e){if(!o(e))return n(e,l)||n(e,"@@iterator")||a[r(e)]}},4406:(e,t,s)=>{var r=s(8724),n=s(1052),o=s(9175),a=s(3397),i=s(8674),l=TypeError;e.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return o(r(s,e));throw new l(a(e)+" is not iterable")}},2407:(e,t,s)=>{var r=s(2032),n=s(8515),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},9710:(e,t,s)=>{var r=s(5309),n=s(2177),o=s(2032),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===n(e))}},976:(e,t,s)=>{var r=s(8724),n=s(4678),o=s(6148),a=s(7929),i=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in i||n(e,"flags")||!o(i,e)?t:r(a,e)}},4597:(e,t,s)=>{var r=s(5532),n=s(8724),o=s(9668),a=s(1166),i=s(688),l=s(5268),c=s(9710),u=s(599),d=s(5383),_=s(976),g=s(6889),v=s(2032),p=s(6555),h=v("replace"),m=TypeError,f=o("".indexOf),x=o("".replace),b=o("".slice),y=Math.max,C=function(e,t,s){return s>e.length?-1:""===t?s:f(e,t,s)};r({target:"String",proto:!0},{replaceAll:function(e,t){var s,r,o,v,S,k,w,U,T,B=a(this),E=0,A=0,L="";if(!l(e)){if(s=c(e),s&&(r=u(a(_(e))),!~f(r,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(o=d(e,h),o)return n(o,e,B,t);if(p&&s)return x(u(B),e,t)}v=u(B),S=u(e),k=i(t),k||(t=u(t)),w=S.length,U=y(1,w),E=C(v,S,0);while(-1!==E)T=k?u(t(S,E,v)):g(S,v,E,[],void 0,t),L+=b(v,A,E)+T,A=E+w,E=C(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GACb,IAAK2Q,EAAkB+B,GAAc,CAEnC,GADAI,EAAatB,EAASkB,GAClBI,IACFhB,EAAQrW,EAASuW,EAAuBE,EAAeQ,OACjDJ,EAAQR,EAAO,MAAM,MAAM,IAAI7E,EAAW,mDAGlD,GADA8F,EAAWrC,EAAUgC,EAAaL,GAC9BU,EACF,OAAOhN,EAAKgN,EAAUL,EAAa7E,EAAGgF,GACjC,GAAIT,GAAWU,EACpB,OAAOP,EAAQ9W,EAASoS,GAAI6E,EAAaG,EAE7C,CACA7K,EAASvM,EAASoS,GAClBmF,EAAevX,EAASiX,GACxBO,EAAoBhB,EAAWY,GAC1BI,IAAmBJ,EAAepX,EAASoX,IAChDK,EAAeF,EAAajW,OAC5BoW,EAAYxF,EAAI,EAAGuF,GACnBG,EAAWZ,EAAczK,EAAQgL,EAAc,GAC/C,OAAqB,IAAdK,EACLD,EAAcH,EACVxX,EAASoX,EAAaG,EAAcK,EAAUrL,IAC9CmK,EAAgBa,EAAchL,EAAQqL,EAAU,QAAI7O,EAAWqO,GACnE7S,GAAUwS,EAAYxK,EAAQsL,EAAgBD,GAAYD,EAC1DE,EAAiBD,EAAWH,EAC5BG,EAAWZ,EAAczK,EAAQgL,EAAcK,EAAWF,GAK5D,OAHIG,EAAiBtL,EAAOjL,SAC1BiD,GAAUwS,EAAYxK,EAAQsL,IAEzBtT,CACT,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue?b080","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/AstroSettings.vue?39ae","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue?842f","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ClassificationBannerSettings.vue?735e","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue?f7c3","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/SettingsTab.vue?17e6","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/an-instance.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/array-slice-simple.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/array-sort.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/create-property.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/define-built-in-accessor.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/define-built-ins.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/function-bind-context.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/get-iterator-method.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/get-iterator.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-array-iterator-method.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-regexp.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/regexp-get-flags.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.js"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-card',[_c('v-card-title',[_vm._v(\" Reset suppressed warnings \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This resets \\\"don't show this again\\\" dialogs on this browser\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[(_vm.suppressedWarnings.length)?[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Select all\",\"data-test\":\"select-all-suppressed-warnings\"},model:{value:(_vm.selectAllSuppressedWarnings),callback:function ($$v) {_vm.selectAllSuppressedWarnings=$$v},expression:\"selectAllSuppressedWarnings\"}}),_vm._v(\" \"),_vm._l((_vm.suppressedWarnings),function(warning){return _c('v-checkbox',{key:warning.key,staticClass:\"mt-0\",attrs:{\"label\":warning.text,\"value\":warning.key,\"dense\":\"\"},model:{value:(_vm.selectedSuppressedWarnings),callback:function ($$v) {_vm.selectedSuppressedWarnings=$$v},expression:\"selectedSuppressedWarnings\"}})})]:[_vm._v(\" No warnings to reset \")]],2),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.selectedSuppressedWarnings.length,\"color\":\"warning\",\"text\":\"\",\"data-test\":\"reset-suppressed-warnings\"},on:{\"click\":_vm.resetSuppressedWarnings}},[_vm._v(\"\\n Reset\\n \")])],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Clear default configs \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This clears the default tool configs on this browser\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[(_vm.lastConfigs.length)?[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Select all\",\"data-test\":\"select-all-default-configs\"},model:{value:(_vm.selectAllLastConfigs),callback:function ($$v) {_vm.selectAllLastConfigs=$$v},expression:\"selectAllLastConfigs\"}}),_vm._v(\" \"),_vm._l((_vm.lastConfigs),function(config){return _c('v-checkbox',{key:config.key,staticClass:\"mt-0\",attrs:{\"label\":config.text,\"value\":config.key,\"dense\":\"\"},model:{value:(_vm.selectedLastConfigs),callback:function ($$v) {_vm.selectedLastConfigs=$$v},expression:\"selectedLastConfigs\"}})})]:[_vm._v(\" No configs to clear \")]],2),_vm._v(\" \"),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.selectedLastConfigs.length,\"color\":\"warning\",\"text\":\"\",\"data-test\":\"clear-default-configs\"},on:{\"click\":_vm.clearLastConfigs}},[_vm._v(\"\\n Clear\\n \")])],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('astro-settings'),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('classification-banner-settings'),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Source code URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for the \\\"Source\\\" link in the footer. This is required\\n under the AGPL license.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Source URL\",\"data-test\":\"source-url\"},model:{value:(_vm.sourceUrl),callback:function ($$v) {_vm.sourceUrl=$$v},expression:\"sourceUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-source-url\"},on:{\"click\":_vm.saveSourceUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.sourceUrlErrorSaving),callback:function ($$v) {_vm.sourceUrlErrorSaving=$$v},expression:\"sourceUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.sourceUrlSuccessSaving),callback:function ($$v) {_vm.sourceUrlSuccessSaving=$$v},expression:\"sourceUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Rubygems URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for installing dependency rubygems. Also used for\\n rubygem discovery.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Rubygems URL\",\"data-test\":\"rubygems-url\"},model:{value:(_vm.rubygemsUrl),callback:function ($$v) {_vm.rubygemsUrl=$$v},expression:\"rubygemsUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-rubygems-url\"},on:{\"click\":_vm.saveRubygemsUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.rubygemsUrlErrorSaving),callback:function ($$v) {_vm.rubygemsUrlErrorSaving=$$v},expression:\"rubygemsUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.rubygemsUrlSuccessSaving),callback:function ($$v) {_vm.rubygemsUrlSuccessSaving=$$v},expression:\"rubygemsUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card',[_c('v-card-title',[_vm._v(\" Pypi URL \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(\"\\n This sets the URL for installing dependency python packages. Also used\\n for package discovery.\\n \")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{attrs:{\"label\":\"Pypi URL\",\"data-test\":\"pypi-url\"},model:{value:(_vm.pypiUrl),callback:function ($$v) {_vm.pypiUrl=$$v},expression:\"pypiUrl\"}})],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-pypi-url\"},on:{\"click\":_vm.savePypiUrl}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.pypiUrlErrorSaving),callback:function ($$v) {_vm.pypiUrlErrorSaving=$$v},expression:\"pypiUrlErrorSaving\"}},[_vm._v(\"\\n Error saving\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.pypiUrlSuccessSaving),callback:function ($$v) {_vm.pypiUrlSuccessSaving=$$v},expression:\"pypiUrlSuccessSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nexport class OpenC3Api {\n id = 1\n\n constructor() {}\n\n async exec(\n method,\n params,\n kwparams = {},\n headerOptions = {},\n timeout = 60000,\n ) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity,\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = window.openc3Scope\n const response = await axios.post(\n '/openc3-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.openc3Token,\n 'Content-Type': 'application/json-rpc',\n ...headerOptions,\n },\n timeout: timeout,\n },\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n // NOTE: Openc3Screen.vue uses this specific message to determine\n // if the CmdTlmApi server is down. Don't change unless also changing there.\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n throw err\n }\n }\n\n decode_openc3_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_openc3_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n ensure_offline_access() {\n this.offline_access_needed().then((needed) => {\n if (needed) {\n if (localStorage.openc3OfflineToken) {\n this.set_offline_access(localStorage.openc3OfflineToken).then(() => {\n delete localStorage.openc3OfflineToken\n })\n } else {\n OpenC3Auth.getOfflineAccess()\n }\n }\n })\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n\n offline_access_needed() {\n return this.exec('offline_access_needed', [])\n }\n\n set_offline_access(offline_access_token) {\n return this.exec('set_offline_access', [offline_access_token])\n }\n\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n map_target_to_interface(target_name, interface_name) {\n return this.exec('map_target_to_interface', [target_name, interface_name])\n }\n\n connect_interface(interface_name, ...interface_params) {\n if (interface_params.length > 0) {\n return this.exec('connect_interface', [\n interface_name,\n ...interface_params,\n ])\n } else {\n return this.exec('connect_interface', [interface_name])\n }\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_target_interfaces() {\n return this.exec('get_target_interfaces', [])\n }\n\n // DEPRECATED\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_param(target, packet, item) {\n return this.exec('get_param', [target, packet, item])\n }\n // DEPRECATED for get_param\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_names() {\n return this.exec('get_target_names', [])\n }\n // DEPRECATED\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_tlm(target_name, packet_name) {\n return this.exec('get_tlm', [target_name, packet_name])\n }\n // DEPRECATED\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_tlm(target_name) {\n return this.exec('get_all_tlm', [target_name])\n }\n // DEPREACTE\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_tlm_names(target_name) {\n return this.exec('get_all_tlm_names', [target_name])\n }\n // DEPRECATED\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n stale_time: stale_time,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n async get_tlm_values(items, stale_time = 30) {\n const data = await this.exec(\n 'get_tlm_values',\n [items],\n {\n stale_time: stale_time,\n },\n {},\n 10000, // 10s timeout ... should never be this long\n )\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {\n let data = null\n // Check for the single string syntax: tlm(\"TGT PKT ITEM\")\n if (packet_name === undefined) {\n data = await this.exec('tlm', [target_name])\n // Check for the single string syntax with type: tlm(\"TGT PKT ITEM\", \"RAW\")\n } else if (item_name === undefined) {\n if (\n ['RAW', 'CONVERTED', 'FORMATTED', 'WITH_UNITS'].includes(packet_name)\n ) {\n data = await this.exec('tlm', [target_name], { type: packet_name })\n } else {\n var err = new Error()\n err.name = 'TypeError'\n err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`\n throw err\n }\n } else {\n data = await this.exec('tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n async inject_tlm(\n target_name,\n packet_name,\n item_hash = null,\n value_type = 'CONVERTED',\n ) {\n data = await this.exec(\n 'inject_tlm',\n [target_name, packet_name, item_hash],\n {\n type: value_type,\n },\n )\n }\n\n set_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('set_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n override_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('override_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_overrides() {\n return this.exec('get_overrides')\n }\n\n normalize_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('normalize_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_all_cmds(target_name) {\n return this.exec('get_all_cmds', [target_name])\n }\n // DEPRECATED for get_all_cmds\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_cmd_names(target_name) {\n return this.exec('get_all_cmd_names', [target_name])\n }\n // DEPRECATED for get_all_cmd_names\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [target_name])\n }\n\n get_cmd(target_name, command_name) {\n return this.exec('get_cmd', [target_name, command_name])\n }\n // DEPRECATED for get_cmd\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED',\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list, headerOptions) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(\n method,\n [target_name, command_name, param_list],\n {},\n headerOptions,\n )\n }\n\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd(target_name, command_name, param_list, headerOptions = {}) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name, {}, headerOptions)\n } else {\n return this._cmd(\n 'cmd',\n target_name,\n command_name,\n param_list,\n headerOptions,\n )\n }\n }\n\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n build_cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('build_cmd', target_name)\n } else {\n return this._cmd('build_cmd', target_name, command_name, param_list)\n }\n }\n // DEPRECATED for build_cmd\n build_command(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('build_command', target_name)\n } else {\n return this._cmd('build_command', target_name, command_name, param_list)\n }\n }\n\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n enable_limits(target, packet, item) {\n return this.exec('enable_limits', [target, packet, item])\n }\n\n disable_limits(target, packet, item) {\n return this.exec('disable_limits', [target, packet, item])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n set_setting(name, data) {\n return this.exec('set_setting', [name, data])\n }\n\n // DEPRECATED\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n get_metrics() {\n return this.exec('get_metrics', [])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer,\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_vm._v(\"Astro Settings\")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorLoading),callback:function ($$v) {_vm.errorLoading=$$v},expression:\"errorLoading\"}},[_vm._v(\"\\n Error loading previous configuration due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-container',{staticClass:\"pb-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Hide Astro Clock\",\"data-test\":\"hide-astro-clock\"},model:{value:(_vm.hideClock),callback:function ($$v) {_vm.hideClock=$$v},expression:\"hideClock\"}})],1)],1)],1)],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-astro-settings\"},on:{\"click\":_vm.save}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorSaving),callback:function ($$v) {_vm.errorSaving=$$v},expression:\"errorSaving\"}},[_vm._v(\"\\n Error saving due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.successSaving),callback:function ($$v) {_vm.successSaving=$$v},expression:\"successSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AstroSettings.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AstroSettings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AstroSettings.vue?vue&type=template&id=0f5e31bd\"\nimport script from \"./AstroSettings.vue?vue&type=script&lang=js\"\nexport * from \"./AstroSettings.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/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 render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_vm._v(\"Classification Banner Settings\")]),_vm._v(\" \"),_c('v-card-text',{staticClass:\"pb-0\"},[_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorLoading),callback:function ($$v) {_vm.errorLoading=$$v},expression:\"errorLoading\"}},[_vm._v(\"\\n Error loading previous configuration due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-container',{staticClass:\"pb-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Text\",\"data-test\":\"classification-banner-text\"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}})],1)],1),_vm._v(\" \"),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-select',{attrs:{\"label\":\"Background color\",\"items\":_vm.colors,\"data-test\":\"classification-banner-background-color\"},scopedSlots:_vm._u([(_vm.selectedBackgroundColor)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{attrs:{\"color\":_vm.selectedBackgroundColor}},[_vm._v(\" mdi-square \")])]},proxy:true}:null,{key:\"item\",fn:function(data){return [(data.item.value)?_c('v-icon',{staticClass:\"pr-1\",attrs:{\"color\":data.item.value}},[_vm._v(\"\\n mdi-square\\n \")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(data.item.text)+\"\\n \")]}}],null,true),model:{value:(_vm.selectedBackgroundColor),callback:function ($$v) {_vm.selectedBackgroundColor=$$v},expression:\"selectedBackgroundColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Custom background color\",\"hint\":_vm.customColorHint,\"disabled\":_vm.selectedBackgroundColor !== false,\"rules\":[_vm.rules.customColor],\"data-test\":\"classification-banner-custom-background-color\"},scopedSlots:_vm._u([{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.selectedBackgroundColor),expression:\"!selectedBackgroundColor\"}],attrs:{\"color\":_vm.customBackgroundColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}]),model:{value:(_vm.customBackgroundColor),callback:function ($$v) {_vm.customBackgroundColor=$$v},expression:\"customBackgroundColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-select',{attrs:{\"label\":\"Font color\",\"items\":_vm.colors,\"data-test\":\"classification-banner-font-color\"},scopedSlots:_vm._u([(_vm.selectedFontColor)?{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedFontColor),expression:\"selectedFontColor\"}],attrs:{\"color\":_vm.selectedFontColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}:null,{key:\"item\",fn:function(data){return [(data.item.value)?_c('v-icon',{staticClass:\"pr-1\",attrs:{\"color\":data.item.value}},[_vm._v(\"\\n mdi-square\\n \")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(data.item.text)+\"\\n \")]}}],null,true),model:{value:(_vm.selectedFontColor),callback:function ($$v) {_vm.selectedFontColor=$$v},expression:\"selectedFontColor\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Custom font color\",\"hint\":_vm.customColorHint,\"disabled\":_vm.selectedFontColor !== false,\"rules\":[_vm.rules.customColor],\"data-test\":\"classification-banner-custom-font-color\"},scopedSlots:_vm._u([{key:\"prepend-inner\",fn:function(){return [_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.selectedFontColor),expression:\"!selectedFontColor\"}],attrs:{\"color\":_vm.customFontColor}},[_vm._v(\"\\n mdi-square\\n \")])]},proxy:true}]),model:{value:(_vm.customFontColor),callback:function ($$v) {_vm.customFontColor=$$v},expression:\"customFontColor\"}})],1)],1),_vm._v(\" \"),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Display top banner\",\"data-test\":\"display-top-banner\"},model:{value:(_vm.displayTopBanner),callback:function ($$v) {_vm.displayTopBanner=$$v},expression:\"displayTopBanner\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Top height\",\"disabled\":!_vm.displayTopBanner,\"type\":\"number\",\"suffix\":\"px\",\"data-test\":\"classification-banner-top-height\"},model:{value:(_vm.topHeight),callback:function ($$v) {_vm.topHeight=$$v},expression:\"topHeight\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-switch',{attrs:{\"label\":\"Display bottom banner\",\"data-test\":\"display-bottom-banner\"},model:{value:(_vm.displayBottomBanner),callback:function ($$v) {_vm.displayBottomBanner=$$v},expression:\"displayBottomBanner\"}})],1),_vm._v(\" \"),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Bottom height\",\"disabled\":!_vm.displayBottomBanner,\"type\":\"number\",\"suffix\":\"px\",\"data-test\":\"classification-banner-bottom-height\"},model:{value:(_vm.bottomHeight),callback:function ($$v) {_vm.bottomHeight=$$v},expression:\"bottomHeight\"}})],1)],1)],1)],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{staticClass:\"pl-0\"},[_c('v-btn',{attrs:{\"disabled\":!_vm.formValid,\"color\":\"success\",\"text\":\"\",\"data-test\":\"save-classification-banner\"},on:{\"click\":_vm.save}},[_vm._v(\"\\n Save\\n \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.errorSaving),callback:function ($$v) {_vm.errorSaving=$$v},expression:\"errorSaving\"}},[_vm._v(\"\\n Error saving due to \"+_vm._s(_vm.errorText)+\"\\n \")]),_vm._v(\" \"),_c('v-alert',{attrs:{\"type\":\"success\",\"dismissible\":\"\",\"dense\":\"\"},model:{value:(_vm.successSaving),callback:function ($$v) {_vm.successSaving=$$v},expression:\"successSaving\"}},[_vm._v(\"\\n Saved! (Refresh the page to see changes)\\n \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ClassificationBannerSettings.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ClassificationBannerSettings.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ClassificationBannerSettings.vue?vue&type=template&id=40e1a34d\"\nimport script from \"./ClassificationBannerSettings.vue?vue&type=script&lang=js\"\nexport * from \"./ClassificationBannerSettings.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/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/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SettingsTab.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SettingsTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SettingsTab.vue?vue&type=template&id=4359c51f\"\nimport script from \"./SettingsTab.vue?vue&type=script&lang=js\"\nexport * from \"./SettingsTab.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/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","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n var n = 0;\n for (; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n"],"names":["vueInstance","Vue","axiosInstance","axios","create","baseURL","location","origin","timeout","params","interceptors","response","use","error","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","OpenC3Auth","updateToken","defaultMinValidity","then","refreshed","setTokens","headers","includes","toString","Promise","reject","body","statusText","config","data","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","_v","staticClass","suppressedWarnings","length","attrs","model","value","selectAllSuppressedWarnings","callback","$$v","expression","_l","warning","key","text","selectedSuppressedWarnings","on","resetSuppressedWarnings","lastConfigs","selectAllLastConfigs","selectedLastConfigs","clearLastConfigs","sourceUrl","saveSourceUrl","sourceUrlErrorSaving","sourceUrlSuccessSaving","rubygemsUrl","saveRubygemsUrl","rubygemsUrlErrorSaving","rubygemsUrlSuccessSaving","pypiUrl","savePypiUrl","pypiUrlErrorSaving","pypiUrlSuccessSaving","staticRenderFns","OpenC3Api","constructor","_defineProperty","exec","method","kwparams","headerOptions","login","id","window","openc3Scope","post","jsonrpc","keyword_params","Authorization","localStorage","openc3Token","result","err","Error","name","request","decode_openc3_type","val","json_class","raw","NaN","Infinity","encode_openc3_type","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","ensure_offline_access","offline_access_needed","needed","openc3OfflineToken","set_offline_access","getOfflineAccess","offline_access_token","get_all_interface_info","map_target_to_interface","target_name","interface_name","connect_interface","interface_params","disconnect_interface","get_all_router_info","connect_router","router_name","disconnect_router","get_target_interfaces","get_all_target_info","get_tlm_cnts","target_commands","get_item","target","packet","item","get_param","get_parameter","get_limits_sets","get_limits_set","set_limits_set","limits_set","get_target","get_target_names","get_target_list","get_tlm","packet_name","get_telemetry","get_all_tlm","get_all_telemetry","get_all_tlm_names","get_all_telemetry_names","get_tlm_packet","value_type","stale_time","type","len","converted","i","get_packet_derived_items","get_tlm_buffer","get_tlm_values","items","get_limits","item_name","tlm","undefined","inject_tlm","item_hash","set_tlm","override_tlm","get_overrides","normalize_tlm","get_all_cmds","get_all_commands","get_all_cmd_names","get_all_command_names","get_cmd","command_name","get_command","get_cmd_cnts","get_cmd_value","parameter_name","get_cmd_buffer","_cmd","param_list","Object","prototype","hasOwnProperty","call","get_cmd_hazardous","cmd","cmd_no_range_check","cmd_raw","cmd_raw_no_range_check","cmd_no_hazardous_check","cmd_no_checks","cmd_raw_no_hazardous_check","cmd_raw_no_checks","build_cmd","build_command","get_interface_names","send_raw","list_configs","tool","load_config","save_config","delete_config","enable_limits","disable_limits","get_out_of_limits","get_overall_limits_state","ignored","list_settings","get_all_settings","get_setting","get_settings","array","set_setting","save_setting","get_metrics","hashString","string","isSecureContext","arrayBuffer","TextEncoder","encode","hashAsArrayBuffer","crypto","subtle","digest","uint8ViewOfHash","Uint8Array","Array","from","map","b","padStart","join","errorLoading","_s","errorText","hideClock","save","errorSaving","successSaving","settingName","api","computed","saveObj","JSON","stringify","created","load","methods","parsed","parse","catch","component","colors","scopedSlots","_u","selectedBackgroundColor","fn","proxy","_e","customColorHint","rules","customColor","directives","rawName","customBackgroundColor","selectedFontColor","customFontColor","displayTopBanner","topHeight","displayBottomBanner","bottomHeight","formValid","test","fontColor","backgroundColor","watch","startsWith","components","AstroSettings","ClassificationBannerSettings","loadSuppressedWarnings","loadLastConfigs","loadSourceUrl","loadRubygemsUrl","loadPypiUrl","keys","filter","localStorageKeyToDisplayObject","deleteLocalStorageKeys","endsWith","split","replaceAll","charAt","toUpperCase","slice","isPrototypeOf","$TypeError","TypeError","module","exports","it","Prototype","toAbsoluteIndex","lengthOfArrayLike","createProperty","$Array","max","Math","O","start","end","k","fin","n","arraySlice","floor","mergeSort","comparefn","middle","insertionSort","merge","element","j","left","right","llength","rlength","lindex","rindex","toPropertyKey","definePropertyModule","createPropertyDescriptor","object","propertyKey","f","makeBuiltIn","defineProperty","descriptor","get","getter","set","setter","defineBuiltIn","src","options","uncurryThis","aCallable","NATIVE_BIND","bind","that","apply","arguments","classof","getMethod","isNullOrUndefined","Iterators","wellKnownSymbol","ITERATOR","anObject","tryToString","getIteratorMethod","argument","usingIterator","iteratorMethod","ArrayPrototype","isObject","MATCH","isRegExp","hasOwn","regExpFlags","RegExpPrototype","RegExp","R","flags","$","requireObjectCoercible","isCallable","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","indexOf","replace","stringSlice","stringIndexOf","searchValue","fromIndex","proto","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","position","endOfLastMatch"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[405],{4405:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>f});var r=function(){var t=this,e=t._self._c;return e("div",[e("top-bar",{attrs:{title:t.title}}),t._v(" "),e("v-card",[e("v-tabs",{attrs:{"fixed-tabs":""},model:{value:t.curTab,callback:function(e){t.curTab=e},expression:"curTab"}},t._l(t.tabs,(function(o,r){return e("v-tab",{key:r,attrs:{to:o.path}},[t._v("\n "+t._s(o.displayName)+"\n ")])})),1),t._v(" "),e("router-view")],1)],1)},a=[],n=function(){var t=this,e=t._self._c;return e("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",{attrs:{"align-self":"end"}},[e("span",{staticClass:"app-title mr-2"},[t._v(t._s(t.title))])])],1),t._v(" "),e("v-row",{staticClass:"flex-nowrap",attrs:{dense:""}},t._l(t.menus,(function(o,r){return e("v-menu",{key:r,ref:"topmenu",refInFor:!0,attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:r,attrs:a}){return[e("v-btn",t._g(t._b({staticClass:"mx-1 menu-button",attrs:{outlined:"","data-test":t.formatDT(`${t.title} ${o.label}`)}},"v-btn",a,!1),r),[e("span",{domProps:{textContent:t._s(o.label)}}),t._v(" "),e("v-icon",{staticClass:"myicon",attrs:{right:""}},[t._v(" mdi-menu-down ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",[e("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:o.radioGroup,"hide-details":"",dense:""}},[t._l(o.items,(function(r,a){return[r.divider?e("v-divider",{key:a}):r.subMenu&&r.subMenu.length>0?e("div",{key:a},[e("v-menu",{key:t.k,attrs:{"open-on-hover":"","offset-x":"",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:n}){return[e("v-list-item",t._g(t._b({key:a,attrs:{disabled:r.disabled}},"v-list-item",n,!1),o),[r.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:r.disabled}},[t._v(t._s(r.icon))])],1):t._e(),t._v(" "),r.radio||r.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(r.disabled?"opacity: 0.2":"")},[t._v(t._s(r.label)+"\n ")]),t._v(" "),e("v-icon",[t._v(" mdi-chevron-right ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",t._l(r.subMenu,(function(o,r){return e("v-list-item",{key:r,on:{click:function(e){return t.subMenuClick(o)}}},[o.icon?e("v-list-item-icon",[e("v-icon",[t._v(t._s(o.icon))])],1):t._e(),t._v(" "),e("v-list-item-title",[t._v(t._s(o.label))])],1)})),1)],1)],1):e("v-list-item",{key:a,attrs:{disabled:r.disabled,"data-test":t.formatDT(`${t.title} ${o.label} ${r.label}`)},on:{click:function(t){return r.command(r)}}},[r.radio?e("v-list-item-action",[e("v-radio",{attrs:{color:"secondary",label:r.label,value:r.label}})],1):t._e(),t._v(" "),r.checkbox?e("v-list-item-action",[e("v-checkbox",{attrs:{color:"secondary",label:r.label},model:{value:r.checked,callback:function(e){t.$set(r,"checked",e)},expression:"option.checked"}})],1):t._e(),t._v(" "),r.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:r.disabled}},[t._v(t._s(r.icon))])],1):t._e(),t._v(" "),r.radio||r.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(r.disabled?"opacity: 0.2":"")},[t._v(t._s(r.label))])],1)]}))],2)],1)],1)})),1)],1)},i=[];o(1531),o(4597);const s={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},l=s;o(7886);var c=o(3483),d=(0,c.Z)(l,n,i,!1,null,"57d4fdd2",null);const u=d.exports;var v=o(2005);const p={components:{TopBar:u},data(){return{title:"Administrator Console",curTab:null,tabs:v.d}},methods:{}},m=p;var _=(0,c.Z)(m,r,a,!1,null,null,null);const f=_.exports},1468:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>l});var r=o(9601),a=o.n(r),n=o(2609),i=o.n(n),s=i()(a());s.push([t.id,".app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}",""]);const l=s},7886:(t,e,o)=>{var r=o(1468);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.id,r,""]]),r.locals&&(t.exports=r.locals);var a=o(3514).Z;a("7de62207",r,!0,{sourceMap:!1,shadowMode:!1})},9710:(t,e,o)=>{"use strict";var r=o(5309),a=o(2177),n=o(2032),i=n("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===a(t))}},976:(t,e,o)=>{"use strict";var r=o(8724),a=o(4678),n=o(6148),i=o(7929),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||a(t,"flags")||!n(s,t)?e:r(i,t)}},4597:(t,e,o)=>{"use strict";var r=o(5532),a=o(8724),n=o(9668),i=o(1166),s=o(688),l=o(5268),c=o(9710),d=o(599),u=o(5383),v=o(976),p=o(6889),m=o(2032),_=o(6555),f=m("replace"),b=TypeError,h=n("".indexOf),g=n("".replace),k=n("".slice),x=Math.max,y=function(t,e,o){return o>t.length?-1:""===e?o:h(t,e,o)};r({target:"String",proto:!0},{replaceAll:function(t,e){var o,r,n,m,w,C,M,T,$,A=i(this),S=0,D=0,E="";if(!l(t)){if(o=c(t),o&&(r=d(i(v(t))),!~h(r,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(n=u(t,f),n)return a(n,t,A,e);if(_&&o)return g(d(A),t,e)}m=d(A),w=d(t),C=s(e),C||(e=d(e)),M=w.length,T=x(1,M),S=y(m,w,0);while(-1!==S)$=C?d(e(w,S,m)):p(w,m,S,[],void 0,e),E+=k(m,D,S)+$,D=S+M,S=y(m,w,S+T);return D<m.length&&(E+=k(m,D)),E}})}}]);
2
+ //# sourceMappingURL=405.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/405.js","mappings":"yKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,SAASL,EAAIM,GAAG,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,EAIArB,EAAE,CAAEsB,OAAQ,SAAUC,OAAO,GAAQ,CACnC5D,WAAY,SAAoByD,EAAaI,GAC3C,IACIC,EAAY1B,EAAO2B,EAAUhE,EAAQiE,EAAcC,EAAmBC,EAAcC,EAAWC,EAD/FC,EAAI9B,EAAuBtG,MAE3BqI,EAAW,EACXC,EAAiB,EACjBC,EAAS,GACb,IAAK/B,EAAkBgB,GAAc,CAEnC,GADAK,EAAapC,EAAS+B,GAClBK,IACF1B,EAAQM,EAASH,EAAuBK,EAAea,OACjDP,EAAQd,EAAO,MAAM,MAAM,IAAIY,EAAW,mDAGlD,GADAe,EAAWpB,EAAUc,EAAaV,GAC9BgB,EACF,OAAOnC,EAAKmC,EAAUN,EAAaY,EAAGR,GACjC,GAAIf,GAAWgB,EACpB,OAAOX,EAAQT,EAAS2B,GAAIZ,EAAaI,EAE7C,CACA9D,EAAS2C,EAAS2B,GAClBL,EAAetB,EAASe,GACxBQ,EAAoBzB,EAAWqB,GAC1BI,IAAmBJ,EAAenB,EAASmB,IAChDK,EAAeF,EAAarF,OAC5BwF,EAAYb,EAAI,EAAGY,GACnBI,EAAWd,EAAczD,EAAQiE,EAAc,GAC/C,OAAqB,IAAdM,EACLF,EAAcH,EACVvB,EAASmB,EAAaG,EAAcM,EAAUvE,IAC9C8C,EAAgBmB,EAAcjE,EAAQuE,EAAU,QAAI3C,EAAWkC,GACnEW,GAAUpB,EAAYrD,EAAQwE,EAAgBD,GAAYF,EAC1DG,EAAiBD,EAAWJ,EAC5BI,EAAWd,EAAczD,EAAQiE,EAAcM,EAAWH,GAK5D,OAHII,EAAiBxE,EAAOpB,SAC1B6F,GAAUpB,EAAYrD,EAAQwE,IAEzBC,CACT,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?c4b5","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?3571","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?41aa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?92ac","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?9d44","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-regexp.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/regexp-get-flags.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"title\":_vm.title}}),_vm._v(\" \"),_c('v-card',[_c('v-tabs',{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"to\":tab.path}},[_vm._v(\"\\n \"+_vm._s(tab.displayName)+\"\\n \")])}),1),_vm._v(\" \"),_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"align-self\":\"end\"}},[_c('span',{staticClass:\"app-title mr-2\"},[_vm._v(_vm._s(_vm.title))])])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"flex-nowrap\",attrs:{\"dense\":\"\"}},_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,ref:\"topmenu\",refInFor:true,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1 menu-button\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_vm._v(\" \"),_c('v-icon',{staticClass:\"myicon\",attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):(option.subMenu && option.subMenu.length > 0)?_c('div',{key:j},[_c('v-menu',{key:_vm.k,attrs:{\"open-on-hover\":\"\",\"offset-x\":\"\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-list-item',_vm._g(_vm._b({key:j,attrs:{\"disabled\":option.disabled}},'v-list-item',attrs,false),on),[(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' +\n (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('v-icon',[_vm._v(\" mdi-chevron-right \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',_vm._l((option.subMenu),function(submenu,k){return _c('v-list-item',{key:k,on:{\"click\":function($event){return _vm.subMenuClick(submenu)}}},[(submenu.icon)?_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(submenu.icon))])],1):_vm._e(),_vm._v(\" \"),_c('v-list-item-title',[_vm._v(_vm._s(submenu.label))])],1)}),1)],1)],1):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),_vm._v(\" \"),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),_vm._v(\" \"),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],1)],1)}),1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=57d4fdd2&scoped=true\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"57d4fdd2\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenC3Admin.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenC3Admin.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OpenC3Admin.vue?vue&type=template&id=71575e4e\"\nimport script from \"./OpenC3Admin.vue?vue&type=script&lang=js\"\nexport * from \"./OpenC3Admin.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/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","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&prod&scoped=true&lang=css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7de62207\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n"],"names":["render","_vm","this","_c","_self","attrs","title","_v","model","value","curTab","callback","$$v","expression","_l","tabs","tab","index","key","path","_s","displayName","staticRenderFns","staticClass","menus","menu","i","ref","refInFor","scopedSlots","_u","fn","on","_g","_b","formatDT","label","domProps","radioGroup","items","option","j","divider","subMenu","length","k","disabled","icon","_e","radio","checkbox","style","submenu","$event","subMenuClick","command","checked","$set","props","type","Array","default","String","methods","string","replaceAll","toLowerCase","$refs","topmenu","isActive","mounted","document","component","components","TopBar","data","TabsList","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","undefined","call","hasOwn","isPrototypeOf","regExpFlags","RegExpPrototype","RegExp","prototype","R","flags","$","uncurryThis","requireObjectCoercible","isCallable","isNullOrUndefined","toString","getMethod","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","$TypeError","TypeError","indexOf","replace","stringSlice","slice","max","Math","stringIndexOf","searchValue","fromIndex","target","proto","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","O","position","endOfLastMatch","result"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[478],{6129:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(9373);const i=async function(e,t,{data:n,params:i={},headers:s,noAuth:r=!1,noScope:a=!1}={}){if(!r){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(l){OpenC3Auth.login()}s["Authorization"]=localStorage.openc3Token}return a||i["scope"]||(i["scope"]=window.openc3Scope),(0,o.Z)({method:e,url:t,data:n,params:i,headers:s})},s={Accept:"application/json"},r={...s,"Content-Type":"application/json"},a={get:function(e,{params:t,headers:n=s,noScope:o,noAuth:r}={}){return i("get",e,{params:t,headers:n,noScope:o,noAuth:r})},put:function(e,{data:t,params:n,headers:o=r,noScope:s,noAuth:a}={}){return i("put",e,{data:t,params:n,headers:o,noScope:s,noAuth:a})},post:function(e,{data:t,params:n,headers:o=r,noScope:s,noAuth:a}={}){return i("post",e,{data:t,params:n,headers:o,noScope:s,noAuth:a})},delete:function(e,{params:t,headers:n=s,noScope:o,noAuth:r}={}){return i("delete",e,{params:t,headers:n,noScope:o,noAuth:r})}}},9373:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(162),i=n(4091);const s=new i["default"],r=o.Z.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((e=>e),(e=>{if(e.response){var t,n,o,i,r;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.headers["ignore-errors"]&&e.response.headers["ignore-errors"].includes(e.response.status.toString()))return Promise.reject(e);let l=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(l+=`${e.response.statusText} `),null!==(n=e.response)&&void 0!==n&&null!==(n=n.config)&&void 0!==n&&n.data&&(l+=`${e.response.config.data} `),null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.message)l+=`${e.response.data.message}`;else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)l+=`${e.response.data.exception}`;else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(l+=`${e.response.data.error.class} `),l+=`${e.response.data.error.message}`;else{var a;l+=`${null===(a=e.response)||void 0===a?void 0:a.data}`}throw s.$notify&&s.$notify.serious({title:"Network error",body:l}),e}throw e}));const a=r},1040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",{domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:o}){return[t("div",e._g(e._b({},"div",o,!1),n),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),e._v(" "),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v("\n Load\n ")])],1),e._v(" "),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),e._v(" "),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),e._v(" "),t("v-row",[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v("\n Cancel\n ")]),e._v(" "),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v("\n Save\n ")])],1)],1)])],1)])],1)},i=[],s=(n(309),n(1629),n(4163),n(5850),n(3631),n(1399),n(5095));n(5343),n(8367),n(419),n(3923),n(2375);const r={props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data(){return{editor:null}},mounted(){const e=this.buildPluginMode();this.editor=s.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}},title:function(){return`${this.type}: ${this.name}`},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){const e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),t.click()},buildPluginMode(){var e=s.require("ace/lib/oop"),t=s.require("ace/mode/json_highlight_rules").JsonHighlightRules,n=s.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,o=s.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=s.require("ace/mode/folding/ruby").FoldMode,r=function(){this.HighlightRules=t,this.$outdent=new n,this.$behaviour=new o,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},a=s.require("ace/mode/ruby").Mode;return e.inherits(r,a),function(){this.$id="ace/mode/openc3"}.call(r.prototype),r}}},a=r;n(5925);var l=n(3483),c=(0,l.Z)(a,o,i,!1,null,"1692580e",null);const d=c.exports},6478:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{staticClass:"list",attrs:{"data-test":"interfaceList"}},e._l(e.interfaces,(function(n){return t("div",{key:n},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:i}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showInterface(n)}}},"v-icon",i,!1),o),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Interface Details")])])],1)],1),e._v(" "),t("v-divider")],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Interface",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},i=[],s=n(6129),r=n(1040);const a={components:{EditDialog:r.Z},data(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){s.Z.get("/openc3-api/interfaces").then((e=>{this.interfaces=e.data}))},showInterface(e){s.Z.get(`/openc3-api/interfaces/${e}`).then((t=>{this.jsonContent=JSON.stringify(t.data,null,"\t"),this.dialogTitle=e,this.showDialog=!0}))},dialogCallback(e){this.showDialog=!1}}},l=a;n(8188);var c=n(3483),d=(0,c.Z)(l,o,i,!1,null,"e406b73e",null);const u=d.exports},8367:(e,t,n)=>{e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(s,i),t.JsonHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,r=e.findMatchingBracket({row:t,column:s});if(!r||r.row==t)return 0;var a=this.$getIndent(e.getLine(r.row));e.replace(new o(t,0,t,s-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,r=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(r,s),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var r=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,r);var a=e.getCommentFoldRange(n,r+s[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){s=i.match(this.foldingStopMarker);if(s){r=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,r):e.getCommentFoldRange(n,r,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),s=t,r=n.length;t+=1;var a=t,l=e.getLength();while(++t<l){n=e.getLine(t);var c=n.search(/\S/);if(-1!==c){if(o>c)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=s)break;if(d.isMultiLine())t=d.end.row;else if(o==c)break}a=t}}return new i(s,r,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){var o=t.search(/\s*$/),s=e.getLength(),r=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;while(++n<s){t=e.getLine(n);var c=a.exec(t);if(c&&(c[1]?l--:l++,!l))break}var d=n;if(d>r)return new i(r,o,d,t.length)}}.call(r.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,r=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,c=function(){this.HighlightRules=s,this.$outdent=new r,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};o.inherits(c,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(o+=n)}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(c.prototype),t.Mode=c})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},1999:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(9601),i=n.n(o),s=n(2609),r=n.n(s),a=r()(i());a.push([e.id,".editor[data-v-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}",""]);const l=a},1777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(9601),i=n.n(o),s=n(2609),r=n.n(s),a=r()(i());a.push([e.id,".list[data-v-e406b73e]{background-color:var(--color-background-surface-default)!important}",""]);const l=a},5925:(e,t,n)=>{var o=n(1999);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("8d3edd5e",o,!0,{sourceMap:!1,shadowMode:!1})},8188:(e,t,n)=>{var o=n(1777);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("67279657",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
+ //# sourceMappingURL=478.js.map