text: (function(t){function e(e){for(var n,s,o=e[0],c=e[1],u=e[2],l=0,g=[];l<o.length;l++)s=o[l],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&g.push(r[s][0]),r[s]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);m&&m(e);while(g.length)g.shift()();return i.push.apply(i,u||[]),a()}function a(){for(var t,e=0;e<i.length;e++){for(var a=i[e],n=!0,o=1;o<a.length;o++){var c=a[o];0!==r[c]&&(n=!1)}n&&(i.splice(e--,1),t=s(s.s=a[0]))}return t}var n={},r={app:0},i=[];function s(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,s),a.l=!0,a.exports}s.m=t,s.c=n,s.d=function(t,e,a){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(a,n,function(e){return t[e]}.bind(null,n));return a},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],c=o.push.bind(o);o.push=e,o=o.slice();for(var u=0;u<o.length;u++)e(o[u]);var m=c;i.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"034f":function(t,e,a){"use strict";a("85ec")},"0e46":function(t,e,a){},1054:function(t,e,a){t.exports=a.p+"img/demo-img-3.97e6169b.jpg"},1877:function(t,e,a){t.exports=a.p+"img/demo-img-1.a225fe12.jpg"},"3b55":function(t,e,a){"use strict";a("6151")},"48fd":function(t,e,a){},"56d7":function(t,e,a){"use strict";a.r(e);a("e260"),a("e6cf"),a("cca6"),a("a79d");var n=a("2b0e"),r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("LandingPage")],1)},i=[],s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-container"},[t.hasStarted&&0===t.currentImage?n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animation-maxzoomin","leave-active-class":"animate__animated animate__rotateOut",mode:"out-in"},on:{"after-enter":t.afterEnter,"after-appear":t.afterEnter}},[n("ImageCard2",{key:t.currentImage,staticClass:"image-card",attrs:{imgurl:t.imageList[t.currentImage].imgUrl,title:t.imageList[t.currentImage].title,text:t.imageList[t.currentImage].text}})],1):t.hasStarted?n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animate__animated animate__fadeInDown","leave-active-class":t.transitionLeaveActiveClass,mode:"out-in"},on:{"after-enter":t.afterEnter,"after-appear":t.afterEnter}},[n("ImageCard",{key:t.currentImage,staticClass:"image-card",attrs:{imgurl:t.imageList[t.currentImage].imgUrl,title:t.imageList[t.currentImage].title,text:t.imageList[t.currentImage].text}})],1):n("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animate__animated animate__fadeInDownBig",mode:"out-in"}},[n("div",{staticClass:"start-menu-container"},[n("button",{staticClass:"start-button",attrs:{disabled:t.startButtonIsDisabled},on:{click:function(e){return t.start()}}},[t._v("Estou!")])])]),n("audio",{ref:"audio"},[n("source",{attrs:{src:a("bc17"),type:"audio/mpeg"}}),t._v(" Your browser does not support the audio element. ")])],1)},o=[],c=a("1da1"),u=(a("96cf"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrapper"},[a("img",{staticClass:"photo",attrs:{src:t.imgurl,alt:"foto"}}),a("h3",[t._v(t._s(t.title))]),a("p",[t._v(t._s(t.text))])])}),m=[],l={name:"ImageCard",props:{imgurl:String,title:String,text:String}},g=l,d=(a("3b55"),a("2877")),f=Object(d["a"])(g,u,m,!1,null,"40c97297",null),p=f.exports,h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrapper"},[a("img",{staticClass:"photo",attrs:{src:t.imgurl,alt:"foto"}}),a("h3",[t._v(t._s(t.title))]),a("p",[t._v(t._s(t.text))]),a("svg",{staticClass:"mask"},[a("clipPath",{attrs:{id:"60da142bimagecard2mask0",clipPathUnits:"objectBoundingBox"}},["heart"===t.mask?a("path",{attrs:{d:"M0.852,0.031 c-0.13,-0.066,-0.295,0,-0.352,0.141 C0.442,0.023,0.27,-0.044,0.148,0.031 C0.011,0.106,-0.054,0.288,0.054,0.511 C0.133,0.669,0.27,0.785,0.5,1 c0.237,-0.215,0.374,-0.331,0.446,-0.489 C1,0.296,0.989,0.106,0.852,0.031",fill:"#C4C4C4"}}):t._e(),"star"===t.mask?a("path",{attrs:{d:"M0.5,0.846 l-0.309,0.154,0.044,-0.357 L0,0.382 l0.336,-0.067 L0.5,0 l0.164,0.315,0.336,0.067,-0.235,0.261,0.044,0.357",fill:"#C4C4C4"}}):t._e()])])])},_=[],v={name:"ImageCard2",props:{imgurl:String,title:String,text:String},data:function(){return{mask:"star"}}},b=v,x=(a("abdf"),Object(d["a"])(b,h,_,!1,null,"5681ad27",null)),I=x.exports,C={name:"LandingPage",components:{ImageCard:p,ImageCard2:I},data:function(){return{imageList:[{imgUrl:a("1877"),title:"demo-img-1",text:"Imagem demo 1"},{imgUrl:a("d1b8"),title:"demo-img-2",text:"Imagem demo 2"},{imgUrl:a("1054"),title:"demo-img-3",text:"Imagem demo 3"},{imgUrl:a("b154"),title:"demo-img-4",text:"Imagem demo 4"}],currentImage:0,intervalMs:1e3,transitionLeaveActiveClass:"animate__animated animate__fadeOut",hasStarted:!1,startButtonIsDisabled:!1}},watch:{currentImage:function(){var t=["animate__fadeOutUp","animate__fadeOutRight","animate__fadeOutLeft","animate__fadeOutDown","animate__fadeOutTopLeft","animate__fadeOutTopRight","animate__fadeOutBottomRight","animate__fadeOutBottomLeft"],e={max:t.length,min:0},a=Math.floor(Math.random()*(e.max-e.min))+e.min;this.transitionLeaveActiveClass="animate__animated ".concat(t[a])}},methods:{start:function(){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.$refs.audio,e.prev=1,e.next=4,a.play();case 4:e.next=11;break;case 6:return e.prev=6,e.t0=e["catch"](1),console.error(e.t0),alert(e.t0.message),e.abrupt("return");case 11:return t.startButtonIsDisabled=!0,e.next=14,n["a"].nextTick();case 14:t.hasStarted=!0;case 15:case"end":return e.stop()}}),e,null,[[1,6]])})))()},afterEnter:function(){var t=this;setTimeout((function(){return t.nextImage()}),this.intervalMs)},nextImage:function(){var t=this.imageList.length-1;this.currentImage=this.currentImage+1>t?0:this.currentImage+1},previousImage:function(){var t=this.imageList.length-1;this.currentImage=this.currentImage-1<0?t:this.currentImage-1}}},O=C,w=(a("c13c"),Object(d["a"])(O,s,o,!1,null,"44dfaeae",null)),y=w.exports,L={name:"App",components:{LandingPage:y}},j=L,S=(a("034f"),Object(d["a"])(j,r,i,!1,null,null,null)),k=S.exports;a("0e46"),a("77ed");n["a"].config.productionTip=!1,new n["a"]({render:function(t){return t(k)}}).$mount("#app")},6151:function(t,e,a){},"85ec":function(t,e,a){},abdf:function(t,e,a){"use strict";a("48fd")},acbd:function(t,e,a){},b154:function(t,e,a){t.exports=a.p+"img/demo-img-4.66e20781.jpg"},bc17:function(t,e,a){t.exports=a.p+"media/ron-gelinas-chillout-lounge-where-will-i-go.min.94b2a7e9.mp3"},c13c:function(t,e,a){"use strict";a("acbd")},d1b8:function(t,e,a){t.exports=a.p+"img/demo-img-2.85ec7a42.jpg"}});
  //# sourceMappingURL=app.97149995.js.map