{"version":3,"sources":["webpack:///./src/components/lists/ImageCards.vue?61e1","webpack:///./src/components/lists/ImageCards.vue?4615","webpack:///./src/mixins/parse.js","webpack:///./src/components/lists/ImageCards.vue?965d","webpack:///./src/components/lists/ImageCards.vue?f58d","webpack:///src/components/lists/ImageCards.vue","webpack:///./src/components/lists/ImageCards.vue?394d","webpack:///./src/components/lists/ImageCards.vue"],"names":["exports","module","push","i","computed","parse","item","value","JSON","content","__esModule","default","locals","add","render","_vm","this","_h","$createElement","_c","_self","staticClass","domProps","_s","title","_e","_l","index","key","attrs","cardImages","imageAlt","_v","heading","text","link","link_text","separator","staticRenderFns","name","props","components","Sprite","SectionSeparator","ResponsiveImage","mixins","image","siteBackground","site","background_color","injectStyles","context","style0","__inject__","component"],"mappings":"6GAAA,yG,qBCAAA,EAAUC,EAAOD,QAAU,EAAQ,OAAR,EAA4D,GAKvFA,EAAQE,KAAK,CAACD,EAAOE,EAAI,46IAA66I,M,kCCLv7I,QACbC,SAAU,CACRC,MADQ,WAEN,OAAO,SAACC,GACN,MAA4B,kBAAhBA,EAAKC,MACRC,KAAKH,MAAMC,EAAKC,OAEhBD,EAAKC,W,uBCJtB,IAAIE,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACR,EAAOE,EAAIM,EAAS,MAC7DA,EAAQG,SAAQX,EAAOD,QAAUS,EAAQG,QAE5C,IAAIC,EAAM,EAAQ,QAAkEF,QACvEE,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,yCCT5E,IAAIK,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAAEN,EAAS,MAAEI,EAAG,KAAK,CAACE,YAAY,aAAaC,SAAS,CAAC,UA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wCAIIgB,eAhBJ,WAiBM,OAAO/B,KAAKgC,KAAKC,iBAAmBjC,KAAKgC,KAAKC,iBAAmB,cCzE4R,I,YCGnW,SAASC,EAAcC,GAErB,IAAIC,EAAS,EAAQ,QACnBA,EAAOC,YAAYD,EAAOC,WAAWF,GAMzC,IAAIG,EAAY,eACd,EACAxC,EACAwB,GACA,EACAY,EACA,KACA,YAIa,aAAAI,E","file":"js/chunks/image-cards.js?id=2f140089e4be0b521897","sourcesContent":["export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/index.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/postcss-loader/src/index.js??ref--9-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCards.vue?vue&type=style&index=0&lang=sass&\"","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".image-cards h1,.image-cards h2{width:100%;text-align:center}.image-cards .list-title{margin-bottom:10px}@media screen and (min-width:959px){.image-cards .list-title{margin-bottom:40px}}.theme-clean-dark .image-cards .list-title{color:#fff}.theme-clean-light .image-cards .list-title{color:#333}.theme-vantage-dark .image-cards .list-title{color:#fff}.theme-vantage-light .image-cards .list-title{color:#333}.theme-slanted-dark .image-cards .list-title{color:#fff}.theme-slanted-light .image-cards .list-title{color:#333}@media screen and (min-width:959px){.image-cards .list-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.theme-clean-dark .image-cards .list-content{color:#fff}.theme-clean-light .image-cards .list-content{color:#333}.theme-vantage-dark .image-cards .list-content{color:#fff}.theme-vantage-light .image-cards .list-content{color:#333}.theme-slanted-dark .image-cards .list-content{color:#fff}.theme-slanted-light .image-cards .list-content{color:#333}}.image-cards .item-content{padding:20px;z-index:10;text-align:center}.image-cards .item-content h1,.image-cards .item-content h2{display:none}@media screen and (min-width:959px){.image-cards .item-content h1,.image-cards .item-content h2{display:block}}.image-cards .item-inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;margin:0}.image-cards .list-item{margin:40px 0;overflow:hidden;border-radius:10px;position:relative;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04)}.theme-clean-dark .image-cards .list-item{background:rgba(0,0,0,.5)}.theme-clean-light .image-cards .list-item{background:hsla(0,0%,100%,.85)}.theme-vantage-dark .image-cards .list-item{background:rgba(0,0,0,.5)}.theme-vantage-light .image-cards .list-item{background:#fff}.theme-slanted-dark .image-cards .list-item{background:rgba(0,0,0,.5)}.theme-slanted-light .image-cards .list-item{background:#fff}@media screen and (min-width:959px){.image-cards .list-item{padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-preferred-size:calc(33.33333% - 10px);flex-basis:calc(33.33333% - 10px);-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:5px}}.image-cards .list-item .item-text{padding-bottom:40px}@media screen and (min-width:959px){.image-cards .list-item .item-text{padding-bottom:10px}}.image-cards .list-item .item-link{font-weight:700;text-decoration:none;padding:10px 20px;position:absolute;bottom:20px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.image-cards .list-item .item-link:hover .sprite{left:5px;opacity:1}.image-cards .list-item .item-link .sprite{position:relative;width:10px;height:10px;top:1px;left:3px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;opacity:.5}.theme-clean-dark .image-cards .list-item .item-link .sprite{fill:#333}.theme-clean-light .image-cards .list-item .item-link .sprite{fill:#fff}.theme-vantage-dark .image-cards .list-item .item-link .sprite{fill:#333}.theme-vantage-light .image-cards .list-item .item-link .sprite{fill:#fff}.theme-slanted-dark .image-cards .list-item .item-link .sprite{fill:#333}.theme-slanted-light .image-cards .list-item .item-link .sprite{fill:#fff}@media screen and (min-width:959px){.image-cards .list-item .item-link{left:auto;-webkit-transform:none;transform:none;right:10px}}.image-cards .list-item .item-image{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:80px;text-decoration:none;overflow:hidden;position:relative;width:100%}@media screen and (min-width:959px){.image-cards .list-item .item-image{height:180px}}.image-cards .list-item .item-image .responsive-image{width:100%}.image-cards .list-item .item-image .responsive-image img{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;width:100%}\", \"\"]);\n\n// exports\n","export default {\n  computed: {\n    parse() {\n      return (item) => {\n        if (typeof (item.value) === 'string') {\n          return JSON.parse(item.value)\n        } else {\n          return item.value\n        }\n      }\n    }\n  }\n}\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/index.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/postcss-loader/src/index.js??ref--9-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCards.vue?vue&type=style&index=0&lang=sass&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"548cfa4c\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-section image-cards\"},[_c('div',{staticClass:\"container\"},[(_vm.title)?_c('h2',{staticClass:\"list-title\",domProps:{\"innerHTML\":_vm._s(_vm.title)}}):_vm._e(),_c('div',{staticClass:\"list-content\"},_vm._l((_vm.items),function(item,index){return _c('div',{key:(\"home-item-\" + index),staticClass:\"list-item\"},[_c('ResponsiveImage',{staticClass:\"item-inner item-image\",attrs:{\"imageVersions\":_vm.cardImages(item),\"description\":_vm.imageAlt(item),\"width\":600}}),_c('div',{staticClass:\"item-inner\"},[_c('div',{staticClass:\"item-content\"},[_c('h3',[_vm._v(_vm._s(_vm.parse(item).heading))]),_c('div',{staticClass:\"item-text\",domProps:{\"innerHTML\":_vm._s(_vm.parse(item).text)}}),(_vm.parse(item).link)?_c('router-link',{staticClass:\"item-link btn\",attrs:{\"to\":_vm.parse(item).link}},[_vm._v(\"\\n              \"+_vm._s(_vm.parse(item).link_text)+\"\\n              \"),_c('Sprite',{attrs:{\"name\":\"arrow\"}})],1):_vm._e()],1)])],1)}),0)]),(_vm.separator)?_c('SectionSeparator',{attrs:{\"separator\":_vm.separator}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template lang=\"html\">\n  <div class=\"page-section image-cards\">\n    <div class=\"container\">\n\n      <h2 class=\"list-title\" v-if=\"title\" v-html=\"title\"></h2>\n\n      <div class=\"list-content\">\n        <div class=\"list-item\" v-for=\"(item, index) in items\" :key=\"`home-item-${index}`\">\n          <ResponsiveImage\n            class=\"item-inner item-image\"\n            :imageVersions=\"cardImages(item)\"\n            :description=\"imageAlt(item)\"\n            :width=\"600\"/>\n\n          <div class=\"item-inner\">\n            <div class=\"item-content\">\n              <h3>{{parse(item).heading}}</h3>\n              <div class=\"item-text\" v-html=\"parse(item).text\"></div>\n              <router-link\n                class=\"item-link btn\"\n                v-if=\"parse(item).link\"\n                :to=\"parse(item).link\">\n                {{parse(item).link_text}}\n                <Sprite name=\"arrow\"/>\n              </router-link>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <SectionSeparator v-if=\"separator\" :separator=\"separator\"/>\n  </div>\n</template>\n\n<script>\nimport {mapState} from 'vuex'\nimport parse from '@/mixins/parse'\n\nimport Sprite from '@/components/Sprite'\nimport SectionSeparator from '@/components/lists/SectionSeparator'\nimport ResponsiveImage from '@/components/ResponsiveImage'\n\nexport default {\n  name: 'ImageCards',\n\n  props: ['items', 'title', 'separator'],\n\n  components: {\n    Sprite,\n    SectionSeparator,\n    ResponsiveImage\n  },\n\n  mixins: [parse],\n\n  computed: {\n    ...mapState(['site']),\n\n    cardImages() {\n      return (card) => {\n        let image = card.image_versions.length ? card.image_versions : []\n        return image\n      }\n    },\n\n    imageAlt() {\n      return (card) => {\n        return this.parse(card).image_alt_text || 'Card image'\n      }\n    },\n\n    siteBackground() {\n      return this.site.background_color ? this.site.background_color : '#8e8e8e'\n    }\n  }\n}\n</script>\n\n<style lang=\"sass\">\n@import '../../stylesheets/base/variables'\n@import '../../stylesheets/helpers/mixins'\n@import '../../stylesheets/base/theme'\n\n.image-cards\n  h1, h2\n    width: 100%\n    text-align: center\n\n  .list-title\n    margin-bottom: $gap-small\n\n    @include media($media-gt-medium)\n      margin-bottom: $gap-large\n\n    @include themify($themes)\n      color: themed('text')\n\n  .list-content\n    @include media($media-gt-medium)\n      display: flex\n      flex-wrap: wrap\n\n      @include themify($themes)\n        color: themed('text')\n\n  .item-content\n    padding: $gap-medium\n    z-index: 10\n    text-align: center\n\n    h1, h2\n      display: none\n\n    @include media($media-gt-medium)\n      h1, h2\n        display: block\n\n  .item-inner\n    display: flex\n    flex-direction: column\n    justify-content: space-between\n    height: 100%\n    margin: 0\n\n  .list-item\n    margin: $gap-large 0\n    overflow: hidden\n    border-radius: 10px\n    position: relative\n    box-shadow: $content-shadow\n\n    @include themify($themes)\n      background: themed('content-bg')\n\n    @include media($media-gt-medium)\n      padding: 0\n      display: flex\n      flex-direction: column\n      flex: 1\n      flex-basis: calc(#{percentage(1/3)} - 10px)\n      align-items: center\n      margin: 5px\n\n    .item-text\n      padding-bottom: $gap-large\n\n      @include media($media-gt-medium)\n        padding-bottom: $gap-small\n\n    .item-link\n      font-weight: bold\n      text-decoration: none\n      padding: 10px 20px\n      position: absolute\n      bottom: $gap-medium\n      left: 50%\n      transform: translateX(-50%)\n\n      &:hover\n        .sprite\n          left: 5px\n          opacity: 1\n\n      .sprite\n        position: relative\n        width: 10px\n        height: 10px\n        top: 1px\n        left: 3px\n        transition: all .2s ease-in-out\n        opacity: 0.5\n\n        @include themify($themes)\n          fill: themed('btn-text')\n\n      @include media($media-gt-medium)\n        left: auto\n        transform: none\n        right: $gap-small\n\n    .item-image\n      display: flex\n      align-items: center\n      height: 80px\n      text-decoration: none\n      overflow: hidden\n      position: relative\n      width: 100%\n\n      @include media($media-gt-medium)\n        height: 180px\n\n      .responsive-image\n        width: 100%\n\n        img\n          object-fit: cover\n          object-position: 50% 50%\n          width: 100%\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCards.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCards.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ImageCards.vue?vue&type=template&id=17810fd4&lang=html&\"\nimport script from \"./ImageCards.vue?vue&type=script&lang=js&\"\nexport * from \"./ImageCards.vue?vue&type=script&lang=js&\"\nfunction injectStyles (context) {\n  \n  var style0 = require(\"./ImageCards.vue?vue&type=style&index=0&lang=sass&\")\nif (style0.__inject__) style0.__inject__(context)\n\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  injectStyles,\n  null,\n  \"abbf5682\"\n  \n)\n\nexport default component.exports"],"sourceRoot":""}