forked from MarSeventh/CloudFlare-ImgBed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
244.6a0448bd.js.map
1 lines (1 loc) · 75.8 KB
/
244.6a0448bd.js.map
1
{"version":3,"file":"js/244.6a0448bd.js","mappings":"4LAAC,SAASA,EAAEC,GAAqDC,EAAOC,QAAQF,GAAiI,CAAhN,CAAkNG,GAAM,WAAW,OAAO,SAASJ,GAAG,IAAIC,EAAE,CAAC,EAAE,SAASI,EAAEC,GAAG,GAAGL,EAAEK,GAAG,OAAOL,EAAEK,GAAGH,QAAQ,IAAII,EAAEN,EAAEK,GAAG,CAACE,EAAEF,EAAEG,GAAE,EAAGN,QAAQ,CAAC,GAAG,OAAOH,EAAEM,GAAGI,KAAKH,EAAEJ,QAAQI,EAAEA,EAAEJ,QAAQE,GAAGE,EAAEE,GAAE,EAAGF,EAAEJ,OAAO,CAAC,OAAOE,EAAEM,EAAEX,EAAEK,EAAEO,EAAEX,EAAEI,EAAEQ,EAAE,SAASb,EAAEC,EAAEK,GAAGD,EAAEE,EAAEP,EAAEC,IAAIa,OAAOC,eAAef,EAAEC,EAAE,CAACe,YAAW,EAAGC,IAAIX,GAAG,EAAED,EAAEC,EAAE,SAASN,GAAG,oBAAoBkB,QAAQA,OAAOC,aAAaL,OAAOC,eAAef,EAAEkB,OAAOC,YAAY,CAACC,MAAM,WAAWN,OAAOC,eAAef,EAAE,aAAa,CAACoB,OAAM,GAAI,EAAEf,EAAEL,EAAE,SAASA,EAAEC,GAAG,GAAG,EAAEA,IAAID,EAAEK,EAAEL,IAAI,EAAEC,EAAE,OAAOD,EAAE,GAAG,EAAEC,GAAG,iBAAiBD,GAAGA,GAAGA,EAAEqB,WAAW,OAAOrB,EAAE,IAAIM,EAAEQ,OAAOQ,OAAO,MAAM,GAAGjB,EAAEC,EAAEA,GAAGQ,OAAOC,eAAeT,EAAE,UAAU,CAACU,YAAW,EAAGI,MAAMpB,IAAI,EAAEC,GAAG,iBAAiBD,EAAE,IAAI,IAAIO,K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,SAAS,CACtC,GACA7S,KAAK4S,aACC5S,KAAK2S,YAAYO,uBAAuBQ,OAAgD,GAAvC1T,KAAK2S,YAAYO,YAAYpQ,QAEvFiQ,EAAIxP,IAAMvD,KAAK2S,WAAWO,YAAY,GACtCH,EAAI3P,OAAS,KACX2P,EAAI5L,MAAMmM,QAAUtT,KAAK6S,SAAS,IAIpCE,EAAIxP,IAAM,4DACVwP,EAAI3P,OAAS,KACX2P,EAAI5L,MAAMmM,QAAUtT,KAAK6S,SAAS,EAGxC,EACAc,WAAY,CACVC,WAAU,EACVC,OAAM,GAER5G,QAAS,CACP,YAAAkF,GACEnS,KAAKuO,QAAQrB,KAAK,aACpB,EACA,aAAAgF,GACElS,KAAKwS,eAAgB,CACvB,EACA,kBAAAP,GACEjS,KAAKyJ,aAAqC,SAAtBzJ,KAAKyJ,aAA0B,QAAU,MAC/D,EACA,YAAA2I,GACE,WAAe,YACfpS,KAAKuO,QAAQrB,KAAK,UAClBlN,KAAKqO,SAASyF,QAAQ,SACxB,IC/FJ,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://sanyue_imghub/./node_modules/image-conversion/build/conversion.js","webpack://sanyue_imghub/./node_modules/image-conversion/index.js","webpack://sanyue_imghub/./src/components/Footer.vue","webpack://sanyue_imghub/./src/components/Footer.vue?d468","webpack://sanyue_imghub/./src/components/UploadForm.vue?6aed","webpack://sanyue_imghub/./src/components/UploadForm.vue","webpack://sanyue_imghub/./src/components/UploadForm.vue?0da8","webpack://sanyue_imghub/./src/views/UploadHome.vue?790b","webpack://sanyue_imghub/./src/views/UploadHome.vue","webpack://sanyue_imghub/./src/views/UploadHome.vue?af00"],"sourcesContent":["!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.imageConversion=e():t.imageConversion=e()}(this,(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=0)}([function(t,e,n){\"use strict\";var r;function o(t){return[\"image/png\",\"image/jpeg\",\"image/gif\"].some(e=>e===t)}n.r(e),n.d(e,\"canvastoDataURL\",(function(){return a})),n.d(e,\"canvastoFile\",(function(){return c})),n.d(e,\"dataURLtoFile\",(function(){return s})),n.d(e,\"dataURLtoImage\",(function(){return l})),n.d(e,\"downloadFile\",(function(){return d})),n.d(e,\"filetoDataURL\",(function(){return f})),n.d(e,\"imagetoCanvas\",(function(){return g})),n.d(e,\"urltoBlob\",(function(){return w})),n.d(e,\"urltoImage\",(function(){return m})),n.d(e,\"compress\",(function(){return p})),n.d(e,\"compressAccurately\",(function(){return b})),n.d(e,\"EImageType\",(function(){return r})),function(t){t.PNG=\"image/png\",t.JPEG=\"image/jpeg\",t.GIF=\"image/gif\"}(r||(r={}));var i=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function a(t,e=.92,n=r.JPEG){return i(this,void 0,void 0,(function*(){return o(n)||(n=r.JPEG),t.toDataURL(n,e)}))}function c(t,e=.92,n=r.JPEG){return new Promise(r=>t.toBlob(t=>r(t),n,e))}var u=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function s(t,e){return u(this,void 0,void 0,(function*(){const n=t.split(\",\");let r=n[0].match(/:(.*?);/)[1];const i=atob(n[1]);let a=i.length;const c=new Uint8Array(a);for(;a--;)c[a]=i.charCodeAt(a);return o(e)&&(r=e),new Blob([c],{type:r})}))}function l(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onerror=()=>n(new Error(\"dataURLtoImage(): dataURL is illegal\")),r.src=t})}function d(t,e){const n=document.createElement(\"a\");n.href=window.URL.createObjectURL(t),n.download=e||Date.now().toString(36),document.body.appendChild(n);const r=document.createEvent(\"MouseEvents\");r.initEvent(\"click\",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)}function f(t){return new Promise(e=>{const n=new FileReader;n.onloadend=t=>e(t.target.result),n.readAsDataURL(t)})}var h=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function g(t,e={}){return h(this,void 0,void 0,(function*(){const n=Object.assign({},e),r=document.createElement(\"canvas\"),o=r.getContext(\"2d\");let i,a;for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Number(n[t]));if(n.scale){const e=n.scale>0&&n.scale<10?n.scale:1;a=t.width*e,i=t.height*e}else a=n.width||n.height*t.width/t.height||t.width,i=n.height||n.width*t.height/t.width||t.height;switch([5,6,7,8].some(t=>t===n.orientation)?(r.height=a,r.width=i):(r.height=i,r.width=a),n.orientation){case 3:o.rotate(180*Math.PI/180),o.drawImage(t,-r.width,-r.height,r.width,r.height);break;case 6:o.rotate(90*Math.PI/180),o.drawImage(t,0,-r.width,r.height,r.width);break;case 8:o.rotate(270*Math.PI/180),o.drawImage(t,-r.height,0,r.height,r.width);break;case 2:o.translate(r.width,0),o.scale(-1,1),o.drawImage(t,0,0,r.width,r.height);break;case 4:o.translate(r.width,0),o.scale(-1,1),o.rotate(180*Math.PI/180),o.drawImage(t,-r.width,-r.height,r.width,r.height);break;case 5:o.translate(r.width,0),o.scale(-1,1),o.rotate(90*Math.PI/180),o.drawImage(t,0,-r.width,r.height,r.width);break;case 7:o.translate(r.width,0),o.scale(-1,1),o.rotate(270*Math.PI/180),o.drawImage(t,-r.height,0,r.height,r.width);break;default:o.drawImage(t,0,0,r.width,r.height)}return r}))}function w(t){return fetch(t).then(t=>t.blob())}function m(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onerror=()=>n(new Error(\"urltoImage(): Image failed to load, please check the image URL\")),r.src=t})}var y=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function p(t,e={}){return y(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error(\"compress(): First arg must be a Blob object or a File object.\");if(\"object\"!=typeof e&&(e=Object.assign({quality:e})),e.quality=Number(e.quality),Number.isNaN(e.quality))return t;const n=yield f(t);let i=n.split(\",\")[0].match(/:(.*?);/)[1],c=r.JPEG;o(e.type)&&(c=e.type,i=e.type);const u=yield l(n),d=yield g(u,Object.assign({},e)),h=yield a(d,e.quality,c),w=yield s(h,i);return w.size>t.size?t:w}))}function b(t,e={}){return y(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error(\"compressAccurately(): First arg must be a Blob object or a File object.\");if(\"object\"!=typeof e&&(e=Object.assign({size:e})),e.size=Number(e.size),Number.isNaN(e.size))return t;if(1024*e.size>t.size)return t;e.accuracy=Number(e.accuracy),(!e.accuracy||e.accuracy<.8||e.accuracy>.99)&&(e.accuracy=.95);const n=e.size*(2-e.accuracy)*1024,i=1024*e.size,c=e.size*e.accuracy*1024,u=yield f(t);let d=u.split(\",\")[0].match(/:(.*?);/)[1],h=r.JPEG;o(e.type)&&(h=e.type,d=e.type);const w=yield l(u),m=yield g(w,Object.assign({},e));let y,p=.5;const b=[null,null];for(let t=1;t<=7;t++){y=yield a(m,p,h);const e=.75*y.length;if(7===t){(n<e||c>e)&&(y=[y,...b].filter(t=>t).sort((t,e)=>Math.abs(.75*t.length-i)-Math.abs(.75*e.length-i))[0]);break}if(n<e)b[1]=y,p-=Math.pow(.5,t+1);else{if(!(c>e))break;b[0]=y,p+=Math.pow(.5,t+1)}}const v=yield s(y,d);return v.size>t.size?t:v}))}}])}));","module.exports = require(\"./build/conversion.js\");\n","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"page-footer\"\n};\nexport function render(_ctx, _cache) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[0] || (_cache[0] = [_createElementVNode(\"p\", null, [_createTextVNode(\"© 2024 Designed by \"), _createElementVNode(\"a\", {\n class: \"footer-name\",\n href: \"https://github.com/MarSeventh\",\n target: \"_blank\"\n }, \"SanyueQi\"), _createTextVNode(\" for You!\")], -1)]));\n}","/* unplugin-vue-components disabled */import { render } from \"./Footer.vue?vue&type=template&id=7c801e22&scoped=true\"\nconst script = {}\n\nimport \"./Footer.vue?vue&type=style&index=0&id=7c801e22&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c801e22\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment } from \"vue\";\nconst _hoisted_1 = {\n key: 0,\n class: \"el-upload__text\"\n};\nconst _hoisted_2 = {\n key: 1,\n class: \"el-upload__text\"\n};\nconst _hoisted_3 = {\n class: \"upload-list-dashboard\"\n};\nconst _hoisted_4 = {\n class: \"upload-list-dashboard-action\"\n};\nconst _hoisted_5 = [\"href\"];\nconst _hoisted_6 = {\n key: 0,\n style: {\n \"width\": \"10vw\",\n \"border-radius\": \"12px\"\n },\n controls: \"\"\n};\nconst _hoisted_7 = [\"src\"];\nconst _hoisted_8 = [\"src\", \"onError\"];\nconst _hoisted_9 = {\n class: \"upload-list-item-content\"\n};\nconst _hoisted_10 = {\n key: 0,\n class: \"upload-list-item-url\"\n};\nconst _hoisted_11 = {\n class: \"upload-list-item-url-row\"\n};\nconst _hoisted_12 = {\n class: \"upload-list-item-url-row\"\n};\nconst _hoisted_13 = {\n key: 1,\n class: \"upload-list-item-progress\"\n};\nconst _hoisted_14 = {\n class: \"upload-list-item-action\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_CameraFilled = _resolveComponent(\"CameraFilled\");\n const _component_CopyDocument = _resolveComponent(\"CopyDocument\");\n const _component_el_icon = _resolveComponent(\"el-icon\");\n const _component_el_upload = _resolveComponent(\"el-upload\");\n const _component_List = _resolveComponent(\"List\");\n const _component_Checked = _resolveComponent(\"Checked\");\n const _component_Failed = _resolveComponent(\"Failed\");\n const _component_el_text = _resolveComponent(\"el-text\");\n const _component_Grid = _resolveComponent(\"Grid\");\n const _component_el_button = _resolveComponent(\"el-button\");\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\");\n const _component_CircleClose = _resolveComponent(\"CircleClose\");\n const _component_el_button_group = _resolveComponent(\"el-button-group\");\n const _component_el_input = _resolveComponent(\"el-input\");\n const _component_el_progress = _resolveComponent(\"el-progress\");\n const _component_Link = _resolveComponent(\"Link\");\n const _component_Delete = _resolveComponent(\"Delete\");\n const _component_el_scrollbar = _resolveComponent(\"el-scrollbar\");\n const _component_el_card = _resolveComponent(\"el-card\");\n return _openBlock(), _createElementBlock(\"div\", {\n class: \"upload-form\",\n onPaste: _cache[0] || (_cache[0] = (...args) => $options.handlePaste && $options.handlePaste(...args))\n }, [_createVNode(_component_el_upload, {\n class: _normalizeClass([\"upload-card\", {\n 'is-uploading': $data.uploading,\n 'upload-card-busy': $data.fileList.length,\n 'paste-mode': $props.uploadMethod === 'paste'\n }]),\n drag: \"\",\n multiple: \"\",\n \"http-request\": $options.uploadFile,\n onSuccess: $options.handleSuccess,\n \"on-error\": $options.handleError,\n \"before-upload\": $options.beforeUpload,\n \"on-progress\": $options.handleProgress,\n \"file-list\": $data.fileList,\n \"show-file-list\": false,\n accept: \"image/*, video/*\"\n }, {\n tip: _withCtx(() => _cache[3] || (_cache[3] = [_createElementVNode(\"div\", {\n class: \"el-upload__tip\"\n }, \"支持多文件上传,支持图片和视频,不超过20MB\", -1)])),\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n class: \"el-icon--upload\"\n }, {\n default: _withCtx(() => [$props.uploadMethod === 'drag' ? (_openBlock(), _createBlock(_component_CameraFilled, {\n key: 0,\n color: \"blanchedalmond\"\n })) : (_openBlock(), _createBlock(_component_CopyDocument, {\n key: 1,\n color: \"blanchedalmond\"\n }))]),\n _: 1\n }), $props.uploadMethod === 'drag' ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[1] || (_cache[1] = [_createTextVNode(\"拖拽 或 \"), _createElementVNode(\"em\", null, \"点击上传\", -1)]))) : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _cache[2] || (_cache[2] = [_createTextVNode(\"复制 \"), _createElementVNode(\"em\", null, \"粘贴\", -1), _createTextVNode(\" 上传\")])))]),\n _: 1\n }, 8, [\"class\", \"http-request\", \"onSuccess\", \"on-error\", \"before-upload\", \"on-progress\", \"file-list\"]), _createVNode(_component_el_card, {\n class: _normalizeClass([\"upload-list-card\", {\n 'upload-list-busy': $data.fileList.length\n }])\n }, {\n default: _withCtx(() => [_createElementVNode(\"div\", {\n class: _normalizeClass([\"upload-list-container\", {\n 'upload-list-busy': $data.fileList.length\n }])\n }, [_createVNode(_component_el_scrollbar, null, {\n default: _withCtx(() => [_createElementVNode(\"div\", _hoisted_3, [_createVNode(_component_el_text, {\n class: \"upload-list-dashboard-title\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_List)]),\n _: 1\n }), _createTextVNode(_toDisplayString($options.uploadingCount + $options.waitingCount) + \" \", 1), _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_Checked)]),\n _: 1\n }), _createTextVNode(_toDisplayString($options.uploadSuccessCount) + \" \", 1), _createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_Failed)]),\n _: 1\n }), _createTextVNode(_toDisplayString($options.uploadErrorCount), 1)]),\n _: 1\n }), _createElementVNode(\"div\", _hoisted_4, [_createVNode(_component_el_button_group, null, {\n default: _withCtx(() => [_createVNode(_component_el_tooltip, {\n content: \"整体复制\",\n placement: \"top\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n type: \"primary\",\n round: \"\",\n onClick: $options.copyAll,\n alt: \"整体复制\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_Grid)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }), _createVNode(_component_el_tooltip, {\n content: \"清空列表\",\n placement: \"top\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n type: \"primary\",\n round: \"\",\n onClick: $options.clearFileList\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_CircleClose)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n })]),\n _: 1\n })])]), (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($data.fileList, file => {\n return _openBlock(), _createElementBlock(\"div\", {\n class: \"upload-list-item\",\n key: file.name,\n span: 8\n }, [_createElementVNode(\"a\", {\n href: file.url,\n target: \"_blank\"\n }, [$options.isVideo(file.name) ? (_openBlock(), _createElementBlock(\"video\", _hoisted_6, [_createElementVNode(\"source\", {\n src: file.url,\n type: \"video/mp4\"\n }, null, 8, _hoisted_7), _cache[4] || (_cache[4] = _createTextVNode(\" Your browser does not support the video tag. \"))])) : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n style: {\n \"width\": \"10vw\",\n \"border-radius\": \"12px\"\n },\n src: file.url,\n onError: $event => file.url = 'https://imgbed.sanyue.site/file/b6a4a65b4edba4377492e.png'\n }, null, 40, _hoisted_8))], 8, _hoisted_5), _createElementVNode(\"div\", _hoisted_9, [_createVNode(_component_el_text, {\n class: \"upload-list-item-name\",\n truncated: \"\"\n }, {\n default: _withCtx(() => [_createTextVNode(_toDisplayString(file.name), 1)]),\n _: 2\n }, 1024), file.status === 'done' ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [_createElementVNode(\"div\", _hoisted_11, [_createVNode(_component_el_input, {\n modelValue: file.finalURL,\n \"onUpdate:modelValue\": $event => file.finalURL = $event,\n size: \"small\",\n readonly: \"\",\n onFocus: $options.selectAllText\n }, {\n prepend: _withCtx(() => _cache[5] || (_cache[5] = [_createTextVNode(\"URL:\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onFocus\"]), _createVNode(_component_el_input, {\n modelValue: file.mdURL,\n \"onUpdate:modelValue\": $event => file.mdURL = $event,\n size: \"small\",\n readonly: \"\",\n onFocus: $options.selectAllText\n }, {\n prepend: _withCtx(() => _cache[6] || (_cache[6] = [_createTextVNode(\"MarkDown:\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onFocus\"])]), _createElementVNode(\"div\", _hoisted_12, [_createVNode(_component_el_input, {\n modelValue: file.htmlURL,\n \"onUpdate:modelValue\": $event => file.htmlURL = $event,\n size: \"small\",\n readonly: \"\",\n onFocus: $options.selectAllText\n }, {\n prepend: _withCtx(() => _cache[7] || (_cache[7] = [_createTextVNode(\"HTML:\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onFocus\"]), _createVNode(_component_el_input, {\n modelValue: file.ubbURL,\n \"onUpdate:modelValue\": $event => file.ubbURL = $event,\n size: \"small\",\n readonly: \"\",\n onFocus: $options.selectAllText\n }, {\n prepend: _withCtx(() => _cache[8] || (_cache[8] = [_createTextVNode(\"BBCode:\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onFocus\"])])])) : (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [_createVNode(_component_el_progress, {\n percentage: file.progreess,\n status: file.status,\n \"show-text\": false\n }, null, 8, [\"percentage\", \"status\"])]))]), _createElementVNode(\"div\", _hoisted_14, [_createVNode(_component_el_button, {\n type: \"primary\",\n circle: \"\",\n class: \"upload-list-item-action-button\",\n onClick: $event => $options.handleCopy(file)\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_Link)]),\n _: 1\n })]),\n _: 2\n }, 1032, [\"onClick\"]), _createVNode(_component_el_button, {\n type: \"danger\",\n circle: \"\",\n class: \"upload-list-item-action-button\",\n onClick: $event => $options.handleRemove(file)\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, null, {\n default: _withCtx(() => [_createVNode(_component_Delete)]),\n _: 1\n })]),\n _: 2\n }, 1032, [\"onClick\"])])]);\n }), 128))]),\n _: 1\n })], 2)]),\n _: 1\n }, 8, [\"class\"])], 32);\n}","import \"core-js/modules/es.array.push.js\";\nimport \"core-js/modules/web.url-search-params.delete.js\";\nimport \"core-js/modules/web.url-search-params.has.js\";\nimport \"core-js/modules/web.url-search-params.size.js\";\nimport axios from 'axios';\nimport cookies from 'vue-cookies';\nimport * as imageConversion from 'image-conversion';\nexport default {\n name: 'UploadForm',\n props: {\n selectedUrlForm: {\n type: String,\n default: 'url',\n required: false\n },\n uploadMethod: {\n type: String,\n default: 'drag',\n required: false\n }\n },\n data() {\n return {\n fileList: [],\n uploading: false,\n maxUploading: 10,\n waitingList: []\n };\n },\n computed: {\n uploadSuccessCount() {\n return this.fileList.filter(item => item.status === 'done' || item.status === 'success').length;\n },\n uploadErrorCount() {\n return this.fileList.filter(item => item.status === 'exception').length;\n },\n uploadingCount() {\n return this.fileList.filter(item => item.status === 'uploading').length;\n },\n waitingCount() {\n return this.waitingList.length;\n }\n },\n methods: {\n uploadFile(file) {\n if (this.uploadingCount > this.maxUploading) {\n this.waitingList.push(file);\n this.fileList.find(item => item.uid === file.file.uid).status = 'waiting';\n return;\n } else {\n this.fileList.find(item => item.uid === file.file.uid).status = 'uploading';\n }\n const formData = new FormData();\n formData.append('file', file.file);\n axios({\n url: '/upload' + '?authCode=' + cookies.get('authCode'),\n method: 'post',\n data: formData,\n onUploadProgress: progressEvent => {\n const percentCompleted = Math.round(progressEvent.loaded / progressEvent.total * 100);\n file.onProgress({\n percent: percentCompleted,\n file: file.file\n });\n }\n }).then(res => {\n file.onSuccess(res, file.file);\n }).catch(err => {\n if (err.response && err.response.status === 401) {\n this.waitingList = [];\n this.fileList = [];\n this.$message.error('认证状态错误!');\n this.$router.push('/login');\n } else {\n file.onError(err, file.file);\n }\n }).finally(() => {\n if (this.uploadingCount + this.waitingCount === 0) {\n this.uploading = false;\n }\n });\n },\n handleRemove(file) {\n this.fileList = this.fileList.filter(item => item.uid !== file.uid);\n this.$message({\n type: 'info',\n message: file.name + '已删除'\n });\n },\n handleSuccess(response, file) {\n try {\n const rootUrl = `${window.location.protocol}//${window.location.host}`;\n this.fileList.find(item => item.uid === file.uid).url = rootUrl + response.data[0].src;\n this.fileList.find(item => item.uid === file.uid).finalURL = rootUrl + response.data[0].src;\n this.fileList.find(item => item.uid === file.uid).mdURL = `![${file.name}](${rootUrl + response.data[0].src})`;\n this.fileList.find(item => item.uid === file.uid).htmlURL = `<img src=\"${rootUrl + response.data[0].src}\" alt=\"${file.name}\" width=100% />`;\n this.fileList.find(item => item.uid === file.uid).ubbURL = `[img]${rootUrl + response.data[0].src}[/img]`;\n this.fileList.find(item => item.uid === file.uid).progreess = 100;\n this.fileList.find(item => item.uid === file.uid).status = 'success';\n this.$message({\n type: 'success',\n message: file.name + '上传成功'\n });\n setTimeout(() => {\n this.fileList.find(item => item.uid === file.uid).status = 'done';\n }, 1000);\n } catch (error) {\n this.$message.error(file.name + '上传失败');\n this.fileList.find(item => item.uid === file.uid).status = 'exception';\n } finally {\n if (this.uploadingCount + this.waitingCount === 0) {\n this.uploading = false;\n }\n if (this.waitingList.length) {\n const file = this.waitingList.shift();\n this.uploadFile(file);\n }\n }\n },\n handleError(err, file) {\n this.$message.error(file.name + '上传失败');\n this.fileList.find(item => item.uid === file.uid).status = 'exception';\n if (this.waitingList.length) {\n const file = this.waitingList.shift();\n this.uploadFile(file);\n }\n if (this.uploadingCount + this.waitingCount === 0) {\n this.uploading = false;\n }\n },\n handleCopy(file) {\n const status = this.fileList.find(item => item.uid === file.uid).status;\n if (status !== 'done' && status !== 'success') {\n this.$message({\n type: 'warning',\n message: '文件未上传成功,无法复制链接'\n });\n return;\n }\n if (this.selectedUrlForm === 'url') {\n navigator.clipboard.writeText(file.finalURL);\n } else if (this.selectedUrlForm === 'md') {\n navigator.clipboard.writeText(file.mdURL);\n } else if (this.selectedUrlForm === 'html') {\n navigator.clipboard.writeText(file.htmlURL);\n } else if (this.selectedUrlForm === 'ubb') {\n navigator.clipboard.writeText(file.ubbURL);\n } else {\n navigator.clipboard.writeText(file.finalURL);\n }\n this.$message({\n type: 'success',\n message: '复制成功'\n });\n },\n beforeUpload(file) {\n return new Promise((resolve, reject) => {\n const isLt5M = file.size / 1024 / 1024 < 5;\n const isLt20M = file.size / 1024 / 1024 < 20;\n if (!isLt5M && file.type.includes('image')) {\n //尝试压缩图片\n imageConversion.compressAccurately(file, 4096).then(res => {\n //如果压缩后仍大于20MB,则不上传\n if (res.size / 1024 / 1024 > 20) {\n this.$message.error(file.name + '压缩后文件过大,无法上传!');\n reject('文件过大');\n }\n this.uploading = true;\n //将res包装成新的file\n const newFile = new File([res], file.name, {\n type: res.type\n });\n newFile.uid = file.uid;\n const fileUrl = URL.createObjectURL(newFile);\n this.fileList.push({\n uid: file.uid,\n name: file.name,\n url: fileUrl,\n finalURL: '',\n mdURL: '',\n htmlURL: '',\n ubbURL: '',\n status: 'uploading',\n progreess: 0\n });\n resolve(newFile);\n }).catch(err => {\n this.$message.error(file.name + '文件过大且压缩失败,无法上传!');\n reject(err);\n });\n } else if (isLt20M) {\n this.uploading = true;\n const fileUrl = URL.createObjectURL(file);\n this.fileList.push({\n uid: file.uid,\n name: file.name,\n url: fileUrl,\n finalURL: '',\n mdURL: '',\n htmlURL: '',\n ubbURL: '',\n status: 'uploading',\n progreess: 0\n });\n resolve(file);\n } else {\n this.$message.error(file.name + '文件过大,无法上传!');\n reject('文件过大');\n }\n });\n },\n handleProgress(event) {\n this.fileList.find(item => item.uid === event.file.uid).progreess = event.percent;\n },\n copyAll() {\n if (this.selectedUrlForm === 'url') {\n const urls = this.fileList.map(item => {\n if (item.status === 'done' || item.status === 'success') {\n return item.finalURL;\n }\n }).join('\\n');\n navigator.clipboard.writeText(urls);\n } else if (this.selectedUrlForm === 'md') {\n const urls = this.fileList.map(item => {\n if (item.status === 'done' || item.status === 'success') {\n return item.mdURL;\n }\n }).join('\\n');\n navigator.clipboard.writeText(urls);\n } else if (this.selectedUrlForm === 'html') {\n const urls = this.fileList.map(item => {\n if (item.status === 'done' || item.status === 'success') {\n return item.htmlURL;\n }\n }).join('\\n');\n navigator.clipboard.writeText(urls);\n } else if (this.selectedUrlForm === 'ubb') {\n const urls = this.fileList.map(item => {\n if (item.status === 'done' || item.status === 'success') {\n return item.ubbURL;\n }\n }).join('\\n');\n navigator.clipboard.writeText(urls);\n } else {\n const urls = this.fileList.map(item => {\n if (item.status === 'done' || item.status === 'success') {\n return item.finalURL;\n }\n }).join('\\n');\n navigator.clipboard.writeText(urls);\n }\n this.$message({\n type: 'success',\n message: '整体复制成功'\n });\n },\n clearFileList() {\n this.fileList = [];\n this.$message({\n type: 'info',\n message: '列表已清空'\n });\n },\n handlePaste(event) {\n if (this.uploadMethod !== 'paste') {\n return;\n }\n const items = event.clipboardData.items;\n for (let i = 0; i < items.length; i++) {\n if (items[i].kind === 'file') {\n const file = items[i].getAsFile();\n // 判断文件类型是否为图片或视频\n if (file.type.includes('image') || file.type.includes('video')) {\n file.uid = Date.now() + i;\n file.file = file;\n //接收beforeUpload的Promise对象\n const checkResult = this.beforeUpload(file);\n if (checkResult instanceof Promise) {\n checkResult.then(newFile => {\n if (newFile instanceof File) {\n this.uploadFile({\n file: newFile,\n onProgress: evt => this.handleProgress(evt),\n onSuccess: (response, file) => this.handleSuccess(response, file),\n onError: (error, file) => this.handleError(error, file)\n });\n }\n }).catch(err => {\n console.log(err);\n });\n }\n } else {\n this.$message({\n type: 'warning',\n message: '粘贴板中的文件不是图片或视频'\n });\n }\n } else if (items[i].kind === 'string') {\n items[i].getAsString(text => {\n const urlPattern = /^(https?:\\/\\/[^\\s$.?#].[^\\s]*)$/;\n if (urlPattern.test(text)) {\n fetch('/api/fetchRes', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({\n url: text\n })\n }).then(response => {\n const contentType = response.headers.get('content-type');\n if (response.status == 200 && (contentType.includes('image') || contentType.includes('video'))) {\n return response.blob();\n } else {\n throw new Error('URL地址的内容不是图片或视频');\n }\n }).then(blob => {\n //获取图片名\n // const fileName = text.split('/').pop();\n // 获取文件后缀\n let extension = text.split('.').pop();\n // 判断后缀是否有效\n if (!['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'mp4', 'webm', 'ogg', 'mkv'].includes(extension)) {\n extension = 'jpeg'; // 默认为jpeg\n }\n const fileName = 'PastedFile' + Date.now() + i + '.' + extension;\n const file = new File([blob], fileName, {\n type: blob.type\n });\n file.uid = Date.now() + i;\n file.file = file;\n //接收beforeUpload的Promise对象\n const checkResult = this.beforeUpload(file);\n if (checkResult instanceof Promise) {\n checkResult.then(newFile => {\n if (newFile instanceof File) {\n this.uploadFile({\n file: newFile,\n onProgress: evt => this.handleProgress(evt),\n onSuccess: (response, file) => this.handleSuccess(response, file),\n onError: (error, file) => this.handleError(error, file)\n });\n }\n }).catch(err => {\n console.log(err);\n });\n }\n }).catch(error => {\n this.$message({\n type: 'warning',\n message: '粘贴板中的URL地址的内容不是图片或视频'\n });\n });\n }\n });\n }\n }\n },\n selectAllText(event) {\n event.target.select();\n },\n // 判断是否为图片类型\n isImage(fileName) {\n const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'];\n const extension = fileName.split('.').pop().toLowerCase();\n return imageExtensions.includes(extension);\n },\n // 判断是否为视频类型\n isVideo(fileName) {\n const videoExtensions = ['mp4', 'webm', 'ogg', 'mkv'];\n const extension = fileName.split('.').pop().toLowerCase();\n return videoExtensions.includes(extension);\n }\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./UploadForm.vue?vue&type=template&id=0c783a8f&scoped=true\"\nimport script from \"./UploadForm.vue?vue&type=script&lang=js\"\nexport * from \"./UploadForm.vue?vue&type=script&lang=js\"\n\nimport \"./UploadForm.vue?vue&type=style&index=0&id=0c783a8f&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0c783a8f\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"upload-home\"\n};\nconst _hoisted_2 = {\n class: \"toolbar\"\n};\nconst _hoisted_3 = {\n class: \"header\"\n};\nconst _hoisted_4 = {\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\"\n};\nconst _hoisted_5 = [\"src\"];\nconst _hoisted_6 = {\n class: \"main-title\",\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n target: \"_blank\"\n};\nconst _hoisted_7 = {\n class: \"dialog-action\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Refresh = _resolveComponent(\"Refresh\");\n const _component_el_icon = _resolveComponent(\"el-icon\");\n const _component_el_button = _resolveComponent(\"el-button\");\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\");\n const _component_Connection = _resolveComponent(\"Connection\");\n const _component_Tools = _resolveComponent(\"Tools\");\n const _component_Close = _resolveComponent(\"Close\");\n const _component_UploadForm = _resolveComponent(\"UploadForm\");\n const _component_Footer = _resolveComponent(\"Footer\");\n const _component_el_radio = _resolveComponent(\"el-radio\");\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\");\n const _component_el_dialog = _resolveComponent(\"el-dialog\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_cache[9] || (_cache[9] = _createElementVNode(\"img\", {\n id: \"bg1\",\n class: \"background-image1\",\n alt: \"Background Image\"\n }, null, -1)), _cache[10] || (_cache[10] = _createElementVNode(\"img\", {\n id: \"bg2\",\n class: \"background-image2\",\n alt: \"Background Image\"\n }, null, -1)), _createElementVNode(\"div\", _hoisted_2, [_createVNode(_component_el_tooltip, {\n content: \"上传方式\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n type: \"info\",\n onClick: $options.changeUploadMethod,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n size: \"large\"\n }, {\n default: _withCtx(() => [_createVNode(_component_Refresh)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }), _createVNode(_component_el_tooltip, {\n content: \"链接格式\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n type: \"success\",\n onClick: $options.openUrlDialog,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n size: \"large\"\n }, {\n default: _withCtx(() => [_createVNode(_component_Connection)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }), _createVNode(_component_el_tooltip, {\n content: \"管理页面\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n type: \"primary\",\n onClick: $options.handleManage,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n size: \"large\"\n }, {\n default: _withCtx(() => [_createVNode(_component_Tools)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }), _createVNode(_component_el_tooltip, {\n content: \"退出登录\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n type: \"danger\",\n onClick: $options.handleLogout,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n size: \"large\"\n }, {\n default: _withCtx(() => [_createVNode(_component_Close)]),\n _: 1\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n })]), _createElementVNode(\"div\", _hoisted_3, [_createElementVNode(\"a\", _hoisted_4, [_createElementVNode(\"img\", {\n class: \"logo\",\n alt: \"Sanyue logo\",\n src: $options.logoUrl\n }, null, 8, _hoisted_5)]), _createElementVNode(\"h1\", null, [_createElementVNode(\"a\", _hoisted_6, _toDisplayString($options.ownerName), 1), _cache[3] || (_cache[3] = _createTextVNode(\" ImgHub\"))])]), _createVNode(_component_UploadForm, {\n selectedUrlForm: $data.selectedUrlForm,\n uploadMethod: $data.uploadMethod,\n class: \"upload\"\n }, null, 8, [\"selectedUrlForm\", \"uploadMethod\"]), _createVNode(_component_Footer), _createVNode(_component_el_dialog, {\n title: \"选择复制链接格式\",\n modelValue: $data.showUrlDialog,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = $event => $data.showUrlDialog = $event),\n width: \"40%\",\n \"show-close\": false\n }, {\n default: _withCtx(() => [_createVNode(_component_el_radio_group, {\n modelValue: $data.selectedUrlForm,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $data.selectedUrlForm = $event)\n }, {\n default: _withCtx(() => [_createVNode(_component_el_radio, {\n value: \"url\"\n }, {\n default: _withCtx(() => _cache[4] || (_cache[4] = [_createTextVNode(\"原始链接\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"md\"\n }, {\n default: _withCtx(() => _cache[5] || (_cache[5] = [_createTextVNode(\"MarkDown\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"html\"\n }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [_createTextVNode(\"HTML\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"ubb\"\n }, {\n default: _withCtx(() => _cache[7] || (_cache[7] = [_createTextVNode(\"BBCode\")])),\n _: 1\n })]),\n _: 1\n }, 8, [\"modelValue\"]), _createElementVNode(\"div\", _hoisted_7, [_createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[1] || (_cache[1] = $event => $data.showUrlDialog = false)\n }, {\n default: _withCtx(() => _cache[8] || (_cache[8] = [_createTextVNode(\"确定\")])),\n _: 1\n })])]),\n _: 1\n }, 8, [\"modelValue\"])]);\n}","import \"core-js/modules/es.array.push.js\";\nimport UploadForm from '@/components/UploadForm.vue';\nimport Footer from '@/components/Footer.vue';\nimport { ref } from 'vue';\nimport cookies from 'vue-cookies';\nimport { mapGetters } from 'vuex';\nexport default {\n name: 'UploadHome',\n data() {\n return {\n selectedUrlForm: ref('url'),\n uploadMethod: ref('drag'),\n showUrlDialog: false,\n bingWallPaperIndex: 0,\n customWallPaperIndex: 0\n };\n },\n computed: {\n ...mapGetters(['userConfig', 'bingWallPapers']),\n ownerName() {\n return this.userConfig?.ownerName || 'Sanyue';\n },\n logoUrl() {\n return this.userConfig?.logoUrl || require('../assets/logo.png');\n },\n bkInterval() {\n return this.userConfig?.bkInterval || 3000;\n },\n bkOpacity() {\n return this.userConfig?.bkOpacity || 1;\n }\n },\n mounted() {\n const bg1 = document.getElementById('bg1');\n const bg2 = document.getElementById('bg2');\n if (this.userConfig?.uploadBkImg === 'bing') {\n //bing壁纸轮播\n this.$store.dispatch('fetchBingWallPapers').then(() => {\n bg1.src = this.bingWallPapers[this.bingWallPaperIndex]?.url;\n bg1.onload = () => {\n bg1.style.opacity = this.bkOpacity;\n };\n setInterval(() => {\n //如果bing壁纸组为空,跳过\n let curBg = bg1.style.opacity != 0 ? bg1 : bg2;\n let nextBg = bg1.style.opacity != 0 ? bg2 : bg1;\n curBg.style.opacity = 0;\n this.bingWallPaperIndex = (this.bingWallPaperIndex + 1) % this.bingWallPapers.length;\n nextBg.src = this.bingWallPapers[this.bingWallPaperIndex]?.url;\n nextBg.onload = () => {\n nextBg.style.opacity = this.bkOpacity;\n };\n }, this.bkInterval);\n });\n } else if (this.userConfig?.uploadBkImg instanceof Array && this.userConfig?.uploadBkImg?.length > 1) {\n //自定义壁纸组轮播\n bg1.src = this.userConfig.uploadBkImg[this.customWallPaperIndex];\n bg1.onload = () => {\n bg1.style.opacity = this.bkOpacity;\n };\n setInterval(() => {\n let curBg = bg1.style.opacity != 0 ? bg1 : bg2;\n let nextBg = bg1.style.opacity != 0 ? bg2 : bg1;\n curBg.style.opacity = 0;\n this.customWallPaperIndex = (this.customWallPaperIndex + 1) % this.userConfig.uploadBkImg.length;\n nextBg.src = this.userConfig.uploadBkImg[this.customWallPaperIndex];\n nextBg.onload = () => {\n nextBg.style.opacity = this.bkOpacity;\n };\n }, this.bkInterval);\n } else if (this.userConfig?.uploadBkImg instanceof Array && this.userConfig?.uploadBkImg.length == 1) {\n //单张自定义壁纸\n bg1.src = this.userConfig.uploadBkImg[0];\n bg1.onload = () => {\n bg1.style.opacity = this.bkOpacity;\n };\n } else {\n //默认壁纸\n bg1.src = 'https://imgbed.sanyue.site/file/0dbd5add3605a0b2e8994.jpg';\n bg1.onload = () => {\n bg1.style.opacity = this.bkOpacity;\n };\n }\n },\n components: {\n UploadForm,\n Footer\n },\n methods: {\n handleManage() {\n this.$router.push('/dashboard');\n },\n openUrlDialog() {\n this.showUrlDialog = true;\n },\n changeUploadMethod() {\n this.uploadMethod = this.uploadMethod === 'drag' ? 'paste' : 'drag';\n },\n handleLogout() {\n cookies.remove('authCode');\n this.$router.push('/login');\n this.$message.success('已退出登录~');\n }\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./UploadHome.vue?vue&type=template&id=14c5306a&scoped=true\"\nimport script from \"./UploadHome.vue?vue&type=script&lang=js\"\nexport * from \"./UploadHome.vue?vue&type=script&lang=js\"\n\nimport \"./UploadHome.vue?vue&type=style&index=0&id=14c5306a&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-14c5306a\"]])\n\nexport default __exports__"],"names":["t","e","module","exports","this","n","r","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","some","a","f","g","w","b","PNG","JPEG","GIF","Promise","u","next","throw","done","then","apply","toDataURL","toBlob","split","match","atob","length","Uint8Array","charCodeAt","Blob","type","Image","onload","onerror","Error","src","document","createElement","href","window","URL","createObjectURL","download","Date","now","toString","body","appendChild","createEvent","initEvent","dispatchEvent","removeChild","FileReader","onloadend","target","result","readAsDataURL","h","assign","getContext","Number","scale","width","height","orientation","rotate","Math","PI","drawImage","translate","fetch","blob","y","quality","isNaN","size","accuracy","filter","sort","abs","pow","v","_hoisted_1","class","render","_ctx","_cache","script","__exports__","key","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","style","controls","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","$props","$setup","$data","$options","_component_CameraFilled","_component_CopyDocument","_component_el_icon","_component_el_upload","_component_List","_component_Checked","_component_Failed","_component_el_text","_component_Grid","_component_el_button","_component_el_tooltip","_component_CircleClose","_component_el_button_group","_component_el_input","_component_el_progress","_component_Link","_component_Delete","_component_el_scrollbar","_component_el_card","onPaste","args","handlePaste","uploading","fileList","uploadMethod","drag","multiple","uploadFile","onSuccess","handleSuccess","handleError","beforeUpload","handleProgress","accept","tip","color","_","uploadingCount","waitingCount","uploadSuccessCount","uploadErrorCount","content","placement","round","onClick","copyAll","alt","clearFileList","file","name","span","url","isVideo","onError","$event","truncated","status","modelValue","finalURL","readonly","onFocus","selectAllText","prepend","mdURL","htmlURL","ubbURL","percentage","progreess","circle","handleCopy","handleRemove","props","selectedUrlForm","String","required","data","maxUploading","waitingList","computed","item","methods","push","find","uid","formData","FormData","append","axios","method","onUploadProgress","progressEvent","percentCompleted","loaded","total","onProgress","percent","res","catch","err","response","$message","error","$router","finally","message","rootUrl","location","protocol","host","setTimeout","shift","navigator","clipboard","writeText","resolve","reject","isLt5M","isLt20M","includes","newFile","File","fileUrl","event","urls","map","join","items","clipboardData","kind","getAsFile","checkResult","evt","console","log","getAsString","text","urlPattern","test","headers","JSON","stringify","contentType","extension","pop","fileName","select","isImage","imageExtensions","toLowerCase","videoExtensions","_component_Refresh","_component_Connection","_component_Tools","_component_Close","_component_UploadForm","_component_Footer","_component_el_radio","_component_el_radio_group","_component_el_dialog","id","changeUploadMethod","openUrlDialog","handleManage","handleLogout","logoUrl","ownerName","title","showUrlDialog","bingWallPaperIndex","customWallPaperIndex","userConfig","bkInterval","bkOpacity","mounted","bg1","getElementById","bg2","uploadBkImg","$store","dispatch","bingWallPapers","opacity","setInterval","curBg","nextBg","Array","components","UploadForm","Footer","success"],"sourceRoot":""}