@fuyoo/vue-cut-img
Version:
a vue component, easy to cut image, support vue2.x and vue3.x
2 lines • 37.2 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-cut-img"]=e(require("vue")):t["vue-cut-img"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,n){var r=n("59ed");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?a(t):o(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),c=n("fc6a"),a=n("a04b"),u=n("5135"),f=n("0cfb"),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=a(e),f)try{return s(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"0b42":function(t,e,n){var r=n("e8b5"),o=n("68ee"),i=n("861d"),c=n("b622"),a=c("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,o(e)&&(e===Array||r(e.prototype))?e=void 0:i(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){t.exports=function(t){try{return String(t)}catch(e){return"Object"}}},1626:function(t,e){t.exports=function(t){return"function"===typeof t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c7e":function(t,e,n){var r=n("b622"),o=r("iterator"),i=!1;try{var c=0,a={next:function(){return{done:!!c++}},return:function(){i=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(u){}return n}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),o=n("b622"),i=n("2d00"),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,n){var r=n("a691"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),c=n("6eeb"),a=n("ce4e"),u=n("e893"),f=n("94ca");t.exports=function(t,e){var n,s,l,d,p,v,b=t.target,h=t.global,y=t.stat;if(s=h?r:y?r[b]||a(b,{}):(r[b]||{}).prototype,s)for(l in e){if(p=e[l],t.noTargetGet?(v=o(s,l),d=v&&v.value):d=s[l],n=f(h?l:b+(y?".":"#")+l,t.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;u(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),c(s,l,p,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"2a62":function(t,e,n){var r=n("825a"),o=n("dc4a");t.exports=function(t,e,n){var i,c;r(t);try{if(i=o(t,"return"),!i){if("throw"===e)throw n;return n}i=i.call(t)}catch(a){c=!0,i=a}if("throw"===e)throw n;if(c)throw i;return r(i),n}},"2d00":function(t,e,n){var r,o,i=n("da84"),c=n("342f"),a=i.process,u=i.Deno,f=a&&a.versions||u&&u.version,s=f&&f.v8;s?(r=s.split("."),o=r[0]<4?1:r[0]+r[1]):c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(o=r[1]))),t.exports=o&&+o},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),o=n("dc4a"),i=n("3f8c"),c=n("b622"),a=c("iterator");t.exports=function(t){if(void 0!=t)return o(t,a)||o(t,"@@iterator")||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),c=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=c(e),a=r.length,u=0;while(a>u)o.f(t,n=r[u++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("1626");t.exports=function(t){if("object"===typeof t||r(t))return t;throw TypeError("Can't set "+String(t)+" as a prototype")}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,o=n("577e"),i=n("69f3"),c=n("7dd0"),a="String Iterator",u=i.set,f=i.getterFor(a);c(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,e=f(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),o=n("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),c=r("unscopables"),a=Array.prototype;void 0==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},"485a":function(t,e,n){var r=n("1626"),o=n("861d");t.exports=function(t,e){var n,i;if("string"===e&&r(n=t.toString)&&!o(i=n.call(t)))return i;if(r(n=t.valueOf)&&!o(i=n.call(t)))return i;if("string"!==e&&r(n=t.toString)&&!o(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),c=function(t){return function(e,n,c){var a,u=r(e),f=o(u.length),s=i(c,f);if(t&&n!=n){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"4df4":function(t,e,n){"use strict";var r=n("0366"),o=n("7b0b"),i=n("9bdd"),c=n("e95a"),a=n("68ee"),u=n("50c4"),f=n("8418"),s=n("9a1f"),l=n("35a1");t.exports=function(t){var e=o(t),n=a(this),d=arguments.length,p=d>1?arguments[1]:void 0,v=void 0!==p;v&&(p=r(p,d>2?arguments[2]:void 0,2));var b,h,y,g,m,w,S=l(e),x=0;if(!S||this==Array&&c(S))for(b=u(e.length),h=n?new this(b):Array(b);b>x;x++)w=v?p(e[x],x):e[x],f(h,x,w);else for(g=s(e,S),m=g.next,h=n?new this:[];!(y=m.call(g)).done;x++)w=v?i(g,p,[y.value,x],!0):y.value,f(h,x,w);return h.length=x,h}},"50c4":function(t,e,n){var r=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,e,n){var r=n("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.18.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),o=n("241c"),i=n("7418"),c=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},"577e":function(t,e,n){var r=n("f5df");t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},"59ed":function(t,e,n){var r=n("1626"),o=n("0d51");t.exports=function(t){if(r(t))return t;throw TypeError(o(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),o=n("5135"),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,f=a&&(!r||r&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:f}},6547:function(t,e,n){var r=n("a691"),o=n("577e"),i=n("1d80"),c=function(t){return function(e,n){var c,a,u=o(i(e)),f=r(n),s=u.length;return f<0||f>=s?t?"":void 0:(c=u.charCodeAt(f),c<55296||c>56319||f+1===s||(a=u.charCodeAt(f+1))<56320||a>57343?t?u.charAt(f):c:t?u.slice(f,f+2):a-56320+(c-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"68ee":function(t,e,n){var r=n("d039"),o=n("1626"),i=n("f5df"),c=n("d066"),a=n("8925"),u=[],f=c("Reflect","construct"),s=/^\s*(?:class|function)\b/,l=s.exec,d=!s.exec((function(){})),p=function(t){if(!o(t))return!1;try{return f(Object,u,t),!0}catch(e){return!1}},v=function(t){if(!o(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!l.call(s,a(t))};t.exports=!f||r((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?v:p},"69f3":function(t,e,n){var r,o,i,c=n("7f9a"),a=n("da84"),u=n("861d"),f=n("9112"),s=n("5135"),l=n("c6cd"),d=n("f772"),p=n("d012"),v="Object already initialized",b=a.WeakMap,h=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c||l.state){var g=l.state||(l.state=new b),m=g.get,w=g.has,S=g.set;r=function(t,e){if(w.call(g,t))throw new TypeError(v);return e.facade=t,S.call(g,t,e),e},o=function(t){return m.call(g,t)||{}},i=function(t){return w.call(g,t)}}else{var x=d("state");p[x]=!0,r=function(t,e){if(s(t,x))throw new TypeError(v);return e.facade=t,f(t,x,e),e},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:r,get:o,has:i,enforce:h,getterFor:y}},"6b0d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=(t,e)=>{for(const[n,r]of e)t[n]=r;return t}},"6eeb":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("5135"),c=n("9112"),a=n("ce4e"),u=n("8925"),f=n("69f3"),s=n("5e77").CONFIGURABLE,l=f.get,d=f.enforce,p=String(String).split("String");(t.exports=function(t,e,n,u){var f,l=!!u&&!!u.unsafe,v=!!u&&!!u.enumerable,b=!!u&&!!u.noTargetGet,h=u&&void 0!==u.name?u.name:e;o(n)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||s&&n.name!==h)&&c(n,"name",h),f=d(n),f.source||(f.source=p.join("string"==typeof h?h:""))),t!==r?(l?!b&&t[e]&&(v=!0):delete t[e],v?t[e]=n:c(t,e,n)):v?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||u(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),o=n("5135"),i=n("e538"),c=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(t,e,n){var r=n("cc12"),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;t.exports=i===Object.prototype?void 0:i},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,o=n("825a"),i=n("37e8"),c=n("7839"),a=n("d012"),u=n("1be4"),f=n("cc12"),s=n("f772"),l=">",d="<",p="prototype",v="script",b=s("IE_PROTO"),h=function(){},y=function(t){return d+v+l+t+d+"/"+v+l},g=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=f("iframe"),n="java"+v+":";return e.style.display="none",u.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&r?g(r):m():g(r);var t=c.length;while(t--)delete w[p][c[t]];return w()};a[b]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h[p]=o(t),n=new h,h[p]=null,n[b]=t):n=w(),void 0===e?n:i(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("5e77"),c=n("1626"),a=n("9ed3"),u=n("e163"),f=n("d2bb"),s=n("d44e"),l=n("9112"),d=n("6eeb"),p=n("b622"),v=n("3f8c"),b=n("ae93"),h=i.PROPER,y=i.CONFIGURABLE,g=b.IteratorPrototype,m=b.BUGGY_SAFARI_ITERATORS,w=p("iterator"),S="keys",x="values",O="entries",j=function(){return this};t.exports=function(t,e,n,i,p,b,P){a(n,e,i);var A,E,T,I=function(t){if(t===p&&M)return M;if(!m&&t in _)return _[t];switch(t){case S:return function(){return new n(this,t)};case x:return function(){return new n(this,t)};case O:return function(){return new n(this,t)}}return function(){return new n(this)}},L=e+" Iterator",k=!1,_=t.prototype,C=_[w]||_["@@iterator"]||p&&_[p],M=!m&&C||I(p),F="Array"==e&&_.entries||C;if(F&&(A=u(F.call(new t)),A!==Object.prototype&&A.next&&(o||u(A)===g||(f?f(A,g):c(A[w])||d(A,w,j)),s(A,L,!0,!0),o&&(v[L]=j))),h&&p==x&&C&&C.name!==x&&(!o&&y?l(_,"name",x):(k=!0,M=function(){return C.call(this)})),p)if(E={values:I(x),keys:b?M:I(S),entries:I(O)},P)for(T in E)(m||k||!(T in _))&&d(_,T,E[T]);else r({target:e,proto:!0,forced:m||k},E);return o&&!P||_[w]===M||d(_,w,M,{name:p}),v[e]=M,E}},"7f9a":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("8925"),c=r.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},"81d5":function(t,e,n){"use strict";var r=n("7b0b"),o=n("23cb"),i=n("50c4");t.exports=function(t){var e=r(this),n=i(e.length),c=arguments.length,a=o(c>1?arguments[1]:void 0,n),u=c>2?arguments[2]:void 0,f=void 0===u?n:o(u,n);while(f>a)e[a++]=t;return e}},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(r(t))return t;throw TypeError(String(t)+" is not an object")}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("a04b"),o=n("9bf2"),i=n("5c6c");t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},"861d":function(t,e,n){var r=n("1626");t.exports=function(t){return"object"===typeof t?null!==t:r(t)}},8875:function(t,e,n){var r,o,i;(function(n,c){o=[],r=c,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(p.stack)||c.exec(p.stack),u=a&&a[1]||!1,f=a&&a[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===s&&l[d].innerHTML&&l[d].innerHTML.trim()===o)return l[d]}return null}}return t}))},8925:function(t,e,n){var r=n("1626"),o=n("c6cd"),i=Function.toString;r(o.inspectSource)||(o.inspectSource=function(t){return i.call(t)}),t.exports=o.inspectSource},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,c=function(t,e){var n=u[a(t)];return n==s||n!=f&&(o(e)?r(e):!!e)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},"9a1f":function(t,e,n){var r=n("59ed"),o=n("825a"),i=n("35a1");t.exports=function(t,e){var n=arguments.length<2?i(t):e;if(r(n))return o(n.call(t));throw TypeError(String(t)+" is not iterable")}},"9bdd":function(t,e,n){var r=n("825a"),o=n("2a62");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(c){o(t,"throw",c)}}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),c=n("a04b"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e),i(n),o)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),c=n("d44e"),a=n("3f8c"),u=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),a[f]=u,t}},a04b:function(t,e,n){var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),c=n("c430"),a=n("83ab"),u=n("4930"),f=n("d039"),s=n("5135"),l=n("e8b5"),d=n("1626"),p=n("861d"),v=n("d9b5"),b=n("825a"),h=n("7b0b"),y=n("fc6a"),g=n("a04b"),m=n("577e"),w=n("5c6c"),S=n("7c73"),x=n("df75"),O=n("241c"),j=n("057f"),P=n("7418"),A=n("06cf"),E=n("9bf2"),T=n("d1e7"),I=n("6eeb"),L=n("5692"),k=n("f772"),_=n("d012"),C=n("90e3"),M=n("b622"),F=n("e538"),N=n("746f"),R=n("d44e"),V=n("69f3"),D=n("b727").forEach,B=k("hidden"),$="Symbol",G="prototype",U=M("toPrimitive"),H=V.set,z=V.getterFor($),X=Object[G],Y=o.Symbol,W=i("JSON","stringify"),q=A.f,J=E.f,K=j.f,Q=T.f,Z=L("symbols"),tt=L("op-symbols"),et=L("string-to-symbol-registry"),nt=L("symbol-to-string-registry"),rt=L("wks"),ot=o.QObject,it=!ot||!ot[G]||!ot[G].findChild,ct=a&&f((function(){return 7!=S(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=q(X,e);r&&delete X[e],J(t,e,n),r&&t!==X&&J(X,e,r)}:J,at=function(t,e){var n=Z[t]=S(Y[G]);return H(n,{type:$,tag:t,description:e}),a||(n.description=e),n},ut=function(t,e,n){t===X&&ut(tt,e,n),b(t);var r=g(e);return b(n),s(Z,r)?(n.enumerable?(s(t,B)&&t[B][r]&&(t[B][r]=!1),n=S(n,{enumerable:w(0,!1)})):(s(t,B)||J(t,B,w(1,{})),t[B][r]=!0),ct(t,r,n)):J(t,r,n)},ft=function(t,e){b(t);var n=y(e),r=x(n).concat(vt(n));return D(r,(function(e){a&&!lt.call(n,e)||ut(t,e,n[e])})),t},st=function(t,e){return void 0===e?S(t):ft(S(t),e)},lt=function(t){var e=g(t),n=Q.call(this,e);return!(this===X&&s(Z,e)&&!s(tt,e))&&(!(n||!s(this,e)||!s(Z,e)||s(this,B)&&this[B][e])||n)},dt=function(t,e){var n=y(t),r=g(e);if(n!==X||!s(Z,r)||s(tt,r)){var o=q(n,r);return!o||!s(Z,r)||s(n,B)&&n[B][r]||(o.enumerable=!0),o}},pt=function(t){var e=K(y(t)),n=[];return D(e,(function(t){s(Z,t)||s(_,t)||n.push(t)})),n},vt=function(t){var e=t===X,n=K(e?tt:y(t)),r=[];return D(n,(function(t){!s(Z,t)||e&&!s(X,t)||r.push(Z[t])})),r};if(u||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=C(t),n=function(t){this===X&&n.call(tt,t),s(this,B)&&s(this[B],e)&&(this[B][e]=!1),ct(this,e,w(1,t))};return a&&it&&ct(X,e,{configurable:!0,set:n}),at(e,t)},I(Y[G],"toString",(function(){return z(this).tag})),I(Y,"withoutSetter",(function(t){return at(C(t),t)})),T.f=lt,E.f=ut,A.f=dt,O.f=j.f=pt,P.f=vt,F.f=function(t){return at(M(t),t)},a&&(J(Y[G],"description",{configurable:!0,get:function(){return z(this).description}}),c||I(X,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Y}),D(x(rt),(function(t){N(t)})),r({target:$,stat:!0,forced:!u},{for:function(t){var e=m(t);if(s(et,e))return et[e];var n=Y(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!v(t))throw TypeError(t+" is not a symbol");if(s(nt,t))return nt[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!a},{create:st,defineProperty:ut,defineProperties:ft,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt,getOwnPropertySymbols:vt}),r({target:"Object",stat:!0,forced:f((function(){P.f(1)}))},{getOwnPropertySymbols:function(t){return P.f(h(t))}}),W){var bt=!u||f((function(){var t=Y();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}));r({target:"JSON",stat:!0,forced:bt},{stringify:function(t,e,n){var r,o=[t],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!v(t))return l(e)||(e=function(t,e){if(d(r)&&(e=r.call(this,t,e)),!v(e))return e}),o[1]=e,W.apply(null,o)}})}if(!Y[G][U]){var ht=Y[G].valueOf;I(Y[G],U,(function(){return ht.apply(this,arguments)}))}R(Y,$),_[B]=!0},a630:function(t,e,n){var r=n("23e7"),o=n("4df4"),i=n("1c7e"),c=!i((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:c},{from:o})},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ae93:function(t,e,n){"use strict";var r,o,i,c=n("d039"),a=n("1626"),u=n("7c73"),f=n("e163"),s=n("6eeb"),l=n("b622"),d=n("c430"),p=l("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(r=o)):v=!0);var b=void 0==r||c((function(){var t={};return r[p].call(t)!==t}));b?r={}:d&&(r=u(r)),a(r[p])||s(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),o=n("5e77").EXISTS,i=n("9bf2").f,c=Function.prototype,a=c.toString,u=/^\s*function ([^ (]*)/,f="name";r&&!o&&i(c,f,{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(t){return""}}})},b2aa:function(t,e,n){},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),c=n("90e3"),a=n("4930"),u=n("fdbf"),f=o("wks"),s=r.Symbol,l=u?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(a||"string"==typeof f[t])||(a&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},b727:function(t,e,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),c=n("50c4"),a=n("65f0"),u=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,d=7==t,p=5==t||l;return function(v,b,h,y){for(var g,m,w=i(v),S=o(w),x=r(b,h,3),O=c(S.length),j=0,P=y||a,A=e?P(v,O):n||d?P(v,0):void 0;O>j;j++)if((p||j in S)&&(g=S[j],m=x(g,j,w),t))if(e)A[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:u.call(A,g)}else switch(t){case 4:return!1;case 7:u.call(A,g)}return l?-1:f||s?s:A}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},c04e:function(t,e,n){var r=n("861d"),o=n("d9b5"),i=n("dc4a"),c=n("485a"),a=n("b622"),u=a("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,a=i(t,u);if(a){if(void 0===e&&(e="default"),n=a.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,c=n("d012");t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)!r(c,n)&&r(a,n)&&f.push(n);while(e.length>u)r(a,n=e[u++])&&(~i(f,n)||f.push(n));return f}},cb29:function(t,e,n){var r=n("23e7"),o=n("81d5"),i=n("44d2");r({target:"Array",proto:!0},{fill:o}),i("fill")},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84");t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),o=n("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,o=n("5135"),i=n("b622"),c=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},d9b5:function(t,e,n){var r=n("1626"),o=n("d066"),i=n("fdbf");t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return r(e)&&Object(t)instanceof e}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("785a"),c=n("e260"),a=n("9112"),u=n("b622"),f=u("iterator"),s=u("toStringTag"),l=c.values,d=function(t,e){if(t){if(t[f]!==l)try{a(t,f,l)}catch(r){t[f]=l}if(t[s]||a(t,s,e),o[e])for(var n in c)if(t[n]!==c[n])try{a(t,n,c[n])}catch(r){t[n]=c[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(i,"DOMTokenList")},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),c=n("5135"),a=n("1626"),u=n("861d"),f=n("9bf2").f,s=n("e893"),l=i.Symbol;if(o&&a(l)&&(!("description"in l.prototype)||void 0!==l().description)){var d={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new l(t):void 0===t?l():l(t);return""===t&&(d[e]=!0),e};s(p,l);var v=p.prototype=l.prototype;v.constructor=p;var b=v.toString,h="Symbol(test)"==String(l("test")),y=/^Symbol\((.*)\)[^)]+$/;f(v,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=b.call(t);if(c(d,t))return"";var n=h?e.slice(7,-1):e.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},e163:function(t,e,n){var r=n("5135"),o=n("1626"),i=n("7b0b"),c=n("f772"),a=n("e177"),u=c("IE_PROTO"),f=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){var e=i(t);if(r(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof Object?f:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),c=n("69f3"),a=n("7dd0"),u="Array Iterator",f=c.set,s=c.getterFor(u);t.exports=a(Array,"Array",(function(t,e){f(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e538:function(t,e,n){var r=n("b622");e.f=r},e53e:function(t,e,n){"use strict";n("b2aa")},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),c=n("9bf2");t.exports=function(t,e){for(var n=o(e),a=c.f,u=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||a(t,s,u(e,s))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),o=n("3f8c"),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},f5df:function(t,e,n){var r=n("00ee"),o=n("1626"),i=n("c6b6"),c=n("b622"),a=c("toStringTag"),u="Arguments"==i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=f(e=Object(t),a))?n:u?i(e):"Object"==(r=i(e))&&o(e.callee)?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("b0c0");var c=n("8bbf"),a=function(t){return Object(c["pushScopeId"])("data-v-74fb1c9a"),t=t(),Object(c["popScopeId"])(),t},u={class:"CutImage"},f={class:"header"},s={class:"cvs",ref:"cvs",width:"300",height:"300",style:{background:"#fff"}},l=a((function(){return Object(c["createElementVNode"])("p",{style:{padding:"5px",margin:"0"}},null,-1)})),d=["disabled"],p={class:"action"},v=a((function(){return Object(c["createElementVNode"])("span",{style:{padding:"5px"}},null,-1)})),b=["disabled"],h=a((function(){return Object(c["createElementVNode"])("span",{style:{padding:"5px"}},null,-1)}));function y(t,e,n,r,o,i){return Object(c["openBlock"])(),Object(c["createElementBlock"])("div",u,[Object(c["renderSlot"])(t.$slots,"header",{},(function(){return[Object(c["createElementVNode"])("div",f,[Object(c["createElementVNode"])("span",null,Object(c["toDisplayString"])(n.title),1),n.showClose?(Object(c["openBlock"])(),Object(c["createElementBlock"])("span",{key:0,class:"close",onClick:e[0]||(e[0]=function(){return i.closeFn&&i.closeFn.apply(i,arguments)})},"×")):Object(c["createCommentVNode"])("",!0)])]}),!0),Object(c["createElementVNode"])("canvas",s,null,512),l,Object(c["withDirectives"])(Object(c["createElementVNode"])("input",{style:{width:"100%"},disabled:!o.img,onInput:e[1]||(e[1]=function(){return i.scaleFn&&i.scaleFn.apply(i,arguments)}),"onUpdate:modelValue":e[2]||(e[2]=function(t){return o.scaleOri=t}),type:"range",step:"0.1",max:"500",min:"1"},null,40,d),[[c["vModelText"],o.scaleOri]]),Object(c["createElementVNode"])("div",p,[Object(c["createElementVNode"])("button",{class:"btn btn_flash btn_primary",onClick:e[3]||(e[3]=function(){return i.chooseImg&&i.chooseImg.apply(i,arguments)})},Object(c["toDisplayString"])(n.chooseBtn),1),v,Object(c["createElementVNode"])("button",{disabled:!o.file,class:"btn btn_flash btn_primary",onClick:e[4]||(e[4]=function(){return i.cutFn&&i.cutFn.apply(i,arguments)})},Object(c["toDisplayString"])(n.cutBtn),9,b),h])])}function g(t){if(Array.isArray(t))return t}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0");function m(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done);c=!0)if(i.push(r.value),e&&i.length===e)break}catch(u){a=!0,o=u}finally{try{c||null==n["return"]||n["return"]()}finally{if(a)throw o}}return i}}n("fb6a"),n("a630");function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t,e){if(t){if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(t,e):void 0}}function x(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(t,e){return g(t)||m(t,e)||S(t,e)||x()}n("cb29");var j={name:"VueCutImg",props:{blob:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:"裁剪图片"},chooseBtn:{type:String,default:"选择图片"},cutBtn:{type:String,default:"裁剪"}},components:{},data:function(){return{cvs:null,scale:1,scaleOri:50,offset:[0,0],img:null,file:null}},watch:{},computed:{},created:function(){},mounted:function(){this.initCvs()},methods:{chooseImg:function(){this.offset=[0,0],this.cvs&&this.initCvs();var t=document.createElement("input");t.type="file",t.accept="image/*",t.click();var e=this;t.onchange=function(){if(e.file=this.files[0],-1===e.file.type.indexOf("image"))return e.$emit("error",e.file);var t=new FileReader;t.onloadend=function(t){e.initCvs.call(e,t.target.result)},t.readAsDataURL(this.files[0])}},scaleFn:function(){this.scale=this.scaleOri/50,this.cvs.save();var t=this.img,e=t.width,n=t.height;this.cvs.scale(this.scale,this.scale),this.cvs.clearRect(0,0,400/this.scale,400/this.scale);var r=O(this.offset,2),o=r[0],i=r[1];this.cvs.translate(o/this.scale,i/this.scale),this.cvs.drawImage(this.img,0,0,e,n),this.cvs.restore(),this.drawMask()},initCvs:function(t){var e=this,n=this.$refs.cvs.getContext("2d");if(this.cvs=n,!t)return this.file=null,n.clearRect(0,0,400,400),void this.drawMask();n.clearRect(0,0,300,300);var r=this.scale,o=this,i=new Image;i.src=t,i.onload=function(){e.img=i;var t=i.width,c=i.height,a=e.offset;n.save(),n.scale(r,r),n.drawImage(i,0,0,t,c),n.restore(),e.drawMask();var u=!1,f=[];e.$refs.cvs.onmousedown=function(t){r=o.scale;var e=t.clientX,n=t.clientY;f=[e,n],u=!0,this.style.cursor="grabbing"},e.$refs.cvs.onmouseup=function(t){var e=t.clientX,n=t.clientY,r=f,i=O(r,2),c=i[0],s=i[1],l=e-c+a[0],d=n-s+a[1];a=[l,d],u=!1,o.offset=a,this.style.cursor="grab"},window.onmousemove=function(e){var s=e.clientX,l=e.clientY,d=f,p=O(d,2),v=p[0],b=p[1];if(u){n.clearRect(0,0,400,400);var h=(s-v+a[0])/r,y=(l-b+a[1])/r;n.save(),n.scale(r,r),n.translate(h,y),n.drawImage(i,0,0,t,c),n.restore(),o.drawMask()}}},this.$refs.cvs.onmousewheel=function(t){var n=t.wheelDelta;n>0?e.scaleOri+=.1:e.scaleOri-=.1,e.scaleFn()}},cutFn:function(){var t=this,e=document.createElement("canvas");e.width=150,e.height=150;var n=e.getContext("2d");n.drawImage(this.$refs.cvs,50,50,250,250,0,0,200,200);var r=e.toDataURL("image/png");if(this.blob)return e.toBlob((function(e){t.$emit("data",{file:t.file,blob:e})}),"image/png");this.$emit("data",r)},drawMask:function(){var t=this.cvs,e="#00000031";t.beginPath(),t.fillStyle=e,t.rect(0,0,300,50),t.fill(),t.closePath(),t.beginPath(),t.fillStyle=e,t.rect(0,50,50,300),t.fill(),t.closePath(),t.beginPath(),t.fillStyle=e,t.rect(50,250,250,250),t.fill(),t.closePath(),t.beginPath(),t.fillStyle=e,t.rect(250,50,200,200),t.fill(),t.closePath()},closeFn:function(){this.$emit("close")}},setup:function(){}},P=(n("e53e"),n("6b0d")),A=n.n(P);const E=A()(j,[["render",y],["__scopeId","data-v-74fb1c9a"]]);var T=E,I=function(t){return t.component(T.name,T)};"undefined"!==typeof window&&window.Vue&&I(window.Vue);var L={install:I,VueCutImg:T};e["default"]=L},fb6a:function(t,e,n){"use strict";var r=n("23e7"),o=n("e8b5"),i=n("68ee"),c=n("861d"),a=n("23cb"),u=n("50c4"),f=n("fc6a"),s=n("8418"),l=n("b622"),d=n("1dde"),p=d("slice"),v=l("species"),b=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,l,d=f(this),p=u(d.length),y=a(t,p),g=a(void 0===e?p:e,p);if(o(d)&&(n=d.constructor,i(n)&&(n===Array||o(n.prototype))?n=void 0:c(n)&&(n=n[v],null===n&&(n=void 0)),n===Array||void 0===n))return b.call(d,y,g);for(r=new(void 0===n?Array:n)(h(g-y,0)),l=0;y<g;y++,l++)y in d&&s(r,l,d[y]);return r.length=l,r}})},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
//# sourceMappingURL=vue-cut-img.umd.min.js.map