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BqI,eAAejC,EAAA1D,aAAAA,KAAAA,EAAAA,CAAAA,iBAAAA,uBAAAA,eAAAA,QAAAA,cAAAA,aAAAA,iBAAAA,gBAAAA,wCAAAA,sDAAAA,4BAAAA,oBAAAA,GCX2B,CAAC,YAAY,oB,+ECPzF,oBAOA,OACErG,MAAO,CACLE,KAAM,CACJA,KAAMK,OACNH,UAAU,EACVC,QAAS,UAEX4L,SAAU,CACR/L,KAAMgD,QACN9C,UAAU,EACVC,SAAS,IAIbI,MAAO,CAAC,SAER2B,QAAS,CACPsI,OAAAA,GACE9J,KAAKY,MAAM,QACb,ICjBJ,OAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,SDP3D,wCACEgI,EAAAA,EAAAA,IAES,UAFDjH,MAAM,gCAAiCrC,KAAMwI,EAAAxI,KAAO+L,SAAUvD,EAAAuD,SAAWvB,QAAKoB,EAAA,KAAAA,EAAA,OAAAI,IAAEvD,EAAA+B,SAAA/B,EAAA+B,WAAAwB,KAAO,EAC7FC,EAAAA,EAAAA,IAAQpC,EAAAqC,OAAA,kBAAAC,GAAA,MAFZ1C,EAAA,GCO4E,CAAC,YAAY,oB,kFCEzF,OACE3J,MAAO,CACLkL,MAAO,CACLhL,KAAMK,OACNH,UAAU,EACVC,QAAS,KAIbI,MAAO,CAAC,UCXV,OAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,S,wCDJzD+I,EAAAA,EAAAA,IAIS,UAJDtJ,KAAK,SAASqC,MAAM,gBAAiBmI,QAAKoB,EAAA,KAAAA,EAAA,GAAAQ,GAAEvC,EAAAvI,MAAM,WAAD,EACvD2K,EAAAA,EAAAA,IAEOpC,EAAAqC,OAAA,cAFP,IAEO,EAJXlD,EAAAA,EAAAA,KAAAY,EAAAA,EAAAA,IAGSpB,EAAAwC,OAAK,W","sources":["webpack://agra/./app/javascript/components/upload/direct-dropzone.vue?4faf","webpack://agra/./app/javascript/components/upload/direct-dropzone.vue","webpack://agra/./app/javascript/image/select-image-and-crop-modal.vue","webpack://agra/./app/javascript/image/select-image-and-crop-modal.vue?9996","webpack://agra/./app/javascript/image/select-image-and-crop-mixin.js","webpack://agra/./app/javascript/image/upload-and-crop.vue","webpack://agra/./app/javascript/image/upload-and-crop.vue?f7ef","webpack://agra/./app/javascript/modals/modal-button.vue","webpack://agra/./app/javascript/modals/modal-button.vue?45be","webpack://agra/./app/javascript/components/buttons/light-button.vue","webpack://agra/./app/javascript/components/buttons/light-button.vue?b296"],"sourcesContent":["import script from \"./direct-dropzone.vue?vue&type=script&lang=js\"\nexport * from \"./direct-dropzone.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","\n\n\n\n\n","import { render } from \"./select-image-and-crop-modal.vue?vue&type=template&id=1689cca2&scoped=true\"\nimport script from \"./select-image-and-crop-modal.vue?vue&type=script&lang=js\"\nexport * from \"./select-image-and-crop-modal.vue?vue&type=script&lang=js\"\n\nimport \"./select-image-and-crop-modal.vue?vue&type=style&index=0&id=1689cca2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1689cca2\"]])\n\nexport default __exports__","import SelectImageAndCropModal from './select-image-and-crop-modal'\n\nexport default {\n components: { SelectImageAndCropModal },\n\n props: {\n allowCropping: {\n type: Boolean,\n required: false,\n default: true\n },\n aspectRatio: {\n type: Number,\n required: true\n },\n fieldName: {\n type: String,\n required: true\n },\n imageBaseUrl: {\n type: String,\n required: true\n },\n previewStyle: {\n type: String,\n required: false,\n default: 'form'\n }\n },\n\n data() {\n return {\n image: this.initialImage\n }\n },\n\n methods: {\n openModal() {\n this.$refs.modal.open()\n },\n\n updateImage(image) {\n this.image = image\n }\n }\n}\n","\n\n\n\n\n","import { render } from \"./upload-and-crop.vue?vue&type=template&id=099ff3c0&scoped=true\"\nimport script from \"./upload-and-crop.vue?vue&type=script&lang=js\"\nexport * from \"./upload-and-crop.vue?vue&type=script&lang=js\"\n\nimport \"./upload-and-crop.vue?vue&type=style&index=0&id=099ff3c0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-099ff3c0\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./modal-button.vue?vue&type=template&id=5eb8860d&scoped=true\"\nimport script from \"./modal-button.vue?vue&type=script&lang=js\"\nexport * from \"./modal-button.vue?vue&type=script&lang=js\"\n\nimport \"./modal-button.vue?vue&type=style&index=0&id=5eb8860d&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5eb8860d\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./light-button.vue?vue&type=template&id=67792c88\"\nimport script from \"./light-button.vue?vue&type=script&lang=js\"\nexport * from \"./light-button.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["name","extends","BaseDropzone","props","maxFilesizeMb","type","Number","required","default","paramName","String","uploadUrl","emits","mounted","component","this","options","commonDropzoneOptions","maxFiles","maxFilesize","method","url","headers","success","file","response","status","$emit","error","errorMessage","xhr","message","tokenElement","document","querySelector","getAttribute","dropzone","Dropzone","$el","methods","clearFile","removeAllFiles","class","key","components","Alert","Cropper","DirectDropzone","ImageSourceSelector","Modal","ModalButton","SearchStockImage","allowCropping","Boolean","allowExternalImage","aspectRatio","image","Object","description","entityType","externalImageAttributionUtmParams","externalImagePhotoRetrievalUrlWithPlaceholder","externalImageSearchUrl","fieldName","imageBaseUrl","previewStyle","data","cropRect","stage","stockImageSearchQuery","uploadErrorMessage","computed","cropping","cropWhxy","w","h","x","y","imageFileTypes","IMAGE_FILE_TYPES","modalSize","modalTitle","i18n","t","modalDescription","supportedFileTypes","fileTypesString","slice","join","file_types","selectingSource","selectingStockImage","uploading","openDropzone","$refs","click","crop","ajax","patch","id","crop_whxy","successHandler","modal","close","updateImage","originalUrl","imageUrls","original","previewUrl","allUrls","stopCropping","errorHandler","finishedUpload","image_urls","nextTick","startCropping","open","searchImage","imageQuery","setUploadErrorMessage","showUploadSource","useStockImage","stockImageProperties","attributionData","objectKeysToSnakeCase","user","post","external_url","originalImageUrl","external_id","attribution_data","updateCrop","height","width","Math","round","visibilityChanged","newVisibility","_createBlock","_component_modal","ref","$props","$options","onVisibilityChanged","body","_withCtx","$data","_component_alert","_createCommentVNode","_createTextVNode","_component_image_source_selector","onUploadFile","onSearchImage","_component_search_stock_image","onUseStockImage","_createElementBlock","_Fragment","_createElementVNode","_hoisted_1","_hoisted_2","_hoisted_3","_toDisplayString","_ctx","_hoisted_4","_createVNode","_component_direct_dropzone","title","disclaimer","onUploadSuccess","onUploadError","_hoisted_5","_hoisted_6","_component_modal_button","onClick","_","_hoisted_7","_hoisted_8","_hoisted_9","_component_cropper","onUpdate","_hoisted_10","label","SelectImageAndCropModal","initialImage","openModal","LightButton","mixins","SelectImageAndCropMixin","addOrEditText","deleteImage","delete","src","_component_light_button","_cache","_component_select_image_and_crop_modal","onImageUpdated","disabled","args","_renderSlot","$slots","undefined","$event"],"sourceRoot":""}