api-b1ba779f-1720699367816.js 116 KB

1234567891011
  1. import{H as at,d as Ot,e as Ut,f as et,w as pt,b7 as St,df as Ct,b8 as Wt,b as Zt,r as Ft,k as Tt,j as It,dg as Ht,F as Vt,P as bt,E as Gt,_ as Yt,dh as Kt}from"./index-b48b51d2-1720699367816.js";import{i as qt,a as Qt}from"./icon-collect-active-4272e308-1720699367816.js";import{T as Jt}from"./index-96385afb-1720699367816.js";import{F as Nt}from"./index-43a4a5ce-1720699367816.js";const Ve=B=>at.post("/edu-app/lessonCourseware/page",{data:B}),Ge=B=>at.get("/edu-app/lessonCourseware/detail/"+B.id,{params:B}),Ye=B=>at.post("/edu-app/lessonCourseware/remove",{requestType:"form",data:B}),Ke=B=>at.post("/edu-app/lessonPreTraining/page",{data:B}),qe=B=>at.post("/edu-app/lessonPreTraining/delete?ids="+B.ids,{data:B}),Qe=B=>at.post("/edu-app/classGroup/page",{data:B}),Je=B=>at.post("/edu-app/lessonTraining/add",{data:B}),Xe=B=>at.post("/edu-app/courseSchedule/start",{data:B}),$e=B=>at.post("/edu-app/bookVersion/page",{data:B}),tr=B=>at.post("/edu-app/teacherKnowledgeMaterial/tagUseCourseware",{requestType:"form",data:B}),er=B=>at.post("/edu-app/courseSchedule/update",{data:B}),rr=B=>at.get("/edu-app/musicPracticeRecord/detail/"+B.id,{params:B}),nr=B=>at.post("/edu-app/lessonPreTrainingV2/save",{data:B}),ir=B=>at.get("/edu-app/lessonPreTrainingV2/detail/"+B.id),ar=B=>at.post("/edu-app/teacherChapterLessonCourseware/list",{data:B}),sr=B=>at.post("/edu-app/teacherChapterLessonCourseware/queryOpenCoursewareByPage",{data:B}),or=B=>at.post("/edu-app/teacherChapterLessonCourseware/addByOpenCourseware",{data:B}),lr=B=>at.post("/edu-app/teacherChapterLessonCourseware/add",{data:B}),ur=B=>at.post("/edu-app/teacherChapterLessonCourseware/remove?id="+B.id,{requestType:"form"}),dr=B=>at.post("/edu-app/teacherChapterLessonCourseware/update",{data:B}),cr=B=>at.get("/edu-app/teacherChapterLessonCourseware/detail/"+B),hr=B=>at.get("/edu-app/material/detail/"+B),Xt="_isActive_e79d4_25",$t="_cardDrag_e79d4_38",te="_course_e79d4_44",ee="_showAddBtn_e79d4_48",re="_addBtn_e79d4_52",ne="_cover_e79d4_58",ie="_footer_e79d4_75",ae="_title_e79d4_80",se="_titleType_e79d4_84",oe="_titleContent_e79d4_89",le="_btnGroup_e79d4_97",ue="_btnItem_e79d4_107",de="_iconCollect_e79d4_110",ce="_isCollect_e79d4_119",he="_iconDiv_e79d4_122",fe="_iconSelected_e79d4_125",pe="_addBtnDisabled_e79d4_147",me="_offShelfBg_e79d4_158",ge="_offShelfTips_e79d4_172",_e="_offShelfBtn_e79d4_179",X={"card-section-content":"_card-section-content_e79d4_7",isActive:Xt,"card-section":"_card-section_e79d4_7",cardDrag:$t,course:te,showAddBtn:ee,addBtn:re,cover:ne,footer:ie,title:ae,titleType:se,titleContent:oe,btnGroup:le,btnItem:ue,iconCollect:de,isCollect:ce,iconDiv:he,iconSelected:fe,addBtnDisabled:pe,offShelfBg:me,offShelfTips:ge,offShelfBtn:_e},ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAABKRJREFUSEulVk1oXFUU/k5mEmoktmRh0iipEKiLFKRopxGqTdKkolQaMQklggqCulNX7a4IRbvVVZdCoQtbTVZFERQ6mTQZJxZFai0qWpk0xdoflZjEvPvJuT/v3TdRUuiDwJubd893zne+8yOIHpLyxOcYNWuYIFBigo7EsAACxgAkACMwhvadFNCeEyYB9DtCEia4RqAK4tSll3FGRPSmfSS8DJXZvbKK04lBicGgcUDWkDXO9HdwwAHCAoPeGb1nnbNn1WIzxi6+JFdSQAuWYM4k7IwvWgNqLIkj0vcM3H6vthU4/KUOOGCBLBaL2K2gojTuLWOWIbKIMguY6O2YxtiwAw70dm4iNrcAl28Aq0pxYMhSKdXvX0Gf7C1zjIYfOlryBqyxQJmPS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RTY7DUds7qIQzvh+070juzV+CTEfhtLgs6l+mcmMbeRQI86AvcEcLJ12GT5yw2OTEJZyYgFNj9JAwM+JPl3ueuwNtHQBbz4GmL2do0mf5phlvuh/ePFg3pyY2bcOhFV8oPT8DqNeX33nsNZn4tzK+YrXuNjdYHx85+OHqo3JCeNodducZGq+98OgK/XEjtRihOM4wd6rN3I3x+vNrYvoOupKMnq+8cexl+j/qYzLKgKDVYWhKQJfdUp4eH4bHt5Qb3PetAM3qq/Pv5H2D8I3dHA1O7+gzVle2hT1kRg9wZwtO74ImHYe3qrGF1qEF9nHN46yb89D18exaMIjmy5c1isYc+Y9gIgVUroBak/Vj400W8aqVDoVIZS/DPQkpvFTxc7KF/0UZm4K4VoCQQ93nhryiQlekGUYe3F6L/c8SeZOiXNCbk2KHO4jO74PEdsC4H/f1RSfM9jEv6zVmgXbrSHGh8brRZCBw+0AE0ilL+A2i83RlVpxw0PRuWGYtlUKotPfYSXL+aMk1UufI5fFQH/7nqGWsNO0OdBv+zE3Dx5yyIQuKxyG33B+5bhtpecCX94H9QW8I0jeYiYsIMn1ryfqMDeX/tIn9qsJq83zni1lRWOSh5t2YJTXdhH/Z1wStV60n3nW6VAA6UrKexEUdrGpS/DwOZE9PfPIcwUNiHGplmunkTrF8L05dh/mrEHtF8xtF3d0FfD9y6DjOXQHQkcm1yMz3pJEZgTqejoZxXhHMqrmIJkdnkFfIxRwB1GSqKqLzm7KRpiuqsgMok0JpM8eb4NqtLMzIxIwFLMs1zpG6ajECOKxRtCBdwKhMLQlhUcfv190qXEUS5pe3v00zQJUI4caoadWdrEDF7rE61Ul/1jhetR8RFYFhabBOaa1jFXZT6/wItZrUqOJLpegAAAABJRU5ErkJggg==",xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAolBMVEX///8AAADDw8P///8KCgrAwMD///////////////////////+9vb0UFBTPz8////+jo6Pj4+P///////////////////////////////////////////////////////////////////////9dXV1tbW20tLTg4OD///8EBAQhISE7OztBQUHR0dH09PT///////9WVlbd3d24uLjf398AAAAW31+oAAAANXRSTlPMANaz/NbBqD4XBwXX+tTJ29C9uLWrnpaOfnVzW1dUQjgzEA/p5tnRd/728e/TziB269HX0Sblvg8AAAKFSURBVFjDrNTXjsIwEIXhs5iNUyD03ptA3FC0fv9X29k1YCCJhyT+byJF8SePIg2+7K2Xs/NAinaj0RZycJ4t18wBGxj6E4lEcuKHhcDVyENG3miVF4zmAtbEPMoBhtMO2DrT8FPQF/go4X8EBkN83DDgwYWHHHkLBozGyNk4soGbPnLX32SDQQ8F6gVZ4KmLQnVP6WBAXkExSAM3PRSut0mCUR8l6kcJcIxSjd/BBUq2eAUDDyXzghdwiNINn0EfXPsWuHwDhgJMO6V2YBLhA5yC6UdR7B2ndzDqgOlbURUwdaIbOIcbEPMbKFyBQoMruAKx+gdH7sDRHxh67kAvJNCHOxA+gROX4IRA6RKUX1jDJUjc0ilI3AzWWu9gC7aIO6Q7+tz1qI7xMxjTi6veZ3ukRNzAtq225NRjA8Z1em4t+4w4mXa/+7a6KC1qUHvqAmCvqLQ7SggkqzwmrGpRg9qrxuaLZAJtG4iaFpuKamqvBgtIXCMbNKJmjZcNNhhQiybyGJAZ2YjGY0YWDGhE41l/iuRAI5LHghIDBjQieSxI3IEFqd/mzF2FYRiGoiFdSkuIoWsLJRgT4weFov//tWpqFsmy4Q45s7jrfSgQ8506BD/TyxZk3LK4qUOQ5d624MAFy21YwU20gEKMawk6YopkAaJJ1cjnuSWY+SBWwaQUG03EZDcruExMkmxUMfpAHQTJ6LUo4snES1FEDUurN/VWMSzpcS6kSCoxBTXO6YGzllmh1Hbg5EgM4XE/QjuEp1ErRrncjOIzyhVdzeDlEV1v0QUcPhGgRwz0zIIegtBTFXpMQ8994EESPZmCR1307AwexrHT/RmeC//3x368P3b7/fEDSTl9kuoIVp8AAAAASUVORK5CYII=",Se="_audioContainer_681d4_1",Ce="_cover_681d4_6",Ee="_imgHover_681d4_24",ze="_previewAudio_681d4_29",Be="_previewAudioHover_681d4_58",Ie="_imgAnimated_681d4_63",Et={audioContainer:Se,cover:Ce,imgHover:Ee,previewAudio:ze,previewAudioHover:Be,imgAnimated:Ie},Oe=Ot({name:"audio-player",props:{cover:{type:String,default:"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png"},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(B){const ht=Ut({status:!1});return()=>et("div",{class:[Et.audioContainer,ht.status?Et.imgAnimated:""]},[et(pt,{class:[Et.cover,ht.status?Et.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.cover},null)])}}),De="_audioContainer_681d4_1",Re="_cover_681d4_6",Fe="_imgHover_681d4_24",Te="_previewAudio_681d4_29",Ne="_previewAudioHover_681d4_58",Ue="_imgAnimated_681d4_63",zt={audioContainer:De,cover:Re,imgHover:Fe,previewAudio:Te,previewAudioHover:Ne,imgAnimated:Ue},Pe=Ot({name:"audio-player",props:{cover:{type:String,default:""},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(B){const ht=Ut({status:!1});return()=>et("div",{class:[zt.audioContainer,ht.status?zt.imgAnimated:""]},[et(pt,{class:[zt.cover,ht.status?zt.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.cover},null)])}});var Pt={exports:{}};/*!
  2. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  3. <http://stuartk.com/jszip>
  4. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  5. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  6. JSZip uses the library pako released under the MIT license :
  7. https://github.com/nodeca/pako/blob/main/LICENSE
  8. */(function(B,ht){(function(v){B.exports=v()})(function(){return function v(U,y,d){function l(_,b){if(!y[_]){if(!U[_]){var h=typeof Ct=="function"&&Ct;if(!b&&h)return h(_,!0);if(i)return i(_,!0);var m=new Error("Cannot find module '"+_+"'");throw m.code="MODULE_NOT_FOUND",m}var n=y[_]={exports:{}};U[_][0].call(n.exports,function(f){var r=U[_][1][f];return l(r||f)},n,n.exports,v,U,y,d)}return y[_].exports}for(var i=typeof Ct=="function"&&Ct,u=0;u<d.length;u++)l(d[u]);return l}({1:[function(v,U,y){var d=v("./utils"),l=v("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";y.encode=function(u){for(var _,b,h,m,n,f,r,o=[],a=0,p=u.length,w=p,x=d.getTypeOf(u)!=="string";a<u.length;)w=p-a,h=x?(_=u[a++],b=a<p?u[a++]:0,a<p?u[a++]:0):(_=u.charCodeAt(a++),b=a<p?u.charCodeAt(a++):0,a<p?u.charCodeAt(a++):0),m=_>>2,n=(3&_)<<4|b>>4,f=1<w?(15&b)<<2|h>>6:64,r=2<w?63&h:64,o.push(i.charAt(m)+i.charAt(n)+i.charAt(f)+i.charAt(r));return o.join("")},y.decode=function(u){var _,b,h,m,n,f,r=0,o=0,a="data:";if(u.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var p,w=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===i.charAt(64)&&w--,u.charAt(u.length-2)===i.charAt(64)&&w--,w%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=l.uint8array?new Uint8Array(0|w):new Array(0|w);r<u.length;)_=i.indexOf(u.charAt(r++))<<2|(m=i.indexOf(u.charAt(r++)))>>4,b=(15&m)<<4|(n=i.indexOf(u.charAt(r++)))>>2,h=(3&n)<<6|(f=i.indexOf(u.charAt(r++))),p[o++]=_,n!==64&&(p[o++]=b),f!==64&&(p[o++]=h);return p}},{"./support":30,"./utils":32}],2:[function(v,U,y){var d=v("./external"),l=v("./stream/DataWorker"),i=v("./stream/Crc32Probe"),u=v("./stream/DataLengthProbe");function _(b,h,m,n,f){this.compressedSize=b,this.uncompressedSize=h,this.crc32=m,this.compression=n,this.compressedContent=f}_.prototype={getContentWorker:function(){var b=new l(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),h=this;return b.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),b},getCompressedWorker:function(){return new l(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},_.createWorkerFrom=function(b,h,m){return b.pipe(new i).pipe(new u("uncompressedSize")).pipe(h.compressWorker(m)).pipe(new u("compressedSize")).withStreamInfo("compression",h)},U.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(v,U,y){var d=v("./stream/GenericWorker");y.STORE={magic:"\0\0",compressWorker:function(){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},y.DEFLATE=v("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(v,U,y){var d=v("./utils"),l=function(){for(var i,u=[],_=0;_<256;_++){i=_;for(var b=0;b<8;b++)i=1&i?3988292384^i>>>1:i>>>1;u[_]=i}return u}();U.exports=function(i,u){return i!==void 0&&i.length?d.getTypeOf(i)!=="string"?function(_,b,h,m){var n=l,f=m+h;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b[r])];return-1^_}(0|u,i,i.length,0):function(_,b,h,m){var n=l,f=m+h;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b.charCodeAt(r))];return-1^_}(0|u,i,i.length,0):0}},{"./utils":32}],5:[function(v,U,y){y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(v,U,y){var d=null;d=typeof Promise<"u"?Promise:v("lie"),U.exports={Promise:d}},{lie:37}],7:[function(v,U,y){var d=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=v("pako"),i=v("./utils"),u=v("./stream/GenericWorker"),_=d?"uint8array":"array";function b(h,m){u.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=m,this.meta={}}y.magic="\b\0",i.inherits(b,u),b.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(_,h.data),!1)},b.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},b.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},b.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(m){h.push({data:m,meta:h.meta})}},y.compressWorker=function(h){return new b("Deflate",h)},y.uncompressWorker=function(){return new b("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(v,U,y){function d(n,f){var r,o="";for(r=0;r<f;r++)o+=String.fromCharCode(255&n),n>>>=8;return o}function l(n,f,r,o,a,p){var w,x,k=n.file,T=n.compression,O=p!==_.utf8encode,j=i.transformTo("string",p(k.name)),I=i.transformTo("string",_.utf8encode(k.name)),H=k.comment,Q=i.transformTo("string",p(H)),g=i.transformTo("string",_.utf8encode(H)),D=I.length!==k.name.length,e=g.length!==H.length,F="",$="",M="",tt=k.dir,L=k.date,J={crc32:0,compressedSize:0,uncompressedSize:0};f&&!r||(J.crc32=n.crc32,J.compressedSize=n.compressedSize,J.uncompressedSize=n.uncompressedSize);var E=0;f&&(E|=8),O||!D&&!e||(E|=2048);var C=0,q=0;tt&&(C|=16),a==="UNIX"?(q=798,C|=function(V,ot){var ct=V;return V||(ct=ot?16893:33204),(65535&ct)<<16}(k.unixPermissions,tt)):(q=20,C|=function(V){return 63&(V||0)}(k.dosPermissions)),w=L.getUTCHours(),w<<=6,w|=L.getUTCMinutes(),w<<=5,w|=L.getUTCSeconds()/2,x=L.getUTCFullYear()-1980,x<<=4,x|=L.getUTCMonth()+1,x<<=5,x|=L.getUTCDate(),D&&($=d(1,1)+d(b(j),4)+I,F+="up"+d($.length,2)+$),e&&(M=d(1,1)+d(b(Q),4)+g,F+="uc"+d(M.length,2)+M);var G="";return G+="\n\0",G+=d(E,2),G+=T.magic,G+=d(w,2),G+=d(x,2),G+=d(J.crc32,4),G+=d(J.compressedSize,4),G+=d(J.uncompressedSize,4),G+=d(j.length,2),G+=d(F.length,2),{fileRecord:h.LOCAL_FILE_HEADER+G+j+F,dirRecord:h.CENTRAL_FILE_HEADER+d(q,2)+G+d(Q.length,2)+"\0\0\0\0"+d(C,4)+d(o,4)+j+F+Q}}var i=v("../utils"),u=v("../stream/GenericWorker"),_=v("../utf8"),b=v("../crc32"),h=v("../signature");function m(n,f,r,o){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=f,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=n,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(m,u),m.prototype.push=function(n){var f=n.meta.percent||0,r=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(n):(this.bytesWritten+=n.data.length,u.prototype.push.call(this,{data:n.data,meta:{currentFile:this.currentFile,percent:r?(f+100*(r-o-1))/r:100}}))},m.prototype.openedSource=function(n){this.currentSourceOffset=this.bytesWritten,this.currentFile=n.file.name;var f=this.streamFiles&&!n.file.dir;if(f){var r=l(n,f,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(n){this.accumulate=!1;var f=this.streamFiles&&!n.file.dir,r=l(n,f,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),f)this.push({data:function(o){return h.DATA_DESCRIPTOR+d(o.crc32,4)+d(o.compressedSize,4)+d(o.uncompressedSize,4)}(n),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 n=this.bytesWritten,f=0;f<this.dirRecords.length;f++)this.push({data:this.dirRecords[f],meta:{percent:100}});var r=this.bytesWritten-n,o=function(a,p,w,x,k){var T=i.transformTo("string",k(x));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+d(a,2)+d(a,2)+d(p,4)+d(w,4)+d(T.length,2)+T}(this.dirRecords.length,r,n,this.zipComment,this.encodeFileName);this.push({data:o,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(n){this._sources.push(n);var f=this;return n.on("data",function(r){f.processChunk(r)}),n.on("end",function(){f.closedSource(f.previous.streamInfo),f._sources.length?f.prepareNextSource():f.end()}),n.on("error",function(r){f.error(r)}),this},m.prototype.resume=function(){return!!u.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(n){var f=this._sources;if(!u.prototype.error.call(this,n))return!1;for(var r=0;r<f.length;r++)try{f[r].error(n)}catch(o){}return!0},m.prototype.lock=function(){u.prototype.lock.call(this);for(var n=this._sources,f=0;f<n.length;f++)n[f].lock()},U.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(v,U,y){var d=v("../compressions"),l=v("./ZipFileWorker");y.generateWorker=function(i,u,_){var b=new l(u.streamFiles,_,u.platform,u.encodeFileName),h=0;try{i.forEach(function(m,n){h++;var f=function(p,w){var x=p||w,k=d[x];if(!k)throw new Error(x+" is not a valid compression method !");return k}(n.options.compression,u.compression),r=n.options.compressionOptions||u.compressionOptions||{},o=n.dir,a=n.date;n._compressWorker(f,r).withStreamInfo("file",{name:m,dir:o,date:a,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(b)}),b.entriesCount=h}catch(m){b.error(m)}return b}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(v,U,y){function d(){if(!(this instanceof d))return new d;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new d;for(var i in this)typeof this[i]!="function"&&(l[i]=this[i]);return l}}(d.prototype=v("./object")).loadAsync=v("./load"),d.support=v("./support"),d.defaults=v("./defaults"),d.version="3.10.1",d.loadAsync=function(l,i){return new d().loadAsync(l,i)},d.external=v("./external"),U.exports=d},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(v,U,y){var d=v("./utils"),l=v("./external"),i=v("./utf8"),u=v("./zipEntries"),_=v("./stream/Crc32Probe"),b=v("./nodejsUtils");function h(m){return new l.Promise(function(n,f){var r=m.decompressed.getContentWorker().pipe(new _);r.on("error",function(o){f(o)}).on("end",function(){r.streamInfo.crc32!==m.decompressed.crc32?f(new Error("Corrupted zip : CRC32 mismatch")):n()}).resume()})}U.exports=function(m,n){var f=this;return n=d.extend(n||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),b.isNode&&b.isStream(m)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",m,!0,n.optimizedBinaryString,n.base64).then(function(r){var o=new u(n);return o.load(r),o}).then(function(r){var o=[l.Promise.resolve(r)],a=r.files;if(n.checkCRC32)for(var p=0;p<a.length;p++)o.push(h(a[p]));return l.Promise.all(o)}).then(function(r){for(var o=r.shift(),a=o.files,p=0;p<a.length;p++){var w=a[p],x=w.fileNameStr,k=d.resolve(w.fileNameStr);f.file(k,w.decompressed,{binary:!0,optimizedBinaryString:!0,date:w.date,dir:w.dir,comment:w.fileCommentStr.length?w.fileCommentStr:null,unixPermissions:w.unixPermissions,dosPermissions:w.dosPermissions,createFolders:n.createFolders}),w.dir||(f.file(k).unsafeOriginalName=x)}return o.zipComment.length&&(f.comment=o.zipComment),f})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(v,U,y){var d=v("../utils"),l=v("../stream/GenericWorker");function i(u,_){l.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(_)}d.inherits(i,l),i.prototype._bindStream=function(u){var _=this;(this._stream=u).pause(),u.on("data",function(b){_.push({data:b,meta:{percent:0}})}).on("error",function(b){_.isPaused?this.generatedError=b:_.error(b)}).on("end",function(){_.isPaused?_._upstreamEnded=!0:_.end()})},i.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(v,U,y){var d=v("readable-stream").Readable;function l(i,u,_){d.call(this,u),this._helper=i;var b=this;i.on("data",function(h,m){b.push(h)||b._helper.pause(),_&&_(m)}).on("error",function(h){b.emit("error",h)}).on("end",function(){b.push(null)})}v("../utils").inherits(l,d),l.prototype._read=function(){this._helper.resume()},U.exports=l},{"../utils":32,"readable-stream":16}],14:[function(v,U,y){U.exports={isNode:typeof Buffer<"u",newBufferFrom:function(d,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(d,l);if(typeof d=="number")throw new Error('The "data" argument must not be a number');return new Buffer(d,l)},allocBuffer:function(d){if(Buffer.alloc)return Buffer.alloc(d);var l=new Buffer(d);return l.fill(0),l},isBuffer:function(d){return Buffer.isBuffer(d)},isStream:function(d){return d&&typeof d.on=="function"&&typeof d.pause=="function"&&typeof d.resume=="function"}}},{}],15:[function(v,U,y){function d(k,T,O){var j,I=i.getTypeOf(T),H=i.extend(O||{},b);H.date=H.date||new Date,H.compression!==null&&(H.compression=H.compression.toUpperCase()),typeof H.unixPermissions=="string"&&(H.unixPermissions=parseInt(H.unixPermissions,8)),H.unixPermissions&&16384&H.unixPermissions&&(H.dir=!0),H.dosPermissions&&16&H.dosPermissions&&(H.dir=!0),H.dir&&(k=a(k)),H.createFolders&&(j=o(k))&&p.call(this,j,!0);var Q=I==="string"&&H.binary===!1&&H.base64===!1;O&&O.binary!==void 0||(H.binary=!Q),(T instanceof h&&T.uncompressedSize===0||H.dir||!T||T.length===0)&&(H.base64=!1,H.binary=!0,T="",H.compression="STORE",I="string");var g=null;g=T instanceof h||T instanceof u?T:f.isNode&&f.isStream(T)?new r(k,T):i.prepareContent(k,T,H.binary,H.optimizedBinaryString,H.base64);var D=new m(k,g,H);this.files[k]=D}var l=v("./utf8"),i=v("./utils"),u=v("./stream/GenericWorker"),_=v("./stream/StreamHelper"),b=v("./defaults"),h=v("./compressedObject"),m=v("./zipObject"),n=v("./generate"),f=v("./nodejsUtils"),r=v("./nodejs/NodejsStreamInputAdapter"),o=function(k){k.slice(-1)==="/"&&(k=k.substring(0,k.length-1));var T=k.lastIndexOf("/");return 0<T?k.substring(0,T):""},a=function(k){return k.slice(-1)!=="/"&&(k+="/"),k},p=function(k,T){return T=T!==void 0?T:b.createFolders,k=a(k),this.files[k]||d.call(this,k,null,{dir:!0,createFolders:T}),this.files[k]};function w(k){return Object.prototype.toString.call(k)==="[object RegExp]"}var x={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(k){var T,O,j;for(T in this.files)j=this.files[T],(O=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&k(O,j)},filter:function(k){var T=[];return this.forEach(function(O,j){k(O,j)&&T.push(j)}),T},file:function(k,T,O){if(arguments.length!==1)return k=this.root+k,d.call(this,k,T,O),this;if(w(k)){var j=k;return this.filter(function(H,Q){return!Q.dir&&j.test(H)})}var I=this.files[this.root+k];return I&&!I.dir?I:null},folder:function(k){if(!k)return this;if(w(k))return this.filter(function(I,H){return H.dir&&k.test(I)});var T=this.root+k,O=p.call(this,T),j=this.clone();return j.root=O.name,j},remove:function(k){k=this.root+k;var T=this.files[k];if(T||(k.slice(-1)!=="/"&&(k+="/"),T=this.files[k]),T&&!T.dir)delete this.files[k];else for(var O=this.filter(function(I,H){return H.name.slice(0,k.length)===k}),j=0;j<O.length;j++)delete this.files[O[j].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(k){var T,O={};try{if((O=i.extend(k||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");i.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var j=O.comment||this.comment||"";T=n.generateWorker(this,O,j)}catch(I){(T=new u("error")).error(I)}return new _(T,O.type||"string",O.mimeType)},generateAsync:function(k,T){return this.generateInternalStream(k).accumulate(T)},generateNodeStream:function(k,T){return(k=k||{}).type||(k.type="nodebuffer"),this.generateInternalStream(k).toNodejsStream(T)}};U.exports=x},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(v,U,y){U.exports=v("stream")},{stream:void 0}],17:[function(v,U,y){var d=v("./DataReader");function l(i){d.call(this,i);for(var u=0;u<this.data.length;u++)i[u]=255&i[u]}v("../utils").inherits(l,d),l.prototype.byteAt=function(i){return this.data[this.zero+i]},l.prototype.lastIndexOfSignature=function(i){for(var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),h=i.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===u&&this.data[m+1]===_&&this.data[m+2]===b&&this.data[m+3]===h)return m-this.zero;return-1},l.prototype.readAndCheckSignature=function(i){var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),h=i.charCodeAt(3),m=this.readData(4);return u===m[0]&&_===m[1]&&b===m[2]&&h===m[3]},l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},U.exports=l},{"../utils":32,"./DataReader":18}],18:[function(v,U,y){var d=v("../utils");function l(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var u,_=0;for(this.checkOffset(i),u=this.index+i-1;u>=this.index;u--)_=(_<<8)+this.byteAt(u);return this.index+=i,_},readString:function(i){return d.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},U.exports=l},{"../utils":32}],19:[function(v,U,y){var d=v("./Uint8ArrayReader");function l(i){d.call(this,i)}v("../utils").inherits(l,d),l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},U.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(v,U,y){var d=v("./DataReader");function l(i){d.call(this,i)}v("../utils").inherits(l,d),l.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},l.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},l.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},U.exports=l},{"../utils":32,"./DataReader":18}],21:[function(v,U,y){var d=v("./ArrayReader");function l(i){d.call(this,i)}v("../utils").inherits(l,d),l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},U.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(v,U,y){var d=v("../utils"),l=v("../support"),i=v("./ArrayReader"),u=v("./StringReader"),_=v("./NodeBufferReader"),b=v("./Uint8ArrayReader");U.exports=function(h){var m=d.getTypeOf(h);return d.checkSupport(m),m!=="string"||l.uint8array?m==="nodebuffer"?new _(h):l.uint8array?new b(d.transformTo("uint8array",h)):new i(d.transformTo("array",h)):new u(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(v,U,y){y.LOCAL_FILE_HEADER="PK",y.CENTRAL_FILE_HEADER="PK",y.CENTRAL_DIRECTORY_END="PK",y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",y.ZIP64_CENTRAL_DIRECTORY_END="PK",y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(v,U,y){var d=v("./GenericWorker"),l=v("../utils");function i(u){d.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(i,d),i.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},U.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(v,U,y){var d=v("./GenericWorker"),l=v("../crc32");function i(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}v("../utils").inherits(i,d),i.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},U.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(v,U,y){var d=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}d.inherits(i,l),i.prototype.processChunk=function(u){if(u){var _=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=_+u.data.length}l.prototype.processChunk.call(this,u)},U.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(v,U,y){var d=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataWorker");var _=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(b){_.dataIsReady=!0,_.data=b,_.max=b&&b.length||0,_.type=d.getTypeOf(b),_.isPaused||_._tickAndRepeat()},function(b){_.error(b)})}d.inherits(i,l),i.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,_=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,_);break;case"uint8array":u=this.data.subarray(this.index,_);break;case"array":case"nodebuffer":u=this.data.slice(this.index,_)}return this.index=_,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(v,U,y){function d(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}d.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,i){return this._listeners[l].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,i){if(this._listeners[l])for(var u=0;u<this._listeners[l].length;u++)this._listeners[l][u].call(this,i)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var i=this;return l.on("data",function(u){i.processChunk(u)}),l.on("end",function(){i.end()}),l.on("error",function(u){i.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,i){return this.extraStreamInfo[l]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},U.exports=d},{}],29:[function(v,U,y){var d=v("../utils"),l=v("./ConvertWorker"),i=v("./GenericWorker"),u=v("../base64"),_=v("../support"),b=v("../external"),h=null;if(_.nodestream)try{h=v("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function m(f,r){return new b.Promise(function(o,a){var p=[],w=f._internalType,x=f._outputType,k=f._mimeType;f.on("data",function(T,O){p.push(T),r&&r(O)}).on("error",function(T){p=[],a(T)}).on("end",function(){try{var T=function(O,j,I){switch(O){case"blob":return d.newBlob(d.transformTo("arraybuffer",j),I);case"base64":return u.encode(j);default:return d.transformTo(O,j)}}(x,function(O,j){var I,H=0,Q=null,g=0;for(I=0;I<j.length;I++)g+=j[I].length;switch(O){case"string":return j.join("");case"array":return Array.prototype.concat.apply([],j);case"uint8array":for(Q=new Uint8Array(g),I=0;I<j.length;I++)Q.set(j[I],H),H+=j[I].length;return Q;case"nodebuffer":return Buffer.concat(j);default:throw new Error("concat : unsupported type '"+O+"'")}}(w,p),k);o(T)}catch(O){a(O)}p=[]}).resume()})}function n(f,r,o){var a=r;switch(r){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=r,this._mimeType=o,d.checkSupport(a),this._worker=f.pipe(new l(a)),f.lock()}catch(p){this._worker=new i("error"),this._worker.error(p)}}n.prototype={accumulate:function(f){return m(this,f)},on:function(f,r){var o=this;return f==="data"?this._worker.on(f,function(a){r.call(o,a.data,a.meta)}):this._worker.on(f,function(){d.delay(r,arguments,o)}),this},resume:function(){return d.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(f){if(d.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},f)}},U.exports=n},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(v,U,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",y.nodebuffer=typeof Buffer<"u",y.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")y.blob=!1;else{var d=new ArrayBuffer(0);try{y.blob=new Blob([d],{type:"application/zip"}).size===0}catch(i){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(d),y.blob=l.getBlob("application/zip").size===0}catch(u){y.blob=!1}}}try{y.nodestream=!!v("readable-stream").Readable}catch(i){y.nodestream=!1}},{"readable-stream":16}],31:[function(v,U,y){for(var d=v("./utils"),l=v("./support"),i=v("./nodejsUtils"),u=v("./stream/GenericWorker"),_=new Array(256),b=0;b<256;b++)_[b]=252<=b?6:248<=b?5:240<=b?4:224<=b?3:192<=b?2:1;_[254]=_[254]=1;function h(){u.call(this,"utf-8 decode"),this.leftOver=null}function m(){u.call(this,"utf-8 encode")}y.utf8encode=function(n){return l.nodebuffer?i.newBufferFrom(n,"utf-8"):function(f){var r,o,a,p,w,x=f.length,k=0;for(p=0;p<x;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<x&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),k+=o<128?1:o<2048?2:o<65536?3:4;for(r=l.uint8array?new Uint8Array(k):new Array(k),p=w=0;w<k;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<x&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),o<128?r[w++]=o:(o<2048?r[w++]=192|o>>>6:(o<65536?r[w++]=224|o>>>12:(r[w++]=240|o>>>18,r[w++]=128|o>>>12&63),r[w++]=128|o>>>6&63),r[w++]=128|63&o);return r}(n)},y.utf8decode=function(n){return l.nodebuffer?d.transformTo("nodebuffer",n).toString("utf-8"):function(f){var r,o,a,p,w=f.length,x=new Array(2*w);for(r=o=0;r<w;)if((a=f[r++])<128)x[o++]=a;else if(4<(p=_[a]))x[o++]=65533,r+=p-1;else{for(a&=p===2?31:p===3?15:7;1<p&&r<w;)a=a<<6|63&f[r++],p--;1<p?x[o++]=65533:a<65536?x[o++]=a:(a-=65536,x[o++]=55296|a>>10&1023,x[o++]=56320|1023&a)}return x.length!==o&&(x.subarray?x=x.subarray(0,o):x.length=o),d.applyFromCharCode(x)}(n=d.transformTo(l.uint8array?"uint8array":"array",n))},d.inherits(h,u),h.prototype.processChunk=function(n){var f=d.transformTo(l.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=f;(f=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),f.set(r,this.leftOver.length)}else f=this.leftOver.concat(f);this.leftOver=null}var o=function(p,w){var x;for((w=w||p.length)>p.length&&(w=p.length),x=w-1;0<=x&&(192&p[x])==128;)x--;return x<0||x===0?w:x+_[p[x]]>w?x:w}(f),a=f;o!==f.length&&(l.uint8array?(a=f.subarray(0,o),this.leftOver=f.subarray(o,f.length)):(a=f.slice(0,o),this.leftOver=f.slice(o,f.length))),this.push({data:y.utf8decode(a),meta:n.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=h,d.inherits(m,u),m.prototype.processChunk=function(n){this.push({data:y.utf8encode(n.data),meta:n.meta})},y.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(v,U,y){var d=v("./support"),l=v("./base64"),i=v("./nodejsUtils"),u=v("./external");function _(r){return r}function b(r,o){for(var a=0;a<r.length;++a)o[a]=255&r.charCodeAt(a);return o}v("setimmediate"),y.newBlob=function(r,o){y.checkSupport("blob");try{return new Blob([r],{type:o})}catch(p){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(r),a.getBlob(o)}catch(w){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(r,o,a){var p=[],w=0,x=r.length;if(x<=a)return String.fromCharCode.apply(null,r);for(;w<x;)o==="array"||o==="nodebuffer"?p.push(String.fromCharCode.apply(null,r.slice(w,Math.min(w+a,x)))):p.push(String.fromCharCode.apply(null,r.subarray(w,Math.min(w+a,x)))),w+=a;return p.join("")},stringifyByChar:function(r){for(var o="",a=0;a<r.length;a++)o+=String.fromCharCode(r[a]);return o},applyCanBeUsed:{uint8array:function(){try{return d.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(r){return!1}}(),nodebuffer:function(){try{return d.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch(r){return!1}}()}};function m(r){var o=65536,a=y.getTypeOf(r),p=!0;if(a==="uint8array"?p=h.applyCanBeUsed.uint8array:a==="nodebuffer"&&(p=h.applyCanBeUsed.nodebuffer),p)for(;1<o;)try{return h.stringifyByChunk(r,a,o)}catch(w){o=Math.floor(o/2)}return h.stringifyByChar(r)}function n(r,o){for(var a=0;a<r.length;a++)o[a]=r[a];return o}y.applyFromCharCode=m;var f={};f.string={string:_,array:function(r){return b(r,new Array(r.length))},arraybuffer:function(r){return f.string.uint8array(r).buffer},uint8array:function(r){return b(r,new Uint8Array(r.length))},nodebuffer:function(r){return b(r,i.allocBuffer(r.length))}},f.array={string:m,array:_,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(r)}},f.arraybuffer={string:function(r){return m(new Uint8Array(r))},array:function(r){return n(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:_,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(new Uint8Array(r))}},f.uint8array={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:_,nodebuffer:function(r){return i.newBufferFrom(r)}},f.nodebuffer={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return f.nodebuffer.uint8array(r).buffer},uint8array:function(r){return n(r,new Uint8Array(r.length))},nodebuffer:_},y.transformTo=function(r,o){if(o=o||"",!r)return o;y.checkSupport(r);var a=y.getTypeOf(o);return f[a][r](o)},y.resolve=function(r){for(var o=r.split("/"),a=[],p=0;p<o.length;p++){var w=o[p];w==="."||w===""&&p!==0&&p!==o.length-1||(w===".."?a.pop():a.push(w))}return a.join("/")},y.getTypeOf=function(r){return typeof r=="string"?"string":Object.prototype.toString.call(r)==="[object Array]"?"array":d.nodebuffer&&i.isBuffer(r)?"nodebuffer":d.uint8array&&r instanceof Uint8Array?"uint8array":d.arraybuffer&&r instanceof ArrayBuffer?"arraybuffer":void 0},y.checkSupport=function(r){if(!d[r.toLowerCase()])throw new Error(r+" is not supported by this platform")},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(r){var o,a,p="";for(a=0;a<(r||"").length;a++)p+="\\x"+((o=r.charCodeAt(a))<16?"0":"")+o.toString(16).toUpperCase();return p},y.delay=function(r,o,a){setImmediate(function(){r.apply(a||null,o||[])})},y.inherits=function(r,o){function a(){}a.prototype=o.prototype,r.prototype=new a},y.extend=function(){var r,o,a={};for(r=0;r<arguments.length;r++)for(o in arguments[r])Object.prototype.hasOwnProperty.call(arguments[r],o)&&a[o]===void 0&&(a[o]=arguments[r][o]);return a},y.prepareContent=function(r,o,a,p,w){return u.Promise.resolve(o).then(function(x){return d.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader<"u"?new u.Promise(function(k,T){var O=new FileReader;O.onload=function(j){k(j.target.result)},O.onerror=function(j){T(j.target.error)},O.readAsArrayBuffer(x)}):x}).then(function(x){var k=y.getTypeOf(x);return k?(k==="arraybuffer"?x=y.transformTo("uint8array",x):k==="string"&&(w?x=l.decode(x):a&&p!==!0&&(x=function(T){return b(T,d.uint8array?new Uint8Array(T.length):new Array(T.length))}(x))),x):u.Promise.reject(new Error("Can't read the data of '"+r+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(v,U,y){var d=v("./reader/readerFor"),l=v("./utils"),i=v("./signature"),u=v("./zipEntry"),_=v("./support");function b(h){this.files=[],this.loadOptions=h}b.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(m)+", expected "+l.pretty(h)+")")}},isSignature:function(h,m){var n=this.reader.index;this.reader.setIndex(h);var f=this.reader.readString(4)===m;return this.reader.setIndex(n),f},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var h=this.reader.readData(this.zipCommentLength),m=_.uint8array?"uint8array":"array",n=l.transformTo(m,h);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var h,m,n,f=this.zip64EndOfCentralSize-44;0<f;)h=this.reader.readInt(2),m=this.reader.readInt(4),n=this.reader.readData(m),this.zip64ExtensibleData[h]={id:h,length:m,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var h,m;for(h=0;h<this.files.length;h++)m=this.files[h],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(h=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var h=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(h);var m=h;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var f=m-n;if(0<f)this.isSignature(m,i.CENTRAL_FILE_HEADER)||(this.reader.zero=f);else if(f<0)throw new Error("Corrupted zip: missing "+Math.abs(f)+" bytes.")},prepareReader:function(h){this.reader=d(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=b},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(v,U,y){var d=v("./reader/readerFor"),l=v("./utils"),i=v("./compressedObject"),u=v("./crc32"),_=v("./utf8"),b=v("./compressions"),h=v("./support");function m(n,f){this.options=n,this.loadOptions=f}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(n){var f,r;if(n.skip(22),this.fileNameLength=n.readInt(2),r=n.readInt(2),this.fileName=n.readData(this.fileNameLength),n.skip(r),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((f=function(o){for(var a in b)if(Object.prototype.hasOwnProperty.call(b,a)&&b[a].magic===o)return b[a];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,f,n.readData(this.compressedSize))},readCentralPart:function(n){this.versionMadeBy=n.readInt(2),n.skip(2),this.bitFlag=n.readInt(2),this.compressionMethod=n.readString(2),this.date=n.readDate(),this.crc32=n.readInt(4),this.compressedSize=n.readInt(4),this.uncompressedSize=n.readInt(4);var f=n.readInt(2);if(this.extraFieldsLength=n.readInt(2),this.fileCommentLength=n.readInt(2),this.diskNumberStart=n.readInt(2),this.internalFileAttributes=n.readInt(2),this.externalFileAttributes=n.readInt(4),this.localHeaderOffset=n.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");n.skip(f),this.readExtraFields(n),this.parseZIP64ExtraField(n),this.fileComment=n.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var n=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),n==0&&(this.dosPermissions=63&this.externalFileAttributes),n==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var n=d(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=n.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=n.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=n.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=n.readInt(4))}},readExtraFields:function(n){var f,r,o,a=n.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});n.index+4<a;)f=n.readInt(2),r=n.readInt(2),o=n.readData(r),this.extraFields[f]={id:f,length:r,value:o};n.setIndex(a)},handleUTF8:function(){var n=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=_.utf8decode(this.fileName),this.fileCommentStr=_.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var r=l.transformTo(n,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else{var a=l.transformTo(n,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var n=this.extraFields[28789];if(n){var f=d(n.value);return f.readInt(1)!==1||u(this.fileName)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null},findExtraFieldUnicodeComment:function(){var n=this.extraFields[25461];if(n){var f=d(n.value);return f.readInt(1)!==1||u(this.fileComment)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null}},U.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(v,U,y){function d(f,r,o){this.name=f,this.dir=o.dir,this.date=o.date,this.comment=o.comment,this.unixPermissions=o.unixPermissions,this.dosPermissions=o.dosPermissions,this._data=r,this._dataBinary=o.binary,this.options={compression:o.compression,compressionOptions:o.compressionOptions}}var l=v("./stream/StreamHelper"),i=v("./stream/DataWorker"),u=v("./utf8"),_=v("./compressedObject"),b=v("./stream/GenericWorker");d.prototype={internalStream:function(f){var r=null,o="string";try{if(!f)throw new Error("No output type specified.");var a=(o=f.toLowerCase())==="string"||o==="text";o!=="binarystring"&&o!=="text"||(o="string"),r=this._decompressWorker();var p=!this._dataBinary;p&&!a&&(r=r.pipe(new u.Utf8EncodeWorker)),!p&&a&&(r=r.pipe(new u.Utf8DecodeWorker))}catch(w){(r=new b("error")).error(w)}return new l(r,o,"")},async:function(f,r){return this.internalStream(f).accumulate(r)},nodeStream:function(f,r){return this.internalStream(f||"nodebuffer").toNodejsStream(r)},_compressWorker:function(f,r){if(this._data instanceof _&&this._data.compression.magic===f.magic)return this._data.getCompressedWorker();var o=this._decompressWorker();return this._dataBinary||(o=o.pipe(new u.Utf8EncodeWorker)),_.createWorkerFrom(o,f,r)},_decompressWorker:function(){return this._data instanceof _?this._data.getContentWorker():this._data instanceof b?this._data:new i(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},n=0;n<h.length;n++)d.prototype[h[n]]=m;U.exports=d},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(v,U,y){(function(d){var l,i,u=d.MutationObserver||d.WebKitMutationObserver;if(u){var _=0,b=new u(f),h=d.document.createTextNode("");b.observe(h,{characterData:!0}),l=function(){h.data=_=++_%2}}else if(d.setImmediate||d.MessageChannel===void 0)l="document"in d&&"onreadystatechange"in d.document.createElement("script")?function(){var r=d.document.createElement("script");r.onreadystatechange=function(){f(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},d.document.documentElement.appendChild(r)}:function(){setTimeout(f,0)};else{var m=new d.MessageChannel;m.port1.onmessage=f,l=function(){m.port2.postMessage(0)}}var n=[];function f(){var r,o;i=!0;for(var a=n.length;a;){for(o=n,n=[],r=-1;++r<a;)o[r]();a=n.length}i=!1}U.exports=function(r){n.push(r)!==1||i||l()}}).call(this,typeof St<"u"?St:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(v,U,y){var d=v("immediate");function l(){}var i={},u=["REJECTED"],_=["FULFILLED"],b=["PENDING"];function h(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=b,this.queue=[],this.outcome=void 0,a!==l&&r(this,a)}function m(a,p,w){this.promise=a,typeof p=="function"&&(this.onFulfilled=p,this.callFulfilled=this.otherCallFulfilled),typeof w=="function"&&(this.onRejected=w,this.callRejected=this.otherCallRejected)}function n(a,p,w){d(function(){var x;try{x=p(w)}catch(k){return i.reject(a,k)}x===a?i.reject(a,new TypeError("Cannot resolve promise with itself")):i.resolve(a,x)})}function f(a){var p=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof p=="function")return function(){p.apply(a,arguments)}}function r(a,p){var w=!1;function x(O){w||(w=!0,i.reject(a,O))}function k(O){w||(w=!0,i.resolve(a,O))}var T=o(function(){p(k,x)});T.status==="error"&&x(T.value)}function o(a,p){var w={};try{w.value=a(p),w.status="success"}catch(x){w.status="error",w.value=x}return w}(U.exports=h).prototype.finally=function(a){if(typeof a!="function")return this;var p=this.constructor;return this.then(function(w){return p.resolve(a()).then(function(){return w})},function(w){return p.resolve(a()).then(function(){throw w})})},h.prototype.catch=function(a){return this.then(null,a)},h.prototype.then=function(a,p){if(typeof a!="function"&&this.state===_||typeof p!="function"&&this.state===u)return this;var w=new this.constructor(l);return this.state!==b?n(w,this.state===_?a:p,this.outcome):this.queue.push(new m(w,a,p)),w},m.prototype.callFulfilled=function(a){i.resolve(this.promise,a)},m.prototype.otherCallFulfilled=function(a){n(this.promise,this.onFulfilled,a)},m.prototype.callRejected=function(a){i.reject(this.promise,a)},m.prototype.otherCallRejected=function(a){n(this.promise,this.onRejected,a)},i.resolve=function(a,p){var w=o(f,p);if(w.status==="error")return i.reject(a,w.value);var x=w.value;if(x)r(a,x);else{a.state=_,a.outcome=p;for(var k=-1,T=a.queue.length;++k<T;)a.queue[k].callFulfilled(p)}return a},i.reject=function(a,p){a.state=u,a.outcome=p;for(var w=-1,x=a.queue.length;++w<x;)a.queue[w].callRejected(p);return a},h.resolve=function(a){return a instanceof this?a:i.resolve(new this(l),a)},h.reject=function(a){var p=new this(l);return i.reject(p,a)},h.all=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=a.length,x=!1;if(!w)return this.resolve([]);for(var k=new Array(w),T=0,O=-1,j=new this(l);++O<w;)I(a[O],O);return j;function I(H,Q){p.resolve(H).then(function(g){k[Q]=g,++T!==w||x||(x=!0,i.resolve(j,k))},function(g){x||(x=!0,i.reject(j,g))})}},h.race=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=a.length,x=!1;if(!w)return this.resolve([]);for(var k=-1,T=new this(l);++k<w;)O=a[k],p.resolve(O).then(function(j){x||(x=!0,i.resolve(T,j))},function(j){x||(x=!0,i.reject(T,j))});var O;return T}},{immediate:36}],38:[function(v,U,y){var d={};(0,v("./lib/utils/common").assign)(d,v("./lib/deflate"),v("./lib/inflate"),v("./lib/zlib/constants")),U.exports=d},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(v,U,y){var d=v("./zlib/deflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/messages"),_=v("./zlib/zstream"),b=Object.prototype.toString,h=0,m=-1,n=0,f=8;function r(a){if(!(this instanceof r))return new r(a);this.options=l.assign({level:m,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:n,to:""},a||{});var p=this.options;p.raw&&0<p.windowBits?p.windowBits=-p.windowBits:p.gzip&&0<p.windowBits&&p.windowBits<16&&(p.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var w=d.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(w!==h)throw new Error(u[w]);if(p.header&&d.deflateSetHeader(this.strm,p.header),p.dictionary){var x;if(x=typeof p.dictionary=="string"?i.string2buf(p.dictionary):b.call(p.dictionary)==="[object ArrayBuffer]"?new Uint8Array(p.dictionary):p.dictionary,(w=d.deflateSetDictionary(this.strm,x))!==h)throw new Error(u[w]);this._dict_set=!0}}function o(a,p){var w=new r(p);if(w.push(a,!0),w.err)throw w.msg||u[w.err];return w.result}r.prototype.push=function(a,p){var w,x,k=this.strm,T=this.options.chunkSize;if(this.ended)return!1;x=p===~~p?p:p===!0?4:0,typeof a=="string"?k.input=i.string2buf(a):b.call(a)==="[object ArrayBuffer]"?k.input=new Uint8Array(a):k.input=a,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new l.Buf8(T),k.next_out=0,k.avail_out=T),(w=d.deflate(k,x))!==1&&w!==h)return this.onEnd(w),!(this.ended=!0);k.avail_out!==0&&(k.avail_in!==0||x!==4&&x!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(l.shrinkBuf(k.output,k.next_out))):this.onData(l.shrinkBuf(k.output,k.next_out)))}while((0<k.avail_in||k.avail_out===0)&&w!==1);return x===4?(w=d.deflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===h):x!==2||(this.onEnd(h),!(k.avail_out=0))},r.prototype.onData=function(a){this.chunks.push(a)},r.prototype.onEnd=function(a){a===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},y.Deflate=r,y.deflate=o,y.deflateRaw=function(a,p){return(p=p||{}).raw=!0,o(a,p)},y.gzip=function(a,p){return(p=p||{}).gzip=!0,o(a,p)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(v,U,y){var d=v("./zlib/inflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/constants"),_=v("./zlib/messages"),b=v("./zlib/zstream"),h=v("./zlib/gzheader"),m=Object.prototype.toString;function n(r){if(!(this instanceof n))return new n(r);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},r||{});var o=this.options;o.raw&&0<=o.windowBits&&o.windowBits<16&&(o.windowBits=-o.windowBits,o.windowBits===0&&(o.windowBits=-15)),!(0<=o.windowBits&&o.windowBits<16)||r&&r.windowBits||(o.windowBits+=32),15<o.windowBits&&o.windowBits<48&&!(15&o.windowBits)&&(o.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new b,this.strm.avail_out=0;var a=d.inflateInit2(this.strm,o.windowBits);if(a!==u.Z_OK)throw new Error(_[a]);this.header=new h,d.inflateGetHeader(this.strm,this.header)}function f(r,o){var a=new n(o);if(a.push(r,!0),a.err)throw a.msg||_[a.err];return a.result}n.prototype.push=function(r,o){var a,p,w,x,k,T,O=this.strm,j=this.options.chunkSize,I=this.options.dictionary,H=!1;if(this.ended)return!1;p=o===~~o?o:o===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof r=="string"?O.input=i.binstring2buf(r):m.call(r)==="[object ArrayBuffer]"?O.input=new Uint8Array(r):O.input=r,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new l.Buf8(j),O.next_out=0,O.avail_out=j),(a=d.inflate(O,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&I&&(T=typeof I=="string"?i.string2buf(I):m.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=d.inflateSetDictionary(this.strm,T)),a===u.Z_BUF_ERROR&&H===!0&&(a=u.Z_OK,H=!1),a!==u.Z_STREAM_END&&a!==u.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==u.Z_STREAM_END&&(O.avail_in!==0||p!==u.Z_FINISH&&p!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(w=i.utf8border(O.output,O.next_out),x=O.next_out-w,k=i.buf2string(O.output,w),O.next_out=x,O.avail_out=j-x,x&&l.arraySet(O.output,O.output,w,x,0),this.onData(k)):this.onData(l.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(H=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==u.Z_STREAM_END);return a===u.Z_STREAM_END&&(p=u.Z_FINISH),p===u.Z_FINISH?(a=d.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===u.Z_OK):p!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(O.avail_out=0))},n.prototype.onData=function(r){this.chunks.push(r)},n.prototype.onEnd=function(r){r===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg},y.Inflate=n,y.inflate=f,y.inflateRaw=function(r,o){return(o=o||{}).raw=!0,f(r,o)},y.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(v,U,y){var d=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";y.assign=function(u){for(var _=Array.prototype.slice.call(arguments,1);_.length;){var b=_.shift();if(b){if(typeof b!="object")throw new TypeError(b+"must be non-object");for(var h in b)b.hasOwnProperty(h)&&(u[h]=b[h])}}return u},y.shrinkBuf=function(u,_){return u.length===_?u:u.subarray?u.subarray(0,_):(u.length=_,u)};var l={arraySet:function(u,_,b,h,m){if(_.subarray&&u.subarray)u.set(_.subarray(b,b+h),m);else for(var n=0;n<h;n++)u[m+n]=_[b+n]},flattenChunks:function(u){var _,b,h,m,n,f;for(_=h=0,b=u.length;_<b;_++)h+=u[_].length;for(f=new Uint8Array(h),_=m=0,b=u.length;_<b;_++)n=u[_],f.set(n,m),m+=n.length;return f}},i={arraySet:function(u,_,b,h,m){for(var n=0;n<h;n++)u[m+n]=_[b+n]},flattenChunks:function(u){return[].concat.apply([],u)}};y.setTyped=function(u){u?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,l)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,i))},y.setTyped(d)},{}],42:[function(v,U,y){var d=v("./common"),l=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(h){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(h){i=!1}for(var u=new d.Buf8(256),_=0;_<256;_++)u[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;function b(h,m){if(m<65537&&(h.subarray&&i||!h.subarray&&l))return String.fromCharCode.apply(null,d.shrinkBuf(h,m));for(var n="",f=0;f<m;f++)n+=String.fromCharCode(h[f]);return n}u[254]=u[254]=1,y.string2buf=function(h){var m,n,f,r,o,a=h.length,p=0;for(r=0;r<a;r++)(64512&(n=h.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=h.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),p+=n<128?1:n<2048?2:n<65536?3:4;for(m=new d.Buf8(p),r=o=0;o<p;r++)(64512&(n=h.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=h.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),n<128?m[o++]=n:(n<2048?m[o++]=192|n>>>6:(n<65536?m[o++]=224|n>>>12:(m[o++]=240|n>>>18,m[o++]=128|n>>>12&63),m[o++]=128|n>>>6&63),m[o++]=128|63&n);return m},y.buf2binstring=function(h){return b(h,h.length)},y.binstring2buf=function(h){for(var m=new d.Buf8(h.length),n=0,f=m.length;n<f;n++)m[n]=h.charCodeAt(n);return m},y.buf2string=function(h,m){var n,f,r,o,a=m||h.length,p=new Array(2*a);for(n=f=0;n<a;)if((r=h[n++])<128)p[f++]=r;else if(4<(o=u[r]))p[f++]=65533,n+=o-1;else{for(r&=o===2?31:o===3?15:7;1<o&&n<a;)r=r<<6|63&h[n++],o--;1<o?p[f++]=65533:r<65536?p[f++]=r:(r-=65536,p[f++]=55296|r>>10&1023,p[f++]=56320|1023&r)}return b(p,f)},y.utf8border=function(h,m){var n;for((m=m||h.length)>h.length&&(m=h.length),n=m-1;0<=n&&(192&h[n])==128;)n--;return n<0||n===0?m:n+u[h[n]]>m?n:m}},{"./common":41}],43:[function(v,U,y){U.exports=function(d,l,i,u){for(var _=65535&d|0,b=d>>>16&65535|0,h=0;i!==0;){for(i-=h=2e3<i?2e3:i;b=b+(_=_+l[u++]|0)|0,--h;);_%=65521,b%=65521}return _|b<<16|0}},{}],44:[function(v,U,y){U.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(v,U,y){var d=function(){for(var l,i=[],u=0;u<256;u++){l=u;for(var _=0;_<8;_++)l=1&l?3988292384^l>>>1:l>>>1;i[u]=l}return i}();U.exports=function(l,i,u,_){var b=d,h=_+u;l^=-1;for(var m=_;m<h;m++)l=l>>>8^b[255&(l^i[m])];return-1^l}},{}],46:[function(v,U,y){var d,l=v("../utils/common"),i=v("./trees"),u=v("./adler32"),_=v("./crc32"),b=v("./messages"),h=0,m=4,n=0,f=-2,r=-1,o=4,a=2,p=8,w=9,x=286,k=30,T=19,O=2*x+1,j=15,I=3,H=258,Q=H+I+1,g=42,D=113,e=1,F=2,$=3,M=4;function tt(t,R){return t.msg=b[R],R}function L(t){return(t<<1)-(4<t?9:0)}function J(t){for(var R=t.length;0<=--R;)t[R]=0}function E(t){var R=t.state,z=R.pending;z>t.avail_out&&(z=t.avail_out),z!==0&&(l.arraySet(t.output,R.pending_buf,R.pending_out,z,t.next_out),t.next_out+=z,R.pending_out+=z,t.total_out+=z,t.avail_out-=z,R.pending-=z,R.pending===0&&(R.pending_out=0))}function C(t,R){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,R),t.block_start=t.strstart,E(t.strm)}function q(t,R){t.pending_buf[t.pending++]=R}function G(t,R){t.pending_buf[t.pending++]=R>>>8&255,t.pending_buf[t.pending++]=255&R}function V(t,R){var z,c,s=t.max_chain_length,A=t.strstart,N=t.prev_length,P=t.nice_match,S=t.strstart>t.w_size-Q?t.strstart-(t.w_size-Q):0,W=t.window,Y=t.w_mask,Z=t.prev,K=t.strstart+H,st=W[A+N-1],nt=W[A+N];t.prev_length>=t.good_match&&(s>>=2),P>t.lookahead&&(P=t.lookahead);do if(W[(z=R)+N]===nt&&W[z+N-1]===st&&W[z]===W[A]&&W[++z]===W[A+1]){A+=2,z++;do;while(W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&A<K);if(c=H-(K-A),A=K-H,N<c){if(t.match_start=R,P<=(N=c))break;st=W[A+N-1],nt=W[A+N]}}while((R=Z[R&Y])>S&&--s!=0);return N<=t.lookahead?N:t.lookahead}function ot(t){var R,z,c,s,A,N,P,S,W,Y,Z=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=Z+(Z-Q)){for(l.arraySet(t.window,t.window,Z,Z,0),t.match_start-=Z,t.strstart-=Z,t.block_start-=Z,R=z=t.hash_size;c=t.head[--R],t.head[R]=Z<=c?c-Z:0,--z;);for(R=z=Z;c=t.prev[--R],t.prev[R]=Z<=c?c-Z:0,--z;);s+=Z}if(t.strm.avail_in===0)break;if(N=t.strm,P=t.window,S=t.strstart+t.lookahead,W=s,Y=void 0,Y=N.avail_in,W<Y&&(Y=W),z=Y===0?0:(N.avail_in-=Y,l.arraySet(P,N.input,N.next_in,Y,S),N.state.wrap===1?N.adler=u(N.adler,P,Y,S):N.state.wrap===2&&(N.adler=_(N.adler,P,Y,S)),N.next_in+=Y,N.total_in+=Y,Y),t.lookahead+=z,t.lookahead+t.insert>=I)for(A=t.strstart-t.insert,t.ins_h=t.window[A],t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+I-1])&t.hash_mask,t.prev[A&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=A,A++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<Q&&t.strm.avail_in!==0)}function ct(t,R){for(var z,c;;){if(t.lookahead<Q){if(ot(t),t.lookahead<Q&&R===h)return e;if(t.lookahead===0)break}if(z=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),z!==0&&t.strstart-z<=t.w_size-Q&&(t.match_length=V(t,z)),t.match_length>=I)if(c=i._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else c=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(c&&(C(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<I-1?t.strstart:I-1,R===m?(C(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?e:F}function rt(t,R){for(var z,c,s;;){if(t.lookahead<Q){if(ot(t),t.lookahead<Q&&R===h)return e;if(t.lookahead===0)break}if(z=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,z!==0&&t.prev_length<t.max_lazy_match&&t.strstart-z<=t.w_size-Q&&(t.match_length=V(t,z),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-I,c=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,c&&(C(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((c=i._tr_tally(t,0,t.window[t.strstart-1]))&&C(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(c=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,R===m?(C(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?e:F}function it(t,R,z,c,s){this.good_length=t,this.max_lazy=R,this.nice_length=z,this.max_chain=c,this.func=s}function dt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=p,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new l.Buf16(2*O),this.dyn_dtree=new l.Buf16(2*(2*k+1)),this.bl_tree=new l.Buf16(2*(2*T+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(j+1),this.heap=new l.Buf16(2*x+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*x+1),J(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function lt(t){var R;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(R=t.state).pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?g:D,t.adler=R.wrap===2?0:1,R.last_flush=h,i._tr_init(R),n):tt(t,f)}function gt(t){var R=lt(t);return R===n&&function(z){z.window_size=2*z.w_size,J(z.head),z.max_lazy_match=d[z.level].max_lazy,z.good_match=d[z.level].good_length,z.nice_match=d[z.level].nice_length,z.max_chain_length=d[z.level].max_chain,z.strstart=0,z.block_start=0,z.lookahead=0,z.insert=0,z.match_length=z.prev_length=I-1,z.match_available=0,z.ins_h=0}(t.state),R}function mt(t,R,z,c,s,A){if(!t)return f;var N=1;if(R===r&&(R=6),c<0?(N=0,c=-c):15<c&&(N=2,c-=16),s<1||w<s||z!==p||c<8||15<c||R<0||9<R||A<0||o<A)return tt(t,f);c===8&&(c=9);var P=new dt;return(t.state=P).strm=t,P.wrap=N,P.gzhead=null,P.w_bits=c,P.w_size=1<<P.w_bits,P.w_mask=P.w_size-1,P.hash_bits=s+7,P.hash_size=1<<P.hash_bits,P.hash_mask=P.hash_size-1,P.hash_shift=~~((P.hash_bits+I-1)/I),P.window=new l.Buf8(2*P.w_size),P.head=new l.Buf16(P.hash_size),P.prev=new l.Buf16(P.w_size),P.lit_bufsize=1<<s+6,P.pending_buf_size=4*P.lit_bufsize,P.pending_buf=new l.Buf8(P.pending_buf_size),P.d_buf=1*P.lit_bufsize,P.l_buf=3*P.lit_bufsize,P.level=R,P.strategy=A,P.method=z,gt(t)}d=[new it(0,0,0,0,function(t,R){var z=65535;for(z>t.pending_buf_size-5&&(z=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ot(t),t.lookahead===0&&R===h)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var c=t.block_start+z;if((t.strstart===0||t.strstart>=c)&&(t.lookahead=t.strstart-c,t.strstart=c,C(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-Q&&(C(t,!1),t.strm.avail_out===0))return e}return t.insert=0,R===m?(C(t,!0),t.strm.avail_out===0?$:M):(t.strstart>t.block_start&&(C(t,!1),t.strm.avail_out),e)}),new it(4,4,8,4,ct),new it(4,5,16,8,ct),new it(4,6,32,32,ct),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)],y.deflateInit=function(t,R){return mt(t,R,p,15,8,0)},y.deflateInit2=mt,y.deflateReset=gt,y.deflateResetKeep=lt,y.deflateSetHeader=function(t,R){return t&&t.state?t.state.wrap!==2?f:(t.state.gzhead=R,n):f},y.deflate=function(t,R){var z,c,s,A;if(!t||!t.state||5<R||R<0)return t?tt(t,f):f;if(c=t.state,!t.output||!t.input&&t.avail_in!==0||c.status===666&&R!==m)return tt(t,t.avail_out===0?-5:f);if(c.strm=t,z=c.last_flush,c.last_flush=R,c.status===g)if(c.wrap===2)t.adler=0,q(c,31),q(c,139),q(c,8),c.gzhead?(q(c,(c.gzhead.text?1:0)+(c.gzhead.hcrc?2:0)+(c.gzhead.extra?4:0)+(c.gzhead.name?8:0)+(c.gzhead.comment?16:0)),q(c,255&c.gzhead.time),q(c,c.gzhead.time>>8&255),q(c,c.gzhead.time>>16&255),q(c,c.gzhead.time>>24&255),q(c,c.level===9?2:2<=c.strategy||c.level<2?4:0),q(c,255&c.gzhead.os),c.gzhead.extra&&c.gzhead.extra.length&&(q(c,255&c.gzhead.extra.length),q(c,c.gzhead.extra.length>>8&255)),c.gzhead.hcrc&&(t.adler=_(t.adler,c.pending_buf,c.pending,0)),c.gzindex=0,c.status=69):(q(c,0),q(c,0),q(c,0),q(c,0),q(c,0),q(c,c.level===9?2:2<=c.strategy||c.level<2?4:0),q(c,3),c.status=D);else{var N=p+(c.w_bits-8<<4)<<8;N|=(2<=c.strategy||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6,c.strstart!==0&&(N|=32),N+=31-N%31,c.status=D,G(c,N),c.strstart!==0&&(G(c,t.adler>>>16),G(c,65535&t.adler)),t.adler=1}if(c.status===69)if(c.gzhead.extra){for(s=c.pending;c.gzindex<(65535&c.gzhead.extra.length)&&(c.pending!==c.pending_buf_size||(c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),E(t),s=c.pending,c.pending!==c.pending_buf_size));)q(c,255&c.gzhead.extra[c.gzindex]),c.gzindex++;c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),c.gzindex===c.gzhead.extra.length&&(c.gzindex=0,c.status=73)}else c.status=73;if(c.status===73)if(c.gzhead.name){s=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),E(t),s=c.pending,c.pending===c.pending_buf_size)){A=1;break}A=c.gzindex<c.gzhead.name.length?255&c.gzhead.name.charCodeAt(c.gzindex++):0,q(c,A)}while(A!==0);c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),A===0&&(c.gzindex=0,c.status=91)}else c.status=91;if(c.status===91)if(c.gzhead.comment){s=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),E(t),s=c.pending,c.pending===c.pending_buf_size)){A=1;break}A=c.gzindex<c.gzhead.comment.length?255&c.gzhead.comment.charCodeAt(c.gzindex++):0,q(c,A)}while(A!==0);c.gzhead.hcrc&&c.pending>s&&(t.adler=_(t.adler,c.pending_buf,c.pending-s,s)),A===0&&(c.status=103)}else c.status=103;if(c.status===103&&(c.gzhead.hcrc?(c.pending+2>c.pending_buf_size&&E(t),c.pending+2<=c.pending_buf_size&&(q(c,255&t.adler),q(c,t.adler>>8&255),t.adler=0,c.status=D)):c.status=D),c.pending!==0){if(E(t),t.avail_out===0)return c.last_flush=-1,n}else if(t.avail_in===0&&L(R)<=L(z)&&R!==m)return tt(t,-5);if(c.status===666&&t.avail_in!==0)return tt(t,-5);if(t.avail_in!==0||c.lookahead!==0||R!==h&&c.status!==666){var P=c.strategy===2?function(S,W){for(var Y;;){if(S.lookahead===0&&(ot(S),S.lookahead===0)){if(W===h)return e;break}if(S.match_length=0,Y=i._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++,Y&&(C(S,!1),S.strm.avail_out===0))return e}return S.insert=0,W===m?(C(S,!0),S.strm.avail_out===0?$:M):S.last_lit&&(C(S,!1),S.strm.avail_out===0)?e:F}(c,R):c.strategy===3?function(S,W){for(var Y,Z,K,st,nt=S.window;;){if(S.lookahead<=H){if(ot(S),S.lookahead<=H&&W===h)return e;if(S.lookahead===0)break}if(S.match_length=0,S.lookahead>=I&&0<S.strstart&&(Z=nt[K=S.strstart-1])===nt[++K]&&Z===nt[++K]&&Z===nt[++K]){st=S.strstart+H;do;while(Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&Z===nt[++K]&&K<st);S.match_length=H-(st-K),S.match_length>S.lookahead&&(S.match_length=S.lookahead)}if(S.match_length>=I?(Y=i._tr_tally(S,1,S.match_length-I),S.lookahead-=S.match_length,S.strstart+=S.match_length,S.match_length=0):(Y=i._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++),Y&&(C(S,!1),S.strm.avail_out===0))return e}return S.insert=0,W===m?(C(S,!0),S.strm.avail_out===0?$:M):S.last_lit&&(C(S,!1),S.strm.avail_out===0)?e:F}(c,R):d[c.level].func(c,R);if(P!==$&&P!==M||(c.status=666),P===e||P===$)return t.avail_out===0&&(c.last_flush=-1),n;if(P===F&&(R===1?i._tr_align(c):R!==5&&(i._tr_stored_block(c,0,0,!1),R===3&&(J(c.head),c.lookahead===0&&(c.strstart=0,c.block_start=0,c.insert=0))),E(t),t.avail_out===0))return c.last_flush=-1,n}return R!==m?n:c.wrap<=0?1:(c.wrap===2?(q(c,255&t.adler),q(c,t.adler>>8&255),q(c,t.adler>>16&255),q(c,t.adler>>24&255),q(c,255&t.total_in),q(c,t.total_in>>8&255),q(c,t.total_in>>16&255),q(c,t.total_in>>24&255)):(G(c,t.adler>>>16),G(c,65535&t.adler)),E(t),0<c.wrap&&(c.wrap=-c.wrap),c.pending!==0?n:1)},y.deflateEnd=function(t){var R;return t&&t.state?(R=t.state.status)!==g&&R!==69&&R!==73&&R!==91&&R!==103&&R!==D&&R!==666?tt(t,f):(t.state=null,R===D?tt(t,-3):n):f},y.deflateSetDictionary=function(t,R){var z,c,s,A,N,P,S,W,Y=R.length;if(!t||!t.state||(A=(z=t.state).wrap)===2||A===1&&z.status!==g||z.lookahead)return f;for(A===1&&(t.adler=u(t.adler,R,Y,0)),z.wrap=0,Y>=z.w_size&&(A===0&&(J(z.head),z.strstart=0,z.block_start=0,z.insert=0),W=new l.Buf8(z.w_size),l.arraySet(W,R,Y-z.w_size,z.w_size,0),R=W,Y=z.w_size),N=t.avail_in,P=t.next_in,S=t.input,t.avail_in=Y,t.next_in=0,t.input=R,ot(z);z.lookahead>=I;){for(c=z.strstart,s=z.lookahead-(I-1);z.ins_h=(z.ins_h<<z.hash_shift^z.window[c+I-1])&z.hash_mask,z.prev[c&z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=c,c++,--s;);z.strstart=c,z.lookahead=I-1,ot(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=I-1,z.match_available=0,t.next_in=P,t.input=S,t.avail_in=N,z.wrap=A,n},y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(v,U,y){U.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(v,U,y){U.exports=function(d,l){var i,u,_,b,h,m,n,f,r,o,a,p,w,x,k,T,O,j,I,H,Q,g,D,e,F;i=d.state,u=d.next_in,e=d.input,_=u+(d.avail_in-5),b=d.next_out,F=d.output,h=b-(l-d.avail_out),m=b+(d.avail_out-257),n=i.dmax,f=i.wsize,r=i.whave,o=i.wnext,a=i.window,p=i.hold,w=i.bits,x=i.lencode,k=i.distcode,T=(1<<i.lenbits)-1,O=(1<<i.distbits)-1;t:do{w<15&&(p+=e[u++]<<w,w+=8,p+=e[u++]<<w,w+=8),j=x[p&T];e:for(;;){if(p>>>=I=j>>>24,w-=I,(I=j>>>16&255)===0)F[b++]=65535&j;else{if(!(16&I)){if(!(64&I)){j=x[(65535&j)+(p&(1<<I)-1)];continue e}if(32&I){i.mode=12;break t}d.msg="invalid literal/length code",i.mode=30;break t}H=65535&j,(I&=15)&&(w<I&&(p+=e[u++]<<w,w+=8),H+=p&(1<<I)-1,p>>>=I,w-=I),w<15&&(p+=e[u++]<<w,w+=8,p+=e[u++]<<w,w+=8),j=k[p&O];r:for(;;){if(p>>>=I=j>>>24,w-=I,!(16&(I=j>>>16&255))){if(!(64&I)){j=k[(65535&j)+(p&(1<<I)-1)];continue r}d.msg="invalid distance code",i.mode=30;break t}if(Q=65535&j,w<(I&=15)&&(p+=e[u++]<<w,(w+=8)<I&&(p+=e[u++]<<w,w+=8)),n<(Q+=p&(1<<I)-1)){d.msg="invalid distance too far back",i.mode=30;break t}if(p>>>=I,w-=I,(I=b-h)<Q){if(r<(I=Q-I)&&i.sane){d.msg="invalid distance too far back",i.mode=30;break t}if(D=a,(g=0)===o){if(g+=f-I,I<H){for(H-=I;F[b++]=a[g++],--I;);g=b-Q,D=F}}else if(o<I){if(g+=f+o-I,(I-=o)<H){for(H-=I;F[b++]=a[g++],--I;);if(g=0,o<H){for(H-=I=o;F[b++]=a[g++],--I;);g=b-Q,D=F}}}else if(g+=o-I,I<H){for(H-=I;F[b++]=a[g++],--I;);g=b-Q,D=F}for(;2<H;)F[b++]=D[g++],F[b++]=D[g++],F[b++]=D[g++],H-=3;H&&(F[b++]=D[g++],1<H&&(F[b++]=D[g++]))}else{for(g=b-Q;F[b++]=F[g++],F[b++]=F[g++],F[b++]=F[g++],2<(H-=3););H&&(F[b++]=F[g++],1<H&&(F[b++]=F[g++]))}break}}break}}while(u<_&&b<m);u-=H=w>>3,p&=(1<<(w-=H<<3))-1,d.next_in=u,d.next_out=b,d.avail_in=u<_?_-u+5:5-(u-_),d.avail_out=b<m?m-b+257:257-(b-m),i.hold=p,i.bits=w}},{}],49:[function(v,U,y){var d=v("../utils/common"),l=v("./adler32"),i=v("./crc32"),u=v("./inffast"),_=v("./inftrees"),b=1,h=2,m=0,n=-2,f=1,r=852,o=592;function a(g){return(g>>>24&255)+(g>>>8&65280)+((65280&g)<<8)+((255&g)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new d.Buf16(320),this.work=new d.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(g){var D;return g&&g.state?(D=g.state,g.total_in=g.total_out=D.total=0,g.msg="",D.wrap&&(g.adler=1&D.wrap),D.mode=f,D.last=0,D.havedict=0,D.dmax=32768,D.head=null,D.hold=0,D.bits=0,D.lencode=D.lendyn=new d.Buf32(r),D.distcode=D.distdyn=new d.Buf32(o),D.sane=1,D.back=-1,m):n}function x(g){var D;return g&&g.state?((D=g.state).wsize=0,D.whave=0,D.wnext=0,w(g)):n}function k(g,D){var e,F;return g&&g.state?(F=g.state,D<0?(e=0,D=-D):(e=1+(D>>4),D<48&&(D&=15)),D&&(D<8||15<D)?n:(F.window!==null&&F.wbits!==D&&(F.window=null),F.wrap=e,F.wbits=D,x(g))):n}function T(g,D){var e,F;return g?(F=new p,(g.state=F).window=null,(e=k(g,D))!==m&&(g.state=null),e):n}var O,j,I=!0;function H(g){if(I){var D;for(O=new d.Buf32(512),j=new d.Buf32(32),D=0;D<144;)g.lens[D++]=8;for(;D<256;)g.lens[D++]=9;for(;D<280;)g.lens[D++]=7;for(;D<288;)g.lens[D++]=8;for(_(b,g.lens,0,288,O,0,g.work,{bits:9}),D=0;D<32;)g.lens[D++]=5;_(h,g.lens,0,32,j,0,g.work,{bits:5}),I=!1}g.lencode=O,g.lenbits=9,g.distcode=j,g.distbits=5}function Q(g,D,e,F){var $,M=g.state;return M.window===null&&(M.wsize=1<<M.wbits,M.wnext=0,M.whave=0,M.window=new d.Buf8(M.wsize)),F>=M.wsize?(d.arraySet(M.window,D,e-M.wsize,M.wsize,0),M.wnext=0,M.whave=M.wsize):(F<($=M.wsize-M.wnext)&&($=F),d.arraySet(M.window,D,e-F,$,M.wnext),(F-=$)?(d.arraySet(M.window,D,e-F,F,0),M.wnext=F,M.whave=M.wsize):(M.wnext+=$,M.wnext===M.wsize&&(M.wnext=0),M.whave<M.wsize&&(M.whave+=$))),0}y.inflateReset=x,y.inflateReset2=k,y.inflateResetKeep=w,y.inflateInit=function(g){return T(g,15)},y.inflateInit2=T,y.inflate=function(g,D){var e,F,$,M,tt,L,J,E,C,q,G,V,ot,ct,rt,it,dt,lt,gt,mt,t,R,z,c,s=0,A=new d.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!g||!g.state||!g.output||!g.input&&g.avail_in!==0)return n;(e=g.state).mode===12&&(e.mode=13),tt=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,F=g.input,L=g.avail_in,E=e.hold,C=e.bits,q=L,G=J,R=m;t:for(;;)switch(e.mode){case f:if(e.wrap===0){e.mode=13;break}for(;C<16;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(2&e.wrap&&E===35615){A[e.check=0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0),C=E=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&E)<<8)+(E>>8))%31){g.msg="incorrect header check",e.mode=30;break}if((15&E)!=8){g.msg="unknown compression method",e.mode=30;break}if(C-=4,t=8+(15&(E>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){g.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,g.adler=e.check=1,e.mode=512&E?10:12,C=E=0;break;case 2:for(;C<16;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(e.flags=E,(255&e.flags)!=8){g.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){g.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=E>>8&1),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0,e.mode=3;case 3:for(;C<32;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.head&&(e.head.time=E),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,A[2]=E>>>16&255,A[3]=E>>>24&255,e.check=i(e.check,A,4,0)),C=E=0,e.mode=4;case 4:for(;C<16;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.head&&(e.head.xflags=255&E,e.head.os=E>>8),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0,e.mode=5;case 5:if(1024&e.flags){for(;C<16;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.length=E,e.head&&(e.head.extra_len=E),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(L<(V=e.length)&&(V=L),V&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),d.arraySet(e.head.extra,F,M,V,t)),512&e.flags&&(e.check=i(e.check,F,V,M)),L-=V,M+=V,e.length-=V),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(L===0)break t;for(V=0;t=F[M+V++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&V<L;);if(512&e.flags&&(e.check=i(e.check,F,V,M)),L-=V,M+=V,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(L===0)break t;for(V=0;t=F[M+V++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&V<L;);if(512&e.flags&&(e.check=i(e.check,F,V,M)),L-=V,M+=V,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;C<16;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(E!==(65535&e.check)){g.msg="header crc mismatch",e.mode=30;break}C=E=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),g.adler=e.check=0,e.mode=12;break;case 10:for(;C<32;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}g.adler=e.check=a(E),C=E=0,e.mode=11;case 11:if(e.havedict===0)return g.next_out=tt,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,2;g.adler=e.check=1,e.mode=12;case 12:if(D===5||D===6)break t;case 13:if(e.last){E>>>=7&C,C-=7&C,e.mode=27;break}for(;C<3;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}switch(e.last=1&E,C-=1,3&(E>>>=1)){case 0:e.mode=14;break;case 1:if(H(e),e.mode=20,D!==6)break;E>>>=2,C-=2;break t;case 2:e.mode=17;break;case 3:g.msg="invalid block type",e.mode=30}E>>>=2,C-=2;break;case 14:for(E>>>=7&C,C-=7&C;C<32;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if((65535&E)!=(E>>>16^65535)){g.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&E,C=E=0,e.mode=15,D===6)break t;case 15:e.mode=16;case 16:if(V=e.length){if(L<V&&(V=L),J<V&&(V=J),V===0)break t;d.arraySet($,F,M,V,tt),L-=V,M+=V,J-=V,tt+=V,e.length-=V;break}e.mode=12;break;case 17:for(;C<14;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(e.nlen=257+(31&E),E>>>=5,C-=5,e.ndist=1+(31&E),E>>>=5,C-=5,e.ncode=4+(15&E),E>>>=4,C-=4,286<e.nlen||30<e.ndist){g.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;C<3;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.lens[N[e.have++]]=7&E,E>>>=3,C-=3}for(;e.have<19;)e.lens[N[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,z={bits:e.lenbits},R=_(0,e.lens,0,19,e.lencode,0,e.work,z),e.lenbits=z.bits,R){g.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;it=(s=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,dt=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(dt<16)E>>>=rt,C-=rt,e.lens[e.have++]=dt;else{if(dt===16){for(c=rt+2;C<c;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(E>>>=rt,C-=rt,e.have===0){g.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],V=3+(3&E),E>>>=2,C-=2}else if(dt===17){for(c=rt+3;C<c;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}C-=rt,t=0,V=3+(7&(E>>>=rt)),E>>>=3,C-=3}else{for(c=rt+7;C<c;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}C-=rt,t=0,V=11+(127&(E>>>=rt)),E>>>=7,C-=7}if(e.have+V>e.nlen+e.ndist){g.msg="invalid bit length repeat",e.mode=30;break}for(;V--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){g.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,z={bits:e.lenbits},R=_(b,e.lens,0,e.nlen,e.lencode,0,e.work,z),e.lenbits=z.bits,R){g.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,z={bits:e.distbits},R=_(h,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,z),e.distbits=z.bits,R){g.msg="invalid distances set",e.mode=30;break}if(e.mode=20,D===6)break t;case 20:e.mode=21;case 21:if(6<=L&&258<=J){g.next_out=tt,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,u(g,G),tt=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,F=g.input,L=g.avail_in,E=e.hold,C=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;it=(s=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,dt=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(it&&!(240&it)){for(lt=rt,gt=it,mt=dt;it=(s=e.lencode[mt+((E&(1<<lt+gt)-1)>>lt)])>>>16&255,dt=65535&s,!(lt+(rt=s>>>24)<=C);){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}E>>>=lt,C-=lt,e.back+=lt}if(E>>>=rt,C-=rt,e.back+=rt,e.length=dt,it===0){e.mode=26;break}if(32&it){e.back=-1,e.mode=12;break}if(64&it){g.msg="invalid literal/length code",e.mode=30;break}e.extra=15&it,e.mode=22;case 22:if(e.extra){for(c=e.extra;C<c;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.length+=E&(1<<e.extra)-1,E>>>=e.extra,C-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;it=(s=e.distcode[E&(1<<e.distbits)-1])>>>16&255,dt=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(!(240&it)){for(lt=rt,gt=it,mt=dt;it=(s=e.distcode[mt+((E&(1<<lt+gt)-1)>>lt)])>>>16&255,dt=65535&s,!(lt+(rt=s>>>24)<=C);){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}E>>>=lt,C-=lt,e.back+=lt}if(E>>>=rt,C-=rt,e.back+=rt,64&it){g.msg="invalid distance code",e.mode=30;break}e.offset=dt,e.extra=15&it,e.mode=24;case 24:if(e.extra){for(c=e.extra;C<c;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}e.offset+=E&(1<<e.extra)-1,E>>>=e.extra,C-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){g.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(J===0)break t;if(V=G-J,e.offset>V){if((V=e.offset-V)>e.whave&&e.sane){g.msg="invalid distance too far back",e.mode=30;break}ot=V>e.wnext?(V-=e.wnext,e.wsize-V):e.wnext-V,V>e.length&&(V=e.length),ct=e.window}else ct=$,ot=tt-e.offset,V=e.length;for(J<V&&(V=J),J-=V,e.length-=V;$[tt++]=ct[ot++],--V;);e.length===0&&(e.mode=21);break;case 26:if(J===0)break t;$[tt++]=e.length,J--,e.mode=21;break;case 27:if(e.wrap){for(;C<32;){if(L===0)break t;L--,E|=F[M++]<<C,C+=8}if(G-=J,g.total_out+=G,e.total+=G,G&&(g.adler=e.check=e.flags?i(e.check,$,G,tt-G):l(e.check,$,G,tt-G)),G=J,(e.flags?E:a(E))!==e.check){g.msg="incorrect data check",e.mode=30;break}C=E=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;C<32;){if(L===0)break t;L--,E+=F[M++]<<C,C+=8}if(E!==(4294967295&e.total)){g.msg="incorrect length check",e.mode=30;break}C=E=0}e.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return n}return g.next_out=tt,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,(e.wsize||G!==g.avail_out&&e.mode<30&&(e.mode<27||D!==4))&&Q(g,g.output,g.next_out,G-g.avail_out)?(e.mode=31,-4):(q-=g.avail_in,G-=g.avail_out,g.total_in+=q,g.total_out+=G,e.total+=G,e.wrap&&G&&(g.adler=e.check=e.flags?i(e.check,$,G,g.next_out-G):l(e.check,$,G,g.next_out-G)),g.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(q==0&&G===0||D===4)&&R===m&&(R=-5),R)},y.inflateEnd=function(g){if(!g||!g.state)return n;var D=g.state;return D.window&&(D.window=null),g.state=null,m},y.inflateGetHeader=function(g,D){var e;return g&&g.state&&2&(e=g.state).wrap?((e.head=D).done=!1,m):n},y.inflateSetDictionary=function(g,D){var e,F=D.length;return g&&g.state?(e=g.state).wrap!==0&&e.mode!==11?n:e.mode===11&&l(1,D,F,0)!==e.check?-3:Q(g,D,F,F)?(e.mode=31,-4):(e.havedict=1,m):n},y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(v,U,y){var d=v("../utils/common"),l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],_=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];U.exports=function(b,h,m,n,f,r,o,a){var p,w,x,k,T,O,j,I,H,Q=a.bits,g=0,D=0,e=0,F=0,$=0,M=0,tt=0,L=0,J=0,E=0,C=null,q=0,G=new d.Buf16(16),V=new d.Buf16(16),ot=null,ct=0;for(g=0;g<=15;g++)G[g]=0;for(D=0;D<n;D++)G[h[m+D]]++;for($=Q,F=15;1<=F&&G[F]===0;F--);if(F<$&&($=F),F===0)return f[r++]=20971520,f[r++]=20971520,a.bits=1,0;for(e=1;e<F&&G[e]===0;e++);for($<e&&($=e),g=L=1;g<=15;g++)if(L<<=1,(L-=G[g])<0)return-1;if(0<L&&(b===0||F!==1))return-1;for(V[1]=0,g=1;g<15;g++)V[g+1]=V[g]+G[g];for(D=0;D<n;D++)h[m+D]!==0&&(o[V[h[m+D]]++]=D);if(O=b===0?(C=ot=o,19):b===1?(C=l,q-=257,ot=i,ct-=257,256):(C=u,ot=_,-1),g=e,T=r,tt=D=E=0,x=-1,k=(J=1<<(M=$))-1,b===1&&852<J||b===2&&592<J)return 1;for(;;){for(j=g-tt,H=o[D]<O?(I=0,o[D]):o[D]>O?(I=ot[ct+o[D]],C[q+o[D]]):(I=96,0),p=1<<g-tt,e=w=1<<M;f[T+(E>>tt)+(w-=p)]=j<<24|I<<16|H|0,w!==0;);for(p=1<<g-1;E&p;)p>>=1;if(p!==0?(E&=p-1,E+=p):E=0,D++,--G[g]==0){if(g===F)break;g=h[m+o[D]]}if($<g&&(E&k)!==x){for(tt===0&&(tt=$),T+=e,L=1<<(M=g-tt);M+tt<F&&!((L-=G[M+tt])<=0);)M++,L<<=1;if(J+=1<<M,b===1&&852<J||b===2&&592<J)return 1;f[x=E&k]=$<<24|M<<16|T-r|0}}return E!==0&&(f[T+E]=g-tt<<24|64<<16|0),a.bits=$,0}},{"../utils/common":41}],51:[function(v,U,y){U.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(v,U,y){var d=v("../utils/common"),l=0,i=1;function u(s){for(var A=s.length;0<=--A;)s[A]=0}var _=0,b=29,h=256,m=h+1+b,n=30,f=19,r=2*m+1,o=15,a=16,p=7,w=256,x=16,k=17,T=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],j=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Q=new Array(2*(m+2));u(Q);var g=new Array(2*n);u(g);var D=new Array(512);u(D);var e=new Array(256);u(e);var F=new Array(b);u(F);var $,M,tt,L=new Array(n);function J(s,A,N,P,S){this.static_tree=s,this.extra_bits=A,this.extra_base=N,this.elems=P,this.max_length=S,this.has_stree=s&&s.length}function E(s,A){this.dyn_tree=s,this.max_code=0,this.stat_desc=A}function C(s){return s<256?D[s]:D[256+(s>>>7)]}function q(s,A){s.pending_buf[s.pending++]=255&A,s.pending_buf[s.pending++]=A>>>8&255}function G(s,A,N){s.bi_valid>a-N?(s.bi_buf|=A<<s.bi_valid&65535,q(s,s.bi_buf),s.bi_buf=A>>a-s.bi_valid,s.bi_valid+=N-a):(s.bi_buf|=A<<s.bi_valid&65535,s.bi_valid+=N)}function V(s,A,N){G(s,N[2*A],N[2*A+1])}function ot(s,A){for(var N=0;N|=1&s,s>>>=1,N<<=1,0<--A;);return N>>>1}function ct(s,A,N){var P,S,W=new Array(o+1),Y=0;for(P=1;P<=o;P++)W[P]=Y=Y+N[P-1]<<1;for(S=0;S<=A;S++){var Z=s[2*S+1];Z!==0&&(s[2*S]=ot(W[Z]++,Z))}}function rt(s){var A;for(A=0;A<m;A++)s.dyn_ltree[2*A]=0;for(A=0;A<n;A++)s.dyn_dtree[2*A]=0;for(A=0;A<f;A++)s.bl_tree[2*A]=0;s.dyn_ltree[2*w]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function it(s){8<s.bi_valid?q(s,s.bi_buf):0<s.bi_valid&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function dt(s,A,N,P){var S=2*A,W=2*N;return s[S]<s[W]||s[S]===s[W]&&P[A]<=P[N]}function lt(s,A,N){for(var P=s.heap[N],S=N<<1;S<=s.heap_len&&(S<s.heap_len&&dt(A,s.heap[S+1],s.heap[S],s.depth)&&S++,!dt(A,P,s.heap[S],s.depth));)s.heap[N]=s.heap[S],N=S,S<<=1;s.heap[N]=P}function gt(s,A,N){var P,S,W,Y,Z=0;if(s.last_lit!==0)for(;P=s.pending_buf[s.d_buf+2*Z]<<8|s.pending_buf[s.d_buf+2*Z+1],S=s.pending_buf[s.l_buf+Z],Z++,P===0?V(s,S,A):(V(s,(W=e[S])+h+1,A),(Y=O[W])!==0&&G(s,S-=F[W],Y),V(s,W=C(--P),N),(Y=j[W])!==0&&G(s,P-=L[W],Y)),Z<s.last_lit;);V(s,w,A)}function mt(s,A){var N,P,S,W=A.dyn_tree,Y=A.stat_desc.static_tree,Z=A.stat_desc.has_stree,K=A.stat_desc.elems,st=-1;for(s.heap_len=0,s.heap_max=r,N=0;N<K;N++)W[2*N]!==0?(s.heap[++s.heap_len]=st=N,s.depth[N]=0):W[2*N+1]=0;for(;s.heap_len<2;)W[2*(S=s.heap[++s.heap_len]=st<2?++st:0)]=1,s.depth[S]=0,s.opt_len--,Z&&(s.static_len-=Y[2*S+1]);for(A.max_code=st,N=s.heap_len>>1;1<=N;N--)lt(s,W,N);for(S=K;N=s.heap[1],s.heap[1]=s.heap[s.heap_len--],lt(s,W,1),P=s.heap[1],s.heap[--s.heap_max]=N,s.heap[--s.heap_max]=P,W[2*S]=W[2*N]+W[2*P],s.depth[S]=(s.depth[N]>=s.depth[P]?s.depth[N]:s.depth[P])+1,W[2*N+1]=W[2*P+1]=S,s.heap[1]=S++,lt(s,W,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(nt,ft){var wt,_t,yt,ut,kt,Bt,vt=ft.dyn_tree,Dt=ft.max_code,Mt=ft.stat_desc.static_tree,jt=ft.stat_desc.has_stree,Lt=ft.stat_desc.extra_bits,Rt=ft.stat_desc.extra_base,At=ft.stat_desc.max_length,xt=0;for(ut=0;ut<=o;ut++)nt.bl_count[ut]=0;for(vt[2*nt.heap[nt.heap_max]+1]=0,wt=nt.heap_max+1;wt<r;wt++)At<(ut=vt[2*vt[2*(_t=nt.heap[wt])+1]+1]+1)&&(ut=At,xt++),vt[2*_t+1]=ut,Dt<_t||(nt.bl_count[ut]++,kt=0,Rt<=_t&&(kt=Lt[_t-Rt]),Bt=vt[2*_t],nt.opt_len+=Bt*(ut+kt),jt&&(nt.static_len+=Bt*(Mt[2*_t+1]+kt)));if(xt!==0){do{for(ut=At-1;nt.bl_count[ut]===0;)ut--;nt.bl_count[ut]--,nt.bl_count[ut+1]+=2,nt.bl_count[At]--,xt-=2}while(0<xt);for(ut=At;ut!==0;ut--)for(_t=nt.bl_count[ut];_t!==0;)Dt<(yt=nt.heap[--wt])||(vt[2*yt+1]!==ut&&(nt.opt_len+=(ut-vt[2*yt+1])*vt[2*yt],vt[2*yt+1]=ut),_t--)}}(s,A),ct(W,st,s.bl_count)}function t(s,A,N){var P,S,W=-1,Y=A[1],Z=0,K=7,st=4;for(Y===0&&(K=138,st=3),A[2*(N+1)+1]=65535,P=0;P<=N;P++)S=Y,Y=A[2*(P+1)+1],++Z<K&&S===Y||(Z<st?s.bl_tree[2*S]+=Z:S!==0?(S!==W&&s.bl_tree[2*S]++,s.bl_tree[2*x]++):Z<=10?s.bl_tree[2*k]++:s.bl_tree[2*T]++,W=S,st=(Z=0)===Y?(K=138,3):S===Y?(K=6,3):(K=7,4))}function R(s,A,N){var P,S,W=-1,Y=A[1],Z=0,K=7,st=4;for(Y===0&&(K=138,st=3),P=0;P<=N;P++)if(S=Y,Y=A[2*(P+1)+1],!(++Z<K&&S===Y)){if(Z<st)for(;V(s,S,s.bl_tree),--Z!=0;);else S!==0?(S!==W&&(V(s,S,s.bl_tree),Z--),V(s,x,s.bl_tree),G(s,Z-3,2)):Z<=10?(V(s,k,s.bl_tree),G(s,Z-3,3)):(V(s,T,s.bl_tree),G(s,Z-11,7));W=S,st=(Z=0)===Y?(K=138,3):S===Y?(K=6,3):(K=7,4)}}u(L);var z=!1;function c(s,A,N,P){G(s,(_<<1)+(P?1:0),3),function(S,W,Y,Z){it(S),Z&&(q(S,Y),q(S,~Y)),d.arraySet(S.pending_buf,S.window,W,Y,S.pending),S.pending+=Y}(s,A,N,!0)}y._tr_init=function(s){z||(function(){var A,N,P,S,W,Y=new Array(o+1);for(S=P=0;S<b-1;S++)for(F[S]=P,A=0;A<1<<O[S];A++)e[P++]=S;for(e[P-1]=S,S=W=0;S<16;S++)for(L[S]=W,A=0;A<1<<j[S];A++)D[W++]=S;for(W>>=7;S<n;S++)for(L[S]=W<<7,A=0;A<1<<j[S]-7;A++)D[256+W++]=S;for(N=0;N<=o;N++)Y[N]=0;for(A=0;A<=143;)Q[2*A+1]=8,A++,Y[8]++;for(;A<=255;)Q[2*A+1]=9,A++,Y[9]++;for(;A<=279;)Q[2*A+1]=7,A++,Y[7]++;for(;A<=287;)Q[2*A+1]=8,A++,Y[8]++;for(ct(Q,m+1,Y),A=0;A<n;A++)g[2*A+1]=5,g[2*A]=ot(A,5);$=new J(Q,O,h+1,m,o),M=new J(g,j,0,n,o),tt=new J(new Array(0),I,0,f,p)}(),z=!0),s.l_desc=new E(s.dyn_ltree,$),s.d_desc=new E(s.dyn_dtree,M),s.bl_desc=new E(s.bl_tree,tt),s.bi_buf=0,s.bi_valid=0,rt(s)},y._tr_stored_block=c,y._tr_flush_block=function(s,A,N,P){var S,W,Y=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(Z){var K,st=4093624447;for(K=0;K<=31;K++,st>>>=1)if(1&st&&Z.dyn_ltree[2*K]!==0)return l;if(Z.dyn_ltree[18]!==0||Z.dyn_ltree[20]!==0||Z.dyn_ltree[26]!==0)return i;for(K=32;K<h;K++)if(Z.dyn_ltree[2*K]!==0)return i;return l}(s)),mt(s,s.l_desc),mt(s,s.d_desc),Y=function(Z){var K;for(t(Z,Z.dyn_ltree,Z.l_desc.max_code),t(Z,Z.dyn_dtree,Z.d_desc.max_code),mt(Z,Z.bl_desc),K=f-1;3<=K&&Z.bl_tree[2*H[K]+1]===0;K--);return Z.opt_len+=3*(K+1)+5+5+4,K}(s),S=s.opt_len+3+7>>>3,(W=s.static_len+3+7>>>3)<=S&&(S=W)):S=W=N+5,N+4<=S&&A!==-1?c(s,A,N,P):s.strategy===4||W===S?(G(s,2+(P?1:0),3),gt(s,Q,g)):(G(s,4+(P?1:0),3),function(Z,K,st,nt){var ft;for(G(Z,K-257,5),G(Z,st-1,5),G(Z,nt-4,4),ft=0;ft<nt;ft++)G(Z,Z.bl_tree[2*H[ft]+1],3);R(Z,Z.dyn_ltree,K-1),R(Z,Z.dyn_dtree,st-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,Y+1),gt(s,s.dyn_ltree,s.dyn_dtree)),rt(s),P&&it(s)},y._tr_tally=function(s,A,N){return s.pending_buf[s.d_buf+2*s.last_lit]=A>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&A,s.pending_buf[s.l_buf+s.last_lit]=255&N,s.last_lit++,A===0?s.dyn_ltree[2*N]++:(s.matches++,A--,s.dyn_ltree[2*(e[N]+h+1)]++,s.dyn_dtree[2*C(A)]++),s.last_lit===s.lit_bufsize-1},y._tr_align=function(s){G(s,2,3),V(s,w,Q),function(A){A.bi_valid===16?(q(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(v,U,y){U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(v,U,y){(function(d){(function(l,i){if(!l.setImmediate){var u,_,b,h,m=1,n={},f=!1,r=l.document,o=Object.getPrototypeOf&&Object.getPrototypeOf(l);o=o&&o.setTimeout?o:l,u={}.toString.call(l.process)==="[object process]"?function(x){process.nextTick(function(){p(x)})}:function(){if(l.postMessage&&!l.importScripts){var x=!0,k=l.onmessage;return l.onmessage=function(){x=!1},l.postMessage("","*"),l.onmessage=k,x}}()?(h="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",w,!1):l.attachEvent("onmessage",w),function(x){l.postMessage(h+x,"*")}):l.MessageChannel?((b=new MessageChannel).port1.onmessage=function(x){p(x.data)},function(x){b.port2.postMessage(x)}):r&&"onreadystatechange"in r.createElement("script")?(_=r.documentElement,function(x){var k=r.createElement("script");k.onreadystatechange=function(){p(x),k.onreadystatechange=null,_.removeChild(k),k=null},_.appendChild(k)}):function(x){setTimeout(p,0,x)},o.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var k=new Array(arguments.length-1),T=0;T<k.length;T++)k[T]=arguments[T+1];var O={callback:x,args:k};return n[m]=O,u(m),m++},o.clearImmediate=a}function a(x){delete n[x]}function p(x){if(f)setTimeout(p,0,x);else{var k=n[x];if(k){f=!0;try{(function(T){var O=T.callback,j=T.args;switch(j.length){case 0:O();break;case 1:O(j[0]);break;case 2:O(j[0],j[1]);break;case 3:O(j[0],j[1],j[2]);break;default:O.apply(i,j)}})(k)}finally{a(x),f=!1}}}}function w(x){x.source===l&&typeof x.data=="string"&&x.data.indexOf(h)===0&&p(+x.data.slice(h.length))}})(typeof self>"u"?d===void 0?this:d:self)}).call(this,typeof St<"u"?St:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Pt);var Me=Pt.exports;const je=Wt(Me),fr=Ot({name:"card-type",props:{isActive:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},isCollect:{type:Boolean,default:!0},isShowCollect:{type:Boolean,default:!0},isShowAdd:{type:Boolean,default:!1},isShowAddDisabled:{type:Boolean,default:!1},disabledMouseHover:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0},item:{type:Object,default:()=>({})},offShelf:{type:Boolean,default:!1},isDownload:{type:Boolean,default:!1}},emits:["click","collect","add","offShelf"],setup(B,{emit:ht}){const v=Zt(),U=Ft(!1),y=Ft(!1),d=h=>{let m=ke;switch(h){case"IMG":m=ve;break;case"VIDEO":m=be;break;case"SONG":m=we;break;case"MUSIC":m=ye;break;case"PPT":m=Ae;break}return m},l=h=>new Promise((m,n)=>{const f=new XMLHttpRequest;f.open("GET",h,!0),f.responseType="blob",f.onload=r=>{r.target.status==200?m(r.target.response):n(r)},f.send()}),i=(h,m)=>{const n=new je,f=[];for(const r in h){const o=l(h[r].url).then(a=>{n.file(h[r].name,a,{binary:!0})});f.push(o)}Promise.all(f).then(()=>{n.generateAsync({type:"blob"}).then(r=>{Nt.saveAs(r,m?m+Date.now()+".zip":"文件夹".concat(Date.now(),".zip"))})}).catch(()=>{v.error("下载失败")}),y.value=!1},u=(h,m)=>{fetch(m).then(n=>n.blob()).then(n=>{Nt.saveAs(n,h),setTimeout(()=>{y.value=!1},100)}).catch(()=>{v.error("下载失败")}),y.value=!1},_=h=>{const m=h.split("?"),n=/\/([^\\/]+)$/,f=m[0].match(n);return f?f[1]:""},b=async h=>{var r;h.stopPropagation(),h.preventDefault();const m=B.item;if(!m.content){v.error("下载失败");return}if(y.value)return!1;y.value=!0;const n=(r=m.content)==null?void 0:r.split("."),f=m.title+"."+n[(n==null?void 0:n.length)-1];if(m.type==="MUSIC"){const{data:o}=await Kt(m.content),a=[];o.xmlFileUrl&&a.push({url:o.xmlFileUrl,name:_(o.xmlFileUrl)}),o.background&&o.background.length>0&&o.background.forEach(p=>{a.push({url:p.audioFileUrl,name:_(p.audioFileUrl)})}),i(a,m.title)}else u(f,m.content)};return()=>et("div",{onClick:()=>ht("click",B.item),key:B.item.id,draggable:B.draggable?!B.item.exist:!1,class:[X["card-section"],"card-section-container",B.draggable?B.item.exist?"":X.cardDrag:""],onMouseenter:()=>{U.value=!0},onMouseleave:()=>{U.value=!1},onDragstart:h=>{console.log("dragstart",Date.now()),h.dataTransfer.setData("text",JSON.stringify(B.item))}},[B.offShelf&&et("div",{class:X.offShelfBg},[et("p",{class:X.offShelfTips},[Tt("该资源已被下架")]),et(It,{type:"primary",class:X.offShelfBtn,onClick:h=>{h.stopPropagation(),ht("offShelf")}},{default:()=>[Tt("确认")]})]),et(Ht,{class:[X["card-section-content"],B.isShowAdd?"":X.course,B.isActive?X.isActive:"",B.item.exist?X.showAddBtn:""],style:{cursor:"pointer"}},{cover:()=>et(Vt,null,[B.item.type==="IMG"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:B.disabledMouseHover,objectFit:"cover",src:B.item.coverImg,previewSrc:B.item.content,renderToolbar:({nodes:h})=>[h.prev,h.next,h.rotateCounterclockwise,h.rotateClockwise,h.resizeToOriginalSize,h.zoomOut,h.close]},null),B.item.type==="MUSIC"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"contain",src:B.item.coverImg},null),B.item.type==="SONG"&&et(Oe,{content:B.item.content,cover:B.item.coverImg,previewDisabled:B.disabledMouseHover},null),B.item.type==="VIDEO"&&et(Pe,{cover:B.item.coverImg,content:B.item.content,previewDisabled:B.disabledMouseHover},null),B.item.type==="PPT"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.PPT_DEFAULT_COVER},null),B.item.type==="RHYTHM"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.RHYTHM_DEFAULT_COVER},null),B.item.type==="LISTEN"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg},null),B.item.type==="THEORY"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.THEORY_DEFAULT_COVER},null),B.item.type==="MUSIC_WIKI"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.MUSIC_DEFAULT_COVER},null),B.item.type==="INSTRUMENT"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.INSTRUMENT_DEFAULT_COVER},null),B.item.type==="MUSICIAN"&&et(pt,{class:[X.cover,X.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.MUSICIAN_DEFAULT_COVER},null)]),footer:()=>et("div",{class:X.footer},[et("div",{class:[X.title,"footerTitle"]},[et(pt,{class:[X.titleType],src:d(B.item.type),objectFit:"cover"},null),et("span",{class:[X.titleContent,"titleContent"]},[et(Jt,{isAnimation:U.value,text:B.item.title},null)])]),et("div",{class:X.btnGroup},[B.isDownload&&et("div",{class:X.btnItem,onClick:b},[et(Gt,{show:y.value,size:"small"},{default:()=>[et("img",{src:xe,key:"3",class:[X.iconCollect]},null)]})]),B.isShowCollect&&et("div",{class:[X.iconCollect,X.btnItem],onClick:h=>{h.stopPropagation(),h.preventDefault(),B.isCollect&&ht("collect",B.item)}},[et(Yt,{name:"favitor",mode:"out-in"},{default:()=>[B.item.isCollect?et("img",{src:qt,key:"1",class:[X.iconCollect,B.isCollect?X.isCollect:""]},null):et("img",{src:Qt,key:"2",class:[X.iconCollect,B.isCollect?X.isCollect:""]},null)]})])]),B.item.isSelected&&et("span",{class:X.iconSelected},null),B.isShowAdd&&(B.item.exist?et(It,{type:"primary",class:[X.addBtn,B.item.exist?X.addBtnDisabled:""],disabled:B.item.exist||B.isShowAddDisabled,onClick:h=>{h.stopPropagation(),h.preventDefault(),ht("add",B.item)}},{default:()=>[B.item.exist?"已添加":"添加"]}):!B.isShowAddDisabled&&et(It,{type:"primary",class:[X.addBtn,B.item.exist?X.addBtnDisabled:""],disabled:B.item.exist||B.isShowAddDisabled,onClick:h=>{h.stopPropagation(),h.preventDefault(),ht("add",B.item)}},{default:()=>[B.item.exist?"已添加":"添加"]}))])})])}}),pr=B=>at.post("/edu-app/material/queryPage",{data:B}),mr=B=>at.post("/edu-app/material/favorite",{data:B}),gr=B=>at.post("/edu-app/material/remove",{requestType:"form",data:B}),_r=B=>at.post("/edu-app/lessonCourseware/save",{data:B}),vr=B=>at.post("/edu-app/material/save",{data:B}),br=B=>at.post("/edu-app/material/updateAll",{data:B}),wr=B=>at.post("/edu-app/material/removeMusic",{data:B});export{we as A,be as B,fr as C,_r as D,ir as E,qe as F,nr as G,er as H,rr as I,Ye as a,$e as b,Ge as c,cr as d,hr as e,dr as f,lr as g,sr as h,ar as i,ur as j,or as k,Ve as l,Xe as m,Qe as n,Ke as o,Je as p,pr as q,mr as r,wr as s,tr as t,br as u,gr as v,vr as w,ve as x,Ae as y,ye as z};