{"version":3,"sources":["webpack:///./src/components/UI/ReviewScore.vue","webpack:///src/components/UI/ReviewScore.vue","webpack:///./src/components/UI/ReviewScore.vue?91d1","webpack:///./src/components/UI/ReviewScore.vue?ad58","webpack:///./src/components/Dashboards/ReviewScore.vue","webpack:///src/components/Dashboards/ReviewScore.vue","webpack:///./src/components/Dashboards/ReviewScore.vue?e233","webpack:///./src/components/Dashboards/ReviewScore.vue?f460","webpack:///./src/components/Dashboards/ReviewScore.vue?495c","webpack:///./node_modules/core-js/modules/web.self.js","webpack:///./src/components/UI/ReviewScore.vue?07d3"],"names":["render","_vm","this","_c","_self","staticClass","style","concat","size","staticStyle","attrs","score","staticRenderFns","props","type","Number","default","component","isLoading","key","splitMonths","_e","_l","reviewScores","reviewScore","index","_v","_s","$t","MeetingtypeId","on","goToReviewReport","Score","NrOfReviews","months","month","class","hasMonthReviews","$event","reviewMonthSelected","year","_f","$i18n","locale","reviewScoresMonthFiltered","StarRate","domProps","$tc","channelId","companyId","locationId","meetingtypeId","Date","getMonth","profileId","showHeader","Boolean","getFullYear","components","UiReviewScore","data","mMonth","mYear","watch","handler","val","getReviewScores","created","computed","_objectSpread","mapState","methods","self","statsProvider","then","response","status","catch","e","finally","length","filter","r","Month","push","Year","$emit","returnMeetingtypeReviewScore","meetingtype","find","$router","name","$","globalThis","defineBuiltInAccessor","DESCRIPTORS","$TypeError","TypeError","defineProperty","Object","INCORRECT_VALUE","descriptor","getOwnPropertyDescriptor","get","enumerable","set","value","writable","configurable","global","simple","forced","error"],"mappings":"0MAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,wDAAwDC,MAAK,UAAAC,OAAuB,EAAXN,EAAIO,KAAQ,gBAAAD,OAAeN,EAAIO,KAAI,OAAO,CAACL,EAAG,MAAM,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACM,YAAY,CAAC,KAAO,eAAe,YAAY,UA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CACjCa,MAAOA,EACPC,UAAU,EACVC,cAAc,EACdJ,YAAY,KAGhBI,cAAc,EACdJ,YAAY,SAGXZ,EAAE,CAAEiB,QAAQ,EAAMC,QAAQ,EAAMC,OAAQX,GAAmB,CAChE5B,KAAMqB,IAER,MAAOmB,M,kCCxCT","file":"js/chunk-1b7c7e20.js?id=d702f3ee5c2959307ae1","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"barContainer is-inline-flex has-background-grey-light\",style:(`width: ${_vm.size * 5}px; height: ${_vm.size}px`)},[_c('div',{staticClass:\"iconBar is-inline-flex\"},[_c('svg',{staticStyle:{\"fill\":\"currentColor\",\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"2\"},attrs:{\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xml:space\":\"preserve\",\"xmlns:serif\":\"http://www.serif.com/\"}},[_c('path',{attrs:{\"d\":\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\"}})]),_c('svg',{staticStyle:{\"fill\":\"currentColor\",\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"2\"},attrs:{\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xml:space\":\"preserve\",\"xmlns:serif\":\"http://www.serif.com/\"}},[_c('path',{attrs:{\"d\":\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\"}})]),_c('svg',{staticStyle:{\"fill\":\"currentColor\",\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"2\"},attrs:{\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xml:space\":\"preserve\",\"xmlns:serif\":\"http://www.serif.com/\"}},[_c('path',{attrs:{\"d\":\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\"}})]),_c('svg',{staticStyle:{\"fill\":\"currentColor\",\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"2\"},attrs:{\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xml:space\":\"preserve\",\"xmlns:serif\":\"http://www.serif.com/\"}},[_c('path',{attrs:{\"d\":\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\"}})]),_c('svg',{staticStyle:{\"fill\":\"currentColor\",\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"2\"},attrs:{\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xml:space\":\"preserve\",\"xmlns:serif\":\"http://www.serif.com/\"}},[_c('path',{attrs:{\"d\":\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\"}})])]),_c('div',{staticClass:\"scoreBar has-background-success\",style:(`width: ${_vm.score}%;`)})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div\n    class=\"barContainer is-inline-flex has-background-grey-light\"\n    :style=\"`width: ${size * 5}px; height: ${size}px`\"\n  >\n    <div class=\"iconBar is-inline-flex\">\n      <svg\n        :width=\"size\"\n        :height=\"size\"\n        viewBox=\"0 0 16 16\"\n        version=\"1.1\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n        xml:space=\"preserve\"\n        xmlns:serif=\"http://www.serif.com/\"\n        style=\"fill: currentColor; fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;\"\n      >\n        <path d=\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\" />\n      </svg>\n\n      <svg\n        :width=\"size\"\n        :height=\"size\"\n        viewBox=\"0 0 16 16\"\n        version=\"1.1\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n        xml:space=\"preserve\"\n        xmlns:serif=\"http://www.serif.com/\"\n        style=\"fill: currentColor; fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;\"\n      >\n        <path d=\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\" />\n      </svg>\n\n      <svg\n        :width=\"size\"\n        :height=\"size\"\n        viewBox=\"0 0 16 16\"\n        version=\"1.1\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n        xml:space=\"preserve\"\n        xmlns:serif=\"http://www.serif.com/\"\n        style=\"fill: currentColor; fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;\"\n      >\n        <path d=\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\" />\n      </svg>\n\n      <svg\n        :width=\"size\"\n        :height=\"size\"\n        viewBox=\"0 0 16 16\"\n        version=\"1.1\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n        xml:space=\"preserve\"\n        xmlns:serif=\"http://www.serif.com/\"\n        style=\"fill: currentColor; fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;\"\n      >\n        <path d=\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\" />\n      </svg>\n\n      <svg\n        :width=\"size\"\n        :height=\"size\"\n        viewBox=\"0 0 16 16\"\n        version=\"1.1\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n        xml:space=\"preserve\"\n        xmlns:serif=\"http://www.serif.com/\"\n        style=\"fill: currentColor; fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;\"\n      >\n        <path d=\"M16,0l0,16l-16,0l0,-16l16,0Zm-8,0c4.415,0 8,3.585 8,8c0,4.415 -3.585,8 -8,8c-4.415,0 -8,-3.585 -8,-8c0,-4.415 3.585,-8 8,-8Z\" />\n      </svg>\n    </div>\n    <div\n      class=\"scoreBar has-background-success\"\n      :style=\"`width: ${score}%;`\"\n    ></div>\n  </div>\n</template>\n\n<script>\nexport default {\n  props: {\n    size: {\n      type: Number,\n      default: 24\n    },\n    score: {\n      type: Number,\n      default: 0\n    }\n  }\n}\n</script>\n\n\n<style lang=\"scss\" scoped>\n.barContainer {\n  flex-wrap: nowrap;\n  position: relative;\n\n  .iconBar {\n    flex-wrap: nowrap;\n    position: absolute;\n    z-index: 1;\n  }\n\n  .scoreBar {\n    position: absolute;\n    height: 100%;\n    z-index: 0;\n  }\n}\n</style>\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!./ReviewScore.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!./ReviewScore.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReviewScore.vue?vue&type=template&id=640d5988&scoped=true\"\nimport script from \"./ReviewScore.vue?vue&type=script&lang=js\"\nexport * from \"./ReviewScore.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReviewScore.vue?vue&type=style&index=0&id=640d5988&prod&lang=scss&scoped=true\"\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  \"640d5988\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.isLoading)?_c('ui-loader',{key:\"loading\"}):_c('div',{key:\"ready\"},[(!_vm.splitMonths)?_c('div',_vm._l((_vm.reviewScores),function(reviewScore,index){return _c('div',{key:index},[(reviewScore)?_c('div',{staticClass:\"bar is-inline-block has-margin-bottom\"},[_c('div',{staticClass:\"has-text-weight-bold has-margin-bottom-half\"},[_vm._v(\" \"+_vm._s(_vm.$t(`General.MeetingType${reviewScore.MeetingtypeId}_Name`))+\" \"+_vm._s(_vm.$t( 'Components.Dashboards.ReviewScore.Word_ReviewScoreLowerCase' ))+\" \")]),_c('div',[_c('a',{on:{\"click\":_vm.goToReviewReport}},[_c('ui-review-score',{staticClass:\"has-text-white\",attrs:{\"score\":reviewScore.Score,\"size\":32}})],1)]),_c('div',[_vm._v(\" \"+_vm._s(reviewScore.NrOfReviews)+\" \"+_vm._s(_vm.$t('Components.Dashboards.ReviewScore.Word_ReviewsLowerCase'))+\" \")])]):_vm._e()])}),0):_vm._e(),(_vm.splitMonths)?_c('div',{staticClass:\"columns is-multiline\"},_vm._l((_vm.months),function(month){return _c('div',{key:month,staticClass:\"column is-one-half-tablet is-one-third-desktop is-one-quarter-widescreen\"},[_c('div',{staticClass:\"box\",class:!_vm.hasMonthReviews(month) ? 'elm-is-disabled' : 'has-hover',on:{\"click\":function($event){return _vm.reviewMonthSelected(month, _vm.year)}}},[(_vm.splitMonths)?_c('div',{staticClass:\"title is-3\"},[_vm._v(\" \"+_vm._s(_vm._f(\"getMonthName\")(month,_vm.$i18n.locale))+\" \")]):_vm._e(),_vm._l((_vm.reviewScoresMonthFiltered(month)),function(reviewScore,index){return _c('div',{key:'type_' + index,class:{ 'has-margin-top': index !== 0 }},[_c('div',{staticClass:\"has-text-weight-bold\"},[_c('span',{staticClass:\"badge has-badge-warning has-badge-inline has-badge-normal has-margin-right\",attrs:{\"data-badge\":reviewScore.StarRate}},[_vm._v(\" \"+_vm._s(_vm.$t(`General.MeetingType${reviewScore.MeetingtypeId}_Name`)))])]),_c('div',{staticClass:\"bar is-inline-block\"},[_c('ui-review-score',{staticClass:\"has-text-white\",attrs:{\"score\":reviewScore.Score,\"size\":24}})],1),_c('div',[_c('span',{domProps:{\"textContent\":_vm._s(\n                    _vm.$tc(\n                      'Components.Dashboards.ReviewScore.Text_Reviews',\n                      reviewScore.NrOfReviews\n                    )\n                  )}})])])})],2)])}),0):_vm._e()])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <transition name=\"fade\" mode=\"out-in\">\n      <ui-loader v-if=\"isLoading\" key=\"loading\" />\n      <div v-else key=\"ready\">\n        <!-- <p\n          v-if=\"showHeader\"\n          class=\"title\"\n        >\n          {{ $t('Components.Dashboards.ReviewScore.Main_Title') }}\n        </p> -->\n\n        <div v-if=\"!splitMonths\">\n          <div v-for=\"(reviewScore, index) in reviewScores\" :key=\"index\">\n            <div\n              v-if=\"reviewScore\"\n              class=\"bar is-inline-block has-margin-bottom\"\n            >\n              <div class=\"has-text-weight-bold has-margin-bottom-half\">\n                {{ $t(`General.MeetingType${reviewScore.MeetingtypeId}_Name`) }}\n                {{\n                  $t(\n                    'Components.Dashboards.ReviewScore.Word_ReviewScoreLowerCase'\n                  )\n                }}\n              </div>\n              <div>\n                <a @click=\"goToReviewReport\">\n                  <ui-review-score\n                    :score=\"reviewScore.Score\"\n                    :size=\"32\"\n                    class=\"has-text-white\"\n                  />\n                </a>\n              </div>\n              <div>\n                {{ reviewScore.NrOfReviews }}\n                {{\n                  $t('Components.Dashboards.ReviewScore.Word_ReviewsLowerCase')\n                }}\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div v-if=\"splitMonths\" class=\"columns is-multiline\">\n          <div\n            v-for=\"month in months\"\n            :key=\"month\"\n            class=\"column is-one-half-tablet is-one-third-desktop is-one-quarter-widescreen\"\n          >\n            <div\n              class=\"box\"\n              :class=\"!hasMonthReviews(month) ? 'elm-is-disabled' : 'has-hover'\"\n              @click=\"reviewMonthSelected(month, year)\"\n            >\n              <div class=\"title is-3\" v-if=\"splitMonths\">\n                {{ month | getMonthName($i18n.locale) }}\n              </div>\n              <div\n                v-for=\"(reviewScore, index) in reviewScoresMonthFiltered(month)\"\n                :key=\"'type_' + index\"\n                :class=\"{ 'has-margin-top': index !== 0 }\"\n              >\n                <div class=\"has-text-weight-bold\">\n                  <span\n                    :data-badge=\"reviewScore.StarRate\"\n                    class=\"badge has-badge-warning has-badge-inline has-badge-normal has-margin-right\"\n                  >\n                    {{\n                      $t(`General.MeetingType${reviewScore.MeetingtypeId}_Name`)\n                    }}</span\n                  >\n                </div>\n                <div class=\"bar is-inline-block\">\n                  <ui-review-score\n                    :score=\"reviewScore.Score\"\n                    :size=\"24\"\n                    class=\"has-text-white\"\n                  />\n                </div>\n                <div>\n                  <span\n                    v-text=\"\n                      $tc(\n                        'Components.Dashboards.ReviewScore.Text_Reviews',\n                        reviewScore.NrOfReviews\n                      )\n                    \"\n                  ></span>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </transition>\n  </div>\n</template>\n\n<script>\nimport { mapState } from 'vuex'\nimport UiReviewScore from '@/components/UI/ReviewScore'\nimport statsProvider from '@/providers/stats'\n\nexport default {\n  props: {\n    channelId: {\n      default: 0,\n      type: Number,\n    },\n\n    companyId: {\n      default: 0,\n      type: Number,\n    },\n\n    locationId: {\n      default: 0,\n      type: Number,\n    },\n\n    meetingtypeId: {\n      default: 0,\n      type: Number,\n    },\n\n    month: {\n      default: new Date().getMonth() + 1,\n      type: Number,\n    },\n\n    profileId: {\n      default: 0,\n      type: Number,\n    },\n\n    showHeader: {\n      default: false,\n      type: Boolean,\n    },\n\n    splitMonths: {\n      default: false,\n      type: Boolean,\n    },\n\n    year: {\n      default: new Date().getFullYear(),\n      type: Number,\n    },\n  },\n\n  components: {\n    'ui-review-score': UiReviewScore,\n  },\n\n  data() {\n    return {\n      isLoading: true,\n      months: [],\n      mMonth: this.month,\n      mYear: this.year,\n      reviewScores: [],\n    }\n  },\n\n  watch: {\n    year: {\n      handler: function(val) {\n        this.mYear = val\n        this.getReviewScores()\n      },\n    },\n  },\n\n  created() {\n    if (this.splitMonths) {\n      // if (new Date().getFullYear() === this.mYear) {\n      //   for (let i = 1; i <= new Date().getMonth() + 1; i++) {\n      //     this.months.push(i)\n      //   }\n      // } else {\n      this.months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\n      //}\n    }\n\n    this.getReviewScores()\n  },\n\n  computed: {\n    ...mapState('locationStore', ['locationState']),\n  },\n\n  methods: {\n    getReviewScores() {\n      let self = this\n      self.isLoading = true\n\n      statsProvider.methods\n        .getReviewScores(\n          self.channelId,\n          self.locationId,\n          self.meetingtypeId,\n          self.companyId,\n          self.profileId,\n          self.mMonth,\n          self.mYear,\n          self.splitMonths\n        )\n        .then((response) => {\n          if (response.status === 200) {\n            self.reviewScores = response.data\n          }\n        })\n        .catch((e) => {\n          //console.log(e)\n        })\n        .finally(() => {\n          self.isLoading = false\n        })\n    },\n\n    reviewScoresMonthFiltered(month) {\n      let data = []\n\n      if (this.reviewScores && this.reviewScores.length > 0) {\n        data = this.reviewScores.filter((r) => r.Month === month)\n      }\n\n      if (data.length === 0) {\n        data.push({\n          MeetingtypeId: 1,\n          Month: month,\n          Year: self.mYear,\n          Score: 0,\n          NrOfReviews: 0,\n          StarRate: 0,\n        })\n        data.push({\n          MeetingtypeId: 2,\n          Month: month,\n          Year: self.mYear,\n          Score: 0,\n          NrOfReviews: 0,\n          StarRate: 0,\n        })\n      }\n\n      return data\n    },\n\n    hasMonthReviews(month) {\n      if (this.reviewScores && this.reviewScores.length > 0) {\n        return Boolean(\n          this.reviewScores.filter((r) => r.Month === month).length\n        )\n      }\n      return false\n    },\n\n    reviewMonthSelected(month, year) {\n      if (this.hasMonthReviews(month)) {\n        this.$emit('reviewMonthSelected', { month: month, year: year })\n      }\n    },\n\n    returnMeetingtypeReviewScore(meetingtype) {\n      let reviewScore = this.reviewScores.find(\n        (r) => r.MeetingtypeId === meetingtype.MeetingtypeId\n      )\n      if (reviewScore) {\n        return reviewScore\n      }\n      return null\n    },\n\n    goToReviewReport() {\n      this.$router.push({\n        name: `reports-reviewscores`,\n      })\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.bar {\n  position: relative;\n  .starRating {\n    position: absolute;\n    left: 0;\n    height: 100%;\n    width: 100%;\n    text-align: center;\n    color: white;\n    z-index: 1;\n  }\n}\ntable {\n  width: 100%;\n}\n.column {\n  .box {\n    height: 100%;\n  }\n  // width: 24%;\n\n  // @media screen and (max-width: 1420px) {\n  //   width: 32%;\n  // }\n\n  // @media screen and (max-width: 1160px) {\n  //   width: 48%;\n  // }\n\n  // @media screen and (max-width: 900px) {\n  //   width: 100%;\n  // }\n}\n</style>\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!./ReviewScore.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!./ReviewScore.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReviewScore.vue?vue&type=template&id=6da4f164&scoped=true\"\nimport script from \"./ReviewScore.vue?vue&type=script&lang=js\"\nexport * from \"./ReviewScore.vue?vue&type=script&lang=js\"\nimport style0 from \"./ReviewScore.vue?vue&type=style&index=0&id=6da4f164&prod&lang=scss&scoped=true\"\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  \"6da4f164\",\n  null\n  \n)\n\nexport default component.exports","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!./ReviewScore.vue?vue&type=style&index=0&id=6da4f164&prod&lang=scss&scoped=true\"","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar INCORRECT_VALUE = globalThis.self !== globalThis;\n\n// `self` getter\n// https://html.spec.whatwg.org/multipage/window-object.html#dom-self\ntry {\n  if (DESCRIPTORS) {\n    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n    var descriptor = Object.getOwnPropertyDescriptor(globalThis, 'self');\n    // some engines have `self`, but with incorrect descriptor\n    // https://github.com/denoland/deno/issues/15765\n    if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {\n      defineBuiltInAccessor(globalThis, 'self', {\n        get: function self() {\n          return globalThis;\n        },\n        set: function self(value) {\n          if (this !== globalThis) throw new $TypeError('Illegal invocation');\n          defineProperty(globalThis, 'self', {\n            value: value,\n            writable: true,\n            configurable: true,\n            enumerable: true\n          });\n        },\n        configurable: true,\n        enumerable: true\n      });\n    }\n  } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {\n    self: globalThis\n  });\n} catch (error) { /* empty */ }\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!./ReviewScore.vue?vue&type=style&index=0&id=640d5988&prod&lang=scss&scoped=true\""],"sourceRoot":""}