{"version":3,"sources":["webpack:///./node_modules/core-js/internals/same-value.js","webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack:///./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack:///./src/components/common/PageHeader.vue?9e92","webpack:///src/components/common/PageHeader.vue","webpack:///./src/components/common/PageHeader.vue?cc3d","webpack:///./src/components/common/PageHeader.vue","webpack:///./node_modules/core-js/modules/es.object.entries.js","webpack:///./node_modules/core-js/modules/es.array.flat-map.js","webpack:///./node_modules/core-js/internals/object-to-array.js","webpack:///./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack:///./src/components/forms/FormEvaluation.vue?f279","webpack:///./node_modules/core-js/modules/es.string.search.js","webpack:///./node_modules/core-js/internals/flatten-into-array.js","webpack:///./src/utils/formUtils.js","webpack:///./src/constants/forms/field-types.js","webpack:///./node_modules/core-js/internals/array-reduce.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-rating/form-rating.js","webpack:///./node_modules/core-js/modules/es.json.stringify.js","webpack:///./node_modules/uuid/dist/esm-browser/rng.js","webpack:///./node_modules/uuid/dist/esm-browser/regex.js","webpack:///./node_modules/uuid/dist/esm-browser/validate.js","webpack:///./node_modules/uuid/dist/esm-browser/stringify.js","webpack:///./node_modules/uuid/dist/esm-browser/v4.js","webpack:///./src/components/forms/FormEvaluation.vue?0570","webpack:///src/components/forms/FormEvaluation.vue","webpack:///./src/components/forms/FormEvaluation.vue?9af7","webpack:///./src/components/forms/FormEvaluation.vue"],"names":["module","exports","Object","is","x","y","$","$reduce","left","arrayMethodIsStrict","arrayMethodUsesToLength","CHROME_VERSION","IS_NODE","STRICT_METHOD","USES_TO_LENGTH","1","CHROME_BUG","target","proto","forced","reduce","callbackfn","this","arguments","length","undefined","_arrayWithHoles","r","Array","isArray","_iterableToArrayLimit","l","t","Symbol","iterator","e","n","i","u","a","f","o","call","next","done","push","value","_nonIterableRest","TypeError","_slicedToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","render","_vm","_h","$createElement","_c","_self","pageTitle","showBackButton","staticClass","attrs","canGoBack","on","$event","goBack","_e","_v","_s","_t","isDarkMode","text","$emit","model","callback","$$v","view","expression","class","showAddButton","itemTitle","toLowerCase","searchQuery","showSearchSlot","showViewSwitcherSlot","$slots","staticRenderFns","name","components","BCardTitle","BCardHeader","BFormRadioGroup","BFormGroup","BButton","BCol","BFormInput","BRow","props","type","Boolean","default","String","showSearch","showViewSwitcher","currentView","required","emits","data","computed","_objectSpread","mapGetters","buttons","search","window","history","$route","meta","breadcrumb","to","watch","newQuery","methods","$router","back","component","$entries","entries","stat","O","flattenIntoArray","toObject","toLength","aFunction","arraySpeciesCreate","flatMap","A","sourceLen","DESCRIPTORS","objectKeys","toIndexedObject","propertyIsEnumerable","createMethod","TO_ENTRIES","it","key","keys","result","values","addToUnscopables","fixRegExpWellKnownSymbolLogic","anObject","requireObjectCoercible","sameValue","regExpExec","SEARCH","nativeSearch","maybeCallNative","regexp","searcher","RegExp","res","rx","S","previousLastIndex","lastIndex","index","bind","original","source","start","depth","mapper","thisArg","element","targetIndex","sourceIndex","mapFn","DEFAULT_FORM_KEYS","id","section","question","options","inputType","isRequired","DEFAULT_RESPONSE_KEYS","questionId","response","metric","DEFAULT_EVALUATION_KEYS","responseId","score","comment","generateKey","uuid","safeJSONParse","JSON","parse","_unused","newQuestion","_ref","_ref$question","_ref$options","_ref$inputType","_ref$isRequired","newSection","_ref2","_ref2$title","title","_ref2$questions","questions","flattenFormData","groupedFormData","map","_question$isRequired","_defineProperty","stringify","groupFormData","flatFormData","groupedBySection","groupBy","items","item","flattenFormResponse","formResponse","_typeof","_ref4","_ref5","groupFormResponse","flatFormResponse","acc","flattenFormEvaluation","formEvaluation","_ref8","_ref9","groupFormEvaluation","flatFormEvaluation","NEW_FIELD_TYPES_MAP","short_text","label","placeholder","long_text","url","number","dropdown","hasOptions","multiselect","multiple","file","isFile","FIELD_TYPES_MAP","IndexedObject","IS_RIGHT","that","argumentsLength","memo","self","right","_watch","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","configurable","writable","_makeModelMixin","event","modelMixin","mixin","modelProps","MODEL_PROP_NAME","prop","MODEL_EVENT_NAME","MIN_STARS","DEFAULT_STARS","computeStars","stars","clampValue","min","max","BVFormRatingStar","extend","mixins","disabled","focused","hasClear","rating","readonly","star","variant","onClick","propagation","h","minStar","slotScope","tabindex","click","normalizeSlot","color","iconClear","iconEmpty","iconFull","iconHalf","inline","locale","noBorder","precision","showClear","showValue","showValueMax","BFormRating","BIconStar","BIconStarHalf","BIconStarFill","BIconX","localValue","hasFocus","computedStars","computedRating","toFixed","computedLocale","locales","nf","Intl","NumberFormat","resolvedOptions","isInteractive","isRTL","formattedRating","formatOptions","notation","minimumFractionDigits","isNaN","maximumFractionDigits","toLocaleString","concat","newValue","oldValue","blur","focus","$el","onKeydown","keyCode","amountRtl","onSelected","onFocus","renderIcon","icon","iconEmptyFn","iconHalfFn","iconFullFn","iconClearFn","_this","form","$scopedSlots","$content","$icon","style","selected","scopedSlots","empty","half","full","sizeFormClass","safeId","dir","role","keydown","getBuiltIn","fails","$stringify","re","low","hi","fix","match","offset","string","prev","charAt","test","charCodeAt","toString","FORCED","replacer","space","replace","getRandomValues","rnds8","Uint8Array","rng","crypto","msCrypto","Error","validate","byteToHex","substr","arr","v4","buf","rnds","random","ref","activeTab","_l","sectionIndex","_u","fn","proxy","qIndex","domProps","getResponseValue","isFileType","getLinkFromS3","prependHttps","directives","rawName","modifiers","hideEvaluation","errors","canEdit","getScore","updateEvaluation","getComment","isLastSection","handleSubmit","BLink","ValidationObserver","ValidationProvider","BTabs","BTab","Promised","formData","responses","hasResponseMetric","evaluations","fieldTypesMap","localFormEvaluations","handler","newVal","deep","immediate","oldVal","$nextTick","_tabsElement$querySel","tabsElement","$refs","querySelector","parentElement","scrollTo","offsetLeft","behavior","_this$responses$quest","getResponseId","_this$responses$quest2","_this$localFormEvalua","_this$localFormEvalua2","_this2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","isValid","wrap","_context","showAlert","abrupt","sent","stop","get","answerId","$set","updatedEvaluation","assign"],"mappings":"mGAEAA,EAAOC,QAAUC,OAAOC,IAAM,SAAYC,EAAGC,GAE3C,OAAOD,IAAMC,EAAU,IAAND,GAAW,EAAIA,IAAM,EAAIC,EAAID,GAAKA,GAAKC,GAAKA,I,oCCH/D,IAAIC,EAAI,EAAQ,QACZC,EAAU,EAAQ,QAA6BC,KAC/CC,EAAsB,EAAQ,QAC9BC,EAA0B,EAAQ,QAClCC,EAAiB,EAAQ,QACzBC,EAAU,EAAQ,QAElBC,EAAgBJ,EAAoB,UACpCK,EAAiBJ,EAAwB,SAAU,CAAEK,EAAG,IAGxDC,GAAcJ,GAAWD,EAAiB,IAAMA,EAAiB,GAIrEL,EAAE,CAAEW,OAAQ,QAASC,OAAO,EAAMC,QAASN,IAAkBC,GAAkBE,GAAc,CAC3FI,OAAQ,SAAgBC,GACtB,OAAOd,EAAQe,KAAMD,EAAYE,UAAUC,OAAQD,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,kCClB7F,SAASC,EAAgBC,GACvB,GAAIC,MAAMC,QAAQF,GAAI,OAAOA,E,8FCD/B,SAASG,EAAsBH,EAAGI,GAChC,IAAIC,EAAI,MAAQL,EAAI,KAAO,oBAAsBM,QAAUN,EAAEM,OAAOC,WAAaP,EAAE,cACnF,GAAI,MAAQK,EAAG,CACb,IAAIG,EACFC,EACAC,EACAC,EACAC,EAAI,GACJC,GAAI,EACJC,GAAI,EACN,IACE,GAAIJ,GAAKL,EAAIA,EAAEU,KAAKf,IAAIgB,KAAM,IAAMZ,EAAG,CACrC,GAAI7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iBAAAC,MAAA,SAAAC,IAAA,IAAAC,EAAA,OAAAH,iBAAAI,MAAA,SAAAC,GAAA,eAAAA,EAAAtF,KAAAsF,EAAAjb,MAAA,UACA0a,EAAArC,QAAA,CAAA4C,EAAAjb,KAAA,QACA,OAAA0a,EAAAQ,UAAA,oCAAAD,EAAAE,OAAA,wBAAAF,EAAAjb,KAAA,EAIA0a,EAAAX,MAAA,uCAAApD,WAAA,OAAAoE,EAAAE,EAAAG,KAEAL,EACAL,EAAA3Y,MAAA,SAAA2Y,EAAApB,sBAEAoB,EAAAQ,UAAA,6CACA,wBAAAD,EAAAI,UAAAP,MAZAH,IAeA9C,WAAA,SAAAhP,GACA,OAAAyS,iBAAAjC,OAAAxQ,GAAA,cAGA4P,cAAA,SAAA7Q,GACA,OAAAA,IAAA,KAAAqR,SAAApa,OAAA,GAGA0Z,iBAAA,SAAAvP,EAAAc,GAAA,IAAAT,EAAAS,EAAAT,MAAAC,EAAAQ,EAAAR,QACAiS,EAAA,KAAAjB,cAAAtR,GACA,KAAAsQ,qBAAAiC,IACA,KAAAC,KAAA,KAAAlC,qBAAAiC,EAAA,IAEA,IAAAE,EAAA,CACApS,MAAA,OAAAA,QAAA,IAAAA,IAAA,KAAAiQ,qBAAAiC,GAAAlS,MACAC,QAAA,OAAAA,QAAA,IAAAA,IAAA,KAAAgQ,qBAAAiC,GAAAjS,SAEA/L,OAAAme,OAAA,KAAApC,qBAAAiC,GAAAE,MCrTsW,I,wBCQlWtW,EAAY,eACd,EACAxE,EACAkC,GACA,EACA,KACA,KACA,MAIa,OAAAsC,E","file":"js/chunk-43f565f5.450ca90e.js","sourcesContent":["// `SameValue` abstract operation\n// https://tc39.github.io/ecma262/#sec-samevalue\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nexport { _iterableToArrayLimit as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nexport { _slicedToArray as default };","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card-header',[(_vm.pageTitle || _vm.showBackButton)?_c('b-container',{staticClass:\"px-0\",attrs:{\"fluid\":\"\"}},[_c('b-row',{attrs:{\"align-v\":\"center\"}},[(_vm.showBackButton)?_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('b-button',{attrs:{\"disabled\":!_vm.canGoBack,\"variant\":\"outline-secondary\",\"aria-label\":\"Go back to previous page\"},on:{\"click\":function($event){return _vm.goBack()}}},[_c('FeatherIcon',{attrs:{\"icon\":\"ChevronLeftIcon\"}})],1)],1):_vm._e(),_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('b-card-title',{staticClass:\"d-inline-block mb-0\"},[_vm._v(\" \"+_vm._s(_vm.pageTitle)+\" \")])],1),_c('b-col',[_vm._t(\"after-page-title\")],2),(_vm.showViewSwitcher)?_c('b-col',{staticClass:\"view-switcher\",attrs:{\"cols\":\"auto\"}},[_c('b-form-group',{staticClass:\"mb-0\",attrs:{\"label\":\"View as\",\"label-class\":\"align-self-center\",\"label-cols\":\"auto\",\"label-for\":\"btn-radios-1\",\"label-size\":\"sm\"}},[_c('b-form-radio-group',{attrs:{\"id\":\"btn-radios-1\",\"button-variant\":_vm.isDarkMode ? 'secondary' : 'light',\"options\":[\n { text: 'Grid', value: 'grid' },\n { text: 'Table', value: 'table' } ],\"buttons\":\"\",\"size\":\"sm\"},on:{\"change\":function($event){return _vm.$emit('update:page-view', $event)}},model:{value:(_vm.view),callback:function ($$v) {_vm.view=$$v},expression:\"view\"}})],1)],1):_vm._e()],1)],1):_vm._e(),(_vm.pageTitle || _vm.showBackButton)?_c('hr',{staticClass:\"w-100\",attrs:{\"id\":\"middle-divider\"}}):_vm._e(),_c('b-container',{staticClass:\"px-0\",attrs:{\"fluid\":\"\"}},[_c('b-row',{attrs:{\"align-h\":\"between\",\"align-v\":\"center\"}},[(_vm.showSearchSlot)?_c('b-col',{staticClass:\"d-flex align-items-start\",attrs:{\"cols\":\"auto\"}},[(_vm.showSearch)?_vm._t(\"search\",function(){return [_c('div',{staticClass:\"form-label-group\",class:{'mr-1': _vm.showAddButton }},[_c('b-form-input',{staticClass:\"d-inline-block\",attrs:{\"id\":'search-' + _vm.itemTitle.toLowerCase(),\"aria-label\":(\"Search \" + _vm.itemTitle),\"placeholder\":(\"Search \" + _vm.itemTitle),\"type\":\"text\"},model:{value:(_vm.searchQuery),callback:function ($$v) {_vm.searchQuery=$$v},expression:\"searchQuery\"}}),_c('label',{attrs:{\"for\":'search-' + _vm.itemTitle.toLowerCase()}},[_vm._v(\"Search \"+_vm._s(_vm.itemTitle))])],1)]}):_vm._e(),_vm._t(\"buttons\",function(){return [(_vm.showAddButton)?_c('b-button',{staticClass:\"mb-1\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('add')}}},[_c('feather-icon',{attrs:{\"icon\":\"PlusIcon\"}}),_vm._v(\" Add \"+_vm._s(_vm.itemTitle)+\" \")],1):_vm._e()]})],2):_vm._e(),(_vm.showViewSwitcherSlot)?_c('b-col',{staticClass:\"view-switcher\",attrs:{\"cols\":\"auto\"}},[_c('b-form-group',{attrs:{\"label\":\"View as\",\"label-class\":\"align-self-center\",\"label-cols\":\"auto\",\"label-for\":\"btn-radios-1\",\"label-size\":\"sm\"}},[_c('b-form-radio-group',{attrs:{\"id\":\"btn-radios-1\",\"button-variant\":_vm.isDarkMode ? 'secondary' : 'light',\"options\":[\n { text: 'Grid', value: 'grid' },\n { text: 'Table', value: 'table' } ],\"buttons\":\"\",\"size\":\"sm\"},on:{\"change\":function($event){return _vm.$emit('update:page-view', $event)}},model:{value:(_vm.view),callback:function ($$v) {_vm.view=$$v},expression:\"view\"}})],1)],1):_vm._e()],1)],1),(_vm.showSearchSlot || _vm.showViewSwitcherSlot)?_c('hr',{staticClass:\"w-100 my-25\",attrs:{\"id\":\"bottom-divider\"}}):_vm._e(),(_vm.$slots.filters)?_c('b-container',{staticClass:\"px-0\",class:{ 'mt-1': _vm.showSearchSlot || _vm.showViewSwitcherSlot },attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',[_vm._t(\"filters\")],2)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PageHeader.vue?vue&type=template&id=be71559e\"\nimport script from \"./PageHeader.vue?vue&type=script&lang=js\"\nexport * from \"./PageHeader.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 null,\n null\n \n)\n\nexport default component.exports","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.github.io/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar aFunction = require('../internals/a-function');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://github.com/tc39/proposal-flatMap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A;\n aFunction(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.github.io/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.github.io/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\naddToUnscopables('flatMap');\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormEvaluation.vue?vue&type=style&index=0&id=635bd871&prod&lang=scss\"","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative(nativeSearch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","import { groupBy, isArray, map } from 'lodash'\nimport { v4 as uuid } from 'uuid'\n\n// Default key mappings for DB schema\nconst DEFAULT_FORM_KEYS = {\n id: 'id',\n section: 'section',\n question: 'question',\n options: 'options',\n inputType: 'input_type',\n isRequired: 'is_required',\n}\n\nconst DEFAULT_RESPONSE_KEYS = {\n id: 'id',\n questionId: 'question_id',\n response: 'response',\n metric: null,\n}\n\nconst DEFAULT_EVALUATION_KEYS = {\n id: 'id',\n responseId: 'response_id',\n score: 'score',\n comment: 'comment',\n}\n\nconst generateKey = () => uuid()\n\n/**\n * Safely parses JSON string\n * @param {string} value - JSON string to parse\n * @returns {any} Parsed value or original string\n */\nexport const safeJSONParse = value => {\n try {\n return JSON.parse(value)\n } catch {\n return value\n }\n}\n\n/**\n * Creates a new question object\n * @param {Object} params Question parameters\n * @param {string} [params.id] Question ID\n * @param {string} [params.question=''] Question text\n * @param {Array} [params.options=[]] Question options\n * @param {string} [params.inputType='short_text'] Input type\n * @param {boolean} [params.isRequired=true] Whether question is required\n * @returns {Object} New question object\n */\nexport const newQuestion = ({\n id,\n question = '',\n options = [],\n inputType = 'short_text',\n isRequired = true,\n}) => ({\n key: generateKey(),\n question,\n options,\n inputType,\n isRequired,\n ...(id && { id }),\n})\n\n/**\n * Creates a new section object\n * @param {Object} params Section parameters\n * @param {string} [params.title='Untitled Section'] Section title\n * @param {Array} [params.questions] Section questions\n * @returns {Object} New section object\n */\nexport const newSection = ({\n title = 'Untitled Section',\n questions = [newQuestion({})],\n}) => ({\n key: generateKey(),\n title,\n questions,\n})\n\n/**\n * Flattens form data for DB storage\n * @param {Array} groupedFormData Array of form sections\n * @param {Object} [keys=DEFAULT_FORM_KEYS] Key mapping for DB schema\n * @returns {Array} Flattened form data\n */\nexport const flattenFormData = (groupedFormData, keys = DEFAULT_FORM_KEYS) => {\n if (!isArray(groupedFormData)) {\n return []\n }\n\n return groupedFormData.flatMap(section => section.questions.map(question => ({\n [keys.section]: section.title || null,\n [keys.question]: question.question || null,\n [keys.options]: JSON.stringify(question.options) || null,\n [keys.inputType]: question.inputType || 'short_text',\n [keys.isRequired]: Boolean(question.isRequired ?? true),\n ...(question.id && { [keys.id]: question.id }),\n })))\n}\n\n/**\n * Groups flat form data into sections\n * @param {Array} flatFormData Array of form questions from DB\n * @param {Object} [keys=DEFAULT_FORM_KEYS] Key mapping for DB schema\n * @returns {Array} Grouped form sections\n */\nexport const groupFormData = (flatFormData, keys = DEFAULT_FORM_KEYS) => {\n if (!isArray(flatFormData) || !flatFormData.length) {\n return []\n }\n\n const groupedBySection = groupBy(flatFormData, keys.section)\n\n return map(groupedBySection, (items, title) => newSection({\n title,\n questions: items.map(item => newQuestion({\n question: item[keys.question],\n options: safeJSONParse(item[keys.options]),\n inputType: item[keys.inputType],\n isRequired: Boolean(item[keys.isRequired]),\n id: item[keys.id] || null,\n })),\n }))\n}\n\n/**\n * Flattens form responses for DB storage\n * @param {Object} formResponse Form response object\n * @param {Object} [keys=DEFAULT_RESPONSE_KEYS] Key mapping for DB schema\n * @returns {Array} Flattened form responses\n */\nexport const flattenFormResponse = (formResponse, keys = DEFAULT_RESPONSE_KEYS) => {\n if (!formResponse || typeof formResponse !== 'object') {\n return []\n }\n\n return Object.entries(formResponse).map(([questionId, data]) => ({\n [keys.questionId]: questionId || null,\n [keys.response]: JSON.stringify(data.response) || null,\n ...(keys.metric && { [keys.metric]: data.metric || null }), // metric is optional,\n ...(data.id && { [keys.id]: data.id || null }),\n }))\n}\n\n/**\n * Groups flat form responses by question ID\n * @param {Array} flatFormResponse Array of form responses from DB\n * @param {Object} [keys=DEFAULT_RESPONSE_KEYS] Key mapping for DB schema\n * @returns {Object} Grouped form responses\n */\nexport const groupFormResponse = (flatFormResponse, keys = DEFAULT_RESPONSE_KEYS) => {\n if (!isArray(flatFormResponse) || !flatFormResponse.length) {\n return {}\n }\n\n return flatFormResponse.reduce((acc, r) => {\n acc[r[keys.questionId]] = {\n id: r[keys.id] || null,\n response: safeJSONParse(r[keys.response]) || null,\n ...(keys.metric && { metric: r[keys.metric] || null }), // metric is optional\n }\n return acc\n }, {})\n}\n\n/**\n * Flattens form evaluation for DB storage\n * @param {Object} formEvaluation Form response object\n * @param {Object} [keys=DEFAULT_EVALUATION_KEYS] Key mapping for DB schema\n * @returns {Array} Flattened form evaluations\n */\nexport const flattenFormEvaluation = (formEvaluation, keys = DEFAULT_EVALUATION_KEYS) => {\n if (!formEvaluation || typeof formEvaluation !== 'object') {\n return []\n }\n\n return Object.entries(formEvaluation).map(([responseId, data]) => ({\n [keys.responseId]: responseId || null,\n [keys.score]: data.score || null,\n [keys.comment]: data.comment || null,\n ...(data.id && { [keys.id]: data.id || null }),\n }))\n}\n\n/**\n * Groups flat form evaluations by response ID\n * @param {Array} flatFormEvaluation Array of form evaluations from DB\n * @param {Object} [keys=DEFAULT_EVALUATION_KEYS] Key mapping for DB schema\n * @returns {Object} Grouped form evaluations\n */\nexport const groupFormEvaluation = (flatFormEvaluation, keys = DEFAULT_EVALUATION_KEYS) => {\n if (!isArray(flatFormEvaluation) || !flatFormEvaluation.length) {\n return {}\n }\n\n return flatFormEvaluation.reduce((acc, e) => {\n acc[e[keys.responseId]] = {\n id: e[keys.id] || null,\n score: e[keys.score] || null,\n comment: e[keys.comment] || null,\n }\n return acc\n }, {})\n}\n","/**\n * Map of field types from DB Enum to their respective components and other properties.\n */\nconst NEW_FIELD_TYPES_MAP = {\n short_text: {\n label: 'Short Text',\n component: 'b-form-input',\n props: {\n type: 'text',\n placeholder: 'Answer in a few words',\n },\n },\n long_text: {\n label: 'Long Text',\n component: 'b-form-textarea',\n props: {\n type: 'text',\n placeholder: 'Answer in detail',\n },\n },\n url: {\n label: 'Link',\n component: 'b-form-input',\n props: {\n type: 'url',\n placeholder: 'Enter a link',\n },\n },\n number: {\n label: 'Number',\n component: 'b-form-input',\n props: {\n type: 'number',\n placeholder: 'Answer with a number',\n },\n },\n dropdown: {\n label: 'Dropdown',\n component: 'v-select',\n props: {\n placeholder: 'Select an option',\n },\n hasOptions: true,\n },\n multiselect: {\n label: 'Multi-select',\n component: 'v-select',\n props: {\n placeholder: 'Select multiple options',\n multiple: true,\n },\n hasOptions: true,\n },\n // TODO: Write migration. Was 'Document' in the original code\n file: {\n label: 'File',\n component: 'b-form-file',\n props: {\n placeholder: 'Upload a file',\n },\n isFile: true,\n },\n}\n\nconst FIELD_TYPES_MAP = {\n ...NEW_FIELD_TYPES_MAP,\n}\n\nexport default FIELD_TYPES_MAP\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var _watch;\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue } from '../../vue';\nimport { NAME_FORM_RATING, NAME_FORM_RATING_STAR } from '../../constants/components';\nimport { EVENT_NAME_CHANGE, EVENT_NAME_SELECTED } from '../../constants/events';\nimport { PROP_TYPE_ARRAY_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_NUMBER, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { CODE_LEFT, CODE_RIGHT, CODE_UP, CODE_DOWN } from '../../constants/key-codes';\nimport { SLOT_NAME_ICON_CLEAR, SLOT_NAME_ICON_EMPTY, SLOT_NAME_ICON_FULL, SLOT_NAME_ICON_HALF } from '../../constants/slots';\nimport { arrayIncludes, concat } from '../../utils/array';\nimport { attemptBlur, attemptFocus } from '../../utils/dom';\nimport { stopEvent } from '../../utils/events';\nimport { identity } from '../../utils/identity';\nimport { isNull } from '../../utils/inspect';\nimport { isLocaleRTL } from '../../utils/locale';\nimport { mathMax, mathMin } from '../../utils/math';\nimport { makeModelMixin } from '../../utils/model';\nimport { toInteger, toFloat } from '../../utils/number';\nimport { omit, sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { toString } from '../../utils/string';\nimport { formSizeMixin, props as formSizeProps } from '../../mixins/form-size';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { normalizeSlotMixin } from '../../mixins/normalize-slot';\nimport { props as formControlProps } from '../../mixins/form-control';\nimport { BIcon } from '../../icons/icon';\nimport { BIconStar, BIconStarHalf, BIconStarFill, BIconX } from '../../icons/icons'; // --- Constants ---\n\nvar _makeModelMixin = makeModelMixin('value', {\n type: PROP_TYPE_NUMBER_STRING,\n event: EVENT_NAME_CHANGE\n}),\n modelMixin = _makeModelMixin.mixin,\n modelProps = _makeModelMixin.props,\n MODEL_PROP_NAME = _makeModelMixin.prop,\n MODEL_EVENT_NAME = _makeModelMixin.event;\n\nvar MIN_STARS = 3;\nvar DEFAULT_STARS = 5; // --- Helper methods ---\n\nvar computeStars = function computeStars(stars) {\n return mathMax(MIN_STARS, toInteger(stars, DEFAULT_STARS));\n};\n\nvar clampValue = function clampValue(value, min, max) {\n return mathMax(mathMin(value, max), min);\n}; // --- Helper components ---\n// @vue/component\n\n\nvar BVFormRatingStar = Vue.extend({\n name: NAME_FORM_RATING_STAR,\n mixins: [normalizeSlotMixin],\n props: {\n disabled: makeProp(PROP_TYPE_BOOLEAN, false),\n // If parent is focused\n focused: makeProp(PROP_TYPE_BOOLEAN, false),\n hasClear: makeProp(PROP_TYPE_BOOLEAN, false),\n rating: makeProp(PROP_TYPE_NUMBER, 0),\n readonly: makeProp(PROP_TYPE_BOOLEAN, false),\n star: makeProp(PROP_TYPE_NUMBER, 0),\n variant: makeProp(PROP_TYPE_STRING)\n },\n methods: {\n onClick: function onClick(event) {\n if (!this.disabled && !this.readonly) {\n stopEvent(event, {\n propagation: false\n });\n this.$emit(EVENT_NAME_SELECTED, this.star);\n }\n }\n },\n render: function render(h) {\n var rating = this.rating,\n star = this.star,\n focused = this.focused,\n hasClear = this.hasClear,\n variant = this.variant,\n disabled = this.disabled,\n readonly = this.readonly;\n var minStar = hasClear ? 0 : 1;\n var type = rating >= star ? 'full' : rating >= star - 0.5 ? 'half' : 'empty';\n var slotScope = {\n variant: variant,\n disabled: disabled,\n readonly: readonly\n };\n return h('span', {\n staticClass: 'b-rating-star',\n class: {\n // When not hovered, we use this class to focus the current (or first) star\n focused: focused && rating === star || !toInteger(rating) && star === minStar,\n // We add type classes to we can handle RTL styling\n 'b-rating-star-empty': type === 'empty',\n 'b-rating-star-half': type === 'half',\n 'b-rating-star-full': type === 'full'\n },\n attrs: {\n tabindex: !disabled && !readonly ? '-1' : null\n },\n on: {\n click: this.onClick\n }\n }, [h('span', {\n staticClass: 'b-rating-icon'\n }, [this.normalizeSlot(type, slotScope)])]);\n }\n}); // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, idProps), modelProps), omit(formControlProps, ['required', 'autofocus'])), formSizeProps), {}, {\n // CSS color string (overrides variant)\n color: makeProp(PROP_TYPE_STRING),\n iconClear: makeProp(PROP_TYPE_STRING, 'x'),\n iconEmpty: makeProp(PROP_TYPE_STRING, 'star'),\n iconFull: makeProp(PROP_TYPE_STRING, 'star-fill'),\n iconHalf: makeProp(PROP_TYPE_STRING, 'star-half'),\n inline: makeProp(PROP_TYPE_BOOLEAN, false),\n // Locale for the formatted value (if shown)\n // Defaults to the browser locale. Falls back to `en`\n locale: makeProp(PROP_TYPE_ARRAY_STRING),\n noBorder: makeProp(PROP_TYPE_BOOLEAN, false),\n precision: makeProp(PROP_TYPE_NUMBER_STRING),\n readonly: makeProp(PROP_TYPE_BOOLEAN, false),\n showClear: makeProp(PROP_TYPE_BOOLEAN, false),\n showValue: makeProp(PROP_TYPE_BOOLEAN, false),\n showValueMax: makeProp(PROP_TYPE_BOOLEAN, false),\n stars: makeProp(PROP_TYPE_NUMBER_STRING, DEFAULT_STARS, function (value) {\n return toInteger(value) >= MIN_STARS;\n }),\n variant: makeProp(PROP_TYPE_STRING)\n})), NAME_FORM_RATING); // --- Main component ---\n// @vue/component\n\nexport var BFormRating = /*#__PURE__*/Vue.extend({\n name: NAME_FORM_RATING,\n components: {\n BIconStar: BIconStar,\n BIconStarHalf: BIconStarHalf,\n BIconStarFill: BIconStarFill,\n BIconX: BIconX\n },\n mixins: [idMixin, modelMixin, formSizeMixin],\n props: props,\n data: function data() {\n var value = toFloat(this[MODEL_PROP_NAME], null);\n var stars = computeStars(this.stars);\n return {\n localValue: isNull(value) ? null : clampValue(value, 0, stars),\n hasFocus: false\n };\n },\n computed: {\n computedStars: function computedStars() {\n return computeStars(this.stars);\n },\n computedRating: function computedRating() {\n var value = toFloat(this.localValue, 0);\n var precision = toInteger(this.precision, 3); // We clamp the value between `0` and stars\n\n return clampValue(toFloat(value.toFixed(precision)), 0, this.computedStars);\n },\n computedLocale: function computedLocale() {\n var locales = concat(this.locale).filter(identity);\n var nf = new Intl.NumberFormat(locales);\n return nf.resolvedOptions().locale;\n },\n isInteractive: function isInteractive() {\n return !this.disabled && !this.readonly;\n },\n isRTL: function isRTL() {\n return isLocaleRTL(this.computedLocale);\n },\n formattedRating: function formattedRating() {\n var precision = toInteger(this.precision);\n var showValueMax = this.showValueMax;\n var locale = this.computedLocale;\n var formatOptions = {\n notation: 'standard',\n minimumFractionDigits: isNaN(precision) ? 0 : precision,\n maximumFractionDigits: isNaN(precision) ? 3 : precision\n };\n var stars = this.computedStars.toLocaleString(locale);\n var value = this.localValue;\n value = isNull(value) ? showValueMax ? '-' : '' : value.toLocaleString(locale, formatOptions);\n return showValueMax ? \"\".concat(value, \"/\").concat(stars) : value;\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n var value = toFloat(newValue, null);\n this.localValue = isNull(value) ? null : clampValue(value, 0, this.computedStars);\n }\n }), _defineProperty(_watch, \"localValue\", function localValue(newValue, oldValue) {\n if (newValue !== oldValue && newValue !== (this.value || 0)) {\n this.$emit(MODEL_EVENT_NAME, newValue || null);\n }\n }), _defineProperty(_watch, \"disabled\", function disabled(newValue) {\n if (newValue) {\n this.hasFocus = false;\n this.blur();\n }\n }), _watch),\n methods: {\n // --- Public methods ---\n focus: function focus() {\n if (!this.disabled) {\n attemptFocus(this.$el);\n }\n },\n blur: function blur() {\n if (!this.disabled) {\n attemptBlur(this.$el);\n }\n },\n // --- Private methods ---\n onKeydown: function onKeydown(event) {\n var keyCode = event.keyCode;\n\n if (this.isInteractive && arrayIncludes([CODE_LEFT, CODE_DOWN, CODE_RIGHT, CODE_UP], keyCode)) {\n stopEvent(event, {\n propagation: false\n });\n var value = toInteger(this.localValue, 0);\n var min = this.showClear ? 0 : 1;\n var stars = this.computedStars; // In RTL mode, LEFT/RIGHT are swapped\n\n var amountRtl = this.isRTL ? -1 : 1;\n\n if (keyCode === CODE_LEFT) {\n this.localValue = clampValue(value - amountRtl, min, stars) || null;\n } else if (keyCode === CODE_RIGHT) {\n this.localValue = clampValue(value + amountRtl, min, stars);\n } else if (keyCode === CODE_DOWN) {\n this.localValue = clampValue(value - 1, min, stars) || null;\n } else if (keyCode === CODE_UP) {\n this.localValue = clampValue(value + 1, min, stars);\n }\n }\n },\n onSelected: function onSelected(value) {\n if (this.isInteractive) {\n this.localValue = value;\n }\n },\n onFocus: function onFocus(event) {\n this.hasFocus = !this.isInteractive ? false : event.type === 'focus';\n },\n // --- Render methods ---\n renderIcon: function renderIcon(icon) {\n return this.$createElement(BIcon, {\n props: {\n icon: icon,\n variant: this.disabled || this.color ? null : this.variant || null\n }\n });\n },\n iconEmptyFn: function iconEmptyFn() {\n return this.renderIcon(this.iconEmpty);\n },\n iconHalfFn: function iconHalfFn() {\n return this.renderIcon(this.iconHalf);\n },\n iconFullFn: function iconFullFn() {\n return this.renderIcon(this.iconFull);\n },\n iconClearFn: function iconClearFn() {\n return this.$createElement(BIcon, {\n props: {\n icon: this.iconClear\n }\n });\n }\n },\n render: function render(h) {\n var _this = this;\n\n var disabled = this.disabled,\n readonly = this.readonly,\n name = this.name,\n form = this.form,\n inline = this.inline,\n variant = this.variant,\n color = this.color,\n noBorder = this.noBorder,\n hasFocus = this.hasFocus,\n computedRating = this.computedRating,\n computedStars = this.computedStars,\n formattedRating = this.formattedRating,\n showClear = this.showClear,\n isRTL = this.isRTL,\n isInteractive = this.isInteractive,\n $scopedSlots = this.$scopedSlots;\n var $content = [];\n\n if (showClear && !disabled && !readonly) {\n var $icon = h('span', {\n staticClass: 'b-rating-icon'\n }, [($scopedSlots[SLOT_NAME_ICON_CLEAR] || this.iconClearFn)()]);\n $content.push(h('span', {\n staticClass: 'b-rating-star b-rating-star-clear flex-grow-1',\n class: {\n focused: hasFocus && computedRating === 0\n },\n attrs: {\n tabindex: isInteractive ? '-1' : null\n },\n on: {\n click: function click() {\n return _this.onSelected(null);\n }\n },\n key: 'clear'\n }, [$icon]));\n }\n\n for (var index = 0; index < computedStars; index++) {\n var value = index + 1;\n $content.push(h(BVFormRatingStar, {\n staticClass: 'flex-grow-1',\n style: color && !disabled ? {\n color: color\n } : {},\n props: {\n rating: computedRating,\n star: value,\n variant: disabled ? null : variant || null,\n disabled: disabled,\n readonly: readonly,\n focused: hasFocus,\n hasClear: showClear\n },\n on: {\n selected: this.onSelected\n },\n scopedSlots: {\n empty: $scopedSlots[SLOT_NAME_ICON_EMPTY] || this.iconEmptyFn,\n half: $scopedSlots[SLOT_NAME_ICON_HALF] || this.iconHalfFn,\n full: $scopedSlots[SLOT_NAME_ICON_FULL] || this.iconFullFn\n },\n key: index\n }));\n }\n\n if (name) {\n $content.push(h('input', {\n attrs: {\n type: 'hidden',\n value: isNull(this.localValue) ? '' : computedRating,\n name: name,\n form: form || null\n },\n key: 'hidden'\n }));\n }\n\n if (this.showValue) {\n $content.push(h('b', {\n staticClass: 'b-rating-value flex-grow-1',\n attrs: {\n 'aria-hidden': 'true'\n },\n key: 'value'\n }, toString(formattedRating)));\n }\n\n return h('output', {\n staticClass: 'b-rating form-control align-items-center',\n class: [{\n 'd-inline-flex': inline,\n 'd-flex': !inline,\n 'border-0': noBorder,\n disabled: disabled,\n readonly: !disabled && readonly\n }, this.sizeFormClass],\n attrs: {\n id: this.safeId(),\n dir: isRTL ? 'rtl' : 'ltr',\n tabindex: disabled ? null : '0',\n disabled: disabled,\n role: 'slider',\n 'aria-disabled': disabled ? 'true' : null,\n 'aria-readonly': !disabled && readonly ? 'true' : null,\n 'aria-live': 'off',\n 'aria-valuemin': showClear ? '0' : '1',\n 'aria-valuemax': toString(computedStars),\n 'aria-valuenow': computedRating ? toString(computedRating) : null\n },\n on: {\n keydown: this.onKeydown,\n focus: this.onFocus,\n blur: this.onFocus\n }\n }, $content);\n }\n});","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\n\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar re = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = string.charAt(offset - 1);\n var next = string.charAt(offset + 1);\n if ((low.test(match) && !hi.test(next)) || (hi.test(match) && !low.test(prev))) {\n return '\\\\u' + match.charCodeAt(0).toString(16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars\n stringify: function stringify(it, replacer, space) {\n var result = $stringify.apply(null, arguments);\n return typeof result == 'string' ? result.replace(re, fix) : result;\n }\n });\n}\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ValidationObserver',{ref:\"form-evaluation-validation-observer\"},[_c('b-tabs',{ref:\"form-response-tabs\",staticClass:\"form-tabs\",model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},_vm._l((_vm.formData),function(section,sectionIndex){return _c('b-tab',{key:section.key,attrs:{\"content-class\":\"mt-2\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('b-badge',{staticClass:\"mr-50\",attrs:{\"variant\":\"light-primary\"}},[_vm._v(\" S\"+_vm._s(sectionIndex + 1)+\". \")]),_vm._v(\" \"+_vm._s(section.title)+\" \")]},proxy:true}],null,true)},[_vm._l((section.questions),function(question,qIndex){return _c('div',{key:question.key,staticClass:\"my-1 border-bottom-light border-bottom-2\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"question-number mr-50\"},[_c('h5',[_vm._v(\"Q\"+_vm._s(qIndex + 1)+\".\")])]),_c('div',{staticClass:\"flex-grow-1\"},[_c('b-form-group',{staticClass:\"mb-1\"},[_c('label',{staticClass:\"h5 d-flex align-items-center mb-0\",attrs:{\"id\":(\"label-\" + (question.key)),\"for\":question.key}},[_c('span',{domProps:{\"textContent\":_vm._s(question.question)}}),(question.isRequired)?_c('span',{staticClass:\"text-danger ml-25\",attrs:{\"aria-label\":\"Required\"}},[_vm._v(\"*\")]):_vm._e()])]),(!_vm.getResponseValue(question.id))?_c('p',[_c('em',[_vm._v(\"No response\")])]):_c('div',[(_vm.isFileType(question.inputType))?_c('Promised',{attrs:{\"promise\":_vm.getLinkFromS3(_vm.getResponseValue(question.id))},scopedSlots:_vm._u([{key:\"combined\",fn:function(ref){\nvar data = ref.data;\nreturn [(data)?_c('b-button',{attrs:{\"href\":_vm.prependHttps(data),\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"variant\":\"outline-primary\"}},[_c('small',[_c('FeatherIcon',{attrs:{\"icon\":\"FileIcon\"}}),_vm._v(\" View Uploaded File \")],1)]):_vm._e()]}}],null,true)}):(question.inputType === 'url')?_c('p',[_c('b-link',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",value:('External Link! Open with caution.'),expression:\"'External Link! Open with caution.'\",modifiers:{\"hover\":true}}],attrs:{\"href\":_vm.getResponseValue(question.id),\"rel\":\"noopener noreferrer\",\"target\":\"_blank\"}},[_vm._v(\" \"+_vm._s(_vm.getResponseValue(question.id))+\" \")])],1):_c('p',[_vm._v(\" \"+_vm._s(_vm.getResponseValue(question.id))+\" \")])],1),(!_vm.hideEvaluation)?_c('div',[(_vm.getResponseValue(question.id))?_c('ValidationProvider',{attrs:{\"rules\":_vm.required},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-form-group',{attrs:{\"label-for\":(\"score-\" + (question.key)),\"label\":\"Score\"}},[_c('b-form-rating',{attrs:{\"id\":(\"score-\" + (question.key)),\"readonly\":!_vm.canEdit,\"value\":_vm.getScore(question.id),\"inline\":\"\",\"show-value\":\"\",\"show-value-max\":\"\",\"stars\":\"10\",\"variant\":\"warning\"},on:{\"change\":function($event){return _vm.updateEvaluation(question.id, { score: $event })}}})],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}],null,true)}):_vm._e(),(_vm.getResponseValue(question.id))?_c('b-form-group',{attrs:{\"label-for\":(\"comment-\" + (question.key)),\"label\":\"Comment (Optional)\"}},[_c('b-form-textarea',{attrs:{\"id\":(\"comment-\" + (question.key)),\"plaintext\":!_vm.canEdit,\"value\":_vm.getComment(question.id)},on:{\"input\":function($event){return _vm.updateEvaluation(question.id, { comment: $event })}}})],1):_vm._e()],1):_vm._e()],1)])])}),_c('div',{staticClass:\"d-flex justify-content-between mt-2\"},[(sectionIndex > 0)?_c('b-button',{attrs:{\"variant\":\"outline-primary\"},on:{\"click\":function($event){_vm.activeTab--}}},[_vm._v(\" Previous \")]):_vm._e(),_c('div',{staticClass:\"ml-auto\"},[(!_vm.isLastSection(sectionIndex))?_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){_vm.activeTab++}}},[_vm._v(\" Next \")]):(_vm.canEdit)?_c('b-button',{attrs:{\"variant\":\"success\"},on:{\"click\":_vm.handleSubmit}},[_vm._v(\" Submit \")]):_vm._e()],1)],1)],2)}),1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormEvaluation.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormEvaluation.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FormEvaluation.vue?vue&type=template&id=635bd871\"\nimport script from \"./FormEvaluation.vue?vue&type=script&lang=js\"\nexport * from \"./FormEvaluation.vue?vue&type=script&lang=js\"\nimport style0 from \"./FormEvaluation.vue?vue&type=style&index=0&id=635bd871&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}