/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/vue-img-loader@1.0.0/dist/vue-img-loader.common.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
module.exports=function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var r=i(1),o=n(r),a=i(11),s=n(a);o["default"].config=s["default"],o["default"].version="0.1.1",t.exports=o["default"]},function(t,e,i){function n(t){i(2)}var r=i(7)(i(8),i(12),n,"data-v-40589870",null);t.exports=r.exports},function(t,e,i){var n=i(3);"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);i(5)("1ee8f22b",n,!0)},function(t,e,i){e=t.exports=i(4)(),e.push([t.id,".vil-image[data-v-40589870],.vil-preview[data-v-40589870]{position:absolute;top:0;left:0;width:100%;height:100%}.vil-preview[data-v-40589870]{overflow:hidden}",""])},function(t,e){"use strict";t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=f[i.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](i.parts[r]);for(;r<i.parts.length;r++)n.parts.push(o(i.parts[r]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],r=0;r<i.parts.length;r++)a.push(o(i.parts[r]));f[i.id]={id:i.id,refs:1,parts:a}}}}function r(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function o(t){var e,i,n=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(n){if(p)return g;n.parentNode.removeChild(n)}if(v){var o=c++;n=d||(d=r()),e=a.bind(null,n,o,!1),i=a.bind(null,n,o,!0)}else n=r(),e=s.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function a(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function s(t,e){var i=e.css,n=e.media,r=e.sourceMap;if(n&&t.setAttribute("media",n),r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var h="undefined"!=typeof document,u=i(6),f={},l=h&&(document.head||document.getElementsByTagName("head")[0]),d=null,c=0,p=!1,g=function(){},v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i){p=i;var r=u(t,e);return n(r),function(e){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=f[a.id];s.refs--,i.push(s)}e?(r=u(t,e),n(r)):r=[];for(var o=0;o<i.length;o++){var s=i[o];if(0===s.refs){for(var h=0;h<s.parts.length;h++)s.parts[h]();delete f[s.id]}}}};var y=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e){"use strict";t.exports=function(t,e){for(var i=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],s=o[1],h=o[2],u=o[3],f={id:t+":"+r,css:s,media:h,sourceMap:u};n[a]?n[a].parts.push(f):i.push(n[a]={id:a,parts:[f]})}return i}},function(t,e){t.exports=function(t,e,i,n,r){var o,a=t=t||{},s=typeof t["default"];"object"!==s&&"function"!==s||(o=t,a=t["default"]);var h="function"==typeof a?a.options:a;e&&(h.render=e.render,h.staticRenderFns=e.staticRenderFns),n&&(h._scopeId=n);var u;if(r?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},h._ssrRegister=u):i&&(u=i),u){var f=h.functional,l=f?h.render:h.beforeCreate;f?h.render=function(t,e){return u.call(e),l(t,e)}:h.beforeCreate=l?[].concat(l,u):[u]}return{esModule:o,exports:a,options:h}}},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function r(t,e,i){var n=new Image;e&&(n.crossOrigin="Anonymous"),n.onload=function(){i&&i(n)},n.src=t}function o(t,e,i,n,r,o){var a=new s["default"]({containerWidth:e,containerHeight:i,originWidth:n,originHeight:r,centerType:o});t.style.position="absolute",a.setPosition(t)}Object.defineProperty(e,"__esModule",{value:!0});var a=i(9),s=n(a),h=i(10),u=n(h),f=i(11),l=n(f);e["default"]={isDestroyed:!1,props:{src:{type:String,"default":"",required:!0},preview:{type:String,"default":""},blurPreview:{type:Boolean,"default":function(){return l["default"].blurPreview}},blurRadius:{type:[String,Number],"default":function(){return l["default"].blurRadius}},blurAlphaChannel:{type:Boolean,"default":function(){return l["default"].blurAlphaChannel}},width:{type:[String,Number],"default":function(){return l["default"].width}},height:{type:[String,Number],"default":function(){return l["default"].height}},backgroundColor:{type:String,"default":function(){return l["default"].backgroundColor}},transition:{type:String,"default":function(){return l["default"].transition}},lazy:{type:Boolean,"default":function(){return l["default"].lazy}},centerType:{type:String,"default":function(){return l["default"].centerType}}},data:function(){return{containerStyle:{position:"relative",overflow:"hidden",display:"inline-block"},imageReady:!1,previewReady:!1,containerWidth:this.width,containerHeight:this.height}},mounted:function(){this.setContainerStyle(),this.load()},beforeDestroy:function(){this.$options.isDestroyed=!0},watch:{src:function(){this.load()}},methods:{load:function(){this.imageReady=!1,this.previewReady=!1,this.loadPreview(),this.loadImage()},makeCenter:function(t,e,i){o(t,this.containerWidth,this.containerHeight,e,i,this.centerType)},setContainerStyle:function(){var t=this.$el.parentElement;this.containerWidth=this.width||t.clientWidth,this.containerHeight=this.height||t.clientHeight,this.containerStyle={position:"relative",overflow:"hidden",display:"inline-block",width:this.containerWidth+"px",height:this.containerHeight+"px",backgroundColor:this.backgroundColor||"initial"}},loadPreview:function(){this.preview&&function(t){var e=this;r(this.preview,!0,function(i){var n=e.$refs.previewImage;!e.$options.isDestroyed&&t===e.src&&n&&(e.blurPreview?e.blurCanvas(i):(e.makeCenter(n,i.naturalWidth,i.naturalHeight),n.src=e.preview),e.previewReady=!0)})}.bind(this)(this.src)},loadImage:function(){var t=this;r(this.src,!1,function(e){(function(t){if(!this.$options.isDestroyed&&t===this.src){var i=this.$refs.image;this.makeCenter(i,e.naturalWidth,e.naturalHeight),i.src=this.src,this.imageReady=!0}}).bind(t)(t.src)})},blurCanvas:function(t){var e=this.$refs.canvas;e.style.width=t.naturalWidth+"px",e.style.height=t.naturalHeight+"px",u["default"].image(t,e,this.blurRadius,this.blurAlphaChannel),this.makeCenter(e,t.naturalWidth,t.naturalHeight)}}}},function(t,e,i){var n,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(a,s){"use strict";"object"===o(e)&&"undefined"!=typeof t?t.exports=s():(n=s,r="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==r&&(t.exports=r)))}(void 0,function(){"use strict";function t(t){t=t||{},this.options={containerWidth:100,containerHeight:100,originWidth:100,originHeight:100,centerType:"cover"};for(var e in this.options)void 0!==t[e]&&(this.options[e]=t[e]);this._ratio=1,this._newWidth=0,this._newHeight=0,this._offset={top:0,left:0},"cover"===this.options.centerType?this._coverCenter():this._containCenter()}return t.prototype={constructor:t,_coverCenter:function(){var t=this.options.originWidth,e=this.options.originHeight,i=this.options.containerWidth,n=this.options.containerHeight,r=t/e,o=i/n,a=1;r>o?(a=n/e,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:0,left:(this._newWidth-i)/-2}):r<o?(a=i/t,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:(this._newHeight-n)/-2,left:0}):(a=i/t,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:0,left:0}),this._ratio=a},_containCenter:function(){var t=this.options.originWidth,e=this.options.originHeight,i=this.options.containerWidth,n=this.options.containerHeight,r=t/e,o=i/n,a=1;r>o?(a=i/t,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:(this._newHeight-n)/-2,left:0}):r<o?(a=n/e,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:0,left:(this._newWidth-i)/-2}):(a=i/t,this._newWidth=t*a,this._newHeight=e*a,this._offset={top:0,left:0}),this._ratio=a},ratio:function(){return this._ratio},width:function(){return this._newWidth},height:function(){return this._newHeight},offset:function(){return this._offset},setPosition:function(t){t.style.top=this.offset().top+"px",t.style.left=this.offset().left+"px",t.style.width=this.width()+"px",t.style.height=this.height()+"px"},drawImage:function(t,e){"cover"===this.options.centerType?t.drawImage(e,this.offset().left*-1,this.offset().top*-1,this.options.containerWidth/this.ratio(),this.options.containerHeight/this.ratio(),0,0,this.options.containerWidth,this.options.containerHeight):t.drawImage(e,0,0,this.options.containerWidth/this.ratio(),this.options.containerHeight/this.ratio(),this.offset().left,this.offset().top,this.options.containerWidth,this.options.containerHeight)}},t})},function(t,e){"use strict";function i(t,e,i,n){if("string"==typeof t)var t=document.getElementById(t);else if("undefined"!=typeof HTMLImageElement&&!t instanceof HTMLImageElement)return;var o=t.naturalWidth,s=t.naturalHeight;if("string"==typeof e)var e=document.getElementById(e);else if("undefined"!=typeof HTMLCanvasElement&&!e instanceof HTMLCanvasElement)return;e.style.width=o+"px",e.style.height=s+"px",e.width=o,e.height=s;var h=e.getContext("2d");h.clearRect(0,0,o,s),h.drawImage(t,0,0),isNaN(i)||i<1||(n?r(e,0,0,o,s,i):a(e,0,0,o,s,i))}function n(t,e,i,n,r){if("string"==typeof t)var t=document.getElementById(t);else if("undefined"!=typeof HTMLCanvasElement&&!t instanceof HTMLCanvasElement)return;var o,a=t.getContext("2d");try{try{o=a.getImageData(e,i,n,r)}catch(s){throw new Error("unable to access local image data: "+s)}}catch(s){throw new Error("unable to access image data: "+s)}return o}function r(t,e,i,r,a,s){if(!(isNaN(s)||s<1)){s|=0;var h=n(t,e,i,r,a);h=o(h,e,i,r,a,s),t.getContext("2d").putImageData(h,e,i)}}function o(t,e,i,n,r,o){var a,s,l,d,c,p,g,v,y,m,w,b,x,_,C,H,W,R,S,T,N,E,I,M,P=t.data,B=o+o+1,$=n-1,k=r-1,D=o+1,A=D*(D+1)/2,L=new h,j=L;for(l=1;l<B;l++)if(j=j.next=new h,l==D)var O=j;j.next=L;var U=null,G=null;g=p=0;var z=u[o],F=f[o];for(s=0;s<r;s++){for(H=W=R=S=v=y=m=w=0,b=D*(T=P[p]),x=D*(N=P[p+1]),_=D*(E=P[p+2]),C=D*(I=P[p+3]),v+=A*T,y+=A*N,m+=A*E,w+=A*I,j=L,l=0;l<D;l++)j.r=T,j.g=N,j.b=E,j.a=I,j=j.next;for(l=1;l<D;l++)d=p+(($<l?$:l)<<2),v+=(j.r=T=P[d])*(M=D-l),y+=(j.g=N=P[d+1])*M,m+=(j.b=E=P[d+2])*M,w+=(j.a=I=P[d+3])*M,H+=T,W+=N,R+=E,S+=I,j=j.next;for(U=L,G=O,a=0;a<n;a++)P[p+3]=I=w*z>>F,0!=I?(I=255/I,P[p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h,e,i)}}function s(t,e,i,n,r,o){var a,s,l,d,c,p,g,v,y,m,w,b,x,_,C,H,W,R,S,T,N=t.data,E=o+o+1,I=n-1,M=r-1,P=o+1,B=P*(P+1)/2,$=new h,k=$;for(l=1;l<E;l++)if(k=k.next=new h,l==P)var D=k;k.next=$;var A=null,L=null;g=p=0;var j=u[o],O=f[o];for(s=0;s<r;s++){for(_=C=H=v=y=m=0,w=P*(W=N[p]),b=P*(R=N[p+1]),x=P*(S=N[p+2]),v+=B*W,y+=B*R,m+=B*S,k=$,l=0;l<P;l++)k.r=W,k.g=R,k.b=S,k=k.next;for(l=1;l<P;l++)d=p+((I<l?I:l)<<2),v+=(k.r=W=N[d])*(T=P-l),y+=(k.g=R=N[d+1])*T,m+=(k.b=S=N[d+2])*T,_+=W,C+=R,H+=S,k=k.next;for(A=$,L=D,a=0;a<n;a++)N[p]=v*j>>O,N[p+1]=y*j>>O,N[p+2]=m*j>>O,v-=w,y-=b,m-=x,w-=A.r,b-=A.g,x-=A.b,d=g+((d=a+o+1)<I?d:I)<<2,_+=A.r=N[d],C+=A.g=N[d+1],H+=A.b=N[d+2],v+=_,y+=C,m+=H,A=A.next,w+=W=L.r,b+=R=L.g,x+=S=L.b,_-=W,C-=R,H-=S,L=L.next,p+=4;g+=n}for(a=0;a<n;a++){for(C=H=_=y=m=v=0,p=a<<2,w=P*(W=N[p]),b=P*(R=N[p+1]),x=P*(S=N[p+2]),v+=B*W,y+=B*R,m+=B*S,k=$,l=0;l<P;l++)k.r=W,k.g=R,k.b=S,k=k.next;for(c=n,l=1;l<=o;l++)p=c+a<<2,v+=(k.r=W=N[p])*(T=P-l),y+=(k.g=R=N[p+1])*T,m+=(k.b=S=N[p+2])*T,_+=W,C+=R,H+=S,k=k.next,l<M&&(c+=n);for(p=a,A=$,L=D,s=0;s<r;s++)d=p<<2,N[d]=v*j>>O,N[d+1]=y*j>>O,N[d+2]=m*j>>O,v-=w,y-=b,m-=x,w-=A.r,b-=A.g,x-=A.b,d=a+((d=s+P)<M?d:M)*n<<2,v+=_+=A.r=N[d],y+=C+=A.g=N[d+1],m+=H+=A.b=N[d+2],A=A.next,w+=W=L.r,b+=R=L.g,x+=S=L.b,_-=W,C-=R,H-=S,L=L.next,p+=n}return t}function h(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var u=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],f=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];t.exports={image:i,canvasRGBA:r,canvasRGB:a,imageDataRGBA:o,imageDataRGB:s}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={blurPreview:!0,blurRadius:20,blurAlphaChannel:!1,width:0,height:0,lazy:!1,backgroundColor:"",transition:"",centerType:"cover"}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return e("div",{style:t.containerStyle},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.imageReady,expression:"imageReady"}],ref:"image",staticClass:"vil-image",attrs:{alt:"",src:""}})," ",e("transition",{attrs:{name:t.transition}},[t.imageReady?t._e():e("div",{ref:"preview",staticClass:"vil-preview"},[e("canvas",{directives:[{name:"show",rawName:"v-show",value:t.preview&&t.previewReady&&t.blurPreview,expression:"preview && previewReady && blurPreview"}],ref:"canvas"})," ",e("img",{directives:[{name:"show",rawName:"v-show",value:t.preview&&t.previewReady&&!t.blurPreview,expression:"preview && previewReady && !blurPreview"}],ref:"previewImage",attrs:{src:"",alt:""}})," ",t._t("default")])])])},staticRenderFns:[]}}]);