forked from MarSeventh/CloudFlare-ImgBed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
201.e6ea86f9.js.map
1 lines (1 loc) · 96.9 KB
/
201.e6ea86f9.js.map
1
{"version":3,"file":"js/201.e6ea86f9.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,IAAI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,eAAgB,CACvB,EACA,YAAAJ,GACE,WAAe,YACflV,KAAK0Q,QAAQpB,KAAK,UAClBtP,KAAKwQ,SAAS6G,QAAQ,SACxB,EACA,aAAA5B,GACEzV,KAAKwW,OAAOc,OAAO,uBAAwBtX,KAAKsN,gBAClD,EACA,kBAAAyH,GACE/U,KAAK0V,oBAAqB,CAC5B,EACA,oBAAAO,CAAqBxO,EAAKzG,GACxBhB,KAAKwW,OAAOc,OAAO,oBAAqB,CACtC7P,MACAzG,SAEJ,IC1IJ,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS,IAAQ,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?6df5","webpack://sanyue_imghub/./src/components/Footer.vue","webpack://sanyue_imghub/./src/components/Footer.vue?d468","webpack://sanyue_imghub/./src/components/UploadForm.vue?440e","webpack://sanyue_imghub/./src/components/UploadForm.vue","webpack://sanyue_imghub/./src/components/UploadForm.vue?0da8","webpack://sanyue_imghub/./src/views/UploadHome.vue?4fd7","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, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"page-footer\"\n};\nconst _hoisted_2 = [\"href\"];\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_font_awesome_icon = _resolveComponent(\"font-awesome-icon\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"p\", null, [_cache[0] || (_cache[0] = _createTextVNode(\"© 2024 Designed by \")), _cache[1] || (_cache[1] = _createElementVNode(\"a\", {\n class: \"footer-name\",\n href: \"https://github.com/MarSeventh\",\n target: \"_blank\"\n }, \"SanyueQi\", -1)), _cache[2] || (_cache[2] = _createTextVNode(\" for You! \")), _createElementVNode(\"a\", {\n href: $options.footerLink,\n target: \"_blank\"\n }, [_createVNode(_component_font_awesome_icon, {\n icon: \"paper-plane\",\n class: \"footer-link-icon\"\n })], 8, _hoisted_2)])]);\n}","import { mapGetters } from 'vuex';\nexport default {\n name: 'Footer',\n computed: {\n ...mapGetters(['userConfig']),\n footerLink() {\n return this.userConfig?.footerLink || 'https://sanyue.site';\n }\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./Footer.vue?vue&type=template&id=99ec39bc&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=js\"\nexport * from \"./Footer.vue?vue&type=script&lang=js\"\n\nimport \"./Footer.vue?vue&type=style&index=0&id=99ec39bc&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-99ec39bc\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\";\nconst _hoisted_1 = {\n class: \"upload-form\"\n};\nconst _hoisted_2 = {\n class: \"upload-list-dashboard-action\"\n};\nconst _hoisted_3 = [\"href\"];\nconst _hoisted_4 = {\n key: 0,\n style: {\n \"width\": \"10vw\",\n \"border-radius\": \"12px\"\n },\n autoplay: \"\",\n muted: \"\",\n playsinline: \"\",\n loop: \"\"\n};\nconst _hoisted_5 = [\"src\"];\nconst _hoisted_6 = [\"src\", \"onError\"];\nconst _hoisted_7 = {\n class: \"upload-list-item-content\"\n};\nconst _hoisted_8 = {\n key: 0,\n class: \"upload-list-item-url\"\n};\nconst _hoisted_9 = {\n class: \"upload-list-item-url-row\"\n};\nconst _hoisted_10 = {\n class: \"upload-list-item-url-row\"\n};\nconst _hoisted_11 = {\n key: 1,\n class: \"upload-list-item-progress\"\n};\nconst _hoisted_12 = {\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_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_font_awesome_icon = _resolveComponent(\"font-awesome-icon\");\n const _component_el_button = _resolveComponent(\"el-button\");\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\");\n const _component_el_dropdown_item = _resolveComponent(\"el-dropdown-item\");\n const _component_el_dropdown_menu = _resolveComponent(\"el-dropdown-menu\");\n const _component_el_dropdown = _resolveComponent(\"el-dropdown\");\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\", _hoisted_1, [_createVNode(_component_el_upload, {\n class: _normalizeClass([\"upload-card\", {\n 'is-uploading': $data.uploading,\n 'upload-card-busy': $data.fileList.length\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[0] || (_cache[0] = [_createElementVNode(\"div\", {\n class: \"el-upload__tip\"\n }, \"支持多文件上传,支持图片和视频,不超过20MB\", -1)])),\n default: _withCtx(() => [_createVNode(_component_el_icon, {\n class: \"el-icon--upload\",\n size: 100\n }, {\n default: _withCtx(() => [_createVNode(_component_CameraFilled, {\n color: \"blanchedalmond\"\n })]),\n _: 1\n }), _cache[1] || (_cache[1] = _createElementVNode(\"div\", {\n class: \"el-upload__text\"\n }, [_createElementVNode(\"em\", null, \"拖拽\"), _createTextVNode(), _createElementVNode(\"em\", null, \"点击\"), _createTextVNode(\" 或 \"), _createElementVNode(\"em\", null, \"Ctrl + V\"), _createTextVNode(\" 粘贴上传\")], -1))]),\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, {\n onScroll: $options.handleScroll,\n ref: \"scrollContainer\"\n }, {\n default: _withCtx(() => [_createElementVNode(\"div\", {\n class: _normalizeClass([\"upload-list-dashboard\", {\n 'list-scrolled': $data.listScrolled\n }])\n }, [_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_2, [_createVNode(_component_el_button_group, null, {\n default: _withCtx(() => [_createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\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_font_awesome_icon, {\n icon: \"copy\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"]), _createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\n content: \"失败重试\",\n placement: \"top\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n type: \"primary\",\n onClick: $options.retryError\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"redo\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"]), _createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\n content: \"清空列表\",\n placement: \"top\",\n style: {\n \"border\": \"none\"\n }\n }, {\n default: _withCtx(() => [_createVNode(_component_el_dropdown, null, {\n dropdown: _withCtx(() => [_createVNode(_component_el_dropdown_menu, {\n slot: \"dropdown\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_dropdown_item, {\n onClick: $options.clearFileList\n }, {\n default: _withCtx(() => _cache[2] || (_cache[2] = [_createTextVNode(\"清空全部\")])),\n _: 1\n }, 8, [\"onClick\"]), _createVNode(_component_el_dropdown_item, {\n onClick: $options.clearSuccessList\n }, {\n default: _withCtx(() => _cache[3] || (_cache[3] = [_createTextVNode(\"清空已上传\")])),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n })]),\n default: _withCtx(() => [_createVNode(_component_el_button, {\n type: \"primary\",\n round: \"\",\n style: {\n \"outline\": \"none\",\n \"border-right\": \"none\"\n }\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"trash-alt\"\n })]),\n _: 1\n })]),\n _: 1\n })]),\n _: 1\n }, 8, [\"disabled\"])]),\n _: 1\n })])], 2), (_openBlock(true), _createElementBlock(_Fragment, null, _renderList($data.fileList.slice().reverse(), 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_4, [_createElementVNode(\"source\", {\n src: file.url,\n type: \"video/mp4\"\n }, null, 8, _hoisted_5), _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 = require('@/assets/404.png')\n }, null, 40, _hoisted_6))], 8, _hoisted_3), _createElementVNode(\"div\", _hoisted_7, [_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_8, [_createElementVNode(\"div\", _hoisted_9, [_createVNode(_component_el_input, {\n modelValue: file.finalURL,\n \"onUpdate:modelValue\": $event => file.finalURL = $event,\n readonly: \"\",\n onClick: $options.selectAllText,\n size: $options.urlSize\n }, {\n prepend: _withCtx(() => _cache[5] || (_cache[5] = [_createTextVNode(\"URL\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\", \"size\"]), _createVNode(_component_el_input, {\n modelValue: file.mdURL,\n \"onUpdate:modelValue\": $event => file.mdURL = $event,\n readonly: \"\",\n onClick: $options.selectAllText,\n size: $options.urlSize\n }, {\n prepend: _withCtx(() => _cache[6] || (_cache[6] = [_createTextVNode(\"MarkDown\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\", \"size\"])]), _createElementVNode(\"div\", _hoisted_10, [_createVNode(_component_el_input, {\n modelValue: file.htmlURL,\n \"onUpdate:modelValue\": $event => file.htmlURL = $event,\n readonly: \"\",\n onClick: $options.selectAllText,\n size: $options.urlSize\n }, {\n prepend: _withCtx(() => _cache[7] || (_cache[7] = [_createTextVNode(\"HTML\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\", \"size\"]), _createVNode(_component_el_input, {\n modelValue: file.ubbURL,\n \"onUpdate:modelValue\": $event => file.ubbURL = $event,\n readonly: \"\",\n onClick: $options.selectAllText,\n size: $options.urlSize\n }, {\n prepend: _withCtx(() => _cache[8] || (_cache[8] = [_createTextVNode(\"BBCode\")])),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onClick\", \"size\"])])])) : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [_createVNode(_component_el_progress, {\n percentage: file.progreess,\n status: file.status,\n \"show-text\": false\n }, null, 8, [\"percentage\", \"status\"])]))]), _createElementVNode(\"div\", _hoisted_12, [_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 }, 8, [\"onScroll\"])], 2)]),\n _: 1\n }, 8, [\"class\"])]);\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 customerCompress: {\n type: Boolean,\n default: true,\n required: false\n },\n compressQuality: {\n type: Number,\n default: 4,\n required: false\n },\n compressBar: {\n type: Number,\n default: 5,\n required: false\n },\n serverCompress: {\n type: Boolean,\n default: true,\n required: false\n }\n },\n data() {\n return {\n fileList: [],\n uploading: false,\n maxUploading: 6,\n waitingList: [],\n exceptionList: [],\n listScrolled: false,\n fileListLength: 0,\n uploadCount: 0\n };\n },\n watch: {\n fileList: {\n handler() {\n if (this.fileList.length > this.fileListLength) {\n this.$nextTick(() => {\n setTimeout(() => {\n // this.$refs.scrollContainer.setScrollTop(this.$refs.scrollContainer.wrapRef.scrollHeight) // 滚动到底部\n this.$refs.scrollContainer.setScrollTop(0); // 滚动到顶部\n }, 100);\n });\n }\n this.fileListLength = this.fileList.length;\n },\n deep: true\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 urlSize() {\n // 移动端为small\n return window.innerWidth < 768 ? 'small' : 'default';\n },\n disableTooltip() {\n return window.innerWidth < 768;\n }\n },\n mounted() {\n document.addEventListener('paste', this.handlePaste);\n },\n beforeUnmount() {\n document.removeEventListener('paste', this.handlePaste);\n },\n methods: {\n uploadFile(file) {\n // 如果fileList中不存在该文件,说明已被删除,直接返回\n if (!this.fileList.find(item => item.uid === file.file.uid)) {\n return;\n }\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 // 判断是否需要服务端压缩\n const needServerCompress = this.fileList.find(item => item.uid === file.file.uid).serverCompress;\n axios({\n url: '/upload' + '?authCode=' + cookies.get('authCode') + '&serverCompress=' + needServerCompress,\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 this.exceptionList.push(file);\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 // 客户端压缩条件:1.文件类型为图片 2.开启客户端压缩,且文件大小大于压缩阈值;或文件大小大于20MB\n const needCustomCompress = file.type.includes('image') && (this.customerCompress && file.size / 1024 / 1024 > this.compressBar || file.size / 1024 / 1024 > 20);\n const isLt20M = file.size / 1024 / 1024 < 20;\n const pushFileToQueue = (file, serverCompress) => {\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 serverCompress: serverCompress\n });\n resolve(file);\n };\n if (needCustomCompress) {\n //尝试压缩图片\n imageConversion.compressAccurately(file, 1024 * this.compressQuality).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 myUploadCount = this.uploadCount++;\n\n //开启服务端压缩条件:1.开启服务端压缩 2.文件大小小于10MB\n const needServerCompress = this.serverCompress && newFile.size / 1024 / 1024 < 10;\n if (myUploadCount === 0) {\n pushFileToQueue(newFile, needServerCompress);\n } else {\n setTimeout(() => {\n pushFileToQueue(newFile, needServerCompress);\n this.uploadCount--;\n }, 300 * myUploadCount);\n }\n }).catch(err => {\n this.$message.error(file.name + '压缩失败,无法上传!');\n reject(err);\n });\n } else if (isLt20M) {\n this.uploading = true;\n const myUploadCount = this.uploadCount++;\n\n // 开启服务端压缩条件:1.开启服务端压缩 2.如果为图片,则文件大小小于10MB,否则不限制大小\n const needServerCompress = this.serverCompress && (file.type.includes('image') ? file.size / 1024 / 1024 < 10 : true);\n if (myUploadCount === 0) {\n pushFileToQueue(file, needServerCompress);\n } else {\n setTimeout(() => {\n pushFileToQueue(file, needServerCompress);\n this.uploadCount--;\n }, 300 * myUploadCount);\n }\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 if (this.fileList.length > 0) {\n this.fileList = [];\n this.$message({\n type: 'success',\n message: '文件列表已清空'\n });\n } else {\n this.$message({\n type: 'info',\n message: '文件列表为空'\n });\n }\n },\n clearSuccessList() {\n if (this.uploadSuccessCount > 0) {\n this.fileList = this.fileList.filter(item => item.status !== 'done' && item.status !== 'success');\n this.$message({\n type: 'success',\n message: '成功上传文件已清空'\n });\n } else {\n this.$message({\n type: 'info',\n message: '成功上传文件为空'\n });\n }\n },\n handlePaste(event) {\n // 当粘贴位置是文本框时,不执行该操作\n if (event.target.tagName === 'INPUT' || event.target.tagName === 'TEXTAREA') {\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 let fileName = '';\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 // 提取文件名\n const disposition = response.headers.get('Content-Disposition');\n if (disposition) {\n const filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\n const filenameStarRegex = /filename\\*\\s*=\\s*UTF-8''([^;\\n]*)/; // 处理 filename*\n\n let matches = filenameRegex.exec(disposition);\n if (matches != null && matches[1]) {\n fileName = matches[1].replace(/['\"]/g, '');\n // 尝试解码\n try {\n fileName = decodeURIComponent(fileName);\n } catch (e) {\n fileName = '';\n }\n }\n if (fileName === '') {\n matches = filenameStarRegex.exec(disposition); // 尝试匹配 filename*\n if (matches != null && matches[1]) {\n fileName = decodeURIComponent(matches[1]);\n }\n }\n }\n // 尝试从URL中提取文件名\n if (fileName === '') {\n const url = new URL(text);\n fileName = url.pathname.split('/').pop();\n }\n // 未提取到文件名,使用默认文件名\n if (fileName === '') {\n // 获取文件后缀\n const url = new URL(text);\n let extension = url.pathname.split('.').pop();\n // 判断后缀是否有效\n if (!['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'mp4', 'webm', 'ogg', 'mkv'].includes(extension)) {\n extension = 'jpeg'; // 默认为jpeg\n }\n fileName = 'PastedFile' + Date.now() + i + '.' + extension;\n }\n return response.blob();\n } else {\n throw new Error('URL地址的内容不是图片或视频');\n }\n }).then(blob => {\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 // 复制到剪贴板\n navigator.clipboard.writeText(event.target.value).then(() => {\n this.$message({\n type: 'success',\n message: '复制成功'\n });\n }).catch(() => {\n this.$message({\n type: 'error',\n message: '复制失败'\n });\n });\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 handleScroll(event) {\n this.listScrolled = event.scrollTop > 0 && this.fileList.length > 0;\n },\n retryError() {\n if (this.exceptionList.length > 0) {\n this.exceptionList.forEach(file => {\n this.uploadFile({\n file: file.file,\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 this.exceptionList = [];\n } else {\n this.$message({\n type: 'info',\n message: '无上传失败文件'\n });\n }\n }\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./UploadForm.vue?vue&type=template&id=6e8741b3&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=6e8741b3&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-6e8741b3\"]])\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, createBlock as _createBlock, createCommentVNode as _createCommentVNode, 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: \"title\"\n};\nconst _hoisted_7 = {\n class: \"main-title\",\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n target: \"_blank\"\n};\nconst _hoisted_8 = {\n class: \"dialog-action\"\n};\nconst _hoisted_9 = {\n class: \"dialog-action\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_font_awesome_icon = _resolveComponent(\"font-awesome-icon\");\n const _component_el_button = _resolveComponent(\"el-button\");\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\");\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 const _component_el_switch = _resolveComponent(\"el-switch\");\n const _component_el_form_item = _resolveComponent(\"el-form-item\");\n const _component_el_slider = _resolveComponent(\"el-slider\");\n const _component_el_form = _resolveComponent(\"el-form\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_cache[19] || (_cache[19] = _createElementVNode(\"img\", {\n id: \"bg1\",\n class: \"background-image1\",\n alt: \"Background Image\"\n }, null, -1)), _cache[20] || (_cache[20] = _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 disabled: $options.disableTooltip,\n content: \"压缩设置\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n onClick: $options.openCompressDialog,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"file-archive\",\n class: \"compress-icon\",\n size: \"lg\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"]), _createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\n content: \"链接格式\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n onClick: $options.openUrlDialog,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"link\",\n class: \"link-icon\",\n size: \"lg\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"]), _createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\n content: \"管理页面\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n onClick: $options.handleManage,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"cog\",\n class: \"config-icon\",\n size: \"lg\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"]), _createVNode(_component_el_tooltip, {\n disabled: $options.disableTooltip,\n content: \"退出登录\",\n placement: \"left\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_button, {\n class: \"toolbar-button\",\n size: \"large\",\n onClick: $options.handleLogout,\n circle: \"\"\n }, {\n default: _withCtx(() => [_createVNode(_component_font_awesome_icon, {\n icon: \"sign-out-alt\",\n class: \"sign-out-icon\",\n size: \"lg\"\n })]),\n _: 1\n }, 8, [\"onClick\"])]),\n _: 1\n }, 8, [\"disabled\"])]), _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\", _hoisted_6, [_createElementVNode(\"a\", _hoisted_7, _toDisplayString($options.ownerName), 1), _cache[9] || (_cache[9] = _createTextVNode(\" ImgHub\"))])]), _createVNode(_component_UploadForm, {\n selectedUrlForm: $data.selectedUrlForm,\n customerCompress: $data.customerCompress,\n compressQuality: $data.compressQuality,\n compressBar: $data.compressBar,\n serverCompress: $data.serverCompress,\n class: \"upload\"\n }, null, 8, [\"selectedUrlForm\", \"customerCompress\", \"compressQuality\", \"compressBar\", \"serverCompress\"]), _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: $options.dialogWidth,\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 onChange: $options.changeUrlForm\n }, {\n default: _withCtx(() => [_createVNode(_component_el_radio, {\n value: \"url\"\n }, {\n default: _withCtx(() => _cache[10] || (_cache[10] = [_createTextVNode(\"原始链接\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"md\"\n }, {\n default: _withCtx(() => _cache[11] || (_cache[11] = [_createTextVNode(\"MarkDown\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"html\"\n }, {\n default: _withCtx(() => _cache[12] || (_cache[12] = [_createTextVNode(\"HTML\")])),\n _: 1\n }), _createVNode(_component_el_radio, {\n value: \"ubb\"\n }, {\n default: _withCtx(() => _cache[13] || (_cache[13] = [_createTextVNode(\"BBCode\")])),\n _: 1\n })]),\n _: 1\n }, 8, [\"modelValue\", \"onChange\"]), _createElementVNode(\"div\", _hoisted_8, [_createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[1] || (_cache[1] = $event => $data.showUrlDialog = false)\n }, {\n default: _withCtx(() => _cache[14] || (_cache[14] = [_createTextVNode(\"确定\")])),\n _: 1\n })])]),\n _: 1\n }, 8, [\"modelValue\", \"width\"]), _createVNode(_component_el_dialog, {\n title: \"压缩设置\",\n modelValue: $data.showCompressDialog,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = $event => $data.showCompressDialog = $event),\n width: $options.dialogWidth,\n \"show-close\": false\n }, {\n default: _withCtx(() => [_createVNode(_component_el_form, {\n \"label-width\": \"25%\"\n }, {\n default: _withCtx(() => [_cache[16] || (_cache[16] = _createElementVNode(\"p\", {\n style: {\n \"font-size\": \"medium\",\n \"font-weight\": \"bold\"\n }\n }, \"客户端压缩\", -1)), _createVNode(_component_el_form_item, {\n label: \"开启压缩\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_switch, {\n modelValue: $data.customerCompress,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = $event => $data.customerCompress = $event),\n \"active-text\": \"开启\",\n \"inactive-text\": \"关闭\",\n \"active-color\": \"#13ce66\",\n \"inactive-color\": \"#ff4949\"\n }, null, 8, [\"modelValue\"])]),\n _: 1\n }), $data.customerCompress ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n label: \"压缩阈值\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_slider, {\n modelValue: $data.compressBar,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = $event => $data.compressBar = $event),\n min: 1,\n max: 20,\n \"show-input\": \"\"\n }, null, 8, [\"modelValue\"])]),\n _: 1\n })) : _createCommentVNode(\"\", true), $data.customerCompress ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 1,\n label: \"压缩后大小\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_slider, {\n modelValue: $data.compressQuality,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = $event => $data.compressQuality = $event),\n min: 1,\n max: $data.compressBar,\n \"show-input\": \"\"\n }, null, 8, [\"modelValue\", \"max\"])]),\n _: 1\n })) : _createCommentVNode(\"\", true), _cache[17] || (_cache[17] = _createElementVNode(\"p\", {\n style: {\n \"font-size\": \"medium\",\n \"font-weight\": \"bold\"\n }\n }, \"服务端压缩\", -1)), _createVNode(_component_el_form_item, {\n label: \"开启压缩\"\n }, {\n default: _withCtx(() => [_createVNode(_component_el_switch, {\n modelValue: $data.serverCompress,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = $event => $data.serverCompress = $event),\n \"active-text\": \"开启\",\n \"inactive-text\": \"关闭\",\n \"active-color\": \"#13ce66\",\n \"inactive-color\": \"#ff4949\"\n }, null, 8, [\"modelValue\"])]),\n _: 1\n }), _cache[18] || (_cache[18] = _createElementVNode(\"p\", {\n style: {\n \"text-align\": \"left\",\n \"font-size\": \"small\"\n }\n }, [_createElementVNode(\"br\"), _createTextVNode(\"*Tips: \"), _createElementVNode(\"br\"), _createTextVNode(\"1.本设置仅针对图片文件,单位为MB \"), _createElementVNode(\"br\"), _createTextVNode(\"2.客户端压缩指上传前压缩,服务端压缩指Telegram端压缩 \"), _createElementVNode(\"br\"), _createTextVNode(\"3.若图片大小>10MB,或压缩后图片大小>10MB,服务端压缩将自动失效 \"), _createElementVNode(\"br\"), _createTextVNode(\"4.若图片大小>20MB,将自动进行客户端压缩 \"), _createElementVNode(\"br\"), _createTextVNode(\"5.若想要存储的图片和原图完全一致,可以将两个压缩设置均设置为关闭 \"), _createElementVNode(\"br\"), _createTextVNode(\"6.若上传分辨率过大、透明背景等图片,建议关闭服务端压缩,否则可能出现未知问题 \")], -1)), _createElementVNode(\"div\", _hoisted_9, [_createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[7] || (_cache[7] = $event => $data.showCompressDialog = false)\n }, {\n default: _withCtx(() => _cache[15] || (_cache[15] = [_createTextVNode(\"确定\")])),\n _: 1\n })])]),\n _: 1\n })]),\n _: 1\n }, 8, [\"modelValue\", \"width\"])]);\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(''),\n showUrlDialog: false,\n bingWallPaperIndex: 0,\n customWallPaperIndex: 0,\n showCompressDialog: false,\n customerCompress: true,\n //上传前压缩\n compressQuality: 4,\n //压缩后大小\n compressBar: 5,\n //压缩阈值\n serverCompress: true //服务器端压缩\n };\n },\n watch: {\n customerCompress(val) {\n this.updateCompressConfig('customerCompress', val);\n },\n compressQuality(val) {\n this.updateCompressConfig('compressQuality', val);\n },\n compressBar(val) {\n this.updateCompressConfig('compressBar', val);\n },\n serverCompress(val) {\n this.updateCompressConfig('serverCompress', val);\n }\n },\n computed: {\n ...mapGetters(['userConfig', 'bingWallPapers', 'uploadCopyUrlForm', 'compressConfig']),\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 dialogWidth() {\n return window.innerWidth > 768 ? '40%' : '80%';\n },\n disableTooltip() {\n return window.innerWidth < 768;\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 = require('@/assets/background.jpg');\n bg1.onload = () => {\n bg1.style.opacity = this.bkOpacity;\n };\n }\n // 读取用户选择的链接格式\n this.selectedUrlForm = this.uploadCopyUrlForm || 'url';\n // 读取用户选择的压缩设置\n this.customerCompress = this.compressConfig.customerCompress;\n this.compressQuality = this.compressConfig.compressQuality;\n this.compressBar = this.compressConfig.compressBar;\n this.serverCompress = this.compressConfig.serverCompress;\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 handleLogout() {\n cookies.remove('authCode');\n this.$router.push('/login');\n this.$message.success('已退出登录~');\n },\n changeUrlForm() {\n this.$store.commit('setUploadCopyUrlForm', this.selectedUrlForm);\n },\n openCompressDialog() {\n this.showCompressDialog = true;\n },\n updateCompressConfig(key, value) {\n this.$store.commit('setCompressConfig', {\n key,\n value\n });\n }\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./UploadHome.vue?vue&type=template&id=3d1e89f8&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=3d1e89f8&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-3d1e89f8\"]])\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","_hoisted_2","render","_ctx","_cache","$props","$setup","$data","$options","_component_font_awesome_icon","footerLink","icon","name","computed","userConfig","__exports__","_hoisted_3","_hoisted_4","key","style","autoplay","muted","playsinline","loop","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_component_CameraFilled","_component_el_icon","_component_el_upload","_component_List","_component_Checked","_component_Failed","_component_el_text","_component_el_button","_component_el_tooltip","_component_el_dropdown_item","_component_el_dropdown_menu","_component_el_dropdown","_component_el_button_group","_component_el_input","_component_el_progress","_component_Link","_component_Delete","_component_el_scrollbar","_component_el_card","uploading","fileList","drag","multiple","uploadFile","onSuccess","handleSuccess","handleError","beforeUpload","handleProgress","accept","tip","color","_","onScroll","handleScroll","ref","listScrolled","uploadingCount","waitingCount","uploadSuccessCount","uploadErrorCount","disabled","disableTooltip","content","placement","round","onClick","copyAll","alt","retryError","dropdown","slot","clearFileList","clearSuccessList","slice","reverse","file","span","url","isVideo","onError","$event","truncated","status","modelValue","finalURL","readonly","selectAllText","urlSize","prepend","mdURL","htmlURL","ubbURL","percentage","progreess","circle","handleCopy","handleRemove","props","selectedUrlForm","String","required","customerCompress","Boolean","compressQuality","compressBar","serverCompress","data","maxUploading","waitingList","exceptionList","fileListLength","uploadCount","watch","handler","$nextTick","setTimeout","$refs","scrollContainer","setScrollTop","deep","item","innerWidth","mounted","addEventListener","handlePaste","beforeUnmount","removeEventListener","methods","find","uid","push","formData","FormData","append","needServerCompress","axios","method","onUploadProgress","progressEvent","percentCompleted","loaded","total","onProgress","percent","res","catch","err","response","$message","error","$router","finally","message","rootUrl","location","protocol","host","shift","navigator","clipboard","writeText","resolve","reject","needCustomCompress","includes","isLt20M","pushFileToQueue","fileUrl","newFile","File","myUploadCount","event","urls","map","join","tagName","items","clipboardData","kind","getAsFile","checkResult","evt","console","log","getAsString","text","urlPattern","fileName","test","headers","JSON","stringify","contentType","disposition","filenameRegex","filenameStarRegex","matches","exec","replace","decodeURIComponent","pathname","pop","extension","isImage","imageExtensions","toLowerCase","videoExtensions","scrollTop","forEach","_component_UploadForm","_component_Footer","_component_el_radio","_component_el_radio_group","_component_el_dialog","_component_el_switch","_component_el_form_item","_component_el_slider","_component_el_form","id","openCompressDialog","openUrlDialog","handleManage","handleLogout","logoUrl","ownerName","title","showUrlDialog","dialogWidth","onChange","changeUrlForm","showCompressDialog","label","min","max","bingWallPaperIndex","customWallPaperIndex","val","updateCompressConfig","bkInterval","bkOpacity","bg1","getElementById","bg2","uploadBkImg","$store","dispatch","bingWallPapers","opacity","setInterval","curBg","nextBg","Array","uploadCopyUrlForm","compressConfig","components","UploadForm","Footer","success","commit"],"sourceRoot":""}