{"version":3,"sources":["webpack:///./src/components/InputImage.vue","webpack:///src/components/InputImage.vue","webpack:///./src/components/InputImage.vue?b6cf","webpack:///./src/components/InputImage.vue?d7e1","webpack:///../../../src/components/VGrid/VRow.ts","webpack:///../../../src/components/VGrid/VCol.ts","webpack:///./src/components/InputImage.vue?579b","webpack:///./src/forms/creative/BannerEditor.image.vue","webpack:///src/forms/creative/BannerEditor.image.vue","webpack:///./src/forms/creative/BannerEditor.image.vue?3918","webpack:///./src/forms/creative/BannerEditor.image.vue?edde"],"names":["render","_vm","this","_c","_self","staticClass","on","$event","$refs","img_input","click","ref","staticStyle","attrs","handleFiles","$slots","default","_t","loading","_v","_s","$t","isImages","stopPropagation","removeImages","apply","arguments","_e","key","keyImg","onlyTitle","Object","keys","images","length","$getImgSrc","staticRenderFns","_createFileReader","fr","reject","resolve","name","result","_fileLimit","_fileRegex","_readFiles","files","multi","promises","_createImage","image","_getImgSize","width","height","size","_createCanvases","formats","canvas","context","dx","dy","resize","canvases","components","Loading","data","originalImage","originalSize","innerFormats","props","value","type","required","keepOriginal","keepOriginalName","randomName","timestampName","debug","watch","computed","mounted","methods","p","imgName","component","VBtn","VIcon","breakpoints","ALIGNMENT","makeProps","prefix","def","reduce","val","upperFirst","alignValidator","str","includes","alignProps","String","validator","justifyValidator","justifyProps","alignContentValidator","alignContentProps","propMap","align","justify","alignContent","classMap","breakpointClass","prop","className","breakpoint","replace","toLowerCase","cache","Map","Vue","extend","functional","tag","dense","Boolean","noGutters","h","children","cacheKey","classList","get","forEach","push","set","mergeData","class","breakpointProps","Number","offsetProps","orderProps","col","offset","order","cols","alignSelf","parent","hasColClasses","some","startsWith","model","content","callback","$$v","$set","expression","$rules","min","image_formats","handleImage","title","description","style","ratio_width","ratio_height","transform","marginBottom","minWidth","InputImage","values","created","ratio","handler","params","deep","putExampleData","attribValues","banner","VCol","VDivider","VRow","VTextField"],"mappings":"8MAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,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,EAAkB,G,wBCgJtB,MAAMC,EAAoB,GAA1B,oBACA,uBACAC,mBACA,aACAA,gCACAA,iCACAC,oDAEA,OACAD,gCACAA,iCACAE,GAAAC,YAAAC,mBAEAJ,6BACAA,gCAGMK,EAAa,SACbC,EAAa,mDACbC,EAAa,CAACC,EAAOC,GAAQ,KACnC,WACA,oCACA,aACA,0BAMA,+DALA,eAIA,6DAHA,oBAEA,kEADAC,aAKA,uBAGMC,EAAe,GAArB,oBACA,kBACAC,kBACAA,kBACAA,UAGMC,EAAc,IACpB,SACAC,6CACAC,kDAGA,OADAC,yBACA,GAGMC,EAAkB,CAACL,EAAOM,EAAU,MAC1C,aACA,KACA,gCACA,aACA,mCACAC,2DACAA,8DACAA,WACAA,qCACA,sDACAA,+BACA,2BACAC,kCACAA,wCACA,SAAAC,KAAAC,MACA,OACA,mBACAC,sCACAA,yBACAA,2BAEAA,kCACAA,yBACAA,4BAGA,mBACAA,kCACAA,yBACAA,6BAEAA,sCACAA,yBACAA,0BAIAH,YACAR,EACAW,KACAA,KACAA,QACAA,UAEAC,UAEA,UAWe,OACfrB,kBACAsB,YACAC,sBAEAC,WACAxB,YACAyB,qBACAC,oBACAlC,cACAmC,gBACAvC,SACAX,aAEAmD,OACAC,OACAC,qBACAC,aAEAhB,SACAe,oBACAC,aAEAC,cACAF,aACAC,YACAxD,YAEA0D,kBACAH,aACAC,YACAxD,YAEA2D,YACAJ,aACAC,YACAxD,YAEA4D,eACAL,aACAC,YACAxD,YAEA6D,OACAN,aACAC,YACAxD,YAEAc,WACAyC,aACAC,YACAxD,aAIA8D,OACAR,SACA,iDACA,gBAIAS,UACAzD,WACA,0DAIA0D,UACA,yCACA,kDACA,2BACAvC,gBACAW,aACAC,gBAGA,wCACA,eAGA4B,SAEAzD,eACA,iBACA,8BACA,cACA,gCACA,kCAGAV,eAEA+B,2BACAI,wBACA,+BACA,+CACAa,kBACA,eACA,oCACAoB,iEACA,mCACA,mCAGA,8BACA,oBACA,sBACAC,OACA,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AAQ,+BAEA,kBCpK2W,I,iFCOvW3F,EAAY,eACd,EACApF,EACAoC,GACA,EACA,KACA,KACA,MAIa,aAAAgD,EAAiB,QAQhC,IAAkBA,EAAW,CAAC4F,OAAA,KAAKC,WAAA,KAASC,OAAA,KAAKC,aAAA","file":"js/chunk-281633b0.5e5c1bd5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"input-image\",on:{\"click\":function($event){return _vm.$refs.img_input.click()}}},[_c('input',{ref:\"img_input\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.handleFiles}}),(this.$slots.default)?[_vm._t(\"default\")]:[_c('fieldset',{staticClass:\"input-image rounded d-flex flex-column align-stretch\"},[_c('Loading',{attrs:{\"value\":_vm.loading}}),_c('legend',{staticClass:\"v-label v-label--active\"},[_vm._v(_vm._s(_vm.$t('INPUT.IMAGE')))]),(_vm.isImages)?_c('div',{staticClass:\"input-image-remove\"},[_c('v-btn',{attrs:{\"fab\":\"\",\"x-small\":\"\",\"depressed\":\"\",\"color\":\"white\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.removeImages.apply(null, arguments)}}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1):_vm._e(),_c('div',{key:_vm.keyImg},[(_vm.onlyTitle)?_c('div',{staticClass:\"text-ellipsis text-nowrap ma-2\"},[_c('small',[_vm._v(_vm._s((Object.keys(_vm.images || {}).length > 0 ? '1 image' : 'Click to download')))])]):_c('div',{staticClass:\"pr-2 pl-2 input-image-upload-area\"},[_c('img',{key:_vm.keyImg,staticClass:\"rounded\",attrs:{\"src\":_vm.$getImgSrc(_vm.images, 0, '/img/empty-image.png'),\"width\":\"100%\"}})])])],1)]],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputImage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputImage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InputImage.vue?vue&type=template&id=261110bd&\"\nimport script from \"./InputImage.vue?vue&type=script&lang=js&\"\nexport * from \"./InputImage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InputImage.vue?vue&type=style&index=0&id=261110bd&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VIcon})\n","import './VGrid.sass'\n\nimport Vue, { PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst ALIGNMENT = ['start', 'end', 'center']\n\nfunction makeProps (prefix: string, def: () => PropOptions) {\n return breakpoints.reduce((props, val) => {\n props[prefix + upperFirst(val)] = def()\n return props\n }, {} as Dictionary)\n}\n\nconst alignValidator = (str: any) => [...ALIGNMENT, 'baseline', 'stretch'].includes(str)\nconst alignProps = makeProps('align', () => ({\n type: String,\n default: null,\n validator: alignValidator,\n}))\n\nconst justifyValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around'].includes(str)\nconst justifyProps = makeProps('justify', () => ({\n type: String,\n default: null,\n validator: justifyValidator,\n}))\n\nconst alignContentValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around', 'stretch'].includes(str)\nconst alignContentProps = makeProps('alignContent', () => ({\n type: String,\n default: null,\n validator: alignContentValidator,\n}))\n\nconst propMap = {\n align: Object.keys(alignProps),\n justify: Object.keys(justifyProps),\n alignContent: Object.keys(alignContentProps),\n}\n\nconst classMap = {\n align: 'align',\n justify: 'justify',\n alignContent: 'align-content',\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: string) {\n let className = classMap[type]\n if (val == null) {\n return undefined\n }\n if (prop) {\n // alignSm -> Sm\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // .align-items-sm-center\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-row',\n functional: true,\n props: {\n tag: {\n type: String,\n default: 'div',\n },\n dense: Boolean,\n noGutters: Boolean,\n align: {\n type: String,\n default: null,\n validator: alignValidator,\n },\n ...alignProps,\n justify: {\n type: String,\n default: null,\n validator: justifyValidator,\n },\n ...justifyProps,\n alignContent: {\n type: String,\n default: null,\n validator: alignContentValidator,\n },\n ...alignContentProps,\n },\n render (h, { props, data, children }) {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `align`, `justify`, `alignContent` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n classList.push({\n 'no-gutters': props.noGutters,\n 'row--dense': props.dense,\n [`align-${props.align}`]: props.align,\n [`justify-${props.justify}`]: props.justify,\n [`align-content-${props.alignContent}`]: props.alignContent,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'row',\n class: classList,\n }),\n children\n )\n },\n})\n","import './VGrid.sass'\n\nimport Vue, { VNode, PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-col',\n functional: true,\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String,\n default: null,\n validator: (str: any) => ['auto', 'start', 'end', 'center', 'baseline', 'stretch'].includes(str),\n },\n tag: {\n type: String,\n default: 'div',\n },\n },\n render (h, { props, data, children, parent }): VNode {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('col-'))\n\n classList.push({\n // Default to .col if no other col-{bp}-* classes generated nor `cols` specified.\n col: !hasColClasses || !props.cols,\n [`col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(props.tag, mergeData(data, { class: classList }), children)\n },\n})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputImage.vue?vue&type=style&index=0&id=261110bd&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-row',{staticClass:\"ma-0 height-100\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('p',{staticClass:\"primary--text mb-0\"},[_vm._v(_vm._s(_vm.$t('BANNER_EDITOR.SIZE')))]),_c('div',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('small',[_vm._v(_vm._s(_vm.$t('BANNER_EDITOR.WIDTH')))]),_c('v-text-field',{attrs:{\"type\":\"number\",\"min\":\"10\",\"max\":\"1280\",\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.content.width),callback:function ($$v) {_vm.$set(_vm.content, \"width\", $$v)},expression:\"content.width\"}})],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"1\"}},[_c('p',{staticClass:\"mt-8\"},[_vm._v(\"x\")])]),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('small',[_vm._v(_vm._s(_vm.$t('BANNER_EDITOR.HEIGHT')))]),_c('v-text-field',{attrs:{\"type\":\"number\",\"min\":\"10\",\"max\":\"640\",\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.content.height),callback:function ($$v) {_vm.$set(_vm.content, \"height\", $$v)},expression:\"content.height\"}})],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('p',{staticClass:\"mt-8\"},[_vm._v(\"pixels\")])])],1)],1),_c('v-divider',{staticClass:\"mt-6 mb-6\"}),_c('div',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('div',[_vm._v(\"Upload your image:\")]),_c('small',{staticClass:\"grey--text\"},[_vm._v(\".jpg, .jpeg, .png are accepted\")])]),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"hidden\",\"rules\":[_vm.$rules.required, _vm.$rules.min(1)],\"dense\":\"\"},model:{value:(_vm.content.image),callback:function ($$v) {_vm.$set(_vm.content, \"image\", $$v)},expression:\"content.image\"}}),_c('InputImage',{attrs:{\"only-title\":\"\",\"formats\":_vm.image_formats,\"value\":_vm.images},on:{\"input\":_vm.handleImage}})],1)],1)],1),_c('v-divider',{staticClass:\"mt-6 mb-6\"}),_c('p',[_vm._v(_vm._s(_vm.$t('BANNER_EDITOR.CONTENT_PARAMS')))]),_c('div',{staticClass:\"mb-2\"},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"hide-details\":\"\",\"dense\":\"\",\"label\":\"Title\",\"rules\":[_vm.$rules.required]},model:{value:(_vm.content.title),callback:function ($$v) {_vm.$set(_vm.content, \"title\", $$v)},expression:\"content.title\"}})],1),_c('div',{staticClass:\"mb-2\"},[_c('v-text-field',{attrs:{\"outlined\":\"\",\"hide-details\":\"\",\"dense\":\"\",\"label\":\"Description\",\"rules\":[_vm.$rules.required]},model:{value:(_vm.content.description),callback:function ($$v) {_vm.$set(_vm.content, \"description\", $$v)},expression:\"content.description\"}})],1)],1),_c('v-divider',{attrs:{\"vertical\":\"\"}}),_c('v-col',{staticClass:\"d-flex flex-column align-center grey lighten-3 pt-10\",attrs:{\"cols\":\"6\"}},[_c('p',{staticClass:\"grey--text\"},[_c('small',[_c('i',[_vm._v(_vm._s(_vm.$t('BANNER_EDITOR.BANNER_EXAMPLE')))])])]),_c('div',{staticClass:\"d-inline-block white elevation-4\",style:({width:_vm.ratio_width+'px', height:_vm.ratio_height+'px', transform:'scale(0.66)', marginBottom: -((_vm.content.height-_vm.content.height/1.33)/2) + 'px'})},[(Object.keys(_vm.images || {}).length)?_c('img',{attrs:{\"src\":_vm.$getImgSrc(_vm.images, 0, '/img/empty-image.png'),\"height\":_vm.ratio_height,\"width\":_vm.ratio_width}}):_vm._e()]),_c('div',{staticClass:\"text-ellipsis text-nowrap mt-4\",style:({width:_vm.ratio_width/1.5+'px', minWidth:'200px'})},[_c('small',[_c('strong',[_vm._v(_vm._s(_vm.content.title))])])]),_c('div',{staticClass:\"text-ellipsis text-nowrap\",style:({width:_vm.ratio_width/1.5+'px', minWidth:'200px'})},[_c('small',[_vm._v(_vm._s(_vm.content.description))])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BannerEditor.image.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BannerEditor.image.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BannerEditor.image.vue?vue&type=template&id=74b4eef3&\"\nimport script from \"./BannerEditor.image.vue?vue&type=script&lang=js&\"\nexport * from \"./BannerEditor.image.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VCol,VDivider,VRow,VTextField})\n"],"sourceRoot":""}