exports.ids = [17];
exports.modules = {

/***/ 208:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

/***/ 228:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Dropdown.vue?vue&type=template&id=deaa7f14
var render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c('div', [_vm._ssrNode("<div class=\"drop_down\"><p class=\"text-14 FF_Rubik-light text-center cursor_pointer pt-1 mb-1\">" + _vm._ssrEscape(_vm._s(_vm.buttonText)) + "</p> " + (_vm.dropDown ? "<div><p class=\"text-16 FF_Manrope text-center cursor_pointer\">All ratings</p> <p class=\"text-16 FF_Manrope text-center grey--text mb-1 cursor_pointer\">" + _vm._ssrEscape("1 star(" + _vm._s(_vm.filteredReviews(1).length) + ")") + "</p> <p class=\"text-16 FF_Manrope text-center grey--text mb-1 cursor_pointer\">" + _vm._ssrEscape("2 stars (" + _vm._s(_vm.filteredReviews(2).length) + ")") + "</p> <p class=\"text-16 FF_Manrope text-center grey--text mb-1 cursor_pointer\">" + _vm._ssrEscape("3 stars (" + _vm._s(_vm.filteredReviews(3).length) + ")") + "</p> <p class=\"text-16 FF_Manrope text-center mb-1 cursor_pointer\">" + _vm._ssrEscape("4 stars (" + _vm._s(_vm.filteredReviews(4).length) + ")") + "</p> <p class=\"text-16 FF_Manrope text-center grey--text mb-1 cursor_pointer\">" + _vm._ssrEscape("5 stars (" + _vm._s(_vm.filteredReviews(5).length) + ")") + "</p></div>" : "<!---->") + "</div>")]);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/Dropdown.vue?vue&type=template&id=deaa7f14

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Dropdown.vue?vue&type=script&lang=js
/* harmony default export */ var Dropdownvue_type_script_lang_js = ({
  props: ['reviews'],
  data() {
    return {
      selectedRating: '',
      dropDown: false,
      buttonText: 'All ratings'
    };
  },
  methods: {
    selectRating(rating) {
      const firstChar = rating.charAt(0); // Get the first character of the string
      this.selectedRating = parseInt(firstChar);
      // this.selectedRating=rating.charAt(0)
      this.dropDown = !this.dropDown;
      this.buttonText = rating;
      this.$emit('selectRating', this.selectedRating);
    },
    filteredReviews(selectedRating) {
      return this.reviews.filter(review => review.rating === selectedRating);
    }
  }
});
// CONCATENATED MODULE: ./components/Dropdown.vue?vue&type=script&lang=js
 /* harmony default export */ var components_Dropdownvue_type_script_lang_js = (Dropdownvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(21);

// CONCATENATED MODULE: ./components/Dropdown.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(281)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Dropdownvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "55876a51"
  
)

/* harmony default export */ var Dropdown = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 281:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_deaa7f14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(208);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_deaa7f14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_deaa7f14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_deaa7f14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_deaa7f14_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ })

};;
//# sourceMappingURL=dropdown.js.map