(window.webpackJsonp=window.webpackJsonp||[]).push([[126,119],{1119:function(e,t,n){var content=n(1274);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(9).default)("946f599a",content,!0,{sourceMap:!1})},1273:function(e,t,n){"use strict";n(1119)},1274:function(e,t,n){var r=n(8)((function(i){return i[1]}));r.push([e.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)}}.works__description.__has-movements .text{text-decoration:underline;cursor:pointer}.works__description .icon-audio{width:1.5rem;height:1.5rem;border-radius:100%;background-color:#3a0ca3;color:#fefefe;display:inline-flex;justify-content:center;align-items:center}.works__description .icon-audio:before{font-size:1.125rem}.works__item+.works__item{margin-top:.5rem}@media print,screen and (min-width: 48em){.works__item{display:flex}}@media print,screen and (min-width: 48em){.works__duration{width:10rem}}@media print,screen and (min-width: 48em){.works__infos{width:calc(100% - 10rem)}}.works__name,.works__description-short{display:block}",""]),r.locals={},e.exports=r},1473:function(e,t,n){"use strict";n.r(t);n(185);var r=n(4),o=n(7);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"SharedWorks",components:{ReducedContent:n(832).default},props:{works:{type:Array,default:()=>[]}},computed:c(c({},Object(o.e)({design:e=>e.noeku.design})),{},{canShowOverlay(){return"event"in this.design&&"detailProgramOverlay"in this.design.event&&this.design.event.detailProgramOverlay}}),methods:{hasAnyAudio:e=>e.movements.some((e=>e.file_url)),showOverlay(e){this.canShowOverlay&&this.$store.dispatch("events/toggleAudioOverlay",{show:!0,work:e})}}},h=(n(1273),n(1)),component=Object(h.a)(l,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"works grid-x grid-margin-x align-center"},[t("div",{staticClass:"cell medium-10 large-8"},[t("div",{staticClass:"page-production-details__program"},[t("h2",{staticClass:"works__title"},[e._v(e._s(e.$t("Programm")))]),e._v(" "),t("div",{staticClass:"spacer--small"}),e._v(" "),t("ReducedContent",[t("ul",{staticClass:"works__list"},e._l(e.works,(function(n,r){return t("li",{key:r,staticClass:"works__item"},[!n.description&&n.is_break?[t("span",{staticClass:"works__item--pause"},[t("span",[e._v("-")]),e._v("\n                "+e._s(e.$t("Pause"))+"\n                "),t("span",[e._v("-")])])]:[t("span",{staticClass:"works__duration"},[e._v(e._s(n.duration))]),e._v(" "),t("div",{staticClass:"works__infos"},[t("strong",{staticClass:"works__name"},[e._v(e._s(n.name))]),e._v(" "),t("button",{class:["works__description",{"__has-movements":e.canShowOverlay}],on:{click:function(t){return e.showOverlay(n)}}},[e.hasAnyAudio(n)?t("span",{staticClass:"icon-audio"}):e._e(),e._v(" "),n.description?t("span",{staticClass:"text"},[e._v(e._s(n.description))]):e._e(),e._v(" "),n.description_short?t("span",{staticClass:"text-short"},[e._v(e._s(n.description_short))]):e._e()])])]],2)})),0)]),e._v(" "),t("div",{staticClass:"spacer"})],1)])])}),[],!1,null,null,null);t.default=component.exports},829:function(e,t,n){var content=n(834);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(9).default)("dddbdf98",content,!0,{sourceMap:!1})},832:function(e,t,n){"use strict";n.r(t);var r=n(15),o={name:"SharedReducedContent",components:{BaseLink:n(50).default},props:{height:{type:Number,default:500},buttonText:{type:String,default(){return this.$t("Show all")}},hideButtonText:{type:String,default(){return this.$t("Hide all")}},toggle:{type:Boolean,default:!1}},data:()=>({showAll:!1,isExpanded:!1}),mounted(){this.isContentBigger()},methods:{isContentBigger(){this.$refs.Content.offsetHeight>this.height?r.a.set(this.$refs.Content,{height:this.height}):(this.showAll=!0,this.canShowHide=!0)},onExpand(){r.a.to(this.$refs.Content,{height:"auto",duration:.54,ease:"power1.inOut"}),this.showAll=!0,this.isExpanded=!0},hideExpand(){r.a.to(this.$refs.Content,{height:this.height,duration:.54,ease:"power1.inOut"}),this.showAll=!1,this.isExpanded=!1}}},d=(n(833),n(1)),component=Object(d.a)(o,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"reduced-content",class:e.showAll?"reduced-content--show":"reduced-content--hidden"},[t("div",{ref:"Content",staticClass:"reduced-content__wrapper"},[e._t("default")],2),e._v(" "),t("aside",{directives:[{name:"show",rawName:"v-show",value:!e.showAll,expression:"!showAll"}],staticClass:"reduced-content__aside text-center"},[t("BaseLink",{staticClass:"link",attrs:{tabindex:"0",bordered:""},nativeOn:{click:function(t){return e.onExpand.apply(null,arguments)}}},[e._v("\n      "+e._s(e.buttonText)+"\n      "),t("span",{staticClass:"icon-arrow-down"})])],1),e._v(" "),t("aside",{directives:[{name:"show",rawName:"v-show",value:e.toggle&&e.isExpanded,expression:"toggle && isExpanded"}],staticClass:"reduced-content__aside text-center"},[t("BaseLink",{staticClass:"link",attrs:{tabindex:"0",bordered:""},nativeOn:{click:function(t){return e.hideExpand.apply(null,arguments)}}},[e._v("\n      "+e._s(e.hideButtonText)+"\n      "),t("span",{staticClass:"icon-arrow-top"})])],1)])}),[],!1,null,null,null);t.default=component.exports},833:function(e,t,n){"use strict";n(829)},834:function(e,t,n){var r=n(8)((function(i){return i[1]}));r.push([e.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)}}.reduced-content__wrapper{overflow:hidden}.reduced-content__aside{position:relative;padding-top:1.5rem}.reduced-content__aside:before{content:"";width:100%;height:6rem;top:0;left:0;position:absolute;background:linear-gradient(to top, #fefefe 0%, rgba(254, 254, 254, 0) 100%);transform:translateY(-100%);pointer-events:none}.reduced-content--show .reduced-content__aside:before{display:none}',""]),r.locals={},e.exports=r}}]);