(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-41a36004"],{"0fd9":function(t,n,a){"use strict";a("99af"),a("4160"),a("caad"),a("13d5"),a("4ec9"),a("b64b"),a("d3b7"),a("ac1f"),a("2532"),a("3ca3"),a("5319"),a("159b"),a("ddb0");var e=a("ade3"),c=a("5530"),r=(a("4b85"),a("2b0e")),l=a("d9f7"),o=a("80d2"),i=["sm","md","lg","xl"],s=["start","end","center"];function u(t,n){return i.reduce((function(a,e){return a[t+Object(o["E"])(e)]=n(),a}),{})}var p=function(t){return[].concat(s,["baseline","stretch"]).includes(t)},f=u("align",(function(){return{type:String,default:null,validator:p}})),g=function(t){return[].concat(s,["space-between","space-around"]).includes(t)},d=u("justify",(function(){return{type:String,default:null,validator:g}})),m=function(t){return[].concat(s,["space-between","space-around","stretch"]).includes(t)},v=u("alignContent",(function(){return{type:String,default:null,validator:m}})),b={align:Object.keys(f),justify:Object.keys(d),alignContent:Object.keys(v)},C={align:"align",justify:"justify",alignContent:"align-content"};function y(t,n,a){var e=C[t];if(null!=a){if(n){var c=n.replace(t,"");e+="-".concat(c)}return e+="-".concat(a),e.toLowerCase()}}var h=new Map;n["a"]=r["default"].extend({name:"v-row",functional:!0,props:Object(c["a"])(Object(c["a"])(Object(c["a"])({tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:p}},f),{},{justify:{type:String,default:null,validator:g}},d),{},{alignContent:{type:String,default:null,validator:m}},v),render:function(t,n){var a=n.props,c=n.data,r=n.children,o="";for(var i in a)o+=String(a[i]);var s=h.get(o);return s||function(){var t,n;for(n in s=[],b)b[n].forEach((function(t){var e=a[t],c=y(n,t,e);c&&s.push(c)}));s.push((t={"no-gutters":a.noGutters,"row--dense":a.dense},Object(e["a"])(t,"align-".concat(a.align),a.align),Object(e["a"])(t,"justify-".concat(a.justify),a.justify),Object(e["a"])(t,"align-content-".concat(a.alignContent),a.alignContent),t)),h.set(o,s)}(),t(a.tag,Object(l["a"])(c,{staticClass:"row",class:s}),r)}})},"8ef9":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"img-cropper-wrap"},[a("page-title-bar"),a("v-container",{staticClass:"pt-0 mt-n3",attrs:{fluid:""}},[a("v-row",[a("app-card",{attrs:{colClasses:"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"}},[a("v-row",[a("app-card",{attrs:{colClasses:"col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12",customClasses:"img-crop"}},[a("croppa",{attrs:{"canvas-color":"transparent",placeholder:"Choose an image",accept:"image/*","show-remove-button":!0,"remove-button-color":"red","initial-position":"center"},model:{value:t.croppaImg,callback:function(n){t.croppaImg=n},expression:"croppaImg"}},[a("img",{attrs:{slot:"placeholder",src:"public/static/img/bg-1.jpg"},slot:"placeholder"})]),a("div",{staticClass:"d-custom-flex justify-space-between py-3 format-btn-wrap"},[a("v-btn",{staticClass:"primary",on:{click:function(n){return t.rotate()}}},[t._v("Rotate")]),a("v-btn",{staticClass:"primary",on:{click:function(n){return t.flipX()}}},[t._v("Flip-X")]),a("v-btn",{staticClass:"primary",on:{click:function(n){return t.flipY()}}},[t._v("Flip-Y")])],1),a("v-btn",{staticClass:"v-btn success w-100 ma-0",on:{click:t.generateImage}},[t._v("Generate")])],1),t.imgUrl?a("app-card",{attrs:{colClasses:"col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12",customClasses:"img-crop",contentCustomClass:"d-custom-flex justify-center align-center h-100"}},[a("img",{staticClass:"img-crop img-responsive",attrs:{height:"300",src:t.imgUrl}})]):t._e()],1)],1)],1)],1)],1)},c=[],r={data:function(){return{croppaImg:null,imgUrl:""}},methods:{generateImage:function(){var t=this.croppaImg.generateDataUrl();t?this.imgUrl=t:alert("no image")},rotate:function(){this.croppaImg.rotate()},flipX:function(){this.croppaImg.flipX()},flipY:function(){this.croppaImg.flipY()}}},l=r,o=a("2877"),i=a("6544"),s=a.n(i),u=a("8336"),p=a("a523"),f=a("0fd9"),g=Object(o["a"])(l,e,c,!1,null,null,null);n["default"]=g.exports;s()(g,{VBtn:u["a"],VContainer:p["a"],VRow:f["a"]})}}]);