(function(t){function e(e){for(var o,s,r=e[0],c=e[1],l=e[2],m=0,d=[];m-1:t.switchValue},on:{click:t.toggleDarkMode,change:function(e){var a=t.switchValue,o=e.target,i=!!o.checked;if(Array.isArray(a)){var n=null,s=t._i(a,n);o.checked?s<0&&(t.switchValue=a.concat([n])):s>-1&&(t.switchValue=a.slice(0,s).concat(a.slice(s+1)))}else t.switchValue=i}}}),a("label",{staticClass:"custom-control-label",attrs:{for:"darkSwitch"}},[t._v("Dark Mode")])])])],1)],1),a("mdb-side-nav-2",{attrs:{"sidenav-class":"side-navigation",over:"",data:t.navigation},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[a("div",{staticClass:"sidenav-header",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"logo",domProps:{innerHTML:t._s(t.svgLogo)}})])])],1)},r=[],c=a("bc3a"),l=a.n(c),u=a("91c9"),m={name:"Nav",components:{mdbNavbar:u["mdbNavbar"],mdbNavItem:u["mdbNavItem"],mdbNavbarNav:u["mdbNavbarNav"],mdbSideNav2:u["mdbSideNav2"],mdbIcon:u["mdbIcon"]},props:{darkMode:{type:Boolean,default:!1}},created:function(){this.loadSvgLogo()},data:function(){return{svgLogo:"",show:!1,switchValue:!1,navigation:[{name:"Home",icon:"home",children:[{name:"Image Carousel",icon:"picture",to:"/home#images"},{name:"Services",icon:"concierge-bell",to:"/home#services"},{name:"Pricing",icon:"money-bill",to:"/home#pricing"}]},{name:"Request A Quote",icon:"quote-left",to:"quote"}]}},methods:{toggleSideNav:function(){console.log("toggle sidenav"),this.show=!this.show},loadSvgLogo:function(){var t=this;l()({method:"get",url:"../img/default-monochrome-black.svg"}).then((function(e){t.svgLogo=e.data})).catch((function(t){return console.log(t)}))},toggleDarkMode:function(){this.$emit("toggleDarkMode",this.switchValue)}},watch:{$route:function(){this.show=!1}}},d=m,p=(a("d529"),a("2877")),f=Object(p["a"])(d,s,r,!1,null,"da6e05bc",null),h=f.exports,b=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("mdb-footer",{staticClass:"font-small pt-0 footer",attrs:{position:"bottom"}},[a("mdb-container",[a("mdb-row",[a("mdb-col",{attrs:{md:"12"}},[a("div",{staticClass:"mb-5 flex-center"},[a("a",{staticClass:"fb-ic"},[a("i",{staticClass:"fab fa-facebook fa-lg mr-md-5 mr-3 fa-2x"})]),a("a",{staticClass:"tw-ic"},[a("i",{staticClass:"fab fa-twitter fa-lg mr-md-5 mr-3 fa-2x"})]),a("a",{staticClass:"li-ic"},[a("i",{staticClass:"fab fa-linkedin-in fa-lg mr-md-5 mr-3 fa-2x"})]),a("a",{staticClass:"ins-ic"},[a("i",{staticClass:"fab fa-instagram fa-lg mr-md-5 mr-3 fa-2x"})]),a("a",{staticClass:"pin-ic"},[a("i",{staticClass:"fab fa-pinterest fa-lg fa-2x"})])])])],1)],1),a("div",{staticClass:"footer-copyright text-center py-3"},[a("mdb-container",{attrs:{fluid:""}},[t._v(" © 2020 Copyright: "),a("a",{attrs:{href:"https://www.fancyflowdesigns.com"}},[t._v(" fancyflowdesigns.com ")])])],1)],1)},g=[],v={name:"Footer",components:{mdbFooter:u["mdbFooter"],mdbContainer:u["mdbContainer"],mdbRow:u["mdbRow"],mdbCol:u["mdbCol"]}},x=v,k=(a("53d7"),Object(p["a"])(x,b,g,!1,null,null,null)),y=k.exports,C=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},w=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"view"},[a("div",{staticClass:"mask flex-center rgba-black-strong"},[a("div",[a("h2",{staticClass:"white-text"},[t._v("Working on the site. Check back soon...")]),a("p",[t._v("Contact "),a("a",{attrs:{href:"mailto:fancyflowdesigns@gmail.com"}},[t._v("fancyflowdesigns@gmail.com")]),t._v(" for all inquiries or requests.")])])])])}],_={name:"MaintenancePage",components:{},data:function(){return{data:{}}}},j=_,N=(a("c9fa"),Object(p["a"])(j,C,w,!1,null,null,null)),P=N.exports,q={components:{Nav:h,Footer:y,MaintenancePage:P},data:function(){return{isMaintenanceMode:!1,goDark:!1}},methods:{toggleDarkMode:function(){this.goDark=!this.goDark}}},$=q,O=(a("5c0b"),Object(p["a"])($,i,n,!1,null,null,null)),S=O.exports,L=a("ad5c"),E=a.n(L),A=a("9483");Object(A["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(t){console.error("Error during service worker registration:",t)}});var H=a("8c4f"),M=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home"},[a("ImageCarousel"),a("Services"),a("Pricing")],1)},I=[],z=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"image-carousel px-4",attrs:{id:"images"}},[a("mdb-carousel",{attrs:{items:9,multi:"",slide:"",indicators:"",indicatorsColor:"grey",navColor:"grey",interval:8e3},scopedSlots:t._u([t._l(t.items,(function(e,o){return{key:o+1,fn:function(){return[a("div",{key:o,staticStyle:{cursor:"pointer"}},[a("mdb-row",{staticClass:"d-md-inline-block px-2",attrs:{md:"4"},nativeOn:{click:function(a){return t.showLightbox(e)}}},[a("figure",[a("img",{staticClass:"img-fluid",attrs:{src:t.imgs[e],alt:""}})])]),a("mdb-row",{staticClass:"d-md-inline-block px-2",attrs:{md:"4"},nativeOn:{click:function(a){return t.showLightbox(e+1)}}},[a("figure",[a("img",{staticClass:"img-fluid",attrs:{src:t.imgs[e+1],alt:""}})])])],1)]},proxy:!0}}))],null,!0)}),a("mdb-lightbox",{attrs:{visible:t.visible,imgs:t.imgs,index:t.index},on:{hide:t.handleHide}})],1)},R=[],D=(a("4de4"),a("d81d"),{name:"ImageCarousel",components:{mdbCarousel:u["mdbCarousel"],mdbLightbox:u["mdbLightbox"],mdbRow:u["mdbRow"]},data:function(){return{imgs:["https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(2).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(3).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(4).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(5).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(6).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(7).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(8).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(9).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(10).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(11).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(12).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(13).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(14).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(15).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(16).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(17).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(18).jpg","https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(19).jpg"],visible:!1,index:0}},methods:{showLightbox:function(t){this.index=t,this.visible=!0},handleHide:function(){this.visible=!1}},computed:{items:function(){return this.imgs.map((function(t,e){return e})).filter((function(t,e){return e%2===0}))}}}),B=D,V=(a("e836"),Object(p["a"])(B,z,R,!1,null,null,null)),F=V.exports,Q=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"services mx-auto text-center px-4",attrs:{id:"services"}},[t._m(0),a("h3",[t._v("Calligraphy")]),a("p",[t._v("Lorem ipsum dolor sit amet, qui in dolorem ceteros phaedrum. Vix eius facer detracto ne, te accumsan adipiscing argumentum nam. Ei adhuc gubergren vix. Novum fabulas perfecto eu vis. An ceteros feugait scaevola sed, qui at sanctus accumsan aliquando. Pro an labitur comprehensam. Ex fierent necessitatibus pri. Te vitae delenit maluisset cum, altera voluptatibus ea eos. Ut hinc commune his, his laudem dissentiet ei. Ut pro utamur detracto expetenda.")]),a("h3",[t._v("Chalk Boards")]),a("p",[t._v("Lorem ipsum dolor sit amet, qui in dolorem ceteros phaedrum. Vix eius facer detracto ne, te accumsan adipiscing argumentum nam. Ei adhuc gubergren vix. Novum fabulas perfecto eu vis. An ceteros feugait scaevola sed, qui at sanctus accumsan aliquando. Pro an labitur comprehensam. Ex fierent necessitatibus pri. Te vitae delenit maluisset cum, altera voluptatibus ea eos. Ut hinc commune his, his laudem dissentiet ei. Ut pro utamur detracto expetenda.")]),a("h3",[t._v("Invitations")]),a("p",[t._v("Lorem ipsum dolor sit amet, qui in dolorem ceteros phaedrum. Vix eius facer detracto ne, te accumsan adipiscing argumentum nam. Ei adhuc gubergren vix. Novum fabulas perfecto eu vis. An ceteros feugait scaevola sed, qui at sanctus accumsan aliquando. Pro an labitur comprehensam. Ex fierent necessitatibus pri. Te vitae delenit maluisset cum, altera voluptatibus ea eos. Ut hinc commune his, his laudem dissentiet ei. Ut pro utamur detracto expetenda.")]),a("h3",[t._v("Custom")]),a("p",[t._v("Lorem ipsum dolor sit amet, qui in dolorem ceteros phaedrum. Vix eius facer detracto ne, te accumsan adipiscing argumentum nam. Ei adhuc gubergren vix. Novum fabulas perfecto eu vis. An ceteros feugait scaevola sed, qui at sanctus accumsan aliquando. Pro an labitur comprehensam. Ex fierent necessitatibus pri. Te vitae delenit maluisset cum, altera voluptatibus ea eos. Ut hinc commune his, his laudem dissentiet ei. Ut pro utamur detracto expetenda.")]),a("RequestAQuoteButton",{attrs:{outlined:!0}})],1)},T=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h1",[a("b",[t._v("Services")])])}],U=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("mdb-btn",{staticClass:"custom-btn",class:t.outlined?"custom-btn-outlined":"",attrs:{rounded:""},on:{click:function(e){return t.$router.push({name:"quote"})}}},[t._v("Request A Quote")])},Y=[],J={name:"RequestAQuoteButton",props:{outlined:{type:Boolean,default:!1}},components:{mdbBtn:u["mdbBtn"]}},G=J,W=Object(p["a"])(G,U,Y,!1,null,"a8d24a9e",null),K=W.exports,X={name:"Services",components:{RequestAQuoteButton:K}},Z=X,tt=(a("c573"),Object(p["a"])(Z,Q,T,!1,null,"0fc2c399",null)),et=tt.exports,at=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pricing",attrs:{id:"pricing"}},[a("div",{staticClass:"pricing-table mx-auto"},[t._m(0),a("mdb-datatable-2",{attrs:{bordered:"",striped:"",pagination:!1},model:{value:t.data,callback:function(e){t.data=e},expression:"data"}}),a("RequestAQuoteButton")],1)])},ot=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h1",[a("b",[t._v("Pricing")])])}],it={name:"Pricing",components:{mdbDatatable2:u["mdbDatatable2"],RequestAQuoteButton:K},data:function(){return{data:{columns:[{label:"Name",field:"name"},{label:"Description",field:"description"},{label:"Price",field:"price",sort:!0,format:function(t){return"$"+t}}],rows:[{name:"Calligraphy",description:"I do some calligraphy for you.",price:""},{name:"Chalkboard",description:"I draw on a chalkboard for you.",price:"$"},{name:"Invitations",description:"I make your Invitations for you.",price:"$$"},{name:"Custom",description:"I do custom shit for you.",price:"$$$"}]}}}},nt=it,st=(a("69fe"),Object(p["a"])(nt,at,ot,!1,null,"c47faa78",null)),rt=st.exports,ct={name:"Home",components:{ImageCarousel:F,Services:et,Pricing:rt}},lt=ct,ut=Object(p["a"])(lt,M,I,!1,null,"65ece920",null),mt=ut.exports,dt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"raq mx-auto px-3"},[t.success?a("p",[t._v("Email sent! "),a("router-link",{attrs:{to:"/"}},[t._v("Go back.")])],1):t._e(),a("RequestAQuoteForm",{attrs:{isLoading:t.isLoading},on:{formSubmitted:t.submit}})],1)},pt=[],ft=(a("96cf"),a("1da1")),ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[a("h2",{staticClass:"text-center mb-3"},[t._v("Request A Quote")]),a("div",{staticClass:"text-color text-left"},[a("span",[t._v("Select service(s):")]),a("div",{staticClass:"form-inline"},t._l(t.payload.services,(function(e){return a("mdb-input",{key:e.id,staticClass:"checkbox",attrs:{type:"checkbox",id:e.label,label:e.name},model:{value:e.checked,callback:function(a){t.$set(e,"checked",a)},expression:"service.checked"}})})),1),a("mdb-input",{staticClass:"inputfield",attrs:{id:"name-input",label:"Your name",icon:"user",type:"text",required:""},model:{value:t.payload.name,callback:function(e){t.$set(t.payload,"name",e)},expression:"payload.name"}}),a("mdb-input",{staticClass:"inputfield",attrs:{id:"email-input",label:"Your email",icon:"envelope",type:"email",required:""},model:{value:t.payload.email,callback:function(e){t.$set(t.payload,"email",e)},expression:"payload.email"}}),a("mdb-input",{staticClass:"inputfield",attrs:{id:"phone-input",label:"Your phone number",icon:"phone",type:"text",required:""},model:{value:t.payload.phone,callback:function(e){t.$set(t.payload,"phone",e)},expression:"payload.phone"}}),a("mdb-textarea",{staticClass:"inputfield",attrs:{id:"details-input",rows:3,label:"Additional details",icon:"pencil"},model:{value:t.payload.details,callback:function(e){t.$set(t.payload,"details",e)},expression:"payload.details"}})],1),a("div",{staticClass:"text-center"},[a("mdb-btn",{staticClass:"custom-btn",attrs:{"data-testid":"send-btn",type:"submit",rounded:""}},[t._v(" Send "),t.isLoading?t._e():a("mdb-icon",{staticClass:"ml-1 icon-color",attrs:{far:"",icon:"paper-plane"}}),t.isLoading?a("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),a("span",{staticClass:"sr-only"},[t._v("Loading...")])],1)],1)])},bt=[],gt={name:"RequestAQuoteForm",components:{mdbIcon:u["mdbIcon"],mdbInput:u["mdbInput"],mdbBtn:u["mdbBtn"],mdbTextarea:u["mdbTextarea"]},props:{isLoading:{type:Boolean,default:!1}},data:function(){return{payload:{services:[{id:0,name:"Calligraphy",label:"calligraphy-checkbox",checked:!1},{id:1,name:"Chalkboard",label:"chalkboard-checkbox",checked:!1},{id:2,name:"Invitations",label:"invitations-checkbox",checked:!1},{id:3,name:"Custom",label:"custom-checkbox",checked:!1}],name:"",email:"",phone:"",details:""}}},methods:{onSubmit:function(){this.$emit("formSubmitted",this.payload),this.resetForm()},resetForm:function(){this.payload={services:[{id:0,name:"Calligraphy",label:"calligraphy-checkbox",checked:!1},{id:1,name:"Chalkboard",label:"chalkboard-checkbox",checked:!1},{id:2,name:"Invitations",label:"invitations-checkbox",checked:!1},{id:3,name:"Custom",label:"custom-checkbox",checked:!1}],name:"",email:"",phone:"",details:""}}}},vt=gt,xt=(a("ee45"),a("1aa8"),Object(p["a"])(vt,ht,bt,!1,null,"636d9a99",null)),kt=xt.exports,yt={name:"RequestAQuote",components:{RequestAQuoteForm:kt},data:function(){return{isLoading:!1,success:!1}},methods:{submit:function(t){var e=this;return Object(ft["a"])(regeneratorRuntime.mark((function a(){var o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.isLoading=!0,o="https://ccht1ettsg.execute-api.us-east-1.amazonaws.com/fancyflowdesigns-request-a-quote-form",a.next=4,l.a.post(o,t).then((function(t){console.log(t),e.success=!0})).catch((function(t){console.log(t)}));case 4:e.isLoading=!1;case 5:case"end":return a.stop()}}),a)})))()}}},Ct=yt,wt=(a("1f08"),Object(p["a"])(Ct,dt,pt,!1,null,"5e0ec725",null)),_t=wt.exports;o["a"].use(H["a"]);var jt=[{path:"/home",name:"home",component:mt},{path:"/quote",name:"quote",component:_t},{path:"*",component:mt,beforeEnter:function(t,e,a){a("/home")}}],Nt=new H["a"]({mode:"history",base:"/",scrollBehavior:function(t,e,a){return t.hash?{selector:t.hash}:{x:0,y:0}},routes:jt}),Pt=Nt,qt=a("2f62");o["a"].use(qt["a"]);var $t=new qt["a"].Store({state:{},mutations:{},actions:{},modules:{}});o["a"].config.productionTip=!1,o["a"].use(E.a),new o["a"]({router:Pt,store:$t,render:function(t){return t(S)}}).$mount("#app")},"5c0b":function(t,e,a){"use strict";a("9c0c")},"69fe":function(t,e,a){"use strict";a("8e1e")},"78ab":function(t,e,a){},"8e1e":function(t,e,a){},9340:function(t,e,a){},"9c0c":function(t,e,a){},"9c9e":function(t,e,a){},b34e:function(t,e,a){},c573:function(t,e,a){"use strict";a("000c")},c9fa:function(t,e,a){"use strict";a("9c9e")},d529:function(t,e,a){"use strict";a("128e")},e836:function(t,e,a){"use strict";a("b34e")},ee45:function(t,e,a){"use strict";a("f53e")},f53e:function(t,e,a){}}); //# sourceMappingURL=app.c3528bcc.js.map