(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{

/***/ "./js/whyis_vue/components/vega-lite-wrapper.vue":
/*!*******************************************************!*\
  !*** ./js/whyis_vue/components/vega-lite-wrapper.vue ***!
  \*******************************************************/
/*! exports provided: vegaLiteSchema, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./vega-lite-wrapper.vue?vue&type=template&id=defc7986& */ \"./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&\");\n/* harmony import */ var _vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./vega-lite-wrapper.vue?vue&type=script&lang=js& */ \"./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"vegaLiteSchema\", function() { return _vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"vegaLiteSchema\"]; });\n\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"js/whyis_vue/components/vega-lite-wrapper.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy92ZWdhLWxpdGUtd3JhcHBlci52dWUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy93aHlpc192dWUvY29tcG9uZW50cy92ZWdhLWxpdGUtd3JhcHBlci52dWU/YzJlMiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyByZW5kZXIsIHN0YXRpY1JlbmRlckZucyB9IGZyb20gXCIuL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD1kZWZjNzk4NiZcIlxuaW1wb3J0IHNjcmlwdCBmcm9tIFwiLi92ZWdhLWxpdGUtd3JhcHBlci52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCJcbmV4cG9ydCAqIGZyb20gXCIuL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyZcIlxuXG5cbi8qIG5vcm1hbGl6ZSBjb21wb25lbnQgKi9cbmltcG9ydCBub3JtYWxpemVyIGZyb20gXCIhLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL3J1bnRpbWUvY29tcG9uZW50Tm9ybWFsaXplci5qc1wiXG52YXIgY29tcG9uZW50ID0gbm9ybWFsaXplcihcbiAgc2NyaXB0LFxuICByZW5kZXIsXG4gIHN0YXRpY1JlbmRlckZucyxcbiAgZmFsc2UsXG4gIG51bGwsXG4gIG51bGwsXG4gIG51bGxcbiAgXG4pXG5cbi8qIGhvdCByZWxvYWQgKi9cbml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BQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLHVCQWlCQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/vega-lite-wrapper.vue\n");

/***/ }),

/***/ "./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&":
/*!********************************************************************************!*\
  !*** ./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js& ***!
  \********************************************************************************/
/*! exports provided: default, vegaLiteSchema */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib??vue-loader-options!./vega-lite-wrapper.vue?vue&type=script&lang=js& */ \"./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"vegaLiteSchema\", function() { return _node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"vegaLiteSchema\"]; });\n\n /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy92ZWdhLWxpdGUtd3JhcHBlci52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvd2h5aXNfdnVlL2NvbXBvbmVudHMvdmVnYS1saXRlLXdyYXBwZXIudnVlP2U2ZGMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IG1vZCBmcm9tIFwiLSEuLi8uLi8uLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyZcIjsgZXhwb3J0IGRlZmF1bHQgbW9kOyBleHBvcnQgKiBmcm9tIFwiLSEuLi8uLi8uLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyZcIiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&\n");

/***/ }),

/***/ "./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&":
/*!**************************************************************************************!*\
  !*** ./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986& ***!
  \**************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./vega-lite-wrapper.vue?vue&type=template&id=defc7986& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_vega_lite_wrapper_vue_vue_type_template_id_defc7986___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy92ZWdhLWxpdGUtd3JhcHBlci52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9ZGVmYzc5ODYmLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvd2h5aXNfdnVlL2NvbXBvbmVudHMvdmVnYS1saXRlLXdyYXBwZXIudnVlPzNhMTIiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi0hLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2xvYWRlcnMvdGVtcGxhdGVMb2FkZXIuanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuLi8uLi8uLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD1kZWZjNzk4NiZcIiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&\n");

/***/ }),

/***/ "./js/whyis_vue/utilities/debounce.js":
/*!********************************************!*\
  !*** ./js/whyis_vue/utilities/debounce.js ***!
  \********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return debounce; });\n\nfunction debounce (func, millis) {\n  let timeout\n  return function (...args) {\n    const functionCall = () => func.apply(this, args)\n    clearTimeout(timeout)\n    timeout = setTimeout(functionCall, millis)\n  }\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvdXRpbGl0aWVzL2RlYm91bmNlLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvd2h5aXNfdnVlL3V0aWxpdGllcy9kZWJvdW5jZS5qcz80MGZhIl0sInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gZGVib3VuY2UgKGZ1bmMsIG1pbGxpcykge1xuICBsZXQgdGltZW91dFxuICByZXR1cm4gZnVuY3Rpb24gKC4uLmFyZ3MpIHtcbiAgICBjb25zdCBmdW5jdGlvbkNhbGwgPSAoKSA9PiBmdW5jLmFwcGx5KHRoaXMsIGFyZ3MpXG4gICAgY2xlYXJUaW1lb3V0KHRpbWVvdXQpXG4gICAgdGltZW91dCA9IHNldFRpbWVvdXQoZnVuY3Rpb25DYWxsLCBtaWxsaXMpXG4gIH1cbn1cbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/whyis_vue/utilities/debounce.js\n");

/***/ }),

/***/ "./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&":
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js& ***!
  \**********************************************************************************************************************************/
/*! exports provided: default, vegaLiteSchema */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm.js\");\n/* harmony import */ var vega_lite_build_vega_lite_schema_json__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vega-lite/build/vega-lite-schema.json */ \"./node_modules/vega-lite/build/vega-lite-schema.json\");\nvar vega_lite_build_vega_lite_schema_json__WEBPACK_IMPORTED_MODULE_1___namespace = /*#__PURE__*/__webpack_require__.t(/*! vega-lite/build/vega-lite-schema.json */ \"./node_modules/vega-lite/build/vega-lite-schema.json\", 1);\n/* harmony reexport (default from named exports) */ __webpack_require__.d(__webpack_exports__, \"vegaLiteSchema\", function() { return vega_lite_build_vega_lite_schema_json__WEBPACK_IMPORTED_MODULE_1__; });\n/* harmony import */ var vega_embed__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vega-embed */ \"./node_modules/vega-embed/build/vega-embed.module.js\");\n/* harmony import */ var utilities_debounce__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! utilities/debounce */ \"./js/whyis_vue/utilities/debounce.js\");\n/* harmony import */ var jsonschema__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! jsonschema */ \"./node_modules/jsonschema/lib/index.js\");\n/* harmony import */ var jsonschema__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(jsonschema__WEBPACK_IMPORTED_MODULE_4__);\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  data () {\n    return {\n      id: 'vega-lite',\n      specValidation: {}\n    }\n  },\n  props: {\n    spec: {\n      type: Object,\n      default: () => null\n    },\n    dataname: {\n      type: String,\n      default: () => null\n    },\n    data: {\n      type: Array,\n      default: () => null\n    },\n  },\n  created ()  {\n    this.onSpecChange = Object(utilities_debounce__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this.processSpec, 300)\n    this.onSpecChange()\n  },\n  methods: {\n    async plotSpec () {\n      // Cancel plotting if the component's element no longer exists in dom\n      if (!document.body.contains(this.$el)) {\n        return\n      }\n      const result = await Object(vega_embed__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(`#${this.id}`, this.spec, {})\n      if (this.data) {\n        const name = this.dataname || ((this.spec || {}).data || {}).name || 'source'\n        result.view.insert(name, this.data).resize().run()\n      }\n      this.$emit('new-vega-view', result.view)\n    },\n    validateSpec () {\n      const validation = Object(jsonschema__WEBPACK_IMPORTED_MODULE_4__[\"validate\"])(this.spec, vega_lite_build_vega_lite_schema_json__WEBPACK_IMPORTED_MODULE_1__)\n      if (!validation.valid) {\n        console.warn('Invalid spec', validation)\n      } else {\n        console.debug('spec checks out', validation)\n      }\n      this.specValidation = validation\n    },\n    processSpec () {\n      this.validateSpec()\n      if (this.specValidation.valid) {\n        this.plotSpec()\n      }\n    }\n  },\n  watch: {\n    spec () {\n      this.onSpecChange()\n    }\n  }\n});\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXgu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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=script&lang=js&\n");

/***/ }),

/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&":
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986& ***!
  \********************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\"div\", [\n    _vm.specValidation.valid\n      ? _c(\"div\", { attrs: { id: _vm.id } })\n      : _vm.specValidation.valid === false\n      ? _c(\"p\", [_vm._v(\"Invalid Vega-Lite specification.\")])\n      : _vm._e()\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvbG9hZGVycy90ZW1wbGF0ZUxvYWRlci5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vanMvd2h5aXNfdnVlL2NvbXBvbmVudHMvdmVnYS1saXRlLXdyYXBwZXIudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPWRlZmM3OTg2Ji5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3doeWlzX3Z1ZS9jb21wb25lbnRzL3ZlZ2EtbGl0ZS13cmFwcGVyLnZ1ZT9lZjE2Il0sInNvdXJjZXNDb250ZW50IjpbInZhciByZW5kZXIgPSBmdW5jdGlvbigpIHtcbiAgdmFyIF92bSA9IHRoaXNcbiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50XG4gIHZhciBfYyA9IF92bS5fc2VsZi5fYyB8fCBfaFxuICByZXR1cm4gX2MoXCJkaXZcIiwgW1xuICAgIF92bS5zcGVjVmFsaWRhdGlvbi52YWxpZFxuICAgICAgPyBfYyhcImRpdlwiLCB7IGF0dHJzOiB7IGlkOiBfdm0uaWQgfSB9KVxuICAgICAgOiBfdm0uc3BlY1ZhbGlkYXRpb24udmFsaWQgPT09IGZhbHNlXG4gICAgICA/IF9jKFwicFwiLCBbX3ZtLl92KFwiSW52YWxpZCBWZWdhLUxpdGUgc3BlY2lmaWNhdGlvbi5cIildKVxuICAgICAgOiBfdm0uX2UoKVxuICBdKVxufVxudmFyIHN0YXRpY1JlbmRlckZucyA9IFtdXG5yZW5kZXIuX3dpdGhTdHJpcHBlZCA9IHRydWVcblxuZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/vega-lite-wrapper.vue?vue&type=template&id=defc7986&\n");

/***/ })

}]);