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

/***/ "./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.js":
/*!*********************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.js ***!
  \*********************************************************************************/
/*! exports provided: loadSparqlTemplates, TextSegmentType, OptValueType */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"loadSparqlTemplates\", function() { return loadSparqlTemplates; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TextSegmentType\", function() { return TextSegmentType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"OptValueType\", function() { return OptValueType; });\n/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rdfjs/data-model */ \"./node_modules/@rdfjs/data-model/index.js\");\n/* harmony import */ var _rdfjs_data_model__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_rdfjs_data_model__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var rdf_literal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rdf-literal */ \"./node_modules/rdf-literal/index.js\");\n/* harmony import */ var rdf_literal__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(rdf_literal__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utilities_sparql__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../utilities/sparql */ \"./js/whyis_vue/utilities/sparql.js\");\n/* harmony import */ var _load_sparql_templates_rq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./load-sparql-templates.rq */ \"./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.rq\");\n/* harmony import */ var _utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../utilities/common-namespaces */ \"./js/whyis_vue/utilities/common-namespaces.js\");\n\n\n\n\n\n\nconst SP = 'http://spinrdf.org/sp'\nconst SPIN = `${SP}in#`\n\nconst templateType = 'http://vocab.rpi.edu/whyis/SparqlTemplate'\nconst typePred = _utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"RDF\"] + 'type'\n\nasync function loadSparqlTemplates() {\n  const queryResponse = await Object(_utilities_sparql__WEBPACK_IMPORTED_MODULE_2__[\"querySparql\"])(_load_sparql_templates_rq__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {accept: \"application/rdf+json\"})\n\n  // Generate map data structure of {subject: {predicate: (set of objects) }}\n  // TODO: this step could have been simplified by requesting json-ld  - \"Accept: application/ld+json'\"\n  const subjectMap = {}\n  const templateUris = []\n  queryResponse.results.bindings.forEach(b => {\n    const subject = b.subject.value\n    const predicate = b.predicate.value\n    let object = b.object.value\n    if (b.object.type === \"literal\" && b.object.datatype) {\n      object = Object(rdf_literal__WEBPACK_IMPORTED_MODULE_1__[\"fromRdf\"])(Object(_rdfjs_data_model__WEBPACK_IMPORTED_MODULE_0__[\"literal\"])(object, Object(_rdfjs_data_model__WEBPACK_IMPORTED_MODULE_0__[\"namedNode\"])(b.object.datatype)))\n    }\n\n    // Identify template uris\n    if (predicate === typePred && object === templateType) {\n      templateUris.push(subject)\n    }\n\n    let predicateMap = subjectMap[subject]\n    if (!predicateMap) {\n      predicateMap = {}\n      subjectMap[subject] = predicateMap\n    }\n    let objectSet = predicateMap[predicate]\n    if (!objectSet) {\n      objectSet = new Set()\n      predicateMap[predicate] = objectSet\n    }\n    objectSet.add(object)\n  })\n\n  // Use a recursive function to form objects from triples\n  const resolvedTemplates = templateUris.map((templateUri) => resolveUri(templateUri))\n\n  // Transform objects so that they are usable in the query templates page\n  const transformedTemplates = resolvedTemplates.map(transformTemplate)\n  transformedTemplates.sort((a, b) => a.id > b.id ? 1 : -1)\n  return transformedTemplates\n\n  function resolveUri(uri, visited) {\n    visited = visited || new Set()\n    if (visited.has(uri) || !subjectMap.hasOwnProperty(uri)) {\n      return uri\n    }\n    visited.add(uri)\n    const predMap = subjectMap[uri]\n    const obj = {uri}\n    Object.entries(predMap)\n      .forEach(([pred, values]) => {\n        const resolvedVals = [...values].map(vUri => resolveUri(vUri, visited))\n        obj[pred] = resolvedVals\n      })\n    return obj\n  }\n}\n\n/**\n * Identifies segments of display text as being variables or text\n */\nconst TextSegmentType = Object.freeze({\n  VAR: \"var\",\n  TEXT: \"text\"\n});\n\n/**\n * Enumeration of types of query parameter option values.\n */\nconst OptValueType = Object.freeze({\n  ANY: \"any\",\n  LITERAL: \"literal\",\n  IDENTIFIER: \"identifier\"\n})\n\n/**\n * Transforms rdf proto-template into a usable template\n */\nfunction transformTemplate(template) {\n  const displayText = template[`${SPIN}labelTemplate`][0]\n  return {\n    id: template.uri,\n    display: displayText,\n    displaySegments: parseDisplayText(displayText),\n    SPARQL: template[`${SP}text`][0],\n    options: transformTemplateParams(template[`${SPIN}constraint`])\n  }\n}\n\nfunction transformTemplateParams(params) {\n  return Object.fromEntries(\n    params.map(param => [\n      param[`${SP}varName`][0],\n      transformParamOpts(param[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}option`])\n    ])\n  )\n}\n\nfunction transformParamOpts(opts) {\n  return Object.fromEntries(\n    opts.map(opt => [\n        opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"RDFS\"]}label`][0],\n        getOptValue(opt),\n        opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}position`][0],\n    ])\n    .sort((e1, e2) => (e1[2] > e2[2]) ? 1: -1)\n  )\n}\n\nfunction getOptValue(opt) {\n  let value = {\n    type: OptValueType.ANY\n  }\n  if (opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}value`]) {\n    const rawVal = opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}value`]\n    value = {\n      type: OptValueType.LITERAL,\n      value: opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}value`][0]\n    }\n  } else if (opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}identifier`]) {\n    value = {\n      type: OptValueType.IDENTIFIER,\n      value: opt[`${_utilities_common_namespaces__WEBPACK_IMPORTED_MODULE_4__[\"SCHEMA\"]}identifier`][0]\n    }\n  }\n  return value\n}\n\n// Matches query variables in display text\nconst qVarRegex = /{\\?([^}]+)}/g\n// Matches query variables or the text between query variables\nconst segmentRegex = new RegExp(`${qVarRegex.source}|[^{]+`, \"g\")\n\nfunction parseDisplayText(displayText) {\n  return displayText.match(segmentRegex).map(token => {\n    let displaySegment;\n    const match = qVarRegex.exec(token)\n    if (match) {\n      displaySegment = {\n        type: TextSegmentType.VAR,\n        varName: match[1]\n      };\n    } else {\n      displaySegment = {\n        type: TextSegmentType.TEXT,\n        text: token\n      };\n    }\n    return displaySegment;\n  });\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 7848 characters]\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.js\n");

/***/ }),

/***/ "./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.rq":
/*!*********************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.rq ***!
  \*********************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\\nPREFIX schema: <http://schema.org/>\\nPREFIX sp: <http://spinrdf.org/sp>\\nPREFIX spin: <http://spinrdf.org/spin#>\\nPREFIX spl: <http://spinrdf.org/spin#>\\nPREFIX whyis: <http://vocab.rpi.edu/whyis/>\\nPREFIX nanomine_templates: <http://nanomine.org/query/>\\n\\nCONSTRUCT {\\n    ?template a whyis:SparqlTemplate  ;\\n        spin:labelTemplate ?labelTemplate ;\\n        sp:text ?query ;\\n        spin:constraint ?constraint .\\n    ?constraint sp:varName ?varName ;\\n        schema:option ?option .\\n    ?option rdfs:label ?optLabel ;\\n        schema:value ?optValue ;\\n        schema:identifier ?optId ;\\n        schema:position ?optPosition .\\n}\\nWHERE {\\n    ?template a whyis:SparqlTemplate  ;\\n        spin:labelTemplate ?labelTemplate ;\\n        sp:text ?query ;\\n        spin:constraint ?constraint .\\n    ?constraint sp:varName ?varName ;\\n        schema:option ?option .\\n    ?option rdfs:label ?optLabel ;\\n        schema:position ?optPosition .\\n    OPTIONAL { ?option schema:value ?optValue } .\\n    OPTIONAL { ?option schema:identifier ?optId } .\\n}\\n\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL2xvYWQtc3BhcnFsLXRlbXBsYXRlcy5ycS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3doeWlzX3Z1ZS9jb21wb25lbnRzL3BhZ2VzL3NwYXJxbC10ZW1wbGF0ZXMvbG9hZC1zcGFycWwtdGVtcGxhdGVzLnJxP2Q4YzIiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgXCJQUkVGSVggcmRmczogPGh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDEvcmRmLXNjaGVtYSM+XFxuUFJFRklYIHNjaGVtYTogPGh0dHA6Ly9zY2hlbWEub3JnLz5cXG5QUkVGSVggc3A6IDxodHRwOi8vc3BpbnJkZi5vcmcvc3A+XFxuUFJFRklYIHNwaW46IDxodHRwOi8vc3BpbnJkZi5vcmcvc3BpbiM+XFxuUF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cXG4gICAgICAgIHNjaGVtYTpwb3NpdGlvbiA/b3B0UG9zaXRpb24gLlxcbiAgICBPUFRJT05BTCB7ID9vcHRpb24gc2NoZW1hOnZhbHVlID9vcHRWYWx1ZSB9IC5cXG4gICAgT1BUSU9OQUwgeyA/b3B0aW9uIHNjaGVtYTppZGVudGlmaWVyID9vcHRJZCB9IC5cXG59XFxuXCIiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.rq\n");

/***/ }),

/***/ "./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue":
/*!*********************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue ***!
  \*********************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true& */ \"./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&\");\n/* harmony import */ var _sparql_template_page_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sparql-template-page.vue?vue&type=script&lang=js& */ \"./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& */ \"./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _sparql_template_page_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  \"f1f1c9dc\",\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2pzL3doeWlzX3Z1ZS9jb21wb25lbnRzL3BhZ2VzL3NwYXJxbC10ZW1wbGF0ZXMvc3BhcnFsLXRlbXBsYXRlLXBhZ2UudnVlPzk1YjIiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tIFwiLi9zcGFycWwtdGVtcGxhdGUtcGFnZS52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ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WRjJykpIHtcbiAgICAgIGFwaS5jcmVhdGVSZWNvcmQoJ2YxZjFjOWRjJywgY29tcG9uZW50Lm9wdGlvbnMpXG4gICAgfSBlbHNlIHtcbiAgICAgIGFwaS5yZWxvYWQoJ2YxZjFjOWRjJywgY29tcG9uZW50Lm9wdGlvbnMpXG4gICAgfVxuICAgIG1vZHVsZS5ob3QuYWNjZXB0KFwiLi9zcGFycWwtdGVtcGxhdGUtcGFnZS52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9ZjFmMWM5ZGMmc2NvcGVkPXRydWUmXCIsIGZ1bmN0aW9uICgpIHtcbiAgICAgIGFwaS5yZXJlbmRlcignZjFmMWM5ZGMnLCB7XG4gICAgICAgIHJlbmRlcjogcmVuZGVyLFxuICAgICAgICBzdGF0aWNSZW5kZXJGbnM6IHN0YXRpY1JlbmRlckZuc1xuICAgICAgfSlcbiAgICB9KVxuICB9XG59XG5jb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSBcImpzL3doeWlzX3Z1ZS9jb21wb25lbnRzL3BhZ2VzL3NwYXJxbC10ZW1wbGF0ZXMvc3BhcnFsLXRlbXBsYXRlLXBhZ2UudnVlXCJcbmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRzIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLHVCQWlCQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue\n");

/***/ }),

/***/ "./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js&":
/*!**********************************************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js& ***!
  \**********************************************************************************************************/
/*! exports provided: default */
/***/ (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_sparql_template_page_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib??vue-loader-options!./sparql-template-page.vue?vue&type=script&lang=js& */ \"./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT8yNjQ0Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBtb2QgZnJvbSBcIi0hLi4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2luZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9zcGFycWwtdGVtcGxhdGUtcGFnZS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCI7IGV4cG9ydCBkZWZhdWx0IG1vZDsgZXhwb3J0ICogZnJvbSBcIi0hLi4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2luZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9zcGFycWwtdGVtcGxhdGUtcGFnZS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCIiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js&\n");

/***/ }),

/***/ "./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&":
/*!*******************************************************************************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& ***!
  \*******************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-style-loader!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/resolve-url-loader!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib??vue-loader-options!./sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& */ \"./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\");\n/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_sparql_template_page_vue_vue_type_style_index_0_id_f1f1c9dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPWYxZjFjOWRjJmxhbmc9c2NzcyZzY29wZWQ9dHJ1ZSYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT9mMWFjIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCItIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy92dWUtc3R5bGUtbG9hZGVyL2luZGV4LmpzIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy9jc3MtbG9hZGVyL2Rpc3QvY2pzLmpzIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9sb2FkZXJzL3N0eWxlUG9zdExvYWRlci5qcyEuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvcmVzb2x2ZS11cmwtbG9hZGVyL2luZGV4LmpzIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy9zYXNzLWxvYWRlci9kaXN0L2Nqcy5qcyEuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPWYxZjFjOWRjJmxhbmc9c2NzcyZzY29wZWQ9dHJ1ZSZcIiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\n");

/***/ }),

/***/ "./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&":
/*!****************************************************************************************************************************!*\
  !*** ./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true& ***!
  \****************************************************************************************************************************/
/*! 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_sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___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!./sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&\");\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_sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___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_sparql_template_page_vue_vue_type_template_id_f1f1c9dc_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD1mMWYxYzlkYyZzY29wZWQ9dHJ1ZSYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT9mYmIwIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCItIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9sb2FkZXJzL3RlbXBsYXRlTG9hZGVyLmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2luZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9zcGFycWwtdGVtcGxhdGUtcGFnZS52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9ZjFmMWM5ZGMmc2NvcGVkPXRydWUmXCIiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&\n");

/***/ }),

/***/ "./js/whyis_vue/utilities/common-namespaces.js":
/*!*****************************************************!*\
  !*** ./js/whyis_vue/utilities/common-namespaces.js ***!
  \*****************************************************/
/*! exports provided: RDF, RDFS, WHYIS, SCHEMA */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RDF\", function() { return RDF; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RDFS\", function() { return RDFS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WHYIS\", function() { return WHYIS; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SCHEMA\", function() { return SCHEMA; });\n\n// TODO: add more prefixes as needed\nconst RDF =  \"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\nconst RDFS = \"http://www.w3.org/2000/01/rdf-schema#\"\nconst WHYIS = \"http://vocab.rpi.edu/whyis/\"\nconst SCHEMA = \"http://schema.org/\"\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9qcy93aHlpc192dWUvdXRpbGl0aWVzL2NvbW1vbi1uYW1lc3BhY2VzLmpzLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vanMvd2h5aXNfdnVlL3V0aWxpdGllcy9jb21tb24tbmFtZXNwYWNlcy5qcz83NmYwIl0sInNvdXJjZXNDb250ZW50IjpbIlxuLy8gVE9ETzogYWRkIG1vcmUgcHJlZml4ZXMgYXMgbmVlZGVkXG5leHBvcnQgY29uc3QgUkRGID0gIFwiaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zI1wiXG5leHBvcnQgY29uc3QgUkRGUyA9IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMC8wMS9yZGYtc2NoZW1hI1wiXG5leHBvcnQgY29uc3QgV0hZSVMgPSBcImh0dHA6Ly92b2NhYi5ycGkuZWR1L3doeWlzL1wiXG5leHBvcnQgY29uc3QgU0NIRU1BID0gXCJodHRwOi8vc2NoZW1hLm9yZy9cIlxuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./js/whyis_vue/utilities/common-namespaces.js\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/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&":
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js */ \"./node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default.a);\n// Module\n___CSS_LOADER_EXPORT___.push([module.i, \".sparql-template-page[data-v-f1f1c9dc] {\\n  max-width: 960px;\\n  margin: auto;\\n}\\n.display[data-v-f1f1c9dc] {\\n  display: flex;\\n  flex-direction: row;\\n  justify-content: space-between;\\n  align-items: center;\\n  height: 18em;\\n}\\n.display .template-next[data-v-f1f1c9dc] {\\n  order: 1;\\n}\\n.display .display-text[data-v-f1f1c9dc] {\\n  max-height: calc(100% - 60px);\\n  overflow: auto;\\n  margin: 30px;\\n  font-size: 16px;\\n  line-height: 40px;\\n}\\n.display-count-indicator[data-v-f1f1c9dc] {\\n  text-align: center;\\n  margin-bottom: 20px;\\n  font-weight: 500;\\n}\\n.accordion[data-v-f1f1c9dc] {\\n  margin-bottom: 20px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./sparql-template-page.vue\"],\"names\":[],\"mappings\":\"AA8QA;EACE,gBAAA;EACA,YAAA;AA7QF;AA+QA;EACE,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,mBAAA;EACA,YAAA;AA5QF;AA6QE;EACE,QAAA;AA3QJ;AA6QE;EACE,6BAAA;EACA,cAAA;EACA,YAAA;EACA,eAAA;EACA,iBAAA;AA3QJ;AA8QA;EACE,kBAAA;EACA,mBAAA;EACA,gBAAA;AA3QF;AA6QA;EACE,mBAAA;AA1QF\",\"sourcesContent\":[\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n.sparql-template-page {\\n  max-width: 960px;\\n  margin: auto;\\n}\\n.display {\\n  display: flex;\\n  flex-direction: row;\\n  justify-content: space-between;\\n  align-items: center;\\n  height: 18em;\\n  .template-next {\\n    order: 1;\\n  }\\n  .display-text {\\n    max-height: calc(100% - 60px);\\n    overflow: auto;\\n    margin: 30px;\\n    font-size: 16px;\\n    line-height: 40px;\\n  }\\n}\\n.display-count-indicator {\\n  text-align: center;\\n  margin-bottom: 20px;\\n  font-weight: 500;\\n}\\n.accordion {\\n  margin-bottom: 20px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 4640 characters]\n//# sourceURL=webpack-internal:///./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\n");

/***/ }),

/***/ "./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js&":
/*!************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=script&lang=js& ***!
  \************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _utilities_sparql__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utilities/sparql */ \"./js/whyis_vue/utilities/sparql.js\");\n/* harmony import */ var _utilities_views__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../utilities/views */ \"./js/whyis_vue/utilities/views.js\");\n/* harmony import */ var _load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./load-sparql-templates */ \"./js/whyis_vue/components/pages/sparql-templates/load-sparql-templates.js\");\n/* harmony import */ var _utilities_debounce__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../utilities/debounce */ \"./js/whyis_vue/utilities/debounce.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nconst stripQVarFormatting = formatted =>\n  formatted\n    .replace(/^{{/, \"\")\n    .replace(/}}$/, \"\")\n    .trim();\nconst qVarRegex = /({{[^{}]+}})/g;\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  data() {\n    return {\n      loadingTemplates: true,\n      queryTemplates: {},\n      TextSegmentType: _load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__[\"TextSegmentType\"],\n      selTemplateId: null,\n      query: \"\",\n      varSelections: {},\n      results: null,\n      execQueryDebounced: Object(_utilities_debounce__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.execQuery, 300)\n    };\n  },\n  computed: {\n    templateIds() {\n      return Object.keys(this.queryTemplates);\n    },\n    selectedTemplate() {\n      return this.queryTemplates[this.selTemplateId];\n    },\n    currentIndex() {\n      return this.templateIds.indexOf(this.selTemplateId);\n    },\n    totalTemplateCount() {\n      return this.templateIds.length;\n    },\n  },\n  methods: {\n    ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapMutations\"])(\"vizEditor\", [\"setQuery\"]),\n    selectQueryForVizEditor() {\n      this.setQuery(this.query);\n      this.toVizEditor();\n    },\n    toVizEditor() {\n      Object(_utilities_views__WEBPACK_IMPORTED_MODULE_2__[\"goToView\"])(_utilities_views__WEBPACK_IMPORTED_MODULE_2__[\"VIEW_URIS\"].CHART_EDITOR, _utilities_views__WEBPACK_IMPORTED_MODULE_2__[\"DEFAULT_VIEWS\"].NEW);\n    },\n    async loadSparqlTemplates() {\n      this.loadingTemplates = true;\n      try {\n        const templates = await Object(_load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__[\"loadSparqlTemplates\"])();\n        this.queryTemplates = {}\n        templates.forEach(t => this.queryTemplates[t.id] = t)\n        console.log('qtemps', this.queryTemplates)\n        this.selTemplateId = templates.length > 0 ? templates[0].id : null\n      } finally {\n        this.loadingTemplates = false;\n      }\n    },\n    shiftTemplate(amount) {\n      let newIndex = this.currentIndex + amount;\n      while (newIndex >= this.totalTemplateCount) {\n        newIndex -= this.totalTemplateCount;\n      }\n      while (newIndex < 0) {\n        newIndex += this.totalTemplateCount;\n      }\n      this.selTemplateId = this.templateIds[newIndex];\n      console.log(\"shifted\", newIndex, this.selTemplateId, this.templateIds);\n    },\n    populateSelections() {\n      if (!this.selectedTemplate) {\n        return;\n      }\n      this.varSelections = Object.fromEntries(\n        Object.entries(\n          this.selectedTemplate.options\n        ).map(([varName, varOpts]) => [varName, Object.keys(varOpts)[0]])\n      );\n    },\n    getOptVal(varName, optName) {\n      return this.selectedTemplate.options[varName][optName]\n    },\n    buildQuery() {\n      if (!this.selectedTemplate) {\n        return;\n      }\n      this.query = this.selectedTemplate.SPARQL\n\n      this.selectedTemplate.options\n\n      // append VALUES clause to query if there are any active selections\n      const activeSelections = Object.fromEntries(\n        Object.entries(this.varSelections)\n          .filter(selEntry => this.getOptVal(...selEntry).type !== _load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__[\"OptValueType\"].ANY)\n      )\n      if (Object.keys(activeSelections).length > 0) {\n        const varNames = Object.keys(activeSelections)\n          .map(varName => `?${varName}`)\n          .join(\" \")\n\n        const optVals = Object.entries(activeSelections)\n          .map( selEntry => {\n            const optVal = this.getOptVal(...selEntry)\n            let value\n            if (optVal.type === _load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__[\"OptValueType\"].LITERAL) {\n              value = optVal.value\n              if (typeof value !== \"number\") {\n                value = `\"${value}\"`\n              }\n            } else if (optVal.type === _load_sparql_templates__WEBPACK_IMPORTED_MODULE_3__[\"OptValueType\"].IDENTIFIER) {\n              value = `<${optVal.value}>`\n            } else {\n              throw `Unknown option value type: ${optVal.type}`\n            }\n            return value\n          })\n          .join(\" \")\n\n        this.query += `\\nVALUES (${varNames}) {\\n  (${optVals})\\n}\\n`\n      }\n    },\n    async execQuery() {\n      console.log(\"querying....\");\n      this.results = null;\n      this.results = await Object(_utilities_sparql__WEBPACK_IMPORTED_MODULE_1__[\"querySparql\"])(this.query);\n      console.log(\"done\", this.results);\n    }\n  },\n  created() {\n    this.loadSparqlTemplates();\n  },\n  watch: {\n    // The following reactive watchers are used due to limitations of not being\n    // able to deep watch dependencies of computed methods.\n    selectedTemplate: {\n      handler: \"populateSelections\"\n    },\n    varSelections: {\n      handler: \"buildQuery\",\n      deep: true\n    },\n    query: {\n      handler: \"execQueryDebounced\"\n    }\n  }\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 13020 characters]\n//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.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/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&":
/*!**********************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true& ***!
  \**********************************************************************************************************************************************************************************************************************************************************/
/*! 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\", { staticClass: \"sparql-template-page\" }, [\n    _vm.loadingTemplates\n      ? _c(\n          \"div\",\n          [\n            _c(\"md-progress-spinner\", { attrs: { \"md-mode\": \"indeterminate\" } })\n          ],\n          1\n        )\n      : _vm.totalTemplateCount === 0\n      ? _c(\"div\", [_c(\"p\", [_vm._v(\"No templates were loaded\")])])\n      : _c(\n          \"div\",\n          [\n            _c(\"div\", { staticClass: \"button-row\" }, [\n              _c(\n                \"div\",\n                [\n                  _c(\n                    \"md-button\",\n                    {\n                      staticClass: \"md-icon-button\",\n                      nativeOn: {\n                        click: function($event) {\n                          $event.preventDefault()\n                          return _vm.selectQueryForVizEditor()\n                        }\n                      }\n                    },\n                    [\n                      _c(\n                        \"md-tooltip\",\n                        {\n                          staticClass: \"utility-bckg\",\n                          attrs: { \"md-direction\": \"bottom\" }\n                        },\n                        [\n                          _vm._v(\n                            \"\\n            Select current query and return to Viz Editor\\n          \"\n                          )\n                        ]\n                      ),\n                      _vm._v(\" \"),\n                      _c(\"md-icon\", [_vm._v(\"check\")])\n                    ],\n                    1\n                  ),\n                  _vm._v(\" \"),\n                  _c(\n                    \"md-button\",\n                    {\n                      staticClass: \"md-icon-button\",\n                      nativeOn: {\n                        click: function($event) {\n                          $event.preventDefault()\n                          return _vm.toVizEditor()\n                        }\n                      }\n                    },\n                    [\n                      _c(\n                        \"md-tooltip\",\n                        {\n                          staticClass: \"utility-bckg\",\n                          attrs: { \"md-direction\": \"bottom\" }\n                        },\n                        [_vm._v(\" Return to viz editor \")]\n                      ),\n                      _vm._v(\" \"),\n                      _c(\"md-icon\", [_vm._v(\"arrow_back\")])\n                    ],\n                    1\n                  )\n                ],\n                1\n              )\n            ]),\n            _vm._v(\" \"),\n            _c(\"md-toolbar\", [\n              _c(\"h3\", { staticClass: \"md-title\" }, [_vm._v(\"Query Template\")])\n            ]),\n            _vm._v(\" \"),\n            _c(\n              \"div\",\n              { staticClass: \"display\" },\n              [\n                _c(\n                  \"md-button\",\n                  {\n                    staticClass: \"template-back\",\n                    on: {\n                      click: function($event) {\n                        return _vm.shiftTemplate(-1)\n                      }\n                    }\n                  },\n                  [_c(\"md-icon\", [_vm._v(\"chevron_left\")])],\n                  1\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"md-button\",\n                  {\n                    staticClass: \"template-next\",\n                    on: {\n                      click: function($event) {\n                        return _vm.shiftTemplate(1)\n                      }\n                    }\n                  },\n                  [_c(\"md-icon\", [_vm._v(\"chevron_right\")])],\n                  1\n                ),\n                _vm._v(\" \"),\n                _c(\n                  \"p\",\n                  { staticClass: \"display-text\" },\n                  _vm._l(_vm.selectedTemplate.displaySegments, function(\n                    segment,\n                    index\n                  ) {\n                    return _c(\"span\", { key: index }, [\n                      segment.type == _vm.TextSegmentType.TEXT\n                        ? _c(\"span\", {\n                            domProps: { innerHTML: _vm._s(segment.text) }\n                          })\n                        : _c(\"span\", [\n                            _c(\n                              \"select\",\n                              {\n                                directives: [\n                                  {\n                                    name: \"model\",\n                                    rawName: \"v-model\",\n                                    value: _vm.varSelections[segment.varName],\n                                    expression: \"varSelections[segment.varName]\"\n                                  }\n                                ],\n                                attrs: {\n                                  id: segment.varName,\n                                  name: segment.varName\n                                },\n                                on: {\n                                  change: function($event) {\n                                    var $$selectedVal = Array.prototype.filter\n                                      .call($event.target.options, function(o) {\n                                        return o.selected\n                                      })\n                                      .map(function(o) {\n                                        var val =\n                                          \"_value\" in o ? o._value : o.value\n                                        return val\n                                      })\n                                    _vm.$set(\n                                      _vm.varSelections,\n                                      segment.varName,\n                                      $event.target.multiple\n                                        ? $$selectedVal\n                                        : $$selectedVal[0]\n                                    )\n                                  }\n                                }\n                              },\n                              _vm._l(\n                                _vm.selectedTemplate.options[segment.varName],\n                                function(value, name) {\n                                  return _c(\n                                    \"option\",\n                                    { key: name, domProps: { value: name } },\n                                    [\n                                      _vm._v(\n                                        \"\\n                \" +\n                                          _vm._s(name) +\n                                          \"\\n              \"\n                                      )\n                                    ]\n                                  )\n                                }\n                              ),\n                              0\n                            )\n                          ])\n                    ])\n                  }),\n                  0\n                )\n              ],\n              1\n            ),\n            _vm._v(\" \"),\n            _c(\"div\", { staticClass: \"display-count-indicator\" }, [\n              _c(\"p\", [\n                _vm._v(\n                  \"Query template \" +\n                    _vm._s(_vm.currentIndex + 1) +\n                    \" of \" +\n                    _vm._s(_vm.totalTemplateCount)\n                )\n              ])\n            ]),\n            _vm._v(\" \"),\n            _vm.query\n              ? _c(\n                  \"div\",\n                  { staticClass: \"query\" },\n                  [\n                    _c(\n                      \"accordion\",\n                      { attrs: { startOpen: false, title: \"SPARQL Query\" } },\n                      [\n                        _c(\"yasqe\", {\n                          attrs: { value: _vm.query, readonly: \"true\" }\n                        })\n                      ],\n                      1\n                    )\n                  ],\n                  1\n                )\n              : _vm._e(),\n            _vm._v(\" \"),\n            _c(\n              \"div\",\n              { staticClass: \"results\" },\n              [\n                _c(\n                  \"accordion\",\n                  { attrs: { startOpen: true, title: \"SPARQL Results\" } },\n                  [\n                    _vm.results\n                      ? _c(\n                          \"div\",\n                          [_c(\"yasr\", { attrs: { results: _vm.results } })],\n                          1\n                        )\n                      : _c(\"md-progress-spinner\", {\n                          attrs: {\n                            \"md-diameter\": 30,\n                            \"md-stroke\": 3,\n                            \"md-mode\": \"indeterminate\"\n                          }\n                        })\n                  ],\n                  1\n                )\n              ],\n              1\n            )\n          ],\n          1\n        )\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 15096 characters]\n//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=template&id=f1f1c9dc&scoped=true&\n");

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/resolve-url-loader!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib??vue-loader-options!./sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true& */ \"./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"18114352\", content, false, {});\n// Hot Module Replacement\nif(false) {}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvdnVlLXN0eWxlLWxvYWRlci9pbmRleC5qcyEuL25vZGVfbW9kdWxlcy9jc3MtbG9hZGVyL2Rpc3QvY2pzLmpzIS4vbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL2xvYWRlcnMvc3R5bGVQb3N0TG9hZGVyLmpzIS4vbm9kZV9tb2R1bGVzL3Jlc29sdmUtdXJsLWxvYWRlci9pbmRleC5qcyEuL25vZGVfbW9kdWxlcy9zYXNzLWxvYWRlci9kaXN0L2Nqcy5qcyEuL25vZGVfbW9kdWxlcy92dWUtbG9hZGVyL2xpYi9pbmRleC5qcz8hLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdlcy9zcGFycWwtdGVtcGxhdGVzL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPWYxZjFjOWRjJmxhbmc9c2NzcyZzY29wZWQ9dHJ1ZSYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9qcy93aHlpc192dWUvY29tcG9uZW50cy9wYWdl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cy92dWUtbG9hZGVyL2xpYi9sb2FkZXJzL3N0eWxlUG9zdExvYWRlci5qcyEuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvcmVzb2x2ZS11cmwtbG9hZGVyL2luZGV4LmpzIS4uLy4uLy4uLy4uLy4uL25vZGVfbW9kdWxlcy9zYXNzLWxvYWRlci9kaXN0L2Nqcy5qcyEuLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3NwYXJxbC10ZW1wbGF0ZS1wYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPWYxZjFjOWRjJmxhbmc9c2NzcyZzY29wZWQ9dHJ1ZSZcIik7XG4gICAgIGlmKG5ld0NvbnRlbnQuX19lc01vZHVsZSkgbmV3Q29udGVudCA9IG5ld0NvbnRlbnQuZGVmYXVsdDtcbiAgICAgaWYodHlwZW9mIG5ld0NvbnRlbnQgPT09ICdzdHJpbmcnKSBuZXdDb250ZW50ID0gW1ttb2R1bGUuaWQsIG5ld0NvbnRlbnQsICcnXV07XG4gICAgIHVwZGF0ZShuZXdDb250ZW50KTtcbiAgIH0pO1xuIH1cbiAvLyBXaGVuIHRoZSBtb2R1bGUgaXMgZGlzcG9zZWQsIHJlbW92ZSB0aGUgPHN0eWxlPiB0YWdzXG4gbW9kdWxlLmhvdC5kaXNwb3NlKGZ1bmN0aW9uKCkgeyB1cGRhdGUoKTsgfSk7XG59Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./js/whyis_vue/components/pages/sparql-templates/sparql-template-page.vue?vue&type=style&index=0&id=f1f1c9dc&lang=scss&scoped=true&\n");

/***/ })

}]);