{"version":3,"sources":["webpack:///./src/pages/panel/components/mltd.vue?e9a7","webpack:///src/pages/panel/components/mltd.vue","webpack:///./src/pages/panel/components/mltd.vue?04f8","webpack:///./src/pages/panel/components/mltd.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","src","staticRenderFns","name","data","params","created","config","methods","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,OAAS,SAAS,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,OAAO,OAAS,OAAO,IAAMP,EAAIQ,IAAI,YAAc,UACrNC,EAAkB,G,6CCQtB,GACEC,KAAM,OACNC,KAFF,WAGI,MAAO,CACLH,IAAK,GACLI,OAAQ,8BAGZC,QARF,WASIZ,KAAKa,UAEPC,QAAS,CACP,OADJ,WACA,yLAEA,mBAFA,gBAEA,EAFA,EAEA,KACA,6BAHA,mDAKA,gDALA,8DCrB4W,I,YCOxWC,EAAY,eACd,EACAjB,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-2d0e55df.3d7ea4b4.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"height\":\"90vh\"}},[_c('iframe',{attrs:{\"width\":\"100%\",\"height\":\"100%\",\"src\":_vm.src,\"frameborder\":\"0\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div style=\"height: 90vh\">\n <iframe width=\"100%\" height=\"100%\" :src=\"src\" frameborder=\"0\" />\n </div>\n</template>\n\n<script>\nimport axios from 'axios'\n\nexport default {\n name: 'MLTD',\n data () {\n return {\n src: '',\n params: '/d/dtCrgk6Wk/mltd?orgId=1'\n }\n },\n created () {\n this.config()\n },\n methods: {\n async config () {\n try {\n const { data } = await axios.get('/config')\n this.src = data.grafana_url + this.params\n } catch (e) {\n this.$toasted.error('Error fetching Grafana URL!')\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./mltd.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./mltd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./mltd.vue?vue&type=template&id=d5a5e0fc&scoped=true&\"\nimport script from \"./mltd.vue?vue&type=script&lang=js&\"\nexport * from \"./mltd.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d5a5e0fc\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}