{"version":3,"sources":["webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/style/style.css?e66d","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/props.js","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/style/crop.css?0ff1","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/lib/drag.js","webpack:///./node_modules/_daycaca@1.0.11@daycaca/dist/index.js","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/lib/resize.js","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/rotate-bar.vue?227e","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/lib/loading-gif.js","webpack:///./node_modules/_core-image-xhr@1.0.3@core-image-xhr/index.js","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/vue-core-image-upload.vue?4c66","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/crop.vue?ebf1","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/resize-bar.vue?2e3a","webpack:///node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/resize-bar.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/resize-bar.vue?5aa6","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/resize-bar.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/rotate-bar.vue?5eb7","webpack:///node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/rotate-bar.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/rotate-bar.vue?50d5","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/rotate-bar.vue","webpack:///node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/crop.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/crop.vue?d67b","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/crop.vue","webpack:///node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/vue-core-image-upload.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/vue-core-image-upload.vue?095b","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/vue-core-image-upload.vue","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/lib/helper.js","webpack:///./node_modules/_vue-core-image-upload@2.4.11@vue-core-image-upload/dist/resize-bar.vue?39d9"],"names":["root","factory","module","exports","this","modules","installedModules","__webpack_require__","moduleId","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","23","default","url","type","String","text","extensions","inputOfFile","crop","Boolean","cropBtn","ok","cancel","cropRatio","resize","rotate","ResizeBtn","maxFileSize","Number","maxWidth","maxHeight","fixedWidth","fixedHeight","inputAccept","isXhr","headers","data","multiple","multipleSize","minWidth","compress","credentials","0","isMobile","test","navigator","userAgent","setCssText","obj","cssArr","keys","forEach","key","val","push","join","isFunction","fn","13","drag","_helper","_helper2","_interopRequireDefault","e","el","coor","currentX","changedTouches","clientX","currentY","clientY","left","x","top","y","minLeft","maxLeft","minTop","maxTop","self","_typeof","Symbol","iterator","constructor","_extends","assign","target","arguments","length","source","isNumber","num","imageReg","defaultConfig","ratio","enableWebWorker","setConfig","config","_config","init","src","callback","_this","scrTypes","split","srcType","image","_createImage","replace","onload","cvs","_getCanvas","naturalWidth","naturalHeight","ctx","getContext","drawImage","newImageData","toDataURL","base64","_getSrc","_readFile","video","videoWidth","videoHeight","quality","_this2","_getSrc2","_compress","_this3","_loadImage","mimeType","_getImageType","options","_this4","_getSrc3","_crop","_this5","w","width","h","height","_this6","_getSrc4","_resize","_this7","isNeedCrop","ow","oh","aspect","Math","floor","degree","_this8","_getSrc5","_rotate","_this9","clearRect","fillStyle","fillRect","translate","PI","file","reader","FileReader","event","result","readAsDataURL","canvas","document","createElement","Image","crossOrigin","_isImageElement","imgSrc","Error","_isVideoElement","_isFileObject","size","tagName","_getSrc6","fileType","outputType","match","arr","exec","22","W","body","offsetWidth","container","H","offsetHeight","ratioRemainder","dotBoxW","parseFloat","window","getComputedStyle","dotBoxH","$topH","querySelector","halfX","topH","halfY","resetX","resetY","elOffsetWidth","elOffsetHeight","CSSObj","style","14","GIF_LOADING_SRC","undefined","XMLHttpRequest","sendAsBinary","string","bytes","Array","map","charCodeAt","send","Uint8Array","buffer","method","err","isBinary","withCredentials","r","error","console","boundary","binary","toUpperCase","json","response","JSON","parse","responseText","_e","status","statusText","headersToJSON","getAllResponseHeaders","statusCode","onerror","keyData","code","base64Code","filed","filename","atob","keyArr","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","next","done","k","indexOf","stringify","encodeURI","return","open","responseType","overrideMimeType","setRequestHeader","reg","render","_vm","_h","$createElement","_c","_self","staticClass","_t","_v","_s","directives","rawName","hasImage","expression","attrs","uploading","on","change","dragover","dragleave","ref","staticStyle","doRotate","doReverseRotate","doCrop","doResize","staticRenderFns","backgroundImage","cursor","isResize","cropCSS","bottom","right","$event","currentTarget","resizeImage","rotateImage","props","minProgress","progress","methods","setProgress","preventDefault","stopPropagation","$el","touches","offsetLeft","offsetTop","parseInt","$container","newCoor","$emit","removeEventListener","move","stopMove","addEventListener","component","rotateLeft","rotateRight","rotateDegree","components","ResizeBar","RotateBar","minHeight","isRotate","initWidth","initHeight","setImage","originSrc","setOriginalSrc","ratioW","ratioH","ratioVal","natrualWidth","natrualHeight","setLayout","resizeBar","imgChangeRatio","R","Rs","marginLeft","_setStyle","marginTop","cssText","setCropBox","areaWidth","cropWidth","baseCropWidth","imageWidth","imageHeight","$selectCropBox","baseCropHeight","getCropData","getCropImage","$refs","__find","dq","str","_$container","newCropStyle","ma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AAKA,GAC5BA,GAIRV,EAAoBW,EAAI,SAASQ,EAAQC,GAAY,OAAOR,OAAOS,UAAUC,eAAelB,KAAKe,EAAQC,IAGzGpB,EAAoBuB,EAAI,GAGjBvB,EAAoBA,EAAoBwB,EAAI,GAjE7C,CAoEN,CAEJ,SAAU7B,EAAQC,EAASI,GAEjC,aAGAL,EAAOC,QAAU,CAEf8D,SAAU,iEAAiEC,KAAKC,UAAUC,WAK1FC,WAAY,SAAoBC,GAC9B,IAAIC,EAAS,GAQb,OAPApD,OAAOqD,KAAKF,GAAKG,SAAQ,SAAUC,GACjC,IAAIC,EAAML,EAAII,GACK,kBAARC,IACTA,GAAiB,MAEnBJ,EAAOK,KAAKF,EAAM,KAAOC,EAAM,QAE1BJ,EAAOM,KAAK,KAErBC,WAAY,SAAoBC,GAC9B,MAAqB,oBAAPA,W,kCCxGlB,yBAAyhB,EAAG","file":"h5/js/chunk-1d9e4e87.51e09774.js","sourcesContent":["import mod from \"-!../../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!./style.css?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!./style.css?vue&type=style&index=0&lang=css&\"","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 23);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 23:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n url: {\n type: String\n },\n text: {\n type: String,\n default: 'Upload Image'\n },\n extensions: {\n type: String,\n default: 'png,jpg,jpeg,gif,svg,webp'\n },\n inputOfFile: {\n type: String,\n default: 'files'\n },\n crop: {\n type: [String, Boolean],\n default: ''\n },\n cropBtn: {\n type: Object,\n default: function _default() {\n return {\n ok: 'Ok',\n cancel: 'Cancel'\n };\n }\n },\n cropRatio: {\n type: String,\n default: '1:1'\n },\n resize: {\n type: [String, Boolean],\n default: false\n },\n rotate: {\n type: Boolean,\n default: false\n },\n ResizeBtn: {\n type: Object,\n default: function _default() {\n return {\n ok: 'Ok',\n cancel: 'Cancel'\n };\n }\n },\n maxFileSize: {\n type: Number,\n default: 1024 * 1024 * 100\n },\n maxWidth: {\n type: Number\n },\n maxHeight: {\n type: Number\n },\n fixedWidth: {\n type: Number\n },\n fixedHeight: {\n type: Number\n },\n inputAccept: {\n type: String,\n default: 'image/jpg,image/jpeg,image/png,image/gif'\n },\n isXhr: {\n type: Boolean,\n default: true\n },\n headers: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n data: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n multiple: {\n type: Boolean,\n default: false\n },\n multipleSize: {\n type: Number,\n default: 0\n },\n minWidth: {\n type: Number,\n default: 50\n },\n compress: {\n type: [Number, String],\n default: 0\n },\n credentials: {\n type: [String, Boolean],\n default: true\n }\n};\n\n/***/ })\n\n/******/ });\n});","import mod from \"-!../../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!./crop.css?vue&type=style&index=0&id=7616bef4&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!./crop.css?vue&type=style&index=0&id=7616bef4&scoped=true&lang=css&\"","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 13);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ }),\n\n/***/ 13:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = drag;\n\nvar _helper = __webpack_require__(0);\n\nvar _helper2 = _interopRequireDefault(_helper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isMobile = _helper2.default.isMobile; /**\n * return drag element coordinate\n */\nfunction drag(e, el, coor) {\n if (!el) {\n return;\n }\n var currentX = isMobile ? e.changedTouches[0]['clientX'] : e.clientX;\n var currentY = isMobile ? e.changedTouches[0]['clientY'] : e.clientY;\n\n var left = currentX - coor.x;\n var top = currentY - coor.y;\n if (left <= coor.minLeft) {\n left = coor.minLeft;\n }\n if (left >= coor.maxLeft) {\n left = coor.maxLeft;\n }\n if (top <= coor.minTop) {\n top = coor.minTop;\n }\n if (top >= coor.maxTop) {\n top = coor.maxTop;\n }\n return {\n left: left,\n top: top\n };\n};\n\n/***/ })\n\n/******/ });\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"daycaca\"] = factory();\n\telse\n\t\troot[\"daycaca\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\n// a canvas lib to compress or crop images\n\nvar isNumber = function isNumber(num) {\n return typeof num === 'number';\n};\nvar imageReg = /[./](png|jpeg|jpg|gif|bmp)/;\n\nvar defaultConfig = {\n ratio: 1,\n compress: 80,\n enableWebWorker: false\n};\n\nmodule.exports = {\n setConfig: function setConfig(config) {\n this._config = _extends(defaultConfig, config);\n },\n\n\n /**\n * init image for reset size and rotation\n */\n init: function init(src, callback) {\n var _this = this;\n\n var scrTypes = src.split(';');\n var srcType = null;\n var image = this._createImage(src);\n if (scrTypes.length > 1) {\n srcType = scrTypes[0].replace('data:', '');\n }\n image.onload = function () {\n var cvs = _this._getCanvas(image.naturalWidth, image.naturalHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(image, 0, 0);\n var newImageData = cvs.toDataURL(srcType);\n callback(newImageData);\n };\n },\n\n\n /**\n * encode image to base64\n * @param {Element|String} el\n * @param {Function} callback\n */\n base64: function base64(el, callback) {\n var _getSrc = this._getSrc(el),\n src = _getSrc.src,\n type = _getSrc.type;\n\n if (type === 'file') {\n return this._readFile(src, callback);\n } else if (type === 'video') {\n var video = el;\n var cvs = this._getCanvas(video.videoWidth, video.videoHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(video, 0, 0);\n var newImageData = cvs.toDataURL();\n callback(newImageData, cvs);\n }\n return this.init(src, callback);\n },\n\n\n /**\n * compress image\n * @param {el|String} src the source of image\n * @param {Number} the quality of image ( 100 = the highest quality)\n * @param {Function} callback\n */\n compress: function compress(source, quality, callback) {\n var _this2 = this;\n\n var _getSrc2 = this._getSrc(source),\n src = _getSrc2.src,\n type = _getSrc2.type;\n\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this2._compress(data, source, quality, callback);\n });\n }\n this._compress(src, source, quality, callback);\n },\n _compress: function _compress(src, source, quality, callback) {\n var _this3 = this;\n\n this._loadImage(src, function (image) {\n var mimeType = _this3._getImageType(source);\n var cvs = _this3._getCanvas(image.naturalWidth, image.naturalHeight);\n var ctx = cvs.getContext('2d');\n ctx.drawImage(image, 0, 0);\n var newImageData = cvs.toDataURL(mimeType, quality / 100);\n callback(newImageData);\n });\n },\n\n\n /**\n * crop image via canvas and generate data\n */\n crop: function crop(source, options, callback) {\n var _this4 = this;\n\n var _getSrc3 = this._getSrc(source),\n src = _getSrc3.src,\n type = _getSrc3.type;\n\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this4._crop(data, source, options, callback);\n });\n }\n this._crop(src, source, options, callback);\n },\n _crop: function _crop(src, source, options, callback) {\n var _this5 = this;\n\n this._loadImage(src, function (image) {\n // alias w and h props\n if (!options.w && options.width) {\n options.w = options.width;\n options.h = options.height;\n }\n\n // check crop options\n if (isNumber(options.x) && isNumber(options.y) && options.w > 0 && options.h > 0) {\n var w = options.w,\n h = options.h;\n\n if (options.maxWidth && options.maxWidth < w) {\n w = options.maxWidth;\n h = options.h * w / options.w;\n }\n if (options.maxHeight && options.maxHeight < h) {\n h = options.maxHeight;\n }\n if (options.fixedWidth && options.fixedHeight) {\n w = options.fixedWidth;\n h = options.fixedHeight;\n }\n var cvs = _this5._getCanvas(w, h);\n cvs.getContext('2d').drawImage(image, options.x, options.y, options.w, options.h, 0, 0, w, h);\n var mimeType = _this5._getImageType(source);\n var data = cvs.toDataURL(mimeType, options.compress / 100);\n callback(data);\n }\n });\n },\n resize: function resize(source, ratio, callback) {\n var _this6 = this;\n\n var _getSrc4 = this._getSrc(source),\n src = _getSrc4.src,\n type = _getSrc4.type;\n\n var options = {};\n if (typeof ratio === 'number' || typeof ratio === 'string') {\n options = {\n ratio: ratio,\n compress: defaultConfig.compress\n };\n }\n if ((typeof ratio === 'undefined' ? 'undefined' : _typeof(ratio)) === 'object') {\n options = ratio;\n }\n if (type === 'file') {\n return this._readFile(src, function (data) {\n _this6._resize(data, source, options, callback);\n });\n }\n this._resize(src, source, options, callback);\n },\n _resize: function _resize(src, source, options, callback) {\n var _this7 = this;\n\n function isNeedCrop(w, h, ow, oh) {\n return w / h === ow / oh;\n }\n this._loadImage(src, function (image) {\n var w = image.naturalWidth;\n var h = image.naturalHeight;\n var aspect = w / h;\n if (options.ratio > 0) {\n w = Math.floor(image.naturalWidth * options.ratio);\n h = Math.floor(image.naturalHeight * options.ratio);\n } else if (typeof options.width === 'number' && typeof options.height === 'number') {\n if (!isNeedCrop(options.width, options.height, w, h)) {\n w = Math.floor(options.width);\n h = Math.floor(options.height);\n } else {\n if (w > options.width || h > options.height) {\n options.x = (w - options.width) / 2;\n options.y = (h - options.height) / 2;\n return _this7._crop(src, source, options, callback);\n } else if (w < options.width) {\n w = options.width;\n h = w / aspect;\n options.x = 0;\n options.y = (h - options.height) / 2;\n return _this7._crop(src, source, options, callback);\n } else if (h < options.height) {\n h = options.height;\n w = h * aspect;\n options.y = 0;\n options.x = (w - options.width) / 2;\n return _this7._crop(src, source, options, callback);\n }\n }\n }\n var cvs = _this7._getCanvas(w, h);\n cvs.getContext('2d').drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight, 0, 0, w, h);\n var mimeType = _this7._getImageType(source);\n var data = cvs.toDataURL(mimeType, options.compress / 100);\n callback(data);\n });\n },\n\n\n /**\n * rotate image\n */\n rotate: function rotate(source, degree, callback) {\n var _this8 = this;\n\n var _getSrc5 = this._getSrc(source),\n src = _getSrc5.src,\n type = _getSrc5.type;\n\n if (type === 'file') {\n return this._readFile(src, function () {\n _this8._rotate(src, source, degree, callback);\n });\n }\n if (degree % 360 === 0) {\n return callback(src);\n }\n this._rotate(src, source, degree, callback);\n },\n _rotate: function _rotate(src, source, degree, callback) {\n var _this9 = this;\n\n this._loadImage(src, function (image) {\n var w = image.naturalWidth;\n var h = image.naturalHeight;\n degree %= 360;\n if (degree === 90 || degree === 270) {\n w = image.naturalHeight;\n h = image.naturalWidth;\n }\n var cvs = _this9._getCanvas(w, h);\n var ctx = cvs.getContext('2d');\n ctx.clearRect(0, 0, w, h);\n ctx.fillStyle = 'white';\n ctx.fillRect(0, 0, w, h);\n ctx.translate(w / 2, h / 2);\n ctx.rotate(degree * Math.PI / 180);\n ctx.drawImage(image, -image.naturalWidth / 2, -image.naturalHeight / 2);\n var mimeType = _this9._getImageType(source);\n var data = cvs.toDataURL(mimeType, 1);\n callback(data, w, h);\n cvs = null;\n ctx = null;\n });\n },\n _loadImage: function _loadImage(src, callback) {\n var image = this._createImage(src);\n image.onload = function () {\n callback(image);\n };\n },\n _readFile: function _readFile(file, callback) {\n var reader = new FileReader();\n reader.onload = function (event) {\n var data = event.target.result;\n callback(data);\n };\n reader.readAsDataURL(file);\n },\n _getCanvas: function _getCanvas(width, height) {\n var canvas = document.createElement('canvas');\n canvas.width = width;\n canvas.height = height;\n return canvas;\n },\n _createImage: function _createImage(src) {\n var image = new Image();\n image.src = src;\n image.crossOrigin = 'anonymous';\n return image;\n },\n _getSrc: function _getSrc(source) {\n var src = source;\n var type = 'url';\n if (this._isImageElement(source)) {\n var imgSrc = source.src;\n if (!imgSrc) {\n throw new Error('Element must hava src');\n }\n src = imgSrc;\n type = 'element';\n } else if (this._isVideoElement(source)) {\n src = source;\n type = 'video';\n } else if (this._isFileObject(source)) {\n src = source;\n type = 'file';\n }\n return {\n src: src,\n type: type\n };\n },\n _isFileObject: function _isFileObject(file) {\n return (typeof file === 'undefined' ? 'undefined' : _typeof(file)) === 'object' && file.type && file.size > 0;\n },\n _isImageElement: function _isImageElement(el) {\n return (typeof el === 'undefined' ? 'undefined' : _typeof(el)) === 'object' && el.tagName === 'IMG';\n },\n _isVideoElement: function _isVideoElement(el) {\n return (typeof el === 'undefined' ? 'undefined' : _typeof(el)) === 'object' && el.tagName === 'VIDEO';\n },\n _getImageType: function _getImageType(source) {\n var _getSrc6 = this._getSrc(source),\n src = _getSrc6.src,\n type = _getSrc6.type;\n\n var mimeType = 'image/jpeg';\n if (type === 'file') {\n var fileType = source.type;\n var outputType = fileType.match(/(image\\/[\\w]+)\\.*/)[0];\n if (typeof outputType !== 'undefined') {\n mimeType = outputType;\n }\n } else {\n var arr = imageReg.exec(src);\n if (arr && arr[1]) {\n mimeType = 'image/' + arr[1];\n }\n }\n return mimeType;\n }\n};\n\n/***/ })\n/******/ ]);\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 22);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ }),\n\n/***/ 22:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = resize;\n\nvar _helper = __webpack_require__(0);\n\nvar _helper2 = _interopRequireDefault(_helper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isMobile = _helper2.default.isMobile; /** Reszie an element\n * @el dom\n * @container dom\n * @ratio string '1:1' like this\n * e events\n **/\n\nvar W = document.body.offsetWidth;\n\nfunction resize(e, el, container, coor, ratio) {\n if (!el) {\n return null;\n }\n var H = document.body.offsetHeight;\n var ratioRemainder = 1 / ratio;\n var dotBoxW = parseFloat(window.getComputedStyle(container).width);\n var dotBoxH = parseFloat(window.getComputedStyle(container).height);\n var $topH = document.querySelector('.info-aside');\n var halfX = (W - dotBoxW) / 2;\n var topH = parseFloat(window.getComputedStyle($topH).height);\n var halfY = (H - dotBoxH - topH) / 2;\n var resetX = isMobile ? e.changedTouches[0]['clientX'] : e.clientX;\n var resetY = isMobile ? e.changedTouches[0]['clientY'] : e.clientY;\n var elOffsetWidth = el.offsetWidth;\n var elOffsetHeight = el.offsetHeight;\n var CSSObj = {};\n if (ratio >= 1 && resetX <= halfX + dotBoxW) {\n if (elOffsetWidth >= dotBoxW) {\n CSSObj.width = dotBoxW;\n }\n CSSObj.width = coor.w + resetX - coor.x;\n CSSObj.height = elOffsetWidth * ratioRemainder;\n if (dotBoxW > dotBoxH) {\n if (elOffsetWidth > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH * ratio;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (elOffsetWidth >= dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (ratio < 1 && resetY < halfY + dotBoxH + topH) {\n CSSObj.height = coor.h + resetY - coor.y;\n CSSObj.width = elOffsetHeight * ratio;\n // 限制拖拉的范围在图片内\n if (dotBoxW > dotBoxH) {\n if (elOffsetHeight > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH * ratio;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW * ratioRemainder;\n }\n } else if (ratio === 'auto' && resetY <= halfY + dotBoxH + topH && resetX <= halfY + dotBoxW) {\n CSSObj.height = coor.h + resetY - coor.y;\n CSSObj.width = coor.w + resetX - coor.x;\n } else if (resetX <= halfX + dotBoxW) {\n CSSObj.width = coor.w + resetX - coor.x;\n CSSObj.height = el.style.width;\n // limit the crop box area\n if (dotBoxW > dotBoxH) {\n if (elOffsetHeight > dotBoxH) {\n CSSObj.height = dotBoxH;\n CSSObj.width = dotBoxH;\n }\n } else if (dotBoxW < dotBoxH) {\n if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n CSSObj.height = dotBoxW;\n }\n } else if (elOffsetWidth > dotBoxW) {\n CSSObj.width = dotBoxW;\n el.style.height = dotBoxW;\n }\n }\n return CSSObj;\n};\n\n/***/ })\n\n/******/ });\n});","import mod from \"-!../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=style&index=0&lang=css&\"","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 14);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 14:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar GIF_LOADING_SRC = 'data:image/gif;base64,R0lGODlhGAAYAPQAAP///3FxcePj4/v7++3t7dLS0vHx8b+/v+Dg4MfHx+jo6M7Oztvb2/f397Kysru7u9fX16qqqgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHg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ggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==';\n\nexports.default = GIF_LOADING_SRC;\n\n/***/ })\n\n/******/ });\n});","'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/**\n * simple ajax handler\n **/\n\n//ADD sendAsBinary compatibilty to older browsers\nif (XMLHttpRequest.prototype.sendAsBinary === undefined) {\n XMLHttpRequest.prototype.sendAsBinary = function (string) {\n var bytes = Array.prototype.map.call(string, function (c) {\n return c.charCodeAt(0) & 0xff;\n });\n this.send(new Uint8Array(bytes).buffer);\n };\n}\n\nmodule.exports = function (method, url, headers, data, callback, err, isBinary, withCredentials) {\n\n var r = new XMLHttpRequest();\n var error = err || function () {\n console.error('AJAX ERROR!');\n };\n var boundary = 'webcodeimageupload';\n // Binary?\n var binary = false;\n if (method === 'blob') {\n binary = method;\n method = 'GET';\n }\n method = method.toUpperCase();\n // Xhr.responseType 'json' is not supported in any of the vendors yet.\n r.onload = function () {\n var json = r.response;\n try {\n json = JSON.parse(r.responseText);\n } catch (_e) {\n if (r.status === 401) {\n json = error('access_denied', r.statusText);\n }\n }\n var headers = headersToJSON(r.getAllResponseHeaders());\n headers.statusCode = r.status;\n callback(json || (method === 'GET' ? error('empty_response', 'Could not get resource') : {}), headers);\n };\n r.onerror = function () {\n var json = r.responseText;\n try {\n json = JSON.parse(r.responseText);\n } catch (_e) {\n console.error(_e);\n }\n callback(json || error('access_denied', 'Could not get resource'));\n };\n var x = void 0;\n // Should we add the query to the URL?\n if (method === 'GET' || method === 'DELETE') {\n data = null;\n } else if (isBinary) {\n var keyData = data;\n var code = data.base64Code.replace('data:' + data.type + ';base64,', '');\n data = ['--' + boundary, 'Content-Disposition: form-data; name=\"' + data.filed + '\"; filename=\"' + data.filename + '\"', 'Content-Type: ' + data.type, '', window.atob(code), ''].join('\\r\\n');\n var keyArr = Object.keys(keyData);\n if (keyArr.length > 4) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = keyArr[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var k = _step.value;\n\n if (['filed', 'filename', 'type', 'base64Code'].indexOf(k) == -1) {\n data += ['--' + boundary, 'Content-Disposition: form-data; name=\"' + k + '\";', '', ''].join('\\r\\n');\n data += [_typeof(keyData[k]) === 'object' ? JSON.stringify(keyData[k]) : encodeURI(keyData[k]), ''].join('\\r\\n');\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n data += '--' + boundary + '--';\n }\n // Open the path, async\n r.open(method, url, true);\n if (binary) {\n if ('responseType' in r) {\n r.responseType = binary;\n } else {\n r.overrideMimeType('text/plain; charset=x-user-defined');\n }\n }\n // Set any bespoke headers\n if (headers) {\n for (x in headers) {\n r.setRequestHeader(x, headers[x]);\n }\n }\n r.withCredentials = typeof withCredentials === 'undefined' ? true : withCredentials;\n if (isBinary) {\n r.setRequestHeader('Content-Type', 'multipart/form-data; boundary=' + boundary);\n return r.sendAsBinary(data);\n }\n\n r.send(data);\n return r;\n // Headers are returned as a string\n function headersToJSON(s) {\n var o = {};\n var reg = /([a-z\\-]+):\\s?(.*);?/gi;\n var m = void 0;\n while (m = reg.exec(s)) {\n o[m[1]] = m[2];\n }\n return o;\n }\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-core-image-upload-btn\"},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.text))]),_c('form',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hasImage),expression:\"!hasImage\"}],staticClass:\"g-core-image-upload-form\",attrs:{\"method\":\"post\",\"enctype\":\"multipart/form-data\",\"action\":\"\"}},[_c('input',{attrs:{\"disabled\":_vm.uploading,\"name\":_vm.name,\"multiple\":_vm.multiple,\"type\":\"file\",\"accept\":_vm.inputAccept},on:{\"change\":_vm.change,\"dragover\":_vm.dragover,\"dragenter\":_vm.dragover,\"dragleave\":_vm.dragleave,\"dragend\":_vm.dragleave,\"drop\":_vm.dragleave}})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasImage),expression:\"hasImage\"}],staticClass:\"g-core-image-corp-container\"},[_c('crop',{ref:\"cropBox\",attrs:{\"is-resize\":_vm.resize && !_vm.crop,\"ratio\":_vm.cropRatio,\"is-rotate\":_vm.rotate}}),_c('div',{staticClass:\"info-aside\"},[_c('p',{staticClass:\"btn-groups rotate-groups\",staticStyle:{\"display\":\"none\"}},[_c('button',{staticClass:\"btn btn-rotate\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doRotate}},[_vm._v(\"↺\")]),_c('button',{staticClass:\"btn btn-reverserotate\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doReverseRotate}},[_vm._v(\"↻\")])]),(_vm.crop)?_c('p',{staticClass:\"btn-groups\"},[_c('button',{staticClass:\"btn btn-upload\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doCrop}},[_vm._v(_vm._s(_vm.cropBtn.ok))]),_c('button',{staticClass:\"btn btn-cancel\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(_vm._s(_vm.cropBtn.cancel))])]):_vm._e(),(_vm.resize && !_vm.crop)?_c('p',{staticClass:\"btn-groups\"},[_c('button',{staticClass:\"btn btn-upload\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.doResize}},[_vm._v(_vm._s(_vm.ResizeBtn.ok))]),_c('button',{staticClass:\"btn btn-cancel\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_vm._v(_vm._s(_vm.ResizeBtn.cancel))])]):_vm._e()])],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"image-aside\"},[_c('div',{staticClass:\"g-crop-image-box\"},[_c('div',{staticClass:\"g-crop-image-principal\",on:{\"touchstart\":_vm.drag,\":mousedown\":_vm.drag}},[_c('div',{staticClass:\"image-wrap\",style:({ width: _vm.width + 'px',height: _vm.height + 'px', left: _vm.left+ 'px', top: _vm.top + 'px', backgroundImage: 'url(' + _vm.src + ')', cursor: _vm.isResize ? 'default' : 'move'})},[_c('img',{ref:\"crop-image\",staticStyle:{\"width\":\"0\",\"height\":\"0\"},attrs:{\"src\":_vm.src}})]),(!_vm.isResize)?_c('div',{staticClass:\"image-mask\"},[_c('div',{staticClass:\"mask top\",style:({ top:0, height: _vm.cropCSS.top + 'px', left: 0, width: '100%'})}),_c('div',{staticClass:\"mask bottom\",style:({ bottom:0, top: (_vm.cropCSS.top + _vm.cropCSS.height) + 'px', left: 0, width: '100%'})}),_c('div',{staticClass:\"mask left\",style:({top: _vm.cropCSS.top + 'px', height: _vm.cropCSS.height + 'px', left:0, width: _vm.cropCSS.left + 'px'})}),_c('div',{staticClass:\"mask right\",style:({top: _vm.cropCSS.top + 'px', height: _vm.cropCSS.height + 'px', left: (_vm.cropCSS.left + _vm.cropCSS.width) + 'px', right: 0})})]):_vm._e(),(!_vm.isResize)?_c('div',{staticClass:\"crop-box\",style:({top: _vm.cropCSS.top + 'px', left: _vm.cropCSS.left + 'px', height: _vm.cropCSS.height + 'px', width: _vm.cropCSS.width + 'px'})},[_c('div',{staticClass:\"reference-line v\"}),_c('div',{staticClass:\"reference-line h\"}),_c('a',{staticClass:\"g-resize\",on:{\"touchstart\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.resize($event)},\"mousedown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.resize($event)}}})]):_vm._e()]),(_vm.resize)?_c('resize-bar',{ref:\"resizeBar\",on:{\"resize\":_vm.resizeImage}}):_vm._e(),(_vm.isRotate)?_c('rotate-bar',{on:{\"rotate\":_vm.rotateImage}}):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-resize-bar\"},[_c('div',{staticClass:\"g-resize-highlight\",style:({width: _vm.left + '%',})}),_c('button',{staticClass:\"circle-btn\",style:({left: _vm.left + '%',}),on:{\"touchstart\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.drag($event)},\"mousedown\":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.drag($event)}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./resize-bar.vue?vue&type=template&id=6844435b&scoped=true&\"\nimport script from \"./resize-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./resize-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resize-bar.vue?vue&type=style&index=0&id=6844435b&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6844435b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"g-rotate-bar\"},[_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":_vm.rotateLeft}},[_c('svg',{staticClass:\"svg-icon\",attrs:{\"viewBox\":\"0 0 481.95 481.95\"}},[_c('path',{attrs:{\"d\":\"M281.7,243.8V138.2c75.9,13.5,135.4,78.6,135.4,159.8s-59.6,146.3-135.4,159.8V512\\n c105.7-13.5,189.6-102.9,189.6-214s-84-200.5-189.6-214V0L159.8,121.9L281.7,243.8z M94.8,270.9c2.7-24.4,13.5-46.1,27.1-67.7\\n L84,165.2C59.6,197.8,46.1,233,40.6,270.9H94.8z M159.8,430.7l-37.9,37.9c32.5,24.4,67.7,37.9,105.7,43.3v-54.2\\n C203.2,455.1,181.5,444.3,159.8,430.7z M94.8,325.1H40.6c2.7,37.9,19,73.1,43.3,105.7l37.9-37.9\\n C108.4,371.1,97.5,349.5,94.8,325.1z\",\"fill\":\"#27ae60\"}})])]),_c('a',{attrs:{\"href\":\"javascript:;\"},on:{\"click\":_vm.rotateRight}},[_c('svg',{staticClass:\"svg-icon\",attrs:{\"viewBox\":\"0 0 481.95 481.95\"}},[_c('path',{attrs:{\"d\":\"M331.5,114.75L216.75,0v79.05C117.3,91.8,38.25,175.95,38.25,280.5s79.05,188.7,178.5,201.45v-51 C145.35,418.2,89.25,357,89.25,280.5s56.1-137.7,127.5-150.45v99.45L331.5,114.75z M443.7,255 c-5.101-35.7-17.851-68.85-40.8-99.45l-35.7,35.7c12.75,20.4,22.95,40.8,25.5,63.75H443.7z M267.75,430.95v51 c35.7-5.101,68.85-17.851,99.45-40.8l-35.7-35.7C311.1,418.2,290.7,428.4,267.75,430.95z M367.2,369.75l35.7,35.7 c22.949-30.601,38.25-63.75,40.8-99.45h-51C390.15,328.95,379.95,349.35,367.2,369.75z\",\"fill\":\"#27ae60\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \t\t\n \n \n \n\n\n\n\n\n","import mod from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./rotate-bar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./rotate-bar.vue?vue&type=template&id=411d2bc2&\"\nimport script from \"./rotate-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./rotate-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./rotate-bar.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../_vue-loader@15.9.0@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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n","import mod from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./crop.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./crop.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./crop.vue?vue&type=template&id=7616bef4&scoped=true&\"\nimport script from \"./crop.vue?vue&type=script&lang=js&\"\nexport * from \"./crop.vue?vue&type=script&lang=js&\"\nimport style0 from \"./style/crop.css?vue&type=style&index=0&id=7616bef4&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7616bef4\",\n null\n \n)\n\nexport default component.exports","\n \n {{text}}\n \n \n \n \n \n \n \n \n ↺\n ↻\n \n \n {{cropBtn.ok}}\n {{cropBtn.cancel}}\n \n \n {{ResizeBtn.ok}}\n {{ResizeBtn.cancel}}\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./vue-core-image-upload.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../_babel-loader@8.0.6@babel-loader/lib/index.js!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./vue-core-image-upload.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./vue-core-image-upload.vue?vue&type=template&id=6524d2b2&\"\nimport script from \"./vue-core-image-upload.vue?vue&type=script&lang=js&\"\nexport * from \"./vue-core-image-upload.vue?vue&type=script&lang=js&\"\nimport style0 from \"./style/style.css?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../_vue-loader@15.9.0@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","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VueCoreImageUpload\"] = factory();\n\telse\n\t\troot[\"VueCoreImageUpload\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nmodule.exports = {\n\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n\n /**\n * transform object to css text\n */\n setCssText: function setCssText(obj) {\n var cssArr = [];\n Object.keys(obj).forEach(function (key) {\n var val = obj[key];\n if (typeof val === 'number') {\n val = '' + val + 'px';\n }\n cssArr.push(key + ': ' + val + ';');\n });\n return cssArr.join('');\n },\n isFunction: function isFunction(fn) {\n return typeof fn === 'function';\n }\n};\n\n/***/ })\n/******/ ]);\n});","import mod from \"-!../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=style&index=0&id=6844435b&scoped=true&lang=css&\"; export default mod; export * from \"-!../../_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./resize-bar.vue?vue&type=style&index=0&id=6844435b&scoped=true&lang=css&\""],"sourceRoot":""}
\n ↺\n ↻\n
\n {{cropBtn.ok}}\n {{cropBtn.cancel}}\n
\n {{ResizeBtn.ok}}\n {{ResizeBtn.cancel}}\n