PageSourceSearch

https://www.upma.cn/_next/static/chunks/75f964463e43185f.js

js upma.cn collected 2026-10-06 13:15:22 UTC 38,342 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,103313,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],a=o[1],u=new i((s+a)*3/4-a),l=0,h=a>0?s-4:s;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[l++]=255&e),1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(t,e,n){for(var i,o=[],s=e;s<n;s+=3)i=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return f(t,e,r)}function f(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),f=s(o),u=f.write(n,i);return u!==o&&(f=f.slice(0,u)),f}if(ArrayBuffer.isView(t))return h(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return a.from(l,e,r);var g=function(t){if(a.isBuffer(t)){var e=0|c(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(g)return g;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return u(t),s(t<0?0:0|c(t))}function h(t){for(var e=t.length<0?0:0|c(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return f(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(u(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return l(t)},a.allocUnsafeSlow=function(t){return l(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(t).length;default:if(i)return n?-1:P(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){var i,o,s,a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=T[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return m(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,s=r,0===o&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(a)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function d(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var o,s=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,a/=2,f/=2,r/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=r;o<a;
vendor: 12,407 bytes, line 1
1o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===f)return l*s}else -1!==l&&(o-=o-l),l=-1}else for(r+f>a&&(r=a-f),o=r;o>=0;o--){for(var h=!0,c=0;c<f;c++)if(u(t,o+c)!==u(e,c)){h=!1;break}if(h)return o}return -1}a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),O(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=a.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(O(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?m(this,0,t):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(t,e,r,n,i){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,s=r-e,f=Math.min(o,s),u=this.slice(n,i),l=t.slice(e,r),h=0;h<f;++h)if(u[h]!==l[h]){o=u[h],s=l[h];break}return o<s?-1:+(s<o)},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return d(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return d(this,t,e,r,!1)};function m(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,a,f,u=t[i],l=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(l=u);break;case 2:(192&(o=t[i+1]))==128&&(f=(31&u)<<6|63&o)>127&&(l=f);break;case 3:o=t[i+1],s=t[i+2],(192&o)==128&&(192&s)==128&&(f=(15&u)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(l=f);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(f=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&f<1114112&&(l=f)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}var c=n,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var g="",y=0;y<p;)g+=String.fromCharCode.apply(String,c.slice(y,y+=4096));return g}function w(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function b(t,e,r,n,i,o){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function E(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,o){return e*=1,r>>>=0,o||E(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function x(t,e,r,n,o){return e*=1,r>>>=0,o||E(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,f,u,l,h,c=this.length-e;if((void 0===r||r>c)&&(r=c),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,f=parseInt(e.substr(2*s,2),16);if((a=f)!=a)break;t[r+s]=f}return s}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,B(P(t,this.length-i),this,i,o);case"ascii":return s=e,a=r,B(k(t),this,s,a);case"latin1":case"binary":return function(t,e,r,n){return B(k(e),t,r,n)}(this,t,e,r);case"base64":return f=e,u=r,B(S(t),this,f,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,h=r,B(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,h);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=1,s=0;for(this[e]=255&t;++s<r&&(o*=256);)this[e+s]=t/o&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=r-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return x(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return x(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),f=s.length;
1if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=s[i%f]}return this};var R=/[^+/0-9A-Za-z-_]/g;function P(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function k(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function S(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function O(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var T=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,f=(1<<a)-1,u=f>>1,l=-7,h=r?i-1:0,c=r?-1:1,p=t[e+h];for(h+=c,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+t[e+h],h+=c,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+t[e+h],h+=c,l-=8);if(0===o)o=1-u;else{if(o===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=u}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,f,u=8*o-i-1,l=(1<<u)-1,h=l>>1,c=5960464477539062e-23*(23===i),p=n?0:o-1,g=n?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(a=+!!isNaN(e),s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+h>=1?e+=c/f:e+=c*Math.pow(2,1-h),e*f>=2&&(s++,f/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(e*f-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=g,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[r+p]=255&s,p+=g,s/=256,u-=8);t[r+p-g]|=128*y}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}},s=!0;try{n[t](r,r.exports,o),s=!1}finally{s&&delete i[t]}return r.exports}o.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/buffer/",e.exports=o(72)},790882,t=>{"use strict";var e,r,n,i,o=t.i(65666);let s=Symbol("Comlink.proxy"),a=Symbol("Comlink.endpoint"),f=Symbol("Comlink.releaseProxy"),u=Symbol("Comlink.finalizer"),l=Symbol("Comlink.thrown"),h=t=>"object"==typeof t&&null!==t||"function"==typeof t,c=new Map([["proxy",{canHandle:t=>h(t)&&t[s],serialize(t){let{port1:e,port2:r}=new MessageChannel;return function t(e,r=globalThis,n=["*"]){r.addEventListener("message",function i(o){let s;if(!o||!o.data)return;if(!function(t,e){for(let r of t)if(e===r||"*"===r||r instanceof RegExp&&r.test(e))return!0;return!1}(n,o.origin))return void console.warn(`Invalid origin '${o.origin}' for comlink proxy`);let{id:a,type:f,path:h}=Object.assign({path:[]},o.data),c=(o.data.argumentList||[]).map(x);try{let r=h.slice(0,-1).reduce((t,e)=>t[e],e),n=h.reduce((t,e)=>t[e],e);switch(f){case"GET":s=n;break;case"SET":r[h.slice(-1)[0]]=x(o.data.value),s=!0;break;case"APPLY":s=n.apply(r,c);break;case"CONSTRUCT":s=E(new n(...c));break;case"ENDPOINT":{var g;let{port1:r,port2:n}=new MessageChannel;t(e,n),g=[r],b.set(r,g),s=r}break;case"RELEASE":s=void 0;break;default:return}}catch(t){s={value:t,[l]:0}}Promise.resolve(s).catch(t=>({value:t,[l]:0})).then(t=>{let[n,o]=A(t);r.postMessage(Object.assign(Object.assign({},n),{id:a}),o),"RELEASE"===f&&(r.removeEventListener("message",i),p(r),u in e&&"function"==typeof e[u]&&e[u]())}).catch(t=>{let[e,n]=A({value:TypeError("Unserializable return value"),[l]:0});r.postMessage(Object.assign(Object.assign({},e),{id:a}),n)})}),r.start&&r.start()}(t,e),[r,[r]]},deserialize:t=>(t.start(),m(t,[],void 0))}],["throw",{canHandle:t=>h(t)&&l in t,serialize:({value:t})=>[t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[]],deserialize(t){if(t.isError)throw Object.assign(Error(t.value.message),t.value);throw t.value}}]]);function p(t){"MessagePort"===t.constructor.name&&t.close()}function g(t){if(t)throw Error("Proxy has been released and is not useable")}function y(t){return R(t,{type:"RELEASE"}).then(()=>{p(t)})}let d=new WeakMap,v="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{let e=(d.get(t)||0)-1;d.set(t,e),0===e&&y(t)});function m(t,e=[],r=function(){}){let n,i=!1,o=new Proxy(r,{get(r,n){if(g(i),n===f)return()=>{v&&v.unregister(o),y(t),i=!0};if("then"===n){if(0===e.length)return{then:()=>o};let r=R(t,{type:"GET",path:e.map(t=>t.toString())}).then(x);return r.then.bind(r)}return m(t,[...e,n])},set(r,n,o){g(i);let[s,a]=A(o);return R(t,{type:"SET",path:[...e,n].map(t=>t.toString()),value:s},a).then(x)},apply(r,n,o){g(i);let s=e[e.length-1];if(s===a)return R(t,{type:"ENDPOINT"}).then(x);if("bind"===s)return m(t,e.slice(0,-1));let[f,u]=w(o);
1return R(t,{type:"APPLY",path:e.map(t=>t.toString()),argumentList:f},u).then(x)},construct(r,n){g(i);let[o,s]=w(n);return R(t,{type:"CONSTRUCT",path:e.map(t=>t.toString()),argumentList:o},s).then(x)}});return n=(d.get(t)||0)+1,d.set(t,n),v&&v.register(o,t,o),o}function w(t){var e;let r=t.map(A);return[r.map(t=>t[0]),(e=r.map(t=>t[1]),Array.prototype.concat.apply([],e))]}let b=new WeakMap;function E(t){return Object.assign(t,{[s]:!0})}function A(t){for(let[e,r]of c)if(r.canHandle(t)){let[n,i]=r.serialize(t);return[{type:"HANDLER",name:e,value:n},i]}return[{type:"RAW",value:t},b.get(t)||[]]}function x(t){switch(t.type){case"HANDLER":return c.get(t.name).deserialize(t.value);case"RAW":return t.value}}function R(t,e,r){return new Promise(n=>{let i=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",function e(r){r.data&&r.data.id&&r.data.id===i&&(t.removeEventListener("message",e),n(r.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:i},e),r)})}class P{constructor(t,e,r,n,i){this._name=t,this._size=e,this._path=r,this._lastModified=n,this._archiveRef=i}get name(){return this._name}get size(){return this._size}get lastModified(){return this._lastModified}extract(){return this._archiveRef.extractSingleFile(this._path)}}function k(t){if(t instanceof File||t instanceof P||null===t)return t;let e={};for(let r of Object.keys(t))e[r]=k(t[r]);return e}function S(t,e){let r=e.split("/");""===r[r.length-1]&&r.pop();let n=t,i=null;for(let t of r)n[t]=n[t]||{},i=n,n=n[t];return[i,r[r.length-1]]}class B{constructor(t,e,r){this._content={},this._processed=0,this.file=t,this.client=e,this.worker=r}open(){return this._content={},this._processed=0,new Promise((t,e)=>{this.client.open(this.file,E(()=>{t(this)}))})}async close(){var t;null==(t=this.worker)||t.terminate(),this.worker=null,this.client=null,this.file=null}async hasEncryptedData(){return await this.client.hasEncryptedData()}async usePassword(t){await this.client.usePassword(t)}async setLocale(t){await this.client.setLocale(t)}async getFilesObject(){return this._processed>0?Promise.resolve().then(()=>this._content):((await this.client.listFiles()).forEach(t=>{let[e,r]=S(this._content,t.path);"FILE"===t.type&&(e[r]=new P(t.fileName,t.size,t.path,t.lastModified,this))}),this._processed=1,k(this._content))}getFilesArray(){return this.getFilesObject().then(t=>(function t(e,r=""){let n=[];for(let i of Object.keys(e))e[i]instanceof File||e[i]instanceof P||null===e[i]?n.push({file:e[i]||i,path:r}):n.push(...t(e[i],`${r}${i}/`));return n})(t))}async extractSingleFile(t){if(null===this.worker)throw Error("Archive already closed");let e=await this.client.extractSingleFile(t);return new File([e.fileData],e.fileName,{type:"application/octet-stream",lastModified:e.lastModified/1e6})}async extractFiles(t){var e;return this._processed>1?Promise.resolve().then(()=>this._content):((await this.client.extractFiles()).forEach(e=>{let[r,n]=S(this._content,e.path);"FILE"===e.type&&(r[n]=new File([e.fileData],e.fileName,{type:"application/octet-stream"}),void 0!==t&&setTimeout(t.bind(null,{file:r[n],path:e.path})))}),this._processed=2,null==(e=this.worker)||e.terminate(),k(this._content))}}(e=n||(n={})).SEVEN_ZIP="7zip",e.AR="ar",e.ARBSD="arbsd",e.ARGNU="argnu",e.ARSVR4="arsvr4",e.BIN="bin",e.BSDTAR="bsdtar",e.CD9660="cd9660",e.CPIO="cpio",e.GNUTAR="gnutar",e.ISO="iso",e.ISO9660="iso9660",e.MTREE="mtree",e.MTREE_CLASSIC="mtree-classic",e.NEWC="newc",e.ODC="odc",e.OLDTAR="oldtar",e.PAX="pax",e.PAXR="paxr",e.POSIX="posix",e.PWB="pwb",e.RAW="raw",e.RPAX="rpax",e.SHAR="shar",e.SHARDUMP="shardump",e.USTAR="ustar",e.V7TAR="v7tar",e.V7="v7",e.WARC="warc",e.XAR="xar",e.ZIP="zip",(r=i||(i={})).B64ENCODE="b64encode",r.BZIP2="bzip2",r.COMPRESS="compress",r.GRZIP="grzip",r.GZIP="gzip",r.LRZIP="lrzip",r.LZ4="lz4",r.LZIP="lzip",r.LZMA="lzma",r.LZOP="lzop",r.UUENCODE="uuencode",r.XZ="xz",r.ZSTD="zstd",r.NONE="none";class O{static init(t=null){return O._options=t||{},O._options}static async open(t){let e=O.getWorker(O._options),r=new B(t,await O.getClient(e,O._options),e);return await r.open()}static async write({files:t,outputFileName:e,compression:r,format:n,passphrase:i=null}){let o=O.getWorker(O._options),s=await O.getClient(o,O._options),a=await s.writeArchive(t,r,n,i);return o.terminate(),new File([a],e,{type:"application/octet-stream"})}static getWorker(e){return e.getWorker?e.getWorker():new Worker(e.workerUrl||new t.U(t.r(966536)),{type:"module"})}static async getClient(t,e){var r;let n=(null==(r=e.createClient)?void 0:r.call(e,t))||m(t,[],void 0),{promise:i,resolve:o}=Promise.withResolvers(),s=await new n(E(()=>{o()}));return await i,s}}O._options={},Promise.withResolvers||(Promise.withResolvers=function(){var t,e,r=new this(function(r,n){t=r,e=n});return{resolve:t,reject:e,promise:r}});var T=t.i(754219);O.init({workerUrl:"/wasm/worker-bundle.js"});
1let C=new Set(["exe","msi","msp","scr","com","gadget","apk","ipa","dmg","pkg","deb","rpm","appimage","bat","cmd","ps1","psm1","psd1","vbs","vbe","wsf","wsh","hta","jar","jnlp","pem","key","p12","pfx","jks","keystore","sql","sqlite","sqlite3","dump","bak","backup","docm","xlsm","pptm"]),_=new Set([".npmrc",".yarnrc",".pypirc",".netrc","id_rsa","id_dsa","id_ecdsa","id_ed25519","npm-debug.log","yarn-debug.log","yarn-error.log","pnpm-debug.log"]),L=new Set([".git",".svn",".hg","node_modules",".pnp.cjs",".pnp.loader.mjs",".yarn",".next",".nuxt",".svelte-kit",".vercel",".netlify","coverage",".cache",".turbo",".parcel-cache"]),U=/[\x00-\x1f]/;function I(t){let e,r;if(!t||!t.trim())return"文件路径不能为空";if(t.includes("..")||t.startsWith("/")||t.includes("\\"))return"包含非法路径";if(U.test(t))return"包含非法控制字符";for(let e of t.split("/").filter(Boolean))if(L.has(e.toLowerCase()))return`包含禁止上传的目录或路径片段: ${e}`;let n=(e=t.replace(/\\/g,"/").split("/"))[e.length-1]||"",i=n.toLowerCase();if(".env"===i||i.startsWith(".env."))return`包含敏感环境配置文件: ${n}`;if(_.has(i))return`包含禁止上传的文件: ${n}`;let o=(r=i.lastIndexOf("."))>0?i.slice(r+1).toLowerCase():"";return o&&C.has(o)?`包含高风险文件类型: .${o}`:null}function j(t){if(0===t.length)return t;let e=t.map(t=>t.webkitRelativePath||t.name),r=e[0],n=r.indexOf("/");if(n>0){let i=r.substring(0,n+1);if(e.every(t=>t.startsWith(i)))for(let e of t){let t=(e.webkitRelativePath||e.name).substring(i.length);Object.defineProperty(e,"webkitRelativePath",{value:t,writable:!0})}}return t}function M(t){return t.some(t=>(t.webkitRelativePath||t.name).toLowerCase().endsWith("index.html"))}let z=[".DS_Store","Thumbs.db","desktop.ini","__MACOSX",".git",".svn",".hg",".vscode",".idea","node_modules",".pnp.cjs",".pnp.loader.mjs",".yarn","coverage",".next",".nuxt",".svelte-kit",".vuepress/dist",".eslintcache",".tsbuildinfo"],F=/^\.env(\.[a-zA-Z0-9_-]+)?\.local$/i,N=/^(npm-debug\.log|yarn-error\.log|yarn-debug\.log|pnpm-debug\.log).*/i;function W(t){return t.split("/").some(t=>!!(z.includes(t)||t.startsWith("._")||F.test(t)||N.test(t)))}let D=new Set(["dist","build","out","output","public","www","wwwroot","htdocs"]);function Z(t){let e=new Set;for(let r of t){let t=r.indexOf("/");if(t<=0||(e.add(r.slice(0,t)),e.size>1))return""}let[r]=Array.from(e);return r&&D.has(r.toLowerCase())?`${r}/`:""}function $(t,e){return e&&t.startsWith(e)?t.slice(e.length):t}async function V(t){let e=T.toast.loading("正在解压 Zip 包...");try{let r=await o.default.loadAsync(t),n=Object.entries(r.files).filter(([t,e])=>!e.dir&&!W(t)),i=Z(n.map(([t])=>t)),s=[];for(let[t,e]of n){let r=await e.async("blob"),n=$(t,i),o=new File([r],n.split("/").pop()||"unknown",{type:r.type,lastModified:e.date.getTime()});Object.defineProperty(o,"webkitRelativePath",{value:n,writable:!0}),s.push(o)}return T.toast.dismiss(e),T.toast.success("Zip 解压成功"),s}catch(t){throw console.error("Zip decompression failed:",t),T.toast.dismiss(e),T.toast.error("Zip 解压失败",{description:"请检查文件是否损坏"}),t}}async function X(t){let e=T.toast.loading(`正在解压 ${t.name}...`),r=null;try{r=await O.open(t);let n=await r.getFilesObject(),i=[],o=async(t,e)=>{if(t&&"function"==typeof t.extract){try{let r=await t.extract();if(W(e))return;Object.defineProperty(r,"webkitRelativePath",{value:e,writable:!0}),i.push(r)}catch(t){console.warn(`Failed to extract ${e}:`,t)}return}if(t&&"object"==typeof t)for(let[r,n]of Object.entries(t)){if(!Object.prototype.hasOwnProperty.call(t,r)||r.startsWith("_"))continue;let i=e?`${e}/${r}`:r;await o(n,i)}};await o(n,"");let s=Z(i.map(t=>t.webkitRelativePath)),a=i.filter(t=>!W(t.webkitRelativePath)).map(t=>{let e=$(t.webkitRelativePath,s);return e===t.webkitRelativePath||Object.defineProperty(t,"webkitRelativePath",{value:e,writable:!0}),t});if(0===a.length)return console.warn("No valid files extracted from archive"),T.toast.dismiss(e),T.toast.warning("压缩包内容为空或格式不支持",{description:"未找到有效文件"}),[];return T.toast.dismiss(e),T.toast.success(`解压成功,共 ${a.length} 个文件`),a}catch(t){throw console.error("Archive decompression failed:",t),T.toast.dismiss(e),T.toast.error("解压失败",{description:"文件可能损坏或格式不支持"}),t}finally{}}function G(t){let e=[],r=[];for(let n of t)I(n.webkitRelativePath||n.name)?r.push(n):e.push(n);if(r.length>0){let t=r.slice(0,3).map(t=>t.name).join(", "),n=r.length>3?` 等共 ${r.length} 个文件`:"";e.length>
10&&T.toast.warning("部分高风险文件已被自动过滤",{description:`已跳过: ${t}${n}`,duration:5e3})}return{validFiles:e,invalidFiles:r}}async function H(t){let e=[],r=[];for(let e=0;e<t.length;e++){let n=t[e].webkitGetAsEntry();n&&r.push(n)}for(;r.length>0;){let t=r.shift();if(t.isFile){let r=await new Promise((e,r)=>{t.file(e,r)}),n=t.fullPath.replace(/^\//,"");if(W(n))continue;Object.defineProperty(r,"webkitRelativePath",{value:n,writable:!0}),e.push(r)}else if(t.isDirectory){let e=t.createReader(),n=async()=>{let t=await new Promise((t,r)=>{e.readEntries(t,r)});t.length>0&&(r.push(...t),await n())};await n()}}if(e.length>0){let t=e.map(t=>t.webkitRelativePath),r=t[0],n=r.indexOf("/");if(n>0){let i=r.substring(0,n+1);if(t.every(t=>t.startsWith(i)))for(let t of e){let e=t.webkitRelativePath.substring(i.length);Object.defineProperty(t,"webkitRelativePath",{value:e,writable:!0})}}}return e}async function Y(t,e){let r=t;if(0===(r=r.filter(t=>!W(t.webkitRelativePath||t.name))).length&&t.length>0)return{files:[],error:"invalid_type"};if(1===r.length&&r[0].name.toLowerCase().endsWith(".zip"))try{r=await V(r[0])}catch{return{files:[],error:"zip_failed"}}else if(1===r.length&&/\.(rar|7z|tar|gz|bz2|xz)$/i.test(r[0].name))try{r=await X(r[0])}catch{return{files:[],error:"archive_failed"}}let{validFiles:n,invalidFiles:i}=G(r);return 0===n.length&&i.length>0?(T.toast.error("未找到可部署文件",{description:"选择的文件均属于高风险类型,已被系统拦截"}),{files:[],error:"invalid_type"}):{files:r=n}}async function q(t){try{let e=await t.text(),r=JSON.parse(e),n={...r.dependencies,...r.devDependencies};if(n.next)return"Next.js";if(n.nuxt)return"Nuxt.js";if(n["@sveltejs/kit"])return"SvelteKit";if(n.svelte)return"Svelte";if(n.gatsby)return"Gatsby";if(n["@remix-run/react"])return"Remix";if(n.vue)return"Vue";if(n.react)return"React";if(n["@angular/core"])return"Angular";if(n.hexo)return"Hexo";if(n.vitepress)return"VitePress";if(n.vuepress)return"VuePress";if(n.docsify)return"Docsify";if(n.docusaurus)return"Docusaurus";return"前端工程"}catch(t){return console.warn("解析 package.json 检测框架失败",t),null}}async function K(t){let e=null,r=!1,n=!1;for(let i of t){let t=(i.webkitRelativePath||i.name).split("/"),o=t[t.length-1];"package.json"===o&&(!e||t.length<(e.webkitRelativePath||e.name).split("/").length)&&(e=i),"index.html"===o.toLowerCase()&&t.length<=2&&(r=!0),(o.startsWith("vite.config.")||o.startsWith("webpack.config.")||o.startsWith("next.config.")||o.startsWith("nuxt.config.")||o.startsWith("vue.config.")||o.endsWith(".vue")||o.endsWith(".jsx")||o.endsWith(".tsx")||t.includes("src"))&&(n=!0)}if(!e||r&&!n)return{shouldPromptForSource:!1,framework:null,canContinueUpload:!0,unsupportedFiles:[]};let i=await q(e),o=[".npmrc",".yarnrc",".pypirc",".env"],s=[];for(let e of t){let t=e.name;o.includes(t)&&s.push(t)}return{shouldPromptForSource:!0,framework:i,canContinueUpload:!0,unsupportedFiles:s}}t.s(["FILE_INPUT_ACCEPT",0,"","analyzeFilesForUpload",()=>K,"detectFramework",()=>q,"extractArchiveFile",()=>X,"extractZipFile",()=>V,"filterAndValidateDeployFiles",()=>G,"getDeployFileViolation",()=>I,"hasIndexHtml",()=>M,"isIgnoredFile",()=>W,"processSelectedFiles",()=>Y,"readDroppedItems",()=>H,"stripCommonPrefix",()=>j],790882)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.