Mars3D-screen_web/dist/assets/js/annexDowload-1faf63f6.js

13 lines
98 KiB
JavaScript
Raw Normal View History

2023-10-10 09:36:22 +08:00
import{a3 as dt,a6 as Ot}from"./index-ccab2584.js";import{c as wt}from"./_commonjs-dynamic-modules-d7dd40bd.js";var zt={exports:{}};/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/(function(pt,mt){(function(b){pt.exports=b()})(function(){return function b(T,w,l){function o(p,g){if(!w[p]){if(!T[p]){var _=typeof wt=="function"&&wt;if(!g&&_)return _(p,!0);if(n)return n(p,!0);var m=new Error("Cannot find module '"+p+"'");throw m.code="MODULE_NOT_FOUND",m}var i=w[p]={exports:{}};T[p][0].call(i.exports,function(c){var r=T[p][1][c];return o(r||c)},i,i.exports,b,T,w,l)}return w[p].exports}for(var n=typeof wt=="function"&&wt,h=0;h<l.length;h++)o(l[h]);return o}({1:[function(b,T,w){var l=b("./utils"),o=b("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";w.encode=function(h){for(var p,g,_,m,i,c,r,u=[],a=0,d=h.length,y=d,S=l.getTypeOf(h)!=="string";a<h.length;)y=d-a,_=S?(p=h[a++],g=a<d?h[a++]:0,a<d?h[a++]:0):(p=h.charCodeAt(a++),g=a<d?h.charCodeAt(a++):0,a<d?h.charCodeAt(a++):0),m=p>>2,i=(3&p)<<4|g>>4,c=1<y?(15&g)<<2|_>>6:64,r=2<y?63&_:64,u.push(n.charAt(m)+n.charAt(i)+n.charAt(c)+n.charAt(r));return u.join("")},w.decode=function(h){var p,g,_,m,i,c,r=0,u=0,a="data:";if(h.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var d,y=3*(h=h.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(h.charAt(h.length-1)===n.charAt(64)&&y--,h.charAt(h.length-2)===n.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=o.uint8array?new Uint8Array(0|y):new Array(0|y);r<h.length;)p=n.indexOf(h.charAt(r++))<<2|(m=n.indexOf(h.charAt(r++)))>>4,g=(15&m)<<4|(i=n.indexOf(h.charAt(r++)))>>2,_=(3&i)<<6|(c=n.indexOf(h.charAt(r++))),d[u++]=p,i!==64&&(d[u++]=g),c!==64&&(d[u++]=_);return d}},{"./support":30,"./utils":32}],2:[function(b,T,w){var l=b("./external"),o=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),h=b("./stream/DataLengthProbe");function p(g,_,m,i,c){this.compressedSize=g,this.uncompressedSize=_,this.crc32=m,this.compression=i,this.compressedContent=c}p.prototype={getContentWorker:function(){var g=new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),_=this;return g.on("end",function(){if(this.streamInfo.data_length!==_.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new o(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(g,_,m){return g.pipe(new n).pipe(new h("uncompressedSize")).pipe(_.compressWorker(m)).pipe(new h("compressedSize")).withStreamInfo("compression",_)},T.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,T,w){var l=b("./stream/GenericWorker");w.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},w.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,T,w){var l=b("./utils"),o=function(){for(var n,h=[],p=0;p<256;p++){n=p;for(var g=0;g<8;g++)n=1&n?3988292384^n>>>1:n>>>1;h[p]=n}return h}();T.exports=function(n,h){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r<c;r++)p=p>>>8^i[255&(p^g[r])];return-1^p}(0|h,n,n.length,0):function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r<c;r++)p=p>>>8^i[255&(p^g.charCodeAt(r))];return-1^p}(0|h,n,n.length,0):0}},{"./utils":32}],5:[function(b,T,w){w.base64=!1,w.binary=!1,w.dir=!1,w.createFolders=!0,w.date=null,w.compression=null,w.compressionOptions=null,w.comment=null,w.unixPermissions=null,w.dosPermissions=null},{}],6:[function(b,T,w){var l=null;l=typeof Promise<"u"?Promise:b("lie"),T.exports={Promise:l}},{lie:37}],7:[function(b,T,w){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=b("pako"),n=b("./utils"),h=b("./stream/GenericWorker"),p=l?"uint8array":"array";function g(_,m){h.call(this,"FlateWorker/"+_),this._pako=null,this._pakoAction=_,this._pakoOptions=m
\0`,G+=l(A,2),G+=F.magic,G+=l(y,2),G+=l(S,2),G+=l(q.crc32,4),G+=l(q.compressedSize,4),G+=l(q.uncompressedSize,4),G+=l(P.length,2),G+=l(D.length,2),{fileRecord:_.LOCAL_FILE_HEADER+G+P+D,dirRecord:_.CENTRAL_FILE_HEADER+l(X,2)+G+l(V.length,2)+"\0\0\0\0"+l(E,4)+l(u,4)+P+D+V}}var n=b("../utils"),h=b("../stream/GenericWorker"),p=b("../utf8"),g=b("../crc32"),_=b("../signature");function m(i,c,r,u){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=c,this.zipPlatform=r,this.encodeFileName=u,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(m,h),m.prototype.push=function(i){var c=i.meta.percent||0,r=this.entriesCount,u=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:r?(c+100*(r-u-1))/r:100}}))},m.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var c=this.streamFiles&&!i.file.dir;if(c){var r=o(i,c,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(i){this.accumulate=!1;var c=this.streamFiles&&!i.file.dir,r=o(i,c,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),c)this.push({data:function(u){return _.DATA_DESCRIPTOR+l(u.crc32,4)+l(u.compressedSize,4)+l(u.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var i=this.bytesWritten,c=0;c<this.dirRecords.length;c++)this.push({data:this.dirRecords[c],meta:{percent:100}});var r=this.bytesWritten-i,u=function(a,d,y,S,x){var F=n.transformTo("string",x(S));return _.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(a,2)+l(a,2)+l(d,4)+l(y,4)+l(F.length,2)+F}(this.dirRecords.length,r,i,this.zipComment,this.encodeFileName);this.push({data:u,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(i){this._sources.push(i);var c=this;return i.on("data",function(r){c.processChunk(r)}),i.on("end",function(){c.closedSource(c.previous.streamInfo),c._sources.length?c.prepareNextSource():c.end()}),i.on("error",function(r){c.error(r)}),this},m.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(i){var c=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var r=0;r<c.length;r++)try{c[r].error(i)}catch{}return!0},m.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,c=0;c<i.length;c++)i[c].lock()},T.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,T,w){var l=b("../compressions"),o=b("./ZipFileWorker");w.generateWorker=function(n,h,p){var g=new o(h.streamFiles,p,h.platform,h.encodeFileName),_=0;try{n.forEach(function(m,i){_++;var c=function(d,y){var S=d||y,x=l[S];if(!x)throw new Error(S+" is not a valid compression method !");return x}(i.options.compression,h.compression),r=i.options.compressionOptions||h.compressionOptions||{},u=i.dir,a=i.date;i._compressWorker(c,r).withStreamInfo("file",{name:m,dir:u,date:a,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(g)}),g.entriesCount=_}catch(m){g.error(m)}return g}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,T,w){function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrad