diff --git a/dist/css/app.faddee12.css b/dist/css/app.5a59ad82.css similarity index 77% rename from dist/css/app.faddee12.css rename to dist/css/app.5a59ad82.css index 6dc91b2..98d11b0 100644 --- a/dist/css/app.faddee12.css +++ b/dist/css/app.5a59ad82.css @@ -1 +1 @@ -blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,legend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}body,button,input,select,textarea{font:12px/1.5tahoma,arial,\5b8b\4f53}h1,h2,h3,h4,h5,h6{font-size:100%}address,cite,dfn,em,var{font-style:normal}code,kbd,pre,samp{font-family:couriernew,courier,monospace}small{font-size:12px}ol,ul{list-style:none}a{text-decoration:none}a:hover{text-decoration:underline}sup{vertical-align:text-top}sub{vertical-align:text-bottom}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}button{margin:0;padding:0;background:none;border:none;outline:none}#app{font-family:Roboto,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;z-index:-99;top:0;left:0;width:100%;height:100%;min-height:100%;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cropper-box[data-v-a7e6d032]{flex:1;width:100%;margin-top:2rem}.cropper-box .cropper[data-v-a7e6d032]{width:auto;height:300px}footer[data-v-a7e6d032]{padding:.5rem;box-sizing:border-box}footer .scope-btn[data-v-a7e6d032]{margin-top:.5rem;display:flex;justify-content:space-between}footer .scope-btn .btn[data-v-a7e6d032]{outline:none;display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;transition:.1s;padding:.2rem .4rem;font-size:.3rem;border-radius:3px;color:#fff;background-color:#409eff;border-color:#409eff}footer .btn-submit[data-v-a7e6d032]{margin-top:1rem;border-radius:1rem;height:1rem;font-size:.4rem;font-weight:400;text-align:center;line-height:1rem;color:#fff;background:linear-gradient(90deg,#3aa5fc,#20d6fa)}.home[data-v-77a1bcfd]{width:100%;max-width:1024px;margin:0 auto;min-height:100vh;position:relative;overflow:hidden;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)!important;background-color:#fff}.home header[data-v-77a1bcfd]{position:fixed;top:0;left:0;width:100%}.home header .warp[data-v-77a1bcfd]{background-color:#fff;width:100%;max-width:1024px;margin:0 auto;height:1.4rem;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)!important;border-bottom:1px solid #f3f3f3}.home header .warp .back[data-v-77a1bcfd]{float:left;margin:.35rem .3rem;height:.7rem;width:.7rem}.home header .warp p[data-v-77a1bcfd]{font-size:.45rem;color:#494e5e;line-height:1.4rem;width:7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home .logo-box[data-v-77a1bcfd]{height:3rem;margin-top:1.4rem;display:flex;align-items:center;justify-content:center}.home .logo-box .logo[data-v-77a1bcfd]{height:5rem;width:5rem}.home .logo-box img[data-v-77a1bcfd]{display:block;height:3rem;width:3rem;margin:0 auto}.home .title[data-v-77a1bcfd]{text-align:center;color:#303133;font-size:.6rem}.home .tip-box[data-v-77a1bcfd]{padding:.5rem 1rem;box-sizing:border-box;margin-top:1rem}.home .tip-box .tip-line[data-v-77a1bcfd]{display:flex;align-items:center;justify-content:space-between;font-size:.45rem;margin-bottom:.2rem}.home .tip-box .tip-line .tip-title[data-v-77a1bcfd]{flex:1;color:#c0c4cc}.home .tip-box .tip-line .tip-content[data-v-77a1bcfd]{flex:3;text-align:right;color:#606266}.home .btn-submit[data-v-77a1bcfd]{margin:1.5rem 1rem;margin-top:.5rem;border-radius:1rem;height:1rem;font-size:.4rem;font-weight:400;text-align:center;line-height:1rem;color:#fff;background:linear-gradient(90deg,#3aa5fc,#20d6fa)}.home footer[data-v-77a1bcfd]{position:absolute;bottom:0;left:0;width:100%;padding-bottom:.3rem}.home footer p[data-v-77a1bcfd]{text-align:center;font-size:.25rem;margin-bottom:.2rem;color:#989898}.snake-bar[data-v-6de0334b]{position:fixed;left:0;bottom:-1.2rem;width:100%}.snake-bar .warp[data-v-6de0334b]{width:100%;max-width:1024px;margin:0 auto;height:1.2rem;background:#ebf6ff}.snake-bar .warp .content[data-v-6de0334b]{margin-left:.3rem;padding-left:.3rem;font-size:.35rem;line-height:1.2rem;letter-spacing:2px;color:#249cff}.higher-snake-bar[data-v-6de0334b]{-webkit-animation:snakeToHigh-data-v-6de0334b .5s ease;animation:snakeToHigh-data-v-6de0334b .5s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.lower-snake-bar[data-v-6de0334b]{-webkit-animation:snakeToLow-data-v-6de0334b .5s ease;animation:snakeToLow-data-v-6de0334b .5s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes snakeToHigh-data-v-6de0334b{0%{bottom:-1.2rem}to{bottom:0}}@keyframes snakeToHigh-data-v-6de0334b{0%{bottom:-1.2rem}to{bottom:0}}@-webkit-keyframes snakeToLow-data-v-6de0334b{0%{bottom:0}to{bottom:-1.2rem}}@keyframes snakeToLow-data-v-6de0334b{0%{bottom:0}to{bottom:-1.2rem}} \ No newline at end of file +blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,legend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}body,button,input,select,textarea{font:12px/1.5tahoma,arial,\5b8b\4f53}h1,h2,h3,h4,h5,h6{font-size:100%}address,cite,dfn,em,var{font-style:normal}code,kbd,pre,samp{font-family:couriernew,courier,monospace}small{font-size:12px}ol,ul{list-style:none}a{text-decoration:none}a:hover{text-decoration:underline}sup{vertical-align:text-top}sub{vertical-align:text-bottom}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}button{margin:0;padding:0;background:none;border:none;outline:none}#app{font-family:Roboto,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;z-index:-99;top:0;left:0;width:100%;height:100%;min-height:100%;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cropper-box[data-v-a7e6d032]{flex:1;width:100%;margin-top:2rem}.cropper-box .cropper[data-v-a7e6d032]{width:auto;height:300px}footer[data-v-a7e6d032]{padding:.5rem;box-sizing:border-box}footer .scope-btn[data-v-a7e6d032]{margin-top:.5rem;display:flex;justify-content:space-between}footer .scope-btn .btn[data-v-a7e6d032]{outline:none;display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;transition:.1s;padding:.2rem .4rem;font-size:.3rem;border-radius:3px;color:#fff;background-color:#409eff;border-color:#409eff}footer .btn-submit[data-v-a7e6d032]{margin-top:1rem;border-radius:1rem;height:1rem;font-size:.4rem;font-weight:400;text-align:center;line-height:1rem;color:#fff;background:linear-gradient(90deg,#3aa5fc,#20d6fa)}.home[data-v-276e7b57]{width:100%;max-width:1024px;margin:0 auto;min-height:100vh;position:relative;overflow:hidden;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)!important;background-color:#fff}.home header[data-v-276e7b57]{position:fixed;top:0;left:0;width:100%}.home header .warp[data-v-276e7b57]{background-color:#fff;width:100%;max-width:1024px;margin:0 auto;height:1.4rem;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)!important;border-bottom:1px solid #f3f3f3}.home header .warp .back[data-v-276e7b57]{float:left;margin:.35rem .3rem;height:.7rem;width:.7rem}.home header .warp p[data-v-276e7b57]{font-size:.45rem;color:#494e5e;line-height:1.4rem;width:7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home .logo-box[data-v-276e7b57]{height:3rem;margin-top:1.4rem;display:flex;align-items:center;justify-content:center}.home .logo-box .logo[data-v-276e7b57]{height:5rem;width:5rem}.home .logo-box img[data-v-276e7b57]{display:block;height:3rem;width:3rem;margin:0 auto}.home .title[data-v-276e7b57]{text-align:center;color:#303133;font-size:.6rem}.home .tip-box[data-v-276e7b57]{padding:.5rem 1rem;box-sizing:border-box;margin-top:1rem}.home .tip-box .tip-line[data-v-276e7b57]{display:flex;align-items:center;justify-content:space-between;font-size:.45rem;margin-bottom:.2rem}.home .tip-box .tip-line .tip-title[data-v-276e7b57]{flex:1;color:#c0c4cc}.home .tip-box .tip-line .tip-content[data-v-276e7b57]{flex:3;text-align:right;color:#606266}.home .btn-submit[data-v-276e7b57]{margin:1.5rem 1rem;margin-top:.5rem;border-radius:1rem;height:1rem;font-size:.4rem;font-weight:400;text-align:center;line-height:1rem;color:#fff;background:linear-gradient(90deg,#3aa5fc,#20d6fa)}.home footer[data-v-276e7b57]{position:absolute;bottom:0;left:0;width:100%;padding-bottom:.3rem}.home footer p[data-v-276e7b57]{text-align:center;font-size:.25rem;margin-bottom:.2rem;color:#989898}.snake-bar[data-v-6de0334b]{position:fixed;left:0;bottom:-1.2rem;width:100%}.snake-bar .warp[data-v-6de0334b]{width:100%;max-width:1024px;margin:0 auto;height:1.2rem;background:#ebf6ff}.snake-bar .warp .content[data-v-6de0334b]{margin-left:.3rem;padding-left:.3rem;font-size:.35rem;line-height:1.2rem;letter-spacing:2px;color:#249cff}.higher-snake-bar[data-v-6de0334b]{-webkit-animation:snakeToHigh-data-v-6de0334b .5s ease;animation:snakeToHigh-data-v-6de0334b .5s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.lower-snake-bar[data-v-6de0334b]{-webkit-animation:snakeToLow-data-v-6de0334b .5s ease;animation:snakeToLow-data-v-6de0334b .5s ease;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes snakeToHigh-data-v-6de0334b{0%{bottom:-1.2rem}to{bottom:0}}@keyframes snakeToHigh-data-v-6de0334b{0%{bottom:-1.2rem}to{bottom:0}}@-webkit-keyframes snakeToLow-data-v-6de0334b{0%{bottom:0}to{bottom:-1.2rem}}@keyframes snakeToLow-data-v-6de0334b{0%{bottom:0}to{bottom:-1.2rem}} \ No newline at end of file diff --git a/dist/favicon.ico b/dist/favicon.ico index df36fcf..514cc38 100644 Binary files a/dist/favicon.ico and b/dist/favicon.ico differ diff --git a/dist/img/icons/android-chrome-192x192.png b/dist/img/icons/android-chrome-192x192.png index b02aa64..85aca98 100644 Binary files a/dist/img/icons/android-chrome-192x192.png and b/dist/img/icons/android-chrome-192x192.png differ diff --git a/dist/img/icons/android-chrome-512x512.png b/dist/img/icons/android-chrome-512x512.png index 06088b0..c405930 100644 Binary files a/dist/img/icons/android-chrome-512x512.png and b/dist/img/icons/android-chrome-512x512.png differ diff --git a/dist/img/icons/android-chrome-maskable-192x192.png b/dist/img/icons/android-chrome-maskable-192x192.png deleted file mode 100644 index 791e9c8..0000000 Binary files a/dist/img/icons/android-chrome-maskable-192x192.png and /dev/null differ diff --git a/dist/img/icons/android-chrome-maskable-512x512.png b/dist/img/icons/android-chrome-maskable-512x512.png deleted file mode 100644 index 5f2098e..0000000 Binary files a/dist/img/icons/android-chrome-maskable-512x512.png and /dev/null differ diff --git a/dist/img/icons/apple-touch-icon-120x120.png b/dist/img/icons/apple-touch-icon-120x120.png index 1427cf6..0a8704a 100644 Binary files a/dist/img/icons/apple-touch-icon-120x120.png and b/dist/img/icons/apple-touch-icon-120x120.png differ diff --git a/dist/img/icons/apple-touch-icon-152x152.png b/dist/img/icons/apple-touch-icon-152x152.png index f24d454..dc68f08 100644 Binary files a/dist/img/icons/apple-touch-icon-152x152.png and b/dist/img/icons/apple-touch-icon-152x152.png differ diff --git a/dist/img/icons/apple-touch-icon-180x180.png b/dist/img/icons/apple-touch-icon-180x180.png index 404e192..69d2afe 100644 Binary files a/dist/img/icons/apple-touch-icon-180x180.png and b/dist/img/icons/apple-touch-icon-180x180.png differ diff --git a/dist/img/icons/apple-touch-icon-60x60.png b/dist/img/icons/apple-touch-icon-60x60.png index cf10a56..687dccd 100644 Binary files a/dist/img/icons/apple-touch-icon-60x60.png and b/dist/img/icons/apple-touch-icon-60x60.png differ diff --git a/dist/img/icons/apple-touch-icon-76x76.png b/dist/img/icons/apple-touch-icon-76x76.png index c500769..249815f 100644 Binary files a/dist/img/icons/apple-touch-icon-76x76.png and b/dist/img/icons/apple-touch-icon-76x76.png differ diff --git a/dist/img/icons/apple-touch-icon.png b/dist/img/icons/apple-touch-icon.png index 03c0c5d..69d2afe 100644 Binary files a/dist/img/icons/apple-touch-icon.png and b/dist/img/icons/apple-touch-icon.png differ diff --git a/dist/img/icons/favicon-16x16.png b/dist/img/icons/favicon-16x16.png index 42af009..55f5a27 100644 Binary files a/dist/img/icons/favicon-16x16.png and b/dist/img/icons/favicon-16x16.png differ diff --git a/dist/img/icons/favicon-32x32.png b/dist/img/icons/favicon-32x32.png index 46ca04d..3ab6c64 100644 Binary files a/dist/img/icons/favicon-32x32.png and b/dist/img/icons/favicon-32x32.png differ diff --git a/dist/img/icons/msapplication-icon-144x144.png b/dist/img/icons/msapplication-icon-144x144.png index 7808237..68ab2ae 100644 Binary files a/dist/img/icons/msapplication-icon-144x144.png and b/dist/img/icons/msapplication-icon-144x144.png differ diff --git a/dist/img/icons/mstile-150x150.png b/dist/img/icons/mstile-150x150.png index 3b37a43..39a2df0 100644 Binary files a/dist/img/icons/mstile-150x150.png and b/dist/img/icons/mstile-150x150.png differ diff --git a/dist/img/icons/safari-pinned-tab.svg b/dist/img/icons/safari-pinned-tab.svg index e44c0d5..6d008ab 100644 --- a/dist/img/icons/safari-pinned-tab.svg +++ b/dist/img/icons/safari-pinned-tab.svg @@ -1,3 +1,254 @@ - - + + + diff --git a/dist/index.html b/dist/index.html index 9bc1ec3..112f971 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -imgzip
\ No newline at end of file +护资照片压缩
\ No newline at end of file diff --git a/dist/js/app-legacy.662e8cf6.js b/dist/js/app-legacy.662e8cf6.js deleted file mode 100644 index f15a4d1..0000000 --- a/dist/js/app-legacy.662e8cf6.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(t){function e(e){for(var i,a,s=e[0],c=e[1],l=e[2],p=0,d=[];p=500?"50px":t/10+"px"}A(),onresize=A,i["a"].config.productionTip=!1,i["a"].use(k.a),i["a"].component("icon",w["a"]),i["a"].component("custedLogo",O),i["a"].use(N),new i["a"]({router:m,store:g,render:function(t){return t(l)}}).$mount("#app")},"5c0b":function(t,e,n){"use strict";n("9c0c")},7126:function(t,e,n){var i={"./left_arrow.svg":"7992"};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=r,t.exports=o,o.id="7126"},7992:function(t,e){t.exports={svg:{$:{t:"1592540000470",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6373","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z","p-id":"6374",fill:"#494e5e"}}]}}},"871b":function(t,e,n){},"9c0c":function(t,e,n){},bb51:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[t.img?[n("header",[n("div",{staticClass:"warp"},[n("div",{on:{click:t.back}},[n("icon",{staticClass:"back",attrs:{name:"left_arrow"}})],1),n("p",[t._v("图片压缩")])])]),n("cropper-image",{ref:"child",attrs:{img:t.img}})]:n("main",[n("div",{staticClass:"logo-box"},[n("custedLogo",{staticClass:"logo"})],1),n("div",{staticClass:"title"},[t._v("护士执业资格考试")]),t._m(0),n("div",{staticClass:"btn-submit",on:{click:t.selectImg}},[t._v("选择图片")]),n("input",{ref:"uploads",staticStyle:{position:"absolute",clip:"rect(0 0 0 0)"},attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.manageImg(e)}}})]),t._m(1)],2)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tip-box"},[n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("冲印尺寸")]),n("div",{staticClass:"tip-content"},[t._v("25mm x 35mm")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("像素尺寸")]),n("div",{staticClass:"tip-content"},[t._v("295 x 413 px")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("分辨率")]),n("div",{staticClass:"tip-content"},[t._v("300 DPI")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("背景色")]),n("div",{staticClass:"tip-content"},[t._v("白色")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("文件大小")]),n("div",{staticClass:"tip-content"},[t._v("小于100kb")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("其他")]),n("div",{staticClass:"tip-content"},[t._v(" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 ")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",[n("a",{attrs:{href:"http://beian.miit.gov.cn/"}},[n("p",[t._v("吉ICP备18005655号")])]),n("p",[t._v("Copyright © 2020 小单同学")]),n("p",[t._v("All Rights Reserved")])])}],r=(n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("53ca")),a=(n("96cf"),n("1da1")),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cropper-box"},[n("div",{staticClass:"cropper"},[n("vue-cropper",{ref:"cropper",attrs:{img:t.option.img,outputSize:t.option.outputSize,outputType:t.option.outputType,info:t.option.info,canScale:t.option.canScale,autoCrop:t.option.autoCrop,autoCropWidth:t.option.autoCropWidth,autoCropHeight:t.option.autoCropHeight,fixed:t.option.fixed,fixedNumber:t.option.fixedNumber,full:t.option.full,fixedBox:t.option.fixedBox,canMove:t.option.canMove,canMoveBox:t.option.canMoveBox,original:t.option.original,centerBox:t.option.centerBox,height:t.option.height,infoTrue:t.option.infoTrue,maxImgSize:t.option.maxImgSize,enlarge:t.option.enlarge,mode:t.option.mode},on:{realTime:t.realTime,imgLoad:t.imgLoad}})],1),n("footer",[n("div",{staticClass:"scope-btn"},[n("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(1)}}},[t._v("放大")]),n("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(-1)}}},[t._v("缩小")]),n("div",{staticClass:"btn",on:{click:t.rotateLeft}},[t._v("↺ 左旋转")]),n("div",{staticClass:"btn",on:{click:t.rotateRight}},[t._v("↻ 右旋转")])]),n("div",{staticClass:"upload-btn"},[n("div",{staticClass:"btn-submit",on:{click:function(e){return t.donwloadImg()}}},[t._v("压缩图片并下载")])])])])},c=[],l=n("b678"),u=(n("e688"),{name:"CropperImage",components:{VueCropper:l["VueCropper"]},props:["img"],data:function(){return{previews:{},option:{img:this.img,outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:200,autoCropHeight:280,fixed:!0,fixedNumber:[5,7],full:!1,fixedBox:!1,canMove:!1,canMoveBox:!0,original:!1,centerBox:!0,height:!0,infoTrue:!1,maxImgSize:3e3,enlarge:1,mode:"200px 280px"}}},methods:{imgLoad:function(t){console.log("工具初始化函数====="+t)},changeScale:function(t){t=t||1,this.$refs.cropper.changeScale(t)},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},realTime:function(t){this.previews=t},zipImg:function(t,e,n){var i=this;return new Promise((function(o){var r=new Image;r.src=t,r.onload=function(){var a=document.createElement("canvas"),s=a.getContext("2d");a.setAttribute("width",e),a.setAttribute("height",n),s.drawImage(r,0,0,e,n);var c=a.toDataURL("image/png");console.log(c.length/1024/1024),c.length/1024/1024>.1?(console.log(1,e,n),o(i.zipImg(t,.9*e,.9*n))):(console.log(2,e,n),o(c))}}))},donwloadImg:function(){var t=this;this.$refs.cropper.getCropData(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.zipImg(n,295,413).then((function(t){console.log(t.length/1024/1024);var e=document.createElement("a");e.href=t,e.download="护士执业资格考试.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},selectImg:function(){this.$refs.upload.click()}}}),p=u,d=(n("0ed4"),n("2877")),f=Object(d["a"])(p,s,c,!1,null,"a7e6d032",null),m=f.exports,v={name:"Home",components:{CropperImage:m},data:function(){return{img:null}},methods:{back:function(){this.img=null},selectImg:function(){this.$refs.uploads.click()},manageImg:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){var n,i,o=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.target.files[0],/\.(jpg|jpeg|png|JPG|PNG)$/.test(e.target.value)){t.next=4;break}return this.$snakebar("图片类型要求:jpeg、jpg、png"),t.abrupt("return",!1);case 4:i=new FileReader,i.onload=function(t){var e;e="object"===Object(r["a"])(t.target.result)?window.URL.createObjectURL(new Blob([t.target.result])):t.target.result,o.img=e},i.readAsDataURL(n);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},h=v,g=(n("4d40"),Object(d["a"])(h,i,o,!1,null,"77a1bcfd",null));e["default"]=g.exports}}); -//# sourceMappingURL=app-legacy.662e8cf6.js.map \ No newline at end of file diff --git a/dist/js/app-legacy.662e8cf6.js.map b/dist/js/app-legacy.662e8cf6.js.map deleted file mode 100644 index 0fc5bc0..0000000 --- a/dist/js/app-legacy.662e8cf6.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/CropperImage.vue?1271","webpack:///./src/components/SnakeBar/SnakeBar.vue?9ce6","webpack:///./src/views/Home.vue?ca08","webpack:///./src/App.vue?0321","webpack:///./src/App.vue","webpack:///./src/registerServiceWorker.js","webpack:///./src/router/index.js","webpack:///./src/store/index.js","webpack:///./src/components/SnakeBar/index.js","webpack:///./src/components/Logo.vue?b980","webpack:///src/components/Logo.vue","webpack:///./src/components/Logo.vue?9a76","webpack:///./src/components/Logo.vue","webpack:///./src/components/SnakeBar/SnakeBar.vue?c1ee","webpack:///src/components/SnakeBar/SnakeBar.vue","webpack:///./src/components/SnakeBar/SnakeBar.vue?8ba2","webpack:///./src/components/SnakeBar/SnakeBar.vue","webpack:///./src/main.js","webpack:///./src/App.vue?f446","webpack:///./src/svg sync ./node_modules/_xml-loader@1.1.0@xml-loader ^\\.\\/.*\\.svg$","webpack:///./src/svg/left_arrow.svg","webpack:///./src/views/Home.vue?a2bb","webpack:///./src/components/CropperImage.vue?8957","webpack:///src/components/CropperImage.vue","webpack:///./src/components/CropperImage.vue?af5e","webpack:///./src/components/CropperImage.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?2b8c","webpack:///./src/views/Home.vue"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","$route","meta","_e","keepAlive","staticRenderFns","script","component","register","process","ready","console","log","registered","cached","updatefound","updated","offline","error","Vue","use","VueRouter","routes","path","redirect","hidden","router","base","Vuex","instance","Store","state","mutations","actions","stroke","fill","computed","staticClass","class","snack_bar_class","_v","_s","msg","props","methods","openSnackBar","setTimeout","created","mounted","watch","beforeDestroy","components","activated","SnakeBarConstructor","extend","SnakeBar","seed","index","eleList","install","id","alertMsg","options","propsData","vm","$mount","document","body","appendChild","$el","removeChild","style","zIndex","setHtmlFontSize","htmlWidth","documentElement","clientWidth","htmlDom","getElementsByTagName","fontSize","onresize","config","productionTip","VueCropper","Icon","CustedLogo","store","render","h","App","map","webpackContext","req","webpackContextResolve","e","Error","code","keys","resolve","on","back","ref","img","_m","selectImg","staticStyle","$event","manageImg","option","outputSize","outputType","info","canScale","autoCrop","autoCropWidth","autoCropHeight","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","maxImgSize","enlarge","realTime","imgLoad","changeScale","rotateLeft","rotateRight","donwloadImg","previews","num","$refs","cropper","zipImg","Promise","src","onload","canvas","setAttribute","width","ctx","drawImage","res","getCropData","upload","click","uploads"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY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BqB,EAAIC,UAAU5C,EAAK,EAAG,EAAG0C,EAAOpB,GAChC,IAAV,2BACUjH,QAAQC,IAAIuI,EAAI9M,OAAS,KAAO,MAC5B8M,EAAI9M,OAAS,KAAO,KAAO,IAC7BsE,QAAQC,IAAI,EAAGoI,EAAOpB,GACtB1B,EAAQ,EAApB,uBAEYvF,QAAQC,IAAI,EAAGoI,EAAOpB,GACtB1B,EAAQiD,SAMhBd,YAjDJ,WAiDA,WAEM1I,KAAK6I,MAAMC,QAAQW,YAAzB,wJACA,sCACA,gCACA,kCACA,SACA,0BACA,6BACA,UACA,gCARA,mGAYI5C,UA/DJ,WAgEM7G,KAAK6I,MAAMa,OAAOC,YCnJ8T,I,wBCQlV/I,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,QCiDf,GACEtC,KAAM,OACNkF,WAAY,CAAd,gBACEtH,KAHF,WAII,MAAO,CACLyK,IAAK,OAGT1D,QAAS,CACPwD,KADJ,WAEMzG,KAAK2G,IAAM,MAEbE,UAJJ,WAKM7G,KAAK6I,MAAMe,QAAQD,SAGrB3C,UAAW,WAAf,+JACA,oBACA,iDAFA,uBAGA,sCAHA,mBAIA,GAJA,OAOA,iBACA,qBACA,MAEA,EADA,2CACA,wDAEA,gBAEA,SAGA,mBAlBA,sGAAe,KCpF+T,ICQ1U,G,UAAY,eACd,EACApB,EACAlF,GACA,EACA,KACA,WACA,OAIa,e","file":"js/app-legacy.662e8cf6.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=style&index=0&id=a7e6d032&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=style&index=0&id=6de0334b&scoped=true&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=77a1bcfd&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('keep-alive',[(this.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1),(!this.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=09f55170&\"\nvar script = {}\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready () {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered () {\n console.log('Service worker has been registered.')\n },\n cached () {\n console.log('Content has been cached for offline use.')\n },\n updatefound () {\n console.log('New content is downloading.')\n },\n updated () {\n console.log('New content is available; please refresh.')\n },\n offline () {\n console.log('No internet connection found. App is running in offline mode.')\n },\n error (error) {\n console.error('Error during service worker registration:', error)\n }\n })\n}\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Home from '../views/Home.vue'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: () => import( /* webpackChunkName: \"home\" */ '../views/Home.vue')\n },\n {\n\t\tpath: '*', // 页面不存在的情况下会跳到home\n\t\tredirect: '/',\n\t\tname: 'notFound',\n\t\thidden: true\n\t}\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n routes\n})\n\nexport default router\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n },\n mutations: {\n },\n actions: {\n },\n modules: {\n }\n})\n","import SnakeBar from './SnakeBar.vue'\r\nimport Vue from 'vue'\r\nlet SnakeBarConstructor = Vue.extend(SnakeBar)\r\nlet instance\r\nlet seed = 1\r\nlet index = 2000\r\nlet eleList = []\r\nconst install = () => {\r\n Object.defineProperty(Vue.prototype, '$snakebar', {\r\n get () {\r\n let id = 'snakebar_' + seed++\r\n const alertMsg = options => {\r\n instance = new SnakeBarConstructor({\r\n propsData: {msg:options}\r\n })\r\n index++\r\n instance.id = id\r\n instance.vm = instance.$mount()\r\n document.body.appendChild(instance.vm.$el)\r\n eleList.push(instance.vm.$el)\r\n setTimeout(()=> {\r\n document.body.removeChild(eleList.shift())\r\n },3000)\r\n instance.vm.$el.style.zIndex = index\r\n return instance.vm\r\n }\r\n return alertMsg\r\n }\r\n })\r\n}\r\nexport default install","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"version\":\"1.1\",\"id\":\"图层_1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"x\":\"0px\",\"y\":\"0px\",\"viewBox\":\"0 0 200 200\",\"enable-background\":\"new 0 0 200 200\",\"xml:space\":\"preserve\"}},[_c('path',{attrs:{\"fill\":_vm.stroke,\"id\":\"左耳\",\"d\":\"M68.2,87.3h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L68.2,87.3z\"}}),_c('path',{attrs:{\"fill\":_vm.stroke,\"id\":\"右耳\",\"d\":\"M111.2,87.6h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L111.2,87.6z\"}}),_c('path',{attrs:{\"id\":\"身材\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"5\",\"stroke-miterlimit\":\"10\",\"d\":\"M128.6,92.1c2.4,0,6.1,4.6,6.1,4.6\\n\\ts0,21.1,0,23.8s-4.6,5.3-4.6,5.3s-56.3,0-59,0s-6.5-5-6.5-5s0-20.4,0-23.3s4.4-5.3,4.4-5.3S126.2,92.1,128.6,92.1z\"}}),_c('rect',{attrs:{\"x\":\"87.5\",\"y\":\"89\",\"fill\":_vm.fill,\"width\":\"3.1\",\"height\":\"43\"}}),_c('path',{attrs:{\"id\":\"U\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M72.7,102.3c0,0,0,10,0,11.5s1.4,1.5,1.4,1.5\\n\\th4.4c0,0,1.8,0,1.8-1.5s0-11.5,0-11.5\"}}),_c('line',{attrs:{\"id\":\"T1\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"95.3\",\"y1\":\"104\",\"x2\":\"104.5\",\"y2\":\"104\"}}),_c('line',{attrs:{\"id\":\"T2\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"99.9\",\"y1\":\"117\",\"x2\":\"99.9\",\"y2\":\"104\"}}),_c('path',{attrs:{\"id\":\"E1\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M116.1,104.1l-6.9-0.2c0,0-1.1,0.1-1.1,1.5\\n\\ts0,6.8,0,8.3s0.8,1.5,0.8,1.5h7.2\"}}),_c('line',{attrs:{\"id\":\"E2\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"116.2\",\"y1\":\"109.8\",\"x2\":\"106.7\",\"y2\":\"109.8\"}}),_c('rect',{attrs:{\"x\":\"124.5\",\"y\":\"85.3\",\"transform\":\"matrix(-1.836970e-16 1 -1 -1.836970e-16 232.7188 -19.0313)\",\"fill\":_vm.fill,\"width\":\"2.7\",\"height\":\"43\"}}),_c('rect',{attrs:{\"x\":\"124.1\",\"y\":\"90.9\",\"transform\":\"matrix(-1.836970e-16 1 -1 -1.836970e-16 237.7917 -12.9583)\",\"fill\":_vm.fill,\"width\":\"2.6\",\"height\":\"43\"}}),_c('polygon',{attrs:{\"id\":\"D\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"points\":\"120,104.1 124.7,104.1 127.5,106.8 \\n\\t127.5,112.3 125.4,115.2 120,115.2 \"}}),_c('path',{attrs:{\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M93.3,104h-6.1c0,0-1.4,0.1-1.4,1.6s0,2.5,0,2.5\\n\\ts0,1.5,1.3,1.5s3.1,0,3.1,0s1.7,0.1,1.7,1.7s0,1.1,0,2.5c0,1.4-1.4,1.4-1.4,1.4h-6.1\"}}),_c('rect',{attrs:{\"x\":\"87.4\",\"y\":\"106.9\",\"fill\":_vm.fill,\"width\":\"3.1\",\"height\":\"5.8\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logo.vue?vue&type=template&id=5b5ee388&\"\nimport script from \"./Logo.vue?vue&type=script&lang=js&\"\nexport * from \"./Logo.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"snake-bar\",class:_vm.snack_bar_class},[_c('div',{staticClass:\"warp\"},[_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.msg))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SnakeBar.vue?vue&type=template&id=6de0334b&scoped=true&\"\nimport script from \"./SnakeBar.vue?vue&type=script&lang=js&\"\nexport * from \"./SnakeBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SnakeBar.vue?vue&type=style&index=0&id=6de0334b&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6de0334b\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport './registerServiceWorker'\r\nimport router from './router'\r\nimport store from './store'\r\n\r\n//px2rem\r\nfunction setHtmlFontSize() {\r\n const htmlWidth = document.documentElement.clientWidth || document.body.clientWidth\r\n const htmlDom = document.getElementsByTagName('html')[0]\r\n if (htmlWidth >= 500) htmlDom.style.fontSize = 500 / 10 + 'px'\r\n else htmlDom.style.fontSize = htmlWidth / 10 + 'px'\r\n}\r\nsetHtmlFontSize();\r\nonresize = setHtmlFontSize\r\n\r\nVue.config.productionTip = false\r\n\r\nimport VueCropper from 'vue-cropper' \r\nVue.use(VueCropper)\r\n\r\n// icon-loader\r\nimport Icon from 'vue-svg-icon/Icon.vue'\r\nVue.component('icon', Icon);\r\n\r\nimport CustedLogo from './components/Logo.vue'\r\nVue.component('custedLogo', CustedLogo)\r\n\r\n// 自己写的snakebar组件\r\nimport SnakeBar from '@/components/SnakeBar/index'\r\nVue.use(SnakeBar)\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: h => h(App)\r\n}).$mount('#app')\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","var map = {\n\t\"./left_arrow.svg\": \"7992\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"7126\";","module.exports = {\"svg\":{\"$\":{\"t\":\"1592540000470\",\"class\":\"icon\",\"viewBox\":\"0 0 1024 1024\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"p-id\":\"6373\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"200\",\"height\":\"200\"},\"defs\":[{\"style\":[{\"$\":{\"type\":\"text/css\"}}]}],\"path\":[{\"$\":{\"d\":\"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z\",\"p-id\":\"6374\",\"fill\":\"#494e5e\"}}]}}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[(_vm.img)?[_c('header',[_c('div',{staticClass:\"warp\"},[_c('div',{on:{\"click\":_vm.back}},[_c('icon',{staticClass:\"back\",attrs:{\"name\":\"left_arrow\"}})],1),_c('p',[_vm._v(\"图片压缩\")])])]),_c('cropper-image',{ref:\"child\",attrs:{\"img\":_vm.img}})]:_c('main',[_c('div',{staticClass:\"logo-box\"},[_c('custedLogo',{staticClass:\"logo\"})],1),_c('div',{staticClass:\"title\"},[_vm._v(\"护士执业资格考试\")]),_vm._m(0),_c('div',{staticClass:\"btn-submit\",on:{\"click\":_vm.selectImg}},[_vm._v(\"选择图片\")]),_c('input',{ref:\"uploads\",staticStyle:{\"position\":\"absolute\",\"clip\":\"rect(0 0 0 0)\"},attrs:{\"type\":\"file\",\"accept\":\"image/png, image/jpeg, image/gif, image/jpg\"},on:{\"change\":function($event){return _vm.manageImg($event)}}})]),_vm._m(1)],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tip-box\"},[_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"冲印尺寸\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"25mm x 35mm\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"像素尺寸\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"295 x 413 px\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"分辨率\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"300 DPI\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"背景色\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"白色\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"文件大小\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"小于100kb\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"其他\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',[_c('a',{attrs:{\"href\":\"http://beian.miit.gov.cn/\"}},[_c('p',[_vm._v(\"吉ICP备18005655号\")])]),_c('p',[_vm._v(\"Copyright © 2020 小单同学\")]),_c('p',[_vm._v(\"All Rights Reserved\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cropper-box\"},[_c('div',{staticClass:\"cropper\"},[_c('vue-cropper',{ref:\"cropper\",attrs:{\"img\":_vm.option.img,\"outputSize\":_vm.option.outputSize,\"outputType\":_vm.option.outputType,\"info\":_vm.option.info,\"canScale\":_vm.option.canScale,\"autoCrop\":_vm.option.autoCrop,\"autoCropWidth\":_vm.option.autoCropWidth,\"autoCropHeight\":_vm.option.autoCropHeight,\"fixed\":_vm.option.fixed,\"fixedNumber\":_vm.option.fixedNumber,\"full\":_vm.option.full,\"fixedBox\":_vm.option.fixedBox,\"canMove\":_vm.option.canMove,\"canMoveBox\":_vm.option.canMoveBox,\"original\":_vm.option.original,\"centerBox\":_vm.option.centerBox,\"height\":_vm.option.height,\"infoTrue\":_vm.option.infoTrue,\"maxImgSize\":_vm.option.maxImgSize,\"enlarge\":_vm.option.enlarge,\"mode\":_vm.option.mode},on:{\"realTime\":_vm.realTime,\"imgLoad\":_vm.imgLoad}})],1),_c('footer',[_c('div',{staticClass:\"scope-btn\"},[_c('div',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.changeScale(1)}}},[_vm._v(\"放大\")]),_c('div',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.changeScale(-1)}}},[_vm._v(\"缩小\")]),_c('div',{staticClass:\"btn\",on:{\"click\":_vm.rotateLeft}},[_vm._v(\"↺ 左旋转\")]),_c('div',{staticClass:\"btn\",on:{\"click\":_vm.rotateRight}},[_vm._v(\"↻ 右旋转\")])]),_c('div',{staticClass:\"upload-btn\"},[_c('div',{staticClass:\"btn-submit\",on:{\"click\":function($event){return _vm.donwloadImg()}}},[_vm._v(\"压缩图片并下载\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CropperImage.vue?vue&type=template&id=a7e6d032&scoped=true&\"\nimport script from \"./CropperImage.vue?vue&type=script&lang=js&\"\nexport * from \"./CropperImage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CropperImage.vue?vue&type=style&index=0&id=a7e6d032&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a7e6d032\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=77a1bcfd&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=77a1bcfd&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77a1bcfd\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app-legacy.c88b9551.js b/dist/js/app-legacy.c88b9551.js new file mode 100644 index 0000000..29ef5f0 --- /dev/null +++ b/dist/js/app-legacy.c88b9551.js @@ -0,0 +1 @@ +(function(t){function e(e){for(var i,a,s=e[0],c=e[1],l=e[2],p=0,d=[];p=500?"50px":t/10+"px"}A(),onresize=A,i["a"].config.productionTip=!1,i["a"].use(k.a),i["a"].component("icon",w["a"]),i["a"].component("custedLogo",O),i["a"].use(N),new i["a"]({router:m,store:g,render:function(t){return t(l)}}).$mount("#app")},"5c0b":function(t,e,n){"use strict";n("9c0c")},"6b7c":function(t,e,n){},7126:function(t,e,n){var i={"./left_arrow.svg":"7992"};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=r,t.exports=o,o.id="7126"},7992:function(t,e){t.exports={svg:{$:{t:"1592540000470",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6373","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z","p-id":"6374",fill:"#494e5e"}}]}}},"871b":function(t,e,n){},"9c0c":function(t,e,n){},bb51:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[t.img?[n("header",[n("div",{staticClass:"warp"},[n("div",{on:{click:t.back}},[n("icon",{staticClass:"back",attrs:{name:"left_arrow"}})],1),n("p",[t._v("图片压缩")])])]),n("cropper-image",{ref:"child",attrs:{img:t.img}})]:n("main",[n("div",{staticClass:"logo-box"},[n("custedLogo",{staticClass:"logo"})],1),n("div",{staticClass:"title"},[t._v("护资照片压缩")]),t._m(0),n("div",{staticClass:"btn-submit",on:{click:t.selectImg}},[t._v("选择图片")]),n("input",{ref:"uploads",staticStyle:{position:"absolute",clip:"rect(0 0 0 0)"},attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.manageImg(e)}}})]),t._m(1)],2)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tip-box"},[n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("冲印尺寸")]),n("div",{staticClass:"tip-content"},[t._v("25mm x 35mm")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("像素尺寸")]),n("div",{staticClass:"tip-content"},[t._v("295 x 413 px")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("分辨率")]),n("div",{staticClass:"tip-content"},[t._v("300 DPI")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("背景色")]),n("div",{staticClass:"tip-content"},[t._v("白色")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("文件大小")]),n("div",{staticClass:"tip-content"},[t._v("小于100kb")])]),n("div",{staticClass:"tip-line"},[n("div",{staticClass:"tip-title"},[t._v("其他")]),n("div",{staticClass:"tip-content"},[t._v(" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 ")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",[n("a",{attrs:{href:"http://beian.miit.gov.cn/"}},[n("p",[t._v("吉ICP备18005655号")])]),n("p",[t._v("Copyright © 2020 小单同学")]),n("p",[t._v("All Rights Reserved")])])}],r=(n("d3b7"),n("3ca3"),n("ddb0"),n("2b3d"),n("53ca")),a=(n("96cf"),n("1da1")),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cropper-box"},[n("div",{staticClass:"cropper"},[n("vue-cropper",{ref:"cropper",attrs:{img:t.option.img,outputSize:t.option.outputSize,outputType:t.option.outputType,info:t.option.info,canScale:t.option.canScale,autoCrop:t.option.autoCrop,autoCropWidth:t.option.autoCropWidth,autoCropHeight:t.option.autoCropHeight,fixed:t.option.fixed,fixedNumber:t.option.fixedNumber,full:t.option.full,fixedBox:t.option.fixedBox,canMove:t.option.canMove,canMoveBox:t.option.canMoveBox,original:t.option.original,centerBox:t.option.centerBox,height:t.option.height,infoTrue:t.option.infoTrue,maxImgSize:t.option.maxImgSize,enlarge:t.option.enlarge,mode:t.option.mode},on:{realTime:t.realTime,imgLoad:t.imgLoad}})],1),n("footer",[n("div",{staticClass:"scope-btn"},[n("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(1)}}},[t._v("放大")]),n("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(-1)}}},[t._v("缩小")]),n("div",{staticClass:"btn",on:{click:t.rotateLeft}},[t._v("↺ 左旋转")]),n("div",{staticClass:"btn",on:{click:t.rotateRight}},[t._v("↻ 右旋转")])]),n("div",{staticClass:"upload-btn"},[n("div",{staticClass:"btn-submit",on:{click:function(e){return t.donwloadImg()}}},[t._v("压缩图片并下载")])])])])},c=[],l=n("b678"),u=(n("e688"),{name:"CropperImage",components:{VueCropper:l["VueCropper"]},props:["img"],data:function(){return{previews:{},option:{img:this.img,outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:200,autoCropHeight:280,fixed:!0,fixedNumber:[5,7],full:!1,fixedBox:!1,canMove:!1,canMoveBox:!0,original:!1,centerBox:!0,height:!0,infoTrue:!1,maxImgSize:3e3,enlarge:1,mode:"200px 280px"}}},methods:{imgLoad:function(t){console.log("工具初始化函数====="+t)},changeScale:function(t){t=t||1,this.$refs.cropper.changeScale(t)},rotateLeft:function(){this.$refs.cropper.rotateLeft()},rotateRight:function(){this.$refs.cropper.rotateRight()},realTime:function(t){this.previews=t},zipImg:function(t,e,n){var i=this;return new Promise((function(o){var r=new Image;r.src=t,r.onload=function(){var a=document.createElement("canvas"),s=a.getContext("2d");a.setAttribute("width",e),a.setAttribute("height",n),s.drawImage(r,0,0,e,n);var c=a.toDataURL("image/png");console.log(c.length/1024/1024),c.length/1024/1024>.1?(console.log(1,e,n),o(i.zipImg(t,.9*e,.9*n))):(console.log(2,e,n),o(c))}}))},donwloadImg:function(){var t=this;this.$refs.cropper.getCropData(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.zipImg(n,295,413).then((function(t){console.log(t.length/1024/1024);var e=document.createElement("a");e.href=t,e.download="护士执业资格考试.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},selectImg:function(){this.$refs.upload.click()}}}),p=u,d=(n("0ed4"),n("2877")),f=Object(d["a"])(p,s,c,!1,null,"a7e6d032",null),m=f.exports,v={name:"Home",components:{CropperImage:m},data:function(){return{img:null}},methods:{back:function(){this.img=null},selectImg:function(){this.$refs.uploads.click()},manageImg:function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(e){var n,i,o=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.target.files[0],/\.(jpg|jpeg|png|JPG|PNG)$/.test(e.target.value)){t.next=4;break}return this.$snakebar("图片类型要求:jpeg、jpg、png"),t.abrupt("return",!1);case 4:i=new FileReader,i.onload=function(t){var e;e="object"===Object(r["a"])(t.target.result)?window.URL.createObjectURL(new Blob([t.target.result])):t.target.result,o.img=e},i.readAsDataURL(n);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},h=v,g=(n("03a2"),Object(d["a"])(h,i,o,!1,null,"276e7b57",null));e["default"]=g.exports}}); \ No newline at end of file diff --git a/dist/js/app.6f7c4cba.js b/dist/js/app.6f7c4cba.js deleted file mode 100644 index 95a1707..0000000 --- a/dist/js/app.6f7c4cba.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(t){function e(e){for(var i,s,a=e[0],l=e[1],c=e[2],d=0,u=[];dPromise.resolve().then(o.bind(null,"bb51"))},{path:"*",redirect:"/",name:"notFound",hidden:!0}],f=new d["a"]({mode:"history",base:"/",routes:u});var m=f,g=o("2f62");i["a"].use(g["a"]);var h=new g["a"].Store({state:{},mutations:{},actions:{},modules:{}}),v=o("b678"),b=o.n(v),k=o("61e4"),w=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{attrs:{version:"1.1",id:"图层_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 200 200","enable-background":"new 0 0 200 200","xml:space":"preserve"}},[o("path",{attrs:{fill:t.stroke,id:"左耳",d:"M68.2,87.3h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L68.2,87.3z"}}),o("path",{attrs:{fill:t.stroke,id:"右耳",d:"M111.2,87.6h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L111.2,87.6z"}}),o("path",{attrs:{id:"身材",fill:"none",stroke:t.stroke,"stroke-width":"5","stroke-miterlimit":"10",d:"M128.6,92.1c2.4,0,6.1,4.6,6.1,4.6\n\ts0,21.1,0,23.8s-4.6,5.3-4.6,5.3s-56.3,0-59,0s-6.5-5-6.5-5s0-20.4,0-23.3s4.4-5.3,4.4-5.3S126.2,92.1,128.6,92.1z"}}),o("rect",{attrs:{x:"87.5",y:"89",fill:t.fill,width:"3.1",height:"43"}}),o("path",{attrs:{id:"U",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M72.7,102.3c0,0,0,10,0,11.5s1.4,1.5,1.4,1.5\n\th4.4c0,0,1.8,0,1.8-1.5s0-11.5,0-11.5"}}),o("line",{attrs:{id:"T1",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"95.3",y1:"104",x2:"104.5",y2:"104"}}),o("line",{attrs:{id:"T2",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"99.9",y1:"117",x2:"99.9",y2:"104"}}),o("path",{attrs:{id:"E1",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M116.1,104.1l-6.9-0.2c0,0-1.1,0.1-1.1,1.5\n\ts0,6.8,0,8.3s0.8,1.5,0.8,1.5h7.2"}}),o("line",{attrs:{id:"E2",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"116.2",y1:"109.8",x2:"106.7",y2:"109.8"}}),o("rect",{attrs:{x:"124.5",y:"85.3",transform:"matrix(-1.836970e-16 1 -1 -1.836970e-16 232.7188 -19.0313)",fill:t.fill,width:"2.7",height:"43"}}),o("rect",{attrs:{x:"124.1",y:"90.9",transform:"matrix(-1.836970e-16 1 -1 -1.836970e-16 237.7917 -12.9583)",fill:t.fill,width:"2.6",height:"43"}}),o("polygon",{attrs:{id:"D",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",points:"120,104.1 124.7,104.1 127.5,106.8 \n\t127.5,112.3 125.4,115.2 120,115.2 "}}),o("path",{attrs:{fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M93.3,104h-6.1c0,0-1.4,0.1-1.4,1.6s0,2.5,0,2.5\n\ts0,1.5,1.3,1.5s3.1,0,3.1,0s1.7,0.1,1.7,1.7s0,1.1,0,2.5c0,1.4-1.4,1.4-1.4,1.4h-6.1"}}),o("rect",{attrs:{x:"87.4",y:"106.9",fill:t.fill,width:"3.1",height:"5.8"}})])},x=[],_={name:"CustedLogo",computed:{stroke:function(){return"#249cff"},fill:function(){return"#fff"}}},C=_,y=Object(s["a"])(C,w,x,!1,null,null,null),j=y.exports,S=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"snake-bar",class:t.snack_bar_class},[o("div",{staticClass:"warp"},[o("div",{staticClass:"content"},[t._v(t._s(t.msg))])])])},$=[],O={name:"SnakeBar",props:["msg"],data(){return{snack_bar_class:""}},computed:{},methods:{openSnackBar(t){this.snack_bar_class="higher-snake-bar",setTimeout(()=>{this.snack_bar_class="lower-snake-bar"},2500)}},created(){this.openSnackBar()},mounted(){},watch:{},beforeDestroy(){},components:{},activated(){}},I=O,M=(o("2cba"),Object(s["a"])(I,S,$,!1,null,"6de0334b",null)),T=M.exports;let B,L=i["a"].extend(T),z=1,E=2e3,P=[];const N=()=>{Object.defineProperty(i["a"].prototype,"$snakebar",{get(){let t="snakebar_"+z++;const e=e=>(B=new L({propsData:{msg:e}}),E++,B.id=t,B.vm=B.$mount(),document.body.appendChild(B.vm.$el),P.push(B.vm.$el),setTimeout(()=>{document.body.removeChild(P.shift())},3e3),B.vm.$el.style.zIndex=E,B.vm);return e}})};var R=N;function A(){const t=document.documentElement.clientWidth||document.body.clientWidth,e=document.getElementsByTagName("html")[0];e.style.fontSize=t>=500?"50px":t/10+"px"}A(),onresize=A,i["a"].config.productionTip=!1,i["a"].use(b.a),i["a"].component("icon",k["a"]),i["a"].component("custedLogo",j),i["a"].use(R),new i["a"]({router:m,store:h,render:t=>t(c)}).$mount("#app")},"5c0b":function(t,e,o){"use strict";o("9c0c")},7126:function(t,e,o){var i={"./left_arrow.svg":"7992"};function n(t){var e=r(t);return o(e)}function r(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}n.keys=function(){return Object.keys(i)},n.resolve=r,t.exports=n,n.id="7126"},7992:function(t,e){t.exports={svg:{$:{t:"1592540000470",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6373","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z","p-id":"6374",fill:"#494e5e"}}]}}},"871b":function(t,e,o){},"9c0c":function(t,e,o){},bb51:function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"home"},[t.img?[o("header",[o("div",{staticClass:"warp"},[o("div",{on:{click:t.back}},[o("icon",{staticClass:"back",attrs:{name:"left_arrow"}})],1),o("p",[t._v("图片压缩")])])]),o("cropper-image",{ref:"child",attrs:{img:t.img}})]:o("main",[o("div",{staticClass:"logo-box"},[o("custedLogo",{staticClass:"logo"})],1),o("div",{staticClass:"title"},[t._v("护士执业资格考试")]),t._m(0),o("div",{staticClass:"btn-submit",on:{click:t.selectImg}},[t._v("选择图片")]),o("input",{ref:"uploads",staticStyle:{position:"absolute",clip:"rect(0 0 0 0)"},attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.manageImg(e)}}})]),t._m(1)],2)},n=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"tip-box"},[o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("冲印尺寸")]),o("div",{staticClass:"tip-content"},[t._v("25mm x 35mm")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("像素尺寸")]),o("div",{staticClass:"tip-content"},[t._v("295 x 413 px")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("分辨率")]),o("div",{staticClass:"tip-content"},[t._v("300 DPI")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("背景色")]),o("div",{staticClass:"tip-content"},[t._v("白色")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("文件大小")]),o("div",{staticClass:"tip-content"},[t._v("小于100kb")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("其他")]),o("div",{staticClass:"tip-content"},[t._v(" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 ")])])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("footer",[o("a",{attrs:{href:"http://beian.miit.gov.cn/"}},[o("p",[t._v("吉ICP备18005655号")])]),o("p",[t._v("Copyright © 2020 小单同学")]),o("p",[t._v("All Rights Reserved")])])}],r=(o("ddb0"),o("2b3d"),function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"cropper-box"},[o("div",{staticClass:"cropper"},[o("vue-cropper",{ref:"cropper",attrs:{img:t.option.img,outputSize:t.option.outputSize,outputType:t.option.outputType,info:t.option.info,canScale:t.option.canScale,autoCrop:t.option.autoCrop,autoCropWidth:t.option.autoCropWidth,autoCropHeight:t.option.autoCropHeight,fixed:t.option.fixed,fixedNumber:t.option.fixedNumber,full:t.option.full,fixedBox:t.option.fixedBox,canMove:t.option.canMove,canMoveBox:t.option.canMoveBox,original:t.option.original,centerBox:t.option.centerBox,height:t.option.height,infoTrue:t.option.infoTrue,maxImgSize:t.option.maxImgSize,enlarge:t.option.enlarge,mode:t.option.mode},on:{realTime:t.realTime,imgLoad:t.imgLoad}})],1),o("footer",[o("div",{staticClass:"scope-btn"},[o("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(1)}}},[t._v("放大")]),o("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(-1)}}},[t._v("缩小")]),o("div",{staticClass:"btn",on:{click:t.rotateLeft}},[t._v("↺ 左旋转")]),o("div",{staticClass:"btn",on:{click:t.rotateRight}},[t._v("↻ 右旋转")])]),o("div",{staticClass:"upload-btn"},[o("div",{staticClass:"btn-submit",on:{click:function(e){return t.donwloadImg()}}},[t._v("压缩图片并下载")])])])])}),s=[],a=o("b678"),l=(o("e688"),{name:"CropperImage",components:{VueCropper:a["VueCropper"]},props:["img"],data(){return{previews:{},option:{img:this.img,outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:200,autoCropHeight:280,fixed:!0,fixedNumber:[5,7],full:!1,fixedBox:!1,canMove:!1,canMoveBox:!0,original:!1,centerBox:!0,height:!0,infoTrue:!1,maxImgSize:3e3,enlarge:1,mode:"200px 280px"}}},methods:{imgLoad(t){console.log("工具初始化函数====="+t)},changeScale(t){t=t||1,this.$refs.cropper.changeScale(t)},rotateLeft(){this.$refs.cropper.rotateLeft()},rotateRight(){this.$refs.cropper.rotateRight()},realTime(t){this.previews=t},zipImg(t,e,o){return new Promise(i=>{const n=new Image;n.src=t,n.onload=()=>{const r=document.createElement("canvas"),s=r.getContext("2d");r.setAttribute("width",e),r.setAttribute("height",o),s.drawImage(n,0,0,e,o);const a=r.toDataURL("image/png");console.log(a.length/1024/1024),a.length/1024/1024>.1?(console.log(1,e,o),i(this.zipImg(t,.9*e,.9*o))):(console.log(2,e,o),i(a))}})},donwloadImg(){this.$refs.cropper.getCropData(async t=>{this.zipImg(t,295,413).then(t=>{console.log(t.length/1024/1024);const e=document.createElement("a");e.href=t,e.download="护士执业资格考试.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)})})},selectImg(){this.$refs.upload.click()}}}),c=l,p=(o("0ed4"),o("2877")),d=Object(p["a"])(c,r,s,!1,null,"a7e6d032",null),u=d.exports,f={name:"Home",components:{CropperImage:u},data(){return{img:null}},methods:{back(){this.img=null},selectImg(){this.$refs.uploads.click()},manageImg:async function(t){let e=t.target.files[0];if(!/\.(jpg|jpeg|png|JPG|PNG)$/.test(t.target.value))return this.$snakebar("图片类型要求:jpeg、jpg、png"),!1;let o=new FileReader;o.onload=t=>{let e;e="object"===typeof t.target.result?window.URL.createObjectURL(new Blob([t.target.result])):t.target.result,this.img=e},o.readAsDataURL(e)}}},m=f,g=(o("4d40"),Object(p["a"])(m,i,n,!1,null,"77a1bcfd",null));e["default"]=g.exports}}); -//# sourceMappingURL=app.6f7c4cba.js.map \ No newline at end of file diff --git a/dist/js/app.6f7c4cba.js.map b/dist/js/app.6f7c4cba.js.map deleted file mode 100644 index c3a6a88..0000000 --- a/dist/js/app.6f7c4cba.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/CropperImage.vue?1271","webpack:///./src/components/SnakeBar/SnakeBar.vue?9ce6","webpack:///./src/views/Home.vue?ca08","webpack:///./src/App.vue?0321","webpack:///./src/App.vue","webpack:///./src/registerServiceWorker.js","webpack:///./src/router/index.js","webpack:///./src/store/index.js","webpack:///./src/components/Logo.vue?b980","webpack:///src/components/Logo.vue","webpack:///./src/components/Logo.vue?9a76","webpack:///./src/components/Logo.vue","webpack:///./src/components/SnakeBar/SnakeBar.vue?c1ee","webpack:///src/components/SnakeBar/SnakeBar.vue","webpack:///./src/components/SnakeBar/SnakeBar.vue?8ba2","webpack:///./src/components/SnakeBar/SnakeBar.vue","webpack:///./src/components/SnakeBar/index.js","webpack:///./src/main.js","webpack:///./src/App.vue?f446","webpack:///./src/svg sync ./node_modules/_xml-loader@1.1.0@xml-loader ^\\.\\/.*\\.svg$","webpack:///./src/svg/left_arrow.svg","webpack:///./src/views/Home.vue?a2bb","webpack:///./src/components/CropperImage.vue?8957","webpack:///src/components/CropperImage.vue","webpack:///./src/components/CropperImage.vue?af5e","webpack:///./src/components/CropperImage.vue","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?2b8c","webpack:///./src/views/Home.vue"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","attrs","$route","meta","_e","keepAlive","staticRenderFns","script","component","register","ready","console","log","registered","cached","updatefound","updated","offline","error","Vue","use","VueRouter","routes","path","redirect","hidden","router","base","process","Vuex","Store","state","mutations","actions","stroke","fill","computed","staticClass","class","snack_bar_class","_v","_s","msg","props","methods","content","setTimeout","openSnackBar","watch","components","instance","SnakeBarConstructor","extend","SnakeBar","seed","index","eleList","install","id","alertMsg","options","propsData","vm","$mount","document","body","appendChild","$el","removeChild","style","zIndex","setHtmlFontSize","htmlWidth","documentElement","clientWidth","htmlDom","getElementsByTagName","fontSize","onresize","config","productionTip","VueCropper","Icon","CustedLogo","store","h","App","map","webpackContext","req","webpackContextResolve","e","Error","code","keys","resolve","on","back","ref","img","_m","selectImg","staticStyle","$event","manageImg","option","outputSize","outputType","info","canScale","autoCrop","autoCropWidth","autoCropHeight","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","maxImgSize","enlarge","realTime","imgLoad","changeScale","rotateLeft","rotateRight","donwloadImg","previews","num","$refs","cropper","width","Promise","Image","src","onload","canvas","createElement","setAttribute","ctx","drawImage","res","toDataURL","zipImg","getCropData","async","then","a","href","download","click","upload","uploads","file","target","files","test","$snakebar","reader","FileReader","URL","createObjectURL","Blob","readAsDataURL"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHA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C,KAAKuG,IAAMtK,GAGbqO,EAAOK,cAAcV,MCtGmT,ICQ1U,G,UAAY,eACd,EACAnK,EACAY,GACA,EACA,KACA,WACA,OAIa,e","file":"js/app.6f7c4cba.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=style&index=0&id=a7e6d032&scoped=true&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=style&index=0&id=6de0334b&scoped=true&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=77a1bcfd&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('keep-alive',[(this.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1),(!this.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=09f55170&\"\nvar script = {}\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready () {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered () {\n console.log('Service worker has been registered.')\n },\n cached () {\n console.log('Content has been cached for offline use.')\n },\n updatefound () {\n console.log('New content is downloading.')\n },\n updated () {\n console.log('New content is available; please refresh.')\n },\n offline () {\n console.log('No internet connection found. App is running in offline mode.')\n },\n error (error) {\n console.error('Error during service worker registration:', error)\n }\n })\n}\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Home from '../views/Home.vue'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: () => import( /* webpackChunkName: \"home\" */ '../views/Home.vue')\n },\n {\n\t\tpath: '*', // 页面不存在的情况下会跳到home\n\t\tredirect: '/',\n\t\tname: 'notFound',\n\t\thidden: true\n\t}\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n routes\n})\n\nexport default router\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n },\n mutations: {\n },\n actions: {\n },\n modules: {\n }\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"version\":\"1.1\",\"id\":\"图层_1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"x\":\"0px\",\"y\":\"0px\",\"viewBox\":\"0 0 200 200\",\"enable-background\":\"new 0 0 200 200\",\"xml:space\":\"preserve\"}},[_c('path',{attrs:{\"fill\":_vm.stroke,\"id\":\"左耳\",\"d\":\"M68.2,87.3h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L68.2,87.3z\"}}),_c('path',{attrs:{\"fill\":_vm.stroke,\"id\":\"右耳\",\"d\":\"M111.2,87.6h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L111.2,87.6z\"}}),_c('path',{attrs:{\"id\":\"身材\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"5\",\"stroke-miterlimit\":\"10\",\"d\":\"M128.6,92.1c2.4,0,6.1,4.6,6.1,4.6\\n\\ts0,21.1,0,23.8s-4.6,5.3-4.6,5.3s-56.3,0-59,0s-6.5-5-6.5-5s0-20.4,0-23.3s4.4-5.3,4.4-5.3S126.2,92.1,128.6,92.1z\"}}),_c('rect',{attrs:{\"x\":\"87.5\",\"y\":\"89\",\"fill\":_vm.fill,\"width\":\"3.1\",\"height\":\"43\"}}),_c('path',{attrs:{\"id\":\"U\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M72.7,102.3c0,0,0,10,0,11.5s1.4,1.5,1.4,1.5\\n\\th4.4c0,0,1.8,0,1.8-1.5s0-11.5,0-11.5\"}}),_c('line',{attrs:{\"id\":\"T1\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"95.3\",\"y1\":\"104\",\"x2\":\"104.5\",\"y2\":\"104\"}}),_c('line',{attrs:{\"id\":\"T2\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"99.9\",\"y1\":\"117\",\"x2\":\"99.9\",\"y2\":\"104\"}}),_c('path',{attrs:{\"id\":\"E1\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M116.1,104.1l-6.9-0.2c0,0-1.1,0.1-1.1,1.5\\n\\ts0,6.8,0,8.3s0.8,1.5,0.8,1.5h7.2\"}}),_c('line',{attrs:{\"id\":\"E2\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"x1\":\"116.2\",\"y1\":\"109.8\",\"x2\":\"106.7\",\"y2\":\"109.8\"}}),_c('rect',{attrs:{\"x\":\"124.5\",\"y\":\"85.3\",\"transform\":\"matrix(-1.836970e-16 1 -1 -1.836970e-16 232.7188 -19.0313)\",\"fill\":_vm.fill,\"width\":\"2.7\",\"height\":\"43\"}}),_c('rect',{attrs:{\"x\":\"124.1\",\"y\":\"90.9\",\"transform\":\"matrix(-1.836970e-16 1 -1 -1.836970e-16 237.7917 -12.9583)\",\"fill\":_vm.fill,\"width\":\"2.6\",\"height\":\"43\"}}),_c('polygon',{attrs:{\"id\":\"D\",\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"points\":\"120,104.1 124.7,104.1 127.5,106.8 \\n\\t127.5,112.3 125.4,115.2 120,115.2 \"}}),_c('path',{attrs:{\"fill\":\"none\",\"stroke\":_vm.stroke,\"stroke-width\":\"3\",\"stroke-miterlimit\":\"10\",\"d\":\"M93.3,104h-6.1c0,0-1.4,0.1-1.4,1.6s0,2.5,0,2.5\\n\\ts0,1.5,1.3,1.5s3.1,0,3.1,0s1.7,0.1,1.7,1.7s0,1.1,0,2.5c0,1.4-1.4,1.4-1.4,1.4h-6.1\"}}),_c('rect',{attrs:{\"x\":\"87.4\",\"y\":\"106.9\",\"fill\":_vm.fill,\"width\":\"3.1\",\"height\":\"5.8\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logo.vue?vue&type=template&id=5b5ee388&\"\nimport script from \"./Logo.vue?vue&type=script&lang=js&\"\nexport * from \"./Logo.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"snake-bar\",class:_vm.snack_bar_class},[_c('div',{staticClass:\"warp\"},[_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.msg))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SnakeBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SnakeBar.vue?vue&type=template&id=6de0334b&scoped=true&\"\nimport script from \"./SnakeBar.vue?vue&type=script&lang=js&\"\nexport * from \"./SnakeBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SnakeBar.vue?vue&type=style&index=0&id=6de0334b&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6de0334b\",\n null\n \n)\n\nexport default component.exports","import SnakeBar from './SnakeBar.vue'\r\nimport Vue from 'vue'\r\nlet SnakeBarConstructor = Vue.extend(SnakeBar)\r\nlet instance\r\nlet seed = 1\r\nlet index = 2000\r\nlet eleList = []\r\nconst install = () => {\r\n Object.defineProperty(Vue.prototype, '$snakebar', {\r\n get () {\r\n let id = 'snakebar_' + seed++\r\n const alertMsg = options => {\r\n instance = new SnakeBarConstructor({\r\n propsData: {msg:options}\r\n })\r\n index++\r\n instance.id = id\r\n instance.vm = instance.$mount()\r\n document.body.appendChild(instance.vm.$el)\r\n eleList.push(instance.vm.$el)\r\n setTimeout(()=> {\r\n document.body.removeChild(eleList.shift())\r\n },3000)\r\n instance.vm.$el.style.zIndex = index\r\n return instance.vm\r\n }\r\n return alertMsg\r\n }\r\n })\r\n}\r\nexport default install","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport './registerServiceWorker'\r\nimport router from './router'\r\nimport store from './store'\r\n\r\n//px2rem\r\nfunction setHtmlFontSize() {\r\n const htmlWidth = document.documentElement.clientWidth || document.body.clientWidth\r\n const htmlDom = document.getElementsByTagName('html')[0]\r\n if (htmlWidth >= 500) htmlDom.style.fontSize = 500 / 10 + 'px'\r\n else htmlDom.style.fontSize = htmlWidth / 10 + 'px'\r\n}\r\nsetHtmlFontSize();\r\nonresize = setHtmlFontSize\r\n\r\nVue.config.productionTip = false\r\n\r\nimport VueCropper from 'vue-cropper' \r\nVue.use(VueCropper)\r\n\r\n// icon-loader\r\nimport Icon from 'vue-svg-icon/Icon.vue'\r\nVue.component('icon', Icon);\r\n\r\nimport CustedLogo from './components/Logo.vue'\r\nVue.component('custedLogo', CustedLogo)\r\n\r\n// 自己写的snakebar组件\r\nimport SnakeBar from '@/components/SnakeBar/index'\r\nVue.use(SnakeBar)\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: h => h(App)\r\n}).$mount('#app')\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","var map = {\n\t\"./left_arrow.svg\": \"7992\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"7126\";","module.exports = {\"svg\":{\"$\":{\"t\":\"1592540000470\",\"class\":\"icon\",\"viewBox\":\"0 0 1024 1024\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"p-id\":\"6373\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"200\",\"height\":\"200\"},\"defs\":[{\"style\":[{\"$\":{\"type\":\"text/css\"}}]}],\"path\":[{\"$\":{\"d\":\"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z\",\"p-id\":\"6374\",\"fill\":\"#494e5e\"}}]}}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[(_vm.img)?[_c('header',[_c('div',{staticClass:\"warp\"},[_c('div',{on:{\"click\":_vm.back}},[_c('icon',{staticClass:\"back\",attrs:{\"name\":\"left_arrow\"}})],1),_c('p',[_vm._v(\"图片压缩\")])])]),_c('cropper-image',{ref:\"child\",attrs:{\"img\":_vm.img}})]:_c('main',[_c('div',{staticClass:\"logo-box\"},[_c('custedLogo',{staticClass:\"logo\"})],1),_c('div',{staticClass:\"title\"},[_vm._v(\"护士执业资格考试\")]),_vm._m(0),_c('div',{staticClass:\"btn-submit\",on:{\"click\":_vm.selectImg}},[_vm._v(\"选择图片\")]),_c('input',{ref:\"uploads\",staticStyle:{\"position\":\"absolute\",\"clip\":\"rect(0 0 0 0)\"},attrs:{\"type\":\"file\",\"accept\":\"image/png, image/jpeg, image/gif, image/jpg\"},on:{\"change\":function($event){return _vm.manageImg($event)}}})]),_vm._m(1)],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tip-box\"},[_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"冲印尺寸\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"25mm x 35mm\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"像素尺寸\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"295 x 413 px\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"分辨率\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"300 DPI\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"背景色\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"白色\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"文件大小\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\"小于100kb\")])]),_c('div',{staticClass:\"tip-line\"},[_c('div',{staticClass:\"tip-title\"},[_vm._v(\"其他\")]),_c('div',{staticClass:\"tip-content\"},[_vm._v(\" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',[_c('a',{attrs:{\"href\":\"http://beian.miit.gov.cn/\"}},[_c('p',[_vm._v(\"吉ICP备18005655号\")])]),_c('p',[_vm._v(\"Copyright © 2020 小单同学\")]),_c('p',[_vm._v(\"All Rights Reserved\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cropper-box\"},[_c('div',{staticClass:\"cropper\"},[_c('vue-cropper',{ref:\"cropper\",attrs:{\"img\":_vm.option.img,\"outputSize\":_vm.option.outputSize,\"outputType\":_vm.option.outputType,\"info\":_vm.option.info,\"canScale\":_vm.option.canScale,\"autoCrop\":_vm.option.autoCrop,\"autoCropWidth\":_vm.option.autoCropWidth,\"autoCropHeight\":_vm.option.autoCropHeight,\"fixed\":_vm.option.fixed,\"fixedNumber\":_vm.option.fixedNumber,\"full\":_vm.option.full,\"fixedBox\":_vm.option.fixedBox,\"canMove\":_vm.option.canMove,\"canMoveBox\":_vm.option.canMoveBox,\"original\":_vm.option.original,\"centerBox\":_vm.option.centerBox,\"height\":_vm.option.height,\"infoTrue\":_vm.option.infoTrue,\"maxImgSize\":_vm.option.maxImgSize,\"enlarge\":_vm.option.enlarge,\"mode\":_vm.option.mode},on:{\"realTime\":_vm.realTime,\"imgLoad\":_vm.imgLoad}})],1),_c('footer',[_c('div',{staticClass:\"scope-btn\"},[_c('div',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.changeScale(1)}}},[_vm._v(\"放大\")]),_c('div',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.changeScale(-1)}}},[_vm._v(\"缩小\")]),_c('div',{staticClass:\"btn\",on:{\"click\":_vm.rotateLeft}},[_vm._v(\"↺ 左旋转\")]),_c('div',{staticClass:\"btn\",on:{\"click\":_vm.rotateRight}},[_vm._v(\"↻ 右旋转\")])]),_c('div',{staticClass:\"upload-btn\"},[_c('div',{staticClass:\"btn-submit\",on:{\"click\":function($event){return _vm.donwloadImg()}}},[_vm._v(\"压缩图片并下载\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CropperImage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CropperImage.vue?vue&type=template&id=a7e6d032&scoped=true&\"\nimport script from \"./CropperImage.vue?vue&type=script&lang=js&\"\nexport * from \"./CropperImage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CropperImage.vue?vue&type=style&index=0&id=a7e6d032&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a7e6d032\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=77a1bcfd&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=77a1bcfd&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77a1bcfd\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.adc6bfeb.js b/dist/js/app.adc6bfeb.js new file mode 100644 index 0000000..3d580b6 --- /dev/null +++ b/dist/js/app.adc6bfeb.js @@ -0,0 +1 @@ +(function(t){function e(e){for(var i,s,a=e[0],l=e[1],c=e[2],d=0,u=[];dPromise.resolve().then(o.bind(null,"bb51"))},{path:"*",redirect:"/",name:"notFound",hidden:!0}],m=new d["a"]({mode:"history",base:"/",routes:u});var f=m,g=o("2f62");i["a"].use(g["a"]);var h=new g["a"].Store({state:{},mutations:{},actions:{},modules:{}}),v=o("b678"),b=o.n(v),k=o("61e4"),w=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{attrs:{version:"1.1",id:"图层_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 200 200","enable-background":"new 0 0 200 200","xml:space":"preserve"}},[o("path",{attrs:{fill:t.stroke,id:"左耳",d:"M68.2,87.3h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L68.2,87.3z"}}),o("path",{attrs:{fill:t.stroke,id:"右耳",d:"M111.2,87.6h19.2l-6.7-13.8c0,0-0.3-1.5-2.8-1.5c-2.6,0-2.8,1.3-2.8,1.3L111.2,87.6z"}}),o("path",{attrs:{id:"身材",fill:"none",stroke:t.stroke,"stroke-width":"5","stroke-miterlimit":"10",d:"M128.6,92.1c2.4,0,6.1,4.6,6.1,4.6\n\ts0,21.1,0,23.8s-4.6,5.3-4.6,5.3s-56.3,0-59,0s-6.5-5-6.5-5s0-20.4,0-23.3s4.4-5.3,4.4-5.3S126.2,92.1,128.6,92.1z"}}),o("rect",{attrs:{x:"87.5",y:"89",fill:t.fill,width:"3.1",height:"43"}}),o("path",{attrs:{id:"U",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M72.7,102.3c0,0,0,10,0,11.5s1.4,1.5,1.4,1.5\n\th4.4c0,0,1.8,0,1.8-1.5s0-11.5,0-11.5"}}),o("line",{attrs:{id:"T1",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"95.3",y1:"104",x2:"104.5",y2:"104"}}),o("line",{attrs:{id:"T2",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"99.9",y1:"117",x2:"99.9",y2:"104"}}),o("path",{attrs:{id:"E1",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M116.1,104.1l-6.9-0.2c0,0-1.1,0.1-1.1,1.5\n\ts0,6.8,0,8.3s0.8,1.5,0.8,1.5h7.2"}}),o("line",{attrs:{id:"E2",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",x1:"116.2",y1:"109.8",x2:"106.7",y2:"109.8"}}),o("rect",{attrs:{x:"124.5",y:"85.3",transform:"matrix(-1.836970e-16 1 -1 -1.836970e-16 232.7188 -19.0313)",fill:t.fill,width:"2.7",height:"43"}}),o("rect",{attrs:{x:"124.1",y:"90.9",transform:"matrix(-1.836970e-16 1 -1 -1.836970e-16 237.7917 -12.9583)",fill:t.fill,width:"2.6",height:"43"}}),o("polygon",{attrs:{id:"D",fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",points:"120,104.1 124.7,104.1 127.5,106.8 \n\t127.5,112.3 125.4,115.2 120,115.2 "}}),o("path",{attrs:{fill:"none",stroke:t.stroke,"stroke-width":"3","stroke-miterlimit":"10",d:"M93.3,104h-6.1c0,0-1.4,0.1-1.4,1.6s0,2.5,0,2.5\n\ts0,1.5,1.3,1.5s3.1,0,3.1,0s1.7,0.1,1.7,1.7s0,1.1,0,2.5c0,1.4-1.4,1.4-1.4,1.4h-6.1"}}),o("rect",{attrs:{x:"87.4",y:"106.9",fill:t.fill,width:"3.1",height:"5.8"}})])},x=[],_={name:"CustedLogo",computed:{stroke:function(){return"#249cff"},fill:function(){return"#fff"}}},C=_,y=Object(s["a"])(C,w,x,!1,null,null,null),j=y.exports,S=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"snake-bar",class:t.snack_bar_class},[o("div",{staticClass:"warp"},[o("div",{staticClass:"content"},[t._v(t._s(t.msg))])])])},$=[],O={name:"SnakeBar",props:["msg"],data(){return{snack_bar_class:""}},computed:{},methods:{openSnackBar(t){this.snack_bar_class="higher-snake-bar",setTimeout(()=>{this.snack_bar_class="lower-snake-bar"},2500)}},created(){this.openSnackBar()},mounted(){},watch:{},beforeDestroy(){},components:{},activated(){}},I=O,M=(o("2cba"),Object(s["a"])(I,S,$,!1,null,"6de0334b",null)),T=M.exports;let B,L=i["a"].extend(T),z=1,E=2e3,P=[];const N=()=>{Object.defineProperty(i["a"].prototype,"$snakebar",{get(){let t="snakebar_"+z++;const e=e=>(B=new L({propsData:{msg:e}}),E++,B.id=t,B.vm=B.$mount(),document.body.appendChild(B.vm.$el),P.push(B.vm.$el),setTimeout(()=>{document.body.removeChild(P.shift())},3e3),B.vm.$el.style.zIndex=E,B.vm);return e}})};var R=N;function A(){const t=document.documentElement.clientWidth||document.body.clientWidth,e=document.getElementsByTagName("html")[0];e.style.fontSize=t>=500?"50px":t/10+"px"}A(),onresize=A,i["a"].config.productionTip=!1,i["a"].use(b.a),i["a"].component("icon",k["a"]),i["a"].component("custedLogo",j),i["a"].use(R),new i["a"]({router:f,store:h,render:t=>t(c)}).$mount("#app")},"5c0b":function(t,e,o){"use strict";o("9c0c")},"6b7c":function(t,e,o){},7126:function(t,e,o){var i={"./left_arrow.svg":"7992"};function n(t){var e=r(t);return o(e)}function r(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}n.keys=function(){return Object.keys(i)},n.resolve=r,t.exports=n,n.id="7126"},7992:function(t,e){t.exports={svg:{$:{t:"1592540000470",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6373","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},defs:[{style:[{$:{type:"text/css"}}]}],path:[{$:{d:"M783.872 542.122667l-0.042667-64.405334-477.610666-0.298666 225.28-225.322667-45.568-45.568L182.506667 509.952l303.829333 303.829333 45.525333-45.504-226.474666-226.453333 478.506666 0.298667z","p-id":"6374",fill:"#494e5e"}}]}}},"871b":function(t,e,o){},"9c0c":function(t,e,o){},bb51:function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"home"},[t.img?[o("header",[o("div",{staticClass:"warp"},[o("div",{on:{click:t.back}},[o("icon",{staticClass:"back",attrs:{name:"left_arrow"}})],1),o("p",[t._v("图片压缩")])])]),o("cropper-image",{ref:"child",attrs:{img:t.img}})]:o("main",[o("div",{staticClass:"logo-box"},[o("custedLogo",{staticClass:"logo"})],1),o("div",{staticClass:"title"},[t._v("护资照片压缩")]),t._m(0),o("div",{staticClass:"btn-submit",on:{click:t.selectImg}},[t._v("选择图片")]),o("input",{ref:"uploads",staticStyle:{position:"absolute",clip:"rect(0 0 0 0)"},attrs:{type:"file",accept:"image/png, image/jpeg, image/gif, image/jpg"},on:{change:function(e){return t.manageImg(e)}}})]),t._m(1)],2)},n=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"tip-box"},[o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("冲印尺寸")]),o("div",{staticClass:"tip-content"},[t._v("25mm x 35mm")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("像素尺寸")]),o("div",{staticClass:"tip-content"},[t._v("295 x 413 px")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("分辨率")]),o("div",{staticClass:"tip-content"},[t._v("300 DPI")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("背景色")]),o("div",{staticClass:"tip-content"},[t._v("白色")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("文件大小")]),o("div",{staticClass:"tip-content"},[t._v("小于100kb")])]),o("div",{staticClass:"tip-line"},[o("div",{staticClass:"tip-title"},[t._v("其他")]),o("div",{staticClass:"tip-content"},[t._v(" 无噪点,不模糊,服装突出,肩膀等高,中性表情,双眼水平,人像剧中,人脸姿态自然 ")])])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("footer",[o("a",{attrs:{href:"http://beian.miit.gov.cn/"}},[o("p",[t._v("吉ICP备18005655号")])]),o("p",[t._v("Copyright © 2020 小单同学")]),o("p",[t._v("All Rights Reserved")])])}],r=(o("ddb0"),o("2b3d"),function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"cropper-box"},[o("div",{staticClass:"cropper"},[o("vue-cropper",{ref:"cropper",attrs:{img:t.option.img,outputSize:t.option.outputSize,outputType:t.option.outputType,info:t.option.info,canScale:t.option.canScale,autoCrop:t.option.autoCrop,autoCropWidth:t.option.autoCropWidth,autoCropHeight:t.option.autoCropHeight,fixed:t.option.fixed,fixedNumber:t.option.fixedNumber,full:t.option.full,fixedBox:t.option.fixedBox,canMove:t.option.canMove,canMoveBox:t.option.canMoveBox,original:t.option.original,centerBox:t.option.centerBox,height:t.option.height,infoTrue:t.option.infoTrue,maxImgSize:t.option.maxImgSize,enlarge:t.option.enlarge,mode:t.option.mode},on:{realTime:t.realTime,imgLoad:t.imgLoad}})],1),o("footer",[o("div",{staticClass:"scope-btn"},[o("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(1)}}},[t._v("放大")]),o("div",{staticClass:"btn",on:{click:function(e){return t.changeScale(-1)}}},[t._v("缩小")]),o("div",{staticClass:"btn",on:{click:t.rotateLeft}},[t._v("↺ 左旋转")]),o("div",{staticClass:"btn",on:{click:t.rotateRight}},[t._v("↻ 右旋转")])]),o("div",{staticClass:"upload-btn"},[o("div",{staticClass:"btn-submit",on:{click:function(e){return t.donwloadImg()}}},[t._v("压缩图片并下载")])])])])}),s=[],a=o("b678"),l=(o("e688"),{name:"CropperImage",components:{VueCropper:a["VueCropper"]},props:["img"],data(){return{previews:{},option:{img:this.img,outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:200,autoCropHeight:280,fixed:!0,fixedNumber:[5,7],full:!1,fixedBox:!1,canMove:!1,canMoveBox:!0,original:!1,centerBox:!0,height:!0,infoTrue:!1,maxImgSize:3e3,enlarge:1,mode:"200px 280px"}}},methods:{imgLoad(t){console.log("工具初始化函数====="+t)},changeScale(t){t=t||1,this.$refs.cropper.changeScale(t)},rotateLeft(){this.$refs.cropper.rotateLeft()},rotateRight(){this.$refs.cropper.rotateRight()},realTime(t){this.previews=t},zipImg(t,e,o){return new Promise(i=>{const n=new Image;n.src=t,n.onload=()=>{const r=document.createElement("canvas"),s=r.getContext("2d");r.setAttribute("width",e),r.setAttribute("height",o),s.drawImage(n,0,0,e,o);const a=r.toDataURL("image/png");console.log(a.length/1024/1024),a.length/1024/1024>.1?(console.log(1,e,o),i(this.zipImg(t,.9*e,.9*o))):(console.log(2,e,o),i(a))}})},donwloadImg(){this.$refs.cropper.getCropData(async t=>{this.zipImg(t,295,413).then(t=>{console.log(t.length/1024/1024);const e=document.createElement("a");e.href=t,e.download="护士执业资格考试.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)})})},selectImg(){this.$refs.upload.click()}}}),c=l,p=(o("0ed4"),o("2877")),d=Object(p["a"])(c,r,s,!1,null,"a7e6d032",null),u=d.exports,m={name:"Home",components:{CropperImage:u},data(){return{img:null}},methods:{back(){this.img=null},selectImg(){this.$refs.uploads.click()},manageImg:async function(t){let e=t.target.files[0];if(!/\.(jpg|jpeg|png|JPG|PNG)$/.test(t.target.value))return this.$snakebar("图片类型要求:jpeg、jpg、png"),!1;let o=new FileReader;o.onload=t=>{let e;e="object"===typeof t.target.result?window.URL.createObjectURL(new Blob([t.target.result])):t.target.result,this.img=e},o.readAsDataURL(e)}}},f=m,g=(o("03a2"),Object(p["a"])(f,i,n,!1,null,"276e7b57",null));e["default"]=g.exports}}); \ No newline at end of file diff --git a/dist/js/chunk-vendors-legacy.2904f938.js b/dist/js/chunk-vendors-legacy.2904f938.js index 383fab6..b22f409 100644 --- a/dist/js/chunk-vendors-legacy.2904f938.js +++ b/dist/js/chunk-vendors-legacy.2904f938.js @@ -15,5 +15,4 @@ function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreat * vue-router v3.4.9 * (c) 2020 Evan You * @license MIT - */function r(t,e){0}function o(t,e){for(var n in e)t[n]=e[n];return t}var i=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,c=function(t){return encodeURIComponent(t).replace(i,a).replace(s,",")};function u(t){try{return decodeURIComponent(t)}catch(e){0}return t}function f(t,e,n){void 0===e&&(e={});var r,o=n||h;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(l):l(a)}return r}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=u(n.shift()),o=n.length>0?u(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return c(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(c(e)):r.push(c(e)+"="+c(t)))})),r.join("&")}return c(e)+"="+c(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function v(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=g(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:w(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=w(n,o)),Object.freeze(a)}function g(t){if(Array.isArray(t))return t.map(g);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=g(t[n]);return e}return t}var m=v(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function w(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||p;return(n||"/")+i(r)+o}function b(t,e){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?x(i,s):String(i)===String(s)}))}function _(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&C(t.query,e.query)}function C(t,e){for(var n in e)if(!(n in t))return!1;return!0}function S(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function L(t){return t.replace(/\/\//g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},j=J,P=U,$=F,M=H,R=K,N=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function U(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=N.exec(t))){var c=n[0],u=n[1],f=n.index;if(a+=t.slice(i,f),i=f+c.length,u)a+=u[1];else{var l=t[i],h=n[2],p=n[3],d=n[4],v=n[5],g=n[6],m=n[7];a&&(r.push(a),a="");var y=null!=h&&null!=l&&l!==h,w="+"===g||"*"===g,b="?"===g||"*"===g,x=n[2]||s,_=d||v;r.push({name:p||o++,prefix:h||"",delimiter:x,optional:b,repeat:w,partial:y,asterisk:!!m,pattern:_?X(_):m?".*":"[^"+W(x)+"]+?"})}}return i1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)C.on=x,C.attrs={href:c,"aria-current":y};else{var A=st(this.$slots.default);if(A){A.isStatic=!1;var O=A.data=o({},A.data);for(var k in O.on=O.on||{},O.on){var E=O.on[k];k in x&&(O.on[k]=Array.isArray(E)?E:[E])}for(var I in x)I in O.on?O.on[I].push(x[I]):O.on[I]=w;var L=A.data.attrs=o({},A.data.attrs);L.href=c,L["aria-current"]=y}else C.on=x}return t(this.tag,C,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=Z(u.path,s.params,'named route "'+c+'"'),f(u,s,a)}if(s.path){s.params={};for(var p=0;p=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function Dt(t,e){return Xt(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Yt(e)+'" via a navigation guard.')}function Bt(t,e){var n=Xt(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Xt(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Wt(t,e){return Xt(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Xt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var zt=["params","query","hash"];function Yt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Gt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Vt(t,e){return Gt(t)&&t._isRouter&&(null==e||t.type===e)}function qt(t){return function(e,n,r){var o=!1,i=0,a=null;Kt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=te((function(e){Zt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,i--,i<=0&&r()})),f=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Gt(t)?t:new Error(e),r(a))}));try{c=t(u,f)}catch(h){f(h)}if(c)if("function"===typeof c.then)c.then(u,f);else{var l=c.component;l&&"function"===typeof l.then&&l.then(u,f)}}})),o||r()}}function Kt(t,e){return Jt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Jt(t){return Array.prototype.concat.apply([],t)}var Qt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zt(t){return t.__esModule||Qt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(Ct());var o=function(){var n=t.current,o=he(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&St(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Rt(L(r.base+t.fullPath)),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Nt(L(r.base+t.fullPath)),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=L(this.base+this.current.fullPath);t?Rt(e):Nt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(ee);function he(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&de(this.base)||ve()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(Ct());var o=function(){var e=t.current;ve()&&t.transitionTo(ge(),(function(n){r&&St(t.router,n,e,!0),Mt||we(n.fullPath)}))},i=Mt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){we(t.fullPath),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ye(e):we(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(ee);function de(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(L(t+"/#"+e)),!0}function ve(){var t=ge();return"/"===t.charAt(0)||(we("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ye(t){Mt?Rt(me(t)):window.location.hash=t}function we(t){Mt?Nt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Vt(t,Ft.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),xe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Mt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},_e={currentRoute:{configurable:!0}};function Ce(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Se(t,e,n){var r="hash"===n?"#"+e:e;return t?L(t+"/"+r):r}xe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},_e.currentRoute.get=function(){return this.history&&this.history.current},xe.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Mt&&o;i&&"fullPath"in t&&St(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},xe.prototype.beforeEach=function(t){return Ce(this.beforeHooks,t)},xe.prototype.beforeResolve=function(t){return Ce(this.resolveHooks,t)},xe.prototype.afterEach=function(t){return Ce(this.afterHooks,t)},xe.prototype.onReady=function(t,e){this.history.onReady(t,e)},xe.prototype.onError=function(t){this.history.onError(t)},xe.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},xe.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},xe.prototype.go=function(t){this.history.go(t)},xe.prototype.back=function(){this.go(-1)},xe.prototype.forward=function(){this.go(1)},xe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},xe.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=Se(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},xe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xe.prototype,_e),xe.install=ct,xe.version="3.4.9",xe.isNavigationFailure=Vt,xe.NavigationFailureType=Ft,ut&&window.Vue&&window.Vue.use(xe),e["a"]=xe},"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}},9263:function(t,e,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],l=c||f||u;l&&(s=function(t){var e,n,o,s,l=this,h=u&&l.sticky,p=r.call(l),d=l.source,v=0,g=t;return h&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),g=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,v++),n=new RegExp("^(?:"+d+")",p)),f&&(n=new RegExp("^"+d+"$(?!\\s)",p)),c&&(e=l.lastIndex),o=i.call(h?n:l,g),h?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:c&&o&&(l.lastIndex=l.global?o.index+o[0].length:e),f&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s0)n[r]=arguments[r+1];e&&e[t]&&e[t].apply(e,n)};"serviceWorker"in navigator&&r.then((function(){o()?(c(t,i,n),navigator.serviceWorker.ready.then((function(t){i("ready",t)})).catch((function(t){return a(i,t)}))):(s(t,i,n),navigator.serviceWorker.ready.then((function(t){i("ready",t)})).catch((function(t){return a(i,t)})))}))}function a(t,e){navigator.onLine||t("offline"),t("error",e)}function s(t,e,n){navigator.serviceWorker.register(t,n).then((function(t){e("registered",t),t.waiting?e("updated",t):t.onupdatefound=function(){e("updatefound",t);var n=t.installing;n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?e("updated",t):e("cached",t))}}})).catch((function(t){return a(e,t)}))}function c(t,e,n){fetch(t).then((function(r){404===r.status?(e("error",new Error("Service worker not found at "+t)),u()):-1===r.headers.get("content-type").indexOf("javascript")?(e("error",new Error("Expected "+t+" to have javascript content-type, but received "+r.headers.get("content-type"))),u()):s(t,e,n)})).catch((function(t){return a(e,t)}))}function u(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(t){t.unregister()})).catch((function(t){return a(emit,t)}))}"undefined"!==typeof window&&(r="undefined"!==typeof Promise?new Promise((function(t){return window.addEventListener("load",t)})):{then:function(t){return window.addEventListener("load",t)}})},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==u||n!=c&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(j){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new I(r||[]);return i._invoke=A(t,n,a),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=u;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function g(){}function m(){}function y(){}var w={};w[i]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(L([])));x&&x!==n&&r.call(x,i)&&(w=x);var _=y.prototype=g.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;function i(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function A(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=f(t,e,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function L(t){if(t){var n=t[i];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){while(++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},9861:function(t,e,n){"use strict";n("e260");var r=n("23e7"),o=n("d066"),i=n("0d3b"),a=n("6eeb"),s=n("e2cc"),c=n("d44e"),u=n("9ed3"),f=n("69f3"),l=n("19aa"),h=n("5135"),p=n("0366"),d=n("f5df"),v=n("825a"),g=n("861d"),m=n("7c73"),y=n("5c6c"),w=n("9a1f"),b=n("35a1"),x=n("b622"),_=o("fetch"),C=o("Headers"),S=x("iterator"),A="URLSearchParams",O=A+"Iterator",k=f.set,E=f.getterFor(A),I=f.getterFor(O),L=/\+/g,T=Array(4),j=function(t){return T[t-1]||(T[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},P=function(t){try{return decodeURIComponent(t)}catch(e){return t}},$=function(t){var e=t.replace(L," "),n=4;try{return decodeURIComponent(e)}catch(r){while(n)e=e.replace(j(n--),P);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(t){return R[t]},U=function(t){return encodeURIComponent(t).replace(M,N)},F=function(t,e){if(e){var n,r,o=e.split("&"),i=0;while(i0?arguments[0]:void 0,f=this,p=[];if(k(f,{type:A,entries:p,updateURL:function(){},updateSearchParams:D}),void 0!==u)if(g(u))if(t=b(u),"function"===typeof t){e=t.call(u),n=e.next;while(!(r=n.call(e)).done){if(o=w(v(r.value)),i=o.next,(a=i.call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}}else for(c in u)h(u,c)&&p.push({key:c,value:u[c]+""});else F(p,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},X=W.prototype;s(X,{append:function(t,e){B(arguments.length,2);var n=E(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){B(arguments.length,1);var e=E(this),n=e.entries,r=t+"",o=0;while(ot.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){var e,n=E(this).entries,r=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;while(o1&&(e=arguments[1],g(e)&&(n=e.body,d(n)===A&&(r=e.headers?new C(e.headers):new C,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:y(0,String(n)),headers:y(0,r)}))),o.push(e)),_.apply(this,o)}}),t.exports={URLSearchParams:W,getState:E}},"99af":function(t,e,n){"use strict";var r=n("23e7"),o=n("d039"),i=n("e8b5"),a=n("861d"),s=n("7b0b"),c=n("50c4"),u=n("8418"),f=n("65f0"),l=n("1dde"),h=n("b622"),p=n("2d00"),d=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=p>=51||!o((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=l("concat"),w=function(t){if(!a(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)},b=!m||!y;r({target:"Array",proto:!0,forced:b},{concat:function(t){var e,n,r,o,i,a=s(this),l=f(a,0),h=0;for(e=-1,r=arguments.length;ev)throw TypeError(g);for(n=0;n=v)throw TypeError(g);u(l,h++,i)}return l.length=h,l}})},"9a1f":function(t,e,n){var r=n("825a"),o=n("35a1");t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},"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(a){throw o(t),a}}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(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"),a=n("d44e"),s=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,u,!1,!0),s[u]=c,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),a=n("c430"),s=n("83ab"),c=n("4930"),u=n("fdbf"),f=n("d039"),l=n("5135"),h=n("e8b5"),p=n("861d"),d=n("825a"),v=n("7b0b"),g=n("fc6a"),m=n("c04e"),y=n("5c6c"),w=n("7c73"),b=n("df75"),x=n("241c"),_=n("057f"),C=n("7418"),S=n("06cf"),A=n("9bf2"),O=n("d1e7"),k=n("9112"),E=n("6eeb"),I=n("5692"),L=n("f772"),T=n("d012"),j=n("90e3"),P=n("b622"),$=n("e538"),M=n("746f"),R=n("d44e"),N=n("69f3"),U=n("b727").forEach,F=L("hidden"),D="Symbol",B="prototype",H=P("toPrimitive"),W=N.set,X=N.getterFor(D),z=Object[B],Y=o.Symbol,G=i("JSON","stringify"),V=S.f,q=A.f,K=_.f,J=O.f,Q=I("symbols"),Z=I("op-symbols"),tt=I("string-to-symbol-registry"),et=I("symbol-to-string-registry"),nt=I("wks"),rt=o.QObject,ot=!rt||!rt[B]||!rt[B].findChild,it=s&&f((function(){return 7!=w(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=V(z,e);r&&delete z[e],q(t,e,n),r&&t!==z&&q(z,e,r)}:q,at=function(t,e){var n=Q[t]=w(Y[B]);return W(n,{type:D,tag:t,description:e}),s||(n.description=e),n},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Y},ct=function(t,e,n){t===z&&ct(Z,e,n),d(t);var r=m(e,!0);return d(n),l(Q,r)?(n.enumerable?(l(t,F)&&t[F][r]&&(t[F][r]=!1),n=w(n,{enumerable:y(0,!1)})):(l(t,F)||q(t,F,y(1,{})),t[F][r]=!0),it(t,r,n)):q(t,r,n)},ut=function(t,e){d(t);var n=g(e),r=b(n).concat(dt(n));return U(r,(function(e){s&&!lt.call(n,e)||ct(t,e,n[e])})),t},ft=function(t,e){return void 0===e?w(t):ut(w(t),e)},lt=function(t){var e=m(t,!0),n=J.call(this,e);return!(this===z&&l(Q,e)&&!l(Z,e))&&(!(n||!l(this,e)||!l(Q,e)||l(this,F)&&this[F][e])||n)},ht=function(t,e){var n=g(t),r=m(e,!0);if(n!==z||!l(Q,r)||l(Z,r)){var o=V(n,r);return!o||!l(Q,r)||l(n,F)&&n[F][r]||(o.enumerable=!0),o}},pt=function(t){var e=K(g(t)),n=[];return U(e,(function(t){l(Q,t)||l(T,t)||n.push(t)})),n},dt=function(t){var e=t===z,n=K(e?Z:g(t)),r=[];return U(n,(function(t){!l(Q,t)||e&&!l(z,t)||r.push(Q[t])})),r};if(c||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=j(t),n=function(t){this===z&&n.call(Z,t),l(this,F)&&l(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};return s&&ot&&it(z,e,{configurable:!0,set:n}),at(e,t)},E(Y[B],"toString",(function(){return X(this).tag})),E(Y,"withoutSetter",(function(t){return at(j(t),t)})),O.f=lt,A.f=ct,S.f=ht,x.f=_.f=pt,C.f=dt,$.f=function(t){return at(P(t),t)},s&&(q(Y[B],"description",{configurable:!0,get:function(){return X(this).description}}),a||E(z,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),U(b(nt),(function(t){M(t)})),r({target:D,stat:!0,forced:!c},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var n=Y(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:ft,defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),r({target:"Object",stat:!0,forced:f((function(){C.f(1)}))},{getOwnPropertySymbols:function(t){return C.f(v(t))}}),G){var vt=!c||f((function(){var t=Y();return"[null]"!=G([t])||"{}"!=G({a:t})||"{}"!=G(Object(t))}));r({target:"JSON",stat:!0,forced:vt},{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)&&!st(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),o[1]=e,G.apply(null,o)}})}Y[B][H]||k(Y[B],H,Y[B].valueOf),R(Y,D),T[F]=!0},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)}},a79d:function(t,e,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("fea9"),a=n("d039"),s=n("d066"),c=n("4840"),u=n("cdf9"),f=n("6eeb"),l=!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(t){var e=c(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype["finally"]||f(i.prototype,"finally",s("Promise").prototype["finally"])},a9e3:function(t,e,n){"use strict";var r=n("83ab"),o=n("da84"),i=n("94ca"),a=n("6eeb"),s=n("5135"),c=n("c6b6"),u=n("7156"),f=n("c04e"),l=n("d039"),h=n("7c73"),p=n("241c").f,d=n("06cf").f,v=n("9bf2").f,g=n("58a8").trim,m="Number",y=o[m],w=y.prototype,b=c(h(w))==m,x=function(t){var e,n,r,o,i,a,s,c,u=f(t,!1);if("string"==typeof u&&u.length>2)if(u=g(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(i=u.slice(2),a=i.length,s=0;so)return NaN;return parseInt(i,r)}return+u};if(i(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var _,C=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof C&&(b?l((function(){w.valueOf.call(n)})):c(n)!=m)?u(new y(x(e)),n,C):x(e)},S=r?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),A=0;S.length>A;A++)s(y,_=S[A])&&!s(C,_)&&v(C,_,d(y,_));C.prototype=w,w.constructor=C,a(o,m,C)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var r,o,i,a=n("e163"),s=n("9112"),c=n("5135"),u=n("b622"),f=n("c430"),l=u("iterator"),h=!1,p=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=a(a(i)),o!==Object.prototype&&(r=o)):h=!0),void 0==r&&(r={}),f||c(r,l)||s(r,l,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},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("9bf2").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,o,i,a,s,c,u,f,l=n("da84"),h=n("06cf").f,p=n("2cf4").set,d=n("1cdc"),v=n("a4b4"),g=n("605d"),m=l.MutationObserver||l.WebKitMutationObserver,y=l.document,w=l.process,b=l.Promise,x=h(l,"queueMicrotask"),_=x&&x.value;_||(r=function(){var t,e;g&&(t=w.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},d||g||v||!m||!y?b&&b.resolve?(u=b.resolve(void 0),f=u.then,a=function(){f.call(u,r)}):a=g?function(){w.nextTick(r)}:function(){p.call(l,r)}:(s=!0,c=y.createTextNode(""),new m(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=_||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),u=o("wks"),f=r.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return i(u,t)||(s&&i(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},b678:function(t,e,n){!function(e,n){t.exports=n()}(window,(function(){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=6)}([function(t,e,n){var r=n(2);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";var r=n(0);n.n(r).a},function(t,e,n){(t.exports=n(3)(!1)).push([t.i,'\n.vue-cropper[data-v-6dae58fd] {\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n direction: ltr;\n touch-action: none;\n text-align: left;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");\n}\n.cropper-box[data-v-6dae58fd],\n.cropper-box-canvas[data-v-6dae58fd],\n.cropper-drag-box[data-v-6dae58fd],\n.cropper-crop-box[data-v-6dae58fd],\n.cropper-face[data-v-6dae58fd] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n user-select: none;\n}\n.cropper-box-canvas img[data-v-6dae58fd] {\n position: relative;\n text-align: left;\n user-select: none;\n transform: none;\n max-width: none;\n max-height: none;\n}\n.cropper-box[data-v-6dae58fd] {\n overflow: hidden;\n}\n.cropper-move[data-v-6dae58fd] {\n cursor: move;\n}\n.cropper-crop[data-v-6dae58fd] {\n cursor: crosshair;\n}\n.cropper-modal[data-v-6dae58fd] {\n background: rgba(0, 0, 0, 0.5);\n}\n.cropper-crop-box[data-v-6dae58fd] {\n /*border: 2px solid #39f;*/\n}\n.cropper-view-box[data-v-6dae58fd] {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n user-select: none;\n}\n.cropper-view-box img[data-v-6dae58fd] {\n user-select: none;\n text-align: left;\n max-width: none;\n max-height: none;\n}\n.cropper-face[data-v-6dae58fd] {\n top: 0;\n left: 0;\n background-color: #fff;\n opacity: 0.1;\n}\n.crop-info[data-v-6dae58fd] {\n position: absolute;\n left: 0px;\n min-width: 65px;\n text-align: center;\n color: white;\n line-height: 20px;\n background-color: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n}\n.crop-line[data-v-6dae58fd] {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.1;\n}\n.line-w[data-v-6dae58fd] {\n top: -3px;\n left: 0;\n height: 5px;\n cursor: n-resize;\n}\n.line-a[data-v-6dae58fd] {\n top: 0;\n left: -3px;\n width: 5px;\n cursor: w-resize;\n}\n.line-s[data-v-6dae58fd] {\n bottom: -3px;\n left: 0;\n height: 5px;\n cursor: s-resize;\n}\n.line-d[data-v-6dae58fd] {\n top: 0;\n right: -3px;\n width: 5px;\n cursor: e-resize;\n}\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 8px;\n height: 8px;\n opacity: 0.75;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -4px;\n left: -4px;\n cursor: nw-resize;\n}\n.point2[data-v-6dae58fd] {\n top: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: n-resize;\n}\n.point3[data-v-6dae58fd] {\n top: -4px;\n right: -4px;\n cursor: ne-resize;\n}\n.point4[data-v-6dae58fd] {\n top: 50%;\n left: -4px;\n margin-top: -3px;\n cursor: w-resize;\n}\n.point5[data-v-6dae58fd] {\n top: 50%;\n right: -4px;\n margin-top: -3px;\n cursor: e-resize;\n}\n.point6[data-v-6dae58fd] {\n bottom: -5px;\n left: -4px;\n cursor: sw-resize;\n}\n.point7[data-v-6dae58fd] {\n bottom: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: s-resize;\n}\n.point8[data-v-6dae58fd] {\n bottom: -5px;\n right: -4px;\n cursor: se-resize;\n}\n@media screen and (max-width: 500px) {\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 20px;\n height: 20px;\n opacity: 0.45;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -10px;\n left: -10px;\n}\n.point2[data-v-6dae58fd],\n .point4[data-v-6dae58fd],\n .point5[data-v-6dae58fd],\n .point7[data-v-6dae58fd] {\n display: none;\n}\n.point3[data-v-6dae58fd] {\n top: -10px;\n right: -10px;\n}\n.point4[data-v-6dae58fd] {\n top: 0;\n left: 0;\n}\n.point6[data-v-6dae58fd] {\n bottom: -10px;\n left: -10px;\n}\n.point8[data-v-6dae58fd] {\n bottom: -10px;\n right: -10px;\n}\n}\n',""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),i=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o=0&&c.splice(e,1)}function d(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){return n.nc}();r&&(t.attrs.nonce=r)}return v(e,t.attrs),h(t,e),e}function v(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function g(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=s++;n=a||(a=d(e)),r=y.bind(null,n,c,!1),o=y.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),h(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=u(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){p(n),n.href&&URL.revokeObjectURL(n.href)}):(n=d(e),r=function(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){p(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=l(t,e);return f(n,e),function(t){for(var o=[],i=0;i=8&&(s=n+r))),s)for(l=f.getUint16(s,o),u=0;u21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){navigator.userAgent;var t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),n="",r=new RegExp(t,"i"),o=0;o=81)e=-1;else if(this.getVersion("safari")[0]>=605){var i=this.getVersion("version");i[0]>13&&i[1]>1&&(e=-1)}else{var a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){var s=a[1];((s=s.split("_"))[0]>13||s[0]>=13&&s[1]>=4)&&(e=-1)}}var c=document.createElement("canvas"),u=c.getContext("2d");switch(u.save(),e){case 2:c.width=n,c.height=r,u.translate(n,0),u.scale(-1,1);break;case 3:c.width=n,c.height=r,u.translate(n/2,r/2),u.rotate(180*Math.PI/180),u.translate(-n/2,-r/2);break;case 4:c.width=n,c.height=r,u.translate(0,r),u.scale(1,-1);break;case 5:c.height=n,c.width=r,u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:c.width=r,c.height=n,u.translate(r/2,n/2),u.rotate(90*Math.PI/180),u.translate(-n/2,-r/2);break;case 7:c.height=n,c.width=r,u.rotate(.5*Math.PI),u.translate(n,-r),u.scale(-1,1);break;case 8:c.height=n,c.width=r,u.translate(r/2,n/2),u.rotate(-90*Math.PI/180),u.translate(-n/2,-r/2);break;default:c.width=n,c.height=r}u.drawImage(t,0,0,n,r),u.restore(),c.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(o.imgs),o.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var n=e.width,r=e.height;i.getData(e).then((function(o){t.orientation=o.orientation||1;var i=Number(t.maxImgSize);!t.orientation&&ni&&(r=r/n*i,n=i),r>i&&(n=n/r*i,r=i),t.checkOrientationImage(e,t.orientation,n,r))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var n=new XMLHttpRequest;n.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},n.open("GET",this.img,!0),n.responseType="blob",n.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var n=this.scale,r=this.touches[0].clientX,o=this.touches[0].clientY,i=t.touches[0].clientX,a=t.touches[0].clientY,s=this.touches[1].clientX,c=this.touches[1].clientY,u=t.touches[1].clientX,f=t.touches[1].clientY,l=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-c,2)),h=Math.sqrt(Math.pow(i-u,2)+Math.pow(a-f,2))-l,p=1,d=(p=(p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth)>.1?.1:p)*h;if(!this.touchNow){if(this.touchNow=!0,h>0?n+=Math.abs(d):h<0&&n>Math.abs(d)&&(n-=Math.abs(d)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var n,r,o="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY;n=o-this.moveX,r=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,o,i,a,s=e.getImgAxis(n,r,e.scale),c=e.getCropAxis(),u=e.trueHeight*e.scale,f=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(u-f)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(f-u)/2,i=t-u+e.cropW,a=o-f+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-f+e.cropW,a=o-u+e.cropH}s.x1>=c.x1&&(n=t),s.y1>=c.y1&&(r=o),s.x2<=c.x2&&(n=i),s.y2<=c.y2&&(r=a)}e.x=n,e.y=r,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var n=this.scale,r=t.deltaY||t.wheelDelta;r=navigator.userAgent.indexOf("Firefox")>0?30*r:r,this.isIE&&(r=-r);var o=this.coe,i=(o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)*r;i<0?n+=Math.abs(i):n>Math.abs(i)&&(n-=Math.abs(i));var a=i<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n},changeScale:function(t){var e=this.scale;t=t||1;var n=20;if((t*=n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,r="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=n-e.cropX,o=r-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else o>0?(e.cropH=o+e.cropChangeY>e.h?e.h-e.cropChangeY:o,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(o)>e.h?e.cropChangeY:Math.abs(o),e.cropOffsertY=e.cropChangeY+o>0?e.cropChangeY+o:0)}))},changeCropSize:function(t,e,n,r,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=n,this.changeCropTypeX=r,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,r="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0,o=this.w,i=this.h,a=0,s=0;if(this.centerBox){var c=this.getImgAxis(),u=c.x2,f=c.y2;a=c.x1>0?c.x1:0,s=c.y1>0?c.y1:0,o>u&&(o=u),i>f&&(i=f)}this.$nextTick((function(){var t=n-e.cropX,c=r-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=o-e.cropChangeX-t<=o-a?e.cropOldW-t:e.cropOldW+e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX-t<=o-a?e.cropChangeX+t:a):(e.cropW=Math.abs(t)+e.cropChangeX<=o?Math.abs(t)-e.cropOldW:o-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=o?e.cropOldW+t:o-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?Math.abs(t+e.cropOldW):e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?e.cropChangeX-Math.abs(t+e.cropOldW):a))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-s?e.cropOldH-c:e.cropOldH+e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY-c<=i-s?e.cropChangeY+c:s):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?Math.abs(c+e.cropOldH):e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?e.cropChangeY-Math.abs(c+e.cropOldH):s))),e.canChangeX&&e.fixed){var u=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];u+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=u}if(e.canChangeY&&e.fixed){var f=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];f+e.cropOffsertX>o?(e.cropW=o-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=f}}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,n,r="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=r-this.cropOffsertX,n=o-this.cropOffsertY,this.cropX=e,this.cropY=n,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var n=this,r=0,o=0;t&&(t.preventDefault(),r="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,a=r-n.cropX,s=o-n.cropY;if(e&&(a=n.cropOffsertX,s=n.cropOffsertY),t=a<=0?0:a+n.cropW>n.w?n.w-n.cropW:a,i=s<=0?0:s+n.cropH>n.h?n.h-n.cropH:s,n.centerBox){var c=n.getImgAxis();t<=c.x1&&(t=c.x1),t+n.cropW>c.x2&&(t=c.x2-n.cropW),i<=c.y1&&(i=c.y1),i+n.cropH>c.y2&&(i=c.y2-n.cropH)}n.cropOffsertX=t,n.cropOffsertY=i,n.$emit("cropMoving",{moving:!0,axis:n.getCropAxis()}),n.$emit("crop-moving",{moving:!0,axis:n.getCropAxis()})}))},getImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var r={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*n,i=this.trueHeight*n;switch(this.rotate){case 0:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n;break;case 1:case-1:case 3:case-3:r.x1=t+this.trueWidth*(1-n)/2+(o-i)/2,r.x2=r.x1+this.trueHeight*n,r.y1=e+this.trueHeight*(1-n)/2+(i-o)/2,r.y2=r.y1+this.trueWidth*n;break;default:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n}return r},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,n=document.createElement("canvas"),r=new Image,o=this.rotate,i=this.trueWidth,a=this.trueHeight,s=this.cropOffsertX,c=this.cropOffsertY;function u(t,e){n.width=Math.round(t),n.height=Math.round(e)}r.onload=function(){if(0!==e.cropW){var f=n.getContext("2d"),l=1;e.high&!e.full&&(l=window.devicePixelRatio),1!==e.enlarge&!e.full&&(l=Math.abs(Number(e.enlarge)));var h=e.cropW*l,p=e.cropH*l,d=i*e.scale*l,v=a*e.scale*l,g=(e.x-s+e.trueWidth*(1-e.scale)/2)*l,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*l;switch(u(h,p),f.save(),o){case 0:e.full?(u(h/e.scale,p/e.scale),f.drawImage(r,g/e.scale,m/e.scale,d/e.scale,v/e.scale)):f.drawImage(r,g,m,d,v);break;case 1:case-3:e.full?(u(h/e.scale,p/e.scale),g=g/e.scale+(d/e.scale-v/e.scale)/2,m=m/e.scale+(v/e.scale-d/e.scale)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,m,-g-v/e.scale,d/e.scale,v/e.scale)):(g+=(d-v)/2,m+=(v-d)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,m,-g-v,d,v));break;case 2:case-2:e.full?(u(h/e.scale,p/e.scale),f.rotate(90*o*Math.PI/180),g/=e.scale,m/=e.scale,f.drawImage(r,-g-d/e.scale,-m-v/e.scale,d/e.scale,v/e.scale)):(f.rotate(90*o*Math.PI/180),f.drawImage(r,-g-d,-m-v,d,v));break;case 3:case-1:e.full?(u(h/e.scale,p/e.scale),g=g/e.scale+(d/e.scale-v/e.scale)/2,m=m/e.scale+(v/e.scale-d/e.scale)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,-m-d/e.scale,g,d/e.scale,v/e.scale)):(g+=(d-v)/2,m+=(v-d)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,-m-d,g,d,v));break;default:e.full?(u(h/e.scale,p/e.scale),f.drawImage(r,g/e.scale,m/e.scale,d/e.scale,v/e.scale)):f.drawImage(r,g,m,d,v)}f.restore()}else{var y=i*e.scale,w=a*e.scale,b=n.getContext("2d");switch(b.save(),o){case 0:u(y,w),b.drawImage(r,0,0,y,w);break;case 1:case-3:u(w,y),b.rotate(90*o*Math.PI/180),b.drawImage(r,0,-w,y,w);break;case 2:case-2:u(y,w),b.rotate(90*o*Math.PI/180),b.drawImage(r,-y,-w,y,w);break;case 3:case-1:u(w,y),b.rotate(90*o*Math.PI/180),b.drawImage(r,-y,0,y,w);break;default:u(y,w),b.drawImage(r,0,0,y,w)}b.restore()}t(n)},"data"!==this.img.substr(0,4)&&(r.crossOrigin="Anonymous"),r.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(n){t(n.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(n){n.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,n=this.cropH,r=this.scale,o={};o.div={width:"".concat(e,"px"),height:"".concat(n,"px")};var i=(this.x-this.cropOffsertX)/r,a=(this.y-this.cropOffsertY)/r;o.w=e,o.h=n,o.url=this.imgs,o.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(r,")translate3d(").concat(i,"px, ").concat(a,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},o.html='\n
\n
\n \n
\n
'),this.$emit("realTime",o),this.$emit("real-time",o)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),n=this.mode.split(" ");switch(n[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)0,i=(o?this.trueHeight:this.trueWidth)*this.scale,a=(o?this.trueWidth:this.trueHeight)*this.scale;n=in?n:s,c=c>r?r:c,this.fixed&&(c=s/this.fixedNumber[0]*this.fixedNumber[1]),c>this.h&&(s=(c=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,c)}},changeCrop:function(t,e){var n=this;if(this.centerBox){var r=this.getImgAxis();t>r.x2-r.x1&&(e=(t=r.x2-r.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>r.y2-r.y1&&(t=(e=r.y2-r.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){n.cropOffsertX=(n.w-n.cropW)/2,n.cropOffsertY=(n.h-n.cropH)/2,n.centerBox&&n.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var r=!0;if(this.centerBox){var o=this.getImgAxis(t,e,n),i=this.getCropAxis();o.x1>=i.x1&&(r=!1),o.x2<=i.x2&&(r=!1),o.y1>=i.y1&&(r=!1),o.y2<=i.y2&&(r=!1)}return r}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,n,r){for(var o=atob(this.toDataURL(n,r).split(",")[1]),i=o.length,a=new Uint8Array(i),s=0;sS;S++)if((p||S in x)&&(y=x[S],w=_(y,S,b),t))if(e)O[S]=w;else if(w)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:c.call(O,y)}else switch(t){case 4:return!1;case 7:c.call(O,y)}return l?-1:u||f?f:O}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},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__",a=r[i]||o(i,{});t.exports=a},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,a=n("d012");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},ccae:function(t,e,n){"use strict";function r(t){var e=n("8b26"),r=[],o=void 0,i=void 0,a=void 0,s=void 0;for(o in t)if("rect"===o||"circle"===o||"ellipse"===o||"polygon"===o||"line"===o||"path"===o){var c=!0,u=!1,f=void 0;try{for(var l,h=t[o][Symbol.iterator]();!(c=(l=h.next()).done);c=!0)i=l.value,r.push(e(i.$,o))}catch(C){u=!0,f=C}finally{try{!c&&h.return&&h.return()}finally{if(u)throw f}}}else if("g"===o){var p=!0,d=!1,v=void 0;try{for(var g,m=t[o][Symbol.iterator]();!(p=(g=m.next()).done);p=!0)for(i in a=g.value,a)if("rect"===o||"circle"===o||"ellipse"===o||"polygon"===o||"line"===o||"path"===o){var y=!0,w=!1,b=void 0;try{for(var x,_=a[i][Symbol.iterator]();!(y=(x=_.next()).done);y=!0)s=x.value,r.push(e(s.$,i))}catch(C){w=!0,b=C}finally{try{!y&&_.return&&_.return()}finally{if(w)throw b}}}}catch(C){d=!0,v=C}finally{try{!p&&m.return&&m.return()}finally{if(d)throw v}}}return r}t.exports={SVGtoArray:r}},cdf9:function(t,e,n){var r=n("825a"),o=n("861d"),i=n("f069");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),a=n.resolve;return a(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}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("428f"),o=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[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"),a=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),c=i("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){return"$0"==="a".replace(/./,"$0")}(),l=i("replace"),h=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var d=i(t),v=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),g=v&&!o((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!v||!g||"replace"===t&&(!u||!f||h)||"split"===t&&!p){var m=/./[d],y=n(d,""[t],(function(t,e,n,r,o){return e.exec===a?v&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),w=y[0],b=y[1];r(String.prototype,t,w),r(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&s(RegExp.prototype[d],"sham",!0)}},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"))},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),u=s("toStringTag"),f=i.values;for(var l in o){var h=r[l],p=h&&h.prototype;if(p){if(p[c]!==f)try{a(p,c,f)}catch(v){p[c]=f}if(p[u]||a(p,u,l),o[l])for(var d in i)if(p[d]!==i[d])try{a(p,d,i[d])}catch(v){p[d]=i[d]}}}},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"),a=n("5135"),s=n("861d"),c=n("9bf2").f,u=n("e893"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};u(h,f);var p=h.prototype=f.prototype;p.constructor=h;var d=p.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=d.call(t);if(a(l,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),a=n("e177"),s=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c: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"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",u=a.set,f=a.getterFor(c);t.exports=s(Array,"Array",(function(t,e){u(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=f(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")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e688:function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){n(7),n(8),t.exports=n(9)},function(t,e,n){(function(e){(function(n){var r="function"===typeof e&&e||function(t){setTimeout(t,1)};function o(t,e){return function(){t.apply(e,arguments)}}var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],h(t,o(c,this),o(u,this))}function s(t){var e=this;null!==this._state?r((function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(o){return void t.reject(o)}t.resolve(r)}else(e._state?t.resolve:t.reject)(e._value)})):this._deferreds.push(t)}function c(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var e=t.then;if("function"===typeof e)return void h(o(e,t),o(c,this),o(u,this))}this._state=!0,this._value=t,f.call(this)}catch(n){u.call(this,n)}}function u(t){this._state=!1,this._value=t,f.call(this)}function f(){for(var t=0,e=this._deferreds.length;t=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(3),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(e,function(){return this}())},function(t,e,n){(function(t,e){(function(t,n){"use strict";if(!t.setImmediate){var r,o=1,i={},a=!1,s=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?p():d()?v():t.MessageChannel?g():s&&"onreadystatechange"in s.createElement("script")?m():y(),c.setImmediate=u,c.clearImmediate=f}function u(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n4?p:e+8,a=[],c=0;c4?p:e+8,b(t,i,h-1);case 3:if(1==h)return t.getUint16(e+8,!o);for(i=h>2?p:e+8,a=[],c=0;c1048576){var r=document.createElement("canvas");r.width=r.height=1;var o=r.getContext("2d");return o.drawImage(t,1-e,0),0===o.getImageData(0,0,1,1).data[3]}return!1}function i(t,e,n){var r=document.createElement("canvas");r.width=1,r.height=n;var o=r.getContext("2d");o.drawImage(t,0,0);var i=o.getImageData(0,0,1,n).data,a=0,s=n,c=n;while(c>a){var u=i[4*(c-1)+3];0===u?s=c:a=c,c=s+a>>1}var f=c/n;return 0===f?1:f}function a(t,e,n){var r=document.createElement("canvas");return s(t,r,e,n),r.toDataURL("image/jpeg",e.quality||.8)}function s(t,e,r,o){var a=t.naturalWidth,s=t.naturalHeight,u=r.width,f=r.height,l=e.getContext("2d");l.save(),c(e,l,u,f,r.orientation);var h=n(t);h&&(a/=2,s/=2);var p=1024,d=document.createElement("canvas");d.width=d.height=p;var v=d.getContext("2d"),g=o?i(t,a,s):1,m=Math.ceil(p*u/a),y=Math.ceil(p*f/s/g),w=0,b=0;while(wp&&(l=p,h=f*l/u<<0),d&&h>d&&(h=d,l=u*h/f<<0);var g={width:l,height:h};for(var m in e)g[m]=e[m];var y=t.tagName.toLowerCase();"img"===y?t.src=a(this.srcImage,g,v):"canvas"===y&&s(this.srcImage,t,g,v),"function"===typeof this.onrender&&this.onrender(t),n&&n()}},r=[],o=function(){return u}.apply(e,r),void 0===o||(t.exports=o)})()},function(t,e){function n(t){Math.round;var e,n,r,o,i,a=Math.floor,s=new Array(64),c=new Array(64),u=new Array(64),f=new Array(64),l=new Array(65535),h=new Array(65535),p=new Array(64),d=new Array(64),v=[],g=0,m=7,y=new Array(64),w=new Array(64),b=new Array(64),x=new Array(256),_=new Array(2048),C=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],S=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],A=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],L=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],T=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function j(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((e[n]*t+50)/100);r<1?r=1:r>255&&(r=255),s[C[n]]=r}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var l=a((o[i]*t+50)/100);l<1?l=1:l>255&&(l=255),c[C[i]]=l}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],p=0,d=0;d<8;d++)for(var v=0;v<8;v++)u[p]=1/(s[C[p]]*h[d]*h[v]*8),f[p]=1/(c[C[p]]*h[d]*h[v]*8),p++}function P(t,e){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=t[i];a++)o[e[r]]=[],o[e[r]][0]=n,o[e[r]][1]=i,r++,n++;n*=2}return o}function $(){e=P(S,A),n=P(E,I),r=P(O,k),o=P(L,T)}function M(){for(var t=1,e=2,n=1;n<=15;n++){for(var r=t;r>0]=38470*t,_[t+512>>0]=7471*t+32768,_[t+768>>0]=-11059*t,_[t+1024>>0]=-21709*t,_[t+1280>>0]=32768*t+8421375,_[t+1536>>0]=-27439*t,_[t+1792>>0]=-5329*t}function N(t){var e=t[0],n=t[1]-1;while(n>=0)e&1<>8&255),U(255&t)}function D(t,e){var n,r,o,i,a,s,c,u,f,l=0;const h=8,d=64;for(f=0;f0?Z+.5|0:Z-.5|0;return p}function B(){F(65504),F(16),U(74),U(70),U(73),U(70),U(0),U(1),U(1),U(0),F(1),F(1),U(0),U(0)}function H(t,e){F(65472),F(17),U(8),F(e),F(t),U(3),U(1),U(17),U(0),U(2),U(17),U(1),U(3),U(17),U(1)}function W(){F(65499),F(132),U(0);for(var t=0;t<64;t++)U(s[t]);U(1);for(var e=0;e<64;e++)U(c[e])}function X(){F(65476),F(418),U(0);for(var t=0;t<16;t++)U(S[t+1]);for(var e=0;e<=11;e++)U(A[e]);U(16);for(var n=0;n<16;n++)U(O[n+1]);for(var r=0;r<=161;r++)U(k[r]);U(1);for(var o=0;o<16;o++)U(E[o+1]);for(var i=0;i<=11;i++)U(I[i]);U(17);for(var a=0;a<16;a++)U(L[a+1]);for(var s=0;s<=161;s++)U(T[s])}function z(){F(65498),F(12),U(3),U(1),U(0),U(2),U(17),U(3),U(17),U(0),U(63),U(0)}function Y(t,e,n,r,o){var i,a=o[0],s=o[240];const c=16,u=63,f=64;for(var p=D(t,e),v=0;v0&&0==d[m];m--);if(0==m)return N(a),n;var y,w=1;while(w<=m){for(var b=w;0==d[w]&&w<=m;++w);var x=w-b;if(x>=c){y=x>>4;for(var _=1;_<=y;++_)N(s);x&=15}i=32767+d[w],N(o[(x<<4)+h[i]]),N(l[i]),w++}return m!=u&&N(a),n}function G(){for(var t=String.fromCharCode,e=0;e<256;e++)x[e]=t(e)}function V(t){if(t<=0&&(t=1),t>100&&(t=100),i!=t){var e=0;e=t<50?Math.floor(5e3/t):Math.floor(200-2*t),j(e),i=t}}function q(){var e=(new Date).getTime();t||(t=50),G(),$(),M(),R(),V(t);(new Date).getTime()}this.encode=function(t,i,a){var s=(new Date).getTime();i&&V(i),v=new Array,g=0,m=7,F(65496),B(),W(),H(t.width,t.height),X(),z();var c=0,l=0,h=0;g=0,m=7,this.encode.displayName="_encode_";var p,d,x,C,S,A,O,k,E,I=t.data,L=t.width,T=t.height,j=4*L,P=0;while(P>3,O=4*(7&E),A=S+k*j+O,P+k>=T&&(A-=j*(P+1+k-T)),p+O>=j&&(A-=p+O-j+4),d=I[A++],x=I[A++],C=I[A++],y[E]=(_[d]+_[x+256>>0]+_[C+512>>0]>>16)-128,w[E]=(_[d+768>>0]+_[x+1024>>0]+_[C+1280>>0]>>16)-128,b[E]=(_[d+1280>>0]+_[x+1536>>0]+_[C+1792>>0]>>16)-128;c=Y(y,u,c,e,r),l=Y(w,f,l,n,o),h=Y(b,f,h,n,o),p+=32}P+=8}if(m>=0){var $=[];$[1]=m+1,$[0]=(1<=13,oldAndroid:!!n&&+n.pop().substr(0,3)<4.5,iOS:/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(t),android:/Android/g.test(t),mQQBrowser:/MQQBrowser/g.test(t)}}(navigator.userAgent);function s(t,e){var n=this;if(!t)throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");for(var r in e=e||{},n.defaults={width:null,height:null,fieldName:"file",ingnoreOrientation:!a.iOS||a.newIOS,quality:.7},n.file=t,e)e.hasOwnProperty(r)&&(n.defaults[r]=e[r]);return this.init()}function c(t){var e=null;return e=t?[].filter.call(document.scripts,(function(e){return-1!==e.src.indexOf(t)}))[0]:document.scripts[document.scripts.length-1],e?e.src.substr(0,e.src.lastIndexOf("/")):null}function u(t){var e;e=t.split(",")[0].indexOf("base64")>=0?atob(t.split(",")[1]):unescape(t.split(",")[1]);for(var n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(e.length),i=0;it.file.size?(i=new FormData,e=t.file):(i=new o.FormData,e=u(r)),i.append(t.defaults.fieldName,e,t.fileName.replace(/\..+/g,".jpg")),n({formData:i,fileLen:+e.size,base64:r,base64Len:r.length,origin:t.file,file:e}),t)t.hasOwnProperty(a)&&(t[a]=null);URL.revokeObjectURL(t.blob)}))},!i&&(a.crossOrigin="*"),a.src=c}))},s.prototype._getBase64=function(){var t=this,e=t.img,n=t.file,o=t.canvas;return new r((function(r){try{i.getData("object"===typeof n?n:e,(function(){t.orientation=t.defaults.ingnoreOrientation?0:i.getTag(this,"Orientation"),t.resize=t._getResize(),t.ctx=o.getContext("2d"),o.width=t.resize.width,o.height=t.resize.height,t.ctx.fillStyle="#fff",t.ctx.fillRect(0,0,o.width,o.height),a.oldIOS?t._createBase64ForOldIOS().then(r):t._createBase64().then(r)}))}catch(s){throw new Error(s)}}))},s.prototype._createBase64ForOldIOS=function(){var t=this,e=t.img,o=t.canvas,i=t.defaults,a=t.orientation;return new r((function(t){!function(){var r=[n(7)];(function(n){var r=new n(e);"5678".indexOf(a)>-1?r.render(o,{width:o.height,height:o.width,orientation:a}):r.render(o,{width:o.width,height:o.height,orientation:a}),t(o.toDataURL("image/jpeg",i.quality))}).apply(null,r)}()}))},s.prototype._createBase64=function(){var t=this,e=t.resize,o=t.img,i=t.canvas,s=t.ctx,c=t.defaults,u=t.orientation;switch(u){case 3:s.rotate(180*Math.PI/180),s.drawImage(o,-e.width,-e.height,e.width,e.height);break;case 6:s.rotate(90*Math.PI/180),s.drawImage(o,0,-e.width,e.height,e.width);break;case 8:s.rotate(270*Math.PI/180),s.drawImage(o,-e.height,0,e.height,e.width);break;case 2:s.translate(e.width,0),s.scale(-1,1),s.drawImage(o,0,0,e.width,e.height);break;case 4:s.translate(e.width,0),s.scale(-1,1),s.rotate(180*Math.PI/180),s.drawImage(o,-e.width,-e.height,e.width,e.height);break;case 5:s.translate(e.width,0),s.scale(-1,1),s.rotate(90*Math.PI/180),s.drawImage(o,0,-e.width,e.height,e.width);break;case 7:s.translate(e.width,0),s.scale(-1,1),s.rotate(270*Math.PI/180),s.drawImage(o,-e.height,0,e.height,e.width);break;default:s.drawImage(o,0,0,e.width,e.height)}return new r((function(t){a.oldAndroid||a.mQQBrowser||!navigator.userAgent?function(){var e=[n(8)];(function(e){var n=new e,r=s.getImageData(0,0,i.width,i.height);t(n.encode(r,100*c.quality))}).apply(null,e)}():t(i.toDataURL("image/jpeg",c.quality))}))},s.prototype._getResize=function(){var t=this,e=t.img,n=t.defaults,r=n.width,o=n.height,i=t.orientation,a={width:e.width,height:e.height};if("5678".indexOf(i)>-1&&(a.width=e.height,a.height=e.width),a.width=r/o?a.width>r&&(a.width=r,a.height=Math.ceil(r/s)):a.height>o&&(a.height=o,a.width=Math.ceil(o*s)):r?r=3264||a.height>=2448)a.width*=.8,a.height*=.8;return a},window.lrz=function(t,e){return new s(t,e)},window.lrz.version="__packageJSON.version__",t.exports=window.lrz}])}))},e6cf:function(t,e,n){"use strict";var r,o,i,a,s=n("23e7"),c=n("c430"),u=n("da84"),f=n("d066"),l=n("fea9"),h=n("6eeb"),p=n("e2cc"),d=n("d44e"),v=n("2626"),g=n("861d"),m=n("1c0b"),y=n("19aa"),w=n("8925"),b=n("2266"),x=n("1c7e"),_=n("4840"),C=n("2cf4").set,S=n("b575"),A=n("cdf9"),O=n("44de"),k=n("f069"),E=n("e667"),I=n("69f3"),L=n("94ca"),T=n("b622"),j=n("605d"),P=n("2d00"),$=T("species"),M="Promise",R=I.get,N=I.set,U=I.getterFor(M),F=l,D=u.TypeError,B=u.document,H=u.process,W=f("fetch"),X=k.f,z=X,Y=!!(B&&B.createEvent&&u.dispatchEvent),G="function"==typeof PromiseRejectionEvent,V="unhandledrejection",q="rejectionhandled",K=0,J=1,Q=2,Z=1,tt=2,et=L(M,(function(){var t=w(F)!==String(F);if(!t){if(66===P)return!0;if(!j&&!G)return!0}if(c&&!F.prototype["finally"])return!0;if(P>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))},r=e.constructor={};return r[$]=n,!(e.then((function(){}))instanceof n)})),nt=et||!x((function(t){F.all(t)["catch"]((function(){}))})),rt=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;S((function(){var r=t.value,o=t.state==J,i=0;while(n.length>i){var a,s,c,u=n[i++],f=o?u.ok:u.fail,l=u.resolve,h=u.reject,p=u.domain;try{f?(o||(t.rejection===tt&&ct(t),t.rejection=Z),!0===f?a=r:(p&&p.enter(),a=f(r),p&&(p.exit(),c=!0)),a===u.promise?h(D("Promise-chain cycle")):(s=rt(a))?s.call(a,l,h):l(a)):h(r)}catch(d){p&&!c&&p.exit(),h(d)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&at(t)}))}},it=function(t,e,n){var r,o;Y?(r=B.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!G&&(o=u["on"+t])?o(r):t===V&&O("Unhandled promise rejection",n)},at=function(t){C.call(u,(function(){var e,n=t.facade,r=t.value,o=st(t);if(o&&(e=E((function(){j?H.emit("unhandledRejection",r,n):it(V,n,r)})),t.rejection=j||st(t)?tt:Z,e.error))throw e.value}))},st=function(t){return t.rejection!==Z&&!t.parent},ct=function(t){C.call(u,(function(){var e=t.facade;j?H.emit("rejectionHandled",e):it(q,e,t.value)}))},ut=function(t,e,n){return function(r){t(e,r,n)}},ft=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=Q,ot(t,!0))},lt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw D("Promise can't be resolved itself");var r=rt(e);r?S((function(){var n={done:!1};try{r.call(e,ut(lt,n,t),ut(ft,n,t))}catch(o){ft(n,o,t)}})):(t.value=e,t.state=J,ot(t,!1))}catch(o){ft({done:!1},o,t)}}};et&&(F=function(t){y(this,F,M),m(t),r.call(this);var e=R(this);try{t(ut(lt,e),ut(ft,e))}catch(n){ft(e,n)}},r=function(t){N(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(F.prototype,{then:function(t,e){var n=U(this),r=X(_(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=j?H.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ot(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=ut(lt,e),this.reject=ut(ft,e)},k.f=X=function(t){return t===F||t===i?new o(t):z(t)},c||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(F,W.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:et},{Promise:F}),d(F,M,!1,!0),v(M),i=f(M),s({target:M,stat:!0,forced:et},{reject:function(t){var e=X(this);return e.reject.call(void 0,t),e.promise}}),s({target:M,stat:!0,forced:c||et},{resolve:function(t){return A(c&&this===i?F:this,t)}}),s({target:M,stat:!0,forced:nt},{all:function(t){var e=this,n=X(e),r=n.resolve,o=n.reject,i=E((function(){var n=m(e.resolve),i=[],a=0,s=1;b(t,(function(t){var c=a++,u=!1;i.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,i[c]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=X(e),r=n.reject,o=E((function(){var o=m(e.resolve);b(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=o(e),s=a.f,c=i.f,u=0;u=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function L(t){return t.replace(/\/\//g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},j=J,P=U,$=F,M=H,R=K,N=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function U(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=N.exec(t))){var c=n[0],u=n[1],f=n.index;if(a+=t.slice(i,f),i=f+c.length,u)a+=u[1];else{var l=t[i],h=n[2],p=n[3],d=n[4],v=n[5],g=n[6],m=n[7];a&&(r.push(a),a="");var y=null!=h&&null!=l&&l!==h,w="+"===g||"*"===g,b="?"===g||"*"===g,x=n[2]||s,_=d||v;r.push({name:p||o++,prefix:h||"",delimiter:x,optional:b,repeat:w,partial:y,asterisk:!!m,pattern:_?X(_):m?".*":"[^"+W(x)+"]+?"})}}return i1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)C.on=x,C.attrs={href:c,"aria-current":y};else{var A=st(this.$slots.default);if(A){A.isStatic=!1;var O=A.data=o({},A.data);for(var k in O.on=O.on||{},O.on){var E=O.on[k];k in x&&(O.on[k]=Array.isArray(E)?E:[E])}for(var I in x)I in O.on?O.on[I].push(x[I]):O.on[I]=w;var L=A.data.attrs=o({},A.data.attrs);L.href=c,L["aria-current"]=y}else C.on=x}return t(this.tag,C,this.$slots.default)}};function at(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=Z(u.path,s.params,'named route "'+c+'"'),f(u,s,a)}if(s.path){s.params={};for(var p=0;p=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function Dt(t,e){return Xt(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Yt(e)+'" via a navigation guard.')}function Bt(t,e){var n=Xt(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return Xt(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Wt(t,e){return Xt(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Xt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var zt=["params","query","hash"];function Yt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Gt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Vt(t,e){return Gt(t)&&t._isRouter&&(null==e||t.type===e)}function qt(t){return function(e,n,r){var o=!1,i=0,a=null;Kt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=te((function(e){Zt(e)&&(e=e.default),t.resolved="function"===typeof e?e:et.extend(e),n.components[s]=e,i--,i<=0&&r()})),f=te((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Gt(t)?t:new Error(e),r(a))}));try{c=t(u,f)}catch(h){f(h)}if(c)if("function"===typeof c.then)c.then(u,f);else{var l=c.component;l&&"function"===typeof l.then&&l.then(u,f)}}})),o||r()}}function Kt(t,e){return Jt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Jt(t){return Array.prototype.concat.apply([],t)}var Qt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zt(t){return t.__esModule||Qt&&"Module"===t[Symbol.toStringTag]}function te(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ee=function(t,e){this.router=t,this.base=ne(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ne(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(Ct());var o=function(){var n=t.current,o=he(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&St(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Rt(L(r.base+t.fullPath)),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Nt(L(r.base+t.fullPath)),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=L(this.base+this.current.fullPath);t?Rt(e):Nt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(ee);function he(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&de(this.base)||ve()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Mt&&n;r&&this.listeners.push(Ct());var o=function(){var e=t.current;ve()&&t.transitionTo(ge(),(function(n){r&&St(t.router,n,e,!0),Mt||we(n.fullPath)}))},i=Mt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){we(t.fullPath),St(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ye(e):we(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(ee);function de(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(L(t+"/#"+e)),!0}function ve(){var t=ge();return"/"===t.charAt(0)||(we("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ye(t){Mt?Rt(me(t)):window.location.hash=t}function we(t){Mt?Nt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Vt(t,Ft.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ee),xe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Mt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},_e={currentRoute:{configurable:!0}};function Ce(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Se(t,e,n){var r="hash"===n?"#"+e:e;return t?L(t+"/"+r):r}xe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},_e.currentRoute.get=function(){return this.history&&this.history.current},xe.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Mt&&o;i&&"fullPath"in t&&St(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},xe.prototype.beforeEach=function(t){return Ce(this.beforeHooks,t)},xe.prototype.beforeResolve=function(t){return Ce(this.resolveHooks,t)},xe.prototype.afterEach=function(t){return Ce(this.afterHooks,t)},xe.prototype.onReady=function(t,e){this.history.onReady(t,e)},xe.prototype.onError=function(t){this.history.onError(t)},xe.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},xe.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},xe.prototype.go=function(t){this.history.go(t)},xe.prototype.back=function(){this.go(-1)},xe.prototype.forward=function(){this.go(1)},xe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},xe.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=tt(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=Se(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},xe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xe.prototype,_e),xe.install=ct,xe.version="3.4.9",xe.isNavigationFailure=Vt,xe.NavigationFailureType=Ft,ut&&window.Vue&&window.Vue.use(xe),e["a"]=xe},"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}},9263:function(t,e,n){"use strict";var r=n("ad6d"),o=n("9f7f"),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],l=c||f||u;l&&(s=function(t){var e,n,o,s,l=this,h=u&&l.sticky,p=r.call(l),d=l.source,v=0,g=t;return h&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),g=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,v++),n=new RegExp("^(?:"+d+")",p)),f&&(n=new RegExp("^"+d+"$(?!\\s)",p)),c&&(e=l.lastIndex),o=i.call(h?n:l,g),h?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:c&&o&&(l.lastIndex=l.global?o.index+o[0].length:e),f&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s0)n[r]=arguments[r+1];e&&e[t]&&e[t].apply(e,n)};"serviceWorker"in navigator&&r.then((function(){o()?(c(t,i,n),navigator.serviceWorker.ready.then((function(t){i("ready",t)})).catch((function(t){return a(i,t)}))):(s(t,i,n),navigator.serviceWorker.ready.then((function(t){i("ready",t)})).catch((function(t){return a(i,t)})))}))}function a(t,e){navigator.onLine||t("offline"),t("error",e)}function s(t,e,n){navigator.serviceWorker.register(t,n).then((function(t){e("registered",t),t.waiting?e("updated",t):t.onupdatefound=function(){e("updatefound",t);var n=t.installing;n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?e("updated",t):e("cached",t))}}})).catch((function(t){return a(e,t)}))}function c(t,e,n){fetch(t).then((function(r){404===r.status?(e("error",new Error("Service worker not found at "+t)),u()):-1===r.headers.get("content-type").indexOf("javascript")?(e("error",new Error("Expected "+t+" to have javascript content-type, but received "+r.headers.get("content-type"))),u()):s(t,e,n)})).catch((function(t){return a(e,t)}))}function u(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(t){t.unregister()})).catch((function(t){return a(emit,t)}))}"undefined"!==typeof window&&(r="undefined"!==typeof Promise?new Promise((function(t){return window.addEventListener("load",t)})):{then:function(t){return window.addEventListener("load",t)}})},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==u||n!=c&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(j){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new I(r||[]);return i._invoke=A(t,n,a),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=u;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function g(){}function m(){}function y(){}var w={};w[i]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(L([])));x&&x!==n&&r.call(x,i)&&(w=x);var _=y.prototype=g.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;function i(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function A(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=f(t,e,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function L(t){if(t){var n=t[i];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){while(++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},9861:function(t,e,n){"use strict";n("e260");var r=n("23e7"),o=n("d066"),i=n("0d3b"),a=n("6eeb"),s=n("e2cc"),c=n("d44e"),u=n("9ed3"),f=n("69f3"),l=n("19aa"),h=n("5135"),p=n("0366"),d=n("f5df"),v=n("825a"),g=n("861d"),m=n("7c73"),y=n("5c6c"),w=n("9a1f"),b=n("35a1"),x=n("b622"),_=o("fetch"),C=o("Headers"),S=x("iterator"),A="URLSearchParams",O=A+"Iterator",k=f.set,E=f.getterFor(A),I=f.getterFor(O),L=/\+/g,T=Array(4),j=function(t){return T[t-1]||(T[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},P=function(t){try{return decodeURIComponent(t)}catch(e){return t}},$=function(t){var e=t.replace(L," "),n=4;try{return decodeURIComponent(e)}catch(r){while(n)e=e.replace(j(n--),P);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(t){return R[t]},U=function(t){return encodeURIComponent(t).replace(M,N)},F=function(t,e){if(e){var n,r,o=e.split("&"),i=0;while(i0?arguments[0]:void 0,f=this,p=[];if(k(f,{type:A,entries:p,updateURL:function(){},updateSearchParams:D}),void 0!==u)if(g(u))if(t=b(u),"function"===typeof t){e=t.call(u),n=e.next;while(!(r=n.call(e)).done){if(o=w(v(r.value)),i=o.next,(a=i.call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}}else for(c in u)h(u,c)&&p.push({key:c,value:u[c]+""});else F(p,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},X=W.prototype;s(X,{append:function(t,e){B(arguments.length,2);var n=E(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){B(arguments.length,1);var e=E(this),n=e.entries,r=t+"",o=0;while(ot.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){var e,n=E(this).entries,r=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;while(o1&&(e=arguments[1],g(e)&&(n=e.body,d(n)===A&&(r=e.headers?new C(e.headers):new C,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:y(0,String(n)),headers:y(0,r)}))),o.push(e)),_.apply(this,o)}}),t.exports={URLSearchParams:W,getState:E}},"99af":function(t,e,n){"use strict";var r=n("23e7"),o=n("d039"),i=n("e8b5"),a=n("861d"),s=n("7b0b"),c=n("50c4"),u=n("8418"),f=n("65f0"),l=n("1dde"),h=n("b622"),p=n("2d00"),d=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=p>=51||!o((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=l("concat"),w=function(t){if(!a(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)},b=!m||!y;r({target:"Array",proto:!0,forced:b},{concat:function(t){var e,n,r,o,i,a=s(this),l=f(a,0),h=0;for(e=-1,r=arguments.length;ev)throw TypeError(g);for(n=0;n=v)throw TypeError(g);u(l,h++,i)}return l.length=h,l}})},"9a1f":function(t,e,n){var r=n("825a"),o=n("35a1");t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},"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(a){throw o(t),a}}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(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"),a=n("d44e"),s=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,u,!1,!0),s[u]=c,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),a=n("c430"),s=n("83ab"),c=n("4930"),u=n("fdbf"),f=n("d039"),l=n("5135"),h=n("e8b5"),p=n("861d"),d=n("825a"),v=n("7b0b"),g=n("fc6a"),m=n("c04e"),y=n("5c6c"),w=n("7c73"),b=n("df75"),x=n("241c"),_=n("057f"),C=n("7418"),S=n("06cf"),A=n("9bf2"),O=n("d1e7"),k=n("9112"),E=n("6eeb"),I=n("5692"),L=n("f772"),T=n("d012"),j=n("90e3"),P=n("b622"),$=n("e538"),M=n("746f"),R=n("d44e"),N=n("69f3"),U=n("b727").forEach,F=L("hidden"),D="Symbol",B="prototype",H=P("toPrimitive"),W=N.set,X=N.getterFor(D),z=Object[B],Y=o.Symbol,G=i("JSON","stringify"),V=S.f,q=A.f,K=_.f,J=O.f,Q=I("symbols"),Z=I("op-symbols"),tt=I("string-to-symbol-registry"),et=I("symbol-to-string-registry"),nt=I("wks"),rt=o.QObject,ot=!rt||!rt[B]||!rt[B].findChild,it=s&&f((function(){return 7!=w(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=V(z,e);r&&delete z[e],q(t,e,n),r&&t!==z&&q(z,e,r)}:q,at=function(t,e){var n=Q[t]=w(Y[B]);return W(n,{type:D,tag:t,description:e}),s||(n.description=e),n},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Y},ct=function(t,e,n){t===z&&ct(Z,e,n),d(t);var r=m(e,!0);return d(n),l(Q,r)?(n.enumerable?(l(t,F)&&t[F][r]&&(t[F][r]=!1),n=w(n,{enumerable:y(0,!1)})):(l(t,F)||q(t,F,y(1,{})),t[F][r]=!0),it(t,r,n)):q(t,r,n)},ut=function(t,e){d(t);var n=g(e),r=b(n).concat(dt(n));return U(r,(function(e){s&&!lt.call(n,e)||ct(t,e,n[e])})),t},ft=function(t,e){return void 0===e?w(t):ut(w(t),e)},lt=function(t){var e=m(t,!0),n=J.call(this,e);return!(this===z&&l(Q,e)&&!l(Z,e))&&(!(n||!l(this,e)||!l(Q,e)||l(this,F)&&this[F][e])||n)},ht=function(t,e){var n=g(t),r=m(e,!0);if(n!==z||!l(Q,r)||l(Z,r)){var o=V(n,r);return!o||!l(Q,r)||l(n,F)&&n[F][r]||(o.enumerable=!0),o}},pt=function(t){var e=K(g(t)),n=[];return U(e,(function(t){l(Q,t)||l(T,t)||n.push(t)})),n},dt=function(t){var e=t===z,n=K(e?Z:g(t)),r=[];return U(n,(function(t){!l(Q,t)||e&&!l(z,t)||r.push(Q[t])})),r};if(c||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=j(t),n=function(t){this===z&&n.call(Z,t),l(this,F)&&l(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};return s&&ot&&it(z,e,{configurable:!0,set:n}),at(e,t)},E(Y[B],"toString",(function(){return X(this).tag})),E(Y,"withoutSetter",(function(t){return at(j(t),t)})),O.f=lt,A.f=ct,S.f=ht,x.f=_.f=pt,C.f=dt,$.f=function(t){return at(P(t),t)},s&&(q(Y[B],"description",{configurable:!0,get:function(){return X(this).description}}),a||E(z,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),U(b(nt),(function(t){M(t)})),r({target:D,stat:!0,forced:!c},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var n=Y(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:ft,defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),r({target:"Object",stat:!0,forced:f((function(){C.f(1)}))},{getOwnPropertySymbols:function(t){return C.f(v(t))}}),G){var vt=!c||f((function(){var t=Y();return"[null]"!=G([t])||"{}"!=G({a:t})||"{}"!=G(Object(t))}));r({target:"JSON",stat:!0,forced:vt},{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)&&!st(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),o[1]=e,G.apply(null,o)}})}Y[B][H]||k(Y[B],H,Y[B].valueOf),R(Y,D),T[F]=!0},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)}},a79d:function(t,e,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("fea9"),a=n("d039"),s=n("d066"),c=n("4840"),u=n("cdf9"),f=n("6eeb"),l=!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(t){var e=c(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype["finally"]||f(i.prototype,"finally",s("Promise").prototype["finally"])},a9e3:function(t,e,n){"use strict";var r=n("83ab"),o=n("da84"),i=n("94ca"),a=n("6eeb"),s=n("5135"),c=n("c6b6"),u=n("7156"),f=n("c04e"),l=n("d039"),h=n("7c73"),p=n("241c").f,d=n("06cf").f,v=n("9bf2").f,g=n("58a8").trim,m="Number",y=o[m],w=y.prototype,b=c(h(w))==m,x=function(t){var e,n,r,o,i,a,s,c,u=f(t,!1);if("string"==typeof u&&u.length>2)if(u=g(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(i=u.slice(2),a=i.length,s=0;so)return NaN;return parseInt(i,r)}return+u};if(i(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var _,C=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof C&&(b?l((function(){w.valueOf.call(n)})):c(n)!=m)?u(new y(x(e)),n,C):x(e)},S=r?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),A=0;S.length>A;A++)s(y,_=S[A])&&!s(C,_)&&v(C,_,d(y,_));C.prototype=w,w.constructor=C,a(o,m,C)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var r,o,i,a=n("e163"),s=n("9112"),c=n("5135"),u=n("b622"),f=n("c430"),l=u("iterator"),h=!1,p=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=a(a(i)),o!==Object.prototype&&(r=o)):h=!0),void 0==r&&(r={}),f||c(r,l)||s(r,l,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},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("9bf2").f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,o,i,a,s,c,u,f,l=n("da84"),h=n("06cf").f,p=n("2cf4").set,d=n("1cdc"),v=n("a4b4"),g=n("605d"),m=l.MutationObserver||l.WebKitMutationObserver,y=l.document,w=l.process,b=l.Promise,x=h(l,"queueMicrotask"),_=x&&x.value;_||(r=function(){var t,e;g&&(t=w.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},d||g||v||!m||!y?b&&b.resolve?(u=b.resolve(void 0),f=u.then,a=function(){f.call(u,r)}):a=g?function(){w.nextTick(r)}:function(){p.call(l,r)}:(s=!0,c=y.createTextNode(""),new m(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=_||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),u=o("wks"),f=r.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return i(u,t)||(s&&i(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},b678:function(t,e,n){!function(e,n){t.exports=n()}(window,(function(){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=6)}([function(t,e,n){var r=n(2);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(t.exports=r.locals)},function(t,e,n){"use strict";var r=n(0);n.n(r).a},function(t,e,n){(t.exports=n(3)(!1)).push([t.i,'\n.vue-cropper[data-v-6dae58fd] {\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n direction: ltr;\n touch-action: none;\n text-align: left;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");\n}\n.cropper-box[data-v-6dae58fd],\n.cropper-box-canvas[data-v-6dae58fd],\n.cropper-drag-box[data-v-6dae58fd],\n.cropper-crop-box[data-v-6dae58fd],\n.cropper-face[data-v-6dae58fd] {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n user-select: none;\n}\n.cropper-box-canvas img[data-v-6dae58fd] {\n position: relative;\n text-align: left;\n user-select: none;\n transform: none;\n max-width: none;\n max-height: none;\n}\n.cropper-box[data-v-6dae58fd] {\n overflow: hidden;\n}\n.cropper-move[data-v-6dae58fd] {\n cursor: move;\n}\n.cropper-crop[data-v-6dae58fd] {\n cursor: crosshair;\n}\n.cropper-modal[data-v-6dae58fd] {\n background: rgba(0, 0, 0, 0.5);\n}\n.cropper-crop-box[data-v-6dae58fd] {\n /*border: 2px solid #39f;*/\n}\n.cropper-view-box[data-v-6dae58fd] {\n display: block;\n overflow: hidden;\n width: 100%;\n height: 100%;\n outline: 1px solid #39f;\n outline-color: rgba(51, 153, 255, 0.75);\n user-select: none;\n}\n.cropper-view-box img[data-v-6dae58fd] {\n user-select: none;\n text-align: left;\n max-width: none;\n max-height: none;\n}\n.cropper-face[data-v-6dae58fd] {\n top: 0;\n left: 0;\n background-color: #fff;\n opacity: 0.1;\n}\n.crop-info[data-v-6dae58fd] {\n position: absolute;\n left: 0px;\n min-width: 65px;\n text-align: center;\n color: white;\n line-height: 20px;\n background-color: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n}\n.crop-line[data-v-6dae58fd] {\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.1;\n}\n.line-w[data-v-6dae58fd] {\n top: -3px;\n left: 0;\n height: 5px;\n cursor: n-resize;\n}\n.line-a[data-v-6dae58fd] {\n top: 0;\n left: -3px;\n width: 5px;\n cursor: w-resize;\n}\n.line-s[data-v-6dae58fd] {\n bottom: -3px;\n left: 0;\n height: 5px;\n cursor: s-resize;\n}\n.line-d[data-v-6dae58fd] {\n top: 0;\n right: -3px;\n width: 5px;\n cursor: e-resize;\n}\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 8px;\n height: 8px;\n opacity: 0.75;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -4px;\n left: -4px;\n cursor: nw-resize;\n}\n.point2[data-v-6dae58fd] {\n top: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: n-resize;\n}\n.point3[data-v-6dae58fd] {\n top: -4px;\n right: -4px;\n cursor: ne-resize;\n}\n.point4[data-v-6dae58fd] {\n top: 50%;\n left: -4px;\n margin-top: -3px;\n cursor: w-resize;\n}\n.point5[data-v-6dae58fd] {\n top: 50%;\n right: -4px;\n margin-top: -3px;\n cursor: e-resize;\n}\n.point6[data-v-6dae58fd] {\n bottom: -5px;\n left: -4px;\n cursor: sw-resize;\n}\n.point7[data-v-6dae58fd] {\n bottom: -5px;\n left: 50%;\n margin-left: -3px;\n cursor: s-resize;\n}\n.point8[data-v-6dae58fd] {\n bottom: -5px;\n right: -4px;\n cursor: se-resize;\n}\n@media screen and (max-width: 500px) {\n.crop-point[data-v-6dae58fd] {\n position: absolute;\n width: 20px;\n height: 20px;\n opacity: 0.45;\n background-color: #39f;\n border-radius: 100%;\n}\n.point1[data-v-6dae58fd] {\n top: -10px;\n left: -10px;\n}\n.point2[data-v-6dae58fd],\n .point4[data-v-6dae58fd],\n .point5[data-v-6dae58fd],\n .point7[data-v-6dae58fd] {\n display: none;\n}\n.point3[data-v-6dae58fd] {\n top: -10px;\n right: -10px;\n}\n.point4[data-v-6dae58fd] {\n top: 0;\n left: 0;\n}\n.point6[data-v-6dae58fd] {\n bottom: -10px;\n left: -10px;\n}\n.point8[data-v-6dae58fd] {\n bottom: -10px;\n right: -10px;\n}\n}\n',""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),i=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o=0&&c.splice(e,1)}function d(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){return n.nc}();r&&(t.attrs.nonce=r)}return v(e,t.attrs),h(t,e),e}function v(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function g(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=s++;n=a||(a=d(e)),r=y.bind(null,n,c,!1),o=y.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),h(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=u(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),o=function(){p(n),n.href&&URL.revokeObjectURL(n.href)}):(n=d(e),r=function(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){p(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=l(t,e);return f(n,e),function(t){for(var o=[],i=0;i=8&&(s=n+r))),s)for(l=f.getUint16(s,o),u=0;u21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){navigator.userAgent;var t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),n="",r=new RegExp(t,"i"),o=0;o=81)e=-1;else if(this.getVersion("safari")[0]>=605){var i=this.getVersion("version");i[0]>13&&i[1]>1&&(e=-1)}else{var a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){var s=a[1];((s=s.split("_"))[0]>13||s[0]>=13&&s[1]>=4)&&(e=-1)}}var c=document.createElement("canvas"),u=c.getContext("2d");switch(u.save(),e){case 2:c.width=n,c.height=r,u.translate(n,0),u.scale(-1,1);break;case 3:c.width=n,c.height=r,u.translate(n/2,r/2),u.rotate(180*Math.PI/180),u.translate(-n/2,-r/2);break;case 4:c.width=n,c.height=r,u.translate(0,r),u.scale(1,-1);break;case 5:c.height=n,c.width=r,u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:c.width=r,c.height=n,u.translate(r/2,n/2),u.rotate(90*Math.PI/180),u.translate(-n/2,-r/2);break;case 7:c.height=n,c.width=r,u.rotate(.5*Math.PI),u.translate(n,-r),u.scale(-1,1);break;case 8:c.height=n,c.width=r,u.translate(r/2,n/2),u.rotate(-90*Math.PI/180),u.translate(-n/2,-r/2);break;default:c.width=n,c.height=r}u.drawImage(t,0,0,n,r),u.restore(),c.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(o.imgs),o.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var n=e.width,r=e.height;i.getData(e).then((function(o){t.orientation=o.orientation||1;var i=Number(t.maxImgSize);!t.orientation&&ni&&(r=r/n*i,n=i),r>i&&(n=n/r*i,r=i),t.checkOrientationImage(e,t.orientation,n,r))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var n=new XMLHttpRequest;n.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},n.open("GET",this.img,!0),n.responseType="blob",n.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var n=this.scale,r=this.touches[0].clientX,o=this.touches[0].clientY,i=t.touches[0].clientX,a=t.touches[0].clientY,s=this.touches[1].clientX,c=this.touches[1].clientY,u=t.touches[1].clientX,f=t.touches[1].clientY,l=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-c,2)),h=Math.sqrt(Math.pow(i-u,2)+Math.pow(a-f,2))-l,p=1,d=(p=(p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth)>.1?.1:p)*h;if(!this.touchNow){if(this.touchNow=!0,h>0?n+=Math.abs(d):h<0&&n>Math.abs(d)&&(n-=Math.abs(d)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var n,r,o="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY;n=o-this.moveX,r=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,o,i,a,s=e.getImgAxis(n,r,e.scale),c=e.getCropAxis(),u=e.trueHeight*e.scale,f=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(u-f)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(f-u)/2,i=t-u+e.cropW,a=o-f+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,o=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-f+e.cropW,a=o-u+e.cropH}s.x1>=c.x1&&(n=t),s.y1>=c.y1&&(r=o),s.x2<=c.x2&&(n=i),s.y2<=c.y2&&(r=a)}e.x=n,e.y=r,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var n=this.scale,r=t.deltaY||t.wheelDelta;r=navigator.userAgent.indexOf("Firefox")>0?30*r:r,this.isIE&&(r=-r);var o=this.coe,i=(o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)*r;i<0?n+=Math.abs(i):n>Math.abs(i)&&(n-=Math.abs(i));var a=i<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,n))return!1;this.scale=n},changeScale:function(t){var e=this.scale;t=t||1;var n=20;if((t*=n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,r="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=n-e.cropX,o=r-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else o>0?(e.cropH=o+e.cropChangeY>e.h?e.h-e.cropChangeY:o,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(o)>e.h?e.cropChangeY:Math.abs(o),e.cropOffsertY=e.cropChangeY+o>0?e.cropChangeY+o:0)}))},changeCropSize:function(t,e,n,r,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=n,this.changeCropTypeX=r,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var n="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,r="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0,o=this.w,i=this.h,a=0,s=0;if(this.centerBox){var c=this.getImgAxis(),u=c.x2,f=c.y2;a=c.x1>0?c.x1:0,s=c.y1>0?c.y1:0,o>u&&(o=u),i>f&&(i=f)}this.$nextTick((function(){var t=n-e.cropX,c=r-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=o-e.cropChangeX-t<=o-a?e.cropOldW-t:e.cropOldW+e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX-t<=o-a?e.cropChangeX+t:a):(e.cropW=Math.abs(t)+e.cropChangeX<=o?Math.abs(t)-e.cropOldW:o-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=o?e.cropOldW+t:o-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?Math.abs(t+e.cropOldW):e.cropChangeX-a,e.cropOffsertX=o-e.cropChangeX+Math.abs(t+e.cropOldW)<=o-a?e.cropChangeX-Math.abs(t+e.cropOldW):a))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-s?e.cropOldH-c:e.cropOldH+e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY-c<=i-s?e.cropChangeY+c:s):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?Math.abs(c+e.cropOldH):e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?e.cropChangeY-Math.abs(c+e.cropOldH):s))),e.canChangeX&&e.fixed){var u=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];u+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=u}if(e.canChangeY&&e.fixed){var f=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];f+e.cropOffsertX>o?(e.cropW=o-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=f}}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,n,r="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=r-this.cropOffsertX,n=o-this.cropOffsertY,this.cropX=e,this.cropY=n,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var n=this,r=0,o=0;t&&(t.preventDefault(),r="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,a=r-n.cropX,s=o-n.cropY;if(e&&(a=n.cropOffsertX,s=n.cropOffsertY),t=a<=0?0:a+n.cropW>n.w?n.w-n.cropW:a,i=s<=0?0:s+n.cropH>n.h?n.h-n.cropH:s,n.centerBox){var c=n.getImgAxis();t<=c.x1&&(t=c.x1),t+n.cropW>c.x2&&(t=c.x2-n.cropW),i<=c.y1&&(i=c.y1),i+n.cropH>c.y2&&(i=c.y2-n.cropH)}n.cropOffsertX=t,n.cropOffsertY=i,n.$emit("cropMoving",{moving:!0,axis:n.getCropAxis()}),n.$emit("crop-moving",{moving:!0,axis:n.getCropAxis()})}))},getImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var r={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*n,i=this.trueHeight*n;switch(this.rotate){case 0:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n;break;case 1:case-1:case 3:case-3:r.x1=t+this.trueWidth*(1-n)/2+(o-i)/2,r.x2=r.x1+this.trueHeight*n,r.y1=e+this.trueHeight*(1-n)/2+(i-o)/2,r.y2=r.y1+this.trueWidth*n;break;default:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n}return r},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,n=document.createElement("canvas"),r=new Image,o=this.rotate,i=this.trueWidth,a=this.trueHeight,s=this.cropOffsertX,c=this.cropOffsertY;function u(t,e){n.width=Math.round(t),n.height=Math.round(e)}r.onload=function(){if(0!==e.cropW){var f=n.getContext("2d"),l=1;e.high&!e.full&&(l=window.devicePixelRatio),1!==e.enlarge&!e.full&&(l=Math.abs(Number(e.enlarge)));var h=e.cropW*l,p=e.cropH*l,d=i*e.scale*l,v=a*e.scale*l,g=(e.x-s+e.trueWidth*(1-e.scale)/2)*l,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*l;switch(u(h,p),f.save(),o){case 0:e.full?(u(h/e.scale,p/e.scale),f.drawImage(r,g/e.scale,m/e.scale,d/e.scale,v/e.scale)):f.drawImage(r,g,m,d,v);break;case 1:case-3:e.full?(u(h/e.scale,p/e.scale),g=g/e.scale+(d/e.scale-v/e.scale)/2,m=m/e.scale+(v/e.scale-d/e.scale)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,m,-g-v/e.scale,d/e.scale,v/e.scale)):(g+=(d-v)/2,m+=(v-d)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,m,-g-v,d,v));break;case 2:case-2:e.full?(u(h/e.scale,p/e.scale),f.rotate(90*o*Math.PI/180),g/=e.scale,m/=e.scale,f.drawImage(r,-g-d/e.scale,-m-v/e.scale,d/e.scale,v/e.scale)):(f.rotate(90*o*Math.PI/180),f.drawImage(r,-g-d,-m-v,d,v));break;case 3:case-1:e.full?(u(h/e.scale,p/e.scale),g=g/e.scale+(d/e.scale-v/e.scale)/2,m=m/e.scale+(v/e.scale-d/e.scale)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,-m-d/e.scale,g,d/e.scale,v/e.scale)):(g+=(d-v)/2,m+=(v-d)/2,f.rotate(90*o*Math.PI/180),f.drawImage(r,-m-d,g,d,v));break;default:e.full?(u(h/e.scale,p/e.scale),f.drawImage(r,g/e.scale,m/e.scale,d/e.scale,v/e.scale)):f.drawImage(r,g,m,d,v)}f.restore()}else{var y=i*e.scale,w=a*e.scale,b=n.getContext("2d");switch(b.save(),o){case 0:u(y,w),b.drawImage(r,0,0,y,w);break;case 1:case-3:u(w,y),b.rotate(90*o*Math.PI/180),b.drawImage(r,0,-w,y,w);break;case 2:case-2:u(y,w),b.rotate(90*o*Math.PI/180),b.drawImage(r,-y,-w,y,w);break;case 3:case-1:u(w,y),b.rotate(90*o*Math.PI/180),b.drawImage(r,-y,0,y,w);break;default:u(y,w),b.drawImage(r,0,0,y,w)}b.restore()}t(n)},"data"!==this.img.substr(0,4)&&(r.crossOrigin="Anonymous"),r.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(n){t(n.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(n){n.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,n=this.cropH,r=this.scale,o={};o.div={width:"".concat(e,"px"),height:"".concat(n,"px")};var i=(this.x-this.cropOffsertX)/r,a=(this.y-this.cropOffsertY)/r;o.w=e,o.h=n,o.url=this.imgs,o.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(r,")translate3d(").concat(i,"px, ").concat(a,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},o.html='\n
\n
\n \n
\n
'),this.$emit("realTime",o),this.$emit("real-time",o)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),n=this.mode.split(" ");switch(n[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)0,i=(o?this.trueHeight:this.trueWidth)*this.scale,a=(o?this.trueWidth:this.trueHeight)*this.scale;n=in?n:s,c=c>r?r:c,this.fixed&&(c=s/this.fixedNumber[0]*this.fixedNumber[1]),c>this.h&&(s=(c=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,c)}},changeCrop:function(t,e){var n=this;if(this.centerBox){var r=this.getImgAxis();t>r.x2-r.x1&&(e=(t=r.x2-r.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>r.y2-r.y1&&(t=(e=r.y2-r.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){n.cropOffsertX=(n.w-n.cropW)/2,n.cropOffsertY=(n.h-n.cropH)/2,n.centerBox&&n.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;var r=!0;if(this.centerBox){var o=this.getImgAxis(t,e,n),i=this.getCropAxis();o.x1>=i.x1&&(r=!1),o.x2<=i.x2&&(r=!1),o.y1>=i.y1&&(r=!1),o.y2<=i.y2&&(r=!1)}return r}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,n,r){for(var o=atob(this.toDataURL(n,r).split(",")[1]),i=o.length,a=new Uint8Array(i),s=0;sS;S++)if((p||S in x)&&(y=x[S],w=_(y,S,b),t))if(e)O[S]=w;else if(w)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:c.call(O,y)}else switch(t){case 4:return!1;case 7:c.call(O,y)}return l?-1:u||f?f:O}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},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__",a=r[i]||o(i,{});t.exports=a},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,a=n("d012");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},ccae:function(t,e,n){"use strict";function r(t){var e=n("8b26"),r=[],o=void 0,i=void 0,a=void 0,s=void 0;for(o in t)if("rect"===o||"circle"===o||"ellipse"===o||"polygon"===o||"line"===o||"path"===o){var c=!0,u=!1,f=void 0;try{for(var l,h=t[o][Symbol.iterator]();!(c=(l=h.next()).done);c=!0)i=l.value,r.push(e(i.$,o))}catch(C){u=!0,f=C}finally{try{!c&&h.return&&h.return()}finally{if(u)throw f}}}else if("g"===o){var p=!0,d=!1,v=void 0;try{for(var g,m=t[o][Symbol.iterator]();!(p=(g=m.next()).done);p=!0)for(i in a=g.value,a)if("rect"===o||"circle"===o||"ellipse"===o||"polygon"===o||"line"===o||"path"===o){var y=!0,w=!1,b=void 0;try{for(var x,_=a[i][Symbol.iterator]();!(y=(x=_.next()).done);y=!0)s=x.value,r.push(e(s.$,i))}catch(C){w=!0,b=C}finally{try{!y&&_.return&&_.return()}finally{if(w)throw b}}}}catch(C){d=!0,v=C}finally{try{!p&&m.return&&m.return()}finally{if(d)throw v}}}return r}t.exports={SVGtoArray:r}},cdf9:function(t,e,n){var r=n("825a"),o=n("861d"),i=n("f069");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),a=n.resolve;return a(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}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("428f"),o=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[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"),a=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("d039"),i=n("b622"),a=n("9263"),s=n("9112"),c=i("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")})),f=function(){return"$0"==="a".replace(/./,"$0")}(),l=i("replace"),h=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var d=i(t),v=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),g=v&&!o((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!v||!g||"replace"===t&&(!u||!f||h)||"split"===t&&!p){var m=/./[d],y=n(d,""[t],(function(t,e,n,r,o){return e.exec===a?v&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),w=y[0],b=y[1];r(String.prototype,t,w),r(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&s(RegExp.prototype[d],"sham",!0)}},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"))},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),u=s("toStringTag"),f=i.values;for(var l in o){var h=r[l],p=h&&h.prototype;if(p){if(p[c]!==f)try{a(p,c,f)}catch(v){p[c]=f}if(p[u]||a(p,u,l),o[l])for(var d in i)if(p[d]!==i[d])try{a(p,d,i[d])}catch(v){p[d]=i[d]}}}},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"),a=n("5135"),s=n("861d"),c=n("9bf2").f,u=n("e893"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};u(h,f);var p=h.prototype=f.prototype;p.constructor=h;var d=p.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;c(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=d.call(t);if(a(l,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),a=n("e177"),s=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c: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"),a=n("69f3"),s=n("7dd0"),c="Array Iterator",u=a.set,f=a.getterFor(c);t.exports=s(Array,"Array",(function(t,e){u(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=f(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")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e688:function(t,e,n){(function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){n(7),n(8),t.exports=n(9)},function(t,e,n){(function(e){(function(n){var r="function"===typeof e&&e||function(t){setTimeout(t,1)};function o(t,e){return function(){t.apply(e,arguments)}}var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function a(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],h(t,o(c,this),o(u,this))}function s(t){var e=this;null!==this._state?r((function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(o){return void t.reject(o)}t.resolve(r)}else(e._state?t.resolve:t.reject)(e._value)})):this._deferreds.push(t)}function c(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var e=t.then;if("function"===typeof e)return void h(o(e,t),o(c,this),o(u,this))}this._state=!0,this._value=t,f.call(this)}catch(n){u.call(this,n)}}function u(t){this._state=!1,this._value=t,f.call(this)}function f(){for(var t=0,e=this._deferreds.length;t=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(3),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(e,function(){return this}())},function(t,e,n){(function(t,e){(function(t,n){"use strict";if(!t.setImmediate){var r,o=1,i={},a=!1,s=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?p():d()?v():t.MessageChannel?g():s&&"onreadystatechange"in s.createElement("script")?m():y(),c.setImmediate=u,c.clearImmediate=f}function u(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n4?p:e+8,a=[],c=0;c4?p:e+8,b(t,i,h-1);case 3:if(1==h)return t.getUint16(e+8,!o);for(i=h>2?p:e+8,a=[],c=0;c1048576){var r=document.createElement("canvas");r.width=r.height=1;var o=r.getContext("2d");return o.drawImage(t,1-e,0),0===o.getImageData(0,0,1,1).data[3]}return!1}function i(t,e,n){var r=document.createElement("canvas");r.width=1,r.height=n;var o=r.getContext("2d");o.drawImage(t,0,0);var i=o.getImageData(0,0,1,n).data,a=0,s=n,c=n;while(c>a){var u=i[4*(c-1)+3];0===u?s=c:a=c,c=s+a>>1}var f=c/n;return 0===f?1:f}function a(t,e,n){var r=document.createElement("canvas");return s(t,r,e,n),r.toDataURL("image/jpeg",e.quality||.8)}function s(t,e,r,o){var a=t.naturalWidth,s=t.naturalHeight,u=r.width,f=r.height,l=e.getContext("2d");l.save(),c(e,l,u,f,r.orientation);var h=n(t);h&&(a/=2,s/=2);var p=1024,d=document.createElement("canvas");d.width=d.height=p;var v=d.getContext("2d"),g=o?i(t,a,s):1,m=Math.ceil(p*u/a),y=Math.ceil(p*f/s/g),w=0,b=0;while(wp&&(l=p,h=f*l/u<<0),d&&h>d&&(h=d,l=u*h/f<<0);var g={width:l,height:h};for(var m in e)g[m]=e[m];var y=t.tagName.toLowerCase();"img"===y?t.src=a(this.srcImage,g,v):"canvas"===y&&s(this.srcImage,t,g,v),"function"===typeof this.onrender&&this.onrender(t),n&&n()}},r=[],o=function(){return u}.apply(e,r),void 0===o||(t.exports=o)})()},function(t,e){function n(t){Math.round;var e,n,r,o,i,a=Math.floor,s=new Array(64),c=new Array(64),u=new Array(64),f=new Array(64),l=new Array(65535),h=new Array(65535),p=new Array(64),d=new Array(64),v=[],g=0,m=7,y=new Array(64),w=new Array(64),b=new Array(64),x=new Array(256),_=new Array(2048),C=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],S=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],A=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],L=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],T=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function j(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((e[n]*t+50)/100);r<1?r=1:r>255&&(r=255),s[C[n]]=r}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var l=a((o[i]*t+50)/100);l<1?l=1:l>255&&(l=255),c[C[i]]=l}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],p=0,d=0;d<8;d++)for(var v=0;v<8;v++)u[p]=1/(s[C[p]]*h[d]*h[v]*8),f[p]=1/(c[C[p]]*h[d]*h[v]*8),p++}function P(t,e){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=t[i];a++)o[e[r]]=[],o[e[r]][0]=n,o[e[r]][1]=i,r++,n++;n*=2}return o}function $(){e=P(S,A),n=P(E,I),r=P(O,k),o=P(L,T)}function M(){for(var t=1,e=2,n=1;n<=15;n++){for(var r=t;r>0]=38470*t,_[t+512>>0]=7471*t+32768,_[t+768>>0]=-11059*t,_[t+1024>>0]=-21709*t,_[t+1280>>0]=32768*t+8421375,_[t+1536>>0]=-27439*t,_[t+1792>>0]=-5329*t}function N(t){var e=t[0],n=t[1]-1;while(n>=0)e&1<>8&255),U(255&t)}function D(t,e){var n,r,o,i,a,s,c,u,f,l=0;const h=8,d=64;for(f=0;f0?Z+.5|0:Z-.5|0;return p}function B(){F(65504),F(16),U(74),U(70),U(73),U(70),U(0),U(1),U(1),U(0),F(1),F(1),U(0),U(0)}function H(t,e){F(65472),F(17),U(8),F(e),F(t),U(3),U(1),U(17),U(0),U(2),U(17),U(1),U(3),U(17),U(1)}function W(){F(65499),F(132),U(0);for(var t=0;t<64;t++)U(s[t]);U(1);for(var e=0;e<64;e++)U(c[e])}function X(){F(65476),F(418),U(0);for(var t=0;t<16;t++)U(S[t+1]);for(var e=0;e<=11;e++)U(A[e]);U(16);for(var n=0;n<16;n++)U(O[n+1]);for(var r=0;r<=161;r++)U(k[r]);U(1);for(var o=0;o<16;o++)U(E[o+1]);for(var i=0;i<=11;i++)U(I[i]);U(17);for(var a=0;a<16;a++)U(L[a+1]);for(var s=0;s<=161;s++)U(T[s])}function z(){F(65498),F(12),U(3),U(1),U(0),U(2),U(17),U(3),U(17),U(0),U(63),U(0)}function Y(t,e,n,r,o){var i,a=o[0],s=o[240];const c=16,u=63,f=64;for(var p=D(t,e),v=0;v0&&0==d[m];m--);if(0==m)return N(a),n;var y,w=1;while(w<=m){for(var b=w;0==d[w]&&w<=m;++w);var x=w-b;if(x>=c){y=x>>4;for(var _=1;_<=y;++_)N(s);x&=15}i=32767+d[w],N(o[(x<<4)+h[i]]),N(l[i]),w++}return m!=u&&N(a),n}function G(){for(var t=String.fromCharCode,e=0;e<256;e++)x[e]=t(e)}function V(t){if(t<=0&&(t=1),t>100&&(t=100),i!=t){var e=0;e=t<50?Math.floor(5e3/t):Math.floor(200-2*t),j(e),i=t}}function q(){var e=(new Date).getTime();t||(t=50),G(),$(),M(),R(),V(t);(new Date).getTime()}this.encode=function(t,i,a){var s=(new Date).getTime();i&&V(i),v=new Array,g=0,m=7,F(65496),B(),W(),H(t.width,t.height),X(),z();var c=0,l=0,h=0;g=0,m=7,this.encode.displayName="_encode_";var p,d,x,C,S,A,O,k,E,I=t.data,L=t.width,T=t.height,j=4*L,P=0;while(P>3,O=4*(7&E),A=S+k*j+O,P+k>=T&&(A-=j*(P+1+k-T)),p+O>=j&&(A-=p+O-j+4),d=I[A++],x=I[A++],C=I[A++],y[E]=(_[d]+_[x+256>>0]+_[C+512>>0]>>16)-128,w[E]=(_[d+768>>0]+_[x+1024>>0]+_[C+1280>>0]>>16)-128,b[E]=(_[d+1280>>0]+_[x+1536>>0]+_[C+1792>>0]>>16)-128;c=Y(y,u,c,e,r),l=Y(w,f,l,n,o),h=Y(b,f,h,n,o),p+=32}P+=8}if(m>=0){var $=[];$[1]=m+1,$[0]=(1<=13,oldAndroid:!!n&&+n.pop().substr(0,3)<4.5,iOS:/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(t),android:/Android/g.test(t),mQQBrowser:/MQQBrowser/g.test(t)}}(navigator.userAgent);function s(t,e){var n=this;if(!t)throw new Error("没有收到图片,可能的解决方案:https://github.com/think2011/localResizeIMG/issues/7");for(var r in e=e||{},n.defaults={width:null,height:null,fieldName:"file",ingnoreOrientation:!a.iOS||a.newIOS,quality:.7},n.file=t,e)e.hasOwnProperty(r)&&(n.defaults[r]=e[r]);return this.init()}function c(t){var e=null;return e=t?[].filter.call(document.scripts,(function(e){return-1!==e.src.indexOf(t)}))[0]:document.scripts[document.scripts.length-1],e?e.src.substr(0,e.src.lastIndexOf("/")):null}function u(t){var e;e=t.split(",")[0].indexOf("base64")>=0?atob(t.split(",")[1]):unescape(t.split(",")[1]);for(var n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(e.length),i=0;it.file.size?(i=new FormData,e=t.file):(i=new o.FormData,e=u(r)),i.append(t.defaults.fieldName,e,t.fileName.replace(/\..+/g,".jpg")),n({formData:i,fileLen:+e.size,base64:r,base64Len:r.length,origin:t.file,file:e}),t)t.hasOwnProperty(a)&&(t[a]=null);URL.revokeObjectURL(t.blob)}))},!i&&(a.crossOrigin="*"),a.src=c}))},s.prototype._getBase64=function(){var t=this,e=t.img,n=t.file,o=t.canvas;return new r((function(r){try{i.getData("object"===typeof n?n:e,(function(){t.orientation=t.defaults.ingnoreOrientation?0:i.getTag(this,"Orientation"),t.resize=t._getResize(),t.ctx=o.getContext("2d"),o.width=t.resize.width,o.height=t.resize.height,t.ctx.fillStyle="#fff",t.ctx.fillRect(0,0,o.width,o.height),a.oldIOS?t._createBase64ForOldIOS().then(r):t._createBase64().then(r)}))}catch(s){throw new Error(s)}}))},s.prototype._createBase64ForOldIOS=function(){var t=this,e=t.img,o=t.canvas,i=t.defaults,a=t.orientation;return new r((function(t){!function(){var r=[n(7)];(function(n){var r=new n(e);"5678".indexOf(a)>-1?r.render(o,{width:o.height,height:o.width,orientation:a}):r.render(o,{width:o.width,height:o.height,orientation:a}),t(o.toDataURL("image/jpeg",i.quality))}).apply(null,r)}()}))},s.prototype._createBase64=function(){var t=this,e=t.resize,o=t.img,i=t.canvas,s=t.ctx,c=t.defaults,u=t.orientation;switch(u){case 3:s.rotate(180*Math.PI/180),s.drawImage(o,-e.width,-e.height,e.width,e.height);break;case 6:s.rotate(90*Math.PI/180),s.drawImage(o,0,-e.width,e.height,e.width);break;case 8:s.rotate(270*Math.PI/180),s.drawImage(o,-e.height,0,e.height,e.width);break;case 2:s.translate(e.width,0),s.scale(-1,1),s.drawImage(o,0,0,e.width,e.height);break;case 4:s.translate(e.width,0),s.scale(-1,1),s.rotate(180*Math.PI/180),s.drawImage(o,-e.width,-e.height,e.width,e.height);break;case 5:s.translate(e.width,0),s.scale(-1,1),s.rotate(90*Math.PI/180),s.drawImage(o,0,-e.width,e.height,e.width);break;case 7:s.translate(e.width,0),s.scale(-1,1),s.rotate(270*Math.PI/180),s.drawImage(o,-e.height,0,e.height,e.width);break;default:s.drawImage(o,0,0,e.width,e.height)}return new r((function(t){a.oldAndroid||a.mQQBrowser||!navigator.userAgent?function(){var e=[n(8)];(function(e){var n=new e,r=s.getImageData(0,0,i.width,i.height);t(n.encode(r,100*c.quality))}).apply(null,e)}():t(i.toDataURL("image/jpeg",c.quality))}))},s.prototype._getResize=function(){var t=this,e=t.img,n=t.defaults,r=n.width,o=n.height,i=t.orientation,a={width:e.width,height:e.height};if("5678".indexOf(i)>-1&&(a.width=e.height,a.height=e.width),a.width=r/o?a.width>r&&(a.width=r,a.height=Math.ceil(r/s)):a.height>o&&(a.height=o,a.width=Math.ceil(o*s)):r?r=3264||a.height>=2448)a.width*=.8,a.height*=.8;return a},window.lrz=function(t,e){return new s(t,e)},window.lrz.version="__packageJSON.version__",t.exports=window.lrz}])}))},e6cf:function(t,e,n){"use strict";var r,o,i,a,s=n("23e7"),c=n("c430"),u=n("da84"),f=n("d066"),l=n("fea9"),h=n("6eeb"),p=n("e2cc"),d=n("d44e"),v=n("2626"),g=n("861d"),m=n("1c0b"),y=n("19aa"),w=n("8925"),b=n("2266"),x=n("1c7e"),_=n("4840"),C=n("2cf4").set,S=n("b575"),A=n("cdf9"),O=n("44de"),k=n("f069"),E=n("e667"),I=n("69f3"),L=n("94ca"),T=n("b622"),j=n("605d"),P=n("2d00"),$=T("species"),M="Promise",R=I.get,N=I.set,U=I.getterFor(M),F=l,D=u.TypeError,B=u.document,H=u.process,W=f("fetch"),X=k.f,z=X,Y=!!(B&&B.createEvent&&u.dispatchEvent),G="function"==typeof PromiseRejectionEvent,V="unhandledrejection",q="rejectionhandled",K=0,J=1,Q=2,Z=1,tt=2,et=L(M,(function(){var t=w(F)!==String(F);if(!t){if(66===P)return!0;if(!j&&!G)return!0}if(c&&!F.prototype["finally"])return!0;if(P>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))},r=e.constructor={};return r[$]=n,!(e.then((function(){}))instanceof n)})),nt=et||!x((function(t){F.all(t)["catch"]((function(){}))})),rt=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;S((function(){var r=t.value,o=t.state==J,i=0;while(n.length>i){var a,s,c,u=n[i++],f=o?u.ok:u.fail,l=u.resolve,h=u.reject,p=u.domain;try{f?(o||(t.rejection===tt&&ct(t),t.rejection=Z),!0===f?a=r:(p&&p.enter(),a=f(r),p&&(p.exit(),c=!0)),a===u.promise?h(D("Promise-chain cycle")):(s=rt(a))?s.call(a,l,h):l(a)):h(r)}catch(d){p&&!c&&p.exit(),h(d)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&at(t)}))}},it=function(t,e,n){var r,o;Y?(r=B.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!G&&(o=u["on"+t])?o(r):t===V&&O("Unhandled promise rejection",n)},at=function(t){C.call(u,(function(){var e,n=t.facade,r=t.value,o=st(t);if(o&&(e=E((function(){j?H.emit("unhandledRejection",r,n):it(V,n,r)})),t.rejection=j||st(t)?tt:Z,e.error))throw e.value}))},st=function(t){return t.rejection!==Z&&!t.parent},ct=function(t){C.call(u,(function(){var e=t.facade;j?H.emit("rejectionHandled",e):it(q,e,t.value)}))},ut=function(t,e,n){return function(r){t(e,r,n)}},ft=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=Q,ot(t,!0))},lt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw D("Promise can't be resolved itself");var r=rt(e);r?S((function(){var n={done:!1};try{r.call(e,ut(lt,n,t),ut(ft,n,t))}catch(o){ft(n,o,t)}})):(t.value=e,t.state=J,ot(t,!1))}catch(o){ft({done:!1},o,t)}}};et&&(F=function(t){y(this,F,M),m(t),r.call(this);var e=R(this);try{t(ut(lt,e),ut(ft,e))}catch(n){ft(e,n)}},r=function(t){N(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(F.prototype,{then:function(t,e){var n=U(this),r=X(_(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=j?H.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ot(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=ut(lt,e),this.reject=ut(ft,e)},k.f=X=function(t){return t===F||t===i?new o(t):z(t)},c||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(F,W.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:et},{Promise:F}),d(F,M,!1,!0),v(M),i=f(M),s({target:M,stat:!0,forced:et},{reject:function(t){var e=X(this);return e.reject.call(void 0,t),e.promise}}),s({target:M,stat:!0,forced:c||et},{resolve:function(t){return A(c&&this===i?F:this,t)}}),s({target:M,stat:!0,forced:nt},{all:function(t){var e=this,n=X(e),r=n.resolve,o=n.reject,i=E((function(){var n=m(e.resolve),i=[],a=0,s=1;b(t,(function(t){var c=a++,u=!1;i.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,i[c]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=X(e),r=n.reject,o=E((function(){var o=m(e.resolve);b(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=o(e),s=a.f,c=i.f,u=0;u /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","/*!\n * Vue.js v2.6.12\n * (c) 2014-2020 Evan You\n * Released under the MIT License.\n */\n/* */\n\nvar emptyObject = Object.freeze({});\n\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef (v) {\n return v === undefined || v === null\n}\n\nfunction isDef (v) {\n return v !== undefined && v !== null\n}\n\nfunction isTrue (v) {\n return v === true\n}\n\nfunction isFalse (v) {\n return v === false\n}\n\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive (value) {\n return (\n typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean'\n )\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\n\nfunction toRawType (value) {\n return _toString.call(value).slice(8, -1)\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject (obj) {\n return _toString.call(obj) === '[object Object]'\n}\n\nfunction isRegExp (v) {\n return _toString.call(v) === '[object RegExp]'\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex (val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val)\n}\n\nfunction isPromise (val) {\n return (\n isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function'\n )\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString (val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val)\n}\n\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber (val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap (\n str,\n expectsLowerCase\n) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase\n ? function (val) { return map[val.toLowerCase()]; }\n : function (val) { return map[val]; }\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array.\n */\nfunction remove (arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1)\n }\n }\n}\n\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn (obj, key) {\n return hasOwnProperty.call(obj, key)\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached (fn) {\n var cache = Object.create(null);\n return (function cachedFn (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str))\n })\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n});\n\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase()\n});\n\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind (fn, ctx) {\n function boundFn (a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx)\n }\n\n boundFn._length = fn.length;\n return boundFn\n}\n\nfunction nativeBind (fn, ctx) {\n return fn.bind(ctx)\n}\n\nvar bind = Function.prototype.bind\n ? nativeBind\n : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray (list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend (to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject (arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res\n}\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop (a, b, c) {}\n\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual (a, b) {\n if (a === b) { return true }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i])\n })\n } else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime()\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key])\n })\n } else {\n /* istanbul ignore next */\n return false\n }\n } catch (e) {\n /* istanbul ignore next */\n return false\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b)\n } else {\n return false\n }\n}\n\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf (arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val)) { return i }\n }\n return -1\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once (fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\n\nvar ASSET_TYPES = [\n 'component',\n 'directive',\n 'filter'\n];\n\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch'\n];\n\n/* */\n\n\n\nvar config = ({\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to record perf\n */\n performance: false,\n\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n});\n\n/* */\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved (str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5F\n}\n\n/**\n * Define a property.\n */\nfunction def (obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp((\"[^\" + (unicodeRegExp.source) + \".$_\\\\d]\"));\nfunction parsePath (path) {\n if (bailRE.test(path)) {\n return\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj) { return }\n obj = obj[segments[i]];\n }\n return obj\n }\n}\n\n/* */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\nvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\nvar isPhantomJS = UA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n\n// Firefox has a \"watch\" function on Object.prototype...\nvar nativeWatch = ({}).watch;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n })); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\nvar _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /*@__PURE__*/(function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\nvar warn = noop;\nvar tip = noop;\nvar generateComponentTrace = (noop); // work around flow check\nvar formatComponentName = (noop);\n\nif (process.env.NODE_ENV !== 'production') {\n var hasConsole = typeof console !== 'undefined';\n var classifyRE = /(?:^|[-_])(\\w)/g;\n var classify = function (str) { return str\n .replace(classifyRE, function (c) { return c.toUpperCase(); })\n .replace(/[-_]/g, ''); };\n\n warn = function (msg, vm) {\n var trace = vm ? generateComponentTrace(vm) : '';\n\n if (config.warnHandler) {\n config.warnHandler.call(null, msg, vm, trace);\n } else if (hasConsole && (!config.silent)) {\n console.error((\"[Vue warn]: \" + msg + trace));\n }\n };\n\n tip = function (msg, vm) {\n if (hasConsole && (!config.silent)) {\n console.warn(\"[Vue tip]: \" + msg + (\n vm ? generateComponentTrace(vm) : ''\n ));\n }\n };\n\n formatComponentName = function (vm, includeFile) {\n if (vm.$root === vm) {\n return ''\n }\n var options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm;\n var name = options.name || options._componentTag;\n var file = options.__file;\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n name = match && match[1];\n }\n\n return (\n (name ? (\"<\" + (classify(name)) + \">\") : \"\") +\n (file && includeFile !== false ? (\" at \" + file) : '')\n )\n };\n\n var repeat = function (str, n) {\n var res = '';\n while (n) {\n if (n % 2 === 1) { res += str; }\n if (n > 1) { str += str; }\n n >>= 1;\n }\n return res\n };\n\n generateComponentTrace = function (vm) {\n if (vm._isVue && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n while (vm) {\n if (tree.length > 0) {\n var last = tree[tree.length - 1];\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent;\n continue\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n tree.push(vm);\n vm = vm.$parent;\n }\n return '\\n\\nfound in\\n\\n' + tree\n .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (target) {\n targetStack.push(target);\n Dep.target = target;\n}\n\nfunction popTarget () {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions,\n asyncFactory\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n};\n\nvar prototypeAccessors = { child: { configurable: true } };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function (text) {\n if ( text === void 0 ) text = '';\n\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(),\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions,\n vnode.asyncFactory\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\n\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\n\nfunction toggleObserving (value) {\n shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n if (hasProto) {\n protoAugment(value, arrayMethods);\n } else {\n copyAugment(value, arrayMethods, arrayKeys);\n }\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment a target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment a target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value) || value instanceof VNode) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n shouldObserve &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter,\n shallow\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) && arguments.length === 2) {\n val = obj[key];\n }\n\n var childOb = !shallow && observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n // #7981: for accessor properties without setter\n if (getter && !setter) { return }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n\n var keys = hasSymbol\n ? Reflect.ownKeys(from)\n : Object.keys(from);\n\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n // in case the object is already observed...\n if (key === '__ob__') { continue }\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (\n toVal !== fromVal &&\n isPlainObject(toVal) &&\n isPlainObject(fromVal)\n ) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n )\n }\n } else {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm, vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm, vm)\n : parentVal;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n}\n\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n if (childVal && typeof childVal !== 'function') {\n process.env.NODE_ENV !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n\n return parentVal\n }\n return mergeDataOrFn(parentVal, childVal)\n }\n\n return mergeDataOrFn(parentVal, childVal, vm)\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n var res = childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal;\n return res\n ? dedupeHooks(res)\n : res\n}\n\nfunction dedupeHooks (hooks) {\n var res = [];\n for (var i = 0; i < hooks.length; i++) {\n if (res.indexOf(hooks[i]) === -1) {\n res.push(hooks[i]);\n }\n }\n return res\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (\n parentVal,\n childVal,\n vm,\n key\n) {\n var res = Object.create(parentVal || null);\n if (childVal) {\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n return extend(res, childVal)\n } else {\n return res\n }\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n if (childVal && process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n if (childVal) { extend(ret, childVal); }\n return ret\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n validateComponentName(key);\n }\n}\n\nfunction validateComponentName (name) {\n if (!new RegExp((\"^[a-zA-Z][\\\\-\\\\.0-9_\" + (unicodeRegExp.source) + \"]*$\")).test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n 'should conform to valid custom element name in html5 specification.'\n );\n }\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + name\n );\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options, vm) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (process.env.NODE_ENV !== 'production') {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(props)) + \".\",\n vm\n );\n }\n options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject (options, vm) {\n var inject = options.inject;\n if (!inject) { return }\n var normalized = options.inject = {};\n if (Array.isArray(inject)) {\n for (var i = 0; i < inject.length; i++) {\n normalized[inject[i]] = { from: inject[i] };\n }\n } else if (isPlainObject(inject)) {\n for (var key in inject) {\n var val = inject[key];\n normalized[key] = isPlainObject(val)\n ? extend({ from: key }, val)\n : { from: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(inject)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def$$1 = dirs[key];\n if (typeof def$$1 === 'function') {\n dirs[key] = { bind: def$$1, update: def$$1 };\n }\n }\n }\n}\n\nfunction assertObjectType (name, value, vm) {\n if (!isPlainObject(value)) {\n warn(\n \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n \"but got \" + (toRawType(value)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (process.env.NODE_ENV !== 'production') {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child, vm);\n normalizeInject(child, vm);\n normalizeDirectives(child);\n\n // Apply extends and mixins on the child options,\n // but only if it is a raw options object that isn't\n // the result of another mergeOptions call.\n // Only merged options has the _base property.\n if (!child._base) {\n if (child.extends) {\n parent = mergeOptions(parent, child.extends, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n }\n\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\n\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // boolean casting\n var booleanIndex = getTypeIndex(Boolean, prop.type);\n if (booleanIndex > -1) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (value === '' || value === hyphenate(key)) {\n // only cast empty string / same name to boolean if\n // boolean has higher priority\n var stringIndex = getTypeIndex(String, prop.type);\n if (stringIndex < 0 || booleanIndex < stringIndex) {\n value = true;\n }\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldObserve = shouldObserve;\n toggleObserving(true);\n observe(value);\n toggleObserving(prevShouldObserve);\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n // skip validation for weex recycle-list child component props\n !(false)\n ) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n\n if (!valid) {\n warn(\n getInvalidTypeMessage(name, value, expectedTypes),\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n var t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isSameType (a, b) {\n return getType(a) === getType(b)\n}\n\nfunction getTypeIndex (type, expectedTypes) {\n if (!Array.isArray(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1\n }\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\n if (isSameType(expectedTypes[i], type)) {\n return i\n }\n }\n return -1\n}\n\nfunction getInvalidTypeMessage (name, value, expectedTypes) {\n var message = \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n \" Expected \" + (expectedTypes.map(capitalize).join(', '));\n var expectedType = expectedTypes[0];\n var receivedType = toRawType(value);\n var expectedValue = styleValue(value, expectedType);\n var receivedValue = styleValue(value, receivedType);\n // check if we need to specify expected value\n if (expectedTypes.length === 1 &&\n isExplicable(expectedType) &&\n !isBoolean(expectedType, receivedType)) {\n message += \" with value \" + expectedValue;\n }\n message += \", got \" + receivedType + \" \";\n // check if we need to specify received value\n if (isExplicable(receivedType)) {\n message += \"with value \" + receivedValue + \".\";\n }\n return message\n}\n\nfunction styleValue (value, type) {\n if (type === 'String') {\n return (\"\\\"\" + value + \"\\\"\")\n } else if (type === 'Number') {\n return (\"\" + (Number(value)))\n } else {\n return (\"\" + value)\n }\n}\n\nfunction isExplicable (value) {\n var explicitTypes = ['string', 'number', 'boolean'];\n return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })\n}\n\nfunction isBoolean () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n // See: https://github.com/vuejs/vuex/issues/1505\n pushTarget();\n try {\n if (vm) {\n var cur = vm;\n while ((cur = cur.$parent)) {\n var hooks = cur.$options.errorCaptured;\n if (hooks) {\n for (var i = 0; i < hooks.length; i++) {\n try {\n var capture = hooks[i].call(cur, err, vm, info) === false;\n if (capture) { return }\n } catch (e) {\n globalHandleError(e, cur, 'errorCaptured hook');\n }\n }\n }\n }\n }\n globalHandleError(err, vm, info);\n } finally {\n popTarget();\n }\n}\n\nfunction invokeWithErrorHandling (\n handler,\n context,\n args,\n vm,\n info\n) {\n var res;\n try {\n res = args ? handler.apply(context, args) : handler.call(context);\n if (res && !res._isVue && isPromise(res) && !res._handled) {\n res.catch(function (e) { return handleError(e, vm, info + \" (Promise/async)\"); });\n // issue #9511\n // avoid catch triggering multiple times when nested calls\n res._handled = true;\n }\n } catch (e) {\n handleError(e, vm, info);\n }\n return res\n}\n\nfunction globalHandleError (err, vm, info) {\n if (config.errorHandler) {\n try {\n return config.errorHandler.call(null, err, vm, info)\n } catch (e) {\n // if the user intentionally throws the original error in the handler,\n // do not log it twice\n if (e !== err) {\n logError(e, null, 'config.errorHandler');\n }\n }\n }\n logError(err, vm, info);\n}\n\nfunction logError (err, vm, info) {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n}\n\n/* */\n\nvar isUsingMicroTask = false;\n\nvar callbacks = [];\nvar pending = false;\n\nfunction flushCallbacks () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n}\n\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nvar timerFunc;\n\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n timerFunc = function () {\n p.then(flushCallbacks);\n // In problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n isUsingMicroTask = true;\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n)) {\n // Use MutationObserver where native Promise is not available,\n // e.g. PhantomJS, iOS7, Android 4.4\n // (#6466 MutationObserver is unreliable in IE11)\n var counter = 1;\n var observer = new MutationObserver(flushCallbacks);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n isUsingMicroTask = true;\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n // Fallback to setImmediate.\n // Technically it leverages the (macro) task queue,\n // but it is still a better choice than setTimeout.\n timerFunc = function () {\n setImmediate(flushCallbacks);\n };\n} else {\n // Fallback to setTimeout.\n timerFunc = function () {\n setTimeout(flushCallbacks, 0);\n };\n}\n\nfunction nextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (process.env.NODE_ENV !== 'production') {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n target\n );\n };\n\n var warnReservedPrefix = function (target, key) {\n warn(\n \"Property \\\"\" + key + \"\\\" must be accessed with \\\"$data.\" + key + \"\\\" because \" +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n 'prevent conflicts with Vue internals. ' +\n 'See: https://vuejs.org/v2/api/#data',\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' && isNative(Proxy);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) ||\n (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));\n if (!has && !isAllowed) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse (val) {\n _traverse(val, seenObjects);\n seenObjects.clear();\n}\n\nfunction _traverse (val, seen) {\n var i, keys;\n var isA = Array.isArray(val);\n if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n return\n }\n if (val.__ob__) {\n var depId = val.__ob__.dep.id;\n if (seen.has(depId)) {\n return\n }\n seen.add(depId);\n }\n if (isA) {\n i = val.length;\n while (i--) { _traverse(val[i], seen); }\n } else {\n keys = Object.keys(val);\n i = keys.length;\n while (i--) { _traverse(val[keys[i]], seen); }\n }\n}\n\nvar mark;\nvar measure;\n\nif (process.env.NODE_ENV !== 'production') {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n // perf.clearMeasures(name)\n };\n }\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns, vm) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments$1, vm, \"v-on handler\");\n }\n } else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\")\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n createOnceHandler,\n vm\n) {\n var name, def$$1, cur, old, event;\n for (name in on) {\n def$$1 = cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.