(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{341:function(module,exports,__webpack_require__){},393:function(module,__webpack_exports__,__webpack_require__){"use strict";var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_004d4ba5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(341);__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_004d4ba5_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__).a},438:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _vm.entertainmentTopic?_c("div",{staticClass:"enterprise-and-education"},[_c("div",{staticClass:"background-image-right",style:_vm.backgroundImage(_vm.headerParagraph.backgroundImage)},[_c("div",{staticClass:"background-image-left",style:_vm.backgroundImage(_vm.headerParagraph.image)},[_vm.headerParagraph?_c("div",{staticClass:"width-container header"},[_vm.headerParagraph.title?_c("h1",{staticClass:"header-title"},[_vm._v(_vm._s(_vm.headerParagraph.title))]):_vm._e(),_vm._v(" "),_c("Sl-divider"),_vm._v(" "),_vm.headerParagraph.description?_c("sc-markitup",{staticClass:"header-subtitle",attrs:{content:_vm.headerParagraph.description}}):_vm._e()],1):_vm._e(),_vm._v(" "),_vm.marketsItems?_c("div",{staticClass:"width-container type-items-list"},_vm._l(_vm.marketsItems,(function(item,index){return _c("div",{key:index},[_c("Sl-type-item",{staticClass:"type-item",attrs:{item:item}})],1)})),0):_vm._e()])])]):_vm._e()};render._withStripped=!0;var dist=__webpack_require__(7),sl_divider=__webpack_require__(305),sl_type_item=__webpack_require__(328),topicFetcher=__webpack_require__(323),markets_enterprise_and_educationvue_type_script_lang_js_={components:{SlDivider:sl_divider.a,SlTypeItem:sl_type_item.a},name:"markets-enterprise-and-education",mixins:[dist.mixins.scMetaTopic,topicFetcher.a],data:function(){return{entertainmentTopic:void 0}},beforeMount:function(){var _this=this;this.fetchTopic("markets-enterprise-and-education").then((function(res){return _this.entertainmentTopic=res})),this.fetchMeta("markets-enterprise-and-education")},computed:{headerParagraph:function(){if(this.entertainmentTopic&&this.entertainmentTopic.fields&&this.entertainmentTopic.fields.paragraphs){var header=this.getParagraphFromTopic("header");return header&&header.fields?{title:header.fields.title?header.fields.title:void 0,description:header.fields.description?header.fields.description:void 0,backgroundImage:header.fields.images[0]?header.fields.images[0]:void 0,image:header.fields.images[1]?header.fields.images[1]:void 0}:void 0}},marketsItems:function(){if(this.entertainmentTopic&&this.entertainmentTopic.fields&&this.entertainmentTopic.fields.paragraphs){var marketsItem=this.getParagraphFromTopic("items");if(marketsItem&&marketsItem.fields&&marketsItem.fields.references&&marketsItem.fields.references)return marketsItem.fields.references}}},methods:{backgroundImage:function(_backgroundImage){if(_backgroundImage&&_backgroundImage.fields&&_backgroundImage.fields.landscape&&_backgroundImage.fields.landscape.fields&&_backgroundImage.fields.landscape.fields.file)return"background-image: url(".concat(optimiseImageUrl({url:_backgroundImage.fields.landscape.fields.file.url}),")")},getParagraphFromTopic:function(name){if(this.entertainmentTopic.fields&&this.entertainmentTopic.fields.paragraphs){var paragraph=this.entertainmentTopic.fields.paragraphs.filter((function(paragraph){return paragraph.fields.name.includes(name)}));return paragraph.length>0?paragraph[0]:void 0}}}},componentNormalizer=(__webpack_require__(393),__webpack_require__(1)),component=Object(componentNormalizer.a)(markets_enterprise_and_educationvue_type_script_lang_js_,render,[],!1,null,"004d4ba5",null);component.options.__file="src/pages/markets/enterprise-and-education/index.vue";__webpack_exports__.default=component.exports}}]);