From 765277118cbbf354b17993a386ebeb2157664448 Mon Sep 17 00:00:00 2001 From: Tjin Date: Thu, 10 Nov 2022 15:00:01 +0100 Subject: [PATCH] remove invalid docstring --- demos/browser/js/pptxgen.bundle.js | 2 +- demos/browser/js/pptxgen.bundle.js.map | 2 +- dist/pptxgen.bundle.js | 2 +- dist/pptxgen.bundle.js.map | 2 +- dist/pptxgen.cjs.js | 17 +---------------- dist/pptxgen.es.js | 17 +---------------- dist/pptxgen.min.js | 2 +- dist/pptxgen.min.js.map | 2 +- src/gen-xml.ts | 15 --------------- 9 files changed, 8 insertions(+), 53 deletions(-) diff --git a/demos/browser/js/pptxgen.bundle.js b/demos/browser/js/pptxgen.bundle.js index bef4f35c0..9a214f088 100644 --- a/demos/browser/js/pptxgen.bundle.js +++ b/demos/browser/js/pptxgen.bundle.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.949Z */ +/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.538Z */ !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l="function"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join("")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var l,c=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?("string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";t="undefined"!=typeof Promise?Promise:t("lie");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function A(t,e){for(var r="",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo("string",o(i.name)),p=v.transformTo("string",b.utf8encode(i.name)),u=i.comment,o=v.transformTo("string",o(u)),f=v.transformTo("string",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h="",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),"UNIX"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+="up"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+="uc"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g="",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+="\n\0")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+"\0\0\0\0"+A(t,4)+A(n,4)+c+h+o}}var v=t("../utils"),a=t("../stream/GenericWorker"),b=t("../utf8"),x=t("../crc32"),w=t("../signature");function o(t,e,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"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}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),p=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo("nodebuffer",t).toString("utf-8");for(var e,r,n,a=t=l.transformTo(c.uint8array?"uint8array":"array",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?"uint8array":"array",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";var s=t("./support"),l=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),c=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){"use strict";var s,u=t("../utils/common"),l=t("./trees"),f=t("./adler32"),d=t("./crc32"),r=t("./messages"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.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(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&"function"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v="prototype";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f("species"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t="ab".split(t)).length&&"a"===t[0]&&"b"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=""[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](""),!t}):void 0;i&&s&&("replace"!==r||m)&&("split"!==r||g)||(o=/./[a],e=(s=e(u,a,""[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&!s(r,"name")&&i(r,"name",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?""+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){r=r.call(t,e);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c="lastIndex",p=(a=/b*/g,s.call(n=/a/,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec("")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1"+t+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||"​…"!="​…"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,"String",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t="["+s+"]",l=RegExp("^"+t+t+"*"),c=RegExp(t+t+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,"")),t=2&e?t.replace(c,""):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A="onreadystatechange";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t("typed_array"),s=t("view"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError("Incompatible receiver, "+e+" required!")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,"Math",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),"Math",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,"Math",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),"Number",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),"Number",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){"use strict";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r="";0<=--e;)""===r&&0!==e&&0===i[e]||(t=String(i[e]),r=""===r?t:r+d.call("0",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!";n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o="",i="0";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E("Promise-chain cycle")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit("unhandledRejection",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error("Unhandled promise rejection",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit("rejectionHandled",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||"",R=p[L],F="process"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(F||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,"_h"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),"Reflect",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),"Reflect",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,"Reflect",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,"value")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,"Reflect",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,"value")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)("match")]=!1,h(u)!=u||h(f)==f||"/a/i"!=h(u,"i")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,"RegExp",h)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)("match",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);""===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\$([$&`']|\d\d?|<[^>]*>)/g,F=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i="function"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;""===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u="",f=0,d=0;d>>0,p=new RegExp(t.source,s+"g");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test("")||i.push(""):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:"0"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(S?"y":"g"),i=new t(S?r:"^(?:"+r.source+")",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t){return!!~a(this,t,"includes").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S="prototype",L=m("_hidden"),$=m("toPrimitive"),tt={}.propertyIsEnumerable,E=d("symbol-registry"),T=d("symbols"),k=d("op-symbols"),R=Object[S],d="function"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&"symbol"==typeof _.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError("Symbol is not a constructor!");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,"Symbol",{for:function(t){return c(E,t+="")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+" is not a symbol!");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,"Object",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,"Object",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),t=t(148),t=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(t);n(n.P+n.F*t,"String",{padEnd:function(t){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function D(t){return"number"==typeof t&&100").concat(e,""):"")}function At(t,e){var r,n,a,o="",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&"object"==typeof a.stops&&0').concat(U(r[t],n),"")}),"".concat(a.join(""),"")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e="gradient"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case"solid":a+="".concat(U(r,n),"");break;case"gradient":a+="".concat(At(t.gradient,n),"");break;default:a+=""}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e="png");t=t.match(/\.(\w{3,4})(?:$|\?)/);return t?t[1]:e}function bt(t){if(t&&"object"==typeof t)return"outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 ".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=""),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => ".concat((u/B).toFixed(2)," + ").concat((l._lineHeight/B).toFixed(2)," > ").concat(p/B)),console.log("|-----------------------------------------------------------------------|\n\n")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:""}))),o===f.length-1&&(u+=i),o=o \n'),i.file("_rels/.rels",'\n'),i.file("docProps/app.xml",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\n'),i.file("docProps/core.xml",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+""),i.file("xl/_rels/workbook.xml.rels",''),i.file("xl/styles.xml",'\n'),i.file("xl/theme/theme1.xml",''),i.file("xl/workbook.xml",'\n'),i.file("xl/worksheets/_rels/sheet1.xml.rels",'\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&""!==t}).length}),c+'')+""):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+="X-Axis":c=(c+="".concat(N(t.name||"Y-Axis"+e),""))+"".concat(N("Size"+e),"")}):A.forEach(function(t){c+="".concat(N((t.name||" ").replace("X-Axis","X-Values")),"")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&""!==t}).forEach(function(t){c+="".concat(N(t),"")})}),c+="\n",i.file("xl/sharedStrings.xml",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+="")+''+"
",i.file("xl/tables/table1.xml",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+="")+'')+'0',f=1;f').concat(f,"");u+="",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var r=2,n=1;n').concat(A[n].values[e]||"",""))+'').concat(A[n].sizes[e]||"",""),r++;u+=""})}else if(g.opts._type===b.SCATTER){u=(u+="")+'');for(f=0;f').concat(f,"");u+="",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:"","");u+=""})}else if(u+="",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,"");u+="";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&""!==t}).length,n+=t,u+='').concat(n,""))});for(var t=0;t').concat(A[t].values[r]||0,"");u+=""}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,"");u+="",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+"".concat(A.length+e+1,"")+"";for(var n=0;n').concat(A[n].values[e]||"","");u+=""})}u+='\n',i.file("xl/worksheets/sheet1.xml",u),i.generateAsync({type:"base64"}).then(function(t){y.file("ppt/embeddings/Microsoft_Excel_Worksheet"+g.globalId+".xlsx",t,{base64:!0}),y.file("ppt/charts/_rels/"+g.fileName+".rels",''+'')+""),y.file("ppt/charts/".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+"",a.opts.showTitle?o=o+Ot({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ');o+="",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ')+' ')+' ')+" ":o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+("none"!==e.serGridLine.style?Nt(e.serGridLine):""),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?"":""+U(e.serAxisLineColor||w.color)+"")+' ')+" ")+" ")+" ")+" ")+' '))+" "+U(e.serAxisLabelColor||_)+"")+' ')+" ")+' ')+" ")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ')+" ")+' ')+" ")+'\t \t ')+'\t \t\t')+' '))+'\t\t\t\t\t\t')+'\t\t\t\t\t\t')+"\t\t \t\t")+'\t\t\t ')+"\t");o=(o=(o=(o+=" ")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):""))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),""):"")+" ")+" ",a.opts.showLegend&&(o=(o+="")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+="")+" ")+" ")+(a.opts.legendFontSize?'':""),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=" ")+' ')+" "),o+="");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+="")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):""))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),""):""))+" ")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i="";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=""),n===b.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+="")+' ')+' ')+" Sheet1!$"+T(t._dataIndex+t.labels.length+1)+"$1")+' '+N(t.name)+" ";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===e?i+="":o.chartColorsOpacity?i+=""+U(e,''))+"":i+=""+U(e)+"",n===b.LINE||n===b.RADAR?0===o.lineSize?i+="":i=(i+=''+U(e)+"")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+="")+''),o.dataLabelBkgrdColors&&(i+="".concat(U(e),"")),i=(i=(i=(i+="")+''))+"".concat(U(o.dataLabelColor||_),""))+'')+"",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+""),n!==b.LINE&&n!==b.RADAR||(i=(i+="")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=" ")+" "+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+"")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1")+' ',0===o.lineSize?i+="":i=n===b.BAR?(i+="")+' ':(i+=" ")+' ',i=i+g(o.shadow,c)+" "}),i+="",o.catLabelFormatCode?(i=(i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(t.labels[0].length+1)+" ")+" "+(o.catLabelFormatCode||"General")+"")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+""}),i+=" "):(i=(i=(i+=" ")+" Sheet1!$A$2:$"+T(t.labels.length)+"$"+(t.labels[0].length+1)+" ")+'\t ',t.labels.forEach(function(t){i+=" ",t.forEach(function(t,e){i+=''+N(t)+""}),i+=" "}),i+=" "),i=(i=(i=(i=i+""+" ")+"Sheet1!$".concat(T(t._dataIndex+t.labels.length+1),"$2:$").concat(T(t._dataIndex+t.labels.length+1),"$").concat(t.labels[0].length+1,"")+" ")+" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:"","")}),i+=" ",n===b.LINE&&(i+=''),i+=""}),i=(i=(i=(i=(i+=" ")+' ')+" ")+' ')+" "+U(o.dataLabelColor||_)+"")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+" ",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+"");break;case b.SCATTER:i=(i+="")+''+'',s=-1,a.filter(function(t,e){return 0")+' ')+" Sheet1!$"+T(t+2)+"$1")+' '+N(r.name)+" ";var n,e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+U(e,'')+"":i+=""+U(e)+"",0===o.lineSize?i+="":i=(i+=''+U(e)+"")+'',i=(i=(i+=g(o.shadow,c))+" "+"")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=" ")+" "+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt("-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),!r.labels[0]||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels[0].forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=" ")+' \t\t\t\t\t\t\t\t\t\t \t \t\t\t\t\t\t\t\t\t\t\t\t\t\t \t')+' \t\t')+" \t\t"+N(t)+" \t",i=("customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=" \t")+' \t\t \t\t ( \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+N(r.name)+" \t \t")+' \t\t \t\t, \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+N(r.name)+"] \t \t")+' \t\t \t\t) \t')+' \t')+" \t \t \t \t\t \t \t ",o.dataLabelPosition&&(i+=' '),i=(i+=' \t ')+'\t\t\t \t\t')}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+='\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t \t\t\t \t\t \t\t\t\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\t')+' '))+' ')+'\t\t\t\t\t\t\t\t\t\t\t\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=" ")+' ',0===o.lineSize?i+="":i=(i+="")+' ',i=i+g(o.shadow,c)+" "}),i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i=(i+=" ")+" Sheet1!$"+T(t+2)+"$2:$"+T(t+2)+"$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i=(i+=" ")+''}),i=(i=(i=(i=(i+=" ")+' ')+" ")+' ')+" "+U(o.dataLabelColor||_)+"")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+("");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+""+'',s=-1,l=1;a.filter(function(t,e){return 0")+' ')+" Sheet1!$"+T(l+1)+"$1")+' '+N(r.name)+" ";t=o.chartColors[s%o.chartColors.length];"transparent"===t?i+="":o.chartColorsOpacity?i+=""+U(t,'')+"":i+=""+U(t)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+"")+'',i=i+g(o.shadow,c)+"",i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i+=" ")+" Sheet1!$"+T(l+1)+"$2:$"+T(l+1)+"$"+(a[0].values.length+1)+"",l++,i=(i+=" General")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i=(i+=" ")+" Sheet1!$"+T(l+1)+"$2:$"+T(l+1)+"$"+(r.sizes.length+1)+"",l++,i=(i+=" General")+'\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i=(i+=" ")+' '}),i=(i=(i=(i=(i+="")+'')+"")+''))+"".concat(U(o.dataLabelColor||_),""))+'')+"",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+"";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+="")+' '+"",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+" ")+" "+" Sheet1!$B$1")+" "+' ')+(' '+N(r.name)+""))+" "+" ")+" "+" ")+' '+' ',o.dataNoEffects?i+="":i+=g(o.shadow,c),i+=" ",r.labels[0].forEach(function(t,e){i=(i=(i+="")+' ')+' ')+"".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),""),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+" "}),i+="",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+="")+' '))+' ')+" ")+' '))+" "+U(o.dataLabelColor||_)+"")+' ')+" ",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+"\t")+"\t "+"\t ")+"\t "+"\t\t")+('\t\t ')+'\t\t\t')+"\t\t "+"\t\t")+"\t "+"\t")+(n===b.PIE?'':""))+'\t'+'\t')+'\t'+'\t')+'\t'+'\t')+' ')+"")+""+" ")+(" Sheet1!$A$2:$A$"+(r.labels[0].length+1)+"")+" ")+('\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+""}),i=(i=(i=(i=(i+=" ")+" "+"")+" "+" ")+(" Sheet1!$B$2:$B$"+(r.labels[0].length+1)+"")+" ")+('\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i=(i=i+" "+" ")+" "+" ")+' '),n===b.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function It(e,t,r){var n="";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+="":n+="",n=(n+=' ')+" "+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+""+(' '))+(' '))+("none"!==e.catGridLine.style?Nt(e.catGridLine):""),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=" ")+(' '))+(!1===e.catAxisLineShow?"":""+U(e.catAxisLineColor||w.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+U(e.catAxisLabelColor||_)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+="":n+="",n}function Bt(t,e){var r=e===S?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="r"===(r=e===lt?"r":r)||"t"===r,a=e===S?L:ct,o="",o=(o+="")+(' ')+" ";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=" ")+(' ')+(' '),"none"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=" ")+(' '))+(!1===t.valAxisLineShow?"":""+U(t.valAxisLineColor||w.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+U(t.valAxisLabelColor||_)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?"":"","")),o+=""}function Ot(t,e,r){var n="left"===t.titleAlign||"right"===t.titleAlign?''):"",a=t.titleRotate?''):"",o=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",i=!0===t.titleBold?1:0,s="";return t.titlePos&&"number"==typeof t.titlePos.x&&"number"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),"\n\t \n\t \n\t ".concat(a,"\n\t \n\t \n\t ").concat(n,"\n\t \n\t ').concat(U(t.color||_),'\n\t \n\t \n\t \n\t \n\t \n\t ').concat(U(t.color||_),'\n\t \n\t \n\t ').concat(N(t.title)||"","\n\t \n\t \n\t \n\t \n\t ").concat(s,'\n\t \n\t')}function T(t){t-=1;return t<=25?ut[t]:"".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",e=E(e,t),t=e.type||"outer",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+="')+('')+('')+("")+""}function Nt(t){var e="";return(e+=" ")+(' ')+(' ')+(' ')+" "+" "+""}function Dt(t){return"object"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return"object"==typeof t&&""!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e("done")},t.readAsDataURL(n.response)},n.onerror=function(t){r("ERROR! Unable to load font (xhr.onerror): ".concat(a.path))},n.open("GET",a.path),n.responseType="blob",n.send()})},Ut=["regular","bold","italic","boldItalic"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[],s=t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r("done")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else o&&i&&0===a.path.indexOf("http")?i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r("done")}),t.on("error",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("ERROR! Unable to load image (https.get): ".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("ERROR! Unable to load image (xhr.onerror): ".concat(a.path))},e.open("GET",a.path),e.responseType="blob",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return"done"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e("ERROR! Unable to load image (image.onerror): ".concat(a.path))},n.src="string"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':"",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+="".concat(j(k.background),""):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+""+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O("75%","X",k._presLayout),i=0,s="";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,"X",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,"Y",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,"X",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,"Y",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,"X",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,"Y",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,"X",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,"Y",k._presLayout))),n.options.flipH&&(s+=' flipH="1"'),n.options.flipV&&(s+=' flipV="1"'),n.options.rotate&&(s+=' rot="'+z(n.options.rotate)+'"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+="";for(var h=0;h'}d+=""}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round(("number"==typeof n.options.w?n.options.w:1)/u)),d+="";for(var g=0;g';d+=""}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return"".concat(e,'="').concat(t,'"')}).join(" "))&&" "+s;t._hmerge||t._vmerge?d+=""):(r=t.options||{},t.options=r,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor="'+r.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&"string"==typeof t._optImp.fill?t._optImp.fill:"")||r.fill?r.fill:"")?j(n):"",a=0===r.margin||r.margin?r.margin:tt,o="",o=1<=(a=Array.isArray(a)||"number"!=typeof a?a:[a,a,a,a])[0]?' marL="'.concat(M(a[3]),'" marR="').concat(M(a[1]),'" marT="').concat(M(a[0]),'" marB="').concat(M(a[2]),'"'):' marL="'.concat(D(a[3]),'" marR="').concat(D(a[1]),'" marT="').concat(D(a[0]),'" marB="').concat(D(a[2]),'"'),d+="").concat(Zt(t),""),r.border&&Array.isArray(r.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');"none"!==r.border[t.idx].type?d=(d=(d=(d+="'))+"".concat(U(r.border[t.idx].color,e),""))+''))+""):d+="")}),d=d+n+" ")}),d+=""}),R+=d=(d=d+" "+" ")+" "+"",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+="")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+="")+("':"/>")))+"".concat("placeholder"===n._type?Xt(n):Xt(e),"")+"")+""))+''))+''),"custGeom"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":R+='');break;case"cubic":R+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t');break;case"quadratic":R+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t')}else"close"in t?R+="":t.moveTo||0===e?R+=''):R+='')}),R+="";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=""}R+=n.options.fill?j(n.options.fill):"",n.options.line&&(R+=n.options.line.width?''):"",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=""),n.options.shadow&&"none"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+="")+"')+'')+'')+""),R=(R+="")+Zt(n)+"";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \n \n \n \n \n \n '):"",L=(L=n.options.solidFill)?' \n \n \n \n '):"",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+""+" ")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+" "+' ')+(" "+Xt(e)+""))+" "+"",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):"")+S)+(T?''):"")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):"")+S)+(T?''):"")+"",w&&w.type?(S=w.w?O(w.w,"X",k._presLayout):o,v=w.h?O(w.h,"Y",k._presLayout):i,b=O(w.x||0,"X",k._presLayout),x=O(w.y||0,"Y",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=" ",R=(R=(R=(R=R+""+"")+(" ")+(' '))+(' ')+" ")+(' ')+L,E&&(R+="",n.options.shadow&&"none"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+="')+'')+'')+""),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=""),R=R+""+"";break;case I.media:R="online"===n.mtype?(R=(R=(R=(R=(R+=" ")+'')+" ")+' ')+' ')+" ")+' ':(R=(R=(R=(R=(R=(R+=" ")+'')+' ')+' ')+' ')+' ')+" ")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+""+" ")+' ')+" ")+" ".concat(Xt(e),"")+" ")+' '))+' '+' ')+' ')+" ")+" "+"";break;default:R+=""}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align="left"),R=R+(' '),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=""),R+="",k._slideNumberProps.align.startsWith("l")?R+='':k._slideNumberProps.align.startsWith("c")?R+='':k._slideNumberProps.align.startsWith("r")?R+='':R+='',R=(R+=''))+"".concat(k._slideNum,'')+""),R=R+""+""}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Yt(t,e){var r,n="",a="",o="",i="",s=e?"a:lvl1pPr":"a:pPr",l=M(Z),c="<".concat(s).concat(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":c+=' algn="l"';break;case"right":c+=' algn="r"';break;case"center":c+=' algn="ctr"';break;case"justify":c+=' algn="just"';break;default:c+=""}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),"object"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?"number"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL="'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r="&#x".concat(t.options.bullet.characterCode,";"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),r=u.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r="&#x".concat(t.options.bullet.code,";"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),r=u.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):(c+=' marL="'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL="'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent="0" marL="0"',n=""),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(""),i="".concat(r,"")),c+=">"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=""}function qt(t,e){var r,n,a,o,i="",e=e?"a:defRPr":"a:rPr",i=(i=(i=(i=(i+="<"+e+' lang="'+(t.lang||"en-US")+'"'+(t.lang?' altLang="en-US"':""))+(t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':""))+(t.hasOwnProperty("bold")?' b="'.concat(t.bold?1:0,'"'):""))+(t.hasOwnProperty("italic")?' i="'.concat(t.italic?1:0,'"'):""))+(t.hasOwnProperty("strike")?' strike="'.concat("string"==typeof t.strike?t.strike:"sngStrike",'"'):"");if("object"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u="'.concat(t.underline.style,'"'):"string"==typeof t.underline?i+=' u="'.concat(t.underline,'"'):t.hyperlink&&(i+=' u="sng"'),t.baseline?i+=' baseline="'.concat(Math.round(50*t.baseline),'"'):t.subscript?i+=' baseline="-40000"':t.superscript&&(i+=' baseline="30000"'),i=i+(t.charSpacing?' spc="'.concat(Math.round(100*t.charSpacing),'" kern="0"'):"")+' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(i+='').concat(j(t.outline.color||"FFFFFF"),"")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+="".concat(U(t.highlight),"")),"object"==typeof t.underline&&t.underline.color&&(i+="".concat(j(t.underline.color),"")),t.glow&&(i+="".concat((r=t.glow,a="",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+""),"")),t.fontFace&&(i+=''))),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?i+='":"/>"):t.hyperlink.slide&&(i+='":"/>")),t.color&&(i+='\t\t\t\t\t\t\t\t\t')}return i+="")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return"";var e,o,i=n._type===I.tablecell?"":"",s=(i+=(o="":"resize"===e.options.fit&&(o+="")),e.options.shrinkText&&(o+=""),o=o+(!1!==e.options._bodyProp.autoFit?"":"")+""):o+=' wrap="square" rtlCol="0">',e._type===I.tablecell?"":o),0===a.h&&a.line&&a.align?i+='':"placeholder"===n._type?i+="".concat(Yt(n,!0),""):i+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1",""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace("",""),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&"color"===r||"bullet"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?"".concat(qt(t.options,!1),"").concat(N(t.text),""):"",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+"":i+='':i+=e?'':''),i+=""}),i+=n._type===I.tablecell?"":""}function Xt(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return"")}function Kt(t){return''+f+''+N((e="",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file("_rels/.rels",''.concat(f,'\n\t\t\n\t\t\n\t\t\n\t\t')),l.file("docProps/app.xml",(e=c.slides,a=c.company,''.concat(f,'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t').concat(e.length,"\n\t").concat(e.length,'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t').concat(e.length,'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t').concat(e.map(function(t,e){return"Slide "+(e+1)+"\n"}).join(""),"\n\t\t\n\t\n\t").concat(a,"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"))),l.file("docProps/core.xml",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\n\t\n\t\t'.concat(N(t),"\n\t\t").concat(N(e),"\n\t\t").concat(N(a),"\n\t\t").concat(N(a),"\n\t\t").concat(o,'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),"\n\t"))),l.file("ppt/_rels/presentation.xml.rels",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id="rId".concat(r),n+='')})}),n+=""}(c.slides,c.fonts)),l.file("ppt/theme/theme1.xml",''.concat(f,'')),l.file("ppt/presentation.xml",function(t){var e=(e=''.concat(f)+''))+''+"";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+="")+''))+''))+''),0",t.fonts.forEach(function(t){e=(e+="")+''),t.styles.forEach(function(t){e+="')}),e+=""}),e+=""),e+="";for(var r=1;r<10;r++)e+="')+''+"");return e+="",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=""}),e+=''),e+=""}(c)),l.file("ppt/presProps.xml",''.concat(f,'')),l.file("ppt/tableStyles.xml",''.concat(f,'')),l.file("ppt/viewProps.xml",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",'\n\t\t\n\t\t'.concat(Vt(t),"\n\t\t")),l.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",(t=e+1,Qt(c.slideLayouts[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])))}),c.slides.forEach(function(t,e){var r;l.file("ppt/slides/slide"+(e+1)+".xml",(r=t,''.concat(f)+'")+"".concat(Vt(r))+"")),l.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",Jt(c.slides,c.slideLayouts,e+1)),l.file("ppt/notesSlides/notesSlide"+(e+1)+".xml",Kt(t)),l.file("ppt/notesSlides/_rels/notesSlide"+(e+1)+".xml.rels",'\n\t\t\n\t\t\t\n\t\t\t\n\t\t'))}),l.file("ppt/slideMasters/slideMaster1.xml",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join("")+' ')),l.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:"../slideLayouts/slideLayout".concat(e+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}})).push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Qt(a,o))),l.file("ppt/notesMasters/notesMaster1.xml",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''.concat(f,'\n\t\t\n\t\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return"STREAM"===i.outputType?l.generateAsync({type:"nodebuffer",compression:i.compression?"DEFLATE":"STORE"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:"blob",compression:i.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fonts",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:t,outputType:"STREAM"})},r.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,r=("string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),"object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:""),t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:t,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle,'"')):!(this.sections&&0 opts.y = ").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}(); //# sourceMappingURL=pptxgen.bundle.js.map diff --git a/demos/browser/js/pptxgen.bundle.js.map b/demos/browser/js/pptxgen.bundle.js.map index 29372f194..15894a829 100644 --- a/demos/browser/js/pptxgen.bundle.js.map +++ b/demos/browser/js/pptxgen.bundle.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.949Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join(\"\")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if(\"data:\"===t.substr(0,\"data:\".length))throw new Error(\"Invalid base64 input, it looks like a data url.\");var l,c=3*(t=t.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?(\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";t=\"undefined\"!=typeof Promise?Promise:t(\"lie\");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function A(t,e){for(var r=\"\",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo(\"string\",o(i.name)),p=v.transformTo(\"string\",b.utf8encode(i.name)),u=i.comment,o=v.transformTo(\"string\",o(u)),f=v.transformTo(\"string\",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h=\"\",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),\"UNIX\"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+=\"up\"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+=\"uc\"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g=\"\",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+=\"\\n\\0\")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+\"\\0\\0\\0\\0\"+A(t,4)+A(n,4)+c+h+o}}var v=t(\"../utils\"),a=t(\"../stream/GenericWorker\"),b=t(\"../utf8\"),x=t(\"../crc32\"),w=t(\"../signature\");function o(t,e,r,n){a.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"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}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),p=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo(\"nodebuffer\",t).toString(\"utf-8\");for(var e,r,n,a=t=l.transformTo(c.uint8array?\"uint8array\":\"array\",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?\"uint8array\":\"array\",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,i){\"use strict\";var s=t(\"./support\"),l=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),c=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){\"use strict\";var s,u=t(\"../utils/common\"),l=t(\"./trees\"),f=t(\"./adler32\"),d=t(\"./crc32\"),r=t(\"./messages\"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.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(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&\"function\"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v=\"prototype\";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f(\"species\"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t=\"ab\".split(t)).length&&\"a\"===t[0]&&\"b\"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=\"\"[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](\"\"),!t}):void 0;i&&s&&(\"replace\"!==r||m)&&(\"split\"!==r||g)||(o=/./[a],e=(s=e(u,a,\"\"[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&!s(r,\"name\")&&i(r,\"name\",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?\"\"+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){r=r.call(t,e);if(\"object\"!=typeof r)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return r}if(\"RegExp\"!==n(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return a.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c=\"lastIndex\",p=(a=/b*/g,s.call(n=/a/,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec(\"\")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1\"+t+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||\"​…\"!=\"​…\"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,\"String\",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t=\"[\"+s+\"]\",l=RegExp(\"^\"+t+t+\"*\"),c=RegExp(t+t+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,\"\")),t=2&e?t.replace(c,\"\"):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A=\"onreadystatechange\";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t(\"typed_array\"),s=t(\"view\"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError(\"Incompatible receiver, \"+e+\" required!\")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),\"Array\",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,\"Math\",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),\"Math\",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,\"Math\",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),\"Number\",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),\"Number\",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r=\"\";0<=--e;)\"\"===r&&0!==e&&0===i[e]||(t=String(i[e]),r=\"\"===r?t:r+d.call(\"0\",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h=\"Number.toFixed: incorrect invocation!\";n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o=\"\",i=\"0\";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E(\"Promise-chain cycle\")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit(\"unhandledRejection\",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error(\"Unhandled promise rejection\",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit(\"rejectionHandled\",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||\"\",R=p[L],F=\"process\"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(F||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,\"_h\"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),\"Reflect\",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),\"Reflect\",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,\"Reflect\",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,\"value\")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,\"value\")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)(\"match\")]=!1,h(u)!=u||h(f)==f||\"/a/i\"!=h(u,\"i\")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,\"RegExp\",h)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)(\"match\",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);\"\"===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,F=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i=\"function\"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;\"\"===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u=\"\",f=0,d=0;d>>0,p=new RegExp(t.source,s+\"g\");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?\"i\":\"\")+(r.multiline?\"m\":\"\")+(r.unicode?\"u\":\"\")+(S?\"y\":\"g\"),i=new t(S?r:\"^(?:\"+r.source+\")\",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t){return!!~a(this,t,\"includes\").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S=\"prototype\",L=m(\"_hidden\"),$=m(\"toPrimitive\"),tt={}.propertyIsEnumerable,E=d(\"symbol-registry\"),T=d(\"symbols\"),k=d(\"op-symbols\"),R=Object[S],d=\"function\"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},\"a\",{get:function(){return w(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&\"symbol\"==typeof _.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError(\"Symbol is not a constructor!\");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,\"Symbol\",{for:function(t){return c(E,t+=\"\")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+\" is not a symbol!\");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,\"Object\",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,\"Object\",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return\"[null]\"!=P([t])||\"{}\"!=P({a:t})||\"{}\"!=P(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),t=t(148),t=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(t);n(n.P+n.F*t,\"String\",{padEnd:function(t){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(t){return\"number\"==typeof t&&100\").concat(e,\"\"):\"\")}function At(t,e){var r,n,a,o=\"\",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&\"object\"==typeof a.stops&&0').concat(U(r[t],n),\"\")}),\"\".concat(a.join(\"\"),\"\")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e=\"gradient\"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case\"solid\":a+=\"\".concat(U(r,n),\"\");break;case\"gradient\":a+=\"\".concat(At(t.gradient,n),\"\");break;default:a+=\"\"}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e=\"png\");t=t.match(/\\.(\\w{3,4})(?:$|\\?)/);return t?t[1]:e}function bt(t){if(t&&\"object\"==typeof t)return\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359r?r=M(t.options.margin[0]):d.margin&&d.margin[0]&&M(d.margin[0])>r&&(r=M(d.margin[0])),t.options.margin&&t.options.margin[2]&&M(t.options.margin[2])>n?n=M(t.options.margin[2]):d.margin&&d.margin[2]&&M(d.margin[2])>n&&(n=M(d.margin[2]))):(t.options.margin&&t.options.margin[0]&&D(t.options.margin[0])>r?r=D(t.options.margin[0]):d.margin&&d.margin[0]&&D(d.margin[0])>r&&(r=D(d.margin[0])),t.options.margin&&t.options.margin[2]&&D(t.options.margin[2])>n?n=D(t.options.margin[2]):d.margin&&d.margin[2]&&D(d.margin[2])>n&&(n=D(d.margin[2])))}),m(),u+=r+n,d.verbose&&0===e&&console.log(\"| SLIDE [\".concat(h.length,\"]: emuSlideTabH ...... = \").concat((p/B).toFixed(1),\" \")),t.forEach(function(r,n){var t,a,e,o,i,s,l,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((r.options&&r.options.fontSize?r.options.fontSize:d.fontSize||C)*(q+(d.autoPageLineWeight||0))/100),text:[],options:r.options},u=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=d.autoPageCharWeight||null,d.colW[n]);r.options.colspan&&Array.isArray(d.colW)&&(u=d.colW.filter(function(t,e){return n<=e&&e \".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=\"\"),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => \".concat((u/B).toFixed(2),\" + \").concat((l._lineHeight/B).toFixed(2),\" > \").concat(p/B)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),o===f.length-1&&(u+=i),o=o \\n'),i.file(\"_rels/.rels\",'\\n'),i.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),i.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),i.file(\"xl/_rels/workbook.xml.rels\",''),i.file(\"xl/styles.xml\",'\\n'),i.file(\"xl/theme/theme1.xml\",''),i.file(\"xl/workbook.xml\",'\\n'),i.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&\"\"!==t}).length}),c+'')+\"\"):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+=\"X-Axis\":c=(c+=\"\".concat(N(t.name||\"Y-Axis\"+e),\"\"))+\"\".concat(N(\"Size\"+e),\"\")}):A.forEach(function(t){c+=\"\".concat(N((t.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&\"\"!==t}).forEach(function(t){c+=\"\".concat(N(t),\"\")})}),c+=\"\\n\",i.file(\"xl/sharedStrings.xml\",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+=\"\")+''+\"
\",i.file(\"xl/tables/table1.xml\",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+=\"\")+'')+'0',f=1;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=2,n=1;n').concat(A[n].values[e]||\"\",\"\"))+'').concat(A[n].sizes[e]||\"\",\"\"),r++;u+=\"\"})}else if(g.opts._type===b.SCATTER){u=(u+=\"\")+'');for(f=0;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:\"\",\"\");u+=\"\"})}else if(u+=\"\",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,\"\");u+=\"\";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&\"\"!==t}).length,n+=t,u+='').concat(n,\"\"))});for(var t=0;t').concat(A[t].values[r]||0,\"\");u+=\"\"}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,\"\");u+=\"\",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+\"\".concat(A.length+e+1,\"\")+\"\";for(var n=0;n').concat(A[n].values[e]||\"\",\"\");u+=\"\"})}u+='\\n',i.file(\"xl/worksheets/sheet1.xml\",u),i.generateAsync({type:\"base64\"}).then(function(t){y.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+g.globalId+\".xlsx\",t,{base64:!0}),y.file(\"ppt/charts/_rels/\"+g.fileName+\".rels\",''+'')+\"\"),y.file(\"ppt/charts/\".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+\"\",a.opts.showTitle?o=o+Ot({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ');o+=\"\",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==e.serGridLine.style?Nt(e.serGridLine):\"\"),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?\"\":\"\"+U(e.serAxisLineColor||w.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+U(e.serAxisLabelColor||_)+\"\")+' ')+\" \")+' ')+\" \")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");o=(o=(o=(o+=\" \")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):\"\"))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",a.opts.showLegend&&(o=(o+=\"\")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+=\"\")+\" \")+\" \")+(a.opts.legendFontSize?'':\"\"),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=\" \")+' ')+\" \"),o+=\"\");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+=\"\")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):\"\"))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i=\"\";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=\"\"),n===b.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+=\"\")+' ')+' ')+\" Sheet1!$\"+T(t._dataIndex+t.labels.length+1)+\"$1\")+' '+N(t.name)+\" \";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,''))+\"\":i+=\"\"+U(e)+\"\",n===b.LINE||n===b.RADAR?0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+=\"\")+''),o.dataLabelBkgrdColors&&(i+=\"\".concat(U(e),\"\")),i=(i=(i=(i+=\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\"),n!==b.LINE&&n!==b.RADAR||(i=(i+=\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+\"\")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1\")+' ',0===o.lineSize?i+=\"\":i=n===b.BAR?(i+=\"\")+' ':(i+=\" \")+' ',i=i+g(o.shadow,c)+\" \"}),i+=\"\",o.catLabelFormatCode?(i=(i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(t.labels[0].length+1)+\" \")+\" \"+(o.catLabelFormatCode||\"General\")+\"\")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"):(i=(i=(i+=\" \")+\" Sheet1!$A$2:$\"+T(t.labels.length)+\"$\"+(t.labels[0].length+1)+\" \")+'\\t ',t.labels.forEach(function(t){i+=\" \",t.forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"}),i+=\" \"),i=(i=(i=(i=i+\"\"+\" \")+\"Sheet1!$\".concat(T(t._dataIndex+t.labels.length+1),\"$2:$\").concat(T(t._dataIndex+t.labels.length+1),\"$\").concat(t.labels[0].length+1,\"\")+\" \")+\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:\"\",\"\")}),i+=\" \",n===b.LINE&&(i+=''),i+=\"\"}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+\" \",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+\"\");break;case b.SCATTER:i=(i+=\"\")+''+'',s=-1,a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(t+2)+\"$1\")+' '+N(r.name)+\" \";var n,e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,'')+\"\":i+=\"\"+U(e)+\"\",0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'',i=(i=(i+=g(o.shadow,c))+\" \"+\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!r.labels[0]||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels[0].forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+N(t)+\" \\t\",i=(\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",o.dataLabelPosition&&(i+=' '),i=(i+=' \\t ')+'\\t\\t\\t \\t\\t')}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=\" \")+' ',0===o.lineSize?i+=\"\":i=(i+=\"\")+' ',i=i+g(o.shadow,c)+\" \"}),i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i+=\" \")+\" Sheet1!$\"+T(t+2)+\"$2:$\"+T(t+2)+\"$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+''}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+(\"\");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+\"\"+'',s=-1,l=1;a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(l+1)+\"$1\")+' '+N(r.name)+\" \";t=o.chartColors[s%o.chartColors.length];\"transparent\"===t?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(t,'')+\"\":i+=\"\"+U(t)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+\"\")+'',i=i+g(o.shadow,c)+\"\",i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(a[0].values.length+1)+\"\",l++,i=(i+=\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(r.sizes.length+1)+\"\",l++,i=(i+=\" General\")+'\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i=(i+=\" \")+' '}),i=(i=(i=(i=(i+=\"\")+'')+\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+=\"\")+' '+\"\",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+N(r.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',o.dataNoEffects?i+=\"\":i+=g(o.shadow,c),i+=\" \",r.labels[0].forEach(function(t,e){i=(i=(i+=\"\")+' ')+' ')+\"\".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),\"\"),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+\" \"}),i+=\"\",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+=\"\")+' '))+' ')+\" \")+' '))+\" \"+U(o.dataLabelColor||_)+\"\")+' ')+\" \",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(n===b.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i=(i=(i=(i=(i+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i=i+\" \"+\" \")+\" \"+\" \")+' '),n===b.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function It(e,t,r){var n=\"\";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n=(n+=' ')+\" \"+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+\"\"+(' '))+(' '))+(\"none\"!==e.catGridLine.style?Nt(e.catGridLine):\"\"),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.catAxisLineShow?\"\":\"\"+U(e.catAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(e.catAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n}function Bt(t,e){var r=e===S?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"r\"===(r=e===lt?\"r\":r)||\"t\"===r,a=e===S?L:ct,o=\"\",o=(o+=\"\")+(' ')+\" \";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=\" \")+(' ')+(' '),\"none\"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.valAxisLineShow?\"\":\"\"+U(t.valAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(t.valAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?\"\":\"\",\"\")),o+=\"\"}function Ot(t,e,r){var n=\"left\"===t.titleAlign||\"right\"===t.titleAlign?''):\"\",a=t.titleRotate?''):\"\",o=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",i=!0===t.titleBold?1:0,s=\"\";return t.titlePos&&\"number\"==typeof t.titlePos.x&&\"number\"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),\"\\n\\t \\n\\t \\n\\t \".concat(a,\"\\n\\t \\n\\t \\n\\t \").concat(n,\"\\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t ').concat(N(t.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(s,'\\n\\t \\n\\t')}function T(t){t-=1;return t<=25?ut[t]:\"\".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",e=E(e,t),t=e.type||\"outer\",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+=\"')+('')+('')+(\"\")+\"\"}function Nt(t){var e=\"\";return(e+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function Dt(t){return\"object\"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return\"object\"==typeof t&&\"\"!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e(\"done\")},t.readAsDataURL(n.response)},n.onerror=function(t){r(\"ERROR! Unable to load font (xhr.onerror): \".concat(a.path))},n.open(\"GET\",a.path),n.responseType=\"blob\",n.send()})},Ut=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[],s=t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else o&&i&&0===a.path.indexOf(\"http\")?i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}),t.on(\"error\",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (https.get): \".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (xhr.onerror): \".concat(a.path))},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e(\"ERROR! Unable to load image (image.onerror): \".concat(a.path))},n.src=\"string\"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':\"\",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+=\"\".concat(j(k.background),\"\"):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+\"\"+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O(\"75%\",\"X\",k._presLayout),i=0,s=\"\";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,\"X\",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,\"Y\",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,\"X\",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,\"Y\",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,\"X\",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,\"Y\",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,\"X\",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,\"Y\",k._presLayout))),n.options.flipH&&(s+=' flipH=\"1\"'),n.options.flipV&&(s+=' flipV=\"1\"'),n.options.rotate&&(s+=' rot=\"'+z(n.options.rotate)+'\"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+=\"\";for(var h=0;h'}d+=\"\"}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/u)),d+=\"\";for(var g=0;g';d+=\"\"}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return\"\".concat(e,'=\"').concat(t,'\"')}).join(\" \"))&&\" \"+s;t._hmerge||t._vmerge?d+=\"\"):(r=t.options||{},t.options=r,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor=\"'+r.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&\"string\"==typeof t._optImp.fill?t._optImp.fill:\"\")||r.fill?r.fill:\"\")?j(n):\"\",a=0===r.margin||r.margin?r.margin:tt,o=\"\",o=1<=(a=Array.isArray(a)||\"number\"!=typeof a?a:[a,a,a,a])[0]?' marL=\"'.concat(M(a[3]),'\" marR=\"').concat(M(a[1]),'\" marT=\"').concat(M(a[0]),'\" marB=\"').concat(M(a[2]),'\"'):' marL=\"'.concat(D(a[3]),'\" marR=\"').concat(D(a[1]),'\" marT=\"').concat(D(a[0]),'\" marB=\"').concat(D(a[2]),'\"'),d+=\"\").concat(Zt(t),\"\"),r.border&&Array.isArray(r.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');\"none\"!==r.border[t.idx].type?d=(d=(d=(d+=\"'))+\"\".concat(U(r.border[t.idx].color,e),\"\"))+''))+\"\"):d+=\"\")}),d=d+n+\" \")}),d+=\"\"}),R+=d=(d=d+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+=\"\")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===n._type?Xt(n):Xt(e),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":R+='');break;case\"cubic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in t?R+=\"\":t.moveTo||0===e?R+=''):R+='')}),R+=\"\";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=\"\"}R+=n.options.fill?j(n.options.fill):\"\",n.options.line&&(R+=n.options.line.width?''):\"\",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=\"\"),n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+=\"\")+\"')+'')+'')+\"\"),R=(R+=\"\")+Zt(n)+\"\";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",L=(L=n.options.solidFill)?' \\n \\n \\n \\n '):\"\",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+\"\"+\" \")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+\" \"+' ')+(\" \"+Xt(e)+\"\"))+\" \"+\"\",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+\"\",w&&w.type?(S=w.w?O(w.w,\"X\",k._presLayout):o,v=w.h?O(w.h,\"Y\",k._presLayout):i,b=O(w.x||0,\"X\",k._presLayout),x=O(w.y||0,\"Y\",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=\" \",R=(R=(R=(R=R+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+L,E&&(R+=\"\",n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+=\"')+'')+'')+\"\"),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=\"\"),R=R+\"\"+\"\";break;case I.media:R=\"online\"===n.mtype?(R=(R=(R=(R=(R+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(R=(R=(R=(R=(R=(R+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+\"\"+\" \")+' ')+\" \")+\" \".concat(Xt(e),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:R+=\"\"}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align=\"left\"),R=R+(' \",(k._slideNumberProps.fontFace||k._slideNumberProps.fontSize||k._slideNumberProps.color)&&(R+=''),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=\"\"),R+=\"\",k._slideNumberProps.align.startsWith(\"l\")?R+='':k._slideNumberProps.align.startsWith(\"c\")?R+='':k._slideNumberProps.align.startsWith(\"r\")?R+='':R+='',R=(R+=''))+\"\".concat(k._slideNum,'')+\"\"),R=R+\"\"+\"\"}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Yt(t,e){var r,n=\"\",a=\"\",o=\"\",i=\"\",s=e?\"a:lvl1pPr\":\"a:pPr\",l=M(Z),c=\"<\".concat(s).concat(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),\"object\"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?\"number\"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r=\"&#x\".concat(t.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r=\"&#x\".concat(t.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):(c+=' marL=\"'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL=\"'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',n=\"\"),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(\"\"),i=\"\".concat(r,\"\")),c+=\">\"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=\"\"}function qt(t,e){var r,n,a,o,i=\"\",e=e?\"a:defRPr\":\"a:rPr\",i=(i=(i=(i=(i+=\"<\"+e+' lang=\"'+(t.lang||\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"))+(t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\"))+(t.hasOwnProperty(\"bold\")?' b=\"'.concat(t.bold?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"italic\")?' i=\"'.concat(t.italic?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof t.strike?t.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u=\"'.concat(t.underline.style,'\"'):\"string\"==typeof t.underline?i+=' u=\"'.concat(t.underline,'\"'):t.hyperlink&&(i+=' u=\"sng\"'),t.baseline?i+=' baseline=\"'.concat(Math.round(50*t.baseline),'\"'):t.subscript?i+=' baseline=\"-40000\"':t.superscript&&(i+=' baseline=\"30000\"'),i=i+(t.charSpacing?' spc=\"'.concat(Math.round(100*t.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(i+='').concat(j(t.outline.color||\"FFFFFF\"),\"\")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+=\"\".concat(U(t.highlight),\"\")),\"object\"==typeof t.underline&&t.underline.color&&(i+=\"\".concat(j(t.underline.color),\"\")),t.glow&&(i+=\"\".concat((r=t.glow,a=\"\",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+\"\"),\"\")),t.fontFace&&(i+=''))),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?i+='\":\"/>\"):t.hyperlink.slide&&(i+='\":\"/>\")),t.color&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return i+=\"\")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return\"\";var e,o,i=n._type===I.tablecell?\"\":\"\",s=(i+=(o=\"\",e.options.fit&&(\"none\"===e.options.fit?o+=\"\":\"shrink\"===e.options.fit?o+=\"\":\"resize\"===e.options.fit&&(o+=\"\")),e.options.shrinkText&&(o+=\"\"),o=o+(!1!==e.options._bodyProp.autoFit?\"\":\"\")+\"\"):o+=' wrap=\"square\" rtlCol=\"0\">',e._type===I.tablecell?\"\":o),0===a.h&&a.line&&a.align?i+='':\"placeholder\"===n._type?i+=\"\".concat(Yt(n,!0),\"\"):i+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\",\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace(\"\",\"\"),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&\"color\"===r||\"bullet\"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?\"\".concat(qt(t.options,!1),\"\").concat(N(t.text),\"\"):\"\",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+\"\":i+='':i+=e?'':''),i+=\"\"}),i+=n._type===I.tablecell?\"\":\"\"}function Xt(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\")}function Kt(t){return''+f+''+N((e=\"\",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file(\"_rels/.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),l.file(\"docProps/app.xml\",(e=c.slides,a=c.company,''.concat(f,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(e.length,\"\\n\\t\").concat(e.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(e.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(e.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(a,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),l.file(\"docProps/core.xml\",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\\n\\t\\n\\t\\t'.concat(N(t),\"\\n\\t\\t\").concat(N(e),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(o,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),l.file(\"ppt/_rels/presentation.xml.rels\",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id=\"rId\".concat(r),n+='')})}),n+=\"\"}(c.slides,c.fonts)),l.file(\"ppt/theme/theme1.xml\",''.concat(f,'')),l.file(\"ppt/presentation.xml\",function(t){var e=(e=''.concat(f)+''))+''+\"\";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+=\"\")+''))+''))+''),0\",t.fonts.forEach(function(t){e=(e+=\"\")+''),t.styles.forEach(function(t){e+=\"')}),e+=\"\"}),e+=\"\"),e+=\"\";for(var r=1;r<10;r++)e+=\"')+''+\"\");return e+=\"\",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=\"\"}),e+=''),e+=\"\"}(c)),l.file(\"ppt/presProps.xml\",''.concat(f,'')),l.file(\"ppt/tableStyles.xml\",''.concat(f,'')),l.file(\"ppt/viewProps.xml\",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Vt(t),\"\\n\\t\\t\")),l.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",(t=e+1,Qt(c.slideLayouts[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(t,e){var r;l.file(\"ppt/slides/slide\"+(e+1)+\".xml\",(r=t,''.concat(f)+'\")+\"\".concat(Vt(r))+\"\")),l.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",Jt(c.slides,c.slideLayouts,e+1)),l.file(\"ppt/notesSlides/notesSlide\"+(e+1)+\".xml\",Kt(t)),l.file(\"ppt/notesSlides/_rels/notesSlide\"+(e+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),l.file(\"ppt/slideMasters/slideMaster1.xml\",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join(\"\")+' ')),l.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:\"../slideLayouts/slideLayout\".concat(e+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qt(a,o))),l.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return\"STREAM\"===i.outputType?l.generateAsync({type:\"nodebuffer\",compression:i.compression?\"DEFLATE\":\"STORE\"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:\"blob\",compression:i.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},r.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,r=(\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\"),t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:t,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: \"'.concat(e.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.538Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join(\"\")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if(\"data:\"===t.substr(0,\"data:\".length))throw new Error(\"Invalid base64 input, it looks like a data url.\");var l,c=3*(t=t.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?(\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";t=\"undefined\"!=typeof Promise?Promise:t(\"lie\");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function A(t,e){for(var r=\"\",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo(\"string\",o(i.name)),p=v.transformTo(\"string\",b.utf8encode(i.name)),u=i.comment,o=v.transformTo(\"string\",o(u)),f=v.transformTo(\"string\",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h=\"\",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),\"UNIX\"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+=\"up\"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+=\"uc\"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g=\"\",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+=\"\\n\\0\")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+\"\\0\\0\\0\\0\"+A(t,4)+A(n,4)+c+h+o}}var v=t(\"../utils\"),a=t(\"../stream/GenericWorker\"),b=t(\"../utf8\"),x=t(\"../crc32\"),w=t(\"../signature\");function o(t,e,r,n){a.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"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}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),p=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo(\"nodebuffer\",t).toString(\"utf-8\");for(var e,r,n,a=t=l.transformTo(c.uint8array?\"uint8array\":\"array\",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?\"uint8array\":\"array\",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,i){\"use strict\";var s=t(\"./support\"),l=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),c=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){\"use strict\";var s,u=t(\"../utils/common\"),l=t(\"./trees\"),f=t(\"./adler32\"),d=t(\"./crc32\"),r=t(\"./messages\"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.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(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&\"function\"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v=\"prototype\";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f(\"species\"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t=\"ab\".split(t)).length&&\"a\"===t[0]&&\"b\"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=\"\"[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](\"\"),!t}):void 0;i&&s&&(\"replace\"!==r||m)&&(\"split\"!==r||g)||(o=/./[a],e=(s=e(u,a,\"\"[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&!s(r,\"name\")&&i(r,\"name\",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?\"\"+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){r=r.call(t,e);if(\"object\"!=typeof r)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return r}if(\"RegExp\"!==n(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return a.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c=\"lastIndex\",p=(a=/b*/g,s.call(n=/a/,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec(\"\")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1\"+t+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||\"​…\"!=\"​…\"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,\"String\",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t=\"[\"+s+\"]\",l=RegExp(\"^\"+t+t+\"*\"),c=RegExp(t+t+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,\"\")),t=2&e?t.replace(c,\"\"):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A=\"onreadystatechange\";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t(\"typed_array\"),s=t(\"view\"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError(\"Incompatible receiver, \"+e+\" required!\")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),\"Array\",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,\"Math\",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),\"Math\",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,\"Math\",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),\"Number\",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),\"Number\",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r=\"\";0<=--e;)\"\"===r&&0!==e&&0===i[e]||(t=String(i[e]),r=\"\"===r?t:r+d.call(\"0\",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h=\"Number.toFixed: incorrect invocation!\";n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o=\"\",i=\"0\";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E(\"Promise-chain cycle\")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit(\"unhandledRejection\",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error(\"Unhandled promise rejection\",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit(\"rejectionHandled\",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||\"\",R=p[L],F=\"process\"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(F||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,\"_h\"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),\"Reflect\",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),\"Reflect\",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,\"Reflect\",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,\"value\")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,\"value\")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)(\"match\")]=!1,h(u)!=u||h(f)==f||\"/a/i\"!=h(u,\"i\")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,\"RegExp\",h)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)(\"match\",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);\"\"===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,F=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i=\"function\"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;\"\"===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u=\"\",f=0,d=0;d>>0,p=new RegExp(t.source,s+\"g\");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?\"i\":\"\")+(r.multiline?\"m\":\"\")+(r.unicode?\"u\":\"\")+(S?\"y\":\"g\"),i=new t(S?r:\"^(?:\"+r.source+\")\",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t){return!!~a(this,t,\"includes\").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S=\"prototype\",L=m(\"_hidden\"),$=m(\"toPrimitive\"),tt={}.propertyIsEnumerable,E=d(\"symbol-registry\"),T=d(\"symbols\"),k=d(\"op-symbols\"),R=Object[S],d=\"function\"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},\"a\",{get:function(){return w(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&\"symbol\"==typeof _.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError(\"Symbol is not a constructor!\");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,\"Symbol\",{for:function(t){return c(E,t+=\"\")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+\" is not a symbol!\");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,\"Object\",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,\"Object\",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return\"[null]\"!=P([t])||\"{}\"!=P({a:t})||\"{}\"!=P(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),t=t(148),t=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(t);n(n.P+n.F*t,\"String\",{padEnd:function(t){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(t){return\"number\"==typeof t&&100\").concat(e,\"\"):\"\")}function At(t,e){var r,n,a,o=\"\",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&\"object\"==typeof a.stops&&0').concat(U(r[t],n),\"\")}),\"\".concat(a.join(\"\"),\"\")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e=\"gradient\"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case\"solid\":a+=\"\".concat(U(r,n),\"\");break;case\"gradient\":a+=\"\".concat(At(t.gradient,n),\"\");break;default:a+=\"\"}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e=\"png\");t=t.match(/\\.(\\w{3,4})(?:$|\\?)/);return t?t[1]:e}function bt(t){if(t&&\"object\"==typeof t)return\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359r?r=M(t.options.margin[0]):d.margin&&d.margin[0]&&M(d.margin[0])>r&&(r=M(d.margin[0])),t.options.margin&&t.options.margin[2]&&M(t.options.margin[2])>n?n=M(t.options.margin[2]):d.margin&&d.margin[2]&&M(d.margin[2])>n&&(n=M(d.margin[2]))):(t.options.margin&&t.options.margin[0]&&D(t.options.margin[0])>r?r=D(t.options.margin[0]):d.margin&&d.margin[0]&&D(d.margin[0])>r&&(r=D(d.margin[0])),t.options.margin&&t.options.margin[2]&&D(t.options.margin[2])>n?n=D(t.options.margin[2]):d.margin&&d.margin[2]&&D(d.margin[2])>n&&(n=D(d.margin[2])))}),m(),u+=r+n,d.verbose&&0===e&&console.log(\"| SLIDE [\".concat(h.length,\"]: emuSlideTabH ...... = \").concat((p/B).toFixed(1),\" \")),t.forEach(function(r,n){var t,a,e,o,i,s,l,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((r.options&&r.options.fontSize?r.options.fontSize:d.fontSize||C)*(q+(d.autoPageLineWeight||0))/100),text:[],options:r.options},u=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=d.autoPageCharWeight||null,d.colW[n]);r.options.colspan&&Array.isArray(d.colW)&&(u=d.colW.filter(function(t,e){return n<=e&&e \".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=\"\"),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => \".concat((u/B).toFixed(2),\" + \").concat((l._lineHeight/B).toFixed(2),\" > \").concat(p/B)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),o===f.length-1&&(u+=i),o=o \\n'),i.file(\"_rels/.rels\",'\\n'),i.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),i.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),i.file(\"xl/_rels/workbook.xml.rels\",''),i.file(\"xl/styles.xml\",'\\n'),i.file(\"xl/theme/theme1.xml\",''),i.file(\"xl/workbook.xml\",'\\n'),i.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&\"\"!==t}).length}),c+'')+\"\"):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+=\"X-Axis\":c=(c+=\"\".concat(N(t.name||\"Y-Axis\"+e),\"\"))+\"\".concat(N(\"Size\"+e),\"\")}):A.forEach(function(t){c+=\"\".concat(N((t.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&\"\"!==t}).forEach(function(t){c+=\"\".concat(N(t),\"\")})}),c+=\"\\n\",i.file(\"xl/sharedStrings.xml\",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+=\"\")+''+\"
\",i.file(\"xl/tables/table1.xml\",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+=\"\")+'')+'0',f=1;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=2,n=1;n').concat(A[n].values[e]||\"\",\"\"))+'').concat(A[n].sizes[e]||\"\",\"\"),r++;u+=\"\"})}else if(g.opts._type===b.SCATTER){u=(u+=\"\")+'');for(f=0;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:\"\",\"\");u+=\"\"})}else if(u+=\"\",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,\"\");u+=\"\";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&\"\"!==t}).length,n+=t,u+='').concat(n,\"\"))});for(var t=0;t').concat(A[t].values[r]||0,\"\");u+=\"\"}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,\"\");u+=\"\",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+\"\".concat(A.length+e+1,\"\")+\"\";for(var n=0;n').concat(A[n].values[e]||\"\",\"\");u+=\"\"})}u+='\\n',i.file(\"xl/worksheets/sheet1.xml\",u),i.generateAsync({type:\"base64\"}).then(function(t){y.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+g.globalId+\".xlsx\",t,{base64:!0}),y.file(\"ppt/charts/_rels/\"+g.fileName+\".rels\",''+'')+\"\"),y.file(\"ppt/charts/\".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+\"\",a.opts.showTitle?o=o+Ot({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ');o+=\"\",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==e.serGridLine.style?Nt(e.serGridLine):\"\"),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?\"\":\"\"+U(e.serAxisLineColor||w.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+U(e.serAxisLabelColor||_)+\"\")+' ')+\" \")+' ')+\" \")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");o=(o=(o=(o+=\" \")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):\"\"))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",a.opts.showLegend&&(o=(o+=\"\")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+=\"\")+\" \")+\" \")+(a.opts.legendFontSize?'':\"\"),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=\" \")+' ')+\" \"),o+=\"\");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+=\"\")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):\"\"))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i=\"\";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=\"\"),n===b.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+=\"\")+' ')+' ')+\" Sheet1!$\"+T(t._dataIndex+t.labels.length+1)+\"$1\")+' '+N(t.name)+\" \";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,''))+\"\":i+=\"\"+U(e)+\"\",n===b.LINE||n===b.RADAR?0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+=\"\")+''),o.dataLabelBkgrdColors&&(i+=\"\".concat(U(e),\"\")),i=(i=(i=(i+=\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\"),n!==b.LINE&&n!==b.RADAR||(i=(i+=\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+\"\")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1\")+' ',0===o.lineSize?i+=\"\":i=n===b.BAR?(i+=\"\")+' ':(i+=\" \")+' ',i=i+g(o.shadow,c)+\" \"}),i+=\"\",o.catLabelFormatCode?(i=(i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(t.labels[0].length+1)+\" \")+\" \"+(o.catLabelFormatCode||\"General\")+\"\")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"):(i=(i=(i+=\" \")+\" Sheet1!$A$2:$\"+T(t.labels.length)+\"$\"+(t.labels[0].length+1)+\" \")+'\\t ',t.labels.forEach(function(t){i+=\" \",t.forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"}),i+=\" \"),i=(i=(i=(i=i+\"\"+\" \")+\"Sheet1!$\".concat(T(t._dataIndex+t.labels.length+1),\"$2:$\").concat(T(t._dataIndex+t.labels.length+1),\"$\").concat(t.labels[0].length+1,\"\")+\" \")+\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:\"\",\"\")}),i+=\" \",n===b.LINE&&(i+=''),i+=\"\"}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+\" \",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+\"\");break;case b.SCATTER:i=(i+=\"\")+''+'',s=-1,a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(t+2)+\"$1\")+' '+N(r.name)+\" \";var n,e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,'')+\"\":i+=\"\"+U(e)+\"\",0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'',i=(i=(i+=g(o.shadow,c))+\" \"+\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!r.labels[0]||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels[0].forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+N(t)+\" \\t\",i=(\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",o.dataLabelPosition&&(i+=' '),i=(i+=' \\t ')+'\\t\\t\\t \\t\\t')}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=\" \")+' ',0===o.lineSize?i+=\"\":i=(i+=\"\")+' ',i=i+g(o.shadow,c)+\" \"}),i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i+=\" \")+\" Sheet1!$\"+T(t+2)+\"$2:$\"+T(t+2)+\"$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+''}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+(\"\");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+\"\"+'',s=-1,l=1;a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(l+1)+\"$1\")+' '+N(r.name)+\" \";t=o.chartColors[s%o.chartColors.length];\"transparent\"===t?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(t,'')+\"\":i+=\"\"+U(t)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+\"\")+'',i=i+g(o.shadow,c)+\"\",i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(a[0].values.length+1)+\"\",l++,i=(i+=\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(r.sizes.length+1)+\"\",l++,i=(i+=\" General\")+'\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i=(i+=\" \")+' '}),i=(i=(i=(i=(i+=\"\")+'')+\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+=\"\")+' '+\"\",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+N(r.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',o.dataNoEffects?i+=\"\":i+=g(o.shadow,c),i+=\" \",r.labels[0].forEach(function(t,e){i=(i=(i+=\"\")+' ')+' ')+\"\".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),\"\"),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+\" \"}),i+=\"\",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+=\"\")+' '))+' ')+\" \")+' '))+\" \"+U(o.dataLabelColor||_)+\"\")+' ')+\" \",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(n===b.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i=(i=(i=(i=(i+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i=i+\" \"+\" \")+\" \"+\" \")+' '),n===b.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function It(e,t,r){var n=\"\";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n=(n+=' ')+\" \"+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+\"\"+(' '))+(' '))+(\"none\"!==e.catGridLine.style?Nt(e.catGridLine):\"\"),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.catAxisLineShow?\"\":\"\"+U(e.catAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(e.catAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n}function Bt(t,e){var r=e===S?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"r\"===(r=e===lt?\"r\":r)||\"t\"===r,a=e===S?L:ct,o=\"\",o=(o+=\"\")+(' ')+\" \";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=\" \")+(' ')+(' '),\"none\"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.valAxisLineShow?\"\":\"\"+U(t.valAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(t.valAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?\"\":\"\",\"\")),o+=\"\"}function Ot(t,e,r){var n=\"left\"===t.titleAlign||\"right\"===t.titleAlign?''):\"\",a=t.titleRotate?''):\"\",o=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",i=!0===t.titleBold?1:0,s=\"\";return t.titlePos&&\"number\"==typeof t.titlePos.x&&\"number\"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),\"\\n\\t \\n\\t \\n\\t \".concat(a,\"\\n\\t \\n\\t \\n\\t \").concat(n,\"\\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t ').concat(N(t.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(s,'\\n\\t \\n\\t')}function T(t){t-=1;return t<=25?ut[t]:\"\".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",e=E(e,t),t=e.type||\"outer\",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+=\"')+('')+('')+(\"\")+\"\"}function Nt(t){var e=\"\";return(e+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function Dt(t){return\"object\"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return\"object\"==typeof t&&\"\"!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e(\"done\")},t.readAsDataURL(n.response)},n.onerror=function(t){r(\"ERROR! Unable to load font (xhr.onerror): \".concat(a.path))},n.open(\"GET\",a.path),n.responseType=\"blob\",n.send()})},Ut=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[],s=t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else o&&i&&0===a.path.indexOf(\"http\")?i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}),t.on(\"error\",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (https.get): \".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (xhr.onerror): \".concat(a.path))},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e(\"ERROR! Unable to load image (image.onerror): \".concat(a.path))},n.src=\"string\"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':\"\",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+=\"\".concat(j(k.background),\"\"):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+\"\"+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O(\"75%\",\"X\",k._presLayout),i=0,s=\"\";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,\"X\",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,\"Y\",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,\"X\",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,\"Y\",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,\"X\",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,\"Y\",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,\"X\",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,\"Y\",k._presLayout))),n.options.flipH&&(s+=' flipH=\"1\"'),n.options.flipV&&(s+=' flipV=\"1\"'),n.options.rotate&&(s+=' rot=\"'+z(n.options.rotate)+'\"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+=\"\";for(var h=0;h'}d+=\"\"}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/u)),d+=\"\";for(var g=0;g';d+=\"\"}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return\"\".concat(e,'=\"').concat(t,'\"')}).join(\" \"))&&\" \"+s;t._hmerge||t._vmerge?d+=\"\"):(r=t.options||{},t.options=r,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor=\"'+r.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&\"string\"==typeof t._optImp.fill?t._optImp.fill:\"\")||r.fill?r.fill:\"\")?j(n):\"\",a=0===r.margin||r.margin?r.margin:tt,o=\"\",o=1<=(a=Array.isArray(a)||\"number\"!=typeof a?a:[a,a,a,a])[0]?' marL=\"'.concat(M(a[3]),'\" marR=\"').concat(M(a[1]),'\" marT=\"').concat(M(a[0]),'\" marB=\"').concat(M(a[2]),'\"'):' marL=\"'.concat(D(a[3]),'\" marR=\"').concat(D(a[1]),'\" marT=\"').concat(D(a[0]),'\" marB=\"').concat(D(a[2]),'\"'),d+=\"\").concat(Zt(t),\"\"),r.border&&Array.isArray(r.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');\"none\"!==r.border[t.idx].type?d=(d=(d=(d+=\"'))+\"\".concat(U(r.border[t.idx].color,e),\"\"))+''))+\"\"):d+=\"\")}),d=d+n+\" \")}),d+=\"\"}),R+=d=(d=d+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+=\"\")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===n._type?Xt(n):Xt(e),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":R+='');break;case\"cubic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in t?R+=\"\":t.moveTo||0===e?R+=''):R+='')}),R+=\"\";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=\"\"}R+=n.options.fill?j(n.options.fill):\"\",n.options.line&&(R+=n.options.line.width?''):\"\",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=\"\"),n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+=\"\")+\"')+'')+'')+\"\"),R=(R+=\"\")+Zt(n)+\"\";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",L=(L=n.options.solidFill)?' \\n \\n \\n \\n '):\"\",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+\"\"+\" \")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+\" \"+' ')+(\" \"+Xt(e)+\"\"))+\" \"+\"\",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+\"\",w&&w.type?(S=w.w?O(w.w,\"X\",k._presLayout):o,v=w.h?O(w.h,\"Y\",k._presLayout):i,b=O(w.x||0,\"X\",k._presLayout),x=O(w.y||0,\"Y\",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=\" \",R=(R=(R=(R=R+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+L,E&&(R+=\"\",n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+=\"')+'')+'')+\"\"),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=\"\"),R=R+\"\"+\"\";break;case I.media:R=\"online\"===n.mtype?(R=(R=(R=(R=(R+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(R=(R=(R=(R=(R=(R+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+\"\"+\" \")+' ')+\" \")+\" \".concat(Xt(e),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:R+=\"\"}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align=\"left\"),R=R+(' \",(k._slideNumberProps.fontFace||k._slideNumberProps.fontSize||k._slideNumberProps.color)&&(R+=''),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=\"\"),R+=\"\",k._slideNumberProps.align.startsWith(\"l\")?R+='':k._slideNumberProps.align.startsWith(\"c\")?R+='':k._slideNumberProps.align.startsWith(\"r\")?R+='':R+='',R=(R+=''))+\"\".concat(k._slideNum,'')+\"\"),R=R+\"\"+\"\"}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Yt(t,e){var r,n=\"\",a=\"\",o=\"\",i=\"\",s=e?\"a:lvl1pPr\":\"a:pPr\",l=M(Z),c=\"<\".concat(s).concat(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),\"object\"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?\"number\"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r=\"&#x\".concat(t.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r=\"&#x\".concat(t.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):(c+=' marL=\"'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL=\"'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',n=\"\"),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(\"\"),i=\"\".concat(r,\"\")),c+=\">\"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=\"\"}function qt(t,e){var r,n,a,o,i=\"\",e=e?\"a:defRPr\":\"a:rPr\",i=(i=(i=(i=(i+=\"<\"+e+' lang=\"'+(t.lang||\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"))+(t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\"))+(t.hasOwnProperty(\"bold\")?' b=\"'.concat(t.bold?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"italic\")?' i=\"'.concat(t.italic?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof t.strike?t.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u=\"'.concat(t.underline.style,'\"'):\"string\"==typeof t.underline?i+=' u=\"'.concat(t.underline,'\"'):t.hyperlink&&(i+=' u=\"sng\"'),t.baseline?i+=' baseline=\"'.concat(Math.round(50*t.baseline),'\"'):t.subscript?i+=' baseline=\"-40000\"':t.superscript&&(i+=' baseline=\"30000\"'),i=i+(t.charSpacing?' spc=\"'.concat(Math.round(100*t.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(i+='').concat(j(t.outline.color||\"FFFFFF\"),\"\")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+=\"\".concat(U(t.highlight),\"\")),\"object\"==typeof t.underline&&t.underline.color&&(i+=\"\".concat(j(t.underline.color),\"\")),t.glow&&(i+=\"\".concat((r=t.glow,a=\"\",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+\"\"),\"\")),t.fontFace&&(i+=''))),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?i+='\":\"/>\"):t.hyperlink.slide&&(i+='\":\"/>\")),t.color&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return i+=\"\")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return\"\";var e,o,i=n._type===I.tablecell?\"\":\"\",s=(i+=(o=\"\",e.options.fit&&(\"none\"===e.options.fit?o+=\"\":\"shrink\"===e.options.fit?o+=\"\":\"resize\"===e.options.fit&&(o+=\"\")),e.options.shrinkText&&(o+=\"\"),o=o+(!1!==e.options._bodyProp.autoFit?\"\":\"\")+\"\"):o+=' wrap=\"square\" rtlCol=\"0\">',e._type===I.tablecell?\"\":o),0===a.h&&a.line&&a.align?i+='':\"placeholder\"===n._type?i+=\"\".concat(Yt(n,!0),\"\"):i+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\",\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace(\"\",\"\"),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&\"color\"===r||\"bullet\"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?\"\".concat(qt(t.options,!1),\"\").concat(N(t.text),\"\"):\"\",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+\"\":i+='':i+=e?'':''),i+=\"\"}),i+=n._type===I.tablecell?\"\":\"\"}function Xt(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\")}function Kt(t){return''+f+''+N((e=\"\",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file(\"_rels/.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),l.file(\"docProps/app.xml\",(e=c.slides,a=c.company,''.concat(f,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(e.length,\"\\n\\t\").concat(e.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(e.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(e.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(a,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),l.file(\"docProps/core.xml\",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\\n\\t\\n\\t\\t'.concat(N(t),\"\\n\\t\\t\").concat(N(e),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(o,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),l.file(\"ppt/_rels/presentation.xml.rels\",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id=\"rId\".concat(r),n+='')})}),n+=\"\"}(c.slides,c.fonts)),l.file(\"ppt/theme/theme1.xml\",''.concat(f,'')),l.file(\"ppt/presentation.xml\",function(t){var e=(e=''.concat(f)+''))+''+\"\";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+=\"\")+''))+''))+''),0\",t.fonts.forEach(function(t){e=(e+=\"\")+''),t.styles.forEach(function(t){e+=\"')}),e+=\"\"}),e+=\"\"),e+=\"\";for(var r=1;r<10;r++)e+=\"')+''+\"\");return e+=\"\",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=\"\"}),e+=''),e+=\"\"}(c)),l.file(\"ppt/presProps.xml\",''.concat(f,'')),l.file(\"ppt/tableStyles.xml\",''.concat(f,'')),l.file(\"ppt/viewProps.xml\",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Vt(t),\"\\n\\t\\t\")),l.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",(t=e+1,Qt(c.slideLayouts[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(t,e){var r;l.file(\"ppt/slides/slide\"+(e+1)+\".xml\",(r=t,''.concat(f)+'\")+\"\".concat(Vt(r))+\"\")),l.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",Jt(c.slides,c.slideLayouts,e+1)),l.file(\"ppt/notesSlides/notesSlide\"+(e+1)+\".xml\",Kt(t)),l.file(\"ppt/notesSlides/_rels/notesSlide\"+(e+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),l.file(\"ppt/slideMasters/slideMaster1.xml\",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join(\"\")+' ')),l.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:\"../slideLayouts/slideLayout\".concat(e+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qt(a,o))),l.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return\"STREAM\"===i.outputType?l.generateAsync({type:\"nodebuffer\",compression:i.compression?\"DEFLATE\":\"STORE\"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:\"blob\",compression:i.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},r.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,r=(\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\"),t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:t,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: \"'.concat(e.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file diff --git a/dist/pptxgen.bundle.js b/dist/pptxgen.bundle.js index bef4f35c0..9a214f088 100644 --- a/dist/pptxgen.bundle.js +++ b/dist/pptxgen.bundle.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.949Z */ +/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.538Z */ !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l="function"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join("")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var l,c=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?("string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";t="undefined"!=typeof Promise?Promise:t("lie");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function A(t,e){for(var r="",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo("string",o(i.name)),p=v.transformTo("string",b.utf8encode(i.name)),u=i.comment,o=v.transformTo("string",o(u)),f=v.transformTo("string",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h="",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),"UNIX"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+="up"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+="uc"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g="",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+="\n\0")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+"\0\0\0\0"+A(t,4)+A(n,4)+c+h+o}}var v=t("../utils"),a=t("../stream/GenericWorker"),b=t("../utf8"),x=t("../crc32"),w=t("../signature");function o(t,e,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"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}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),p=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo("nodebuffer",t).toString("utf-8");for(var e,r,n,a=t=l.transformTo(c.uint8array?"uint8array":"array",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?"uint8array":"array",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";var s=t("./support"),l=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),c=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){"use strict";var s,u=t("../utils/common"),l=t("./trees"),f=t("./adler32"),d=t("./crc32"),r=t("./messages"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.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(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&"function"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v="prototype";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f("species"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t="ab".split(t)).length&&"a"===t[0]&&"b"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=""[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](""),!t}):void 0;i&&s&&("replace"!==r||m)&&("split"!==r||g)||(o=/./[a],e=(s=e(u,a,""[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&!s(r,"name")&&i(r,"name",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?""+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){r=r.call(t,e);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c="lastIndex",p=(a=/b*/g,s.call(n=/a/,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec("")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1"+t+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||"​…"!="​…"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,"String",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t="["+s+"]",l=RegExp("^"+t+t+"*"),c=RegExp(t+t+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,"")),t=2&e?t.replace(c,""):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A="onreadystatechange";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t("typed_array"),s=t("view"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError("Incompatible receiver, "+e+" required!")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,"Math",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),"Math",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,"Math",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),"Number",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),"Number",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){"use strict";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r="";0<=--e;)""===r&&0!==e&&0===i[e]||(t=String(i[e]),r=""===r?t:r+d.call("0",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!";n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o="",i="0";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E("Promise-chain cycle")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit("unhandledRejection",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error("Unhandled promise rejection",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit("rejectionHandled",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||"",R=p[L],F="process"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(F||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,"_h"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),"Reflect",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),"Reflect",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,"Reflect",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,"value")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,"Reflect",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,"value")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)("match")]=!1,h(u)!=u||h(f)==f||"/a/i"!=h(u,"i")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,"RegExp",h)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)("match",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);""===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\$([$&`']|\d\d?|<[^>]*>)/g,F=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i="function"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;""===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u="",f=0,d=0;d>>0,p=new RegExp(t.source,s+"g");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test("")||i.push(""):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:"0"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(S?"y":"g"),i=new t(S?r:"^(?:"+r.source+")",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t){return!!~a(this,t,"includes").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S="prototype",L=m("_hidden"),$=m("toPrimitive"),tt={}.propertyIsEnumerable,E=d("symbol-registry"),T=d("symbols"),k=d("op-symbols"),R=Object[S],d="function"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&"symbol"==typeof _.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError("Symbol is not a constructor!");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,"Symbol",{for:function(t){return c(E,t+="")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+" is not a symbol!");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,"Object",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,"Object",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),t=t(148),t=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(t);n(n.P+n.F*t,"String",{padEnd:function(t){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function D(t){return"number"==typeof t&&100").concat(e,""):"")}function At(t,e){var r,n,a,o="",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&"object"==typeof a.stops&&0').concat(U(r[t],n),"")}),"".concat(a.join(""),"")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e="gradient"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case"solid":a+="".concat(U(r,n),"");break;case"gradient":a+="".concat(At(t.gradient,n),"");break;default:a+=""}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e="png");t=t.match(/\.(\w{3,4})(?:$|\?)/);return t?t[1]:e}function bt(t){if(t&&"object"==typeof t)return"outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 ".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=""),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => ".concat((u/B).toFixed(2)," + ").concat((l._lineHeight/B).toFixed(2)," > ").concat(p/B)),console.log("|-----------------------------------------------------------------------|\n\n")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:""}))),o===f.length-1&&(u+=i),o=o \n'),i.file("_rels/.rels",'\n'),i.file("docProps/app.xml",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\n'),i.file("docProps/core.xml",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+""),i.file("xl/_rels/workbook.xml.rels",''),i.file("xl/styles.xml",'\n'),i.file("xl/theme/theme1.xml",''),i.file("xl/workbook.xml",'\n'),i.file("xl/worksheets/_rels/sheet1.xml.rels",'\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&""!==t}).length}),c+'')+""):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+="X-Axis":c=(c+="".concat(N(t.name||"Y-Axis"+e),""))+"".concat(N("Size"+e),"")}):A.forEach(function(t){c+="".concat(N((t.name||" ").replace("X-Axis","X-Values")),"")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&""!==t}).forEach(function(t){c+="".concat(N(t),"")})}),c+="\n",i.file("xl/sharedStrings.xml",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+="")+''+"
",i.file("xl/tables/table1.xml",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+="")+'')+'0',f=1;f').concat(f,"");u+="",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var r=2,n=1;n').concat(A[n].values[e]||"",""))+'').concat(A[n].sizes[e]||"",""),r++;u+=""})}else if(g.opts._type===b.SCATTER){u=(u+="")+'');for(f=0;f').concat(f,"");u+="",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:"","");u+=""})}else if(u+="",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,"");u+="";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&""!==t}).length,n+=t,u+='').concat(n,""))});for(var t=0;t').concat(A[t].values[r]||0,"");u+=""}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,"");u+="",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+"".concat(A.length+e+1,"")+"";for(var n=0;n').concat(A[n].values[e]||"","");u+=""})}u+='\n',i.file("xl/worksheets/sheet1.xml",u),i.generateAsync({type:"base64"}).then(function(t){y.file("ppt/embeddings/Microsoft_Excel_Worksheet"+g.globalId+".xlsx",t,{base64:!0}),y.file("ppt/charts/_rels/"+g.fileName+".rels",''+'')+""),y.file("ppt/charts/".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+"",a.opts.showTitle?o=o+Ot({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ');o+="",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ')+' ')+' ')+" ":o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+("none"!==e.serGridLine.style?Nt(e.serGridLine):""),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?"":""+U(e.serAxisLineColor||w.color)+"")+' ')+" ")+" ")+" ")+" ")+' '))+" "+U(e.serAxisLabelColor||_)+"")+' ')+" ")+' ')+" ")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ')+" ")+' ')+" ")+'\t \t ')+'\t \t\t')+' '))+'\t\t\t\t\t\t')+'\t\t\t\t\t\t')+"\t\t \t\t")+'\t\t\t ')+"\t");o=(o=(o=(o+=" ")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):""))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),""):"")+" ")+" ",a.opts.showLegend&&(o=(o+="")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+="")+" ")+" ")+(a.opts.legendFontSize?'':""),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=" ")+' ')+" "),o+="");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+="")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):""))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),""):""))+" ")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i="";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=""),n===b.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+="")+' ')+' ')+" Sheet1!$"+T(t._dataIndex+t.labels.length+1)+"$1")+' '+N(t.name)+" ";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===e?i+="":o.chartColorsOpacity?i+=""+U(e,''))+"":i+=""+U(e)+"",n===b.LINE||n===b.RADAR?0===o.lineSize?i+="":i=(i+=''+U(e)+"")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+="")+''),o.dataLabelBkgrdColors&&(i+="".concat(U(e),"")),i=(i=(i=(i+="")+''))+"".concat(U(o.dataLabelColor||_),""))+'')+"",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+""),n!==b.LINE&&n!==b.RADAR||(i=(i+="")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=" ")+" "+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+"")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1")+' ',0===o.lineSize?i+="":i=n===b.BAR?(i+="")+' ':(i+=" ")+' ',i=i+g(o.shadow,c)+" "}),i+="",o.catLabelFormatCode?(i=(i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(t.labels[0].length+1)+" ")+" "+(o.catLabelFormatCode||"General")+"")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+""}),i+=" "):(i=(i=(i+=" ")+" Sheet1!$A$2:$"+T(t.labels.length)+"$"+(t.labels[0].length+1)+" ")+'\t ',t.labels.forEach(function(t){i+=" ",t.forEach(function(t,e){i+=''+N(t)+""}),i+=" "}),i+=" "),i=(i=(i=(i=i+""+" ")+"Sheet1!$".concat(T(t._dataIndex+t.labels.length+1),"$2:$").concat(T(t._dataIndex+t.labels.length+1),"$").concat(t.labels[0].length+1,"")+" ")+" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:"","")}),i+=" ",n===b.LINE&&(i+=''),i+=""}),i=(i=(i=(i=(i+=" ")+' ')+" ")+' ')+" "+U(o.dataLabelColor||_)+"")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+" ",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+"");break;case b.SCATTER:i=(i+="")+''+'',s=-1,a.filter(function(t,e){return 0")+' ')+" Sheet1!$"+T(t+2)+"$1")+' '+N(r.name)+" ";var n,e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+U(e,'')+"":i+=""+U(e)+"",0===o.lineSize?i+="":i=(i+=''+U(e)+"")+'',i=(i=(i+=g(o.shadow,c))+" "+"")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=" ")+" "+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt("-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),!r.labels[0]||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels[0].forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=" ")+' \t\t\t\t\t\t\t\t\t\t \t \t\t\t\t\t\t\t\t\t\t\t\t\t\t \t')+' \t\t')+" \t\t"+N(t)+" \t",i=("customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=" \t")+' \t\t \t\t ( \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+N(r.name)+" \t \t")+' \t\t \t\t, \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+N(r.name)+"] \t \t")+' \t\t \t\t) \t')+' \t')+" \t \t \t \t\t \t \t ",o.dataLabelPosition&&(i+=' '),i=(i+=' \t ')+'\t\t\t \t\t')}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+='\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t \t\t\t \t\t \t\t\t\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\t')+' '))+' ')+'\t\t\t\t\t\t\t\t\t\t\t\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=" ")+' ',0===o.lineSize?i+="":i=(i+="")+' ',i=i+g(o.shadow,c)+" "}),i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i=(i+=" ")+" Sheet1!$"+T(t+2)+"$2:$"+T(t+2)+"$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i=(i+=" ")+''}),i=(i=(i=(i=(i+=" ")+' ')+" ")+' ')+" "+U(o.dataLabelColor||_)+"")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+("");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+""+'',s=-1,l=1;a.filter(function(t,e){return 0")+' ')+" Sheet1!$"+T(l+1)+"$1")+' '+N(r.name)+" ";t=o.chartColors[s%o.chartColors.length];"transparent"===t?i+="":o.chartColorsOpacity?i+=""+U(t,'')+"":i+=""+U(t)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+"")+'',i=i+g(o.shadow,c)+"",i=(i=(i+=" ")+" Sheet1!$A$2:$A$"+(a[0].values.length+1)+" General")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i+=" ")+" Sheet1!$"+T(l+1)+"$2:$"+T(l+1)+"$"+(a[0].values.length+1)+"",l++,i=(i+=" General")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i=(i+=" ")+" Sheet1!$"+T(l+1)+"$2:$"+T(l+1)+"$"+(r.sizes.length+1)+"",l++,i=(i+=" General")+'\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i=(i+=" ")+' '}),i=(i=(i=(i=(i+="")+'')+"")+''))+"".concat(U(o.dataLabelColor||_),""))+'')+"",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+"";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+="")+' '+"",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+" ")+" "+" Sheet1!$B$1")+" "+' ')+(' '+N(r.name)+""))+" "+" ")+" "+" ")+' '+' ',o.dataNoEffects?i+="":i+=g(o.shadow,c),i+=" ",r.labels[0].forEach(function(t,e){i=(i=(i+="")+' ')+' ')+"".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),""),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+" "}),i+="",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+="")+' '))+' ')+" ")+' '))+" "+U(o.dataLabelColor||_)+"")+' ')+" ",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+"\t")+"\t "+"\t ")+"\t "+"\t\t")+('\t\t ')+'\t\t\t')+"\t\t "+"\t\t")+"\t "+"\t")+(n===b.PIE?'':""))+'\t'+'\t')+'\t'+'\t')+'\t'+'\t')+' ')+"")+""+" ")+(" Sheet1!$A$2:$A$"+(r.labels[0].length+1)+"")+" ")+('\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+""}),i=(i=(i=(i=(i+=" ")+" "+"")+" "+" ")+(" Sheet1!$B$2:$B$"+(r.labels[0].length+1)+"")+" ")+('\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i=(i=(i=i+" "+" ")+" "+" ")+' '),n===b.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function It(e,t,r){var n="";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+="":n+="",n=(n+=' ')+" "+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+""+(' '))+(' '))+("none"!==e.catGridLine.style?Nt(e.catGridLine):""),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=" ")+(' '))+(!1===e.catAxisLineShow?"":""+U(e.catAxisLineColor||w.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+U(e.catAxisLabelColor||_)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+="":n+="",n}function Bt(t,e){var r=e===S?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="r"===(r=e===lt?"r":r)||"t"===r,a=e===S?L:ct,o="",o=(o+="")+(' ')+" ";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=" ")+(' ')+(' '),"none"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=" ")+(' '))+(!1===t.valAxisLineShow?"":""+U(t.valAxisLineColor||w.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+U(t.valAxisLabelColor||_)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?"":"","")),o+=""}function Ot(t,e,r){var n="left"===t.titleAlign||"right"===t.titleAlign?''):"",a=t.titleRotate?''):"",o=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",i=!0===t.titleBold?1:0,s="";return t.titlePos&&"number"==typeof t.titlePos.x&&"number"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),"\n\t \n\t \n\t ".concat(a,"\n\t \n\t \n\t ").concat(n,"\n\t \n\t ').concat(U(t.color||_),'\n\t \n\t \n\t \n\t \n\t \n\t ').concat(U(t.color||_),'\n\t \n\t \n\t ').concat(N(t.title)||"","\n\t \n\t \n\t \n\t \n\t ").concat(s,'\n\t \n\t')}function T(t){t-=1;return t<=25?ut[t]:"".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",e=E(e,t),t=e.type||"outer",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+="')+('')+('')+("")+""}function Nt(t){var e="";return(e+=" ")+(' ')+(' ')+(' ')+" "+" "+""}function Dt(t){return"object"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return"object"==typeof t&&""!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e("done")},t.readAsDataURL(n.response)},n.onerror=function(t){r("ERROR! Unable to load font (xhr.onerror): ".concat(a.path))},n.open("GET",a.path),n.responseType="blob",n.send()})},Ut=["regular","bold","italic","boldItalic"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[],s=t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r("done")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else o&&i&&0===a.path.indexOf("http")?i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r("done")}),t.on("error",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("ERROR! Unable to load image (https.get): ".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("ERROR! Unable to load image (xhr.onerror): ".concat(a.path))},e.open("GET",a.path),e.responseType="blob",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return"done"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e("ERROR! Unable to load image (image.onerror): ".concat(a.path))},n.src="string"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':"",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+="".concat(j(k.background),""):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+""+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O("75%","X",k._presLayout),i=0,s="";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,"X",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,"Y",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,"X",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,"Y",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,"X",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,"Y",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,"X",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,"Y",k._presLayout))),n.options.flipH&&(s+=' flipH="1"'),n.options.flipV&&(s+=' flipV="1"'),n.options.rotate&&(s+=' rot="'+z(n.options.rotate)+'"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+="";for(var h=0;h'}d+=""}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round(("number"==typeof n.options.w?n.options.w:1)/u)),d+="";for(var g=0;g';d+=""}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return"".concat(e,'="').concat(t,'"')}).join(" "))&&" "+s;t._hmerge||t._vmerge?d+=""):(r=t.options||{},t.options=r,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor="'+r.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&"string"==typeof t._optImp.fill?t._optImp.fill:"")||r.fill?r.fill:"")?j(n):"",a=0===r.margin||r.margin?r.margin:tt,o="",o=1<=(a=Array.isArray(a)||"number"!=typeof a?a:[a,a,a,a])[0]?' marL="'.concat(M(a[3]),'" marR="').concat(M(a[1]),'" marT="').concat(M(a[0]),'" marB="').concat(M(a[2]),'"'):' marL="'.concat(D(a[3]),'" marR="').concat(D(a[1]),'" marT="').concat(D(a[0]),'" marB="').concat(D(a[2]),'"'),d+="").concat(Zt(t),""),r.border&&Array.isArray(r.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');"none"!==r.border[t.idx].type?d=(d=(d=(d+="'))+"".concat(U(r.border[t.idx].color,e),""))+''))+""):d+="")}),d=d+n+" ")}),d+=""}),R+=d=(d=d+" "+" ")+" "+"",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+="")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+="")+("':"/>")))+"".concat("placeholder"===n._type?Xt(n):Xt(e),"")+"")+""))+''))+''),"custGeom"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":R+='');break;case"cubic":R+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t');break;case"quadratic":R+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t')}else"close"in t?R+="":t.moveTo||0===e?R+=''):R+='')}),R+="";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=""}R+=n.options.fill?j(n.options.fill):"",n.options.line&&(R+=n.options.line.width?''):"",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=""),n.options.shadow&&"none"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+="")+"')+'')+'')+""),R=(R+="")+Zt(n)+"";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \n \n \n \n \n \n '):"",L=(L=n.options.solidFill)?' \n \n \n \n '):"",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+""+" ")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+" "+' ')+(" "+Xt(e)+""))+" "+"",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):"")+S)+(T?''):"")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):"")+S)+(T?''):"")+"",w&&w.type?(S=w.w?O(w.w,"X",k._presLayout):o,v=w.h?O(w.h,"Y",k._presLayout):i,b=O(w.x||0,"X",k._presLayout),x=O(w.y||0,"Y",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=" ",R=(R=(R=(R=R+""+"")+(" ")+(' '))+(' ')+" ")+(' ')+L,E&&(R+="",n.options.shadow&&"none"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+="')+'')+'')+""),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=""),R=R+""+"";break;case I.media:R="online"===n.mtype?(R=(R=(R=(R=(R+=" ")+'')+" ")+' ')+' ')+" ")+' ':(R=(R=(R=(R=(R=(R+=" ")+'')+' ')+' ')+' ')+' ')+" ")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+""+" ")+' ')+" ")+" ".concat(Xt(e),"")+" ")+' '))+' '+' ')+' ')+" ")+" "+"";break;default:R+=""}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align="left"),R=R+(' '),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=""),R+="",k._slideNumberProps.align.startsWith("l")?R+='':k._slideNumberProps.align.startsWith("c")?R+='':k._slideNumberProps.align.startsWith("r")?R+='':R+='',R=(R+=''))+"".concat(k._slideNum,'')+""),R=R+""+""}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Yt(t,e){var r,n="",a="",o="",i="",s=e?"a:lvl1pPr":"a:pPr",l=M(Z),c="<".concat(s).concat(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":c+=' algn="l"';break;case"right":c+=' algn="r"';break;case"center":c+=' algn="ctr"';break;case"justify":c+=' algn="just"';break;default:c+=""}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),"object"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?"number"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL="'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r="&#x".concat(t.options.bullet.characterCode,";"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),r=u.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r="&#x".concat(t.options.bullet.code,";"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),r=u.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):(c+=' marL="'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL="'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent="0" marL="0"',n=""),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(""),i="".concat(r,"")),c+=">"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=""}function qt(t,e){var r,n,a,o,i="",e=e?"a:defRPr":"a:rPr",i=(i=(i=(i=(i+="<"+e+' lang="'+(t.lang||"en-US")+'"'+(t.lang?' altLang="en-US"':""))+(t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':""))+(t.hasOwnProperty("bold")?' b="'.concat(t.bold?1:0,'"'):""))+(t.hasOwnProperty("italic")?' i="'.concat(t.italic?1:0,'"'):""))+(t.hasOwnProperty("strike")?' strike="'.concat("string"==typeof t.strike?t.strike:"sngStrike",'"'):"");if("object"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u="'.concat(t.underline.style,'"'):"string"==typeof t.underline?i+=' u="'.concat(t.underline,'"'):t.hyperlink&&(i+=' u="sng"'),t.baseline?i+=' baseline="'.concat(Math.round(50*t.baseline),'"'):t.subscript?i+=' baseline="-40000"':t.superscript&&(i+=' baseline="30000"'),i=i+(t.charSpacing?' spc="'.concat(Math.round(100*t.charSpacing),'" kern="0"'):"")+' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(i+='').concat(j(t.outline.color||"FFFFFF"),"")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+="".concat(U(t.highlight),"")),"object"==typeof t.underline&&t.underline.color&&(i+="".concat(j(t.underline.color),"")),t.glow&&(i+="".concat((r=t.glow,a="",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+""),"")),t.fontFace&&(i+=''))),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?i+='":"/>"):t.hyperlink.slide&&(i+='":"/>")),t.color&&(i+='\t\t\t\t\t\t\t\t\t')}return i+="")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return"";var e,o,i=n._type===I.tablecell?"":"",s=(i+=(o="":"resize"===e.options.fit&&(o+="")),e.options.shrinkText&&(o+=""),o=o+(!1!==e.options._bodyProp.autoFit?"":"")+""):o+=' wrap="square" rtlCol="0">',e._type===I.tablecell?"":o),0===a.h&&a.line&&a.align?i+='':"placeholder"===n._type?i+="".concat(Yt(n,!0),""):i+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1",""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace("",""),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&"color"===r||"bullet"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?"".concat(qt(t.options,!1),"").concat(N(t.text),""):"",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+"":i+='':i+=e?'':''),i+=""}),i+=n._type===I.tablecell?"":""}function Xt(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return"")}function Kt(t){return''+f+''+N((e="",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file("_rels/.rels",''.concat(f,'\n\t\t\n\t\t\n\t\t\n\t\t')),l.file("docProps/app.xml",(e=c.slides,a=c.company,''.concat(f,'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t').concat(e.length,"\n\t").concat(e.length,'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t').concat(e.length,'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t').concat(e.map(function(t,e){return"Slide "+(e+1)+"\n"}).join(""),"\n\t\t\n\t\n\t").concat(a,"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"))),l.file("docProps/core.xml",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\n\t\n\t\t'.concat(N(t),"\n\t\t").concat(N(e),"\n\t\t").concat(N(a),"\n\t\t").concat(N(a),"\n\t\t").concat(o,'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),"\n\t"))),l.file("ppt/_rels/presentation.xml.rels",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id="rId".concat(r),n+='')})}),n+=""}(c.slides,c.fonts)),l.file("ppt/theme/theme1.xml",''.concat(f,'')),l.file("ppt/presentation.xml",function(t){var e=(e=''.concat(f)+''))+''+"";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+="")+''))+''))+''),0",t.fonts.forEach(function(t){e=(e+="")+''),t.styles.forEach(function(t){e+="')}),e+=""}),e+=""),e+="";for(var r=1;r<10;r++)e+="')+''+"");return e+="",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=""}),e+=''),e+=""}(c)),l.file("ppt/presProps.xml",''.concat(f,'')),l.file("ppt/tableStyles.xml",''.concat(f,'')),l.file("ppt/viewProps.xml",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",'\n\t\t\n\t\t'.concat(Vt(t),"\n\t\t")),l.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",(t=e+1,Qt(c.slideLayouts[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])))}),c.slides.forEach(function(t,e){var r;l.file("ppt/slides/slide"+(e+1)+".xml",(r=t,''.concat(f)+'")+"".concat(Vt(r))+"")),l.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",Jt(c.slides,c.slideLayouts,e+1)),l.file("ppt/notesSlides/notesSlide"+(e+1)+".xml",Kt(t)),l.file("ppt/notesSlides/_rels/notesSlide"+(e+1)+".xml.rels",'\n\t\t\n\t\t\t\n\t\t\t\n\t\t'))}),l.file("ppt/slideMasters/slideMaster1.xml",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join("")+' ')),l.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:"../slideLayouts/slideLayout".concat(e+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}})).push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Qt(a,o))),l.file("ppt/notesMasters/notesMaster1.xml",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''.concat(f,'\n\t\t\n\t\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return"STREAM"===i.outputType?l.generateAsync({type:"nodebuffer",compression:i.compression?"DEFLATE":"STORE"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:"blob",compression:i.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fonts",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:t,outputType:"STREAM"})},r.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,r=("string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),"object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:""),t=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:t,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle,'"')):!(this.sections&&0 opts.y = ").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}(); //# sourceMappingURL=pptxgen.bundle.js.map diff --git a/dist/pptxgen.bundle.js.map b/dist/pptxgen.bundle.js.map index 29372f194..15894a829 100644 --- a/dist/pptxgen.bundle.js.map +++ b/dist/pptxgen.bundle.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.949Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join(\"\")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if(\"data:\"===t.substr(0,\"data:\".length))throw new Error(\"Invalid base64 input, it looks like a data url.\");var l,c=3*(t=t.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?(\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";t=\"undefined\"!=typeof Promise?Promise:t(\"lie\");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function A(t,e){for(var r=\"\",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo(\"string\",o(i.name)),p=v.transformTo(\"string\",b.utf8encode(i.name)),u=i.comment,o=v.transformTo(\"string\",o(u)),f=v.transformTo(\"string\",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h=\"\",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),\"UNIX\"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+=\"up\"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+=\"uc\"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g=\"\",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+=\"\\n\\0\")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+\"\\0\\0\\0\\0\"+A(t,4)+A(n,4)+c+h+o}}var v=t(\"../utils\"),a=t(\"../stream/GenericWorker\"),b=t(\"../utf8\"),x=t(\"../crc32\"),w=t(\"../signature\");function o(t,e,r,n){a.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"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}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),p=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo(\"nodebuffer\",t).toString(\"utf-8\");for(var e,r,n,a=t=l.transformTo(c.uint8array?\"uint8array\":\"array\",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?\"uint8array\":\"array\",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,i){\"use strict\";var s=t(\"./support\"),l=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),c=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){\"use strict\";var s,u=t(\"../utils/common\"),l=t(\"./trees\"),f=t(\"./adler32\"),d=t(\"./crc32\"),r=t(\"./messages\"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.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(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&\"function\"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v=\"prototype\";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f(\"species\"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t=\"ab\".split(t)).length&&\"a\"===t[0]&&\"b\"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=\"\"[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](\"\"),!t}):void 0;i&&s&&(\"replace\"!==r||m)&&(\"split\"!==r||g)||(o=/./[a],e=(s=e(u,a,\"\"[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&!s(r,\"name\")&&i(r,\"name\",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?\"\"+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){r=r.call(t,e);if(\"object\"!=typeof r)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return r}if(\"RegExp\"!==n(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return a.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c=\"lastIndex\",p=(a=/b*/g,s.call(n=/a/,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec(\"\")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1\"+t+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||\"​…\"!=\"​…\"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,\"String\",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t=\"[\"+s+\"]\",l=RegExp(\"^\"+t+t+\"*\"),c=RegExp(t+t+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,\"\")),t=2&e?t.replace(c,\"\"):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A=\"onreadystatechange\";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t(\"typed_array\"),s=t(\"view\"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError(\"Incompatible receiver, \"+e+\" required!\")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),\"Array\",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,\"Math\",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),\"Math\",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,\"Math\",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),\"Number\",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),\"Number\",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r=\"\";0<=--e;)\"\"===r&&0!==e&&0===i[e]||(t=String(i[e]),r=\"\"===r?t:r+d.call(\"0\",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h=\"Number.toFixed: incorrect invocation!\";n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o=\"\",i=\"0\";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E(\"Promise-chain cycle\")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit(\"unhandledRejection\",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error(\"Unhandled promise rejection\",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit(\"rejectionHandled\",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||\"\",R=p[L],F=\"process\"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(F||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,\"_h\"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),\"Reflect\",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),\"Reflect\",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,\"Reflect\",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,\"value\")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,\"value\")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)(\"match\")]=!1,h(u)!=u||h(f)==f||\"/a/i\"!=h(u,\"i\")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,\"RegExp\",h)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)(\"match\",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);\"\"===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,F=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i=\"function\"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;\"\"===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u=\"\",f=0,d=0;d>>0,p=new RegExp(t.source,s+\"g\");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?\"i\":\"\")+(r.multiline?\"m\":\"\")+(r.unicode?\"u\":\"\")+(S?\"y\":\"g\"),i=new t(S?r:\"^(?:\"+r.source+\")\",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t){return!!~a(this,t,\"includes\").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S=\"prototype\",L=m(\"_hidden\"),$=m(\"toPrimitive\"),tt={}.propertyIsEnumerable,E=d(\"symbol-registry\"),T=d(\"symbols\"),k=d(\"op-symbols\"),R=Object[S],d=\"function\"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},\"a\",{get:function(){return w(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&\"symbol\"==typeof _.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError(\"Symbol is not a constructor!\");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,\"Symbol\",{for:function(t){return c(E,t+=\"\")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+\" is not a symbol!\");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,\"Object\",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,\"Object\",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return\"[null]\"!=P([t])||\"{}\"!=P({a:t})||\"{}\"!=P(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),t=t(148),t=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(t);n(n.P+n.F*t,\"String\",{padEnd:function(t){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(t){return\"number\"==typeof t&&100\").concat(e,\"\"):\"\")}function At(t,e){var r,n,a,o=\"\",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&\"object\"==typeof a.stops&&0').concat(U(r[t],n),\"\")}),\"\".concat(a.join(\"\"),\"\")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e=\"gradient\"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case\"solid\":a+=\"\".concat(U(r,n),\"\");break;case\"gradient\":a+=\"\".concat(At(t.gradient,n),\"\");break;default:a+=\"\"}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e=\"png\");t=t.match(/\\.(\\w{3,4})(?:$|\\?)/);return t?t[1]:e}function bt(t){if(t&&\"object\"==typeof t)return\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359r?r=M(t.options.margin[0]):d.margin&&d.margin[0]&&M(d.margin[0])>r&&(r=M(d.margin[0])),t.options.margin&&t.options.margin[2]&&M(t.options.margin[2])>n?n=M(t.options.margin[2]):d.margin&&d.margin[2]&&M(d.margin[2])>n&&(n=M(d.margin[2]))):(t.options.margin&&t.options.margin[0]&&D(t.options.margin[0])>r?r=D(t.options.margin[0]):d.margin&&d.margin[0]&&D(d.margin[0])>r&&(r=D(d.margin[0])),t.options.margin&&t.options.margin[2]&&D(t.options.margin[2])>n?n=D(t.options.margin[2]):d.margin&&d.margin[2]&&D(d.margin[2])>n&&(n=D(d.margin[2])))}),m(),u+=r+n,d.verbose&&0===e&&console.log(\"| SLIDE [\".concat(h.length,\"]: emuSlideTabH ...... = \").concat((p/B).toFixed(1),\" \")),t.forEach(function(r,n){var t,a,e,o,i,s,l,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((r.options&&r.options.fontSize?r.options.fontSize:d.fontSize||C)*(q+(d.autoPageLineWeight||0))/100),text:[],options:r.options},u=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=d.autoPageCharWeight||null,d.colW[n]);r.options.colspan&&Array.isArray(d.colW)&&(u=d.colW.filter(function(t,e){return n<=e&&e \".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=\"\"),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => \".concat((u/B).toFixed(2),\" + \").concat((l._lineHeight/B).toFixed(2),\" > \").concat(p/B)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),o===f.length-1&&(u+=i),o=o \\n'),i.file(\"_rels/.rels\",'\\n'),i.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),i.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),i.file(\"xl/_rels/workbook.xml.rels\",''),i.file(\"xl/styles.xml\",'\\n'),i.file(\"xl/theme/theme1.xml\",''),i.file(\"xl/workbook.xml\",'\\n'),i.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&\"\"!==t}).length}),c+'')+\"\"):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+=\"X-Axis\":c=(c+=\"\".concat(N(t.name||\"Y-Axis\"+e),\"\"))+\"\".concat(N(\"Size\"+e),\"\")}):A.forEach(function(t){c+=\"\".concat(N((t.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&\"\"!==t}).forEach(function(t){c+=\"\".concat(N(t),\"\")})}),c+=\"\\n\",i.file(\"xl/sharedStrings.xml\",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+=\"\")+''+\"
\",i.file(\"xl/tables/table1.xml\",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+=\"\")+'')+'0',f=1;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=2,n=1;n').concat(A[n].values[e]||\"\",\"\"))+'').concat(A[n].sizes[e]||\"\",\"\"),r++;u+=\"\"})}else if(g.opts._type===b.SCATTER){u=(u+=\"\")+'');for(f=0;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:\"\",\"\");u+=\"\"})}else if(u+=\"\",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,\"\");u+=\"\";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&\"\"!==t}).length,n+=t,u+='').concat(n,\"\"))});for(var t=0;t').concat(A[t].values[r]||0,\"\");u+=\"\"}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,\"\");u+=\"\",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+\"\".concat(A.length+e+1,\"\")+\"\";for(var n=0;n').concat(A[n].values[e]||\"\",\"\");u+=\"\"})}u+='\\n',i.file(\"xl/worksheets/sheet1.xml\",u),i.generateAsync({type:\"base64\"}).then(function(t){y.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+g.globalId+\".xlsx\",t,{base64:!0}),y.file(\"ppt/charts/_rels/\"+g.fileName+\".rels\",''+'')+\"\"),y.file(\"ppt/charts/\".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+\"\",a.opts.showTitle?o=o+Ot({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ');o+=\"\",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==e.serGridLine.style?Nt(e.serGridLine):\"\"),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?\"\":\"\"+U(e.serAxisLineColor||w.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+U(e.serAxisLabelColor||_)+\"\")+' ')+\" \")+' ')+\" \")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");o=(o=(o=(o+=\" \")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):\"\"))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",a.opts.showLegend&&(o=(o+=\"\")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+=\"\")+\" \")+\" \")+(a.opts.legendFontSize?'':\"\"),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=\" \")+' ')+\" \"),o+=\"\");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+=\"\")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):\"\"))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i=\"\";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=\"\"),n===b.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+=\"\")+' ')+' ')+\" Sheet1!$\"+T(t._dataIndex+t.labels.length+1)+\"$1\")+' '+N(t.name)+\" \";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,''))+\"\":i+=\"\"+U(e)+\"\",n===b.LINE||n===b.RADAR?0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+=\"\")+''),o.dataLabelBkgrdColors&&(i+=\"\".concat(U(e),\"\")),i=(i=(i=(i+=\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\"),n!==b.LINE&&n!==b.RADAR||(i=(i+=\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+\"\")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1\")+' ',0===o.lineSize?i+=\"\":i=n===b.BAR?(i+=\"\")+' ':(i+=\" \")+' ',i=i+g(o.shadow,c)+\" \"}),i+=\"\",o.catLabelFormatCode?(i=(i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(t.labels[0].length+1)+\" \")+\" \"+(o.catLabelFormatCode||\"General\")+\"\")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"):(i=(i=(i+=\" \")+\" Sheet1!$A$2:$\"+T(t.labels.length)+\"$\"+(t.labels[0].length+1)+\" \")+'\\t ',t.labels.forEach(function(t){i+=\" \",t.forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"}),i+=\" \"),i=(i=(i=(i=i+\"\"+\" \")+\"Sheet1!$\".concat(T(t._dataIndex+t.labels.length+1),\"$2:$\").concat(T(t._dataIndex+t.labels.length+1),\"$\").concat(t.labels[0].length+1,\"\")+\" \")+\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:\"\",\"\")}),i+=\" \",n===b.LINE&&(i+=''),i+=\"\"}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+\" \",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+\"\");break;case b.SCATTER:i=(i+=\"\")+''+'',s=-1,a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(t+2)+\"$1\")+' '+N(r.name)+\" \";var n,e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,'')+\"\":i+=\"\"+U(e)+\"\",0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'',i=(i=(i+=g(o.shadow,c))+\" \"+\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!r.labels[0]||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels[0].forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+N(t)+\" \\t\",i=(\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",o.dataLabelPosition&&(i+=' '),i=(i+=' \\t ')+'\\t\\t\\t \\t\\t')}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=\" \")+' ',0===o.lineSize?i+=\"\":i=(i+=\"\")+' ',i=i+g(o.shadow,c)+\" \"}),i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i+=\" \")+\" Sheet1!$\"+T(t+2)+\"$2:$\"+T(t+2)+\"$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+''}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+(\"\");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+\"\"+'',s=-1,l=1;a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(l+1)+\"$1\")+' '+N(r.name)+\" \";t=o.chartColors[s%o.chartColors.length];\"transparent\"===t?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(t,'')+\"\":i+=\"\"+U(t)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+\"\")+'',i=i+g(o.shadow,c)+\"\",i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(a[0].values.length+1)+\"\",l++,i=(i+=\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(r.sizes.length+1)+\"\",l++,i=(i+=\" General\")+'\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i=(i+=\" \")+' '}),i=(i=(i=(i=(i+=\"\")+'')+\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+=\"\")+' '+\"\",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+N(r.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',o.dataNoEffects?i+=\"\":i+=g(o.shadow,c),i+=\" \",r.labels[0].forEach(function(t,e){i=(i=(i+=\"\")+' ')+' ')+\"\".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),\"\"),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+\" \"}),i+=\"\",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+=\"\")+' '))+' ')+\" \")+' '))+\" \"+U(o.dataLabelColor||_)+\"\")+' ')+\" \",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(n===b.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i=(i=(i=(i=(i+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i=i+\" \"+\" \")+\" \"+\" \")+' '),n===b.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function It(e,t,r){var n=\"\";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n=(n+=' ')+\" \"+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+\"\"+(' '))+(' '))+(\"none\"!==e.catGridLine.style?Nt(e.catGridLine):\"\"),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.catAxisLineShow?\"\":\"\"+U(e.catAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(e.catAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n}function Bt(t,e){var r=e===S?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"r\"===(r=e===lt?\"r\":r)||\"t\"===r,a=e===S?L:ct,o=\"\",o=(o+=\"\")+(' ')+\" \";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=\" \")+(' ')+(' '),\"none\"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.valAxisLineShow?\"\":\"\"+U(t.valAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(t.valAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?\"\":\"\",\"\")),o+=\"\"}function Ot(t,e,r){var n=\"left\"===t.titleAlign||\"right\"===t.titleAlign?''):\"\",a=t.titleRotate?''):\"\",o=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",i=!0===t.titleBold?1:0,s=\"\";return t.titlePos&&\"number\"==typeof t.titlePos.x&&\"number\"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),\"\\n\\t \\n\\t \\n\\t \".concat(a,\"\\n\\t \\n\\t \\n\\t \").concat(n,\"\\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t ').concat(N(t.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(s,'\\n\\t \\n\\t')}function T(t){t-=1;return t<=25?ut[t]:\"\".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",e=E(e,t),t=e.type||\"outer\",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+=\"')+('')+('')+(\"\")+\"\"}function Nt(t){var e=\"\";return(e+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function Dt(t){return\"object\"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return\"object\"==typeof t&&\"\"!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e(\"done\")},t.readAsDataURL(n.response)},n.onerror=function(t){r(\"ERROR! Unable to load font (xhr.onerror): \".concat(a.path))},n.open(\"GET\",a.path),n.responseType=\"blob\",n.send()})},Ut=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[],s=t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else o&&i&&0===a.path.indexOf(\"http\")?i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}),t.on(\"error\",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (https.get): \".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (xhr.onerror): \".concat(a.path))},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e(\"ERROR! Unable to load image (image.onerror): \".concat(a.path))},n.src=\"string\"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':\"\",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+=\"\".concat(j(k.background),\"\"):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+\"\"+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O(\"75%\",\"X\",k._presLayout),i=0,s=\"\";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,\"X\",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,\"Y\",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,\"X\",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,\"Y\",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,\"X\",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,\"Y\",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,\"X\",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,\"Y\",k._presLayout))),n.options.flipH&&(s+=' flipH=\"1\"'),n.options.flipV&&(s+=' flipV=\"1\"'),n.options.rotate&&(s+=' rot=\"'+z(n.options.rotate)+'\"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+=\"\";for(var h=0;h'}d+=\"\"}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/u)),d+=\"\";for(var g=0;g';d+=\"\"}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return\"\".concat(e,'=\"').concat(t,'\"')}).join(\" \"))&&\" \"+s;t._hmerge||t._vmerge?d+=\"\"):(r=t.options||{},t.options=r,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor=\"'+r.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&\"string\"==typeof t._optImp.fill?t._optImp.fill:\"\")||r.fill?r.fill:\"\")?j(n):\"\",a=0===r.margin||r.margin?r.margin:tt,o=\"\",o=1<=(a=Array.isArray(a)||\"number\"!=typeof a?a:[a,a,a,a])[0]?' marL=\"'.concat(M(a[3]),'\" marR=\"').concat(M(a[1]),'\" marT=\"').concat(M(a[0]),'\" marB=\"').concat(M(a[2]),'\"'):' marL=\"'.concat(D(a[3]),'\" marR=\"').concat(D(a[1]),'\" marT=\"').concat(D(a[0]),'\" marB=\"').concat(D(a[2]),'\"'),d+=\"\").concat(Zt(t),\"\"),r.border&&Array.isArray(r.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');\"none\"!==r.border[t.idx].type?d=(d=(d=(d+=\"'))+\"\".concat(U(r.border[t.idx].color,e),\"\"))+''))+\"\"):d+=\"\")}),d=d+n+\" \")}),d+=\"\"}),R+=d=(d=d+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+=\"\")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===n._type?Xt(n):Xt(e),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":R+='');break;case\"cubic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in t?R+=\"\":t.moveTo||0===e?R+=''):R+='')}),R+=\"\";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=\"\"}R+=n.options.fill?j(n.options.fill):\"\",n.options.line&&(R+=n.options.line.width?''):\"\",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=\"\"),n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+=\"\")+\"')+'')+'')+\"\"),R=(R+=\"\")+Zt(n)+\"\";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",L=(L=n.options.solidFill)?' \\n \\n \\n \\n '):\"\",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+\"\"+\" \")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+\" \"+' ')+(\" \"+Xt(e)+\"\"))+\" \"+\"\",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+\"\",w&&w.type?(S=w.w?O(w.w,\"X\",k._presLayout):o,v=w.h?O(w.h,\"Y\",k._presLayout):i,b=O(w.x||0,\"X\",k._presLayout),x=O(w.y||0,\"Y\",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=\" \",R=(R=(R=(R=R+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+L,E&&(R+=\"\",n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+=\"')+'')+'')+\"\"),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=\"\"),R=R+\"\"+\"\";break;case I.media:R=\"online\"===n.mtype?(R=(R=(R=(R=(R+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(R=(R=(R=(R=(R=(R+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+\"\"+\" \")+' ')+\" \")+\" \".concat(Xt(e),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:R+=\"\"}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align=\"left\"),R=R+(' \",(k._slideNumberProps.fontFace||k._slideNumberProps.fontSize||k._slideNumberProps.color)&&(R+=''),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=\"\"),R+=\"\",k._slideNumberProps.align.startsWith(\"l\")?R+='':k._slideNumberProps.align.startsWith(\"c\")?R+='':k._slideNumberProps.align.startsWith(\"r\")?R+='':R+='',R=(R+=''))+\"\".concat(k._slideNum,'')+\"\"),R=R+\"\"+\"\"}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Yt(t,e){var r,n=\"\",a=\"\",o=\"\",i=\"\",s=e?\"a:lvl1pPr\":\"a:pPr\",l=M(Z),c=\"<\".concat(s).concat(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),\"object\"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?\"number\"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r=\"&#x\".concat(t.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r=\"&#x\".concat(t.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):(c+=' marL=\"'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL=\"'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',n=\"\"),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(\"\"),i=\"\".concat(r,\"\")),c+=\">\"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=\"\"}function qt(t,e){var r,n,a,o,i=\"\",e=e?\"a:defRPr\":\"a:rPr\",i=(i=(i=(i=(i+=\"<\"+e+' lang=\"'+(t.lang||\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"))+(t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\"))+(t.hasOwnProperty(\"bold\")?' b=\"'.concat(t.bold?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"italic\")?' i=\"'.concat(t.italic?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof t.strike?t.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u=\"'.concat(t.underline.style,'\"'):\"string\"==typeof t.underline?i+=' u=\"'.concat(t.underline,'\"'):t.hyperlink&&(i+=' u=\"sng\"'),t.baseline?i+=' baseline=\"'.concat(Math.round(50*t.baseline),'\"'):t.subscript?i+=' baseline=\"-40000\"':t.superscript&&(i+=' baseline=\"30000\"'),i=i+(t.charSpacing?' spc=\"'.concat(Math.round(100*t.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(i+='').concat(j(t.outline.color||\"FFFFFF\"),\"\")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+=\"\".concat(U(t.highlight),\"\")),\"object\"==typeof t.underline&&t.underline.color&&(i+=\"\".concat(j(t.underline.color),\"\")),t.glow&&(i+=\"\".concat((r=t.glow,a=\"\",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+\"\"),\"\")),t.fontFace&&(i+=''))),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?i+='\":\"/>\"):t.hyperlink.slide&&(i+='\":\"/>\")),t.color&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return i+=\"\")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return\"\";var e,o,i=n._type===I.tablecell?\"\":\"\",s=(i+=(o=\"\",e.options.fit&&(\"none\"===e.options.fit?o+=\"\":\"shrink\"===e.options.fit?o+=\"\":\"resize\"===e.options.fit&&(o+=\"\")),e.options.shrinkText&&(o+=\"\"),o=o+(!1!==e.options._bodyProp.autoFit?\"\":\"\")+\"\"):o+=' wrap=\"square\" rtlCol=\"0\">',e._type===I.tablecell?\"\":o),0===a.h&&a.line&&a.align?i+='':\"placeholder\"===n._type?i+=\"\".concat(Yt(n,!0),\"\"):i+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\",\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace(\"\",\"\"),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&\"color\"===r||\"bullet\"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?\"\".concat(qt(t.options,!1),\"\").concat(N(t.text),\"\"):\"\",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+\"\":i+='':i+=e?'':''),i+=\"\"}),i+=n._type===I.tablecell?\"\":\"\"}function Xt(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\")}function Kt(t){return''+f+''+N((e=\"\",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file(\"_rels/.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),l.file(\"docProps/app.xml\",(e=c.slides,a=c.company,''.concat(f,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(e.length,\"\\n\\t\").concat(e.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(e.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(e.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(a,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),l.file(\"docProps/core.xml\",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\\n\\t\\n\\t\\t'.concat(N(t),\"\\n\\t\\t\").concat(N(e),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(o,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),l.file(\"ppt/_rels/presentation.xml.rels\",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id=\"rId\".concat(r),n+='')})}),n+=\"\"}(c.slides,c.fonts)),l.file(\"ppt/theme/theme1.xml\",''.concat(f,'')),l.file(\"ppt/presentation.xml\",function(t){var e=(e=''.concat(f)+''))+''+\"\";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+=\"\")+''))+''))+''),0\",t.fonts.forEach(function(t){e=(e+=\"\")+''),t.styles.forEach(function(t){e+=\"')}),e+=\"\"}),e+=\"\"),e+=\"\";for(var r=1;r<10;r++)e+=\"')+''+\"\");return e+=\"\",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=\"\"}),e+=''),e+=\"\"}(c)),l.file(\"ppt/presProps.xml\",''.concat(f,'')),l.file(\"ppt/tableStyles.xml\",''.concat(f,'')),l.file(\"ppt/viewProps.xml\",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Vt(t),\"\\n\\t\\t\")),l.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",(t=e+1,Qt(c.slideLayouts[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(t,e){var r;l.file(\"ppt/slides/slide\"+(e+1)+\".xml\",(r=t,''.concat(f)+'\")+\"\".concat(Vt(r))+\"\")),l.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",Jt(c.slides,c.slideLayouts,e+1)),l.file(\"ppt/notesSlides/notesSlide\"+(e+1)+\".xml\",Kt(t)),l.file(\"ppt/notesSlides/_rels/notesSlide\"+(e+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),l.file(\"ppt/slideMasters/slideMaster1.xml\",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join(\"\")+' ')),l.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:\"../slideLayouts/slideLayout\".concat(e+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qt(a,o))),l.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return\"STREAM\"===i.outputType?l.generateAsync({type:\"nodebuffer\",compression:i.compression?\"DEFLATE\":\"STORE\"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:\"blob\",compression:i.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},r.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,r=(\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\"),t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:t,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: \"'.concat(e.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.538Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+f.charAt(a)+f.charAt(o)+f.charAt(i));return s.join(\"\")},r.decode=function(t){var e,r,n,a,o,i=0,s=0;if(\"data:\"===t.substr(0,\"data:\".length))throw new Error(\"Invalid base64 input, it looks like a data url.\");var l,c=3*(t=t.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\")).length/4;if(t.charAt(t.length-1)===f.charAt(64)&&c--,t.charAt(t.length-2)===f.charAt(64)&&c--,c%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");for(l=new(p.uint8array?Uint8Array:Array)(0|c);i>4,r=(15&a)<<4|(a=f.indexOf(t.charAt(i++)))>>2,n=(3&a)<<6|(o=f.indexOf(t.charAt(i++))),l[s++]=e,64!==a&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?(\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";t=\"undefined\"!=typeof Promise?Promise:t(\"lie\");e.exports={Promise:t}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function A(t,e){for(var r=\"\",n=0;n>>=8;return r}function n(t,e,r,n,a,o){var i=t.file,s=t.compression,l=o!==b.utf8encode,c=v.transformTo(\"string\",o(i.name)),p=v.transformTo(\"string\",b.utf8encode(i.name)),u=i.comment,o=v.transformTo(\"string\",o(u)),f=v.transformTo(\"string\",b.utf8encode(u)),d=p.length!==i.name.length,u=f.length!==u.length,h=\"\",m=i.dir,g=i.date,y={crc32:0,compressedSize:0,uncompressedSize:0},r=(e&&!r||(y.crc32=t.crc32,y.compressedSize=t.compressedSize,y.uncompressedSize=t.uncompressedSize),0);e&&(r|=8),l||!d&&!u||(r|=2048);t=0,e=0,m&&(t|=16),\"UNIX\"===a?(e=798,t|=(65535&(l=(l=i.unixPermissions)?l:m?16893:33204))<<16):(e=20,t|=63&(i.dosPermissions||0)),a=g.getUTCHours(),a=(a=((a<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,m=g.getUTCFullYear()-1980,m=(m=((m<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),d&&(h+=\"up\"+A((l=A(1,1)+A(x(c),4)+p).length,2)+l),u&&(h+=\"uc\"+A((i=A(1,1)+A(x(o),4)+f).length,2)+i),g=\"\",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+=\"\\n\\0\")+A(r,2))+s.magic)+A(a,2))+A(m,2))+A(y.crc32,4))+A(y.compressedSize,4))+A(y.uncompressedSize,4))+A(c.length,2))+A(h.length,2);return{fileRecord:w.LOCAL_FILE_HEADER+g+c+h,dirRecord:w.CENTRAL_FILE_HEADER+A(e,2)+g+A(o.length,2)+\"\\0\\0\\0\\0\"+A(t,4)+A(n,4)+c+h+o}}var v=t(\"../utils\"),a=t(\"../stream/GenericWorker\"),b=t(\"../utf8\"),x=t(\"../crc32\"),w=t(\"../signature\");function o(t,e,r,n){a.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}v.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:w.DATA_DESCRIPTOR+A((e=t).crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"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}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),p=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return p.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,a=0,o=0;o>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},a.utf8decode=function(t){if(c.nodebuffer)return l.transformTo(\"nodebuffer\",t).toString(\"utf-8\");for(var e,r,n,a=t=l.transformTo(c.uint8array?\"uint8array\":\"array\",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&r)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),l.applyFromCharCode(i)},l.inherits(o,r),o.prototype.processChunk=function(t){var e=l.transformTo(c.uint8array?\"uint8array\":\"array\",t.data),r=(this.leftOver&&this.leftOver.length&&(c.uint8array?(r=e,(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+u[t[r]]>e?r:e}(e)),n=e;r!==e.length&&(c.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:a.utf8decode(n),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,l.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,i){\"use strict\";var s=t(\"./support\"),l=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),c=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return p(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,i[r++]=56320|1023&n)}return p(i,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,N,e){\"use strict\";var s,u=t(\"../utils/common\"),l=t(\"./trees\"),f=t(\"./adler32\"),d=t(\"./crc32\"),r=t(\"./messages\"),c=0,p=0,h=-2,n=2,m=8,a=286,o=30,i=19,D=2*a+1,M=15,g=3,y=258,A=y+g+1,v=42,b=113;function x(t,e){return t.msg=r[e],e}function w(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function P(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function S(t,e){t.pending_buf[t.pending++]=e}function L(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function E(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,c=t.window,p=t.w_mask,u=t.prev,f=t.strstart+y,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){for(o+=2,r++;c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function T(t){var e,r,n,a,o,i,s,l,c,p=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(u.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);l+=p}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,c=void 0,r=0===(c=(l=l)<(c=o.avail_in)?l:c)?0:(o.avail_in-=c,u.arraySet(i,o.input,o.next_in,c,s),1===o.state.wrap?o.adler=f(o.adler,i,c,s):2===o.state.wrap&&(o.adler=d(o.adler,i,c,s)),o.next_in+=c,o.total_in+=c,c),t.lookahead+=r,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===c)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,P(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-A&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,k),new F(4,5,16,8,k),new F(4,6,32,32,k),new F(4,4,16,16,R),new F(8,16,32,32,R),new F(8,16,128,128,R),new F(8,32,128,256,R),new F(32,128,258,1024,R),new F(32,258,258,4096,R)],e.deflateInit=function(t,e){return O(t,e,m,15,8,0)},e.deflateInit2=O,e.deflateReset=B,e.deflateResetKeep=I,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?h:(t.state.gzhead=e,p)},e.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),S(n,n.gzhead.time>>16&255),S(n,n.gzhead.time>>24&255),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(S(n,255&n.gzhead.extra.length),S(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=d(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(S(n,0),S(n,0),S(n,0),S(n,0),S(n,0),S(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),S(n,3),n.status=b)):(i=m+(n.w_bits-8<<4)<<8,i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=b,L(n,i),0!==n.strstart&&(L(n,t.adler>>>16),L(n,65535&t.adler)),t.adler=1)),69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending!==n.pending_buf_size));)S(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),C(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}}while(o=n.gzindexa&&(t.adler=d(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&C(t),n.pending+2<=n.pending_buf_size&&(S(n,255&t.adler),S(n,t.adler>>8&255),t.adler=0,n.status=b)):n.status=b),0!==n.pending){if(C(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&w(e)<=w(r)&&4!==e)return x(t,-5);if(666===n.status&&0!==t.avail_in)return x(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==c&&666!==n.status){var i=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===c)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=y){if(T(t),t.lookahead<=y&&e===c)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(r=l._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(P(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(P(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?1:2}(n,e):s[n.level].func(n,e);if(3!==i&&4!==i||(n.status=666),1===i||3===i)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===i&&(1===e?l._tr_align(n):5!==e&&(l._tr_stored_block(n,0,0,!1),3===e&&(_(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),C(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(S(n,255&t.adler),S(n,t.adler>>8&255),S(n,t.adler>>16&255),S(n,t.adler>>24&255),S(n,255&t.total_in),S(n,t.total_in>>8&255),S(n,t.total_in>>16&255),S(n,t.total_in>>24&255)):(L(n,t.adler>>>16),L(n,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),l=t.avail_in,i=t.next_in,s=t.input,t.avail_in=c,t.next_in=0,t.input=e,T(r);r.lookahead>=g;){for(n=r.strstart,a=r.lookahead-(g-1);r.ins_h=(r.ins_h<>>=n=r>>>24,w-=n,0==(n=r>>>16&255))d[f++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=_[(65535&r)+(x&(1<>>=n,w-=n),w<15&&(x+=p[c++]<>>=n=r>>>24,w-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(x&(1<>>=n,w-=n,(n=f-h)>3,x&=(1<<(w-=a<<3))-1,t.next_in=c,t.next_out=f,t.avail_in=c>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 R.Buf16(320),this.work=new R.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new R.Buf32(n),e.distcode=e.distdyn=new R.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(R.arraySet(t.window,e,r-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(n<(a=t.wsize-t.wnext)&&(a=n),R.arraySet(t.window,e,r-n,a,t.wnext),(n-=a)?(R.arraySet(t.window,e,r-n,n,0),t.wnext=n,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,r.check=I(r.check,L,2,0),p=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(p-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=3;case 3:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=I(r.check,L,4,0)),p=c=0,r.mode=4;case 4:for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=I(r.check,L,2,0)),p=c=0,r.mode=5;case 5:if(1024&r.flags){for(;p<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=I(r.check,L,2,0)),p=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=s<(d=r.length)?s:d)&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),R.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=I(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;p<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&p,p-=7&p,r.mode=27;break}for(;p<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:T=k=void 0;var T,k=r;if(G){for(U=new R.Buf32(512),j=new R.Buf32(32),T=0;T<144;)k.lens[T++]=8;for(;T<256;)k.lens[T++]=9;for(;T<280;)k.lens[T++]=7;for(;T<288;)k.lens[T++]=8;for(O(1,k.lens,0,288,U,0,k.work,{bits:9}),T=0;T<32;)k.lens[T++]=5;O(2,k.lens,0,32,j,0,k.work,{bits:5}),G=!1}if(k.lencode=U,k.lenbits=9,k.distcode=j,k.distbits=5,r.mode=20,6!==e)break;c>>>=2,p-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,p-=2;break;case 14:for(c>>>=7&p,p-=7&p;p<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,p=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(0===(d=l<(d=s>>=5,p-=5,r.ndist=1+(31&c),c>>>=5,p-=5,r.ncode=4+(15&c),c>>>=4,p-=4,286>>=3,p-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=O(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=g,p-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;p>>=g,p-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,p-=2}else if(17===A){for(P=g+3;p>>=g)),c>>>=3,p=p-g-3}else{for(P=g+7;p>>=g)),c>>>=7,p=p-g-7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=O(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=O(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=p,B(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,p=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,r.length=A,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>v)])>>>16&255,A=65535&S,!(v+(g=S>>>24)<=p);){if(0===s)break t;s--,c+=n[o++]<>>=v,p-=v,r.back+=v}if(c>>>=g,p-=g,r.back+=g,64&y){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(P=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(d=f-l)){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(l-=d=ld?(m=F[I+i[v]],E[T+i[v]]):(m=96,0),l=1<<(h=A-C),b=c=1<<_;a[f+(L>>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?L=(L&l-1)+l:L=0,v++,0==--k[A]){if(A===x)break;A=e[r+i[v]]}if(w>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function _(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function S(t,e,r){for(var n,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+r[i-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=P(a[s]++,s))}}function L(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){8>1;1<=r;r--)T(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,T(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var p,u,f,d,h,m=t,g=e.dyn_tree,y=e.max_code,A=e.stat_desc.static_tree,v=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,x=e.stat_desc.extra_base,w=e.stat_desc.max_length,_=0,C=0;C<=15;C++)m.bl_count[C]=0;for(g[2*m.heap[m.heap_max]+1]=0,p=m.heap_max+1;p<573;p++)w<(C=g[2*g[2*(u=m.heap[p])+1]+1]+1)&&(C=w,_++),g[2*u+1]=C,y>=7;i<30;i++)for(v[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),s=function(t){var e;for(F(t,t.dyn_ltree,t.l_desc.max_code),F(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*p[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e)O(t,e,r,n);else if(4===t.strategy||o===a)_(t,2+(n?1:0),3),k(t,u,f);else{_(t,4+(n?1:0),3);var l=t,c=(e=t.l_desc.max_code+1,r=t.d_desc.max_code+1,s+1);for(_(l,e-257,5),_(l,r-1,5),_(l,c-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){_(t,2,3),C(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.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(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function n(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}r=o[e]={exports:{}};a[e][0].call(r.exports,function(t){return s(a[e][1][t]||t)},r,r.exports,n,a,o,i)}return o[e].exports}for(var l=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){function d(t,e,r){var n,a,o,i=t&d.F,s=t&d.G,l=t&d.P,c=t&d.B,p=s?h:t&d.S?h[e]||(h[e]={}):(h[e]||{})[v],u=s?m:m[e]||(m[e]={}),f=u[v]||(u[v]={});for(n in r=s?e:r)a=((o=!i&&p&&void 0!==p[n])?p:r)[n],o=c&&o?A(a,h):l&&\"function\"==typeof a?A(Function.call,a):a,p&&y(p,n,a,t&d.U),u[n]!=a&&g(u,n,o),l&&f[n]!=a&&(f[n]=a)}var h=t(70),m=t(52),g=t(72),y=t(118),A=t(54),v=\"prototype\";h.core=m,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var n,l=t(118),c=t(72),p=t(64),u=t(57),f=t(152),d=t(120),h=f(\"species\"),m=!p(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),g=(n=(t=/(?:)/).exec,t.exec=function(){return n.apply(this,arguments)},2===(t=\"ab\".split(t)).length&&\"a\"===t[0]&&\"b\"===t[1]);e.exports=function(r,t,e){var o,n,a=f(r),i=!p(function(){var t={};return t[a]=function(){return 7},7!=\"\"[r](t)}),s=i?!p(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[h]=function(){return e}),e[a](\"\"),!t}):void 0;i&&s&&(\"replace\"!==r||m)&&(\"split\"!==r||g)||(o=/./[a],e=(s=e(u,a,\"\"[r],function(t,e,r,n,a){return e.exec===d?i&&!a?{done:!0,value:o.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}))[0],n=s[1],l(String.prototype,r,e),c(RegExp.prototype,a,2==t?function(t,e){return n.call(t,this,e)}:function(t){return n.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),y=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,p,u=o,f=0,d=!!s&&y(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),c=t.F;e--;)delete c[l][i[e]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(n[l]=a(t),r=new n,n[l]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)!i(n,r=e[a++])||~l(o,r)||o.push(r);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),p=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,r=p(t),n=c(r),a=n.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&!s(r,\"name\")&&i(r,\"name\",e),t[e]!==r&&(a&&!s(r,l)&&i(r,l,t[e]?\"\"+t[e]:c.join(String(e))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var n=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){r=r.call(t,e);if(\"object\"!=typeof r)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return r}if(\"RegExp\"!==n(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return a.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,t=s,c=\"lastIndex\",p=(a=/b*/g,s.call(n=/a/,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),u=void 0!==/()??/.exec(\"\")[1];e.exports=t=p||u?function(t){var e,r,n,a,o=this;return u&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),p&&(e=o[c]),n=s.call(o,t),p&&n&&(o[c]=o.global?n.index+n[0].length:e),u&&n&&1\"+t+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),n?a+t:t+a}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=i(function(){return!!s[t]()||\"​…\"!=\"​…\"[t]()}),e=n[t]=a?e(p):s[t];r&&(n[r]=e),o(o.P+o.F*a,\"String\",n)}var o=t(62),a=t(57),i=t(64),s=t(135),t=\"[\"+s+\"]\",l=RegExp(\"^\"+t+t+\"*\"),c=RegExp(t+t+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,\"\")),t=2&e?t.replace(c,\"\"):t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t,e=+this;y.hasOwnProperty(e)&&(t=y[e],delete y[e],t())}function a(t){n.call(t.data)}var o,i=t(54),s=t(76),l=t(73),c=t(59),p=t(70),u=p.process,f=p.setImmediate,d=p.clearImmediate,h=p.MessageChannel,m=p.Dispatch,g=0,y={},A=\"onreadystatechange\";f&&d||(f=function(t){for(var e=[],r=1;r>1,c=23===e?x(2,-24)-x(2,-77):0,p=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===v?(a=t!=t?1:0,n=r):(n=W(H(t)/V),t*(o=x(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+l?c/o:c*x(2,1-l))*o&&(n++,o/=2),r<=n+l?(a=0,n=r):1<=n+l?(a=(t*o-1)*x(2,e),n+=l):(a=t*x(2,l-1)*x(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,a=t[l--],c=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function k(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function Q(t){return P(t,52,8)}function Y(t){return P(t,23,4)}function R(t,e,r){U(t[d],e,{get:function(){return this[r]}})}function F(t,e,r,n){r=p(+r);if(r+e>t[_])throw A(h);var a=t[w]._b,r=r+t[C],t=a.slice(r,r+e);return n?t:t.reverse()}function I(t,e,r,n,a,o){r=p(+r);if(r+e>t[_])throw A(h);for(var i=t[w]._b,s=r+t[C],l=n(+a),c=0;cq;)(B=O[q++])in m||o(m,B,b[B]);D||(s.constructor=m)}var c=new g(new m(2)),Z=g[d].setInt8;c.setInt8(0,2147483648),c.setInt8(1,2147483649),!c.getInt8(0)&&c.getInt8(1)||i(g[d],{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,u);t=p(t);this._b=j.call(new Array(t),0),this[_]=t},g=function(t,e,r){l(this,g,f),l(t,m,f);var n=t[_],e=M(e);if(e<0||n>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){t=F(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=F(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return L(F(this,4,t,arguments[1]))},getUint32:function(t){return L(F(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return S(F(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return S(F(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){I(this,1,t,E,e)},setUint8:function(t,e){I(this,1,t,E,e)},setInt16:function(t,e){I(this,2,t,T,e,arguments[2])},setUint16:function(t,e){I(this,2,t,T,e,arguments[2])},setInt32:function(t,e){I(this,4,t,k,e,arguments[2])},setUint32:function(t,e){I(this,4,t,k,e,arguments[2])},setFloat32:function(t,e){I(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){I(this,8,t,Q,e,arguments[2])}});t(m,u),t(g,f),o(g[d],a.VIEW,!0),e[u]=m,e[f]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),t=t(147),i=t(\"typed_array\"),s=t(\"view\"),t=!(!a.ArrayBuffer||!a.DataView),l=t,c=0,p=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");c<9;)(n=a[p[c++]])?(o(n.prototype,i,!0),o(n.prototype,s,!0)):l=!1;e.exports={ABV:t,CONSTR:l,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){t=t(70).navigator;e.exports=t&&t.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(n(t)&&t._t===e)return t;throw TypeError(\"Incompatible receiver, \"+e+\" required!\")}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!t(128)(s)),\"Array\",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=a(this),r=i(e.length),n=r-1;for((n=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var t=t(62),n=Math.exp;t(t.S,\"Math\",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),t=t(90);n(n.S+n.F*(t!=Math.expm1),\"Math\",{expm1:t})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var t=t(62),l=Math.abs;t(t.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*n+r*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){t=t(62);t(t.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){t=t(62);t(t.S,\"Math\",{trunc:function(t){return(0w;w++)o(m,v=x[w])&&!o(b,v)&&f(b,v,u(m,v));(b.prototype=g).constructor=b,t(118)(a,h,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){t=t(62);t(t.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){t=t(62);t(t.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){t=t(62);t(t.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),t=t(112);n(n.S+n.F*(Number.parseFloat!=t),\"Number\",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),t=t(113);n(n.S+n.F*(Number.parseInt!=t),\"Number\",{parseInt:t})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function s(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function l(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function c(){for(var t,e=6,r=\"\";0<=--e;)\"\"===r&&0!==e&&0===i[e]||(t=String(i[e]),r=\"\"===r?t:r+d.call(\"0\",7-t.length)+t);return r}function p(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)}var n=t(62),u=t(139),f=t(34),d=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],h=\"Number.toFixed: incorrect invocation!\";n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a=f(this,h),t=u(t),o=\"\",i=\"0\";if(t<0||20r;){a=void 0;o=void 0;i=void 0;s=void 0;l=void 0;c=void 0;p=void 0;var n=d[r++];var a,o,i,s=e?n.ok:n.fail,l=n.resolve,c=n.reject,p=n.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(p&&p.enter(),a=s(t),p&&(p.exit(),i=!0)),a===n.promise?c(E(\"Promise-chain cycle\")):(o=h(a))?o.call(a,l,c):l(a)):c(t)}catch(n){p&&!i&&p.exit(),c(n)}}u._c=[],u._n=!1,f&&!u._h&&m(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function m(a){x.call(p,function(){var t,e,r=a._v,n=B(a);if(n&&(t=C(function(){F?T.emit(\"unhandledRejection\",r,a):(e=p.onunhandledrejection)?e({promise:a,reason:r}):(e=p.console)&&e.error&&e.error(\"Unhandled promise rejection\",r)}),a._h=F||B(a)?2:1),a._a=void 0,n&&t.e)throw t.v})}function g(e){x.call(p,function(){var t;F?T.emit(\"rejectionHandled\",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,l,c=r(89),p=r(70),u=r(54),t=r(47),f=r(62),d=r(81),y=r(33),A=r(37),v=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=p.TypeError,T=p.process,k=T&&T.versions,M=k&&k.v8||\"\",R=p[L],F=\"process\"==t(T),I=i=_.f,k=!!function(){try{var t=R.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(F||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==M.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=h(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,u(O,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};k||(R=function(t){A(this,R,L,\"_h\"),y(t),e.call(this);try{t(u(O,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(R.prototype,{then:function(t,e){var r=I(b(this,R));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=F?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(O,t,1),this.reject=u(o,t,1)},_.f=I=function(t){return t===R||t===l?new s:i(t)}),f(f.G+f.W+f.F*!k,{Promise:R}),r(124)(R,L),r(123)(L),l=r(52)[L],f(f.S+f.F*!k,L,{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(c||!k),L,{resolve:function(t){return S(c&&this===l?R:this,t)}}),f(f.S+f.F*!(k&&r(86)(function(t){R.all(t).catch(n)})),L,{all:function(t){var i=this,e=I(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;v(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=I(e),n=r.reject,a=C(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(64)(function(){i(function(){})}),\"Reflect\",{apply:function(t,e,r){t=a(t),r=o(r);return i?i(t,e,r):s.call(t,e,r)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),a=t(98),o=t(33),i=t(38),s=t(81),l=t(64),c=t(46),p=(t(70).Reflect||{}).construct,u=l(function(){function t(){}return!(p(function(){},[],t)instanceof t)}),f=!l(function(){p(function(){})});n(n.S+n.F*(u||f),\"Reflect\",{construct:function(t,e){o(t),i(e);var r=arguments.length<3?t:o(arguments[2]);if(f&&!u)return p(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}n=r.prototype,r=a(s(n)?n:Object.prototype),n=Function.apply.call(t,r,e);return s(n)?n:r}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var o=t(101),i=t(105),s=t(71),n=t(62),l=t(81),c=t(38);n(n.S,\"Reflect\",{get:function t(e,r){var n,a=arguments.length<3?e:arguments[2];return c(e)===a?e[r]:(n=o.f(e,r))?s(n,\"value\")?n.value:void 0!==n.get?n.get.call(a):void 0:l(n=i(e))?t(n,r,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){t=t(62);t(t.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var s=t(99),l=t(101),c=t(105),p=t(71),n=t(62),u=t(116),f=t(38),d=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n){var a,o=arguments.length<4?e:arguments[3],i=l.f(f(e),r);if(!i){if(d(a=c(e)))return t(a,r,n,o);i=u(0)}if(p(i,\"value\")){if(!1===i.writable||!d(o))return!1;if(a=l.f(o,r)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,s.f(o,r,a)}else s.f(o,r,u(0,n));return!0}return void 0!==i.set&&(i.set.call(o,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=h=n.RegExp,p=h.prototype,u=/a/g,f=/a/g,d=new h(u)!==u;if(t(58)&&(!d||t(64)(function(){return f[t(152)(\"match\")]=!1,h(u)!=u||h(f)==f||\"/a/i\"!=h(u,\"i\")}))){for(var h=function(t,e){var r=this instanceof h,n=s(t),a=void 0===e;return!r&&n&&t.constructor===h&&a?t:o(d?new c(n&&!a?t.source:t,e):c((n=t instanceof h)?t.source:t,n&&a?l.call(t):e),r?this:p,h)},m=i(c),g=0;m.length>g;)!function(e){e in h||a(h,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);(p.constructor=h).prototype=p,t(118)(n,\"RegExp\",h)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),u=t(141),f=t(36),d=t(119);t(65)(\"match\",1,function(n,a,l,c){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=c(l,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return d(r,n);for(var a=r.unicode,o=[],i=r.lastIndex=0;null!==(s=d(r,n));){var s=String(s[0]);\"\"===(o[i]=s)&&(r.lastIndex=f(n,u(r.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var w=t(38),_=t(142),C=t(141),P=t(139),S=t(36),L=t(119),E=Math.max,T=Math.min,k=Math.floor,R=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,F=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,b,x){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):b.call(String(r),t,e)},function(t,e){var r=x(b,t,this,e);if(r.done)return r.value;var n,a=w(t),o=String(this),i=\"function\"==typeof e,s=(i||(e=String(e)),a.global);s&&(n=a.unicode,a.lastIndex=0);for(var l=[];;){var c=L(a,o);if(null===c)break;if(l.push(c),!s)break;\"\"===String(c[0])&&(a.lastIndex=S(o,C(a.lastIndex),n))}for(var p,u=\"\",f=0,d=0;d>>0,p=new RegExp(t.source,s+\"g\");(n=f.call(p,r))&&!(l<(a=p[C])&&(i.push(r.slice(l,n.index)),1=c));)p[C]===n.index&&p[C]++;return l===r[_]?!o&&p.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[_]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[_]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):g.call(String(r),t,e)},function(t,e){var r=m(g,t,this,e,g!==h);if(r.done)return r.value;var r=y(t),n=String(this),t=A(r,RegExp),a=r.unicode,o=(r.ignoreCase?\"i\":\"\")+(r.multiline?\"m\":\"\")+(r.unicode?\"u\":\"\")+(S?\"y\":\"g\"),i=new t(S?r:\"^(?:\"+r.source+\")\",o),s=void 0===e?P:e>>>0;if(0==s)return[];if(0===n.length)return null===x(i,n)?[n]:[];for(var l=0,c=0,p=[];c>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t){return!!~a(this,t,\"includes\").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=n(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)c(T,e=r[a++])||e==L||e==z||n.push(e);return n}function i(t){for(var e,r=t===R,n=J(r?k:y(t)),a=[],o=0;n.length>o;)!c(T,e=n[o++])||r&&!c(R,e)||a.push(T[e]);return a}function s(t,e,r){return t===R&&s(k,e,r),g(t),e=A(e,!0),g(r),c(T,e)?(r.enumerable?(c(t,L)&&t[L][e]&&(t[L][e]=!1),r=b(r,{enumerable:v(0,!1)})):(c(t,L)||w(t,L,v(1,{})),t[L][e]=!0),B(t,e,r)):w(t,e,r)}var l=t(70),c=t(71),p=t(58),u=t(62),M=t(118),z=t(94).KEY,f=t(64),d=t(126),h=t(124),U=t(147),m=t(152),j=t(151),G=t(150),W=t(61),H=t(79),g=t(38),V=t(81),Q=t(142),y=t(140),A=t(143),v=t(116),b=t(98),Y=t(102),q=t(101),x=t(104),Z=t(99),X=t(107),K=q.f,w=Z.f,J=Y.f,_=l.Symbol,C=l.JSON,P=C&&C.stringify,S=\"prototype\",L=m(\"_hidden\"),$=m(\"toPrimitive\"),tt={}.propertyIsEnumerable,E=d(\"symbol-registry\"),T=d(\"symbols\"),k=d(\"op-symbols\"),R=Object[S],d=\"function\"==typeof _&&!!x.f,F=l.QObject,I=!F||!F[S]||!F[S].findChild,B=p&&f(function(){return 7!=b(w({},\"a\",{get:function(){return w(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=K(R,e);n&&delete R[e],w(t,e,r),n&&t!==R&&w(R,e,n)}:w,O=d&&\"symbol\"==typeof _.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof _};d||(M((_=function(){if(this instanceof _)throw TypeError(\"Symbol is not a constructor!\");var e=U(0rt;)m(et[rt++]);for(var nt=X(m.store),at=0;nt.length>at;)G(nt[at++]);u(u.S+u.F*!d,\"Symbol\",{for:function(t){return c(E,t+=\"\")?E[t]:E[t]=_(t)},keyFor:function(t){if(!O(t))throw TypeError(t+\" is not a symbol!\");for(var e in E)if(E[e]===t)return e},useSetter:function(){I=!0},useSimple:function(){I=!1}}),u(u.S+u.F*!d,\"Object\",{create:function(t,e){return void 0===e?b(t):r(b(t),e)},defineProperty:s,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=f(function(){x.f(1)});u(u.S+u.F*F,\"Object\",{getOwnPropertySymbols:function(t){return x.f(Q(t))}}),C&&u(u.S+u.F*(!d||f(function(){var t=_();return\"[null]\"!=P([t])||\"{}\"!=P({a:t})||\"{}\"!=P(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&u(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),t=t(148),t=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(t);n(n.P+n.F*t,\"String\",{padEnd:function(t){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(t){return\"number\"==typeof t&&100\").concat(e,\"\"):\"\")}function At(t,e){var r,n,a,o=\"\",i=t.stops;return a=t,Boolean((null==a?void 0:a.stops)&&\"object\"==typeof a.stops&&0').concat(U(r[t],n),\"\")}),\"\".concat(a.join(\"\"),\"\")))+function(t){void 0===t&&(t=0);return'')}(t.angle)}function j(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.gradient&&(e=\"gradient\"),t.color&&(r=t.color),t.alpha&&(n+='')),t.transparency&&(n+=''))),e){case\"solid\":a+=\"\".concat(U(r,n),\"\");break;case\"gradient\":a+=\"\".concat(At(t.gradient,n),\"\");break;default:a+=\"\"}return a}function m(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t,e){void 0===e&&(e=\"png\");t=t.match(/\\.(\\w{3,4})(?:$|\\?)/);return t?t[1]:e}function bt(t){if(t&&\"object\"==typeof t)return\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359r?r=M(t.options.margin[0]):d.margin&&d.margin[0]&&M(d.margin[0])>r&&(r=M(d.margin[0])),t.options.margin&&t.options.margin[2]&&M(t.options.margin[2])>n?n=M(t.options.margin[2]):d.margin&&d.margin[2]&&M(d.margin[2])>n&&(n=M(d.margin[2]))):(t.options.margin&&t.options.margin[0]&&D(t.options.margin[0])>r?r=D(t.options.margin[0]):d.margin&&d.margin[0]&&D(d.margin[0])>r&&(r=D(d.margin[0])),t.options.margin&&t.options.margin[2]&&D(t.options.margin[2])>n?n=D(t.options.margin[2]):d.margin&&d.margin[2]&&D(d.margin[2])>n&&(n=D(d.margin[2])))}),m(),u+=r+n,d.verbose&&0===e&&console.log(\"| SLIDE [\".concat(h.length,\"]: emuSlideTabH ...... = \").concat((p/B).toFixed(1),\" \")),t.forEach(function(r,n){var t,a,e,o,i,s,l,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((r.options&&r.options.fontSize?r.options.fontSize:d.fontSize||C)*(q+(d.autoPageLineWeight||0))/100),text:[],options:r.options},u=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=d.autoPageCharWeight||null,d.colW[n]);r.options.colspan&&Array.isArray(d.colW)&&(u=d.colW.filter(function(t,e){return n<=e&&e \".concat(JSON.stringify(c))),s.push(c),c=[])),0o&&(i.push(e),e=[],r=\"\"),e.push(t),r+=t.text.toString()}),0=i&&(i=t._lineHeight)}),p maxH) => \".concat((u/B).toFixed(2),\" + \").concat((l._lineHeight/B).toFixed(2),\" > \").concat(p/B)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0r&&(r=t._lineHeight)}),A.rows.push(e),u+=r}),c=a[o]),l._lines.shift());Array.isArray(c.text)&&(l?c.text=c.text.concat(l):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),o===f.length-1&&(u+=i),o=o \\n'),i.file(\"_rels/.rels\",'\\n'),i.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),i.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),i.file(\"xl/_rels/workbook.xml.rels\",''),i.file(\"xl/styles.xml\",'\\n'),i.file(\"xl/theme/theme1.xml\",''),i.file(\"xl/workbook.xml\",'\\n'),i.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?c+=''):g.opts._type===b.SCATTER?c+=''):c=l?(n=A.length,A[0].labels.forEach(function(t){return n+=t.filter(function(t){return t&&\"\"!==t}).length}),c+'')+\"\"):(t=A.length+A[0].labels.length*A[0].labels[0].length+A[0].labels.length,a=A.length+A[0].labels.length*A[0].labels[0].length+1,c+'')+''),g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?A.forEach(function(t,e){0===e?c+=\"X-Axis\":c=(c+=\"\".concat(N(t.name||\"Y-Axis\"+e),\"\"))+\"\".concat(N(\"Size\"+e),\"\")}):A.forEach(function(t){c+=\"\".concat(N((t.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),g.opts._type!==b.BUBBLE&&g.opts._type!==b.BUBBLE3D&&g.opts._type!==b.SCATTER&&A[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&\"\"!==t}).forEach(function(t){c+=\"\".concat(N(t),\"\")})}),c+=\"\\n\",i.file(\"xl/sharedStrings.xml\",c),''),u=(g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?(p=(p+=''))+''),o=1,A.forEach(function(t,e){0===e?p+=''):(p+=''),o++,p+=''))})):g.opts._type===b.SCATTER?(p=(p+='
')+'',A.forEach(function(t,e){p+=''})):(p=(p+='
')+'',A[0].labels.forEach(function(t,e){p+='')}),A.forEach(function(t,e){p+=''})),p=(p+=\"\")+''+\"
\",i.file(\"xl/tables/table1.xml\",p),'');if(u+='',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D?u+=''):g.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',g.opts._type===b.BUBBLE||g.opts._type===b.BUBBLE3D){for(var u=(u+=\"\")+'')+'0',f=1;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=2,n=1;n').concat(A[n].values[e]||\"\",\"\"))+'').concat(A[n].sizes[e]||\"\",\"\"),r++;u+=\"\"})}else if(g.opts._type===b.SCATTER){u=(u+=\"\")+'');for(f=0;f').concat(f,\"\");u+=\"\",A[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,\"\");for(var r=1;r').concat(A[r].values[e]||0===A[r].values[e]?A[r].values[e]:\"\",\"\");u+=\"\"})}else if(u+=\"\",l){u+='');for(f=0;f0');for(f=A[0].labels.length-1;f').concat(f,\"\");u+=\"\";for(var d=A.length,h=A[0].labels[0].length,m=A[0].labels.length,f=0;f');var n=d,a=A[0].labels.slice().reverse();a.forEach(function(t,e){t[r]&&(t=0===e?1:a[e-1].filter(function(t){return t&&\"\"!==t}).length,n+=t,u+='').concat(n,\"\"))});for(var t=0;t').concat(A[t].values[r]||0,\"\");u+=\"\"}(f)}else{u+=''),A[0].labels.forEach(function(t,e){u+='0')});for(var f=0;f').concat(f+1,\"\");u+=\"\",A[0].labels[0].forEach(function(t,e){u+='');for(var r=A[0].labels.length-1;0<=r;r--)u=(u+=''))+\"\".concat(A.length+e+1,\"\")+\"\";for(var n=0;n').concat(A[n].values[e]||\"\",\"\");u+=\"\"})}u+='\\n',i.file(\"xl/worksheets/sheet1.xml\",u),i.generateAsync({type:\"base64\"}).then(function(t){y.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+g.globalId+\".xlsx\",t,{base64:!0}),y.file(\"ppt/charts/_rels/\"+g.fileName+\".rels\",''+'')+\"\"),y.file(\"ppt/charts/\".concat(g.fileName),function(a){var o='',i=!1;o=(o+='')+'')+\"\",a.opts.showTitle?o=o+Ot({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||nt,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ');o+=\"\",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=E(a.opts,t.options),r=e.secondaryValAxis?lt:S,n=e.secondaryCatAxis?ct:L;i=i||e.secondaryValAxis,o+=Ft(t.type,t.data,e,r,n)}):o+=Ft(a.opts._type,a.data,a.opts,S,L);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==e.serGridLine.style?Nt(e.serGridLine):\"\"),e.showSerAxisTitle&&(n+=Ot({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=' '))+' ')+' ')+' ')+(!1===e.serAxisLineShow?\"\":\"\"+U(e.serAxisLineColor||w.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+U(e.serAxisLabelColor||_)+\"\")+' ')+\" \")+' ')+\" \")+' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,pt,S))),a.opts.catAxes&&a.opts.catAxes[1]&&(o+=It(E(a.opts,a.opts.catAxes[1]),ct,lt))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");o=(o=(o=(o+=\" \")+(a.opts.plotArea.fill&&a.opts.plotArea.fill.color?j(a.opts.plotArea.fill):\"\"))+(a.opts.plotArea.border?'').concat(j(a.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",a.opts.showLegend&&(o=(o+=\"\")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+=\"\")+\" \")+\" \")+(a.opts.legendFontSize?'':\"\"),a.opts.legendColor&&(o+=j(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=\" \")+' ')+\" \"),o+=\"\");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+=\"\")+(a.opts.chartArea.fill&&a.opts.chartArea.fill.color?j(a.opts.chartArea.fill):\"\"))+(a.opts.chartArea.border?'').concat(j(a.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(g)),e(null)}).catch(function(t){r(t)})})}function Ft(n,a,o,t,e){var i=\"\";switch(n){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:i+=\"\"),n===b.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==b.BAR&&n!==b.BAR3D||(i=(i+='')+''),n===b.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++,i=(i=(i=(i=(i+=\"\")+' ')+' ')+\" Sheet1!$\"+T(t._dataIndex+t.labels.length+1)+\"$1\")+' '+N(t.name)+\" \";var e=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,''))+\"\":i+=\"\"+U(e)+\"\",n===b.LINE||n===b.RADAR?0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'':o.dataBorder&&(i+=''+U(o.dataBorder.color)+''),i=i+g(o.shadow,c)+' ',n!==b.RADAR&&(i=(i+=\"\")+''),o.dataLabelBkgrdColors&&(i+=\"\".concat(U(e),\"\")),i=(i=(i=(i+=\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\"),n!==b.LINE&&n!==b.RADAR||(i=(i+=\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex])+\"\")+' '+U(o.lineDataSymbolLineColor||e)+' '),n!==b.BAR&&n!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==ft&&1\")+' ',0===o.lineSize?i+=\"\":i=n===b.BAR?(i+=\"\")+' ':(i+=\" \")+' ',i=i+g(o.shadow,c)+\" \"}),i+=\"\",o.catLabelFormatCode?(i=(i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(t.labels[0].length+1)+\" \")+\" \"+(o.catLabelFormatCode||\"General\")+\"\")+' ',t.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"):(i=(i=(i+=\" \")+\" Sheet1!$A$2:$\"+T(t.labels.length)+\"$\"+(t.labels[0].length+1)+\" \")+'\\t ',t.labels.forEach(function(t){i+=\" \",t.forEach(function(t,e){i+=''+N(t)+\"\"}),i+=\" \"}),i+=\" \"),i=(i=(i=(i=i+\"\"+\" \")+\"Sheet1!$\".concat(T(t._dataIndex+t.labels.length+1),\"$2:$\").concat(T(t._dataIndex+t.labels.length+1),\"$\").concat(t.labels[0].length+1,\"\")+\" \")+\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\")+' ',t.values.forEach(function(t,e){return i+='').concat(t||0===t?t:\"\",\"\")}),i+=\" \",n===b.LINE&&(i+=''),i+=\"\"}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i=(i+=' ')+' ')+' ')+\" \",n===b.BAR?i=(i+=' ')+' ':n===b.BAR3D?i=(i=(i+=' ')+' ')+' ':n===b.LINE&&(i+=' '),i=(i+=''))+\"\");break;case b.SCATTER:i=(i+=\"\")+''+'',s=-1,a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(t+2)+\"$1\")+' '+N(r.name)+\" \";var n,e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(e,'')+\"\":i+=\"\"+U(e)+\"\",0===o.lineSize?i+=\"\":i=(i+=''+U(e)+\"\")+'',i=(i=(i+=g(o.shadow,c))+\" \"+\"\")+' ',o.lineDataSymbolSize&&(i+=' '),i=(i=(i+=\" \")+\" \"+U(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\")+' '+U(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+' ',o.showLabel&&(n=mt(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!r.labels[0]||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels[0].forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i=(i=(i=(i+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+N(t)+\" \\t\",i=(\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)?i:(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+N(r.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",o.dataLabelPosition&&(i+=' '),i=(i+=' \\t ')+'\\t\\t\\t \\t\\t')}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',o.dataLabelPosition&&(i+=' '),i=(i=(i+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===a.length&&o.chartColors!==ft&&r.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||ft:o.chartColors||[];i=(i+=\" \")+' ',0===o.lineSize?i+=\"\":i=(i+=\"\")+' ',i=i+g(o.shadow,c)+\" \"}),i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i+=\" \")+\" Sheet1!$\"+T(t+2)+\"$2:$\"+T(t+2)+\"$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+''}),i=(i=(i=(i=(i+=\" \")+' ')+\" \")+' ')+\" \"+U(o.dataLabelColor||_)+\"\")+' ',o.dataLabelPosition&&(i+=' '),i=(i+=' ')+' ',i=(i+=''))+(\"\");break;case b.BUBBLE:case b.BUBBLE3D:var i=i+\"\"+'',s=-1,l=1;a.filter(function(t,e){return 0\")+' ')+\" Sheet1!$\"+T(l+1)+\"$1\")+' '+N(r.name)+\" \";t=o.chartColors[s%o.chartColors.length];\"transparent\"===t?i+=\"\":o.chartColorsOpacity?i+=\"\"+U(t,'')+\"\":i+=\"\"+U(t)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+U(o.dataBorder.color)+'':i=(i+=''+U(t)+\"\")+'',i=i+g(o.shadow,c)+\"\",i=(i=(i+=\" \")+\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(a[0].values.length+1)+\"\",l++,i=(i+=\" General\")+' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i=(i+=\" \")+\" Sheet1!$\"+T(l+1)+\"$2:$\"+T(l+1)+\"$\"+(r.sizes.length+1)+\"\",l++,i=(i+=\" General\")+'\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i=(i+=\" \")+' '}),i=(i=(i=(i=(i+=\"\")+'')+\"\")+''))+\"\".concat(U(o.dataLabelColor||_),\"\"))+'')+\"\",o.dataLabelPosition&&(i+='')),i=(i=(i+='')+'')+'')+'')+\"\";break;case b.DOUGHNUT:case b.PIE:var r=a[0];i=(i+=\"\")+' '+\"\",o.chartPieExplosion&&Number.isInteger(o.chartPieExplosion)&&(i+=' '),i=(i=(i=(i=(i=(i=(i=(i+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+N(r.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',o.dataNoEffects?i+=\"\":i+=g(o.shadow,c),i+=\" \",r.labels[0].forEach(function(t,e){i=(i=(i+=\"\")+' ')+' ')+\"\".concat(U(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),\"\"),o.dataBorder&&(i+='').concat(U(o.dataBorder.color),'')),i=i+g(o.shadow,c)+\" \"}),i+=\"\",r.labels[0].forEach(function(t,e){i=(i=(i=(i=(i=(i+=\"\")+' '))+' ')+\" \")+' '))+\" \"+U(o.dataLabelColor||_)+\"\")+' ')+\" \",n===b.PIE&&o.dataLabelPosition&&(i+=' ')),i=(i=(i=(i+=' ')+' ')+' ')+' '}),i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=i+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(n===b.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.labels[0].forEach(function(t,e){i+=''+N(t)+\"\"}),i=(i=(i=(i=(i+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(r.labels[0].length+1)+\"\")+\" \")+('\\t '),r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i=(i=(i=i+\" \"+\" \")+\" \"+\" \")+' '),n===b.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function It(e,t,r){var n=\"\";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n=(n+=' ')+\" \"+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n=(n=(n=n+\"\"+(' '))+(' '))+(\"none\"!==e.catGridLine.style?Nt(e.catGridLine):\"\"),e.showCatAxisTitle&&(n+=Ot({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=' ':n+=' ',e._type===b.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.catAxisLineShow?\"\":\"\"+U(e.catAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(e.catAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==b.SCATTER&&e._type!==b.BUBBLE&&e._type!==b.BUBBLE3D||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?n+=\"\":n+=\"\",n}function Bt(t,e){var r=e===S?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"r\"===(r=e===lt?\"r\":r)||\"t\"===r,a=e===S?L:ct,o=\"\",o=(o+=\"\")+(' ')+\" \";return t.valAxisLogScaleBase&&(o+='')),o+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(o+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(o+=''),o=(o+=\" \")+(' ')+(' '),\"none\"!==t.valGridLine.style&&(o+=Nt(t.valGridLine)),t.showValAxisTitle&&(o+=Ot({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),o+=''),t._type===b.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.valAxisLineShow?\"\":\"\"+U(t.valAxisLineColor||w.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+U(t.valAxisLabelColor||_)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),t.valAxisMajorUnit&&(o+=' '),t.valAxisDisplayUnit&&(o+='').concat(t.valAxisDisplayUnitLabel?\"\":\"\",\"\")),o+=\"\"}function Ot(t,e,r){var n=\"left\"===t.titleAlign||\"right\"===t.titleAlign?''):\"\",a=t.titleRotate?''):\"\",o=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",i=!0===t.titleBold?1:0,s=\"\";return t.titlePos&&\"number\"==typeof t.titlePos.x&&\"number\"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(r=0===(r=t.titlePos.y+r)?0:r*(r/5)/10)&&(r/=10),.1<=r&&(r/=10),s='')),\"\\n\\t \\n\\t \\n\\t \".concat(a,\"\\n\\t \\n\\t \\n\\t \").concat(n,\"\\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(U(t.color||_),'\\n\\t \\n\\t \\n\\t ').concat(N(t.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(s,'\\n\\t \\n\\t')}function T(t){t-=1;return t<=25?ut[t]:\"\".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function g(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",e=E(e,t),t=e.type||\"outer\",n=M(e.blur),a=M(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity);return(r+=\"')+('')+('')+(\"\")+\"\"}function Nt(t){var e=\"\";return(e+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function Dt(t){return\"object\"==typeof t&&Ut.includes(t.name)&&(t.path||t.data)}function Mt(t){return\"object\"==typeof t&&\"\"!==t.name&&jt(t.styles)}var zt=function(a){return new Promise(function(e,r){var n=new XMLHttpRequest;n.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,e(\"done\")},t.readAsDataURL(n.response)},n.onerror=function(t){r(\"ERROR! Unable to load font (xhr.onerror): \".concat(a.path))},n.open(\"GET\",a.path),n.responseType=\"blob\",n.send()})},Ut=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],jt=function(t){return Array.isArray(t)&&t.every(Dt)};function Gt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[],s=t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}),r=[];return s.forEach(function(t){-1===r.indexOf(t.path)?(t.isDuplicate=!1,r.push(t.path)):t.isDuplicate=!0}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(r,n){var e;if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}catch(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else o&&i&&0===a.path.indexOf(\"http\")?i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(\"done\")}),t.on(\"error\",function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (https.get): \".concat(a.path))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?Wt(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=d,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n(\"ERROR! Unable to load image (xhr.onerror): \".concat(a.path))},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=d,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push(Wt(t))}),e}function Wt(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}},n.onerror=function(t){a.data=d,e(\"ERROR! Unable to load image (image.onerror): \".concat(a.path))},n.src=\"string\"==typeof a.data?a.data:d})}var Ht={cover:function(t,e){var t=t.h/t.w,r=t'},contain:function(t,e){var t=t.h/t.w,r=t'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h);return''}};function Vt(k){var R=k._name?'':\"\",F=1;return k._bkgdImgRid?R+=''):k.background&&(k.background.color||k.background.gradient)?R+=\"\".concat(j(k.background),\"\"):!k.bkgd&&k._name&&k._name===at&&(R+=''),R=(R=R+\"\"+'')+''+'',k._slideObjects.forEach(function(n,t){var e,r=0,a=0,o=O(\"75%\",\"X\",k._presLayout),i=0,s=\"\";switch(void 0!==k._slideLayout&&void 0!==k._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(e=k._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(r=O(n.options.x,\"X\",k._presLayout)),void 0!==n.options.y&&(a=O(n.options.y,\"Y\",k._presLayout)),void 0!==n.options.w&&(o=O(n.options.w,\"X\",k._presLayout)),void 0!==n.options.h&&(i=O(n.options.h,\"Y\",k._presLayout)),e&&(!e.options.x&&0!==e.options.x||(r=O(e.options.x,\"X\",k._presLayout)),!e.options.y&&0!==e.options.y||(a=O(e.options.y,\"Y\",k._presLayout)),!e.options.w&&0!==e.options.w||(o=O(e.options.w,\"X\",k._presLayout)),!e.options.h&&0!==e.options.h||(i=O(e.options.h,\"Y\",k._presLayout))),n.options.flipH&&(s+=' flipH=\"1\"'),n.options.flipV&&(s+=' flipV=\"1\"'),n.options.rotate&&(s+=' rot=\"'+z(n.options.rotate)+'\"'),n._type){case I.table:var l,c=n.arrTabRows,p=n.options,u=0,f=0,d=(c[0].forEach(function(t){l=t.options||null,u+=l&&l.colspan?Number(l.colspan):1}),'')),d=(d+=' ')+'')+'';if(Array.isArray(p.colW)){d+=\"\";for(var h=0;h'}d+=\"\"}else{f=p.colW||B,n.options.w&&!p.colW&&(f=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/u)),d+=\"\";for(var g=0;g';d+=\"\"}c.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var r,e,n,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return\"\".concat(e,'=\"').concat(t,'\"')}).join(\" \"))&&\" \"+s;t._hmerge||t._vmerge?d+=\"\"):(r=t.options||{},t.options=r,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){p[t]&&!r[t]&&0!==r[t]&&(r[t]=p[t])}),e=r.valign?' anchor=\"'+r.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",n=(n=(t._optImp&&t._optImp.fill&&t._optImp.fill.color?t._optImp.fill.color:t._optImp&&t._optImp.fill&&\"string\"==typeof t._optImp.fill?t._optImp.fill:\"\")||r.fill?r.fill:\"\")?j(n):\"\",a=0===r.margin||r.margin?r.margin:tt,o=\"\",o=1<=(a=Array.isArray(a)||\"number\"!=typeof a?a:[a,a,a,a])[0]?' marL=\"'.concat(M(a[3]),'\" marR=\"').concat(M(a[1]),'\" marT=\"').concat(M(a[0]),'\" marB=\"').concat(M(a[2]),'\"'):' marL=\"'.concat(D(a[3]),'\" marR=\"').concat(D(a[1]),'\" marT=\"').concat(D(a[0]),'\" marB=\"').concat(D(a[2]),'\"'),d+=\"\").concat(Zt(t),\"\"),r.border&&Array.isArray(r.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){var e=Math.round(1e3*(100-r.border[t.idx].transparency)),e='');\"none\"!==r.border[t.idx].type?d=(d=(d=(d+=\"'))+\"\".concat(U(r.border[t.idx].color,e),\"\"))+''))+\"\"):d+=\"\")}),d=d+n+\" \")}),d+=\"\"}),R+=d=(d=d+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(n.options.line||0!==i||(i=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=M(n.options.margin[0]||0),n.options._bodyProp.rIns=M(n.options.margin[1]||0),n.options._bodyProp.bIns=M(n.options.margin[2]||0),n.options._bodyProp.tIns=M(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=M(n.options.margin),n.options._bodyProp.rIns=M(n.options.margin),n.options._bodyProp.bIns=M(n.options.margin),n.options._bodyProp.tIns=M(n.options.margin)),R=(R+=\"\")+''),n.options.hyperlink&&n.options.hyperlink.url&&(R+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(R+=''),R=(R=(R=(R=(R=(R+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===n._type?Xt(n):Xt(e),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===n.shape)R=(R+='')+''),null!=(w=n.options.points)&&w.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":R+='');break;case\"cubic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":R+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in t?R+=\"\":t.moveTo||0===e?R+=''):R+='')}),R+=\"\";else{if(R+='',n.options.rectRadius)R+='');else if(n.options.angleRange){for(var y=0;y<2;y++){var A=n.options.angleRange[y];R+='')}n.options.arcThicknessRatio&&(R+=''))}R+=\"\"}R+=n.options.fill?j(n.options.fill):\"\",n.options.line&&(R+=n.options.line.width?''):\"\",n.options.line.color&&(R+=j(n.options.line)),n.options.line.dashType&&(R+='')),n.options.line.beginArrowType&&(R+='')),n.options.line.endArrowType&&(R+='')),R+=\"\"),n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R=(R+=\"\")+\"')+'')+'')+\"\"),R=(R+=\"\")+Zt(n)+\"\";break;case I.image:var v,b,x,w=n.options.sizing,_=n.options.rounding,C=o,P=i,S=(S=n.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",L=(L=n.options.solidFill)?' \\n \\n \\n \\n '):\"\",E=n.options.shadow||n.options.blur,T=n.options.blur;R=(R=R+\"\"+\" \")+''),n.hyperlink&&n.hyperlink.url&&(R+='')),n.hyperlink&&n.hyperlink.slide&&(R+='')),R=(R=(R=R+\" \"+' ')+(\" \"+Xt(e)+\"\"))+\" \"+\"\",R=(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(k._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(R=(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+' ')+' ':(R=(R+='')+(n.options.transparency?' '):\"\")+S)+(T?''):\"\")+\"\",w&&w.type?(S=w.w?O(w.w,\"X\",k._presLayout):o,v=w.h?O(w.h,\"Y\",k._presLayout):i,b=O(w.x||0,\"X\",k._presLayout),x=O(w.y||0,\"Y\",k._presLayout),R+=Ht[w.type]({w:C,h:P},{w:S,h:v,x:b,y:x}),C=S,P=v):R+=\" \",R=(R=(R=(R=R+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+L,E&&(R+=\"\",n.options.shadow&&\"none\"!==n.options.shadow.type&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=M(n.options.shadow.blur||8),n.options.shadow.offset=M(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||it.color,R=(R=(R=(R=(R=(R=(R+=\"')+'')+'')+\"\"),null!=T&&T.grow&&(T.radius=M(T.radius/10||8),R+='')),R+=\"\"),R=R+\"\"+\"\";break;case I.media:R=\"online\"===n.mtype?(R=(R=(R=(R=(R+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(R=(R=(R=(R=(R=(R+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:R=(R=(R=(R=(R=(R=(R=R+\"\"+\" \")+' ')+\" \")+\" \".concat(Xt(e),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:R+=\"\"}}),k._slideNumberProps&&(k._slideNumberProps.align||(k._slideNumberProps.align=\"left\"),R=R+(' \",(k._slideNumberProps.fontFace||k._slideNumberProps.fontSize||k._slideNumberProps.color)&&(R+=''),k._slideNumberProps.color&&(R+=j(k._slideNumberProps.color)),k._slideNumberProps.fontFace&&(R+='')),R+=\"\"),R+=\"\",k._slideNumberProps.align.startsWith(\"l\")?R+='':k._slideNumberProps.align.startsWith(\"c\")?R+='':k._slideNumberProps.align.startsWith(\"r\")?R+='':R+='',R=(R+=''))+\"\".concat(k._slideNum,'')+\"\"),R=R+\"\"+\"\"}function Qt(t,e){var r=0,n=''+f+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Yt(t,e){var r,n=\"\",a=\"\",o=\"\",i=\"\",s=e?\"a:lvl1pPr\":\"a:pPr\",l=M(Z),c=\"<\".concat(s).concat(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return t.options.lineSpacing?a=''):t.options.lineSpacingMultiple&&(a='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),\"object\"==typeof t.options.bullet?(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(l=M(t.options.bullet.indent)),t.options.bullet.type?\"number\"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(t.options.indentLevel&&0')):n=t.options.bullet.characterCode?(r=\"&#x\".concat(t.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(r=\"&#x\".concat(t.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),r=u.DEFAULT),c+=' marL=\"'.concat(t.options.indentLevel&&0'):(c+=' marL=\"'.concat(t.options.indentLevel&&0'))):!0===t.options.bullet?(c+=' marL=\"'.concat(t.options.indentLevel&&0')):!1===t.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',n=\"\"),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(\"\"),i=\"\".concat(r,\"\")),c+=\">\"+a+o+n+i,e&&(c+=qt(t.options,!0)),c+=\"\"}function qt(t,e){var r,n,a,o,i=\"\",e=e?\"a:defRPr\":\"a:rPr\",i=(i=(i=(i=(i+=\"<\"+e+' lang=\"'+(t.lang||\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"))+(t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\"))+(t.hasOwnProperty(\"bold\")?' b=\"'.concat(t.bold?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"italic\")?' i=\"'.concat(t.italic?1:0,'\"'):\"\"))+(t.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof t.strike?t.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof t.underline&&null!=(r=t.underline)&&r.style?i+=' u=\"'.concat(t.underline.style,'\"'):\"string\"==typeof t.underline?i+=' u=\"'.concat(t.underline,'\"'):t.hyperlink&&(i+=' u=\"sng\"'),t.baseline?i+=' baseline=\"'.concat(Math.round(50*t.baseline),'\"'):t.subscript?i+=' baseline=\"-40000\"':t.superscript&&(i+=' baseline=\"30000\"'),i=i+(t.charSpacing?' spc=\"'.concat(Math.round(100*t.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(i+='').concat(j(t.outline.color||\"FFFFFF\"),\"\")),t.color&&(i+=j({color:t.color,transparency:t.transparency})),t.highlight&&(i+=\"\".concat(U(t.highlight),\"\")),\"object\"==typeof t.underline&&t.underline.color&&(i+=\"\".concat(j(t.underline.color),\"\")),t.glow&&(i+=\"\".concat((r=t.glow,a=\"\",n=E(n=st,r),r=Math.round(n.size*x),o=n.color,n=Math.round(1e5*n.opacity),(a+=''))+U(o,''))+\"\"),\"\")),t.fontFace&&(i+=''))),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?i+='\":\"/>\"):t.hyperlink.slide&&(i+='\":\"/>\")),t.color&&(i+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return i+=\"\")}function Zt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==I.tablecell&&(void 0===n.text||null===n.text))return\"\";var e,o,i=n._type===I.tablecell?\"\":\"\",s=(i+=(o=\"\",e.options.fit&&(\"none\"===e.options.fit?o+=\"\":\"shrink\"===e.options.fit?o+=\"\":\"resize\"===e.options.fit&&(o+=\"\")),e.options.shrinkText&&(o+=\"\"),o=o+(!1!==e.options._bodyProp.autoFit?\"\":\"\")+\"\"):o+=' wrap=\"square\" rtlCol=\"0\">',e._type===I.tablecell?\"\":o),0===a.h&&a.line&&a.align?i+='':\"placeholder\"===n._type?i+=\"\".concat(Yt(n,!0),\"\"):i+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\",\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Yt(n,!1),i+=r.replace(\"\",\"\"),Object.entries(a).forEach(function(t){var e,r=t[0],t=t[1];n.options.hyperlink&&\"color\"===r||\"bullet\"!==r&&void 0===(null==(e=n.options)?void 0:e[r])&&(n.options[r]=t)}),i+=(t=n).text?\"\".concat(qt(t.options,!1),\"\").concat(N(t.text),\"\"):\"\",(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===I.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?i=(i=(i=(i+='')+''))+''))+'')+\"\":i+='':i+=e?'':''),i+=\"\"}),i+=n._type===I.tablecell?\"\":\"\"}function Xt(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\")}function Kt(t){return''+f+''+N((e=\"\",t._slideObjects.forEach(function(t){t._type===I.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,f)))+''+t._slideNum+'';var e}function Jt(t,e,r){return Qt(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n'+f)+'')+'')+'')+'')+'',a.forEach(function(t){(t._relsMedia||[]).forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+='')})}),r=(r+='')+'',a.forEach(function(t,e){r=r+'',t._relsChart.forEach(function(t){r+=' '})}),r=(r+='')+'',e.forEach(function(t,e){r+='',(t._relsChart||[]).forEach(function(t){r+=' '})}),a.forEach(function(t,e){r+=' '}),t._relsChart.forEach(function(t){r+=' '}),t._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===r.indexOf(t.type)&&(r+=' ')}),r=(r+=' ')+' ')),l.file(\"_rels/.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),l.file(\"docProps/app.xml\",(e=c.slides,a=c.company,''.concat(f,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(e.length,\"\\n\\t\").concat(e.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(e.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(e.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(a,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),l.file(\"docProps/core.xml\",(t=c.title,e=c.subject,a=c.author,o=c.revision,'\\n\\t\\n\\t\\t'.concat(N(t),\"\\n\\t\\t\").concat(N(e),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(N(a),\"\\n\\t\\t\").concat(o,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),l.file(\"ppt/_rels/presentation.xml.rels\",function(t,e){for(var r=1,n=(n=''+f)+''+'',a=1;a<=t.length;a++)n+='';return r++,n+='',e.forEach(function(t){t.styles.forEach(function(t){t.rel.id=\"rId\".concat(r),n+='')})}),n+=\"\"}(c.slides,c.fonts)),l.file(\"ppt/theme/theme1.xml\",''.concat(f,'')),l.file(\"ppt/presentation.xml\",function(t){var e=(e=''.concat(f)+''))+''+\"\";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+=\"\")+''))+''))+''),0\",t.fonts.forEach(function(t){e=(e+=\"\")+''),t.styles.forEach(function(t){e+=\"')}),e+=\"\"}),e+=\"\"),e+=\"\";for(var r=1;r<10;r++)e+=\"')+''+\"\");return e+=\"\",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=\"\"}),e+=''),e+=\"\"}(c)),l.file(\"ppt/presProps.xml\",''.concat(f,'')),l.file(\"ppt/tableStyles.xml\",''.concat(f,'')),l.file(\"ppt/viewProps.xml\",''.concat(f,'')),c.slideLayouts.forEach(function(t,e){l.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Vt(t),\"\\n\\t\\t\")),l.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",(t=e+1,Qt(c.slideLayouts[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(t,e){var r;l.file(\"ppt/slides/slide\"+(e+1)+\".xml\",(r=t,''.concat(f)+'\")+\"\".concat(Vt(r))+\"\")),l.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",Jt(c.slides,c.slideLayouts,e+1)),l.file(\"ppt/notesSlides/notesSlide\"+(e+1)+\".xml\",Kt(t)),l.file(\"ppt/notesSlides/_rels/notesSlide\"+(e+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),l.file(\"ppt/slideMasters/slideMaster1.xml\",(n=c.masterSlide,t=(t=c.slideLayouts).map(function(t,e){return''}),e=''+f,(e+='')+Vt(n)+''+t.join(\"\")+' ')),l.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(a=c.masterSlide,(o=(o=c.slideLayouts).map(function(t,e){return{target:\"../slideLayouts/slideLayout\".concat(e+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qt(a,o))),l.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(f,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(f,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.slides.forEach(function(t){c.createChartMediaRels(t,l,s)}),c.createChartMediaRels(c.masterSlide,l,s),c.createFontRels(l,c.fonts),Promise.all(s).then(function(){return\"STREAM\"===i.outputType?l.generateAsync({type:\"nodebuffer\",compression:i.compression?\"DEFLATE\":\"STORE\"}):i.outputType?l.generateAsync({type:i.outputType}):l.generateAsync({type:\"blob\",compression:i.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[a].name,_sizeW:this.LAYOUTS[a].width,_sizeH:this.LAYOUTS[a].height,width:this.LAYOUTS[a].width,height:this.LAYOUTS[a].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:P,_name:at,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(r.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),r.prototype.stream=function(t){t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},r.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:t,outputType:e})},r.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,r=(\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\"),t=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,a=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:t,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(a,t,function(t){t?r(t):e(a)})}):e.writeFileToBrowser(a,t)})},r.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},r.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[a].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},n=(!r||(n=this.slideLayouts.filter(function(t){return t._name===r})[0])&&(t=n),new kt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(n),e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(n):console.warn('addSlide: unable to find section with title: \"'.concat(e.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(i.y)),r.addTable(t.rows,{x:i.x||f[3],y:i.y,w:Number(a)/B,colW:p,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?r.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),i.addShape&&r.addShape(i.addShape.shape,i.addShape.options||{}),i.addTable&&r.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&r.addText(i.addText.text,i.addText.options||{})})},r}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file diff --git a/dist/pptxgen.cjs.js b/dist/pptxgen.cjs.js index 206265896..7ecd0c0af 100644 --- a/dist/pptxgen.cjs.js +++ b/dist/pptxgen.cjs.js @@ -1,4 +1,4 @@ -/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.930Z */ +/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.531Z */ 'use strict'; var JSZip = require('jszip'); @@ -6232,21 +6232,6 @@ function genXmlImgSolidFill(solidFill) { * @param {ISlideObject|TableCell} slideObj - slideObj or tableCell * @note PPT text lines [lines followed by line-breaks] are created using

-aragraph's * @note Bullets are a paragragh-level formatting device - * @template - * - * - * - * - * - * - * - * - * - * textbox text - * - * - * - * * @returns XML containing the param object's text and formatting */ function genXmlTextBody(slideObj) { diff --git a/dist/pptxgen.es.js b/dist/pptxgen.es.js index f4132270e..ba14094c6 100644 --- a/dist/pptxgen.es.js +++ b/dist/pptxgen.es.js @@ -1,4 +1,4 @@ -/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:39.940Z */ +/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:45.535Z */ import JSZip from 'jszip'; /****************************************************************************** @@ -6226,21 +6226,6 @@ function genXmlImgSolidFill(solidFill) { * @param {ISlideObject|TableCell} slideObj - slideObj or tableCell * @note PPT text lines [lines followed by line-breaks] are created using

-aragraph's * @note Bullets are a paragragh-level formatting device - * @template - * - * - * - * - * - * - * - * - * - * textbox text - * - * - * - * * @returns XML containing the param object's text and formatting */ function genXmlTextBody(slideObj) { diff --git a/dist/pptxgen.min.js b/dist/pptxgen.min.js index 3b852915d..03ed1d6b8 100644 --- a/dist/pptxgen.min.js +++ b/dist/pptxgen.min.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:36.244Z */ +/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:44.223Z */ var PptxGenJS=function(){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=o(JSZip),b=function(){return(b=Object.assign||function(e){for(var t,a=1,o=arguments.length;a/g,">").replace(/"/g,""").replace(/'/g,"'")}function D(e){return"number"==typeof e&&100").concat(t,""):"")}function ye(e,t){var a,o,r,n="",l=e.stops;return r=e,Boolean((null==r?void 0:r.stops)&&"object"==typeof r.stops&&0').concat(z(a[e],o),"")}),"".concat(r.join(""),"")))+function(e){void 0===e&&(e=0);return'')}(e.angle)}function G(e){var t="solid",a="",o="",r="";if(e)switch("string"==typeof e?a=e:(e.type&&(t=e.type),e.gradient&&(t="gradient"),e.color&&(a=e.color),e.alpha&&(o+='')),e.transparency&&(o+=''))),t){case"solid":r+="".concat(z(a,o),"");break;case"gradient":r+="".concat(ye(e.gradient,o),"");break;default:r+=""}return r}function A(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function be(e,t){void 0===t&&(t="png");e=e.match(/\.(\w{3,4})(?:$|\?)/);return e?e[1]:t}function ve(e){if(e&&"object"==typeof e)return"outer"!==e.type&&"inner"!==e.type&&"none"!==e.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),e.type="outer"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359 ".concat(JSON.stringify(c))),i.push(c),c=[])),0n&&(l.push(t),t=[],a=""),t.push(e),a+=e.text.toString()}),0=l&&(l=e._lineHeight)}),p maxH) => ".concat((d/N).toFixed(2)," + ").concat((s._lineHeight/N).toFixed(2)," > ").concat(p/N)),console.log("|-----------------------------------------------------------------------|\n\n")),0a&&(a=e._lineHeight)}),y.rows.push(t),d+=a}),c=r[n]),s._lines.shift());Array.isArray(c.text)&&(s?c.text=c.text.concat(s):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:""}))),n===h.length-1&&(d+=l),n=n \n'),l.file("_rels/.rels",'\n'),l.file("docProps/app.xml",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\n'),l.file("docProps/core.xml",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+""),l.file("xl/_rels/workbook.xml.rels",''),l.file("xl/styles.xml",'\n'),l.file("xl/theme/theme1.xml",''),l.file("xl/workbook.xml",'\n'),l.file("xl/worksheets/_rels/sheet1.xml.rels",'\n'),''),p=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?c+=''):u.opts._type===v.SCATTER?c+=''):c=s?(o=y.length,y[0].labels.forEach(function(e){return o+=e.filter(function(e){return e&&""!==e}).length}),c+'')+""):(e=y.length+y[0].labels.length*y[0].labels[0].length+y[0].labels.length,r=y.length+y[0].labels.length*y[0].labels[0].length+1,c+'')+''),u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?y.forEach(function(e,t){0===t?c+="X-Axis":c=(c+="".concat(k(e.name||"Y-Axis"+t),""))+"".concat(k("Size"+t),"")}):y.forEach(function(e){c+="".concat(k((e.name||" ").replace("X-Axis","X-Values")),"")}),u.opts._type!==v.BUBBLE&&u.opts._type!==v.BUBBLE3D&&u.opts._type!==v.SCATTER&&y[0].labels.slice().reverse().forEach(function(e){e.filter(function(e){return e&&""!==e}).forEach(function(e){c+="".concat(k(e),"")})}),c+="\n",l.file("xl/sharedStrings.xml",c),''),d=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?(p=(p+=''))+''),n=1,y.forEach(function(e,t){0===t?p+=''):(p+=''),n++,p+=''))})):u.opts._type===v.SCATTER?(p=(p+='
')+'',y.forEach(function(e,t){p+=''})):(p=(p+='
')+'',y[0].labels.forEach(function(e,t){p+='')}),y.forEach(function(e,t){p+=''})),p=(p+="")+''+"
",l.file("xl/tables/table1.xml",p),'');if(d+='',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?d+=''):u.opts._type===v.SCATTER?d+=''):d+=''),d=d+''+'',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D){for(var d=(d+="")+'')+'0',h=1;h').concat(h,"");d+="",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,"");for(var a=2,o=1;o').concat(y[o].values[t]||"",""))+'').concat(y[o].sizes[t]||"",""),a++;d+=""})}else if(u.opts._type===v.SCATTER){d=(d+="")+'');for(h=0;h').concat(h,"");d+="",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,"");for(var a=1;a').concat(y[a].values[t]||0===y[a].values[t]?y[a].values[t]:"","");d+=""})}else if(d+="",s){d+='');for(h=0;h0');for(h=y[0].labels.length-1;h').concat(h,"");d+="";for(var f=y.length,m=y[0].labels[0].length,A=y[0].labels.length,h=0;h');var o=f,r=y[0].labels.slice().reverse();r.forEach(function(e,t){e[a]&&(e=0===t?1:r[t-1].filter(function(e){return e&&""!==e}).length,o+=e,d+='').concat(o,""))});for(var e=0;e').concat(y[e].values[a]||0,"");d+=""}(h)}else{d+=''),y[0].labels.forEach(function(e,t){d+='0')});for(var h=0;h').concat(h+1,"");d+="",y[0].labels[0].forEach(function(e,t){d+='');for(var a=y[0].labels.length-1;0<=a;a--)d=(d+=''))+"".concat(y.length+t+1,"")+"";for(var o=0;o').concat(y[o].values[t]||"","");d+=""})}d+='\n',l.file("xl/worksheets/sheet1.xml",d),l.generateAsync({type:"base64"}).then(function(e){g.file("ppt/embeddings/Microsoft_Excel_Worksheet"+u.globalId+".xlsx",e,{base64:!0}),g.file("ppt/charts/_rels/"+u.fileName+".rels",''+'')+""),g.file("ppt/charts/".concat(u.fileName),function(r){var n='',l=!1;n=(n+='')+'')+"",r.opts.showTitle?n=n+Oe({title:r.opts.title||"Chart Title",color:r.opts.titleColor,fontFace:r.opts.titleFontFace,fontSize:r.opts.titleFontSize||oe,titleAlign:r.opts.titleAlign,titleBold:r.opts.titleBold,titlePos:r.opts.titlePos,titleRotate:r.opts.titleRotate},r.opts.x,r.opts.y)+'':n+='';r.opts._type===v.BAR3D&&(n=(n=(n=(n=(n+="")+' ')+' ')+' ')+' ');n+="",r.opts.layout?n=(n=(n=(n=(n=(n=(n=(n+="")+' ')+' ')+' ')+' ')+' ')+' ')+" ":n+="";Array.isArray(r.opts._type)?r.opts._type.forEach(function(e){var t=R(r.opts,e.options),a=t.secondaryValAxis?se:T,o=t.secondaryCatAxis?ce:S;l=l||t.secondaryValAxis,n+=Fe(e.type,e.data,t,a,o)}):n+=Fe(r.opts._type,r.data,r.opts,T,S);if(r.opts._type!==v.PIE&&r.opts._type!==v.DOUGHNUT){if(r.opts.valAxes&&1 ')+' ')+' ')+' ')+("none"!==t.serGridLine.style?ke(t.serGridLine):""),t.showSerAxisTitle&&(o+=Oe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||"Axis Title"}));o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=' '))+' ')+' ')+' ')+(!1===t.serAxisLineShow?"":""+z(t.serAxisLineColor||C.color)+"")+' ')+" ")+" ")+" ")+" ")+' '))+" "+z(t.serAxisLabelColor||P)+"")+' ')+" ")+' ')+" ")+' ',t.serAxisLabelFrequency&&(o+=' ');t.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(e.toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.serAxisBaseTimeUnit&&(o+=' '),t.serAxisMajorTimeUnit&&(o+=' '),t.serAxisMinorTimeUnit&&(o+=' '),t.serAxisMajorUnit&&(o+=' '),t.serAxisMinorUnit&&(o+=' '));return o+=""}(r.opts,pe,T))),r.opts.catAxes&&r.opts.catAxes[1]&&(n+=Ie(R(r.opts,r.opts.catAxes[1]),ce,se))}r.opts.showDataTable&&(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+="")+' ')+' ')+' ')+' ')+" ")+' ')+" ")+'\t \t ')+'\t \t\t')+' '))+'\t\t\t\t\t\t')+'\t\t\t\t\t\t')+"\t\t \t\t")+'\t\t\t ')+"\t");n=(n=(n=(n+=" ")+(r.opts.plotArea.fill&&r.opts.plotArea.fill.color?G(r.opts.plotArea.fill):""))+(r.opts.plotArea.border?'').concat(G(r.opts.plotArea.border.color),""):"")+" ")+" ",r.opts.showLegend&&(n=(n+="")+'',(r.opts.legendFontFace||r.opts.legendFontSize||r.opts.legendColor)&&(n=(n=(n=(n+="")+" ")+" ")+(r.opts.legendFontSize?'':""),r.opts.legendColor&&(n+=G(r.opts.legendColor)),r.opts.legendFontFace&&(n+=''),r.opts.legendFontFace&&(n+=''),n=(n=(n+=" ")+' ')+" "),n+="");n=(n+=' ')+' ',r.opts._type===v.SCATTER&&(n+='');return n=(n=(n=(n=(n+="")+(r.opts.chartArea.fill&&r.opts.chartArea.fill.color?G(r.opts.chartArea.fill):""))+(r.opts.chartArea.border?'').concat(G(r.opts.chartArea.border.color),""):""))+" ")+''}(u)),t(null)}).catch(function(e){a(e)})})}function Fe(o,r,n,e,t){var l="";switch(o){case v.AREA:case v.BAR:case v.BAR3D:case v.LINE:case v.RADAR:l+=""),o===v.AREA&&"stacked"===n.barGrouping&&(l+=''),o!==v.BAR&&o!==v.BAR3D||(l=(l+='')+''),o===v.RADAR&&(l+=''),l+='';var i=-1;r.forEach(function(e){i++,l=(l=(l=(l=(l+="")+' ')+' ')+" Sheet1!$"+E(e._dataIndex+e.labels.length+1)+"$1")+' '+k(e.name)+" ";var t=n.chartColors?n.chartColors[i%n.chartColors.length]:null;l+=" ","transparent"===t?l+="":n.chartColorsOpacity?l+=""+z(t,''))+"":l+=""+z(t)+"",o===v.LINE||o===v.RADAR?0===n.lineSize?l+="":l=(l+=''+z(t)+"")+'':n.dataBorder&&(l+=''+z(n.dataBorder.color)+''),l=l+u(n.shadow,c)+' ',o!==v.RADAR&&(l=(l+="")+''),n.dataLabelBkgrdColors&&(l+="".concat(z(t),"")),l=(l=(l=(l+="")+''))+"".concat(z(n.dataLabelColor||P),""))+'')+"",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+""),o!==v.LINE&&o!==v.RADAR||(l=(l+="")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=" ")+" "+z(n.chartColors[e._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e._dataIndex])+"")+' '+z(n.lineDataSymbolLineColor||t)+' '),o!==v.BAR&&o!==v.BAR3D||1!==r.length||!(n.chartColors&&n.chartColors!==he&&1")+' ',0===n.lineSize?l+="":l=o===v.BAR?(l+="")+' ':(l+=" ")+' ',l=l+u(n.shadow,c)+" "}),l+="",n.catLabelFormatCode?(l=(l=(l=(l+=" ")+" Sheet1!$A$2:$A$"+(e.labels[0].length+1)+" ")+" "+(n.catLabelFormatCode||"General")+"")+' ',e.labels[0].forEach(function(e,t){l+=''+k(e)+""}),l+=" "):(l=(l=(l+=" ")+" Sheet1!$A$2:$"+E(e.labels.length)+"$"+(e.labels[0].length+1)+" ")+'\t ',e.labels.forEach(function(e){l+=" ",e.forEach(function(e,t){l+=''+k(e)+""}),l+=" "}),l+=" "),l=(l=(l=(l=l+""+" ")+"Sheet1!$".concat(E(e._dataIndex+e.labels.length+1),"$2:$").concat(E(e._dataIndex+e.labels.length+1),"$").concat(e.labels[0].length+1,"")+" ")+" "+(n.valLabelFormatCode||n.dataTableFormatCode||"General")+"")+' ',e.values.forEach(function(e,t){return l+='').concat(e||0===e?e:"","")}),l+=" ",o===v.LINE&&(l+=''),l+=""}),l=(l=(l=(l=(l+=" ")+' ')+" ")+' ')+" "+z(n.dataLabelColor||P)+"")+' ',n.dataLabelPosition&&(l+=' '),l=(l=(l+=' ')+' ')+' ')+" ",o===v.BAR?l=(l+=' ')+' ':o===v.BAR3D?l=(l=(l+=' ')+' ')+' ':o===v.LINE&&(l+=' '),l=(l+=''))+"");break;case v.SCATTER:l=(l+="")+''+'',i=-1,r.filter(function(e,t){return 0")+' ')+" Sheet1!$"+E(e+2)+"$1")+' '+k(a.name)+" ";var o,t=n.chartColors[i%n.chartColors.length];"transparent"===t?l+="":n.chartColorsOpacity?l+=""+z(t,'')+"":l+=""+z(t)+"",0===n.lineSize?l+="":l=(l+=''+z(t)+"")+'',l=(l=(l+=u(n.shadow,c))+" "+"")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=" ")+" "+z(n.chartColors[e+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e])+"")+' '+z(n.lineDataSymbolLineColor||n.chartColors[i%n.chartColors.length])+' ',n.showLabel&&(o=Ae("-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),!a.labels[0]||"custom"!==n.dataLabelFormatScatter&&"customXY"!==n.dataLabelFormatScatter||(l+="",a.labels[0].forEach(function(e,t){"custom"!==n.dataLabelFormatScatter&&"customXY"!==n.dataLabelFormatScatter||(l=(l=(l=(l+=" ")+' \t\t\t\t\t\t\t\t\t\t \t \t\t\t\t\t\t\t\t\t\t\t\t\t\t \t')+' \t\t')+" \t\t"+k(e)+" \t",l=("customXY"!==n.dataLabelFormatScatter||/^ *$/.test(e)?l:(l=(l=(l=(l=(l=(l=(l=(l=(l=(l+=" \t")+' \t\t \t\t ( \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+k(a.name)+" \t \t")+' \t\t \t\t, \t')+' \t')+' \t\t \t\t \t\t\t \t\t')+" \t\t["+k(a.name)+"] \t \t")+' \t\t \t\t) \t')+' \t')+" \t \t \t \t\t \t \t ",n.dataLabelPosition&&(l+=' '),l=(l+=' \t ')+'\t\t\t \t\t')}),l+=""),"XY"===n.dataLabelFormatScatter&&(l+='\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t \t\t\t \t\t \t\t\t\t',n.dataLabelPosition&&(l+=' '),l=(l=(l+='\t')+' '))+' ')+'\t\t\t\t\t\t\t\t\t\t\t\t')),1===r.length&&n.chartColors!==he&&a.values.forEach(function(e,t){e=e<0?n.invertedColors||n.chartColors||he:n.chartColors||[];l=(l+=" ")+' ',0===n.lineSize?l+="":l=(l+="")+' ',l=l+u(n.shadow,c)+" "}),l=(l=(l+=" ")+" Sheet1!$A$2:$A$"+(r[0].values.length+1)+" General")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:"")+""}),l=(l=(l+=" ")+" Sheet1!$"+E(e+2)+"$2:$"+E(e+2)+"$"+(r[0].values.length+1)+" General")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),l=(l+=" ")+''}),l=(l=(l=(l=(l+=" ")+' ')+" ")+' ')+" "+z(n.dataLabelColor||P)+"")+' ',n.dataLabelPosition&&(l+=' '),l=(l+=' ')+' ',l=(l+=''))+("");break;case v.BUBBLE:case v.BUBBLE3D:var l=l+""+'',i=-1,s=1;r.filter(function(e,t){return 0")+' ')+" Sheet1!$"+E(s+1)+"$1")+' '+k(a.name)+" ";e=n.chartColors[i%n.chartColors.length];"transparent"===e?l+="":n.chartColorsOpacity?l+=""+z(e,'')+"":l+=""+z(e)+"",0===n.lineSize?l+="":n.dataBorder?l+=''+z(n.dataBorder.color)+'':l=(l+=''+z(e)+"")+'',l=l+u(n.shadow,c)+"",l=(l=(l+=" ")+" Sheet1!$A$2:$A$"+(r[0].values.length+1)+" General")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:"")+""}),l=(l+=" ")+" Sheet1!$"+E(s+1)+"$2:$"+E(s+1)+"$"+(r[0].values.length+1)+"",s++,l=(l+=" General")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),l=(l+=" ")+" Sheet1!$"+E(s+1)+"$2:$"+E(s+1)+"$"+(a.sizes.length+1)+"",s++,l=(l+=" General")+'\t ',a.sizes.forEach(function(e,t){l+=''+(e||"")+""}),l=(l+=" ")+' '}),l=(l=(l=(l=(l+="")+'')+"")+''))+"".concat(z(n.dataLabelColor||P),""))+'')+"",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+"";break;case v.DOUGHNUT:case v.PIE:var a=r[0];l=(l+="")+' '+"",n.chartPieExplosion&&Number.isInteger(n.chartPieExplosion)&&(l+=' '),l=(l=(l=(l=(l=(l=(l=(l+=' ')+' '+" ")+" "+" Sheet1!$B$1")+" "+' ')+(' '+k(a.name)+""))+" "+" ")+" "+" ")+' '+' ',n.dataNoEffects?l+="":l+=u(n.shadow,c),l+=" ",a.labels[0].forEach(function(e,t){l=(l=(l+="")+' ')+' ')+"".concat(z(n.chartColors[t+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):t]),""),n.dataBorder&&(l+='').concat(z(n.dataBorder.color),'')),l=l+u(n.shadow,c)+" "}),l+="",a.labels[0].forEach(function(e,t){l=(l=(l=(l=(l=(l+="")+' '))+' ')+" ")+' '))+" "+z(n.dataLabelColor||P)+"")+' ')+" ",o===v.PIE&&n.dataLabelPosition&&(l+=' ')),l=(l=(l=(l+=' ')+' ')+' ')+' '}),l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=l+' ')+"\t")+"\t "+"\t ")+"\t "+"\t\t")+('\t\t ')+'\t\t\t')+"\t\t "+"\t\t")+"\t "+"\t")+(o===v.PIE?'':""))+'\t'+'\t')+'\t'+'\t')+'\t'+'\t')+' ')+"")+""+" ")+(" Sheet1!$A$2:$A$"+(a.labels[0].length+1)+"")+" ")+('\t '),a.labels[0].forEach(function(e,t){l+=''+k(e)+""}),l=(l=(l=(l=(l+=" ")+" "+"")+" "+" ")+(" Sheet1!$B$2:$B$"+(a.labels[0].length+1)+"")+" ")+('\t '),a.values.forEach(function(e,t){l+=''+(e||0===e?e:"")+""}),l=(l=(l=l+" "+" ")+" "+" ")+' '),o===v.DOUGHNUT&&(l+=' '),l+="";break;default:l+=""}return l}function Ie(t,e,a){var o="";return t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+="":o+="",o=(o+=' ')+" "+(''),!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(o+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(o+=''),o=(o=(o=o+""+(' '))+(' '))+("none"!==t.catGridLine.style?ke(t.catGridLine):""),t.showCatAxisTitle&&(o+=Oe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||"Axis Title"})),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=' ':o+=' ',t._type===v.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=" ")+(' '))+(!1===t.catAxisLineShow?"":""+z(t.catAxisLineColor||C.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+z(t.catAxisLabelColor||P)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" ')+' ')+' '+(' '),t.catAxisLabelFrequency&&(o+=' '),!t.catLabelFormatCode&&t._type!==v.SCATTER&&t._type!==v.BUBBLE&&t._type!==v.BUBBLE3D||(t.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(t[e].toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.catAxisBaseTimeUnit&&(o+=''),t.catAxisMajorTimeUnit&&(o+=''),t.catAxisMinorTimeUnit&&(o+='')),t.catAxisMajorUnit&&(o+=''),t.catAxisMinorUnit&&(o+='')),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+="":o+="",o}function Ne(e,t){var a=t===T?"col"===e.barDir?"l":"b":"col"!==e.barDir?"r":"t",o="r"===(a=t===se?"r":a)||"t"===a,r=t===T?S:ce,n="",n=(n+="")+(' ')+" ";return e.valAxisLogScaleBase&&(n+='')),n+='',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(n+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(n+=''),n=(n+=" ")+(' ')+(' '),"none"!==e.valGridLine.style&&(n+=ke(e.valGridLine)),e.showValAxisTitle&&(n+=Oe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),n+=''),e._type===v.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=" ")+(' '))+(!1===e.valAxisLineShow?"":""+z(e.valAxisLineColor||C.color)+""))+(' '))+" "+" ")+" "+" ")+(" ")+" ")+" "+" ")+(' '))+(" "+z(e.valAxisLabelColor||P)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" '))+(' '),e.valAxisMajorUnit&&(n+=' '),e.valAxisDisplayUnit&&(n+='').concat(e.valAxisDisplayUnitLabel?"":"","")),n+=""}function Oe(e,t,a){var o="left"===e.titleAlign||"right"===e.titleAlign?''):"",r=e.titleRotate?''):"",n=e.fontSize?'sz="'+Math.round(100*e.fontSize)+'"':"",l=!0===e.titleBold?1:0,i="";return e.titlePos&&"number"==typeof e.titlePos.x&&"number"==typeof e.titlePos.y&&(1<=(t=0===(t=e.titlePos.x+t)?0:t*(t/5)/10)&&(t/=10),.1<=t&&(t/=10),1<=(a=0===(a=e.titlePos.y+a)?0:a*(a/5)/10)&&(a/=10),.1<=a&&(a/=10),i='')),"\n\t \n\t \n\t ".concat(r,"\n\t \n\t \n\t ").concat(o,"\n\t \n\t ').concat(z(e.color||P),'\n\t \n\t \n\t \n\t \n\t \n\t ').concat(z(e.color||P),'\n\t \n\t \n\t ').concat(k(e.title)||"","\n\t \n\t \n\t \n\t \n\t ").concat(i,'\n\t \n\t')}function E(e){e-=1;return e<=25?de[e]:"".concat(de[Math.floor(e/de.length-1)]).concat(de[e%de.length])}function u(e,t){if(!e)return"";if("object"!=typeof e)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var a="",t=R(t,e),e=t.type||"outer",o=M(t.blur),r=M(t.offset),n=Math.round(6e4*t.angle),l=t.color,i=Math.round(1e5*t.opacity);return(a+="')+('')+('')+("")+""}function ke(e){var t="";return(t+=" ")+(' ')+(' ')+(' ')+" "+" "+""}function De(e){return"object"==typeof e&&ze.includes(e.name)&&(e.path||e.data)}function Me(e){return"object"==typeof e&&""!==e.name&&Ge(e.styles)}var Ue=function(r){return new Promise(function(t,a){var o=new XMLHttpRequest;o.onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,t("done")},e.readAsDataURL(o.response)},o.onerror=function(e){a("ERROR! Unable to load font (xhr.onerror): ".concat(r.path))},o.open("GET",r.path),o.responseType="blob",o.send()})},ze=["regular","bold","italic","boldItalic"],Ge=function(e){return Array.isArray(e)&&e.every(De)};function je(e){var n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,l="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,t=[],i=e._relsMedia.filter(function(e){return"online"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf("preencoded"))}),a=[];return i.forEach(function(e){-1===a.indexOf(e.path)?(e.isDuplicate=!1,a.push(e.path)):e.isDuplicate=!0}),i.filter(function(e){return!e.isDuplicate}).forEach(function(r){t.push(new Promise(function(a,o){var t;if(n&&0!==r.path.indexOf("http"))try{var e=n.readFileSync(r.path);r.data=Buffer.from(e).toString("base64"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a("done")}catch(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o('ERROR: Unable to read media: "'+r.path+'"\n'+e.toString())}else n&&l&&0===r.path.indexOf("http")?l.get(r.path,function(e){var t="";e.setEncoding("binary"),e.on("data",function(e){return t+=e}),e.on("end",function(){r.data=Buffer.from(t,"binary").toString("base64"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a("done")}),e.on("error",function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o("ERROR! Unable to load image (https.get): ".concat(r.path))})}):((t=new XMLHttpRequest).onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),r.isSvgPng?We(r).then(function(){a("done")}).catch(function(e){o(e)}):a("done")},e.readAsDataURL(t.response)},t.onerror=function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o("ERROR! Unable to load image (xhr.onerror): ".concat(r.path))},t.open("GET",r.path),t.responseType="blob",t.send())}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){n?(e.data=f,t.push(Promise.resolve().then(function(){return"done"}))):t.push(We(e))}),t}function We(r){return new Promise(function(a,t){var o=new Image;o.onload=function(){o.width+o.height===0&&o.onerror("h/w=0");var e=document.createElement("CANVAS"),t=e.getContext("2d");e.width=o.width,e.height=o.height,t.drawImage(o,0,0);try{r.data=e.toDataURL(r.type),a("done")}catch(e){o.onerror(e)}},o.onerror=function(e){r.data=f,t("ERROR! Unable to load image (image.onerror): ".concat(r.path))},o.src="string"==typeof r.data?r.data:f})}var He={cover:function(e,t){var e=e.h/e.w,a=e'},contain:function(e,t){var e=e.h/e.w,a=e'},crop:function(e,t){var a=t.x,o=e.w-(t.x+t.w),r=t.y,t=e.h-(t.y+t.h);return''}};function Ve(_){var B=_._name?'':"",F=1;return _._bkgdImgRid?B+=''):_.background&&(_.background.color||_.background.gradient)?B+="".concat(G(_.background),""):!_.bkgd&&_._name&&_._name===re&&(B+=''),B=(B=B+""+'')+''+'',_._slideObjects.forEach(function(o,e){var t,a=0,r=0,n=O("75%","X",_._presLayout),l=0,i="";switch(void 0!==_._slideLayout&&void 0!==_._slideLayout._slideObjects&&o.options&&o.options.placeholder&&(t=_._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===o.options.placeholder})[0]),o.options=o.options||{},void 0!==o.options.x&&(a=O(o.options.x,"X",_._presLayout)),void 0!==o.options.y&&(r=O(o.options.y,"Y",_._presLayout)),void 0!==o.options.w&&(n=O(o.options.w,"X",_._presLayout)),void 0!==o.options.h&&(l=O(o.options.h,"Y",_._presLayout)),t&&(!t.options.x&&0!==t.options.x||(a=O(t.options.x,"X",_._presLayout)),!t.options.y&&0!==t.options.y||(r=O(t.options.y,"Y",_._presLayout)),!t.options.w&&0!==t.options.w||(n=O(t.options.w,"X",_._presLayout)),!t.options.h&&0!==t.options.h||(l=O(t.options.h,"Y",_._presLayout))),o.options.flipH&&(i+=' flipH="1"'),o.options.flipV&&(i+=' flipV="1"'),o.options.rotate&&(i+=' rot="'+U(o.options.rotate)+'"'),o._type){case I.table:var s,c=o.arrTabRows,p=o.options,d=0,h=0,f=(c[0].forEach(function(e){s=e.options||null,d+=s&&s.colspan?Number(s.colspan):1}),'')),f=(f+=' ')+'')+'';if(Array.isArray(p.colW)){f+="";for(var m=0;m'}f+=""}else{h=p.colW||N,o.options.w&&!p.colW&&(h=Math.round(("number"==typeof o.options.w?o.options.w:1)/d)),f+="";for(var u=0;u';f+=""}c.forEach(function(r){for(var n,l,e=0;e'),e.forEach(function(e){var a,t,o,r,n,l={rowSpan:1<(null==(i=e.options)?void 0:i.rowspan)?e.options.rowspan:void 0,gridSpan:1<(null==(i=e.options)?void 0:i.colspan)?e.options.colspan:void 0,vMerge:e._vmerge?1:void 0,hMerge:e._hmerge?1:void 0},i=(i=Object.keys(l).map(function(e){return[e,l[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){var t=e[0],e=e[1];return"".concat(t,'="').concat(e,'"')}).join(" "))&&" "+i;e._hmerge||e._vmerge?f+=""):(a=e.options||{},e.options=a,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(e){p[e]&&!a[e]&&0!==a[e]&&(a[e]=p[e])}),t=a.valign?' anchor="'+a.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",o=(o=(e._optImp&&e._optImp.fill&&e._optImp.fill.color?e._optImp.fill.color:e._optImp&&e._optImp.fill&&"string"==typeof e._optImp.fill?e._optImp.fill:"")||a.fill?a.fill:"")?G(o):"",r=0===a.margin||a.margin?a.margin:ee,n="",n=1<=(r=Array.isArray(r)||"number"!=typeof r?r:[r,r,r,r])[0]?' marL="'.concat(M(r[3]),'" marR="').concat(M(r[1]),'" marT="').concat(M(r[0]),'" marB="').concat(M(r[2]),'"'):' marL="'.concat(D(r[3]),'" marR="').concat(D(r[1]),'" marT="').concat(D(r[0]),'" marB="').concat(D(r[2]),'"'),f+="").concat(Xe(e),""),a.border&&Array.isArray(a.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(e){var t=Math.round(1e3*(100-a.border[e.idx].transparency)),t='');"none"!==a.border[e.idx].type?f=(f=(f=(f+="'))+"".concat(z(a.border[e.idx].color,t),""))+''))+""):f+="")}),f=f+o+" ")}),f+=""}),B+=f=(f=f+" "+" ")+" "+"",F++;break;case I.text:case I.placeholder:if(o.options.line||0!==l||(l=.3*N),o.options._bodyProp||(o.options._bodyProp={}),o.options.margin&&Array.isArray(o.options.margin)?(o.options._bodyProp.lIns=M(o.options.margin[0]||0),o.options._bodyProp.rIns=M(o.options.margin[1]||0),o.options._bodyProp.bIns=M(o.options.margin[2]||0),o.options._bodyProp.tIns=M(o.options.margin[3]||0)):"number"==typeof o.options.margin&&(o.options._bodyProp.lIns=M(o.options.margin),o.options._bodyProp.rIns=M(o.options.margin),o.options._bodyProp.bIns=M(o.options.margin),o.options._bodyProp.tIns=M(o.options.margin)),B=(B+="")+''),o.options.hyperlink&&o.options.hyperlink.url&&(B+=''),o.options.hyperlink&&o.options.hyperlink.slide&&(B+=''),B=(B=(B=(B=(B=(B+="")+("':"/>")))+"".concat("placeholder"===o._type?Ke(o):Ke(t),"")+"")+""))+''))+''),"custGeom"===o.shape)B=(B+='')+''),null!=(C=o.options.points)&&C.map(function(e,t){if("curve"in e)switch(e.curve.type){case"arc":B+='');break;case"cubic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t');break;case"quadratic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t')}else"close"in e?B+="":e.moveTo||0===t?B+=''):B+='')}),B+="";else{if(B+='',o.options.rectRadius)B+='');else if(o.options.angleRange){for(var g=0;g<2;g++){var y=o.options.angleRange[g];B+='')}o.options.arcThicknessRatio&&(B+=''))}B+=""}B+=o.options.fill?G(o.options.fill):"",o.options.line&&(B+=o.options.line.width?''):"",o.options.line.color&&(B+=G(o.options.line)),o.options.line.dashType&&(B+='')),o.options.line.beginArrowType&&(B+='')),o.options.line.endArrowType&&(B+='')),B+=""),o.options.shadow&&"none"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B=(B+="")+"')+'')+'')+""),B=(B+="")+Xe(o)+"";break;case I.image:var b,v,x,C=o.options.sizing,P=o.options.rounding,L=n,w=l,T=(T=o.options.fillOverlay)?' \n \n \n \n \n \n '):"",S=(S=o.options.solidFill)?' \n \n \n \n '):"",R=o.options.shadow||o.options.blur,E=o.options.blur;B=(B=B+""+" ")+''),o.hyperlink&&o.hyperlink.url&&(B+='')),o.hyperlink&&o.hyperlink.slide&&(B+='')),B=(B=(B=B+" "+' ')+(" "+Ke(t)+""))+" "+"",B=(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0]&&"svg"===(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0].extn?(B=(B=(B+='')+(o.options.transparency?' '):"")+T)+(E?''):"")+' ')+' ':(B=(B+='')+(o.options.transparency?' '):"")+T)+(E?''):"")+"",C&&C.type?(T=C.w?O(C.w,"X",_._presLayout):n,b=C.h?O(C.h,"Y",_._presLayout):l,v=O(C.x||0,"X",_._presLayout),x=O(C.y||0,"Y",_._presLayout),B+=He[C.type]({w:L,h:w},{w:T,h:b,x:v,y:x}),L=T,w=b):B+=" ",B=(B=(B=(B=B+""+"")+(" ")+(' '))+(' ')+" ")+(' ')+S,R&&(B+="",o.options.shadow&&"none"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||"outer",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B+="')+'')+'')+""),null!=E&&E.grow&&(E.radius=M(E.radius/10||8),B+='')),B+=""),B=B+""+"";break;case I.media:B="online"===o.mtype?(B=(B=(B=(B=(B+=" ")+'')+" ")+' ')+' ')+" ")+' ':(B=(B=(B=(B=(B=(B+=" ")+'')+' ')+' ')+' ')+' ')+" ")+' ';break;case I.chart:B=(B=(B=(B=(B=(B=(B=B+""+" ")+' ')+" ")+" ".concat(Ke(t),"")+" ")+' '))+' '+' ')+' ')+" ")+" "+"";break;default:B+=""}}),_._slideNumberProps&&(_._slideNumberProps.align||(_._slideNumberProps.align="left"),B=B+(' '),_._slideNumberProps.color&&(B+=G(_._slideNumberProps.color)),_._slideNumberProps.fontFace&&(B+='')),B+=""),B+="",_._slideNumberProps.align.startsWith("l")?B+='':_._slideNumberProps.align.startsWith("c")?B+='':_._slideNumberProps.align.startsWith("r")?B+='':B+='',B=(B+=''))+"".concat(_._slideNum,'')+""),B=B+""+""}function Qe(e,t){var a=0,o=''+h+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':o+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),o+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':o+='':-1':o+='':-1':o+='')}),t.forEach(function(e,t){o+=''}),o+=""}function Ye(e,t){var a,o="",r="",n="",l="",i=t?"a:lvl1pPr":"a:pPr",s=M(X),c="<".concat(i).concat(e.options.rtlMode?' rtl="1" ':"");if(e.options.align)switch(e.options.align){case"left":c+=' algn="l"';break;case"right":c+=' algn="r"';break;case"center":c+=' algn="ctr"';break;case"justify":c+=' algn="just"';break;default:c+=""}return e.options.lineSpacing?r=''):e.options.lineSpacingMultiple&&(r='')),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0')),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0')),"object"==typeof e.options.bullet?(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(s=M(e.options.bullet.indent)),e.options.bullet.type?"number"===e.options.bullet.type.toString().toLowerCase()&&(c+=' marL="'.concat(e.options.indentLevel&&0')):o=e.options.bullet.characterCode?(a="&#x".concat(e.options.bullet.characterCode,";"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),a=d.DEFAULT),c+=' marL="'.concat(e.options.indentLevel&&0'):e.options.bullet.code?(a="&#x".concat(e.options.bullet.code,";"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),a=d.DEFAULT),c+=' marL="'.concat(e.options.indentLevel&&0'):(c+=' marL="'.concat(e.options.indentLevel&&0'))):!0===e.options.bullet?(c+=' marL="'.concat(e.options.indentLevel&&0')):!1===e.options.bullet&&(c+=' indent="0" marL="0"',o=""),e.options.tabStops&&Array.isArray(e.options.tabStops)&&(a=e.options.tabStops.map(function(e){return'')}).join(""),l="".concat(a,"")),c+=">"+r+n+o+l,t&&(c+=qe(e.options,!0)),c+=""}function qe(e,t){var a,o,r,n,l="",t=t?"a:defRPr":"a:rPr",l=(l=(l=(l=(l+="<"+t+' lang="'+(e.lang||"en-US")+'"'+(e.lang?' altLang="en-US"':""))+(e.fontSize?' sz="'+Math.round(e.fontSize)+'00"':""))+(e.hasOwnProperty("bold")?' b="'.concat(e.bold?1:0,'"'):""))+(e.hasOwnProperty("italic")?' i="'.concat(e.italic?1:0,'"'):""))+(e.hasOwnProperty("strike")?' strike="'.concat("string"==typeof e.strike?e.strike:"sngStrike",'"'):"");if("object"==typeof e.underline&&null!=(a=e.underline)&&a.style?l+=' u="'.concat(e.underline.style,'"'):"string"==typeof e.underline?l+=' u="'.concat(e.underline,'"'):e.hyperlink&&(l+=' u="sng"'),e.baseline?l+=' baseline="'.concat(Math.round(50*e.baseline),'"'):e.subscript?l+=' baseline="-40000"':e.superscript&&(l+=' baseline="30000"'),l=l+(e.charSpacing?' spc="'.concat(Math.round(100*e.charSpacing),'" kern="0"'):"")+' dirty="0">',(e.color||e.fontFace||e.outline||"object"==typeof e.underline&&e.underline.color)&&(e.outline&&"object"==typeof e.outline&&(l+='').concat(G(e.outline.color||"FFFFFF"),"")),e.color&&(l+=G({color:e.color,transparency:e.transparency})),e.highlight&&(l+="".concat(z(e.highlight),"")),"object"==typeof e.underline&&e.underline.color&&(l+="".concat(G(e.underline.color),"")),e.glow&&(l+="".concat((a=e.glow,r="",o=R(o=ie,a),a=Math.round(o.size*x),n=o.color,o=Math.round(1e5*o.opacity),(r+=''))+z(n,''))+""),"")),e.fontFace&&(l+=''))),e.hyperlink){if("object"!=typeof e.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");e.hyperlink.url?l+='":"/>"):e.hyperlink.slide&&(l+='":"/>")),e.color&&(l+='\t\t\t\t\t\t\t\t\t')}return l+="")}function Xe(o){var r=o.options||{},e=[],a=[];if(r&&o._type!==I.tablecell&&(void 0===o.text||null===o.text))return"";var t,n,l=o._type===I.tablecell?"":"",i=(l+=(n="":"resize"===t.options.fit&&(n+="")),t.options.shrinkText&&(n+=""),n=n+(!1!==t.options._bodyProp.autoFit?"":"")+""):n+=' wrap="square" rtlCol="0">',t._type===I.tablecell?"":n),0===r.h&&r.line&&r.align?l+='':"placeholder"===o._type?l+="".concat(Ye(o,!0),""):l+="","string"==typeof o.text||"number"==typeof o.text?e.push({text:o.text.toString(),options:r||{}}):o.text&&!Array.isArray(o.text)&&"object"==typeof o.text&&-1",""),o.options.align=o.options.align||r.align,o.options.lineSpacing=o.options.lineSpacing||r.lineSpacing,o.options.lineSpacingMultiple=o.options.lineSpacingMultiple||r.lineSpacingMultiple,o.options.indentLevel=o.options.indentLevel||r.indentLevel,o.options.paraSpaceBefore=o.options.paraSpaceBefore||r.paraSpaceBefore,o.options.paraSpaceAfter=o.options.paraSpaceAfter||r.paraSpaceAfter,a=Ye(o,!1),l+=a.replace("",""),Object.entries(r).forEach(function(e){var t,a=e[0],e=e[1];o.options.hyperlink&&"color"===a||"bullet"!==a&&void 0===(null==(t=o.options)?void 0:t[a])&&(o.options[a]=e)}),l+=(e=o).text?"".concat(qe(e.options,!1),"").concat(k(e.text),""):"",(!o.text&&r.fontSize||o.options.fontSize)&&(t=!0,r.fontSize=r.fontSize||o.options.fontSize)}),o._type===I.tablecell&&(r.fontSize||r.fontFace)?r.fontFace?l=(l=(l=(l+='')+''))+''))+'')+"":l+='':l+=t?'':''),l+=""}),l+=o._type===I.tablecell?"":""}function Ke(e){if(!e)return"";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:"",a=e.options&&e.options._placeholderType?e.options._placeholderType:"";return"")}function Je(e){return''+h+''+k((t="",e._slideObjects.forEach(function(e){e._type===I.notes&&(t+=e.text&&e.text[0]?e.text[0].text:"")}),t.replace(/\r*\n/g,h)))+''+e._slideNum+'';var t}function Ze(e,t,a){return Qe(e[a-1],[{target:"../slideLayouts/slideLayout"+function(e,t,a){for(var o=0;o'+h)+'')+'')+'')+'')+'',r.forEach(function(e){(e._relsMedia||[]).forEach(function(e){"image"!==e.type&&"online"!==e.type&&"chart"!==e.type&&"m4v"!==e.extn&&-1===a.indexOf(e.type)&&(a+='')})}),a=(a+='')+'',r.forEach(function(e,t){a=a+'',e._relsChart.forEach(function(e){a+=' '})}),a=(a+='')+'',t.forEach(function(e,t){a+='',(e._relsChart||[]).forEach(function(e){a+=' '})}),r.forEach(function(e,t){a+=' '}),e._relsChart.forEach(function(e){a+=' '}),e._relsMedia.forEach(function(e){"image"!==e.type&&"online"!==e.type&&"chart"!==e.type&&"m4v"!==e.extn&&-1===a.indexOf(e.type)&&(a+=' ')}),a=(a+=' ')+' ')),s.file("_rels/.rels",''.concat(h,'\n\t\t\n\t\t\n\t\t\n\t\t')),s.file("docProps/app.xml",(t=c.slides,r=c.company,''.concat(h,'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t').concat(t.length,"\n\t").concat(t.length,'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t').concat(t.length,'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t').concat(t.map(function(e,t){return"Slide "+(t+1)+"\n"}).join(""),"\n\t\t\n\t\n\t").concat(r,"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"))),s.file("docProps/core.xml",(e=c.title,t=c.subject,r=c.author,n=c.revision,'\n\t\n\t\t'.concat(k(e),"\n\t\t").concat(k(t),"\n\t\t").concat(k(r),"\n\t\t").concat(k(r),"\n\t\t").concat(n,'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),"\n\t"))),s.file("ppt/_rels/presentation.xml.rels",function(e,t){for(var a=1,o=(o=''+h)+''+'',r=1;r<=e.length;r++)o+='';return a++,o+='',t.forEach(function(e){e.styles.forEach(function(e){e.rel.id="rId".concat(a),o+='')})}),o+=""}(c.slides,c.fonts)),s.file("ppt/theme/theme1.xml",''.concat(h,'')),s.file("ppt/presentation.xml",function(e){var t=(t=''.concat(h)+''))+''+"";e.slides.forEach(function(e){return t+='')}),t=(t=(t=(t+="")+''))+''))+''),0",e.fonts.forEach(function(e){t=(t+="")+''),e.styles.forEach(function(e){t+="')}),t+=""}),t+=""),t+="";for(var a=1;a<10;a++)t+="')+''+"");return t+="",e.sections&&0',e.sections.forEach(function(e){t+=''),e._slides.forEach(function(e){return t+='')}),t+=""}),t+=''),t+=""}(c)),s.file("ppt/presProps.xml",''.concat(h,'')),s.file("ppt/tableStyles.xml",''.concat(h,'')),s.file("ppt/viewProps.xml",''.concat(h,'')),c.slideLayouts.forEach(function(e,t){s.file("ppt/slideLayouts/slideLayout"+(t+1)+".xml",'\n\t\t\n\t\t'.concat(Ve(e),"\n\t\t")),s.file("ppt/slideLayouts/_rels/slideLayout"+(t+1)+".xml.rels",(e=t+1,Qe(c.slideLayouts[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])))}),c.slides.forEach(function(e,t){var a;s.file("ppt/slides/slide"+(t+1)+".xml",(a=e,''.concat(h)+'")+"".concat(Ve(a))+"")),s.file("ppt/slides/_rels/slide"+(t+1)+".xml.rels",Ze(c.slides,c.slideLayouts,t+1)),s.file("ppt/notesSlides/notesSlide"+(t+1)+".xml",Je(e)),s.file("ppt/notesSlides/_rels/notesSlide"+(t+1)+".xml.rels",'\n\t\t\n\t\t\t\n\t\t\t\n\t\t'))}),s.file("ppt/slideMasters/slideMaster1.xml",(o=c.masterSlide,e=(e=c.slideLayouts).map(function(e,t){return''}),t=''+h,(t+='')+Ve(o)+''+e.join("")+' ')),s.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",(r=c.masterSlide,(n=(n=c.slideLayouts).map(function(e,t){return{target:"../slideLayouts/slideLayout".concat(t+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}})).push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Qe(r,n))),s.file("ppt/notesMasters/notesMaster1.xml",''.concat(h,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),s.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''.concat(h,'\n\t\t\n\t\t')),c.slideLayouts.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.slides.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.createChartMediaRels(c.masterSlide,s,i),c.createFontRels(s,c.fonts),Promise.all(i).then(function(){return"STREAM"===l.outputType?s.generateAsync({type:"nodebuffer",compression:l.compression?"DEFLATE":"STORE"}):l.outputType?s.generateAsync({type:l.outputType}):s.generateAsync({type:"blob",compression:l.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[r].name,_sizeW:this.LAYOUTS[r].width,_sizeH:this.LAYOUTS[r].height,width:this.LAYOUTS[r].width,height:this.LAYOUTS[r].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:w,_name:re,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(a.prototype,"layout",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error("UNKNOWN-LAYOUT");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"author",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"company",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"revision",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"subject",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"fonts",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),a.prototype.stream=function(e){e=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:e,outputType:"STREAM"})},a.prototype.write=function(e){var t="object"==typeof e&&e.hasOwnProperty("outputType")?e.outputType:e||null,e=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:e,outputType:t})},a.prototype.writeFile=function(e){var t=this,o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,a=("string"==typeof e&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),"object"==typeof e&&e.hasOwnProperty("fileName")?e.fileName:"string"==typeof e?e:""),e=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression,r=a?a.toString().toLowerCase().endsWith(".pptx")?a:a+".pptx":"Presentation.pptx";return this.exportPresentation({compression:e,outputType:o?"nodebuffer":null}).then(function(e){return o?new Promise(function(t,a){o.writeFile(r,e,function(e){e?a(e):t(r)})}):t.writeFileToBrowser(r,e)})},a.prototype.addSection=function(e){e?e.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var t={_type:"user",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},a.prototype.addSlide=function(t){var a="string"==typeof t?t:t&&t.masterName?t.masterName:"",e={_name:this.LAYOUTS[r].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},o=(!a||(o=this.slideLayouts.filter(function(e){return e._name===a})[0])&&(e=o),new _e({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e}));return this._slides.push(o),t&&t.sectionTitle?(e=this.sections.filter(function(e){return e.title===t.sectionTitle})[0])?e._slides.push(o):console.warn('addSlide: unable to find section with title: "'.concat(t.sectionTitle,'"')):!(this.sections&&0 opts.y = ").concat(l.y)),a.addTable(e.rows,{x:l.x||h[3],y:l.y,w:Number(r)/N,colW:p,autoPage:!1}),l.addImage&&(l.addImage.options=l.addImage.options||{},l.addImage.image&&(l.addImage.image.path||l.addImage.image.data)?a.addImage({path:l.addImage.image.path,data:l.addImage.image.data,x:l.addImage.options.x,y:l.addImage.options.y,w:l.addImage.options.w,h:l.addImage.options.h}):console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),l.addShape&&a.addShape(l.addShape.shape,l.addShape.options||{}),l.addTable&&a.addTable(l.addTable.rows,l.addTable.options||{}),l.addText&&a.addText(l.addText.text,l.addText.options||{})})},a}(); //# sourceMappingURL=pptxgen.min.js.map diff --git a/dist/pptxgen.min.js.map b/dist/pptxgen.min.js.map index 3349a54c9..6b4fee693 100644 --- a/dist/pptxgen.min.js.map +++ b/dist/pptxgen.min.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.min.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-08T10:19:36.244Z */\nvar PptxGenJS=function(){\"use strict\";function o(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var _=o(JSZip),b=function(){return(b=Object.assign||function(e){for(var t,a=1,o=arguments.length;a/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(e){return\"number\"==typeof e&&100\").concat(t,\"\"):\"\")}function ye(e,t){var a,o,r,n=\"\",l=e.stops;return r=e,Boolean((null==r?void 0:r.stops)&&\"object\"==typeof r.stops&&0').concat(z(a[e],o),\"\")}),\"\".concat(r.join(\"\"),\"\")))+function(e){void 0===e&&(e=0);return'')}(e.angle)}function G(e){var t=\"solid\",a=\"\",o=\"\",r=\"\";if(e)switch(\"string\"==typeof e?a=e:(e.type&&(t=e.type),e.gradient&&(t=\"gradient\"),e.color&&(a=e.color),e.alpha&&(o+='')),e.transparency&&(o+=''))),t){case\"solid\":r+=\"\".concat(z(a,o),\"\");break;case\"gradient\":r+=\"\".concat(ye(e.gradient,o),\"\");break;default:r+=\"\"}return r}function A(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function be(e,t){void 0===t&&(t=\"png\");e=e.match(/\\.(\\w{3,4})(?:$|\\?)/);return e?e[1]:t}function ve(e){if(e&&\"object\"==typeof e)return\"outer\"!==e.type&&\"inner\"!==e.type&&\"none\"!==e.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),e.type=\"outer\"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359a?a=M(e.options.margin[0]):f.margin&&f.margin[0]&&M(f.margin[0])>a&&(a=M(f.margin[0])),e.options.margin&&e.options.margin[2]&&M(e.options.margin[2])>o?o=M(e.options.margin[2]):f.margin&&f.margin[2]&&M(f.margin[2])>o&&(o=M(f.margin[2]))):(e.options.margin&&e.options.margin[0]&&D(e.options.margin[0])>a?a=D(e.options.margin[0]):f.margin&&f.margin[0]&&D(f.margin[0])>a&&(a=D(f.margin[0])),e.options.margin&&e.options.margin[2]&&D(e.options.margin[2])>o?o=D(e.options.margin[2]):f.margin&&f.margin[2]&&D(f.margin[2])>o&&(o=D(f.margin[2])))}),A(),d+=a+o,f.verbose&&0===t&&console.log(\"| SLIDE [\".concat(m.length,\"]: emuSlideTabH ...... = \").concat((p/N).toFixed(1),\" \")),e.forEach(function(a,o){var e,r,t,n,l,i,s,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((a.options&&a.options.fontSize?a.options.fontSize:f.fontSize||L)*(q+(f.autoPageLineWeight||0))/100),text:[],options:a.options},d=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=f.autoPageCharWeight||null,f.colW[o]);a.options.colspan&&Array.isArray(f.colW)&&(d=f.colW.filter(function(e,t){return o<=t&&t \".concat(JSON.stringify(c))),i.push(c),c=[])),0n&&(l.push(t),t=[],a=\"\"),t.push(e),a+=e.text.toString()}),0=l&&(l=e._lineHeight)}),p maxH) => \".concat((d/N).toFixed(2),\" + \").concat((s._lineHeight/N).toFixed(2),\" > \").concat(p/N)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0a&&(a=e._lineHeight)}),y.rows.push(t),d+=a}),c=r[n]),s._lines.shift());Array.isArray(c.text)&&(s?c.text=c.text.concat(s):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),n===h.length-1&&(d+=l),n=n \\n'),l.file(\"_rels/.rels\",'\\n'),l.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),l.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),l.file(\"xl/_rels/workbook.xml.rels\",''),l.file(\"xl/styles.xml\",'\\n'),l.file(\"xl/theme/theme1.xml\",''),l.file(\"xl/workbook.xml\",'\\n'),l.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?c+=''):u.opts._type===v.SCATTER?c+=''):c=s?(o=y.length,y[0].labels.forEach(function(e){return o+=e.filter(function(e){return e&&\"\"!==e}).length}),c+'')+\"\"):(e=y.length+y[0].labels.length*y[0].labels[0].length+y[0].labels.length,r=y.length+y[0].labels.length*y[0].labels[0].length+1,c+'')+''),u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?y.forEach(function(e,t){0===t?c+=\"X-Axis\":c=(c+=\"\".concat(k(e.name||\"Y-Axis\"+t),\"\"))+\"\".concat(k(\"Size\"+t),\"\")}):y.forEach(function(e){c+=\"\".concat(k((e.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),u.opts._type!==v.BUBBLE&&u.opts._type!==v.BUBBLE3D&&u.opts._type!==v.SCATTER&&y[0].labels.slice().reverse().forEach(function(e){e.filter(function(e){return e&&\"\"!==e}).forEach(function(e){c+=\"\".concat(k(e),\"\")})}),c+=\"\\n\",l.file(\"xl/sharedStrings.xml\",c),''),d=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?(p=(p+=''))+''),n=1,y.forEach(function(e,t){0===t?p+=''):(p+=''),n++,p+=''))})):u.opts._type===v.SCATTER?(p=(p+='
')+'',y.forEach(function(e,t){p+=''})):(p=(p+='
')+'',y[0].labels.forEach(function(e,t){p+='')}),y.forEach(function(e,t){p+=''})),p=(p+=\"\")+''+\"
\",l.file(\"xl/tables/table1.xml\",p),'');if(d+='',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?d+=''):u.opts._type===v.SCATTER?d+=''):d+=''),d=d+''+'',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D){for(var d=(d+=\"\")+'')+'0',h=1;h').concat(h,\"\");d+=\"\",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,\"\");for(var a=2,o=1;o').concat(y[o].values[t]||\"\",\"\"))+'').concat(y[o].sizes[t]||\"\",\"\"),a++;d+=\"\"})}else if(u.opts._type===v.SCATTER){d=(d+=\"\")+'');for(h=0;h').concat(h,\"\");d+=\"\",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,\"\");for(var a=1;a').concat(y[a].values[t]||0===y[a].values[t]?y[a].values[t]:\"\",\"\");d+=\"\"})}else if(d+=\"\",s){d+='');for(h=0;h0');for(h=y[0].labels.length-1;h').concat(h,\"\");d+=\"\";for(var f=y.length,m=y[0].labels[0].length,A=y[0].labels.length,h=0;h');var o=f,r=y[0].labels.slice().reverse();r.forEach(function(e,t){e[a]&&(e=0===t?1:r[t-1].filter(function(e){return e&&\"\"!==e}).length,o+=e,d+='').concat(o,\"\"))});for(var e=0;e').concat(y[e].values[a]||0,\"\");d+=\"\"}(h)}else{d+=''),y[0].labels.forEach(function(e,t){d+='0')});for(var h=0;h').concat(h+1,\"\");d+=\"\",y[0].labels[0].forEach(function(e,t){d+='');for(var a=y[0].labels.length-1;0<=a;a--)d=(d+=''))+\"\".concat(y.length+t+1,\"\")+\"\";for(var o=0;o').concat(y[o].values[t]||\"\",\"\");d+=\"\"})}d+='\\n',l.file(\"xl/worksheets/sheet1.xml\",d),l.generateAsync({type:\"base64\"}).then(function(e){g.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",e,{base64:!0}),g.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''+'')+\"\"),g.file(\"ppt/charts/\".concat(u.fileName),function(r){var n='',l=!1;n=(n+='')+'')+\"\",r.opts.showTitle?n=n+Oe({title:r.opts.title||\"Chart Title\",color:r.opts.titleColor,fontFace:r.opts.titleFontFace,fontSize:r.opts.titleFontSize||oe,titleAlign:r.opts.titleAlign,titleBold:r.opts.titleBold,titlePos:r.opts.titlePos,titleRotate:r.opts.titleRotate},r.opts.x,r.opts.y)+'':n+='';r.opts._type===v.BAR3D&&(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ');n+=\"\",r.opts.layout?n=(n=(n=(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":n+=\"\";Array.isArray(r.opts._type)?r.opts._type.forEach(function(e){var t=R(r.opts,e.options),a=t.secondaryValAxis?se:T,o=t.secondaryCatAxis?ce:S;l=l||t.secondaryValAxis,n+=Fe(e.type,e.data,t,a,o)}):n+=Fe(r.opts._type,r.data,r.opts,T,S);if(r.opts._type!==v.PIE&&r.opts._type!==v.DOUGHNUT){if(r.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==t.serGridLine.style?ke(t.serGridLine):\"\"),t.showSerAxisTitle&&(o+=Oe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||\"Axis Title\"}));o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=' '))+' ')+' ')+' ')+(!1===t.serAxisLineShow?\"\":\"\"+z(t.serAxisLineColor||C.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+z(t.serAxisLabelColor||P)+\"\")+' ')+\" \")+' ')+\" \")+' ',t.serAxisLabelFrequency&&(o+=' ');t.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e.toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.serAxisBaseTimeUnit&&(o+=' '),t.serAxisMajorTimeUnit&&(o+=' '),t.serAxisMinorTimeUnit&&(o+=' '),t.serAxisMajorUnit&&(o+=' '),t.serAxisMinorUnit&&(o+=' '));return o+=\"\"}(r.opts,pe,T))),r.opts.catAxes&&r.opts.catAxes[1]&&(n+=Ie(R(r.opts,r.opts.catAxes[1]),ce,se))}r.opts.showDataTable&&(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");n=(n=(n=(n+=\" \")+(r.opts.plotArea.fill&&r.opts.plotArea.fill.color?G(r.opts.plotArea.fill):\"\"))+(r.opts.plotArea.border?'').concat(G(r.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",r.opts.showLegend&&(n=(n+=\"\")+'',(r.opts.legendFontFace||r.opts.legendFontSize||r.opts.legendColor)&&(n=(n=(n=(n+=\"\")+\" \")+\" \")+(r.opts.legendFontSize?'':\"\"),r.opts.legendColor&&(n+=G(r.opts.legendColor)),r.opts.legendFontFace&&(n+=''),r.opts.legendFontFace&&(n+=''),n=(n=(n+=\" \")+' ')+\" \"),n+=\"\");n=(n+=' ')+' ',r.opts._type===v.SCATTER&&(n+='');return n=(n=(n=(n=(n+=\"\")+(r.opts.chartArea.fill&&r.opts.chartArea.fill.color?G(r.opts.chartArea.fill):\"\"))+(r.opts.chartArea.border?'').concat(G(r.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(u)),t(null)}).catch(function(e){a(e)})})}function Fe(o,r,n,e,t){var l=\"\";switch(o){case v.AREA:case v.BAR:case v.BAR3D:case v.LINE:case v.RADAR:l+=\"\"),o===v.AREA&&\"stacked\"===n.barGrouping&&(l+=''),o!==v.BAR&&o!==v.BAR3D||(l=(l+='')+''),o===v.RADAR&&(l+=''),l+='';var i=-1;r.forEach(function(e){i++,l=(l=(l=(l=(l+=\"\")+' ')+' ')+\" Sheet1!$\"+E(e._dataIndex+e.labels.length+1)+\"$1\")+' '+k(e.name)+\" \";var t=n.chartColors?n.chartColors[i%n.chartColors.length]:null;l+=\" \",\"transparent\"===t?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(t,''))+\"\":l+=\"\"+z(t)+\"\",o===v.LINE||o===v.RADAR?0===n.lineSize?l+=\"\":l=(l+=''+z(t)+\"\")+'':n.dataBorder&&(l+=''+z(n.dataBorder.color)+''),l=l+u(n.shadow,c)+' ',o!==v.RADAR&&(l=(l+=\"\")+''),n.dataLabelBkgrdColors&&(l+=\"\".concat(z(t),\"\")),l=(l=(l=(l+=\"\")+''))+\"\".concat(z(n.dataLabelColor||P),\"\"))+'')+\"\",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+\"\"),o!==v.LINE&&o!==v.RADAR||(l=(l+=\"\")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=\" \")+\" \"+z(n.chartColors[e._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e._dataIndex])+\"\")+' '+z(n.lineDataSymbolLineColor||t)+' '),o!==v.BAR&&o!==v.BAR3D||1!==r.length||!(n.chartColors&&n.chartColors!==he&&1\")+' ',0===n.lineSize?l+=\"\":l=o===v.BAR?(l+=\"\")+' ':(l+=\" \")+' ',l=l+u(n.shadow,c)+\" \"}),l+=\"\",n.catLabelFormatCode?(l=(l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(e.labels[0].length+1)+\" \")+\" \"+(n.catLabelFormatCode||\"General\")+\"\")+' ',e.labels[0].forEach(function(e,t){l+=''+k(e)+\"\"}),l+=\" \"):(l=(l=(l+=\" \")+\" Sheet1!$A$2:$\"+E(e.labels.length)+\"$\"+(e.labels[0].length+1)+\" \")+'\\t ',e.labels.forEach(function(e){l+=\" \",e.forEach(function(e,t){l+=''+k(e)+\"\"}),l+=\" \"}),l+=\" \"),l=(l=(l=(l=l+\"\"+\" \")+\"Sheet1!$\".concat(E(e._dataIndex+e.labels.length+1),\"$2:$\").concat(E(e._dataIndex+e.labels.length+1),\"$\").concat(e.labels[0].length+1,\"\")+\" \")+\" \"+(n.valLabelFormatCode||n.dataTableFormatCode||\"General\")+\"\")+' ',e.values.forEach(function(e,t){return l+='').concat(e||0===e?e:\"\",\"\")}),l+=\" \",o===v.LINE&&(l+=''),l+=\"\"}),l=(l=(l=(l=(l+=\" \")+' ')+\" \")+' ')+\" \"+z(n.dataLabelColor||P)+\"\")+' ',n.dataLabelPosition&&(l+=' '),l=(l=(l+=' ')+' ')+' ')+\" \",o===v.BAR?l=(l+=' ')+' ':o===v.BAR3D?l=(l=(l+=' ')+' ')+' ':o===v.LINE&&(l+=' '),l=(l+=''))+\"\");break;case v.SCATTER:l=(l+=\"\")+''+'',i=-1,r.filter(function(e,t){return 0\")+' ')+\" Sheet1!$\"+E(e+2)+\"$1\")+' '+k(a.name)+\" \";var o,t=n.chartColors[i%n.chartColors.length];\"transparent\"===t?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(t,'')+\"\":l+=\"\"+z(t)+\"\",0===n.lineSize?l+=\"\":l=(l+=''+z(t)+\"\")+'',l=(l=(l+=u(n.shadow,c))+\" \"+\"\")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=\" \")+\" \"+z(n.chartColors[e+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e])+\"\")+' '+z(n.lineDataSymbolLineColor||n.chartColors[i%n.chartColors.length])+' ',n.showLabel&&(o=Ae(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!a.labels[0]||\"custom\"!==n.dataLabelFormatScatter&&\"customXY\"!==n.dataLabelFormatScatter||(l+=\"\",a.labels[0].forEach(function(e,t){\"custom\"!==n.dataLabelFormatScatter&&\"customXY\"!==n.dataLabelFormatScatter||(l=(l=(l=(l+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+k(e)+\" \\t\",l=(\"customXY\"!==n.dataLabelFormatScatter||/^ *$/.test(e)?l:(l=(l=(l=(l=(l=(l=(l=(l=(l=(l+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+k(a.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+k(a.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",n.dataLabelPosition&&(l+=' '),l=(l+=' \\t ')+'\\t\\t\\t \\t\\t')}),l+=\"\"),\"XY\"===n.dataLabelFormatScatter&&(l+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',n.dataLabelPosition&&(l+=' '),l=(l=(l+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===r.length&&n.chartColors!==he&&a.values.forEach(function(e,t){e=e<0?n.invertedColors||n.chartColors||he:n.chartColors||[];l=(l+=\" \")+' ',0===n.lineSize?l+=\"\":l=(l+=\"\")+' ',l=l+u(n.shadow,c)+\" \"}),l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l=(l+=\" \")+\" Sheet1!$\"+E(e+2)+\"$2:$\"+E(e+2)+\"$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),l=(l+=\" \")+''}),l=(l=(l=(l=(l+=\" \")+' ')+\" \")+' ')+\" \"+z(n.dataLabelColor||P)+\"\")+' ',n.dataLabelPosition&&(l+=' '),l=(l+=' ')+' ',l=(l+=''))+(\"\");break;case v.BUBBLE:case v.BUBBLE3D:var l=l+\"\"+'',i=-1,s=1;r.filter(function(e,t){return 0\")+' ')+\" Sheet1!$\"+E(s+1)+\"$1\")+' '+k(a.name)+\" \";e=n.chartColors[i%n.chartColors.length];\"transparent\"===e?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(e,'')+\"\":l+=\"\"+z(e)+\"\",0===n.lineSize?l+=\"\":n.dataBorder?l+=''+z(n.dataBorder.color)+'':l=(l+=''+z(e)+\"\")+'',l=l+u(n.shadow,c)+\"\",l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l+=\" \")+\" Sheet1!$\"+E(s+1)+\"$2:$\"+E(s+1)+\"$\"+(r[0].values.length+1)+\"\",s++,l=(l+=\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),l=(l+=\" \")+\" Sheet1!$\"+E(s+1)+\"$2:$\"+E(s+1)+\"$\"+(a.sizes.length+1)+\"\",s++,l=(l+=\" General\")+'\\t ',a.sizes.forEach(function(e,t){l+=''+(e||\"\")+\"\"}),l=(l+=\" \")+' '}),l=(l=(l=(l=(l+=\"\")+'')+\"\")+''))+\"\".concat(z(n.dataLabelColor||P),\"\"))+'')+\"\",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+\"\";break;case v.DOUGHNUT:case v.PIE:var a=r[0];l=(l+=\"\")+' '+\"\",n.chartPieExplosion&&Number.isInteger(n.chartPieExplosion)&&(l+=' '),l=(l=(l=(l=(l=(l=(l=(l+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+k(a.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',n.dataNoEffects?l+=\"\":l+=u(n.shadow,c),l+=\" \",a.labels[0].forEach(function(e,t){l=(l=(l+=\"\")+' ')+' ')+\"\".concat(z(n.chartColors[t+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):t]),\"\"),n.dataBorder&&(l+='').concat(z(n.dataBorder.color),'')),l=l+u(n.shadow,c)+\" \"}),l+=\"\",a.labels[0].forEach(function(e,t){l=(l=(l=(l=(l=(l+=\"\")+' '))+' ')+\" \")+' '))+\" \"+z(n.dataLabelColor||P)+\"\")+' ')+\" \",o===v.PIE&&n.dataLabelPosition&&(l+=' ')),l=(l=(l=(l+=' ')+' ')+' ')+' '}),l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=l+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(o===v.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(a.labels[0].length+1)+\"\")+\" \")+('\\t '),a.labels[0].forEach(function(e,t){l+=''+k(e)+\"\"}),l=(l=(l=(l=(l+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(a.labels[0].length+1)+\"\")+\" \")+('\\t '),a.values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l=(l=l+\" \"+\" \")+\" \"+\" \")+' '),o===v.DOUGHNUT&&(l+=' '),l+=\"\";break;default:l+=\"\"}return l}function Ie(t,e,a){var o=\"\";return t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=\"\":o+=\"\",o=(o+=' ')+\" \"+(''),!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(o+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(o+=''),o=(o=(o=o+\"\"+(' '))+(' '))+(\"none\"!==t.catGridLine.style?ke(t.catGridLine):\"\"),t.showCatAxisTitle&&(o+=Oe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||\"Axis Title\"})),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=' ':o+=' ',t._type===v.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.catAxisLineShow?\"\":\"\"+z(t.catAxisLineColor||C.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+z(t.catAxisLabelColor||P)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),t.catAxisLabelFrequency&&(o+=' '),!t.catLabelFormatCode&&t._type!==v.SCATTER&&t._type!==v.BUBBLE&&t._type!==v.BUBBLE3D||(t.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t[e].toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.catAxisBaseTimeUnit&&(o+=''),t.catAxisMajorTimeUnit&&(o+=''),t.catAxisMinorTimeUnit&&(o+='')),t.catAxisMajorUnit&&(o+=''),t.catAxisMinorUnit&&(o+='')),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=\"\":o+=\"\",o}function Ne(e,t){var a=t===T?\"col\"===e.barDir?\"l\":\"b\":\"col\"!==e.barDir?\"r\":\"t\",o=\"r\"===(a=t===se?\"r\":a)||\"t\"===a,r=t===T?S:ce,n=\"\",n=(n+=\"\")+(' ')+\" \";return e.valAxisLogScaleBase&&(n+='')),n+='',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(n+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(n+=''),n=(n+=\" \")+(' ')+(' '),\"none\"!==e.valGridLine.style&&(n+=ke(e.valGridLine)),e.showValAxisTitle&&(n+=Oe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||\"Axis Title\"})),n+=''),e._type===v.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.valAxisLineShow?\"\":\"\"+z(e.valAxisLineColor||C.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+z(e.valAxisLabelColor||P)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),e.valAxisMajorUnit&&(n+=' '),e.valAxisDisplayUnit&&(n+='').concat(e.valAxisDisplayUnitLabel?\"\":\"\",\"\")),n+=\"\"}function Oe(e,t,a){var o=\"left\"===e.titleAlign||\"right\"===e.titleAlign?''):\"\",r=e.titleRotate?''):\"\",n=e.fontSize?'sz=\"'+Math.round(100*e.fontSize)+'\"':\"\",l=!0===e.titleBold?1:0,i=\"\";return e.titlePos&&\"number\"==typeof e.titlePos.x&&\"number\"==typeof e.titlePos.y&&(1<=(t=0===(t=e.titlePos.x+t)?0:t*(t/5)/10)&&(t/=10),.1<=t&&(t/=10),1<=(a=0===(a=e.titlePos.y+a)?0:a*(a/5)/10)&&(a/=10),.1<=a&&(a/=10),i='')),\"\\n\\t \\n\\t \\n\\t \".concat(r,\"\\n\\t \\n\\t \\n\\t \").concat(o,\"\\n\\t \\n\\t ').concat(z(e.color||P),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(z(e.color||P),'\\n\\t \\n\\t \\n\\t ').concat(k(e.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(i,'\\n\\t \\n\\t')}function E(e){e-=1;return e<=25?de[e]:\"\".concat(de[Math.floor(e/de.length-1)]).concat(de[e%de.length])}function u(e,t){if(!e)return\"\";if(\"object\"!=typeof e)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var a=\"\",t=R(t,e),e=t.type||\"outer\",o=M(t.blur),r=M(t.offset),n=Math.round(6e4*t.angle),l=t.color,i=Math.round(1e5*t.opacity);return(a+=\"')+('')+('')+(\"\")+\"\"}function ke(e){var t=\"\";return(t+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function De(e){return\"object\"==typeof e&&ze.includes(e.name)&&(e.path||e.data)}function Me(e){return\"object\"==typeof e&&\"\"!==e.name&&Ge(e.styles)}var Ue=function(r){return new Promise(function(t,a){var o=new XMLHttpRequest;o.onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,t(\"done\")},e.readAsDataURL(o.response)},o.onerror=function(e){a(\"ERROR! Unable to load font (xhr.onerror): \".concat(r.path))},o.open(\"GET\",r.path),o.responseType=\"blob\",o.send()})},ze=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],Ge=function(e){return Array.isArray(e)&&e.every(De)};function je(e){var n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,l=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,t=[],i=e._relsMedia.filter(function(e){return\"online\"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf(\"preencoded\"))}),a=[];return i.forEach(function(e){-1===a.indexOf(e.path)?(e.isDuplicate=!1,a.push(e.path)):e.isDuplicate=!0}),i.filter(function(e){return!e.isDuplicate}).forEach(function(r){t.push(new Promise(function(a,o){var t;if(n&&0!==r.path.indexOf(\"http\"))try{var e=n.readFileSync(r.path);r.data=Buffer.from(e).toString(\"base64\"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a(\"done\")}catch(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o('ERROR: Unable to read media: \"'+r.path+'\"\\n'+e.toString())}else n&&l&&0===r.path.indexOf(\"http\")?l.get(r.path,function(e){var t=\"\";e.setEncoding(\"binary\"),e.on(\"data\",function(e){return t+=e}),e.on(\"end\",function(){r.data=Buffer.from(t,\"binary\").toString(\"base64\"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a(\"done\")}),e.on(\"error\",function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o(\"ERROR! Unable to load image (https.get): \".concat(r.path))})}):((t=new XMLHttpRequest).onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),r.isSvgPng?We(r).then(function(){a(\"done\")}).catch(function(e){o(e)}):a(\"done\")},e.readAsDataURL(t.response)},t.onerror=function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o(\"ERROR! Unable to load image (xhr.onerror): \".concat(r.path))},t.open(\"GET\",r.path),t.responseType=\"blob\",t.send())}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){n?(e.data=f,t.push(Promise.resolve().then(function(){return\"done\"}))):t.push(We(e))}),t}function We(r){return new Promise(function(a,t){var o=new Image;o.onload=function(){o.width+o.height===0&&o.onerror(\"h/w=0\");var e=document.createElement(\"CANVAS\"),t=e.getContext(\"2d\");e.width=o.width,e.height=o.height,t.drawImage(o,0,0);try{r.data=e.toDataURL(r.type),a(\"done\")}catch(e){o.onerror(e)}},o.onerror=function(e){r.data=f,t(\"ERROR! Unable to load image (image.onerror): \".concat(r.path))},o.src=\"string\"==typeof r.data?r.data:f})}var He={cover:function(e,t){var e=e.h/e.w,a=e'},contain:function(e,t){var e=e.h/e.w,a=e'},crop:function(e,t){var a=t.x,o=e.w-(t.x+t.w),r=t.y,t=e.h-(t.y+t.h);return''}};function Ve(_){var B=_._name?'':\"\",F=1;return _._bkgdImgRid?B+=''):_.background&&(_.background.color||_.background.gradient)?B+=\"\".concat(G(_.background),\"\"):!_.bkgd&&_._name&&_._name===re&&(B+=''),B=(B=B+\"\"+'')+''+'',_._slideObjects.forEach(function(o,e){var t,a=0,r=0,n=O(\"75%\",\"X\",_._presLayout),l=0,i=\"\";switch(void 0!==_._slideLayout&&void 0!==_._slideLayout._slideObjects&&o.options&&o.options.placeholder&&(t=_._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===o.options.placeholder})[0]),o.options=o.options||{},void 0!==o.options.x&&(a=O(o.options.x,\"X\",_._presLayout)),void 0!==o.options.y&&(r=O(o.options.y,\"Y\",_._presLayout)),void 0!==o.options.w&&(n=O(o.options.w,\"X\",_._presLayout)),void 0!==o.options.h&&(l=O(o.options.h,\"Y\",_._presLayout)),t&&(!t.options.x&&0!==t.options.x||(a=O(t.options.x,\"X\",_._presLayout)),!t.options.y&&0!==t.options.y||(r=O(t.options.y,\"Y\",_._presLayout)),!t.options.w&&0!==t.options.w||(n=O(t.options.w,\"X\",_._presLayout)),!t.options.h&&0!==t.options.h||(l=O(t.options.h,\"Y\",_._presLayout))),o.options.flipH&&(i+=' flipH=\"1\"'),o.options.flipV&&(i+=' flipV=\"1\"'),o.options.rotate&&(i+=' rot=\"'+U(o.options.rotate)+'\"'),o._type){case I.table:var s,c=o.arrTabRows,p=o.options,d=0,h=0,f=(c[0].forEach(function(e){s=e.options||null,d+=s&&s.colspan?Number(s.colspan):1}),'')),f=(f+=' ')+'')+'';if(Array.isArray(p.colW)){f+=\"\";for(var m=0;m'}f+=\"\"}else{h=p.colW||N,o.options.w&&!p.colW&&(h=Math.round((\"number\"==typeof o.options.w?o.options.w:1)/d)),f+=\"\";for(var u=0;u';f+=\"\"}c.forEach(function(r){for(var n,l,e=0;e'),e.forEach(function(e){var a,t,o,r,n,l={rowSpan:1<(null==(i=e.options)?void 0:i.rowspan)?e.options.rowspan:void 0,gridSpan:1<(null==(i=e.options)?void 0:i.colspan)?e.options.colspan:void 0,vMerge:e._vmerge?1:void 0,hMerge:e._hmerge?1:void 0},i=(i=Object.keys(l).map(function(e){return[e,l[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){var t=e[0],e=e[1];return\"\".concat(t,'=\"').concat(e,'\"')}).join(\" \"))&&\" \"+i;e._hmerge||e._vmerge?f+=\"\"):(a=e.options||{},e.options=a,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(e){p[e]&&!a[e]&&0!==a[e]&&(a[e]=p[e])}),t=a.valign?' anchor=\"'+a.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",o=(o=(e._optImp&&e._optImp.fill&&e._optImp.fill.color?e._optImp.fill.color:e._optImp&&e._optImp.fill&&\"string\"==typeof e._optImp.fill?e._optImp.fill:\"\")||a.fill?a.fill:\"\")?G(o):\"\",r=0===a.margin||a.margin?a.margin:ee,n=\"\",n=1<=(r=Array.isArray(r)||\"number\"!=typeof r?r:[r,r,r,r])[0]?' marL=\"'.concat(M(r[3]),'\" marR=\"').concat(M(r[1]),'\" marT=\"').concat(M(r[0]),'\" marB=\"').concat(M(r[2]),'\"'):' marL=\"'.concat(D(r[3]),'\" marR=\"').concat(D(r[1]),'\" marT=\"').concat(D(r[0]),'\" marB=\"').concat(D(r[2]),'\"'),f+=\"\").concat(Xe(e),\"\"),a.border&&Array.isArray(a.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(e){var t=Math.round(1e3*(100-a.border[e.idx].transparency)),t='');\"none\"!==a.border[e.idx].type?f=(f=(f=(f+=\"'))+\"\".concat(z(a.border[e.idx].color,t),\"\"))+''))+\"\"):f+=\"\")}),f=f+o+\" \")}),f+=\"\"}),B+=f=(f=f+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(o.options.line||0!==l||(l=.3*N),o.options._bodyProp||(o.options._bodyProp={}),o.options.margin&&Array.isArray(o.options.margin)?(o.options._bodyProp.lIns=M(o.options.margin[0]||0),o.options._bodyProp.rIns=M(o.options.margin[1]||0),o.options._bodyProp.bIns=M(o.options.margin[2]||0),o.options._bodyProp.tIns=M(o.options.margin[3]||0)):\"number\"==typeof o.options.margin&&(o.options._bodyProp.lIns=M(o.options.margin),o.options._bodyProp.rIns=M(o.options.margin),o.options._bodyProp.bIns=M(o.options.margin),o.options._bodyProp.tIns=M(o.options.margin)),B=(B+=\"\")+''),o.options.hyperlink&&o.options.hyperlink.url&&(B+=''),o.options.hyperlink&&o.options.hyperlink.slide&&(B+=''),B=(B=(B=(B=(B=(B+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===o._type?Ke(o):Ke(t),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===o.shape)B=(B+='')+''),null!=(C=o.options.points)&&C.map(function(e,t){if(\"curve\"in e)switch(e.curve.type){case\"arc\":B+='');break;case\"cubic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in e?B+=\"\":e.moveTo||0===t?B+=''):B+='')}),B+=\"\";else{if(B+='',o.options.rectRadius)B+='');else if(o.options.angleRange){for(var g=0;g<2;g++){var y=o.options.angleRange[g];B+='')}o.options.arcThicknessRatio&&(B+=''))}B+=\"\"}B+=o.options.fill?G(o.options.fill):\"\",o.options.line&&(B+=o.options.line.width?''):\"\",o.options.line.color&&(B+=G(o.options.line)),o.options.line.dashType&&(B+='')),o.options.line.beginArrowType&&(B+='')),o.options.line.endArrowType&&(B+='')),B+=\"\"),o.options.shadow&&\"none\"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||\"outer\",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B=(B+=\"\")+\"')+'')+'')+\"\"),B=(B+=\"\")+Xe(o)+\"\";break;case I.image:var b,v,x,C=o.options.sizing,P=o.options.rounding,L=n,w=l,T=(T=o.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",S=(S=o.options.solidFill)?' \\n \\n \\n \\n '):\"\",R=o.options.shadow||o.options.blur,E=o.options.blur;B=(B=B+\"\"+\" \")+''),o.hyperlink&&o.hyperlink.url&&(B+='')),o.hyperlink&&o.hyperlink.slide&&(B+='')),B=(B=(B=B+\" \"+' ')+(\" \"+Ke(t)+\"\"))+\" \"+\"\",B=(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0]&&\"svg\"===(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0].extn?(B=(B=(B+='')+(o.options.transparency?' '):\"\")+T)+(E?''):\"\")+' ')+' ':(B=(B+='')+(o.options.transparency?' '):\"\")+T)+(E?''):\"\")+\"\",C&&C.type?(T=C.w?O(C.w,\"X\",_._presLayout):n,b=C.h?O(C.h,\"Y\",_._presLayout):l,v=O(C.x||0,\"X\",_._presLayout),x=O(C.y||0,\"Y\",_._presLayout),B+=He[C.type]({w:L,h:w},{w:T,h:b,x:v,y:x}),L=T,w=b):B+=\" \",B=(B=(B=(B=B+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+S,R&&(B+=\"\",o.options.shadow&&\"none\"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||\"outer\",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B+=\"')+'')+'')+\"\"),null!=E&&E.grow&&(E.radius=M(E.radius/10||8),B+='')),B+=\"\"),B=B+\"\"+\"\";break;case I.media:B=\"online\"===o.mtype?(B=(B=(B=(B=(B+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(B=(B=(B=(B=(B=(B+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:B=(B=(B=(B=(B=(B=(B=B+\"\"+\" \")+' ')+\" \")+\" \".concat(Ke(t),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:B+=\"\"}}),_._slideNumberProps&&(_._slideNumberProps.align||(_._slideNumberProps.align=\"left\"),B=B+(' \",(_._slideNumberProps.fontFace||_._slideNumberProps.fontSize||_._slideNumberProps.color)&&(B+=''),_._slideNumberProps.color&&(B+=G(_._slideNumberProps.color)),_._slideNumberProps.fontFace&&(B+='')),B+=\"\"),B+=\"\",_._slideNumberProps.align.startsWith(\"l\")?B+='':_._slideNumberProps.align.startsWith(\"c\")?B+='':_._slideNumberProps.align.startsWith(\"r\")?B+='':B+='',B=(B+=''))+\"\".concat(_._slideNum,'')+\"\"),B=B+\"\"+\"\"}function Qe(e,t){var a=0,o=''+h+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':o+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),o+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':o+='':-1':o+='':-1':o+='')}),t.forEach(function(e,t){o+=''}),o+=\"\"}function Ye(e,t){var a,o=\"\",r=\"\",n=\"\",l=\"\",i=t?\"a:lvl1pPr\":\"a:pPr\",s=M(X),c=\"<\".concat(i).concat(e.options.rtlMode?' rtl=\"1\" ':\"\");if(e.options.align)switch(e.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return e.options.lineSpacing?r=''):e.options.lineSpacingMultiple&&(r='')),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0')),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0')),\"object\"==typeof e.options.bullet?(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(s=M(e.options.bullet.indent)),e.options.bullet.type?\"number\"===e.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(e.options.indentLevel&&0')):o=e.options.bullet.characterCode?(a=\"&#x\".concat(e.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),a=d.DEFAULT),c+=' marL=\"'.concat(e.options.indentLevel&&0'):e.options.bullet.code?(a=\"&#x\".concat(e.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),a=d.DEFAULT),c+=' marL=\"'.concat(e.options.indentLevel&&0'):(c+=' marL=\"'.concat(e.options.indentLevel&&0'))):!0===e.options.bullet?(c+=' marL=\"'.concat(e.options.indentLevel&&0')):!1===e.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',o=\"\"),e.options.tabStops&&Array.isArray(e.options.tabStops)&&(a=e.options.tabStops.map(function(e){return'')}).join(\"\"),l=\"\".concat(a,\"\")),c+=\">\"+r+n+o+l,t&&(c+=qe(e.options,!0)),c+=\"\"}function qe(e,t){var a,o,r,n,l=\"\",t=t?\"a:defRPr\":\"a:rPr\",l=(l=(l=(l=(l+=\"<\"+t+' lang=\"'+(e.lang||\"en-US\")+'\"'+(e.lang?' altLang=\"en-US\"':\"\"))+(e.fontSize?' sz=\"'+Math.round(e.fontSize)+'00\"':\"\"))+(e.hasOwnProperty(\"bold\")?' b=\"'.concat(e.bold?1:0,'\"'):\"\"))+(e.hasOwnProperty(\"italic\")?' i=\"'.concat(e.italic?1:0,'\"'):\"\"))+(e.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof e.strike?e.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof e.underline&&null!=(a=e.underline)&&a.style?l+=' u=\"'.concat(e.underline.style,'\"'):\"string\"==typeof e.underline?l+=' u=\"'.concat(e.underline,'\"'):e.hyperlink&&(l+=' u=\"sng\"'),e.baseline?l+=' baseline=\"'.concat(Math.round(50*e.baseline),'\"'):e.subscript?l+=' baseline=\"-40000\"':e.superscript&&(l+=' baseline=\"30000\"'),l=l+(e.charSpacing?' spc=\"'.concat(Math.round(100*e.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(e.color||e.fontFace||e.outline||\"object\"==typeof e.underline&&e.underline.color)&&(e.outline&&\"object\"==typeof e.outline&&(l+='').concat(G(e.outline.color||\"FFFFFF\"),\"\")),e.color&&(l+=G({color:e.color,transparency:e.transparency})),e.highlight&&(l+=\"\".concat(z(e.highlight),\"\")),\"object\"==typeof e.underline&&e.underline.color&&(l+=\"\".concat(G(e.underline.color),\"\")),e.glow&&(l+=\"\".concat((a=e.glow,r=\"\",o=R(o=ie,a),a=Math.round(o.size*x),n=o.color,o=Math.round(1e5*o.opacity),(r+=''))+z(n,''))+\"\"),\"\")),e.fontFace&&(l+=''))),e.hyperlink){if(\"object\"!=typeof e.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");e.hyperlink.url?l+='\":\"/>\"):e.hyperlink.slide&&(l+='\":\"/>\")),e.color&&(l+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return l+=\"\")}function Xe(o){var r=o.options||{},e=[],a=[];if(r&&o._type!==I.tablecell&&(void 0===o.text||null===o.text))return\"\";var t,n,l=o._type===I.tablecell?\"\":\"\",i=(l+=(n=\"\",t.options.fit&&(\"none\"===t.options.fit?n+=\"\":\"shrink\"===t.options.fit?n+=\"\":\"resize\"===t.options.fit&&(n+=\"\")),t.options.shrinkText&&(n+=\"\"),n=n+(!1!==t.options._bodyProp.autoFit?\"\":\"\")+\"\"):n+=' wrap=\"square\" rtlCol=\"0\">',t._type===I.tablecell?\"\":n),0===r.h&&r.line&&r.align?l+='':\"placeholder\"===o._type?l+=\"\".concat(Ye(o,!0),\"\"):l+=\"\",\"string\"==typeof o.text||\"number\"==typeof o.text?e.push({text:o.text.toString(),options:r||{}}):o.text&&!Array.isArray(o.text)&&\"object\"==typeof o.text&&-1\",\"\"),o.options.align=o.options.align||r.align,o.options.lineSpacing=o.options.lineSpacing||r.lineSpacing,o.options.lineSpacingMultiple=o.options.lineSpacingMultiple||r.lineSpacingMultiple,o.options.indentLevel=o.options.indentLevel||r.indentLevel,o.options.paraSpaceBefore=o.options.paraSpaceBefore||r.paraSpaceBefore,o.options.paraSpaceAfter=o.options.paraSpaceAfter||r.paraSpaceAfter,a=Ye(o,!1),l+=a.replace(\"\",\"\"),Object.entries(r).forEach(function(e){var t,a=e[0],e=e[1];o.options.hyperlink&&\"color\"===a||\"bullet\"!==a&&void 0===(null==(t=o.options)?void 0:t[a])&&(o.options[a]=e)}),l+=(e=o).text?\"\".concat(qe(e.options,!1),\"\").concat(k(e.text),\"\"):\"\",(!o.text&&r.fontSize||o.options.fontSize)&&(t=!0,r.fontSize=r.fontSize||o.options.fontSize)}),o._type===I.tablecell&&(r.fontSize||r.fontFace)?r.fontFace?l=(l=(l=(l+='')+''))+''))+'')+\"\":l+='':l+=t?'':''),l+=\"\"}),l+=o._type===I.tablecell?\"\":\"\"}function Ke(e){if(!e)return\"\";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:\"\",a=e.options&&e.options._placeholderType?e.options._placeholderType:\"\";return\"\")}function Je(e){return''+h+''+k((t=\"\",e._slideObjects.forEach(function(e){e._type===I.notes&&(t+=e.text&&e.text[0]?e.text[0].text:\"\")}),t.replace(/\\r*\\n/g,h)))+''+e._slideNum+'';var t}function Ze(e,t,a){return Qe(e[a-1],[{target:\"../slideLayouts/slideLayout\"+function(e,t,a){for(var o=0;o'+h)+'')+'')+'')+'')+'',r.forEach(function(e){(e._relsMedia||[]).forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===a.indexOf(e.type)&&(a+='')})}),a=(a+='')+'',r.forEach(function(e,t){a=a+'',e._relsChart.forEach(function(e){a+=' '})}),a=(a+='')+'',t.forEach(function(e,t){a+='',(e._relsChart||[]).forEach(function(e){a+=' '})}),r.forEach(function(e,t){a+=' '}),e._relsChart.forEach(function(e){a+=' '}),e._relsMedia.forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===a.indexOf(e.type)&&(a+=' ')}),a=(a+=' ')+' ')),s.file(\"_rels/.rels\",''.concat(h,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),s.file(\"docProps/app.xml\",(t=c.slides,r=c.company,''.concat(h,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(t.length,\"\\n\\t\").concat(t.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(t.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(t.map(function(e,t){return\"Slide \"+(t+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(r,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),s.file(\"docProps/core.xml\",(e=c.title,t=c.subject,r=c.author,n=c.revision,'\\n\\t\\n\\t\\t'.concat(k(e),\"\\n\\t\\t\").concat(k(t),\"\\n\\t\\t\").concat(k(r),\"\\n\\t\\t\").concat(k(r),\"\\n\\t\\t\").concat(n,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),s.file(\"ppt/_rels/presentation.xml.rels\",function(e,t){for(var a=1,o=(o=''+h)+''+'',r=1;r<=e.length;r++)o+='';return a++,o+='',t.forEach(function(e){e.styles.forEach(function(e){e.rel.id=\"rId\".concat(a),o+='')})}),o+=\"\"}(c.slides,c.fonts)),s.file(\"ppt/theme/theme1.xml\",''.concat(h,'')),s.file(\"ppt/presentation.xml\",function(e){var t=(t=''.concat(h)+''))+''+\"\";e.slides.forEach(function(e){return t+='')}),t=(t=(t=(t+=\"\")+''))+''))+''),0\",e.fonts.forEach(function(e){t=(t+=\"\")+''),e.styles.forEach(function(e){t+=\"')}),t+=\"\"}),t+=\"\"),t+=\"\";for(var a=1;a<10;a++)t+=\"')+''+\"\");return t+=\"\",e.sections&&0',e.sections.forEach(function(e){t+=''),e._slides.forEach(function(e){return t+='')}),t+=\"\"}),t+=''),t+=\"\"}(c)),s.file(\"ppt/presProps.xml\",''.concat(h,'')),s.file(\"ppt/tableStyles.xml\",''.concat(h,'')),s.file(\"ppt/viewProps.xml\",''.concat(h,'')),c.slideLayouts.forEach(function(e,t){s.file(\"ppt/slideLayouts/slideLayout\"+(t+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Ve(e),\"\\n\\t\\t\")),s.file(\"ppt/slideLayouts/_rels/slideLayout\"+(t+1)+\".xml.rels\",(e=t+1,Qe(c.slideLayouts[e-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(e,t){var a;s.file(\"ppt/slides/slide\"+(t+1)+\".xml\",(a=e,''.concat(h)+'\")+\"\".concat(Ve(a))+\"\")),s.file(\"ppt/slides/_rels/slide\"+(t+1)+\".xml.rels\",Ze(c.slides,c.slideLayouts,t+1)),s.file(\"ppt/notesSlides/notesSlide\"+(t+1)+\".xml\",Je(e)),s.file(\"ppt/notesSlides/_rels/notesSlide\"+(t+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),s.file(\"ppt/slideMasters/slideMaster1.xml\",(o=c.masterSlide,e=(e=c.slideLayouts).map(function(e,t){return''}),t=''+h,(t+='')+Ve(o)+''+e.join(\"\")+' ')),s.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(r=c.masterSlide,(n=(n=c.slideLayouts).map(function(e,t){return{target:\"../slideLayouts/slideLayout\".concat(t+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qe(r,n))),s.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(h,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),s.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(h,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.slides.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.createChartMediaRels(c.masterSlide,s,i),c.createFontRels(s,c.fonts),Promise.all(i).then(function(){return\"STREAM\"===l.outputType?s.generateAsync({type:\"nodebuffer\",compression:l.compression?\"DEFLATE\":\"STORE\"}):l.outputType?s.generateAsync({type:l.outputType}):s.generateAsync({type:\"blob\",compression:l.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[r].name,_sizeW:this.LAYOUTS[r].width,_sizeH:this.LAYOUTS[r].height,width:this.LAYOUTS[r].width,height:this.LAYOUTS[r].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:w,_name:re,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(a.prototype,\"layout\",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"author\",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"company\",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"revision\",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"subject\",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"title\",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),a.prototype.stream=function(e){e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},a.prototype.write=function(e){var t=\"object\"==typeof e&&e.hasOwnProperty(\"outputType\")?e.outputType:e||null,e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:e,outputType:t})},a.prototype.writeFile=function(e){var t=this,o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,a=(\"string\"==typeof e&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof e&&e.hasOwnProperty(\"fileName\")?e.fileName:\"string\"==typeof e?e:\"\"),e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression,r=a?a.toString().toLowerCase().endsWith(\".pptx\")?a:a+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:e,outputType:o?\"nodebuffer\":null}).then(function(e){return o?new Promise(function(t,a){o.writeFile(r,e,function(e){e?a(e):t(r)})}):t.writeFileToBrowser(r,e)})},a.prototype.addSection=function(e){e?e.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var t={_type:\"user\",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},a.prototype.addSlide=function(t){var a=\"string\"==typeof t?t:t&&t.masterName?t.masterName:\"\",e={_name:this.LAYOUTS[r].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},o=(!a||(o=this.slideLayouts.filter(function(e){return e._name===a})[0])&&(e=o),new _e({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e}));return this._slides.push(o),t&&t.sectionTitle?(e=this.sections.filter(function(e){return e.title===t.sectionTitle})[0])?e._slides.push(o):console.warn('addSlide: unable to find section with title: \"'.concat(t.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(l.y)),a.addTable(e.rows,{x:l.x||h[3],y:l.y,w:Number(r)/N,colW:p,autoPage:!1}),l.addImage&&(l.addImage.options=l.addImage.options||{},l.addImage.image&&(l.addImage.image.path||l.addImage.image.data)?a.addImage({path:l.addImage.image.path,data:l.addImage.image.data,x:l.addImage.options.x,y:l.addImage.options.y,w:l.addImage.options.w,h:l.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),l.addShape&&a.addShape(l.addShape.shape,l.addShape.options||{}),l.addTable&&a.addTable(l.addTable.rows,l.addTable.options||{}),l.addText&&a.addText(l.addText.text,l.addText.options||{})})},a}();"],"file":"pptxgen.min.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.min.js"],"sourcesContent":["/* PptxGenJS 3.11.0-beta @ 2022-11-11T07:31:44.223Z */\nvar PptxGenJS=function(){\"use strict\";function o(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var _=o(JSZip),b=function(){return(b=Object.assign||function(e){for(var t,a=1,o=arguments.length;a/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function D(e){return\"number\"==typeof e&&100\").concat(t,\"\"):\"\")}function ye(e,t){var a,o,r,n=\"\",l=e.stops;return r=e,Boolean((null==r?void 0:r.stops)&&\"object\"==typeof r.stops&&0').concat(z(a[e],o),\"\")}),\"\".concat(r.join(\"\"),\"\")))+function(e){void 0===e&&(e=0);return'')}(e.angle)}function G(e){var t=\"solid\",a=\"\",o=\"\",r=\"\";if(e)switch(\"string\"==typeof e?a=e:(e.type&&(t=e.type),e.gradient&&(t=\"gradient\"),e.color&&(a=e.color),e.alpha&&(o+='')),e.transparency&&(o+=''))),t){case\"solid\":r+=\"\".concat(z(a,o),\"\");break;case\"gradient\":r+=\"\".concat(ye(e.gradient,o),\"\");break;default:r+=\"\"}return r}function A(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function be(e,t){void 0===t&&(t=\"png\");e=e.match(/\\.(\\w{3,4})(?:$|\\?)/);return e?e[1]:t}function ve(e){if(e&&\"object\"==typeof e)return\"outer\"!==e.type&&\"inner\"!==e.type&&\"none\"!==e.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),e.type=\"outer\"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359a?a=M(e.options.margin[0]):f.margin&&f.margin[0]&&M(f.margin[0])>a&&(a=M(f.margin[0])),e.options.margin&&e.options.margin[2]&&M(e.options.margin[2])>o?o=M(e.options.margin[2]):f.margin&&f.margin[2]&&M(f.margin[2])>o&&(o=M(f.margin[2]))):(e.options.margin&&e.options.margin[0]&&D(e.options.margin[0])>a?a=D(e.options.margin[0]):f.margin&&f.margin[0]&&D(f.margin[0])>a&&(a=D(f.margin[0])),e.options.margin&&e.options.margin[2]&&D(e.options.margin[2])>o?o=D(e.options.margin[2]):f.margin&&f.margin[2]&&D(f.margin[2])>o&&(o=D(f.margin[2])))}),A(),d+=a+o,f.verbose&&0===t&&console.log(\"| SLIDE [\".concat(m.length,\"]: emuSlideTabH ...... = \").concat((p/N).toFixed(1),\" \")),e.forEach(function(a,o){var e,r,t,n,l,i,s,c,p={_type:I.tablecell,_lines:null,_lineHeight:D((a.options&&a.options.fontSize?a.options.fontSize:f.fontSize||L)*(q+(f.autoPageLineWeight||0))/100),text:[],options:a.options},d=(p.options.rowspan&&(p._lineHeight=0),p.options.autoPageCharWeight=f.autoPageCharWeight||null,f.colW[o]);a.options.colspan&&Array.isArray(f.colW)&&(d=f.colW.filter(function(e,t){return o<=t&&t \".concat(JSON.stringify(c))),i.push(c),c=[])),0n&&(l.push(t),t=[],a=\"\"),t.push(e),a+=e.text.toString()}),0=l&&(l=e._lineHeight)}),p maxH) => \".concat((d/N).toFixed(2),\" + \").concat((s._lineHeight/N).toFixed(2),\" > \").concat(p/N)),console.log(\"|-----------------------------------------------------------------------|\\n\\n\")),0a&&(a=e._lineHeight)}),y.rows.push(t),d+=a}),c=r[n]),s._lines.shift());Array.isArray(c.text)&&(s?c.text=c.text.concat(s):0===c.text.length&&(c.text=c.text.concat({_type:I.tablecell,text:\"\"}))),n===h.length-1&&(d+=l),n=n \\n'),l.file(\"_rels/.rels\",'\\n'),l.file(\"docProps/app.xml\",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\\n'),l.file(\"docProps/core.xml\",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+\"\"),l.file(\"xl/_rels/workbook.xml.rels\",''),l.file(\"xl/styles.xml\",'\\n'),l.file(\"xl/theme/theme1.xml\",''),l.file(\"xl/workbook.xml\",'\\n'),l.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n'),''),p=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?c+=''):u.opts._type===v.SCATTER?c+=''):c=s?(o=y.length,y[0].labels.forEach(function(e){return o+=e.filter(function(e){return e&&\"\"!==e}).length}),c+'')+\"\"):(e=y.length+y[0].labels.length*y[0].labels[0].length+y[0].labels.length,r=y.length+y[0].labels.length*y[0].labels[0].length+1,c+'')+''),u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?y.forEach(function(e,t){0===t?c+=\"X-Axis\":c=(c+=\"\".concat(k(e.name||\"Y-Axis\"+t),\"\"))+\"\".concat(k(\"Size\"+t),\"\")}):y.forEach(function(e){c+=\"\".concat(k((e.name||\" \").replace(\"X-Axis\",\"X-Values\")),\"\")}),u.opts._type!==v.BUBBLE&&u.opts._type!==v.BUBBLE3D&&u.opts._type!==v.SCATTER&&y[0].labels.slice().reverse().forEach(function(e){e.filter(function(e){return e&&\"\"!==e}).forEach(function(e){c+=\"\".concat(k(e),\"\")})}),c+=\"\\n\",l.file(\"xl/sharedStrings.xml\",c),''),d=(u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?(p=(p+=''))+''),n=1,y.forEach(function(e,t){0===t?p+=''):(p+=''),n++,p+=''))})):u.opts._type===v.SCATTER?(p=(p+='
')+'',y.forEach(function(e,t){p+=''})):(p=(p+='
')+'',y[0].labels.forEach(function(e,t){p+='')}),y.forEach(function(e,t){p+=''})),p=(p+=\"\")+''+\"
\",l.file(\"xl/tables/table1.xml\",p),'');if(d+='',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D?d+=''):u.opts._type===v.SCATTER?d+=''):d+=''),d=d+''+'',u.opts._type===v.BUBBLE||u.opts._type===v.BUBBLE3D){for(var d=(d+=\"\")+'')+'0',h=1;h').concat(h,\"\");d+=\"\",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,\"\");for(var a=2,o=1;o').concat(y[o].values[t]||\"\",\"\"))+'').concat(y[o].sizes[t]||\"\",\"\"),a++;d+=\"\"})}else if(u.opts._type===v.SCATTER){d=(d+=\"\")+'');for(h=0;h').concat(h,\"\");d+=\"\",y[0].values.forEach(function(e,t){d=(d+=''))+'').concat(e,\"\");for(var a=1;a').concat(y[a].values[t]||0===y[a].values[t]?y[a].values[t]:\"\",\"\");d+=\"\"})}else if(d+=\"\",s){d+='');for(h=0;h0');for(h=y[0].labels.length-1;h').concat(h,\"\");d+=\"\";for(var f=y.length,m=y[0].labels[0].length,A=y[0].labels.length,h=0;h');var o=f,r=y[0].labels.slice().reverse();r.forEach(function(e,t){e[a]&&(e=0===t?1:r[t-1].filter(function(e){return e&&\"\"!==e}).length,o+=e,d+='').concat(o,\"\"))});for(var e=0;e').concat(y[e].values[a]||0,\"\");d+=\"\"}(h)}else{d+=''),y[0].labels.forEach(function(e,t){d+='0')});for(var h=0;h').concat(h+1,\"\");d+=\"\",y[0].labels[0].forEach(function(e,t){d+='');for(var a=y[0].labels.length-1;0<=a;a--)d=(d+=''))+\"\".concat(y.length+t+1,\"\")+\"\";for(var o=0;o').concat(y[o].values[t]||\"\",\"\");d+=\"\"})}d+='\\n',l.file(\"xl/worksheets/sheet1.xml\",d),l.generateAsync({type:\"base64\"}).then(function(e){g.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",e,{base64:!0}),g.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''+'')+\"\"),g.file(\"ppt/charts/\".concat(u.fileName),function(r){var n='',l=!1;n=(n+='')+'')+\"\",r.opts.showTitle?n=n+Oe({title:r.opts.title||\"Chart Title\",color:r.opts.titleColor,fontFace:r.opts.titleFontFace,fontSize:r.opts.titleFontSize||oe,titleAlign:r.opts.titleAlign,titleBold:r.opts.titleBold,titlePos:r.opts.titlePos,titleRotate:r.opts.titleRotate},r.opts.x,r.opts.y)+'':n+='';r.opts._type===v.BAR3D&&(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ');n+=\"\",r.opts.layout?n=(n=(n=(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ')+' ')+' ')+\" \":n+=\"\";Array.isArray(r.opts._type)?r.opts._type.forEach(function(e){var t=R(r.opts,e.options),a=t.secondaryValAxis?se:T,o=t.secondaryCatAxis?ce:S;l=l||t.secondaryValAxis,n+=Fe(e.type,e.data,t,a,o)}):n+=Fe(r.opts._type,r.data,r.opts,T,S);if(r.opts._type!==v.PIE&&r.opts._type!==v.DOUGHNUT){if(r.opts.valAxes&&1 ')+' ')+' ')+' ')+(\"none\"!==t.serGridLine.style?ke(t.serGridLine):\"\"),t.showSerAxisTitle&&(o+=Oe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||\"Axis Title\"}));o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=' '))+' ')+' ')+' ')+(!1===t.serAxisLineShow?\"\":\"\"+z(t.serAxisLineColor||C.color)+\"\")+' ')+\" \")+\" \")+\" \")+\" \")+' '))+\" \"+z(t.serAxisLabelColor||P)+\"\")+' ')+\" \")+' ')+\" \")+' ',t.serAxisLabelFrequency&&(o+=' ');t.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e.toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.serAxisBaseTimeUnit&&(o+=' '),t.serAxisMajorTimeUnit&&(o+=' '),t.serAxisMinorTimeUnit&&(o+=' '),t.serAxisMajorUnit&&(o+=' '),t.serAxisMinorUnit&&(o+=' '));return o+=\"\"}(r.opts,pe,T))),r.opts.catAxes&&r.opts.catAxes[1]&&(n+=Ie(R(r.opts,r.opts.catAxes[1]),ce,se))}r.opts.showDataTable&&(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\"\")+' ')+' ')+' ')+' ')+\" \")+' ')+\" \")+'\\t \\t ')+'\\t \\t\\t')+' '))+'\\t\\t\\t\\t\\t\\t')+'\\t\\t\\t\\t\\t\\t')+\"\\t\\t \\t\\t\")+'\\t\\t\\t ')+\"\\t\");n=(n=(n=(n+=\" \")+(r.opts.plotArea.fill&&r.opts.plotArea.fill.color?G(r.opts.plotArea.fill):\"\"))+(r.opts.plotArea.border?'').concat(G(r.opts.plotArea.border.color),\"\"):\"\")+\" \")+\" \",r.opts.showLegend&&(n=(n+=\"\")+'',(r.opts.legendFontFace||r.opts.legendFontSize||r.opts.legendColor)&&(n=(n=(n=(n+=\"\")+\" \")+\" \")+(r.opts.legendFontSize?'':\"\"),r.opts.legendColor&&(n+=G(r.opts.legendColor)),r.opts.legendFontFace&&(n+=''),r.opts.legendFontFace&&(n+=''),n=(n=(n+=\" \")+' ')+\" \"),n+=\"\");n=(n+=' ')+' ',r.opts._type===v.SCATTER&&(n+='');return n=(n=(n=(n=(n+=\"\")+(r.opts.chartArea.fill&&r.opts.chartArea.fill.color?G(r.opts.chartArea.fill):\"\"))+(r.opts.chartArea.border?'').concat(G(r.opts.chartArea.border.color),\"\"):\"\"))+\" \")+''}(u)),t(null)}).catch(function(e){a(e)})})}function Fe(o,r,n,e,t){var l=\"\";switch(o){case v.AREA:case v.BAR:case v.BAR3D:case v.LINE:case v.RADAR:l+=\"\"),o===v.AREA&&\"stacked\"===n.barGrouping&&(l+=''),o!==v.BAR&&o!==v.BAR3D||(l=(l+='')+''),o===v.RADAR&&(l+=''),l+='';var i=-1;r.forEach(function(e){i++,l=(l=(l=(l=(l+=\"\")+' ')+' ')+\" Sheet1!$\"+E(e._dataIndex+e.labels.length+1)+\"$1\")+' '+k(e.name)+\" \";var t=n.chartColors?n.chartColors[i%n.chartColors.length]:null;l+=\" \",\"transparent\"===t?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(t,''))+\"\":l+=\"\"+z(t)+\"\",o===v.LINE||o===v.RADAR?0===n.lineSize?l+=\"\":l=(l+=''+z(t)+\"\")+'':n.dataBorder&&(l+=''+z(n.dataBorder.color)+''),l=l+u(n.shadow,c)+' ',o!==v.RADAR&&(l=(l+=\"\")+''),n.dataLabelBkgrdColors&&(l+=\"\".concat(z(t),\"\")),l=(l=(l=(l+=\"\")+''))+\"\".concat(z(n.dataLabelColor||P),\"\"))+'')+\"\",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+\"\"),o!==v.LINE&&o!==v.RADAR||(l=(l+=\"\")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=\" \")+\" \"+z(n.chartColors[e._dataIndex+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e._dataIndex])+\"\")+' '+z(n.lineDataSymbolLineColor||t)+' '),o!==v.BAR&&o!==v.BAR3D||1!==r.length||!(n.chartColors&&n.chartColors!==he&&1\")+' ',0===n.lineSize?l+=\"\":l=o===v.BAR?(l+=\"\")+' ':(l+=\" \")+' ',l=l+u(n.shadow,c)+\" \"}),l+=\"\",n.catLabelFormatCode?(l=(l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(e.labels[0].length+1)+\" \")+\" \"+(n.catLabelFormatCode||\"General\")+\"\")+' ',e.labels[0].forEach(function(e,t){l+=''+k(e)+\"\"}),l+=\" \"):(l=(l=(l+=\" \")+\" Sheet1!$A$2:$\"+E(e.labels.length)+\"$\"+(e.labels[0].length+1)+\" \")+'\\t ',e.labels.forEach(function(e){l+=\" \",e.forEach(function(e,t){l+=''+k(e)+\"\"}),l+=\" \"}),l+=\" \"),l=(l=(l=(l=l+\"\"+\" \")+\"Sheet1!$\".concat(E(e._dataIndex+e.labels.length+1),\"$2:$\").concat(E(e._dataIndex+e.labels.length+1),\"$\").concat(e.labels[0].length+1,\"\")+\" \")+\" \"+(n.valLabelFormatCode||n.dataTableFormatCode||\"General\")+\"\")+' ',e.values.forEach(function(e,t){return l+='').concat(e||0===e?e:\"\",\"\")}),l+=\" \",o===v.LINE&&(l+=''),l+=\"\"}),l=(l=(l=(l=(l+=\" \")+' ')+\" \")+' ')+\" \"+z(n.dataLabelColor||P)+\"\")+' ',n.dataLabelPosition&&(l+=' '),l=(l=(l+=' ')+' ')+' ')+\" \",o===v.BAR?l=(l+=' ')+' ':o===v.BAR3D?l=(l=(l+=' ')+' ')+' ':o===v.LINE&&(l+=' '),l=(l+=''))+\"\");break;case v.SCATTER:l=(l+=\"\")+''+'',i=-1,r.filter(function(e,t){return 0\")+' ')+\" Sheet1!$\"+E(e+2)+\"$1\")+' '+k(a.name)+\" \";var o,t=n.chartColors[i%n.chartColors.length];\"transparent\"===t?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(t,'')+\"\":l+=\"\"+z(t)+\"\",0===n.lineSize?l+=\"\":l=(l+=''+z(t)+\"\")+'',l=(l=(l+=u(n.shadow,c))+\" \"+\"\")+' ',n.lineDataSymbolSize&&(l+=' '),l=(l=(l+=\" \")+\" \"+z(n.chartColors[e+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):e])+\"\")+' '+z(n.lineDataSymbolLineColor||n.chartColors[i%n.chartColors.length])+' ',n.showLabel&&(o=Ae(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),!a.labels[0]||\"custom\"!==n.dataLabelFormatScatter&&\"customXY\"!==n.dataLabelFormatScatter||(l+=\"\",a.labels[0].forEach(function(e,t){\"custom\"!==n.dataLabelFormatScatter&&\"customXY\"!==n.dataLabelFormatScatter||(l=(l=(l=(l+=\" \")+' \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t')+' \\t\\t')+\" \\t\\t\"+k(e)+\" \\t\",l=(\"customXY\"!==n.dataLabelFormatScatter||/^ *$/.test(e)?l:(l=(l=(l=(l=(l=(l=(l=(l=(l=(l+=\" \\t\")+' \\t\\t \\t\\t ( \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+k(a.name)+\" \\t \\t\")+' \\t\\t \\t\\t, \\t')+' \\t')+' \\t\\t \\t\\t \\t\\t\\t \\t\\t')+\" \\t\\t[\"+k(a.name)+\"] \\t \\t\")+' \\t\\t \\t\\t) \\t')+' \\t')+\" \\t \\t \\t \\t\\t \\t \\t \",n.dataLabelPosition&&(l+=' '),l=(l+=' \\t ')+'\\t\\t\\t \\t\\t')}),l+=\"\"),\"XY\"===n.dataLabelFormatScatter&&(l+='\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\t \\t\\t\\t \\t\\t \\t\\t\\t\\t',n.dataLabelPosition&&(l+=' '),l=(l=(l+='\\t')+' '))+' ')+'\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t')),1===r.length&&n.chartColors!==he&&a.values.forEach(function(e,t){e=e<0?n.invertedColors||n.chartColors||he:n.chartColors||[];l=(l+=\" \")+' ',0===n.lineSize?l+=\"\":l=(l+=\"\")+' ',l=l+u(n.shadow,c)+\" \"}),l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l=(l+=\" \")+\" Sheet1!$\"+E(e+2)+\"$2:$\"+E(e+2)+\"$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),l=(l+=\" \")+''}),l=(l=(l=(l=(l+=\" \")+' ')+\" \")+' ')+\" \"+z(n.dataLabelColor||P)+\"\")+' ',n.dataLabelPosition&&(l+=' '),l=(l+=' ')+' ',l=(l+=''))+(\"\");break;case v.BUBBLE:case v.BUBBLE3D:var l=l+\"\"+'',i=-1,s=1;r.filter(function(e,t){return 0\")+' ')+\" Sheet1!$\"+E(s+1)+\"$1\")+' '+k(a.name)+\" \";e=n.chartColors[i%n.chartColors.length];\"transparent\"===e?l+=\"\":n.chartColorsOpacity?l+=\"\"+z(e,'')+\"\":l+=\"\"+z(e)+\"\",0===n.lineSize?l+=\"\":n.dataBorder?l+=''+z(n.dataBorder.color)+'':l=(l+=''+z(e)+\"\")+'',l=l+u(n.shadow,c)+\"\",l=(l=(l+=\" \")+\" Sheet1!$A$2:$A$\"+(r[0].values.length+1)+\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l+=\" \")+\" Sheet1!$\"+E(s+1)+\"$2:$\"+E(s+1)+\"$\"+(r[0].values.length+1)+\"\",s++,l=(l+=\" General\")+' ',r[0].values.forEach(function(e,t){l+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),l=(l+=\" \")+\" Sheet1!$\"+E(s+1)+\"$2:$\"+E(s+1)+\"$\"+(a.sizes.length+1)+\"\",s++,l=(l+=\" General\")+'\\t ',a.sizes.forEach(function(e,t){l+=''+(e||\"\")+\"\"}),l=(l+=\" \")+' '}),l=(l=(l=(l=(l+=\"\")+'')+\"\")+''))+\"\".concat(z(n.dataLabelColor||P),\"\"))+'')+\"\",n.dataLabelPosition&&(l+='')),l=(l=(l+='')+'')+'')+'')+\"\";break;case v.DOUGHNUT:case v.PIE:var a=r[0];l=(l+=\"\")+' '+\"\",n.chartPieExplosion&&Number.isInteger(n.chartPieExplosion)&&(l+=' '),l=(l=(l=(l=(l=(l=(l=(l+=' ')+' '+\" \")+\" \"+\" Sheet1!$B$1\")+\" \"+' ')+(' '+k(a.name)+\"\"))+\" \"+\" \")+\" \"+\" \")+' '+' ',n.dataNoEffects?l+=\"\":l+=u(n.shadow,c),l+=\" \",a.labels[0].forEach(function(e,t){l=(l=(l+=\"\")+' ')+' ')+\"\".concat(z(n.chartColors[t+1>n.chartColors.length?Math.floor(Math.random()*n.chartColors.length):t]),\"\"),n.dataBorder&&(l+='').concat(z(n.dataBorder.color),'')),l=l+u(n.shadow,c)+\" \"}),l+=\"\",a.labels[0].forEach(function(e,t){l=(l=(l=(l=(l=(l+=\"\")+' '))+' ')+\" \")+' '))+\" \"+z(n.dataLabelColor||P)+\"\")+' ')+\" \",o===v.PIE&&n.dataLabelPosition&&(l+=' ')),l=(l=(l=(l+=' ')+' ')+' ')+' '}),l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=l+' ')+\"\\t\")+\"\\t \"+\"\\t \")+\"\\t \"+\"\\t\\t\")+('\\t\\t ')+'\\t\\t\\t')+\"\\t\\t \"+\"\\t\\t\")+\"\\t \"+\"\\t\")+(o===v.PIE?'':\"\"))+'\\t'+'\\t')+'\\t'+'\\t')+'\\t'+'\\t')+' ')+\"\")+\"\"+\" \")+(\" Sheet1!$A$2:$A$\"+(a.labels[0].length+1)+\"\")+\" \")+('\\t '),a.labels[0].forEach(function(e,t){l+=''+k(e)+\"\"}),l=(l=(l=(l=(l+=\" \")+\" \"+\"\")+\" \"+\" \")+(\" Sheet1!$B$2:$B$\"+(a.labels[0].length+1)+\"\")+\" \")+('\\t '),a.values.forEach(function(e,t){l+=''+(e||0===e?e:\"\")+\"\"}),l=(l=(l=l+\" \"+\" \")+\" \"+\" \")+' '),o===v.DOUGHNUT&&(l+=' '),l+=\"\";break;default:l+=\"\"}return l}function Ie(t,e,a){var o=\"\";return t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=\"\":o+=\"\",o=(o+=' ')+\" \"+(''),!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(o+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(o+=''),o=(o=(o=o+\"\"+(' '))+(' '))+(\"none\"!==t.catGridLine.style?ke(t.catGridLine):\"\"),t.showCatAxisTitle&&(o+=Oe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||\"Axis Title\"})),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=' ':o+=' ',t._type===v.SCATTER?o+=' ':o=(o=(o+=' ')+' ')+' ',o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+=\" \")+(' '))+(!1===t.catAxisLineShow?\"\":\"\"+z(t.catAxisLineColor||C.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+z(t.catAxisLabelColor||P)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" ')+' ')+' '+(' '),t.catAxisLabelFrequency&&(o+=' '),!t.catLabelFormatCode&&t._type!==v.SCATTER&&t._type!==v.BUBBLE&&t._type!==v.BUBBLE3D||(t.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t[e].toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.catAxisBaseTimeUnit&&(o+=''),t.catAxisMajorTimeUnit&&(o+=''),t.catAxisMinorTimeUnit&&(o+='')),t.catAxisMajorUnit&&(o+=''),t.catAxisMinorUnit&&(o+='')),t._type===v.SCATTER||t._type===v.BUBBLE||t._type===v.BUBBLE3D?o+=\"\":o+=\"\",o}function Ne(e,t){var a=t===T?\"col\"===e.barDir?\"l\":\"b\":\"col\"!==e.barDir?\"r\":\"t\",o=\"r\"===(a=t===se?\"r\":a)||\"t\"===a,r=t===T?S:ce,n=\"\",n=(n+=\"\")+(' ')+\" \";return e.valAxisLogScaleBase&&(n+='')),n+='',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(n+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(n+=''),n=(n+=\" \")+(' ')+(' '),\"none\"!==e.valGridLine.style&&(n+=ke(e.valGridLine)),e.showValAxisTitle&&(n+=Oe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||\"Axis Title\"})),n+=''),e._type===v.SCATTER?n+=' ':n=(n=(n+=' ')+' ')+' ',n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n+=\" \")+(' '))+(!1===e.valAxisLineShow?\"\":\"\"+z(e.valAxisLineColor||C.color)+\"\"))+(' '))+\" \"+\" \")+\" \"+\" \")+(\" \")+\" \")+\" \"+\" \")+(' '))+(\" \"+z(e.valAxisLabelColor||P)+\"\"))+(' '))+\" \"+\" \")+(' ')+\" \")+\" \"+(' '))+\" '))+(' '),e.valAxisMajorUnit&&(n+=' '),e.valAxisDisplayUnit&&(n+='').concat(e.valAxisDisplayUnitLabel?\"\":\"\",\"\")),n+=\"\"}function Oe(e,t,a){var o=\"left\"===e.titleAlign||\"right\"===e.titleAlign?''):\"\",r=e.titleRotate?''):\"\",n=e.fontSize?'sz=\"'+Math.round(100*e.fontSize)+'\"':\"\",l=!0===e.titleBold?1:0,i=\"\";return e.titlePos&&\"number\"==typeof e.titlePos.x&&\"number\"==typeof e.titlePos.y&&(1<=(t=0===(t=e.titlePos.x+t)?0:t*(t/5)/10)&&(t/=10),.1<=t&&(t/=10),1<=(a=0===(a=e.titlePos.y+a)?0:a*(a/5)/10)&&(a/=10),.1<=a&&(a/=10),i='')),\"\\n\\t \\n\\t \\n\\t \".concat(r,\"\\n\\t \\n\\t \\n\\t \").concat(o,\"\\n\\t \\n\\t ').concat(z(e.color||P),'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t ').concat(z(e.color||P),'\\n\\t \\n\\t \\n\\t ').concat(k(e.title)||\"\",\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \").concat(i,'\\n\\t \\n\\t')}function E(e){e-=1;return e<=25?de[e]:\"\".concat(de[Math.floor(e/de.length-1)]).concat(de[e%de.length])}function u(e,t){if(!e)return\"\";if(\"object\"!=typeof e)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var a=\"\",t=R(t,e),e=t.type||\"outer\",o=M(t.blur),r=M(t.offset),n=Math.round(6e4*t.angle),l=t.color,i=Math.round(1e5*t.opacity);return(a+=\"')+('')+('')+(\"\")+\"\"}function ke(e){var t=\"\";return(t+=\" \")+(' ')+(' ')+(' ')+\" \"+\" \"+\"\"}function De(e){return\"object\"==typeof e&&ze.includes(e.name)&&(e.path||e.data)}function Me(e){return\"object\"==typeof e&&\"\"!==e.name&&Ge(e.styles)}var Ue=function(r){return new Promise(function(t,a){var o=new XMLHttpRequest;o.onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,t(\"done\")},e.readAsDataURL(o.response)},o.onerror=function(e){a(\"ERROR! Unable to load font (xhr.onerror): \".concat(r.path))},o.open(\"GET\",r.path),o.responseType=\"blob\",o.send()})},ze=[\"regular\",\"bold\",\"italic\",\"boldItalic\"],Ge=function(e){return Array.isArray(e)&&e.every(De)};function je(e){var n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,l=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,t=[],i=e._relsMedia.filter(function(e){return\"online\"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf(\"preencoded\"))}),a=[];return i.forEach(function(e){-1===a.indexOf(e.path)?(e.isDuplicate=!1,a.push(e.path)):e.isDuplicate=!0}),i.filter(function(e){return!e.isDuplicate}).forEach(function(r){t.push(new Promise(function(a,o){var t;if(n&&0!==r.path.indexOf(\"http\"))try{var e=n.readFileSync(r.path);r.data=Buffer.from(e).toString(\"base64\"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a(\"done\")}catch(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o('ERROR: Unable to read media: \"'+r.path+'\"\\n'+e.toString())}else n&&l&&0===r.path.indexOf(\"http\")?l.get(r.path,function(e){var t=\"\";e.setEncoding(\"binary\"),e.on(\"data\",function(e){return t+=e}),e.on(\"end\",function(){r.data=Buffer.from(t,\"binary\").toString(\"base64\"),i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),a(\"done\")}),e.on(\"error\",function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o(\"ERROR! Unable to load image (https.get): \".concat(r.path))})}):((t=new XMLHttpRequest).onload=function(){var e=new FileReader;e.onloadend=function(){r.data=e.result,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),r.isSvgPng?We(r).then(function(){a(\"done\")}).catch(function(e){o(e)}):a(\"done\")},e.readAsDataURL(t.response)},t.onerror=function(e){r.data=f,i.filter(function(e){return e.isDuplicate&&e.path===r.path}).forEach(function(e){return e.data=r.data}),o(\"ERROR! Unable to load image (xhr.onerror): \".concat(r.path))},t.open(\"GET\",r.path),t.responseType=\"blob\",t.send())}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){n?(e.data=f,t.push(Promise.resolve().then(function(){return\"done\"}))):t.push(We(e))}),t}function We(r){return new Promise(function(a,t){var o=new Image;o.onload=function(){o.width+o.height===0&&o.onerror(\"h/w=0\");var e=document.createElement(\"CANVAS\"),t=e.getContext(\"2d\");e.width=o.width,e.height=o.height,t.drawImage(o,0,0);try{r.data=e.toDataURL(r.type),a(\"done\")}catch(e){o.onerror(e)}},o.onerror=function(e){r.data=f,t(\"ERROR! Unable to load image (image.onerror): \".concat(r.path))},o.src=\"string\"==typeof r.data?r.data:f})}var He={cover:function(e,t){var e=e.h/e.w,a=e'},contain:function(e,t){var e=e.h/e.w,a=e'},crop:function(e,t){var a=t.x,o=e.w-(t.x+t.w),r=t.y,t=e.h-(t.y+t.h);return''}};function Ve(_){var B=_._name?'':\"\",F=1;return _._bkgdImgRid?B+=''):_.background&&(_.background.color||_.background.gradient)?B+=\"\".concat(G(_.background),\"\"):!_.bkgd&&_._name&&_._name===re&&(B+=''),B=(B=B+\"\"+'')+''+'',_._slideObjects.forEach(function(o,e){var t,a=0,r=0,n=O(\"75%\",\"X\",_._presLayout),l=0,i=\"\";switch(void 0!==_._slideLayout&&void 0!==_._slideLayout._slideObjects&&o.options&&o.options.placeholder&&(t=_._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===o.options.placeholder})[0]),o.options=o.options||{},void 0!==o.options.x&&(a=O(o.options.x,\"X\",_._presLayout)),void 0!==o.options.y&&(r=O(o.options.y,\"Y\",_._presLayout)),void 0!==o.options.w&&(n=O(o.options.w,\"X\",_._presLayout)),void 0!==o.options.h&&(l=O(o.options.h,\"Y\",_._presLayout)),t&&(!t.options.x&&0!==t.options.x||(a=O(t.options.x,\"X\",_._presLayout)),!t.options.y&&0!==t.options.y||(r=O(t.options.y,\"Y\",_._presLayout)),!t.options.w&&0!==t.options.w||(n=O(t.options.w,\"X\",_._presLayout)),!t.options.h&&0!==t.options.h||(l=O(t.options.h,\"Y\",_._presLayout))),o.options.flipH&&(i+=' flipH=\"1\"'),o.options.flipV&&(i+=' flipV=\"1\"'),o.options.rotate&&(i+=' rot=\"'+U(o.options.rotate)+'\"'),o._type){case I.table:var s,c=o.arrTabRows,p=o.options,d=0,h=0,f=(c[0].forEach(function(e){s=e.options||null,d+=s&&s.colspan?Number(s.colspan):1}),'')),f=(f+=' ')+'')+'';if(Array.isArray(p.colW)){f+=\"\";for(var m=0;m'}f+=\"\"}else{h=p.colW||N,o.options.w&&!p.colW&&(h=Math.round((\"number\"==typeof o.options.w?o.options.w:1)/d)),f+=\"\";for(var u=0;u';f+=\"\"}c.forEach(function(r){for(var n,l,e=0;e'),e.forEach(function(e){var a,t,o,r,n,l={rowSpan:1<(null==(i=e.options)?void 0:i.rowspan)?e.options.rowspan:void 0,gridSpan:1<(null==(i=e.options)?void 0:i.colspan)?e.options.colspan:void 0,vMerge:e._vmerge?1:void 0,hMerge:e._hmerge?1:void 0},i=(i=Object.keys(l).map(function(e){return[e,l[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){var t=e[0],e=e[1];return\"\".concat(t,'=\"').concat(e,'\"')}).join(\" \"))&&\" \"+i;e._hmerge||e._vmerge?f+=\"\"):(a=e.options||{},e.options=a,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(e){p[e]&&!a[e]&&0!==a[e]&&(a[e]=p[e])}),t=a.valign?' anchor=\"'+a.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",o=(o=(e._optImp&&e._optImp.fill&&e._optImp.fill.color?e._optImp.fill.color:e._optImp&&e._optImp.fill&&\"string\"==typeof e._optImp.fill?e._optImp.fill:\"\")||a.fill?a.fill:\"\")?G(o):\"\",r=0===a.margin||a.margin?a.margin:ee,n=\"\",n=1<=(r=Array.isArray(r)||\"number\"!=typeof r?r:[r,r,r,r])[0]?' marL=\"'.concat(M(r[3]),'\" marR=\"').concat(M(r[1]),'\" marT=\"').concat(M(r[0]),'\" marB=\"').concat(M(r[2]),'\"'):' marL=\"'.concat(D(r[3]),'\" marR=\"').concat(D(r[1]),'\" marT=\"').concat(D(r[0]),'\" marB=\"').concat(D(r[2]),'\"'),f+=\"\").concat(Xe(e),\"\"),a.border&&Array.isArray(a.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(e){var t=Math.round(1e3*(100-a.border[e.idx].transparency)),t='');\"none\"!==a.border[e.idx].type?f=(f=(f=(f+=\"'))+\"\".concat(z(a.border[e.idx].color,t),\"\"))+''))+\"\"):f+=\"\")}),f=f+o+\" \")}),f+=\"\"}),B+=f=(f=f+\" \"+\" \")+\" \"+\"\",F++;break;case I.text:case I.placeholder:if(o.options.line||0!==l||(l=.3*N),o.options._bodyProp||(o.options._bodyProp={}),o.options.margin&&Array.isArray(o.options.margin)?(o.options._bodyProp.lIns=M(o.options.margin[0]||0),o.options._bodyProp.rIns=M(o.options.margin[1]||0),o.options._bodyProp.bIns=M(o.options.margin[2]||0),o.options._bodyProp.tIns=M(o.options.margin[3]||0)):\"number\"==typeof o.options.margin&&(o.options._bodyProp.lIns=M(o.options.margin),o.options._bodyProp.rIns=M(o.options.margin),o.options._bodyProp.bIns=M(o.options.margin),o.options._bodyProp.tIns=M(o.options.margin)),B=(B+=\"\")+''),o.options.hyperlink&&o.options.hyperlink.url&&(B+=''),o.options.hyperlink&&o.options.hyperlink.slide&&(B+=''),B=(B=(B=(B=(B=(B+=\"\")+(\"':\"/>\")))+\"\".concat(\"placeholder\"===o._type?Ke(o):Ke(t),\"\")+\"\")+\"\"))+''))+''),\"custGeom\"===o.shape)B=(B+='')+''),null!=(C=o.options.points)&&C.map(function(e,t){if(\"curve\"in e)switch(e.curve.type){case\"arc\":B+='');break;case\"cubic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t');break;case\"quadratic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t')}else\"close\"in e?B+=\"\":e.moveTo||0===t?B+=''):B+='')}),B+=\"\";else{if(B+='',o.options.rectRadius)B+='');else if(o.options.angleRange){for(var g=0;g<2;g++){var y=o.options.angleRange[g];B+='')}o.options.arcThicknessRatio&&(B+=''))}B+=\"\"}B+=o.options.fill?G(o.options.fill):\"\",o.options.line&&(B+=o.options.line.width?''):\"\",o.options.line.color&&(B+=G(o.options.line)),o.options.line.dashType&&(B+='')),o.options.line.beginArrowType&&(B+='')),o.options.line.endArrowType&&(B+='')),B+=\"\"),o.options.shadow&&\"none\"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||\"outer\",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B=(B+=\"\")+\"')+'')+'')+\"\"),B=(B+=\"\")+Xe(o)+\"\";break;case I.image:var b,v,x,C=o.options.sizing,P=o.options.rounding,L=n,w=l,T=(T=o.options.fillOverlay)?' \\n \\n \\n \\n \\n \\n '):\"\",S=(S=o.options.solidFill)?' \\n \\n \\n \\n '):\"\",R=o.options.shadow||o.options.blur,E=o.options.blur;B=(B=B+\"\"+\" \")+''),o.hyperlink&&o.hyperlink.url&&(B+='')),o.hyperlink&&o.hyperlink.slide&&(B+='')),B=(B=(B=B+\" \"+' ')+(\" \"+Ke(t)+\"\"))+\" \"+\"\",B=(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0]&&\"svg\"===(_._relsMedia||[]).filter(function(e){return e.rId===o.imageRid})[0].extn?(B=(B=(B+='')+(o.options.transparency?' '):\"\")+T)+(E?''):\"\")+' ')+' ':(B=(B+='')+(o.options.transparency?' '):\"\")+T)+(E?''):\"\")+\"\",C&&C.type?(T=C.w?O(C.w,\"X\",_._presLayout):n,b=C.h?O(C.h,\"Y\",_._presLayout):l,v=O(C.x||0,\"X\",_._presLayout),x=O(C.y||0,\"Y\",_._presLayout),B+=He[C.type]({w:L,h:w},{w:T,h:b,x:v,y:x}),L=T,w=b):B+=\" \",B=(B=(B=(B=B+\"\"+\"\")+(\" \")+(' '))+(' ')+\" \")+(' ')+S,R&&(B+=\"\",o.options.shadow&&\"none\"!==o.options.shadow.type&&(o.options.shadow.type=o.options.shadow.type||\"outer\",o.options.shadow.blur=M(o.options.shadow.blur||8),o.options.shadow.offset=M(o.options.shadow.offset||4),o.options.shadow.angle=Math.round(6e4*(o.options.shadow.angle||270)),o.options.shadow.opacity=Math.round(1e5*(o.options.shadow.opacity||.75)),o.options.shadow.color=o.options.shadow.color||le.color,B=(B=(B=(B=(B=(B=(B+=\"')+'')+'')+\"\"),null!=E&&E.grow&&(E.radius=M(E.radius/10||8),B+='')),B+=\"\"),B=B+\"\"+\"\";break;case I.media:B=\"online\"===o.mtype?(B=(B=(B=(B=(B+=\" \")+'')+\" \")+' ')+' ')+\" \")+' ':(B=(B=(B=(B=(B=(B+=\" \")+'')+' ')+' ')+' ')+' ')+\" \")+' ';break;case I.chart:B=(B=(B=(B=(B=(B=(B=B+\"\"+\" \")+' ')+\" \")+\" \".concat(Ke(t),\"\")+\" \")+' '))+' '+' ')+' ')+\" \")+\" \"+\"\";break;default:B+=\"\"}}),_._slideNumberProps&&(_._slideNumberProps.align||(_._slideNumberProps.align=\"left\"),B=B+(' \",(_._slideNumberProps.fontFace||_._slideNumberProps.fontSize||_._slideNumberProps.color)&&(B+=''),_._slideNumberProps.color&&(B+=G(_._slideNumberProps.color)),_._slideNumberProps.fontFace&&(B+='')),B+=\"\"),B+=\"\",_._slideNumberProps.align.startsWith(\"l\")?B+='':_._slideNumberProps.align.startsWith(\"c\")?B+='':_._slideNumberProps.align.startsWith(\"r\")?B+='':B+='',B=(B+=''))+\"\".concat(_._slideNum,'')+\"\"),B=B+\"\"+\"\"}function Qe(e,t){var a=0,o=''+h+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':o+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),o+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':o+='':-1':o+='':-1':o+='')}),t.forEach(function(e,t){o+=''}),o+=\"\"}function Ye(e,t){var a,o=\"\",r=\"\",n=\"\",l=\"\",i=t?\"a:lvl1pPr\":\"a:pPr\",s=M(X),c=\"<\".concat(i).concat(e.options.rtlMode?' rtl=\"1\" ':\"\");if(e.options.align)switch(e.options.align){case\"left\":c+=' algn=\"l\"';break;case\"right\":c+=' algn=\"r\"';break;case\"center\":c+=' algn=\"ctr\"';break;case\"justify\":c+=' algn=\"just\"';break;default:c+=\"\"}return e.options.lineSpacing?r=''):e.options.lineSpacingMultiple&&(r='')),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0')),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0')),\"object\"==typeof e.options.bullet?(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(s=M(e.options.bullet.indent)),e.options.bullet.type?\"number\"===e.options.bullet.type.toString().toLowerCase()&&(c+=' marL=\"'.concat(e.options.indentLevel&&0')):o=e.options.bullet.characterCode?(a=\"&#x\".concat(e.options.bullet.characterCode,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),a=d.DEFAULT),c+=' marL=\"'.concat(e.options.indentLevel&&0'):e.options.bullet.code?(a=\"&#x\".concat(e.options.bullet.code,\";\"),!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),a=d.DEFAULT),c+=' marL=\"'.concat(e.options.indentLevel&&0'):(c+=' marL=\"'.concat(e.options.indentLevel&&0'))):!0===e.options.bullet?(c+=' marL=\"'.concat(e.options.indentLevel&&0')):!1===e.options.bullet&&(c+=' indent=\"0\" marL=\"0\"',o=\"\"),e.options.tabStops&&Array.isArray(e.options.tabStops)&&(a=e.options.tabStops.map(function(e){return'')}).join(\"\"),l=\"\".concat(a,\"\")),c+=\">\"+r+n+o+l,t&&(c+=qe(e.options,!0)),c+=\"\"}function qe(e,t){var a,o,r,n,l=\"\",t=t?\"a:defRPr\":\"a:rPr\",l=(l=(l=(l=(l+=\"<\"+t+' lang=\"'+(e.lang||\"en-US\")+'\"'+(e.lang?' altLang=\"en-US\"':\"\"))+(e.fontSize?' sz=\"'+Math.round(e.fontSize)+'00\"':\"\"))+(e.hasOwnProperty(\"bold\")?' b=\"'.concat(e.bold?1:0,'\"'):\"\"))+(e.hasOwnProperty(\"italic\")?' i=\"'.concat(e.italic?1:0,'\"'):\"\"))+(e.hasOwnProperty(\"strike\")?' strike=\"'.concat(\"string\"==typeof e.strike?e.strike:\"sngStrike\",'\"'):\"\");if(\"object\"==typeof e.underline&&null!=(a=e.underline)&&a.style?l+=' u=\"'.concat(e.underline.style,'\"'):\"string\"==typeof e.underline?l+=' u=\"'.concat(e.underline,'\"'):e.hyperlink&&(l+=' u=\"sng\"'),e.baseline?l+=' baseline=\"'.concat(Math.round(50*e.baseline),'\"'):e.subscript?l+=' baseline=\"-40000\"':e.superscript&&(l+=' baseline=\"30000\"'),l=l+(e.charSpacing?' spc=\"'.concat(Math.round(100*e.charSpacing),'\" kern=\"0\"'):\"\")+' dirty=\"0\">',(e.color||e.fontFace||e.outline||\"object\"==typeof e.underline&&e.underline.color)&&(e.outline&&\"object\"==typeof e.outline&&(l+='').concat(G(e.outline.color||\"FFFFFF\"),\"\")),e.color&&(l+=G({color:e.color,transparency:e.transparency})),e.highlight&&(l+=\"\".concat(z(e.highlight),\"\")),\"object\"==typeof e.underline&&e.underline.color&&(l+=\"\".concat(G(e.underline.color),\"\")),e.glow&&(l+=\"\".concat((a=e.glow,r=\"\",o=R(o=ie,a),a=Math.round(o.size*x),n=o.color,o=Math.round(1e5*o.opacity),(r+=''))+z(n,''))+\"\"),\"\")),e.fontFace&&(l+=''))),e.hyperlink){if(\"object\"!=typeof e.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");e.hyperlink.url?l+='\":\"/>\"):e.hyperlink.slide&&(l+='\":\"/>\")),e.color&&(l+='\\t\\t\\t\\t\\t\\t\\t\\t\\t')}return l+=\"\")}function Xe(o){var r=o.options||{},e=[],a=[];if(r&&o._type!==I.tablecell&&(void 0===o.text||null===o.text))return\"\";var t,n,l=o._type===I.tablecell?\"\":\"\",i=(l+=(n=\"\",t.options.fit&&(\"none\"===t.options.fit?n+=\"\":\"shrink\"===t.options.fit?n+=\"\":\"resize\"===t.options.fit&&(n+=\"\")),t.options.shrinkText&&(n+=\"\"),n=n+(!1!==t.options._bodyProp.autoFit?\"\":\"\")+\"\"):n+=' wrap=\"square\" rtlCol=\"0\">',t._type===I.tablecell?\"\":n),0===r.h&&r.line&&r.align?l+='':\"placeholder\"===o._type?l+=\"\".concat(Ye(o,!0),\"\"):l+=\"\",\"string\"==typeof o.text||\"number\"==typeof o.text?e.push({text:o.text.toString(),options:r||{}}):o.text&&!Array.isArray(o.text)&&\"object\"==typeof o.text&&-1\",\"\"),o.options.align=o.options.align||r.align,o.options.lineSpacing=o.options.lineSpacing||r.lineSpacing,o.options.lineSpacingMultiple=o.options.lineSpacingMultiple||r.lineSpacingMultiple,o.options.indentLevel=o.options.indentLevel||r.indentLevel,o.options.paraSpaceBefore=o.options.paraSpaceBefore||r.paraSpaceBefore,o.options.paraSpaceAfter=o.options.paraSpaceAfter||r.paraSpaceAfter,a=Ye(o,!1),l+=a.replace(\"\",\"\"),Object.entries(r).forEach(function(e){var t,a=e[0],e=e[1];o.options.hyperlink&&\"color\"===a||\"bullet\"!==a&&void 0===(null==(t=o.options)?void 0:t[a])&&(o.options[a]=e)}),l+=(e=o).text?\"\".concat(qe(e.options,!1),\"\").concat(k(e.text),\"\"):\"\",(!o.text&&r.fontSize||o.options.fontSize)&&(t=!0,r.fontSize=r.fontSize||o.options.fontSize)}),o._type===I.tablecell&&(r.fontSize||r.fontFace)?r.fontFace?l=(l=(l=(l+='')+''))+''))+'')+\"\":l+='':l+=t?'':''),l+=\"\"}),l+=o._type===I.tablecell?\"\":\"\"}function Ke(e){if(!e)return\"\";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:\"\",a=e.options&&e.options._placeholderType?e.options._placeholderType:\"\";return\"\")}function Je(e){return''+h+''+k((t=\"\",e._slideObjects.forEach(function(e){e._type===I.notes&&(t+=e.text&&e.text[0]?e.text[0].text:\"\")}),t.replace(/\\r*\\n/g,h)))+''+e._slideNum+'';var t}function Ze(e,t,a){return Qe(e[a-1],[{target:\"../slideLayouts/slideLayout\"+function(e,t,a){for(var o=0;o'+h)+'')+'')+'')+'')+'',r.forEach(function(e){(e._relsMedia||[]).forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===a.indexOf(e.type)&&(a+='')})}),a=(a+='')+'',r.forEach(function(e,t){a=a+'',e._relsChart.forEach(function(e){a+=' '})}),a=(a+='')+'',t.forEach(function(e,t){a+='',(e._relsChart||[]).forEach(function(e){a+=' '})}),r.forEach(function(e,t){a+=' '}),e._relsChart.forEach(function(e){a+=' '}),e._relsMedia.forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===a.indexOf(e.type)&&(a+=' ')}),a=(a+=' ')+' ')),s.file(\"_rels/.rels\",''.concat(h,'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t')),s.file(\"docProps/app.xml\",(t=c.slides,r=c.company,''.concat(h,'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t').concat(t.length,\"\\n\\t\").concat(t.length,'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t').concat(t.length,'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t').concat(t.map(function(e,t){return\"Slide \"+(t+1)+\"\\n\"}).join(\"\"),\"\\n\\t\\t\\n\\t\\n\\t\").concat(r,\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"))),s.file(\"docProps/core.xml\",(e=c.title,t=c.subject,r=c.author,n=c.revision,'\\n\\t\\n\\t\\t'.concat(k(e),\"\\n\\t\\t\").concat(k(t),\"\\n\\t\\t\").concat(k(r),\"\\n\\t\\t\").concat(k(r),\"\\n\\t\\t\").concat(n,'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),'\\n\\t\\t').concat((new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\"),\"\\n\\t\"))),s.file(\"ppt/_rels/presentation.xml.rels\",function(e,t){for(var a=1,o=(o=''+h)+''+'',r=1;r<=e.length;r++)o+='';return a++,o+='',t.forEach(function(e){e.styles.forEach(function(e){e.rel.id=\"rId\".concat(a),o+='')})}),o+=\"\"}(c.slides,c.fonts)),s.file(\"ppt/theme/theme1.xml\",''.concat(h,'')),s.file(\"ppt/presentation.xml\",function(e){var t=(t=''.concat(h)+''))+''+\"\";e.slides.forEach(function(e){return t+='')}),t=(t=(t=(t+=\"\")+''))+''))+''),0\",e.fonts.forEach(function(e){t=(t+=\"\")+''),e.styles.forEach(function(e){t+=\"')}),t+=\"\"}),t+=\"\"),t+=\"\";for(var a=1;a<10;a++)t+=\"')+''+\"\");return t+=\"\",e.sections&&0',e.sections.forEach(function(e){t+=''),e._slides.forEach(function(e){return t+='')}),t+=\"\"}),t+=''),t+=\"\"}(c)),s.file(\"ppt/presProps.xml\",''.concat(h,'')),s.file(\"ppt/tableStyles.xml\",''.concat(h,'')),s.file(\"ppt/viewProps.xml\",''.concat(h,'')),c.slideLayouts.forEach(function(e,t){s.file(\"ppt/slideLayouts/slideLayout\"+(t+1)+\".xml\",'\\n\\t\\t\\n\\t\\t'.concat(Ve(e),\"\\n\\t\\t\")),s.file(\"ppt/slideLayouts/_rels/slideLayout\"+(t+1)+\".xml.rels\",(e=t+1,Qe(c.slideLayouts[e-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])))}),c.slides.forEach(function(e,t){var a;s.file(\"ppt/slides/slide\"+(t+1)+\".xml\",(a=e,''.concat(h)+'\")+\"\".concat(Ve(a))+\"\")),s.file(\"ppt/slides/_rels/slide\"+(t+1)+\".xml.rels\",Ze(c.slides,c.slideLayouts,t+1)),s.file(\"ppt/notesSlides/notesSlide\"+(t+1)+\".xml\",Je(e)),s.file(\"ppt/notesSlides/_rels/notesSlide\"+(t+1)+\".xml.rels\",'\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'))}),s.file(\"ppt/slideMasters/slideMaster1.xml\",(o=c.masterSlide,e=(e=c.slideLayouts).map(function(e,t){return''}),t=''+h,(t+='')+Ve(o)+''+e.join(\"\")+' ')),s.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",(r=c.masterSlide,(n=(n=c.slideLayouts).map(function(e,t){return{target:\"../slideLayouts/slideLayout\".concat(t+1,\".xml\"),type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}})).push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Qe(r,n))),s.file(\"ppt/notesMasters/notesMaster1.xml\",''.concat(h,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),s.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''.concat(h,'\\n\\t\\t\\n\\t\\t')),c.slideLayouts.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.slides.forEach(function(e){c.createChartMediaRels(e,s,i)}),c.createChartMediaRels(c.masterSlide,s,i),c.createFontRels(s,c.fonts),Promise.all(i).then(function(){return\"STREAM\"===l.outputType?s.generateAsync({type:\"nodebuffer\",compression:l.compression?\"DEFLATE\":\"STORE\"}):l.outputType?s.generateAsync({type:l.outputType}):s.generateAsync({type:\"blob\",compression:l.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[r].name,_sizeW:this.LAYOUTS[r].width,_sizeH:this.LAYOUTS[r].height,width:this.LAYOUTS[r].width,height:this.LAYOUTS[r].height},this._rtlMode=!1,this._fonts=[],this._slideLayouts=[{_margin:w,_name:re,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(a.prototype,\"layout\",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"author\",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"company\",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"revision\",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"subject\",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"title\",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"fonts\",{get:function(){return this._fonts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),a.prototype.stream=function(e){e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},a.prototype.write=function(e){var t=\"object\"==typeof e&&e.hasOwnProperty(\"outputType\")?e.outputType:e||null,e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:e,outputType:t})},a.prototype.writeFile=function(e){var t=this,o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,a=(\"string\"==typeof e&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\"),\"object\"==typeof e&&e.hasOwnProperty(\"fileName\")?e.fileName:\"string\"==typeof e?e:\"\"),e=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression,r=a?a.toString().toLowerCase().endsWith(\".pptx\")?a:a+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:e,outputType:o?\"nodebuffer\":null}).then(function(e){return o?new Promise(function(t,a){o.writeFile(r,e,function(e){e?a(e):t(r)})}):t.writeFileToBrowser(r,e)})},a.prototype.addSection=function(e){e?e.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var t={_type:\"user\",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},a.prototype.addSlide=function(t){var a=\"string\"==typeof t?t:t&&t.masterName?t.masterName:\"\",e={_name:this.LAYOUTS[r].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},o=(!a||(o=this.slideLayouts.filter(function(e){return e._name===a})[0])&&(e=o),new _e({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e}));return this._slides.push(o),t&&t.sectionTitle?(e=this.sections.filter(function(e){return e.title===t.sectionTitle})[0])?e._slides.push(o):console.warn('addSlide: unable to find section with title: \"'.concat(t.sectionTitle,'\"')):!(this.sections&&0 opts.y = \").concat(l.y)),a.addTable(e.rows,{x:l.x||h[3],y:l.y,w:Number(r)/N,colW:p,autoPage:!1}),l.addImage&&(l.addImage.options=l.addImage.options||{},l.addImage.image&&(l.addImage.image.path||l.addImage.image.data)?a.addImage({path:l.addImage.image.path,data:l.addImage.image.data,x:l.addImage.options.x,y:l.addImage.options.y,w:l.addImage.options.w,h:l.addImage.options.h}):console.warn(\"Warning: tableToSlides.addImage requires either `path` or `data`\")),l.addShape&&a.addShape(l.addShape.shape,l.addShape.options||{}),l.addTable&&a.addTable(l.addTable.rows,l.addTable.options||{}),l.addText&&a.addText(l.addText.text,l.addText.options||{})})},a}();"],"file":"pptxgen.min.js"} \ No newline at end of file diff --git a/src/gen-xml.ts b/src/gen-xml.ts index 42ca8c687..49895e01d 100644 --- a/src/gen-xml.ts +++ b/src/gen-xml.ts @@ -1251,21 +1251,6 @@ function genXmlImgSolidFill(solidFill: SolidFillProps): string { * @param {ISlideObject|TableCell} slideObj - slideObj or tableCell * @note PPT text lines [lines followed by line-breaks] are created using

-aragraph's * @note Bullets are a paragragh-level formatting device - * @template - * - * - * - * - * - * - * - * - * - * textbox text - * - * - * - * * @returns XML containing the param object's text and formatting */ export function genXmlTextBody(slideObj: ISlideObject | TableCell): string {