(window.webpackJsonp=window.webpackJsonp||[]).push([[164,94,110,116,117],{1050:function(t,e,n){var content=n(1122);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(17).default)("7c348086",content,!0,{sourceMap:!1})},1121:function(t,e,n){"use strict";n(1050)},1122:function(t,e,n){var r=n(16)((function(i){return i[1]}));r.push([t.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}.production-item{gap:16px;display:flex;flex-direction:column;margin-bottom:32px}@media print,screen and (min-width: 64em){.production-item{margin-bottom:48px}}.production-item__card-headline{color:#000;text-decoration:none}.production-item__image{background:#f3f3f3;width:100%;aspect-ratio:16/9;overflow:hidden;display:flex;align-items:center}.production-item__description{margin:16px 0 0;font-size:14px}@media print,screen and (min-width: 48em){.production-item__description{font-size:16px}}@media screen and (min-width: 100em){.production-item__description{font-size:18px}}",""]),r.locals={},t.exports=r},1283:function(t,e,n){"use strict";n.r(e);n(307),n(32),n(123),n(5),n(7);var r={name:"ProductionItem",props:{id:{type:Number,required:!0},name:{type:String,required:!0},description_short:{type:String},header_image_obj:{type:Object,default:null},header_image_thumbnails:{type:Object,default:null},slug:{type:Object,required:!0},subtitle:{type:String},tags:{type:Array},exhibition_type:{type:Object},season:{type:Object}},computed:{labelsTop:function(){var t=[];return this.exhibition_type&&t.push({text:this.exhibition_type.name,class:"exhibition-type",color:2}),this.season&&t.push({text:this.season.name,class:"season",color:3}),this.tags.forEach((function(e){t.push({text:e.name,class:"tag",color:4})})),t}}},o=(n(1121),n(1)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"production-item"},[e("div",{staticClass:"production-item__image"},[t.header_image_thumbnails&&t.header_image_obj?e("SharedImage",{attrs:{src:t.header_image_thumbnails.small,alt:t.header_image_obj.alttext,link:t.localePath({name:"productions-slug-id",params:{id:t.id,slug:t.$utils.slug(t.slug)}})}}):t._e()],1),t._v(" "),t.labelsTop.length?e("SharedLabels",{attrs:{list:t.labelsTop}}):t._e(),t._v(" "),e("SharedLink",{staticClass:"production-item__card-headline",attrs:{link:t.localePath({name:"productions-slug-id",params:{id:t.id,slug:t.$utils.slug(t.slug)}})}},[e("SharedCardHeadline",{attrs:{title:t.name,"sub-title":t.subtitle}}),t._v(" "),t.description_short?e("p",{staticClass:"event-item__description",domProps:{innerHTML:t._s(t.description_short)}}):t._e()],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{SharedImage:n(940).default,SharedLabels:n(984).default,SharedCardHeadline:n(985).default,SharedLink:n(73).default})},1541:function(t,e,n){"use strict";n.r(e);n(9),n(13),n(14);var r=n(4),o=n(2),c=(n(6),n(5),n(7),n(8),n(74),n(123),n(18),n(28)),d=n(12),l=n(137),m=n(190),f=n(78),h=n(105);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w={name:"Productions",directives:{"observe-visibility":l.a},components:{Loading:m.default},mixins:[h.a],data:function(){return{mounted:!1}},fetch:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.mountFilter();case 2:return e.next=4,t.setCurrentDate();case 4:return e.next=6,t.requestProductions({});case 6:case"end":return e.stop()}}),e)})))()},mounted:function(){this.mounted=!0},computed:x(x({},Object(d.e)({productions:function(t){return t.productions.productions},isLoading:function(t){return t.productions.listLoading},page:function(t){return t.productions.page},showLoading:function(t){return null!==t.productions.list.next},date:function(t){return t.productions.date},filter:function(t){return t.productions.filter}})),{},{productionFilter:function(){return x(x({},this.filter),{},{date:this.date})}}),watch:{productionFilter:{handler:function(){this.updateFilter(),this.updateUrl()},deep:!0}},methods:x(x(x({},Object(d.d)({setField:"productions/setField",setObject:"productions/setObject"})),Object(d.b)({requestProductions:"productions/requestProductions"})),{},{loadMore:function(t,e){!this.isLoading&&(t||e.boundingClientRect.top<window.innerHeight)&&this.requestProductions({page:this.page+1})},setCurrentDate:function(){if(!this.date){var t=(new Date).toISOString();this.setField({field:"date",value:t})}},mountFilter:function(){var t=this;Object.keys(this.$route.query).forEach((function(e){(e in t.filter||"date"===e)&&t.setObject({field:"date"===e?e:"filter."+e,value:"date"===e?new Date(t.$route.query[e].split("-").reverse().join("-")).toISOString():Number(t.$route.query[e])})}))},updateFilter:function(){this.requestProductions({reset:!0}),c.a.to(window,{duration:.6,ease:"power2.inOut",scrollTo:{y:0}})},updateUrl:function(){var t=this.getUrlDate(this.date),e=Object(f.a)(x(x({},this.filter),{},{date:t}));Object.keys(e).forEach((function(t){""===e[t]&&delete e[t]})),this.$router.push({query:e})}})},v=n(1),component=Object(v.a)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"grid-container page-productions"},[e("div",{staticClass:"custom-container"},[e("ProductionFilter"),t._v(" "),e("div",{staticClass:"spacer"}),t._v(" "),e("div",{staticClass:"grid-x grid-margin-x"},t._l(t.productions,(function(n,r){return e("div",{key:r,staticClass:"cell medium-6 large-4"},[e("ProductionItem",t._b({},"ProductionItem",n,!1))],1)})),0),t._v(" "),t.showLoading&&t.mounted?e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:{callback:t.loadMore,intersection:{threshold:0,rootMargin:"100px"}},expression:"{\n        callback: loadMore,\n        intersection: {\n          threshold: 0.0,\n          rootMargin: '100px'\n        }\n      }"}],attrs:{id:"trigger-point"}},[t.isLoading?e("loading",{attrs:{type:"ProductionsList"}}):t._e()],1):t._e(),t._v(" "),e("SharedSpacer")],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ProductionFilter:n(1504).default,ProductionItem:n(1283).default,SharedSpacer:n(641).default})},933:function(t,e,n){var content=n(939);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(17).default)("4a4eb98a",content,!0,{sourceMap:!1})},938:function(t,e,n){"use strict";n(933)},939:function(t,e,n){var r=n(16)((function(i){return i[1]}));r.push([t.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}img{width:100%}.copyright{margin-top:8px}",""]),r.locals={},t.exports=r},940:function(t,e,n){"use strict";n.r(e);n(86);var r={props:{src:{type:String,default:""},alt:{type:String,default:""},copyright:{type:String,default:""},link:{type:String,default:""}}},o=(n(938),n(1)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("figure",[e("SharedLink",{attrs:{link:t.link}},[e("img",{attrs:{src:t.src,alt:t.alt,loading:"lazy"}})]),t._v(" "),t.copyright?e("figcaption",{staticClass:"copyright"},[t._v("\n\t\t© "+t._s(t.copyright)+"\n\t")]):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{SharedLink:n(73).default})},958:function(t,e,n){var content=n(982);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(17).default)("64356be9",content,!0,{sourceMap:!1})},966:function(t,e,n){var content=n(991);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(17).default)("20e7754a",content,!0,{sourceMap:!1})},981:function(t,e,n){"use strict";n(958)},982:function(t,e,n){var r=n(16)((function(i){return i[1]}));r.push([t.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}.card-headline__title{font-size:24px}@media print,screen and (min-width: 48em){.card-headline__title{font-size:28px}}.card-headline__subtitle{font-size:18px}@media print,screen and (min-width: 48em){.card-headline__subtitle{font-size:20px}}",""]),r.locals={},t.exports=r},984:function(t,e,n){"use strict";n.r(e);n(25),n(51);var r={name:"Labels",props:{list:{type:Array,default:function(){return[{text:"Grupe",color:1},{text:"Terminart"},{text:"TypAustellung",color:2},{text:"Livestream",color:3},{text:"Tags",color:4},{text:"Genre",color:5},{text:"OnTour"}]}}}},o=(n(990),n(1)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"labels"},t._l(t.list,(function(label,n){return e("span",{key:n,staticClass:"labels__item",class:[label.color?"labels__item--color-".concat(label.color):"labels__item--color-none",label.class?"labels__item--".concat(label.class):null],attrs:{id:null!==label.text?"".concat(label.text.toLowerCase().replace(/\s/g,"_")):null}},[t._v("\n    "+t._s(label.text)+"\n  ")])})),0)}),[],!1,null,null,null);e.default=component.exports},985:function(t,e,n){"use strict";n.r(e);var r={name:"CardHeadline",props:{title:{type:String},subTitle:{type:String}}},o=(n(981),n(1)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("span",{staticClass:"card-headline"},[e("h3",{staticClass:"card-headline__title"},[t._v(t._s(t.title))]),t._v(" "),t.subTitle?e("span",{staticClass:"card-headline__subtitle"},[t._v(t._s(t.subTitle))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},990:function(t,e,n){"use strict";n(966)},991:function(t,e,n){var r=n(16)((function(i){return i[1]}));r.push([t.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}.labels{gap:8px;display:flex;align-items:center;flex-wrap:wrap}.labels__item{padding:4px 8px;font-size:14px}.labels__item--color-1{color:#fefefe;background-color:#3a0ca3}.labels__item--color-2{color:#fefefe;background-color:#c6009a}.labels__item--color-3{background-color:#f3f3f3}.labels__item--color-4{background-color:#000;color:#fefefe}.labels__item--color-5{background-color:#4b4b4b;color:#fefefe}.labels__item--color-none{padding:4px 0px}@media print,screen and (min-width: 48em){.labels__item--color-none{font-size:16px}}@media screen and (min-width: 85.375em){.labels__item--color-none{font-size:18px}}",""]),r.locals={},t.exports=r}}]);