@file-viewer/pptx 3.2.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +2 -0
- package/README.md +12 -10
- package/README.zh-CN.md +36 -0
- package/dist/worker/pptx.worker.js +8 -8
- package/package.json +4 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
\0`,me+=a(H,2),me+=y.magic,me+=a(M,2),me+=a(v,2),me+=a(V.crc32,4),me+=a(V.compressedSize,4),me+=a(V.uncompressedSize,4),me+=a(C.length,2),me+=a(J.length,2),{fileRecord:f.LOCAL_FILE_HEADER+me+C+J,dirRecord:f.CENTRAL_FILE_HEADER+a(ge,2)+me+a(Y.length,2)+"\0\0\0\0"+a(X,4)+a(p,4)+C+J+Y}}var n=e("../utils"),i=e("../stream/GenericWorker"),o=e("../utf8"),d=e("../crc32"),f=e("../signature");function c(l,g,m,p){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=m,this.encodeFileName=p,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,i),c.prototype.push=function(l){var g=l.meta.percent||0,m=this.entriesCount,p=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,i.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:m?(g+100*(m-p-1))/m:100}}))},c.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var g=this.streamFiles&&!l.file.dir;if(g){var m=s(l,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(l){this.accumulate=!1;var g=this.streamFiles&&!l.file.dir,m=s(l,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),g)this.push({data:(function(p){return f.DATA_DESCRIPTOR+a(p.crc32,4)+a(p.compressedSize,4)+a(p.uncompressedSize,4)})(l),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var l=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var m=this.bytesWritten-l,p=(function(b,k,M,v,_){var y=n.transformTo("string",_(v));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(b,2)+a(b,2)+a(k,4)+a(M,4)+a(y.length,2)+y})(this.dirRecords.length,m,l,this.zipComment,this.encodeFileName);this.push({data:p,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(l){this._sources.push(l);var g=this;return l.on("data",function(m){g.processChunk(m)}),l.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),l.on("error",function(m){g.error(m)}),this},c.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(l){var g=this._sources;if(!i.prototype.error.call(this,l))return!1;for(var m=0;m<g.length;m++)try{g[m].error(l)}catch{}return!0},c.prototype.lock=function(){i.prototype.lock.call(this);for(var l=this._sources,g=0;g<l.length;g++)l[g].lock()},r.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,r,t){"use strict";var a=e("../compressions"),s=e("./ZipFileWorker");t.generateWorker=function(n,i,o){var d=new s(i.streamFiles,o,i.platform,i.encodeFileName),f=0;try{n.forEach(function(c,l){f++;var g=(function(k,M){var v=k||M,_=a[v];if(!_)throw new Error(v+" is not a valid compression method !");return _})(l.options.compression,i.compression),m=l.options.compressionOptions||i.compressionOptions||{},p=l.dir,b=l.date;l._compressWorker(g,m).withStreamInfo("file",{name:c,dir:p,date:b,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(d)}),d.entriesCount=f}catch(c){d.error(c)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,r,t){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var n in this)typeof this[n]!="function"&&(s[n]=this[n]);return s}}(a.prototype=e("./object")).loadAsync=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.version="3.10.2",a.loadAsync=function(s,n){return new a().loadAsync(s,n)},a.external=e("./external"),r.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./external"),n=e("./utf8"),i=e("./zipEntries"),o=e("./stream/Crc32Probe"),d=e("./nodejsUtils");function f(c){return new s.Promise(function(l,g){var m=c.decompressed.getContentWorker().pipe(new o);m.on("error",function(p){g(p)}).on("end",function(){m.streamInfo.crc32!==c.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}r.exports=function(c,l){var g=this;return l=a.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),d.isNode&&d.isStream(c)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",c,!0,l.optimizedBinaryString,l.base64).then(function(m){var p=new i(l);return p.load(m),p}).then(function(m){var p=[s.Promise.resolve(m)],b=m.files;if(l.checkCRC32)for(var k=0;k<b.length;k++)p.push(f(b[k]));return s.Promise.all(p)}).then(function(m){for(var p=m.shift(),b=p.files,k=0;k<b.length;k++){var M=b[k],v=M.fileNameStr,_=a.resolve(M.fileNameStr);g.file(_,M.decompressed,{binary:!0,optimizedBinaryString:!0,date:M.date,dir:M.dir,comment:M.fileCommentStr.length?M.fileCommentStr:null,unixPermissions:M.unixPermissions,dosPermissions:M.dosPermissions,createFolders:l.createFolders}),M.dir||(g.file(_).unsafeOriginalName=v)}return p.zipComment.length&&(g.comment=p.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../stream/GenericWorker");function n(i,o){s.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(o)}a.inherits(n,s),n.prototype._bindStream=function(i){var o=this;(this._stream=i).pause(),i.on("data",function(d){o.push({data:d,meta:{percent:0}})}).on("error",function(d){o.isPaused?this.generatedError=d:o.error(d)}).on("end",function(){o.isPaused?o._upstreamEnded=!0:o.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,r,t){"use strict";var a=e("readable-stream").Readable;function s(n,i,o){a.call(this,i),this._helper=n;var d=this;n.on("data",function(f,c){d.push(f)||d._helper.pause(),o&&o(c)}).on("error",function(f){d.emit("error",f)}).on("end",function(){d.push(null)})}e("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,r,t){"use strict";r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(e,r,t){"use strict";function a(_,y,I){var C,R=n.getTypeOf(y),B=n.extend(I||{},d);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(_=b(_)),B.createFolders&&(C=p(_))&&k.call(this,C,!0);var Y=R==="string"&&B.binary===!1&&B.base64===!1;I&&I.binary!==void 0||(B.binary=!Y),(y instanceof f&&y.uncompressedSize===0||B.dir||!y||y.length===0)&&(B.base64=!1,B.binary=!0,y="",B.compression="STORE",R="string");var T=null;T=y instanceof f||y instanceof i?y:g.isNode&&g.isStream(y)?new m(_,y):n.prepareContent(_,y,B.binary,B.optimizedBinaryString,B.base64);var O=new c(_,T,B);this.files[_]=O}var s=e("./utf8"),n=e("./utils"),i=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),d=e("./defaults"),f=e("./compressedObject"),c=e("./zipObject"),l=e("./generate"),g=e("./nodejsUtils"),m=e("./nodejs/NodejsStreamInputAdapter"),p=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var y=_.lastIndexOf("/");return 0<y?_.substring(0,y):""},b=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},k=function(_,y){return y=y!==void 0?y:d.createFolders,_=b(_),this.files[_]||a.call(this,_,null,{dir:!0,createFolders:y}),this.files[_]};function M(_){return Object.prototype.toString.call(_)==="[object RegExp]"}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var y,I,C;for(y in this.files)C=this.files[y],(I=y.slice(this.root.length,y.length))&&y.slice(0,this.root.length)===this.root&&_(I,C)},filter:function(_){var y=[];return this.forEach(function(I,C){_(I,C)&&y.push(C)}),y},file:function(_,y,I){if(arguments.length!==1)return _=this.root+_,a.call(this,_,y,I),this;if(M(_)){var C=_;return this.filter(function(B,Y){return!Y.dir&&C.test(B)})}var R=this.files[this.root+_];return R&&!R.dir?R:null},folder:function(_){if(!_)return this;if(M(_))return this.filter(function(R,B){return B.dir&&_.test(R)});var y=this.root+_,I=k.call(this,y),C=this.clone();return C.root=I.name,C},remove:function(_){_=this.root+_;var y=this.files[_];if(y||(_.slice(-1)!=="/"&&(_+="/"),y=this.files[_]),y&&!y.dir)delete this.files[_];else for(var I=this.filter(function(R,B){return B.name.slice(0,_.length)===_}),C=0;C<I.length;C++)delete this.files[I[C].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var y,I={};try{if((I=n.extend(_||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=I.type.toLowerCase(),I.compression=I.compression.toUpperCase(),I.type==="binarystring"&&(I.type="string"),!I.type)throw new Error("No output type specified.");n.checkSupport(I.type),I.platform!=="darwin"&&I.platform!=="freebsd"&&I.platform!=="linux"&&I.platform!=="sunos"||(I.platform="UNIX"),I.platform==="win32"&&(I.platform="DOS");var C=I.comment||this.comment||"";y=l.generateWorker(this,I,C)}catch(R){(y=new i("error")).error(R)}return new o(y,I.type||"string",I.mimeType)},generateAsync:function(_,y){return this.generateInternalStream(_).accumulate(y)},generateNodeStream:function(_,y){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(y)}};r.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,r,t){"use strict";r.exports=e("stream")},{stream:void 0}],17:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n);for(var i=0;i<this.data.length;i++)n[i]=255&n[i]}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data[this.zero+n]},s.prototype.lastIndexOfSignature=function(n){for(var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.length-4;0<=c;--c)if(this.data[c]===i&&this.data[c+1]===o&&this.data[c+2]===d&&this.data[c+3]===f)return c-this.zero;return-1},s.prototype.readAndCheckSignature=function(n){var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.readData(4);return i===c[0]&&o===c[1]&&d===c[2]&&f===c[3]},s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,r,t){"use strict";var a=e("../utils");function s(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var i,o=0;for(this.checkOffset(n),i=this.index+n-1;i>=this.index;i--)o=(o<<8)+this.byteAt(i);return this.index+=n,o},readString:function(n){return a.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},r.exports=s},{"../utils":32}],19:[function(e,r,t){"use strict";var a=e("./Uint8ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},s.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},s.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,r,t){"use strict";var a=e("./ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../support"),n=e("./ArrayReader"),i=e("./StringReader"),o=e("./NodeBufferReader"),d=e("./Uint8ArrayReader");r.exports=function(f){var c=a.getTypeOf(f);return a.checkSupport(c),c!=="string"||s.uint8array?c==="nodebuffer"?new o(f):s.uint8array?new d(a.transformTo("uint8array",f)):new n(a.transformTo("array",f)):new i(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,r,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../utils");function n(i){a.call(this,"ConvertWorker to "+i),this.destType=i}s.inherits(n,a),n.prototype.processChunk=function(i){this.push({data:s.transformTo(this.destType,i.data),meta:i.meta})},r.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,a),n.prototype.processChunk=function(i){this.streamInfo.crc32=s(i.data,this.streamInfo.crc32||0),this.push(i)},r.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}a.inherits(n,s),n.prototype.processChunk=function(i){if(i){var o=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=o+i.data.length}s.prototype.processChunk.call(this,i)},r.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataWorker");var o=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(d){o.dataIsReady=!0,o.data=d,o.max=d&&d.length||0,o.type=a.getTypeOf(d),o.isPaused||o._tickAndRepeat()},function(d){o.error(d)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,o=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,o);break;case"uint8array":i=this.data.subarray(this.index,o);break;case"array":case"nodebuffer":i=this.data.slice(this.index,o)}return this.index=o,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,r,t){"use strict";function a(s){this.name=s||"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}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,n){return this._listeners[s].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,n){if(this._listeners[s])for(var i=0;i<this._listeners[s].length;i++)this._listeners[s][i].call(this,n)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var n=this;return s.on("data",function(i){n.processChunk(i)}),s.on("end",function(){n.end()}),s.on("error",function(i){n.error(i)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,n){return this.extraStreamInfo[s]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=a},{}],29:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./ConvertWorker"),n=e("./GenericWorker"),i=e("../base64"),o=e("../support"),d=e("../external"),f=null;if(o.nodestream)try{f=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function c(g,m){return new d.Promise(function(p,b){var k=[],M=g._internalType,v=g._outputType,_=g._mimeType;g.on("data",function(y,I){k.push(y),m&&m(I)}).on("error",function(y){k=[],b(y)}).on("end",function(){try{var y=(function(I,C,R){switch(I){case"blob":return a.newBlob(a.transformTo("arraybuffer",C),R);case"base64":return i.encode(C);default:return a.transformTo(I,C)}})(v,(function(I,C){var R,B=0,Y=null,T=0;for(R=0;R<C.length;R++)T+=C[R].length;switch(I){case"string":return C.join("");case"array":return Array.prototype.concat.apply([],C);case"uint8array":for(Y=new Uint8Array(T),R=0;R<C.length;R++)Y.set(C[R],B),B+=C[R].length;return Y;case"nodebuffer":return Buffer.concat(C);default:throw new Error("concat : unsupported type '"+I+"'")}})(M,k),_);p(y)}catch(I){b(I)}k=[]}).resume()})}function l(g,m,p){var b=m;switch(m){case"blob":case"arraybuffer":b="uint8array";break;case"base64":b="string"}try{this._internalType=b,this._outputType=m,this._mimeType=p,a.checkSupport(b),this._worker=g.pipe(new s(b)),g.lock()}catch(k){this._worker=new n("error"),this._worker.error(k)}}l.prototype={accumulate:function(g){return c(this,g)},on:function(g,m){var p=this;return g==="data"?this._worker.on(g,function(b){m.call(p,b.data,b.meta)}):this._worker.on(g,function(){a.delay(m,arguments,p)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},g)}},r.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",t.nodebuffer=typeof Buffer!="undefined",t.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")t.blob=!1;else{var a=new ArrayBuffer(0);try{t.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),t.blob=s.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,r,t){"use strict";for(var a=e("./utils"),s=e("./support"),n=e("./nodejsUtils"),i=e("./stream/GenericWorker"),o=new Array(256),d=0;d<256;d++)o[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;o[254]=o[254]=1;function f(){i.call(this,"utf-8 decode"),this.leftOver=null}function c(){i.call(this,"utf-8 encode")}t.utf8encode=function(l){return s.nodebuffer?n.newBufferFrom(l,"utf-8"):(function(g){var m,p,b,k,M,v=g.length,_=0;for(k=0;k<v;k++)(64512&(p=g.charCodeAt(k)))==55296&&k+1<v&&(64512&(b=g.charCodeAt(k+1)))==56320&&(p=65536+(p-55296<<10)+(b-56320),k++),_+=p<128?1:p<2048?2:p<65536?3:4;for(m=s.uint8array?new Uint8Array(_):new Array(_),k=M=0;M<_;k++)(64512&(p=g.charCodeAt(k)))==55296&&k+1<v&&(64512&(b=g.charCodeAt(k+1)))==56320&&(p=65536+(p-55296<<10)+(b-56320),k++),p<128?m[M++]=p:(p<2048?m[M++]=192|p>>>6:(p<65536?m[M++]=224|p>>>12:(m[M++]=240|p>>>18,m[M++]=128|p>>>12&63),m[M++]=128|p>>>6&63),m[M++]=128|63&p);return m})(l)},t.utf8decode=function(l){return s.nodebuffer?a.transformTo("nodebuffer",l).toString("utf-8"):(function(g){var m,p,b,k,M=g.length,v=new Array(2*M);for(m=p=0;m<M;)if((b=g[m++])<128)v[p++]=b;else if(4<(k=o[b]))v[p++]=65533,m+=k-1;else{for(b&=k===2?31:k===3?15:7;1<k&&m<M;)b=b<<6|63&g[m++],k--;1<k?v[p++]=65533:b<65536?v[p++]=b:(b-=65536,v[p++]=55296|b>>10&1023,v[p++]=56320|1023&b)}return v.length!==p&&(v.subarray?v=v.subarray(0,p):v.length=p),a.applyFromCharCode(v)})(l=a.transformTo(s.uint8array?"uint8array":"array",l))},a.inherits(f,i),f.prototype.processChunk=function(l){var g=a.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var m=g;(g=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),g.set(m,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var p=(function(k,M){var v;for((M=M||k.length)>k.length&&(M=k.length),v=M-1;0<=v&&(192&k[v])==128;)v--;return v<0||v===0?M:v+o[k[v]]>M?v:M})(g),b=g;p!==g.length&&(s.uint8array?(b=g.subarray(0,p),this.leftOver=g.subarray(p,g.length)):(b=g.slice(0,p),this.leftOver=g.slice(p,g.length))),this.push({data:t.utf8decode(b),meta:l.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=f,a.inherits(c,i),c.prototype.processChunk=function(l){this.push({data:t.utf8encode(l.data),meta:l.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,t){"use strict";var a=e("./support"),s=e("./base64"),n=e("./nodejsUtils"),i=e("./external");function o(m){return m}function d(m,p){for(var b=0;b<m.length;++b)p[b]=255&m.charCodeAt(b);return p}e("setimmediate"),t.newBlob=function(m,p){t.checkSupport("blob");try{return new Blob([m],{type:p})}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return b.append(m),b.getBlob(p)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,p,b){var k=[],M=0,v=m.length;if(v<=b)return String.fromCharCode.apply(null,m);for(;M<v;)p==="array"||p==="nodebuffer"?k.push(String.fromCharCode.apply(null,m.slice(M,Math.min(M+b,v)))):k.push(String.fromCharCode.apply(null,m.subarray(M,Math.min(M+b,v)))),M+=b;return k.join("")},stringifyByChar:function(m){for(var p="",b=0;b<m.length;b++)p+=String.fromCharCode(m[b]);return p},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function c(m){var p=65536,b=t.getTypeOf(m),k=!0;if(b==="uint8array"?k=f.applyCanBeUsed.uint8array:b==="nodebuffer"&&(k=f.applyCanBeUsed.nodebuffer),k)for(;1<p;)try{return f.stringifyByChunk(m,b,p)}catch{p=Math.floor(p/2)}return f.stringifyByChar(m)}function l(m,p){for(var b=0;b<m.length;b++)p[b]=m[b];return p}t.applyFromCharCode=c;var g={};g.string={string:o,array:function(m){return d(m,new Array(m.length))},arraybuffer:function(m){return g.string.uint8array(m).buffer},uint8array:function(m){return d(m,new Uint8Array(m.length))},nodebuffer:function(m){return d(m,n.allocBuffer(m.length))}},g.array={string:c,array:o,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(m)}},g.arraybuffer={string:function(m){return c(new Uint8Array(m))},array:function(m){return l(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:o,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(new Uint8Array(m))}},g.uint8array={string:c,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:o,nodebuffer:function(m){return n.newBufferFrom(m)}},g.nodebuffer={string:c,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return g.nodebuffer.uint8array(m).buffer},uint8array:function(m){return l(m,new Uint8Array(m.length))},nodebuffer:o},t.transformTo=function(m,p){if(p=p||"",!m)return p;t.checkSupport(m);var b=t.getTypeOf(p);return g[b][m](p)},t.resolve=function(m){for(var p=m.split("/"),b=[],k=0;k<p.length;k++){var M=p[k];M==="."||M===""&&k!==0&&k!==p.length-1||(M===".."?b.pop():b.push(M))}return b.join("/")},t.getTypeOf=function(m){if(typeof m=="string")return"string";var p=Object.prototype.toString.call(m);return p==="[object Array]"?"array":a.nodebuffer&&n.isBuffer(m)?"nodebuffer":a.uint8array&&p==="[object Uint8Array]"?"uint8array":a.arraybuffer&&p==="[object ArrayBuffer]"?"arraybuffer":void 0},t.checkSupport=function(m){if(!a[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(m){var p,b,k="";for(b=0;b<(m||"").length;b++)k+="\\x"+((p=m.charCodeAt(b))<16?"0":"")+p.toString(16).toUpperCase();return k},t.delay=function(m,p,b){setImmediate(function(){m.apply(b||null,p||[])})},t.inherits=function(m,p){function b(){}b.prototype=p.prototype,m.prototype=new b},t.extend=function(){var m,p,b={};for(m=0;m<arguments.length;m++)for(p in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],p)&&b[p]===void 0&&(b[p]=arguments[m][p]);return b},t.prepareContent=function(m,p,b,k,M){return i.Promise.resolve(p).then(function(v){return a.blob&&(v instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(v))!==-1)?Blob.prototype.arrayBuffer!==void 0?v.arrayBuffer():typeof FileReader!="undefined"?new i.Promise(function(_,y){var I=new FileReader;I.onload=function(C){_(C.target.result)},I.onerror=function(C){y(C.target.error)},I.readAsArrayBuffer(v)}):i.Promise.reject(new Error(m+" is a Blob, but we have no way of reading it.")):v}).then(function(v){var _=t.getTypeOf(v);return _?(_==="arraybuffer"?v=t.transformTo("uint8array",v):_==="string"&&(M?v=s.decode(v):b&&k!==!0&&(v=(function(y){return d(y,a.uint8array?new Uint8Array(y.length):new Array(y.length))})(v))),v):i.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./signature"),i=e("./zipEntry"),o=e("./support");function d(f){this.files=[],this.loadOptions=f}d.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var c=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(c)+", expected "+s.pretty(f)+")")}},isSignature:function(f,c){var l=this.reader.index;this.reader.setIndex(f);var g=this.reader.readString(4)===c;return this.reader.setIndex(l),g},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),c=o.uint8array?"uint8array":"array",l=s.transformTo(c,f);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,c,l,g=this.zip64EndOfCentralSize-44;0<g;)f=this.reader.readInt(2),c=this.reader.readInt(4),l=this.reader.readData(c),this.zip64ExtensibleData[f]={id:f,length:c,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,c;for(f=0;f<this.files.length;f++)c=this.files[f],this.reader.setIndex(c.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),c.readLocalPart(this.reader),c.handleUTF8(),c.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(f=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var c=f;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var g=c-l;if(0<g)this.isSignature(c,n.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(f){this.reader=a(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./compressedObject"),i=e("./crc32"),o=e("./utf8"),d=e("./compressions"),f=e("./support");function c(l,g){this.options=l,this.loadOptions=g}c.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var g,m;if(l.skip(22),this.fileNameLength=l.readInt(2),m=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((g=(function(p){for(var b in d)if(Object.prototype.hasOwnProperty.call(d,b)&&d[b].magic===p)return d[b];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,g,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var g=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(g),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var g,m,p,b=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<b;)g=l.readInt(2),m=l.readInt(2),p=l.readData(m),this.extraFields[g]={id:g,length:m,value:p};l.setIndex(b)},handleUTF8:function(){var l=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var m=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var p=this.findExtraFieldUnicodeComment();if(p!==null)this.fileCommentStr=p;else{var b=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(b)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var g=a(l.value);return g.readInt(1)!==1||i(this.fileName)!==g.readInt(4)?null:o.utf8decode(g.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var g=a(l.value);return g.readInt(1)!==1||i(this.fileComment)!==g.readInt(4)?null:o.utf8decode(g.readData(l.length-5))}return null}},r.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,r,t){"use strict";function a(g,m,p){this.name=g,this.dir=p.dir,this.date=p.date,this.comment=p.comment,this.unixPermissions=p.unixPermissions,this.dosPermissions=p.dosPermissions,this._data=m,this._dataBinary=p.binary,this.options={compression:p.compression,compressionOptions:p.compressionOptions}}var s=e("./stream/StreamHelper"),n=e("./stream/DataWorker"),i=e("./utf8"),o=e("./compressedObject"),d=e("./stream/GenericWorker");a.prototype={internalStream:function(g){var m=null,p="string";try{if(!g)throw new Error("No output type specified.");var b=(p=g.toLowerCase())==="string"||p==="text";p!=="binarystring"&&p!=="text"||(p="string"),m=this._decompressWorker();var k=!this._dataBinary;k&&!b&&(m=m.pipe(new i.Utf8EncodeWorker)),!k&&b&&(m=m.pipe(new i.Utf8DecodeWorker))}catch(M){(m=new d("error")).error(M)}return new s(m,p,"")},async:function(g,m){return this.internalStream(g).accumulate(m)},nodeStream:function(g,m){return this.internalStream(g||"nodebuffer").toNodejsStream(m)},_compressWorker:function(g,m){if(this._data instanceof o&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var p=this._decompressWorker();return this._dataBinary||(p=p.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(p,g,m)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof d?this._data:new n(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<f.length;l++)a.prototype[f[l]]=c;r.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,r,t){(function(a){"use strict";var s,n,i=a.MutationObserver||a.WebKitMutationObserver;if(i){var o=0,d=new i(g),f=a.document.createTextNode("");d.observe(f,{characterData:!0}),s=function(){f.data=o=++o%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var m=a.document.createElement("script");m.onreadystatechange=function(){g(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},a.document.documentElement.appendChild(m)}:function(){setTimeout(g,0)};else{var c=new a.MessageChannel;c.port1.onmessage=g,s=function(){c.port2.postMessage(0)}}var l=[];function g(){var m,p;n=!0;for(var b=l.length;b;){for(p=l,l=[],m=-1;++m<b;)p[m]();b=l.length}n=!1}r.exports=function(m){l.push(m)!==1||n||s()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(e,r,t){"use strict";var a=e("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],d=["PENDING"];function f(b){if(typeof b!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,b!==s&&m(this,b)}function c(b,k,M){this.promise=b,typeof k=="function"&&(this.onFulfilled=k,this.callFulfilled=this.otherCallFulfilled),typeof M=="function"&&(this.onRejected=M,this.callRejected=this.otherCallRejected)}function l(b,k,M){a(function(){var v;try{v=k(M)}catch(_){return n.reject(b,_)}v===b?n.reject(b,new TypeError("Cannot resolve promise with itself")):n.resolve(b,v)})}function g(b){var k=b&&b.then;if(b&&(typeof b=="object"||typeof b=="function")&&typeof k=="function")return function(){k.apply(b,arguments)}}function m(b,k){var M=!1;function v(I){M||(M=!0,n.reject(b,I))}function _(I){M||(M=!0,n.resolve(b,I))}var y=p(function(){k(_,v)});y.status==="error"&&v(y.value)}function p(b,k){var M={};try{M.value=b(k),M.status="success"}catch(v){M.status="error",M.value=v}return M}(r.exports=f).prototype.finally=function(b){if(typeof b!="function")return this;var k=this.constructor;return this.then(function(M){return k.resolve(b()).then(function(){return M})},function(M){return k.resolve(b()).then(function(){throw M})})},f.prototype.catch=function(b){return this.then(null,b)},f.prototype.then=function(b,k){if(typeof b!="function"&&this.state===o||typeof k!="function"&&this.state===i)return this;var M=new this.constructor(s);return this.state!==d?l(M,this.state===o?b:k,this.outcome):this.queue.push(new c(M,b,k)),M},c.prototype.callFulfilled=function(b){n.resolve(this.promise,b)},c.prototype.otherCallFulfilled=function(b){l(this.promise,this.onFulfilled,b)},c.prototype.callRejected=function(b){n.reject(this.promise,b)},c.prototype.otherCallRejected=function(b){l(this.promise,this.onRejected,b)},n.resolve=function(b,k){var M=p(g,k);if(M.status==="error")return n.reject(b,M.value);var v=M.value;if(v)m(b,v);else{b.state=o,b.outcome=k;for(var _=-1,y=b.queue.length;++_<y;)b.queue[_].callFulfilled(k)}return b},n.reject=function(b,k){b.state=i,b.outcome=k;for(var M=-1,v=b.queue.length;++M<v;)b.queue[M].callRejected(k);return b},f.resolve=function(b){return b instanceof this?b:n.resolve(new this(s),b)},f.reject=function(b){var k=new this(s);return n.reject(k,b)},f.all=function(b){var k=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=b.length,v=!1;if(!M)return this.resolve([]);for(var _=new Array(M),y=0,I=-1,C=new this(s);++I<M;)R(b[I],I);return C;function R(B,Y){k.resolve(B).then(function(T){_[Y]=T,++y!==M||v||(v=!0,n.resolve(C,_))},function(T){v||(v=!0,n.reject(C,T))})}},f.race=function(b){var k=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=b.length,v=!1;if(!M)return this.resolve([]);for(var _=-1,y=new this(s);++_<M;)I=b[_],k.resolve(I).then(function(C){v||(v=!0,n.resolve(y,C))},function(C){v||(v=!0,n.reject(y,C))});var I;return y}},{immediate:36}],38:[function(e,r,t){"use strict";var a={};(0,e("./lib/utils/common").assign)(a,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),r.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,r,t){"use strict";var a=e("./zlib/deflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/messages"),o=e("./zlib/zstream"),d=Object.prototype.toString,f=0,c=-1,l=0,g=8;function m(b){if(!(this instanceof m))return new m(b);this.options=s.assign({level:c,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},b||{});var k=this.options;k.raw&&0<k.windowBits?k.windowBits=-k.windowBits:k.gzip&&0<k.windowBits&&k.windowBits<16&&(k.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var M=a.deflateInit2(this.strm,k.level,k.method,k.windowBits,k.memLevel,k.strategy);if(M!==f)throw new Error(i[M]);if(k.header&&a.deflateSetHeader(this.strm,k.header),k.dictionary){var v;if(v=typeof k.dictionary=="string"?n.string2buf(k.dictionary):d.call(k.dictionary)==="[object ArrayBuffer]"?new Uint8Array(k.dictionary):k.dictionary,(M=a.deflateSetDictionary(this.strm,v))!==f)throw new Error(i[M]);this._dict_set=!0}}function p(b,k){var M=new m(k);if(M.push(b,!0),M.err)throw M.msg||i[M.err];return M.result}m.prototype.push=function(b,k){var M,v,_=this.strm,y=this.options.chunkSize;if(this.ended)return!1;v=k===~~k?k:k===!0?4:0,typeof b=="string"?_.input=n.string2buf(b):d.call(b)==="[object ArrayBuffer]"?_.input=new Uint8Array(b):_.input=b,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new s.Buf8(y),_.next_out=0,_.avail_out=y),(M=a.deflate(_,v))!==1&&M!==f)return this.onEnd(M),!(this.ended=!0);_.avail_out!==0&&(_.avail_in!==0||v!==4&&v!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(s.shrinkBuf(_.output,_.next_out))):this.onData(s.shrinkBuf(_.output,_.next_out)))}while((0<_.avail_in||_.avail_out===0)&&M!==1);return v===4?(M=a.deflateEnd(this.strm),this.onEnd(M),this.ended=!0,M===f):v!==2||(this.onEnd(f),!(_.avail_out=0))},m.prototype.onData=function(b){this.chunks.push(b)},m.prototype.onEnd=function(b){b===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg},t.Deflate=m,t.deflate=p,t.deflateRaw=function(b,k){return(k=k||{}).raw=!0,p(b,k)},t.gzip=function(b,k){return(k=k||{}).gzip=!0,p(b,k)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,r,t){"use strict";var a=e("./zlib/inflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/constants"),o=e("./zlib/messages"),d=e("./zlib/zstream"),f=e("./zlib/gzheader"),c=Object.prototype.toString;function l(m){if(!(this instanceof l))return new l(m);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},m||{});var p=this.options;p.raw&&0<=p.windowBits&&p.windowBits<16&&(p.windowBits=-p.windowBits,p.windowBits===0&&(p.windowBits=-15)),!(0<=p.windowBits&&p.windowBits<16)||m&&m.windowBits||(p.windowBits+=32),15<p.windowBits&&p.windowBits<48&&(15&p.windowBits)==0&&(p.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var b=a.inflateInit2(this.strm,p.windowBits);if(b!==i.Z_OK)throw new Error(o[b]);this.header=new f,a.inflateGetHeader(this.strm,this.header)}function g(m,p){var b=new l(p);if(b.push(m,!0),b.err)throw b.msg||o[b.err];return b.result}l.prototype.push=function(m,p){var b,k,M,v,_,y,I=this.strm,C=this.options.chunkSize,R=this.options.dictionary,B=!1;if(this.ended)return!1;k=p===~~p?p:p===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof m=="string"?I.input=n.binstring2buf(m):c.call(m)==="[object ArrayBuffer]"?I.input=new Uint8Array(m):I.input=m,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(C),I.next_out=0,I.avail_out=C),(b=a.inflate(I,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&R&&(y=typeof R=="string"?n.string2buf(R):c.call(R)==="[object ArrayBuffer]"?new Uint8Array(R):R,b=a.inflateSetDictionary(this.strm,y)),b===i.Z_BUF_ERROR&&B===!0&&(b=i.Z_OK,B=!1),b!==i.Z_STREAM_END&&b!==i.Z_OK)return this.onEnd(b),!(this.ended=!0);I.next_out&&(I.avail_out!==0&&b!==i.Z_STREAM_END&&(I.avail_in!==0||k!==i.Z_FINISH&&k!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(M=n.utf8border(I.output,I.next_out),v=I.next_out-M,_=n.buf2string(I.output,M),I.next_out=v,I.avail_out=C-v,v&&s.arraySet(I.output,I.output,M,v,0),this.onData(_)):this.onData(s.shrinkBuf(I.output,I.next_out)))),I.avail_in===0&&I.avail_out===0&&(B=!0)}while((0<I.avail_in||I.avail_out===0)&&b!==i.Z_STREAM_END);return b===i.Z_STREAM_END&&(k=i.Z_FINISH),k===i.Z_FINISH?(b=a.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===i.Z_OK):k!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(I.avail_out=0))},l.prototype.onData=function(m){this.chunks.push(m)},l.prototype.onEnd=function(m){m===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},t.Inflate=l,t.inflate=g,t.inflateRaw=function(m,p){return(p=p||{}).raw=!0,g(m,p)},t.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";t.assign=function(i){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var d=o.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var f in d)d.hasOwnProperty(f)&&(i[f]=d[f])}}return i},t.shrinkBuf=function(i,o){return i.length===o?i:i.subarray?i.subarray(0,o):(i.length=o,i)};var s={arraySet:function(i,o,d,f,c){if(o.subarray&&i.subarray)i.set(o.subarray(d,d+f),c);else for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){var o,d,f,c,l,g;for(o=f=0,d=i.length;o<d;o++)f+=i[o].length;for(g=new Uint8Array(f),o=c=0,d=i.length;o<d;o++)l=i[o],g.set(l,c),c+=l.length;return g}},n={arraySet:function(i,o,d,f,c){for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){return[].concat.apply([],i)}};t.setTyped=function(i){i?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,s)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,n))},t.setTyped(a)},{}],42:[function(e,r,t){"use strict";var a=e("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function d(f,c){if(c<65537&&(f.subarray&&n||!f.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(f,c));for(var l="",g=0;g<c;g++)l+=String.fromCharCode(f[g]);return l}i[254]=i[254]=1,t.string2buf=function(f){var c,l,g,m,p,b=f.length,k=0;for(m=0;m<b;m++)(64512&(l=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(g=f.charCodeAt(m+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),m++),k+=l<128?1:l<2048?2:l<65536?3:4;for(c=new a.Buf8(k),m=p=0;p<k;m++)(64512&(l=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(g=f.charCodeAt(m+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),m++),l<128?c[p++]=l:(l<2048?c[p++]=192|l>>>6:(l<65536?c[p++]=224|l>>>12:(c[p++]=240|l>>>18,c[p++]=128|l>>>12&63),c[p++]=128|l>>>6&63),c[p++]=128|63&l);return c},t.buf2binstring=function(f){return d(f,f.length)},t.binstring2buf=function(f){for(var c=new a.Buf8(f.length),l=0,g=c.length;l<g;l++)c[l]=f.charCodeAt(l);return c},t.buf2string=function(f,c){var l,g,m,p,b=c||f.length,k=new Array(2*b);for(l=g=0;l<b;)if((m=f[l++])<128)k[g++]=m;else if(4<(p=i[m]))k[g++]=65533,l+=p-1;else{for(m&=p===2?31:p===3?15:7;1<p&&l<b;)m=m<<6|63&f[l++],p--;1<p?k[g++]=65533:m<65536?k[g++]=m:(m-=65536,k[g++]=55296|m>>10&1023,k[g++]=56320|1023&m)}return d(k,g)},t.utf8border=function(f,c){var l;for((c=c||f.length)>f.length&&(c=f.length),l=c-1;0<=l&&(192&f[l])==128;)l--;return l<0||l===0?c:l+i[f[l]]>c?l:c}},{"./common":41}],43:[function(e,r,t){"use strict";r.exports=function(a,s,n,i){for(var o=65535&a|0,d=a>>>16&65535|0,f=0;n!==0;){for(n-=f=2e3<n?2e3:n;d=d+(o=o+s[i++]|0)|0,--f;);o%=65521,d%=65521}return o|d<<16|0}},{}],44:[function(e,r,t){"use strict";r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,r,t){"use strict";var a=(function(){for(var s,n=[],i=0;i<256;i++){s=i;for(var o=0;o<8;o++)s=1&s?3988292384^s>>>1:s>>>1;n[i]=s}return n})();r.exports=function(s,n,i,o){var d=a,f=o+i;s^=-1;for(var c=o;c<f;c++)s=s>>>8^d[255&(s^n[c])];return-1^s}},{}],46:[function(e,r,t){"use strict";var a,s=e("../utils/common"),n=e("./trees"),i=e("./adler32"),o=e("./crc32"),d=e("./messages"),f=0,c=4,l=0,g=-2,m=-1,p=4,b=2,k=8,M=9,v=286,_=30,y=19,I=2*v+1,C=15,R=3,B=258,Y=B+R+1,T=42,O=113,P=1,J=2,re=3,Q=4;function ae(S,Ee){return S.msg=d[Ee],Ee}function A(S){return(S<<1)-(4<S?9:0)}function V(S){for(var Ee=S.length;0<=--Ee;)S[Ee]=0}function H(S){var Ee=S.state,pe=Ee.pending;pe>S.avail_out&&(pe=S.avail_out),pe!==0&&(s.arraySet(S.output,Ee.pending_buf,Ee.pending_out,pe,S.next_out),S.next_out+=pe,Ee.pending_out+=pe,S.total_out+=pe,S.avail_out-=pe,Ee.pending-=pe,Ee.pending===0&&(Ee.pending_out=0))}function X(S,Ee){n._tr_flush_block(S,0<=S.block_start?S.block_start:-1,S.strstart-S.block_start,Ee),S.block_start=S.strstart,H(S.strm)}function ge(S,Ee){S.pending_buf[S.pending++]=Ee}function me(S,Ee){S.pending_buf[S.pending++]=Ee>>>8&255,S.pending_buf[S.pending++]=255&Ee}function u(S,Ee){var pe,W,N=S.max_chain_length,j=S.strstart,be=S.prev_length,Le=S.nice_match,E=S.strstart>S.w_size-Y?S.strstart-(S.w_size-Y):0,Be=S.window,We=S.w_mask,Ce=S.prev,ht=S.strstart+B,Yt=Be[j+be-1],wt=Be[j+be];S.prev_length>=S.good_match&&(N>>=2),Le>S.lookahead&&(Le=S.lookahead);do if(Be[(pe=Ee)+be]===wt&&Be[pe+be-1]===Yt&&Be[pe]===Be[j]&&Be[++pe]===Be[j+1]){j+=2,pe++;do;while(Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&j<ht);if(W=B-(ht-j),j=ht-B,be<W){if(S.match_start=Ee,Le<=(be=W))break;Yt=Be[j+be-1],wt=Be[j+be]}}while((Ee=Ce[Ee&We])>E&&--N!=0);return be<=S.lookahead?be:S.lookahead}function h(S){var Ee,pe,W,N,j,be,Le,E,Be,We,Ce=S.w_size;do{if(N=S.window_size-S.lookahead-S.strstart,S.strstart>=Ce+(Ce-Y)){for(s.arraySet(S.window,S.window,Ce,Ce,0),S.match_start-=Ce,S.strstart-=Ce,S.block_start-=Ce,Ee=pe=S.hash_size;W=S.head[--Ee],S.head[Ee]=Ce<=W?W-Ce:0,--pe;);for(Ee=pe=Ce;W=S.prev[--Ee],S.prev[Ee]=Ce<=W?W-Ce:0,--pe;);N+=Ce}if(S.strm.avail_in===0)break;if(be=S.strm,Le=S.window,E=S.strstart+S.lookahead,Be=N,We=void 0,We=be.avail_in,Be<We&&(We=Be),pe=We===0?0:(be.avail_in-=We,s.arraySet(Le,be.input,be.next_in,We,E),be.state.wrap===1?be.adler=i(be.adler,Le,We,E):be.state.wrap===2&&(be.adler=o(be.adler,Le,We,E)),be.next_in+=We,be.total_in+=We,We),S.lookahead+=pe,S.lookahead+S.insert>=R)for(j=S.strstart-S.insert,S.ins_h=S.window[j],S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+1])&S.hash_mask;S.insert&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+R-1])&S.hash_mask,S.prev[j&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=j,j++,S.insert--,!(S.lookahead+S.insert<R)););}while(S.lookahead<Y&&S.strm.avail_in!==0)}function De(S,Ee){for(var pe,W;;){if(S.lookahead<Y){if(h(S),S.lookahead<Y&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),pe!==0&&S.strstart-pe<=S.w_size-Y&&(S.match_length=u(S,pe)),S.match_length>=R)if(W=n._tr_tally(S,S.strstart-S.match_start,S.match_length-R),S.lookahead-=S.match_length,S.match_length<=S.max_lazy_match&&S.lookahead>=R){for(S.match_length--;S.strstart++,S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart,--S.match_length!=0;);S.strstart++}else S.strstart+=S.match_length,S.match_length=0,S.ins_h=S.window[S.strstart],S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+1])&S.hash_mask;else W=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++;if(W&&(X(S,!1),S.strm.avail_out===0))return P}return S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(X(S,!1),S.strm.avail_out===0)?P:J}function Ue(S,Ee){for(var pe,W,N;;){if(S.lookahead<Y){if(h(S),S.lookahead<Y&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),S.prev_length=S.match_length,S.prev_match=S.match_start,S.match_length=R-1,pe!==0&&S.prev_length<S.max_lazy_match&&S.strstart-pe<=S.w_size-Y&&(S.match_length=u(S,pe),S.match_length<=5&&(S.strategy===1||S.match_length===R&&4096<S.strstart-S.match_start)&&(S.match_length=R-1)),S.prev_length>=R&&S.match_length<=S.prev_length){for(N=S.strstart+S.lookahead-R,W=n._tr_tally(S,S.strstart-1-S.prev_match,S.prev_length-R),S.lookahead-=S.prev_length-1,S.prev_length-=2;++S.strstart<=N&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),--S.prev_length!=0;);if(S.match_available=0,S.match_length=R-1,S.strstart++,W&&(X(S,!1),S.strm.avail_out===0))return P}else if(S.match_available){if((W=n._tr_tally(S,0,S.window[S.strstart-1]))&&X(S,!1),S.strstart++,S.lookahead--,S.strm.avail_out===0)return P}else S.match_available=1,S.strstart++,S.lookahead--}return S.match_available&&(W=n._tr_tally(S,0,S.window[S.strstart-1]),S.match_available=0),S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(X(S,!1),S.strm.avail_out===0)?P:J}function ee(S,Ee,pe,W,N){this.good_length=S,this.max_lazy=Ee,this.nice_length=pe,this.max_chain=W,this.func=N}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*I),this.dyn_dtree=new s.Buf16(2*(2*_+1)),this.bl_tree=new s.Buf16(2*(2*y+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(C+1),this.heap=new s.Buf16(2*v+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*v+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oe(S){var Ee;return S&&S.state?(S.total_in=S.total_out=0,S.data_type=b,(Ee=S.state).pending=0,Ee.pending_out=0,Ee.wrap<0&&(Ee.wrap=-Ee.wrap),Ee.status=Ee.wrap?T:O,S.adler=Ee.wrap===2?0:1,Ee.last_flush=f,n._tr_init(Ee),l):ae(S,g)}function kt(S){var Ee=oe(S);return Ee===l&&(function(pe){pe.window_size=2*pe.w_size,V(pe.head),pe.max_lazy_match=a[pe.level].max_lazy,pe.good_match=a[pe.level].good_length,pe.nice_match=a[pe.level].nice_length,pe.max_chain_length=a[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,pe.ins_h=0})(S.state),Ee}function dt(S,Ee,pe,W,N,j){if(!S)return g;var be=1;if(Ee===m&&(Ee=6),W<0?(be=0,W=-W):15<W&&(be=2,W-=16),N<1||M<N||pe!==k||W<8||15<W||Ee<0||9<Ee||j<0||p<j)return ae(S,g);W===8&&(W=9);var Le=new fe;return(S.state=Le).strm=S,Le.wrap=be,Le.gzhead=null,Le.w_bits=W,Le.w_size=1<<Le.w_bits,Le.w_mask=Le.w_size-1,Le.hash_bits=N+7,Le.hash_size=1<<Le.hash_bits,Le.hash_mask=Le.hash_size-1,Le.hash_shift=~~((Le.hash_bits+R-1)/R),Le.window=new s.Buf8(2*Le.w_size),Le.head=new s.Buf16(Le.hash_size),Le.prev=new s.Buf16(Le.w_size),Le.lit_bufsize=1<<N+6,Le.pending_buf_size=4*Le.lit_bufsize,Le.pending_buf=new s.Buf8(Le.pending_buf_size),Le.d_buf=1*Le.lit_bufsize,Le.l_buf=3*Le.lit_bufsize,Le.level=Ee,Le.strategy=j,Le.method=pe,kt(S)}a=[new ee(0,0,0,0,function(S,Ee){var pe=65535;for(pe>S.pending_buf_size-5&&(pe=S.pending_buf_size-5);;){if(S.lookahead<=1){if(h(S),S.lookahead===0&&Ee===f)return P;if(S.lookahead===0)break}S.strstart+=S.lookahead,S.lookahead=0;var W=S.block_start+pe;if((S.strstart===0||S.strstart>=W)&&(S.lookahead=S.strstart-W,S.strstart=W,X(S,!1),S.strm.avail_out===0)||S.strstart-S.block_start>=S.w_size-Y&&(X(S,!1),S.strm.avail_out===0))return P}return S.insert=0,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):(S.strstart>S.block_start&&(X(S,!1),S.strm.avail_out),P)}),new ee(4,4,8,4,De),new ee(4,5,16,8,De),new ee(4,6,32,32,De),new ee(4,4,16,16,Ue),new ee(8,16,32,32,Ue),new ee(8,16,128,128,Ue),new ee(8,32,128,256,Ue),new ee(32,128,258,1024,Ue),new ee(32,258,258,4096,Ue)],t.deflateInit=function(S,Ee){return dt(S,Ee,k,15,8,0)},t.deflateInit2=dt,t.deflateReset=kt,t.deflateResetKeep=oe,t.deflateSetHeader=function(S,Ee){return S&&S.state?S.state.wrap!==2?g:(S.state.gzhead=Ee,l):g},t.deflate=function(S,Ee){var pe,W,N,j;if(!S||!S.state||5<Ee||Ee<0)return S?ae(S,g):g;if(W=S.state,!S.output||!S.input&&S.avail_in!==0||W.status===666&&Ee!==c)return ae(S,S.avail_out===0?-5:g);if(W.strm=S,pe=W.last_flush,W.last_flush=Ee,W.status===T)if(W.wrap===2)S.adler=0,ge(W,31),ge(W,139),ge(W,8),W.gzhead?(ge(W,(W.gzhead.text?1:0)+(W.gzhead.hcrc?2:0)+(W.gzhead.extra?4:0)+(W.gzhead.name?8:0)+(W.gzhead.comment?16:0)),ge(W,255&W.gzhead.time),ge(W,W.gzhead.time>>8&255),ge(W,W.gzhead.time>>16&255),ge(W,W.gzhead.time>>24&255),ge(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),ge(W,255&W.gzhead.os),W.gzhead.extra&&W.gzhead.extra.length&&(ge(W,255&W.gzhead.extra.length),ge(W,W.gzhead.extra.length>>8&255)),W.gzhead.hcrc&&(S.adler=o(S.adler,W.pending_buf,W.pending,0)),W.gzindex=0,W.status=69):(ge(W,0),ge(W,0),ge(W,0),ge(W,0),ge(W,0),ge(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),ge(W,3),W.status=O);else{var be=k+(W.w_bits-8<<4)<<8;be|=(2<=W.strategy||W.level<2?0:W.level<6?1:W.level===6?2:3)<<6,W.strstart!==0&&(be|=32),be+=31-be%31,W.status=O,me(W,be),W.strstart!==0&&(me(W,S.adler>>>16),me(W,65535&S.adler)),S.adler=1}if(W.status===69)if(W.gzhead.extra){for(N=W.pending;W.gzindex<(65535&W.gzhead.extra.length)&&(W.pending!==W.pending_buf_size||(W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),H(S),N=W.pending,W.pending!==W.pending_buf_size));)ge(W,255&W.gzhead.extra[W.gzindex]),W.gzindex++;W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),W.gzindex===W.gzhead.extra.length&&(W.gzindex=0,W.status=73)}else W.status=73;if(W.status===73)if(W.gzhead.name){N=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),H(S),N=W.pending,W.pending===W.pending_buf_size)){j=1;break}j=W.gzindex<W.gzhead.name.length?255&W.gzhead.name.charCodeAt(W.gzindex++):0,ge(W,j)}while(j!==0);W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),j===0&&(W.gzindex=0,W.status=91)}else W.status=91;if(W.status===91)if(W.gzhead.comment){N=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),H(S),N=W.pending,W.pending===W.pending_buf_size)){j=1;break}j=W.gzindex<W.gzhead.comment.length?255&W.gzhead.comment.charCodeAt(W.gzindex++):0,ge(W,j)}while(j!==0);W.gzhead.hcrc&&W.pending>N&&(S.adler=o(S.adler,W.pending_buf,W.pending-N,N)),j===0&&(W.status=103)}else W.status=103;if(W.status===103&&(W.gzhead.hcrc?(W.pending+2>W.pending_buf_size&&H(S),W.pending+2<=W.pending_buf_size&&(ge(W,255&S.adler),ge(W,S.adler>>8&255),S.adler=0,W.status=O)):W.status=O),W.pending!==0){if(H(S),S.avail_out===0)return W.last_flush=-1,l}else if(S.avail_in===0&&A(Ee)<=A(pe)&&Ee!==c)return ae(S,-5);if(W.status===666&&S.avail_in!==0)return ae(S,-5);if(S.avail_in!==0||W.lookahead!==0||Ee!==f&&W.status!==666){var Le=W.strategy===2?(function(E,Be){for(var We;;){if(E.lookahead===0&&(h(E),E.lookahead===0)){if(Be===f)return P;break}if(E.match_length=0,We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,We&&(X(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(X(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(X(E,!1),E.strm.avail_out===0)?P:J})(W,Ee):W.strategy===3?(function(E,Be){for(var We,Ce,ht,Yt,wt=E.window;;){if(E.lookahead<=B){if(h(E),E.lookahead<=B&&Be===f)return P;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=R&&0<E.strstart&&(Ce=wt[ht=E.strstart-1])===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]){Yt=E.strstart+B;do;while(Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&ht<Yt);E.match_length=B-(Yt-ht),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=R?(We=n._tr_tally(E,1,E.match_length-R),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),We&&(X(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(X(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(X(E,!1),E.strm.avail_out===0)?P:J})(W,Ee):a[W.level].func(W,Ee);if(Le!==re&&Le!==Q||(W.status=666),Le===P||Le===re)return S.avail_out===0&&(W.last_flush=-1),l;if(Le===J&&(Ee===1?n._tr_align(W):Ee!==5&&(n._tr_stored_block(W,0,0,!1),Ee===3&&(V(W.head),W.lookahead===0&&(W.strstart=0,W.block_start=0,W.insert=0))),H(S),S.avail_out===0))return W.last_flush=-1,l}return Ee!==c?l:W.wrap<=0?1:(W.wrap===2?(ge(W,255&S.adler),ge(W,S.adler>>8&255),ge(W,S.adler>>16&255),ge(W,S.adler>>24&255),ge(W,255&S.total_in),ge(W,S.total_in>>8&255),ge(W,S.total_in>>16&255),ge(W,S.total_in>>24&255)):(me(W,S.adler>>>16),me(W,65535&S.adler)),H(S),0<W.wrap&&(W.wrap=-W.wrap),W.pending!==0?l:1)},t.deflateEnd=function(S){var Ee;return S&&S.state?(Ee=S.state.status)!==T&&Ee!==69&&Ee!==73&&Ee!==91&&Ee!==103&&Ee!==O&&Ee!==666?ae(S,g):(S.state=null,Ee===O?ae(S,-3):l):g},t.deflateSetDictionary=function(S,Ee){var pe,W,N,j,be,Le,E,Be,We=Ee.length;if(!S||!S.state||(j=(pe=S.state).wrap)===2||j===1&&pe.status!==T||pe.lookahead)return g;for(j===1&&(S.adler=i(S.adler,Ee,We,0)),pe.wrap=0,We>=pe.w_size&&(j===0&&(V(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),Be=new s.Buf8(pe.w_size),s.arraySet(Be,Ee,We-pe.w_size,pe.w_size,0),Ee=Be,We=pe.w_size),be=S.avail_in,Le=S.next_in,E=S.input,S.avail_in=We,S.next_in=0,S.input=Ee,h(pe);pe.lookahead>=R;){for(W=pe.strstart,N=pe.lookahead-(R-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[W+R-1])&pe.hash_mask,pe.prev[W&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=W,W++,--N;);pe.strstart=W,pe.lookahead=R-1,h(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,S.next_in=Le,S.input=E,S.avail_in=be,pe.wrap=j,l},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,r,t){"use strict";r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,r,t){"use strict";r.exports=function(a,s){var n,i,o,d,f,c,l,g,m,p,b,k,M,v,_,y,I,C,R,B,Y,T,O,P,J;n=a.state,i=a.next_in,P=a.input,o=i+(a.avail_in-5),d=a.next_out,J=a.output,f=d-(s-a.avail_out),c=d+(a.avail_out-257),l=n.dmax,g=n.wsize,m=n.whave,p=n.wnext,b=n.window,k=n.hold,M=n.bits,v=n.lencode,_=n.distcode,y=(1<<n.lenbits)-1,I=(1<<n.distbits)-1;e:do{M<15&&(k+=P[i++]<<M,M+=8,k+=P[i++]<<M,M+=8),C=v[k&y];t:for(;;){if(k>>>=R=C>>>24,M-=R,(R=C>>>16&255)===0)J[d++]=65535&C;else{if(!(16&R)){if((64&R)==0){C=v[(65535&C)+(k&(1<<R)-1)];continue t}if(32&R){n.mode=12;break e}a.msg="invalid literal/length code",n.mode=30;break e}B=65535&C,(R&=15)&&(M<R&&(k+=P[i++]<<M,M+=8),B+=k&(1<<R)-1,k>>>=R,M-=R),M<15&&(k+=P[i++]<<M,M+=8,k+=P[i++]<<M,M+=8),C=_[k&I];r:for(;;){if(k>>>=R=C>>>24,M-=R,!(16&(R=C>>>16&255))){if((64&R)==0){C=_[(65535&C)+(k&(1<<R)-1)];continue r}a.msg="invalid distance code",n.mode=30;break e}if(Y=65535&C,M<(R&=15)&&(k+=P[i++]<<M,(M+=8)<R&&(k+=P[i++]<<M,M+=8)),l<(Y+=k&(1<<R)-1)){a.msg="invalid distance too far back",n.mode=30;break e}if(k>>>=R,M-=R,(R=d-f)<Y){if(m<(R=Y-R)&&n.sane){a.msg="invalid distance too far back",n.mode=30;break e}if(O=b,(T=0)===p){if(T+=g-R,R<B){for(B-=R;J[d++]=b[T++],--R;);T=d-Y,O=J}}else if(p<R){if(T+=g+p-R,(R-=p)<B){for(B-=R;J[d++]=b[T++],--R;);if(T=0,p<B){for(B-=R=p;J[d++]=b[T++],--R;);T=d-Y,O=J}}}else if(T+=p-R,R<B){for(B-=R;J[d++]=b[T++],--R;);T=d-Y,O=J}for(;2<B;)J[d++]=O[T++],J[d++]=O[T++],J[d++]=O[T++],B-=3;B&&(J[d++]=O[T++],1<B&&(J[d++]=O[T++]))}else{for(T=d-Y;J[d++]=J[T++],J[d++]=J[T++],J[d++]=J[T++],2<(B-=3););B&&(J[d++]=J[T++],1<B&&(J[d++]=J[T++]))}break}}break}}while(i<o&&d<c);i-=B=M>>3,k&=(1<<(M-=B<<3))-1,a.next_in=i,a.next_out=d,a.avail_in=i<o?o-i+5:5-(i-o),a.avail_out=d<c?c-d+257:257-(d-c),n.hold=k,n.bits=M}},{}],49:[function(e,r,t){"use strict";var a=e("../utils/common"),s=e("./adler32"),n=e("./crc32"),i=e("./inffast"),o=e("./inftrees"),d=1,f=2,c=0,l=-2,g=1,m=852,p=592;function b(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function k(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function M(T){var O;return T&&T.state?(O=T.state,T.total_in=T.total_out=O.total=0,T.msg="",O.wrap&&(T.adler=1&O.wrap),O.mode=g,O.last=0,O.havedict=0,O.dmax=32768,O.head=null,O.hold=0,O.bits=0,O.lencode=O.lendyn=new a.Buf32(m),O.distcode=O.distdyn=new a.Buf32(p),O.sane=1,O.back=-1,c):l}function v(T){var O;return T&&T.state?((O=T.state).wsize=0,O.whave=0,O.wnext=0,M(T)):l}function _(T,O){var P,J;return T&&T.state?(J=T.state,O<0?(P=0,O=-O):(P=1+(O>>4),O<48&&(O&=15)),O&&(O<8||15<O)?l:(J.window!==null&&J.wbits!==O&&(J.window=null),J.wrap=P,J.wbits=O,v(T))):l}function y(T,O){var P,J;return T?(J=new k,(T.state=J).window=null,(P=_(T,O))!==c&&(T.state=null),P):l}var I,C,R=!0;function B(T){if(R){var O;for(I=new a.Buf32(512),C=new a.Buf32(32),O=0;O<144;)T.lens[O++]=8;for(;O<256;)T.lens[O++]=9;for(;O<280;)T.lens[O++]=7;for(;O<288;)T.lens[O++]=8;for(o(d,T.lens,0,288,I,0,T.work,{bits:9}),O=0;O<32;)T.lens[O++]=5;o(f,T.lens,0,32,C,0,T.work,{bits:5}),R=!1}T.lencode=I,T.lenbits=9,T.distcode=C,T.distbits=5}function Y(T,O,P,J){var re,Q=T.state;return Q.window===null&&(Q.wsize=1<<Q.wbits,Q.wnext=0,Q.whave=0,Q.window=new a.Buf8(Q.wsize)),J>=Q.wsize?(a.arraySet(Q.window,O,P-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize):(J<(re=Q.wsize-Q.wnext)&&(re=J),a.arraySet(Q.window,O,P-J,re,Q.wnext),(J-=re)?(a.arraySet(Q.window,O,P-J,J,0),Q.wnext=J,Q.whave=Q.wsize):(Q.wnext+=re,Q.wnext===Q.wsize&&(Q.wnext=0),Q.whave<Q.wsize&&(Q.whave+=re))),0}t.inflateReset=v,t.inflateReset2=_,t.inflateResetKeep=M,t.inflateInit=function(T){return y(T,15)},t.inflateInit2=y,t.inflate=function(T,O){var P,J,re,Q,ae,A,V,H,X,ge,me,u,h,De,Ue,ee,fe,oe,kt,dt,S,Ee,pe,W,N=0,j=new a.Buf8(4),be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return l;(P=T.state).mode===12&&(P.mode=13),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,A=T.avail_in,H=P.hold,X=P.bits,ge=A,me=V,Ee=c;e:for(;;)switch(P.mode){case g:if(P.wrap===0){P.mode=13;break}for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(2&P.wrap&&H===35615){j[P.check=0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0),X=H=0,P.mode=2;break}if(P.flags=0,P.head&&(P.head.done=!1),!(1&P.wrap)||(((255&H)<<8)+(H>>8))%31){T.msg="incorrect header check",P.mode=30;break}if((15&H)!=8){T.msg="unknown compression method",P.mode=30;break}if(X-=4,S=8+(15&(H>>>=4)),P.wbits===0)P.wbits=S;else if(S>P.wbits){T.msg="invalid window size",P.mode=30;break}P.dmax=1<<S,T.adler=P.check=1,P.mode=512&H?10:12,X=H=0;break;case 2:for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(P.flags=H,(255&P.flags)!=8){T.msg="unknown compression method",P.mode=30;break}if(57344&P.flags){T.msg="unknown header flags set",P.mode=30;break}P.head&&(P.head.text=H>>8&1),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0,P.mode=3;case 3:for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.head&&(P.head.time=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,j[2]=H>>>16&255,j[3]=H>>>24&255,P.check=n(P.check,j,4,0)),X=H=0,P.mode=4;case 4:for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.head&&(P.head.xflags=255&H,P.head.os=H>>8),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0,P.mode=5;case 5:if(1024&P.flags){for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.length=H,P.head&&(P.head.extra_len=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0}else P.head&&(P.head.extra=null);P.mode=6;case 6:if(1024&P.flags&&(A<(u=P.length)&&(u=A),u&&(P.head&&(S=P.head.extra_len-P.length,P.head.extra||(P.head.extra=new Array(P.head.extra_len)),a.arraySet(P.head.extra,J,Q,u,S)),512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,P.length-=u),P.length))break e;P.length=0,P.mode=7;case 7:if(2048&P.flags){if(A===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.name+=String.fromCharCode(S)),S&&u<A;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,S)break e}else P.head&&(P.head.name=null);P.length=0,P.mode=8;case 8:if(4096&P.flags){if(A===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.comment+=String.fromCharCode(S)),S&&u<A;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,S)break e}else P.head&&(P.head.comment=null);P.mode=9;case 9:if(512&P.flags){for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H!==(65535&P.check)){T.msg="header crc mismatch",P.mode=30;break}X=H=0}P.head&&(P.head.hcrc=P.flags>>9&1,P.head.done=!0),T.adler=P.check=0,P.mode=12;break;case 10:for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}T.adler=P.check=b(H),X=H=0,P.mode=11;case 11:if(P.havedict===0)return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,2;T.adler=P.check=1,P.mode=12;case 12:if(O===5||O===6)break e;case 13:if(P.last){H>>>=7&X,X-=7&X,P.mode=27;break}for(;X<3;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}switch(P.last=1&H,X-=1,3&(H>>>=1)){case 0:P.mode=14;break;case 1:if(B(P),P.mode=20,O!==6)break;H>>>=2,X-=2;break e;case 2:P.mode=17;break;case 3:T.msg="invalid block type",P.mode=30}H>>>=2,X-=2;break;case 14:for(H>>>=7&X,X-=7&X;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if((65535&H)!=(H>>>16^65535)){T.msg="invalid stored block lengths",P.mode=30;break}if(P.length=65535&H,X=H=0,P.mode=15,O===6)break e;case 15:P.mode=16;case 16:if(u=P.length){if(A<u&&(u=A),V<u&&(u=V),u===0)break e;a.arraySet(re,J,Q,u,ae),A-=u,Q+=u,V-=u,ae+=u,P.length-=u;break}P.mode=12;break;case 17:for(;X<14;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(P.nlen=257+(31&H),H>>>=5,X-=5,P.ndist=1+(31&H),H>>>=5,X-=5,P.ncode=4+(15&H),H>>>=4,X-=4,286<P.nlen||30<P.ndist){T.msg="too many length or distance symbols",P.mode=30;break}P.have=0,P.mode=18;case 18:for(;P.have<P.ncode;){for(;X<3;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.lens[be[P.have++]]=7&H,H>>>=3,X-=3}for(;P.have<19;)P.lens[be[P.have++]]=0;if(P.lencode=P.lendyn,P.lenbits=7,pe={bits:P.lenbits},Ee=o(0,P.lens,0,19,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid code lengths set",P.mode=30;break}P.have=0,P.mode=19;case 19:for(;P.have<P.nlen+P.ndist;){for(;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(fe<16)H>>>=Ue,X-=Ue,P.lens[P.have++]=fe;else{if(fe===16){for(W=Ue+2;X<W;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H>>>=Ue,X-=Ue,P.have===0){T.msg="invalid bit length repeat",P.mode=30;break}S=P.lens[P.have-1],u=3+(3&H),H>>>=2,X-=2}else if(fe===17){for(W=Ue+3;X<W;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}X-=Ue,S=0,u=3+(7&(H>>>=Ue)),H>>>=3,X-=3}else{for(W=Ue+7;X<W;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}X-=Ue,S=0,u=11+(127&(H>>>=Ue)),H>>>=7,X-=7}if(P.have+u>P.nlen+P.ndist){T.msg="invalid bit length repeat",P.mode=30;break}for(;u--;)P.lens[P.have++]=S}}if(P.mode===30)break;if(P.lens[256]===0){T.msg="invalid code -- missing end-of-block",P.mode=30;break}if(P.lenbits=9,pe={bits:P.lenbits},Ee=o(d,P.lens,0,P.nlen,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid literal/lengths set",P.mode=30;break}if(P.distbits=6,P.distcode=P.distdyn,pe={bits:P.distbits},Ee=o(f,P.lens,P.nlen,P.ndist,P.distcode,0,P.work,pe),P.distbits=pe.bits,Ee){T.msg="invalid distances set",P.mode=30;break}if(P.mode=20,O===6)break e;case 20:P.mode=21;case 21:if(6<=A&&258<=V){T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,i(T,me),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,A=T.avail_in,H=P.hold,X=P.bits,P.mode===12&&(P.back=-1);break}for(P.back=0;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(ee&&(240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.lencode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}H>>>=oe,X-=oe,P.back+=oe}if(H>>>=Ue,X-=Ue,P.back+=Ue,P.length=fe,ee===0){P.mode=26;break}if(32&ee){P.back=-1,P.mode=12;break}if(64&ee){T.msg="invalid literal/length code",P.mode=30;break}P.extra=15&ee,P.mode=22;case 22:if(P.extra){for(W=P.extra;X<W;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.length+=H&(1<<P.extra)-1,H>>>=P.extra,X-=P.extra,P.back+=P.extra}P.was=P.length,P.mode=23;case 23:for(;ee=(N=P.distcode[H&(1<<P.distbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if((240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.distcode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}H>>>=oe,X-=oe,P.back+=oe}if(H>>>=Ue,X-=Ue,P.back+=Ue,64&ee){T.msg="invalid distance code",P.mode=30;break}P.offset=fe,P.extra=15&ee,P.mode=24;case 24:if(P.extra){for(W=P.extra;X<W;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.offset+=H&(1<<P.extra)-1,H>>>=P.extra,X-=P.extra,P.back+=P.extra}if(P.offset>P.dmax){T.msg="invalid distance too far back",P.mode=30;break}P.mode=25;case 25:if(V===0)break e;if(u=me-V,P.offset>u){if((u=P.offset-u)>P.whave&&P.sane){T.msg="invalid distance too far back",P.mode=30;break}h=u>P.wnext?(u-=P.wnext,P.wsize-u):P.wnext-u,u>P.length&&(u=P.length),De=P.window}else De=re,h=ae-P.offset,u=P.length;for(V<u&&(u=V),V-=u,P.length-=u;re[ae++]=De[h++],--u;);P.length===0&&(P.mode=21);break;case 26:if(V===0)break e;re[ae++]=P.length,V--,P.mode=21;break;case 27:if(P.wrap){for(;X<32;){if(A===0)break e;A--,H|=J[Q++]<<X,X+=8}if(me-=V,T.total_out+=me,P.total+=me,me&&(T.adler=P.check=P.flags?n(P.check,re,me,ae-me):s(P.check,re,me,ae-me)),me=V,(P.flags?H:b(H))!==P.check){T.msg="incorrect data check",P.mode=30;break}X=H=0}P.mode=28;case 28:if(P.wrap&&P.flags){for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H!==(4294967295&P.total)){T.msg="incorrect length check",P.mode=30;break}X=H=0}P.mode=29;case 29:Ee=1;break e;case 30:Ee=-3;break e;case 31:return-4;default:return l}return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,(P.wsize||me!==T.avail_out&&P.mode<30&&(P.mode<27||O!==4))&&Y(T,T.output,T.next_out,me-T.avail_out)?(P.mode=31,-4):(ge-=T.avail_in,me-=T.avail_out,T.total_in+=ge,T.total_out+=me,P.total+=me,P.wrap&&me&&(T.adler=P.check=P.flags?n(P.check,re,me,T.next_out-me):s(P.check,re,me,T.next_out-me)),T.data_type=P.bits+(P.last?64:0)+(P.mode===12?128:0)+(P.mode===20||P.mode===15?256:0),(ge==0&&me===0||O===4)&&Ee===c&&(Ee=-5),Ee)},t.inflateEnd=function(T){if(!T||!T.state)return l;var O=T.state;return O.window&&(O.window=null),T.state=null,c},t.inflateGetHeader=function(T,O){var P;return T&&T.state?(2&(P=T.state).wrap)==0?l:((P.head=O).done=!1,c):l},t.inflateSetDictionary=function(T,O){var P,J=O.length;return T&&T.state?(P=T.state).wrap!==0&&P.mode!==11?l:P.mode===11&&s(1,O,J,0)!==P.check?-3:Y(T,O,J,J)?(P.mode=31,-4):(P.havedict=1,c):l},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,r,t){"use strict";var a=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,f,c,l,g,m,p,b){var k,M,v,_,y,I,C,R,B,Y=b.bits,T=0,O=0,P=0,J=0,re=0,Q=0,ae=0,A=0,V=0,H=0,X=null,ge=0,me=new a.Buf16(16),u=new a.Buf16(16),h=null,De=0;for(T=0;T<=15;T++)me[T]=0;for(O=0;O<l;O++)me[f[c+O]]++;for(re=Y,J=15;1<=J&&me[J]===0;J--);if(J<re&&(re=J),J===0)return g[m++]=20971520,g[m++]=20971520,b.bits=1,0;for(P=1;P<J&&me[P]===0;P++);for(re<P&&(re=P),T=A=1;T<=15;T++)if(A<<=1,(A-=me[T])<0)return-1;if(0<A&&(d===0||J!==1))return-1;for(u[1]=0,T=1;T<15;T++)u[T+1]=u[T]+me[T];for(O=0;O<l;O++)f[c+O]!==0&&(p[u[f[c+O]]++]=O);if(I=d===0?(X=h=p,19):d===1?(X=s,ge-=257,h=n,De-=257,256):(X=i,h=o,-1),T=P,y=m,ae=O=H=0,v=-1,_=(V=1<<(Q=re))-1,d===1&&852<V||d===2&&592<V)return 1;for(;;){for(C=T-ae,B=p[O]<I?(R=0,p[O]):p[O]>I?(R=h[De+p[O]],X[ge+p[O]]):(R=96,0),k=1<<T-ae,P=M=1<<Q;g[y+(H>>ae)+(M-=k)]=C<<24|R<<16|B|0,M!==0;);for(k=1<<T-1;H&k;)k>>=1;if(k!==0?(H&=k-1,H+=k):H=0,O++,--me[T]==0){if(T===J)break;T=f[c+p[O]]}if(re<T&&(H&_)!==v){for(ae===0&&(ae=re),y+=P,A=1<<(Q=T-ae);Q+ae<J&&!((A-=me[Q+ae])<=0);)Q++,A<<=1;if(V+=1<<Q,d===1&&852<V||d===2&&592<V)return 1;g[v=H&_]=re<<24|Q<<16|y-m|0}}return H!==0&&(g[y+H]=T-ae<<24|64<<16|0),b.bits=re,0}},{"../utils/common":41}],51:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,r,t){"use strict";var a=e("../utils/common"),s=0,n=1;function i(N){for(var j=N.length;0<=--j;)N[j]=0}var o=0,d=29,f=256,c=f+1+d,l=30,g=19,m=2*c+1,p=15,b=16,k=7,M=256,v=16,_=17,y=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],C=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Y=new Array(2*(c+2));i(Y);var T=new Array(2*l);i(T);var O=new Array(512);i(O);var P=new Array(256);i(P);var J=new Array(d);i(J);var re,Q,ae,A=new Array(l);function V(N,j,be,Le,E){this.static_tree=N,this.extra_bits=j,this.extra_base=be,this.elems=Le,this.max_length=E,this.has_stree=N&&N.length}function H(N,j){this.dyn_tree=N,this.max_code=0,this.stat_desc=j}function X(N){return N<256?O[N]:O[256+(N>>>7)]}function ge(N,j){N.pending_buf[N.pending++]=255&j,N.pending_buf[N.pending++]=j>>>8&255}function me(N,j,be){N.bi_valid>b-be?(N.bi_buf|=j<<N.bi_valid&65535,ge(N,N.bi_buf),N.bi_buf=j>>b-N.bi_valid,N.bi_valid+=be-b):(N.bi_buf|=j<<N.bi_valid&65535,N.bi_valid+=be)}function u(N,j,be){me(N,be[2*j],be[2*j+1])}function h(N,j){for(var be=0;be|=1&N,N>>>=1,be<<=1,0<--j;);return be>>>1}function De(N,j,be){var Le,E,Be=new Array(p+1),We=0;for(Le=1;Le<=p;Le++)Be[Le]=We=We+be[Le-1]<<1;for(E=0;E<=j;E++){var Ce=N[2*E+1];Ce!==0&&(N[2*E]=h(Be[Ce]++,Ce))}}function Ue(N){var j;for(j=0;j<c;j++)N.dyn_ltree[2*j]=0;for(j=0;j<l;j++)N.dyn_dtree[2*j]=0;for(j=0;j<g;j++)N.bl_tree[2*j]=0;N.dyn_ltree[2*M]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function ee(N){8<N.bi_valid?ge(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function fe(N,j,be,Le){var E=2*j,Be=2*be;return N[E]<N[Be]||N[E]===N[Be]&&Le[j]<=Le[be]}function oe(N,j,be){for(var Le=N.heap[be],E=be<<1;E<=N.heap_len&&(E<N.heap_len&&fe(j,N.heap[E+1],N.heap[E],N.depth)&&E++,!fe(j,Le,N.heap[E],N.depth));)N.heap[be]=N.heap[E],be=E,E<<=1;N.heap[be]=Le}function kt(N,j,be){var Le,E,Be,We,Ce=0;if(N.last_lit!==0)for(;Le=N.pending_buf[N.d_buf+2*Ce]<<8|N.pending_buf[N.d_buf+2*Ce+1],E=N.pending_buf[N.l_buf+Ce],Ce++,Le===0?u(N,E,j):(u(N,(Be=P[E])+f+1,j),(We=I[Be])!==0&&me(N,E-=J[Be],We),u(N,Be=X(--Le),be),(We=C[Be])!==0&&me(N,Le-=A[Be],We)),Ce<N.last_lit;);u(N,M,j)}function dt(N,j){var be,Le,E,Be=j.dyn_tree,We=j.stat_desc.static_tree,Ce=j.stat_desc.has_stree,ht=j.stat_desc.elems,Yt=-1;for(N.heap_len=0,N.heap_max=m,be=0;be<ht;be++)Be[2*be]!==0?(N.heap[++N.heap_len]=Yt=be,N.depth[be]=0):Be[2*be+1]=0;for(;N.heap_len<2;)Be[2*(E=N.heap[++N.heap_len]=Yt<2?++Yt:0)]=1,N.depth[E]=0,N.opt_len--,Ce&&(N.static_len-=We[2*E+1]);for(j.max_code=Yt,be=N.heap_len>>1;1<=be;be--)oe(N,Be,be);for(E=ht;be=N.heap[1],N.heap[1]=N.heap[N.heap_len--],oe(N,Be,1),Le=N.heap[1],N.heap[--N.heap_max]=be,N.heap[--N.heap_max]=Le,Be[2*E]=Be[2*be]+Be[2*Le],N.depth[E]=(N.depth[be]>=N.depth[Le]?N.depth[be]:N.depth[Le])+1,Be[2*be+1]=Be[2*Le+1]=E,N.heap[1]=E++,oe(N,Be,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],(function(wt,Wr){var En,Ua,xn,xr,Ki,Tf,ia=Wr.dyn_tree,Pa=Wr.max_code,Sa=Wr.stat_desc.static_tree,Ia=Wr.stat_desc.has_stree,Wa=Wr.stat_desc.extra_bits,tn=Wr.stat_desc.extra_base,Pn=Wr.stat_desc.max_length,rn=0;for(xr=0;xr<=p;xr++)wt.bl_count[xr]=0;for(ia[2*wt.heap[wt.heap_max]+1]=0,En=wt.heap_max+1;En<m;En++)Pn<(xr=ia[2*ia[2*(Ua=wt.heap[En])+1]+1]+1)&&(xr=Pn,rn++),ia[2*Ua+1]=xr,Pa<Ua||(wt.bl_count[xr]++,Ki=0,tn<=Ua&&(Ki=Wa[Ua-tn]),Tf=ia[2*Ua],wt.opt_len+=Tf*(xr+Ki),Ia&&(wt.static_len+=Tf*(Sa[2*Ua+1]+Ki)));if(rn!==0){do{for(xr=Pn-1;wt.bl_count[xr]===0;)xr--;wt.bl_count[xr]--,wt.bl_count[xr+1]+=2,wt.bl_count[Pn]--,rn-=2}while(0<rn);for(xr=Pn;xr!==0;xr--)for(Ua=wt.bl_count[xr];Ua!==0;)Pa<(xn=wt.heap[--En])||(ia[2*xn+1]!==xr&&(wt.opt_len+=(xr-ia[2*xn+1])*ia[2*xn],ia[2*xn+1]=xr),Ua--)}})(N,j),De(Be,Yt,N.bl_count)}function S(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),j[2*(be+1)+1]=65535,Le=0;Le<=be;Le++)E=We,We=j[2*(Le+1)+1],++Ce<ht&&E===We||(Ce<Yt?N.bl_tree[2*E]+=Ce:E!==0?(E!==Be&&N.bl_tree[2*E]++,N.bl_tree[2*v]++):Ce<=10?N.bl_tree[2*_]++:N.bl_tree[2*y]++,Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4))}function Ee(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),Le=0;Le<=be;Le++)if(E=We,We=j[2*(Le+1)+1],!(++Ce<ht&&E===We)){if(Ce<Yt)for(;u(N,E,N.bl_tree),--Ce!=0;);else E!==0?(E!==Be&&(u(N,E,N.bl_tree),Ce--),u(N,v,N.bl_tree),me(N,Ce-3,2)):Ce<=10?(u(N,_,N.bl_tree),me(N,Ce-3,3)):(u(N,y,N.bl_tree),me(N,Ce-11,7));Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4)}}i(A);var pe=!1;function W(N,j,be,Le){me(N,(o<<1)+(Le?1:0),3),(function(E,Be,We,Ce){ee(E),Ce&&(ge(E,We),ge(E,~We)),a.arraySet(E.pending_buf,E.window,Be,We,E.pending),E.pending+=We})(N,j,be,!0)}t._tr_init=function(N){pe||((function(){var j,be,Le,E,Be,We=new Array(p+1);for(E=Le=0;E<d-1;E++)for(J[E]=Le,j=0;j<1<<I[E];j++)P[Le++]=E;for(P[Le-1]=E,E=Be=0;E<16;E++)for(A[E]=Be,j=0;j<1<<C[E];j++)O[Be++]=E;for(Be>>=7;E<l;E++)for(A[E]=Be<<7,j=0;j<1<<C[E]-7;j++)O[256+Be++]=E;for(be=0;be<=p;be++)We[be]=0;for(j=0;j<=143;)Y[2*j+1]=8,j++,We[8]++;for(;j<=255;)Y[2*j+1]=9,j++,We[9]++;for(;j<=279;)Y[2*j+1]=7,j++,We[7]++;for(;j<=287;)Y[2*j+1]=8,j++,We[8]++;for(De(Y,c+1,We),j=0;j<l;j++)T[2*j+1]=5,T[2*j]=h(j,5);re=new V(Y,I,f+1,c,p),Q=new V(T,C,0,l,p),ae=new V(new Array(0),R,0,g,k)})(),pe=!0),N.l_desc=new H(N.dyn_ltree,re),N.d_desc=new H(N.dyn_dtree,Q),N.bl_desc=new H(N.bl_tree,ae),N.bi_buf=0,N.bi_valid=0,Ue(N)},t._tr_stored_block=W,t._tr_flush_block=function(N,j,be,Le){var E,Be,We=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=(function(Ce){var ht,Yt=4093624447;for(ht=0;ht<=31;ht++,Yt>>>=1)if(1&Yt&&Ce.dyn_ltree[2*ht]!==0)return s;if(Ce.dyn_ltree[18]!==0||Ce.dyn_ltree[20]!==0||Ce.dyn_ltree[26]!==0)return n;for(ht=32;ht<f;ht++)if(Ce.dyn_ltree[2*ht]!==0)return n;return s})(N)),dt(N,N.l_desc),dt(N,N.d_desc),We=(function(Ce){var ht;for(S(Ce,Ce.dyn_ltree,Ce.l_desc.max_code),S(Ce,Ce.dyn_dtree,Ce.d_desc.max_code),dt(Ce,Ce.bl_desc),ht=g-1;3<=ht&&Ce.bl_tree[2*B[ht]+1]===0;ht--);return Ce.opt_len+=3*(ht+1)+5+5+4,ht})(N),E=N.opt_len+3+7>>>3,(Be=N.static_len+3+7>>>3)<=E&&(E=Be)):E=Be=be+5,be+4<=E&&j!==-1?W(N,j,be,Le):N.strategy===4||Be===E?(me(N,2+(Le?1:0),3),kt(N,Y,T)):(me(N,4+(Le?1:0),3),(function(Ce,ht,Yt,wt){var Wr;for(me(Ce,ht-257,5),me(Ce,Yt-1,5),me(Ce,wt-4,4),Wr=0;Wr<wt;Wr++)me(Ce,Ce.bl_tree[2*B[Wr]+1],3);Ee(Ce,Ce.dyn_ltree,ht-1),Ee(Ce,Ce.dyn_dtree,Yt-1)})(N,N.l_desc.max_code+1,N.d_desc.max_code+1,We+1),kt(N,N.dyn_ltree,N.dyn_dtree)),Ue(N),Le&&ee(N)},t._tr_tally=function(N,j,be){return N.pending_buf[N.d_buf+2*N.last_lit]=j>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&j,N.pending_buf[N.l_buf+N.last_lit]=255&be,N.last_lit++,j===0?N.dyn_ltree[2*be]++:(N.matches++,j--,N.dyn_ltree[2*(P[be]+f+1)]++,N.dyn_dtree[2*X(j)]++),N.last_lit===N.lit_bufsize-1},t._tr_align=function(N){me(N,2,3),u(N,M,Y),(function(j){j.bi_valid===16?(ge(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)})(N)}},{"../utils/common":41}],53:[function(e,r,t){"use strict";r.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(e,r,t){(function(a){(function(s,n){"use strict";if(!s.setImmediate){var i,o,d,f,c=1,l={},g=!1,m=s.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(s);p=p&&p.setTimeout?p:s,i={}.toString.call(s.process)==="[object process]"?function(v){process.nextTick(function(){k(v)})}:(function(){if(s.postMessage&&!s.importScripts){var v=!0,_=s.onmessage;return s.onmessage=function(){v=!1},s.postMessage("","*"),s.onmessage=_,v}})()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",M,!1):s.attachEvent("onmessage",M),function(v){s.postMessage(f+v,"*")}):s.MessageChannel?((d=new MessageChannel).port1.onmessage=function(v){k(v.data)},function(v){d.port2.postMessage(v)}):m&&"onreadystatechange"in m.createElement("script")?(o=m.documentElement,function(v){var _=m.createElement("script");_.onreadystatechange=function(){k(v),_.onreadystatechange=null,o.removeChild(_),_=null},o.appendChild(_)}):function(v){setTimeout(k,0,v)},p.setImmediate=function(v){typeof v!="function"&&(v=new Function(""+v));for(var _=new Array(arguments.length-1),y=0;y<_.length;y++)_[y]=arguments[y+1];var I={callback:v,args:_};return l[c]=I,i(c),c++},p.clearImmediate=b}function b(v){delete l[v]}function k(v){if(g)setTimeout(k,0,v);else{var _=l[v];if(_){g=!0;try{(function(y){var I=y.callback,C=y.args;switch(C.length){case 0:I();break;case 1:I(C[0]);break;case 2:I(C[0],C[1]);break;case 3:I(C[0],C[1],C[2]);break;default:I.apply(n,C)}})(_)}finally{b(v),g=!1}}}}function M(v){v.source===s&&typeof v.data=="string"&&v.data.indexOf(f)===0&&k(+v.data.slice(f.length))}})(typeof self=="undefined"?a===void 0?this:a:self)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})});var Um=la(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});var Gb={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}};Bh.default=Gb});var Hm=la(Oi=>{"use strict";var Ub=Oi&&Oi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.hex=Oi.dec=Oi.codePoint=void 0;var Hb=Ub(Um()),Zb=String.fromCodePoint?String.fromCodePoint:Yb;function Dh(e,r){var t=Hb.default[e.toUpperCase()];if(t!==void 0){var a=t[r];if(a!==void 0)return{codePoint:a,string:Zb(a)}}}Oi.codePoint=Dh;function Wb(e,r){return Dh(e,parseInt(r,10))}Oi.dec=Wb;function $b(e,r){return Dh(e,parseInt(r,16))}Oi.hex=$b;function Yb(e){if(e<=65535)return String.fromCharCode(e);var r=Math.floor((e-65536)/1024)+55296,t=(e-65536)%1024+56320;return String.fromCharCode(r,t)}});var L0=la(ja=>{"use strict";var Xb=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function Ab(e,r){return Object.prototype.hasOwnProperty.call(e,r)}ja.assign=function(e){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var t=r.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var a in t)Ab(t,a)&&(e[a]=t[a])}}return e};ja.shrinkBuf=function(e,r){return e.length===r?e:e.subarray?e.subarray(0,r):(e.length=r,e)};var Kb={arraySet:function(e,r,t,a,s){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),s);return}for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){var r,t,a,s,n,i;for(a=0,r=0,t=e.length;r<t;r++)a+=e[r].length;for(i=new Uint8Array(a),s=0,r=0,t=e.length;r<t;r++)n=e[r],i.set(n,s),s+=n.length;return i}},Jb={arraySet:function(e,r,t,a,s){for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){return[].concat.apply([],e)}};ja.setTyped=function(e){e?(ja.Buf8=Uint8Array,ja.Buf16=Uint16Array,ja.Buf32=Int32Array,ja.assign(ja,Kb)):(ja.Buf8=Array,ja.Buf16=Array,ja.Buf32=Array,ja.assign(ja,Jb))};ja.setTyped(Xb)});var l8=la(cf=>{"use strict";var Qb=L0(),Fb=4,Zm=0,Wm=1,qb=2;function uf(e){for(var r=e.length;--r>=0;)e[r]=0}var Vb=0,Jm=1,jb=2,e6=3,t6=258,Uh=29,Tu=256,Eu=Tu+1+Uh,lf=30,Hh=19,Qm=2*Eu+1,So=15,Nh=16,r6=7,Zh=256,Fm=16,qm=17,Vm=18,xh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],q1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],jm=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n6=512,g0=new Array((Eu+2)*2);uf(g0);var Mu=new Array(lf*2);uf(Mu);var Pu=new Array(n6);uf(Pu);var Su=new Array(t6-e6+1);uf(Su);var Wh=new Array(Uh);uf(Wh);var V1=new Array(lf);uf(V1);function zh(e,r,t,a,s){this.static_tree=e,this.extra_bits=r,this.extra_base=t,this.elems=a,this.max_length=s,this.has_stree=e&&e.length}var e8,t8,r8;function Ch(e,r){this.dyn_tree=e,this.max_code=0,this.stat_desc=r}function a8(e){return e<256?Pu[e]:Pu[256+(e>>>7)]}function Iu(e,r){e.pending_buf[e.pending++]=r&255,e.pending_buf[e.pending++]=r>>>8&255}function fn(e,r,t){e.bi_valid>Nh-t?(e.bi_buf|=r<<e.bi_valid&65535,Iu(e,e.bi_buf),e.bi_buf=r>>Nh-e.bi_valid,e.bi_valid+=t-Nh):(e.bi_buf|=r<<e.bi_valid&65535,e.bi_valid+=t)}function xi(e,r,t){fn(e,t[r*2],t[r*2+1])}function n8(e,r){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--r>0);return t>>>1}function i6(e){e.bi_valid===16?(Iu(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function s6(e,r){var t=r.dyn_tree,a=r.max_code,s=r.stat_desc.static_tree,n=r.stat_desc.has_stree,i=r.stat_desc.extra_bits,o=r.stat_desc.extra_base,d=r.stat_desc.max_length,f,c,l,g,m,p,b=0;for(g=0;g<=So;g++)e.bl_count[g]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<Qm;f++)c=e.heap[f],g=t[t[c*2+1]*2+1]+1,g>d&&(g=d,b++),t[c*2+1]=g,!(c>a)&&(e.bl_count[g]++,m=0,c>=o&&(m=i[c-o]),p=t[c*2],e.opt_len+=p*(g+m),n&&(e.static_len+=p*(s[c*2+1]+m)));if(b!==0){do{for(g=d-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[d]--,b-=2}while(b>0);for(g=d;g!==0;g--)for(c=e.bl_count[g];c!==0;)l=e.heap[--f],!(l>a)&&(t[l*2+1]!==g&&(e.opt_len+=(g-t[l*2+1])*t[l*2],t[l*2+1]=g),c--)}}function i8(e,r,t){var a=new Array(So+1),s=0,n,i;for(n=1;n<=So;n++)a[n]=s=s+t[n-1]<<1;for(i=0;i<=r;i++){var o=e[i*2+1];o!==0&&(e[i*2]=n8(a[o]++,o))}}function o6(){var e,r,t,a,s,n=new Array(So+1);for(t=0,a=0;a<Uh-1;a++)for(Wh[a]=t,e=0;e<1<<xh[a];e++)Su[t++]=a;for(Su[t-1]=a,s=0,a=0;a<16;a++)for(V1[a]=s,e=0;e<1<<q1[a];e++)Pu[s++]=a;for(s>>=7;a<lf;a++)for(V1[a]=s<<7,e=0;e<1<<q1[a]-7;e++)Pu[256+s++]=a;for(r=0;r<=So;r++)n[r]=0;for(e=0;e<=143;)g0[e*2+1]=8,e++,n[8]++;for(;e<=255;)g0[e*2+1]=9,e++,n[9]++;for(;e<=279;)g0[e*2+1]=7,e++,n[7]++;for(;e<=287;)g0[e*2+1]=8,e++,n[8]++;for(i8(g0,Eu+1,n),e=0;e<lf;e++)Mu[e*2+1]=5,Mu[e*2]=n8(e,5);e8=new zh(g0,xh,Tu+1,Eu,So),t8=new zh(Mu,q1,0,lf,So),r8=new zh(new Array(0),a6,0,Hh,r6)}function s8(e){var r;for(r=0;r<Eu;r++)e.dyn_ltree[r*2]=0;for(r=0;r<lf;r++)e.dyn_dtree[r*2]=0;for(r=0;r<Hh;r++)e.bl_tree[r*2]=0;e.dyn_ltree[Zh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function o8(e){e.bi_valid>8?Iu(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function f6(e,r,t,a){o8(e),a&&(Iu(e,t),Iu(e,~t)),Qb.arraySet(e.pending_buf,e.window,r,t,e.pending),e.pending+=t}function $m(e,r,t,a){var s=r*2,n=t*2;return e[s]<e[n]||e[s]===e[n]&&a[r]<=a[t]}function Oh(e,r,t){for(var a=e.heap[t],s=t<<1;s<=e.heap_len&&(s<e.heap_len&&$m(r,e.heap[s+1],e.heap[s],e.depth)&&s++,!$m(r,a,e.heap[s],e.depth));)e.heap[t]=e.heap[s],t=s,s<<=1;e.heap[t]=a}function Ym(e,r,t){var a,s,n=0,i,o;if(e.last_lit!==0)do a=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],s=e.pending_buf[e.l_buf+n],n++,a===0?xi(e,s,r):(i=Su[s],xi(e,i+Tu+1,r),o=xh[i],o!==0&&(s-=Wh[i],fn(e,s,o)),a--,i=a8(a),xi(e,i,t),o=q1[i],o!==0&&(a-=V1[i],fn(e,a,o)));while(n<e.last_lit);xi(e,Zh,r)}function Gh(e,r){var t=r.dyn_tree,a=r.stat_desc.static_tree,s=r.stat_desc.has_stree,n=r.stat_desc.elems,i,o,d=-1,f;for(e.heap_len=0,e.heap_max=Qm,i=0;i<n;i++)t[i*2]!==0?(e.heap[++e.heap_len]=d=i,e.depth[i]=0):t[i*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,s&&(e.static_len-=a[f*2+1]);for(r.max_code=d,i=e.heap_len>>1;i>=1;i--)Oh(e,t,i);f=n;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Oh(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,t[f*2]=t[i*2]+t[o*2],e.depth[f]=(e.depth[i]>=e.depth[o]?e.depth[i]:e.depth[o])+1,t[i*2+1]=t[o*2+1]=f,e.heap[1]=f++,Oh(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],s6(e,r),i8(t,d,e.bl_count)}function Xm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),r[(t+1)*2+1]=65535,a=0;a<=t;a++)n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)&&(o<f?e.bl_tree[n*2]+=o:n!==0?(n!==s&&e.bl_tree[n*2]++,e.bl_tree[Fm*2]++):o<=10?e.bl_tree[qm*2]++:e.bl_tree[Vm*2]++,o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4))}function Am(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),a=0;a<=t;a++)if(n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)){if(o<f)do xi(e,n,e.bl_tree);while(--o!==0);else n!==0?(n!==s&&(xi(e,n,e.bl_tree),o--),xi(e,Fm,e.bl_tree),fn(e,o-3,2)):o<=10?(xi(e,qm,e.bl_tree),fn(e,o-3,3)):(xi(e,Vm,e.bl_tree),fn(e,o-11,7));o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4)}}function l6(e){var r;for(Xm(e,e.dyn_ltree,e.l_desc.max_code),Xm(e,e.dyn_dtree,e.d_desc.max_code),Gh(e,e.bl_desc),r=Hh-1;r>=3&&e.bl_tree[jm[r]*2+1]===0;r--);return e.opt_len+=3*(r+1)+5+5+4,r}function u6(e,r,t,a){var s;for(fn(e,r-257,5),fn(e,t-1,5),fn(e,a-4,4),s=0;s<a;s++)fn(e,e.bl_tree[jm[s]*2+1],3);Am(e,e.dyn_ltree,r-1),Am(e,e.dyn_dtree,t-1)}function c6(e){var r=4093624447,t;for(t=0;t<=31;t++,r>>>=1)if(r&1&&e.dyn_ltree[t*2]!==0)return Zm;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return Wm;for(t=32;t<Tu;t++)if(e.dyn_ltree[t*2]!==0)return Wm;return Zm}var Km=!1;function d6(e){Km||(o6(),Km=!0),e.l_desc=new Ch(e.dyn_ltree,e8),e.d_desc=new Ch(e.dyn_dtree,t8),e.bl_desc=new Ch(e.bl_tree,r8),e.bi_buf=0,e.bi_valid=0,s8(e)}function f8(e,r,t,a){fn(e,(Vb<<1)+(a?1:0),3),f6(e,r,t,!0)}function h6(e){fn(e,Jm<<1,3),xi(e,Zh,g0),i6(e)}function p6(e,r,t,a){var s,n,i=0;e.level>0?(e.strm.data_type===qb&&(e.strm.data_type=c6(e)),Gh(e,e.l_desc),Gh(e,e.d_desc),i=l6(e),s=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=s&&(s=n)):s=n=t+5,t+4<=s&&r!==-1?f8(e,r,t,a):e.strategy===Fb||n===s?(fn(e,(Jm<<1)+(a?1:0),3),Ym(e,g0,Mu)):(fn(e,(jb<<1)+(a?1:0),3),u6(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),Ym(e,e.dyn_ltree,e.dyn_dtree)),s8(e),a&&o8(e)}function v6(e,r,t){return e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,r===0?e.dyn_ltree[t*2]++:(e.matches++,r--,e.dyn_ltree[(Su[t]+Tu+1)*2]++,e.dyn_dtree[a8(r)*2]++),e.last_lit===e.lit_bufsize-1}cf._tr_init=d6;cf._tr_stored_block=f8;cf._tr_flush_block=p6;cf._tr_tally=v6;cf._tr_align=h6});var $h=la((h4,u8)=>{"use strict";function m6(e,r,t,a){for(var s=e&65535|0,n=e>>>16&65535|0,i=0;t!==0;){i=t>2e3?2e3:t,t-=i;do s=s+r[a++]|0,n=n+s|0;while(--i);s%=65521,n%=65521}return s|n<<16|0}u8.exports=m6});var Yh=la((p4,c8)=>{"use strict";function _6(){for(var e,r=[],t=0;t<256;t++){e=t;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;r[t]=e}return r}var b6=_6();function L6(e,r,t,a){var s=b6,n=a+t;e^=-1;for(var i=a;i<n;i++)e=e>>>8^s[(e^r[i])&255];return e^-1}c8.exports=L6});var j1=la((v4,d8)=>{"use strict";d8.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var k8=la(Hi=>{"use strict";var en=L0(),zn=l8(),m8=$h(),X0=Yh(),g6=j1(),wo=0,k6=1,M6=3,F0=4,h8=5,Ui=0,p8=1,Cn=-2,E6=-3,Xh=-5,P6=-1,S6=1,ec=2,I6=3,T6=4,y6=0,w6=2,nc=8,R6=9,B6=15,D6=8,N6=29,z6=256,Kh=z6+1+N6,C6=30,O6=19,x6=2*Kh+1,G6=15,Ft=3,J0=258,Ei=J0+Ft+1,U6=32,ic=42,Jh=69,tc=73,rc=91,ac=103,Io=113,wu=666,ka=1,Ru=2,To=3,pf=4,H6=3;function Q0(e,r){return e.msg=g6[r],r}function v8(e){return(e<<1)-(e>4?9:0)}function K0(e){for(var r=e.length;--r>=0;)e[r]=0}function A0(e){var r=e.state,t=r.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(en.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out),e.next_out+=t,r.pending_out+=t,e.total_out+=t,e.avail_out-=t,r.pending-=t,r.pending===0&&(r.pending_out=0))}function Ga(e,r){zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r),e.block_start=e.strstart,A0(e.strm)}function sr(e,r){e.pending_buf[e.pending++]=r}function yu(e,r){e.pending_buf[e.pending++]=r>>>8&255,e.pending_buf[e.pending++]=r&255}function Z6(e,r,t,a){var s=e.avail_in;return s>a&&(s=a),s===0?0:(e.avail_in-=s,en.arraySet(r,e.input,e.next_in,s,t),e.state.wrap===1?e.adler=m8(e.adler,r,s,t):e.state.wrap===2&&(e.adler=X0(e.adler,r,s,t)),e.next_in+=s,e.total_in+=s,s)}function _8(e,r){var t=e.max_chain_length,a=e.strstart,s,n,i=e.prev_length,o=e.nice_match,d=e.strstart>e.w_size-Ei?e.strstart-(e.w_size-Ei):0,f=e.window,c=e.w_mask,l=e.prev,g=e.strstart+J0,m=f[a+i-1],p=f[a+i];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(s=r,!(f[s+i]!==p||f[s+i-1]!==m||f[s]!==f[a]||f[++s]!==f[a+1])){a+=2,s++;do;while(f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&a<g);if(n=J0-(g-a),a=g-J0,n>i){if(e.match_start=r,i=n,n>=o)break;m=f[a+i-1],p=f[a+i]}}while((r=l[r&c])>d&&--t!==0);return i<=e.lookahead?i:e.lookahead}function yo(e){var r=e.w_size,t,a,s,n,i;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=r+(r-Ei)){en.arraySet(e.window,e.window,r,r,0),e.match_start-=r,e.strstart-=r,e.block_start-=r,a=e.hash_size,t=a;do s=e.head[--t],e.head[t]=s>=r?s-r:0;while(--a);a=r,t=a;do s=e.prev[--t],e.prev[t]=s>=r?s-r:0;while(--a);n+=r}if(e.strm.avail_in===0)break;if(a=Z6(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=a,e.lookahead+e.insert>=Ft)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+Ft-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<Ft)););}while(e.lookahead<Ei&&e.strm.avail_in!==0)}function W6(e,r){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yo(e),e.lookahead===0&&r===wo)return ka;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+t;if((e.strstart===0||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,Ga(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Ei&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):(e.strstart>e.block_start&&(Ga(e,!1),e.strm.avail_out===0),ka)}function Ah(e,r){for(var t,a;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Ei&&(e.match_length=_8(e,t)),e.match_length>=Ft)if(a=zn._tr_tally(e,e.strstart-e.match_start,e.match_length-Ft),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ft){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function df(e,r){for(var t,a,s;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ft-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Ei&&(e.match_length=_8(e,t),e.match_length<=5&&(e.strategy===S6||e.match_length===Ft&&e.strstart-e.match_start>4096)&&(e.match_length=Ft-1)),e.prev_length>=Ft&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-Ft,a=zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Ft),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Ft-1,e.strstart++,a&&(Ga(e,!1),e.strm.avail_out===0))return ka}else if(e.match_available){if(a=zn._tr_tally(e,0,e.window[e.strstart-1]),a&&Ga(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ka}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function $6(e,r){for(var t,a,s,n,i=e.window;;){if(e.lookahead<=J0){if(yo(e),e.lookahead<=J0&&r===wo)return ka;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ft&&e.strstart>0&&(s=e.strstart-1,a=i[s],a===i[++s]&&a===i[++s]&&a===i[++s])){n=e.strstart+J0;do;while(a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&s<n);e.match_length=J0-(n-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ft?(t=zn._tr_tally(e,1,e.match_length-Ft),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function Y6(e,r){for(var t;;){if(e.lookahead===0&&(yo(e),e.lookahead===0)){if(r===wo)return ka;break}if(e.match_length=0,t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function Gi(e,r,t,a,s){this.good_length=e,this.max_lazy=r,this.nice_length=t,this.max_chain=a,this.func=s}var hf;hf=[new Gi(0,0,0,0,W6),new Gi(4,4,8,4,Ah),new Gi(4,5,16,8,Ah),new Gi(4,6,32,32,Ah),new Gi(4,4,16,16,df),new Gi(8,16,32,32,df),new Gi(8,16,128,128,df),new Gi(8,32,128,256,df),new Gi(32,128,258,1024,df),new Gi(32,258,258,4096,df)];function X6(e){e.window_size=2*e.w_size,K0(e.head),e.max_lazy_match=hf[e.level].max_lazy,e.good_match=hf[e.level].good_length,e.nice_match=hf[e.level].nice_length,e.max_chain_length=hf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ft-1,e.match_available=0,e.ins_h=0}function A6(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=nc,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new en.Buf16(x6*2),this.dyn_dtree=new en.Buf16((2*C6+1)*2),this.bl_tree=new en.Buf16((2*O6+1)*2),K0(this.dyn_ltree),K0(this.dyn_dtree),K0(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new en.Buf16(G6+1),this.heap=new en.Buf16(2*Kh+1),K0(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new en.Buf16(2*Kh+1),K0(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function b8(e){var r;return!e||!e.state?Q0(e,Cn):(e.total_in=e.total_out=0,e.data_type=w6,r=e.state,r.pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?ic:Io,e.adler=r.wrap===2?0:1,r.last_flush=wo,zn._tr_init(r),Ui)}function L8(e){var r=b8(e);return r===Ui&&X6(e.state),r}function K6(e,r){return!e||!e.state||e.state.wrap!==2?Cn:(e.state.gzhead=r,Ui)}function g8(e,r,t,a,s,n){if(!e)return Cn;var i=1;if(r===P6&&(r=6),a<0?(i=0,a=-a):a>15&&(i=2,a-=16),s<1||s>R6||t!==nc||a<8||a>15||r<0||r>9||n<0||n>T6)return Q0(e,Cn);a===8&&(a=9);var o=new A6;return e.state=o,o.strm=e,o.wrap=i,o.gzhead=null,o.w_bits=a,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=s+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+Ft-1)/Ft),o.window=new en.Buf8(o.w_size*2),o.head=new en.Buf16(o.hash_size),o.prev=new en.Buf16(o.w_size),o.lit_bufsize=1<<s+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new en.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=r,o.strategy=n,o.method=t,L8(e)}function J6(e,r){return g8(e,r,nc,B6,D6,y6)}function Q6(e,r){var t,a,s,n;if(!e||!e.state||r>h8||r<0)return e?Q0(e,Cn):Cn;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===wu&&r!==F0)return Q0(e,e.avail_out===0?Xh:Cn);if(a.strm=e,t=a.last_flush,a.last_flush=r,a.status===ic)if(a.wrap===2)e.adler=0,sr(a,31),sr(a,139),sr(a,8),a.gzhead?(sr(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),sr(a,a.gzhead.time&255),sr(a,a.gzhead.time>>8&255),sr(a,a.gzhead.time>>16&255),sr(a,a.gzhead.time>>24&255),sr(a,a.level===9?2:a.strategy>=ec||a.level<2?4:0),sr(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(sr(a,a.gzhead.extra.length&255),sr(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=X0(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Jh):(sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,a.level===9?2:a.strategy>=ec||a.level<2?4:0),sr(a,H6),a.status=Io);else{var i=nc+(a.w_bits-8<<4)<<8,o=-1;a.strategy>=ec||a.level<2?o=0:a.level<6?o=1:a.level===6?o=2:o=3,i|=o<<6,a.strstart!==0&&(i|=U6),i+=31-i%31,a.status=Io,yu(a,i),a.strstart!==0&&(yu(a,e.adler>>>16),yu(a,e.adler&65535)),e.adler=1}if(a.status===Jh)if(a.gzhead.extra){for(s=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size));)sr(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=tc)}else a.status=tc;if(a.status===tc)if(a.gzhead.name){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.name.length?n=a.gzhead.name.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.gzindex=0,a.status=rc)}else a.status=rc;if(a.status===rc)if(a.gzhead.comment){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.comment.length?n=a.gzhead.comment.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.status=ac)}else a.status=ac;if(a.status===ac&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&A0(e),a.pending+2<=a.pending_buf_size&&(sr(a,e.adler&255),sr(a,e.adler>>8&255),e.adler=0,a.status=Io)):a.status=Io),a.pending!==0){if(A0(e),e.avail_out===0)return a.last_flush=-1,Ui}else if(e.avail_in===0&&v8(r)<=v8(t)&&r!==F0)return Q0(e,Xh);if(a.status===wu&&e.avail_in!==0)return Q0(e,Xh);if(e.avail_in!==0||a.lookahead!==0||r!==wo&&a.status!==wu){var d=a.strategy===ec?Y6(a,r):a.strategy===I6?$6(a,r):hf[a.level].func(a,r);if((d===To||d===pf)&&(a.status=wu),d===ka||d===To)return e.avail_out===0&&(a.last_flush=-1),Ui;if(d===Ru&&(r===k6?zn._tr_align(a):r!==h8&&(zn._tr_stored_block(a,0,0,!1),r===M6&&(K0(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),A0(e),e.avail_out===0))return a.last_flush=-1,Ui}return r!==F0?Ui:a.wrap<=0?p8:(a.wrap===2?(sr(a,e.adler&255),sr(a,e.adler>>8&255),sr(a,e.adler>>16&255),sr(a,e.adler>>24&255),sr(a,e.total_in&255),sr(a,e.total_in>>8&255),sr(a,e.total_in>>16&255),sr(a,e.total_in>>24&255)):(yu(a,e.adler>>>16),yu(a,e.adler&65535)),A0(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?Ui:p8)}function F6(e){var r;return!e||!e.state?Cn:(r=e.state.status,r!==ic&&r!==Jh&&r!==tc&&r!==rc&&r!==ac&&r!==Io&&r!==wu?Q0(e,Cn):(e.state=null,r===Io?Q0(e,E6):Ui))}function q6(e,r){var t=r.length,a,s,n,i,o,d,f,c;if(!e||!e.state||(a=e.state,i=a.wrap,i===2||i===1&&a.status!==ic||a.lookahead))return Cn;for(i===1&&(e.adler=m8(e.adler,r,t,0)),a.wrap=0,t>=a.w_size&&(i===0&&(K0(a.head),a.strstart=0,a.block_start=0,a.insert=0),c=new en.Buf8(a.w_size),en.arraySet(c,r,t-a.w_size,a.w_size,0),r=c,t=a.w_size),o=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=r,yo(a);a.lookahead>=Ft;){s=a.strstart,n=a.lookahead-(Ft-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[s+Ft-1])&a.hash_mask,a.prev[s&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=s,s++;while(--n);a.strstart=s,a.lookahead=Ft-1,yo(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=Ft-1,a.match_available=0,e.next_in=d,e.input=f,e.avail_in=o,a.wrap=i,Ui}Hi.deflateInit=J6;Hi.deflateInit2=g8;Hi.deflateReset=L8;Hi.deflateResetKeep=b8;Hi.deflateSetHeader=K6;Hi.deflate=Q6;Hi.deflateEnd=F6;Hi.deflateSetDictionary=q6;Hi.deflateInfo="pako deflate (from Nodeca project)"});var Qh=la(vf=>{"use strict";var sc=L0(),M8=!0,E8=!0;try{String.fromCharCode.apply(null,[0])}catch{M8=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{E8=!1}var Bu=new sc.Buf8(256);for(k0=0;k0<256;k0++)Bu[k0]=k0>=252?6:k0>=248?5:k0>=240?4:k0>=224?3:k0>=192?2:1;var k0;Bu[254]=Bu[254]=1;vf.string2buf=function(e){var r,t,a,s,n,i=e.length,o=0;for(s=0;s<i;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(r=new sc.Buf8(o),n=0,s=0;n<o;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),t<128?r[n++]=t:t<2048?(r[n++]=192|t>>>6,r[n++]=128|t&63):t<65536?(r[n++]=224|t>>>12,r[n++]=128|t>>>6&63,r[n++]=128|t&63):(r[n++]=240|t>>>18,r[n++]=128|t>>>12&63,r[n++]=128|t>>>6&63,r[n++]=128|t&63);return r};function P8(e,r){if(r<65534&&(e.subarray&&E8||!e.subarray&&M8))return String.fromCharCode.apply(null,sc.shrinkBuf(e,r));for(var t="",a=0;a<r;a++)t+=String.fromCharCode(e[a]);return t}vf.buf2binstring=function(e){return P8(e,e.length)};vf.binstring2buf=function(e){for(var r=new sc.Buf8(e.length),t=0,a=r.length;t<a;t++)r[t]=e.charCodeAt(t);return r};vf.buf2string=function(e,r){var t,a,s,n,i=r||e.length,o=new Array(i*2);for(a=0,t=0;t<i;){if(s=e[t++],s<128){o[a++]=s;continue}if(n=Bu[s],n>4){o[a++]=65533,t+=n-1;continue}for(s&=n===2?31:n===3?15:7;n>1&&t<i;)s=s<<6|e[t++]&63,n--;if(n>1){o[a++]=65533;continue}s<65536?o[a++]=s:(s-=65536,o[a++]=55296|s>>10&1023,o[a++]=56320|s&1023)}return P8(o,a)};vf.utf8border=function(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+Bu[e[t]]>r?t:r}});var Fh=la((b4,S8)=>{"use strict";function V6(){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}S8.exports=V6});var w8=la(zu=>{"use strict";var Du=k8(),Nu=L0(),Vh=Qh(),jh=j1(),j6=Fh(),y8=Object.prototype.toString,eL=0,qh=4,mf=0,I8=1,T8=2,tL=-1,rL=0,aL=8;function Ro(e){if(!(this instanceof Ro))return new Ro(e);this.options=Nu.assign({level:tL,method:aL,chunkSize:16384,windowBits:15,memLevel:8,strategy:rL,to:""},e||{});var r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new j6,this.strm.avail_out=0;var t=Du.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==mf)throw new Error(jh[t]);if(r.header&&Du.deflateSetHeader(this.strm,r.header),r.dictionary){var a;if(typeof r.dictionary=="string"?a=Vh.string2buf(r.dictionary):y8.call(r.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(r.dictionary):a=r.dictionary,t=Du.deflateSetDictionary(this.strm,a),t!==mf)throw new Error(jh[t]);this._dict_set=!0}}Ro.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s,n;if(this.ended)return!1;n=r===~~r?r:r===!0?qh:eL,typeof e=="string"?t.input=Vh.string2buf(e):y8.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Nu.Buf8(a),t.next_out=0,t.avail_out=a),s=Du.deflate(t,n),s!==I8&&s!==mf)return this.onEnd(s),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(n===qh||n===T8))&&(this.options.to==="string"?this.onData(Vh.buf2binstring(Nu.shrinkBuf(t.output,t.next_out))):this.onData(Nu.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&s!==I8);return n===qh?(s=Du.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===mf):(n===T8&&(this.onEnd(mf),t.avail_out=0),!0)};Ro.prototype.onData=function(e){this.chunks.push(e)};Ro.prototype.onEnd=function(e){e===mf&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Nu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ep(e,r){var t=new Ro(r);if(t.push(e,!0),t.err)throw t.msg||jh[t.err];return t.result}function nL(e,r){return r=r||{},r.raw=!0,ep(e,r)}function iL(e,r){return r=r||{},r.gzip=!0,ep(e,r)}zu.Deflate=Ro;zu.deflate=ep;zu.deflateRaw=nL;zu.gzip=iL});var B8=la((g4,R8)=>{"use strict";var oc=30,sL=12;R8.exports=function(r,t){var a,s,n,i,o,d,f,c,l,g,m,p,b,k,M,v,_,y,I,C,R,B,Y,T,O;a=r.state,s=r.next_in,T=r.input,n=s+(r.avail_in-5),i=r.next_out,O=r.output,o=i-(t-r.avail_out),d=i+(r.avail_out-257),f=a.dmax,c=a.wsize,l=a.whave,g=a.wnext,m=a.window,p=a.hold,b=a.bits,k=a.lencode,M=a.distcode,v=(1<<a.lenbits)-1,_=(1<<a.distbits)-1;e:do{b<15&&(p+=T[s++]<<b,b+=8,p+=T[s++]<<b,b+=8),y=k[p&v];t:for(;;){if(I=y>>>24,p>>>=I,b-=I,I=y>>>16&255,I===0)O[i++]=y&65535;else if(I&16){C=y&65535,I&=15,I&&(b<I&&(p+=T[s++]<<b,b+=8),C+=p&(1<<I)-1,p>>>=I,b-=I),b<15&&(p+=T[s++]<<b,b+=8,p+=T[s++]<<b,b+=8),y=M[p&_];r:for(;;){if(I=y>>>24,p>>>=I,b-=I,I=y>>>16&255,I&16){if(R=y&65535,I&=15,b<I&&(p+=T[s++]<<b,b+=8,b<I&&(p+=T[s++]<<b,b+=8)),R+=p&(1<<I)-1,R>f){r.msg="invalid distance too far back",a.mode=oc;break e}if(p>>>=I,b-=I,I=i-o,R>I){if(I=R-I,I>l&&a.sane){r.msg="invalid distance too far back",a.mode=oc;break e}if(B=0,Y=m,g===0){if(B+=c-I,I<C){C-=I;do O[i++]=m[B++];while(--I);B=i-R,Y=O}}else if(g<I){if(B+=c+g-I,I-=g,I<C){C-=I;do O[i++]=m[B++];while(--I);if(B=0,g<C){I=g,C-=I;do O[i++]=m[B++];while(--I);B=i-R,Y=O}}}else if(B+=g-I,I<C){C-=I;do O[i++]=m[B++];while(--I);B=i-R,Y=O}for(;C>2;)O[i++]=Y[B++],O[i++]=Y[B++],O[i++]=Y[B++],C-=3;C&&(O[i++]=Y[B++],C>1&&(O[i++]=Y[B++]))}else{B=i-R;do O[i++]=O[B++],O[i++]=O[B++],O[i++]=O[B++],C-=3;while(C>2);C&&(O[i++]=O[B++],C>1&&(O[i++]=O[B++]))}}else if((I&64)===0){y=M[(y&65535)+(p&(1<<I)-1)];continue r}else{r.msg="invalid distance code",a.mode=oc;break e}break}}else if((I&64)===0){y=k[(y&65535)+(p&(1<<I)-1)];continue t}else if(I&32){a.mode=sL;break e}else{r.msg="invalid literal/length code",a.mode=oc;break e}break}}while(s<n&&i<d);C=b>>3,s-=C,b-=C<<3,p&=(1<<b)-1,r.next_in=s,r.next_out=i,r.avail_in=s<n?5+(n-s):5-(s-n),r.avail_out=i<d?257+(d-i):257-(i-d),a.hold=p,a.bits=b}});var G8=la((k4,x8)=>{"use strict";var D8=L0(),_f=15,N8=852,z8=592,C8=0,tp=1,O8=2,oL=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],fL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],lL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],uL=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];x8.exports=function(r,t,a,s,n,i,o,d){var f=d.bits,c=0,l=0,g=0,m=0,p=0,b=0,k=0,M=0,v=0,_=0,y,I,C,R,B,Y=null,T=0,O,P=new D8.Buf16(_f+1),J=new D8.Buf16(_f+1),re=null,Q=0,ae,A,V;for(c=0;c<=_f;c++)P[c]=0;for(l=0;l<s;l++)P[t[a+l]]++;for(p=f,m=_f;m>=1&&P[m]===0;m--);if(p>m&&(p=m),m===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,d.bits=1,0;for(g=1;g<m&&P[g]===0;g++);for(p<g&&(p=g),M=1,c=1;c<=_f;c++)if(M<<=1,M-=P[c],M<0)return-1;if(M>0&&(r===C8||m!==1))return-1;for(J[1]=0,c=1;c<_f;c++)J[c+1]=J[c]+P[c];for(l=0;l<s;l++)t[a+l]!==0&&(o[J[t[a+l]]++]=l);if(r===C8?(Y=re=o,O=19):r===tp?(Y=oL,T-=257,re=fL,Q-=257,O=256):(Y=lL,re=uL,O=-1),_=0,l=0,c=g,B=i,b=p,k=0,C=-1,v=1<<p,R=v-1,r===tp&&v>N8||r===O8&&v>z8)return 1;for(;;){ae=c-k,o[l]<O?(A=0,V=o[l]):o[l]>O?(A=re[Q+o[l]],V=Y[T+o[l]]):(A=96,V=0),y=1<<c-k,I=1<<b,g=I;do I-=y,n[B+(_>>k)+I]=ae<<24|A<<16|V|0;while(I!==0);for(y=1<<c-1;_&y;)y>>=1;if(y!==0?(_&=y-1,_+=y):_=0,l++,--P[c]===0){if(c===m)break;c=t[a+o[l]]}if(c>p&&(_&R)!==C){for(k===0&&(k=p),B+=g,b=c-k,M=1<<b;b+k<m&&(M-=P[b+k],!(M<=0));)b++,M<<=1;if(v+=1<<b,r===tp&&v>N8||r===O8&&v>z8)return 1;C=_&R,n[C]=p<<24|b<<16|B-i|0}}return _!==0&&(n[B+_]=c-k<<24|64<<16|0),d.bits=p,0}});var L_=la(Pi=>{"use strict";var Mn=L0(),op=$h(),Zi=Yh(),cL=B8(),Cu=G8(),dL=0,u_=1,c_=2,U8=4,hL=5,fc=6,Bo=0,pL=1,vL=2,On=-2,d_=-3,fp=-4,mL=-5,H8=8,h_=1,Z8=2,W8=3,$8=4,Y8=5,X8=6,A8=7,K8=8,J8=9,Q8=10,cc=11,M0=12,rp=13,F8=14,ap=15,q8=16,V8=17,j8=18,e_=19,lc=20,uc=21,t_=22,r_=23,a_=24,n_=25,i_=26,np=27,s_=28,o_=29,Or=30,lp=31,_L=32,bL=852,LL=592,gL=15,kL=gL;function f_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ML(){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 Mn.Buf16(320),this.work=new Mn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function p_(e){var r;return!e||!e.state?On:(r=e.state,e.total_in=e.total_out=r.total=0,e.msg="",r.wrap&&(e.adler=r.wrap&1),r.mode=h_,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new Mn.Buf32(bL),r.distcode=r.distdyn=new Mn.Buf32(LL),r.sane=1,r.back=-1,Bo)}function v_(e){var r;return!e||!e.state?On:(r=e.state,r.wsize=0,r.whave=0,r.wnext=0,p_(e))}function m_(e,r){var t,a;return!e||!e.state||(a=e.state,r<0?(t=0,r=-r):(t=(r>>4)+1,r<48&&(r&=15)),r&&(r<8||r>15))?On:(a.window!==null&&a.wbits!==r&&(a.window=null),a.wrap=t,a.wbits=r,v_(e))}function __(e,r){var t,a;return e?(a=new ML,e.state=a,a.window=null,t=m_(e,r),t!==Bo&&(e.state=null),t):On}function EL(e){return __(e,kL)}var l_=!0,ip,sp;function PL(e){if(l_){var r;for(ip=new Mn.Buf32(512),sp=new Mn.Buf32(32),r=0;r<144;)e.lens[r++]=8;for(;r<256;)e.lens[r++]=9;for(;r<280;)e.lens[r++]=7;for(;r<288;)e.lens[r++]=8;for(Cu(u_,e.lens,0,288,ip,0,e.work,{bits:9}),r=0;r<32;)e.lens[r++]=5;Cu(c_,e.lens,0,32,sp,0,e.work,{bits:5}),l_=!1}e.lencode=ip,e.lenbits=9,e.distcode=sp,e.distbits=5}function b_(e,r,t,a){var s,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new Mn.Buf8(n.wsize)),a>=n.wsize?(Mn.arraySet(n.window,r,t-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(s=n.wsize-n.wnext,s>a&&(s=a),Mn.arraySet(n.window,r,t-a,s,n.wnext),a-=s,a?(Mn.arraySet(n.window,r,t-a,a,0),n.wnext=a,n.whave=n.wsize):(n.wnext+=s,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=s))),0}function SL(e,r){var t,a,s,n,i,o,d,f,c,l,g,m,p,b,k=0,M,v,_,y,I,C,R,B,Y=new Mn.Buf8(4),T,O,P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return On;t=e.state,t.mode===M0&&(t.mode=rp),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,l=o,g=d,B=Bo;e:for(;;)switch(t.mode){case h_:if(t.wrap===0){t.mode=rp;break}for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.wrap&2&&f===35615){t.check=0,Y[0]=f&255,Y[1]=f>>>8&255,t.check=Zi(t.check,Y,2,0),f=0,c=0,t.mode=Z8;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=Or;break}if((f&15)!==H8){e.msg="unknown compression method",t.mode=Or;break}if(f>>>=4,c-=4,R=(f&15)+8,t.wbits===0)t.wbits=R;else if(R>t.wbits){e.msg="invalid window size",t.mode=Or;break}t.dmax=1<<R,e.adler=t.check=1,t.mode=f&512?Q8:M0,f=0,c=0;break;case Z8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.flags=f,(t.flags&255)!==H8){e.msg="unknown compression method",t.mode=Or;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=Or;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(Y[0]=f&255,Y[1]=f>>>8&255,t.check=Zi(t.check,Y,2,0)),f=0,c=0,t.mode=W8;case W8:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.time=f),t.flags&512&&(Y[0]=f&255,Y[1]=f>>>8&255,Y[2]=f>>>16&255,Y[3]=f>>>24&255,t.check=Zi(t.check,Y,4,0)),f=0,c=0,t.mode=$8;case $8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(Y[0]=f&255,Y[1]=f>>>8&255,t.check=Zi(t.check,Y,2,0)),f=0,c=0,t.mode=Y8;case Y8:if(t.flags&1024){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(Y[0]=f&255,Y[1]=f>>>8&255,t.check=Zi(t.check,Y,2,0)),f=0,c=0}else t.head&&(t.head.extra=null);t.mode=X8;case X8:if(t.flags&1024&&(m=t.length,m>o&&(m=o),m&&(t.head&&(R=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),Mn.arraySet(t.head.extra,a,n,m,R)),t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,t.length-=m),t.length))break e;t.length=0,t.mode=A8;case A8:if(t.flags&2048){if(o===0)break e;m=0;do R=a[n+m++],t.head&&R&&t.length<65536&&(t.head.name+=String.fromCharCode(R));while(R&&m<o);if(t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,R)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=K8;case K8:if(t.flags&4096){if(o===0)break e;m=0;do R=a[n+m++],t.head&&R&&t.length<65536&&(t.head.comment+=String.fromCharCode(R));while(R&&m<o);if(t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,R)break e}else t.head&&(t.head.comment=null);t.mode=J8;case J8:if(t.flags&512){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=Or;break}f=0,c=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=M0;break;case Q8:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}e.adler=t.check=f_(f),f=0,c=0,t.mode=cc;case cc:if(t.havedict===0)return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,vL;e.adler=t.check=1,t.mode=M0;case M0:if(r===hL||r===fc)break e;case rp:if(t.last){f>>>=c&7,c-=c&7,t.mode=np;break}for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}switch(t.last=f&1,f>>>=1,c-=1,f&3){case 0:t.mode=F8;break;case 1:if(PL(t),t.mode=lc,r===fc){f>>>=2,c-=2;break e}break;case 2:t.mode=V8;break;case 3:e.msg="invalid block type",t.mode=Or}f>>>=2,c-=2;break;case F8:for(f>>>=c&7,c-=c&7;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((f&65535)!==(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=Or;break}if(t.length=f&65535,f=0,c=0,t.mode=ap,r===fc)break e;case ap:t.mode=q8;case q8:if(m=t.length,m){if(m>o&&(m=o),m>d&&(m=d),m===0)break e;Mn.arraySet(s,a,n,m,i),o-=m,n+=m,d-=m,i+=m,t.length-=m;break}t.mode=M0;break;case V8:for(;c<14;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.nlen=(f&31)+257,f>>>=5,c-=5,t.ndist=(f&31)+1,f>>>=5,c-=5,t.ncode=(f&15)+4,f>>>=4,c-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=Or;break}t.have=0,t.mode=j8;case j8:for(;t.have<t.ncode;){for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.lens[P[t.have++]]=f&7,f>>>=3,c-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,T={bits:t.lenbits},B=Cu(dL,t.lens,0,19,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid code lengths set",t.mode=Or;break}t.have=0,t.mode=e_;case e_:for(;t.have<t.nlen+t.ndist;){for(;k=t.lencode[f&(1<<t.lenbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(_<16)f>>>=M,c-=M,t.lens[t.have++]=_;else{if(_===16){for(O=M+2;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f>>>=M,c-=M,t.have===0){e.msg="invalid bit length repeat",t.mode=Or;break}R=t.lens[t.have-1],m=3+(f&3),f>>>=2,c-=2}else if(_===17){for(O=M+3;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,m=3+(f&7),f>>>=3,c-=3}else{for(O=M+7;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,m=11+(f&127),f>>>=7,c-=7}if(t.have+m>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=Or;break}for(;m--;)t.lens[t.have++]=R}}if(t.mode===Or)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=Or;break}if(t.lenbits=9,T={bits:t.lenbits},B=Cu(u_,t.lens,0,t.nlen,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid literal/lengths set",t.mode=Or;break}if(t.distbits=6,t.distcode=t.distdyn,T={bits:t.distbits},B=Cu(c_,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,T),t.distbits=T.bits,B){e.msg="invalid distances set",t.mode=Or;break}if(t.mode=lc,r===fc)break e;case lc:t.mode=uc;case uc:if(o>=6&&d>=258){e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,cL(e,g),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,t.mode===M0&&(t.back=-1);break}for(t.back=0;k=t.lencode[f&(1<<t.lenbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(v&&(v&240)===0){for(y=M,I=v,C=_;k=t.lencode[C+((f&(1<<y+I)-1)>>y)],M=k>>>24,v=k>>>16&255,_=k&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,t.length=_,v===0){t.mode=i_;break}if(v&32){t.back=-1,t.mode=M0;break}if(v&64){e.msg="invalid literal/length code",t.mode=Or;break}t.extra=v&15,t.mode=t_;case t_:if(t.extra){for(O=t.extra;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=r_;case r_:for(;k=t.distcode[f&(1<<t.distbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((v&240)===0){for(y=M,I=v,C=_;k=t.distcode[C+((f&(1<<y+I)-1)>>y)],M=k>>>24,v=k>>>16&255,_=k&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,v&64){e.msg="invalid distance code",t.mode=Or;break}t.offset=_,t.extra=v&15,t.mode=a_;case a_:if(t.extra){for(O=t.extra;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=Or;break}t.mode=n_;case n_:if(d===0)break e;if(m=g-d,t.offset>m){if(m=t.offset-m,m>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=Or;break}m>t.wnext?(m-=t.wnext,p=t.wsize-m):p=t.wnext-m,m>t.length&&(m=t.length),b=t.window}else b=s,p=i-t.offset,m=t.length;m>d&&(m=d),d-=m,t.length-=m;do s[i++]=b[p++];while(--m);t.length===0&&(t.mode=uc);break;case i_:if(d===0)break e;s[i++]=t.length,d--,t.mode=uc;break;case np:if(t.wrap){for(;c<32;){if(o===0)break e;o--,f|=a[n++]<<c,c+=8}if(g-=d,e.total_out+=g,t.total+=g,g&&(e.adler=t.check=t.flags?Zi(t.check,s,g,i-g):op(t.check,s,g,i-g)),g=d,(t.flags?f:f_(f))!==t.check){e.msg="incorrect data check",t.mode=Or;break}f=0,c=0}t.mode=s_;case s_:if(t.wrap&&t.flags){for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=Or;break}f=0,c=0}t.mode=o_;case o_:B=pL;break e;case Or:B=d_;break e;case lp:return fp;case _L:default:return On}return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,(t.wsize||g!==e.avail_out&&t.mode<Or&&(t.mode<np||r!==U8))&&b_(e,e.output,e.next_out,g-e.avail_out)?(t.mode=lp,fp):(l-=e.avail_in,g-=e.avail_out,e.total_in+=l,e.total_out+=g,t.total+=g,t.wrap&&g&&(e.adler=t.check=t.flags?Zi(t.check,s,g,e.next_out-g):op(t.check,s,g,e.next_out-g)),e.data_type=t.bits+(t.last?64:0)+(t.mode===M0?128:0)+(t.mode===lc||t.mode===ap?256:0),(l===0&&g===0||r===U8)&&B===Bo&&(B=mL),B)}function IL(e){if(!e||!e.state)return On;var r=e.state;return r.window&&(r.window=null),e.state=null,Bo}function TL(e,r){var t;return!e||!e.state||(t=e.state,(t.wrap&2)===0)?On:(t.head=r,r.done=!1,Bo)}function yL(e,r){var t=r.length,a,s,n;return!e||!e.state||(a=e.state,a.wrap!==0&&a.mode!==cc)?On:a.mode===cc&&(s=1,s=op(s,r,t,0),s!==a.check)?d_:(n=b_(e,r,t,t),n?(a.mode=lp,fp):(a.havedict=1,Bo))}Pi.inflateReset=v_;Pi.inflateReset2=m_;Pi.inflateResetKeep=p_;Pi.inflateInit=EL;Pi.inflateInit2=__;Pi.inflate=SL;Pi.inflateEnd=IL;Pi.inflateGetHeader=TL;Pi.inflateSetDictionary=yL;Pi.inflateInfo="pako inflate (from Nodeca project)"});var up=la((E4,g_)=>{"use strict";g_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var M_=la((P4,k_)=>{"use strict";function wL(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}k_.exports=wL});var P_=la(xu=>{"use strict";var bf=L_(),Ou=L0(),dc=Qh(),na=up(),cp=j1(),RL=Fh(),BL=M_(),E_=Object.prototype.toString;function Do(e){if(!(this instanceof Do))return new Do(e);this.options=Ou.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)&&(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(r.windowBits&15)===0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RL,this.strm.avail_out=0;var t=bf.inflateInit2(this.strm,r.windowBits);if(t!==na.Z_OK)throw new Error(cp[t]);if(this.header=new BL,bf.inflateGetHeader(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=dc.string2buf(r.dictionary):E_.call(r.dictionary)==="[object ArrayBuffer]"&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(t=bf.inflateSetDictionary(this.strm,r.dictionary),t!==na.Z_OK)))throw new Error(cp[t])}Do.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s=this.options.dictionary,n,i,o,d,f,c=!1;if(this.ended)return!1;i=r===~~r?r:r===!0?na.Z_FINISH:na.Z_NO_FLUSH,typeof e=="string"?t.input=dc.binstring2buf(e):E_.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Ou.Buf8(a),t.next_out=0,t.avail_out=a),n=bf.inflate(t,na.Z_NO_FLUSH),n===na.Z_NEED_DICT&&s&&(n=bf.inflateSetDictionary(this.strm,s)),n===na.Z_BUF_ERROR&&c===!0&&(n=na.Z_OK,c=!1),n!==na.Z_STREAM_END&&n!==na.Z_OK)return this.onEnd(n),this.ended=!0,!1;t.next_out&&(t.avail_out===0||n===na.Z_STREAM_END||t.avail_in===0&&(i===na.Z_FINISH||i===na.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=dc.utf8border(t.output,t.next_out),d=t.next_out-o,f=dc.buf2string(t.output,o),t.next_out=d,t.avail_out=a-d,d&&Ou.arraySet(t.output,t.output,o,d,0),this.onData(f)):this.onData(Ou.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(c=!0)}while((t.avail_in>0||t.avail_out===0)&&n!==na.Z_STREAM_END);return n===na.Z_STREAM_END&&(i=na.Z_FINISH),i===na.Z_FINISH?(n=bf.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===na.Z_OK):(i===na.Z_SYNC_FLUSH&&(this.onEnd(na.Z_OK),t.avail_out=0),!0)};Do.prototype.onData=function(e){this.chunks.push(e)};Do.prototype.onEnd=function(e){e===na.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ou.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function dp(e,r){var t=new Do(r);if(t.push(e,!0),t.err)throw t.msg||cp[t.err];return t.result}function DL(e,r){return r=r||{},r.raw=!0,dp(e,r)}xu.Inflate=Do;xu.inflate=dp;xu.inflateRaw=DL;xu.ungzip=dp});var T_=la((I4,I_)=>{"use strict";var NL=L0().assign,zL=w8(),CL=P_(),OL=up(),S_={};NL(S_,zL,CL,OL);I_.exports=S_});var y_=la((T4,hp)=>{(function(){var e={};typeof hp=="object"?hp.exports=e:self.UTIF=e;var r;typeof Eo=="function"?r=T_():r=self.pako;function t(){typeof process=="undefined"&&console.log.apply(console,arguments)}(function(a,s){(function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i=(function(){function d(f){this.message="JPEG error: "+f}return d.prototype=Error(),d.prototype.name="JpegError",d.constructor=d})(),o=(function(){function d(f,c){this.message=f,this.g=c}return d.prototype=Error(),d.prototype.name="DNLMarkerError",d.constructor=d})();(function(){function d(){this.M=null,this.B=-1}function f(p,b){for(var k=0,M=[],v,_,y=16;0<y&&!p[y-1];)y--;M.push({children:[],index:0});var I=M[0],C;for(v=0;v<y;v++){for(_=0;_<p[v];_++){for(I=M.pop(),I.children[I.index]=b[k];0<I.index;)I=M.pop();for(I.index++,M.push(I);M.length<=v;)M.push(C={children:[],index:0}),I.children[I.index]=C.children,I=C;k++}v+1<y&&(M.push(C={children:[],index:0}),I.children[I.index]=C.children,I=C)}return M[0].children}function c(p,b,k,M,v,_,y,I,C){function R(){if(0<X)return X--,H>>X&1;if(H=p[b++],H===255){var N=p[b++];if(N){if(N===220&&ae){b+=2;var j=p[b++]<<8|p[b++];if(0<j&&j!==k.g)throw new o("Found DNL marker (0xFFDC) while parsing scan data",j)}throw new i("unexpected marker "+(H<<8|N).toString(16))}}return X=7,H>>>7}function B(N){for(;;){if(N=N[R()],typeof N=="number")return N;if((typeof N=="undefined"?"undefined":n(N))!=="object")throw new i("invalid huffman sequence")}}function Y(N){for(var j=0;0<N;)j=j<<1|R(),N--;return j}function T(N){if(N===1)return R()===1?1:-1;var j=Y(N);return j>=1<<N-1?j:j+(-1<<N)+1}function O(N,j){var be=B(N.D);for(be=be===0?0:T(be),N.a[j]=N.m+=be,be=1;64>be;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le)break;be+=16}else be+=Le,N.a[j+m[be]]=T(E),be++}}function P(N,j){var be=B(N.D);be=be===0?0:T(be)<<C,N.a[j]=N.m+=be}function J(N,j){N.a[j]|=R()<<C}function re(N,j){if(0<ge)ge--;else for(var be=_;be<=y;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le){ge=Y(Le)+(1<<Le)-1;break}be+=16}else be+=Le,N.a[j+m[be]]=T(E)*(1<<C),be++}}function Q(N,j){for(var be=_,Le=0,E;be<=y;){E=j+m[be];var Be=0>N.a[E]?-1:1;switch(me){case 0:if(Le=B(N.o),E=Le&15,Le>>=4,E===0)15>Le?(ge=Y(Le)+(1<<Le),me=4):(Le=16,me=1);else{if(E!==1)throw new i("invalid ACn encoding");u=T(E),me=Le?2:3}continue;case 1:case 2:N.a[E]?N.a[E]+=Be*(R()<<C):(Le--,Le===0&&(me=me===2?3:0));break;case 3:N.a[E]?N.a[E]+=Be*(R()<<C):(N.a[E]=u<<C,me=0);break;case 4:N.a[E]&&(N.a[E]+=Be*(R()<<C))}be++}me===4&&(ge--,ge===0&&(me=0))}for(var ae=9<arguments.length&&arguments[9]!==void 0?arguments[9]:!1,A=k.P,V=b,H=0,X=0,ge=0,me=0,u,h=M.length,De,Ue,ee,fe,oe=k.S?_===0?I===0?P:J:I===0?re:Q:O,kt=0,dt=h===1?M[0].c*M[0].l:A*k.O,S,Ee;kt<dt;){var pe=v?Math.min(dt-kt,v):dt;for(De=0;De<h;De++)M[De].m=0;if(ge=0,h===1){var W=M[0];for(fe=0;fe<pe;fe++)oe(W,64*((W.c+1)*(kt/W.c|0)+kt%W.c)),kt++}else for(fe=0;fe<pe;fe++){for(De=0;De<h;De++)for(W=M[De],S=W.h,Ee=W.j,Ue=0;Ue<Ee;Ue++)for(ee=0;ee<S;ee++)oe(W,64*((W.c+1)*((kt/A|0)*W.j+Ue)+(kt%A*W.h+ee)));kt++}if(X=0,(W=g(p,b))&&W.f&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+W.f),b=W.offset),W=W&&W.F,!W||65280>=W)throw new i("marker was not found");if(65488<=W&&65495>=W)b+=2;else break}return(W=g(p,b))&&W.f&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+W.f),b=W.offset),b-V}function l(p,b){for(var k=b.c,M=b.l,v=new Int16Array(64),_=0;_<M;_++)for(var y=0;y<k;y++){var I=64*((b.c+1)*_+y),C=v,R=b.G,B=b.a;if(!R)throw new i("missing required Quantization Table.");for(var Y=0;64>Y;Y+=8){var T=B[I+Y],O=B[I+Y+1],P=B[I+Y+2],J=B[I+Y+3],re=B[I+Y+4],Q=B[I+Y+5],ae=B[I+Y+6],A=B[I+Y+7];if(T*=R[Y],(O|P|J|re|Q|ae|A)===0)T=5793*T+512>>10,C[Y]=T,C[Y+1]=T,C[Y+2]=T,C[Y+3]=T,C[Y+4]=T,C[Y+5]=T,C[Y+6]=T,C[Y+7]=T;else{O*=R[Y+1],P*=R[Y+2],J*=R[Y+3],re*=R[Y+4],Q*=R[Y+5],ae*=R[Y+6],A*=R[Y+7];var V=5793*T+128>>8,H=5793*re+128>>8,X=P,ge=ae;re=2896*(O-A)+128>>8,A=2896*(O+A)+128>>8,J<<=4,Q<<=4,V=V+H+1>>1,H=V-H,T=3784*X+1567*ge+128>>8,X=1567*X-3784*ge+128>>8,ge=T,re=re+Q+1>>1,Q=re-Q,A=A+J+1>>1,J=A-J,V=V+ge+1>>1,ge=V-ge,H=H+X+1>>1,X=H-X,T=2276*re+3406*A+2048>>12,re=3406*re-2276*A+2048>>12,A=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,C[Y]=V+A,C[Y+7]=V-A,C[Y+1]=H+Q,C[Y+6]=H-Q,C[Y+2]=X+J,C[Y+5]=X-J,C[Y+3]=ge+re,C[Y+4]=ge-re}}for(R=0;8>R;++R)T=C[R],O=C[R+8],P=C[R+16],J=C[R+24],re=C[R+32],Q=C[R+40],ae=C[R+48],A=C[R+56],(O|P|J|re|Q|ae|A)===0?(T=5793*T+8192>>14,T=-2040>T?0:2024<=T?255:T+2056>>4,B[I+R]=T,B[I+R+8]=T,B[I+R+16]=T,B[I+R+24]=T,B[I+R+32]=T,B[I+R+40]=T,B[I+R+48]=T,B[I+R+56]=T):(V=5793*T+2048>>12,H=5793*re+2048>>12,X=P,ge=ae,re=2896*(O-A)+2048>>12,A=2896*(O+A)+2048>>12,V=(V+H+1>>1)+4112,H=V-H,T=3784*X+1567*ge+2048>>12,X=1567*X-3784*ge+2048>>12,ge=T,re=re+Q+1>>1,Q=re-Q,A=A+J+1>>1,J=A-J,V=V+ge+1>>1,ge=V-ge,H=H+X+1>>1,X=H-X,T=2276*re+3406*A+2048>>12,re=3406*re-2276*A+2048>>12,A=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,T=V+A,A=V-A,O=H+Q,ae=H-Q,P=X+J,Q=X-J,J=ge+re,re=ge-re,T=16>T?0:4080<=T?255:T>>4,O=16>O?0:4080<=O?255:O>>4,P=16>P?0:4080<=P?255:P>>4,J=16>J?0:4080<=J?255:J>>4,re=16>re?0:4080<=re?255:re>>4,Q=16>Q?0:4080<=Q?255:Q>>4,ae=16>ae?0:4080<=ae?255:ae>>4,A=16>A?0:4080<=A?255:A>>4,B[I+R]=T,B[I+R+8]=O,B[I+R+16]=P,B[I+R+24]=J,B[I+R+32]=re,B[I+R+40]=Q,B[I+R+48]=ae,B[I+R+56]=A)}return b.a}function g(p,b){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:b,M=p.length-1;if(k=k<b?k:b,b>=M)return null;var v=p[b]<<8|p[b+1];if(65472<=v&&65534>=v)return{f:null,F:v,offset:b};for(var _=p[k]<<8|p[k+1];!(65472<=_&&65534>=_);){if(++k>=M)return null;_=p[k]<<8|p[k+1]}return{f:v.toString(16),F:_,offset:k}}var m=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);d.prototype={parse:function(p){function b(){var X=p[y]<<8|p[y+1];return y+=2,X}function k(){var X=b();X=y+X-2;var ge=g(p,X,y);return ge&&ge.f&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+ge.f),X=ge.offset),X=p.subarray(y,X),y+=X.length,X}function M(X){for(var ge=Math.ceil(X.v/8/X.s),me=Math.ceil(X.g/8/X.u),u=0;u<X.b.length;u++){V=X.b[u];var h=Math.ceil(Math.ceil(X.v/8)*V.h/X.s),De=Math.ceil(Math.ceil(X.g/8)*V.j/X.u);V.a=new Int16Array(64*me*V.j*(ge*V.h+1)),V.c=h,V.l=De}X.P=ge,X.O=me}var v=(1<arguments.length&&arguments[1]!==void 0?arguments[1]:{}).N,_=v===void 0?null:v,y=0,I=null,C=0;v=[];var R=[],B=[],Y=b();if(Y!==65496)throw new i("SOI not found");for(Y=b();Y!==65497;){switch(Y){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=k();Y===65518&&T[0]===65&&T[1]===100&&T[2]===111&&T[3]===98&&T[4]===101&&(I={version:T[5]<<8|T[6],Y:T[7]<<8|T[8],Z:T[9]<<8|T[10],W:T[11]});break;case 65499:Y=b()+y-2;for(var O;y<Y;){var P=p[y++],J=new Uint16Array(64);if(P>>4===0)for(T=0;64>T;T++)O=m[T],J[O]=p[y++];else if(P>>4===1)for(T=0;64>T;T++)O=m[T],J[O]=b();else throw new i("DQT - invalid table spec");v[P&15]=J}break;case 65472:case 65473:case 65474:if(re)throw new i("Only single frame JPEGs supported");b();var re={};for(re.X=Y===65473,re.S=Y===65474,re.precision=p[y++],Y=b(),re.g=_||Y,re.v=b(),re.b=[],re.C={},T=p[y++],Y=J=P=0;Y<T;Y++){O=p[y];var Q=p[y+1]>>4,ae=p[y+1]&15;P<Q&&(P=Q),J<ae&&(J=ae),Q=re.b.push({h:Q,j:ae,T:p[y+2],G:null}),re.C[O]=Q-1,y+=3}re.s=P,re.u=J,M(re);break;case 65476:for(O=b(),Y=2;Y<O;){for(P=p[y++],J=new Uint8Array(16),T=Q=0;16>T;T++,y++)Q+=J[T]=p[y];for(ae=new Uint8Array(Q),T=0;T<Q;T++,y++)ae[T]=p[y];Y+=17+Q,(P>>4===0?B:R)[P&15]=f(J,ae)}break;case 65501:b();var A=b();break;case 65498:for(T=++C===1&&!_,b(),P=p[y++],O=[],Y=0;Y<P;Y++){J=re.C[p[y++]];var V=re.b[J];J=p[y++],V.D=B[J>>4],V.o=R[J&15],O.push(V)}Y=p[y++],P=p[y++],J=p[y++];try{var H=c(p,y,re,O,A,Y,P,J>>4,J&15,T);y+=H}catch(X){if(X instanceof o)return(0,_util.warn)('Attempting to re-parse JPEG image using "scanLines" parameter found in DNL marker (0xFFDC) segment.'),this.parse(p,{N:X.g});throw X}break;case 65500:y+=4;break;case 65535:p[y]!==255&&y--;break;default:if(p[y-3]===255&&192<=p[y-2]&&254>=p[y-2])y-=3;else if((T=g(p,y-2))&&T.f)(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+T.f),y=T.offset;else throw new i("unknown marker "+Y.toString(16))}Y=b()}for(this.width=re.v,this.height=re.g,this.A=I,this.b=[],Y=0;Y<re.b.length;Y++)V=re.b[Y],(A=v[V.T])&&(V.G=A),this.b.push({R:l(re,V),U:V.h/re.s,V:V.j/re.u,c:V.c,l:V.l});this.i=this.b.length},L:function(p,b){var k=this.width/p,M=this.height/b,v,_,y=this.b.length,I=p*b*y,C=new Uint8ClampedArray(I),R=new Uint32Array(p);for(_=0;_<y;_++){var B=this.b[_],Y=B.U*k,T=B.V*M,O=_,P=B.R,J=B.c+1<<3;for(v=0;v<p;v++)B=0|v*Y,R[v]=(B&4294967288)<<3|B&7;for(Y=0;Y<b;Y++)for(B=0|Y*T,B=J*(B&4294967288)|(B&7)<<3,v=0;v<p;v++)C[O]=P[B+R[v]],O+=y}if(M=this.M)for(_=0;_<I;)for(k=B=0;B<y;B++,_++,k+=2)C[_]=(C[_]*M[k]>>8)+M[k+1];return C},w:function(){return this.A?!!this.A.W:this.i===3?this.B!==0:this.B===1},I:function(p){for(var b,k,M,v=0,_=p.length;v<_;v+=3)b=p[v],k=p[v+1],M=p[v+2],p[v]=b-179.456+1.402*M,p[v+1]=b+135.459-.344*k-.714*M,p[v+2]=b-226.816+1.772*k;return p},K:function(p){for(var b,k,M,v,_=0,y=0,I=p.length;y<I;y+=4)b=p[y],k=p[y+1],M=p[y+2],v=p[y+3],p[_++]=-122.67195406894+k*(-660635669420364e-19*k+.000437130475926232*M-54080610064599e-18*b+.00048449797120281*v-.154362151871126)+M*(-.000957964378445773*M+.000817076911346625*b-.00477271405408747*v+1.53380253221734)+b*(.000961250184130688*b-.00266257332283933*v+.48357088451265)+v*(-.000336197177618394*v+.484791561490776),p[_++]=107.268039397724+k*(219927104525741e-19*k-.000640992018297945*M+.000659397001245577*b+.000426105652938837*v-.176491792462875)+M*(-.000778269941513683*M+.00130872261408275*b+.000770482631801132*v-.151051492775562)+b*(.00126935368114843*b-.00265090189010898*v+.25802910206845)+v*(-.000318913117588328*v-.213742400323665),p[_++]=-20.810012546947+k*(-.000570115196973677*k-263409051004589e-19*M+.0020741088115012*b-.00288260236853442*v+.814272968359295)+M*(-153496057440975e-19*M-.000132689043961446*b+.000560833691242812*v-.195152027534049)+b*(.00174418132927582*b-.00255243321439347*v+.116935020465145)+v*(-.000343531996510555*v+.24165260232407);return p.subarray(0,_)},J:function(p){for(var b,k,M,v=0,_=p.length;v<_;v+=4)b=p[v],k=p[v+1],M=p[v+2],p[v]=434.456-b-1.402*M,p[v+1]=119.541-b+.344*k+.714*M,p[v+2]=481.816-b-1.772*k;return p},H:function(p){for(var b,k,M,v,_=0,y=1/255,I=0,C=p.length;I<C;I+=4)b=p[I]*y,k=p[I+1]*y,M=p[I+2]*y,v=p[I+3]*y,p[_++]=255+b*(-4.387332384609988*b+54.48615194189176*k+18.82290502165302*M+212.25662451639585*v-285.2331026137004)+k*(1.7149763477362134*k-5.6096736904047315*M-17.873870861415444*v-5.497006427196366)+M*(-2.5217340131683033*M-21.248923337353073*v+17.5119270841813)-v*(21.86122147463605*v+189.48180835922747),p[_++]=255+b*(8.841041422036149*b+60.118027045597366*k+6.871425592049007*M+31.159100130055922*v-79.2970844816548)+k*(-15.310361306967817*k+17.575251261109482*M+131.35250912493976*v-190.9453302588951)+M*(4.444339102852739*M+9.8632861493405*v-24.86741582555878)-v*(20.737325471181034*v+187.80453709719578),p[_++]=255+b*(.8842522430003296*b+8.078677503112928*k+30.89978309703729*M-.23883238689178934*v-14.183576799673286)+k*(10.49593273432072*k+63.02378494754052*M+50.606957656360734*v-112.23884253719248)+M*(.03296041114873217*M+115.60384449646641*v-193.58209356861505)-v*(22.33816807309886*v+180.12613974708367);return p.subarray(0,_)},getData:function(p,b,k){if(4<this.i)throw new i("Unsupported color mode");if(p=this.L(p,b),this.i===1&&k){k=p.length,b=new Uint8ClampedArray(3*k);for(var M=0,v=0;v<k;v++){var _=p[v];b[M++]=_,b[M++]=_,b[M++]=_}return b}if(this.i===3&&this.w())return this.I(p);if(this.i===4){if(this.w())return k?this.K(p):this.J(p);if(k)return this.H(p)}return p}},a.JpegDecoder=d})()})(),a.encodeImage=function(n,i,o,d){var f={t256:[i],t257:[o],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[o],t279:[i*o*4],t282:[1],t283:[1],t284:[1],t286:[0],t287:[0],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(d)for(var c in d)f[c]=d[c];for(var l=new Uint8Array(a.encode([f])),g=new Uint8Array(n),m=new Uint8Array(1e3+i*o*4),c=0;c<l.length;c++)m[c]=l[c];for(var c=0;c<g.length;c++)m[1e3+c]=g[c];return m.buffer},a.encode=function(n){var i=new Uint8Array(2e4),o=4,d=a._binBE;i[0]=77,i[1]=77,i[3]=42;var f=8;d.writeUint(i,o,f),o+=4;for(var c=0;c<n.length;c++){var l=a._writeIFD(d,i,f,n[c]);f=l[1],c<n.length-1&&d.writeUint(i,l[0],f)}return i.slice(0,f).buffer},a.decode=function(n){a.decode._decodeG3.allow2D=null;var i=new Uint8Array(n),o=0,d=a._binBE.readASCII(i,o,2);o+=2;var f=d=="II"?a._binLE:a._binBE,c=f.readUshort(i,o);o+=2;var l=f.readUint(i,o);o+=4;for(var g=[];;){var m=a._readIFD(f,i,l,g,0,!1);if(l=f.readUint(i,m),l==0)break}return g},a.decodeImage=function(n,i,o){var d=new Uint8Array(n),f=a._binBE.readASCII(d,0,2);if(i.t256!=null){i.isLE=f=="II",i.width=i.t256[0],i.height=i.t257[0];var c=i.t259?i.t259[0]:1,l=i.t266?i.t266[0]:1;i.t284&&i.t284[0]==2&&t("PlanarConfiguration 2 should not be used!");var g;i.t258?g=Math.min(32,i.t258[0])*i.t258.length:g=i.t277?i.t277[0]:1,c==1&&i.t279!=null&&i.t278&&i.t262[0]==32803&&(g=Math.round(i.t279[0]*8/(i.width*i.t278[0])));var m=Math.ceil(i.width*g/8)*8,p=i.t273;p==null&&(p=i.t324);var b=i.t279;c==1&&p.length==1&&(b=[i.height*(m>>>3)]),b==null&&(b=i.t325);var k=new Uint8Array(i.height*(m>>>3)),M=0;if(i.t322!=null){for(var v=i.t322[0],_=i.t323[0],y=Math.floor((i.width+v-1)/v),I=Math.floor((i.height+_-1)/_),C=new Uint8Array(Math.ceil(v*_*g/8)|0),R=0;R<I;R++)for(var B=0;B<y;B++){for(var Y=R*y+B,T=0;T<C.length;T++)C[T]=0;a.decode._decompress(i,o,d,p[Y],b[Y],c,C,0,l),c==6?k=C:a._copyTile(C,Math.ceil(v*g/8)|0,_,k,Math.ceil(i.width*g/8)|0,i.height,Math.ceil(B*v*g/8)|0,R*_)}M=k.length*8}else{var O=i.t278?i.t278[0]:i.height;O=Math.min(O,i.height);for(var Y=0;Y<p.length;Y++)a.decode._decompress(i,o,d,p[Y],b[Y],c,k,Math.ceil(M/8)|0,l),M+=m*O;M=Math.min(M,k.length*8)}i.data=new Uint8Array(k.buffer,0,Math.ceil(M/8)|0)}},a.decode._decompress=function(n,i,o,d,f,c,l,g,m){if(c==1||f==l.length&&c!=32767)for(var p=0;p<f;p++)l[g+p]=o[d+p];else if(c==3)a.decode._decodeG3(o,d,f,l,g,n.width,m);else if(c==4)a.decode._decodeG4(o,d,f,l,g,n.width,m);else if(c==5)a.decode._decodeLZW(o,d,l,g);else if(c==6)a.decode._decodeOldJPEG(n,o,d,f,l,g);else if(c==7)a.decode._decodeNewJPEG(n,o,d,f,l,g);else if(c==8)for(var b=new Uint8Array(o.buffer,d,f),k=s.inflate(b),M=0;M<k.length;M++)l[g+M]=k[M];else c==32767?a.decode._decodeARW(n,o,d,f,l,g):c==32773?a.decode._decodePackBits(o,d,f,l,g):c==32809?a.decode._decodeThunder(o,d,f,l,g):c==34713?a.decode._decodeNikon(n,i,o,d,f,l,g):t("Unknown compression",c);var v=n.t258?Math.min(32,n.t258[0]):1,_=n.t277?n.t277[0]:1,y=v*_>>>3,I=n.t278?n.t278[0]:n.height,C=Math.ceil(v*_*n.width/8);if(v==16&&!n.isLE&&n.t33422==null)for(var R=0;R<I;R++)for(var B=g+R*C,Y=1;Y<C;Y+=2){var T=l[B+Y];l[B+Y]=l[B+Y-1],l[B+Y-1]=T}if(n.t317&&n.t317[0]==2)for(var R=0;R<I;R++){var O=g+R*C;if(v==16)for(var p=y;p<C;p+=2){var P=(l[O+p+1]<<8|l[O+p])+(l[O+p-y+1]<<8|l[O+p-y]);l[O+p]=P&255,l[O+p+1]=P>>>8&255}else if(_==3)for(var p=3;p<C;p+=3)l[O+p]=l[O+p]+l[O+p-3]&255,l[O+p+1]=l[O+p+1]+l[O+p-2]&255,l[O+p+2]=l[O+p+2]+l[O+p-1]&255;else for(var p=y;p<C;p++)l[O+p]=l[O+p]+l[O+p-y]&255}},a.decode._ljpeg_diff=function(n,i,o){var d=a.decode._getbithuff,f,c;return f=d(n,i,o[0],o),c=d(n,i,f,0),(c&1<<f-1)==0&&(c-=(1<<f)-1),c},a.decode._decodeARW=function(n,i,o,d,f,c){var l=n.t256[0],g=n.t257[0],m=n.t258[0],p=n.isLE?a._binLE:a._binBE,b=l*g==d||l*g*1.5==d;if(!b){g+=8;var k=[o,0,0,0],M=new Uint16Array(32770),v=[3857,3856,3599,3342,3085,2828,2571,2314,2057,1800,1543,1286,1029,772,771,768,514,513],me,_,y,re,J,I=0,C=a.decode._ljpeg_diff;for(M[0]=15,y=me=0;me<18;me++)for(var R=32768>>>(v[me]>>>8),_=0;_<R;_++)M[++y]=v[me];for(re=l;re--;)for(J=0;J<g+1;J+=2)if(J==g&&(J=1),I+=C(i,k,M),J<g){var B=I&4095;a.decode._putsF(f,(J*l+re)*m,B<<16-m)}return}if(l*g*1.5==d){for(var me=0;me<d;me+=3){var Y=i[o+me+0],T=i[o+me+1],O=i[o+me+2];f[c+me]=T<<4|Y>>>4,f[c+me+1]=Y<<4|O>>>4,f[c+me+2]=O<<4|T>>>4}return}var P=new Uint16Array(16),J,re,Q,ae,A,V,H,X,ge,me,u,h=new Uint8Array(l+1);for(J=0;J<g;J++){for(var De=0;De<l;De++)h[De]=i[o++];for(u=0,re=0;re<l-30;u+=16){for(ae=2047&(Q=p.readUint(h,u)),A=2047&Q>>>11,V=15&Q>>>22,H=15&Q>>>26,X=0;X<4&&128<<X<=ae-A;X++);for(ge=30,me=0;me<16;me++)me==V?P[me]=ae:me==H?P[me]=A:(P[me]=((p.readUshort(h,u+(ge>>3))>>>(ge&7)&127)<<X)+A,P[me]>2047&&(P[me]=2047),ge+=7);for(me=0;me<16;me++,re+=2){var B=P[me]<<1;a.decode._putsF(f,(J*l+re)*m,B<<16-m)}re-=re&1?1:31}}},a.decode._decodeNikon=function(n,i,o,d,f,c,l){var g=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],m=n.t256[0],p=n.t257[0],b=n.t258[0],k=0,M=0,v=a.decode._make_decoder,_=a.decode._getbithuff,y=i[0].exifIFD.makerNote,I=y.t150?y.t150:y.t140,C=0,R=I[C++],B=I[C++];(R==73||B==88)&&(C+=2110),R==70&&(k=2),b==14&&(k+=3);for(var Y=[[0,0],[0,0]],T=n.isLE?a._binLE:a._binBE,Q=0;Q<2;Q++)for(var O=0;O<2;O++)Y[Q][O]=T.readShort(I,C),C+=2;var P=1<<b&32767,J=0,re=T.readShort(I,C);C+=2,re>1&&(J=Math.floor(P/(re-1))),R==68&&B==32&&J>0&&(M=T.readShort(I,562));var Q,ae,A,V,H,X,ge=0,me=[0,0],u=v(g[k]),h=[d,0,0,0];for(ge=ae=0;ae<p;ae++)for(M&&ae==M&&(u=v(g[k+1])),A=0;A<m;A++){Q=_(o,h,u[0],u),V=Q&15,H=Q>>>4,X=(_(o,h,V-H,0)<<1)+1<<H>>>1,(X&1<<V-1)==0&&(X-=(1<<V)-(H==0?1:0)),A<2?me[A]=Y[ae&1][A]+=X:me[A&1]+=X;var De=Math.min(Math.max(me[A&1],0),(1<<b)-1),Ue=(ae*m+A)*b;a.decode._putsF(c,Ue,De<<16-b)}},a.decode._putsF=function(n,i,o){o=o<<8-(i&7);var d=i>>>3;n[d]|=o>>>16,n[d+1]|=o>>>8,n[d+2]|=o},a.decode._getbithuff=function(n,i,o,d){var f=0,c=a.decode._get_byte,l,g=i[0],m=i[1],p=i[2],b=i[3];if(o==0||p<0)return 0;for(;!b&&p<o&&(l=n[g++])!=-1&&!(b=f&&l==255&&n[g++]);)m=(m<<8)+l,p+=8;if(l=m<<32-p>>>32-o,d?(p-=d[l+1]>>>8,l=d[l+1]&255):p-=o,p<0)throw"e";return i[0]=g,i[1]=m,i[2]=p,i[3]=b,l},a.decode._make_decoder=function(n){var i,o,d,f,c,l=[];for(i=16;i!=0&&!n[i];i--);var g=17;for(l[0]=i,d=o=1;o<=i;o++)for(f=0;f<n[o];f++,++g)for(c=0;c<1<<i-o;c++)d<=1<<i&&(l[d++]=o<<8|n[g]);return l},a.decode._decodeNewJPEG=function(n,i,o,d,f,c){var l=n.t347,g=l?l.length:0,m=new Uint8Array(g+d);if(l){for(var p=216,b=217,k=0,M=0;M<g-1&&!(l[M]==255&&l[M+1]==b);M++)m[k++]=l[M];var v=i[o],_=i[o+1];(v!=255||_!=p)&&(m[k++]=v,m[k++]=_);for(var M=2;M<d;M++)m[k++]=i[o+M]}else for(var M=0;M<d;M++)m[M]=i[o+M];if(n.t262[0]==32803||n.t262[0]==34892){var y=n.t258[0],I=a.LosslessJpegDecode(m),C=I.length;if(y==16)if(n.isLE)for(var M=0;M<C;M++)f[c+(M<<1)]=I[M]&255,f[c+(M<<1)+1]=I[M]>>>8;else for(var M=0;M<C;M++)f[c+(M<<1)]=I[M]>>>8,f[c+(M<<1)+1]=I[M]&255;else if(y==14||y==12)for(var R=16-y,M=0;M<C;M++)a.decode._putsF(f,M*y,I[M]<<R);else throw new Error("unsupported bit depth "+y)}else{var B=new a.JpegDecoder;B.parse(m);for(var Y=B.getData(B.width,B.height),M=0;M<Y.length;M++)f[c+M]=Y[M]}n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodeOldJPEGInit=function(n,i,o,d){var f=216,c=217,l=219,g=196,m=221,p=192,b=218,k=0,M=0,v,_,y=!1,I,C,R,B=n.t513,Y=B?B[0]:0,T=n.t514,O=T?T[0]:0,P=n.t324||n.t273||B,J=n.t530,re=0,Q=0,ae=n.t277?n.t277[0]:1,A=n.t515;if(P&&(M=P[0],y=P.length>1),!y){if(i[o]==255&&i[o+1]==f)return{jpegOffset:o};if(B!=null&&(i[o+Y]==255&&i[o+Y+1]==f?k=o+Y:t("JPEGInterchangeFormat does not point to SOI"),T==null?t("JPEGInterchangeFormatLength field is missing"):(Y>=M||Y+O<=M)&&t("JPEGInterchangeFormatLength field value is invalid"),k!=null))return{jpegOffset:k}}if(J!=null&&(re=J[0],Q=J[1]),B!=null&&T!=null)if(O>=2&&Y+O<=M){for(i[o+Y+O-2]==255&&i[o+Y+O-1]==f?v=new Uint8Array(O-2):v=new Uint8Array(O),I=0;I<v.length;I++)v[I]=i[o+Y+I];t("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else t("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(v==null){var V=0,H=[];H[V++]=255,H[V++]=f;var X=n.t519;if(X==null)throw new Error("JPEGQTables tag is missing");for(I=0;I<X.length;I++)for(H[V++]=255,H[V++]=l,H[V++]=0,H[V++]=67,H[V++]=I,C=0;C<64;C++)H[V++]=i[o+X[I]+C];for(R=0;R<2;R++){var ge=n[R==0?"t520":"t521"];if(ge==null)throw new Error((R==0?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(I=0;I<ge.length;I++){H[V++]=255,H[V++]=g;var me=19;for(C=0;C<16;C++)me+=i[o+ge[I]+C];for(H[V++]=me>>>8,H[V++]=me&255,H[V++]=I|R<<4,C=0;C<16;C++)H[V++]=i[o+ge[I]+C];for(C=0;C<me;C++)H[V++]=i[o+ge[I]+16+C]}}if(H[V++]=255,H[V++]=p,H[V++]=0,H[V++]=8+3*ae,H[V++]=8,H[V++]=n.height>>>8&255,H[V++]=n.height&255,H[V++]=n.width>>>8&255,H[V++]=n.width&255,H[V++]=ae,ae==1)H[V++]=1,H[V++]=17,H[V++]=0;else for(I=0;I<3;I++)H[V++]=I+1,H[V++]=I!=0?17:(re&15)<<4|Q&15,H[V++]=I;A!=null&&A[0]!=0&&(H[V++]=255,H[V++]=m,H[V++]=0,H[V++]=4,H[V++]=A[0]>>>8&255,H[V++]=A[0]&255),v=new Uint8Array(H)}var u=-1;for(I=0;I<v.length-1;){if(v[I]==255&&v[I+1]==p){u=I;break}I++}if(u==-1){var h=new Uint8Array(v.length+10+3*ae);h.set(v);var De=v.length;if(u=v.length,v=h,v[De++]=255,v[De++]=p,v[De++]=0,v[De++]=8+3*ae,v[De++]=8,v[De++]=n.height>>>8&255,v[De++]=n.height&255,v[De++]=n.width>>>8&255,v[De++]=n.width&255,v[De++]=ae,ae==1)v[De++]=1,v[De++]=17,v[De++]=0;else for(I=0;I<3;I++)v[De++]=I+1,v[De++]=I!=0?17:(re&15)<<4|Q&15,v[De++]=I}if(i[M]==255&&i[M+1]==b){var Ue=i[M+2]<<8|i[M+3];for(_=new Uint8Array(Ue+2),_[0]=i[M],_[1]=i[M+1],_[2]=i[M+2],_[3]=i[M+3],I=0;I<Ue-2;I++)_[I+4]=i[M+I+4]}else{_=new Uint8Array(8+2*ae);var ee=0;if(_[ee++]=255,_[ee++]=b,_[ee++]=0,_[ee++]=6+2*ae,_[ee++]=ae,ae==1)_[ee++]=1,_[ee++]=0;else for(I=0;I<3;I++)_[ee++]=I+1,_[ee++]=I<<4|I;_[ee++]=0,_[ee++]=63,_[ee++]=0}return{jpegOffset:o,tables:v,sosMarker:_,sofPosition:u}},a.decode._decodeOldJPEG=function(n,i,o,d,f,c){var l,g,m,p,b,k=a.decode._decodeOldJPEGInit(n,i,o,d);if(k.jpegOffset!=null)for(g=o+d-k.jpegOffset,p=new Uint8Array(g),l=0;l<g;l++)p[l]=i[k.jpegOffset+l];else{for(m=k.tables.length,p=new Uint8Array(m+k.sosMarker.length+d+2),p.set(k.tables),b=m,p[k.sofPosition+5]=n.height>>>8&255,p[k.sofPosition+6]=n.height&255,p[k.sofPosition+7]=n.width>>>8&255,p[k.sofPosition+8]=n.width&255,(i[o]!=255||i[o+1]!=SOS)&&(p.set(k.sosMarker,b),b+=sosMarker.length),l=0;l<d;l++)p[b++]=i[o+l];p[b++]=255,p[b++]=EOI}var M=new a.JpegDecoder;M.parse(p);for(var v=M.getData(M.width,M.height),l=0;l<v.length;l++)f[c+l]=v[l];n.t262&&n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodePackBits=function(n,i,o,d,f){for(var c=new Int8Array(n.buffer),l=new Int8Array(d.buffer),g=i+o;i<g;){var m=c[i];if(i++,m>=0&&m<128)for(var p=0;p<m+1;p++)l[f]=c[i],f++,i++;if(m>=-127&&m<0){for(var p=0;p<-m+1;p++)l[f]=c[i],f++;i++}}},a.decode._decodeThunder=function(n,i,o,d,f){for(var c=[0,1,0,-1],l=[0,1,2,3,0,-3,-2,-1],g=i+o,m=f*2,p=0;i<g;){var b=n[i],k=b>>>6,M=b&63;if(i++,k==3&&(p=M&15,d[m>>>1]|=p<<4*(1-m&1),m++),k==0)for(var v=0;v<M;v++)d[m>>>1]|=p<<4*(1-m&1),m++;if(k==2)for(var v=0;v<2;v++){var _=M>>>3*(1-v)&7;_!=4&&(p+=l[_],d[m>>>1]|=p<<4*(1-m&1),m++)}if(k==1)for(var v=0;v<3;v++){var _=M>>>2*(2-v)&3;_!=2&&(p+=c[_],d[m>>>1]|=p<<4*(1-m&1),m++)}}},a.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},a.decode._lens=(function(){var n=function(m,p,b,k){for(var M=0;M<p.length;M++)m[p[M]]=b+M*k},i="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",o="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",d="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",f="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",c="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";i=i.split(","),o=o.split(","),d=d.split(","),f=f.split(","),c=c.split(",");var l={},g={};return n(l,i,0,1),n(l,d,64,64),n(l,c,1792,64),n(g,o,0,1),n(g,f,64,64),n(g,c,1792,64),[l,g]})(),a.decode._decodeG4=function(n,i,o,d,f,c,l){for(var g=a.decode,m=i<<3,p=0,b="",k=[],M=[],v=0;v<c;v++)M.push(0);M=g._makeDiff(M);for(var _=0,y=0,I=0,C=0,R=0,B=0,Y=0,T="",O=0,P=Math.ceil(c/8)*8;m>>>3<i+o;){C=g._findDiff(M,_+(_==0?0:1),1-B),R=g._findDiff(M,C,B);var J=0;if(l==1&&(J=n[m>>>3]>>>7-(m&7)&1),l==2&&(J=n[m>>>3]>>>(m&7)&1),m++,b+=J,T=="H"){if(g._lens[B][b]!=null){var re=g._lens[B][b];b="",p+=re,re<64&&(g._addNtimes(k,p,B),_+=p,B=1-B,p=0,O--,O==0&&(T=""))}}else b=="0001"&&(b="",g._addNtimes(k,R-_,B),_=R),b=="001"&&(b="",T="H",O=2),g._dmap[b]!=null&&(y=C+g._dmap[b],g._addNtimes(k,y-_,B),_=y,b="",B=1-B);k.length==c&&T==""&&(g._writeBits(k,d,f*8+Y*P),B=0,Y++,_=0,M=g._makeDiff(k),k=[])}},a.decode._findDiff=function(n,i,o){for(var d=0;d<n.length;d+=2)if(n[d]>=i&&n[d+1]==o)return n[d]},a.decode._makeDiff=function(n){var i=[];n[0]==1&&i.push(0,1);for(var o=1;o<n.length;o++)n[o-1]!=n[o]&&i.push(o,n[o]);return i.push(n.length,0,n.length,1),i},a.decode._decodeG3=function(n,i,o,d,f,c,l){for(var g=a.decode,m=i<<3,p=0,b="",k=[],M=[],v=0;v<c;v++)k.push(0);for(var _=0,y=0,I=0,C=0,R=0,B=0,Y=-1,T="",O=0,P=!1,J=Math.ceil(c/8)*8;m>>>3<i+o;){C=g._findDiff(M,_+(_==0?0:1),1-B),R=g._findDiff(M,C,B);var re=0;if(l==1&&(re=n[m>>>3]>>>7-(m&7)&1),l==2&&(re=n[m>>>3]>>>(m&7)&1),m++,b+=re,P){if(g._lens[B][b]!=null){var Q=g._lens[B][b];b="",p+=Q,Q<64&&(g._addNtimes(k,p,B),B=1-B,p=0)}}else if(T=="H"){if(g._lens[B][b]!=null){var Q=g._lens[B][b];b="",p+=Q,Q<64&&(g._addNtimes(k,p,B),_+=p,B=1-B,p=0,O--,O==0&&(T=""))}}else b=="0001"&&(b="",g._addNtimes(k,R-_,B),_=R),b=="001"&&(b="",T="H",O=2),g._dmap[b]!=null&&(y=C+g._dmap[b],g._addNtimes(k,y-_,B),_=y,b="",B=1-B);b.endsWith("000000000001")&&(Y>=0&&g._writeBits(k,d,f*8+Y*J),l==1&&(P=(n[m>>>3]>>>7-(m&7)&1)==1),l==2&&(P=(n[m>>>3]>>>(m&7)&1)==1),m++,g._decodeG3.allow2D==null&&(g._decodeG3.allow2D=P),g._decodeG3.allow2D||(P=!0,m--),b="",B=0,Y++,_=0,M=g._makeDiff(k),k=[])}k.length==c&&g._writeBits(k,d,f*8+Y*J)},a.decode._addNtimes=function(n,i,o){for(var d=0;d<i;d++)n.push(o)},a.decode._writeBits=function(n,i,o){for(var d=0;d<n.length;d++)i[o+d>>>3]|=n[d]<<7-(o+d&7)},a.decode._decodeLZW=function(n,i,o,d){if(a.decode._lzwTab==null){for(var f=new Uint32Array(65535),c=new Uint16Array(65535),b=new Uint8Array(2e6),l=0;l<256;l++)b[l<<2]=l,f[l]=l<<2,c[l]=1;a.decode._lzwTab=[f,c,b]}for(var g=a.decode._copyData,m=a.decode._lzwTab[0],p=a.decode._lzwTab[1],b=a.decode._lzwTab[2],k=258,M=1032,v=9,_=i<<3,y=256,I=257,C=0,R=0,B=0;C=n[_>>>3]<<16|n[_+8>>>3]<<8|n[_+16>>>3],R=C>>24-(_&7)-v&(1<<v)-1,_+=v,R!=I;){if(R==y){if(v=9,k=258,M=1032,C=n[_>>>3]<<16|n[_+8>>>3]<<8|n[_+16>>>3],R=C>>24-(_&7)-v&(1<<v)-1,_+=v,R==I)break;o[d]=R,d++}else if(R<k){var Y=m[R],T=p[R];if(g(b,Y,o,d,T),d+=T,B>=k)m[k]=M,b[m[k]]=Y[0],p[k]=1,M=M+1+3&-4,k++;else{m[k]=M;var O=m[B],P=p[B];g(b,O,b,M,P),b[M+P]=b[Y],P++,p[k]=P,k++,M=M+P+3&-4}k+1==1<<v&&v++}else{if(B>=k)m[k]=M,p[k]=0,k++;else{m[k]=M;var O=m[B],P=p[B];g(b,O,b,M,P),b[M+P]=b[M],P++,p[k]=P,k++,g(b,M,o,d,P),d+=P,M=M+P+3&-4}k+1==1<<v&&v++}B=R}},a.decode._copyData=function(n,i,o,d,f){for(var c=0;c<f;c+=4)o[d+c]=n[i+c],o[d+c+1]=n[i+c+1],o[d+c+2]=n[i+c+2],o[d+c+3]=n[i+c+3]},a.tags={},a.ttypes={256:3,257:3,258:3,259:3,262:3,273:4,274:3,277:3,278:4,279:4,282:5,283:5,284:3,286:5,287:5,296:3,305:2,306:2,338:3,513:4,514:4,34665:4},a._readIFD=function(n,i,o,d,f,c){var l=n.readUshort(i,o);o+=2;var g={};d.push(g),c&&t(" ".repeat(f),d.length-1,">>>----------------");for(var m=0;m<l;m++){var p=n.readUshort(i,o);o+=2;var b=n.readUshort(i,o);o+=2;var k=n.readUint(i,o);o+=4;var M=n.readUint(i,o);o+=4;var v=[];if((b==1||b==7)&&(v=new Uint8Array(i.buffer,k<5?o-4:M,k)),b==2){var _=k<5?o-4:M,y=i[_];y<128?v.push(n.readASCII(i,_,k-1)):v=new Uint8Array(i.buffer,_,k-1)}if(b==3)for(var I=0;I<k;I++)v.push(n.readUshort(i,(k<3?o-4:M)+2*I));if(b==4)for(var I=0;I<k;I++)v.push(n.readUint(i,(k<2?o-4:M)+4*I));if(b==5)for(var I=0;I<k;I++)v.push(n.readUint(i,M+I*8)/n.readUint(i,M+I*8+4));if(b==8)for(var I=0;I<k;I++)v.push(n.readShort(i,(k<3?o-4:M)+2*I));if(b==9)for(var I=0;I<k;I++)v.push(n.readInt(i,(k<2?o-4:M)+4*I));if(b==10)for(var I=0;I<k;I++)v.push(n.readInt(i,M+I*8)/n.readInt(i,M+I*8+4));if(b==11)for(var I=0;I<k;I++)v.push(n.readFloat(i,M+I*4));if(b==12)for(var I=0;I<k;I++)v.push(n.readDouble(i,M+I*8));if(g["t"+p]=v,k!=0&&v.length==0&&t("unknown TIFF tag type: ",b,"num:",k),c&&t(" ".repeat(f),p,b,a.tags[p],v),!(p==330&&g.t272&&g.t272[0]=="DSLR-A100")){if(p==330||p==34665||p==50740&&n.readUshort(i,n.readUint(v,0))<300){for(var C=p==50740?[n.readUint(v,0)]:v,R=[],I=0;I<C.length;I++)a._readIFD(n,i,C[I],R,f+1,c);p==330&&(g.subIFD=R),p==34665&&(g.exifIFD=R[0]),p==50740&&(g.dngPrvt=R[0])}}if(p==37500){var B=v;if(n.readASCII(B,0,5)=="Nikon")g.makerNote=a.decode(B.slice(10).buffer)[0];else if(n.readUshort(i,M)<300){var Y=[];a._readIFD(n,i,M,Y,f+1,c),g.makerNote=Y[0]}}}return c&&t(" ".repeat(f),"<<<---------------"),o},a._writeIFD=function(n,i,o,d){var f=Object.keys(d);n.writeUshort(i,o,f.length),o+=2;for(var c=o+f.length*12+4,l=0;l<f.length;l++){var g=f[l],m=parseInt(g.slice(1)),p=a.ttypes[m];if(p==null)throw new Error("unknown type of tag: "+m);var b=d[g];p==2&&(b=b[0]+"\0");var k=b.length;n.writeUshort(i,o,m),o+=2,n.writeUshort(i,o,p),o+=2,n.writeUint(i,o,k),o+=4;var M=[-1,1,1,2,4,8,0,0,0,0,0,0,8][p]*k,v=o;if(M>4&&(n.writeUint(i,o,c),v=c),p==2&&n.writeASCII(i,v,b),p==3)for(var _=0;_<k;_++)n.writeUshort(i,v+2*_,b[_]);if(p==4)for(var _=0;_<k;_++)n.writeUint(i,v+4*_,b[_]);if(p==5)for(var _=0;_<k;_++)n.writeUint(i,v+8*_,Math.round(b[_]*1e4)),n.writeUint(i,v+8*_+4,1e4);if(p==12)for(var _=0;_<k;_++)n.writeDouble(i,v+8*_,b[_]);M>4&&(M+=M&1,c+=M),o+=4}return[o,c]},a.toRGBA8=function(n){var i=n.width,o=n.height,d=i*o,f=d*4,c=n.data,l=new Uint8Array(d*4),g=n.t262?n.t262[0]:2,m=n.t258?Math.min(32,n.t258[0]):1;if(g==0)for(var p=Math.ceil(m*i/8),b=0;b<o;b++){var k=b*p,M=b*i;if(m==1)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>3)]>>7-(v&7)&1;l[_]=l[_+1]=l[_+2]=(1-y)*255,l[_+3]=255}if(m==4)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>1)]>>4-4*(v&1)&15;l[_]=l[_+1]=l[_+2]=(15-y)*17,l[_+3]=255}if(m==8)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+v];l[_]=l[_+1]=l[_+2]=255-y,l[_+3]=255}}else if(g==1)for(var p=Math.ceil(m*i/8),b=0;b<o;b++){var k=b*p,M=b*i;if(m==1)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>3)]>>7-(v&7)&1;l[_]=l[_+1]=l[_+2]=y*255,l[_+3]=255}if(m==2)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>2)]>>6-2*(v&3)&3;l[_]=l[_+1]=l[_+2]=y*85,l[_+3]=255}if(m==8)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+v];l[_]=l[_+1]=l[_+2]=y,l[_+3]=255}if(m==16)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(2*v+1)];l[_]=l[_+1]=l[_+2]=Math.min(255,y),l[_+3]=255}}else if(g==2){var I=n.t258?n.t258.length:3;if(m==8){if(I==4)for(var v=0;v<f;v++)l[v]=c[v];if(I==3)for(var v=0;v<d;v++){var _=v<<2,C=v*3;l[_]=c[C],l[_+1]=c[C+1],l[_+2]=c[C+2],l[_+3]=255}}else{if(I==4)for(var v=0;v<d;v++){var _=v<<2,C=v*8+1;l[_]=c[C],l[_+1]=c[C+2],l[_+2]=c[C+4],l[_+3]=c[C+6]}if(I==3)for(var v=0;v<d;v++){var _=v<<2,C=v*6+1;l[_]=c[C],l[_+1]=c[C+2],l[_+2]=c[C+4],l[_+3]=255}}}else if(g==3)for(var R=n.t320,v=0;v<d;v++){var _=v<<2,B=c[v];l[_]=R[B]>>8,l[_+1]=R[256+B]>>8,l[_+2]=R[512+B]>>8,l[_+3]=255}else if(g==5)for(var I=n.t258?n.t258.length:4,Y=I>4?1:0,v=0;v<d;v++){var _=v<<2,T=v*I,O=255-c[T],P=255-c[T+1],J=255-c[T+2],re=(255-c[T+3])*(1/255);l[_]=~~(O*re+.5),l[_+1]=~~(P*re+.5),l[_+2]=~~(J*re+.5),l[_+3]=255*(1-Y)+c[T+4]*Y}else t("Unknown Photometric interpretation: "+g);return l},a.replaceIMG=function(n){n==null&&(n=document.getElementsByTagName("img"));for(var i=["tif","tiff","dng","cr2","nef"],o=0;o<n.length;o++){var d=n[o],f=d.getAttribute("src");if(f!=null){var c=f.split(".").pop().toLowerCase();if(i.indexOf(c)!=-1){var l=new XMLHttpRequest;a._xhrs.push(l),a._imgs.push(d),l.open("GET",f),l.responseType="arraybuffer",l.onload=a._imgLoaded,l.send()}}}},a._xhrs=[],a._imgs=[],a._imgLoaded=function(n){var i=n.target.response,o=a.decode(i),d=o,f=0,c=d[0];o[0].subIFD&&(d=d.concat(o[0].subIFD));for(var l=0;l<d.length;l++){var M=d[l];if(!(M.t258==null||M.t258.length<3)){var g=M.t256*M.t257;g>f&&(f=g,c=M)}}a.decodeImage(i,c,o);var m=a.toRGBA8(c),p=c.width,b=c.height,k=a._xhrs.indexOf(n.target),M=a._imgs[k];a._xhrs.splice(k,1),a._imgs.splice(k,1);var v=document.createElement("canvas");v.width=p,v.height=b;for(var _=v.getContext("2d"),y=_.createImageData(p,b),l=0;l<m.length;l++)y.data[l]=m[l];_.putImageData(y,0,0),M.setAttribute("src",v.toDataURL())},a._binBE={nextZero:function(n,i){for(;n[i]!=0;)i++;return i},readUshort:function(n,i){return n[i]<<8|n[i+1]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+1],o[1]=n[i+0],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.ui32[0]},readASCII:function(n,i,o){for(var d="",f=0;f<o;f++)d+=String.fromCharCode(n[i+f]);return d},readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+3-d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+7-d];return a._binBE.fl64[0]},writeUshort:function(n,i,o){n[i]=o>>8&255,n[i+1]=o&255},writeUint:function(n,i,o){n[i]=o>>24&255,n[i+1]=o>>16&255,n[i+2]=o>>8&255,n[i+3]=o>>0&255},writeASCII:function(n,i,o){for(var d=0;d<o.length;d++)n[i+d]=o.charCodeAt(d)},writeDouble:function(n,i,o){a._binBE.fl64[0]=o;for(var d=0;d<8;d++)n[i+d]=a._binBE.ui8[7-d]}},a._binBE.ui8=new Uint8Array(8),a._binBE.i16=new Int16Array(a._binBE.ui8.buffer),a._binBE.i32=new Int32Array(a._binBE.ui8.buffer),a._binBE.ui32=new Uint32Array(a._binBE.ui8.buffer),a._binBE.fl32=new Float32Array(a._binBE.ui8.buffer),a._binBE.fl64=new Float64Array(a._binBE.ui8.buffer),a._binLE={nextZero:a._binBE.nextZero,readUshort:function(n,i){return n[i+1]<<8|n[i]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.ui32[0]},readASCII:a._binBE.readASCII,readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+d];return a._binBE.fl64[0]}},a._copyTile=function(n,i,o,d,f,c,l,g){for(var m=Math.min(i,f-l),p=Math.min(o,c-g),b=0;b<p;b++)for(var k=(g+b)*f+l,M=b*i,v=0;v<m;v++)d[k+v]=n[M+v]},a.LosslessJpegDecode=(function(){function n(f){this.w=f,this.N=0,this._=0,this.G=0}n.prototype={t:function(f){this.N=Math.max(0,Math.min(this.w.length,f))},i:function(){return this.w[this.N++]},l:function(){var f=this.N;return this.N+=2,this.w[f]<<8|this.w[f+1]},J:function(){return this._==0&&(this.G=this.w[this.N],this.N+=1+(this.G+1>>>8),this._=8),this.G>>>--this._&1},Z:function(f){var c=this._,l=this.G,g=Math.min(c,f);f-=g,c-=g;for(var m=l>>>c&(1<<g)-1;f>0;)l=this.w[this.N],this.N+=1+(l+1>>>8),g=Math.min(8,f),f-=g,c=8-g,m<<=g,m|=l>>>c&(1<<g)-1;return this._=c,this.G=l,m}};var i={};i.X=function(){return[0,0,-1]},i.s=function(f,c,l){f[i.Y(f,0,l)+2]=c},i.Y=function(f,c,l){if(f[c+2]!=-1)return 0;if(l==0)return c;for(var g=0;g<2;g++){f[c+g]==0&&(f[c+g]=f.length,f.push(0),f.push(0),f.push(-1));var m=i.Y(f,f[c+g],l-1);if(m!=0)return m}return 0},i.B=function(f,c){for(var l=0,g=0,m=0,p=c._,b=c.G,k=c.N;;)if(p==0&&(b=c.w[k],k+=1+(b+1>>>8),p=8),m=b>>>--p&1,l=f[l+m],g=f[l+2],g!=-1)return c._=p,c.G=b,c.N=k,g;return-1};function o(f){this.z=new n(f),this.D(this.z)}o.prototype={$:function(f,c){this.Q=f.i(),this.F=f.l(),this.o=f.l();var l=this.O=f.i();this.L=[];for(var g=0;g<l;g++){var m=f.i(),p=f.i();f.i(),this.L[m]=g}f.t(f.N+c-(6+l*3))},e:function(){var f=0,c=this.z.i();this.H==null&&(this.H={});for(var l=this.H[c]=i.X(),g=[],m=0;m<16;m++)g[m]=this.z.i(),f+=g[m];for(var m=0;m<16;m++)for(var p=0;p<g[m];p++)i.s(l,this.z.i(),m+1);return f+17},W:function(f){for(;f>0;)f-=this.e()},p:function(f,c){var l=f.i();this.U||(this.U=[]);for(var g=0;g<l;g++){var m=f.i(),p=f.i();this.U[this.L[m]]=this.H[p>>>4]}this.g=f.i(),f.t(f.N+c-(2+l*2))},D:function(f){var c=!1,l=f.l();if(l===o.q)do{var l=f.l(),g=f.l()-2;switch(l){case o.m:this.$(f,g);break;case o.K:this.W(g);break;case o.V:this.p(f,g),c=!0;break;default:f.t(f.N+g);break}}while(!c)},I:function(f,c){var l=i.B(c,f);if(l==16)return-32768;var g=f.Z(l);return(g&1<<l-1)==0&&(g-=(1<<l)-1),g},B:function(f,c){for(var l=this.z,g=this.O,m=this.F,p=this.I,b=this.g,k=this.o*g,M=this.U,v=0;v<g;v++)f[v]=p(l,M[v])+(1<<this.Q-1);for(var _=g;_<k;_+=g)for(var v=0;v<g;v++)f[_+v]=p(l,M[v])+f[_+v-g];for(var y=c,I=1;I<m;I++){for(var v=0;v<g;v++)f[y+v]=p(l,M[v])+f[y+v-c];for(var _=g;_<k;_+=g)for(var v=0;v<g;v++){var C=y+_+v,R=f[C-g];b==6&&(R=f[C-c]+(R-f[C-g-c]>>>1)),f[C]=R+p(l,M[v])}y+=c}}},o.m=65475,o.K=65476,o.q=65496,o.V=65498;function d(f){var c=new o(f),l=c.Q>8?Uint16Array:Uint8Array,g=new l(c.o*c.F*c.O),m=c.o*c.O;return c.B(g,m),g}return d})()})(e,r)})()});var w5=Eh(fm(),1);var of=e=>e==null?[]:Array.isArray(e)?e:[e],ff=e=>e!=null&&String(e).trim()!==""&&Number.isFinite(Number(e))?Number(e):void 0,Ih=e=>{var s,n;let r=(s=e==null?void 0:e["a:off"])==null?void 0:s.attrs,t=(n=e==null?void 0:e["a:ext"])==null?void 0:n.attrs,a={x:ff(r==null?void 0:r.x),y:ff(r==null?void 0:r.y),w:ff(t==null?void 0:t.cx),h:ff(t==null?void 0:t.cy)};return Object.values(a).every(i=>i!==void 0&&Math.abs(i)<2147483648)&&a.w>0&&a.h>0?a:void 0},ub=(e,r)=>e&&r&&["x","y","w","h"].every(t=>Math.abs(e[t]-r[t])<1),lm=e=>!["rot","flipH","flipV"].some(r=>{var t;return((t=e==null?void 0:e.attrs)==null?void 0:t[r])&&!["0","false"].includes(String(e.attrs[r]))}),Sh=e=>{var r;return(r=e==null?void 0:e.attrs)==null?void 0:r.name};function um(e,r,t){var C,R,B,Y,T,O,P,J,re,Q;let a=new Map,s=r==null?void 0:r["dgm:dataModel"],n=(C=t==null?void 0:t["dgm:layoutDef"])==null?void 0:C["dgm:layoutNode"];if(!s||!n||((B=(R=n["dgm:alg"])==null?void 0:R.attrs)==null?void 0:B.type)!=="composite")return a;let i=of((Y=s["dgm:ptLst"])==null?void 0:Y["dgm:pt"]),o=of((T=s["dgm:cxnLst"])==null?void 0:T["dgm:cxn"]);if(i.length>1e4||o.length>2e4||e.length>1e4)return a;let d=i.filter(ae=>{var A;return((A=ae.attrs)==null?void 0:A.type)==="doc"});if(d.length!==1)return a;let f=new Map(i.map(ae=>{var A;return[(A=ae.attrs)==null?void 0:A.modelId,ae]})),c=new Set(o.filter(ae=>{var H;let A=ae.attrs,V=(H=f.get(A==null?void 0:A.destId))==null?void 0:H.attrs;return(A==null?void 0:A.srcId)===d[0].attrs.modelId&&(!A.type||A.type==="parOf")&&V&&(!V.type||V.type==="node")}).map(ae=>ae.attrs.destId));if(!c.size)return a;let l=c.size,g=new Map,m=[],p=new Map,b=0,k=!1,M=ae=>{let A=ae.attrs||{};if(A.func!=="cnt"||A.axis!=="ch"||A.ptType&&A.ptType!=="node")return;let V=ff(A.val);if(V!==void 0)switch(A.op){case"equ":return l===V;case"neq":return l!==V;case"gt":return l>V;case"gte":return l>=V;case"lt":return l<V;case"lte":return l<=V;default:return}},v=(ae,A=0,V=!0)=>{var H,X,ge,me,u;if(!(!ae||typeof ae!="object")){if(++b>1e4||A>48){k=!0;return}if(V)for(let h of of((H=ae["dgm:constrLst"])==null?void 0:H["dgm:constr"])){let De=h.attrs||{};if(De.for!=="ch"||!De.forName||!["l","t","r","b","w","h"].includes(De.type))continue;let Ue=g.get(De.forName)||new Map;Ue.has(De.type)?Ue.set(De.type,null):Ue.set(De.type,De),g.set(De.forName,Ue)}for(let h of of(ae["dgm:choose"])){let De,Ue=!1;for(let ee of of(h["dgm:if"])){let fe=M(ee);if(fe===void 0){Ue=!0;break}if(fe){De=ee;break}}Ue||v(De||h["dgm:else"],A+1,V)}for(let h of of(ae["dgm:layoutNode"])){let De=Sh(h);De&&(p.has(De)?p.set(De,null):p.set(De,h));let Ue=(ge=(X=h["dgm:alg"])==null?void 0:X.attrs)==null?void 0:ge.type,ee=(me=h["dgm:shape"])==null?void 0:me.attrs;De&&((u=h.attrs)!=null&&u.moveWith)&&Ue==="tx"&&["1","true"].includes(String(ee==null?void 0:ee.hideGeom))&&(ee==null?void 0:ee.type)==="rect"&&m.push(h),v(h,A+1,!1)}}};if(v(n),k)return a;let _=(ae,A,V)=>{if(!ae||ae.op&&ae.op!=="equ"||ae.refFor&&ae.refFor!=="self"||ae.refForName||ae.refPtType||!["w","h"].includes(ae.refType))return;let H=ff(ae.fact);if(!(H===void 0||Math.abs(H)>16))return H*(ae.refType==="w"?A:V)},y=(ae,A,V)=>{var h,De;if(!ae)return;let H=Object.fromEntries([...ae].map(([Ue,ee])=>[Ue,_(ee,A,V)])),X=H.w,ge=H.h;if(!(X>0&&ge>0))return;let me=(h=H.l)!=null?h:H.r===void 0?void 0:H.r-X,u=(De=H.t)!=null?De:H.b===void 0?void 0:H.b-ge;return me!==void 0&&u!==void 0?{x:me,y:u,w:X,h:ge}:void 0},I=new Map;for(let ae of o){let A=ae.attrs;if((A==null?void 0:A.type)==="presOf"){let V=I.get(A.destId)||new Set;V.add(A.srcId),I.set(A.destId,V)}}for(let ae of e){let A=(O=ae.attrs)==null?void 0:O.modelId,V=f.get(A),H=(J=(P=V==null?void 0:V["dgm:prSet"])==null?void 0:P.attrs)==null?void 0:J.presName,X=(re=ae["p:spPr"])==null?void 0:re["a:xfrm"],ge=ae["p:txXfrm"],me=Ih(X),u=Ih(ge);if(!H||!me||!lm(X)||!lm(ge)||u&&!ub(me,u))continue;let h=m.filter(E=>E.attrs.moveWith===H&&p.get(Sh(E))===E);if(h.length!==1)continue;let De=Sh(h[0]),Ue=i.filter(E=>{var Be,We;return((We=(Be=E["dgm:prSet"])==null?void 0:Be.attrs)==null?void 0:We.presName)===De});if(Ue.length!==1)continue;let ee=I.get(A),fe=I.get((Q=Ue[0].attrs)==null?void 0:Q.modelId);if(!ee||!fe||![...ee].some(E=>fe.has(E)))continue;let oe=g.get(H),kt=g.get(De),dt=oe==null?void 0:oe.get("w"),S=oe==null?void 0:oe.get("h");if((dt==null?void 0:dt.refType)!=="w"||(S==null?void 0:S.refType)!=="h")continue;let Ee=_(dt,1,1),pe=_(S,1,1);if(!(Ee>0&&pe>0))continue;let W=me.w/Ee,N=me.h/pe;if(!Number.isFinite(W+N)||W>2147483647||N>2147483647)continue;let j=y(oe,W,N),be=y(kt,W,N);if(!j||!be)continue;let Le={x:me.x+be.x-j.x,y:me.y+be.y-j.y,w:be.w,h:be.h};Object.values(Le).every(E=>Number.isFinite(E)&&Math.abs(E)<2147483648)&&a.set(A,{"a:off":{attrs:{x:String(Le.x),y:String(Le.y)}},"a:ext":{attrs:{cx:String(Le.w),cy:String(Le.h)}}})}return a}function Th(e,r){if(!e)return r;let t={...r,...e,"a:off":e["a:off"]||(r==null?void 0:r["a:off"]),"a:ext":e["a:ext"]||(r==null?void 0:r["a:ext"])};return Ih(t)?t:r}function X1(e,r,t){var d,f;let a=[e,r,t].map(c=>c==null?void 0:c["a:bodyPr"]).filter(Boolean),s=(c,l)=>{var g;for(let m of a){let p=(g=m.attrs)==null?void 0:g[c];if(p===void 0)continue;let b=Number(p);return String(p).trim()&&Number.isFinite(b)&&b>=0&&b<=2147483647?b:l}return l},n="none",i=1;for(let c of a){if(c["a:noAutofit"]!==void 0)break;if(c["a:spAutoFit"]!==void 0){n="shape";break}if(c["a:normAutofit"]!==void 0){n="normal";let l=(f=(d=c["a:normAutofit"])==null?void 0:d.attrs)==null?void 0:f.fontScale,g=typeof l=="string"&&l.endsWith("%")?Number(l.slice(0,-1))/100:Number(l)/1e5;l!==void 0&&Number.isFinite(g)&&g>0&&g<=1&&(i=g);break}}let o=a.map(c=>{var l;return(l=c.attrs)==null?void 0:l.wrap}).find(c=>c!==void 0);return{left:s("lIns",91440),right:s("rIns",91440),top:s("tIns",45720),bottom:s("bIns",45720),autofit:n,fontScale:i,wrap:o==="none"?"none":"square"}}var cm=e=>e==null?[]:Array.isArray(e)?e:[e];function dm(e){let r=[];for(let[t,a]of Object.entries(e||{}))if(["a:r","a:fld","a:br"].includes(t))for(let s of cm(a))!s||typeof s!="object"||r.push(t==="a:fld"?{...s,"a:fld":s}:t==="a:br"?{...s,type:"br"}:s);return r.sort((t,a)=>{var s,n;return(Number((s=t.attrs)==null?void 0:s.order)||0)-(Number((n=a.attrs)==null?void 0:n.order)||0)})}function hm(e){let r=String(e!=null?e:"").trim();if(!/^[+-]?\d+$/.test(r))return 1;let t=Number(r);return Number.isInteger(t)&&t>=-2147483648&&t<=2147483647?t:1}function cb(e){if(typeof e!="string"&&typeof e!="number")return;let r=/^\+?(\d+(?:\.\d*)?|\.\d+)(%)?$/.exec(String(e).trim());if(!r)return;let t=Number(r[1])/(r[2]?100:1e5);return Number.isFinite(t)?t:void 0}function pm(e,r){let t=cm(e==null?void 0:e["a:alphaModFix"]).map(i=>{var o;return cb((o=i==null?void 0:i.attrs)==null?void 0:o.amt)}).filter(i=>i!==void 0),a=(e==null?void 0:e["a:duotone"])!=null?["grayscale(1)"]:[],s="",n="";if(t.some(i=>i>1)){let i=String(r).replace(/[^a-zA-Z0-9_-]/g,"_");n=`<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true" style="position:absolute;pointer-events:none;"><defs><filter id="${i}" x="0" y="0" width="100%" height="100%" color-interpolation-filters="sRGB">`+t.map(o=>`<feComponentTransfer><feFuncA type="linear" slope="${o}" intercept="0"/></feComponentTransfer>`).join("")+"</filter></defs></svg>",a.unshift(`url(#${i})`)}else t.length&&(s+=`opacity:${t.reduce((i,o)=>i*o,1)};`);return a.length&&(s+=`filter:${a.join(" ")};`),{style:s,definitions:n}}var vm=e=>e==null?[]:Array.isArray(e)?e:[e];function mm(e,r,t){var n,i,o;let a=[];for(let d of vm((n=e==null?void 0:e["a:extLst"])==null?void 0:n["a:ext"]))for(let[f,c]of Object.entries(d||{}))if(f.split(":").pop()==="svgBlip")for(let l of vm(c))a.push((i=l==null?void 0:l.attrs)==null?void 0:i["r:embed"]);a.push((o=e==null?void 0:e.attrs)==null?void 0:o["r:embed"]);let s=[];for(let d of new Set(a)){if(typeof d!="string"||!Object.prototype.hasOwnProperty.call(r||{},d))continue;let f=r[d],c=f==null?void 0:f.target;if(f!=null&&f.external||typeof c!="string"||!c||/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i.test(c)||f.type&&f.type!=="image"&&!f.type.endsWith("/image"))continue;let l=t.file(c);l&&s.push({target:c,entry:l})}return s}var db=new Map([["{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}","accent1"],["{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}","accent2"],["{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}","accent3"],["{00A15C55-8517-42AA-B614-E9B94910E393}","accent4"],["{7DF18680-E054-41AD-8BC1-D1AEF772440D}","accent5"],["{93296810-A885-4BE3-A3E7-6D5BEEA58F35}","accent6"]]);function _m(e){let r=db.get(String(e||"").trim().toUpperCase());if(!r)return;let t=(d,f)=>({"a:schemeClr":{attrs:{val:d},...f===void 0?{}:{"a:tint":{attrs:{val:String(f)}}}}}),a=(d=12700)=>({"a:ln":{attrs:{w:String(d),cmpd:"sng"},"a:solidFill":t("lt1")}}),s=d=>({"a:solidFill":t(r,d)}),n=(d,f=!1)=>({...f?{attrs:{b:"on"}}:{},"a:fontRef":{attrs:{idx:"minor"},"a:prstClr":{attrs:{val:"black"}}},...t(d)}),i=()=>({"a:tcStyle":{"a:tcBdr":{},"a:fill":s(4e4)}}),o=d=>({"a:tcTxStyle":n("lt1",!0),"a:tcStyle":{"a:fill":s(),"a:tcBdr":d?{[`a:${d}`]:a(38100)}:{}}});return{attrs:{styleId:e,styleName:`Medium Style 2 - ${r}`},"a:wholeTbl":{"a:tcTxStyle":n("dk1"),"a:tcStyle":{"a:fill":s(2e4),"a:tcBdr":Object.fromEntries(["left","right","top","bottom","insideH","insideV"].map(d=>[`a:${d}`,a()]))}},"a:band1H":i(),"a:band2H":{"a:tcStyle":{"a:tcBdr":{}}},"a:band1V":i(),"a:band2V":{"a:tcStyle":{"a:tcBdr":{}}},"a:firstCol":o(),"a:lastCol":o(),"a:firstRow":o("bottom"),"a:lastRow":o("top")}}var A1=e=>e==null?[]:Array.isArray(e)?e:[e],bm=e=>{var t;let r=new Map;for(let a of A1(e==null?void 0:e["c:pt"])){let s=(t=a==null?void 0:a.attrs)==null?void 0:t.idx,n=typeof s=="number"||/^\d+$/.test(String(s))?Number(s):NaN;if(Number.isSafeInteger(n)&&n>=0){let i=a["c:v"];r.set(n,i!=null&&typeof i=="object"?"":i)}}return r},Lm=e=>{var t;let r=(t=e==null?void 0:e["c:multiLvlStrRef"])==null?void 0:t["c:multiLvlStrCache"];return r?A1(r["c:lvl"]).map(bm):void 0},gm=(e,r)=>[...e].reverse().map((t,a)=>{if(t.has(r))return t.get(r);if(a===e.length-1)return"";let s=[...t.keys()].filter(n=>n<=r).sort((n,i)=>i-n)[0];return s===void 0?"":t.get(s)}).filter(t=>t!=null&&t!=="").join(" / "),Po=e=>{var a,s,n,i,o;let r=Lm(e);if(r){let d=new Set(r.flatMap(f=>[...f.keys()]));return new Map([...d].map(f=>[f,gm(r,f)]))}let t=(o=(i=(s=(a=e==null?void 0:e["c:strRef"])==null?void 0:a["c:strCache"])!=null?s:e==null?void 0:e["c:strLit"])!=null?i:(n=e==null?void 0:e["c:numRef"])==null?void 0:n["c:numCache"])!=null?o:e==null?void 0:e["c:numLit"];return bm(t)},km=(e,r)=>{var s,n;let t=e==null?void 0:e["c:tx"],a=(n=(s=t==null?void 0:t["c:v"])!=null?s:Po(t).get(0))!=null?n:r;return typeof a=="string"||typeof a=="number"?a:""},bu=e=>{if(e==null||String(e).trim()==="")return null;let r=Number(e);return Number.isFinite(r)?r:null};function Mm(e){var o;let r=A1(e);if(!r.length)return[];if(r.length===1&&((o=r[0])!=null&&o["c:xVal"])){let d=Po(r[0]["c:xVal"]),f=Po(r[0]["c:yVal"]),c=[...new Set([...d.keys(),...f.keys()])].sort((l,g)=>l-g);return[c.map(l=>bu(d.get(l))),c.map(l=>bu(f.get(l)))]}let t=r.map((d,f)=>{let c=Lm(d==null?void 0:d["c:cat"]),l=Po(d==null?void 0:d["c:cat"]),g=Po(d==null?void 0:d["c:val"]);if(c)for(let m of g.keys())l.has(m)||l.set(m,gm(c,m));return{key:km(d,f),categories:l,numbers:g,levels:c}}),a=new Map,s=new Set;for(let d of t){for(let[f,c]of d.categories)a.has(f)||a.set(f,c),s.add(f);for(let f of d.numbers.keys())s.add(f)}let n=[...s].sort((d,f)=>d-f),i=Object.fromEntries(n.map((d,f)=>{var c;return[f,(c=a.get(d))!=null?c:String(d)]}));return t.map(d=>({key:d.key,values:n.map(f=>({x:String(f),y:bu(d.numbers.get(f))})),xlabels:i,...d.levels?{categoryLevels:d.levels.map(f=>Object.fromEntries(f))}:{}}))}function Em(e){return A1(e).map((r,t)=>{let a=Po(r==null?void 0:r["c:xVal"]),s=Po(r==null?void 0:r["c:yVal"]),n=[...new Set([...a.keys(),...s.keys()])].sort((i,o)=>i-o);return{key:km(r,t),values:n.map(i=>({x:bu(a.get(i)),y:bu(s.get(i))})),xlabels:{}}})}var yh=e=>e==null?[]:Array.isArray(e)?e:[e],Dn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},Lu=(e,r,t,a)=>{if(!/^\d+$/.test(String(e)))return a;let s=Number(e);return Number.isSafeInteger(s)&&s>=r&&s<=t?s:a};function K1(e){var s;if(!e)return;let r=n=>{let i=Dn(e,n);return i==null?void 0:i===!0||i===1||i==="1"||i==="true"},t=Dn(e,"c:dLblPos"),a=(s=e==null?void 0:e["c:numFmt"])==null?void 0:s.attrs;return{showValue:r("c:showVal"),showCategory:r("c:showCatName"),showSeries:r("c:showSerName"),showPercent:r("c:showPercent"),deleted:r("c:delete"),position:["bestFit","b","ctr","inBase","inEnd","l","outEnd","r","t"].includes(t)?t:void 0,formatCode:typeof(a==null?void 0:a.formatCode)=="string"?a.formatCode.slice(0,512):void 0,sourceLinked:(a==null?void 0:a.sourceLinked)==null?void 0:["1","true"].includes(String(a.sourceLinked)),...e["c:dLbl"]?{points:Object.fromEntries(yh(e["c:dLbl"]).flatMap(n=>{let i=Lu(Dn(n,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0);return i===void 0?[]:[[i,K1({...n,"c:dLbl":void 0})]]}))}:{}}}function Pm(e,r,t){let a=Dn(e,"c:grouping"),s=r==null?void 0:r["c:legend"],n=Dn(s,"c:legendPos"),i=o=>{if((o==null?void 0:o["a:noFill"])!=null)return"transparent";if(!(o!=null&&o["a:solidFill"]))return;let d=t==null?void 0:t(o["a:solidFill"]);return/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(d))?`#${d}`:void 0};return{grouping:["standard","clustered","stacked","percentStacked"].includes(a)?a:void 0,holeSize:Lu(Dn(e,"c:holeSize"),10,90,50),firstSliceAngle:Lu(Dn(e,"c:firstSliceAng"),0,360,0),gapWidth:Lu(Dn(e,"c:gapWidth"),0,500,void 0),overlap:/^-?\d+$/.test(String(Dn(e,"c:overlap")))&&Math.abs(Number(Dn(e,"c:overlap")))<=100?Number(Dn(e,"c:overlap")):void 0,legend:{show:s!=null,position:["l","r","t","b","tr"].includes(n)?n:"r"},series:yh(e==null?void 0:e["c:ser"]).map(o=>({color:i(o==null?void 0:o["c:spPr"]),...o!=null&&o["c:dLbls"]?{labels:K1(o["c:dLbls"])}:{},points:Object.fromEntries(yh(o==null?void 0:o["c:dPt"]).flatMap(d=>{let f=Lu(Dn(d,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0),c=i(d==null?void 0:d["c:spPr"]);return f==null||!c?[]:[[f,c]]}))}))}}var _0=e=>e==null?[]:Array.isArray(e)?e:[e],Nn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},gu=e=>{if(e==null||String(e).trim()==="")return;let r=Number(e);return Number.isFinite(r)?r:void 0},wh=e=>/^\d{1,10}$/.test(String(e))&&Number(e)<=4294967295?String(Number(e)):void 0,Sm=e=>e===!0||e===1||e==="1"||e==="true",J1=e=>typeof e=="string"||typeof e=="number"?String(e).slice(0,4096):"",Im=e=>{var s,n,i,o,d,f,c,l;let r=_0(e==null?void 0:e["a:p"])[0],t=(i=(s=r==null?void 0:r["a:pPr"])==null?void 0:s["a:defRPr"])!=null?i:(n=_0(r==null?void 0:r["a:r"])[0])==null?void 0:n["a:rPr"];if(!t)return;let a=gu((o=t.attrs)==null?void 0:o.sz);return{family:J1(((f=(d=t["a:latin"])==null?void 0:d.attrs)==null?void 0:f.typeface)||((l=(c=t["a:ea"])==null?void 0:c.attrs)==null?void 0:l.typeface))||void 0,sizePt:a>0&&a<=4e5?a/100:void 0}},Tm=e=>{var a,s;let r=e==null?void 0:e["c:tx"];return r!=null&&r["c:rich"]?_0(r["c:rich"]["a:p"]).map(n=>[..._0(n==null?void 0:n["a:r"]),..._0(n==null?void 0:n["a:fld"])].map(i=>J1(i==null?void 0:i["a:t"])).join("")).join(`
|
|
3
|
-
`).slice(0,4096)||void 0:_0((s=(a=r==null?void 0:r["c:strRef"])==null?void 0:a["c:strCache"])==null?void 0:s["c:pt"]).map(n=>J1(n==null?void 0:n["c:v"])).join(" ").slice(0,4096)||void 0};function ym(e,r){var d;let t=e==null?void 0:e["c:chartSpace"],a=t==null?void 0:t["c:chart"],s=a==null?void 0:a["c:plotArea"],n=new Set(["lineChart","barChart","areaChart","scatterChart","pieChart","pie3DChart","doughnutChart"]),i=[];for(let[f,c]of Object.entries(s||{})){let l=f.slice(2);if(!(!f.startsWith("c:")||!n.has(l)))for(let g of _0(c)){let m=Pm(g,a,r);m.labels=K1(g==null?void 0:g["c:dLbls"]),i.push({chartType:l,barDirection:["bar","col"].includes(Nn(g,"c:barDir"))?Nn(g,"c:barDir"):void 0,axisIds:_0(g==null?void 0:g["c:axId"]).map(p=>{var b;return wh((b=p==null?void 0:p.attrs)==null?void 0:b.val)}).filter(p=>p!==void 0),series:l==="scatterChart"?Em(g==null?void 0:g["c:ser"]):Mm(g==null?void 0:g["c:ser"]),options:m})}}let o=[];for(let[f,c]of[["c:catAx","category"],["c:valAx","value"],["c:dateAx","date"],["c:serAx","series"]])for(let l of _0(s==null?void 0:s[f])){let g=wh(Nn(l,"c:axId"));if(g===void 0)continue;let m=l==null?void 0:l["c:scaling"],p=Nn(l,"c:axPos"),b=(d=l==null?void 0:l["c:numFmt"])==null?void 0:d.attrs,k=gu(Nn(m,"c:logBase")),M=Nn(l,"c:crosses");o.push({id:g,kind:c,position:["l","r","t","b"].includes(p)?p:void 0,deleted:Sm(Nn(l,"c:delete")),reversed:Nn(m,"c:orientation")==="maxMin",min:gu(Nn(m,"c:min")),max:gu(Nn(m,"c:max")),logBase:k>=2&&k<=1e3?k:void 0,crossAxisId:wh(Nn(l,"c:crossAx")),crosses:["autoZero","min","max"].includes(M)?M:void 0,crossesAt:gu(Nn(l,"c:crossesAt")),numberFormat:b?{code:J1(b.formatCode).slice(0,512),sourceLinked:b.sourceLinked==null?void 0:Sm(b.sourceLinked)}:void 0,title:Tm(l==null?void 0:l["c:title"]),majorGridlines:(l==null?void 0:l["c:majorGridlines"])!=null,font:Im(l==null?void 0:l["c:txPr"])})}return{schemaVersion:1,groups:i,axes:o,title:Tm(a==null?void 0:a["c:title"]),font:Im(t==null?void 0:t["c:txPr"])}}function Q1(e){"@babel/helpers - typeof";return Q1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Q1(e)}var hb=/^\s+/,pb=/\s+$/;function Je(e,r){if(e=e||"",r=r||{},e instanceof Je)return e;if(!(this instanceof Je))return new Je(e,r);var t=vb(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=t.ok}Je.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),t,a,s,n,i,o;return t=r.r/255,a=r.g/255,s=r.b/255,t<=.03928?n=t/12.92:n=Math.pow((t+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},setAlpha:function(r){return this._a=Cm(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=Rm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=Rm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.v*100);return this._a==1?"hsv("+t+", "+a+"%, "+s+"%)":"hsva("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHsl:function(){var r=wm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=wm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.l*100);return this._a==1?"hsl("+t+", "+a+"%, "+s+"%)":"hsla("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHex:function(r){return Bm(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return Lb(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Cr(this._r,255)*100)+"%",g:Math.round(Cr(this._g,255)*100)+"%",b:Math.round(Cr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%)":"rgba("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Bb[Bm(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var t="#"+Dm(this._r,this._g,this._b,this._a),a=t,s=this._gradientType?"GradientType = 1, ":"";if(r){var n=Je(r);a="#"+Dm(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+t+",endColorstr="+a+")"},toString:function(r){var t=!!r;r=r||this._format;var a=!1,s=this._a<1&&this._a>=0,n=!t&&s&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return n?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(a=this.toRgbString()),r==="prgb"&&(a=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(a=this.toHexString()),r==="hex3"&&(a=this.toHexString(!0)),r==="hex4"&&(a=this.toHex8String(!0)),r==="hex8"&&(a=this.toHex8String()),r==="name"&&(a=this.toName()),r==="hsl"&&(a=this.toHslString()),r==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return Je(this.toString())},_applyModification:function(r,t){var a=r.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(Eb,arguments)},brighten:function(){return this._applyModification(Pb,arguments)},darken:function(){return this._applyModification(Sb,arguments)},desaturate:function(){return this._applyModification(gb,arguments)},saturate:function(){return this._applyModification(kb,arguments)},greyscale:function(){return this._applyModification(Mb,arguments)},spin:function(){return this._applyModification(Ib,arguments)},_applyCombination:function(r,t){return r.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(wb,arguments)},complement:function(){return this._applyCombination(Tb,arguments)},monochromatic:function(){return this._applyCombination(Rb,arguments)},splitcomplement:function(){return this._applyCombination(yb,arguments)},triad:function(){return this._applyCombination(Nm,[3])},tetrad:function(){return this._applyCombination(Nm,[4])}};Je.fromRatio=function(e,r){if(Q1(e)=="object"){var t={};for(var a in e)e.hasOwnProperty(a)&&(a==="a"?t[a]=e[a]:t[a]=ku(e[a]));e=t}return Je(e,r)};function vb(e){var r={r:0,g:0,b:0},t=1,a=null,s=null,n=null,i=!1,o=!1;return typeof e=="string"&&(e=Cb(e)),Q1(e)=="object"&&(b0(e.r)&&b0(e.g)&&b0(e.b)?(r=mb(e.r,e.g,e.b),i=!0,o=String(e.r).substr(-1)==="%"?"prgb":"rgb"):b0(e.h)&&b0(e.s)&&b0(e.v)?(a=ku(e.s),s=ku(e.v),r=bb(e.h,a,s),i=!0,o="hsv"):b0(e.h)&&b0(e.s)&&b0(e.l)&&(a=ku(e.s),n=ku(e.l),r=_b(e.h,a,n),i=!0,o="hsl"),e.hasOwnProperty("a")&&(t=e.a)),t=Cm(t),{ok:i,format:e.format||o,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:t}}function mb(e,r,t){return{r:Cr(e,255)*255,g:Cr(r,255)*255,b:Cr(t,255)*255}}function wm(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=(a+s)/2;if(a==s)n=i=0;else{var d=a-s;switch(i=o>.5?d/(2-a-s):d/(a+s),a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,l:o}}function _b(e,r,t){var a,s,n;e=Cr(e,360),r=Cr(r,100),t=Cr(t,100);function i(f,c,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?f+(c-f)*6*l:l<1/2?c:l<2/3?f+(c-f)*(2/3-l)*6:f}if(r===0)a=s=n=t;else{var o=t<.5?t*(1+r):t+r-t*r,d=2*t-o;a=i(d,o,e+1/3),s=i(d,o,e),n=i(d,o,e-1/3)}return{r:a*255,g:s*255,b:n*255}}function Rm(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=a,d=a-s;if(i=a===0?0:d/a,a==s)n=0;else{switch(a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,v:o}}function bb(e,r,t){e=Cr(e,360)*6,r=Cr(r,100),t=Cr(t,100);var a=Math.floor(e),s=e-a,n=t*(1-r),i=t*(1-s*r),o=t*(1-(1-s)*r),d=a%6,f=[t,i,n,n,o,t][d],c=[o,t,t,i,n,n][d],l=[n,n,o,t,t,i][d];return{r:f*255,g:c*255,b:l*255}}function Bm(e,r,t,a){var s=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function Lb(e,r,t,a,s){var n=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16)),Mi(Om(a))];return s&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}function Dm(e,r,t,a){var s=[Mi(Om(a)),Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return s.join("")}Je.equals=function(e,r){return!e||!r?!1:Je(e).toRgbString()==Je(r).toRgbString()};Je.random=function(){return Je.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function gb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s-=r/100,t.s=F1(t.s),Je(t)}function kb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s+=r/100,t.s=F1(t.s),Je(t)}function Mb(e){return Je(e).desaturate(100)}function Eb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l+=r/100,t.l=F1(t.l),Je(t)}function Pb(e,r){r=r===0?0:r||10;var t=Je(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(r/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(r/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(r/100)))),Je(t)}function Sb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l-=r/100,t.l=F1(t.l),Je(t)}function Ib(e,r){var t=Je(e).toHsl(),a=(t.h+r)%360;return t.h=a<0?360+a:a,Je(t)}function Tb(e){var r=Je(e).toHsl();return r.h=(r.h+180)%360,Je(r)}function Nm(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=Je(e).toHsl(),a=[Je(e)],s=360/r,n=1;n<r;n++)a.push(Je({h:(t.h+n*s)%360,s:t.s,l:t.l}));return a}function yb(e){var r=Je(e).toHsl(),t=r.h;return[Je(e),Je({h:(t+72)%360,s:r.s,l:r.l}),Je({h:(t+216)%360,s:r.s,l:r.l})]}function wb(e,r,t){r=r||6,t=t||30;var a=Je(e).toHsl(),s=360/t,n=[Je(e)];for(a.h=(a.h-(s*r>>1)+720)%360;--r;)a.h=(a.h+s)%360,n.push(Je(a));return n}function Rb(e,r){r=r||6;for(var t=Je(e).toHsv(),a=t.h,s=t.s,n=t.v,i=[],o=1/r;r--;)i.push(Je({h:a,s,v:n})),n=(n+o)%1;return i}Je.mix=function(e,r,t){t=t===0?0:t||50;var a=Je(e).toRgb(),s=Je(r).toRgb(),n=t/100,i={r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a};return Je(i)};Je.readability=function(e,r){var t=Je(e),a=Je(r);return(Math.max(t.getLuminance(),a.getLuminance())+.05)/(Math.min(t.getLuminance(),a.getLuminance())+.05)};Je.isReadable=function(e,r,t){var a=Je.readability(e,r),s,n;switch(n=!1,s=Ob(t),s.level+s.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7;break}return n};Je.mostReadable=function(e,r,t){var a=null,s=0,n,i,o,d;t=t||{},i=t.includeFallbackColors,o=t.level,d=t.size;for(var f=0;f<r.length;f++)n=Je.readability(e,r[f]),n>s&&(s=n,a=Je(r[f]));return Je.isReadable(e,a,{level:o,size:d})||!i?a:(t.includeFallbackColors=!1,Je.mostReadable(e,["#fff","#000"],t))};var Rh=Je.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Bb=Je.hexNames=Db(Rh);function Db(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}function Cm(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Cr(e,r){Nb(e)&&(e="100%");var t=zb(e);return e=Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function F1(e){return Math.min(1,Math.max(0,e))}function kn(e){return parseInt(e,16)}function Nb(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function zb(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Mi(e){return e.length==1?"0"+e:""+e}function ku(e){return e<=1&&(e=e*100+"%"),e}function Om(e){return Math.round(parseFloat(e)*255).toString(16)}function zm(e){return kn(e)/255}var ki=(function(){var e="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",t="(?:"+r+")|(?:"+e+")",a="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",s="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function b0(e){return!!ki.CSS_UNIT.exec(e)}function Cb(e){e=e.replace(hb,"").replace(pb,"").toLowerCase();var r=!1;if(Rh[e])e=Rh[e],r=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t;return(t=ki.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=ki.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=ki.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=ki.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=ki.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=ki.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=ki.hex8.exec(e))?{r:kn(t[1]),g:kn(t[2]),b:kn(t[3]),a:zm(t[4]),format:r?"name":"hex8"}:(t=ki.hex6.exec(e))?{r:kn(t[1]),g:kn(t[2]),b:kn(t[3]),format:r?"name":"hex"}:(t=ki.hex4.exec(e))?{r:kn(t[1]+""+t[1]),g:kn(t[2]+""+t[2]),b:kn(t[3]+""+t[3]),a:zm(t[4]+""+t[4]),format:r?"name":"hex8"}:(t=ki.hex3.exec(e))?{r:kn(t[1]+""+t[1]),g:kn(t[2]+""+t[2]),b:kn(t[3]+""+t[3]),format:r?"name":"hex"}:!1}function Ob(e){var r,t;return e=e||{level:"AA",size:"small"},r=(e.level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),t!=="small"&&t!=="large"&&(t="small"),{level:r,size:t}}function xm(e,r){"txml";r=r||{};var t=r.pos||0,a=!!r.keepComments,s=!!r.keepWhitespace,n="<",i=60,o=">",d=62,f=45,c=47,l=33,g=39,m=34,p=91,b=93;function k(Y){for(var T=[];e[t];)if(e.charCodeAt(t)==i){if(e.charCodeAt(t+1)===c){var O=t+2;t=e.indexOf(o,t);var P=e.substring(O,t);if(P.indexOf(Y)==-1){var J=e.substring(0,t).split(`
|
|
1
|
+
var ub=Object.create;var fm=Object.defineProperty;var cb=Object.getOwnPropertyDescriptor;var db=Object.getOwnPropertyNames;var hb=Object.getPrototypeOf,pb=Object.prototype.hasOwnProperty;var Eo=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,t)=>(typeof require!="undefined"?require:r)[t]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var la=(e,r)=>()=>{try{return r||e((r={exports:{}}).exports,r),r.exports}catch(t){throw r=0,t}};var vb=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of db(r))!pb.call(e,s)&&s!==t&&fm(e,s,{get:()=>r[s],enumerable:!(a=cb(r,s))||a.enumerable});return e};var Ph=(e,r,t)=>(t=e!=null?ub(hb(e)):{},vb(r||!e||!e.__esModule?fm(t,"default",{value:e,enumerable:!0}):t,e));var um=la((lm,Sh)=>{(function(e){typeof lm=="object"&&typeof Sh!="undefined"?Sh.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).JSZip=e()})(function(){return(function e(r,t,a){function s(o,d){if(!t[o]){if(!r[o]){var f=typeof Eo=="function"&&Eo;if(!d&&f)return f(o,!0);if(n)return n(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var l=t[o]={exports:{}};r[o][0].call(l.exports,function(g){var m=r[o][1][g];return s(m||g)},l,l.exports,e,r,t,a)}return t[o].exports}for(var n=typeof Eo=="function"&&Eo,i=0;i<a.length;i++)s(a[i]);return s})({1:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(i){for(var o,d,f,c,l,g,m,p=[],b=0,k=i.length,M=k,v=a.getTypeOf(i)!=="string";b<i.length;)M=k-b,f=v?(o=i[b++],d=b<k?i[b++]:0,b<k?i[b++]:0):(o=i.charCodeAt(b++),d=b<k?i.charCodeAt(b++):0,b<k?i.charCodeAt(b++):0),c=o>>2,l=(3&o)<<4|d>>4,g=1<M?(15&d)<<2|f>>6:64,m=2<M?63&f:64,p.push(n.charAt(c)+n.charAt(l)+n.charAt(g)+n.charAt(m));return p.join("")},t.decode=function(i){var o,d,f,c,l,g,m=0,p=0,b="data:";if(i.substr(0,b.length)===b)throw new Error("Invalid base64 input, it looks like a data url.");var k,M=3*(i=i.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(i.charAt(i.length-1)===n.charAt(64)&&M--,i.charAt(i.length-2)===n.charAt(64)&&M--,M%1!=0)throw new Error("Invalid base64 input, bad content length.");for(k=s.uint8array?new Uint8Array(0|M):new Array(0|M);m<i.length;)o=n.indexOf(i.charAt(m++))<<2|(c=n.indexOf(i.charAt(m++)))>>4,d=(15&c)<<4|(l=n.indexOf(i.charAt(m++)))>>2,f=(3&l)<<6|(g=n.indexOf(i.charAt(m++))),k[p++]=o,l!==64&&(k[p++]=d),g!==64&&(k[p++]=f);return k}},{"./support":30,"./utils":32}],2:[function(e,r,t){"use strict";var a=e("./external"),s=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function o(d,f,c,l,g){this.compressedSize=d,this.uncompressedSize=f,this.crc32=c,this.compression=l,this.compressedContent=g}o.prototype={getContentWorker:function(){var d=new s(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),f=this;return d.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(d,f,c){return d.pipe(new n).pipe(new i("uncompressedSize")).pipe(f.compressWorker(c)).pipe(new i("compressedSize")).withStreamInfo("compression",f)},r.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,r,t){"use strict";var a=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,r,t){"use strict";var a=e("./utils"),s=(function(){for(var n,i=[],o=0;o<256;o++){n=o;for(var d=0;d<8;d++)n=1&n?3988292384^n>>>1:n>>>1;i[o]=n}return i})();r.exports=function(n,i){return n!==void 0&&n.length?a.getTypeOf(n)!=="string"?(function(o,d,f,c){var l=s,g=c+f;o^=-1;for(var m=c;m<g;m++)o=o>>>8^l[255&(o^d[m])];return-1^o})(0|i,n,n.length,0):(function(o,d,f,c){var l=s,g=c+f;o^=-1;for(var m=c;m<g;m++)o=o>>>8^l[255&(o^d.charCodeAt(m))];return-1^o})(0|i,n,n.length,0):0}},{"./utils":32}],5:[function(e,r,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,r,t){"use strict";var a=null;a=typeof Promise!="undefined"?Promise:e("lie"),r.exports={Promise:a}},{lie:37}],7:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",s=e("pako"),n=e("./utils"),i=e("./stream/GenericWorker"),o=a?"uint8array":"array";function d(f,c){i.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=c,this.meta={}}t.magic="\b\0",n.inherits(d,i),d.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(o,f.data),!1)},d.prototype.flush=function(){i.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(c){f.push({data:c,meta:f.meta})}},t.compressWorker=function(f){return new d("Deflate",f)},t.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,r,t){"use strict";function a(l,g){var m,p="";for(m=0;m<g;m++)p+=String.fromCharCode(255&l),l>>>=8;return p}function s(l,g,m,p,b,k){var M,v,_=l.file,y=l.compression,I=k!==o.utf8encode,C=n.transformTo("string",k(_.name)),R=n.transformTo("string",o.utf8encode(_.name)),B=_.comment,Z=n.transformTo("string",k(B)),T=n.transformTo("string",o.utf8encode(B)),O=R.length!==_.name.length,P=T.length!==B.length,J="",re="",Q="",ae=_.dir,A=_.date,V={crc32:0,compressedSize:0,uncompressedSize:0};g&&!m||(V.crc32=l.crc32,V.compressedSize=l.compressedSize,V.uncompressedSize=l.uncompressedSize);var H=0;g&&(H|=8),I||!O&&!P||(H|=2048);var X=0,ge=0;ae&&(X|=16),b==="UNIX"?(ge=798,X|=(function(u,h){var De=u;return u||(De=h?16893:33204),(65535&De)<<16})(_.unixPermissions,ae)):(ge=20,X|=(function(u){return 63&(u||0)})(_.dosPermissions)),M=A.getUTCHours(),M<<=6,M|=A.getUTCMinutes(),M<<=5,M|=A.getUTCSeconds()/2,v=A.getUTCFullYear()-1980,v<<=4,v|=A.getUTCMonth()+1,v<<=5,v|=A.getUTCDate(),O&&(re=a(1,1)+a(d(C),4)+R,J+="up"+a(re.length,2)+re),P&&(Q=a(1,1)+a(d(Z),4)+T,J+="uc"+a(Q.length,2)+Q);var me="";return me+=`
|
|
2
|
+
\0`,me+=a(H,2),me+=y.magic,me+=a(M,2),me+=a(v,2),me+=a(V.crc32,4),me+=a(V.compressedSize,4),me+=a(V.uncompressedSize,4),me+=a(C.length,2),me+=a(J.length,2),{fileRecord:f.LOCAL_FILE_HEADER+me+C+J,dirRecord:f.CENTRAL_FILE_HEADER+a(ge,2)+me+a(Z.length,2)+"\0\0\0\0"+a(X,4)+a(p,4)+C+J+Z}}var n=e("../utils"),i=e("../stream/GenericWorker"),o=e("../utf8"),d=e("../crc32"),f=e("../signature");function c(l,g,m,p){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=m,this.encodeFileName=p,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,i),c.prototype.push=function(l){var g=l.meta.percent||0,m=this.entriesCount,p=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,i.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:m?(g+100*(m-p-1))/m:100}}))},c.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var g=this.streamFiles&&!l.file.dir;if(g){var m=s(l,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(l){this.accumulate=!1;var g=this.streamFiles&&!l.file.dir,m=s(l,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),g)this.push({data:(function(p){return f.DATA_DESCRIPTOR+a(p.crc32,4)+a(p.compressedSize,4)+a(p.uncompressedSize,4)})(l),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var l=this.bytesWritten,g=0;g<this.dirRecords.length;g++)this.push({data:this.dirRecords[g],meta:{percent:100}});var m=this.bytesWritten-l,p=(function(b,k,M,v,_){var y=n.transformTo("string",_(v));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(b,2)+a(b,2)+a(k,4)+a(M,4)+a(y.length,2)+y})(this.dirRecords.length,m,l,this.zipComment,this.encodeFileName);this.push({data:p,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(l){this._sources.push(l);var g=this;return l.on("data",function(m){g.processChunk(m)}),l.on("end",function(){g.closedSource(g.previous.streamInfo),g._sources.length?g.prepareNextSource():g.end()}),l.on("error",function(m){g.error(m)}),this},c.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(l){var g=this._sources;if(!i.prototype.error.call(this,l))return!1;for(var m=0;m<g.length;m++)try{g[m].error(l)}catch{}return!0},c.prototype.lock=function(){i.prototype.lock.call(this);for(var l=this._sources,g=0;g<l.length;g++)l[g].lock()},r.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,r,t){"use strict";var a=e("../compressions"),s=e("./ZipFileWorker");t.generateWorker=function(n,i,o){var d=new s(i.streamFiles,o,i.platform,i.encodeFileName),f=0;try{n.forEach(function(c,l){f++;var g=(function(k,M){var v=k||M,_=a[v];if(!_)throw new Error(v+" is not a valid compression method !");return _})(l.options.compression,i.compression),m=l.options.compressionOptions||i.compressionOptions||{},p=l.dir,b=l.date;l._compressWorker(g,m).withStreamInfo("file",{name:c,dir:p,date:b,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(d)}),d.entriesCount=f}catch(c){d.error(c)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,r,t){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var n in this)typeof this[n]!="function"&&(s[n]=this[n]);return s}}(a.prototype=e("./object")).loadAsync=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.version="3.10.2",a.loadAsync=function(s,n){return new a().loadAsync(s,n)},a.external=e("./external"),r.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./external"),n=e("./utf8"),i=e("./zipEntries"),o=e("./stream/Crc32Probe"),d=e("./nodejsUtils");function f(c){return new s.Promise(function(l,g){var m=c.decompressed.getContentWorker().pipe(new o);m.on("error",function(p){g(p)}).on("end",function(){m.streamInfo.crc32!==c.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}r.exports=function(c,l){var g=this;return l=a.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),d.isNode&&d.isStream(c)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",c,!0,l.optimizedBinaryString,l.base64).then(function(m){var p=new i(l);return p.load(m),p}).then(function(m){var p=[s.Promise.resolve(m)],b=m.files;if(l.checkCRC32)for(var k=0;k<b.length;k++)p.push(f(b[k]));return s.Promise.all(p)}).then(function(m){for(var p=m.shift(),b=p.files,k=0;k<b.length;k++){var M=b[k],v=M.fileNameStr,_=a.resolve(M.fileNameStr);g.file(_,M.decompressed,{binary:!0,optimizedBinaryString:!0,date:M.date,dir:M.dir,comment:M.fileCommentStr.length?M.fileCommentStr:null,unixPermissions:M.unixPermissions,dosPermissions:M.dosPermissions,createFolders:l.createFolders}),M.dir||(g.file(_).unsafeOriginalName=v)}return p.zipComment.length&&(g.comment=p.zipComment),g})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../stream/GenericWorker");function n(i,o){s.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(o)}a.inherits(n,s),n.prototype._bindStream=function(i){var o=this;(this._stream=i).pause(),i.on("data",function(d){o.push({data:d,meta:{percent:0}})}).on("error",function(d){o.isPaused?this.generatedError=d:o.error(d)}).on("end",function(){o.isPaused?o._upstreamEnded=!0:o.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,r,t){"use strict";var a=e("readable-stream").Readable;function s(n,i,o){a.call(this,i),this._helper=n;var d=this;n.on("data",function(f,c){d.push(f)||d._helper.pause(),o&&o(c)}).on("error",function(f){d.emit("error",f)}).on("end",function(){d.push(null)})}e("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,r,t){"use strict";r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(e,r,t){"use strict";function a(_,y,I){var C,R=n.getTypeOf(y),B=n.extend(I||{},d);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(_=b(_)),B.createFolders&&(C=p(_))&&k.call(this,C,!0);var Z=R==="string"&&B.binary===!1&&B.base64===!1;I&&I.binary!==void 0||(B.binary=!Z),(y instanceof f&&y.uncompressedSize===0||B.dir||!y||y.length===0)&&(B.base64=!1,B.binary=!0,y="",B.compression="STORE",R="string");var T=null;T=y instanceof f||y instanceof i?y:g.isNode&&g.isStream(y)?new m(_,y):n.prepareContent(_,y,B.binary,B.optimizedBinaryString,B.base64);var O=new c(_,T,B);this.files[_]=O}var s=e("./utf8"),n=e("./utils"),i=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),d=e("./defaults"),f=e("./compressedObject"),c=e("./zipObject"),l=e("./generate"),g=e("./nodejsUtils"),m=e("./nodejs/NodejsStreamInputAdapter"),p=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var y=_.lastIndexOf("/");return 0<y?_.substring(0,y):""},b=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},k=function(_,y){return y=y!==void 0?y:d.createFolders,_=b(_),this.files[_]||a.call(this,_,null,{dir:!0,createFolders:y}),this.files[_]};function M(_){return Object.prototype.toString.call(_)==="[object RegExp]"}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var y,I,C;for(y in this.files)C=this.files[y],(I=y.slice(this.root.length,y.length))&&y.slice(0,this.root.length)===this.root&&_(I,C)},filter:function(_){var y=[];return this.forEach(function(I,C){_(I,C)&&y.push(C)}),y},file:function(_,y,I){if(arguments.length!==1)return _=this.root+_,a.call(this,_,y,I),this;if(M(_)){var C=_;return this.filter(function(B,Z){return!Z.dir&&C.test(B)})}var R=this.files[this.root+_];return R&&!R.dir?R:null},folder:function(_){if(!_)return this;if(M(_))return this.filter(function(R,B){return B.dir&&_.test(R)});var y=this.root+_,I=k.call(this,y),C=this.clone();return C.root=I.name,C},remove:function(_){_=this.root+_;var y=this.files[_];if(y||(_.slice(-1)!=="/"&&(_+="/"),y=this.files[_]),y&&!y.dir)delete this.files[_];else for(var I=this.filter(function(R,B){return B.name.slice(0,_.length)===_}),C=0;C<I.length;C++)delete this.files[I[C].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var y,I={};try{if((I=n.extend(_||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=I.type.toLowerCase(),I.compression=I.compression.toUpperCase(),I.type==="binarystring"&&(I.type="string"),!I.type)throw new Error("No output type specified.");n.checkSupport(I.type),I.platform!=="darwin"&&I.platform!=="freebsd"&&I.platform!=="linux"&&I.platform!=="sunos"||(I.platform="UNIX"),I.platform==="win32"&&(I.platform="DOS");var C=I.comment||this.comment||"";y=l.generateWorker(this,I,C)}catch(R){(y=new i("error")).error(R)}return new o(y,I.type||"string",I.mimeType)},generateAsync:function(_,y){return this.generateInternalStream(_).accumulate(y)},generateNodeStream:function(_,y){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(y)}};r.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,r,t){"use strict";r.exports=e("stream")},{stream:void 0}],17:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n);for(var i=0;i<this.data.length;i++)n[i]=255&n[i]}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data[this.zero+n]},s.prototype.lastIndexOfSignature=function(n){for(var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.length-4;0<=c;--c)if(this.data[c]===i&&this.data[c+1]===o&&this.data[c+2]===d&&this.data[c+3]===f)return c-this.zero;return-1},s.prototype.readAndCheckSignature=function(n){var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.readData(4);return i===c[0]&&o===c[1]&&d===c[2]&&f===c[3]},s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,r,t){"use strict";var a=e("../utils");function s(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var i,o=0;for(this.checkOffset(n),i=this.index+n-1;i>=this.index;i--)o=(o<<8)+this.byteAt(i);return this.index+=n,o},readString:function(n){return a.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},r.exports=s},{"../utils":32}],19:[function(e,r,t){"use strict";var a=e("./Uint8ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},s.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},s.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,r,t){"use strict";var a=e("./ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../support"),n=e("./ArrayReader"),i=e("./StringReader"),o=e("./NodeBufferReader"),d=e("./Uint8ArrayReader");r.exports=function(f){var c=a.getTypeOf(f);return a.checkSupport(c),c!=="string"||s.uint8array?c==="nodebuffer"?new o(f):s.uint8array?new d(a.transformTo("uint8array",f)):new n(a.transformTo("array",f)):new i(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,r,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../utils");function n(i){a.call(this,"ConvertWorker to "+i),this.destType=i}s.inherits(n,a),n.prototype.processChunk=function(i){this.push({data:s.transformTo(this.destType,i.data),meta:i.meta})},r.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,a),n.prototype.processChunk=function(i){this.streamInfo.crc32=s(i.data,this.streamInfo.crc32||0),this.push(i)},r.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}a.inherits(n,s),n.prototype.processChunk=function(i){if(i){var o=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=o+i.data.length}s.prototype.processChunk.call(this,i)},r.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataWorker");var o=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(d){o.dataIsReady=!0,o.data=d,o.max=d&&d.length||0,o.type=a.getTypeOf(d),o.isPaused||o._tickAndRepeat()},function(d){o.error(d)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,o=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,o);break;case"uint8array":i=this.data.subarray(this.index,o);break;case"array":case"nodebuffer":i=this.data.slice(this.index,o)}return this.index=o,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,r,t){"use strict";function a(s){this.name=s||"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}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,n){return this._listeners[s].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,n){if(this._listeners[s])for(var i=0;i<this._listeners[s].length;i++)this._listeners[s][i].call(this,n)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var n=this;return s.on("data",function(i){n.processChunk(i)}),s.on("end",function(){n.end()}),s.on("error",function(i){n.error(i)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,n){return this.extraStreamInfo[s]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=a},{}],29:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./ConvertWorker"),n=e("./GenericWorker"),i=e("../base64"),o=e("../support"),d=e("../external"),f=null;if(o.nodestream)try{f=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function c(g,m){return new d.Promise(function(p,b){var k=[],M=g._internalType,v=g._outputType,_=g._mimeType;g.on("data",function(y,I){k.push(y),m&&m(I)}).on("error",function(y){k=[],b(y)}).on("end",function(){try{var y=(function(I,C,R){switch(I){case"blob":return a.newBlob(a.transformTo("arraybuffer",C),R);case"base64":return i.encode(C);default:return a.transformTo(I,C)}})(v,(function(I,C){var R,B=0,Z=null,T=0;for(R=0;R<C.length;R++)T+=C[R].length;switch(I){case"string":return C.join("");case"array":return Array.prototype.concat.apply([],C);case"uint8array":for(Z=new Uint8Array(T),R=0;R<C.length;R++)Z.set(C[R],B),B+=C[R].length;return Z;case"nodebuffer":return Buffer.concat(C);default:throw new Error("concat : unsupported type '"+I+"'")}})(M,k),_);p(y)}catch(I){b(I)}k=[]}).resume()})}function l(g,m,p){var b=m;switch(m){case"blob":case"arraybuffer":b="uint8array";break;case"base64":b="string"}try{this._internalType=b,this._outputType=m,this._mimeType=p,a.checkSupport(b),this._worker=g.pipe(new s(b)),g.lock()}catch(k){this._worker=new n("error"),this._worker.error(k)}}l.prototype={accumulate:function(g){return c(this,g)},on:function(g,m){var p=this;return g==="data"?this._worker.on(g,function(b){m.call(p,b.data,b.meta)}):this._worker.on(g,function(){a.delay(m,arguments,p)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(g){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},g)}},r.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",t.nodebuffer=typeof Buffer!="undefined",t.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")t.blob=!1;else{var a=new ArrayBuffer(0);try{t.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),t.blob=s.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,r,t){"use strict";for(var a=e("./utils"),s=e("./support"),n=e("./nodejsUtils"),i=e("./stream/GenericWorker"),o=new Array(256),d=0;d<256;d++)o[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;o[254]=o[254]=1;function f(){i.call(this,"utf-8 decode"),this.leftOver=null}function c(){i.call(this,"utf-8 encode")}t.utf8encode=function(l){return s.nodebuffer?n.newBufferFrom(l,"utf-8"):(function(g){var m,p,b,k,M,v=g.length,_=0;for(k=0;k<v;k++)(64512&(p=g.charCodeAt(k)))==55296&&k+1<v&&(64512&(b=g.charCodeAt(k+1)))==56320&&(p=65536+(p-55296<<10)+(b-56320),k++),_+=p<128?1:p<2048?2:p<65536?3:4;for(m=s.uint8array?new Uint8Array(_):new Array(_),k=M=0;M<_;k++)(64512&(p=g.charCodeAt(k)))==55296&&k+1<v&&(64512&(b=g.charCodeAt(k+1)))==56320&&(p=65536+(p-55296<<10)+(b-56320),k++),p<128?m[M++]=p:(p<2048?m[M++]=192|p>>>6:(p<65536?m[M++]=224|p>>>12:(m[M++]=240|p>>>18,m[M++]=128|p>>>12&63),m[M++]=128|p>>>6&63),m[M++]=128|63&p);return m})(l)},t.utf8decode=function(l){return s.nodebuffer?a.transformTo("nodebuffer",l).toString("utf-8"):(function(g){var m,p,b,k,M=g.length,v=new Array(2*M);for(m=p=0;m<M;)if((b=g[m++])<128)v[p++]=b;else if(4<(k=o[b]))v[p++]=65533,m+=k-1;else{for(b&=k===2?31:k===3?15:7;1<k&&m<M;)b=b<<6|63&g[m++],k--;1<k?v[p++]=65533:b<65536?v[p++]=b:(b-=65536,v[p++]=55296|b>>10&1023,v[p++]=56320|1023&b)}return v.length!==p&&(v.subarray?v=v.subarray(0,p):v.length=p),a.applyFromCharCode(v)})(l=a.transformTo(s.uint8array?"uint8array":"array",l))},a.inherits(f,i),f.prototype.processChunk=function(l){var g=a.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var m=g;(g=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),g.set(m,this.leftOver.length)}else g=this.leftOver.concat(g);this.leftOver=null}var p=(function(k,M){var v;for((M=M||k.length)>k.length&&(M=k.length),v=M-1;0<=v&&(192&k[v])==128;)v--;return v<0||v===0?M:v+o[k[v]]>M?v:M})(g),b=g;p!==g.length&&(s.uint8array?(b=g.subarray(0,p),this.leftOver=g.subarray(p,g.length)):(b=g.slice(0,p),this.leftOver=g.slice(p,g.length))),this.push({data:t.utf8decode(b),meta:l.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=f,a.inherits(c,i),c.prototype.processChunk=function(l){this.push({data:t.utf8encode(l.data),meta:l.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,t){"use strict";var a=e("./support"),s=e("./base64"),n=e("./nodejsUtils"),i=e("./external");function o(m){return m}function d(m,p){for(var b=0;b<m.length;++b)p[b]=255&m.charCodeAt(b);return p}e("setimmediate"),t.newBlob=function(m,p){t.checkSupport("blob");try{return new Blob([m],{type:p})}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return b.append(m),b.getBlob(p)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,p,b){var k=[],M=0,v=m.length;if(v<=b)return String.fromCharCode.apply(null,m);for(;M<v;)p==="array"||p==="nodebuffer"?k.push(String.fromCharCode.apply(null,m.slice(M,Math.min(M+b,v)))):k.push(String.fromCharCode.apply(null,m.subarray(M,Math.min(M+b,v)))),M+=b;return k.join("")},stringifyByChar:function(m){for(var p="",b=0;b<m.length;b++)p+=String.fromCharCode(m[b]);return p},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function c(m){var p=65536,b=t.getTypeOf(m),k=!0;if(b==="uint8array"?k=f.applyCanBeUsed.uint8array:b==="nodebuffer"&&(k=f.applyCanBeUsed.nodebuffer),k)for(;1<p;)try{return f.stringifyByChunk(m,b,p)}catch{p=Math.floor(p/2)}return f.stringifyByChar(m)}function l(m,p){for(var b=0;b<m.length;b++)p[b]=m[b];return p}t.applyFromCharCode=c;var g={};g.string={string:o,array:function(m){return d(m,new Array(m.length))},arraybuffer:function(m){return g.string.uint8array(m).buffer},uint8array:function(m){return d(m,new Uint8Array(m.length))},nodebuffer:function(m){return d(m,n.allocBuffer(m.length))}},g.array={string:c,array:o,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(m)}},g.arraybuffer={string:function(m){return c(new Uint8Array(m))},array:function(m){return l(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:o,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return n.newBufferFrom(new Uint8Array(m))}},g.uint8array={string:c,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:o,nodebuffer:function(m){return n.newBufferFrom(m)}},g.nodebuffer={string:c,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return g.nodebuffer.uint8array(m).buffer},uint8array:function(m){return l(m,new Uint8Array(m.length))},nodebuffer:o},t.transformTo=function(m,p){if(p=p||"",!m)return p;t.checkSupport(m);var b=t.getTypeOf(p);return g[b][m](p)},t.resolve=function(m){for(var p=m.split("/"),b=[],k=0;k<p.length;k++){var M=p[k];M==="."||M===""&&k!==0&&k!==p.length-1||(M===".."?b.pop():b.push(M))}return b.join("/")},t.getTypeOf=function(m){if(typeof m=="string")return"string";var p=Object.prototype.toString.call(m);return p==="[object Array]"?"array":a.nodebuffer&&n.isBuffer(m)?"nodebuffer":a.uint8array&&p==="[object Uint8Array]"?"uint8array":a.arraybuffer&&p==="[object ArrayBuffer]"?"arraybuffer":void 0},t.checkSupport=function(m){if(!a[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(m){var p,b,k="";for(b=0;b<(m||"").length;b++)k+="\\x"+((p=m.charCodeAt(b))<16?"0":"")+p.toString(16).toUpperCase();return k},t.delay=function(m,p,b){setImmediate(function(){m.apply(b||null,p||[])})},t.inherits=function(m,p){function b(){}b.prototype=p.prototype,m.prototype=new b},t.extend=function(){var m,p,b={};for(m=0;m<arguments.length;m++)for(p in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],p)&&b[p]===void 0&&(b[p]=arguments[m][p]);return b},t.prepareContent=function(m,p,b,k,M){return i.Promise.resolve(p).then(function(v){return a.blob&&(v instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(v))!==-1)?Blob.prototype.arrayBuffer!==void 0?v.arrayBuffer():typeof FileReader!="undefined"?new i.Promise(function(_,y){var I=new FileReader;I.onload=function(C){_(C.target.result)},I.onerror=function(C){y(C.target.error)},I.readAsArrayBuffer(v)}):i.Promise.reject(new Error(m+" is a Blob, but we have no way of reading it.")):v}).then(function(v){var _=t.getTypeOf(v);return _?(_==="arraybuffer"?v=t.transformTo("uint8array",v):_==="string"&&(M?v=s.decode(v):b&&k!==!0&&(v=(function(y){return d(y,a.uint8array?new Uint8Array(y.length):new Array(y.length))})(v))),v):i.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./signature"),i=e("./zipEntry"),o=e("./support");function d(f){this.files=[],this.loadOptions=f}d.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var c=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(c)+", expected "+s.pretty(f)+")")}},isSignature:function(f,c){var l=this.reader.index;this.reader.setIndex(f);var g=this.reader.readString(4)===c;return this.reader.setIndex(l),g},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),c=o.uint8array?"uint8array":"array",l=s.transformTo(c,f);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,c,l,g=this.zip64EndOfCentralSize-44;0<g;)f=this.reader.readInt(2),c=this.reader.readInt(4),l=this.reader.readData(c),this.zip64ExtensibleData[f]={id:f,length:c,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,c;for(f=0;f<this.files.length;f++)c=this.files[f],this.reader.setIndex(c.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),c.readLocalPart(this.reader),c.handleUTF8(),c.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(f=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var c=f;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var g=c-l;if(0<g)this.isSignature(c,n.CENTRAL_FILE_HEADER)||(this.reader.zero=g);else if(g<0)throw new Error("Corrupted zip: missing "+Math.abs(g)+" bytes.")},prepareReader:function(f){this.reader=a(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./compressedObject"),i=e("./crc32"),o=e("./utf8"),d=e("./compressions"),f=e("./support");function c(l,g){this.options=l,this.loadOptions=g}c.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var g,m;if(l.skip(22),this.fileNameLength=l.readInt(2),m=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((g=(function(p){for(var b in d)if(Object.prototype.hasOwnProperty.call(d,b)&&d[b].magic===p)return d[b];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,g,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var g=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(g),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var g,m,p,b=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<b;)g=l.readInt(2),m=l.readInt(2),p=l.readData(m),this.extraFields[g]={id:g,length:m,value:p};l.setIndex(b)},handleUTF8:function(){var l=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var g=this.findExtraFieldUnicodePath();if(g!==null)this.fileNameStr=g;else{var m=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var p=this.findExtraFieldUnicodeComment();if(p!==null)this.fileCommentStr=p;else{var b=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(b)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var g=a(l.value);return g.readInt(1)!==1||i(this.fileName)!==g.readInt(4)?null:o.utf8decode(g.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var g=a(l.value);return g.readInt(1)!==1||i(this.fileComment)!==g.readInt(4)?null:o.utf8decode(g.readData(l.length-5))}return null}},r.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,r,t){"use strict";function a(g,m,p){this.name=g,this.dir=p.dir,this.date=p.date,this.comment=p.comment,this.unixPermissions=p.unixPermissions,this.dosPermissions=p.dosPermissions,this._data=m,this._dataBinary=p.binary,this.options={compression:p.compression,compressionOptions:p.compressionOptions}}var s=e("./stream/StreamHelper"),n=e("./stream/DataWorker"),i=e("./utf8"),o=e("./compressedObject"),d=e("./stream/GenericWorker");a.prototype={internalStream:function(g){var m=null,p="string";try{if(!g)throw new Error("No output type specified.");var b=(p=g.toLowerCase())==="string"||p==="text";p!=="binarystring"&&p!=="text"||(p="string"),m=this._decompressWorker();var k=!this._dataBinary;k&&!b&&(m=m.pipe(new i.Utf8EncodeWorker)),!k&&b&&(m=m.pipe(new i.Utf8DecodeWorker))}catch(M){(m=new d("error")).error(M)}return new s(m,p,"")},async:function(g,m){return this.internalStream(g).accumulate(m)},nodeStream:function(g,m){return this.internalStream(g||"nodebuffer").toNodejsStream(m)},_compressWorker:function(g,m){if(this._data instanceof o&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var p=this._decompressWorker();return this._dataBinary||(p=p.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(p,g,m)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof d?this._data:new n(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<f.length;l++)a.prototype[f[l]]=c;r.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,r,t){(function(a){"use strict";var s,n,i=a.MutationObserver||a.WebKitMutationObserver;if(i){var o=0,d=new i(g),f=a.document.createTextNode("");d.observe(f,{characterData:!0}),s=function(){f.data=o=++o%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var m=a.document.createElement("script");m.onreadystatechange=function(){g(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},a.document.documentElement.appendChild(m)}:function(){setTimeout(g,0)};else{var c=new a.MessageChannel;c.port1.onmessage=g,s=function(){c.port2.postMessage(0)}}var l=[];function g(){var m,p;n=!0;for(var b=l.length;b;){for(p=l,l=[],m=-1;++m<b;)p[m]();b=l.length}n=!1}r.exports=function(m){l.push(m)!==1||n||s()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(e,r,t){"use strict";var a=e("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],d=["PENDING"];function f(b){if(typeof b!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,b!==s&&m(this,b)}function c(b,k,M){this.promise=b,typeof k=="function"&&(this.onFulfilled=k,this.callFulfilled=this.otherCallFulfilled),typeof M=="function"&&(this.onRejected=M,this.callRejected=this.otherCallRejected)}function l(b,k,M){a(function(){var v;try{v=k(M)}catch(_){return n.reject(b,_)}v===b?n.reject(b,new TypeError("Cannot resolve promise with itself")):n.resolve(b,v)})}function g(b){var k=b&&b.then;if(b&&(typeof b=="object"||typeof b=="function")&&typeof k=="function")return function(){k.apply(b,arguments)}}function m(b,k){var M=!1;function v(I){M||(M=!0,n.reject(b,I))}function _(I){M||(M=!0,n.resolve(b,I))}var y=p(function(){k(_,v)});y.status==="error"&&v(y.value)}function p(b,k){var M={};try{M.value=b(k),M.status="success"}catch(v){M.status="error",M.value=v}return M}(r.exports=f).prototype.finally=function(b){if(typeof b!="function")return this;var k=this.constructor;return this.then(function(M){return k.resolve(b()).then(function(){return M})},function(M){return k.resolve(b()).then(function(){throw M})})},f.prototype.catch=function(b){return this.then(null,b)},f.prototype.then=function(b,k){if(typeof b!="function"&&this.state===o||typeof k!="function"&&this.state===i)return this;var M=new this.constructor(s);return this.state!==d?l(M,this.state===o?b:k,this.outcome):this.queue.push(new c(M,b,k)),M},c.prototype.callFulfilled=function(b){n.resolve(this.promise,b)},c.prototype.otherCallFulfilled=function(b){l(this.promise,this.onFulfilled,b)},c.prototype.callRejected=function(b){n.reject(this.promise,b)},c.prototype.otherCallRejected=function(b){l(this.promise,this.onRejected,b)},n.resolve=function(b,k){var M=p(g,k);if(M.status==="error")return n.reject(b,M.value);var v=M.value;if(v)m(b,v);else{b.state=o,b.outcome=k;for(var _=-1,y=b.queue.length;++_<y;)b.queue[_].callFulfilled(k)}return b},n.reject=function(b,k){b.state=i,b.outcome=k;for(var M=-1,v=b.queue.length;++M<v;)b.queue[M].callRejected(k);return b},f.resolve=function(b){return b instanceof this?b:n.resolve(new this(s),b)},f.reject=function(b){var k=new this(s);return n.reject(k,b)},f.all=function(b){var k=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=b.length,v=!1;if(!M)return this.resolve([]);for(var _=new Array(M),y=0,I=-1,C=new this(s);++I<M;)R(b[I],I);return C;function R(B,Z){k.resolve(B).then(function(T){_[Z]=T,++y!==M||v||(v=!0,n.resolve(C,_))},function(T){v||(v=!0,n.reject(C,T))})}},f.race=function(b){var k=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=b.length,v=!1;if(!M)return this.resolve([]);for(var _=-1,y=new this(s);++_<M;)I=b[_],k.resolve(I).then(function(C){v||(v=!0,n.resolve(y,C))},function(C){v||(v=!0,n.reject(y,C))});var I;return y}},{immediate:36}],38:[function(e,r,t){"use strict";var a={};(0,e("./lib/utils/common").assign)(a,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),r.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,r,t){"use strict";var a=e("./zlib/deflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/messages"),o=e("./zlib/zstream"),d=Object.prototype.toString,f=0,c=-1,l=0,g=8;function m(b){if(!(this instanceof m))return new m(b);this.options=s.assign({level:c,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},b||{});var k=this.options;k.raw&&0<k.windowBits?k.windowBits=-k.windowBits:k.gzip&&0<k.windowBits&&k.windowBits<16&&(k.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var M=a.deflateInit2(this.strm,k.level,k.method,k.windowBits,k.memLevel,k.strategy);if(M!==f)throw new Error(i[M]);if(k.header&&a.deflateSetHeader(this.strm,k.header),k.dictionary){var v;if(v=typeof k.dictionary=="string"?n.string2buf(k.dictionary):d.call(k.dictionary)==="[object ArrayBuffer]"?new Uint8Array(k.dictionary):k.dictionary,(M=a.deflateSetDictionary(this.strm,v))!==f)throw new Error(i[M]);this._dict_set=!0}}function p(b,k){var M=new m(k);if(M.push(b,!0),M.err)throw M.msg||i[M.err];return M.result}m.prototype.push=function(b,k){var M,v,_=this.strm,y=this.options.chunkSize;if(this.ended)return!1;v=k===~~k?k:k===!0?4:0,typeof b=="string"?_.input=n.string2buf(b):d.call(b)==="[object ArrayBuffer]"?_.input=new Uint8Array(b):_.input=b,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new s.Buf8(y),_.next_out=0,_.avail_out=y),(M=a.deflate(_,v))!==1&&M!==f)return this.onEnd(M),!(this.ended=!0);_.avail_out!==0&&(_.avail_in!==0||v!==4&&v!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(s.shrinkBuf(_.output,_.next_out))):this.onData(s.shrinkBuf(_.output,_.next_out)))}while((0<_.avail_in||_.avail_out===0)&&M!==1);return v===4?(M=a.deflateEnd(this.strm),this.onEnd(M),this.ended=!0,M===f):v!==2||(this.onEnd(f),!(_.avail_out=0))},m.prototype.onData=function(b){this.chunks.push(b)},m.prototype.onEnd=function(b){b===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg},t.Deflate=m,t.deflate=p,t.deflateRaw=function(b,k){return(k=k||{}).raw=!0,p(b,k)},t.gzip=function(b,k){return(k=k||{}).gzip=!0,p(b,k)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,r,t){"use strict";var a=e("./zlib/inflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/constants"),o=e("./zlib/messages"),d=e("./zlib/zstream"),f=e("./zlib/gzheader"),c=Object.prototype.toString;function l(m){if(!(this instanceof l))return new l(m);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},m||{});var p=this.options;p.raw&&0<=p.windowBits&&p.windowBits<16&&(p.windowBits=-p.windowBits,p.windowBits===0&&(p.windowBits=-15)),!(0<=p.windowBits&&p.windowBits<16)||m&&m.windowBits||(p.windowBits+=32),15<p.windowBits&&p.windowBits<48&&(15&p.windowBits)==0&&(p.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var b=a.inflateInit2(this.strm,p.windowBits);if(b!==i.Z_OK)throw new Error(o[b]);this.header=new f,a.inflateGetHeader(this.strm,this.header)}function g(m,p){var b=new l(p);if(b.push(m,!0),b.err)throw b.msg||o[b.err];return b.result}l.prototype.push=function(m,p){var b,k,M,v,_,y,I=this.strm,C=this.options.chunkSize,R=this.options.dictionary,B=!1;if(this.ended)return!1;k=p===~~p?p:p===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof m=="string"?I.input=n.binstring2buf(m):c.call(m)==="[object ArrayBuffer]"?I.input=new Uint8Array(m):I.input=m,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(C),I.next_out=0,I.avail_out=C),(b=a.inflate(I,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&R&&(y=typeof R=="string"?n.string2buf(R):c.call(R)==="[object ArrayBuffer]"?new Uint8Array(R):R,b=a.inflateSetDictionary(this.strm,y)),b===i.Z_BUF_ERROR&&B===!0&&(b=i.Z_OK,B=!1),b!==i.Z_STREAM_END&&b!==i.Z_OK)return this.onEnd(b),!(this.ended=!0);I.next_out&&(I.avail_out!==0&&b!==i.Z_STREAM_END&&(I.avail_in!==0||k!==i.Z_FINISH&&k!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(M=n.utf8border(I.output,I.next_out),v=I.next_out-M,_=n.buf2string(I.output,M),I.next_out=v,I.avail_out=C-v,v&&s.arraySet(I.output,I.output,M,v,0),this.onData(_)):this.onData(s.shrinkBuf(I.output,I.next_out)))),I.avail_in===0&&I.avail_out===0&&(B=!0)}while((0<I.avail_in||I.avail_out===0)&&b!==i.Z_STREAM_END);return b===i.Z_STREAM_END&&(k=i.Z_FINISH),k===i.Z_FINISH?(b=a.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===i.Z_OK):k!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(I.avail_out=0))},l.prototype.onData=function(m){this.chunks.push(m)},l.prototype.onEnd=function(m){m===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},t.Inflate=l,t.inflate=g,t.inflateRaw=function(m,p){return(p=p||{}).raw=!0,g(m,p)},t.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";t.assign=function(i){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var d=o.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var f in d)d.hasOwnProperty(f)&&(i[f]=d[f])}}return i},t.shrinkBuf=function(i,o){return i.length===o?i:i.subarray?i.subarray(0,o):(i.length=o,i)};var s={arraySet:function(i,o,d,f,c){if(o.subarray&&i.subarray)i.set(o.subarray(d,d+f),c);else for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){var o,d,f,c,l,g;for(o=f=0,d=i.length;o<d;o++)f+=i[o].length;for(g=new Uint8Array(f),o=c=0,d=i.length;o<d;o++)l=i[o],g.set(l,c),c+=l.length;return g}},n={arraySet:function(i,o,d,f,c){for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){return[].concat.apply([],i)}};t.setTyped=function(i){i?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,s)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,n))},t.setTyped(a)},{}],42:[function(e,r,t){"use strict";var a=e("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function d(f,c){if(c<65537&&(f.subarray&&n||!f.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(f,c));for(var l="",g=0;g<c;g++)l+=String.fromCharCode(f[g]);return l}i[254]=i[254]=1,t.string2buf=function(f){var c,l,g,m,p,b=f.length,k=0;for(m=0;m<b;m++)(64512&(l=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(g=f.charCodeAt(m+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),m++),k+=l<128?1:l<2048?2:l<65536?3:4;for(c=new a.Buf8(k),m=p=0;p<k;m++)(64512&(l=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(g=f.charCodeAt(m+1)))==56320&&(l=65536+(l-55296<<10)+(g-56320),m++),l<128?c[p++]=l:(l<2048?c[p++]=192|l>>>6:(l<65536?c[p++]=224|l>>>12:(c[p++]=240|l>>>18,c[p++]=128|l>>>12&63),c[p++]=128|l>>>6&63),c[p++]=128|63&l);return c},t.buf2binstring=function(f){return d(f,f.length)},t.binstring2buf=function(f){for(var c=new a.Buf8(f.length),l=0,g=c.length;l<g;l++)c[l]=f.charCodeAt(l);return c},t.buf2string=function(f,c){var l,g,m,p,b=c||f.length,k=new Array(2*b);for(l=g=0;l<b;)if((m=f[l++])<128)k[g++]=m;else if(4<(p=i[m]))k[g++]=65533,l+=p-1;else{for(m&=p===2?31:p===3?15:7;1<p&&l<b;)m=m<<6|63&f[l++],p--;1<p?k[g++]=65533:m<65536?k[g++]=m:(m-=65536,k[g++]=55296|m>>10&1023,k[g++]=56320|1023&m)}return d(k,g)},t.utf8border=function(f,c){var l;for((c=c||f.length)>f.length&&(c=f.length),l=c-1;0<=l&&(192&f[l])==128;)l--;return l<0||l===0?c:l+i[f[l]]>c?l:c}},{"./common":41}],43:[function(e,r,t){"use strict";r.exports=function(a,s,n,i){for(var o=65535&a|0,d=a>>>16&65535|0,f=0;n!==0;){for(n-=f=2e3<n?2e3:n;d=d+(o=o+s[i++]|0)|0,--f;);o%=65521,d%=65521}return o|d<<16|0}},{}],44:[function(e,r,t){"use strict";r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,r,t){"use strict";var a=(function(){for(var s,n=[],i=0;i<256;i++){s=i;for(var o=0;o<8;o++)s=1&s?3988292384^s>>>1:s>>>1;n[i]=s}return n})();r.exports=function(s,n,i,o){var d=a,f=o+i;s^=-1;for(var c=o;c<f;c++)s=s>>>8^d[255&(s^n[c])];return-1^s}},{}],46:[function(e,r,t){"use strict";var a,s=e("../utils/common"),n=e("./trees"),i=e("./adler32"),o=e("./crc32"),d=e("./messages"),f=0,c=4,l=0,g=-2,m=-1,p=4,b=2,k=8,M=9,v=286,_=30,y=19,I=2*v+1,C=15,R=3,B=258,Z=B+R+1,T=42,O=113,P=1,J=2,re=3,Q=4;function ae(S,Ee){return S.msg=d[Ee],Ee}function A(S){return(S<<1)-(4<S?9:0)}function V(S){for(var Ee=S.length;0<=--Ee;)S[Ee]=0}function H(S){var Ee=S.state,pe=Ee.pending;pe>S.avail_out&&(pe=S.avail_out),pe!==0&&(s.arraySet(S.output,Ee.pending_buf,Ee.pending_out,pe,S.next_out),S.next_out+=pe,Ee.pending_out+=pe,S.total_out+=pe,S.avail_out-=pe,Ee.pending-=pe,Ee.pending===0&&(Ee.pending_out=0))}function X(S,Ee){n._tr_flush_block(S,0<=S.block_start?S.block_start:-1,S.strstart-S.block_start,Ee),S.block_start=S.strstart,H(S.strm)}function ge(S,Ee){S.pending_buf[S.pending++]=Ee}function me(S,Ee){S.pending_buf[S.pending++]=Ee>>>8&255,S.pending_buf[S.pending++]=255&Ee}function u(S,Ee){var pe,Y,N=S.max_chain_length,j=S.strstart,be=S.prev_length,Le=S.nice_match,E=S.strstart>S.w_size-Z?S.strstart-(S.w_size-Z):0,Be=S.window,We=S.w_mask,Ce=S.prev,ht=S.strstart+B,Yt=Be[j+be-1],wt=Be[j+be];S.prev_length>=S.good_match&&(N>>=2),Le>S.lookahead&&(Le=S.lookahead);do if(Be[(pe=Ee)+be]===wt&&Be[pe+be-1]===Yt&&Be[pe]===Be[j]&&Be[++pe]===Be[j+1]){j+=2,pe++;do;while(Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&j<ht);if(Y=B-(ht-j),j=ht-B,be<Y){if(S.match_start=Ee,Le<=(be=Y))break;Yt=Be[j+be-1],wt=Be[j+be]}}while((Ee=Ce[Ee&We])>E&&--N!=0);return be<=S.lookahead?be:S.lookahead}function h(S){var Ee,pe,Y,N,j,be,Le,E,Be,We,Ce=S.w_size;do{if(N=S.window_size-S.lookahead-S.strstart,S.strstart>=Ce+(Ce-Z)){for(s.arraySet(S.window,S.window,Ce,Ce,0),S.match_start-=Ce,S.strstart-=Ce,S.block_start-=Ce,Ee=pe=S.hash_size;Y=S.head[--Ee],S.head[Ee]=Ce<=Y?Y-Ce:0,--pe;);for(Ee=pe=Ce;Y=S.prev[--Ee],S.prev[Ee]=Ce<=Y?Y-Ce:0,--pe;);N+=Ce}if(S.strm.avail_in===0)break;if(be=S.strm,Le=S.window,E=S.strstart+S.lookahead,Be=N,We=void 0,We=be.avail_in,Be<We&&(We=Be),pe=We===0?0:(be.avail_in-=We,s.arraySet(Le,be.input,be.next_in,We,E),be.state.wrap===1?be.adler=i(be.adler,Le,We,E):be.state.wrap===2&&(be.adler=o(be.adler,Le,We,E)),be.next_in+=We,be.total_in+=We,We),S.lookahead+=pe,S.lookahead+S.insert>=R)for(j=S.strstart-S.insert,S.ins_h=S.window[j],S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+1])&S.hash_mask;S.insert&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+R-1])&S.hash_mask,S.prev[j&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=j,j++,S.insert--,!(S.lookahead+S.insert<R)););}while(S.lookahead<Z&&S.strm.avail_in!==0)}function De(S,Ee){for(var pe,Y;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),pe!==0&&S.strstart-pe<=S.w_size-Z&&(S.match_length=u(S,pe)),S.match_length>=R)if(Y=n._tr_tally(S,S.strstart-S.match_start,S.match_length-R),S.lookahead-=S.match_length,S.match_length<=S.max_lazy_match&&S.lookahead>=R){for(S.match_length--;S.strstart++,S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart,--S.match_length!=0;);S.strstart++}else S.strstart+=S.match_length,S.match_length=0,S.ins_h=S.window[S.strstart],S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+1])&S.hash_mask;else Y=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++;if(Y&&(X(S,!1),S.strm.avail_out===0))return P}return S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(X(S,!1),S.strm.avail_out===0)?P:J}function Ue(S,Ee){for(var pe,Y,N;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),S.prev_length=S.match_length,S.prev_match=S.match_start,S.match_length=R-1,pe!==0&&S.prev_length<S.max_lazy_match&&S.strstart-pe<=S.w_size-Z&&(S.match_length=u(S,pe),S.match_length<=5&&(S.strategy===1||S.match_length===R&&4096<S.strstart-S.match_start)&&(S.match_length=R-1)),S.prev_length>=R&&S.match_length<=S.prev_length){for(N=S.strstart+S.lookahead-R,Y=n._tr_tally(S,S.strstart-1-S.prev_match,S.prev_length-R),S.lookahead-=S.prev_length-1,S.prev_length-=2;++S.strstart<=N&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),--S.prev_length!=0;);if(S.match_available=0,S.match_length=R-1,S.strstart++,Y&&(X(S,!1),S.strm.avail_out===0))return P}else if(S.match_available){if((Y=n._tr_tally(S,0,S.window[S.strstart-1]))&&X(S,!1),S.strstart++,S.lookahead--,S.strm.avail_out===0)return P}else S.match_available=1,S.strstart++,S.lookahead--}return S.match_available&&(Y=n._tr_tally(S,0,S.window[S.strstart-1]),S.match_available=0),S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(X(S,!1),S.strm.avail_out===0)?P:J}function ee(S,Ee,pe,Y,N){this.good_length=S,this.max_lazy=Ee,this.nice_length=pe,this.max_chain=Y,this.func=N}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*I),this.dyn_dtree=new s.Buf16(2*(2*_+1)),this.bl_tree=new s.Buf16(2*(2*y+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(C+1),this.heap=new s.Buf16(2*v+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*v+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oe(S){var Ee;return S&&S.state?(S.total_in=S.total_out=0,S.data_type=b,(Ee=S.state).pending=0,Ee.pending_out=0,Ee.wrap<0&&(Ee.wrap=-Ee.wrap),Ee.status=Ee.wrap?T:O,S.adler=Ee.wrap===2?0:1,Ee.last_flush=f,n._tr_init(Ee),l):ae(S,g)}function kt(S){var Ee=oe(S);return Ee===l&&(function(pe){pe.window_size=2*pe.w_size,V(pe.head),pe.max_lazy_match=a[pe.level].max_lazy,pe.good_match=a[pe.level].good_length,pe.nice_match=a[pe.level].nice_length,pe.max_chain_length=a[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,pe.ins_h=0})(S.state),Ee}function dt(S,Ee,pe,Y,N,j){if(!S)return g;var be=1;if(Ee===m&&(Ee=6),Y<0?(be=0,Y=-Y):15<Y&&(be=2,Y-=16),N<1||M<N||pe!==k||Y<8||15<Y||Ee<0||9<Ee||j<0||p<j)return ae(S,g);Y===8&&(Y=9);var Le=new fe;return(S.state=Le).strm=S,Le.wrap=be,Le.gzhead=null,Le.w_bits=Y,Le.w_size=1<<Le.w_bits,Le.w_mask=Le.w_size-1,Le.hash_bits=N+7,Le.hash_size=1<<Le.hash_bits,Le.hash_mask=Le.hash_size-1,Le.hash_shift=~~((Le.hash_bits+R-1)/R),Le.window=new s.Buf8(2*Le.w_size),Le.head=new s.Buf16(Le.hash_size),Le.prev=new s.Buf16(Le.w_size),Le.lit_bufsize=1<<N+6,Le.pending_buf_size=4*Le.lit_bufsize,Le.pending_buf=new s.Buf8(Le.pending_buf_size),Le.d_buf=1*Le.lit_bufsize,Le.l_buf=3*Le.lit_bufsize,Le.level=Ee,Le.strategy=j,Le.method=pe,kt(S)}a=[new ee(0,0,0,0,function(S,Ee){var pe=65535;for(pe>S.pending_buf_size-5&&(pe=S.pending_buf_size-5);;){if(S.lookahead<=1){if(h(S),S.lookahead===0&&Ee===f)return P;if(S.lookahead===0)break}S.strstart+=S.lookahead,S.lookahead=0;var Y=S.block_start+pe;if((S.strstart===0||S.strstart>=Y)&&(S.lookahead=S.strstart-Y,S.strstart=Y,X(S,!1),S.strm.avail_out===0)||S.strstart-S.block_start>=S.w_size-Z&&(X(S,!1),S.strm.avail_out===0))return P}return S.insert=0,Ee===c?(X(S,!0),S.strm.avail_out===0?re:Q):(S.strstart>S.block_start&&(X(S,!1),S.strm.avail_out),P)}),new ee(4,4,8,4,De),new ee(4,5,16,8,De),new ee(4,6,32,32,De),new ee(4,4,16,16,Ue),new ee(8,16,32,32,Ue),new ee(8,16,128,128,Ue),new ee(8,32,128,256,Ue),new ee(32,128,258,1024,Ue),new ee(32,258,258,4096,Ue)],t.deflateInit=function(S,Ee){return dt(S,Ee,k,15,8,0)},t.deflateInit2=dt,t.deflateReset=kt,t.deflateResetKeep=oe,t.deflateSetHeader=function(S,Ee){return S&&S.state?S.state.wrap!==2?g:(S.state.gzhead=Ee,l):g},t.deflate=function(S,Ee){var pe,Y,N,j;if(!S||!S.state||5<Ee||Ee<0)return S?ae(S,g):g;if(Y=S.state,!S.output||!S.input&&S.avail_in!==0||Y.status===666&&Ee!==c)return ae(S,S.avail_out===0?-5:g);if(Y.strm=S,pe=Y.last_flush,Y.last_flush=Ee,Y.status===T)if(Y.wrap===2)S.adler=0,ge(Y,31),ge(Y,139),ge(Y,8),Y.gzhead?(ge(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(Y.gzhead.extra?4:0)+(Y.gzhead.name?8:0)+(Y.gzhead.comment?16:0)),ge(Y,255&Y.gzhead.time),ge(Y,Y.gzhead.time>>8&255),ge(Y,Y.gzhead.time>>16&255),ge(Y,Y.gzhead.time>>24&255),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(ge(Y,255&Y.gzhead.extra.length),ge(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(S.adler=o(S.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69):(ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,3),Y.status=O);else{var be=k+(Y.w_bits-8<<4)<<8;be|=(2<=Y.strategy||Y.level<2?0:Y.level<6?1:Y.level===6?2:3)<<6,Y.strstart!==0&&(be|=32),be+=31-be%31,Y.status=O,me(Y,be),Y.strstart!==0&&(me(Y,S.adler>>>16),me(Y,65535&S.adler)),S.adler=1}if(Y.status===69)if(Y.gzhead.extra){for(N=Y.pending;Y.gzindex<(65535&Y.gzhead.extra.length)&&(Y.pending!==Y.pending_buf_size||(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending!==Y.pending_buf_size));)ge(Y,255&Y.gzhead.extra[Y.gzindex]),Y.gzindex++;Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),Y.gzindex===Y.gzhead.extra.length&&(Y.gzindex=0,Y.status=73)}else Y.status=73;if(Y.status===73)if(Y.gzhead.name){N=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.name.length?255&Y.gzhead.name.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),j===0&&(Y.gzindex=0,Y.status=91)}else Y.status=91;if(Y.status===91)if(Y.gzhead.comment){N=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.comment.length?255&Y.gzhead.comment.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),j===0&&(Y.status=103)}else Y.status=103;if(Y.status===103&&(Y.gzhead.hcrc?(Y.pending+2>Y.pending_buf_size&&H(S),Y.pending+2<=Y.pending_buf_size&&(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),S.adler=0,Y.status=O)):Y.status=O),Y.pending!==0){if(H(S),S.avail_out===0)return Y.last_flush=-1,l}else if(S.avail_in===0&&A(Ee)<=A(pe)&&Ee!==c)return ae(S,-5);if(Y.status===666&&S.avail_in!==0)return ae(S,-5);if(S.avail_in!==0||Y.lookahead!==0||Ee!==f&&Y.status!==666){var Le=Y.strategy===2?(function(E,Be){for(var We;;){if(E.lookahead===0&&(h(E),E.lookahead===0)){if(Be===f)return P;break}if(E.match_length=0,We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,We&&(X(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(X(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(X(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):Y.strategy===3?(function(E,Be){for(var We,Ce,ht,Yt,wt=E.window;;){if(E.lookahead<=B){if(h(E),E.lookahead<=B&&Be===f)return P;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=R&&0<E.strstart&&(Ce=wt[ht=E.strstart-1])===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]){Yt=E.strstart+B;do;while(Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&Ce===wt[++ht]&&ht<Yt);E.match_length=B-(Yt-ht),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=R?(We=n._tr_tally(E,1,E.match_length-R),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),We&&(X(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(X(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(X(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):a[Y.level].func(Y,Ee);if(Le!==re&&Le!==Q||(Y.status=666),Le===P||Le===re)return S.avail_out===0&&(Y.last_flush=-1),l;if(Le===J&&(Ee===1?n._tr_align(Y):Ee!==5&&(n._tr_stored_block(Y,0,0,!1),Ee===3&&(V(Y.head),Y.lookahead===0&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),H(S),S.avail_out===0))return Y.last_flush=-1,l}return Ee!==c?l:Y.wrap<=0?1:(Y.wrap===2?(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),ge(Y,S.adler>>16&255),ge(Y,S.adler>>24&255),ge(Y,255&S.total_in),ge(Y,S.total_in>>8&255),ge(Y,S.total_in>>16&255),ge(Y,S.total_in>>24&255)):(me(Y,S.adler>>>16),me(Y,65535&S.adler)),H(S),0<Y.wrap&&(Y.wrap=-Y.wrap),Y.pending!==0?l:1)},t.deflateEnd=function(S){var Ee;return S&&S.state?(Ee=S.state.status)!==T&&Ee!==69&&Ee!==73&&Ee!==91&&Ee!==103&&Ee!==O&&Ee!==666?ae(S,g):(S.state=null,Ee===O?ae(S,-3):l):g},t.deflateSetDictionary=function(S,Ee){var pe,Y,N,j,be,Le,E,Be,We=Ee.length;if(!S||!S.state||(j=(pe=S.state).wrap)===2||j===1&&pe.status!==T||pe.lookahead)return g;for(j===1&&(S.adler=i(S.adler,Ee,We,0)),pe.wrap=0,We>=pe.w_size&&(j===0&&(V(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),Be=new s.Buf8(pe.w_size),s.arraySet(Be,Ee,We-pe.w_size,pe.w_size,0),Ee=Be,We=pe.w_size),be=S.avail_in,Le=S.next_in,E=S.input,S.avail_in=We,S.next_in=0,S.input=Ee,h(pe);pe.lookahead>=R;){for(Y=pe.strstart,N=pe.lookahead-(R-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[Y+R-1])&pe.hash_mask,pe.prev[Y&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=Y,Y++,--N;);pe.strstart=Y,pe.lookahead=R-1,h(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,S.next_in=Le,S.input=E,S.avail_in=be,pe.wrap=j,l},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,r,t){"use strict";r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,r,t){"use strict";r.exports=function(a,s){var n,i,o,d,f,c,l,g,m,p,b,k,M,v,_,y,I,C,R,B,Z,T,O,P,J;n=a.state,i=a.next_in,P=a.input,o=i+(a.avail_in-5),d=a.next_out,J=a.output,f=d-(s-a.avail_out),c=d+(a.avail_out-257),l=n.dmax,g=n.wsize,m=n.whave,p=n.wnext,b=n.window,k=n.hold,M=n.bits,v=n.lencode,_=n.distcode,y=(1<<n.lenbits)-1,I=(1<<n.distbits)-1;e:do{M<15&&(k+=P[i++]<<M,M+=8,k+=P[i++]<<M,M+=8),C=v[k&y];t:for(;;){if(k>>>=R=C>>>24,M-=R,(R=C>>>16&255)===0)J[d++]=65535&C;else{if(!(16&R)){if((64&R)==0){C=v[(65535&C)+(k&(1<<R)-1)];continue t}if(32&R){n.mode=12;break e}a.msg="invalid literal/length code",n.mode=30;break e}B=65535&C,(R&=15)&&(M<R&&(k+=P[i++]<<M,M+=8),B+=k&(1<<R)-1,k>>>=R,M-=R),M<15&&(k+=P[i++]<<M,M+=8,k+=P[i++]<<M,M+=8),C=_[k&I];r:for(;;){if(k>>>=R=C>>>24,M-=R,!(16&(R=C>>>16&255))){if((64&R)==0){C=_[(65535&C)+(k&(1<<R)-1)];continue r}a.msg="invalid distance code",n.mode=30;break e}if(Z=65535&C,M<(R&=15)&&(k+=P[i++]<<M,(M+=8)<R&&(k+=P[i++]<<M,M+=8)),l<(Z+=k&(1<<R)-1)){a.msg="invalid distance too far back",n.mode=30;break e}if(k>>>=R,M-=R,(R=d-f)<Z){if(m<(R=Z-R)&&n.sane){a.msg="invalid distance too far back",n.mode=30;break e}if(O=b,(T=0)===p){if(T+=g-R,R<B){for(B-=R;J[d++]=b[T++],--R;);T=d-Z,O=J}}else if(p<R){if(T+=g+p-R,(R-=p)<B){for(B-=R;J[d++]=b[T++],--R;);if(T=0,p<B){for(B-=R=p;J[d++]=b[T++],--R;);T=d-Z,O=J}}}else if(T+=p-R,R<B){for(B-=R;J[d++]=b[T++],--R;);T=d-Z,O=J}for(;2<B;)J[d++]=O[T++],J[d++]=O[T++],J[d++]=O[T++],B-=3;B&&(J[d++]=O[T++],1<B&&(J[d++]=O[T++]))}else{for(T=d-Z;J[d++]=J[T++],J[d++]=J[T++],J[d++]=J[T++],2<(B-=3););B&&(J[d++]=J[T++],1<B&&(J[d++]=J[T++]))}break}}break}}while(i<o&&d<c);i-=B=M>>3,k&=(1<<(M-=B<<3))-1,a.next_in=i,a.next_out=d,a.avail_in=i<o?o-i+5:5-(i-o),a.avail_out=d<c?c-d+257:257-(d-c),n.hold=k,n.bits=M}},{}],49:[function(e,r,t){"use strict";var a=e("../utils/common"),s=e("./adler32"),n=e("./crc32"),i=e("./inffast"),o=e("./inftrees"),d=1,f=2,c=0,l=-2,g=1,m=852,p=592;function b(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function k(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function M(T){var O;return T&&T.state?(O=T.state,T.total_in=T.total_out=O.total=0,T.msg="",O.wrap&&(T.adler=1&O.wrap),O.mode=g,O.last=0,O.havedict=0,O.dmax=32768,O.head=null,O.hold=0,O.bits=0,O.lencode=O.lendyn=new a.Buf32(m),O.distcode=O.distdyn=new a.Buf32(p),O.sane=1,O.back=-1,c):l}function v(T){var O;return T&&T.state?((O=T.state).wsize=0,O.whave=0,O.wnext=0,M(T)):l}function _(T,O){var P,J;return T&&T.state?(J=T.state,O<0?(P=0,O=-O):(P=1+(O>>4),O<48&&(O&=15)),O&&(O<8||15<O)?l:(J.window!==null&&J.wbits!==O&&(J.window=null),J.wrap=P,J.wbits=O,v(T))):l}function y(T,O){var P,J;return T?(J=new k,(T.state=J).window=null,(P=_(T,O))!==c&&(T.state=null),P):l}var I,C,R=!0;function B(T){if(R){var O;for(I=new a.Buf32(512),C=new a.Buf32(32),O=0;O<144;)T.lens[O++]=8;for(;O<256;)T.lens[O++]=9;for(;O<280;)T.lens[O++]=7;for(;O<288;)T.lens[O++]=8;for(o(d,T.lens,0,288,I,0,T.work,{bits:9}),O=0;O<32;)T.lens[O++]=5;o(f,T.lens,0,32,C,0,T.work,{bits:5}),R=!1}T.lencode=I,T.lenbits=9,T.distcode=C,T.distbits=5}function Z(T,O,P,J){var re,Q=T.state;return Q.window===null&&(Q.wsize=1<<Q.wbits,Q.wnext=0,Q.whave=0,Q.window=new a.Buf8(Q.wsize)),J>=Q.wsize?(a.arraySet(Q.window,O,P-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize):(J<(re=Q.wsize-Q.wnext)&&(re=J),a.arraySet(Q.window,O,P-J,re,Q.wnext),(J-=re)?(a.arraySet(Q.window,O,P-J,J,0),Q.wnext=J,Q.whave=Q.wsize):(Q.wnext+=re,Q.wnext===Q.wsize&&(Q.wnext=0),Q.whave<Q.wsize&&(Q.whave+=re))),0}t.inflateReset=v,t.inflateReset2=_,t.inflateResetKeep=M,t.inflateInit=function(T){return y(T,15)},t.inflateInit2=y,t.inflate=function(T,O){var P,J,re,Q,ae,A,V,H,X,ge,me,u,h,De,Ue,ee,fe,oe,kt,dt,S,Ee,pe,Y,N=0,j=new a.Buf8(4),be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return l;(P=T.state).mode===12&&(P.mode=13),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,A=T.avail_in,H=P.hold,X=P.bits,ge=A,me=V,Ee=c;e:for(;;)switch(P.mode){case g:if(P.wrap===0){P.mode=13;break}for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(2&P.wrap&&H===35615){j[P.check=0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0),X=H=0,P.mode=2;break}if(P.flags=0,P.head&&(P.head.done=!1),!(1&P.wrap)||(((255&H)<<8)+(H>>8))%31){T.msg="incorrect header check",P.mode=30;break}if((15&H)!=8){T.msg="unknown compression method",P.mode=30;break}if(X-=4,S=8+(15&(H>>>=4)),P.wbits===0)P.wbits=S;else if(S>P.wbits){T.msg="invalid window size",P.mode=30;break}P.dmax=1<<S,T.adler=P.check=1,P.mode=512&H?10:12,X=H=0;break;case 2:for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(P.flags=H,(255&P.flags)!=8){T.msg="unknown compression method",P.mode=30;break}if(57344&P.flags){T.msg="unknown header flags set",P.mode=30;break}P.head&&(P.head.text=H>>8&1),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0,P.mode=3;case 3:for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.head&&(P.head.time=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,j[2]=H>>>16&255,j[3]=H>>>24&255,P.check=n(P.check,j,4,0)),X=H=0,P.mode=4;case 4:for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.head&&(P.head.xflags=255&H,P.head.os=H>>8),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0,P.mode=5;case 5:if(1024&P.flags){for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.length=H,P.head&&(P.head.extra_len=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),X=H=0}else P.head&&(P.head.extra=null);P.mode=6;case 6:if(1024&P.flags&&(A<(u=P.length)&&(u=A),u&&(P.head&&(S=P.head.extra_len-P.length,P.head.extra||(P.head.extra=new Array(P.head.extra_len)),a.arraySet(P.head.extra,J,Q,u,S)),512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,P.length-=u),P.length))break e;P.length=0,P.mode=7;case 7:if(2048&P.flags){if(A===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.name+=String.fromCharCode(S)),S&&u<A;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,S)break e}else P.head&&(P.head.name=null);P.length=0,P.mode=8;case 8:if(4096&P.flags){if(A===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.comment+=String.fromCharCode(S)),S&&u<A;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),A-=u,Q+=u,S)break e}else P.head&&(P.head.comment=null);P.mode=9;case 9:if(512&P.flags){for(;X<16;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H!==(65535&P.check)){T.msg="header crc mismatch",P.mode=30;break}X=H=0}P.head&&(P.head.hcrc=P.flags>>9&1,P.head.done=!0),T.adler=P.check=0,P.mode=12;break;case 10:for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}T.adler=P.check=b(H),X=H=0,P.mode=11;case 11:if(P.havedict===0)return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,2;T.adler=P.check=1,P.mode=12;case 12:if(O===5||O===6)break e;case 13:if(P.last){H>>>=7&X,X-=7&X,P.mode=27;break}for(;X<3;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}switch(P.last=1&H,X-=1,3&(H>>>=1)){case 0:P.mode=14;break;case 1:if(B(P),P.mode=20,O!==6)break;H>>>=2,X-=2;break e;case 2:P.mode=17;break;case 3:T.msg="invalid block type",P.mode=30}H>>>=2,X-=2;break;case 14:for(H>>>=7&X,X-=7&X;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if((65535&H)!=(H>>>16^65535)){T.msg="invalid stored block lengths",P.mode=30;break}if(P.length=65535&H,X=H=0,P.mode=15,O===6)break e;case 15:P.mode=16;case 16:if(u=P.length){if(A<u&&(u=A),V<u&&(u=V),u===0)break e;a.arraySet(re,J,Q,u,ae),A-=u,Q+=u,V-=u,ae+=u,P.length-=u;break}P.mode=12;break;case 17:for(;X<14;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(P.nlen=257+(31&H),H>>>=5,X-=5,P.ndist=1+(31&H),H>>>=5,X-=5,P.ncode=4+(15&H),H>>>=4,X-=4,286<P.nlen||30<P.ndist){T.msg="too many length or distance symbols",P.mode=30;break}P.have=0,P.mode=18;case 18:for(;P.have<P.ncode;){for(;X<3;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.lens[be[P.have++]]=7&H,H>>>=3,X-=3}for(;P.have<19;)P.lens[be[P.have++]]=0;if(P.lencode=P.lendyn,P.lenbits=7,pe={bits:P.lenbits},Ee=o(0,P.lens,0,19,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid code lengths set",P.mode=30;break}P.have=0,P.mode=19;case 19:for(;P.have<P.nlen+P.ndist;){for(;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(fe<16)H>>>=Ue,X-=Ue,P.lens[P.have++]=fe;else{if(fe===16){for(Y=Ue+2;X<Y;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H>>>=Ue,X-=Ue,P.have===0){T.msg="invalid bit length repeat",P.mode=30;break}S=P.lens[P.have-1],u=3+(3&H),H>>>=2,X-=2}else if(fe===17){for(Y=Ue+3;X<Y;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}X-=Ue,S=0,u=3+(7&(H>>>=Ue)),H>>>=3,X-=3}else{for(Y=Ue+7;X<Y;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}X-=Ue,S=0,u=11+(127&(H>>>=Ue)),H>>>=7,X-=7}if(P.have+u>P.nlen+P.ndist){T.msg="invalid bit length repeat",P.mode=30;break}for(;u--;)P.lens[P.have++]=S}}if(P.mode===30)break;if(P.lens[256]===0){T.msg="invalid code -- missing end-of-block",P.mode=30;break}if(P.lenbits=9,pe={bits:P.lenbits},Ee=o(d,P.lens,0,P.nlen,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid literal/lengths set",P.mode=30;break}if(P.distbits=6,P.distcode=P.distdyn,pe={bits:P.distbits},Ee=o(f,P.lens,P.nlen,P.ndist,P.distcode,0,P.work,pe),P.distbits=pe.bits,Ee){T.msg="invalid distances set",P.mode=30;break}if(P.mode=20,O===6)break e;case 20:P.mode=21;case 21:if(6<=A&&258<=V){T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,i(T,me),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,A=T.avail_in,H=P.hold,X=P.bits,P.mode===12&&(P.back=-1);break}for(P.back=0;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(ee&&(240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.lencode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}H>>>=oe,X-=oe,P.back+=oe}if(H>>>=Ue,X-=Ue,P.back+=Ue,P.length=fe,ee===0){P.mode=26;break}if(32&ee){P.back=-1,P.mode=12;break}if(64&ee){T.msg="invalid literal/length code",P.mode=30;break}P.extra=15&ee,P.mode=22;case 22:if(P.extra){for(Y=P.extra;X<Y;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.length+=H&(1<<P.extra)-1,H>>>=P.extra,X-=P.extra,P.back+=P.extra}P.was=P.length,P.mode=23;case 23:for(;ee=(N=P.distcode[H&(1<<P.distbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if((240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.distcode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=X);){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}H>>>=oe,X-=oe,P.back+=oe}if(H>>>=Ue,X-=Ue,P.back+=Ue,64&ee){T.msg="invalid distance code",P.mode=30;break}P.offset=fe,P.extra=15&ee,P.mode=24;case 24:if(P.extra){for(Y=P.extra;X<Y;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}P.offset+=H&(1<<P.extra)-1,H>>>=P.extra,X-=P.extra,P.back+=P.extra}if(P.offset>P.dmax){T.msg="invalid distance too far back",P.mode=30;break}P.mode=25;case 25:if(V===0)break e;if(u=me-V,P.offset>u){if((u=P.offset-u)>P.whave&&P.sane){T.msg="invalid distance too far back",P.mode=30;break}h=u>P.wnext?(u-=P.wnext,P.wsize-u):P.wnext-u,u>P.length&&(u=P.length),De=P.window}else De=re,h=ae-P.offset,u=P.length;for(V<u&&(u=V),V-=u,P.length-=u;re[ae++]=De[h++],--u;);P.length===0&&(P.mode=21);break;case 26:if(V===0)break e;re[ae++]=P.length,V--,P.mode=21;break;case 27:if(P.wrap){for(;X<32;){if(A===0)break e;A--,H|=J[Q++]<<X,X+=8}if(me-=V,T.total_out+=me,P.total+=me,me&&(T.adler=P.check=P.flags?n(P.check,re,me,ae-me):s(P.check,re,me,ae-me)),me=V,(P.flags?H:b(H))!==P.check){T.msg="incorrect data check",P.mode=30;break}X=H=0}P.mode=28;case 28:if(P.wrap&&P.flags){for(;X<32;){if(A===0)break e;A--,H+=J[Q++]<<X,X+=8}if(H!==(4294967295&P.total)){T.msg="incorrect length check",P.mode=30;break}X=H=0}P.mode=29;case 29:Ee=1;break e;case 30:Ee=-3;break e;case 31:return-4;default:return l}return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=A,P.hold=H,P.bits=X,(P.wsize||me!==T.avail_out&&P.mode<30&&(P.mode<27||O!==4))&&Z(T,T.output,T.next_out,me-T.avail_out)?(P.mode=31,-4):(ge-=T.avail_in,me-=T.avail_out,T.total_in+=ge,T.total_out+=me,P.total+=me,P.wrap&&me&&(T.adler=P.check=P.flags?n(P.check,re,me,T.next_out-me):s(P.check,re,me,T.next_out-me)),T.data_type=P.bits+(P.last?64:0)+(P.mode===12?128:0)+(P.mode===20||P.mode===15?256:0),(ge==0&&me===0||O===4)&&Ee===c&&(Ee=-5),Ee)},t.inflateEnd=function(T){if(!T||!T.state)return l;var O=T.state;return O.window&&(O.window=null),T.state=null,c},t.inflateGetHeader=function(T,O){var P;return T&&T.state?(2&(P=T.state).wrap)==0?l:((P.head=O).done=!1,c):l},t.inflateSetDictionary=function(T,O){var P,J=O.length;return T&&T.state?(P=T.state).wrap!==0&&P.mode!==11?l:P.mode===11&&s(1,O,J,0)!==P.check?-3:Z(T,O,J,J)?(P.mode=31,-4):(P.havedict=1,c):l},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,r,t){"use strict";var a=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,f,c,l,g,m,p,b){var k,M,v,_,y,I,C,R,B,Z=b.bits,T=0,O=0,P=0,J=0,re=0,Q=0,ae=0,A=0,V=0,H=0,X=null,ge=0,me=new a.Buf16(16),u=new a.Buf16(16),h=null,De=0;for(T=0;T<=15;T++)me[T]=0;for(O=0;O<l;O++)me[f[c+O]]++;for(re=Z,J=15;1<=J&&me[J]===0;J--);if(J<re&&(re=J),J===0)return g[m++]=20971520,g[m++]=20971520,b.bits=1,0;for(P=1;P<J&&me[P]===0;P++);for(re<P&&(re=P),T=A=1;T<=15;T++)if(A<<=1,(A-=me[T])<0)return-1;if(0<A&&(d===0||J!==1))return-1;for(u[1]=0,T=1;T<15;T++)u[T+1]=u[T]+me[T];for(O=0;O<l;O++)f[c+O]!==0&&(p[u[f[c+O]]++]=O);if(I=d===0?(X=h=p,19):d===1?(X=s,ge-=257,h=n,De-=257,256):(X=i,h=o,-1),T=P,y=m,ae=O=H=0,v=-1,_=(V=1<<(Q=re))-1,d===1&&852<V||d===2&&592<V)return 1;for(;;){for(C=T-ae,B=p[O]<I?(R=0,p[O]):p[O]>I?(R=h[De+p[O]],X[ge+p[O]]):(R=96,0),k=1<<T-ae,P=M=1<<Q;g[y+(H>>ae)+(M-=k)]=C<<24|R<<16|B|0,M!==0;);for(k=1<<T-1;H&k;)k>>=1;if(k!==0?(H&=k-1,H+=k):H=0,O++,--me[T]==0){if(T===J)break;T=f[c+p[O]]}if(re<T&&(H&_)!==v){for(ae===0&&(ae=re),y+=P,A=1<<(Q=T-ae);Q+ae<J&&!((A-=me[Q+ae])<=0);)Q++,A<<=1;if(V+=1<<Q,d===1&&852<V||d===2&&592<V)return 1;g[v=H&_]=re<<24|Q<<16|y-m|0}}return H!==0&&(g[y+H]=T-ae<<24|64<<16|0),b.bits=re,0}},{"../utils/common":41}],51:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,r,t){"use strict";var a=e("../utils/common"),s=0,n=1;function i(N){for(var j=N.length;0<=--j;)N[j]=0}var o=0,d=29,f=256,c=f+1+d,l=30,g=19,m=2*c+1,p=15,b=16,k=7,M=256,v=16,_=17,y=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],C=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=new Array(2*(c+2));i(Z);var T=new Array(2*l);i(T);var O=new Array(512);i(O);var P=new Array(256);i(P);var J=new Array(d);i(J);var re,Q,ae,A=new Array(l);function V(N,j,be,Le,E){this.static_tree=N,this.extra_bits=j,this.extra_base=be,this.elems=Le,this.max_length=E,this.has_stree=N&&N.length}function H(N,j){this.dyn_tree=N,this.max_code=0,this.stat_desc=j}function X(N){return N<256?O[N]:O[256+(N>>>7)]}function ge(N,j){N.pending_buf[N.pending++]=255&j,N.pending_buf[N.pending++]=j>>>8&255}function me(N,j,be){N.bi_valid>b-be?(N.bi_buf|=j<<N.bi_valid&65535,ge(N,N.bi_buf),N.bi_buf=j>>b-N.bi_valid,N.bi_valid+=be-b):(N.bi_buf|=j<<N.bi_valid&65535,N.bi_valid+=be)}function u(N,j,be){me(N,be[2*j],be[2*j+1])}function h(N,j){for(var be=0;be|=1&N,N>>>=1,be<<=1,0<--j;);return be>>>1}function De(N,j,be){var Le,E,Be=new Array(p+1),We=0;for(Le=1;Le<=p;Le++)Be[Le]=We=We+be[Le-1]<<1;for(E=0;E<=j;E++){var Ce=N[2*E+1];Ce!==0&&(N[2*E]=h(Be[Ce]++,Ce))}}function Ue(N){var j;for(j=0;j<c;j++)N.dyn_ltree[2*j]=0;for(j=0;j<l;j++)N.dyn_dtree[2*j]=0;for(j=0;j<g;j++)N.bl_tree[2*j]=0;N.dyn_ltree[2*M]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function ee(N){8<N.bi_valid?ge(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function fe(N,j,be,Le){var E=2*j,Be=2*be;return N[E]<N[Be]||N[E]===N[Be]&&Le[j]<=Le[be]}function oe(N,j,be){for(var Le=N.heap[be],E=be<<1;E<=N.heap_len&&(E<N.heap_len&&fe(j,N.heap[E+1],N.heap[E],N.depth)&&E++,!fe(j,Le,N.heap[E],N.depth));)N.heap[be]=N.heap[E],be=E,E<<=1;N.heap[be]=Le}function kt(N,j,be){var Le,E,Be,We,Ce=0;if(N.last_lit!==0)for(;Le=N.pending_buf[N.d_buf+2*Ce]<<8|N.pending_buf[N.d_buf+2*Ce+1],E=N.pending_buf[N.l_buf+Ce],Ce++,Le===0?u(N,E,j):(u(N,(Be=P[E])+f+1,j),(We=I[Be])!==0&&me(N,E-=J[Be],We),u(N,Be=X(--Le),be),(We=C[Be])!==0&&me(N,Le-=A[Be],We)),Ce<N.last_lit;);u(N,M,j)}function dt(N,j){var be,Le,E,Be=j.dyn_tree,We=j.stat_desc.static_tree,Ce=j.stat_desc.has_stree,ht=j.stat_desc.elems,Yt=-1;for(N.heap_len=0,N.heap_max=m,be=0;be<ht;be++)Be[2*be]!==0?(N.heap[++N.heap_len]=Yt=be,N.depth[be]=0):Be[2*be+1]=0;for(;N.heap_len<2;)Be[2*(E=N.heap[++N.heap_len]=Yt<2?++Yt:0)]=1,N.depth[E]=0,N.opt_len--,Ce&&(N.static_len-=We[2*E+1]);for(j.max_code=Yt,be=N.heap_len>>1;1<=be;be--)oe(N,Be,be);for(E=ht;be=N.heap[1],N.heap[1]=N.heap[N.heap_len--],oe(N,Be,1),Le=N.heap[1],N.heap[--N.heap_max]=be,N.heap[--N.heap_max]=Le,Be[2*E]=Be[2*be]+Be[2*Le],N.depth[E]=(N.depth[be]>=N.depth[Le]?N.depth[be]:N.depth[Le])+1,Be[2*be+1]=Be[2*Le+1]=E,N.heap[1]=E++,oe(N,Be,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],(function(wt,Wr){var En,Ua,xn,xr,Ki,Tf,ia=Wr.dyn_tree,Pa=Wr.max_code,Sa=Wr.stat_desc.static_tree,Ia=Wr.stat_desc.has_stree,Wa=Wr.stat_desc.extra_bits,tn=Wr.stat_desc.extra_base,Pn=Wr.stat_desc.max_length,rn=0;for(xr=0;xr<=p;xr++)wt.bl_count[xr]=0;for(ia[2*wt.heap[wt.heap_max]+1]=0,En=wt.heap_max+1;En<m;En++)Pn<(xr=ia[2*ia[2*(Ua=wt.heap[En])+1]+1]+1)&&(xr=Pn,rn++),ia[2*Ua+1]=xr,Pa<Ua||(wt.bl_count[xr]++,Ki=0,tn<=Ua&&(Ki=Wa[Ua-tn]),Tf=ia[2*Ua],wt.opt_len+=Tf*(xr+Ki),Ia&&(wt.static_len+=Tf*(Sa[2*Ua+1]+Ki)));if(rn!==0){do{for(xr=Pn-1;wt.bl_count[xr]===0;)xr--;wt.bl_count[xr]--,wt.bl_count[xr+1]+=2,wt.bl_count[Pn]--,rn-=2}while(0<rn);for(xr=Pn;xr!==0;xr--)for(Ua=wt.bl_count[xr];Ua!==0;)Pa<(xn=wt.heap[--En])||(ia[2*xn+1]!==xr&&(wt.opt_len+=(xr-ia[2*xn+1])*ia[2*xn],ia[2*xn+1]=xr),Ua--)}})(N,j),De(Be,Yt,N.bl_count)}function S(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),j[2*(be+1)+1]=65535,Le=0;Le<=be;Le++)E=We,We=j[2*(Le+1)+1],++Ce<ht&&E===We||(Ce<Yt?N.bl_tree[2*E]+=Ce:E!==0?(E!==Be&&N.bl_tree[2*E]++,N.bl_tree[2*v]++):Ce<=10?N.bl_tree[2*_]++:N.bl_tree[2*y]++,Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4))}function Ee(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),Le=0;Le<=be;Le++)if(E=We,We=j[2*(Le+1)+1],!(++Ce<ht&&E===We)){if(Ce<Yt)for(;u(N,E,N.bl_tree),--Ce!=0;);else E!==0?(E!==Be&&(u(N,E,N.bl_tree),Ce--),u(N,v,N.bl_tree),me(N,Ce-3,2)):Ce<=10?(u(N,_,N.bl_tree),me(N,Ce-3,3)):(u(N,y,N.bl_tree),me(N,Ce-11,7));Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4)}}i(A);var pe=!1;function Y(N,j,be,Le){me(N,(o<<1)+(Le?1:0),3),(function(E,Be,We,Ce){ee(E),Ce&&(ge(E,We),ge(E,~We)),a.arraySet(E.pending_buf,E.window,Be,We,E.pending),E.pending+=We})(N,j,be,!0)}t._tr_init=function(N){pe||((function(){var j,be,Le,E,Be,We=new Array(p+1);for(E=Le=0;E<d-1;E++)for(J[E]=Le,j=0;j<1<<I[E];j++)P[Le++]=E;for(P[Le-1]=E,E=Be=0;E<16;E++)for(A[E]=Be,j=0;j<1<<C[E];j++)O[Be++]=E;for(Be>>=7;E<l;E++)for(A[E]=Be<<7,j=0;j<1<<C[E]-7;j++)O[256+Be++]=E;for(be=0;be<=p;be++)We[be]=0;for(j=0;j<=143;)Z[2*j+1]=8,j++,We[8]++;for(;j<=255;)Z[2*j+1]=9,j++,We[9]++;for(;j<=279;)Z[2*j+1]=7,j++,We[7]++;for(;j<=287;)Z[2*j+1]=8,j++,We[8]++;for(De(Z,c+1,We),j=0;j<l;j++)T[2*j+1]=5,T[2*j]=h(j,5);re=new V(Z,I,f+1,c,p),Q=new V(T,C,0,l,p),ae=new V(new Array(0),R,0,g,k)})(),pe=!0),N.l_desc=new H(N.dyn_ltree,re),N.d_desc=new H(N.dyn_dtree,Q),N.bl_desc=new H(N.bl_tree,ae),N.bi_buf=0,N.bi_valid=0,Ue(N)},t._tr_stored_block=Y,t._tr_flush_block=function(N,j,be,Le){var E,Be,We=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=(function(Ce){var ht,Yt=4093624447;for(ht=0;ht<=31;ht++,Yt>>>=1)if(1&Yt&&Ce.dyn_ltree[2*ht]!==0)return s;if(Ce.dyn_ltree[18]!==0||Ce.dyn_ltree[20]!==0||Ce.dyn_ltree[26]!==0)return n;for(ht=32;ht<f;ht++)if(Ce.dyn_ltree[2*ht]!==0)return n;return s})(N)),dt(N,N.l_desc),dt(N,N.d_desc),We=(function(Ce){var ht;for(S(Ce,Ce.dyn_ltree,Ce.l_desc.max_code),S(Ce,Ce.dyn_dtree,Ce.d_desc.max_code),dt(Ce,Ce.bl_desc),ht=g-1;3<=ht&&Ce.bl_tree[2*B[ht]+1]===0;ht--);return Ce.opt_len+=3*(ht+1)+5+5+4,ht})(N),E=N.opt_len+3+7>>>3,(Be=N.static_len+3+7>>>3)<=E&&(E=Be)):E=Be=be+5,be+4<=E&&j!==-1?Y(N,j,be,Le):N.strategy===4||Be===E?(me(N,2+(Le?1:0),3),kt(N,Z,T)):(me(N,4+(Le?1:0),3),(function(Ce,ht,Yt,wt){var Wr;for(me(Ce,ht-257,5),me(Ce,Yt-1,5),me(Ce,wt-4,4),Wr=0;Wr<wt;Wr++)me(Ce,Ce.bl_tree[2*B[Wr]+1],3);Ee(Ce,Ce.dyn_ltree,ht-1),Ee(Ce,Ce.dyn_dtree,Yt-1)})(N,N.l_desc.max_code+1,N.d_desc.max_code+1,We+1),kt(N,N.dyn_ltree,N.dyn_dtree)),Ue(N),Le&&ee(N)},t._tr_tally=function(N,j,be){return N.pending_buf[N.d_buf+2*N.last_lit]=j>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&j,N.pending_buf[N.l_buf+N.last_lit]=255&be,N.last_lit++,j===0?N.dyn_ltree[2*be]++:(N.matches++,j--,N.dyn_ltree[2*(P[be]+f+1)]++,N.dyn_dtree[2*X(j)]++),N.last_lit===N.lit_bufsize-1},t._tr_align=function(N){me(N,2,3),u(N,M,Z),(function(j){j.bi_valid===16?(ge(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)})(N)}},{"../utils/common":41}],53:[function(e,r,t){"use strict";r.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(e,r,t){(function(a){(function(s,n){"use strict";if(!s.setImmediate){var i,o,d,f,c=1,l={},g=!1,m=s.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(s);p=p&&p.setTimeout?p:s,i={}.toString.call(s.process)==="[object process]"?function(v){process.nextTick(function(){k(v)})}:(function(){if(s.postMessage&&!s.importScripts){var v=!0,_=s.onmessage;return s.onmessage=function(){v=!1},s.postMessage("","*"),s.onmessage=_,v}})()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",M,!1):s.attachEvent("onmessage",M),function(v){s.postMessage(f+v,"*")}):s.MessageChannel?((d=new MessageChannel).port1.onmessage=function(v){k(v.data)},function(v){d.port2.postMessage(v)}):m&&"onreadystatechange"in m.createElement("script")?(o=m.documentElement,function(v){var _=m.createElement("script");_.onreadystatechange=function(){k(v),_.onreadystatechange=null,o.removeChild(_),_=null},o.appendChild(_)}):function(v){setTimeout(k,0,v)},p.setImmediate=function(v){typeof v!="function"&&(v=new Function(""+v));for(var _=new Array(arguments.length-1),y=0;y<_.length;y++)_[y]=arguments[y+1];var I={callback:v,args:_};return l[c]=I,i(c),c++},p.clearImmediate=b}function b(v){delete l[v]}function k(v){if(g)setTimeout(k,0,v);else{var _=l[v];if(_){g=!0;try{(function(y){var I=y.callback,C=y.args;switch(C.length){case 0:I();break;case 1:I(C[0]);break;case 2:I(C[0],C[1]);break;case 3:I(C[0],C[1],C[2]);break;default:I.apply(n,C)}})(_)}finally{b(v),g=!1}}}}function M(v){v.source===s&&typeof v.data=="string"&&v.data.indexOf(f)===0&&k(+v.data.slice(f.length))}})(typeof self=="undefined"?a===void 0?this:a:self)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})});var Ym=la(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});var Yb={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}};Nh.default=Yb});var Xm=la(Oi=>{"use strict";var Xb=Oi&&Oi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.hex=Oi.dec=Oi.codePoint=void 0;var Ab=Xb(Ym()),Kb=String.fromCodePoint?String.fromCodePoint:Fb;function zh(e,r){var t=Ab.default[e.toUpperCase()];if(t!==void 0){var a=t[r];if(a!==void 0)return{codePoint:a,string:Kb(a)}}}Oi.codePoint=zh;function Jb(e,r){return zh(e,parseInt(r,10))}Oi.dec=Jb;function Qb(e,r){return zh(e,parseInt(r,16))}Oi.hex=Qb;function Fb(e){if(e<=65535)return String.fromCharCode(e);var r=Math.floor((e-65536)/1024)+55296,t=(e-65536)%1024+56320;return String.fromCharCode(r,t)}});var L0=la(ja=>{"use strict";var qb=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function Vb(e,r){return Object.prototype.hasOwnProperty.call(e,r)}ja.assign=function(e){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var t=r.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var a in t)Vb(t,a)&&(e[a]=t[a])}}return e};ja.shrinkBuf=function(e,r){return e.length===r?e:e.subarray?e.subarray(0,r):(e.length=r,e)};var jb={arraySet:function(e,r,t,a,s){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),s);return}for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){var r,t,a,s,n,i;for(a=0,r=0,t=e.length;r<t;r++)a+=e[r].length;for(i=new Uint8Array(a),s=0,r=0,t=e.length;r<t;r++)n=e[r],i.set(n,s),s+=n.length;return i}},e6={arraySet:function(e,r,t,a,s){for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){return[].concat.apply([],e)}};ja.setTyped=function(e){e?(ja.Buf8=Uint8Array,ja.Buf16=Uint16Array,ja.Buf32=Int32Array,ja.assign(ja,jb)):(ja.Buf8=Array,ja.Buf16=Array,ja.Buf32=Array,ja.assign(ja,e6))};ja.setTyped(qb)});var p8=la(cf=>{"use strict";var t6=L0(),r6=4,Am=0,Km=1,a6=2;function uf(e){for(var r=e.length;--r>=0;)e[r]=0}var n6=0,jm=1,i6=2,s6=3,o6=258,Zh=29,Tu=256,Eu=Tu+1+Zh,lf=30,Wh=19,e8=2*Eu+1,So=15,Ch=16,f6=7,$h=256,t8=16,r8=17,a8=18,Uh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],V1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],n8=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u6=512,g0=new Array((Eu+2)*2);uf(g0);var Mu=new Array(lf*2);uf(Mu);var Pu=new Array(u6);uf(Pu);var Su=new Array(o6-s6+1);uf(Su);var Yh=new Array(Zh);uf(Yh);var j1=new Array(lf);uf(j1);function Oh(e,r,t,a,s){this.static_tree=e,this.extra_bits=r,this.extra_base=t,this.elems=a,this.max_length=s,this.has_stree=e&&e.length}var i8,s8,o8;function xh(e,r){this.dyn_tree=e,this.max_code=0,this.stat_desc=r}function f8(e){return e<256?Pu[e]:Pu[256+(e>>>7)]}function Iu(e,r){e.pending_buf[e.pending++]=r&255,e.pending_buf[e.pending++]=r>>>8&255}function fn(e,r,t){e.bi_valid>Ch-t?(e.bi_buf|=r<<e.bi_valid&65535,Iu(e,e.bi_buf),e.bi_buf=r>>Ch-e.bi_valid,e.bi_valid+=t-Ch):(e.bi_buf|=r<<e.bi_valid&65535,e.bi_valid+=t)}function xi(e,r,t){fn(e,t[r*2],t[r*2+1])}function l8(e,r){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--r>0);return t>>>1}function c6(e){e.bi_valid===16?(Iu(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function d6(e,r){var t=r.dyn_tree,a=r.max_code,s=r.stat_desc.static_tree,n=r.stat_desc.has_stree,i=r.stat_desc.extra_bits,o=r.stat_desc.extra_base,d=r.stat_desc.max_length,f,c,l,g,m,p,b=0;for(g=0;g<=So;g++)e.bl_count[g]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<e8;f++)c=e.heap[f],g=t[t[c*2+1]*2+1]+1,g>d&&(g=d,b++),t[c*2+1]=g,!(c>a)&&(e.bl_count[g]++,m=0,c>=o&&(m=i[c-o]),p=t[c*2],e.opt_len+=p*(g+m),n&&(e.static_len+=p*(s[c*2+1]+m)));if(b!==0){do{for(g=d-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[d]--,b-=2}while(b>0);for(g=d;g!==0;g--)for(c=e.bl_count[g];c!==0;)l=e.heap[--f],!(l>a)&&(t[l*2+1]!==g&&(e.opt_len+=(g-t[l*2+1])*t[l*2],t[l*2+1]=g),c--)}}function u8(e,r,t){var a=new Array(So+1),s=0,n,i;for(n=1;n<=So;n++)a[n]=s=s+t[n-1]<<1;for(i=0;i<=r;i++){var o=e[i*2+1];o!==0&&(e[i*2]=l8(a[o]++,o))}}function h6(){var e,r,t,a,s,n=new Array(So+1);for(t=0,a=0;a<Zh-1;a++)for(Yh[a]=t,e=0;e<1<<Uh[a];e++)Su[t++]=a;for(Su[t-1]=a,s=0,a=0;a<16;a++)for(j1[a]=s,e=0;e<1<<V1[a];e++)Pu[s++]=a;for(s>>=7;a<lf;a++)for(j1[a]=s<<7,e=0;e<1<<V1[a]-7;e++)Pu[256+s++]=a;for(r=0;r<=So;r++)n[r]=0;for(e=0;e<=143;)g0[e*2+1]=8,e++,n[8]++;for(;e<=255;)g0[e*2+1]=9,e++,n[9]++;for(;e<=279;)g0[e*2+1]=7,e++,n[7]++;for(;e<=287;)g0[e*2+1]=8,e++,n[8]++;for(u8(g0,Eu+1,n),e=0;e<lf;e++)Mu[e*2+1]=5,Mu[e*2]=l8(e,5);i8=new Oh(g0,Uh,Tu+1,Eu,So),s8=new Oh(Mu,V1,0,lf,So),o8=new Oh(new Array(0),l6,0,Wh,f6)}function c8(e){var r;for(r=0;r<Eu;r++)e.dyn_ltree[r*2]=0;for(r=0;r<lf;r++)e.dyn_dtree[r*2]=0;for(r=0;r<Wh;r++)e.bl_tree[r*2]=0;e.dyn_ltree[$h*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function d8(e){e.bi_valid>8?Iu(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function p6(e,r,t,a){d8(e),a&&(Iu(e,t),Iu(e,~t)),t6.arraySet(e.pending_buf,e.window,r,t,e.pending),e.pending+=t}function Jm(e,r,t,a){var s=r*2,n=t*2;return e[s]<e[n]||e[s]===e[n]&&a[r]<=a[t]}function Gh(e,r,t){for(var a=e.heap[t],s=t<<1;s<=e.heap_len&&(s<e.heap_len&&Jm(r,e.heap[s+1],e.heap[s],e.depth)&&s++,!Jm(r,a,e.heap[s],e.depth));)e.heap[t]=e.heap[s],t=s,s<<=1;e.heap[t]=a}function Qm(e,r,t){var a,s,n=0,i,o;if(e.last_lit!==0)do a=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],s=e.pending_buf[e.l_buf+n],n++,a===0?xi(e,s,r):(i=Su[s],xi(e,i+Tu+1,r),o=Uh[i],o!==0&&(s-=Yh[i],fn(e,s,o)),a--,i=f8(a),xi(e,i,t),o=V1[i],o!==0&&(a-=j1[i],fn(e,a,o)));while(n<e.last_lit);xi(e,$h,r)}function Hh(e,r){var t=r.dyn_tree,a=r.stat_desc.static_tree,s=r.stat_desc.has_stree,n=r.stat_desc.elems,i,o,d=-1,f;for(e.heap_len=0,e.heap_max=e8,i=0;i<n;i++)t[i*2]!==0?(e.heap[++e.heap_len]=d=i,e.depth[i]=0):t[i*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,s&&(e.static_len-=a[f*2+1]);for(r.max_code=d,i=e.heap_len>>1;i>=1;i--)Gh(e,t,i);f=n;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Gh(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,t[f*2]=t[i*2]+t[o*2],e.depth[f]=(e.depth[i]>=e.depth[o]?e.depth[i]:e.depth[o])+1,t[i*2+1]=t[o*2+1]=f,e.heap[1]=f++,Gh(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],d6(e,r),u8(t,d,e.bl_count)}function Fm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),r[(t+1)*2+1]=65535,a=0;a<=t;a++)n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)&&(o<f?e.bl_tree[n*2]+=o:n!==0?(n!==s&&e.bl_tree[n*2]++,e.bl_tree[t8*2]++):o<=10?e.bl_tree[r8*2]++:e.bl_tree[a8*2]++,o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4))}function qm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),a=0;a<=t;a++)if(n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)){if(o<f)do xi(e,n,e.bl_tree);while(--o!==0);else n!==0?(n!==s&&(xi(e,n,e.bl_tree),o--),xi(e,t8,e.bl_tree),fn(e,o-3,2)):o<=10?(xi(e,r8,e.bl_tree),fn(e,o-3,3)):(xi(e,a8,e.bl_tree),fn(e,o-11,7));o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4)}}function v6(e){var r;for(Fm(e,e.dyn_ltree,e.l_desc.max_code),Fm(e,e.dyn_dtree,e.d_desc.max_code),Hh(e,e.bl_desc),r=Wh-1;r>=3&&e.bl_tree[n8[r]*2+1]===0;r--);return e.opt_len+=3*(r+1)+5+5+4,r}function m6(e,r,t,a){var s;for(fn(e,r-257,5),fn(e,t-1,5),fn(e,a-4,4),s=0;s<a;s++)fn(e,e.bl_tree[n8[s]*2+1],3);qm(e,e.dyn_ltree,r-1),qm(e,e.dyn_dtree,t-1)}function _6(e){var r=4093624447,t;for(t=0;t<=31;t++,r>>>=1)if(r&1&&e.dyn_ltree[t*2]!==0)return Am;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return Km;for(t=32;t<Tu;t++)if(e.dyn_ltree[t*2]!==0)return Km;return Am}var Vm=!1;function b6(e){Vm||(h6(),Vm=!0),e.l_desc=new xh(e.dyn_ltree,i8),e.d_desc=new xh(e.dyn_dtree,s8),e.bl_desc=new xh(e.bl_tree,o8),e.bi_buf=0,e.bi_valid=0,c8(e)}function h8(e,r,t,a){fn(e,(n6<<1)+(a?1:0),3),p6(e,r,t,!0)}function L6(e){fn(e,jm<<1,3),xi(e,$h,g0),c6(e)}function g6(e,r,t,a){var s,n,i=0;e.level>0?(e.strm.data_type===a6&&(e.strm.data_type=_6(e)),Hh(e,e.l_desc),Hh(e,e.d_desc),i=v6(e),s=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=s&&(s=n)):s=n=t+5,t+4<=s&&r!==-1?h8(e,r,t,a):e.strategy===r6||n===s?(fn(e,(jm<<1)+(a?1:0),3),Qm(e,g0,Mu)):(fn(e,(i6<<1)+(a?1:0),3),m6(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),Qm(e,e.dyn_ltree,e.dyn_dtree)),c8(e),a&&d8(e)}function k6(e,r,t){return e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,r===0?e.dyn_ltree[t*2]++:(e.matches++,r--,e.dyn_ltree[(Su[t]+Tu+1)*2]++,e.dyn_dtree[f8(r)*2]++),e.last_lit===e.lit_bufsize-1}cf._tr_init=b6;cf._tr_stored_block=h8;cf._tr_flush_block=g6;cf._tr_tally=k6;cf._tr_align=L6});var Xh=la((b4,v8)=>{"use strict";function M6(e,r,t,a){for(var s=e&65535|0,n=e>>>16&65535|0,i=0;t!==0;){i=t>2e3?2e3:t,t-=i;do s=s+r[a++]|0,n=n+s|0;while(--i);s%=65521,n%=65521}return s|n<<16|0}v8.exports=M6});var Ah=la((L4,m8)=>{"use strict";function E6(){for(var e,r=[],t=0;t<256;t++){e=t;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;r[t]=e}return r}var P6=E6();function S6(e,r,t,a){var s=P6,n=a+t;e^=-1;for(var i=a;i<n;i++)e=e>>>8^s[(e^r[i])&255];return e^-1}m8.exports=S6});var ec=la((g4,_8)=>{"use strict";_8.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var I8=la(Hi=>{"use strict";var en=L0(),zn=p8(),k8=Xh(),X0=Ah(),I6=ec(),wo=0,T6=1,y6=3,F0=4,b8=5,Ui=0,L8=1,Cn=-2,w6=-3,Kh=-5,R6=-1,B6=1,tc=2,D6=3,N6=4,z6=0,C6=2,ic=8,O6=9,x6=15,G6=8,U6=29,H6=256,Qh=H6+1+U6,Z6=30,W6=19,$6=2*Qh+1,Y6=15,Ft=3,J0=258,Ei=J0+Ft+1,X6=32,sc=42,Fh=69,rc=73,ac=91,nc=103,Io=113,wu=666,ka=1,Ru=2,To=3,pf=4,A6=3;function Q0(e,r){return e.msg=I6[r],r}function g8(e){return(e<<1)-(e>4?9:0)}function K0(e){for(var r=e.length;--r>=0;)e[r]=0}function A0(e){var r=e.state,t=r.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(en.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out),e.next_out+=t,r.pending_out+=t,e.total_out+=t,e.avail_out-=t,r.pending-=t,r.pending===0&&(r.pending_out=0))}function Ga(e,r){zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r),e.block_start=e.strstart,A0(e.strm)}function sr(e,r){e.pending_buf[e.pending++]=r}function yu(e,r){e.pending_buf[e.pending++]=r>>>8&255,e.pending_buf[e.pending++]=r&255}function K6(e,r,t,a){var s=e.avail_in;return s>a&&(s=a),s===0?0:(e.avail_in-=s,en.arraySet(r,e.input,e.next_in,s,t),e.state.wrap===1?e.adler=k8(e.adler,r,s,t):e.state.wrap===2&&(e.adler=X0(e.adler,r,s,t)),e.next_in+=s,e.total_in+=s,s)}function M8(e,r){var t=e.max_chain_length,a=e.strstart,s,n,i=e.prev_length,o=e.nice_match,d=e.strstart>e.w_size-Ei?e.strstart-(e.w_size-Ei):0,f=e.window,c=e.w_mask,l=e.prev,g=e.strstart+J0,m=f[a+i-1],p=f[a+i];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(s=r,!(f[s+i]!==p||f[s+i-1]!==m||f[s]!==f[a]||f[++s]!==f[a+1])){a+=2,s++;do;while(f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&a<g);if(n=J0-(g-a),a=g-J0,n>i){if(e.match_start=r,i=n,n>=o)break;m=f[a+i-1],p=f[a+i]}}while((r=l[r&c])>d&&--t!==0);return i<=e.lookahead?i:e.lookahead}function yo(e){var r=e.w_size,t,a,s,n,i;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=r+(r-Ei)){en.arraySet(e.window,e.window,r,r,0),e.match_start-=r,e.strstart-=r,e.block_start-=r,a=e.hash_size,t=a;do s=e.head[--t],e.head[t]=s>=r?s-r:0;while(--a);a=r,t=a;do s=e.prev[--t],e.prev[t]=s>=r?s-r:0;while(--a);n+=r}if(e.strm.avail_in===0)break;if(a=K6(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=a,e.lookahead+e.insert>=Ft)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+Ft-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<Ft)););}while(e.lookahead<Ei&&e.strm.avail_in!==0)}function J6(e,r){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yo(e),e.lookahead===0&&r===wo)return ka;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+t;if((e.strstart===0||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,Ga(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Ei&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):(e.strstart>e.block_start&&(Ga(e,!1),e.strm.avail_out===0),ka)}function Jh(e,r){for(var t,a;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Ei&&(e.match_length=M8(e,t)),e.match_length>=Ft)if(a=zn._tr_tally(e,e.strstart-e.match_start,e.match_length-Ft),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ft){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function df(e,r){for(var t,a,s;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ft-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Ei&&(e.match_length=M8(e,t),e.match_length<=5&&(e.strategy===B6||e.match_length===Ft&&e.strstart-e.match_start>4096)&&(e.match_length=Ft-1)),e.prev_length>=Ft&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-Ft,a=zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Ft),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Ft-1,e.strstart++,a&&(Ga(e,!1),e.strm.avail_out===0))return ka}else if(e.match_available){if(a=zn._tr_tally(e,0,e.window[e.strstart-1]),a&&Ga(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ka}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function Q6(e,r){for(var t,a,s,n,i=e.window;;){if(e.lookahead<=J0){if(yo(e),e.lookahead<=J0&&r===wo)return ka;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ft&&e.strstart>0&&(s=e.strstart-1,a=i[s],a===i[++s]&&a===i[++s]&&a===i[++s])){n=e.strstart+J0;do;while(a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&s<n);e.match_length=J0-(n-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ft?(t=zn._tr_tally(e,1,e.match_length-Ft),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function F6(e,r){for(var t;;){if(e.lookahead===0&&(yo(e),e.lookahead===0)){if(r===wo)return ka;break}if(e.match_length=0,t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===F0?(Ga(e,!0),e.strm.avail_out===0?To:pf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Ru}function Gi(e,r,t,a,s){this.good_length=e,this.max_lazy=r,this.nice_length=t,this.max_chain=a,this.func=s}var hf;hf=[new Gi(0,0,0,0,J6),new Gi(4,4,8,4,Jh),new Gi(4,5,16,8,Jh),new Gi(4,6,32,32,Jh),new Gi(4,4,16,16,df),new Gi(8,16,32,32,df),new Gi(8,16,128,128,df),new Gi(8,32,128,256,df),new Gi(32,128,258,1024,df),new Gi(32,258,258,4096,df)];function q6(e){e.window_size=2*e.w_size,K0(e.head),e.max_lazy_match=hf[e.level].max_lazy,e.good_match=hf[e.level].good_length,e.nice_match=hf[e.level].nice_length,e.max_chain_length=hf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ft-1,e.match_available=0,e.ins_h=0}function V6(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ic,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new en.Buf16($6*2),this.dyn_dtree=new en.Buf16((2*Z6+1)*2),this.bl_tree=new en.Buf16((2*W6+1)*2),K0(this.dyn_ltree),K0(this.dyn_dtree),K0(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new en.Buf16(Y6+1),this.heap=new en.Buf16(2*Qh+1),K0(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new en.Buf16(2*Qh+1),K0(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function E8(e){var r;return!e||!e.state?Q0(e,Cn):(e.total_in=e.total_out=0,e.data_type=C6,r=e.state,r.pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?sc:Io,e.adler=r.wrap===2?0:1,r.last_flush=wo,zn._tr_init(r),Ui)}function P8(e){var r=E8(e);return r===Ui&&q6(e.state),r}function j6(e,r){return!e||!e.state||e.state.wrap!==2?Cn:(e.state.gzhead=r,Ui)}function S8(e,r,t,a,s,n){if(!e)return Cn;var i=1;if(r===R6&&(r=6),a<0?(i=0,a=-a):a>15&&(i=2,a-=16),s<1||s>O6||t!==ic||a<8||a>15||r<0||r>9||n<0||n>N6)return Q0(e,Cn);a===8&&(a=9);var o=new V6;return e.state=o,o.strm=e,o.wrap=i,o.gzhead=null,o.w_bits=a,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=s+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+Ft-1)/Ft),o.window=new en.Buf8(o.w_size*2),o.head=new en.Buf16(o.hash_size),o.prev=new en.Buf16(o.w_size),o.lit_bufsize=1<<s+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new en.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=r,o.strategy=n,o.method=t,P8(e)}function eL(e,r){return S8(e,r,ic,x6,G6,z6)}function tL(e,r){var t,a,s,n;if(!e||!e.state||r>b8||r<0)return e?Q0(e,Cn):Cn;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===wu&&r!==F0)return Q0(e,e.avail_out===0?Kh:Cn);if(a.strm=e,t=a.last_flush,a.last_flush=r,a.status===sc)if(a.wrap===2)e.adler=0,sr(a,31),sr(a,139),sr(a,8),a.gzhead?(sr(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),sr(a,a.gzhead.time&255),sr(a,a.gzhead.time>>8&255),sr(a,a.gzhead.time>>16&255),sr(a,a.gzhead.time>>24&255),sr(a,a.level===9?2:a.strategy>=tc||a.level<2?4:0),sr(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(sr(a,a.gzhead.extra.length&255),sr(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=X0(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Fh):(sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,a.level===9?2:a.strategy>=tc||a.level<2?4:0),sr(a,A6),a.status=Io);else{var i=ic+(a.w_bits-8<<4)<<8,o=-1;a.strategy>=tc||a.level<2?o=0:a.level<6?o=1:a.level===6?o=2:o=3,i|=o<<6,a.strstart!==0&&(i|=X6),i+=31-i%31,a.status=Io,yu(a,i),a.strstart!==0&&(yu(a,e.adler>>>16),yu(a,e.adler&65535)),e.adler=1}if(a.status===Fh)if(a.gzhead.extra){for(s=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size));)sr(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=rc)}else a.status=rc;if(a.status===rc)if(a.gzhead.name){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.name.length?n=a.gzhead.name.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.gzindex=0,a.status=ac)}else a.status=ac;if(a.status===ac)if(a.gzhead.comment){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.comment.length?n=a.gzhead.comment.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=X0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.status=nc)}else a.status=nc;if(a.status===nc&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&A0(e),a.pending+2<=a.pending_buf_size&&(sr(a,e.adler&255),sr(a,e.adler>>8&255),e.adler=0,a.status=Io)):a.status=Io),a.pending!==0){if(A0(e),e.avail_out===0)return a.last_flush=-1,Ui}else if(e.avail_in===0&&g8(r)<=g8(t)&&r!==F0)return Q0(e,Kh);if(a.status===wu&&e.avail_in!==0)return Q0(e,Kh);if(e.avail_in!==0||a.lookahead!==0||r!==wo&&a.status!==wu){var d=a.strategy===tc?F6(a,r):a.strategy===D6?Q6(a,r):hf[a.level].func(a,r);if((d===To||d===pf)&&(a.status=wu),d===ka||d===To)return e.avail_out===0&&(a.last_flush=-1),Ui;if(d===Ru&&(r===T6?zn._tr_align(a):r!==b8&&(zn._tr_stored_block(a,0,0,!1),r===y6&&(K0(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),A0(e),e.avail_out===0))return a.last_flush=-1,Ui}return r!==F0?Ui:a.wrap<=0?L8:(a.wrap===2?(sr(a,e.adler&255),sr(a,e.adler>>8&255),sr(a,e.adler>>16&255),sr(a,e.adler>>24&255),sr(a,e.total_in&255),sr(a,e.total_in>>8&255),sr(a,e.total_in>>16&255),sr(a,e.total_in>>24&255)):(yu(a,e.adler>>>16),yu(a,e.adler&65535)),A0(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?Ui:L8)}function rL(e){var r;return!e||!e.state?Cn:(r=e.state.status,r!==sc&&r!==Fh&&r!==rc&&r!==ac&&r!==nc&&r!==Io&&r!==wu?Q0(e,Cn):(e.state=null,r===Io?Q0(e,w6):Ui))}function aL(e,r){var t=r.length,a,s,n,i,o,d,f,c;if(!e||!e.state||(a=e.state,i=a.wrap,i===2||i===1&&a.status!==sc||a.lookahead))return Cn;for(i===1&&(e.adler=k8(e.adler,r,t,0)),a.wrap=0,t>=a.w_size&&(i===0&&(K0(a.head),a.strstart=0,a.block_start=0,a.insert=0),c=new en.Buf8(a.w_size),en.arraySet(c,r,t-a.w_size,a.w_size,0),r=c,t=a.w_size),o=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=r,yo(a);a.lookahead>=Ft;){s=a.strstart,n=a.lookahead-(Ft-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[s+Ft-1])&a.hash_mask,a.prev[s&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=s,s++;while(--n);a.strstart=s,a.lookahead=Ft-1,yo(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=Ft-1,a.match_available=0,e.next_in=d,e.input=f,e.avail_in=o,a.wrap=i,Ui}Hi.deflateInit=eL;Hi.deflateInit2=S8;Hi.deflateReset=P8;Hi.deflateResetKeep=E8;Hi.deflateSetHeader=j6;Hi.deflate=tL;Hi.deflateEnd=rL;Hi.deflateSetDictionary=aL;Hi.deflateInfo="pako deflate (from Nodeca project)"});var qh=la(vf=>{"use strict";var oc=L0(),T8=!0,y8=!0;try{String.fromCharCode.apply(null,[0])}catch{T8=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{y8=!1}var Bu=new oc.Buf8(256);for(k0=0;k0<256;k0++)Bu[k0]=k0>=252?6:k0>=248?5:k0>=240?4:k0>=224?3:k0>=192?2:1;var k0;Bu[254]=Bu[254]=1;vf.string2buf=function(e){var r,t,a,s,n,i=e.length,o=0;for(s=0;s<i;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(r=new oc.Buf8(o),n=0,s=0;n<o;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),t<128?r[n++]=t:t<2048?(r[n++]=192|t>>>6,r[n++]=128|t&63):t<65536?(r[n++]=224|t>>>12,r[n++]=128|t>>>6&63,r[n++]=128|t&63):(r[n++]=240|t>>>18,r[n++]=128|t>>>12&63,r[n++]=128|t>>>6&63,r[n++]=128|t&63);return r};function w8(e,r){if(r<65534&&(e.subarray&&y8||!e.subarray&&T8))return String.fromCharCode.apply(null,oc.shrinkBuf(e,r));for(var t="",a=0;a<r;a++)t+=String.fromCharCode(e[a]);return t}vf.buf2binstring=function(e){return w8(e,e.length)};vf.binstring2buf=function(e){for(var r=new oc.Buf8(e.length),t=0,a=r.length;t<a;t++)r[t]=e.charCodeAt(t);return r};vf.buf2string=function(e,r){var t,a,s,n,i=r||e.length,o=new Array(i*2);for(a=0,t=0;t<i;){if(s=e[t++],s<128){o[a++]=s;continue}if(n=Bu[s],n>4){o[a++]=65533,t+=n-1;continue}for(s&=n===2?31:n===3?15:7;n>1&&t<i;)s=s<<6|e[t++]&63,n--;if(n>1){o[a++]=65533;continue}s<65536?o[a++]=s:(s-=65536,o[a++]=55296|s>>10&1023,o[a++]=56320|s&1023)}return w8(o,a)};vf.utf8border=function(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+Bu[e[t]]>r?t:r}});var Vh=la((E4,R8)=>{"use strict";function nL(){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}R8.exports=nL});var z8=la(zu=>{"use strict";var Du=I8(),Nu=L0(),ep=qh(),tp=ec(),iL=Vh(),N8=Object.prototype.toString,sL=0,jh=4,mf=0,B8=1,D8=2,oL=-1,fL=0,lL=8;function Ro(e){if(!(this instanceof Ro))return new Ro(e);this.options=Nu.assign({level:oL,method:lL,chunkSize:16384,windowBits:15,memLevel:8,strategy:fL,to:""},e||{});var r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new iL,this.strm.avail_out=0;var t=Du.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==mf)throw new Error(tp[t]);if(r.header&&Du.deflateSetHeader(this.strm,r.header),r.dictionary){var a;if(typeof r.dictionary=="string"?a=ep.string2buf(r.dictionary):N8.call(r.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(r.dictionary):a=r.dictionary,t=Du.deflateSetDictionary(this.strm,a),t!==mf)throw new Error(tp[t]);this._dict_set=!0}}Ro.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s,n;if(this.ended)return!1;n=r===~~r?r:r===!0?jh:sL,typeof e=="string"?t.input=ep.string2buf(e):N8.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Nu.Buf8(a),t.next_out=0,t.avail_out=a),s=Du.deflate(t,n),s!==B8&&s!==mf)return this.onEnd(s),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(n===jh||n===D8))&&(this.options.to==="string"?this.onData(ep.buf2binstring(Nu.shrinkBuf(t.output,t.next_out))):this.onData(Nu.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&s!==B8);return n===jh?(s=Du.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===mf):(n===D8&&(this.onEnd(mf),t.avail_out=0),!0)};Ro.prototype.onData=function(e){this.chunks.push(e)};Ro.prototype.onEnd=function(e){e===mf&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Nu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function rp(e,r){var t=new Ro(r);if(t.push(e,!0),t.err)throw t.msg||tp[t.err];return t.result}function uL(e,r){return r=r||{},r.raw=!0,rp(e,r)}function cL(e,r){return r=r||{},r.gzip=!0,rp(e,r)}zu.Deflate=Ro;zu.deflate=rp;zu.deflateRaw=uL;zu.gzip=cL});var O8=la((S4,C8)=>{"use strict";var fc=30,dL=12;C8.exports=function(r,t){var a,s,n,i,o,d,f,c,l,g,m,p,b,k,M,v,_,y,I,C,R,B,Z,T,O;a=r.state,s=r.next_in,T=r.input,n=s+(r.avail_in-5),i=r.next_out,O=r.output,o=i-(t-r.avail_out),d=i+(r.avail_out-257),f=a.dmax,c=a.wsize,l=a.whave,g=a.wnext,m=a.window,p=a.hold,b=a.bits,k=a.lencode,M=a.distcode,v=(1<<a.lenbits)-1,_=(1<<a.distbits)-1;e:do{b<15&&(p+=T[s++]<<b,b+=8,p+=T[s++]<<b,b+=8),y=k[p&v];t:for(;;){if(I=y>>>24,p>>>=I,b-=I,I=y>>>16&255,I===0)O[i++]=y&65535;else if(I&16){C=y&65535,I&=15,I&&(b<I&&(p+=T[s++]<<b,b+=8),C+=p&(1<<I)-1,p>>>=I,b-=I),b<15&&(p+=T[s++]<<b,b+=8,p+=T[s++]<<b,b+=8),y=M[p&_];r:for(;;){if(I=y>>>24,p>>>=I,b-=I,I=y>>>16&255,I&16){if(R=y&65535,I&=15,b<I&&(p+=T[s++]<<b,b+=8,b<I&&(p+=T[s++]<<b,b+=8)),R+=p&(1<<I)-1,R>f){r.msg="invalid distance too far back",a.mode=fc;break e}if(p>>>=I,b-=I,I=i-o,R>I){if(I=R-I,I>l&&a.sane){r.msg="invalid distance too far back",a.mode=fc;break e}if(B=0,Z=m,g===0){if(B+=c-I,I<C){C-=I;do O[i++]=m[B++];while(--I);B=i-R,Z=O}}else if(g<I){if(B+=c+g-I,I-=g,I<C){C-=I;do O[i++]=m[B++];while(--I);if(B=0,g<C){I=g,C-=I;do O[i++]=m[B++];while(--I);B=i-R,Z=O}}}else if(B+=g-I,I<C){C-=I;do O[i++]=m[B++];while(--I);B=i-R,Z=O}for(;C>2;)O[i++]=Z[B++],O[i++]=Z[B++],O[i++]=Z[B++],C-=3;C&&(O[i++]=Z[B++],C>1&&(O[i++]=Z[B++]))}else{B=i-R;do O[i++]=O[B++],O[i++]=O[B++],O[i++]=O[B++],C-=3;while(C>2);C&&(O[i++]=O[B++],C>1&&(O[i++]=O[B++]))}}else if((I&64)===0){y=M[(y&65535)+(p&(1<<I)-1)];continue r}else{r.msg="invalid distance code",a.mode=fc;break e}break}}else if((I&64)===0){y=k[(y&65535)+(p&(1<<I)-1)];continue t}else if(I&32){a.mode=dL;break e}else{r.msg="invalid literal/length code",a.mode=fc;break e}break}}while(s<n&&i<d);C=b>>3,s-=C,b-=C<<3,p&=(1<<b)-1,r.next_in=s,r.next_out=i,r.avail_in=s<n?5+(n-s):5-(s-n),r.avail_out=i<d?257+(d-i):257-(i-d),a.hold=p,a.bits=b}});var $8=la((I4,W8)=>{"use strict";var x8=L0(),_f=15,G8=852,U8=592,H8=0,ap=1,Z8=2,hL=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],pL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],vL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],mL=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W8.exports=function(r,t,a,s,n,i,o,d){var f=d.bits,c=0,l=0,g=0,m=0,p=0,b=0,k=0,M=0,v=0,_=0,y,I,C,R,B,Z=null,T=0,O,P=new x8.Buf16(_f+1),J=new x8.Buf16(_f+1),re=null,Q=0,ae,A,V;for(c=0;c<=_f;c++)P[c]=0;for(l=0;l<s;l++)P[t[a+l]]++;for(p=f,m=_f;m>=1&&P[m]===0;m--);if(p>m&&(p=m),m===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,d.bits=1,0;for(g=1;g<m&&P[g]===0;g++);for(p<g&&(p=g),M=1,c=1;c<=_f;c++)if(M<<=1,M-=P[c],M<0)return-1;if(M>0&&(r===H8||m!==1))return-1;for(J[1]=0,c=1;c<_f;c++)J[c+1]=J[c]+P[c];for(l=0;l<s;l++)t[a+l]!==0&&(o[J[t[a+l]]++]=l);if(r===H8?(Z=re=o,O=19):r===ap?(Z=hL,T-=257,re=pL,Q-=257,O=256):(Z=vL,re=mL,O=-1),_=0,l=0,c=g,B=i,b=p,k=0,C=-1,v=1<<p,R=v-1,r===ap&&v>G8||r===Z8&&v>U8)return 1;for(;;){ae=c-k,o[l]<O?(A=0,V=o[l]):o[l]>O?(A=re[Q+o[l]],V=Z[T+o[l]]):(A=96,V=0),y=1<<c-k,I=1<<b,g=I;do I-=y,n[B+(_>>k)+I]=ae<<24|A<<16|V|0;while(I!==0);for(y=1<<c-1;_&y;)y>>=1;if(y!==0?(_&=y-1,_+=y):_=0,l++,--P[c]===0){if(c===m)break;c=t[a+o[l]]}if(c>p&&(_&R)!==C){for(k===0&&(k=p),B+=g,b=c-k,M=1<<b;b+k<m&&(M-=P[b+k],!(M<=0));)b++,M<<=1;if(v+=1<<b,r===ap&&v>G8||r===Z8&&v>U8)return 1;C=_&R,n[C]=p<<24|b<<16|B-i|0}}return _!==0&&(n[B+_]=c-k<<24|64<<16|0),d.bits=p,0}});var P_=la(Pi=>{"use strict";var Mn=L0(),lp=Xh(),Zi=Ah(),_L=O8(),Cu=$8(),bL=0,v_=1,m_=2,Y8=4,LL=5,lc=6,Bo=0,gL=1,kL=2,On=-2,__=-3,up=-4,ML=-5,X8=8,b_=1,A8=2,K8=3,J8=4,Q8=5,F8=6,q8=7,V8=8,j8=9,e_=10,dc=11,M0=12,np=13,t_=14,ip=15,r_=16,a_=17,n_=18,i_=19,uc=20,cc=21,s_=22,o_=23,f_=24,l_=25,u_=26,sp=27,c_=28,d_=29,Or=30,cp=31,EL=32,PL=852,SL=592,IL=15,TL=IL;function h_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function yL(){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 Mn.Buf16(320),this.work=new Mn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function L_(e){var r;return!e||!e.state?On:(r=e.state,e.total_in=e.total_out=r.total=0,e.msg="",r.wrap&&(e.adler=r.wrap&1),r.mode=b_,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new Mn.Buf32(PL),r.distcode=r.distdyn=new Mn.Buf32(SL),r.sane=1,r.back=-1,Bo)}function g_(e){var r;return!e||!e.state?On:(r=e.state,r.wsize=0,r.whave=0,r.wnext=0,L_(e))}function k_(e,r){var t,a;return!e||!e.state||(a=e.state,r<0?(t=0,r=-r):(t=(r>>4)+1,r<48&&(r&=15)),r&&(r<8||r>15))?On:(a.window!==null&&a.wbits!==r&&(a.window=null),a.wrap=t,a.wbits=r,g_(e))}function M_(e,r){var t,a;return e?(a=new yL,e.state=a,a.window=null,t=k_(e,r),t!==Bo&&(e.state=null),t):On}function wL(e){return M_(e,TL)}var p_=!0,op,fp;function RL(e){if(p_){var r;for(op=new Mn.Buf32(512),fp=new Mn.Buf32(32),r=0;r<144;)e.lens[r++]=8;for(;r<256;)e.lens[r++]=9;for(;r<280;)e.lens[r++]=7;for(;r<288;)e.lens[r++]=8;for(Cu(v_,e.lens,0,288,op,0,e.work,{bits:9}),r=0;r<32;)e.lens[r++]=5;Cu(m_,e.lens,0,32,fp,0,e.work,{bits:5}),p_=!1}e.lencode=op,e.lenbits=9,e.distcode=fp,e.distbits=5}function E_(e,r,t,a){var s,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new Mn.Buf8(n.wsize)),a>=n.wsize?(Mn.arraySet(n.window,r,t-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(s=n.wsize-n.wnext,s>a&&(s=a),Mn.arraySet(n.window,r,t-a,s,n.wnext),a-=s,a?(Mn.arraySet(n.window,r,t-a,a,0),n.wnext=a,n.whave=n.wsize):(n.wnext+=s,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=s))),0}function BL(e,r){var t,a,s,n,i,o,d,f,c,l,g,m,p,b,k=0,M,v,_,y,I,C,R,B,Z=new Mn.Buf8(4),T,O,P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return On;t=e.state,t.mode===M0&&(t.mode=np),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,l=o,g=d,B=Bo;e:for(;;)switch(t.mode){case b_:if(t.wrap===0){t.mode=np;break}for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.wrap&2&&f===35615){t.check=0,Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0),f=0,c=0,t.mode=A8;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=Or;break}if((f&15)!==X8){e.msg="unknown compression method",t.mode=Or;break}if(f>>>=4,c-=4,R=(f&15)+8,t.wbits===0)t.wbits=R;else if(R>t.wbits){e.msg="invalid window size",t.mode=Or;break}t.dmax=1<<R,e.adler=t.check=1,t.mode=f&512?e_:M0,f=0,c=0;break;case A8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.flags=f,(t.flags&255)!==X8){e.msg="unknown compression method",t.mode=Or;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=Or;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,c=0,t.mode=K8;case K8:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.time=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,Z[2]=f>>>16&255,Z[3]=f>>>24&255,t.check=Zi(t.check,Z,4,0)),f=0,c=0,t.mode=J8;case J8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,c=0,t.mode=Q8;case Q8:if(t.flags&1024){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,c=0}else t.head&&(t.head.extra=null);t.mode=F8;case F8:if(t.flags&1024&&(m=t.length,m>o&&(m=o),m&&(t.head&&(R=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),Mn.arraySet(t.head.extra,a,n,m,R)),t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,t.length-=m),t.length))break e;t.length=0,t.mode=q8;case q8:if(t.flags&2048){if(o===0)break e;m=0;do R=a[n+m++],t.head&&R&&t.length<65536&&(t.head.name+=String.fromCharCode(R));while(R&&m<o);if(t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,R)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=V8;case V8:if(t.flags&4096){if(o===0)break e;m=0;do R=a[n+m++],t.head&&R&&t.length<65536&&(t.head.comment+=String.fromCharCode(R));while(R&&m<o);if(t.flags&512&&(t.check=Zi(t.check,a,m,n)),o-=m,n+=m,R)break e}else t.head&&(t.head.comment=null);t.mode=j8;case j8:if(t.flags&512){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=Or;break}f=0,c=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=M0;break;case e_:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}e.adler=t.check=h_(f),f=0,c=0,t.mode=dc;case dc:if(t.havedict===0)return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,kL;e.adler=t.check=1,t.mode=M0;case M0:if(r===LL||r===lc)break e;case np:if(t.last){f>>>=c&7,c-=c&7,t.mode=sp;break}for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}switch(t.last=f&1,f>>>=1,c-=1,f&3){case 0:t.mode=t_;break;case 1:if(RL(t),t.mode=uc,r===lc){f>>>=2,c-=2;break e}break;case 2:t.mode=a_;break;case 3:e.msg="invalid block type",t.mode=Or}f>>>=2,c-=2;break;case t_:for(f>>>=c&7,c-=c&7;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((f&65535)!==(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=Or;break}if(t.length=f&65535,f=0,c=0,t.mode=ip,r===lc)break e;case ip:t.mode=r_;case r_:if(m=t.length,m){if(m>o&&(m=o),m>d&&(m=d),m===0)break e;Mn.arraySet(s,a,n,m,i),o-=m,n+=m,d-=m,i+=m,t.length-=m;break}t.mode=M0;break;case a_:for(;c<14;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.nlen=(f&31)+257,f>>>=5,c-=5,t.ndist=(f&31)+1,f>>>=5,c-=5,t.ncode=(f&15)+4,f>>>=4,c-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=Or;break}t.have=0,t.mode=n_;case n_:for(;t.have<t.ncode;){for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.lens[P[t.have++]]=f&7,f>>>=3,c-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,T={bits:t.lenbits},B=Cu(bL,t.lens,0,19,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid code lengths set",t.mode=Or;break}t.have=0,t.mode=i_;case i_:for(;t.have<t.nlen+t.ndist;){for(;k=t.lencode[f&(1<<t.lenbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(_<16)f>>>=M,c-=M,t.lens[t.have++]=_;else{if(_===16){for(O=M+2;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f>>>=M,c-=M,t.have===0){e.msg="invalid bit length repeat",t.mode=Or;break}R=t.lens[t.have-1],m=3+(f&3),f>>>=2,c-=2}else if(_===17){for(O=M+3;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,m=3+(f&7),f>>>=3,c-=3}else{for(O=M+7;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,m=11+(f&127),f>>>=7,c-=7}if(t.have+m>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=Or;break}for(;m--;)t.lens[t.have++]=R}}if(t.mode===Or)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=Or;break}if(t.lenbits=9,T={bits:t.lenbits},B=Cu(v_,t.lens,0,t.nlen,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid literal/lengths set",t.mode=Or;break}if(t.distbits=6,t.distcode=t.distdyn,T={bits:t.distbits},B=Cu(m_,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,T),t.distbits=T.bits,B){e.msg="invalid distances set",t.mode=Or;break}if(t.mode=uc,r===lc)break e;case uc:t.mode=cc;case cc:if(o>=6&&d>=258){e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,_L(e,g),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,t.mode===M0&&(t.back=-1);break}for(t.back=0;k=t.lencode[f&(1<<t.lenbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(v&&(v&240)===0){for(y=M,I=v,C=_;k=t.lencode[C+((f&(1<<y+I)-1)>>y)],M=k>>>24,v=k>>>16&255,_=k&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,t.length=_,v===0){t.mode=u_;break}if(v&32){t.back=-1,t.mode=M0;break}if(v&64){e.msg="invalid literal/length code",t.mode=Or;break}t.extra=v&15,t.mode=s_;case s_:if(t.extra){for(O=t.extra;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=o_;case o_:for(;k=t.distcode[f&(1<<t.distbits)-1],M=k>>>24,v=k>>>16&255,_=k&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((v&240)===0){for(y=M,I=v,C=_;k=t.distcode[C+((f&(1<<y+I)-1)>>y)],M=k>>>24,v=k>>>16&255,_=k&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,v&64){e.msg="invalid distance code",t.mode=Or;break}t.offset=_,t.extra=v&15,t.mode=f_;case f_:if(t.extra){for(O=t.extra;c<O;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=Or;break}t.mode=l_;case l_:if(d===0)break e;if(m=g-d,t.offset>m){if(m=t.offset-m,m>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=Or;break}m>t.wnext?(m-=t.wnext,p=t.wsize-m):p=t.wnext-m,m>t.length&&(m=t.length),b=t.window}else b=s,p=i-t.offset,m=t.length;m>d&&(m=d),d-=m,t.length-=m;do s[i++]=b[p++];while(--m);t.length===0&&(t.mode=cc);break;case u_:if(d===0)break e;s[i++]=t.length,d--,t.mode=cc;break;case sp:if(t.wrap){for(;c<32;){if(o===0)break e;o--,f|=a[n++]<<c,c+=8}if(g-=d,e.total_out+=g,t.total+=g,g&&(e.adler=t.check=t.flags?Zi(t.check,s,g,i-g):lp(t.check,s,g,i-g)),g=d,(t.flags?f:h_(f))!==t.check){e.msg="incorrect data check",t.mode=Or;break}f=0,c=0}t.mode=c_;case c_:if(t.wrap&&t.flags){for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=Or;break}f=0,c=0}t.mode=d_;case d_:B=gL;break e;case Or:B=__;break e;case cp:return up;case EL:default:return On}return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,(t.wsize||g!==e.avail_out&&t.mode<Or&&(t.mode<sp||r!==Y8))&&E_(e,e.output,e.next_out,g-e.avail_out)?(t.mode=cp,up):(l-=e.avail_in,g-=e.avail_out,e.total_in+=l,e.total_out+=g,t.total+=g,t.wrap&&g&&(e.adler=t.check=t.flags?Zi(t.check,s,g,e.next_out-g):lp(t.check,s,g,e.next_out-g)),e.data_type=t.bits+(t.last?64:0)+(t.mode===M0?128:0)+(t.mode===uc||t.mode===ip?256:0),(l===0&&g===0||r===Y8)&&B===Bo&&(B=ML),B)}function DL(e){if(!e||!e.state)return On;var r=e.state;return r.window&&(r.window=null),e.state=null,Bo}function NL(e,r){var t;return!e||!e.state||(t=e.state,(t.wrap&2)===0)?On:(t.head=r,r.done=!1,Bo)}function zL(e,r){var t=r.length,a,s,n;return!e||!e.state||(a=e.state,a.wrap!==0&&a.mode!==dc)?On:a.mode===dc&&(s=1,s=lp(s,r,t,0),s!==a.check)?__:(n=E_(e,r,t,t),n?(a.mode=cp,up):(a.havedict=1,Bo))}Pi.inflateReset=g_;Pi.inflateReset2=k_;Pi.inflateResetKeep=L_;Pi.inflateInit=wL;Pi.inflateInit2=M_;Pi.inflate=BL;Pi.inflateEnd=DL;Pi.inflateGetHeader=NL;Pi.inflateSetDictionary=zL;Pi.inflateInfo="pako inflate (from Nodeca project)"});var dp=la((y4,S_)=>{"use strict";S_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var T_=la((w4,I_)=>{"use strict";function CL(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}I_.exports=CL});var w_=la(xu=>{"use strict";var bf=P_(),Ou=L0(),hc=qh(),na=dp(),hp=ec(),OL=Vh(),xL=T_(),y_=Object.prototype.toString;function Do(e){if(!(this instanceof Do))return new Do(e);this.options=Ou.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)&&(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(r.windowBits&15)===0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new OL,this.strm.avail_out=0;var t=bf.inflateInit2(this.strm,r.windowBits);if(t!==na.Z_OK)throw new Error(hp[t]);if(this.header=new xL,bf.inflateGetHeader(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=hc.string2buf(r.dictionary):y_.call(r.dictionary)==="[object ArrayBuffer]"&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(t=bf.inflateSetDictionary(this.strm,r.dictionary),t!==na.Z_OK)))throw new Error(hp[t])}Do.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s=this.options.dictionary,n,i,o,d,f,c=!1;if(this.ended)return!1;i=r===~~r?r:r===!0?na.Z_FINISH:na.Z_NO_FLUSH,typeof e=="string"?t.input=hc.binstring2buf(e):y_.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Ou.Buf8(a),t.next_out=0,t.avail_out=a),n=bf.inflate(t,na.Z_NO_FLUSH),n===na.Z_NEED_DICT&&s&&(n=bf.inflateSetDictionary(this.strm,s)),n===na.Z_BUF_ERROR&&c===!0&&(n=na.Z_OK,c=!1),n!==na.Z_STREAM_END&&n!==na.Z_OK)return this.onEnd(n),this.ended=!0,!1;t.next_out&&(t.avail_out===0||n===na.Z_STREAM_END||t.avail_in===0&&(i===na.Z_FINISH||i===na.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=hc.utf8border(t.output,t.next_out),d=t.next_out-o,f=hc.buf2string(t.output,o),t.next_out=d,t.avail_out=a-d,d&&Ou.arraySet(t.output,t.output,o,d,0),this.onData(f)):this.onData(Ou.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(c=!0)}while((t.avail_in>0||t.avail_out===0)&&n!==na.Z_STREAM_END);return n===na.Z_STREAM_END&&(i=na.Z_FINISH),i===na.Z_FINISH?(n=bf.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===na.Z_OK):(i===na.Z_SYNC_FLUSH&&(this.onEnd(na.Z_OK),t.avail_out=0),!0)};Do.prototype.onData=function(e){this.chunks.push(e)};Do.prototype.onEnd=function(e){e===na.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ou.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function pp(e,r){var t=new Do(r);if(t.push(e,!0),t.err)throw t.msg||hp[t.err];return t.result}function GL(e,r){return r=r||{},r.raw=!0,pp(e,r)}xu.Inflate=Do;xu.inflate=pp;xu.inflateRaw=GL;xu.ungzip=pp});var D_=la((B4,B_)=>{"use strict";var UL=L0().assign,HL=z8(),ZL=w_(),WL=dp(),R_={};UL(R_,HL,ZL,WL);B_.exports=R_});var N_=la((D4,vp)=>{(function(){var e={};typeof vp=="object"?vp.exports=e:self.UTIF=e;var r;typeof Eo=="function"?r=D_():r=self.pako;function t(){typeof process=="undefined"&&console.log.apply(console,arguments)}(function(a,s){(function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i=(function(){function d(f){this.message="JPEG error: "+f}return d.prototype=Error(),d.prototype.name="JpegError",d.constructor=d})(),o=(function(){function d(f,c){this.message=f,this.g=c}return d.prototype=Error(),d.prototype.name="DNLMarkerError",d.constructor=d})();(function(){function d(){this.M=null,this.B=-1}function f(p,b){for(var k=0,M=[],v,_,y=16;0<y&&!p[y-1];)y--;M.push({children:[],index:0});var I=M[0],C;for(v=0;v<y;v++){for(_=0;_<p[v];_++){for(I=M.pop(),I.children[I.index]=b[k];0<I.index;)I=M.pop();for(I.index++,M.push(I);M.length<=v;)M.push(C={children:[],index:0}),I.children[I.index]=C.children,I=C;k++}v+1<y&&(M.push(C={children:[],index:0}),I.children[I.index]=C.children,I=C)}return M[0].children}function c(p,b,k,M,v,_,y,I,C){function R(){if(0<X)return X--,H>>X&1;if(H=p[b++],H===255){var N=p[b++];if(N){if(N===220&&ae){b+=2;var j=p[b++]<<8|p[b++];if(0<j&&j!==k.g)throw new o("Found DNL marker (0xFFDC) while parsing scan data",j)}throw new i("unexpected marker "+(H<<8|N).toString(16))}}return X=7,H>>>7}function B(N){for(;;){if(N=N[R()],typeof N=="number")return N;if((typeof N=="undefined"?"undefined":n(N))!=="object")throw new i("invalid huffman sequence")}}function Z(N){for(var j=0;0<N;)j=j<<1|R(),N--;return j}function T(N){if(N===1)return R()===1?1:-1;var j=Z(N);return j>=1<<N-1?j:j+(-1<<N)+1}function O(N,j){var be=B(N.D);for(be=be===0?0:T(be),N.a[j]=N.m+=be,be=1;64>be;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le)break;be+=16}else be+=Le,N.a[j+m[be]]=T(E),be++}}function P(N,j){var be=B(N.D);be=be===0?0:T(be)<<C,N.a[j]=N.m+=be}function J(N,j){N.a[j]|=R()<<C}function re(N,j){if(0<ge)ge--;else for(var be=_;be<=y;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le){ge=Z(Le)+(1<<Le)-1;break}be+=16}else be+=Le,N.a[j+m[be]]=T(E)*(1<<C),be++}}function Q(N,j){for(var be=_,Le=0,E;be<=y;){E=j+m[be];var Be=0>N.a[E]?-1:1;switch(me){case 0:if(Le=B(N.o),E=Le&15,Le>>=4,E===0)15>Le?(ge=Z(Le)+(1<<Le),me=4):(Le=16,me=1);else{if(E!==1)throw new i("invalid ACn encoding");u=T(E),me=Le?2:3}continue;case 1:case 2:N.a[E]?N.a[E]+=Be*(R()<<C):(Le--,Le===0&&(me=me===2?3:0));break;case 3:N.a[E]?N.a[E]+=Be*(R()<<C):(N.a[E]=u<<C,me=0);break;case 4:N.a[E]&&(N.a[E]+=Be*(R()<<C))}be++}me===4&&(ge--,ge===0&&(me=0))}for(var ae=9<arguments.length&&arguments[9]!==void 0?arguments[9]:!1,A=k.P,V=b,H=0,X=0,ge=0,me=0,u,h=M.length,De,Ue,ee,fe,oe=k.S?_===0?I===0?P:J:I===0?re:Q:O,kt=0,dt=h===1?M[0].c*M[0].l:A*k.O,S,Ee;kt<dt;){var pe=v?Math.min(dt-kt,v):dt;for(De=0;De<h;De++)M[De].m=0;if(ge=0,h===1){var Y=M[0];for(fe=0;fe<pe;fe++)oe(Y,64*((Y.c+1)*(kt/Y.c|0)+kt%Y.c)),kt++}else for(fe=0;fe<pe;fe++){for(De=0;De<h;De++)for(Y=M[De],S=Y.h,Ee=Y.j,Ue=0;Ue<Ee;Ue++)for(ee=0;ee<S;ee++)oe(Y,64*((Y.c+1)*((kt/A|0)*Y.j+Ue)+(kt%A*Y.h+ee)));kt++}if(X=0,(Y=g(p,b))&&Y.f&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+Y.f),b=Y.offset),Y=Y&&Y.F,!Y||65280>=Y)throw new i("marker was not found");if(65488<=Y&&65495>=Y)b+=2;else break}return(Y=g(p,b))&&Y.f&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+Y.f),b=Y.offset),b-V}function l(p,b){for(var k=b.c,M=b.l,v=new Int16Array(64),_=0;_<M;_++)for(var y=0;y<k;y++){var I=64*((b.c+1)*_+y),C=v,R=b.G,B=b.a;if(!R)throw new i("missing required Quantization Table.");for(var Z=0;64>Z;Z+=8){var T=B[I+Z],O=B[I+Z+1],P=B[I+Z+2],J=B[I+Z+3],re=B[I+Z+4],Q=B[I+Z+5],ae=B[I+Z+6],A=B[I+Z+7];if(T*=R[Z],(O|P|J|re|Q|ae|A)===0)T=5793*T+512>>10,C[Z]=T,C[Z+1]=T,C[Z+2]=T,C[Z+3]=T,C[Z+4]=T,C[Z+5]=T,C[Z+6]=T,C[Z+7]=T;else{O*=R[Z+1],P*=R[Z+2],J*=R[Z+3],re*=R[Z+4],Q*=R[Z+5],ae*=R[Z+6],A*=R[Z+7];var V=5793*T+128>>8,H=5793*re+128>>8,X=P,ge=ae;re=2896*(O-A)+128>>8,A=2896*(O+A)+128>>8,J<<=4,Q<<=4,V=V+H+1>>1,H=V-H,T=3784*X+1567*ge+128>>8,X=1567*X-3784*ge+128>>8,ge=T,re=re+Q+1>>1,Q=re-Q,A=A+J+1>>1,J=A-J,V=V+ge+1>>1,ge=V-ge,H=H+X+1>>1,X=H-X,T=2276*re+3406*A+2048>>12,re=3406*re-2276*A+2048>>12,A=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,C[Z]=V+A,C[Z+7]=V-A,C[Z+1]=H+Q,C[Z+6]=H-Q,C[Z+2]=X+J,C[Z+5]=X-J,C[Z+3]=ge+re,C[Z+4]=ge-re}}for(R=0;8>R;++R)T=C[R],O=C[R+8],P=C[R+16],J=C[R+24],re=C[R+32],Q=C[R+40],ae=C[R+48],A=C[R+56],(O|P|J|re|Q|ae|A)===0?(T=5793*T+8192>>14,T=-2040>T?0:2024<=T?255:T+2056>>4,B[I+R]=T,B[I+R+8]=T,B[I+R+16]=T,B[I+R+24]=T,B[I+R+32]=T,B[I+R+40]=T,B[I+R+48]=T,B[I+R+56]=T):(V=5793*T+2048>>12,H=5793*re+2048>>12,X=P,ge=ae,re=2896*(O-A)+2048>>12,A=2896*(O+A)+2048>>12,V=(V+H+1>>1)+4112,H=V-H,T=3784*X+1567*ge+2048>>12,X=1567*X-3784*ge+2048>>12,ge=T,re=re+Q+1>>1,Q=re-Q,A=A+J+1>>1,J=A-J,V=V+ge+1>>1,ge=V-ge,H=H+X+1>>1,X=H-X,T=2276*re+3406*A+2048>>12,re=3406*re-2276*A+2048>>12,A=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,T=V+A,A=V-A,O=H+Q,ae=H-Q,P=X+J,Q=X-J,J=ge+re,re=ge-re,T=16>T?0:4080<=T?255:T>>4,O=16>O?0:4080<=O?255:O>>4,P=16>P?0:4080<=P?255:P>>4,J=16>J?0:4080<=J?255:J>>4,re=16>re?0:4080<=re?255:re>>4,Q=16>Q?0:4080<=Q?255:Q>>4,ae=16>ae?0:4080<=ae?255:ae>>4,A=16>A?0:4080<=A?255:A>>4,B[I+R]=T,B[I+R+8]=O,B[I+R+16]=P,B[I+R+24]=J,B[I+R+32]=re,B[I+R+40]=Q,B[I+R+48]=ae,B[I+R+56]=A)}return b.a}function g(p,b){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:b,M=p.length-1;if(k=k<b?k:b,b>=M)return null;var v=p[b]<<8|p[b+1];if(65472<=v&&65534>=v)return{f:null,F:v,offset:b};for(var _=p[k]<<8|p[k+1];!(65472<=_&&65534>=_);){if(++k>=M)return null;_=p[k]<<8|p[k+1]}return{f:v.toString(16),F:_,offset:k}}var m=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);d.prototype={parse:function(p){function b(){var X=p[y]<<8|p[y+1];return y+=2,X}function k(){var X=b();X=y+X-2;var ge=g(p,X,y);return ge&&ge.f&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+ge.f),X=ge.offset),X=p.subarray(y,X),y+=X.length,X}function M(X){for(var ge=Math.ceil(X.v/8/X.s),me=Math.ceil(X.g/8/X.u),u=0;u<X.b.length;u++){V=X.b[u];var h=Math.ceil(Math.ceil(X.v/8)*V.h/X.s),De=Math.ceil(Math.ceil(X.g/8)*V.j/X.u);V.a=new Int16Array(64*me*V.j*(ge*V.h+1)),V.c=h,V.l=De}X.P=ge,X.O=me}var v=(1<arguments.length&&arguments[1]!==void 0?arguments[1]:{}).N,_=v===void 0?null:v,y=0,I=null,C=0;v=[];var R=[],B=[],Z=b();if(Z!==65496)throw new i("SOI not found");for(Z=b();Z!==65497;){switch(Z){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=k();Z===65518&&T[0]===65&&T[1]===100&&T[2]===111&&T[3]===98&&T[4]===101&&(I={version:T[5]<<8|T[6],Y:T[7]<<8|T[8],Z:T[9]<<8|T[10],W:T[11]});break;case 65499:Z=b()+y-2;for(var O;y<Z;){var P=p[y++],J=new Uint16Array(64);if(P>>4===0)for(T=0;64>T;T++)O=m[T],J[O]=p[y++];else if(P>>4===1)for(T=0;64>T;T++)O=m[T],J[O]=b();else throw new i("DQT - invalid table spec");v[P&15]=J}break;case 65472:case 65473:case 65474:if(re)throw new i("Only single frame JPEGs supported");b();var re={};for(re.X=Z===65473,re.S=Z===65474,re.precision=p[y++],Z=b(),re.g=_||Z,re.v=b(),re.b=[],re.C={},T=p[y++],Z=J=P=0;Z<T;Z++){O=p[y];var Q=p[y+1]>>4,ae=p[y+1]&15;P<Q&&(P=Q),J<ae&&(J=ae),Q=re.b.push({h:Q,j:ae,T:p[y+2],G:null}),re.C[O]=Q-1,y+=3}re.s=P,re.u=J,M(re);break;case 65476:for(O=b(),Z=2;Z<O;){for(P=p[y++],J=new Uint8Array(16),T=Q=0;16>T;T++,y++)Q+=J[T]=p[y];for(ae=new Uint8Array(Q),T=0;T<Q;T++,y++)ae[T]=p[y];Z+=17+Q,(P>>4===0?B:R)[P&15]=f(J,ae)}break;case 65501:b();var A=b();break;case 65498:for(T=++C===1&&!_,b(),P=p[y++],O=[],Z=0;Z<P;Z++){J=re.C[p[y++]];var V=re.b[J];J=p[y++],V.D=B[J>>4],V.o=R[J&15],O.push(V)}Z=p[y++],P=p[y++],J=p[y++];try{var H=c(p,y,re,O,A,Z,P,J>>4,J&15,T);y+=H}catch(X){if(X instanceof o)return(0,_util.warn)('Attempting to re-parse JPEG image using "scanLines" parameter found in DNL marker (0xFFDC) segment.'),this.parse(p,{N:X.g});throw X}break;case 65500:y+=4;break;case 65535:p[y]!==255&&y--;break;default:if(p[y-3]===255&&192<=p[y-2]&&254>=p[y-2])y-=3;else if((T=g(p,y-2))&&T.f)(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+T.f),y=T.offset;else throw new i("unknown marker "+Z.toString(16))}Z=b()}for(this.width=re.v,this.height=re.g,this.A=I,this.b=[],Z=0;Z<re.b.length;Z++)V=re.b[Z],(A=v[V.T])&&(V.G=A),this.b.push({R:l(re,V),U:V.h/re.s,V:V.j/re.u,c:V.c,l:V.l});this.i=this.b.length},L:function(p,b){var k=this.width/p,M=this.height/b,v,_,y=this.b.length,I=p*b*y,C=new Uint8ClampedArray(I),R=new Uint32Array(p);for(_=0;_<y;_++){var B=this.b[_],Z=B.U*k,T=B.V*M,O=_,P=B.R,J=B.c+1<<3;for(v=0;v<p;v++)B=0|v*Z,R[v]=(B&4294967288)<<3|B&7;for(Z=0;Z<b;Z++)for(B=0|Z*T,B=J*(B&4294967288)|(B&7)<<3,v=0;v<p;v++)C[O]=P[B+R[v]],O+=y}if(M=this.M)for(_=0;_<I;)for(k=B=0;B<y;B++,_++,k+=2)C[_]=(C[_]*M[k]>>8)+M[k+1];return C},w:function(){return this.A?!!this.A.W:this.i===3?this.B!==0:this.B===1},I:function(p){for(var b,k,M,v=0,_=p.length;v<_;v+=3)b=p[v],k=p[v+1],M=p[v+2],p[v]=b-179.456+1.402*M,p[v+1]=b+135.459-.344*k-.714*M,p[v+2]=b-226.816+1.772*k;return p},K:function(p){for(var b,k,M,v,_=0,y=0,I=p.length;y<I;y+=4)b=p[y],k=p[y+1],M=p[y+2],v=p[y+3],p[_++]=-122.67195406894+k*(-660635669420364e-19*k+.000437130475926232*M-54080610064599e-18*b+.00048449797120281*v-.154362151871126)+M*(-.000957964378445773*M+.000817076911346625*b-.00477271405408747*v+1.53380253221734)+b*(.000961250184130688*b-.00266257332283933*v+.48357088451265)+v*(-.000336197177618394*v+.484791561490776),p[_++]=107.268039397724+k*(219927104525741e-19*k-.000640992018297945*M+.000659397001245577*b+.000426105652938837*v-.176491792462875)+M*(-.000778269941513683*M+.00130872261408275*b+.000770482631801132*v-.151051492775562)+b*(.00126935368114843*b-.00265090189010898*v+.25802910206845)+v*(-.000318913117588328*v-.213742400323665),p[_++]=-20.810012546947+k*(-.000570115196973677*k-263409051004589e-19*M+.0020741088115012*b-.00288260236853442*v+.814272968359295)+M*(-153496057440975e-19*M-.000132689043961446*b+.000560833691242812*v-.195152027534049)+b*(.00174418132927582*b-.00255243321439347*v+.116935020465145)+v*(-.000343531996510555*v+.24165260232407);return p.subarray(0,_)},J:function(p){for(var b,k,M,v=0,_=p.length;v<_;v+=4)b=p[v],k=p[v+1],M=p[v+2],p[v]=434.456-b-1.402*M,p[v+1]=119.541-b+.344*k+.714*M,p[v+2]=481.816-b-1.772*k;return p},H:function(p){for(var b,k,M,v,_=0,y=1/255,I=0,C=p.length;I<C;I+=4)b=p[I]*y,k=p[I+1]*y,M=p[I+2]*y,v=p[I+3]*y,p[_++]=255+b*(-4.387332384609988*b+54.48615194189176*k+18.82290502165302*M+212.25662451639585*v-285.2331026137004)+k*(1.7149763477362134*k-5.6096736904047315*M-17.873870861415444*v-5.497006427196366)+M*(-2.5217340131683033*M-21.248923337353073*v+17.5119270841813)-v*(21.86122147463605*v+189.48180835922747),p[_++]=255+b*(8.841041422036149*b+60.118027045597366*k+6.871425592049007*M+31.159100130055922*v-79.2970844816548)+k*(-15.310361306967817*k+17.575251261109482*M+131.35250912493976*v-190.9453302588951)+M*(4.444339102852739*M+9.8632861493405*v-24.86741582555878)-v*(20.737325471181034*v+187.80453709719578),p[_++]=255+b*(.8842522430003296*b+8.078677503112928*k+30.89978309703729*M-.23883238689178934*v-14.183576799673286)+k*(10.49593273432072*k+63.02378494754052*M+50.606957656360734*v-112.23884253719248)+M*(.03296041114873217*M+115.60384449646641*v-193.58209356861505)-v*(22.33816807309886*v+180.12613974708367);return p.subarray(0,_)},getData:function(p,b,k){if(4<this.i)throw new i("Unsupported color mode");if(p=this.L(p,b),this.i===1&&k){k=p.length,b=new Uint8ClampedArray(3*k);for(var M=0,v=0;v<k;v++){var _=p[v];b[M++]=_,b[M++]=_,b[M++]=_}return b}if(this.i===3&&this.w())return this.I(p);if(this.i===4){if(this.w())return k?this.K(p):this.J(p);if(k)return this.H(p)}return p}},a.JpegDecoder=d})()})(),a.encodeImage=function(n,i,o,d){var f={t256:[i],t257:[o],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[o],t279:[i*o*4],t282:[1],t283:[1],t284:[1],t286:[0],t287:[0],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(d)for(var c in d)f[c]=d[c];for(var l=new Uint8Array(a.encode([f])),g=new Uint8Array(n),m=new Uint8Array(1e3+i*o*4),c=0;c<l.length;c++)m[c]=l[c];for(var c=0;c<g.length;c++)m[1e3+c]=g[c];return m.buffer},a.encode=function(n){var i=new Uint8Array(2e4),o=4,d=a._binBE;i[0]=77,i[1]=77,i[3]=42;var f=8;d.writeUint(i,o,f),o+=4;for(var c=0;c<n.length;c++){var l=a._writeIFD(d,i,f,n[c]);f=l[1],c<n.length-1&&d.writeUint(i,l[0],f)}return i.slice(0,f).buffer},a.decode=function(n){a.decode._decodeG3.allow2D=null;var i=new Uint8Array(n),o=0,d=a._binBE.readASCII(i,o,2);o+=2;var f=d=="II"?a._binLE:a._binBE,c=f.readUshort(i,o);o+=2;var l=f.readUint(i,o);o+=4;for(var g=[];;){var m=a._readIFD(f,i,l,g,0,!1);if(l=f.readUint(i,m),l==0)break}return g},a.decodeImage=function(n,i,o){var d=new Uint8Array(n),f=a._binBE.readASCII(d,0,2);if(i.t256!=null){i.isLE=f=="II",i.width=i.t256[0],i.height=i.t257[0];var c=i.t259?i.t259[0]:1,l=i.t266?i.t266[0]:1;i.t284&&i.t284[0]==2&&t("PlanarConfiguration 2 should not be used!");var g;i.t258?g=Math.min(32,i.t258[0])*i.t258.length:g=i.t277?i.t277[0]:1,c==1&&i.t279!=null&&i.t278&&i.t262[0]==32803&&(g=Math.round(i.t279[0]*8/(i.width*i.t278[0])));var m=Math.ceil(i.width*g/8)*8,p=i.t273;p==null&&(p=i.t324);var b=i.t279;c==1&&p.length==1&&(b=[i.height*(m>>>3)]),b==null&&(b=i.t325);var k=new Uint8Array(i.height*(m>>>3)),M=0;if(i.t322!=null){for(var v=i.t322[0],_=i.t323[0],y=Math.floor((i.width+v-1)/v),I=Math.floor((i.height+_-1)/_),C=new Uint8Array(Math.ceil(v*_*g/8)|0),R=0;R<I;R++)for(var B=0;B<y;B++){for(var Z=R*y+B,T=0;T<C.length;T++)C[T]=0;a.decode._decompress(i,o,d,p[Z],b[Z],c,C,0,l),c==6?k=C:a._copyTile(C,Math.ceil(v*g/8)|0,_,k,Math.ceil(i.width*g/8)|0,i.height,Math.ceil(B*v*g/8)|0,R*_)}M=k.length*8}else{var O=i.t278?i.t278[0]:i.height;O=Math.min(O,i.height);for(var Z=0;Z<p.length;Z++)a.decode._decompress(i,o,d,p[Z],b[Z],c,k,Math.ceil(M/8)|0,l),M+=m*O;M=Math.min(M,k.length*8)}i.data=new Uint8Array(k.buffer,0,Math.ceil(M/8)|0)}},a.decode._decompress=function(n,i,o,d,f,c,l,g,m){if(c==1||f==l.length&&c!=32767)for(var p=0;p<f;p++)l[g+p]=o[d+p];else if(c==3)a.decode._decodeG3(o,d,f,l,g,n.width,m);else if(c==4)a.decode._decodeG4(o,d,f,l,g,n.width,m);else if(c==5)a.decode._decodeLZW(o,d,l,g);else if(c==6)a.decode._decodeOldJPEG(n,o,d,f,l,g);else if(c==7)a.decode._decodeNewJPEG(n,o,d,f,l,g);else if(c==8)for(var b=new Uint8Array(o.buffer,d,f),k=s.inflate(b),M=0;M<k.length;M++)l[g+M]=k[M];else c==32767?a.decode._decodeARW(n,o,d,f,l,g):c==32773?a.decode._decodePackBits(o,d,f,l,g):c==32809?a.decode._decodeThunder(o,d,f,l,g):c==34713?a.decode._decodeNikon(n,i,o,d,f,l,g):t("Unknown compression",c);var v=n.t258?Math.min(32,n.t258[0]):1,_=n.t277?n.t277[0]:1,y=v*_>>>3,I=n.t278?n.t278[0]:n.height,C=Math.ceil(v*_*n.width/8);if(v==16&&!n.isLE&&n.t33422==null)for(var R=0;R<I;R++)for(var B=g+R*C,Z=1;Z<C;Z+=2){var T=l[B+Z];l[B+Z]=l[B+Z-1],l[B+Z-1]=T}if(n.t317&&n.t317[0]==2)for(var R=0;R<I;R++){var O=g+R*C;if(v==16)for(var p=y;p<C;p+=2){var P=(l[O+p+1]<<8|l[O+p])+(l[O+p-y+1]<<8|l[O+p-y]);l[O+p]=P&255,l[O+p+1]=P>>>8&255}else if(_==3)for(var p=3;p<C;p+=3)l[O+p]=l[O+p]+l[O+p-3]&255,l[O+p+1]=l[O+p+1]+l[O+p-2]&255,l[O+p+2]=l[O+p+2]+l[O+p-1]&255;else for(var p=y;p<C;p++)l[O+p]=l[O+p]+l[O+p-y]&255}},a.decode._ljpeg_diff=function(n,i,o){var d=a.decode._getbithuff,f,c;return f=d(n,i,o[0],o),c=d(n,i,f,0),(c&1<<f-1)==0&&(c-=(1<<f)-1),c},a.decode._decodeARW=function(n,i,o,d,f,c){var l=n.t256[0],g=n.t257[0],m=n.t258[0],p=n.isLE?a._binLE:a._binBE,b=l*g==d||l*g*1.5==d;if(!b){g+=8;var k=[o,0,0,0],M=new Uint16Array(32770),v=[3857,3856,3599,3342,3085,2828,2571,2314,2057,1800,1543,1286,1029,772,771,768,514,513],me,_,y,re,J,I=0,C=a.decode._ljpeg_diff;for(M[0]=15,y=me=0;me<18;me++)for(var R=32768>>>(v[me]>>>8),_=0;_<R;_++)M[++y]=v[me];for(re=l;re--;)for(J=0;J<g+1;J+=2)if(J==g&&(J=1),I+=C(i,k,M),J<g){var B=I&4095;a.decode._putsF(f,(J*l+re)*m,B<<16-m)}return}if(l*g*1.5==d){for(var me=0;me<d;me+=3){var Z=i[o+me+0],T=i[o+me+1],O=i[o+me+2];f[c+me]=T<<4|Z>>>4,f[c+me+1]=Z<<4|O>>>4,f[c+me+2]=O<<4|T>>>4}return}var P=new Uint16Array(16),J,re,Q,ae,A,V,H,X,ge,me,u,h=new Uint8Array(l+1);for(J=0;J<g;J++){for(var De=0;De<l;De++)h[De]=i[o++];for(u=0,re=0;re<l-30;u+=16){for(ae=2047&(Q=p.readUint(h,u)),A=2047&Q>>>11,V=15&Q>>>22,H=15&Q>>>26,X=0;X<4&&128<<X<=ae-A;X++);for(ge=30,me=0;me<16;me++)me==V?P[me]=ae:me==H?P[me]=A:(P[me]=((p.readUshort(h,u+(ge>>3))>>>(ge&7)&127)<<X)+A,P[me]>2047&&(P[me]=2047),ge+=7);for(me=0;me<16;me++,re+=2){var B=P[me]<<1;a.decode._putsF(f,(J*l+re)*m,B<<16-m)}re-=re&1?1:31}}},a.decode._decodeNikon=function(n,i,o,d,f,c,l){var g=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],m=n.t256[0],p=n.t257[0],b=n.t258[0],k=0,M=0,v=a.decode._make_decoder,_=a.decode._getbithuff,y=i[0].exifIFD.makerNote,I=y.t150?y.t150:y.t140,C=0,R=I[C++],B=I[C++];(R==73||B==88)&&(C+=2110),R==70&&(k=2),b==14&&(k+=3);for(var Z=[[0,0],[0,0]],T=n.isLE?a._binLE:a._binBE,Q=0;Q<2;Q++)for(var O=0;O<2;O++)Z[Q][O]=T.readShort(I,C),C+=2;var P=1<<b&32767,J=0,re=T.readShort(I,C);C+=2,re>1&&(J=Math.floor(P/(re-1))),R==68&&B==32&&J>0&&(M=T.readShort(I,562));var Q,ae,A,V,H,X,ge=0,me=[0,0],u=v(g[k]),h=[d,0,0,0];for(ge=ae=0;ae<p;ae++)for(M&&ae==M&&(u=v(g[k+1])),A=0;A<m;A++){Q=_(o,h,u[0],u),V=Q&15,H=Q>>>4,X=(_(o,h,V-H,0)<<1)+1<<H>>>1,(X&1<<V-1)==0&&(X-=(1<<V)-(H==0?1:0)),A<2?me[A]=Z[ae&1][A]+=X:me[A&1]+=X;var De=Math.min(Math.max(me[A&1],0),(1<<b)-1),Ue=(ae*m+A)*b;a.decode._putsF(c,Ue,De<<16-b)}},a.decode._putsF=function(n,i,o){o=o<<8-(i&7);var d=i>>>3;n[d]|=o>>>16,n[d+1]|=o>>>8,n[d+2]|=o},a.decode._getbithuff=function(n,i,o,d){var f=0,c=a.decode._get_byte,l,g=i[0],m=i[1],p=i[2],b=i[3];if(o==0||p<0)return 0;for(;!b&&p<o&&(l=n[g++])!=-1&&!(b=f&&l==255&&n[g++]);)m=(m<<8)+l,p+=8;if(l=m<<32-p>>>32-o,d?(p-=d[l+1]>>>8,l=d[l+1]&255):p-=o,p<0)throw"e";return i[0]=g,i[1]=m,i[2]=p,i[3]=b,l},a.decode._make_decoder=function(n){var i,o,d,f,c,l=[];for(i=16;i!=0&&!n[i];i--);var g=17;for(l[0]=i,d=o=1;o<=i;o++)for(f=0;f<n[o];f++,++g)for(c=0;c<1<<i-o;c++)d<=1<<i&&(l[d++]=o<<8|n[g]);return l},a.decode._decodeNewJPEG=function(n,i,o,d,f,c){var l=n.t347,g=l?l.length:0,m=new Uint8Array(g+d);if(l){for(var p=216,b=217,k=0,M=0;M<g-1&&!(l[M]==255&&l[M+1]==b);M++)m[k++]=l[M];var v=i[o],_=i[o+1];(v!=255||_!=p)&&(m[k++]=v,m[k++]=_);for(var M=2;M<d;M++)m[k++]=i[o+M]}else for(var M=0;M<d;M++)m[M]=i[o+M];if(n.t262[0]==32803||n.t262[0]==34892){var y=n.t258[0],I=a.LosslessJpegDecode(m),C=I.length;if(y==16)if(n.isLE)for(var M=0;M<C;M++)f[c+(M<<1)]=I[M]&255,f[c+(M<<1)+1]=I[M]>>>8;else for(var M=0;M<C;M++)f[c+(M<<1)]=I[M]>>>8,f[c+(M<<1)+1]=I[M]&255;else if(y==14||y==12)for(var R=16-y,M=0;M<C;M++)a.decode._putsF(f,M*y,I[M]<<R);else throw new Error("unsupported bit depth "+y)}else{var B=new a.JpegDecoder;B.parse(m);for(var Z=B.getData(B.width,B.height),M=0;M<Z.length;M++)f[c+M]=Z[M]}n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodeOldJPEGInit=function(n,i,o,d){var f=216,c=217,l=219,g=196,m=221,p=192,b=218,k=0,M=0,v,_,y=!1,I,C,R,B=n.t513,Z=B?B[0]:0,T=n.t514,O=T?T[0]:0,P=n.t324||n.t273||B,J=n.t530,re=0,Q=0,ae=n.t277?n.t277[0]:1,A=n.t515;if(P&&(M=P[0],y=P.length>1),!y){if(i[o]==255&&i[o+1]==f)return{jpegOffset:o};if(B!=null&&(i[o+Z]==255&&i[o+Z+1]==f?k=o+Z:t("JPEGInterchangeFormat does not point to SOI"),T==null?t("JPEGInterchangeFormatLength field is missing"):(Z>=M||Z+O<=M)&&t("JPEGInterchangeFormatLength field value is invalid"),k!=null))return{jpegOffset:k}}if(J!=null&&(re=J[0],Q=J[1]),B!=null&&T!=null)if(O>=2&&Z+O<=M){for(i[o+Z+O-2]==255&&i[o+Z+O-1]==f?v=new Uint8Array(O-2):v=new Uint8Array(O),I=0;I<v.length;I++)v[I]=i[o+Z+I];t("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else t("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(v==null){var V=0,H=[];H[V++]=255,H[V++]=f;var X=n.t519;if(X==null)throw new Error("JPEGQTables tag is missing");for(I=0;I<X.length;I++)for(H[V++]=255,H[V++]=l,H[V++]=0,H[V++]=67,H[V++]=I,C=0;C<64;C++)H[V++]=i[o+X[I]+C];for(R=0;R<2;R++){var ge=n[R==0?"t520":"t521"];if(ge==null)throw new Error((R==0?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(I=0;I<ge.length;I++){H[V++]=255,H[V++]=g;var me=19;for(C=0;C<16;C++)me+=i[o+ge[I]+C];for(H[V++]=me>>>8,H[V++]=me&255,H[V++]=I|R<<4,C=0;C<16;C++)H[V++]=i[o+ge[I]+C];for(C=0;C<me;C++)H[V++]=i[o+ge[I]+16+C]}}if(H[V++]=255,H[V++]=p,H[V++]=0,H[V++]=8+3*ae,H[V++]=8,H[V++]=n.height>>>8&255,H[V++]=n.height&255,H[V++]=n.width>>>8&255,H[V++]=n.width&255,H[V++]=ae,ae==1)H[V++]=1,H[V++]=17,H[V++]=0;else for(I=0;I<3;I++)H[V++]=I+1,H[V++]=I!=0?17:(re&15)<<4|Q&15,H[V++]=I;A!=null&&A[0]!=0&&(H[V++]=255,H[V++]=m,H[V++]=0,H[V++]=4,H[V++]=A[0]>>>8&255,H[V++]=A[0]&255),v=new Uint8Array(H)}var u=-1;for(I=0;I<v.length-1;){if(v[I]==255&&v[I+1]==p){u=I;break}I++}if(u==-1){var h=new Uint8Array(v.length+10+3*ae);h.set(v);var De=v.length;if(u=v.length,v=h,v[De++]=255,v[De++]=p,v[De++]=0,v[De++]=8+3*ae,v[De++]=8,v[De++]=n.height>>>8&255,v[De++]=n.height&255,v[De++]=n.width>>>8&255,v[De++]=n.width&255,v[De++]=ae,ae==1)v[De++]=1,v[De++]=17,v[De++]=0;else for(I=0;I<3;I++)v[De++]=I+1,v[De++]=I!=0?17:(re&15)<<4|Q&15,v[De++]=I}if(i[M]==255&&i[M+1]==b){var Ue=i[M+2]<<8|i[M+3];for(_=new Uint8Array(Ue+2),_[0]=i[M],_[1]=i[M+1],_[2]=i[M+2],_[3]=i[M+3],I=0;I<Ue-2;I++)_[I+4]=i[M+I+4]}else{_=new Uint8Array(8+2*ae);var ee=0;if(_[ee++]=255,_[ee++]=b,_[ee++]=0,_[ee++]=6+2*ae,_[ee++]=ae,ae==1)_[ee++]=1,_[ee++]=0;else for(I=0;I<3;I++)_[ee++]=I+1,_[ee++]=I<<4|I;_[ee++]=0,_[ee++]=63,_[ee++]=0}return{jpegOffset:o,tables:v,sosMarker:_,sofPosition:u}},a.decode._decodeOldJPEG=function(n,i,o,d,f,c){var l,g,m,p,b,k=a.decode._decodeOldJPEGInit(n,i,o,d);if(k.jpegOffset!=null)for(g=o+d-k.jpegOffset,p=new Uint8Array(g),l=0;l<g;l++)p[l]=i[k.jpegOffset+l];else{for(m=k.tables.length,p=new Uint8Array(m+k.sosMarker.length+d+2),p.set(k.tables),b=m,p[k.sofPosition+5]=n.height>>>8&255,p[k.sofPosition+6]=n.height&255,p[k.sofPosition+7]=n.width>>>8&255,p[k.sofPosition+8]=n.width&255,(i[o]!=255||i[o+1]!=SOS)&&(p.set(k.sosMarker,b),b+=sosMarker.length),l=0;l<d;l++)p[b++]=i[o+l];p[b++]=255,p[b++]=EOI}var M=new a.JpegDecoder;M.parse(p);for(var v=M.getData(M.width,M.height),l=0;l<v.length;l++)f[c+l]=v[l];n.t262&&n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodePackBits=function(n,i,o,d,f){for(var c=new Int8Array(n.buffer),l=new Int8Array(d.buffer),g=i+o;i<g;){var m=c[i];if(i++,m>=0&&m<128)for(var p=0;p<m+1;p++)l[f]=c[i],f++,i++;if(m>=-127&&m<0){for(var p=0;p<-m+1;p++)l[f]=c[i],f++;i++}}},a.decode._decodeThunder=function(n,i,o,d,f){for(var c=[0,1,0,-1],l=[0,1,2,3,0,-3,-2,-1],g=i+o,m=f*2,p=0;i<g;){var b=n[i],k=b>>>6,M=b&63;if(i++,k==3&&(p=M&15,d[m>>>1]|=p<<4*(1-m&1),m++),k==0)for(var v=0;v<M;v++)d[m>>>1]|=p<<4*(1-m&1),m++;if(k==2)for(var v=0;v<2;v++){var _=M>>>3*(1-v)&7;_!=4&&(p+=l[_],d[m>>>1]|=p<<4*(1-m&1),m++)}if(k==1)for(var v=0;v<3;v++){var _=M>>>2*(2-v)&3;_!=2&&(p+=c[_],d[m>>>1]|=p<<4*(1-m&1),m++)}}},a.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},a.decode._lens=(function(){var n=function(m,p,b,k){for(var M=0;M<p.length;M++)m[p[M]]=b+M*k},i="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",o="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",d="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",f="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",c="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";i=i.split(","),o=o.split(","),d=d.split(","),f=f.split(","),c=c.split(",");var l={},g={};return n(l,i,0,1),n(l,d,64,64),n(l,c,1792,64),n(g,o,0,1),n(g,f,64,64),n(g,c,1792,64),[l,g]})(),a.decode._decodeG4=function(n,i,o,d,f,c,l){for(var g=a.decode,m=i<<3,p=0,b="",k=[],M=[],v=0;v<c;v++)M.push(0);M=g._makeDiff(M);for(var _=0,y=0,I=0,C=0,R=0,B=0,Z=0,T="",O=0,P=Math.ceil(c/8)*8;m>>>3<i+o;){C=g._findDiff(M,_+(_==0?0:1),1-B),R=g._findDiff(M,C,B);var J=0;if(l==1&&(J=n[m>>>3]>>>7-(m&7)&1),l==2&&(J=n[m>>>3]>>>(m&7)&1),m++,b+=J,T=="H"){if(g._lens[B][b]!=null){var re=g._lens[B][b];b="",p+=re,re<64&&(g._addNtimes(k,p,B),_+=p,B=1-B,p=0,O--,O==0&&(T=""))}}else b=="0001"&&(b="",g._addNtimes(k,R-_,B),_=R),b=="001"&&(b="",T="H",O=2),g._dmap[b]!=null&&(y=C+g._dmap[b],g._addNtimes(k,y-_,B),_=y,b="",B=1-B);k.length==c&&T==""&&(g._writeBits(k,d,f*8+Z*P),B=0,Z++,_=0,M=g._makeDiff(k),k=[])}},a.decode._findDiff=function(n,i,o){for(var d=0;d<n.length;d+=2)if(n[d]>=i&&n[d+1]==o)return n[d]},a.decode._makeDiff=function(n){var i=[];n[0]==1&&i.push(0,1);for(var o=1;o<n.length;o++)n[o-1]!=n[o]&&i.push(o,n[o]);return i.push(n.length,0,n.length,1),i},a.decode._decodeG3=function(n,i,o,d,f,c,l){for(var g=a.decode,m=i<<3,p=0,b="",k=[],M=[],v=0;v<c;v++)k.push(0);for(var _=0,y=0,I=0,C=0,R=0,B=0,Z=-1,T="",O=0,P=!1,J=Math.ceil(c/8)*8;m>>>3<i+o;){C=g._findDiff(M,_+(_==0?0:1),1-B),R=g._findDiff(M,C,B);var re=0;if(l==1&&(re=n[m>>>3]>>>7-(m&7)&1),l==2&&(re=n[m>>>3]>>>(m&7)&1),m++,b+=re,P){if(g._lens[B][b]!=null){var Q=g._lens[B][b];b="",p+=Q,Q<64&&(g._addNtimes(k,p,B),B=1-B,p=0)}}else if(T=="H"){if(g._lens[B][b]!=null){var Q=g._lens[B][b];b="",p+=Q,Q<64&&(g._addNtimes(k,p,B),_+=p,B=1-B,p=0,O--,O==0&&(T=""))}}else b=="0001"&&(b="",g._addNtimes(k,R-_,B),_=R),b=="001"&&(b="",T="H",O=2),g._dmap[b]!=null&&(y=C+g._dmap[b],g._addNtimes(k,y-_,B),_=y,b="",B=1-B);b.endsWith("000000000001")&&(Z>=0&&g._writeBits(k,d,f*8+Z*J),l==1&&(P=(n[m>>>3]>>>7-(m&7)&1)==1),l==2&&(P=(n[m>>>3]>>>(m&7)&1)==1),m++,g._decodeG3.allow2D==null&&(g._decodeG3.allow2D=P),g._decodeG3.allow2D||(P=!0,m--),b="",B=0,Z++,_=0,M=g._makeDiff(k),k=[])}k.length==c&&g._writeBits(k,d,f*8+Z*J)},a.decode._addNtimes=function(n,i,o){for(var d=0;d<i;d++)n.push(o)},a.decode._writeBits=function(n,i,o){for(var d=0;d<n.length;d++)i[o+d>>>3]|=n[d]<<7-(o+d&7)},a.decode._decodeLZW=function(n,i,o,d){if(a.decode._lzwTab==null){for(var f=new Uint32Array(65535),c=new Uint16Array(65535),b=new Uint8Array(2e6),l=0;l<256;l++)b[l<<2]=l,f[l]=l<<2,c[l]=1;a.decode._lzwTab=[f,c,b]}for(var g=a.decode._copyData,m=a.decode._lzwTab[0],p=a.decode._lzwTab[1],b=a.decode._lzwTab[2],k=258,M=1032,v=9,_=i<<3,y=256,I=257,C=0,R=0,B=0;C=n[_>>>3]<<16|n[_+8>>>3]<<8|n[_+16>>>3],R=C>>24-(_&7)-v&(1<<v)-1,_+=v,R!=I;){if(R==y){if(v=9,k=258,M=1032,C=n[_>>>3]<<16|n[_+8>>>3]<<8|n[_+16>>>3],R=C>>24-(_&7)-v&(1<<v)-1,_+=v,R==I)break;o[d]=R,d++}else if(R<k){var Z=m[R],T=p[R];if(g(b,Z,o,d,T),d+=T,B>=k)m[k]=M,b[m[k]]=Z[0],p[k]=1,M=M+1+3&-4,k++;else{m[k]=M;var O=m[B],P=p[B];g(b,O,b,M,P),b[M+P]=b[Z],P++,p[k]=P,k++,M=M+P+3&-4}k+1==1<<v&&v++}else{if(B>=k)m[k]=M,p[k]=0,k++;else{m[k]=M;var O=m[B],P=p[B];g(b,O,b,M,P),b[M+P]=b[M],P++,p[k]=P,k++,g(b,M,o,d,P),d+=P,M=M+P+3&-4}k+1==1<<v&&v++}B=R}},a.decode._copyData=function(n,i,o,d,f){for(var c=0;c<f;c+=4)o[d+c]=n[i+c],o[d+c+1]=n[i+c+1],o[d+c+2]=n[i+c+2],o[d+c+3]=n[i+c+3]},a.tags={},a.ttypes={256:3,257:3,258:3,259:3,262:3,273:4,274:3,277:3,278:4,279:4,282:5,283:5,284:3,286:5,287:5,296:3,305:2,306:2,338:3,513:4,514:4,34665:4},a._readIFD=function(n,i,o,d,f,c){var l=n.readUshort(i,o);o+=2;var g={};d.push(g),c&&t(" ".repeat(f),d.length-1,">>>----------------");for(var m=0;m<l;m++){var p=n.readUshort(i,o);o+=2;var b=n.readUshort(i,o);o+=2;var k=n.readUint(i,o);o+=4;var M=n.readUint(i,o);o+=4;var v=[];if((b==1||b==7)&&(v=new Uint8Array(i.buffer,k<5?o-4:M,k)),b==2){var _=k<5?o-4:M,y=i[_];y<128?v.push(n.readASCII(i,_,k-1)):v=new Uint8Array(i.buffer,_,k-1)}if(b==3)for(var I=0;I<k;I++)v.push(n.readUshort(i,(k<3?o-4:M)+2*I));if(b==4)for(var I=0;I<k;I++)v.push(n.readUint(i,(k<2?o-4:M)+4*I));if(b==5)for(var I=0;I<k;I++)v.push(n.readUint(i,M+I*8)/n.readUint(i,M+I*8+4));if(b==8)for(var I=0;I<k;I++)v.push(n.readShort(i,(k<3?o-4:M)+2*I));if(b==9)for(var I=0;I<k;I++)v.push(n.readInt(i,(k<2?o-4:M)+4*I));if(b==10)for(var I=0;I<k;I++)v.push(n.readInt(i,M+I*8)/n.readInt(i,M+I*8+4));if(b==11)for(var I=0;I<k;I++)v.push(n.readFloat(i,M+I*4));if(b==12)for(var I=0;I<k;I++)v.push(n.readDouble(i,M+I*8));if(g["t"+p]=v,k!=0&&v.length==0&&t("unknown TIFF tag type: ",b,"num:",k),c&&t(" ".repeat(f),p,b,a.tags[p],v),!(p==330&&g.t272&&g.t272[0]=="DSLR-A100")){if(p==330||p==34665||p==50740&&n.readUshort(i,n.readUint(v,0))<300){for(var C=p==50740?[n.readUint(v,0)]:v,R=[],I=0;I<C.length;I++)a._readIFD(n,i,C[I],R,f+1,c);p==330&&(g.subIFD=R),p==34665&&(g.exifIFD=R[0]),p==50740&&(g.dngPrvt=R[0])}}if(p==37500){var B=v;if(n.readASCII(B,0,5)=="Nikon")g.makerNote=a.decode(B.slice(10).buffer)[0];else if(n.readUshort(i,M)<300){var Z=[];a._readIFD(n,i,M,Z,f+1,c),g.makerNote=Z[0]}}}return c&&t(" ".repeat(f),"<<<---------------"),o},a._writeIFD=function(n,i,o,d){var f=Object.keys(d);n.writeUshort(i,o,f.length),o+=2;for(var c=o+f.length*12+4,l=0;l<f.length;l++){var g=f[l],m=parseInt(g.slice(1)),p=a.ttypes[m];if(p==null)throw new Error("unknown type of tag: "+m);var b=d[g];p==2&&(b=b[0]+"\0");var k=b.length;n.writeUshort(i,o,m),o+=2,n.writeUshort(i,o,p),o+=2,n.writeUint(i,o,k),o+=4;var M=[-1,1,1,2,4,8,0,0,0,0,0,0,8][p]*k,v=o;if(M>4&&(n.writeUint(i,o,c),v=c),p==2&&n.writeASCII(i,v,b),p==3)for(var _=0;_<k;_++)n.writeUshort(i,v+2*_,b[_]);if(p==4)for(var _=0;_<k;_++)n.writeUint(i,v+4*_,b[_]);if(p==5)for(var _=0;_<k;_++)n.writeUint(i,v+8*_,Math.round(b[_]*1e4)),n.writeUint(i,v+8*_+4,1e4);if(p==12)for(var _=0;_<k;_++)n.writeDouble(i,v+8*_,b[_]);M>4&&(M+=M&1,c+=M),o+=4}return[o,c]},a.toRGBA8=function(n){var i=n.width,o=n.height,d=i*o,f=d*4,c=n.data,l=new Uint8Array(d*4),g=n.t262?n.t262[0]:2,m=n.t258?Math.min(32,n.t258[0]):1;if(g==0)for(var p=Math.ceil(m*i/8),b=0;b<o;b++){var k=b*p,M=b*i;if(m==1)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>3)]>>7-(v&7)&1;l[_]=l[_+1]=l[_+2]=(1-y)*255,l[_+3]=255}if(m==4)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>1)]>>4-4*(v&1)&15;l[_]=l[_+1]=l[_+2]=(15-y)*17,l[_+3]=255}if(m==8)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+v];l[_]=l[_+1]=l[_+2]=255-y,l[_+3]=255}}else if(g==1)for(var p=Math.ceil(m*i/8),b=0;b<o;b++){var k=b*p,M=b*i;if(m==1)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>3)]>>7-(v&7)&1;l[_]=l[_+1]=l[_+2]=y*255,l[_+3]=255}if(m==2)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(v>>2)]>>6-2*(v&3)&3;l[_]=l[_+1]=l[_+2]=y*85,l[_+3]=255}if(m==8)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+v];l[_]=l[_+1]=l[_+2]=y,l[_+3]=255}if(m==16)for(var v=0;v<i;v++){var _=M+v<<2,y=c[k+(2*v+1)];l[_]=l[_+1]=l[_+2]=Math.min(255,y),l[_+3]=255}}else if(g==2){var I=n.t258?n.t258.length:3;if(m==8){if(I==4)for(var v=0;v<f;v++)l[v]=c[v];if(I==3)for(var v=0;v<d;v++){var _=v<<2,C=v*3;l[_]=c[C],l[_+1]=c[C+1],l[_+2]=c[C+2],l[_+3]=255}}else{if(I==4)for(var v=0;v<d;v++){var _=v<<2,C=v*8+1;l[_]=c[C],l[_+1]=c[C+2],l[_+2]=c[C+4],l[_+3]=c[C+6]}if(I==3)for(var v=0;v<d;v++){var _=v<<2,C=v*6+1;l[_]=c[C],l[_+1]=c[C+2],l[_+2]=c[C+4],l[_+3]=255}}}else if(g==3)for(var R=n.t320,v=0;v<d;v++){var _=v<<2,B=c[v];l[_]=R[B]>>8,l[_+1]=R[256+B]>>8,l[_+2]=R[512+B]>>8,l[_+3]=255}else if(g==5)for(var I=n.t258?n.t258.length:4,Z=I>4?1:0,v=0;v<d;v++){var _=v<<2,T=v*I,O=255-c[T],P=255-c[T+1],J=255-c[T+2],re=(255-c[T+3])*(1/255);l[_]=~~(O*re+.5),l[_+1]=~~(P*re+.5),l[_+2]=~~(J*re+.5),l[_+3]=255*(1-Z)+c[T+4]*Z}else t("Unknown Photometric interpretation: "+g);return l},a.replaceIMG=function(n){n==null&&(n=document.getElementsByTagName("img"));for(var i=["tif","tiff","dng","cr2","nef"],o=0;o<n.length;o++){var d=n[o],f=d.getAttribute("src");if(f!=null){var c=f.split(".").pop().toLowerCase();if(i.indexOf(c)!=-1){var l=new XMLHttpRequest;a._xhrs.push(l),a._imgs.push(d),l.open("GET",f),l.responseType="arraybuffer",l.onload=a._imgLoaded,l.send()}}}},a._xhrs=[],a._imgs=[],a._imgLoaded=function(n){var i=n.target.response,o=a.decode(i),d=o,f=0,c=d[0];o[0].subIFD&&(d=d.concat(o[0].subIFD));for(var l=0;l<d.length;l++){var M=d[l];if(!(M.t258==null||M.t258.length<3)){var g=M.t256*M.t257;g>f&&(f=g,c=M)}}a.decodeImage(i,c,o);var m=a.toRGBA8(c),p=c.width,b=c.height,k=a._xhrs.indexOf(n.target),M=a._imgs[k];a._xhrs.splice(k,1),a._imgs.splice(k,1);var v=document.createElement("canvas");v.width=p,v.height=b;for(var _=v.getContext("2d"),y=_.createImageData(p,b),l=0;l<m.length;l++)y.data[l]=m[l];_.putImageData(y,0,0),M.setAttribute("src",v.toDataURL())},a._binBE={nextZero:function(n,i){for(;n[i]!=0;)i++;return i},readUshort:function(n,i){return n[i]<<8|n[i+1]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+1],o[1]=n[i+0],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.ui32[0]},readASCII:function(n,i,o){for(var d="",f=0;f<o;f++)d+=String.fromCharCode(n[i+f]);return d},readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+3-d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+7-d];return a._binBE.fl64[0]},writeUshort:function(n,i,o){n[i]=o>>8&255,n[i+1]=o&255},writeUint:function(n,i,o){n[i]=o>>24&255,n[i+1]=o>>16&255,n[i+2]=o>>8&255,n[i+3]=o>>0&255},writeASCII:function(n,i,o){for(var d=0;d<o.length;d++)n[i+d]=o.charCodeAt(d)},writeDouble:function(n,i,o){a._binBE.fl64[0]=o;for(var d=0;d<8;d++)n[i+d]=a._binBE.ui8[7-d]}},a._binBE.ui8=new Uint8Array(8),a._binBE.i16=new Int16Array(a._binBE.ui8.buffer),a._binBE.i32=new Int32Array(a._binBE.ui8.buffer),a._binBE.ui32=new Uint32Array(a._binBE.ui8.buffer),a._binBE.fl32=new Float32Array(a._binBE.ui8.buffer),a._binBE.fl64=new Float64Array(a._binBE.ui8.buffer),a._binLE={nextZero:a._binBE.nextZero,readUshort:function(n,i){return n[i+1]<<8|n[i]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.ui32[0]},readASCII:a._binBE.readASCII,readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+d];return a._binBE.fl64[0]}},a._copyTile=function(n,i,o,d,f,c,l,g){for(var m=Math.min(i,f-l),p=Math.min(o,c-g),b=0;b<p;b++)for(var k=(g+b)*f+l,M=b*i,v=0;v<m;v++)d[k+v]=n[M+v]},a.LosslessJpegDecode=(function(){function n(f){this.w=f,this.N=0,this._=0,this.G=0}n.prototype={t:function(f){this.N=Math.max(0,Math.min(this.w.length,f))},i:function(){return this.w[this.N++]},l:function(){var f=this.N;return this.N+=2,this.w[f]<<8|this.w[f+1]},J:function(){return this._==0&&(this.G=this.w[this.N],this.N+=1+(this.G+1>>>8),this._=8),this.G>>>--this._&1},Z:function(f){var c=this._,l=this.G,g=Math.min(c,f);f-=g,c-=g;for(var m=l>>>c&(1<<g)-1;f>0;)l=this.w[this.N],this.N+=1+(l+1>>>8),g=Math.min(8,f),f-=g,c=8-g,m<<=g,m|=l>>>c&(1<<g)-1;return this._=c,this.G=l,m}};var i={};i.X=function(){return[0,0,-1]},i.s=function(f,c,l){f[i.Y(f,0,l)+2]=c},i.Y=function(f,c,l){if(f[c+2]!=-1)return 0;if(l==0)return c;for(var g=0;g<2;g++){f[c+g]==0&&(f[c+g]=f.length,f.push(0),f.push(0),f.push(-1));var m=i.Y(f,f[c+g],l-1);if(m!=0)return m}return 0},i.B=function(f,c){for(var l=0,g=0,m=0,p=c._,b=c.G,k=c.N;;)if(p==0&&(b=c.w[k],k+=1+(b+1>>>8),p=8),m=b>>>--p&1,l=f[l+m],g=f[l+2],g!=-1)return c._=p,c.G=b,c.N=k,g;return-1};function o(f){this.z=new n(f),this.D(this.z)}o.prototype={$:function(f,c){this.Q=f.i(),this.F=f.l(),this.o=f.l();var l=this.O=f.i();this.L=[];for(var g=0;g<l;g++){var m=f.i(),p=f.i();f.i(),this.L[m]=g}f.t(f.N+c-(6+l*3))},e:function(){var f=0,c=this.z.i();this.H==null&&(this.H={});for(var l=this.H[c]=i.X(),g=[],m=0;m<16;m++)g[m]=this.z.i(),f+=g[m];for(var m=0;m<16;m++)for(var p=0;p<g[m];p++)i.s(l,this.z.i(),m+1);return f+17},W:function(f){for(;f>0;)f-=this.e()},p:function(f,c){var l=f.i();this.U||(this.U=[]);for(var g=0;g<l;g++){var m=f.i(),p=f.i();this.U[this.L[m]]=this.H[p>>>4]}this.g=f.i(),f.t(f.N+c-(2+l*2))},D:function(f){var c=!1,l=f.l();if(l===o.q)do{var l=f.l(),g=f.l()-2;switch(l){case o.m:this.$(f,g);break;case o.K:this.W(g);break;case o.V:this.p(f,g),c=!0;break;default:f.t(f.N+g);break}}while(!c)},I:function(f,c){var l=i.B(c,f);if(l==16)return-32768;var g=f.Z(l);return(g&1<<l-1)==0&&(g-=(1<<l)-1),g},B:function(f,c){for(var l=this.z,g=this.O,m=this.F,p=this.I,b=this.g,k=this.o*g,M=this.U,v=0;v<g;v++)f[v]=p(l,M[v])+(1<<this.Q-1);for(var _=g;_<k;_+=g)for(var v=0;v<g;v++)f[_+v]=p(l,M[v])+f[_+v-g];for(var y=c,I=1;I<m;I++){for(var v=0;v<g;v++)f[y+v]=p(l,M[v])+f[y+v-c];for(var _=g;_<k;_+=g)for(var v=0;v<g;v++){var C=y+_+v,R=f[C-g];b==6&&(R=f[C-c]+(R-f[C-g-c]>>>1)),f[C]=R+p(l,M[v])}y+=c}}},o.m=65475,o.K=65476,o.q=65496,o.V=65498;function d(f){var c=new o(f),l=c.Q>8?Uint16Array:Uint8Array,g=new l(c.o*c.F*c.O),m=c.o*c.O;return c.B(g,m),g}return d})()})(e,r)})()});var C5=Ph(um(),1);var of=e=>e==null?[]:Array.isArray(e)?e:[e],ff=e=>e!=null&&String(e).trim()!==""&&Number.isFinite(Number(e))?Number(e):void 0,Th=e=>{var s,n;let r=(s=e==null?void 0:e["a:off"])==null?void 0:s.attrs,t=(n=e==null?void 0:e["a:ext"])==null?void 0:n.attrs,a={x:ff(r==null?void 0:r.x),y:ff(r==null?void 0:r.y),w:ff(t==null?void 0:t.cx),h:ff(t==null?void 0:t.cy)};return Object.values(a).every(i=>i!==void 0&&Math.abs(i)<2147483648)&&a.w>0&&a.h>0?a:void 0},mb=(e,r)=>e&&r&&["x","y","w","h"].every(t=>Math.abs(e[t]-r[t])<1),cm=e=>!["rot","flipH","flipV"].some(r=>{var t;return((t=e==null?void 0:e.attrs)==null?void 0:t[r])&&!["0","false"].includes(String(e.attrs[r]))}),Ih=e=>{var r;return(r=e==null?void 0:e.attrs)==null?void 0:r.name};function dm(e,r,t){var C,R,B,Z,T,O,P,J,re,Q;let a=new Map,s=r==null?void 0:r["dgm:dataModel"],n=(C=t==null?void 0:t["dgm:layoutDef"])==null?void 0:C["dgm:layoutNode"];if(!s||!n||((B=(R=n["dgm:alg"])==null?void 0:R.attrs)==null?void 0:B.type)!=="composite")return a;let i=of((Z=s["dgm:ptLst"])==null?void 0:Z["dgm:pt"]),o=of((T=s["dgm:cxnLst"])==null?void 0:T["dgm:cxn"]);if(i.length>1e4||o.length>2e4||e.length>1e4)return a;let d=i.filter(ae=>{var A;return((A=ae.attrs)==null?void 0:A.type)==="doc"});if(d.length!==1)return a;let f=new Map(i.map(ae=>{var A;return[(A=ae.attrs)==null?void 0:A.modelId,ae]})),c=new Set(o.filter(ae=>{var H;let A=ae.attrs,V=(H=f.get(A==null?void 0:A.destId))==null?void 0:H.attrs;return(A==null?void 0:A.srcId)===d[0].attrs.modelId&&(!A.type||A.type==="parOf")&&V&&(!V.type||V.type==="node")}).map(ae=>ae.attrs.destId));if(!c.size)return a;let l=c.size,g=new Map,m=[],p=new Map,b=0,k=!1,M=ae=>{let A=ae.attrs||{};if(A.func!=="cnt"||A.axis!=="ch"||A.ptType&&A.ptType!=="node")return;let V=ff(A.val);if(V!==void 0)switch(A.op){case"equ":return l===V;case"neq":return l!==V;case"gt":return l>V;case"gte":return l>=V;case"lt":return l<V;case"lte":return l<=V;default:return}},v=(ae,A=0,V=!0)=>{var H,X,ge,me,u;if(!(!ae||typeof ae!="object")){if(++b>1e4||A>48){k=!0;return}if(V)for(let h of of((H=ae["dgm:constrLst"])==null?void 0:H["dgm:constr"])){let De=h.attrs||{};if(De.for!=="ch"||!De.forName||!["l","t","r","b","w","h"].includes(De.type))continue;let Ue=g.get(De.forName)||new Map;Ue.has(De.type)?Ue.set(De.type,null):Ue.set(De.type,De),g.set(De.forName,Ue)}for(let h of of(ae["dgm:choose"])){let De,Ue=!1;for(let ee of of(h["dgm:if"])){let fe=M(ee);if(fe===void 0){Ue=!0;break}if(fe){De=ee;break}}Ue||v(De||h["dgm:else"],A+1,V)}for(let h of of(ae["dgm:layoutNode"])){let De=Ih(h);De&&(p.has(De)?p.set(De,null):p.set(De,h));let Ue=(ge=(X=h["dgm:alg"])==null?void 0:X.attrs)==null?void 0:ge.type,ee=(me=h["dgm:shape"])==null?void 0:me.attrs;De&&((u=h.attrs)!=null&&u.moveWith)&&Ue==="tx"&&["1","true"].includes(String(ee==null?void 0:ee.hideGeom))&&(ee==null?void 0:ee.type)==="rect"&&m.push(h),v(h,A+1,!1)}}};if(v(n),k)return a;let _=(ae,A,V)=>{if(!ae||ae.op&&ae.op!=="equ"||ae.refFor&&ae.refFor!=="self"||ae.refForName||ae.refPtType||!["w","h"].includes(ae.refType))return;let H=ff(ae.fact);if(!(H===void 0||Math.abs(H)>16))return H*(ae.refType==="w"?A:V)},y=(ae,A,V)=>{var h,De;if(!ae)return;let H=Object.fromEntries([...ae].map(([Ue,ee])=>[Ue,_(ee,A,V)])),X=H.w,ge=H.h;if(!(X>0&&ge>0))return;let me=(h=H.l)!=null?h:H.r===void 0?void 0:H.r-X,u=(De=H.t)!=null?De:H.b===void 0?void 0:H.b-ge;return me!==void 0&&u!==void 0?{x:me,y:u,w:X,h:ge}:void 0},I=new Map;for(let ae of o){let A=ae.attrs;if((A==null?void 0:A.type)==="presOf"){let V=I.get(A.destId)||new Set;V.add(A.srcId),I.set(A.destId,V)}}for(let ae of e){let A=(O=ae.attrs)==null?void 0:O.modelId,V=f.get(A),H=(J=(P=V==null?void 0:V["dgm:prSet"])==null?void 0:P.attrs)==null?void 0:J.presName,X=(re=ae["p:spPr"])==null?void 0:re["a:xfrm"],ge=ae["p:txXfrm"],me=Th(X),u=Th(ge);if(!H||!me||!cm(X)||!cm(ge)||u&&!mb(me,u))continue;let h=m.filter(E=>E.attrs.moveWith===H&&p.get(Ih(E))===E);if(h.length!==1)continue;let De=Ih(h[0]),Ue=i.filter(E=>{var Be,We;return((We=(Be=E["dgm:prSet"])==null?void 0:Be.attrs)==null?void 0:We.presName)===De});if(Ue.length!==1)continue;let ee=I.get(A),fe=I.get((Q=Ue[0].attrs)==null?void 0:Q.modelId);if(!ee||!fe||![...ee].some(E=>fe.has(E)))continue;let oe=g.get(H),kt=g.get(De),dt=oe==null?void 0:oe.get("w"),S=oe==null?void 0:oe.get("h");if((dt==null?void 0:dt.refType)!=="w"||(S==null?void 0:S.refType)!=="h")continue;let Ee=_(dt,1,1),pe=_(S,1,1);if(!(Ee>0&&pe>0))continue;let Y=me.w/Ee,N=me.h/pe;if(!Number.isFinite(Y+N)||Y>2147483647||N>2147483647)continue;let j=y(oe,Y,N),be=y(kt,Y,N);if(!j||!be)continue;let Le={x:me.x+be.x-j.x,y:me.y+be.y-j.y,w:be.w,h:be.h};Object.values(Le).every(E=>Number.isFinite(E)&&Math.abs(E)<2147483648)&&a.set(A,{"a:off":{attrs:{x:String(Le.x),y:String(Le.y)}},"a:ext":{attrs:{cx:String(Le.w),cy:String(Le.h)}}})}return a}function yh(e,r){if(!e)return r;let t={...r,...e,"a:off":e["a:off"]||(r==null?void 0:r["a:off"]),"a:ext":e["a:ext"]||(r==null?void 0:r["a:ext"])};return Th(t)?t:r}function X1(e,r,t){var d,f;let a=[e,r,t].map(c=>c==null?void 0:c["a:bodyPr"]).filter(Boolean),s=(c,l)=>{var g;for(let m of a){let p=(g=m.attrs)==null?void 0:g[c];if(p===void 0)continue;let b=Number(p);return String(p).trim()&&Number.isFinite(b)&&b>=0&&b<=2147483647?b:l}return l},n="none",i=1;for(let c of a){if(c["a:noAutofit"]!==void 0)break;if(c["a:spAutoFit"]!==void 0){n="shape";break}if(c["a:normAutofit"]!==void 0){n="normal";let l=(f=(d=c["a:normAutofit"])==null?void 0:d.attrs)==null?void 0:f.fontScale,g=typeof l=="string"&&l.endsWith("%")?Number(l.slice(0,-1))/100:Number(l)/1e5;l!==void 0&&Number.isFinite(g)&&g>0&&g<=1&&(i=g);break}}let o=a.map(c=>{var l;return(l=c.attrs)==null?void 0:l.wrap}).find(c=>c!==void 0);return{left:s("lIns",91440),right:s("rIns",91440),top:s("tIns",45720),bottom:s("bIns",45720),autofit:n,fontScale:i,wrap:o==="none"?"none":"square"}}var A1=e=>e==null?[]:Array.isArray(e)?e:[e],hm=e=>/^(?:0|[0-9]+)$/.test(String(e!=null?e:""))&&Number(e)<=4294967295?String(Number(e)):void 0;function pm(e){return Object.entries(e||{}).filter(([r])=>r!=="attrs").flatMap(([r,t])=>A1(t).filter(a=>a&&typeof a=="object").map(a=>[r,a])).sort((r,t)=>{var a,s;return(Number((a=r[1].attrs)==null?void 0:a.order)||0)-(Number((s=t[1].attrs)==null?void 0:s.order)||0)})}function wh(e,r){var s;let t=[["",e]],a=1e5;for(;t.length&&a-- >0;){let[n,i]=t.pop();!i||typeof i!="object"||((s=i.attrs)==null?void 0:s.nodeType)==="interactiveSeq"||r(n,i)!==!1&&t.push(...pm(i).reverse())}return t.length===0}function vm(e){var n,i;let r=[];if(!wh((i=(n=e==null?void 0:e["p:sld"])==null?void 0:n["p:timing"])==null?void 0:i["p:tnLst"],(o,d)=>{var f;if(((f=d.attrs)==null?void 0:f.nodeType)==="mainSeq")return r.push(d),!1})||r.length!==1)return new Set;let a=!1;if(!wh(r[0],(o,d)=>{var f,c;(((f=d.attrs)==null?void 0:f.repeatCount)!=null||((c=d.attrs)==null?void 0:c.repeatDur)!=null)&&(a=!0)})||a)return new Set;let s=new Map;for(let[,o]of pm(r[0]["p:childTnLst"])){let d=new Map;if(!wh(o,(f,c)=>{var v,_,y,I,C,R,B,Z;if(f!=="p:set")return;let l=c["p:cBhvr"],g=(v=l==null?void 0:l["p:tgtEl"])==null?void 0:v["p:spTgt"],m=hm((_=g==null?void 0:g.attrs)==null?void 0:_.spid),p=A1((y=l==null?void 0:l["p:attrNameLst"])==null?void 0:y["p:attrName"]);if(m===void 0||!p.includes("style.visibility"))return;let b=(R=(C=(I=c["p:to"])==null?void 0:I["p:strVal"])==null?void 0:C.attrs)==null?void 0:R.val,M=Object.keys(g).every(T=>T==="attrs")&&Object.keys(g.attrs||{}).every(T=>T==="spid"||T==="order"||T==="xmlns"||T.startsWith("xmlns:"))&&["hold","freeze"].includes((Z=(B=l==null?void 0:l["p:cTn"])==null?void 0:B.attrs)==null?void 0:Z.fill)&&["visible","hidden"].includes(b)?b:void 0;d.set(m,d.has(m)&&d.get(m)!==M?void 0:M)}))return new Set;for(let[f,c]of d)s.set(f,c)}return new Set([...s].filter(([,o])=>o==="hidden").map(([o])=>o))}function mm(e,r){let t=hm(r);return t!==void 0&&!!(e!=null&&e.has(t))}function _m(e){let r=[];for(let[t,a]of Object.entries(e||{}))if(["a:r","a:fld","a:br"].includes(t))for(let s of A1(a))!s||typeof s!="object"||r.push(t==="a:fld"?{...s,"a:fld":s}:t==="a:br"?{...s,type:"br"}:s);return r.sort((t,a)=>{var s,n;return(Number((s=t.attrs)==null?void 0:s.order)||0)-(Number((n=a.attrs)==null?void 0:n.order)||0)})}function bm(e){let r=String(e!=null?e:"").trim();if(!/^[+-]?\d+$/.test(r))return 1;let t=Number(r);return Number.isInteger(t)&&t>=-2147483648&&t<=2147483647?t:1}function _b(e){if(typeof e!="string"&&typeof e!="number")return;let r=/^\+?(\d+(?:\.\d*)?|\.\d+)(%)?$/.exec(String(e).trim());if(!r)return;let t=Number(r[1])/(r[2]?100:1e5);return Number.isFinite(t)?t:void 0}function Lm(e,r){let t=A1(e==null?void 0:e["a:alphaModFix"]).map(i=>{var o;return _b((o=i==null?void 0:i.attrs)==null?void 0:o.amt)}).filter(i=>i!==void 0),a=(e==null?void 0:e["a:duotone"])!=null?["grayscale(1)"]:[],s="",n="";if(t.some(i=>i>1)){let i=String(r).replace(/[^a-zA-Z0-9_-]/g,"_");n=`<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true" style="position:absolute;pointer-events:none;"><defs><filter id="${i}" x="0" y="0" width="100%" height="100%" color-interpolation-filters="sRGB">`+t.map(o=>`<feComponentTransfer><feFuncA type="linear" slope="${o}" intercept="0"/></feComponentTransfer>`).join("")+"</filter></defs></svg>",a.unshift(`url(#${i})`)}else t.length&&(s+=`opacity:${t.reduce((i,o)=>i*o,1)};`);return a.length&&(s+=`filter:${a.join(" ")};`),{style:s,definitions:n}}var gm=e=>e==null?[]:Array.isArray(e)?e:[e];function km(e,r,t){var n,i,o;let a=[];for(let d of gm((n=e==null?void 0:e["a:extLst"])==null?void 0:n["a:ext"]))for(let[f,c]of Object.entries(d||{}))if(f.split(":").pop()==="svgBlip")for(let l of gm(c))a.push((i=l==null?void 0:l.attrs)==null?void 0:i["r:embed"]);a.push((o=e==null?void 0:e.attrs)==null?void 0:o["r:embed"]);let s=[];for(let d of new Set(a)){if(typeof d!="string"||!Object.prototype.hasOwnProperty.call(r||{},d))continue;let f=r[d],c=f==null?void 0:f.target;if(f!=null&&f.external||typeof c!="string"||!c||/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i.test(c)||f.type&&f.type!=="image"&&!f.type.endsWith("/image"))continue;let l=t.file(c);l&&s.push({target:c,entry:l})}return s}var bb=new Map([["{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}","accent1"],["{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}","accent2"],["{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}","accent3"],["{00A15C55-8517-42AA-B614-E9B94910E393}","accent4"],["{7DF18680-E054-41AD-8BC1-D1AEF772440D}","accent5"],["{93296810-A885-4BE3-A3E7-6D5BEEA58F35}","accent6"]]);function Mm(e){let r=bb.get(String(e||"").trim().toUpperCase());if(!r)return;let t=(d,f)=>({"a:schemeClr":{attrs:{val:d},...f===void 0?{}:{"a:tint":{attrs:{val:String(f)}}}}}),a=(d=12700)=>({"a:ln":{attrs:{w:String(d),cmpd:"sng"},"a:solidFill":t("lt1")}}),s=d=>({"a:solidFill":t(r,d)}),n=(d,f=!1)=>({...f?{attrs:{b:"on"}}:{},"a:fontRef":{attrs:{idx:"minor"},"a:prstClr":{attrs:{val:"black"}}},...t(d)}),i=()=>({"a:tcStyle":{"a:tcBdr":{},"a:fill":s(4e4)}}),o=d=>({"a:tcTxStyle":n("lt1",!0),"a:tcStyle":{"a:fill":s(),"a:tcBdr":d?{[`a:${d}`]:a(38100)}:{}}});return{attrs:{styleId:e,styleName:`Medium Style 2 - ${r}`},"a:wholeTbl":{"a:tcTxStyle":n("dk1"),"a:tcStyle":{"a:fill":s(2e4),"a:tcBdr":Object.fromEntries(["left","right","top","bottom","insideH","insideV"].map(d=>[`a:${d}`,a()]))}},"a:band1H":i(),"a:band2H":{"a:tcStyle":{"a:tcBdr":{}}},"a:band1V":i(),"a:band2V":{"a:tcStyle":{"a:tcBdr":{}}},"a:firstCol":o(),"a:lastCol":o(),"a:firstRow":o("bottom"),"a:lastRow":o("top")}}var K1=e=>e==null?[]:Array.isArray(e)?e:[e],Em=e=>{var t;let r=new Map;for(let a of K1(e==null?void 0:e["c:pt"])){let s=(t=a==null?void 0:a.attrs)==null?void 0:t.idx,n=typeof s=="number"||/^\d+$/.test(String(s))?Number(s):NaN;if(Number.isSafeInteger(n)&&n>=0){let i=a["c:v"];r.set(n,i!=null&&typeof i=="object"?"":i)}}return r},Pm=e=>{var t;let r=(t=e==null?void 0:e["c:multiLvlStrRef"])==null?void 0:t["c:multiLvlStrCache"];return r?K1(r["c:lvl"]).map(Em):void 0},Sm=(e,r)=>[...e].reverse().map((t,a)=>{if(t.has(r))return t.get(r);if(a===e.length-1)return"";let s=[...t.keys()].filter(n=>n<=r).sort((n,i)=>i-n)[0];return s===void 0?"":t.get(s)}).filter(t=>t!=null&&t!=="").join(" / "),Po=e=>{var a,s,n,i,o;let r=Pm(e);if(r){let d=new Set(r.flatMap(f=>[...f.keys()]));return new Map([...d].map(f=>[f,Sm(r,f)]))}let t=(o=(i=(s=(a=e==null?void 0:e["c:strRef"])==null?void 0:a["c:strCache"])!=null?s:e==null?void 0:e["c:strLit"])!=null?i:(n=e==null?void 0:e["c:numRef"])==null?void 0:n["c:numCache"])!=null?o:e==null?void 0:e["c:numLit"];return Em(t)},Im=(e,r)=>{var s,n;let t=e==null?void 0:e["c:tx"],a=(n=(s=t==null?void 0:t["c:v"])!=null?s:Po(t).get(0))!=null?n:r;return typeof a=="string"||typeof a=="number"?a:""},bu=e=>{if(e==null||String(e).trim()==="")return null;let r=Number(e);return Number.isFinite(r)?r:null};function Tm(e){var o;let r=K1(e);if(!r.length)return[];if(r.length===1&&((o=r[0])!=null&&o["c:xVal"])){let d=Po(r[0]["c:xVal"]),f=Po(r[0]["c:yVal"]),c=[...new Set([...d.keys(),...f.keys()])].sort((l,g)=>l-g);return[c.map(l=>bu(d.get(l))),c.map(l=>bu(f.get(l)))]}let t=r.map((d,f)=>{let c=Pm(d==null?void 0:d["c:cat"]),l=Po(d==null?void 0:d["c:cat"]),g=Po(d==null?void 0:d["c:val"]);if(c)for(let m of g.keys())l.has(m)||l.set(m,Sm(c,m));return{key:Im(d,f),categories:l,numbers:g,levels:c}}),a=new Map,s=new Set;for(let d of t){for(let[f,c]of d.categories)a.has(f)||a.set(f,c),s.add(f);for(let f of d.numbers.keys())s.add(f)}let n=[...s].sort((d,f)=>d-f),i=Object.fromEntries(n.map((d,f)=>{var c;return[f,(c=a.get(d))!=null?c:String(d)]}));return t.map(d=>({key:d.key,values:n.map(f=>({x:String(f),y:bu(d.numbers.get(f))})),xlabels:i,...d.levels?{categoryLevels:d.levels.map(f=>Object.fromEntries(f))}:{}}))}function ym(e){return K1(e).map((r,t)=>{let a=Po(r==null?void 0:r["c:xVal"]),s=Po(r==null?void 0:r["c:yVal"]),n=[...new Set([...a.keys(),...s.keys()])].sort((i,o)=>i-o);return{key:Im(r,t),values:n.map(i=>({x:bu(a.get(i)),y:bu(s.get(i))})),xlabels:{}}})}var Rh=e=>e==null?[]:Array.isArray(e)?e:[e],Dn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},Lu=(e,r,t,a)=>{if(!/^\d+$/.test(String(e)))return a;let s=Number(e);return Number.isSafeInteger(s)&&s>=r&&s<=t?s:a};function J1(e){var s;if(!e)return;let r=n=>{let i=Dn(e,n);return i==null?void 0:i===!0||i===1||i==="1"||i==="true"},t=Dn(e,"c:dLblPos"),a=(s=e==null?void 0:e["c:numFmt"])==null?void 0:s.attrs;return{showValue:r("c:showVal"),showCategory:r("c:showCatName"),showSeries:r("c:showSerName"),showPercent:r("c:showPercent"),deleted:r("c:delete"),position:["bestFit","b","ctr","inBase","inEnd","l","outEnd","r","t"].includes(t)?t:void 0,formatCode:typeof(a==null?void 0:a.formatCode)=="string"?a.formatCode.slice(0,512):void 0,sourceLinked:(a==null?void 0:a.sourceLinked)==null?void 0:["1","true"].includes(String(a.sourceLinked)),...e["c:dLbl"]?{points:Object.fromEntries(Rh(e["c:dLbl"]).flatMap(n=>{let i=Lu(Dn(n,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0);return i===void 0?[]:[[i,J1({...n,"c:dLbl":void 0})]]}))}:{}}}function wm(e,r,t){let a=Dn(e,"c:grouping"),s=r==null?void 0:r["c:legend"],n=Dn(s,"c:legendPos"),i=o=>{if((o==null?void 0:o["a:noFill"])!=null)return"transparent";if(!(o!=null&&o["a:solidFill"]))return;let d=t==null?void 0:t(o["a:solidFill"]);return/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(d))?`#${d}`:void 0};return{grouping:["standard","clustered","stacked","percentStacked"].includes(a)?a:void 0,holeSize:Lu(Dn(e,"c:holeSize"),10,90,50),firstSliceAngle:Lu(Dn(e,"c:firstSliceAng"),0,360,0),gapWidth:Lu(Dn(e,"c:gapWidth"),0,500,void 0),overlap:/^-?\d+$/.test(String(Dn(e,"c:overlap")))&&Math.abs(Number(Dn(e,"c:overlap")))<=100?Number(Dn(e,"c:overlap")):void 0,legend:{show:s!=null,position:["l","r","t","b","tr"].includes(n)?n:"r"},series:Rh(e==null?void 0:e["c:ser"]).map(o=>({color:i(o==null?void 0:o["c:spPr"]),...o!=null&&o["c:dLbls"]?{labels:J1(o["c:dLbls"])}:{},points:Object.fromEntries(Rh(o==null?void 0:o["c:dPt"]).flatMap(d=>{let f=Lu(Dn(d,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0),c=i(d==null?void 0:d["c:spPr"]);return f==null||!c?[]:[[f,c]]}))}))}}var _0=e=>e==null?[]:Array.isArray(e)?e:[e],Nn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},gu=e=>{if(e==null||String(e).trim()==="")return;let r=Number(e);return Number.isFinite(r)?r:void 0},Bh=e=>/^\d{1,10}$/.test(String(e))&&Number(e)<=4294967295?String(Number(e)):void 0,Rm=e=>e===!0||e===1||e==="1"||e==="true",Q1=e=>typeof e=="string"||typeof e=="number"?String(e).slice(0,4096):"",Bm=e=>{var s,n,i,o,d,f,c,l;let r=_0(e==null?void 0:e["a:p"])[0],t=(i=(s=r==null?void 0:r["a:pPr"])==null?void 0:s["a:defRPr"])!=null?i:(n=_0(r==null?void 0:r["a:r"])[0])==null?void 0:n["a:rPr"];if(!t)return;let a=gu((o=t.attrs)==null?void 0:o.sz);return{family:Q1(((f=(d=t["a:latin"])==null?void 0:d.attrs)==null?void 0:f.typeface)||((l=(c=t["a:ea"])==null?void 0:c.attrs)==null?void 0:l.typeface))||void 0,sizePt:a>0&&a<=4e5?a/100:void 0}},Dm=e=>{var a,s;let r=e==null?void 0:e["c:tx"];return r!=null&&r["c:rich"]?_0(r["c:rich"]["a:p"]).map(n=>[..._0(n==null?void 0:n["a:r"]),..._0(n==null?void 0:n["a:fld"])].map(i=>Q1(i==null?void 0:i["a:t"])).join("")).join(`
|
|
3
|
+
`).slice(0,4096)||void 0:_0((s=(a=r==null?void 0:r["c:strRef"])==null?void 0:a["c:strCache"])==null?void 0:s["c:pt"]).map(n=>Q1(n==null?void 0:n["c:v"])).join(" ").slice(0,4096)||void 0};function Nm(e,r){var d;let t=e==null?void 0:e["c:chartSpace"],a=t==null?void 0:t["c:chart"],s=a==null?void 0:a["c:plotArea"],n=new Set(["lineChart","barChart","areaChart","scatterChart","pieChart","pie3DChart","doughnutChart"]),i=[];for(let[f,c]of Object.entries(s||{})){let l=f.slice(2);if(!(!f.startsWith("c:")||!n.has(l)))for(let g of _0(c)){let m=wm(g,a,r);m.labels=J1(g==null?void 0:g["c:dLbls"]),i.push({chartType:l,barDirection:["bar","col"].includes(Nn(g,"c:barDir"))?Nn(g,"c:barDir"):void 0,axisIds:_0(g==null?void 0:g["c:axId"]).map(p=>{var b;return Bh((b=p==null?void 0:p.attrs)==null?void 0:b.val)}).filter(p=>p!==void 0),series:l==="scatterChart"?ym(g==null?void 0:g["c:ser"]):Tm(g==null?void 0:g["c:ser"]),options:m})}}let o=[];for(let[f,c]of[["c:catAx","category"],["c:valAx","value"],["c:dateAx","date"],["c:serAx","series"]])for(let l of _0(s==null?void 0:s[f])){let g=Bh(Nn(l,"c:axId"));if(g===void 0)continue;let m=l==null?void 0:l["c:scaling"],p=Nn(l,"c:axPos"),b=(d=l==null?void 0:l["c:numFmt"])==null?void 0:d.attrs,k=gu(Nn(m,"c:logBase")),M=Nn(l,"c:crosses");o.push({id:g,kind:c,position:["l","r","t","b"].includes(p)?p:void 0,deleted:Rm(Nn(l,"c:delete")),reversed:Nn(m,"c:orientation")==="maxMin",min:gu(Nn(m,"c:min")),max:gu(Nn(m,"c:max")),logBase:k>=2&&k<=1e3?k:void 0,crossAxisId:Bh(Nn(l,"c:crossAx")),crosses:["autoZero","min","max"].includes(M)?M:void 0,crossesAt:gu(Nn(l,"c:crossesAt")),numberFormat:b?{code:Q1(b.formatCode).slice(0,512),sourceLinked:b.sourceLinked==null?void 0:Rm(b.sourceLinked)}:void 0,title:Dm(l==null?void 0:l["c:title"]),majorGridlines:(l==null?void 0:l["c:majorGridlines"])!=null,font:Bm(l==null?void 0:l["c:txPr"])})}return{schemaVersion:1,groups:i,axes:o,title:Dm(a==null?void 0:a["c:title"]),font:Bm(t==null?void 0:t["c:txPr"])}}function F1(e){"@babel/helpers - typeof";return F1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},F1(e)}var Lb=/^\s+/,gb=/\s+$/;function Je(e,r){if(e=e||"",r=r||{},e instanceof Je)return e;if(!(this instanceof Je))return new Je(e,r);var t=kb(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=t.ok}Je.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),t,a,s,n,i,o;return t=r.r/255,a=r.g/255,s=r.b/255,t<=.03928?n=t/12.92:n=Math.pow((t+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},setAlpha:function(r){return this._a=Hm(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=Cm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=Cm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.v*100);return this._a==1?"hsv("+t+", "+a+"%, "+s+"%)":"hsva("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHsl:function(){var r=zm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=zm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.l*100);return this._a==1?"hsl("+t+", "+a+"%, "+s+"%)":"hsla("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHex:function(r){return Om(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return Sb(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Cr(this._r,255)*100)+"%",g:Math.round(Cr(this._g,255)*100)+"%",b:Math.round(Cr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%)":"rgba("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:xb[Om(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var t="#"+xm(this._r,this._g,this._b,this._a),a=t,s=this._gradientType?"GradientType = 1, ":"";if(r){var n=Je(r);a="#"+xm(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+t+",endColorstr="+a+")"},toString:function(r){var t=!!r;r=r||this._format;var a=!1,s=this._a<1&&this._a>=0,n=!t&&s&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return n?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(a=this.toRgbString()),r==="prgb"&&(a=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(a=this.toHexString()),r==="hex3"&&(a=this.toHexString(!0)),r==="hex4"&&(a=this.toHex8String(!0)),r==="hex8"&&(a=this.toHex8String()),r==="name"&&(a=this.toName()),r==="hsl"&&(a=this.toHslString()),r==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return Je(this.toString())},_applyModification:function(r,t){var a=r.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(wb,arguments)},brighten:function(){return this._applyModification(Rb,arguments)},darken:function(){return this._applyModification(Bb,arguments)},desaturate:function(){return this._applyModification(Ib,arguments)},saturate:function(){return this._applyModification(Tb,arguments)},greyscale:function(){return this._applyModification(yb,arguments)},spin:function(){return this._applyModification(Db,arguments)},_applyCombination:function(r,t){return r.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Cb,arguments)},complement:function(){return this._applyCombination(Nb,arguments)},monochromatic:function(){return this._applyCombination(Ob,arguments)},splitcomplement:function(){return this._applyCombination(zb,arguments)},triad:function(){return this._applyCombination(Gm,[3])},tetrad:function(){return this._applyCombination(Gm,[4])}};Je.fromRatio=function(e,r){if(F1(e)=="object"){var t={};for(var a in e)e.hasOwnProperty(a)&&(a==="a"?t[a]=e[a]:t[a]=ku(e[a]));e=t}return Je(e,r)};function kb(e){var r={r:0,g:0,b:0},t=1,a=null,s=null,n=null,i=!1,o=!1;return typeof e=="string"&&(e=Zb(e)),F1(e)=="object"&&(b0(e.r)&&b0(e.g)&&b0(e.b)?(r=Mb(e.r,e.g,e.b),i=!0,o=String(e.r).substr(-1)==="%"?"prgb":"rgb"):b0(e.h)&&b0(e.s)&&b0(e.v)?(a=ku(e.s),s=ku(e.v),r=Pb(e.h,a,s),i=!0,o="hsv"):b0(e.h)&&b0(e.s)&&b0(e.l)&&(a=ku(e.s),n=ku(e.l),r=Eb(e.h,a,n),i=!0,o="hsl"),e.hasOwnProperty("a")&&(t=e.a)),t=Hm(t),{ok:i,format:e.format||o,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:t}}function Mb(e,r,t){return{r:Cr(e,255)*255,g:Cr(r,255)*255,b:Cr(t,255)*255}}function zm(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=(a+s)/2;if(a==s)n=i=0;else{var d=a-s;switch(i=o>.5?d/(2-a-s):d/(a+s),a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,l:o}}function Eb(e,r,t){var a,s,n;e=Cr(e,360),r=Cr(r,100),t=Cr(t,100);function i(f,c,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?f+(c-f)*6*l:l<1/2?c:l<2/3?f+(c-f)*(2/3-l)*6:f}if(r===0)a=s=n=t;else{var o=t<.5?t*(1+r):t+r-t*r,d=2*t-o;a=i(d,o,e+1/3),s=i(d,o,e),n=i(d,o,e-1/3)}return{r:a*255,g:s*255,b:n*255}}function Cm(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=a,d=a-s;if(i=a===0?0:d/a,a==s)n=0;else{switch(a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,v:o}}function Pb(e,r,t){e=Cr(e,360)*6,r=Cr(r,100),t=Cr(t,100);var a=Math.floor(e),s=e-a,n=t*(1-r),i=t*(1-s*r),o=t*(1-(1-s)*r),d=a%6,f=[t,i,n,n,o,t][d],c=[o,t,t,i,n,n][d],l=[n,n,o,t,t,i][d];return{r:f*255,g:c*255,b:l*255}}function Om(e,r,t,a){var s=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function Sb(e,r,t,a,s){var n=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16)),Mi(Zm(a))];return s&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}function xm(e,r,t,a){var s=[Mi(Zm(a)),Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return s.join("")}Je.equals=function(e,r){return!e||!r?!1:Je(e).toRgbString()==Je(r).toRgbString()};Je.random=function(){return Je.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Ib(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s-=r/100,t.s=q1(t.s),Je(t)}function Tb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s+=r/100,t.s=q1(t.s),Je(t)}function yb(e){return Je(e).desaturate(100)}function wb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l+=r/100,t.l=q1(t.l),Je(t)}function Rb(e,r){r=r===0?0:r||10;var t=Je(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(r/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(r/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(r/100)))),Je(t)}function Bb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l-=r/100,t.l=q1(t.l),Je(t)}function Db(e,r){var t=Je(e).toHsl(),a=(t.h+r)%360;return t.h=a<0?360+a:a,Je(t)}function Nb(e){var r=Je(e).toHsl();return r.h=(r.h+180)%360,Je(r)}function Gm(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=Je(e).toHsl(),a=[Je(e)],s=360/r,n=1;n<r;n++)a.push(Je({h:(t.h+n*s)%360,s:t.s,l:t.l}));return a}function zb(e){var r=Je(e).toHsl(),t=r.h;return[Je(e),Je({h:(t+72)%360,s:r.s,l:r.l}),Je({h:(t+216)%360,s:r.s,l:r.l})]}function Cb(e,r,t){r=r||6,t=t||30;var a=Je(e).toHsl(),s=360/t,n=[Je(e)];for(a.h=(a.h-(s*r>>1)+720)%360;--r;)a.h=(a.h+s)%360,n.push(Je(a));return n}function Ob(e,r){r=r||6;for(var t=Je(e).toHsv(),a=t.h,s=t.s,n=t.v,i=[],o=1/r;r--;)i.push(Je({h:a,s,v:n})),n=(n+o)%1;return i}Je.mix=function(e,r,t){t=t===0?0:t||50;var a=Je(e).toRgb(),s=Je(r).toRgb(),n=t/100,i={r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a};return Je(i)};Je.readability=function(e,r){var t=Je(e),a=Je(r);return(Math.max(t.getLuminance(),a.getLuminance())+.05)/(Math.min(t.getLuminance(),a.getLuminance())+.05)};Je.isReadable=function(e,r,t){var a=Je.readability(e,r),s,n;switch(n=!1,s=Wb(t),s.level+s.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7;break}return n};Je.mostReadable=function(e,r,t){var a=null,s=0,n,i,o,d;t=t||{},i=t.includeFallbackColors,o=t.level,d=t.size;for(var f=0;f<r.length;f++)n=Je.readability(e,r[f]),n>s&&(s=n,a=Je(r[f]));return Je.isReadable(e,a,{level:o,size:d})||!i?a:(t.includeFallbackColors=!1,Je.mostReadable(e,["#fff","#000"],t))};var Dh=Je.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},xb=Je.hexNames=Gb(Dh);function Gb(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}function Hm(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Cr(e,r){Ub(e)&&(e="100%");var t=Hb(e);return e=Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function q1(e){return Math.min(1,Math.max(0,e))}function kn(e){return parseInt(e,16)}function Ub(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function Hb(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Mi(e){return e.length==1?"0"+e:""+e}function ku(e){return e<=1&&(e=e*100+"%"),e}function Zm(e){return Math.round(parseFloat(e)*255).toString(16)}function Um(e){return kn(e)/255}var ki=(function(){var e="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",t="(?:"+r+")|(?:"+e+")",a="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",s="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function b0(e){return!!ki.CSS_UNIT.exec(e)}function Zb(e){e=e.replace(Lb,"").replace(gb,"").toLowerCase();var r=!1;if(Dh[e])e=Dh[e],r=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t;return(t=ki.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=ki.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=ki.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=ki.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=ki.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=ki.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=ki.hex8.exec(e))?{r:kn(t[1]),g:kn(t[2]),b:kn(t[3]),a:Um(t[4]),format:r?"name":"hex8"}:(t=ki.hex6.exec(e))?{r:kn(t[1]),g:kn(t[2]),b:kn(t[3]),format:r?"name":"hex"}:(t=ki.hex4.exec(e))?{r:kn(t[1]+""+t[1]),g:kn(t[2]+""+t[2]),b:kn(t[3]+""+t[3]),a:Um(t[4]+""+t[4]),format:r?"name":"hex8"}:(t=ki.hex3.exec(e))?{r:kn(t[1]+""+t[1]),g:kn(t[2]+""+t[2]),b:kn(t[3]+""+t[3]),format:r?"name":"hex"}:!1}function Wb(e){var r,t;return e=e||{level:"AA",size:"small"},r=(e.level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),t!=="small"&&t!=="large"&&(t="small"),{level:r,size:t}}function Wm(e,r){"txml";r=r||{};var t=r.pos||0,a=!!r.keepComments,s=!!r.keepWhitespace,n="<",i=60,o=">",d=62,f=45,c=47,l=33,g=39,m=34,p=91,b=93;function k(Z){for(var T=[];e[t];)if(e.charCodeAt(t)==i){if(e.charCodeAt(t+1)===c){var O=t+2;t=e.indexOf(o,t);var P=e.substring(O,t);if(P.indexOf(Z)==-1){var J=e.substring(0,t).split(`
|
|
4
4
|
`);throw new Error(`Unexpected close tag
|
|
5
5
|
Line: `+(J.length-1)+`
|
|
6
6
|
Column: `+(J[J.length-1].length+1)+`
|
|
7
|
-
Char: `+e[t])}return t+1&&(t+=1),T}else if(e.charCodeAt(t+1)===l){if(e.charCodeAt(t+2)==f){let H=t;for(;t!==-1&&!(e.charCodeAt(t)===d&&e.charCodeAt(t-1)==f&&e.charCodeAt(t-2)==f&&t!=-1);)t=e.indexOf(o,t+1);t===-1&&(t=e.length),a&&T.push(e.substring(H,t+1))}else if(e.charCodeAt(t+2)===p&&e.charCodeAt(t+8)===p&&e.substr(t+3,5).toLowerCase()==="cdata"){var re=e.indexOf("]]>",t);re==-1?(T.push(e.substr(t+9)),t=e.length):(T.push(e.substring(t+9,re)),t=re+3);continue}else{let H=t+1;t+=2;for(var Q=!1;(e.charCodeAt(t)!==d||Q===!0)&&e[t];)e.charCodeAt(t)===p?Q=!0:Q===!0&&e.charCodeAt(t)===b&&(Q=!1),t++;T.push(e.substring(H,t))}t++;continue}var ae=I();T.push(ae),ae.tagName[0]==="?"&&(T.push(...ae.children),ae.children=[])}else{var A=M();if(s)A.length>0&&T.push(A);else{var V=A.trim();V.length>0&&T.push(V)}t++}return T}function M(){var
|
|
8
|
-
>/= `;function _(){for(var Y=t;v.indexOf(e[t])===-1&&e[t];)t++;return e.slice(Y,t)}var y=r.noChildNodes||["img","br","input","meta","link","hr"];function I(){t++;let Y=_(),T={},O=[];for(;e.charCodeAt(t)!==d&&e[t];){var P=e.charCodeAt(t);if(P>64&&P<91||P>96&&P<123){for(var J=_(),re=e.charCodeAt(t);re&&re!==g&&re!==m&&!(re>64&&re<91||re>96&&re<123)&&re!==d;)t++,re=e.charCodeAt(t);if(re===g||re===m){var Q=C();if(t===-1)return{tagName:Y,attributes:T,children:O}}else Q=null,t--;T[J]=Q}t++}if(e.charCodeAt(t-1)!==c)if(Y=="script"){var ae=t+1;t=e.indexOf("<\/script>",t),O=[e.slice(ae,t)],t+=9}else if(Y=="style"){var ae=t+1;t=e.indexOf("</style>",t),O=[e.slice(ae,t)],t+=8}else y.indexOf(Y)===-1?(t++,O=k(Y)):t++;else t++;return{tagName:Y,attributes:T,children:O}}function C(){var Y=e[t],T=t+1;return t=e.indexOf(Y,T),e.slice(T,t)}function R(){var Y=new RegExp("\\s"+r.attrName+`\\s*=['"]`+r.attrValue+`['"]`).exec(e);return Y?Y.index:-1}var B=null;if(r.attrValue!==void 0){r.attrName=r.attrName||"id";for(var B=[];(t=R())!==-1;)t=e.lastIndexOf("<",t),t!==-1&&B.push(I()),e=e.substr(t),t=0}else r.parseNode?B=I():B=k("");return r.filter&&(B=filter(B,r.filter)),r.simplify?Gm(Array.isArray(B)?B:[B]):(r.setPos&&(B.pos=t),B)}var xb=1;function Gm(e){let r={};if(!e||!e.length)return{};if(e.length===1&&typeof e[0]=="string")return e[0];e.forEach(function(a){if(typeof a!="object")return;r[a.tagName]||(r[a.tagName]=[]);let s=Gm(a.children);r[a.tagName].push(s),typeof s!="string"&&(Object.keys(a.attributes).length&&(s.attrs=a.attributes),s.attrs||(s.attrs={}),s.attrs.order=xb++)});for(var t in r)r[t].length==1&&(r[t]=r[t][0]);return r}var f5=Eh(Hm(),1),zp=Eh(y_(),1);var Gu=(e,r,t)=>r<0||r+2>e.byteLength?0:e.getUint16(r,t),w_=(e,r,t)=>r<0||r+4>e.byteLength?0:e.getUint32(r,t),xL=e=>{if(e.byteLength<4||e[0]!==255||e[1]!==216)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength),t=2;for(;t+4<=e.byteLength;){if(e[t]!==255){t+=1;continue}let a=e[t+1];if(t+=2,a===217||a===218)break;if(a===0||a===1||a>=208&&a<=215)continue;let s=r.getUint16(t,!1);if(s<2||t+s>e.byteLength)break;let n=t+2,i=s-2;if(a===225&&i>=14&&e[n]===69&&e[n+1]===120&&e[n+2]===105&&e[n+3]===102&&e[n+4]===0&&e[n+5]===0){let o=n+6,d=e[o]===73&&e[o+1]===73,f=e[o]===77&&e[o+1]===77;if(!d&&!f||Gu(r,o+2,d)!==42)return null;let c=w_(r,o+4,d),l=o+c,g=Gu(r,l,d);for(let m=0;m<g;m+=1){let p=l+2+m*12;if(p+12>e.byteLength)break;if(Gu(r,p,d)!==274)continue;let b=Gu(r,p+2,d),k=w_(r,p+4,d);return b!==3||k<1?null:{offset:p+8,littleEndian:d,orientation:Gu(r,p+8,d)}}}t+=s}return null};var R_=e=>{let r=e instanceof Uint8Array?e:new Uint8Array(e),t=xL(r);if(!t||t.orientation<=1||t.orientation>8)return{bytes:r,orientation:(t==null?void 0:t.orientation)||1};let a=r.slice();return new DataView(a.buffer,a.byteOffset,a.byteLength).setUint16(t.offset,1,t.littleEndian),{bytes:a,orientation:t.orientation}};var ln=class{constructor(r){if(r instanceof Uint8Array)this.bytes=r;else if(r instanceof ArrayBuffer)this.bytes=new Uint8Array(r);else if(ArrayBuffer.isView(r))this.bytes=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);else throw new TypeError("BinaryReader expects ArrayBuffer or Uint8Array");this.view=new DataView(this.bytes.buffer,this.bytes.byteOffset,this.bytes.byteLength),this.length=this.bytes.byteLength}ensure(r,t=1){return r>=0&&r+t<=this.length}u8(r){return this.ensure(r,1)?this.view.getUint8(r):0}i8(r){return this.ensure(r,1)?this.view.getInt8(r):0}u16(r){return this.ensure(r,2)?this.view.getUint16(r,!0):0}i16(r){return this.ensure(r,2)?this.view.getInt16(r,!0):0}u32(r){return this.ensure(r,4)?this.view.getUint32(r,!0):0}i32(r){return this.ensure(r,4)?this.view.getInt32(r,!0):0}slice(r,t){return this.ensure(r,t)?this.bytes.subarray(r,r+t):new Uint8Array(0)}array(r,t,a){var i;let s=[],n=(i=a.byteWidth)!=null?i:1;for(let o=0;o<t;o+=1)s.push(a.call(this,r+o*n));return s}};ln.prototype.u8.byteWidth=1;ln.prototype.i8.byteWidth=1;ln.prototype.u16.byteWidth=2;ln.prototype.i16.byteWidth=2;ln.prototype.u32.byteWidth=4;ln.prototype.i32.byteWidth=4;var B_=globalThis.Buffer;function Wi(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function GL(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function UL(e){let r=GL(e);if(B_)return B_.from(r).toString("base64");let t="",a=32768;for(let s=0;s<r.length;s+=a)t+=String.fromCharCode(...r.subarray(s,Math.min(s+a,r.length)));return btoa(t)}function pp(e,r="application/octet-stream"){return`data:${r};base64,${UL(e)}`}var HL={color:"#000000",width:1},ZL={color:"#ffffff",none:!0},WL={family:"sans-serif",size:12},O_={m11:1,m12:0,m21:0,m22:1,dx:0,dy:0},$L=2596720087,YL=18,Sr={META_EOF:0,META_SETBKMODE:258,META_SETPOLYFILLMODE:262,META_SETBKCOLOR:513,META_SETTEXTCOLOR:521,META_SETWINDOWORG:523,META_SETWINDOWEXT:524,META_SETVIEWPORTORG:525,META_SETVIEWPORTEXT:526,META_OFFSETWINDOWORG:527,META_OFFSETVIEWPORTORG:529,META_LINETO:531,META_MOVETO:532,META_POLYGON:804,META_POLYLINE:805,META_TEXTOUT:1313,META_POLYPOLYGON:1336,META_ELLIPSE:1048,META_RECTANGLE:1051,META_ROUNDRECT:1564,META_CREATEBRUSHINDIRECT:764,META_CREATEPENINDIRECT:762,META_CREATEFONTINDIRECT:763,META_SELECTOBJECT:301,META_DELETEOBJECT:496},ct={EMR_HEADER:1,EMR_POLYBEZIER:2,EMR_POLYGON:3,EMR_POLYLINE:4,EMR_POLYBEZIERTO:5,EMR_POLYLINETO:6,EMR_POLYPOLYLINE:7,EMR_POLYPOLYGON:8,EMR_SETWINDOWEXTEX:9,EMR_SETWINDOWORGEX:10,EMR_SETVIEWPORTEXTEX:11,EMR_SETVIEWPORTORGEX:12,EMR_EOF:14,EMR_SETBKMODE:18,EMR_SETPOLYFILLMODE:19,EMR_SETTEXTALIGN:22,EMR_SETTEXTCOLOR:24,EMR_SETBKCOLOR:25,EMR_MOVETOEX:27,EMR_SAVEDC:33,EMR_RESTOREDC:34,EMR_SETWORLDTRANSFORM:35,EMR_MODIFYWORLDTRANSFORM:36,EMR_SELECTOBJECT:37,EMR_CREATEPEN:38,EMR_CREATEBRUSHINDIRECT:39,EMR_DELETEOBJECT:40,EMR_ELLIPSE:42,EMR_RECTANGLE:43,EMR_ROUNDRECT:44,EMR_BEGINPATH:59,EMR_ENDPATH:60,EMR_CLOSEFIGURE:61,EMR_FILLPATH:62,EMR_STROKEANDFILLPATH:63,EMR_STROKEPATH:64,EMR_SELECTCLIPPATH:67,EMR_LINETO:54,EMR_BITBLT:76,EMR_STRETCHBLT:77,EMR_STRETCHDIBITS:81,EMR_EXTCREATEFONTINDIRECTW:82,EMR_EXTTEXTOUTA:83,EMR_EXTTEXTOUTW:84,EMR_POLYBEZIER16:85,EMR_POLYGON16:86,EMR_POLYLINE16:87,EMR_POLYBEZIERTO16:88,EMR_POLYLINETO16:89,EMR_POLYPOLYLINE16:90,EMR_POLYPOLYGON16:91,EMR_EXTCREATEPEN:95,EMR_SMALLTEXTOUT:108,EMR_ALPHABLEND:114},E0=2147483648,P0={WHITE_BRUSH:E0,LTGRAY_BRUSH:E0+1,GRAY_BRUSH:E0+2,DKGRAY_BRUSH:E0+3,BLACK_BRUSH:E0+4,NULL_BRUSH:E0+5,WHITE_PEN:E0+6,BLACK_PEN:E0+7,NULL_PEN:E0+8},hc={MWT_IDENTITY:1,MWT_LEFTMULTIPLY:2,MWT_RIGHTMULTIPLY:3,MWT_SET:4};function St(e){let r=Math.round(e*100)/100;return Number.isInteger(r),String(r)}function Da(e){return Math.max(1,e.right-e.left||0)}function Na(e){return Math.max(1,e.bottom-e.top||0)}function Lf(e){return{left:Math.min(e.left,e.right),top:Math.min(e.top,e.bottom),right:Math.max(e.left,e.right),bottom:Math.max(e.top,e.bottom)}}function XL(e,r){for(let t of r)if(!(!Number.isFinite(t.x)||!Number.isFinite(t.y))){if(!e.contentBounds){e.contentBounds={left:t.x,top:t.y,right:t.x,bottom:t.y};continue}e.contentBounds.left=Math.min(e.contentBounds.left,t.x),e.contentBounds.top=Math.min(e.contentBounds.top,t.y),e.contentBounds.right=Math.max(e.contentBounds.right,t.x),e.contentBounds.bottom=Math.max(e.contentBounds.bottom,t.y)}}function S0(e){let r=e&255,t=e>>>8&255,a=e>>>16&255;return`#${r.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function AL(e,r){let t=new Uint8Array(14),a=new DataView(t.buffer);return t[0]=66,t[1]=77,a.setUint32(2,r>>>0,!0),a.setUint32(10,e>>>0,!0),t}function KL(e,r){if(e.length<12||!r.length)return null;let t=14+e.length,a=t+r.length,s=new Uint8Array(a);return s.set(AL(t,a),0),s.set(e,14),s.set(r,t),s}function bp(e,r,t){let a=Math.max(1,Math.abs(r)||1),s={color:t,width:a};switch(e&15){case 1:return{...s,dasharray:`${a*4} ${a*2}`};case 2:return{...s,dasharray:`${a} ${a*2}`};case 3:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2}`};case 4:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2} ${a} ${a*2}`};case 5:return{...s,none:!0};default:return s}}function x_(e,r){return e===1?{color:r,none:!0}:{color:r}}function vp(e){return{...e,windowOrg:{...e.windowOrg},windowExt:{...e.windowExt},viewportOrg:{...e.viewportOrg},viewportExt:{...e.viewportExt},worldTransform:{...e.worldTransform},currentPosition:{...e.currentPosition},pen:{...e.pen},brush:{...e.brush},font:{...e.font}}}function D_(e,r){let t=e.view;return{m11:e.ensure(r,4)?t.getFloat32(r,!0):1,m12:e.ensure(r+4,4)?t.getFloat32(r+4,!0):0,m21:e.ensure(r+8,4)?t.getFloat32(r+8,!0):0,m22:e.ensure(r+12,4)?t.getFloat32(r+12,!0):1,dx:e.ensure(r+16,4)?t.getFloat32(r+16,!0):0,dy:e.ensure(r+20,4)?t.getFloat32(r+20,!0):0}}function N_(e,r){return{m11:e.m11*r.m11+e.m12*r.m21,m12:e.m11*r.m12+e.m12*r.m22,m21:e.m21*r.m11+e.m22*r.m21,m22:e.m21*r.m12+e.m22*r.m22,dx:e.dx*r.m11+e.dy*r.m21+r.dx,dy:e.dx*r.m12+e.dy*r.m22+r.dy}}function JL(e,r){return{x:r.x*e.m11+r.y*e.m21+e.dx,y:r.x*e.m12+r.y*e.m22+e.dy}}function QL(e,r){return{x:r.x*e.m11+r.y*e.m21,y:r.x*e.m12+r.y*e.m22}}function G_(e,r,t){return{width:e,height:r,viewBox:t,recordCount:0,contentBounds:null,nodes:[],stateStack:[],capturePath:!1,pathData:[],pathPoints:[],objects:[],state:{windowOrg:{x:t.left,y:t.top},windowExt:{x:Da(t),y:Na(t)},viewportOrg:{x:t.left,y:t.top},viewportExt:{x:Da(t),y:Na(t)},worldTransform:{...O_},currentPosition:{x:0,y:0},pen:{...HL},brush:{...ZL},font:{...WL},textColor:"#000000",bkColor:"#ffffff",bkMode:1,textAlign:0,polygonFillMode:1}}}function $i(e,r){let t=JL(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:e.state.viewportOrg.x+(t.x-e.state.windowOrg.x)*n/a,y:e.state.viewportOrg.y+(t.y-e.state.windowOrg.y)*i/s}}function Lp(e,r){let t=QL(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:t.x*n/a,y:t.y*i/s}}function gp(e,r){let t=[$i(e,{x:r.left,y:r.top}),$i(e,{x:r.right,y:r.top}),$i(e,{x:r.right,y:r.bottom}),$i(e,{x:r.left,y:r.bottom})];return Lf({left:Math.min(...t.map(a=>a.x)),top:Math.min(...t.map(a=>a.y)),right:Math.max(...t.map(a=>a.x)),bottom:Math.max(...t.map(a=>a.y))})}function I0(e){return`${St(e.x)},${St(e.y)}`}function kp(e,r){let t=Math.max(1,Math.abs(r.width)||1),a=Lp(e,{x:t,y:0}),s=Lp(e,{x:0,y:t}),n=Math.hypot(a.x,a.y),i=Math.hypot(s.x,s.y),o=(n+i)/2;return!Number.isFinite(o)||o<=0?t:Math.max(.5,o)}function U_(e,r){if(!r.dasharray)return;let t=Math.max(1,Math.abs(r.width)||1),a=kp(e,r)/t;return r.dasharray.split(/\s+/).map(s=>Number(s)).filter(s=>Number.isFinite(s)&&s>0).map(s=>St(s*a)).join(" ")||void 0}function bc(e,r){if(r.none)return'stroke="none"';let t=[`stroke="${Wi(r.color)}"`,`stroke-width="${St(kp(e,r))}"`,'fill="none"'],a=U_(e,r);return a&&t.push(`stroke-dasharray="${Wi(a)}"`),t.join(" ")}function Lc(e){let r=[e.state.pen.none?'stroke="none"':`stroke="${Wi(e.state.pen.color)}"`,e.state.pen.none?"":`stroke-width="${St(kp(e,e.state.pen))}"`].filter(Boolean),t=U_(e,e.state.pen);return t&&!e.state.pen.none&&r.push(`stroke-dasharray="${Wi(t)}"`),r.push(e.state.brush.none?'fill="none"':`fill="${Wi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function FL(e){let r=['stroke="none"'];return r.push(e.state.brush.none?'fill="none"':`fill="${Wi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function mp(e){let r=e.findIndex(t=>t==null);return r>=0?r:(e.push(null),e.length-1)}function No(e,r,t){for(;e.length<=r;)e.push(null);e[r]=t}function qL(e,r){switch(r>>>0){case P0.WHITE_BRUSH:return e.state.brush={color:"#ffffff"},!0;case P0.LTGRAY_BRUSH:return e.state.brush={color:"#c0c0c0"},!0;case P0.GRAY_BRUSH:return e.state.brush={color:"#808080"},!0;case P0.DKGRAY_BRUSH:return e.state.brush={color:"#404040"},!0;case P0.BLACK_BRUSH:return e.state.brush={color:"#000000"},!0;case P0.NULL_BRUSH:return e.state.brush={color:"none",none:!0},!0;case P0.WHITE_PEN:return e.state.pen={color:"#ffffff",width:1},!0;case P0.BLACK_PEN:return e.state.pen={color:"#000000",width:1},!0;case P0.NULL_PEN:return e.state.pen={color:"none",width:1,none:!0},!0;default:return!1}}function H_(e,r){if(qL(e,r))return;let t=e.objects[r]||null;t&&(t.kind==="pen"&&(e.state.pen={...t.value}),t.kind==="brush"&&(e.state.brush={...t.value}),t.kind==="font"&&(e.state.font={...t.value}))}function q0(e,r,t){e.nodes.push(r),XL(e,t)}function Zu(e,r,t){r&&(e.pathData.push(r),e.pathPoints.push(...t))}function _p(e,r){e.pathData.length&&(q0(e,`<path d="${e.pathData.join(" ")}" ${r} />`,e.pathPoints),e.pathData=[],e.pathPoints=[],e.capturePath=!1)}function Z_(e,r,t){let a=$i(e,r),s=$i(e,t);if(e.state.currentPosition={...t},e.capturePath){Zu(e,`${e.pathData.length?"":`M ${I0(a)}`} L ${I0(s)}`.trim(),[a,s]);return}q0(e,`<line x1="${St(a.x)}" y1="${St(a.y)}" x2="${St(s.x)}" y2="${St(s.y)}" ${bc(e,e.state.pen)} />`,[a,s])}function Hu(e,r,t){if(!r.length)return;let a=r.map(o=>$i(e,o));e.state.currentPosition={...r[r.length-1]};let s=a.map(I0).join(" ");if(e.capturePath){let o=[`M ${I0(a[0])}`,...a.slice(1).map(d=>`L ${I0(d)}`)];t&&o.push("Z"),Zu(e,o.join(" "),a);return}let n=t?"polygon":"polyline",i=t?Lc(e):bc(e,e.state.pen);q0(e,`<${n} points="${s}" ${i} />`,a)}function z_(e,r,t=!1){let a=[];if(t&&a.push({...e.state.currentPosition}),a.push(...r),a.length<4)return;let s=a.map(i=>$i(e,i)),n=`M ${I0(s[0])}`;for(let i=1;i+2<s.length;i+=3)n+=` C ${I0(s[i])} ${I0(s[i+1])} ${I0(s[i+2])}`;if(e.state.currentPosition={...a[a.length-1]},e.capturePath){Zu(e,n,s);return}q0(e,`<path d="${n}" ${bc(e,e.state.pen)} />`,s)}function vc(e,r,t){let a=gp(e,r),s=[`x="${St(a.left)}"`,`y="${St(a.top)}"`,`width="${St(Da(a))}"`,`height="${St(Na(a))}"`];if(t){let n=$i(e,{x:t.x,y:t.y});s.push(`rx="${St(Math.abs(n.x-e.state.viewportOrg.x))}"`),s.push(`ry="${St(Math.abs(n.y-e.state.viewportOrg.y))}"`)}if(e.capturePath){Zu(e,`M ${St(a.left)},${St(a.top)} L ${St(a.right)},${St(a.top)} L ${St(a.right)},${St(a.bottom)} L ${St(a.left)},${St(a.bottom)} Z`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}]);return}q0(e,`<rect ${s.join(" ")} ${Lc(e)} />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function W_(e,r){let t=gp(e,r),a=(t.left+t.right)/2,s=(t.top+t.bottom)/2,n=Da(t)/2,i=Na(t)/2;if(e.capturePath){Zu(e,`M ${St(a-n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a+n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a-n)},${St(s)} Z`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}]);return}q0(e,`<ellipse cx="${St(a)}" cy="${St(s)}" rx="${St(n)}" ry="${St(i)}" ${Lc(e)} />`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}])}function $_(e,r,t){if(!t.length)return;let a=gp(e,r),s=Da(a),n=Na(a),i=pp(t,"image/bmp");q0(e,`<image x="${St(a.left)}" y="${St(a.top)}" width="${St(s)}" height="${St(n)}" href="${i}" preserveAspectRatio="none" />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function mc(e){return new TextDecoder("windows-1252").decode(e).replace(/\0+$/g,"")}function Y_(e){return new TextDecoder("utf-16le").decode(e).replace(/\0+$/g,"")}function VL(e){let r=e&6;return r===2?"end":r===6?"middle":"start"}function jL(e){let r=e&24;return r===8?"text-after-edge":r===24?"alphabetic":"text-before-edge"}function eg(e,r){let t=Lp(e,{x:0,y:Math.abs(r)||12}),a=Math.hypot(t.x,t.y);return!Number.isFinite(a)||a<=0?Math.max(1,Math.abs(r)||12):Math.max(1,a)}function tg(e){let r=String(e||"").trim();return r&&r.replace(/\s+(?:Baltic|CE|Cyr|Greek|Tur|Vietnamese|Hebrew|Arabic|Thai|Symbol)$/i,"")||"sans-serif"}function pc(e,r,t){if(!t)return;let a=$i(e,r),s=eg(e,e.state.font.size||12),n=[`x="${St(a.x)}"`,`y="${St(a.y)}"`,`fill="${Wi(e.state.textColor)}"`,`font-size="${St(s)}"`,`font-family="${Wi(tg(e.state.font.family))}"`,`text-anchor="${VL(e.state.textAlign)}"`,`dominant-baseline="${jL(e.state.textAlign)}"`];e.state.font.weight&&e.state.font.weight>=600&&n.push('font-weight="700"'),e.state.font.italic&&n.push('font-style="italic"');let i=[e.state.font.underline?"underline":"",e.state.font.strike?"line-through":""].filter(Boolean);i.length&&n.push(`text-decoration="${i.join(" ")}"`),e.state.font.escapement&&n.push(`transform="rotate(${St(-e.state.font.escapement/10)}, ${St(a.x)}, ${St(a.y)})"`),q0(e,`<text ${n.join(" ")}>${Wi(t)}</text>`,[a])}function _c(e,r){if(!e.nodes.length)return null;let t=e.contentBounds?Lf(e.contentBounds):Lf(e.viewBox),a=Lf({left:Number.isFinite(e.viewBox.left)?e.viewBox.left:t.left,top:Number.isFinite(e.viewBox.top)?e.viewBox.top:t.top,right:Number.isFinite(e.viewBox.right)?e.viewBox.right:t.right,bottom:Number.isFinite(e.viewBox.bottom)?e.viewBox.bottom:t.bottom}),s=Math.max(1,Math.round(Da(a))),n=Math.max(1,Math.round(Na(a))),i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
7
|
+
Char: `+e[t])}return t+1&&(t+=1),T}else if(e.charCodeAt(t+1)===l){if(e.charCodeAt(t+2)==f){let H=t;for(;t!==-1&&!(e.charCodeAt(t)===d&&e.charCodeAt(t-1)==f&&e.charCodeAt(t-2)==f&&t!=-1);)t=e.indexOf(o,t+1);t===-1&&(t=e.length),a&&T.push(e.substring(H,t+1))}else if(e.charCodeAt(t+2)===p&&e.charCodeAt(t+8)===p&&e.substr(t+3,5).toLowerCase()==="cdata"){var re=e.indexOf("]]>",t);re==-1?(T.push(e.substr(t+9)),t=e.length):(T.push(e.substring(t+9,re)),t=re+3);continue}else{let H=t+1;t+=2;for(var Q=!1;(e.charCodeAt(t)!==d||Q===!0)&&e[t];)e.charCodeAt(t)===p?Q=!0:Q===!0&&e.charCodeAt(t)===b&&(Q=!1),t++;T.push(e.substring(H,t))}t++;continue}var ae=I();T.push(ae),ae.tagName[0]==="?"&&(T.push(...ae.children),ae.children=[])}else{var A=M();if(s)A.length>0&&T.push(A);else{var V=A.trim();V.length>0&&T.push(V)}t++}return T}function M(){var Z=t;return t=e.indexOf(n,t)-1,t===-2&&(t=e.length),e.slice(Z,t+1)}var v=`\r
|
|
8
|
+
>/= `;function _(){for(var Z=t;v.indexOf(e[t])===-1&&e[t];)t++;return e.slice(Z,t)}var y=r.noChildNodes||["img","br","input","meta","link","hr"];function I(){t++;let Z=_(),T={},O=[];for(;e.charCodeAt(t)!==d&&e[t];){var P=e.charCodeAt(t);if(P>64&&P<91||P>96&&P<123){for(var J=_(),re=e.charCodeAt(t);re&&re!==g&&re!==m&&!(re>64&&re<91||re>96&&re<123)&&re!==d;)t++,re=e.charCodeAt(t);if(re===g||re===m){var Q=C();if(t===-1)return{tagName:Z,attributes:T,children:O}}else Q=null,t--;T[J]=Q}t++}if(e.charCodeAt(t-1)!==c)if(Z=="script"){var ae=t+1;t=e.indexOf("<\/script>",t),O=[e.slice(ae,t)],t+=9}else if(Z=="style"){var ae=t+1;t=e.indexOf("</style>",t),O=[e.slice(ae,t)],t+=8}else y.indexOf(Z)===-1?(t++,O=k(Z)):t++;else t++;return{tagName:Z,attributes:T,children:O}}function C(){var Z=e[t],T=t+1;return t=e.indexOf(Z,T),e.slice(T,t)}function R(){var Z=new RegExp("\\s"+r.attrName+`\\s*=['"]`+r.attrValue+`['"]`).exec(e);return Z?Z.index:-1}var B=null;if(r.attrValue!==void 0){r.attrName=r.attrName||"id";for(var B=[];(t=R())!==-1;)t=e.lastIndexOf("<",t),t!==-1&&B.push(I()),e=e.substr(t),t=0}else r.parseNode?B=I():B=k("");return r.filter&&(B=filter(B,r.filter)),r.simplify?$m(Array.isArray(B)?B:[B]):(r.setPos&&(B.pos=t),B)}var $b=1;function $m(e){let r={};if(!e||!e.length)return{};if(e.length===1&&typeof e[0]=="string")return e[0];e.forEach(function(a){if(typeof a!="object")return;r[a.tagName]||(r[a.tagName]=[]);let s=$m(a.children);r[a.tagName].push(s),typeof s!="string"&&(Object.keys(a.attributes).length&&(s.attrs=a.attributes),s.attrs||(s.attrs={}),s.attrs.order=$b++)});for(var t in r)r[t].length==1&&(r[t]=r[t][0]);return r}var h5=Ph(Xm(),1),Op=Ph(N_(),1);var Gu=(e,r,t)=>r<0||r+2>e.byteLength?0:e.getUint16(r,t),z_=(e,r,t)=>r<0||r+4>e.byteLength?0:e.getUint32(r,t),$L=e=>{if(e.byteLength<4||e[0]!==255||e[1]!==216)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength),t=2;for(;t+4<=e.byteLength;){if(e[t]!==255){t+=1;continue}let a=e[t+1];if(t+=2,a===217||a===218)break;if(a===0||a===1||a>=208&&a<=215)continue;let s=r.getUint16(t,!1);if(s<2||t+s>e.byteLength)break;let n=t+2,i=s-2;if(a===225&&i>=14&&e[n]===69&&e[n+1]===120&&e[n+2]===105&&e[n+3]===102&&e[n+4]===0&&e[n+5]===0){let o=n+6,d=e[o]===73&&e[o+1]===73,f=e[o]===77&&e[o+1]===77;if(!d&&!f||Gu(r,o+2,d)!==42)return null;let c=z_(r,o+4,d),l=o+c,g=Gu(r,l,d);for(let m=0;m<g;m+=1){let p=l+2+m*12;if(p+12>e.byteLength)break;if(Gu(r,p,d)!==274)continue;let b=Gu(r,p+2,d),k=z_(r,p+4,d);return b!==3||k<1?null:{offset:p+8,littleEndian:d,orientation:Gu(r,p+8,d)}}}t+=s}return null};var C_=e=>{let r=e instanceof Uint8Array?e:new Uint8Array(e),t=$L(r);if(!t||t.orientation<=1||t.orientation>8)return{bytes:r,orientation:(t==null?void 0:t.orientation)||1};let a=r.slice();return new DataView(a.buffer,a.byteOffset,a.byteLength).setUint16(t.offset,1,t.littleEndian),{bytes:a,orientation:t.orientation}};var ln=class{constructor(r){if(r instanceof Uint8Array)this.bytes=r;else if(r instanceof ArrayBuffer)this.bytes=new Uint8Array(r);else if(ArrayBuffer.isView(r))this.bytes=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);else throw new TypeError("BinaryReader expects ArrayBuffer or Uint8Array");this.view=new DataView(this.bytes.buffer,this.bytes.byteOffset,this.bytes.byteLength),this.length=this.bytes.byteLength}ensure(r,t=1){return r>=0&&r+t<=this.length}u8(r){return this.ensure(r,1)?this.view.getUint8(r):0}i8(r){return this.ensure(r,1)?this.view.getInt8(r):0}u16(r){return this.ensure(r,2)?this.view.getUint16(r,!0):0}i16(r){return this.ensure(r,2)?this.view.getInt16(r,!0):0}u32(r){return this.ensure(r,4)?this.view.getUint32(r,!0):0}i32(r){return this.ensure(r,4)?this.view.getInt32(r,!0):0}slice(r,t){return this.ensure(r,t)?this.bytes.subarray(r,r+t):new Uint8Array(0)}array(r,t,a){var i;let s=[],n=(i=a.byteWidth)!=null?i:1;for(let o=0;o<t;o+=1)s.push(a.call(this,r+o*n));return s}};ln.prototype.u8.byteWidth=1;ln.prototype.i8.byteWidth=1;ln.prototype.u16.byteWidth=2;ln.prototype.i16.byteWidth=2;ln.prototype.u32.byteWidth=4;ln.prototype.i32.byteWidth=4;var O_=globalThis.Buffer;function Wi(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function YL(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function XL(e){let r=YL(e);if(O_)return O_.from(r).toString("base64");let t="",a=32768;for(let s=0;s<r.length;s+=a)t+=String.fromCharCode(...r.subarray(s,Math.min(s+a,r.length)));return btoa(t)}function mp(e,r="application/octet-stream"){return`data:${r};base64,${XL(e)}`}var AL={color:"#000000",width:1},KL={color:"#ffffff",none:!0},JL={family:"sans-serif",size:12},Z_={m11:1,m12:0,m21:0,m22:1,dx:0,dy:0},QL=2596720087,FL=18,Sr={META_EOF:0,META_SETBKMODE:258,META_SETPOLYFILLMODE:262,META_SETBKCOLOR:513,META_SETTEXTCOLOR:521,META_SETWINDOWORG:523,META_SETWINDOWEXT:524,META_SETVIEWPORTORG:525,META_SETVIEWPORTEXT:526,META_OFFSETWINDOWORG:527,META_OFFSETVIEWPORTORG:529,META_LINETO:531,META_MOVETO:532,META_POLYGON:804,META_POLYLINE:805,META_TEXTOUT:1313,META_POLYPOLYGON:1336,META_ELLIPSE:1048,META_RECTANGLE:1051,META_ROUNDRECT:1564,META_CREATEBRUSHINDIRECT:764,META_CREATEPENINDIRECT:762,META_CREATEFONTINDIRECT:763,META_SELECTOBJECT:301,META_DELETEOBJECT:496},ct={EMR_HEADER:1,EMR_POLYBEZIER:2,EMR_POLYGON:3,EMR_POLYLINE:4,EMR_POLYBEZIERTO:5,EMR_POLYLINETO:6,EMR_POLYPOLYLINE:7,EMR_POLYPOLYGON:8,EMR_SETWINDOWEXTEX:9,EMR_SETWINDOWORGEX:10,EMR_SETVIEWPORTEXTEX:11,EMR_SETVIEWPORTORGEX:12,EMR_EOF:14,EMR_SETBKMODE:18,EMR_SETPOLYFILLMODE:19,EMR_SETTEXTALIGN:22,EMR_SETTEXTCOLOR:24,EMR_SETBKCOLOR:25,EMR_MOVETOEX:27,EMR_SAVEDC:33,EMR_RESTOREDC:34,EMR_SETWORLDTRANSFORM:35,EMR_MODIFYWORLDTRANSFORM:36,EMR_SELECTOBJECT:37,EMR_CREATEPEN:38,EMR_CREATEBRUSHINDIRECT:39,EMR_DELETEOBJECT:40,EMR_ELLIPSE:42,EMR_RECTANGLE:43,EMR_ROUNDRECT:44,EMR_BEGINPATH:59,EMR_ENDPATH:60,EMR_CLOSEFIGURE:61,EMR_FILLPATH:62,EMR_STROKEANDFILLPATH:63,EMR_STROKEPATH:64,EMR_SELECTCLIPPATH:67,EMR_LINETO:54,EMR_BITBLT:76,EMR_STRETCHBLT:77,EMR_STRETCHDIBITS:81,EMR_EXTCREATEFONTINDIRECTW:82,EMR_EXTTEXTOUTA:83,EMR_EXTTEXTOUTW:84,EMR_POLYBEZIER16:85,EMR_POLYGON16:86,EMR_POLYLINE16:87,EMR_POLYBEZIERTO16:88,EMR_POLYLINETO16:89,EMR_POLYPOLYLINE16:90,EMR_POLYPOLYGON16:91,EMR_EXTCREATEPEN:95,EMR_SMALLTEXTOUT:108,EMR_ALPHABLEND:114},E0=2147483648,P0={WHITE_BRUSH:E0,LTGRAY_BRUSH:E0+1,GRAY_BRUSH:E0+2,DKGRAY_BRUSH:E0+3,BLACK_BRUSH:E0+4,NULL_BRUSH:E0+5,WHITE_PEN:E0+6,BLACK_PEN:E0+7,NULL_PEN:E0+8},pc={MWT_IDENTITY:1,MWT_LEFTMULTIPLY:2,MWT_RIGHTMULTIPLY:3,MWT_SET:4};function St(e){let r=Math.round(e*100)/100;return Number.isInteger(r),String(r)}function Da(e){return Math.max(1,e.right-e.left||0)}function Na(e){return Math.max(1,e.bottom-e.top||0)}function Lf(e){return{left:Math.min(e.left,e.right),top:Math.min(e.top,e.bottom),right:Math.max(e.left,e.right),bottom:Math.max(e.top,e.bottom)}}function qL(e,r){for(let t of r)if(!(!Number.isFinite(t.x)||!Number.isFinite(t.y))){if(!e.contentBounds){e.contentBounds={left:t.x,top:t.y,right:t.x,bottom:t.y};continue}e.contentBounds.left=Math.min(e.contentBounds.left,t.x),e.contentBounds.top=Math.min(e.contentBounds.top,t.y),e.contentBounds.right=Math.max(e.contentBounds.right,t.x),e.contentBounds.bottom=Math.max(e.contentBounds.bottom,t.y)}}function S0(e){let r=e&255,t=e>>>8&255,a=e>>>16&255;return`#${r.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function VL(e,r){let t=new Uint8Array(14),a=new DataView(t.buffer);return t[0]=66,t[1]=77,a.setUint32(2,r>>>0,!0),a.setUint32(10,e>>>0,!0),t}function jL(e,r){if(e.length<12||!r.length)return null;let t=14+e.length,a=t+r.length,s=new Uint8Array(a);return s.set(VL(t,a),0),s.set(e,14),s.set(r,t),s}function gp(e,r,t){let a=Math.max(1,Math.abs(r)||1),s={color:t,width:a};switch(e&15){case 1:return{...s,dasharray:`${a*4} ${a*2}`};case 2:return{...s,dasharray:`${a} ${a*2}`};case 3:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2}`};case 4:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2} ${a} ${a*2}`};case 5:return{...s,none:!0};default:return s}}function W_(e,r){return e===1?{color:r,none:!0}:{color:r}}function _p(e){return{...e,windowOrg:{...e.windowOrg},windowExt:{...e.windowExt},viewportOrg:{...e.viewportOrg},viewportExt:{...e.viewportExt},worldTransform:{...e.worldTransform},currentPosition:{...e.currentPosition},pen:{...e.pen},brush:{...e.brush},font:{...e.font}}}function x_(e,r){let t=e.view;return{m11:e.ensure(r,4)?t.getFloat32(r,!0):1,m12:e.ensure(r+4,4)?t.getFloat32(r+4,!0):0,m21:e.ensure(r+8,4)?t.getFloat32(r+8,!0):0,m22:e.ensure(r+12,4)?t.getFloat32(r+12,!0):1,dx:e.ensure(r+16,4)?t.getFloat32(r+16,!0):0,dy:e.ensure(r+20,4)?t.getFloat32(r+20,!0):0}}function G_(e,r){return{m11:e.m11*r.m11+e.m12*r.m21,m12:e.m11*r.m12+e.m12*r.m22,m21:e.m21*r.m11+e.m22*r.m21,m22:e.m21*r.m12+e.m22*r.m22,dx:e.dx*r.m11+e.dy*r.m21+r.dx,dy:e.dx*r.m12+e.dy*r.m22+r.dy}}function eg(e,r){return{x:r.x*e.m11+r.y*e.m21+e.dx,y:r.x*e.m12+r.y*e.m22+e.dy}}function tg(e,r){return{x:r.x*e.m11+r.y*e.m21,y:r.x*e.m12+r.y*e.m22}}function $_(e,r,t){return{width:e,height:r,viewBox:t,recordCount:0,contentBounds:null,nodes:[],stateStack:[],capturePath:!1,pathData:[],pathPoints:[],objects:[],state:{windowOrg:{x:t.left,y:t.top},windowExt:{x:Da(t),y:Na(t)},viewportOrg:{x:t.left,y:t.top},viewportExt:{x:Da(t),y:Na(t)},worldTransform:{...Z_},currentPosition:{x:0,y:0},pen:{...AL},brush:{...KL},font:{...JL},textColor:"#000000",bkColor:"#ffffff",bkMode:1,textAlign:0,polygonFillMode:1}}}function $i(e,r){let t=eg(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:e.state.viewportOrg.x+(t.x-e.state.windowOrg.x)*n/a,y:e.state.viewportOrg.y+(t.y-e.state.windowOrg.y)*i/s}}function kp(e,r){let t=tg(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:t.x*n/a,y:t.y*i/s}}function Mp(e,r){let t=[$i(e,{x:r.left,y:r.top}),$i(e,{x:r.right,y:r.top}),$i(e,{x:r.right,y:r.bottom}),$i(e,{x:r.left,y:r.bottom})];return Lf({left:Math.min(...t.map(a=>a.x)),top:Math.min(...t.map(a=>a.y)),right:Math.max(...t.map(a=>a.x)),bottom:Math.max(...t.map(a=>a.y))})}function I0(e){return`${St(e.x)},${St(e.y)}`}function Ep(e,r){let t=Math.max(1,Math.abs(r.width)||1),a=kp(e,{x:t,y:0}),s=kp(e,{x:0,y:t}),n=Math.hypot(a.x,a.y),i=Math.hypot(s.x,s.y),o=(n+i)/2;return!Number.isFinite(o)||o<=0?t:Math.max(.5,o)}function Y_(e,r){if(!r.dasharray)return;let t=Math.max(1,Math.abs(r.width)||1),a=Ep(e,r)/t;return r.dasharray.split(/\s+/).map(s=>Number(s)).filter(s=>Number.isFinite(s)&&s>0).map(s=>St(s*a)).join(" ")||void 0}function Lc(e,r){if(r.none)return'stroke="none"';let t=[`stroke="${Wi(r.color)}"`,`stroke-width="${St(Ep(e,r))}"`,'fill="none"'],a=Y_(e,r);return a&&t.push(`stroke-dasharray="${Wi(a)}"`),t.join(" ")}function gc(e){let r=[e.state.pen.none?'stroke="none"':`stroke="${Wi(e.state.pen.color)}"`,e.state.pen.none?"":`stroke-width="${St(Ep(e,e.state.pen))}"`].filter(Boolean),t=Y_(e,e.state.pen);return t&&!e.state.pen.none&&r.push(`stroke-dasharray="${Wi(t)}"`),r.push(e.state.brush.none?'fill="none"':`fill="${Wi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function rg(e){let r=['stroke="none"'];return r.push(e.state.brush.none?'fill="none"':`fill="${Wi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function bp(e){let r=e.findIndex(t=>t==null);return r>=0?r:(e.push(null),e.length-1)}function No(e,r,t){for(;e.length<=r;)e.push(null);e[r]=t}function ag(e,r){switch(r>>>0){case P0.WHITE_BRUSH:return e.state.brush={color:"#ffffff"},!0;case P0.LTGRAY_BRUSH:return e.state.brush={color:"#c0c0c0"},!0;case P0.GRAY_BRUSH:return e.state.brush={color:"#808080"},!0;case P0.DKGRAY_BRUSH:return e.state.brush={color:"#404040"},!0;case P0.BLACK_BRUSH:return e.state.brush={color:"#000000"},!0;case P0.NULL_BRUSH:return e.state.brush={color:"none",none:!0},!0;case P0.WHITE_PEN:return e.state.pen={color:"#ffffff",width:1},!0;case P0.BLACK_PEN:return e.state.pen={color:"#000000",width:1},!0;case P0.NULL_PEN:return e.state.pen={color:"none",width:1,none:!0},!0;default:return!1}}function X_(e,r){if(ag(e,r))return;let t=e.objects[r]||null;t&&(t.kind==="pen"&&(e.state.pen={...t.value}),t.kind==="brush"&&(e.state.brush={...t.value}),t.kind==="font"&&(e.state.font={...t.value}))}function q0(e,r,t){e.nodes.push(r),qL(e,t)}function Zu(e,r,t){r&&(e.pathData.push(r),e.pathPoints.push(...t))}function Lp(e,r){e.pathData.length&&(q0(e,`<path d="${e.pathData.join(" ")}" ${r} />`,e.pathPoints),e.pathData=[],e.pathPoints=[],e.capturePath=!1)}function A_(e,r,t){let a=$i(e,r),s=$i(e,t);if(e.state.currentPosition={...t},e.capturePath){Zu(e,`${e.pathData.length?"":`M ${I0(a)}`} L ${I0(s)}`.trim(),[a,s]);return}q0(e,`<line x1="${St(a.x)}" y1="${St(a.y)}" x2="${St(s.x)}" y2="${St(s.y)}" ${Lc(e,e.state.pen)} />`,[a,s])}function Hu(e,r,t){if(!r.length)return;let a=r.map(o=>$i(e,o));e.state.currentPosition={...r[r.length-1]};let s=a.map(I0).join(" ");if(e.capturePath){let o=[`M ${I0(a[0])}`,...a.slice(1).map(d=>`L ${I0(d)}`)];t&&o.push("Z"),Zu(e,o.join(" "),a);return}let n=t?"polygon":"polyline",i=t?gc(e):Lc(e,e.state.pen);q0(e,`<${n} points="${s}" ${i} />`,a)}function U_(e,r,t=!1){let a=[];if(t&&a.push({...e.state.currentPosition}),a.push(...r),a.length<4)return;let s=a.map(i=>$i(e,i)),n=`M ${I0(s[0])}`;for(let i=1;i+2<s.length;i+=3)n+=` C ${I0(s[i])} ${I0(s[i+1])} ${I0(s[i+2])}`;if(e.state.currentPosition={...a[a.length-1]},e.capturePath){Zu(e,n,s);return}q0(e,`<path d="${n}" ${Lc(e,e.state.pen)} />`,s)}function mc(e,r,t){let a=Mp(e,r),s=[`x="${St(a.left)}"`,`y="${St(a.top)}"`,`width="${St(Da(a))}"`,`height="${St(Na(a))}"`];if(t){let n=$i(e,{x:t.x,y:t.y});s.push(`rx="${St(Math.abs(n.x-e.state.viewportOrg.x))}"`),s.push(`ry="${St(Math.abs(n.y-e.state.viewportOrg.y))}"`)}if(e.capturePath){Zu(e,`M ${St(a.left)},${St(a.top)} L ${St(a.right)},${St(a.top)} L ${St(a.right)},${St(a.bottom)} L ${St(a.left)},${St(a.bottom)} Z`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}]);return}q0(e,`<rect ${s.join(" ")} ${gc(e)} />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function K_(e,r){let t=Mp(e,r),a=(t.left+t.right)/2,s=(t.top+t.bottom)/2,n=Da(t)/2,i=Na(t)/2;if(e.capturePath){Zu(e,`M ${St(a-n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a+n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a-n)},${St(s)} Z`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}]);return}q0(e,`<ellipse cx="${St(a)}" cy="${St(s)}" rx="${St(n)}" ry="${St(i)}" ${gc(e)} />`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}])}function J_(e,r,t){if(!t.length)return;let a=Mp(e,r),s=Da(a),n=Na(a),i=mp(t,"image/bmp");q0(e,`<image x="${St(a.left)}" y="${St(a.top)}" width="${St(s)}" height="${St(n)}" href="${i}" preserveAspectRatio="none" />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function _c(e){return new TextDecoder("windows-1252").decode(e).replace(/\0+$/g,"")}function Q_(e){return new TextDecoder("utf-16le").decode(e).replace(/\0+$/g,"")}function ng(e){let r=e&6;return r===2?"end":r===6?"middle":"start"}function ig(e){let r=e&24;return r===8?"text-after-edge":r===24?"alphabetic":"text-before-edge"}function sg(e,r){let t=kp(e,{x:0,y:Math.abs(r)||12}),a=Math.hypot(t.x,t.y);return!Number.isFinite(a)||a<=0?Math.max(1,Math.abs(r)||12):Math.max(1,a)}function og(e){let r=String(e||"").trim();return r&&r.replace(/\s+(?:Baltic|CE|Cyr|Greek|Tur|Vietnamese|Hebrew|Arabic|Thai|Symbol)$/i,"")||"sans-serif"}function vc(e,r,t){if(!t)return;let a=$i(e,r),s=sg(e,e.state.font.size||12),n=[`x="${St(a.x)}"`,`y="${St(a.y)}"`,`fill="${Wi(e.state.textColor)}"`,`font-size="${St(s)}"`,`font-family="${Wi(og(e.state.font.family))}"`,`text-anchor="${ng(e.state.textAlign)}"`,`dominant-baseline="${ig(e.state.textAlign)}"`];e.state.font.weight&&e.state.font.weight>=600&&n.push('font-weight="700"'),e.state.font.italic&&n.push('font-style="italic"');let i=[e.state.font.underline?"underline":"",e.state.font.strike?"line-through":""].filter(Boolean);i.length&&n.push(`text-decoration="${i.join(" ")}"`),e.state.font.escapement&&n.push(`transform="rotate(${St(-e.state.font.escapement/10)}, ${St(a.x)}, ${St(a.y)})"`),q0(e,`<text ${n.join(" ")}>${Wi(t)}</text>`,[a])}function bc(e,r){if(!e.nodes.length)return null;let t=e.contentBounds?Lf(e.contentBounds):Lf(e.viewBox),a=Lf({left:Number.isFinite(e.viewBox.left)?e.viewBox.left:t.left,top:Number.isFinite(e.viewBox.top)?e.viewBox.top:t.top,right:Number.isFinite(e.viewBox.right)?e.viewBox.right:t.right,bottom:Number.isFinite(e.viewBox.bottom)?e.viewBox.bottom:t.bottom}),s=Math.max(1,Math.round(Da(a))),n=Math.max(1,Math.round(Na(a))),i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
9
9
|
<svg xmlns="http://www.w3.org/2000/svg" width="${s}" height="${n}" viewBox="${St(a.left)} ${St(a.top)} ${St(Da(a))} ${St(Na(a))}" preserveAspectRatio="xMinYMin meet">
|
|
10
10
|
${e.nodes.join(`
|
|
11
11
|
`)}
|
|
12
|
-
</svg>`,o=new TextEncoder().encode(i);return{mime:"image/svg+xml",bytes:o,dataUrl:pp(o,"image/svg+xml"),width:s,height:n,sourceMime:r,recordCount:e.recordCount}}function rg(e){let r=new ln(e),t=0,a=null;if(r.u32(0)===$L&&e.length>=22&&(a=Lf({left:r.i16(6),top:r.i16(8),right:r.i16(10),bottom:r.i16(12)}),t=22),t+YL>e.length)return null;let s=new ln(e.subarray(t)),n=s.u16(2),i=s.u16(10),o=t+n*2;if(o>e.length)return null;let d=a||{left:0,top:0,right:1e3,bottom:1e3},f=G_(Da(d),Na(d),d);f.objects=new Array(Math.max(0,i)).fill(null),a&&(f.state.windowOrg={x:a.left,y:a.top},f.state.windowExt={x:Da(a),y:Na(a)},f.state.viewportOrg={x:a.left,y:a.top},f.state.viewportExt={x:Da(a),y:Na(a)});let c=o;for(;c+6<=e.length;){let l=new ln(e.subarray(c)),m=l.u32(0)*2;if(m<6||c+m>e.length)break;let p=l.u16(4);switch(f.recordCount+=1,p){case Sr.META_EOF:return _c(f,"image/wmf");case Sr.META_SETWINDOWORG:f.state.windowOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETWINDOWEXT:f.state.windowExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTORG:f.state.viewportOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTEXT:f.state.viewportExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_OFFSETWINDOWORG:f.state.windowOrg={x:f.state.windowOrg.x+l.i16(8),y:f.state.windowOrg.y+l.i16(6)};break;case Sr.META_OFFSETVIEWPORTORG:f.state.viewportOrg={x:f.state.viewportOrg.x+l.i16(8),y:f.state.viewportOrg.y+l.i16(6)};break;case Sr.META_SETBKMODE:f.state.bkMode=l.u16(6);break;case Sr.META_SETPOLYFILLMODE:f.state.polygonFillMode=l.u16(6);break;case Sr.META_SETBKCOLOR:f.state.bkColor=S0(l.u32(6));break;case Sr.META_SETTEXTCOLOR:f.state.textColor=S0(l.u32(6));break;case Sr.META_MOVETO:f.state.currentPosition={x:l.i16(8),y:l.i16(6)};break;case Sr.META_LINETO:{let b={x:l.i16(8),y:l.i16(6)};Z_(f,f.state.currentPosition,b);break}case Sr.META_POLYLINE:case Sr.META_POLYGON:{let b=l.u16(6),k=[],M=8;for(let v=0;v<b&&M+4<=m;v+=1)k.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Hu(f,k,p===Sr.META_POLYGON);break}case Sr.META_POLYPOLYGON:{let b=l.u16(6),k=[],M=8;for(let v=0;v<b&&M+2<=m;v+=1)k.push(l.u16(M)),M+=2;for(let v of k){let _=[];for(let y=0;y<v&&M+4<=m;y+=1)_.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Hu(f,_,!0)}break}case Sr.META_RECTANGLE:{vc(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ELLIPSE:{W_(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ROUNDRECT:{vc(f,{left:l.i16(16),top:l.i16(14),right:l.i16(12),bottom:l.i16(10)},{x:l.i16(8),y:l.i16(6)});break}case Sr.META_TEXTOUT:{let b=l.u16(6),k=8,M=b+b%2,v=mc(l.slice(k,Math.min(b,Math.max(0,m-k-4)))),_=k+M,y=l.i16(_),I=l.i16(_+2);pc(f,{x:I,y},v);break}case Sr.META_CREATEPENINDIRECT:{let b=l.u16(6),k=l.i16(8),M=S0(l.u32(12)),v=mp(f.objects);No(f.objects,v,{kind:"pen",value:bp(b,k,M)});break}case Sr.META_CREATEBRUSHINDIRECT:{let b=l.u16(6),k=S0(l.u32(8)),M=mp(f.objects);No(f.objects,M,{kind:"brush",value:x_(b,k)});break}case Sr.META_CREATEFONTINDIRECT:{let b=Math.abs(l.i16(6)),k=l.i16(10),M=l.u16(14),v=!!l.u8(16),_=!!l.u8(17),y=!!l.u8(18),I=mc(l.slice(24,Math.max(0,m-24))).split("\0")[0]||"sans-serif",C=mp(f.objects);No(f.objects,C,{kind:"font",value:{family:I,size:b||12,weight:M,italic:v,underline:_,strike:y,escapement:k}});break}case Sr.META_SELECTOBJECT:H_(f,l.u16(6));break;case Sr.META_DELETEOBJECT:{let b=l.u16(6);b>=0&&b<f.objects.length&&(f.objects[b]=null);break}default:break}c+=m}return _c(f,"image/wmf")}function Uu(e,r,t,a){let s=[];for(let n=0;n<t;n+=1){let i=r+n*a;a===8?s.push({x:e.i32(i),y:e.i32(i+4)}):s.push({x:e.i16(i),y:e.i16(i+2)})}return s}function C_(e,r){if(!e.ensure(36,40))return null;let t={x:e.i32(36),y:e.i32(40)},a=e.u32(44),s=e.u32(48);if(!a||!s||s>=e.length)return null;let n=r?a*2:a,i=e.slice(s,n),o=r?Y_(i):mc(i);return{point:t,text:o}}function ag(e){if(!e.ensure(8,24))return null;let r={x:e.i32(8),y:e.i32(12)},t=e.u32(16),a=e.u32(20),s=36;if(a&2&&(s+=16),!t||!e.ensure(s,t))return null;let n=mc(e.slice(s,t));return{point:r,text:n}}function X_(e,r,t,a,s){let n=e.u32(r),i=e.u32(t),o=e.u32(a),d=e.u32(s);return!n||!i||!o||!d||!e.ensure(n,i)||!e.ensure(o,d)?null:KL(e.slice(n,i),e.slice(o,d))}function ng(e,r){if(!r.ensure(24,56))return;let t=X_(r,48,52,56,60);t&&$_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(72),bottom:r.i32(28)+r.i32(76)},t)}function ig(e,r){if(!r.ensure(24,76))return;let t=X_(r,84,88,92,96);t&&$_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(32),bottom:r.i32(28)+r.i32(36)},t)}function sg(e){e.pathData.length&&e.pathData.push("Z")}function og(e){let r=new ln(e);if(!r.ensure(0,52)||r.u32(0)!==ct.EMR_HEADER)return null;let t=Lf({left:r.i32(8),top:r.i32(12),right:r.i32(16),bottom:r.i32(20)}),a=Da(t)>0&&Na(t)>0?t:{left:0,top:0,right:1e3,bottom:1e3},s=G_(Da(a),Na(a),a);s.state.windowOrg={x:a.left,y:a.top},s.state.windowExt={x:Da(a),y:Na(a)},s.state.viewportOrg={x:a.left,y:a.top},s.state.viewportExt={x:Da(a),y:Na(a)};let n=0;for(;n+8<=e.length;){let i=new ln(e.subarray(n)),o=i.u32(0),d=i.u32(4);if(d<8||n+d>e.length)break;switch(s.recordCount+=1,o){case ct.EMR_EOF:return _c(s,"image/emf");case ct.EMR_SETWINDOWORGEX:s.state.windowOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETWINDOWEXTEX:s.state.windowExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTORGEX:s.state.viewportOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTEXTEX:s.state.viewportExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETBKMODE:s.state.bkMode=i.u32(8);break;case ct.EMR_SETPOLYFILLMODE:s.state.polygonFillMode=i.u32(8);break;case ct.EMR_SETTEXTALIGN:s.state.textAlign=i.u32(8);break;case ct.EMR_SETTEXTCOLOR:s.state.textColor=S0(i.u32(8));break;case ct.EMR_SETBKCOLOR:s.state.bkColor=S0(i.u32(8));break;case ct.EMR_SAVEDC:s.stateStack.push(vp(s.state));break;case ct.EMR_RESTOREDC:{let f=i.i32(8);if(f<0){let c=Math.min(s.stateStack.length,Math.abs(f));for(let g=0;g<c-1;g+=1)s.stateStack.pop();let l=s.stateStack.pop();l&&(s.state=vp(l))}else if(f>0&&f<=s.stateStack.length){let c=s.stateStack[f-1];s.stateStack.length=f-1,c&&(s.state=vp(c))}break}case ct.EMR_SETWORLDTRANSFORM:s.state.worldTransform=D_(i,8);break;case ct.EMR_MODIFYWORLDTRANSFORM:{let f=D_(i,8),c=i.u32(32);c===hc.MWT_IDENTITY?s.state.worldTransform={...O_}:c===hc.MWT_SET?s.state.worldTransform=f:c===hc.MWT_LEFTMULTIPLY?s.state.worldTransform=N_(f,s.state.worldTransform):c===hc.MWT_RIGHTMULTIPLY&&(s.state.worldTransform=N_(s.state.worldTransform,f));break}case ct.EMR_MOVETOEX:s.state.currentPosition={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_LINETO:{let f={x:i.i32(8),y:i.i32(12)};Z_(s,s.state.currentPosition,f);break}case ct.EMR_POLYLINE:case ct.EMR_POLYGON:case ct.EMR_POLYLINE16:case ct.EMR_POLYGON16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINE16||o===ct.EMR_POLYGON16?4:8,g=Uu(i,c,f,l);Hu(s,g,o===ct.EMR_POLYGON||o===ct.EMR_POLYGON16);break}case ct.EMR_POLYBEZIER:case ct.EMR_POLYBEZIER16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIER16?4:8,g=Uu(i,c,f,l);z_(s,g,!1);break}case ct.EMR_POLYBEZIERTO:case ct.EMR_POLYBEZIERTO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIERTO16?4:8,g=Uu(i,c,f,l);z_(s,g,!0);break}case ct.EMR_POLYLINETO:case ct.EMR_POLYLINETO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINETO16?4:8,g=Uu(i,c,f,l);Hu(s,[{...s.state.currentPosition},...g],!1);break}case ct.EMR_POLYPOLYLINE:case ct.EMR_POLYPOLYGON:case ct.EMR_POLYPOLYLINE16:case ct.EMR_POLYPOLYGON16:{let f=i.u32(24),c=i.u32(28),l=32,g=o===ct.EMR_POLYPOLYLINE16||o===ct.EMR_POLYPOLYGON16?4:8,m=l+f*4,p=[];for(let M=0;M<f;M+=1)p.push(i.u32(l+M*4));let b=Uu(i,m,c,g),k=0;for(let M of p)Hu(s,b.slice(k,k+M),o===ct.EMR_POLYPOLYGON||o===ct.EMR_POLYPOLYGON16),k+=M;break}case ct.EMR_RECTANGLE:vc(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ELLIPSE:W_(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ROUNDRECT:vc(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)},{x:i.i32(24),y:i.i32(28)});break;case ct.EMR_BEGINPATH:s.capturePath=!0,s.pathData=[],s.pathPoints=[];break;case ct.EMR_ENDPATH:s.capturePath=!1;break;case ct.EMR_CLOSEFIGURE:sg(s);break;case ct.EMR_FILLPATH:_p(s,FL(s));break;case ct.EMR_STROKEANDFILLPATH:_p(s,Lc(s));break;case ct.EMR_STROKEPATH:_p(s,bc(s,s.state.pen));break;case ct.EMR_SELECTCLIPPATH:s.capturePath=!1,s.pathData=[],s.pathPoints=[];break;case ct.EMR_CREATEPEN:{let f=i.u32(8),c=i.u32(12),l=i.i32(16),g=S0(i.u32(24));No(s.objects,f,{kind:"pen",value:bp(c,l,g)});break}case ct.EMR_CREATEBRUSHINDIRECT:{let f=i.u32(8),c=i.u32(12),l=S0(i.u32(16));No(s.objects,f,{kind:"brush",value:x_(c,l)});break}case ct.EMR_EXTCREATEPEN:{let f=i.u32(8),c=i.u32(28),l=i.i32(32),g=i.u32(36),m=g===1?"none":S0(i.u32(40));No(s.objects,f,{kind:"pen",value:g===1?{color:m,width:l,none:!0}:bp(c,l,m)});break}case ct.EMR_EXTCREATEFONTINDIRECTW:{let f=i.u32(8),c=Math.abs(i.i32(12)),l=i.i32(20),g=i.i32(28),m=!!i.u8(32),p=!!i.u8(33),b=!!i.u8(34),k=Y_(i.slice(40,64)).split("\0")[0]||"sans-serif";No(s.objects,f,{kind:"font",value:{family:k,size:c||12,weight:g,italic:m,underline:p,strike:b,escapement:l}});break}case ct.EMR_SELECTOBJECT:H_(s,i.u32(8));break;case ct.EMR_DELETEOBJECT:{let f=i.u32(8);f>=0&&f<s.objects.length&&(s.objects[f]=null);break}case ct.EMR_EXTTEXTOUTA:{let f=C_(i,!1);f&&pc(s,f.point,f.text);break}case ct.EMR_EXTTEXTOUTW:{let f=C_(i,!0);f&&pc(s,f.point,f.text);break}case ct.EMR_SMALLTEXTOUT:{let f=ag(i);f&&pc(s,f.point,f.text);break}case ct.EMR_STRETCHDIBITS:ng(s,i);break;case ct.EMR_BITBLT:case ct.EMR_STRETCHBLT:case ct.EMR_ALPHABLEND:ig(s,i);break;default:break}n+=d}return _c(s,"image/emf")}function A_(e,r){return r.length?/image\/emf/i.test(e)?og(r):/image\/wmf/i.test(e)?rg(r):null:null}var fg=(e,r,t)=>Math.min(t,Math.max(r,e)),T0=e=>Math.abs(e)<1e-12?0:e,Mp=e=>String(Math.round(T0(e)*1e6)/1e6),K_=(e,r,t=25e3)=>{let a=Math.max(0,e),s=Math.max(0,r),n=Math.min(a,s);if(!n)return[{x:0,y:s},{x:0,y:0},{x:a,y:0},{x:a,y:s}];let i=5e4*a/n,o=fg(Number.isFinite(t)?t:25e3,0,i),d=n*o/1e5;return[{x:0,y:s},{x:d,y:0},{x:a-d,y:0},{x:a,y:s}]},J_=e=>e.map(({x:r,y:t})=>`${Mp(r)} ${Mp(t)}`).join(","),lg=({width:e,height:r,rotation:t=0,flipH:a=!1,flipV:s=!1})=>{let n=t*Math.PI/180,i=T0(Math.cos(n)),o=T0(Math.sin(n)),d=a?-1:1,f=s?-1:1,c=T0(d*i),l=T0(-f*o),g=T0(d*o),m=T0(f*i),p=e/2,b=r/2;return{a:c,b:l,c:g,d:m,e:T0(p-c*p-g*b),f:T0(b-l*p-m*b)}},Q_=e=>{let r=lg(e);return r.a===1&&r.b===0&&r.c===0&&r.d===1&&r.e===0&&r.f===0?"":`matrix(${[r.a,r.b,r.c,r.d,r.e,r.f].map(Mp).join(" ")})`};var Wu=e=>e*96/914400;var gc=Object.freeze({top:Wu(45720),right:Wu(91440),bottom:Wu(45720),left:Wu(91440)}),kc=(e,r)=>{if(e==null||e==="")return r;let t=Number(e);return Number.isFinite(t)?Wu(t):r},F_=(e={})=>({top:kc(e.marT,gc.top),right:kc(e.marR,gc.right),bottom:kc(e.marB,gc.bottom),left:kc(e.marL,gc.left)}),q_=(e=[])=>{if(e.length===0)return;let r=0;for(let t of e){let a=Number(t);if(!Number.isFinite(a)||a<=0)return;r+=a}return r>0?r:void 0},ug=e=>{if(!Number.isFinite(e))return 0;let r=e%360;return r<0?r+360:r},cg=e=>{switch(e){case"vert270":return 270;case"vert":case"eaVert":case"mongolianVert":case"wordArtVert":case"wordArtVertRtl":return 90;default:return 0}},V_=({shapeRotation:e=0,textTransformRotation:r,bodyRotation:t=0,direction:a="horz",upright:s=!1})=>{let n=r!=null?r:s?0:e;return ug(n+t+cg(a))};var Ep=zp.default.default||zp.default,Hp={MsgQueue:[],isDone:!1},j0={MsgQueue:[]},dg="",l5=!1,u5=null,c5=1,Pp=0,Au,d5=["he-IL","ar-AE","ar-SA","dv-MV","fa-IR","ur-PK"],h5=96,hg=914400,pg=72,w=h5/hg,Co=h5/pg,Mr=e=>e==null?[]:Array.isArray(e)?e:[e],Et=(e,r=0)=>{let t=typeof e=="number"?e:parseFloat(e);return Number.isFinite(t)?t:r},vg=16,Sp={cx:9144e3,cy:6858e3},mg="http://schemas.openxmlformats.org/officeDocument/2006/relationships/",_g="http://schemas.microsoft.com/office/2007/relationships/";function bg(e){return e==="line"||e==="straightConnector1"||/^bentConnector[2-5]$/.test(e||"")||/^curvedConnector[2-5]$/.test(e||"")}function Lg(e,r){let t=Object.assign({},r);return Mr(L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"])).forEach(function(s){let n=s&&s.attrs;if(!n||!Object.prototype.hasOwnProperty.call(t,n.name))return;let i=/^val\s+(-?(?:\d+(?:\.\d*)?|\.\d+))$/.exec(String(n.fmla||"").trim());if(!i)return;let o=Number(i[1]);Number.isFinite(o)&&(t[n.name]=o)}),t}function Mc(e){let r=[];return e.forEach(function(t){let a=r[r.length-1];(!a||a[0]!==t[0]||a[1]!==t[1])&&r.push(t)}),r.length===1&&e.length>1&&r.push(r[0]),r}function Ip(e,r,t,a){let s=Et(t,0),n=Et(a,0),i=Lg(r,{adj1:5e4,adj2:5e4,adj3:5e4}),o=s*i.adj1/1e5,d=n*i.adj2/1e5,f=s*i.adj3/1e5;switch(e){case"bentConnector2":return Mc([[0,0],[s,0],[s,n]]);case"bentConnector3":return Mc([[0,0],[o,0],[o,n],[s,n]]);case"bentConnector4":return Mc([[0,0],[o,0],[o,d],[s,d],[s,n]]);case"bentConnector5":return Mc([[0,0],[o,0],[o,d],[f,d],[f,n],[s,n]]);default:return[]}}function Ec(e,r,t){var a="";return r!==void 0&&(r.type==="triangle"||r.type==="arrow")&&(a+="marker-start='url(#markerTriangle_"+e+")' "),t!==void 0&&(t.type==="triangle"||t.type==="arrow")&&(a+="marker-end='url(#markerTriangle_"+e+")' "),a}function gg(e,r,t){return bg(e)?" min-width:1px; min-height:1px; overflow:visible; transform-origin:"+Et(r,0)/2+"px "+Et(t,0)/2+"px;":""}function yc(e){let r=[];return String(e||"").split("/").forEach(function(t){if(!(t===""||t===".")){if(t===".."){r.pop();return}r.push(t)}}),r.join("/")}function Cp(e){let r=yc(e),t=r.lastIndexOf("/");return t===-1?"":r.slice(0,t)}function Ef(e,r){return r?/^[a-z][a-z0-9+.-]*:/i.test(r)||r.charAt(0)==="#"?r:r.charAt(0)==="/"?yc(r.slice(1)):yc((Cp(e)?Cp(e)+"/":"")+r):""}function kf(e){let r=Cp(e),t=yc(e).split("/").pop();return(r?r+"/_rels/":"_rels/")+t+".rels"}function Mf(e){return Mr(L(e,["Relationships","Relationship"]))}function Ku(e){return String(e||"").replace(mg,"").replace(_g,"")}function $u(e,r,t){let a=r&&r.attrs?r.attrs:{};a.Id&&(e[a.Id]={type:Ku(a.Type),target:Ef(t,a.Target),external:a.TargetMode==="External"})}function j_(){return{idTable:{},idxTable:{},typeTable:{}}}function e5(e){if(!e)return j_();try{return Mg(e)}catch(r){return console.warn("Unable to index PPTX layout/master nodes",r),j_()}}async function kg(e,r){try{let t=await Kr(e,"ppt/presentation.xml"),a=await Kr(e,kf("ppt/presentation.xml")),s={};Mf(a).forEach(function(d){let f=d&&d.attrs?d.attrs:{};f.Id&&Ku(f.Type)==="slide"&&(s[f.Id]=Ef("ppt/presentation.xml",f.Target))});let i=Mr(L(t,["p:presentation","p:sldIdLst","p:sldId"])).map(function(d){return s[L(d,["attrs","r:id"])]}).filter(function(d){return d&&r.indexOf(d)!==-1});if(!i.length)return r;let o=new Set(i);return i.concat(r.filter(function(d){return!o.has(d)}))}catch(t){return console.warn("Unable to resolve PPTX slide order",t),r}}var t5=0,r5=0,Op=!0,Ea=Object.create(null),xp={},Rc={};console.log(Rc);var Fu={set processFullTheme(e){Op=e},set settings(e){Rc=e},set tableStyles(e){xp=e},set IE11(e){l5=e}};async function Kr(e,r,t=!1){try{let a=await e.file(r).async("text");t&&Au<=12&&(a=a.replace(/<!\[CDATA\[(.*?)\]\]>/g,"$1"));let s=xm(a,{simplify:!0,keepWhitespace:!0});return s["?xml"]&&delete s["?xml"],s}catch{return null}}async function p5(e){let r=await Kr(e,"[Content_Types].xml"),t=Mr(L(r,["Types","Override"])),a=[],s=[];for(let n of t){let i=n.attrs||{},o=String(i.PartName||"").replace(/^\/+/,"");switch(i.ContentType){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":a.push(o);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":s.push(o);break;default:}}return{slides:await kg(e,a),slideLayouts:s}}async function v5(e){let r=await Kr(e,"docProps/app.xml");Au=parseInt(L(r,["Properties","AppVersion"])),Number.isFinite(Au)||(Au=vg),console.log("create by Office PowerPoint app verssion: ",Au);let t=await Kr(e,"ppt/presentation.xml"),a=L(t,["p:presentation","p:sldSz","attrs"])||Sp,s=Et(a.cx,Sp.cx),n=Et(a.cy,Sp.cy),i=a.type;console.log("Presentation size type: ",i),u5=L(t,["p:presentation","p:defaultTextStyle"])||{},c5=hm(L(t,["p:presentation","attrs","firstSlideNum"]));let o=Rc.incSlide||{};return t5=s*w+Et(o.width,0)|0,r5=n*w+Et(o.height,0)|0,{width:t5,height:r5}}async function m5(e,r,t,a){self.postMessage({type:"INFO",data:"Processing slide"+(t+1)});let s=kf(r),n=await Kr(e,s),i="",o="",d={};for(let u of Mf(n)){let h=u.attrs||{},De=Ku(h.Type);De==="slideLayout"?i=Ef(r,h.Target):De==="diagramDrawing"&&(o=Ef(r,h.Target)),$u(d,u,r)}let f=i?await Kr(e,i):null,c=e5(f),l=L(f,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping"]);l!==void 0&&(dg=l.attrs);let g=i?kf(i):"",m=g?await Kr(e,g):null,p="",b={};for(let u of Mf(m)){let h=u.attrs||{};Ku(h.Type)==="slideMaster"?p=Ef(i,h.Target):$u(b,u,i)}let k=p?await Kr(e,p):null,M=L(k,["p:sldMaster","p:txStyles"]),v=e5(k),_=p?kf(p):"",y=_?await Kr(e,_):null,I="",C={};for(let u of Mf(y)){let h=u.attrs||{};Ku(h.Type)==="theme"?I=Ef(p,h.Target):$u(C,u,p)}var R={},B=null;if(I){var Y=kf(I);B=await Kr(e,I);var T=await Kr(e,Y);for(let u of Mf(T))$u(R,u,I)}var O={},P={};if(o){var J=kf(o);if(P=await Kr(e,o),P!=null&&P!=""){var re=JSON.stringify(P);re=re.replace(/dsp:/g,"p:"),P=JSON.parse(re)}var Q=await Kr(e,J);if(Q!==null)for(let u of Mf(Q))$u(O,u,o)}var ae=await Kr(e,r,!0),A=L(ae,["p:sld","p:cSld","p:spTree"])||{},V={zip:e,slideLayoutContent:f,slideLayoutTables:c,slideMasterContent:k,slideMasterTables:v,slideContent:ae,slideResObj:d,slideMasterTextStyles:M,layoutResObj:b,masterResObj:C,themeContent:B,themeResObj:R,digramFileContent:P,diagramResObj:O,defaultTextStyle:u5,slideIndex:t,slideNumber:t+1,displaySlideNumber:c5+t},H="";Op===!0&&(H=await ik(V,a,t));var X="";Op=="colorsAndImageOnly"&&(X=await P5(V,t)||"");var ge="<div class='slide' data-office-part='"+Ii(r)+"' style='width:"+a.width+"px; height:"+a.height+"px;"+X+"'>";ge+=H;for(let u in A)if(A[u].constructor===Array)for(var me=0;me<A[u].length;me++)ge+=await V0(u,A[u][me],A,V,"slide");else ge+=await V0(u,A[u],A,V,"slide");return ge+"</div>"}function Mg(e){let r=Object.keys(e),t=e[r[0]]["p:cSld"]["p:spTree"],a={},s={},n={},i,o,d,f;for(let c in t){if(c==="p:nvGrpSpPr"||c==="p:grpSpPr")continue;let l=t[c];if(l.constructor===Array)for(let g=0;g<l.length;g++)f=l[g]["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l[g]),o!==void 0&&(s[o]=l[g]),i!==void 0&&(n[i]=l[g]);else f=l["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l),o!==void 0&&(s[o]=l),i!==void 0&&(n[i]=l)}return{idTable:a,idxTable:s,typeTable:n}}async function V0(e,r,t,a,s,n,i){var o="";if(Pg(r))return o;switch(e){case"p:sp":o=await L5(r,t,a,s,n,i);break;case"p:cxnSp":o=await Dg(r,t,a,s,n,i);break;case"p:pic":o=await Og(r,a,s,n,i);break;case"p:graphicFrame":o=await xg(r,a,s,n,i);break;case"p:grpSp":o=await Gp(r,a,s,i);break;case"mc:AlternateContent":var d=L(r,["mc:Fallback"]);o=await Gp(d,a,s,i);break;default:}return o}function Zp(e,r=0){var t=parseInt(e);return Number.isFinite(t)?t*w:r}function y0(e,r=0){var t=parseFloat(e);return Number.isFinite(t)?t:r}function Sf(e,r,t){var a=y0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Zp(a);var s=r==="y"?t.childOffsetY:t.childOffsetX,n=r==="y"?t.scaleY:t.scaleX;return(a-s)*n}function Ma(e,r,t){var a=y0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Zp(a);var s=r==="y"?t.scaleY:t.scaleX;return a*s}function a5(e,r,t,a){var s=y0(e,NaN);if(!Number.isFinite(s))return a;if(t===void 0)return Zp(s);var n=r==="y"?t.scaleY:t.scaleX;return s*n}function If(e){return e===!0||e==="1"||e==="true"}function Eg(e){return L(e,["p:nvSpPr","p:cNvPr","attrs"])||L(e,["p:nvPicPr","p:cNvPr","attrs"])||L(e,["p:nvGrpSpPr","p:cNvPr","attrs"])||L(e,["p:nvCxnSpPr","p:cNvPr","attrs"])||L(e,["p:nvGraphicFramePr","p:cNvPr","attrs"])||{}}function Pg(e){var r=Eg(e);return If(r.hidden)}function Sg(e,r){var t=L(e,["a:off","attrs"])||{},a=L(e,["a:ext","attrs"])||{},s=L(e,["a:chOff","attrs"])||{},n=L(e,["a:chExt","attrs"])||{},i=Ma(a.cx,"x",r),o=Ma(a.cy,"y",r),d=y0(n.cx,NaN),f=y0(n.cy,NaN);return(!Number.isFinite(d)||d===0)&&(d=y0(a.cx,i||1)),(!Number.isFinite(f)||f===0)&&(f=y0(a.cy,o||1)),{x:Sf(t.x,"x",r),y:Sf(t.y,"y",r),width:i,height:o,childOffsetX:y0(s.x,0),childOffsetY:y0(s.y,0),childWidth:d,childHeight:f,scaleX:d?i/d:1,scaleY:f?o/f:1,rotate:Oo(L(e,["attrs","rot"])),flipH:If(L(e,["attrs","flipH"])),flipV:If(L(e,["attrs","flipV"]))}}function Ig(e){if(e===void 0)return"";var r=[];return e.rotate&&r.push("rotate("+e.rotate+"deg)"),(e.flipH||e.flipV)&&r.push("scale("+(e.flipH?-1:1)+","+(e.flipV?-1:1)+")"),r.length?"transform:"+r.join(" ")+";transform-origin:center;":""}function Za(e){return Math.round(e*1e3)/1e3}function Tg(e,r){try{var t=e instanceof Uint8Array?e:new Uint8Array(e),a=A_(r,t);return!a||!a.dataUrl?void 0:a.dataUrl}catch(s){console.warn("Unable to convert metafile image",s);return}}function yg(e){return e instanceof Uint8ClampedArray?e:e instanceof Uint8Array?new Uint8ClampedArray(e.buffer,e.byteOffset,e.byteLength):new Uint8ClampedArray(e)}async function wg(e){if(typeof e.convertToBlob=="function"){var r=await e.convertToBlob({type:"image/png"}),t=await r.arrayBuffer();return"data:image/png;base64,"+$p(t)}if(typeof e.toDataURL=="function")return e.toDataURL("image/png")}async function Rg(e){try{var r=Ep.decode(e);if(!r||!r.length)return;Ep.decodeImage(e,r[0]);var t=r[0].width,a=r[0].height;if(!t||!a)return;var s=yg(Ep.toRGBA8(r[0])),n=new ImageData(s,t,a),i;if(typeof OffscreenCanvas!="undefined")i=new OffscreenCanvas(t,a);else if(typeof document!="undefined"&&document.createElement)i=document.createElement("canvas"),i.width=t,i.height=a;else return;var o=i.getContext("2d");return o?(o.putImageData(n,0,0),await wg(i)):void 0}catch(d){console.warn("Unable to convert TIFF image",d);return}}async function _5(e,r){var t=(e||"").toLowerCase();if(t=="tif"||t=="tiff")return await Rg(r);if(t=="emf"||t=="wmf")return Tg(r,t=="wmf"?"image/wmf":"image/emf");(t=="jpg"||t=="jpeg")&&(r=R_(r).bytes);var a=wc(t);if(a)return"data:"+a+";base64,"+$p(r)}function b5(e){var r=L(e,["a:srcRect","attrs"]);if(r===void 0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var t=parseInt(r.l||0)/1e3,a=parseInt(r.t||0)/1e3,s=parseInt(r.r||0)/1e3,n=parseInt(r.b||0)/1e3,i=100-t-s,o=100-a-n;if(i<=0||o<=0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var d=1e4/i,f=1e4/o,c=-t/i*100,l=-a/o*100;return{container:"overflow:hidden;",image:"position:absolute;max-width:none;max-height:none;width:"+d+"%;height:"+f+"%;left:"+c+"%;top:"+l+"%;",svg:{x:c,y:l,width:d,height:f}}}function Bg(e){var r=L(e,["p:spPr","a:prstGeom","attrs","prst"]);return r==="ellipse"?"border-radius:50%;":r==="roundRect"?"border-radius:8px;":""}async function Gp(e,r,t,a){var s=L(e,["p:grpSpPr","a:xfrm"]),n=s!==void 0?Sg(s,a):void 0,i=L(e,["attrs","order"]),o=i!==void 0?"z-index: "+i+";":"";s!==void 0&&(o+=Xi(s,e,void 0,void 0,"group",a),o+=Ai(s,void 0,void 0,a),o+=Ig(n));var d="<div class='block group' style='"+o+"'>";n!==void 0&&(d+="<div class='group-content' style='position:absolute;top:0;left:0;width:100%;height:100%;'>");for(var f in e)if(e[f].constructor===Array)for(var c=0;c<e[f].length;c++)d+=await V0(f,e[f][c],e,r,t,"group",n);else d+=await V0(f,e[f],e,r,t,"group",n);return n!==void 0&&(d+="</div>"),d+="</div>",d}async function L5(e,r,t,a,s,n){var i=L(e,["p:nvSpPr","p:cNvPr","attrs","id"]),o=L(e,["p:nvSpPr","p:cNvPr","attrs","name"]),d=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),f=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),c=L(e,["attrs","order"]),l;if(a=="slideLayoutBg"||a=="slideMasterBg"){var g=L(e,["p:nvSpPr","p:nvPr","attrs","userDrawn"]);g=="1"?l=!0:l=!1}var m=void 0,p=void 0;return d!==void 0?(m=t.slideLayoutTables.idxTable[d],f!==void 0?p=t.slideMasterTables.typeTable[f]:p=t.slideMasterTables.idxTable[d]):f!==void 0&&(m=t.slideLayoutTables.typeTable[f],p=t.slideMasterTables.typeTable[f]),f===void 0&&L(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])=="1"&&(f="textBox"),f===void 0&&(f=L(m,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),f===void 0&&(a=="diagramBg"?f="diagram":f="obj")),g5(e,r,m,p,i,o,d,f,c,t,l,s,a,n)}async function Dg(e,r,t,a,s,n){var i=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.id,o=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,d=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.idx,f=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,c=e.attrs.order;return g5(e,r,void 0,void 0,i,o,d,f,c,t,void 0,s,a,n)}async function g5(e,r,t,a,s,n,i,o,d,f,c,l,g,m){var p=["p:spPr","a:xfrm"],b=L(e,p),k=L(t,p),M=L(a,p),v="",_=L(e,["attrs","order"]),y=L(e,["p:spPr","a:prstGeom","attrs","prst"]),I=L(e,["p:spPr","a:custGeom"]),C=!1,R=!1,B="";L(b,["attrs","flipV"])==="1"&&(C=!0),L(b,["attrs","flipH"])==="1"&&(R=!0),R&&!C?B=" scale(-1,1)":!R&&C?B=" scale(1,-1)":R&&C&&(B=" scale(-1,-1)");var Y=Oo(L(b,["attrs","rot"])),T=L(e,["p:txBody","a:bodyPr","attrs"])||{},O=Oo(T.rot),P,J=L(e,["p:txXfrm"]);if(J!==void 0){var re=L(J,["attrs","rot"]);re!==void 0&&(P=Oo(re))}var Q=V_({shapeRotation:Y,textTransformRotation:P,bodyRotation:O,direction:T.vert,upright:If(T.upright)});let ae=Th(J,b),A=X1(e["p:txBody"],t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),V="box-sizing:border-box;padding:"+Ma(A.top,"y",m)+"px "+Ma(A.right,"x",m)+"px "+Ma(A.bottom,"y",m)+"px "+Ma(A.left,"x",m)+"px;";if(y!==void 0||I!==void 0){var H=L(b,["a:off","attrs"])||{x:0,y:0},X=Sf(H.x,"x",m),ge=Sf(H.y,"y",m),me=L(b,["a:ext","attrs"])||{cx:0,cy:0},u=Ma(me.cx,"x",m),h=Ma(me.cy,"y",m);Number.isFinite(X)||(X=0),Number.isFinite(ge)||(ge=0),Number.isFinite(u)||(u=0),Number.isFinite(h)||(h=0);var De="_svg_css_"+(Object.keys(Ea).length+1)+"_"+Math.floor(Math.random()*1001),Ue=De+"_effects";v+="<svg class='drawing "+De+" "+Ue+" ' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"'' style='"+Xi(b,r,void 0,void 0,l,m)+Ai(b,void 0,void 0,m)+gg(y,u,h)+" z-index: "+d+";transform: rotate("+(Y!==void 0?Y:0)+"deg)"+B+";'>",v+="<defs>";var ee=await Qu(e,r,!0,f,g),fe=!1,oe=!1,kt=un(L(e,["p:spPr"])),dt=kt,S;if(dt=="GROUP_FILL"&&(dt=un(L(r,["p:grpSpPr"])),dt=="PIC_FILL"&&(S=L(r,["p:grpSpPr","a:blipFill"]))),dt=="GRADIENT_FILL"){fe=!0;var Ee=ee.color,pe=ee.rot+90,W=kk(u,h,pe,Ee,_);v+=W}else if(dt=="PIC_FILL"){oe=!0;var N=S||L(e,["p:spPr","a:blipFill"]),j=kt=="GROUP_FILL"&&m!==void 0?{x:X,y:ge,width:m.width,height:m.height,shapeTransform:{width:u,height:h,rotation:Y||0,flipH:R,flipV:C}}:void 0,be=await Pk(N,ee,_,f,j);v+=be}else if(dt=="PATTERN_FILL"){var Le=ee;Object.prototype.hasOwnProperty.call(Ea,Le)&&(Le+="do-nothing: "+De+";"),Ea[Le]={name:De,text:Le},ee="none"}else dt!="SOLID_FILL"&&dt!="PATTERN_FILL"&&(y=="arc"||y=="bracketPair"||y=="bracePair"||y=="leftBracket"||y=="leftBrace"||y=="rightBrace"||y=="rightBracket")&&(ee="none");var E=Si(e,r,!0,"shape",f),Be=L(e,["p:spPr","a:ln","a:headEnd","attrs"]),We=L(e,["p:spPr","a:ln","a:tailEnd","attrs"]),Ce=L(e,["p:spPr","a:effectLst","a:outerShdw"]),ht="";if(Ce!==void 0){var Yt=gt(Ce,void 0,void 0,f),wt=Ce.attrs,Wr=wt.dir?parseInt(wt.dir)/6e4:0,En=parseInt(wt.dist)*w,Ua=wt.blurRad?parseInt(wt.blurRad)*w:"",xn=En*Math.sin(Wr*Math.PI/180),xr=En*Math.cos(Wr*Math.PI/180),Ki="filter:drop-shadow("+xr+"px "+xn+"px "+Ua+"px #"+Yt+");";Object.prototype.hasOwnProperty.call(Ea,Ki)&&(Ki+="do-nothing: "+De+";"),Ea[Ki]={name:Ue,text:Ki}}if(Be!==void 0&&(Be.type==="triangle"||Be.type==="arrow")||We!==void 0&&(We.type==="triangle"||We.type==="arrow")){var Tf="<marker id='markerTriangle_"+_+"' viewBox='0 0 10 10' refX='10' refY='5' markerWidth='5' markerHeight='5' stroke='"+E.color+"' fill='"+E.color+"' orient='auto-start-reverse' markerUnits='strokeWidth'><path d='M 0 0 L 10 5 L 0 10 z' /></marker>";v+=Tf}v+="</defs>"}if(y!==void 0&&I===void 0){switch(y){case"rect":case"flowChartProcess":case"flowChartPredefinedProcess":case"flowChartInternalStorage":case"actionButtonBlank":v+="<rect x='0' y='0' width='"+u+"' height='"+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+ht+" />",y=="flowChartPredefinedProcess"?v+="<rect x='"+u*(1/8)+"' y='0' width='"+u*(6/8)+"' height='"+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />":y=="flowChartInternalStorage"&&(v+=" <polyline points='"+u*(1/8)+" 0,"+u*(1/8)+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='0 "+h*(1/8)+","+u+" "+h*(1/8)+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"flowChartCollate":var Oe="M 0,0 L"+u+",0 L0,"+h+" L"+u+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDocument":var G,K,ne,D;D=u*10800/21600,G=h*17322/21600,K=h*20172/21600,ne=h*23922/21600;var Oe="M0,0 L"+u+",0 L"+u+","+G+" C"+D+","+G+" "+D+","+ne+" 0,"+K+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMultidocument":var G,K,ne,de,Ye,st,Bt,vr,Ha,D,q,se,_e,He,qe,mt;G=h*18022/21600,K=h*3675/21600,ne=h*23542/21600,de=h*1815/21600,Ye=h*16252/21600,st=h*16352/21600,Bt=h*14392/21600,vr=h*20782/21600,Ha=h*14467/21600,D=u*1532/21600,q=u*2e4/21600,se=u*9298/21600,_e=u*19298/21600,He=u*18595/21600,qe=u*2972/21600,mt=u*20800/21600;var Oe="M0,"+K+" L"+He+","+K+" L"+He+","+G+" C"+se+","+G+" "+se+","+ne+" 0,"+vr+" zM"+D+","+K+" L"+D+","+de+" L"+q+","+de+" L"+q+","+Ye+" C"+_e+","+Ye+" "+He+","+st+" "+He+","+st+"M"+qe+","+de+" L"+qe+",0 L"+u+",0 L"+u+","+Bt+" C"+mt+","+Bt+" "+q+","+Ha+" "+q+","+Ha;v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBackPrevious":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+Z+" L"+Ct+","+tt+" L"+Ct+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBeginning":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/8,Jt=$e/4,ar=Fe+$t,Qt=Fe+Jt;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Qt+","+Z+" L"+Ct+","+tt+" L"+Ct+","+Gt+" zM"+ar+","+tt+" L"+Fe+","+tt+" L"+Fe+","+Gt+" L"+ar+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonDocument":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Ge,Fe,Ct,$e,$t,Jt;he=Ie*3/8,tt=Z-he,Gt=Z+he,Ge=Ie*9/32,Fe=x-Ge,Ct=x+Ge,$e=Ie*3/16,$t=Ct-$e,Jt=tt+$e;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+tt+" L"+$t+","+tt+" L"+Ct+","+Jt+" L"+Ct+","+Gt+" L"+Fe+","+Gt+" zM"+$t+","+tt+" L"+$t+","+Jt+" L"+Ct+","+Jt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonEnd":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*3/4,Jt=$e*7/8,ar=Fe+$t,Qt=Fe+Jt;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Qt+","+tt+" L"+Ct+","+tt+" L"+Ct+","+Gt+" L"+Qt+","+Gt+" z M"+ar+","+Z+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonForwardNext":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+Z+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHelp":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Jt,ar,Qr,wr,Rr,sa,Ir,Jr,Pa,Sa,Ia,tn,w0,Gn,B0,Ti;he=Ie*3/8,tt=Z-he,Fe=x-he,$e=Ie*3/4,$t=$e/7,Jt=$e*3/14,ar=$e*2/7,Qr=$e*3/7,wr=$e*4/7,Rr=$e*17/28,sa=$e*21/28,Ir=$e*11/14,Jr=tt+ar,Pa=tt+Rr,Sa=tt+sa,Ia=tt+Ir,tn=Fe+Jt,w0=Fe+Qr,Gn=Fe+wr,B0=$e/14,Ti=$e*3/28;var An=tn+ar,x0=w0+$t,k1=Ia+Ti,Gf=(Gn+w0+ar)/2,Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+tn+","+Jr+ve(An,Jr,ar,ar,180,360,!1).replace("M","L")+ve(Gf,Jr,$t,Jt,0,90,!1).replace("M","L")+ve(Gf,Pa,B0,Ti,270,180,!1).replace("M","L")+" L"+Gn+","+Sa+" L"+w0+","+Sa+" L"+w0+","+Pa+ve(x0,Pa,$t,Jt,180,270,!1).replace("M","L")+ve(Gn,Jr,B0,Ti,90,0,!1).replace("M","L")+ve(An,Jr,$t,$t,0,-180,!1).replace("M","L")+" zM"+x+","+Ia+ve(x,k1,Ti,Ti,270,630,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHome":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/16,Jt=$e/8,ar=$e*3/16,Qt=$e*5/16,qr=$e*7/16,Qr=$e*9/16,wr=$e*11/16,Rr=$e*3/4,ua=$e*13/16,sa=$e*7/8,Ir=tt+$t,Gr=tt+ar,ca=tt+Qt,Jr=tt+Rr,ia=Fe+Jt,Pa=Fe+qr,Sa=Fe+Qr,Ia=Fe+wr,Wa=Fe+ua,tn=Fe+sa;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+x+","+tt+" L"+Fe+","+Z+" L"+ia+","+Z+" L"+ia+","+Gt+" L"+tn+","+Gt+" L"+tn+","+Z+" L"+Ct+","+Z+" L"+Wa+","+ca+" L"+Wa+","+Ir+" L"+Ia+","+Ir+" L"+Ia+","+Gr+" z M"+Pa+","+Jr+" L"+Sa+","+Jr+" L"+Sa+","+Gt+" L"+Pa+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonInformation":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Qt,qr,Qr,wr,ua,sa,Ir,Gr,ia,Pa,Sa,Ia,Wa,Pn,rn,Gn,R0;he=Ie*3/8,tt=Z-he,Fe=x-he,$e=Ie*3/4,$t=$e/32,Qt=$e*5/16,qr=$e*3/8,Qr=$e*13/32,wr=$e*19/32,ua=$e*11/16,sa=$e*13/16,Ir=$e*7/8,Gr=tt+$t,ia=tt+Qt,Pa=tt+qr,Sa=tt+sa,Ia=tt+Ir,Wa=Fe+Qt,Pn=Fe+Qr,rn=Fe+wr,Gn=Fe+ua,R0=$e*3/32;var t0=tt+he,O0=Gr+R0,Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+x+","+tt+ve(x,t0,he,he,270,630,!1).replace("M","L")+" zM"+x+","+Gr+ve(x,O0,R0,R0,270,630,!1).replace("M","L")+"M"+Wa+","+ia+" L"+rn+","+ia+" L"+rn+","+Sa+" L"+Gn+","+Sa+" L"+Gn+","+Ia+" L"+Wa+","+Ia+" L"+Wa+","+Sa+" L"+Pn+","+Sa+" L"+Pn+","+Pa+" L"+Wa+","+Pa+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonMovie":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn,Pn,rn,w0,Gn,R0,Bc,Dc,B0,Ti,Nc,zc,Cc,Oc,xc,B5;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*1455/21600,Jt=$e*1905/21600,ar=$e*2325/21600,Qt=$e*16155/21600,qr=$e*17010/21600,Qr=$e*19335/21600,wr=$e*19725/21600,Rr=$e*20595/21600,ua=$e*5280/21600,sa=$e*5730/21600,Ir=$e*6630/21600,Gr=$e*7492/21600,ca=$e*9067/21600,Jr=$e*9555/21600,ia=$e*13342/21600,Pa=$e*14580/21600,Sa=$e*15592/21600,Ia=Fe+$t,Wa=Fe+Jt,tn=Fe+ar,Pn=Fe+Qt,rn=Fe+qr,w0=Fe+Qr,Gn=Fe+wr,R0=Fe+Rr,Bc=tt+ua,Dc=tt+sa,B0=tt+Ir,Ti=tt+Gr,Nc=tt+ca,zc=tt+Jr,Cc=tt+ia,Oc=tt+Pa,xc=tt+Sa,B5=tt+Ia;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 zM"+Fe+","+Bc+" L"+Fe+","+zc+" L"+Ia+","+zc+" L"+Wa+","+Nc+" L"+tn+","+Nc+" L"+tn+","+xc+" L"+rn+","+xc+" L"+rn+","+Cc+" L"+w0+","+Cc+" L"+R0+","+Oc+" L"+Ct+","+Oc+" L"+Ct+","+B0+" L"+R0+","+B0+" L"+Gn+","+Ti+" L"+rn+","+Ti+" L"+rn+","+B0+" L"+Pn+","+Dc+" L"+Wa+","+Dc+" L"+Ia+","+Bc+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonReturn":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*7/8,Jt=$e*3/4,ar=$e*5/8,Qt=$e*3/8,qr=$e/4,Qr=tt+Jt,wr=tt+ar,Rr=tt+qr,ua=Fe+$t,sa=Fe+Jt,Ir=Fe+ar,Gr=Fe+Qt,ca=Fe+qr,Jr=$e/8;var An=Ir-Jr,O0=Qr-Jr,g1=Fe+Qt,M1=Gt-Qt,Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+Rr+" L"+sa+","+tt+" L"+x+","+Rr+" L"+Ir+","+Rr+" L"+Ir+","+wr+ve(An,wr,Jr,Jr,0,90,!1).replace("M","L")+" L"+Gr+","+Qr+ve(Gr,O0,Jr,Jr,90,180,!1).replace("M","L")+" L"+ca+","+Rr+" L"+Fe+","+Rr+" L"+Fe+","+wr+ve(g1,wr,Qt,Qt,180,90,!1).replace("M","L")+" L"+x+","+Gt+ve(x,M1,Qt,Qt,90,0,!1).replace("M","L")+" L"+ua+","+Rr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonSound":var x=u/2,Z=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca;he=Ie*3/8,tt=Z-he,Gt=Z+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/8,Jt=$e*5/16,ar=$e*5/8,Qt=$e*11/16,qr=$e*3/4,Qr=$e*7/8,wr=tt+$t,Rr=tt+Jt,ua=tt+Qt,sa=tt+Qr,Ir=Fe+Jt,Gr=Fe+ar,ca=Fe+qr;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+Fe+","+Rr+" L"+Ir+","+Rr+" L"+Gr+","+tt+" L"+Gr+","+Gt+" L"+Ir+","+ua+" L"+Fe+","+ua+" z M"+ca+","+Rr+" L"+Ct+","+wr+" M"+ca+","+Z+" L"+Ct+","+Z+" M"+ca+","+ua+" L"+Ct+","+sa;v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"irregularSeal1":case"irregularSeal2":if(y=="irregularSeal1")var Oe="M"+u*10800/21600+","+h*5800/21600+" L"+u*14522/21600+",0 L"+u*14155/21600+","+h*5325/21600+" L"+u*18380/21600+","+h*4457/21600+" L"+u*16702/21600+","+h*7315/21600+" L"+u*21097/21600+","+h*8137/21600+" L"+u*17607/21600+","+h*10475/21600+" L"+u+","+h*13290/21600+" L"+u*16837/21600+","+h*12942/21600+" L"+u*18145/21600+","+h*18095/21600+" L"+u*14020/21600+","+h*14457/21600+" L"+u*13247/21600+","+h*19737/21600+" L"+u*10532/21600+","+h*14935/21600+" L"+u*8485/21600+","+h+" L"+u*7715/21600+","+h*15627/21600+" L"+u*4762/21600+","+h*17617/21600+" L"+u*5667/21600+","+h*13937/21600+" L"+u*135/21600+","+h*14587/21600+" L"+u*3722/21600+","+h*11775/21600+" L0,"+h*8615/21600+" L"+u*4627/21600+","+h*7617/21600+" L"+u*370/21600+","+h*2295/21600+" L"+u*7312/21600+","+h*6320/21600+" L"+u*8352/21600+","+h*2295/21600+" z";else if(y=="irregularSeal2")var Oe="M"+u*11462/21600+","+h*4342/21600+" L"+u*14790/21600+",0 L"+u*14525/21600+","+h*5777/21600+" L"+u*18007/21600+","+h*3172/21600+" L"+u*16380/21600+","+h*6532/21600+" L"+u+","+h*6645/21600+" L"+u*16985/21600+","+h*9402/21600+" L"+u*18270/21600+","+h*11290/21600+" L"+u*16380/21600+","+h*12310/21600+" L"+u*18877/21600+","+h*15632/21600+" L"+u*14640/21600+","+h*14350/21600+" L"+u*14942/21600+","+h*17370/21600+" L"+u*12180/21600+","+h*15935/21600+" L"+u*11612/21600+","+h*18842/21600+" L"+u*9872/21600+","+h*17370/21600+" L"+u*8700/21600+","+h*19712/21600+" L"+u*7527/21600+","+h*18125/21600+" L"+u*4917/21600+","+h+" L"+u*4805/21600+","+h*18240/21600+" L"+u*1285/21600+","+h*17825/21600+" L"+u*3330/21600+","+h*15370/21600+" L0,"+h*12877/21600+" L"+u*3935/21600+","+h*11592/21600+" L"+u*1172/21600+","+h*8270/21600+" L"+u*5372/21600+","+h*7817/21600+" L"+u*4502/21600+","+h*3625/21600+" L"+u*8550/21600+","+h*6382/21600+" L"+u*9722/21600+","+h*1887/21600+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartTerminator":var D,q,G,bt=180,It=90,Rt=270;D=u*3475/21600,q=u*18125/21600,G=h*10800/21600;var Oe="M"+D+",0 L"+q+",0"+ve(q,h/2,D,G,Rt,Rt+bt,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,It+bt,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartPunchedTape":var D,D,G,K,bt=180;D=u*5/20,G=h*2/20,K=h*18/20;var Oe="M0,"+G+ve(D,G,D,G,bt,0,!1).replace("M","L")+ve(u*(3/4),G,D,G,bt,360,!1).replace("M","L")+" L"+u+","+K+ve(u*(3/4),K,D,G,0,-bt,!1).replace("M","L")+ve(D,K,D,G,0,bt,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartOnlineStorage":var D,G,Rt=270,It=90;D=u*1/6,G=h*3/6;var Oe="M"+D+",0 L"+u+",0"+ve(u,h/2,D,G,Rt,90,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,270,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDisplay":var D,q,G,Rt=270,bt=180;D=u*1/6,q=u*5/6,G=h*3/6;var Oe="M0,"+G+" L"+D+",0 L"+q+",0"+ve(u,h/2,D,G,Rt,Rt+bt,!1).replace("M","L")+" L"+D+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDelay":var Xe=u/2,xe=h/2,bt=180,Rt=270,It=90,Oe="M0,0 L"+Xe+",0"+ve(Xe,xe,Xe,xe,Rt,Rt+bt,!1).replace("M","L")+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMagneticTape":var Xe=u/2,xe=h/2,bt=180,Rt=270,It=90,br,Sn,Ap;br=xe*Math.sin(Math.PI/4),Sn=xe+br,Ap=Math.atan(h/u);var D5=Ap*180/Math.PI,Oe="M"+Xe+","+h+ve(Xe,xe,Xe,xe,It,bt,!1).replace("M","L")+ve(Xe,xe,Xe,xe,bt,Rt,!1).replace("M","L")+ve(Xe,xe,Xe,xe,Rt,360,!1).replace("M","L")+ve(Xe,xe,Xe,xe,0,D5,!1).replace("M","L")+" L"+u+","+Sn+" L"+u+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":if(v+="<ellipse cx='"+u/2+"' cy='"+h/2+"' rx='"+u/2+"' ry='"+h/2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartOr")v+=" <polyline points='"+u/2+" 0,"+u/2+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";else if(y=="flowChartSummingJunction"){var yr,br,Qi,qi,Fi,Sn,x=u/2,Z=h/2,Xe=u/2,xe=h/2,Kp=Math.PI/4;yr=Xe*Math.cos(Kp),br=xe*Math.sin(Kp),Qi=x-yr,qi=x+yr,Fi=Z-br,Sn=Z+br,v+=" <polyline points='"+Qi+" "+Fi+","+qi+" "+Sn+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='"+qi+" "+Fi+","+Qi+" "+Sn+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />"}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je,Te,et,D0,N0;if(z!==void 0&&z.constructor===Array)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}else if(z!==void 0&&z.constructor!==Array){var N5=L(z,["attrs","fmla"]);je=parseInt(N5.substr(4))/5e4,et=0}var H0="";switch(y){case"roundRect":case"flowChartAlternateProcess":D0="round",N0="cornrAll",je===void 0&&(je=.33334),et=0;break;case"round1Rect":D0="round",N0="cornr1",je===void 0&&(je=.33334),et=0;break;case"round2DiagRect":D0="round",N0="diag",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"round2SameRect":D0="round",N0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"snip1Rect":case"flowChartPunchedCard":D0="snip",N0="cornr1",je===void 0&&(je=.33334),et=0,y=="flowChartPunchedCard"&&(H0="transform='translate("+u+",0) scale(-1,1)'");break;case"snip2DiagRect":D0="snip",N0="diag",je===void 0&&(je=0),et===void 0&&(et=.33334);break;case"snip2SameRect":D0="snip",N0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break}var ze=Cg(u,h,je,et,D0,N0);v+="<path "+H0+" d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"snipRoundRect":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.33334,Te,et=.33334;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}var ze="M0,"+h+" L"+u+","+h+" L"+u+","+h/2*et+" L"+(u/2+u/2*(1-et))+",0 L"+u/2*je+",0 Q0,0 0,"+h/2*je+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector2":var zf=Ip(y,e,u,h);v+="<polyline points='"+zf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Ec(_,Be,We)+"/>";break;case"rtTriangle":v+=" <polygon points='0 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"triangle":case"flowChartExtract":case"flowChartMerge":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Jp=.5;ye!==void 0&&(Jp=parseInt(ye.substr(4))*w);var H0="";y=="flowChartMerge"&&(H0="transform='rotate(180 "+u/2+","+h/2+")'"),v+=" <polygon "+H0+" points='"+u*Jp+" 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diamond":case"flowChartDecision":case"flowChartSort":v+=" <polygon points='"+u/2+" 0,0 "+h/2+","+u/2+" "+h+","+u+" "+h/2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartSort"&&(v+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"trapezoid":var Qp=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Fp=25e3;Qp!==void 0&&(Fp=Et(String(Qp).replace(/^val\s+/,""),25e3));var z5=J_(K_(u,h,Fp));v+=" <polygon points='"+z5+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualOperation":v+=" <polygon points='0 0,"+u+" 0,"+u*4/5+" "+h+","+u/5+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualInput":v+=" <polygon points='0 "+h/5+","+u+" 0,"+u+" "+h+",0 "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"parallelogram":case"flowChartInputOutput":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Gc=.25,Uc;if(u>h?Uc=u/h:Uc=h/u,ye!==void 0){var C5=parseInt(ye.substr(4))/1e5;Gc=C5/Uc}v+=" <polygon points='"+Gc*u+" 0,0 "+h+","+(1-Gc)*u+" "+h+","+u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pentagon":v+=" <polygon points='"+.5*u+" 0,0 "+.375*h+","+.15*u+" "+h+","+.85*u+" "+h+","+u+" "+.375*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"hexagon":case"flowChartPreparation":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,Ji=115470*w,ie=5e4*w,ce=1e5*w,bs=60*Math.PI/180;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ft,Ne,cn,D,q,Re,G,K,Z=h/2,xe=h/2,Ie=Math.min(u,h);ft=ie*u/Ie,Ne=we<0?0:we>ft?ft:we,cn=xe*Ji/ce,D=Ie*Ne/ce,q=u-D,Re=cn*Math.sin(bs),G=Z-Re,K=Z+Re;var Oe="M0,"+Z+" L"+D+","+G+" L"+q+","+G+" L"+u+","+Z+" L"+q+","+K+" L"+D+","+K+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heptagon":v+=" <polygon points='"+.5*u+" 0,"+u/8+" "+h/4+",0 "+5/8*h+","+u/4+" "+h+","+3/4*u+" "+h+","+u+" "+5/8*h+","+7/8*u+" "+h/4+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"octagon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;v+=" <polygon points='"+F*u+" 0,0 "+F*h+",0 "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+u+" "+te*h+","+u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"decagon":v+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+h/2+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+h/2+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"dodecagon":v+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+3/8*h+",0 "+5/8*h+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+5/8*h+","+u+" "+3/8*h+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star4":var Ne,Qe,Ae,Xo,Ao,xt,Ot,Dt,Nt,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=19098*w,ie=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ie?ie:we,Qe=Xe*Ne/ie,Ae=xe*Ne/ie,Xo=Qe*Math.cos(.7853981634),Ao=Ae*Math.sin(.7853981634),xt=x-Xo,Ot=x+Xo,Dt=Z-Ao,Nt=Z+Ao,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+Dt+" L"+x+",0 L"+Ot+","+Dt+" L"+u+","+Z+" L"+Ot+","+Nt+" L"+x+","+h+" L"+xt+","+Nt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star5":var Ne,da,cn,za,Ge,he,Re,Ze,D,q,se,_e,G,K,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,Dt,Nt,lr,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=19098*w,Un=105146*w,Ji=110557*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,cn=xe*Ji/ie,za=Z*Ji/ie,Ge=da*Math.cos(.31415926536),he=da*Math.cos(5.3407075111),Re=cn*Math.sin(.31415926536),Ze=cn*Math.sin(5.3407075111),D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=za-Re,K=za-Ze,Qe=da*Ne/ft,Ae=cn*Ne/ft,or=Qe*Math.cos(5.9690260418),Kt=Qe*Math.cos(.94247779608),jt=Ae*Math.sin(.94247779608),dr=Ae*Math.sin(5.9690260418),xt=x-or,Ot=x-Kt,er=x+Kt,rr=x+or,Dt=za-jt,Nt=za-dr,lr=za+Ae,pa=za-Ae;var Oe="M"+D+","+G+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+_e+","+G+" L"+rr+","+Nt+" L"+se+","+K+" L"+x+","+lr+" L"+q+","+K+" L"+xt+","+Nt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star6":var Ne,da,Ge,D,q,K,Qe,Ae,Kt,xt,Ot,er,rr,jt,Dt,Nt,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,Vi=h/4,we=28868*w,Un=115470*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,Ge=da*Math.cos(.5235987756),D=x-Ge,q=x+Ge,K=Z+Vi,Qe=da*Ne/ft,Ae=xe*Ne/ft,Kt=Qe/2,xt=x-Qe,Ot=x-Kt,er=x+Kt,rr=x+Qe,jt=Ae*Math.sin(1.0471975512),Dt=Z-jt,Nt=Z+jt,pa=Z-Ae;var Oe="M"+D+","+Vi+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+q+","+Vi+" L"+rr+","+Z+" L"+q+","+K+" L"+er+","+Nt+" L"+x+","+h+" L"+Ot+","+Nt+" L"+D+","+K+" L"+xt+","+Z+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star7":var Ne,da,cn,za,Ge,he,Lt,Re,Ze,Xt,D,q,se,_e,He,qe,G,K,ne,Qe,Ae,or,Kt,ha,xt,Ot,er,rr,$r,Fr,jt,dr,Ta,Dt,Nt,lr,Er,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=34601*w,Un=102572*w,Ji=105210*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,cn=xe*Ji/ie,za=Z*Ji/ie,Ge=da*97493/1e5,he=da*78183/1e5,Lt=da*43388/1e5,Re=cn*62349/1e5,Ze=cn*22252/1e5,Xt=cn*90097/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x+Lt,He=x+he,qe=x+Ge,G=za-Re,K=za+Ze,ne=za+Xt,Qe=da*Ne/ft,Ae=cn*Ne/ft,or=Qe*97493/1e5,Kt=Qe*78183/1e5,ha=Qe*43388/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x+ha,$r=x+Kt,Fr=x+or,jt=Ae*90097/1e5,dr=Ae*22252/1e5,Ta=Ae*62349/1e5,Dt=za-jt,Nt=za-dr,lr=za+Ta,Er=za+Ae,pa=za-Ae;var Oe="M"+D+","+K+" L"+xt+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+He+","+G+" L"+Fr+","+Nt+" L"+qe+","+K+" L"+$r+","+lr+" L"+_e+","+ne+" L"+x+","+Er+" L"+se+","+ne+" L"+Ot+","+lr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star8":var Ne,Ge,D,q,Re,G,K,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,Dt,Nt,lr,Er,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=37500*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.7853981634),D=x-Ge,q=x+Ge,Re=xe*Math.sin(.7853981634),G=Z-Re,K=Z+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*92388/1e5,Kt=Qe*38268/1e5,jt=Ae*92388/1e5,dr=Ae*38268/1e5,xt=x-or,Ot=x-Kt,er=x+Kt,rr=x+or,Dt=Z-jt,Nt=Z-dr,lr=Z+dr,Er=Z+jt,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+Nt+" L"+D+","+G+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+q+","+G+" L"+rr+","+Nt+" L"+u+","+Z+" L"+rr+","+lr+" L"+q+","+K+" L"+er+","+Er+" L"+x+","+h+" L"+Ot+","+Er+" L"+D+","+K+" L"+xt+","+lr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star10":var Ne,da,Ge,he,D,q,se,_e,Re,Ze,G,K,ne,de,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,$r,Fr,Dt,Nt,lr,Er,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=42533*w,Un=105146*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,Ge=da*95106/1e5,he=da*58779/1e5,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,Re=xe*80902/1e5,Ze=xe*30902/1e5,G=Z-Re,K=Z-Ze,ne=Z+Ze,de=Z+Re,Qe=da*Ne/ft,Ae=xe*Ne/ft,or=Qe*80902/1e5,Kt=Qe*30902/1e5,jt=Ae*95106/1e5,dr=Ae*58779/1e5,xt=x-Qe,Ot=x-or,er=x-Kt,rr=x+Kt,$r=x+or,Fr=x+Qe,Dt=Z-jt,Nt=Z-dr,lr=Z+dr,Er=Z+jt,pa=Z-Ae;var Oe="M"+D+","+K+" L"+Ot+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+$r+","+Nt+" L"+_e+","+K+" L"+Fr+","+Z+" L"+_e+","+ne+" L"+$r+","+lr+" L"+se+","+de+" L"+rr+","+Er+" L"+x+","+h+" L"+er+","+Er+" L"+q+","+de+" L"+Ot+","+lr+" L"+D+","+ne+" L"+xt+","+Z+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star12":var Ne,Ge,Re,D,se,_e,G,ne,de,Qe,Ae,or,Kt,ha,jt,dr,Ta,xt,Ot,er,rr,$r,Fr,Dt,Nt,lr,Er,$a,Ya,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.5235987756),Re=xe*Math.sin(1.0471975512),D=x-Ge,se=u*3/4,_e=x+Ge,G=Z-Re,ne=h*3/4,de=Z+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*Math.cos(.2617993878),Kt=Qe*Math.cos(.7853981634),ha=Qe*Math.cos(1.308996939),jt=Ae*Math.sin(1.308996939),dr=Ae*Math.sin(.7853981634),Ta=Ae*Math.sin(.2617993878),xt=x-or,Ot=x-Kt,er=x-ha,rr=x+ha,$r=x+Kt,Fr=x+or,Dt=Z-jt,Nt=Z-dr,lr=Z-Ta,Er=Z+Ta,$a=Z+dr,Ya=Z+jt,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+lr+" L"+D+","+Vi+" L"+Ot+","+Nt+" L"+yf+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+$r+","+Nt+" L"+_e+","+Vi+" L"+Fr+","+lr+" L"+u+","+Z+" L"+Fr+","+Er+" L"+_e+","+ne+" L"+$r+","+$a+" L"+se+","+de+" L"+rr+","+Ya+" L"+x+","+h+" L"+er+","+Ya+" L"+yf+","+de+" L"+Ot+","+$a+" L"+D+","+ne+" L"+xt+","+Er+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star16":var Ne,Ge,he,Lt,Re,Ze,Xt,D,q,se,_e,He,qe,G,K,ne,de,Ye,st,Qe,Ae,or,Kt,ha,Hn,jt,dr,Ta,Zn,xt,Ot,er,rr,$r,Fr,Wn,$n,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*92388/1e5,he=Xe*70711/1e5,Lt=Xe*38268/1e5,Re=xe*92388/1e5,Ze=xe*70711/1e5,Xt=xe*38268/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x+Lt,He=x+he,qe=x+Ge,G=Z-Re,K=Z-Ze,ne=Z-Xt,de=Z+Xt,Ye=Z+Ze,st=Z+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*98079/1e5,Kt=Qe*83147/1e5,ha=Qe*55557/1e5,Hn=Qe*19509/1e5,jt=Ae*98079/1e5,dr=Ae*83147/1e5,Ta=Ae*55557/1e5,Zn=Ae*19509/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x+Hn,Fr=x+ha,Wn=x+Kt,$n=x+or,Dt=Z-jt,Nt=Z-dr,lr=Z-Ta,Er=Z-Zn,$a=Z+Zn,Ya=Z+Ta,Yn=Z+dr,Xn=Z+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=Z-br,qi=x+yr,Sn=Z+br,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+Er+" L"+D+","+ne+" L"+Ot+","+lr+" L"+q+","+K+" L"+er+","+Nt+" L"+se+","+G+" L"+rr+","+Dt+" L"+x+",0 L"+$r+","+Dt+" L"+_e+","+G+" L"+Fr+","+Nt+" L"+He+","+K+" L"+Wn+","+lr+" L"+qe+","+ne+" L"+$n+","+Er+" L"+u+","+Z+" L"+$n+","+$a+" L"+qe+","+de+" L"+Wn+","+Ya+" L"+He+","+Ye+" L"+Fr+","+Yn+" L"+_e+","+st+" L"+$r+","+Xn+" L"+x+","+h+" L"+rr+","+Xn+" L"+se+","+st+" L"+er+","+Yn+" L"+q+","+Ye+" L"+Ot+","+Ya+" L"+D+","+de+" L"+xt+","+$a+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star24":var Ne,Ge,he,Lt,Aa,sn,Re,Ze,Xt,_n,zi,D,q,se,_e,He,qe,mt,Mt,qt,Tr,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,Qe,Ae,or,Kt,ha,Hn,rs,as,jt,dr,Ta,Zn,ns,is,xt,Ot,er,rr,$r,Fr,Wn,$n,ss,os,fs,ls,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,us,cs,ds,hs,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.2617993878),he=Xe*Math.cos(.5235987756),Lt=Xe*Math.cos(.7853981634),Aa=yf,sn=Xe*Math.cos(1.308996939),Re=xe*Math.sin(1.308996939),Ze=xe*Math.sin(1.0471975512),Xt=xe*Math.sin(.7853981634),_n=Vi,zi=xe*Math.sin(.2617993878),D=x-Ge,q=x-he,se=x-Lt,_e=x-Aa,He=x-sn,qe=x+sn,mt=x+Aa,Mt=x+Lt,qt=x+he,Tr=x+Ge,G=Z-Re,K=Z-Ze,ne=Z-Xt,de=Z-_n,Ye=Z-zi,st=Z+zi,Bt=Z+_n,vr=Z+Xt,Ha=Z+Ze,hn=Z+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*99144/1e5,Kt=Qe*92388/1e5,ha=Qe*79335/1e5,Hn=Qe*60876/1e5,rs=Qe*38268/1e5,as=Qe*13053/1e5,jt=Ae*99144/1e5,dr=Ae*92388/1e5,Ta=Ae*79335/1e5,Zn=Ae*60876/1e5,ns=Ae*38268/1e5,is=Ae*13053/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x-rs,Fr=x-as,Wn=x+as,$n=x+rs,ss=x+Hn,os=x+ha,fs=x+Kt,ls=x+or,Dt=Z-jt,Nt=Z-dr,lr=Z-Ta,Er=Z-Zn,$a=Z-ns,Ya=Z-is,Yn=Z+is,Xn=Z+ns,us=Z+Zn,cs=Z+Ta,ds=Z+dr,hs=Z+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=Z-br,qi=x+yr,Sn=Z+br,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+Ya+" L"+D+","+Ye+" L"+Ot+","+$a+" L"+q+","+de+" L"+er+","+Er+" L"+se+","+ne+" L"+rr+","+lr+" L"+_e+","+K+" L"+$r+","+Nt+" L"+He+","+G+" L"+Fr+","+Dt+" L"+x+",0 L"+Wn+","+Dt+" L"+qe+","+G+" L"+$n+","+Nt+" L"+mt+","+K+" L"+ss+","+lr+" L"+Mt+","+ne+" L"+os+","+Er+" L"+qt+","+de+" L"+fs+","+$a+" L"+Tr+","+Ye+" L"+ls+","+Ya+" L"+u+","+Z+" L"+ls+","+Yn+" L"+Tr+","+st+" L"+fs+","+Xn+" L"+qt+","+Bt+" L"+os+","+us+" L"+Mt+","+vr+" L"+ss+","+cs+" L"+mt+","+Ha+" L"+$n+","+ds+" L"+qe+","+hn+" L"+Wn+","+hs+" L"+x+","+h+" L"+Fr+","+hs+" L"+He+","+hn+" L"+$r+","+ds+" L"+_e+","+Ha+" L"+rr+","+cs+" L"+se+","+vr+" L"+er+","+us+" L"+q+","+Bt+" L"+Ot+","+Xn+" L"+D+","+st+" L"+xt+","+Yn+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star32":var Ne,Ge,he,Lt,Aa,sn,C1,ts,Re,Ze,Xt,_n,zi,Hc,Zc,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,yi,wi,e0,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,_s,Wo,$o,Yo,Qe,Ae,or,Kt,ha,Hn,rs,as,Wc,$c,jt,dr,Ta,Zn,ns,is,Yc,Xc,xt,Ot,er,rr,$r,Fr,Wn,$n,ss,os,fs,ls,Ac,Kc,Jc,Qc,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,us,cs,ds,hs,Fc,qc,Vc,jc,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,Z=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*98079/1e5,he=Xe*92388/1e5,Lt=Xe*83147/1e5,Aa=Xe*Math.cos(.7853981634),sn=Xe*55557/1e5,C1=Xe*38268/1e5,ts=Xe*19509/1e5,Re=xe*98079/1e5,Ze=xe*92388/1e5,Xt=xe*83147/1e5,_n=xe*Math.sin(.7853981634),zi=xe*55557/1e5,Hc=xe*38268/1e5,Zc=xe*19509/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x-Aa,He=x-sn,qe=x-C1,mt=x-ts,Mt=x+ts,qt=x+C1,Tr=x+sn,Ri=x+Aa,yi=x+Lt,wi=x+he,e0=x+Ge,G=Z-Re,K=Z-Ze,ne=Z-Xt,de=Z-_n,Ye=Z-zi,st=Z-Hc,Bt=Z-Zc,vr=Z+Zc,Ha=Z+Hc,hn=Z+zi,_s=Z+_n,Wo=Z+Xt,$o=Z+Ze,Yo=Z+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*99518/1e5,Kt=Qe*95694/1e5,ha=Qe*88192/1e5,Hn=Qe*77301/1e5,rs=Qe*63439/1e5,as=Qe*47140/1e5,Wc=Qe*29028/1e5,$c=Qe*9802/1e5,jt=Ae*99518/1e5,dr=Ae*95694/1e5,Ta=Ae*88192/1e5,Zn=Ae*77301/1e5,ns=Ae*63439/1e5,is=Ae*47140/1e5,Yc=Ae*29028/1e5,Xc=Ae*9802/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x-rs,Fr=x-as,Wn=x-Wc,$n=x-$c,ss=x+$c,os=x+Wc,fs=x+as,ls=x+rs,Ac=x+Hn,Kc=x+ha,Jc=x+Kt,Qc=x+or,Dt=Z-jt,Nt=Z-dr,lr=Z-Ta,Er=Z-Zn,$a=Z-ns,Ya=Z-is,Yn=Z-Yc,Xn=Z-Xc,us=Z+Xc,cs=Z+Yc,ds=Z+is,hs=Z+ns,Fc=Z+Zn,qc=Z+Ta,Vc=Z+dr,jc=Z+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=Z-br,qi=x+yr,Sn=Z+br,pa=Z-Ae;var Oe="M0,"+Z+" L"+xt+","+Xn+" L"+D+","+Bt+" L"+Ot+","+Yn+" L"+q+","+st+" L"+er+","+Ya+" L"+se+","+Ye+" L"+rr+","+$a+" L"+_e+","+de+" L"+$r+","+Er+" L"+He+","+ne+" L"+Fr+","+lr+" L"+qe+","+K+" L"+Wn+","+Nt+" L"+mt+","+G+" L"+$n+","+Dt+" L"+x+",0 L"+ss+","+Dt+" L"+Mt+","+G+" L"+os+","+Nt+" L"+qt+","+K+" L"+fs+","+lr+" L"+Tr+","+ne+" L"+ls+","+Er+" L"+Ri+","+de+" L"+Ac+","+$a+" L"+yi+","+Ye+" L"+Kc+","+Ya+" L"+wi+","+st+" L"+Jc+","+Yn+" L"+e0+","+Bt+" L"+Qc+","+Xn+" L"+u+","+Z+" L"+Qc+","+us+" L"+e0+","+vr+" L"+Jc+","+cs+" L"+wi+","+Ha+" L"+Kc+","+ds+" L"+yi+","+hn+" L"+Ac+","+hs+" L"+Ri+","+_s+" L"+ls+","+Fc+" L"+Tr+","+Wo+" L"+fs+","+qc+" L"+qt+","+$o+" L"+os+","+Vc+" L"+Mt+","+Yo+" L"+ss+","+jc+" L"+x+","+h+" L"+$n+","+jc+" L"+mt+","+Yo+" L"+Wn+","+Vc+" L"+qe+","+$o+" L"+Fr+","+qc+" L"+He+","+Wo+" L"+$r+","+Fc+" L"+_e+","+_s+" L"+rr+","+hs+" L"+se+","+hn+" L"+er+","+ds+" L"+q+","+Ha+" L"+Ot+","+cs+" L"+D+","+vr+" L"+xt+","+us+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pie":case"pieWedge":case"arc":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),F,te,Vu,xo,ju,wf;y=="pie"?(F=0,te=270,Vu=h,wf=!0):y=="pieWedge"?(F=180,te=270,Vu=2*h,wf=!0):y=="arc"&&(F=270,te=0,Vu=h,wf=!1),ye!==void 0&&(xo=L(ye,["attrs","fmla"]),ju=xo,xo===void 0&&(xo=ye[0].attrs.fmla,ju=ye[1].attrs.fmla),xo!==void 0&&(F=parseInt(xo.substr(4))/6e4),ju!==void 0&&(te=parseInt(ju.substr(4))/6e4));var qp=Ng(Vu,u,F,te,wf);v+="<path d='"+qp[0]+"' transform='"+qp[1]+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chord":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=45,Te,et=270;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/6e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/6e4)}var Ve=h/2,Ht=u/2,ze=ve(Ht,Ve,Ht,Ve,je,et,!0);v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"frame":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=12500*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,_e,de;F<0?ue=0:F>ie?ue=ie:ue=F,D=Math.min(u,h)*ue/ce,_e=u-D,de=h-D;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+D+","+D+" L"+D+","+de+" L"+_e+","+de+" L"+_e+","+D+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"donut":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Ae;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Ae=h/2-dn;var Oe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+dn+","+h/2+ve(u/2,h/2,Qe,Ae,180,90,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,90,0,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,0,-90,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,270,180,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"noSmoking":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=18750*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Ae,e1,Dk,ed,td,Vp,jp,ev,rd,fa,At,Ko,G0,s0;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Ae=h/2-dn,e1=Math.atan(h/u),ed=Ae*Math.cos(e1),td=Qe*Math.sin(e1),Vp=Math.sqrt(ed*ed+td*td),jp=Qe*Ae/Vp,ev=dn/2,rd=Math.atan(ev/jp),fa=rd*2,At=-Math.PI+fa,G0=e1-rd,s0=G0-Math.PI;var ad,nd,tv,id,Ge,Re,D,G,G,K;ad=Ae*Math.cos(G0),nd=Qe*Math.sin(G0),tv=Math.sqrt(ad*ad+nd*nd),id=Qe*Ae/tv,Ge=id*Math.cos(G0),Re=id*Math.sin(G0),D=u/2+Ge,G=h/2+Re,q=u/2-Ge,K=h/2-Re;var rv=G0*180/Math.PI,av=s0*180/Math.PI,nv=At*180/Math.PI,Oe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+D+","+G+ve(u/2,h/2,Qe,Ae,rv,rv+nv,!1).replace("M","L")+" zM"+q+","+K+ve(u/2,h/2,Qe,Ae,av,av+nv,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"halfFrame":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=3.5,Te,et=3.5,an=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),vt=an*u/it,ue,Me;et<0?Me=0:et>vt?Me=vt:Me=et;var D=it*Me/an,a1=h*D/u,z0=h-a1,nt=an*z0/it;je<0?ue=0:je>nt?ue=nt:ue=je;var G=it*ue/an,he=G*u/h,q=u-he,Ze=D*h/u,K=h-Ze,Oe="M0,0 L"+u+",0 L"+q+","+G+" L"+D+","+G+" L"+D+","+K+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"blockArc":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=180,Te,te=0,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))/6e4):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Wt,on,Ke,t1,iv,At,Y0,Rf=360;F<0?Wt=0:F>Rf?Wt=Rf:Wt=F,te<0?on=0:te>Rf?on=Rf:on=te,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe,t1=on-Wt,iv=t1+Rf,At=t1>0?t1:iv,Y0=-At;var Li=Wt+At,O5=on+Y0,Go,Uo,Ge,Re,D,G,Bf,Df,Xe,xe,x,Z;Bf=Wt*Math.PI/180,Df=on*Math.PI/180,Xe=u/2,xe=h/2,x=u/2,Z=h/2,Wt>90&&Wt<270?(Go=Xe*Math.sin(Math.PI/2-Bf),Uo=xe*Math.cos(Math.PI/2-Bf),Ge=Xe*Math.cos(Math.atan(Uo/Go)),Re=xe*Math.sin(Math.atan(Uo/Go)),D=x-Ge,G=Z-Re):(Go=Xe*Math.sin(Bf),Uo=xe*Math.cos(Bf),Ge=Xe*Math.cos(Math.atan(Go/Uo)),Re=xe*Math.sin(Math.atan(Go/Uo)),D=x+Ge,G=Z+Re);var dn,Qe,Ae,Ho,Zo,he,Ze,q,K;dn=Math.min(u,h)*Ke/ce,Qe=Xe-dn,Ae=xe-dn,Li<=450&&Li>270||Li>=630&&Li<720?(Ho=Qe*Math.sin(Df),Zo=Ae*Math.cos(Df),he=Qe*Math.cos(Math.atan(Ho/Zo)),Ze=Ae*Math.sin(Math.atan(Ho/Zo)),q=x+he,K=Z+Ze):(Ho=Qe*Math.sin(Math.PI/2-Df),Zo=Ae*Math.cos(Math.PI/2-Df),he=Qe*Math.cos(Math.atan(Zo/Ho)),Ze=Ae*Math.sin(Math.atan(Zo/Ho)),q=x-he,K=Z-Ze);var Oe="M"+D+","+G+ve(Xe,xe,Xe,xe,Wt,Li,!1).replace("M","L")+" L"+q+","+K+ve(Xe,xe,Qe,Ae,on,O5,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracePair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=25e3*w,ce=5e4*w,_t=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Z=h/2,Nf=360,bt=180,It=90,Rt=270,Ne,D,q,se,_e,K,ne,de;we<0?Ne=0:we>ie?Ne=ie:Ne=we;var it=Math.min(u,h);D=it*Ne/_t,q=it*Ne/ce,se=u-q,_e=u-D,K=Z-D,ne=Z+D,de=h-D;var Oe="M"+q+","+h+ve(q,de,D,D,It,bt,!1).replace("M","L")+" L"+D+","+ne+ve(0,ne,D,D,0,-It,!1).replace("M","L")+ve(0,K,D,D,It,0,!1).replace("M","L")+" L"+D+","+D+ve(q,D,D,D,bt,Rt,!1).replace("M","L")+" M"+se+",0"+ve(se,D,D,D,Rt,Nf,!1).replace("M","L")+" L"+_e+","+K+ve(u,K,D,D,bt,It,!1).replace("M","L")+ve(u,ne,D,D,Rt,bt,!1).replace("M","L")+" L"+_e+","+de+ve(se,de,D,D,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBrace":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var Z=h/2,bt=180,It=90,Rt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=ne+G;var Oe="M"+u+","+h+ve(u,h-G,u/2,G,It,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,-It,!1).replace("M","L")+ve(0,K,u/2,G,It,0,!1).replace("M","L")+" L"+u/2+","+G+ve(u,G,u/2,G,bt,Rt,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBrace":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var Z=h/2,Nf=360,bt=180,It=90,Rt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=h-G;var Oe="M0,0"+ve(0,G,u/2,G,Rt,Nf,!1).replace("M","L")+" L"+u/2+","+K+ve(u,K,u/2,G,bt,It,!1).replace("M","L")+ve(u,ne+G,u/2,G,Rt,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracketPair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=16667*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,Rt=270,Ne,D,q,K;we<0?Ne=0:we>ie?Ne=ie:Ne=we,D=Math.min(u,h)*Ne/ce,q=ut-D,K=rt-D;var Oe=ve(D,D,D,D,Rt,bt,!1)+ve(D,K,D,D,bt,It,!1).replace("M","L")+ve(q,D,D,D,Rt,Rt+It,!1)+ve(q,K,D,D,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,Rt=270,Ne,G,K;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,G>u&&(G=u),K=rt-G;var Oe="M"+ut+","+rt+ve(G,K,G,G,It,bt,!1).replace("M","L")+" L0,"+G+ve(G,G,G,G,bt,Rt,!1).replace("M","L")+" L"+ut+",0";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Nf=360,bt=180,It=90,Rt=270,Ne,G,K,ne;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,K=h-G,ne=u-G;var Oe="M0,"+h+ve(ne,K,G,G,It,0,!1).replace("M","L")+" L"+u+","+h/2+ve(ne,G,G,G,Nf,Rt,!1).replace("M","L")+" L0,0";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"moon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=.5;ye!==void 0&&(we=parseInt(ye.substr(4))/1e5);var xe,bt,It;xe=h/2,bt=180,It=90;var te=(1-we)*u,Oe="M"+u+","+h+ve(u,xe,u,xe,It,It+bt,!1).replace("M","L")+ve(u,xe,te,xe,It+bt,It,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"corner":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=5e4*w,Te,et=5e4*w,an=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),nt=an*h/it,vt=an*u/it,ue,Me,D,Re,G;je<0?ue=0:je>nt?ue=nt:ue=je,et<0?Me=0:et>vt?Me=vt:Me=et,D=it*Me/an,Re=it*ue/an,G=h-Re;var Oe="M0,0 L"+D+",0 L"+D+","+G+" L"+u+","+G+" L"+u+","+h+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diagStripe":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),je=5e4*w,an=1e5*w;ye!==void 0&&(je=parseInt(ye.substr(4))*w);var ue,q,K;je<0?ue=0:je>an?ue=an:ue=je,q=u*ue/an,K=h*ue/an;var Oe="M0,"+K+" L"+q+",0 L"+u+",0 L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"gear6":case"gear9":Q=0;var sd=y.substr(4),Oe;sd=="6",Oe=n5(u,h/3.5,parseInt(sd)),v+="<path d='"+Oe+"' transform='rotate(20,"+3/7*h+","+3/7*h+")' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector3":var zf=Ip(y,e,u,h);v+="<polyline points='"+zf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Ec(_,Be,We)+"/>";break;case"plus":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;v+=" <polygon points='"+F*u+" 0,"+F*u+" "+F*h+",0 "+F*h+",0 "+te*h+","+F*u+" "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+te*u+" "+te*h+","+u+" "+te*h+","+ +u+" "+F*h+","+te*u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"teardrop":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=1e5*w,Cf=F,r1=2e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,od,sv,ot,ov,fv,Ge,Re,D,G,q,K,fd;F<0?ue=0:F>r1?ue=r1:ue=F,od=Math.sqrt(2),sv=od*(u/2),ot=od*(h/2),ov=sv*ue/Cf,fv=ot*ue/Cf,fd=45*Math.PI/180,Ge=ov*Math.cos(fd),Re=fv*Math.cos(fd),D=u/2+Ge,G=h/2-Re,q=(u/2+D)/2,K=(h/2+G)/2;var ze=ve(u/2,h/2,u/2,h/2,180,270,!1)+"Q "+q+",0 "+D+","+G+"Q "+u+","+K+" "+u+","+h/2+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"plaque":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=16667*w,Cf=5e4*w,r1=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,q,K;F<0?ue=0:F>Cf?ue=Cf:ue=F,D=ue*Math.min(u,h)/r1,q=u-D,K=h-D;var ze="M0,"+D+ve(0,0,D,D,90,0,!1).replace("M","L")+" L"+q+",0"+ve(u,0,D,D,180,90,!1).replace("M","L")+" L"+u+","+K+ve(u,h,D,D,270,180,!1).replace("M","L")+" L"+D+","+h+ve(0,h,D,D,0,-90,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"sun":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,F=25e3*ke,ie=12500*ke,ce=46875*ke;ye!==void 0&&(F=parseInt(ye.substr(4))*ke);var ue;F<ie?ue=ie:F>ce?ue=ce:ue=F;var ps=5e4*ke,gr=1e5*ke,Of=ps-ue,a1=Of*(30274*ke)/(32768*ke),z0=Of*(12540*ke)/(32768*ke),n1=a1+ps,i1=z0+ps,xf=ps-a1,vs=ps-z0,C0=Of*(23170*ke)/(32768*ke),ji=ps+C0,tt=ps-C0,Gt=xf*3/4,Fe=vs*3/4,Ct=Gt+3662*ke,$e=Fe+36620*ke,$t=Fe+12500*ke,Jt=gr-Gt,ar=gr-Ct,Qt=gr-$e,qr=gr-$t,lv=u*(18436*ke)/(21600*ke),uv=h*(3163*ke)/(21600*ke),cv=u*(3163*ke)/(21600*ke),dv=h*(18436*ke)/(21600*ke),Mt=u*ji/gr,qt=u*tt/gr,Tr=u*Gt/gr,yi=u*Ct/gr,wi=u*$e/gr,e0=u*$t/gr,ms=u*Jt/gr,hv=u*ar/gr,pv=u*Qt/gr,vv=u*qr/gr,x5=u*ue/gr,Ht=u*Of/gr,Ve=h*Of/gr,vr=h*ji/gr,Ha=h*tt/gr,hn=h*Gt/gr,Wo=h*Ct/gr,$o=h*$e/gr,Yo=h*$t/gr,mv=h*Jt/gr,_v=h*ar/gr,bv=h*Qt/gr,Lv=h*qr/gr,ze="M"+u+","+h/2+" L"+ms+","+Lv+" L"+ms+","+Yo+"z M"+lv+","+uv+" L"+hv+","+bv+" L"+wi+","+Wo+"z M"+u/2+",0 L"+vv+","+hn+" L"+e0+","+hn+"z M"+cv+","+uv+" L"+pv+","+Wo+" L"+yi+","+bv+"z M0,"+h/2+" L"+Tr+","+Yo+" L"+Tr+","+Lv+"z M"+cv+","+dv+" L"+yi+","+$o+" L"+pv+","+_v+"z M"+u/2+","+h+" L"+e0+","+mv+" L"+vv+","+mv+"z M"+lv+","+dv+" L"+wi+","+_v+" L"+hv+","+$o+" z M"+x5+","+h/2+ve(u/2,h/2,Ht,Ve,180,540,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heart":var Ge,he,D,q,se,_e,G;Ge=u*49/48,he=u*10/48,D=u/2-Ge,q=u/2-he,se=u/2+he,_e=u/2+Ge,G=-h/3;var ze="M"+u/2+","+h/4+"C"+se+","+G+" "+_e+","+h/4+" "+u/2+","+h+"C"+D+","+h/4+" "+q+","+G+" "+u/2+","+h/4+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"lightningBolt":var D=u*5022/21600,q=u*11050/21600,se=u*8472/21600,_e=u*8757/21600,He=u*10012/21600,qe=u*14767/21600,mt=u*12222/21600,Mt=u*12860/21600,qt=u*13917/21600,Tr=u*7602/21600,Ri=u*16577/21600,G=h*3890/21600,K=h*6080/21600,ne=h*6797/21600,de=h*7437/21600,Ye=h*12877/21600,st=h*9705/21600,Bt=h*12007/21600,vr=h*13987/21600,Ha=h*8382/21600,hn=h*14277/21600,_s=h*14915/21600,ze="M"+se+",0 L"+Mt+","+K+" L"+q+","+ne+" L"+Ri+","+Bt+" L"+qe+","+Ye+" L"+u+","+h+" L"+He+","+_s+" L"+mt+","+vr+" L"+D+","+st+" L"+Tr+","+Ha+" L0,"+G+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cube":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=25e3*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ce=1e5*ke,Ie=Math.min(u,h),Ne,G,de,_e;Ne=we<0?0:we>ce?ce:we,G=Ie*Ne/ce,de=h-G,_e=u-G,ze="M0,"+G+" L"+G+",0 L"+u+",0 L"+u+","+de+" L"+_e+","+h+" L0,"+h+" zM0,"+G+" L"+_e+","+G+" M"+_e+","+G+" L"+u+",0M"+_e+","+G+" L"+_e+","+h,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bevel":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,D,q,K;Ne=we<0?0:we>ie?ie:we,D=Ie*Ne/ce,q=u-D,K=h-D,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+D+" L"+q+","+D+" L"+q+","+K+" L"+D+","+K+" z M0,0 L"+D+","+D+" M0,"+h+" L"+D+","+K+" M"+u+",0 L"+q+","+D+" M"+u+","+h+" L"+q+","+K,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"foldedCorner":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=16667*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,Ze,Re,D,q,K,G;Ne=we<0?0:we>ie?ie:we,Ze=Ie*Ne/ce,Re=Ze/5,D=u-Ze,q=D+Re,K=h-Ze,G=K+Re,ze="M"+D+","+h+" L"+q+","+G+" L"+u+","+K+" L"+D+","+h+" L0,"+h+" L0,0 L"+u+",0 L"+u+","+K,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cloud":case"cloudCallout":var ld,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,ud,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,_s,Nk,gv,cd,dd,hd,pd,s1,zk,Ck,Ok,xk,Bd,cl,Rd,ll,Gk,Uk,Hk,Zk,Wk,$k,Yk;ld=u*3900/43200,D=u*4693/43200,q=u*6928/43200,se=u*16478/43200,_e=u*28827/43200,He=u*34129/43200,qe=u*41798/43200,mt=u*38324/43200,Mt=u*29078/43200,qt=u*22141/43200,Tr=u*14e3/43200,Ri=u*4127/43200,ud=h*14370/43200,G=h*26177/43200,K=h*34899/43200,ne=h*39090/43200,de=h*34751/43200,Ye=h*22954/43200,st=h*15354/43200,Bt=h*5426/43200,vr=h*3952/43200,Ha=h*4720/43200,hn=h*5192/43200,_s=h*15789/43200;var kv=u*6753/43200,Mv=h*9190/43200,o1=u*5333/43200,Ev=h*7267/43200,Pv=u*4365/43200,f1=h*5945/43200,Sv=u*4857/43200,Iv=h*6595/43200,Tv=h*7273/43200,yv=u*6775/43200,wv=h*9220/43200,Rv=u*5785/43200,Bv=h*7867/43200,Dv=u*6752/43200,Nv=h*9215/43200,zv=u*7720/43200,Cv=h*10543/43200,Ov=u*4360/43200,xv=h*5918/43200,Gv=u*4345/43200,l1=-11429249/6e4,G5=7426832/6e4,u1=-8646143/6e4,U5=5396714/6e4,c1=-8748475/6e4,H5=5983381/6e4,d1=-7859164/6e4,Z5=7034504/6e4,h1=-4722533/6e4,W5=6541615/6e4,p1=-2776035/6e4,$5=7816140/6e4,v1=37501/6e4,Y5=6842e3/6e4,m1=1347096/6e4,X5=6910353/6e4,_1=3974558/6e4,A5=4542661/6e4,b1=-16496525/6e4,K5=8804134/6e4,L1=-14809710/6e4,J5=9151131/6e4,Uv,An,x0,g1,Gf,Hv,Zv,Wv,$v,Yv,Xv,Av,t0,O0,k1,M1,Kv,Jv,Qv,Fv,qv,Vv,E1,P1,S1,I1,T1,y1,w1,R1,B1,D1,jv,vd,md,_d,bd,Ld,gd,kd,Md,Ed,Pd;Uv=ld-kv*Math.cos(l1*Math.PI/180),Av=ud-Mv*Math.sin(l1*Math.PI/180),E1=ve(Uv,Av,kv,Mv,l1,l1+G5,!1).replace("M","L"),vd=E1.substr(E1.lastIndexOf("L")+1).split(" "),An=parseInt(vd[0])-o1*Math.cos(u1*Math.PI/180),t0=parseInt(vd[1])-Ev*Math.sin(u1*Math.PI/180),P1=ve(An,t0,o1,Ev,u1,u1+U5,!1).replace("M","L"),md=P1.substr(P1.lastIndexOf("L")+1).split(" "),x0=parseInt(md[0])-Pv*Math.cos(c1*Math.PI/180),O0=parseInt(md[1])-f1*Math.sin(c1*Math.PI/180),S1=ve(x0,O0,Pv,f1,c1,c1+H5,!1).replace("M","L"),_d=S1.substr(S1.lastIndexOf("L")+1).split(" "),g1=parseInt(_d[0])-Sv*Math.cos(d1*Math.PI/180),k1=parseInt(_d[1])-Iv*Math.sin(d1*Math.PI/180),I1=ve(g1,k1,Sv,Iv,d1,d1+Z5,!1).replace("M","L"),bd=I1.substr(I1.lastIndexOf("L")+1).split(" "),Gf=parseInt(bd[0])-o1*Math.cos(h1*Math.PI/180),M1=parseInt(bd[1])-Tv*Math.sin(h1*Math.PI/180),T1=ve(Gf,M1,o1,Tv,h1,h1+W5,!1).replace("M","L"),Ld=T1.substr(T1.lastIndexOf("L")+1).split(" "),Hv=parseInt(Ld[0])-yv*Math.cos(p1*Math.PI/180),Kv=parseInt(Ld[1])-wv*Math.sin(p1*Math.PI/180),y1=ve(Hv,Kv,yv,wv,p1,p1+$5,!1).replace("M","L"),gd=y1.substr(y1.lastIndexOf("L")+1).split(" "),Zv=parseInt(gd[0])-Rv*Math.cos(v1*Math.PI/180),Jv=parseInt(gd[1])-Bv*Math.sin(v1*Math.PI/180),w1=ve(Zv,Jv,Rv,Bv,v1,v1+Y5,!1).replace("M","L"),kd=w1.substr(w1.lastIndexOf("L")+1).split(" "),Wv=parseInt(kd[0])-Dv*Math.cos(m1*Math.PI/180),Qv=parseInt(kd[1])-Nv*Math.sin(m1*Math.PI/180),R1=ve(Wv,Qv,Dv,Nv,m1,m1+X5,!1).replace("M","L"),Md=R1.substr(R1.lastIndexOf("L")+1).split(" "),$v=parseInt(Md[0])-zv*Math.cos(_1*Math.PI/180),Fv=parseInt(Md[1])-Cv*Math.sin(_1*Math.PI/180),B1=ve($v,Fv,zv,Cv,_1,_1+A5,!1).replace("M","L"),Ed=B1.substr(B1.lastIndexOf("L")+1).split(" "),Yv=parseInt(Ed[0])-Ov*Math.cos(b1*Math.PI/180),qv=parseInt(Ed[1])-xv*Math.sin(b1*Math.PI/180),D1=ve(Yv,qv,Ov,xv,b1,b1+K5,!1).replace("M","L"),Pd=D1.substr(D1.lastIndexOf("L")+1).split(" "),Xv=parseInt(Pd[0])-Gv*Math.cos(L1*Math.PI/180),Vv=parseInt(Pd[1])-f1*Math.sin(L1*Math.PI/180),jv=ve(Xv,Vv,Gv,f1,L1,L1+J5,!1).replace("M","L");var e2="M"+ld+","+ud+E1+P1+S1+I1+T1+y1+w1+R1+B1+D1+jv+" z";if(y=="cloudCallout"){var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ce=1e5*ke,Ie=Math.min(u,h),Xe=u/2,xe=h/2,ur,pr,Vr,jr,Sd,Id,z0,n1,i1,xf,vs,C0,ji,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,t2,Td,yd;ur=u*F/ce,pr=h*te/ce,Vr=Xe+ur,jr=xe+pr,Sd=xe*Math.cos(Math.atan(pr/ur)),Id=Xe*Math.sin(Math.atan(pr/ur)),z0=Xe*Math.cos(Math.atan(Id/Sd)),n1=xe*Math.sin(Math.atan(Id/Sd)),F>=0?(i1=Xe+z0,xf=xe+n1):(i1=Xe-z0,xf=xe-n1),vs=i1-Vr,C0=xf-jr,ji=Math.sqrt(vs*vs+C0*C0),tt=Ie*6600/21600,Gt=ji-tt,Fe=Gt/3,Ct=Ie*1800/21600,$e=Fe+Ct,$t=$e*vs/ji,Jt=$e*C0/ji,ar=$t+Vr,Qt=Jt+jr,qr=Ie*4800/21600,Qr=Fe*2,wr=qr+Qr,Rr=wr*vs/ji,ua=wr*C0/ji,sa=Rr+Vr,Ir=ua+jr,Gr=Ie*1200/21600,ca=Ie*600/21600,t2=Vr+ca,Td=ar+Gr,yd=sa+Ct,ze=ve(t2-ca,jr,ca,ca,0,360,!1)+" z M"+Td+","+Qt+ve(Td-Gr,Qt,Gr,Gr,0,360,!1).replace("M","L")+" z M"+yd+","+Ir+ve(yd-Ct,Ir,Ct,Ct,0,360,!1).replace("M","L")+" z",e2+=ze}v+="<path d='"+e2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"smileyFace":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=4653*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,_t=4653*ke,Ie=Math.min(u,h),Ne,D,q,se,_e,G,ne,Ze,K,de,Xt,Ye,Ht,Ve,Xe,xe;Xe=u/2,xe=h/2,Ne=we<-_t?-_t:we>_t?_t:we,D=u*4969/21699,q=u*6215/21600,se=u*13135/21600,_e=u*16640/21600,G=h*7570/21600,ne=h*16515/21600,Ze=h*Ne/ce,K=ne-Ze,de=ne+Ze,Xt=h*Ne/ie,Ye=de+Xt,Ht=u*1125/21600,Ve=h*1125/21600;var An=q-Ht*Math.cos(Math.PI),t0=G-Ve*Math.sin(Math.PI),x0=se-Ht*Math.cos(Math.PI);ze=ve(An,t0,Ht,Ve,180,540,!1)+ve(x0,t0,Ht,Ve,180,540,!1)+" M"+D+","+K+" Q"+Xe+","+Ye+" "+_e+","+K+" Q"+Xe+","+Ye+" "+D+","+K+" M0,"+xe+ve(Xe,xe,Xe,xe,180,540,!1).replace("M","L")+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"verticalScroll":case"horizontalScroll":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=25e3*ke,ce=1e5*ke,Ie=Math.min(u,h),Zt=0,Tt=0,rt=h,ut=u,Ne,hr,Pt,r0;if(Ne=we<0?0:we>ie?ie:we,hr=Ie*Ne/ce,Pt=hr/2,r0=hr/4,y=="verticalScroll"){var se,_e,qe,mt,He,ne,de;se=hr+Pt,_e=hr+hr,qe=ut-hr,mt=ut-Pt,He=qe-Pt,ne=rt-hr,de=rt-Pt,ze="M"+hr+","+ne+" L"+hr+","+Pt+ve(se,Pt,Pt,Pt,180,270,!1).replace("M","L")+" L"+mt+","+Zt+ve(mt,Pt,Pt,Pt,270,450,!1).replace("M","L")+" L"+qe+","+hr+" L"+qe+","+de+ve(He,de,Pt,Pt,0,90,!1).replace("M","L")+" L"+Pt+","+rt+ve(Pt,de,Pt,Pt,90,270,!1).replace("M","L")+" z M"+se+","+Zt+ve(se,Pt,Pt,Pt,270,450,!1).replace("M","L")+ve(se,se/2,r0,r0,90,270,!1).replace("M","L")+" L"+_e+","+Pt+" M"+qe+","+hr+" L"+se+","+hr+" M"+hr+","+de+ve(Pt,de,Pt,Pt,0,270,!1).replace("M","L")+ve(Pt,(de+ne)/2,r0,r0,270,450,!1).replace("M","L")+" z M"+hr+","+de+" L"+hr+","+ne}else if(y=="horizontalScroll"){var ne,de,st,Bt,Ye,se,_e;ne=hr+Pt,de=hr+hr,st=rt-hr,Bt=rt-Pt,Ye=st-Pt,se=ut-hr,_e=ut-Pt,ze="M"+Tt+","+ne+ve(Pt,ne,Pt,Pt,180,270,!1).replace("M","L")+" L"+se+","+hr+" L"+se+","+Pt+ve(_e,Pt,Pt,Pt,180,360,!1).replace("M","L")+" L"+ut+","+Ye+ve(_e,Ye,Pt,Pt,0,90,!1).replace("M","L")+" L"+hr+","+st+" L"+hr+","+Bt+ve(Pt,Bt,Pt,Pt,0,180,!1).replace("M","L")+" zM"+_e+","+hr+ve(_e,Pt,Pt,Pt,90,-180,!1).replace("M","L")+ve((se+_e)/2,Pt,r0,r0,180,0,!1).replace("M","L")+" z M"+_e+","+hr+" L"+se+","+hr+" M"+Pt+","+de+" L"+Pt+","+ne+ve(ne/2,ne,r0,r0,180,360,!1).replace("M","L")+ve(Pt,ne,Pt,Pt,0,180,!1).replace("M","L")+" M"+hr+","+ne+" L"+hr+","+st}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeEllipseCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,bs=11*Math.PI/180,Ie=Math.min(u,h),ur,pr,Vr,jr,Xo,Ao,wd,Wt,Qa,Ge,Re,D,G,he,Ze,q,K,G0,Xk,Ak,mn,At,Z=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=Z+pr,Xo=ur*h,Ao=pr*u,wd=Math.atan(Ao/Xo),Wt=wd+bs,Qa=wd-bs,console.log("dxPos: ",ur,"dyPos: ",pr),Ge=x*Math.cos(Wt),Re=Z*Math.sin(Wt),he=x*Math.cos(Qa),Ze=Z*Math.sin(Qa),ur>=0?(D=x+Ge,G=Z+Re,q=x+he,K=Z+Ze):(D=x-Ge,G=Z-Re,q=x-he,K=Z-Ze),ze="M"+D+","+G+" L"+Vr+","+jr+" L"+q+","+K+ve(x,Z,x,Z,0,360,!0),v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRectCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,ur,pr,Vr,jr,Vn,qn,Uf,Hf,Zf,va,Wf,$f,D,q,Yf,Xf,G,K,Af,Kf,Jf,Qf,Ko,Ff,qf,Vf,jf,el,tl,rl,al,nl,il,sl,Z=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=Z+pr,Vn=Vr-x,qn=jr-Z,Uf=ur*h/u,Hf=Math.abs(pr),Zf=Math.abs(Uf),va=Hf-Zf,Wf=ur>0?7:2,$f=ur>0?10:5,D=u*Wf/12,q=u*$f/12,Yf=pr>0?7:2,Xf=pr>0?10:5,G=h*Yf/12,K=h*Xf/12,Af=ur>0?0:Vr,Kf=va>0?0:Af,Jf=pr>0?D:Vr,Qf=va>0?Jf:D,Ko=ur>0?Vr:u,Ff=va>0?u:Ko,qf=pr>0?Vr:D,Vf=va>0?qf:D,jf=ur>0?G:jr,el=va>0?G:jf,tl=pr>0?0:jr,rl=va>0?tl:0,al=ur>0?jr:G,nl=va>0?G:al,il=pr>0?jr:h,sl=va>0?il:h,ze="M0,0 L"+D+",0 L"+Qf+","+rl+" L"+q+",0 L"+u+",0 L"+u+","+G+" L"+Ff+","+nl+" L"+u+","+K+" L"+u+","+h+" L"+q+","+h+" L"+Vf+","+sl+" L"+D+","+h+" L0,"+h+" L0,"+K+" L"+Kf+","+el+" L0,"+G+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRoundRectCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke,at,Pe=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=1e5*w,Ie=Math.min(u,h),ur,pr,Vr,jr,Uf,Hf,Zf,va,Wf,$f,D,q,Yf,Xf,G,K,Af,Kf,Jf,Qf,Ko,Ff,qf,Vf,jf,el,tl,rl,al,nl,il,sl,mr,Fa,Ci,Z=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=Z+pr,Uf=ur*h/u,Hf=Math.abs(pr),Zf=Math.abs(Uf),va=Hf-Zf,Wf=ur>0?7:2,$f=ur>0?10:5,D=u*Wf/12,q=u*$f/12,Yf=pr>0?7:2,Xf=pr>0?10:5,G=h*Yf/12,K=h*Xf/12,Af=ur>0?0:Vr,Kf=va>0?0:Af,Jf=pr>0?D:Vr,Qf=va>0?Jf:D,Ko=ur>0?Vr:u,Ff=va>0?u:Ko,qf=pr>0?Vr:D,Vf=va>0?qf:D,jf=ur>0?G:jr,el=va>0?G:jf,tl=pr>0?0:jr,rl=va>0?tl:0,al=ur>0?jr:G,nl=va>0?G:al,il=pr>0?jr:h,sl=va>0?il:h,mr=Ie*Pe/ie,Fa=u-mr,Ci=h-mr,ze="M0,"+mr+ve(mr,mr,mr,mr,180,270,!1).replace("M","L")+" L"+D+",0 L"+Qf+","+rl+" L"+q+",0 L"+Fa+",0"+ve(Fa,mr,mr,mr,270,360,!1).replace("M","L")+" L"+u+","+G+" L"+Ff+","+nl+" L"+u+","+K+" L"+u+","+Ci+ve(Fa,Ci,mr,mr,0,90,!1).replace("M","L")+" L"+q+","+h+" L"+Vf+","+sl+" L"+D+","+h+" L"+mr+","+h+ve(mr,Ci,mr,mr,90,180,!1).replace("M","L")+" L0,"+K+" L"+Kf+","+el+" L0,"+G+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=18750*ke,Te,te=-8333*ke,at,Pe=18750*ke,nr,pt=-16667*ke,jn,Dr=1e5*ke,r2,a0=-16667*ke,a2,ol=112963*ke,n2,fl=-8333*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*ke):le=="adj5"?(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*ke):le=="adj6"?(r2=L(z[U],["attrs","fmla"]),a0=parseInt(r2.substr(4))*ke):le=="adj7"?(a2=L(z[U],["attrs","fmla"]),ol=parseInt(a2.substr(4))*ke):le=="adj8"&&(n2=L(z[U],["attrs","fmla"]),fl=parseInt(n2.substr(4))*ke)}var ze,ie=1e5*ke,pn=!0;switch(y){case"borderCallout1":case"callout1":y=="borderCallout1"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K;break;case"borderCallout2":case"callout2":y=="borderCallout2"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K;break;case"borderCallout3":case"callout3":y=="borderCallout3"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ol=112963*ke,fl=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ol/ie,_e=u*fl/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K;break;case"accentBorderCallout1":case"accentCallout1":y=="accentBorderCallout1"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout2":case"accentCallout2":y=="accentBorderCallout2"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout3":case"accentCallout3":y=="accentBorderCallout3"?pn=!0:pn=!1,pn=!0,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ol=112963*ke,fl=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ol/ie,_e=u*fl/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightRibbon":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=5e4*ke,Te,te=5e4*ke,at,Pe=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=33333*ke,ce=1e5*ke,_t=2e5*ke,kr=4e5*ke,Ie=Math.min(u,h),Ke,nt,ue,i2,vt,Me,D,_e,Re,Ze,Jo,ll,N1,Rd,z1,Bd,ul,cl,Ve,q,se,G,K,Br=u/32,Z=h/2,x=u/2;Ke=Pe<0?0:Pe>ie?ie:Pe,nt=ce-Ke,ue=F<0?0:F>nt?nt:F,i2=x-Br,vt=ce*i2/Ie,Me=te<0?0:te>vt?vt:te,D=Ie*Me/ce,_e=u-D,Re=h*ue/_t,Ze=h*Ke/-_t,Jo=Z+Ze-Re,ll=Z+Re-Ze,N1=Jo+Re,Rd=h-N1,z1=N1*2,Bd=h-z1,ul=z1-Jo,cl=h-ul,Ve=Ke*Ie/kr,q=x-Br,se=x+Br,G=Jo+Ve,K=cl-Ve,ze="M0,"+N1+"L"+D+",0L"+D+","+Jo+"L"+x+","+Jo+ve(x,G,Br,Ve,270,450,!1).replace("M","L")+ve(x,K,Br,Ve,270,90,!1).replace("M","L")+"L"+_e+","+cl+"L"+_e+","+Bd+"L"+u+","+Rd+"L"+_e+","+h+"L"+_e+","+ll+"L"+x+","+ll+ve(x,ll-Ve,Br,Ve,90,180,!1).replace("M","L")+"L"+q+","+ul+"L"+D+","+ul+"L"+D+","+z1+" zM"+se+","+G+"L"+se+","+cl+"M"+q+","+K+"L"+q+","+ul,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ribbon":case"ribbon2":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=16667*w,Te,te=5e4*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ie=25e3*w,ce=33333*w,_t=75e3*w,kr=1e5*w,Xa=2e5*w,ya=4e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32,ue,Me,Tr,he,q,qt,se,Mt,He,qe,_e,mt,G,K,de,ne,Ve,st;if(ue=F<0?0:F>ce?ce:F,Me=te<ie?ie:te>_t?_t:te,Tr=ut-Jn,he=u*Me/Xa,q=x-he,qt=x+he,se=q+Br,Mt=qt-Br,He=q+Jn,qe=qt-Jn,_e=He-Br,mt=qe+Br,Ve=h*ue/ya,y=="ribbon2"){var Re,Ze,Bt;Re=h*ue/Xa,G=rt-Re,Ze=h*ue/kr,K=rt-Ze,de=Zt+Ze,ne=(de+rt)/2,st=rt-Ve,Bt=G-Ve,ze="M"+Tt+","+rt+" L"+Jn+","+ne+" L"+Tt+","+de+" L"+q+","+de+" L"+q+","+Ve+ve(se,Ve,Br,Ve,180,270,!1).replace("M","L")+" L"+Mt+","+Zt+ve(Mt,Ve,Br,Ve,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+qt+","+de+" L"+ut+","+de+" L"+Tr+","+ne+" L"+ut+","+rt+" L"+mt+","+rt+ve(mt,st,Br,Ve,90,270,!1).replace("M","L")+" L"+Mt+","+G+ve(Mt,Bt,Br,Ve,90,-90,!1).replace("M","L")+" L"+se+","+K+ve(se,Bt,Br,Ve,270,90,!1).replace("M","L")+" L"+_e+","+G+ve(_e,st,Br,Ve,270,450,!1).replace("M","L")+" z M"+He+","+K+" L"+He+","+st+"M"+qe+","+st+" L"+qe+","+K+"M"+q+","+Bt+" L"+q+","+de+"M"+qt+","+de+" L"+qt+","+Bt}else if(y=="ribbon"){var Ye;G=h*ue/Xa,K=h*ue/kr,de=rt-K,ne=de/2,Ye=rt-Ve,st=K-Ve,ze="M"+Tt+","+Zt+" L"+_e+","+Zt+ve(_e,Ve,Br,Ve,270,450,!1).replace("M","L")+" L"+se+","+G+ve(se,st,Br,Ve,270,90,!1).replace("M","L")+" L"+Mt+","+K+ve(Mt,st,Br,Ve,90,-90,!1).replace("M","L")+" L"+mt+","+G+ve(mt,Ve,Br,Ve,90,270,!1).replace("M","L")+" L"+ut+","+Zt+" L"+Tr+","+ne+" L"+ut+","+de+" L"+qt+","+de+" L"+qt+","+Ye+ve(Mt,Ye,Br,Ve,0,90,!1).replace("M","L")+" L"+se+","+rt+ve(se,Ye,Br,Ve,90,180,!1).replace("M","L")+" L"+q+","+de+" L"+Tt+","+de+" L"+Jn+","+ne+" z M"+He+","+Ve+" L"+He+","+K+"M"+qe+","+K+" L"+qe+","+Ve+"M"+q+","+de+" L"+q+","+st+"M"+qt+","+st+" L"+qt+","+de}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"doubleWave":case"wave":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=y=="doubleWave"?6250*w:12500*w,Te,te=0;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ce=-1e4*w,_t=5e4*w,kr=1e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32;if(y=="doubleWave"){var ie=12500*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,Dd,Mt,Lt,se,Aa,_e,He,qe,mt,qt,ms,Tr,Ri,yi,wi,e0;ue=F<0?0:F>ie?ie:F,Me=te<ce?ce:te>kr?kr:te,G=h*ue/kr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,Dd=Kn>0?Kn:0,Mt=ut-Dd,Lt=(he+Mt)/6,se=q+Lt,Aa=(he+Mt)/3,_e=q+Aa,He=(q+Mt)/2,qe=He+Lt,mt=(qe+Mt)/2,qt=Tt+Dd,ms=ut+he,Tr=qt+Lt,Ri=qt+Aa,yi=(qt+ms)/2,wi=yi+Lt,e0=(wi+ms)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" C"+qe+","+K+" "+mt+","+ne+" "+Mt+","+G+" L"+ms+","+de+" C"+e0+","+st+" "+wi+","+Ye+" "+yi+","+de+" C"+Ri+","+st+" "+Tr+","+Ye+" "+qt+","+de+" z"}else if(y=="wave"){var Xa=2e4*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,sn,He,Lt,se,_e,qe,Tr,mt,Mt;ue=F<0?0:F>Xa?Xa:F,Me=te<ce?ce:te>kr?kr:te,G=h*ue/kr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,sn=Kn>0?Kn:0,He=ut-sn,Lt=(he+He)/3,se=q+Lt,_e=(se+He)/2,qe=Tt+sn,Tr=ut+he,mt=qe+Lt,Mt=(mt+Tr)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" L"+Tr+","+de+" C"+Mt+","+st+" "+mt+","+Ye+" "+qe+","+de+" z"}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipseRibbon":case"ellipseRibbon2":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var ze,ie=25e3*w,_t=75e3*w,kr=1e5*w,Xa=2e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,ue,Me,Xr,Ar,aa,Nd,Ke,he,q,se,_e,He,qe,Re,Ls,zt,yt,Qo,zd,zt,Xt,cr,Lr,Nr,nn,Yr,dl,ra,Cd;if(ue=F<0?0:F>kr?kr:F,Me=te<ie?ie:te>_t?_t:te,Xr=kr-ue,Ar=Xr/2,aa=ue-Ar,Nd=0>aa?0:aa,Ke=Pe<Nd?Nd:Pe>ue?ue:Pe,he=u*Me/Xa,q=x-he,se=q+Jn,_e=ut-se,He=ut-q,qe=ut-Jn,Re=h*Ke/kr,Ls=4*Re/u,zt=se*se/u,yt=se-zt,Qo=se/2,zd=ut-Qo,zt=h*ue/kr,Xt=zt-Re,cr=q*q/u,Lr=q-cr,Nr=Ls*Lr,nn=rt-zt,Yr=Re*14/16,dl=q/2,ra=Ls*dl,Cd=ut-dl,y=="ellipseRibbon"){var G,gs,ne,Hr,tr,Fo,K,Ye,st,ks,hl,Bt,Od,vr;G=Ls*yt,gs=Ls*Qo,ne=Nr+Xt,Hr=Re+Xt-ne,tr=Hr+Re,Fo=tr+Xt,K=(Yr+nn)/2,Ye=Nr+nn,st=ne+nn,ks=ra+nn,hl=Fo+nn,Bt=G+Xt,Od=zt+zt-Bt,vr=rt-Re,ze="M"+Tt+","+Zt+" Q"+Qo+","+gs+" "+se+","+G+" L"+q+","+ne+" Q"+x+","+Fo+" "+He+","+ne+" L"+_e+","+G+" Q"+zd+","+gs+" "+ut+","+Zt+" L"+qe+","+K+" L"+ut+","+nn+" Q"+Cd+","+ks+" "+He+","+Ye+" L"+He+","+st+" Q"+x+","+hl+" "+q+","+st+" L"+q+","+Ye+" Q"+dl+","+ks+" "+Tt+","+nn+" L"+Jn+","+K+" zM"+q+","+Ye+" L"+q+","+ne+"M"+He+","+ne+" L"+He+","+Ye+"M"+se+","+G+" L"+se+","+Bt+"M"+_e+","+Bt+" L"+_e+","+G}else if(y=="ellipseRibbon2"){var mr,G,s2,gs,cr,Nr,wn,ne,Hr,tr,xd,Fo,nn,Yr,Fa,K,Z0,Ye,W0,st,o2,ks,f2,hl,f0,Bt,l2,Od;mr=Ls*yt,G=rt-mr,s2=Ls*Qo,gs=rt-s2,wn=Nr+Xt,ne=rt-wn,Hr=Re+Xt-wn,tr=Hr+Re,xd=tr+Xt,Fo=rt-xd,Fa=(Yr+nn)/2,K=rt-Fa,Z0=Nr+nn,Ye=rt-Z0,W0=wn+nn,st=rt-W0,o2=ra+nn,ks=rt-o2,f2=xd+nn,hl=rt-f2,f0=mr+Xt,Bt=rt-f0,l2=zt+zt-f0,Od=rt-l2,ze="M"+Tt+","+rt+" L"+Jn+","+K+" L"+Tt+","+zt+" Q"+dl+","+ks+" "+q+","+Ye+" L"+q+","+st+" Q"+x+","+hl+" "+He+","+st+" L"+He+","+Ye+" Q"+Cd+","+ks+" "+ut+","+zt+" L"+qe+","+K+" L"+ut+","+rt+" Q"+zd+","+gs+" "+_e+","+G+" L"+He+","+ne+" Q"+x+","+Fo+" "+q+","+ne+" L"+se+","+G+" Q"+Qo+","+gs+" "+Tt+","+rt+" zM"+q+","+ne+" L"+q+","+Ye+"M"+He+","+Ye+" L"+He+","+ne+"M"+se+","+Bt+" L"+se+","+G+"M"+_e+","+G+" L"+_e+","+Bt}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":if(y==="bentConnector4"||y==="bentConnector5"){var zf=Ip(y,e,u,h);v+="<polyline points='"+zf.map(function(Vt){return Vt[0]+" "+Vt[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Ec(_,Be,We)+"/>";break}case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":var Q5=a5(L(b,["a:ext","attrs","cx"]),"x",m,u),F5=a5(L(b,["a:ext","attrs","cy"]),"y",m,h);v+="<line x1='0' y1='0' x2='"+Q5+"' y2='"+F5+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+Ec(_,Be,We),v+="/>";break;case"rightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=1-Qn/Fn}}v+=" <polygon points='"+u+" "+h/2+","+et*u+" 0,"+et*u+" "+je*h+",0 "+je*h+",0 "+(1-je)*h+","+et*u+" "+(1-je)*h+", "+et*u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+u+" "+(1-je)*h+","+u+" "+je*h+","+et*u+" "+je*h+", "+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrow":case"flowChartOffpageConnector":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}y=="flowChartOffpageConnector"&&(je=.5,et=.212),v+=" <polygon points='"+(.5-je)*u+" 0,"+(.5-je)*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+","+u+" "+(1-et)*h+","+(.5+je)*u+" "+(1-et)*h+", "+(.5+je)*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='"+u/2+" 0,0 "+et*h+","+(.5-je)*u+" "+et*h+","+(.5-je)*u+" "+h+","+(.5+je)*u+" "+h+","+(.5+je)*u+" "+et*h+", "+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+(1-et)*u+" "+(1-je)*h+","+(1-et)*u+" "+h+","+u+" "+h/2+", "+(1-et)*u+" 0,"+(1-et)*u+" "+je*h+","+et*u+" "+je*h+","+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upDownArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='"+u/2+" 0,0 "+et*h+","+je*u+" "+et*h+","+je*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+", "+u+" "+(1-et)*h+","+(1-je)*u+" "+(1-et)*h+","+(1-je)*u+" "+et*h+","+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=22500*w,Te,te=22500*w,at,Pe=22500*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,ne,de,Ye,st,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=x-he,He=x+he,Lt=it*ue/_t,se=x-Lt,_e=x+Lt,qe=u-D,K=Z-he,Ye=Z+he,ne=Z-Lt,de=Z+Lt,st=h-D;var ze="M0,"+Z+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+x+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+Z+" L"+qe+","+Ye+" L"+qe+","+de+" L"+_e+","+de+" L"+_e+","+st+" L"+He+","+st+" L"+x+","+h+" L"+q+","+st+" L"+se+","+st+" L"+se+","+de+" L"+D+","+de+" L"+D+","+Ye+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,Ze,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=x-he,He=x+he,Lt=it*ue/_t,se=x-Lt,_e=x+Lt,qe=u-D,Ze=it*Me/ie,K=h-Ze,de=h-he,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+x+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+de+" L"+qe+","+h+" L"+qe+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,ue,Me,Ke,D,q,Aa,Lt,se,_e,He,K,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,lt=ce-nt,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ie,q=u-he,K=h-he,Aa=it*Me/ce,_e=u-Aa,de=h-Aa,Lt=it*ue/_t,se=_e-Lt,He=_e+Lt,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+_e+",0 L"+u+","+D+" L"+He+","+D+" L"+He+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,ue,Me,Ke,Ge,D,he,q,Lt,se,_e,G,K,Ze,it=Math.min(u,h);F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>ie?Me=ie:Me=te,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,G=it*Ke/ce,Ge=it*Me/ie,D=u-Ge,Lt=it*Me/ce,se=u-Lt,he=it*ue/_t,q=se-he,_e=se+he,Ze=it*ue/ce,K=h-Ze;var ze="M0,"+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+se+",0 L"+u+","+G+" L"+_e+","+G+" L"+_e+","+h+" L0,"+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var ue,Me,Ke,_r,se,_e,ne,de,Ye,st,nt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe;var ot,oa,Oa,Bi,Ut,Ms,Gd,pl,wa,Es,vn,ot=it*ue/ce;oa=it*Me/ce,Oa=ot/2,Bi=oa-Oa,Ut=it*Ke/ce,Ms=u-Ut,Gd=h-Bi,pl=Ms<Gd?Ms:Gd,fr=ce*pl/it,pt<0?_r=0:pt>fr?_r=fr:_r=pt,wa=it*_r/ce,Es=wa-ot,vn=Es>0?Es:0,se=ot+vn,_e=u-Ut,ne=Bi+ot,de=ne+Bi,Ye=Bi+wa,st=ne+vn;var ze="M0,"+h+" L0,"+Ye+ve(wa,Ye,wa,wa,180,270,!1).replace("M","L")+" L"+_e+","+Bi+" L"+_e+",0 L"+u+","+oa+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+ve(se,st,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"uturnArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,jn,Dr=75e3*w,ie=25e3*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var ue,Me,Ke,_r,yn,zt,yt,cr,se,_e,He,qe,mt,Mt,qt,de,Ye,Ud,nt,lt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,yt=ue*it/h,cr=ce-yt,lt=cr*h/it,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,zt=Ke+ue,Ud=zt*it/h,Dr<Ud?yn=Ud:Dr>ce?yn=ce:yn=Dr;var ot,oa,Oa,Bi,Ut,Ms,pl,wa,Es,vn,ot=it*ue/ce;oa=it*Me/ce,Oa=ot/2,Bi=oa-Oa,Ye=h*yn/ce,Ut=it*Ke/ce,de=Ye-Ut,qt=u-Bi,Ms=qt/2,pl=Ms<de?Ms:de,fr=ce*pl/it,pt<0?_r=0:pt>fr?_r=fr:_r=pt,wa=it*_r/ce,Es=wa-ot,vn=Es>0?Es:0,se=ot+vn,Mt=u-oa,qe=Mt-oa,mt=qe+Bi,_e=qt-wa,He=mt-vn;let kh=(ot+mt)/2,Jk=(de+ot)/2;var ze="M0,"+h+" L0,"+wa+ve(wa,wa,wa,wa,180,270,!1).replace("M","L")+" L"+_e+",0"+ve(_e,wa,wa,wa,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+u+","+de+" L"+Mt+","+Ye+" L"+qe+","+de+" L"+mt+","+de+" L"+mt+","+se+ve(He,se,vn,vn,0,-90,!1).replace("M","L")+" L"+se+","+ot+ve(se,se,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"stripedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w,_t=84375*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,_e,He,sn,qe,C1,G,Re,K,vt,Z=h/2,it=Math.min(u,h);vt=_t*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,_e=it*5/32,sn=it*Me/ie,He=u-sn,Re=h*ue/ce,G=Z-Re,K=Z+Re;var jo=it/8,u2=it/16,c2=it/32,ze="M0,"+G+" L"+c2+","+G+" L"+c2+","+K+" L0,"+K+" z M"+u2+","+G+" L"+jo+","+G+" L"+jo+","+K+" L"+u2+","+K+" z M"+_e+","+G+" L"+He+","+G+" L"+He+",0 L"+u+","+Z+" L"+He+","+h+" L"+He+","+K+" L"+_e+","+K+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"notchedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,D,q,he,G,Re,K,vt,Z=h/2,xe=Z,it=Math.min(u,h);vt=ie*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,he=it*Me/ie,q=u-he,Re=h*ue/ce,G=Z-Re,K=Z+Re,D=Re*he/xe;var ze="M0,"+G+" L"+q+","+G+" L"+q+",0 L"+u+","+Z+" L"+q+","+h+" L"+q+","+K+" L0,"+K+" L"+D+","+Z+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"homePlate":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,ft,Z=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,Ge=it*Ne/ie,D=u-Ge;var ze="M0,0 L"+D+",0 L"+u+","+Z+" L"+D+","+h+" L0,"+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chevron":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,q,ft,Z=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,D=it*Ne/ie,q=u-D;var ze="M0,0 L"+q+",0 L"+u+","+Z+" L"+q+","+h+" L0,"+h+" L"+D+","+Z+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,Lt,se,q,D,Z=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=cnstVal-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=Z-Re,K=Z-Ze,ne=Z+Ze,de=Z+Re,Lt=Ie*Ke/ce,se=ut-Lt,q=u*_r/ce,D=q/2;var ze="M"+Tt+","+Zt+" L"+q+","+Zt+" L"+q+","+K+" L"+se+","+K+" L"+se+","+G+" L"+ut+","+Z+" L"+se+","+de+" L"+se+","+ne+" L"+q+","+ne+" L"+q+","+rt+" L"+Tt+","+rt+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Ge,he,D,q,se,_e,Xt,ne,K,G,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,Xt=Ie*Ke/ce,ne=rt-Xt,K=h*_r/ce,G=K/2;var ze="M"+Tt+","+Zt+" L"+ut+","+Zt+" L"+ut+","+K+" L"+se+","+K+" L"+se+","+ne+" L"+_e+","+ne+" L"+x+","+rt+" L"+D+","+ne+" L"+q+","+ne+" L"+q+","+K+" L"+Tt+","+K+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,D,he,q,se,Z=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=Z-Re,K=Z-Ze,ne=Z+Ze,de=Z+Re,D=Ie*Ke/ce,he=u*_r/ce,q=ut-he,se=(q+ut)/2;var ze="M"+Tt+","+Z+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+ut+","+Zt+" L"+ut+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Ge,he,D,q,se,_e,G,Ze,K,ne,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=Ie*Ke/ce,Ze=h*_r/ce,K=rt-Ze,ne=(K+rt)/2;var ze="M"+Tt+","+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+x+","+Zt+" L"+_e+","+G+" L"+se+","+G+" L"+se+","+K+" L"+ut+","+K+" L"+ut+","+rt+" L"+Tt+","+rt+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,D,_e,he,q,se,Z=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/Xe,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=Z-Re,K=Z-Ze,ne=Z+Ze,de=Z+Re,D=Ie*Ke/ce,_e=ut-D,he=u*_r/_t,q=x-he,se=x+he;var ze="M"+Tt+","+Z+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+se+","+Zt+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+G+" L"+ut+","+Z+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=18515*w,Te,te=18515*w,at,Pe=18515*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var Z=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h),Me,nt,ue,lt,Ke,yt,fr,_r,he,Lt,Ut,Ge,Re,Mt,q,mt,se,qe,_e,He,vr,K,Bt,ne,st,de,Ye;Me=te<0?0:te>ie?ie:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie-Me,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*2,fr=ce-yt,_r=pt<ue?ue:pt>fr?fr:pt,he=Ie*Me/ce,Lt=Ie*ue/_t,Ut=Ie*Ke/ce,Ge=u*_r/_t,Re=h*_r/_t,Mt=ut-Ut,q=x-Ge,mt=x+Ge,se=x-he,qe=x+he,_e=x-Lt,He=x+Lt,vr=rt-Ut,K=Z-Re,Bt=Z+Re,ne=Z-he,st=Z+he,de=Z-Lt,Ye=Z+Lt;var ze="M"+Tt+","+Z+" L"+Ut+","+ne+" L"+Ut+","+de+" L"+q+","+de+" L"+q+","+K+" L"+_e+","+K+" L"+_e+","+Ut+" L"+se+","+Ut+" L"+x+","+Zt+" L"+qe+","+Ut+" L"+He+","+Ut+" L"+He+","+K+" L"+mt+","+K+" L"+mt+","+de+" L"+Mt+","+de+" L"+Mt+","+ne+" L"+ut+","+Z+" L"+Mt+","+st+" L"+Mt+","+Ye+" L"+mt+","+Ye+" L"+mt+","+Bt+" L"+He+","+Bt+" L"+He+","+vr+" L"+qe+","+vr+" L"+x+","+rt+" L"+se+","+vr+" L"+_e+","+vr+" L"+_e+","+Bt+" L"+q+","+Bt+" L"+q+","+Ye+" L"+Ut+","+Ye+" L"+Ut+","+st+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedDownArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,Xe=u/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Yr,ra,Xr,Ar,br,lt,Ke,Ut,se,yt,cr,Lr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,At,n0,Ps,Ss,aa,fa,Wt,s0,mn,i0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Xe-zt,tr=Ht*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),br=Ar*h/tr,lt=ce*br/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=rt-Ut,At=Math.atan(Vn/Ut);var Hd=At*180/Math.PI;n0=-Hd,Ps=rt-br,Ss=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/br);var Zd=fa*180/Math.PI;Wt=Rt+Hd,s0=Rt-Zd,mn=Zd-It,i0=It+Zd;var ze="M"+qe+","+rt+" L"+_e+","+G+" L"+He+","+G+ve(Ht,h,Ht,h,Wt,Wt+n0,!1).replace("M","L")+" L"+se+","+Zt+ve(se,h,Ht,h,Rt,Rt+Hd,!1).replace("M","L")+" L"+(He+ot)+","+G+" L"+Mt+","+G+" zM"+se+","+Zt+ve(se,h,Ht,h,s0,s0+mn,!1).replace("M","L")+ve(Ht,h,Ht,h,bt,bt+i0,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedLeftArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,xe=h/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Yr,ra,Xr,Ar,yr,lt,Ke,Ut,ne,yt,cr,Lr,Nr,qn,Ye,Bt,Hr,Ka,de,vr,oa,st,D,At,n0,Ss,Ps,aa,fa,mn,i0,Is;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=xe-zt,tr=Ve*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),yr=Ar*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),qn=Nr*Ve/u,Ye=Ve+qn,Bt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Bt+Ka,oa=ma/2,st=rt-oa,D=Tt+Ut,At=Math.atan(qn/Ut),n0=-At,Ss=Tt+yr,Ps=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-At,i0=At+fa,Is=-fa;var Di,d2,q5,O1;Di=At*180/Math.PI,d2=mn*180/Math.PI,q5=i0*180/Math.PI,O1=Is*180/Math.PI;var ze="M"+ut+","+ne+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+" L"+Tt+","+Zt+ve(Tt,ne,u,Ve,Rt,Rt+It,!1).replace("M","L")+" L"+ut+","+ne+ve(Tt,ne,u,Ve,0,Di,!1).replace("M","L")+" L"+D+","+Bt+" L"+D+","+vr+" L"+Tt+","+st+" L"+D+","+de+" L"+D+","+Ye+ve(Tt,Ve,u,Ve,Di,Di+d2,!1).replace("M","L")+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+ve(Tt,ne,u,Ve,Rt,Rt+It,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,xe=h/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Yr,ra,Xr,Ar,yr,lt,Ke,Ut,ne,yt,cr,Lr,Nr,qn,Ye,Bt,Hr,Ka,de,vr,oa,st,D,At,Wt,n0,Ss,Ps,aa,fa,mn,i0,Is;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=xe-zt,tr=Ve*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),yr=Ar*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),qn=Nr*Ve/u,Ye=Ve+qn,Bt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Bt+Ka,oa=ma/2,st=rt-oa,D=ut-Ut,At=Math.atan(qn/Ut),Wt=Math.PI+0-At,n0=-At,Ss=ut-yr,Ps=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Math.PI/2,i0=Math.PI/2+fa,Is=Math.PI-fa;var Wd,h2,Di,qo;Wd=Wt*180/Math.PI,h2=n0*180/Math.PI,Di=At*180/Math.PI,qo=mn*180/Math.PI;var ze="M"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+h2,!1).replace("M","L")+" L"+D+","+Ye+" L"+D+","+de+" L"+ut+","+st+" L"+D+","+vr+" L"+D+","+Bt+ve(u,ne,u,Ve,Wd,Wd+Di,!1).replace("M","L")+" L"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+It,!1).replace("M","L")+" L"+ut+","+ot+ve(u,ne,u,Ve,Rt,Rt+qo,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Z=h/2,x=u/2,Xe=u/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Yr,ra,Xr,Ar,br,lt,Ke,Ut,se,yt,cr,Lr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,At,n0,Ps,Ss,aa,fa,mn,V5,Is,i0,s0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Xe-zt,tr=Ht*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),br=Ar*h/tr,lt=ce*br/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=Zt+Ut,At=Math.atan(Vn/Ut),n0=-At,Ps=Zt+br,Ss=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/br),mn=fa-At,V5=-mn,Is=Math.PI/2-At,i0=At+fa,s0=Math.PI/2-fa;var $d,qo,Di,qo;$d=s0*180/Math.PI,qo=mn*180/Math.PI,O1=Is*180/Math.PI,Di=At*180/Math.PI;var ze=ve(Ht,0,Ht,h,$d,$d+qo,!1)+" L"+He+","+G+" L"+_e+","+G+" L"+qe+","+Zt+" L"+Mt+","+G+" L"+mt+","+G+ve(se,0,Ht,h,O1,O1+Di,!1).replace("M","L")+" L"+Ht+","+rt+ve(Ht,0,Ht,h,It,bt,!1).replace("M","L")+" L"+ot+","+Zt+ve(se,0,Ht,h,bt,It,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F,Te,te,at,Pe;if(z!==void 0)if(z.constructor===Array)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4)))}else Se=L(z,["attrs","fmla"]),F=parseInt(Se.substr(4));var ie=5e4*w,ce=1e5*w,_t=2e5*w,Tn,x=u/2,Z=h/2,xe=h/2;if(y=="mathNotEqual"){z===void 0?(F=23520*w,te=110*Math.PI/180,Pe=11760*w):(F=F*w,te=te/6e4*Math.PI/180,Pe=Pe*w);var ue,p2,vl,lt,Ke,Re,Ze,Ge,D,Mt,K,ne,G,de,Vo,Ni,x1,U0,v2,mt,m2,qe,_2,He,b2,_e,L2,se,g2,q,s1,pd,hd,dd,cd,gv,ts,k2,M2,G1,U1,Xt,_n,H1,Z1,Yd,Xd,Ad,Kd,j5,Jd,Qd,Fd,qd,eb,bs=70*Math.PI/180,E2=110*Math.PI/180,kr=73490*w;ue=F<0?0:F>ie?ie:F,p2=te<bs?bs:te>E2?E2:te,vl=ue*2,lt=ce-vl,Ke=Pe<0?0:Pe>lt?lt:Pe,Re=h*ue/ce,Ze=h*Ke/_t,Ge=u*kr/_t,D=x-Ge,Mt=x+Ge,K=Z-Ze,ne=Z+Ze,G=K-Re,de=ne+Re,Vo=p2-Math.PI/2,Ni=xe*Math.tan(Vo),x1=Math.sqrt(Ni*Ni+xe*xe),U0=x1*Re/xe,v2=U0/2,mt=x+Ni-v2,m2=Ni*G/xe,qe=mt-m2,_2=Ni*K/xe,He=mt-_2,b2=Ni*ne/xe,_e=mt-b2,L2=Ni*de/xe,se=mt-L2,g2=Ni*2,q=mt-g2,s1=mt+U0,pd=qe+U0,hd=He+U0,dd=_e+U0,cd=se+U0,gv=q+U0,ts=Re*xe/x1,k2=mt+ts,M2=s1-ts,G1=Vo>0?k2:s1,U1=Vo>0?mt:M2,Xt=Re*Ni/x1,_n=-Xt,H1=Vo>0?Xt:0,Z1=Vo>0?0:_n,Yd=u-G1,Xd=u-U1,Ad=h-H1,Kd=h-Z1,j5=(G1+U1)/2,Jd=(Xd+Yd)/2,Qd=(H1+Z1)/2,Fd=(G+K)/2,qd=(ne+de)/2,eb=(Kd+Ad)/2,Tn="M"+D+","+G+" L"+qe+","+G+" L"+U1+","+Z1+" L"+G1+","+H1+" L"+pd+","+G+" L"+Mt+","+G+" L"+Mt+","+K+" L"+hd+","+K+" L"+dd+","+ne+" L"+Mt+","+ne+" L"+Mt+","+de+" L"+cd+","+de+" L"+Xd+","+Kd+" L"+Yd+","+Ad+" L"+se+","+de+" L"+D+","+de+" L"+D+","+ne+" L"+_e+","+ne+" L"+He+","+K+" L"+D+","+K+" z"}else if(y=="mathDivide"){z===void 0?(F=23520*w,te=5880*w,Pe=11760*w):(F=F*w,te=te*w,Pe=Pe*w);var ue,P2,Vd,jd,lt,Ke,S2,vt,Me,Re,I2,In,Ge,ne,de,Ne,K,G,Ye,D,se,q,kr=1e3*w,Xa=36745*w,ya=73490*w;ue=F<kr?kr:F>Xa?Xa:F,P2=-ue,Vd=(ya+P2)/4,jd=Xa*u/h,lt=Vd<jd?Vd:jd,Ke=Pe<kr?kr:Pe>lt?lt:Pe,S2=-4*Ke,vt=ya+S2-ue,Me=te<0?0:te>vt?vt:te,Re=h*ue/_t,I2=h*Me/ce,In=h*Ke/ce,Ge=u*ya/_t,ne=Z-Re,de=Z+Re,Ne=I2+In,K=ne-Ne,G=K-In,Ye=h-G,D=x-Ge,se=x+Ge,q=x-In;var It=90,Rt=270,An=x-Math.cos(Rt*Math.PI/180)*In,t0=G-Math.sin(Rt*Math.PI/180)*In,x0=x-Math.cos(Math.PI/2)*In,O0=Ye-Math.sin(Math.PI/2)*In;Tn="M"+x+","+G+ve(An,t0,In,In,Rt,Rt+360,!1).replace("M","L")+" z M"+x+","+Ye+ve(x0,O0,In,In,It,It+360,!1).replace("M","L")+" z M"+D+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+D+","+de+" z"}else if(y=="mathEqual"){z===void 0?(F=23520*w,te=11760*w):(F=F*w,te=te*w);var Xa=36745*w,ya=73490*w,ue,vl,eh,Me,Re,Ze,Ge,K,ne,G,de,D,q,Qd,Fd;ue=F<0?0:F>Xa?Xa:F,vl=ue*2,eh=ce-vl,Me=te<0?0:te>eh?eh:te,Re=h*ue/ce,Ze=h*Me/_t,Ge=u*ya/_t,K=Z-Ze,ne=Z+Ze,G=K-Re,de=ne+Re,D=x-Ge,q=x+Ge,Qd=(G+K)/2,Fd=(ne+de)/2,Tn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" zM"+D+","+ne+" L"+q+","+ne+" L"+q+","+de+" L"+D+","+de+" z"}else if(y=="mathMinus"){z===void 0?F=23520*w:F=F*w;var ya=73490*w,ue,Re,Ge,G,K,D,q;ue=F<0?0:F>ce?ce:F,Re=h*ue/_t,Ge=u*ya/_t,G=Z-Re,K=Z+Re,D=x-Ge,q=x+Ge,Tn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" z"}else if(y=="mathMultiply"){z===void 0?F=23520*w:F=F*w;var ya=51965*w,ue,ot,Ne,th,rh,ah,nh,T2,ih,W1,$1,sh,oh,ii,si,Ra,xa,y2,w2,Bn,ef,Rn,R2,fh,Va,B2,oi,ni,D2,Jd,qd,Ie=Math.min(u,h);ue=F<0?0:F>ya?ya:F,ot=Ie*ue/ce,Ne=Math.atan(h/u),th=1*Math.sin(Ne),rh=1*Math.cos(Ne),ah=1*Math.tan(Ne),nh=Math.sqrt(u*u+h*h),T2=nh*ya/ce,ih=nh-T2,W1=rh*ih/2,$1=th*ih/2,sh=th*ot/2,oh=rh*ot/2,ii=W1-sh,si=$1+oh,Ra=W1+sh,xa=$1-oh,y2=x-Ra,w2=y2*ah,Bn=w2+xa,ef=u-Ra,Rn=u-ii,R2=Z-si,fh=R2/ah,Va=Rn-fh,B2=ii+fh,oi=h-si,ni=h-xa,D2=h-Bn,Jd=u-W1,qd=h-$1,Tn="M"+ii+","+si+" L"+Ra+","+xa+" L"+x+","+Bn+" L"+ef+","+xa+" L"+Rn+","+si+" L"+Va+","+Z+" L"+Rn+","+oi+" L"+ef+","+ni+" L"+x+","+D2+" L"+Ra+","+ni+" L"+ii+","+oi+" L"+B2+","+Z+" z"}else if(y=="mathPlus"){z===void 0?F=23520*w:F=F*w;var ya=73490*w,Ie=Math.min(u,h),ue,Ge,Re,he,D,q,se,_e,G,K,ne,de;ue=F<0?0:F>ya?ya:F,Ge=u*ya/_t,Re=h*ya/_t,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=Z-Re,K=Z-he,ne=Z+he,de=Z+Re,Tn="M"+D+","+K+" L"+q+","+K+" L"+q+","+G+" L"+se+","+G+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+q+","+de+" L"+q+","+ne+" L"+D+","+ne+" z"}v+="<path d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=2e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ie=Math.min(u,h),ft,Ne,G,K,ne,Tn;(y=="flowChartMagneticDisk"||y=="flowChartMagneticDrum")&&(we=5e4*w),ft=ie*h/Ie,Ne=we<0?0:we>ft?ft:we,G=Ie*Ne/ce,K=G+G,ne=h-G;var bt=180,Xe=u/2,H0="";y=="flowChartMagneticDrum"&&(H0="transform='rotate(90 "+u/2+","+h/2+")'"),Tn=ve(Xe,G,Xe,G,0,bt,!1)+ve(Xe,G,Xe,G,bt,bt+bt,!1).replace("M","L")+" L"+u+","+ne+ve(Xe,ne,Xe,G,0,bt,!1).replace("M","L")+" L0,"+G,v+="<path "+H0+" d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"swooshArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=25e3*ke,Te,te=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ie=1*ke,ce=7e4*ke,_t=75e3*ke,kr=1e5*ke,Ie=Math.min(u,h),jo=Ie/8,lh=h/6,ue,vt,Me,uh,N2,Ra,xa,ch,dh,_i,Ge,Ln,Va,Rn,$0,Ze,z2,Xt,Nl,_n,C2,O2,zi,x2,G2;ue=F<ie?ie:F>_t?_t:F,vt=ce*u/Ie,Me=te<0?0:te>vt?vt:te,uh=h*ue/kr,N2=Ie*Me/kr,Ra=u-N2,xa=jo,ch=Math.PI/2/14,dh=jo*Math.tan(ch),_i=Ra-dh,Ge=uh*Math.tan(ch),Ln=xa+uh,Va=Ra+Ge,Rn=Va+dh,$0=Ln+jo,Ze=$0-0,z2=Ze/2,Xt=h/20,Nl=z2-Xt,_n=lh,C2=lh+_n,O2=u/6,zi=lh/2,x2=Ln+zi,G2=u/4;var Tn="M0,"+h+" Q"+O2+","+C2+" "+Ra+","+xa+" L"+_i+",0 L"+u+","+Nl+" L"+Rn+","+$0+" L"+Va+","+Ln+" Q"+G2+","+x2+" 0,"+h+" z";v+="<path d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"circularArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=1142319/6e4*Math.PI/180,at,Pe=20457681/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var Z=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Xe=u/2,xe=h/2,Ie=Math.min(u,h),yn,nt,ue,Qa,Wt,ot,Ca,Oa,ea,ta,_a,ba,ei,ti,Ts,ys,ri,ai,ws,ni,Ur,mr,Fa,wn,Rs,Z0,W0,f0,_l,bl,Ll,gl,kl,l0,Ml,El,u0,Pl,c0,Sl,Il,Tl,hh,yl,qa,Bs,Ds,wl,Rl,ii,si,Ns,zs,Bl,Dl,Rn,$0,zl,Cl,Cs,oi,Ol,xl,Ra,xa,xt,Dt,Ot,Nt,La,Os,xs,fi,li,ui,bn,Gs,zt,yt,ci,cr,Lr,Nr,Hr,tr,Yr,Us,Gl,Hs,ra,Xr,Ar,Zs,aa,Ws,Ul,$s,Ys,Xs,Hl,As,Ks,Js,Qs,Fs,Zl,Wl,qs,$l,Yl,Vs,js,Va,Ln,di,hi,eo,to,pi,vi,ro,Xl,Ci,mi,Al,gn,Kl,Jl,ao,Ql,no,Fl,io,so,oo,ql,fo,Vl,lo,uo,co,jl,ho,po,vo,mo,_o,eu,tu,bo,ru,au,Lo,go,_i,Bn,d0,nu,on,h0,iu,Y0,ko,Mo,su,ou,bi,fu,lu,uu,cu,p0,du,hu,v0,pu,At,ie=25e3*w,ce=1e5*w,ml=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI;yn=Dr<0?0:Dr>ie?ie:Dr,nt=yn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<ml?ml:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*yn/ce,Oa=ot/2,ea=Xe+Oa-Ca,ta=xe+Oa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+Oa,ti=ba+Oa,Ts=ei*Math.sin(Qa),ys=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Ts,ys)),ai=ti*Math.sin(Math.atan2(Ts,ys)),ws=x+ri,ni=Z+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,wn=Ur*Ur,Rs=mr-wn,Z0=Fa-wn,W0=Rs*Z0/mr,f0=W0/Fa,_l=1-f0,bl=Math.sqrt(_l),Ll=Rs/ri,gl=Ll/ai,kl=(1+bl)/gl,l0=Math.atan2(kl,1),Ml=l0+Ja,El=l0>0?l0:Ml,u0=El-Qa,Pl=u0+Ja,c0=u0>0?u0:Pl,Sl=c0-bt,Il=c0-Ja,Tl=Sl>0?Il:c0,hh=Math.abs(Tl),yl=te<0?0:te>hh?hh:te,qa=Qa+yl,Bs=ei*Math.sin(qa),Ds=ti*Math.cos(qa),wl=ei*Math.cos(Math.atan2(Bs,Ds)),Rl=ti*Math.sin(Math.atan2(Bs,Ds)),ii=x+wl,si=Z+Rl,Ns=ea*Math.sin(Wt),zs=ta*Math.cos(Wt),Bl=ea*Math.cos(Math.atan2(Ns,zs)),Dl=ta*Math.sin(Math.atan2(Ns,zs)),Rn=x+Bl,$0=Z+Dl,zl=Ca*Math.cos(qa),Cl=Ca*Math.sin(qa),Cs=ws+zl,oi=ni+Cl,Ol=Ca*Math.cos(qa),xl=Ca*Math.sin(qa),Ra=ws-Ol,xa=ni-xl,xt=Ra-x,Dt=xa-Z,Ot=Cs-x,Nt=oi-Z,La=ea<ta?ea:ta,Os=xt*La/ea,xs=Dt*La/ta,fi=Ot*La/ea,li=Nt*La/ta,ui=fi-Os,bn=li-xs,Gs=Math.sqrt(ui*ui+bn*bn),zt=Os*li,yt=fi*xs,ci=zt-yt,cr=La*La,Lr=Gs*Gs,Nr=cr*Lr,Hr=ci*ci,tr=Nr-Hr,Yr=tr>0?tr:0,Us=Math.sqrt(Yr),Gl=bn*-1,Hs=Gl>0?-1:1,ra=Hs*ui,Xr=ra*Us,Ar=ci*bn,Zs=(Ar+Xr)/Lr,aa=Ar-Xr,Ws=aa/Lr,Ul=Math.abs(bn),$s=Ul*Us,Ys=ci*ui/-1,Xs=(Ys+$s)/Lr,Hl=Ys-$s,As=Hl/Lr,Ks=fi-Zs,Js=fi-Ws,Qs=li-Xs,Fs=li-As,Zl=Math.sqrt(Ks*Ks+Qs*Qs),Wl=Math.sqrt(Js*Js+Fs*Fs),qs=Wl-Zl,$l=qs>0?Zs:Ws,Yl=qs>0?Xs:As,Vs=$l*ea/La,js=Yl*ta/La,Va=x+Vs,Ln=Z+js,di=xt*Ur/_a,hi=Dt*Ur/ba,eo=Ot*Ur/_a,to=Nt*Ur/ba,pi=eo-di,vi=to-hi,ro=Math.sqrt(pi*pi+vi*vi),Xl=di*to,Ci=eo*hi,mi=Xl-Ci,Al=Ur*Ur,gn=ro*ro,Kl=Al*gn,Jl=mi*mi,ao=Kl-Jl,Ql=ao>0?ao:0,no=Math.sqrt(Ql),Fl=Hs*pi,io=Fl*no,so=mi*vi,oo=(so+io)/gn,ql=so-io,fo=ql/gn,Vl=Math.abs(vi),lo=Vl*no,uo=mi*pi/-1,co=(uo+lo)/gn,jl=uo-lo,ho=jl/gn,po=di-oo,vo=di-fo,mo=hi-co,_o=hi-ho,eu=Math.sqrt(po*po+mo*mo),tu=Math.sqrt(vo*vo+_o*_o),bo=tu-eu,ru=bo>0?oo:fo,au=bo>0?co:ho,Lo=ru*_a/Ur,go=au*ba/Ur,_i=x+Lo,Bn=Z+go,d0=Math.atan2(go,Lo),nu=d0+Ja,on=d0>0?d0:nu,h0=Wt-on,iu=h0-Ja,Y0=h0>0?iu:h0,ko=Va-_i,Mo=Ln-Bn,su=Math.sqrt(ko*ko+Mo*Mo),ou=su/2,bi=ou-Ca,fu=bi>0?Va:Cs,lu=bi>0?Ln:oi,uu=bi>0?_i:Ra,cu=bi>0?Bn:xa,p0=Math.atan2(js,Vs),du=p0+Ja,hu=p0>0?p0:du,v0=hu-Wt,pu=v0+Ja,At=v0>0?v0:pu;var Y1=Wt*180/Math.PI,Li=Y1+At*180/Math.PI,vu=on*180/Math.PI,Lh=Y0*180/Math.PI,gh=vu+Lh,ze=ve(u/2,h/2,ea,ta,Y1,Li,!1)+" L"+fu+","+lu+" L"+ii+","+si+" L"+uu+","+cu+" L"+_i+","+Bn+ve(u/2,h/2,_a,ba,vu,gh,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftCircularArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=-1142319/6e4*Math.PI/180,at,Pe=1142319/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var Z=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Xe=u/2,xe=h/2,Ie=Math.min(u,h),ie=25e3*w,ce=1e5*w,ml=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI,yn,nt,ue,Qa,Wt,ot,Ca,Oa,ea,ta,_a,ba,ei,ti,Ts,ys,ri,ai,ws,ni,Ur,mr,Fa,wn,Rs,Z0,W0,f0,_l,bl,Ll,gl,kl,l0,Ml,El,u0,Pl,c0,Sl,Il,Tl,U2,ph,H2,Me,yl,qa,Bs,Ds,wl,Rl,ii,si,Ns,zs,Bl,Dl,Rn,$0,vh,mh,Z2,W2,ef,Nl,zl,Cl,Cs,oi,Ol,xl,Ra,xa,xt,Dt,Ot,Nt,La,Os,xs,fi,li,ui,bn,Gs,zt,yt,ci,cr,Lr,Nr,Hr,tr,Yr,Us,Gl,Hs,ra,Xr,Ar,Zs,aa,Ws,Ul,$s,Ys,Xs,Hl,As,Ks,Js,Qs,Fs,Zl,Wl,qs,$l,Yl,Vs,js,Va,Ln,di,hi,eo,to,pi,vi,ro,Xl,Ci,mi,Al,gn,Kl,Jl,ao,Ql,no,Fl,io,so,oo,ql,fo,Vl,lo,uo,co,jl,ho,po,vo,mo,_o,eu,tu,bo,ru,au,Lo,go,_i,Bn,d0,nu,_h,h0,iu,bh,on,Y0,ko,Mo,su,ou,bi,fu,lu,uu,cu,p0,du,hu,v0,pu,At,$2;yn=Dr<0?0:Dr>ie?ie:Dr,nt=yn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<ml?ml:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*yn/ce,Oa=ot/2,ea=Xe+Oa-Ca,ta=xe+Oa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+Oa,ti=ba+Oa,Ts=ei*Math.sin(Qa),ys=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Ts,ys)),ai=ti*Math.sin(Math.atan2(Ts,ys)),ws=x+ri,ni=Z+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,wn=Ur*Ur,Rs=mr-wn,Z0=Fa-wn,W0=Rs*Z0/mr,f0=W0/Fa,_l=1-f0,bl=Math.sqrt(_l),Ll=Rs/ri,gl=Ll/ai,kl=(1+bl)/gl,l0=Math.atan2(kl,1),Ml=l0+Ja,El=l0>0?l0:Ml,u0=El-Qa,Pl=u0+Ja,c0=u0>0?u0:Pl,Sl=c0-bt,Il=c0-Ja,Tl=Sl>0?Il:c0,U2=Math.abs(Tl),ph=U2*-1,H2=Math.abs(te),Me=H2*-1,yl=Me<ph?ph:Me>0?0:Me,qa=Qa+yl,Bs=ei*Math.sin(qa),Ds=ti*Math.cos(qa),wl=ei*Math.cos(Math.atan2(Bs,Ds)),Rl=ti*Math.sin(Math.atan2(Bs,Ds)),ii=x+wl,si=Z+Rl,Ns=ea*Math.sin(Wt),zs=ta*Math.cos(Wt),Bl=ea*Math.cos(Math.atan2(Ns,zs)),Dl=ta*Math.sin(Math.atan2(Ns,zs)),Rn=x+Bl,$0=Z+Dl,vh=_a*Math.sin(Wt),mh=ba*Math.cos(Wt),Z2=_a*Math.cos(Math.atan2(vh,mh)),W2=ba*Math.sin(Math.atan2(vh,mh)),ef=x+Z2,Nl=Z+W2,zl=Ca*Math.cos(qa),Cl=Ca*Math.sin(qa),Cs=ws+zl,oi=ni+Cl,Ol=Ca*Math.cos(qa),xl=Ca*Math.sin(qa),Ra=ws-Ol,xa=ni-xl,xt=Ra-x,Dt=xa-Z,Ot=Cs-x,Nt=oi-Z,La=ea<ta?ea:ta,Os=xt*La/ea,xs=Dt*La/ta,fi=Ot*La/ea,li=Nt*La/ta,ui=fi-Os,bn=li-xs,Gs=Math.sqrt(ui*ui+bn*bn),zt=Os*li,yt=fi*xs,ci=zt-yt,cr=La*La,Lr=Gs*Gs,Nr=cr*Lr,Hr=ci*ci,tr=Nr-Hr,Yr=tr>0?tr:0,Us=Math.sqrt(Yr),Gl=bn*-1,Hs=Gl>0?-1:1,ra=Hs*ui,Xr=ra*Us,Ar=ci*bn,Zs=(Ar+Xr)/Lr,aa=Ar-Xr,Ws=aa/Lr,Ul=Math.abs(bn),$s=Ul*Us,Ys=ci*ui/-1,Xs=(Ys+$s)/Lr,Hl=Ys-$s,As=Hl/Lr,Ks=fi-Zs,Js=fi-Ws,Qs=li-Xs,Fs=li-As,Zl=Math.sqrt(Ks*Ks+Qs*Qs),Wl=Math.sqrt(Js*Js+Fs*Fs),qs=Wl-Zl,$l=qs>0?Zs:Ws,Yl=qs>0?Xs:As,Vs=$l*ea/La,js=Yl*ta/La,Va=x+Vs,Ln=Z+js,di=xt*Ur/_a,hi=Dt*Ur/ba,eo=Ot*Ur/_a,to=Nt*Ur/ba,pi=eo-di,vi=to-hi,ro=Math.sqrt(pi*pi+vi*vi),Xl=di*to,Ci=eo*hi,mi=Xl-Ci,Al=Ur*Ur,gn=ro*ro,Kl=Al*gn,Jl=mi*mi,ao=Kl-Jl,Ql=ao>0?ao:0,no=Math.sqrt(Ql),Fl=Hs*pi,io=Fl*no,so=mi*vi,oo=(so+io)/gn,ql=so-io,fo=ql/gn,Vl=Math.abs(vi),lo=Vl*no,uo=mi*pi/-1,co=(uo+lo)/gn,jl=uo-lo,ho=jl/gn,po=di-oo,vo=di-fo,mo=hi-co,_o=hi-ho,eu=Math.sqrt(po*po+mo*mo),tu=Math.sqrt(vo*vo+_o*_o),bo=tu-eu,ru=bo>0?oo:fo,au=bo>0?co:ho,Lo=ru*_a/Ur,go=au*ba/Ur,_i=x+Lo,Bn=Z+go,d0=Math.atan2(go,Lo),nu=d0+Ja,_h=d0>0?d0:nu,h0=Wt-_h,iu=h0+Ja,bh=h0>0?h0:iu,on=_h+bh,Y0=-bh,ko=Va-_i,Mo=Ln-Bn,su=Math.sqrt(ko*ko+Mo*Mo),ou=su/2,bi=ou-Ca,fu=bi>0?Va:Cs,lu=bi>0?Ln:oi,uu=bi>0?_i:Ra,cu=bi>0?Bn:xa,p0=Math.atan2(js,Vs),du=p0+Ja,hu=p0>0?p0:du,v0=hu-Wt,pu=v0-Ja,At=v0>0?pu:v0,$2=Wt+At;var Y1=$2*180/Math.PI,Li=Wt*180/Math.PI,vu=on*180/Math.PI,Lh=Y0*180/Math.PI,gh=vu+Lh,ze="M"+Rn+","+$0+" L"+ef+","+Nl+ve(u/2,h/2,_a,ba,vu,gh,!1).replace("M","L")+" L"+uu+","+cu+" L"+ii+","+si+" L"+fu+","+lu+" L"+Va+","+Ln+ve(u/2,h/2,ea,ta,Y1,Li,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":console.log(y," -unsupported shape type.");break;default:console.warn("Undefine shape type.("+y+")")}v+="</svg>",v+="<div class='block "+Tp(e,t,a,o)+" "+yp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),v+=await Ic(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>"}else if(I!==void 0){var tb=L(I,["a:pathLst"]),tf=L(tb,["a:path"]);let kh=tf.attrs||{};var rb=Et(kh.w,21600),ab=Et(kh.h,21600),rf=1/rb*u,af=1/ab*h,nf=L(tf,["a:moveTo"])||[],Kk=nf.length,Y2=tf["a:lnTo"],X2=tf["a:cubicBezTo"],A2=tf["a:arcTo"],K2=L(tf,["a:close"]);Array.isArray(nf)||(nf=[nf]);var ir=[];if(nf.length>0){if(Mr(nf).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&Mr(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},mu=ga.x,_u=ga.y,sf=ga.order;Ba.type="movto",Ba.order=Et(sf,ir.length),Ba.x=mu,Ba.y=_u,ir.push(Ba)}})}),Y2!==void 0&&Mr(Y2).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&Mr(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},mu=ga.x,_u=ga.y,sf=ga.order;Ba.type="lnto",Ba.order=Et(sf,ir.length),Ba.x=mu,Ba.y=_u,ir.push(Ba)}})}),X2!==void 0){var J2=[];Mr(X2).forEach(function(Vt){J2.push(Vt["a:pt"])}),J2.forEach(function(Vt){Vt=Mr(Vt);var zr={};zr.type="cubicBezTo",zr.order=Et(L(Vt[0],["attrs","order"]),ir.length);var gi=[];Vt.forEach(function(ga){var Ba=ga.attrs||{};Ba.x!==void 0&&Ba.y!==void 0&&gi.push({x:Ba.x,y:Ba.y})}),gi.length===3&&(zr.cubBzPt=gi,ir.push(zr))})}A2!==void 0&&Mr(A2).forEach(function(Vt){var zr=Vt.attrs||{};if(!(zr.hR===void 0||zr.wR===void 0||zr.stAng===void 0||zr.swAng===void 0)){var gi=zr.order,ga=zr.hR,Ba=zr.wR,mu=zr.stAng,_u=zr.swAng,sf=0,im=0,Mh=L(Vt,["a:pt","attrs"]);Mh!==void 0&&(sf=Mh.x,im=Mh.y);var m0={};m0.type="arcTo",m0.order=Et(gi,ir.length),m0.hR=ga,m0.wR=Ba,m0.stAng=mu,m0.swAng=_u,m0.shftX=sf,m0.shftY=im,ir.push(m0)}}),K2!==void 0&&Mr(K2).forEach(function(Vt){var zr=Vt.attrs||{},gi=zr.order,ga={};ga.type="close",ga.order=Et(gi,ir.length),ir.push(ga)}),ir.sort(function(Vt,zr){return Vt.order-zr.order});for(var Pr=0,wf=!1,Oe="";Pr<ir.length;){if(ir[Pr].type=="movto"){var Q2=Et(ir[Pr].x,NaN)*rf,F2=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(Q2)||!Number.isFinite(F2)){Pr++;continue}Oe+=" M"+Q2+","+F2}else if(ir[Pr].type=="lnto"){var q2=Et(ir[Pr].x,NaN)*rf,V2=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(q2)||!Number.isFinite(V2)){Pr++;continue}Oe+=" L"+q2+","+V2}else if(ir[Pr].type=="cubicBezTo"){var j2=Et(ir[Pr].cubBzPt[0].x,NaN)*rf,em=Et(ir[Pr].cubBzPt[0].y,NaN)*af,tm=Et(ir[Pr].cubBzPt[1].x,NaN)*rf,rm=Et(ir[Pr].cubBzPt[1].y,NaN)*af,am=Et(ir[Pr].cubBzPt[2].x,NaN)*rf,nm=Et(ir[Pr].cubBzPt[2].y,NaN)*af;if(![j2,em,tm,rm,am,nm].every(Number.isFinite)){Pr++;continue}Oe+=" C"+j2+","+em+" "+tm+","+rm+" "+am+","+nm}else if(ir[Pr].type=="arcTo"){var Ve=Et(ir[Pr].hR,NaN)*rf,Ht=Et(ir[Pr].wR,NaN)*af,Wt=Et(ir[Pr].stAng,NaN)/6e4,At=Et(ir[Pr].swAng,NaN)/6e4;if(![Ve,Ht,Wt,At].every(Number.isFinite)){Pr++;continue}var Li=Wt+At;Oe+=ve(Ht,Ve,Ht,Ve,Wt,Li,!1)}else ir[Pr].type=="quadBezTo"?console.log("custShapType: quadBezTo - TODO"):ir[Pr].type=="close"&&(Oe+="z");Pr++}Oe&&!/NaN/.test(Oe)&&(v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+(E===void 0?"":E.color)+"' stroke-width='"+(E===void 0?"":E.width)+"' stroke-dasharray='"+(E===void 0?"":E.strokeDasharray)+"' ",v+="/>")}v+="</svg>",v+="<div class='block "+Tp(e,t,a,o)+" "+yp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),v+=await Ic(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>"}else v+="<div class='block "+Tp(e,t,a,o)+" "+yp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+Si(e,r,!1,"shape",f)+await Qu(e,r,!1,f,g)+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(v+=await Ic(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>";return v}function Ng(e,r,t,a,s){var n=parseInt(a),i=parseInt(t),o=parseInt(e),d=o/2,f=n-i;f<0&&(f=360+f),f=Math.min(Math.max(f,0),360);var c=Math.cos(2*Math.PI/(360/f)),l=Math.sin(2*Math.PI/(360/f)),g,m,p;if(s)g=f<=180?0:1,m="M"+d+","+d+" L"+d+",0 A"+d+","+d+" 0 "+g+",1 "+(d+l*d)+","+(d-c*d)+" z",p="rotate("+(i-270)+", "+d+", "+d+")";else{g=f<=180?0:1;var b=d,k=r/2;m="M"+b+",0 A"+k+","+b+" 0 "+g+",1 "+(k+l*k)+","+(b-c*b),p="rotate("+(i+90)+", "+d+", "+d+")"}return[m,p]}function n5(e,r,t){var a=r,s=1.5*a,n=s;let i=s,o=t,d=s,f=a,c=50,l=35,g=2*Math.PI,m=g/(o*2),p=m*l*.005,b=m*c*.005,k=m,M=!1;for(var v=" M"+(n+d*Math.cos(b))+" "+(i+d*Math.sin(b));k<=g+m;k+=m)M?(v+=" L"+(n+f*Math.cos(k-p))+","+(i+f*Math.sin(k-p)),v+=" L"+(n+d*Math.cos(k+b))+","+(i+d*Math.sin(k+b))):(v+=" L"+(n+d*Math.cos(k-b))+","+(i+d*Math.sin(k-b)),v+=" L"+(n+f*Math.cos(k+p))+","+(i+f*Math.sin(k+p))),M=!M;return v+=" ",v}function ve(e,r,t,a,s,n,i){var o,d=s;if(n>=s)for(;d<=n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M"+c+" "+l),o+=" L"+c+" "+l,d++}else for(;d>n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M "+c+" "+l),o+=" L "+c+" "+l,d--}return o+=i?" z":"",o}function zg(e,r,t){var a=Mr(L(e,["a:pathLst","a:path"])),s=[];return a.forEach(function(n){var i=n.attrs||{},o=Et(i.w,21600),d=Et(i.h,21600),f=o?1/o*r:0,c=d?1/d*t:0,l=[];Mr(L(n,["a:moveTo"])).forEach(function(m){Mr(L(m,["a:pt"])).forEach(function(p){var b=p.attrs||{};b.x===void 0||b.y===void 0||l.push({type:"movto",order:Et(b.order,l.length),x:b.x,y:b.y})})}),Mr(n["a:lnTo"]).forEach(function(m){Mr(L(m,["a:pt"])).forEach(function(p){var b=p.attrs||{};b.x===void 0||b.y===void 0||l.push({type:"lnto",order:Et(b.order,l.length),x:b.x,y:b.y})})}),Mr(n["a:cubicBezTo"]).forEach(function(m){var p=[];Mr(m["a:pt"]).forEach(function(b){var k=b.attrs||{};k.x!==void 0&&k.y!==void 0&&p.push({x:k.x,y:k.y})}),p.length===3&&l.push({type:"cubicBezTo",order:Et(L(m,["attrs","order"]),l.length),cubBzPt:p})}),Mr(n["a:arcTo"]).forEach(function(m){var p=m.attrs||{};p.hR===void 0||p.wR===void 0||p.stAng===void 0||p.swAng===void 0||l.push({type:"arcTo",order:Et(p.order,l.length),hR:p.hR,wR:p.wR,stAng:p.stAng,swAng:p.swAng})}),Mr(n["a:close"]).forEach(function(m){l.push({type:"close",order:Et(L(m,["attrs","order"]),l.length)})}),l.sort(function(m,p){return m.order-p.order});var g="";l.forEach(function(m){if(m.type=="movto"){var p=Et(m.x,NaN)*f,b=Et(m.y,NaN)*c;Number.isFinite(p)&&Number.isFinite(b)&&(g+=" M"+Za(p)+","+Za(b))}else if(m.type=="lnto"){var k=Et(m.x,NaN)*f,M=Et(m.y,NaN)*c;Number.isFinite(k)&&Number.isFinite(M)&&(g+=" L"+Za(k)+","+Za(M))}else if(m.type=="cubicBezTo"){var v=Et(m.cubBzPt[0].x,NaN)*f,_=Et(m.cubBzPt[0].y,NaN)*c,y=Et(m.cubBzPt[1].x,NaN)*f,I=Et(m.cubBzPt[1].y,NaN)*c,C=Et(m.cubBzPt[2].x,NaN)*f,R=Et(m.cubBzPt[2].y,NaN)*c;[v,_,y,I,C,R].every(Number.isFinite)&&(g+=" C"+Za(v)+","+Za(_)+" "+Za(y)+","+Za(I)+" "+Za(C)+","+Za(R))}else if(m.type=="arcTo"){var B=Et(m.hR,NaN)*f,Y=Et(m.wR,NaN)*c,T=Et(m.stAng,NaN)/6e4,O=Et(m.swAng,NaN)/6e4;[B,Y,T,O].every(Number.isFinite)&&(g+=ve(Y,B,Y,B,T,T+O,!1))}else m.type=="close"&&(g+=" Z")}),g&&!/NaN/.test(g)&&s.push(g)}),s}function Cg(e,r,t,a,s,n){var i,o,d,f;n=="cornr1"?(i=0,o=0,d=0,f=t):n=="cornr2"?(i=t,o=a,d=a,f=t):n=="cornrAll"?(i=t,o=t,d=t,f=t):n=="diag"&&(i=t,o=a,d=t,f=a);var c;return s=="round"?c="M0,"+(r/2+(1-o)*(r/2))+" Q0,"+r+" "+o*(e/2)+","+r+" L"+(e/2+(1-d)*(e/2))+","+r+" Q"+e+","+r+" "+e+","+(r/2+r/2*(1-d))+"L"+e+","+r/2*f+" Q"+e+",0 "+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 Q0,0 0,"+r/2*i+" z":s=="snip"&&(c="M0,"+i*(r/2)+" L0,"+(r/2+r/2*(1-o))+"L"+o*(e/2)+","+r+" L"+(e/2+e/2*(1-d))+","+r+"L"+e+","+(r/2+r/2*(1-d))+" L"+e+","+f*(r/2)+"L"+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 z"),c}async function Og(e,r,t,a,s){var n="",i=!1,o=e.attrs.order,d=L(e,["p:blipFill","a:blip"]),f;t=="slideMasterBg"?f=r.masterResObj:t=="slideLayoutBg"?f=r.layoutResObj:f=r.slideResObj;var c=r.zip,l;for(var g of mm(d,f,c))try{if(l=await _5(Dp(g.target).toLowerCase(),await g.entry.async("arraybuffer")),l)break}catch(Ce){console.warn("Unable to decode embedded PPTX picture",Ce)}var m=L(e,["p:spPr","a:xfrm"]);if(m===void 0){var p=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]),b=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","type"]);p!==void 0&&(m=L(r.slideLayoutTables,["idxTable",p,"p:spPr","a:xfrm"]))}var k=0,M=L(m,["attrs","rot"]);M!==void 0&&(k=Oo(M));var v=L(e,["p:nvPicPr","p:nvPr","a:videoFile"]),_=L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||"0",y="pptx-media-"+(r&&r.slideNumber||"0")+"-"+_,I,C,R,B,Y,T,O=!1,P=!1,J=Rc.mediaProcess;if(v!==void 0&J){I=v.attrs["r:link"],C=f[I].target;var re=Tk(C);re?(C=Ii(C),P=!0,O=!0,i=!0):(R=Dp(C).toLowerCase(),(R=="mp4"||R=="webm"||R=="ogg")&&(Y=await c.file(C).async("arraybuffer"),B=wc(R),T=y+"-video",j0.MsgQueue.push({id:T,kind:"video",mimeType:B,buffer:Y}),O=!0,i=!0))}var Q=L(e,["p:nvPicPr","p:nvPr","a:audioFile"]),ae,A,V,H,X,ge,me=!1,u;if(Q!==void 0&J&&(ae=Q.attrs["r:link"],A=f[ae].target,V=Dp(A).toLowerCase(),V=="mp3"||V=="wav"||V=="ogg")){X=await c.file(A).async("arraybuffer"),H=V=="ogg"?"audio/ogg":wc(V),ge=y+"-audio",j0.MsgQueue.push({id:ge,kind:"audio",mimeType:H,buffer:X});var h=parseInt(m["a:ext"].attrs.cx)*20,De=m["a:ext"].attrs.cy,Ue=parseInt(m["a:off"].attrs.x)/2.5,ee=m["a:off"].attrs.y;u={"a:ext":{attrs:{cx:h,cy:De}},"a:off":{attrs:{x:Ue,y:ee}}},me=!0,O=!0,i=!0}if(!l&&(v===void 0&&Q===void 0||!J||!O))return"";var fe=b5(e["p:blipFill"]),oe=pm(d,y+"-"+t+"-alpha"),kt=oe.style,dt=(If(L(m,["attrs","flipH"]))?" scaleX(-1)":"")+(If(L(m,["attrs","flipV"]))?" scaleY(-1)":""),S=[],Ee={width:100,height:100},pe=L(e,["p:spPr","a:custGeom"]);if(pe!==void 0&&m!==void 0){var W=L(m,["a:ext","attrs"])||{},N=Ma(W.cx,"x",s),j=Ma(W.cy,"y",s);Number.isFinite(N)&&Number.isFinite(j)&&N>0&&j>0&&(Ee={width:N,height:j},S=zg(pe,N,j))}if(n="<div class='block content' style='"+Xi(J&&me?u:m,e,void 0,void 0,a,s)+Ai(J&&me?u:m,void 0,void 0,s)+" z-index: "+o+";transform: rotate("+k+"deg)"+dt+";"+(v===void 0&&Q===void 0||!J||!O?fe.container+Bg(e):"")+"'>",v===void 0&&Q===void 0||!J||!O)if(n+=oe.definitions,S.length>0){var be="pptx_pic_clip_"+t+"_"+(r&&r.slideNumber||"0")+"_"+(L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||S.length),Le=Ee.width*fe.svg.x/100,E=Ee.height*fe.svg.y/100,Be=Ee.width*fe.svg.width/100,We=Ee.height*fe.svg.height/100;n+="<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 "+Za(Ee.width)+" "+Za(Ee.height)+"' preserveAspectRatio='none' style='display:block;width:100%;height:100%;overflow:hidden;'>",n+="<defs><clipPath id='"+be+"' clipPathUnits='userSpaceOnUse'>",S.forEach(function(Ce){n+="<path d='"+Ce+"' clip-rule='evenodd' fill-rule='evenodd'/>"}),n+="</clipPath></defs>",n+="<image href='"+l+"' x='"+Za(Le)+"' y='"+Za(E)+"' width='"+Za(Be)+"' height='"+Za(We)+"' preserveAspectRatio='none' clip-path='url(#"+be+")' style='"+kt+"'/>",n+="</svg>"}else n+="<img src='"+l+"' style='"+fe.image+kt+"'/>";else(v!==void 0||Q!==void 0)&&J&&O&&(v!==void 0&&!P?n+="<video data-pptx-media-id='"+T+"' controls preload='metadata'"+(l?" poster='"+l+"'":"")+" style='width: 100%; height: 100%'>Your browser does not support the video tag.</video>":v!==void 0&&P&&(n+="<iframe src='"+C+"' controls style='width: 100%; height: 100%'></iframe >"),Q!==void 0&&(n+='<audio data-pptx-media-id="'+ge+'" controls preload="metadata"></audio>'));return!O&&i&&(n+="<span style='color:red;font-size:40px;position: absolute;'>This media file Not supported by HTML5</span>"),(v!==void 0||Q!==void 0)&&!J&&O&&console.log("Founded supported media file but media process disabled (mediaProcess=false)"),n+="</div>",n}async function xg(e,r,t,a,s){var n="",i=L(e,["a:graphic","a:graphicData","attrs","uri"]);switch(i){case"http://schemas.openxmlformats.org/drawingml/2006/table":n=await Wg(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":n=await $g(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":n=await Yg(e,r,t,a,s);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":var o=L(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);o===void 0&&(o=L(e,["a:graphic","a:graphicData","p:oleObj"])),o!==void 0&&(n=await Gp(o,r,t,s));break;default:}return n}async function Ic(e,r,t,a,s,n,i,o,d){var fe,oe,kt,dt;var f="";let c=X1(e,t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),l=o===void 0?Ma(c.left+c.right,"x",d):0;var g=i.slideMasterTextStyles;if(e===void 0)return f;var m=L(r,["p:style","a:fontRef"]),p=e["a:p"];p.constructor!==Array&&(p=[p]);for(var b=0;b<p.length;b++){var k=p[b],M=dm(k);M.length===0&&(M=void 0);var v="",_=Xg(k,e,s,n,i);_!=""&&(v=_),v.indexOf("line-height:")===-1&&(v+="line-height: "+1.2+";"),(o!==void 0||s=="body"||s=="obj"||s=="shape")&&(v+="font-size: 0px;",v+="font-weight: 100;",v+="font-style: normal;");var y="";Object.prototype.hasOwnProperty.call(Ea,v)?y=Ea[v].name:(y="_css_"+(Object.keys(Ea).length+1),Ea[v]={name:y,text:v});var I=(dt=(kt=(oe=Th(r["p:txXfrm"],(fe=r["p:spPr"])==null?void 0:fe["a:xfrm"]))==null?void 0:oe["a:ext"])==null?void 0:kt.attrs)==null?void 0:dt.cx;I===void 0&&(I=L(t,["p:spPr","a:xfrm","a:ext","attrs","cx"])),I===void 0&&(I=L(a,["p:spPr","a:xfrm","a:ext","attrs","cx"]));var C=L(r,["p:spPr","a:xfrm","a:ext","attrs","cy"]);C===void 0&&(C=L(t,["p:spPr","a:xfrm","a:ext","attrs","cy"])),C===void 0&&(C=L(a,["p:spPr","a:xfrm","a:ext","attrs","cy"]));var R=I!==void 0?Math.max(0,Ma(I,"x",d)-l):NaN,B=Number.isFinite(R)?"width:"+R+"px;":"width:inherit;",Y="",T=Kg(k,e,n,s,i);f+="<div style='display: flex;flex-shrink:0;"+B+Y+"' class='slide-prgrph "+Ag(k,e,n,s,T,i)+" "+T+" "+y+"' >";var O=await Gg(k,b,r,e,m,n,s,i),P=O[0]!==void 0&&O[0]!==null&&O[0]!="",J=O[1]!==void 0&&O[1]!==null&&P?O[1]+O[2]:0;f+=O[0]!==void 0?O[0]:"";var re=Zg(k,n,s,P,i),Q=re[0],ae=re[1];I===void 0&&o!==void 0&&o!=0&&(I=o);var A="",V=0,H=!1;if(M===void 0&&k!==void 0){var X=await i5(k,void 0,r,e,m,t,n,s,1,i,P);if(P&&typeof $!="undefined"){var ge=$(X).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}A+=X}else if(M!==void 0)for(var me=0;me<M.length;me++){var X=await i5(M[me],me,k,e,m,t,n,s,M.length,i,P);if(P&&typeof $!="undefined"){var ge=$(X).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}A+=X}var u=void 0;I!==void 0&&(u=Math.max(0,Ma(I,"x",d)-l-J-ae)),P&&H&&u!==void 0&&V<u&&(u=V+J);var h=u!==void 0&&!isNaN(u)?"width:"+u+"px;":"width:inherit;",De=o!==void 0?"height:auto;min-height:0;max-height:100%;":"height:auto;min-height:0;",Ue=/(?:^|;)line-height:\s*([^;]+)/.exec(v),ee=Ue!==null?Ue[1]:1.2;f+="<div data-office-paragraph='"+b+"' style='"+De+(c.wrap==="none"?"white-space:nowrap;":"white-space:normal;")+"line-height:"+ee+";direction: initial;overflow-wrap:normal;word-wrap:normal;word-break:normal;"+h+Q+"' >",f+=A,f+="</div>",f+="</div>"}return f}async function Gg(e,r,t,a,s,n,i,o){var d=o.slideMasterTextStyles,f=a["a:lstStyle"];let c="";var l=L(e,["a:r"]);l!==void 0&&l.constructor===Array&&(l=l[0]);var g=parseInt(L(e["a:pPr"],["attrs","lvl"]))+1;isNaN(g)&&(g=1);var m="a:lvl"+g+"pPr",p,b,k,M,v;if(l!==void 0)p=await E5(l,t,f,s,g,n,i,o),v=p[2],b=Wp(l,a,s,g,i,o);else return"";var _="",y="",I="",C=0,R=0,B=e["a:pPr"],Y=L(B,["a:buNone"]);if(Y!==void 0)return"";var T="TYPE_NONE",O=qu(e,n,i,o),P=O.nodeLaout,J=O.nodeMaster,re=L(B,["a:buChar","attrs","char"]),Q=L(B,["a:buAutoNum","attrs","type"]),ae=L(B,["a:buAutoNum","attrs","startAt"]),A=L(B,["a:buBlip"]);re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC");var V=L(B,["a:buSzPts","attrs","val"]);if(V===void 0){if(V=L(B,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";var ge=L(B,["a:buClr"]);if(re===void 0&&Q===void 0&&A===void 0&&f!==void 0){if(Y=L(f,[m,"a:buNone"]),Y!==void 0)return"";T="TYPE_NONE",re=L(f,[m,"a:buChar","attrs","char"]),Q=L(f,[m,"a:buAutoNum","attrs","type"]),ae=L(f,[m,"a:buAutoNum","attrs","startAt"]),A=L(f,[m,"a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC"),(re!==void 0||Q!==void 0||A!==void 0)&&(B=f[m])}if(re===void 0&&Q===void 0&&A===void 0){if(P!==void 0){if(Y=L(P,["a:buNone"]),Y!==void 0)return"";T="TYPE_NONE",re=L(P,["a:buChar","attrs","char"]),Q=L(P,["a:buAutoNum","attrs","type"]),ae=L(P,["a:buAutoNum","attrs","startAt"]),A=L(P,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC")}if(re===void 0&&Q===void 0&&A===void 0&&J!==void 0){if(Y=L(J,["a:buNone"]),Y!==void 0)return"";T="TYPE_NONE",re=L(J,["a:buChar","attrs","char"]),Q=L(J,["a:buAutoNum","attrs","type"]),ae=L(J,["a:buAutoNum","attrs","startAt"]),A=L(J,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC")}}var me=L(B,["attrs","rtl"]);me===void 0&&(me=L(P,["attrs","rtl"]),me===void 0&&i!="shape"&&(me=L(J,["attrs","rtl"])));var u=!1;me!==void 0&&me=="1"&&(u=!0);var h=L(B,["attrs","algn"]);h===void 0&&(h=L(P,["attrs","algn"]),h===void 0&&(h=L(J,["attrs","algn"])));var De=L(B,["attrs","indent"]);De===void 0&&(De=L(P,["attrs","indent"]),De===void 0&&(De=L(J,["attrs","indent"])));var Ue=0;De!==void 0&&(Ue=parseInt(De)*w);var ee=L(B,["attrs","marL"]);if(ee===void 0&&(ee=L(P,["attrs","marL"]),ee===void 0&&(ee=L(J,["attrs","marL"]))),ee!==void 0){var fe=parseInt(ee)*w;u?I="padding-right:":I="padding-left:",C=fe+Ue<0?0:fe+Ue,I+=C+"px;"}var oe=L(B,["attrs","marR"]);if(oe===void 0&&ee===void 0&&(oe=L(P,["attrs","marR"]),oe===void 0&&(oe=L(J,["attrs","marR"]))),oe!==void 0){var kt=parseInt(oe)*w;u?I="padding-right:":I="padding-left:",y+=(kt+Ue<0?0:kt+Ue)+"px;"}T!="TYPE_NONE",ge===void 0&&(ge=L(f,[m,"a:buClr"])),ge===void 0&&(ge=L(P,["a:buClr"]),ge===void 0&&(ge=L(J,["a:buClr"])));var dt;if(ge!==void 0?dt=gt(ge,void 0,void 0,o):s!==void 0&&(dt=gt(s,void 0,void 0,o)),dt===void 0||dt=="NONE"?k=p:(k=[dt,"","solid"],v="solid"),V===void 0)if(V=L(P,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(P,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0)if(V=L(J,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(J,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0&&(M=b),R=parseInt(M,"px"),T=="TYPE_BULLET"){var S=L(B,["a:buFont","attrs","typeface"]),Ee="";if(S!==void 0){var pe=Up(S);pe!==void 0&&(Ee="font-family: "+pe)}if(_="<div style='height: 100%;"+Ee+";"+I+y+"font-size:"+M+";",v=="solid")k[0]!==void 0&&k[0]!=""&&(_+="color:#"+k[0]+"; "),k[1]!==void 0&&k[1]!=""&&k[1]!=";"&&(_+="text-shadow:"+k[1]+";");else if(v=="pattern"||v=="pic"||v=="gradient"){if(v=="pattern")_+="background:"+k[0][0]+";",k[0][1]!==null&&k[0][1]!==void 0&&k[0][1]!=""&&(_+="background-size:"+k[0][1]+";"),k[0][2]!==null&&k[0][2]!==void 0&&k[0][2]!=""&&(_+="background-position:"+k[0][2]+";");else if(v=="pic")_+=k[0]+";";else if(v=="gradient"){var W=k[0].color,N=k[0].rot;_+="background: linear-gradient("+N+"deg,";for(var r=0;r<W.length;r++)r==W.length-1?_+="#"+W[r]+");":_+="#"+W[r]+", "}_+="-webkit-background-clip: text;background-clip: text;color: transparent;",k[1].border!==void 0&&k[1].border!==""&&(_+="-webkit-text-stroke: "+k[1].border+";"),k[1].effcts!==void 0&&k[1].effcts!==""&&(_+="filter: "+k[1].effcts+";")}u&&(_+="white-space: nowrap ;direction:rtl");var j=re;l5||(j=Ug(S,re)),_+="'><div style='line-height: "+R/2+"px;'>"+j+"</div></div>"}else if(T=="TYPE_NUMERIC"){_="<div style='height: 100%;"+I+y+"color:#"+k[0]+";font-size:"+M+";",u?_+="display: inline-block;white-space: nowrap ;direction:rtl;":_+="display: inline-block;white-space: nowrap ;direction:ltr;";var be=Number(ae),Le=Number.isInteger(be)&&be>=1&&be<=32767?" data-bulltstartat='"+be+"'":"";_+="' data-bulltname='"+Ii(Q)+"' data-bulltlvl='"+g+"'"+Le+" class='numeric-bullet-style'></div>"}else if(T=="TYPE_BULPIC"){var E=L(A,["a:blip","attrs","r:embed"]),Be="",We;if(E!==void 0){var Ce=o.slideResObj[E].target,ht=await o.zip.file(Ce).async("arraybuffer"),Yt=Ce.split(".").pop(),wt=wc(Yt);We="<img src='data:"+wt+";base64,"+$p(ht)+"' style='width: 100%;'/>"}E===void 0&&(We="‣"),_="<div style='height: 100%;"+I+y+"width:"+M+";display: inline-block; ",u&&(_+="display: inline-block;white-space: nowrap ;direction:rtl;"),_+="'>"+We+" </div>"}return[_,C,R]}function Ug(e,r){switch(r){case"\xA7":return"■";case"q":return"❑";case"v":return"❖";case"\xD8":return"⮚";case"\xFC":return"✔";default:if(e=="Wingdings 2"||e=="Wingdings 3"){var t=Hg(e,r);if(t!==null)return"&#"+t+";"}return"&#"+r.charCodeAt(0)+";"}}function Hg(e,r){let t=r.codePointAt(0)&4095;return f5.codePoint(e,t).codePoint}function qu(e,r,t,a){var s,n,i=e["a:pPr"],o=1,d=L(i,["attrs","lvl"]);if(d!==void 0&&(o=parseInt(d)+1),r!==void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:lstStyle","a:lvl"+o+"pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p","a:pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p",o-1,"a:pPr"])))),t!==void 0){var f="a:lvl"+o+"pPr";s===void 0&&(s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",f])),t=="title"||t=="ctrTitle"?n=L(a,["slideMasterTextStyles","p:titleStyle",f]):t=="body"||t=="obj"||t=="subTitle"?n=L(a,["slideMasterTextStyles","p:bodyStyle",f]):t=="shape"||t=="diagram"?n=L(a,["slideMasterTextStyles","p:otherStyle",f]):t=="textBox"?n=L(a,["defaultTextStyle",f]):n=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",f])}return{nodeLaout:s,nodeMaster:n}}async function i5(e,r,t,a,s,n,i,o,d,f,c){var S,Ee;if(e.type==="br")return"<span class='line-break-br'></span>";var l="",g=a["a:lstStyle"],m=f.slideMasterTextStyles,p=e["a:t"],b=L(e,["a:fld","attrs","type"]);typeof b=="string"&&b.toLowerCase()==="slidenum"&&(p=String((Ee=(S=f==null?void 0:f.displaySlideNumber)!=null?S:f==null?void 0:f.slideNumber)!=null?Ee:""));var k="<span"+(typeof b=="string"&&b.toLowerCase()==="slidenum"?" data-pptx-field='slidenum'":""),M="</span>",v="";typeof p!="string"&&(p=L(e,["a:fld","a:t"]),typeof p!="string"&&(p="\xA0"));var _=t["a:pPr"],y=1,I=L(_,["attrs","lvl"]);I!==void 0&&(y=parseInt(I)+1);var C=qu(t,i,o,f),R=C.nodeLaout,B=C.nodeMaster,Y=L(e,["a:rPr","attrs","lang"]),T=Y!==void 0&&d5.indexOf(Y)!==-1,O=L(_,["attrs","rtl"]);O===void 0&&(O=L(R,["attrs","rtl"]),O===void 0&&o!="shape"&&(O=L(B,["attrs","rtl"])));var P=!1,J="ltr";O!==void 0&&O=="1"&&(P=!0,J="rtl");var re=L(e,["a:rPr","a:hlinkClick","attrs","r:id"]),Q="",ae;if(re!==void 0){Q=L(e,["a:rPr","a:hlinkClick","attrs","tooltip"]),Q!==void 0&&(Q="title='"+Ii(Q)+"'"),ae=I5("a:hlink",void 0,void 0,f);var A=L(e,["a:rPr","a:solidFill"]),V=gt(A,void 0,void 0,f);V!==void 0&&V!=""&&(ae=V)}var H=await E5(e,t,g,s,y,i,o,f),X=H[2];if(X=="solid")re===void 0&&H[0]!==void 0&&H[0]!=""?v+="color: #"+H[0]+";":re!==void 0&&ae!==void 0&&(v+="color: #"+ae+";"),H[1]!==void 0&&H[1]!=""&&H[1]!=";"&&(v+="text-shadow:"+H[1]+";"),H[3]!==void 0&&H[3]!=""&&(v+="background-color: #"+H[3]+";");else if(X=="pattern"||X=="pic"||X=="gradient"){if(X=="pattern")v+="background:"+H[0][0]+";",H[0][1]!==null&&H[0][1]!==void 0&&H[0][1]!=""&&(v+="background-size:"+H[0][1]+";"),H[0][2]!==null&&H[0][2]!==void 0&&H[0][2]!=""&&(v+="background-position:"+H[0][2]+";");else if(X=="pic")v+=H[0]+";";else if(X=="gradient"){var ge=H[0].color,me=H[0].rot;v+="background: linear-gradient("+me+"deg,";for(var u=0;u<ge.length;u++)u==ge.length-1?v+="#"+ge[u]+");":v+="#"+ge[u]+", "}v+="-webkit-background-clip: text;background-clip: text;color: transparent;",H[1].border!==void 0&&H[1].border!==""&&(v+="-webkit-text-stroke: "+H[1].border+";"),H[1].effcts!==void 0&&H[1].effcts!==""&&(v+="filter: "+H[1].effcts+";")}var h=Wp(e,a,s,y,o,f);l+="font-size:"+h+";font-family:"+jg(e,o,f,s,p,Y,R,B,y)+";font-weight:"+ek(e,o,m,R,B,t)+";font-style:"+tk(e,o,m,R,B,t)+";text-decoration:"+rk(e,o,m)+";text-align:"+ak(e,t,o,f)+";vertical-align:"+nk(e,o,m)+";",T?v+="direction:rtl;":v+="direction:ltr;";var De=L(e,["a:rPr","a:highlight"]);De!==void 0&&(v+="background-color:#"+gt(De,void 0,void 0,f)+";");var Ue=L(e,["a:rPr","attrs","spc"]);if(Ue===void 0&&(Ue=L(R,["a:defRPr","attrs","spc"]),Ue===void 0&&(Ue=L(B,["a:defRPr","attrs","spc"]))),Ue!==void 0){var ee=parseInt(Ue)/100;v+="letter-spacing: "+ee+"px;"}var fe=L(e,["a:rPr","attrs","cap"]);fe===void 0&&(fe=L(R,["a:defRPr","attrs","cap"]),fe===void 0&&(fe=L(B,["a:defRPr","attrs","cap"]))),(fe=="small"||fe=="all")&&(v+="text-transform: uppercase");var oe="";Object.prototype.hasOwnProperty.call(Ea,v)?oe=Ea[v].name:(oe="_css_"+(Object.keys(Ea).length+1),Ea[v]={name:oe,text:v});var kt="";if(X=="solid"&&re!==void 0&&(kt="style='color: inherit;'"),re!==void 0&&re!=""){var dt=yk(f.slideResObj[re].target);if(dt!=="")return dt=Ii(dt),k+" class='text-block "+oe+"' style='"+l+"'><a href='"+dt+"' "+kt+" "+Q+" target='_blank' rel='noopener noreferrer'>"+o5(p)+"</a>"+M}return k+" class='text-block "+oe+"' style='"+l+"'>"+o5(p)+M}function Zg(e,r,t,a,s){if(!a)return["",0];var n="",i="",o=0,d=e["a:pPr"],f=qu(e,r,t,s),c=f.nodeLaout,l=f.nodeMaster,g=L(d,["attrs","rtl"]);g===void 0&&(g=L(c,["attrs","rtl"]),g===void 0&&t!="shape"&&(g=L(l,["attrs","rtl"])));var m=!1,p="ltr";g!==void 0&&g=="1"&&(m=!0,p="rtl");var b=L(d,["attrs","algn"]);b===void 0&&(b=L(c,["attrs","algn"]),b===void 0&&(b=L(l,["attrs","algn"])));var k=L(d,["attrs","indent"]);k===void 0&&(k=L(c,["attrs","indent"]),k===void 0&&(k=L(l,["attrs","indent"])));var M=0;k!==void 0&&(M=parseInt(k)*w);var v=L(d,["attrs","marL"]);v===void 0&&(v=L(c,["attrs","marL"]),v===void 0&&(v=L(l,["attrs","marL"])));var _=0;v!==void 0&&(_=parseInt(v)*w),(k!==void 0||v!==void 0)&&(m?n="padding-right: ":n="padding-left: ",a?(o=Math.abs(0-M),n+=o+"px;"):(o=Math.abs(_+M),n+=o+"px;"));var y=L(d,["attrs","marR"]);if(y===void 0&&v===void 0&&(y=L(c,["attrs","marR"]),y===void 0&&(y=L(l,["attrs","marR"]))),y!==void 0&&a){var I=parseInt(y)*w;m?i="padding-right: ":i="padding-left: ",i+=Math.abs(0-M)+"px;"}return[n,o]}function k5(){var e="";for(var r of Object.keys(Ea)){var t=Ea[r];if(!(!t||typeof t.name!="string"||typeof t.text!="string")){var a="";e+=a+" ."+t.name+(t.suffix?t.suffix:"")+"{"+t.text+`}
|
|
13
|
-
`}}return e}async function Wg(e,r,t){var a=e.attrs.order,s=L(e,["a:graphic","a:graphicData","a:tbl"]),n=L(e,["p:xfrm"]),i=L(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"])||{};i.attrs=i.attrs||{};var o=L(e,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]),d="";if(i!==void 0){var f=i.attrs.rtl;d=f==1?"dir=rtl":"dir=ltr"}var c=i.attrs.firstRow,l=i.attrs.firstCol,g=i.attrs.lastRow,m=i.attrs.lastCol,p=i.attrs.bandRow,b=i.attrs.bandCol,k={isFrstRowAttr:c!==void 0&&c=="1"?1:0,isFrstColAttr:l!==void 0&&l=="1"?1:0,isLstRowAttr:g!==void 0&&g=="1"?1:0,isLstColAttr:m!==void 0&&m=="1"?1:0,isBandRowAttr:p!==void 0&&p=="1"?1:0,isBandColAttr:b!==void 0&&b=="1"?1:0},M,v=i["a:tableStyleId"]||L(xp,["a:tblStyleLst","attrs","def"]);if(v!==void 0){var _=L(xp,["a:tblStyleLst","a:tblStyle"]);if(_!==void 0)if(_.constructor===Array)for(var y=0;y<_.length;y++)_[y].attrs.styleId==v&&(M=_[y]);else _.attrs.styleId==v&&(M=_)}M=M||_m(v),r.thisTbiStyle=void 0,M!==void 0&&(M.tblStylAttrObj=k,r.thisTbiStyle=M);var I=L(M,["a:wholeTbl","a:tcStyle"]),C=L(I,["a:tcBdr"]),R="";C!==void 0&&(R=Xu(C,r));var B="",Y=1,T=L(M,["a:tblBg","a:fillRef"]);T!==void 0&&(B=gt(T,void 0,void 0,r)),T===void 0&&(T=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),B=gt(T,void 0,void 0,r)),B=typeof B=="string"&&B?"background-color: #"+B+";":"";var O=Mr(o),P=q_(O.map(function(Ua){return L(Ua,["attrs","w"])})),J="";P!==void 0?J="width:"+Ma(P,"x",t)+"px;":J=Ai(n,void 0,void 0,t);var re=L(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"]),Q="<table data-office-shape='"+Ii(String(re||""))+"' "+d+" style='border-collapse:collapse;table-layout:fixed;box-sizing:border-box;overflow:hidden;"+Xi(n,e,void 0,void 0,"group",t)+J+" z-index: "+a+";"+R+";"+B+"'>",ae=s["a:tr"];ae.constructor!==Array&&(ae=[ae]);for(var A=ae.map(function(Ua){var xn=parseInt(L(Ua,["attrs","h"]));return Number.isFinite(xn)&&xn>0?Ma(xn,"y",t):0}),V=0,H=[],X=0;X<ae.length;X++){var ge=ae[X].attrs.h,me=0,u="box-sizing:border-box;overflow:hidden;";ge!==void 0&&(me=Ma(ge,"y",t),u+="height:"+me+"px;");var h="",De="",Ue="",ee="",fe,oe;if(M!==void 0&&M["a:wholeTbl"]!==void 0){var kt=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var S=L(M,["a:wholeTbl","a:tcTxStyle"]);if(S!==void 0){var Ee=gt(S,void 0,void 0,r);Ee!==void 0&&(Ue=Ee);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}if(X==0&&k.isFrstRowAttr==1&&M!==void 0){var kt=L(M,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var W=L(M,["a:firstRow","a:tcStyle","a:tcBdr"]);if(W!==void 0){var N=Xu(W,r);N!=""&&(De=N)}var S=L(M,["a:firstRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}else if(X>0&&k.isBandRowAttr==1&&M!==void 0){if(h="",De=void 0,X%2==0&&M["a:band2H"]!==void 0){var kt=L(M,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==""&&(h=dt,oe=dt)}var W=L(M,["a:band2H","a:tcStyle","a:tcBdr"]);if(W!==void 0){var N=Xu(W,r);N!=""&&(De=N)}var S=L(M,["a:band2H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j)}var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}if(X%2!=0&&M["a:band1H"]!==void 0){var kt=L(M,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt,fe=dt)}var W=L(M,["a:band1H","a:tcStyle","a:tcBdr"]);if(W!==void 0){var N=Xu(W,r);N!=""&&(De=N)}var S=L(M,["a:band1H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}}if(X==ae.length-1&&k.isLstRowAttr==1&&M!==void 0){var kt=L(M,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var W=L(M,["a:lastRow","a:tcStyle","a:tcBdr"]);if(W!==void 0){var N=Xu(W,r);N!=""&&(De=N)}var S=L(M,["a:lastRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}u+=De!==void 0?De:"",u+=Ue!==void 0?" color: #"+Ue+";":"",u+=ee!=""?" font-weight:"+ee+";":"",h!==void 0&&h!=""&&(u+="background-color: #"+h+";"),Q+="<tr style='"+u+"'>";var be=ae[X]["a:tc"];if(be!==void 0)if(be.constructor===Array){var Le=0;H.length==0&&(H=Array.apply(null,Array(be.length)).map(function(){return 0}));for(var E=0;Le<be.length;){if(H[Le]==0&&E==0){var Be=void 0;if(Le==0&&k.isFrstColAttr==1)Be="a:firstCol",k.isLstRowAttr==1&&X==ae.length-1&&L(M,["a:seCell"])!==void 0?Be="a:seCell":k.isFrstRowAttr==1&&X==0&&L(M,["a:neCell"])!==void 0&&(Be="a:neCell");else if(Le>0&&k.isBandColAttr==1&&!(k.isFrstColAttr==1&&X==0)&&!(k.isLstRowAttr==1&&X==ae.length-1)&&Le!=be.length-1&&Le%2!=0){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}Le==be.length-1&&k.isLstColAttr==1&&(Be="a:lastCol",k.isLstRowAttr==1&&X==ae.length-1&&L(M,["a:swCell"])!==void 0?Be="a:swCell":k.isFrstRowAttr==1&&X==0&&L(M,["a:nwCell"])!==void 0&&(Be="a:nwCell"));var Ce=await s5(be[Le],o,X,Le,M,Be,r,A,t),ht=Ce[0],Yt=Ce[1],wt=Ce[2],Wr=Ce[3],En=Ce[4];Wr!==void 0?(V++,H[Le]=parseInt(Wr)-1,Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' rowspan ='"+parseInt(Wr)+"' style='"+Yt+"'>"+ht+"</td>"):En!==void 0?(Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' colspan = '"+parseInt(En)+"' style='"+Yt+"'>"+ht+"</td>",E=parseInt(En)-1):Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' style = '"+Yt+"'>"+ht+"</td>"}else H[Le]!=0&&(H[Le]-=1),E!=0&&E--;Le++}}else{var Be=void 0;if(k.isFrstColAttr==1&&k.isLstRowAttr!=1)Be="a:firstCol";else if(k.isBandColAttr==1&&k.isLstRowAttr!=1){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}k.isLstColAttr==1&&k.isLstRowAttr!=1&&(Be="a:lastCol");var Ce=await s5(be,o,X,void 0,M,Be,r,A,t),ht=Ce[0],Yt=Ce[1],wt=Ce[2],Wr=Ce[3];Wr!==void 0?Q+="<td class='"+wt+"' rowspan='"+parseInt(Wr)+"' style = '"+Yt+"'>"+ht+"</td>":Q+="<td class='"+wt+"' style='"+Yt+"'>"+ht+"</td>"}Q+="</tr>"}return Q+"</table>"}async function s5(e,r,t,a,s,n,i,o,d){var f=L(e,["attrs","rowSpan"]),c=L(e,["attrs","gridSpan"]),l=L(e,["attrs","vMerge"]),g=L(e,["attrs","hMerge"]),m=F_(L(e,["a:tcPr","attrs"])||{}),p="box-sizing:border-box;min-width:0;overflow:hidden;word-wrap:break-word;padding:0;",b,k="",M="",v="",_="",y="",I="",C="",R="",B="",Y="",T=parseInt(c),O=0;if(!isNaN(T)&&T>1)for(var P=0;P<T;P++)O+=parseInt(L(r[a+P],["attrs","w"]));else O=L(a===void 0?r:r[a],["attrs","w"]);var J=await Ic(e["a:txBody"],e,void 0,void 0,void 0,void 0,i,O),re=Number.isFinite(parseInt(f))&&parseInt(f)>1?parseInt(f):1,Q=Array.isArray(o)?o.slice(t,t+re).reduce(function(oe,kt){return oe+kt},0):0,ae=Q>0?"height:"+Q+"px;min-height:0;max-height:"+Q+"px;":"";if(J="<div class='pptx-table-cell-content' style='box-sizing:border-box;overflow:hidden;line-height:"+1.2+";"+ae+"padding:"+m.top+"px "+m.right+"px "+m.bottom+"px "+m.left+"px;'>"+J+"</div>",Q>0&&(p+="height:"+Q+"px;"),O!=0&&(b=Ma(O,"x",d),p+="width:"+b+"px;"),y=L(e,["a:tcPr","a:lnB"]),y===void 0&&(n!==void 0&&(y=L(s,[n,"a:tcStyle","a:tcBdr","a:bottom","a:ln"])),y===void 0&&(y=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"]))),I=L(e,["a:tcPr","a:lnT"]),I===void 0&&(n!==void 0&&(I=L(s,[n,"a:tcStyle","a:tcBdr","a:top","a:ln"])),I===void 0&&(I=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"]))),C=L(e,["a:tcPr","a:lnL"]),C===void 0&&(n!==void 0&&(C=L(s,[n,"a:tcStyle","a:tcBdr","a:left","a:ln"])),C===void 0&&(C=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"]))),R=L(e,["a:tcPr","a:lnR"]),R===void 0&&(n!==void 0&&(R=L(s,[n,"a:tcStyle","a:tcBdr","a:right","a:ln"])),R===void 0&&(R=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"]))),B=L(e,["a:tcPr","a:lnBlToTr"]),Y=L(e,["a:tcPr","a:InTlToBr"]),y!==void 0&&y!=""){var A=Si(y,void 0,!1,"",i);A!=""&&(p+="border-bottom:"+A+";")}if(I!==void 0&&I!=""){var V=Si(I,void 0,!1,"",i);V!=""&&(p+="border-top: "+V+";")}if(C!==void 0&&C!=""){var H=Si(C,void 0,!1,"",i);H!=""&&(p+="border-left: "+H+";")}if(R!==void 0&&R!=""){var X=Si(R,void 0,!1,"",i);X!=""&&(p+="border-right:"+X+";")}var ge=L(e,["a:tcPr"]);if(ge!==void 0&&ge!=""){var me={"p:spPr":ge};k=await Qu(me,void 0,!1,i,"slide")}if(k==""||k=="background-color: inherit;"){var u;if(n!==void 0&&(u=L(s,[n,"a:tcStyle","a:fill","a:solidFill"])),u!==void 0){var h=gt(u,void 0,void 0,i);h!==void 0&&(k=" background-color: #"+h+";")}}var De="";k!==void 0&&k!=""&&(Object.prototype.hasOwnProperty.call(Ea,k)?De=Ea[k].name:(De="_tbl_cell_css_"+(Object.keys(Ea).length+1),Ea[k]={name:De,text:k}));var Ue;if(n!==void 0&&(Ue=L(s,[n,"a:tcTxStyle"])),Ue!==void 0){var ee=gt(Ue,void 0,void 0,i);ee!==void 0&&(v=ee);var fe=L(Ue,["attrs","b"])=="on"?"bold":"";fe!==""&&(_=fe)}return p+=v!==""?"color: #"+v+";":"",p+=_!=""?" font-weight:"+_+";":"",[J,p,De,f,c]}async function $g(e,r,t){var m,p;var a=e.attrs.order,s=L(e,["p:xfrm"]),n="<div id='chart"+Pp+"' class='block content' style='"+Xi(s,e,void 0,void 0,"group",t)+Ai(s,void 0,void 0,t)+" z-index: "+a+";'></div>",i=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],o=r.slideResObj[i].target,d=await Kr(r.zip,o),f=L(d,["c:chartSpace","c:chart","c:plotArea"]),c=ym(d,b=>gt(b,void 0,void 0,r));if(c.groups.length){var l=c.groups[0],g=l.chartType==="scatterChart"?[((m=l.series[0])==null?void 0:m.values.map(b=>b.x))||[],((p=l.series[0])==null?void 0:p.values.map(b=>b.y))||[]]:l.series;Hp.MsgQueue.push({type:"createChart",data:{chartID:"chart"+Pp,chartType:c.groups.length>1?"comboChart":l.chartType,barDirection:l.barDirection,chartData:c.groups.length>1?c.groups.flatMap(b=>b.series):g,chartOptions:l.options,chartModel:c}})}return Pp++,n}async function Yg(e,r,t,a,s){var B;var n=e.attrs.order,i=r.zip,o=L(e,["p:xfrm"]),d=L(e,["a:graphic","a:graphicData","dgm:relIds","attrs"]),f=d["r:cs"],c=d["r:dm"],l=d["r:lo"],g=d["r:qs"],m=r.slideResObj[f].target,p=r.slideResObj[c].target,b=r.slideResObj[l].target,k=r.slideResObj[g].target,M=await Kr(i,m),v=await Kr(i,p),_=await Kr(i,b),y=await Kr(i,k),I=Mr(L(r.digramFileContent,["p:drawing","p:spTree","p:sp"]));let C=um(I,v,_);var R="";for(let Y of I){let T=C.get((B=Y.attrs)==null?void 0:B.modelId),O=T?{...Y,"p:txXfrm":T}:Y;R+=await L5(O,e,r,"diagramBg",a,s)}return"<div class='block diagram-content' style='"+Xi(o,e,void 0,void 0,a,s)+Ai(o,void 0,void 0,s)+"'>"+R+"</div>"}function Xi(e,r,t,a,s,n){var i,o=-1,d=-1;return e!==void 0&&(i=L(e,["a:off","attrs"])),i===void 0&&t!==void 0?i=L(t,["a:off","attrs"]):i===void 0&&a!==void 0&&(i=L(a,["a:off","attrs"])),i===void 0?"":(o=Sf(i.x,"x",n),d=Sf(i.y,"y",n),isNaN(o)||isNaN(d)?"":"top:"+d+"px; left:"+o+"px;")}function Ai(e,r,t,a){var s=void 0,n=-1,i=-1;return e!==void 0?s=L(e,["a:ext","attrs"]):r!==void 0?s=L(r,["a:ext","attrs"]):t!==void 0&&(s=L(t,["a:ext","attrs"])),s===void 0?"":(n=Ma(s.cx,"x",a),i=Ma(s.cy,"y",a),isNaN(n)||isNaN(i)?"":"width:"+n+"px; height:"+i+"px;")}function Xg(e,r,t,a,s){var n=1,i=L(e,["a:pPr","a:spcBef","a:spcPts","attrs","val"]),o=L(e,["a:pPr","a:spcAft","a:spcPts","attrs","val"]),d=L(e,["a:pPr","a:spcBef","a:spcPct","attrs","val"]),f=L(e,["a:pPr","a:spcAft","a:spcPct","attrs","val"]),c=L(e,["a:pPr","a:lnSpc","a:spcPct","attrs","val"]),l="Pct";c===void 0&&(c=L(e,["a:pPr","a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"));var g=L(e,["a:pPr","attrs","lvl"]);g!==void 0&&(n=parseInt(g)+1);var m,p=Mr(e["a:r"]).concat(Mr(e["a:fld"]));p.length===0&&(p=[e]),p.forEach(function(re){var Q=parseFloat(Wp(re,r,void 0,n,t,s));Number.isFinite(Q)&&Q>0&&(m=Math.max(m||0,Q))});var b=L(r,["a:lstStyle","a:lvl"+n+"pPr"]);i===void 0&&d===void 0&&(i=L(b,["a:spcBef","a:spcPts","attrs","val"]),d=L(b,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(b,["a:spcAft","a:spcPts","attrs","val"]),f=L(b,["a:spcAft","a:spcPct","attrs","val"]));var k=!0;if((t=="shape"||t=="textBox")&&(k=!1),k&&(i===void 0||o===void 0||c===void 0)&&a!==void 0){var M=L(s,["slideLayoutTables","idxTable",a,"p:txBody"]),v=L(M,["a:lstStyle","a:lvl"+n+"pPr"]);v===void 0&&(v=L(Mr(L(M,["a:p"]))[n-1],["a:pPr"])),i===void 0&&d===void 0&&(i=L(v,["a:spcBef","a:spcPts","attrs","val"]),d=L(v,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(v,["a:spcAft","a:spcPts","attrs","val"]),f=L(v,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(v,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(v,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts")))}if(k&&(i===void 0||o===void 0||c===void 0)){var _=s.slideMasterTextStyles,y="",n="a:lvl"+n+"pPr";switch(t){case"title":case"ctrTitle":y="p:titleStyle";break;case"body":case"obj":case"dt":case"ftr":case"sldNum":case"textBox":y="p:bodyStyle";break;default:y="p:otherStyle"}var I=L(_,[y,n]);I!==void 0&&(i===void 0&&d===void 0&&(i=L(I,["a:spcBef","a:spcPts","attrs","val"]),d=L(I,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(I,["a:spcAft","a:spcPts","attrs","val"]),f=L(I,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(I,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(I,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"))))}var C=0,R=0,B="";i!==void 0&&(C=parseInt(i)/100*Co),o!==void 0&&(R=parseInt(o)/100*Co);function Y(re){if(!(re===void 0||m===void 0)){var Q=String(re).trim();if(/^\+?(?:\d+(?:\.\d*)?|\.\d+)%?$/.test(Q)){var ae=Q.endsWith("%")?parseFloat(Q)/100:Number(Q)/1e5,A=m*ae;return Number.isFinite(A)&&A>=0?A:void 0}}}var T=Y(d),O=Y(f);if(i===void 0&&T!==void 0&&(C=T),o===void 0&&O!==void 0&&(R=O),c!==void 0&&m!==void 0)if(l=="Pts"){var P=parseInt(c)/100*Co;Number.isFinite(P)&&P>0&&(B+="line-height: "+P+"px;")}else{var J=String(c).trim().endsWith("%")?parseFloat(c)/100:Number(c)/1e5;Number.isFinite(J)&&J>0&&(B+="line-height: "+J+";")}return(i!==void 0||T!==void 0)&&Number.isFinite(C)&&(B+="margin-top: "+Math.max(0,C)+"px;"),(o!==void 0||O!==void 0)&&Number.isFinite(R)&&(B+="margin-bottom: "+Math.max(0,R)+"px;"),B}function Ag(e,r,t,a,s,n){var i=L(e,["a:pPr","attrs","algn"]);if(i===void 0){var o=1,d=L(e,["a:pPr","attrs","lvl"]);d!==void 0&&(o=parseInt(d)+1);var f="a:lvl"+o+"pPr",c=r["a:lstStyle"];i=L(c,[f,"attrs","algn"]),i===void 0&&t!==void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p","a:pPr","attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p",o-1,"a:pPr","attrs","algn"])))),i===void 0&&(a!==void 0?(i=L(n,["slideLayoutTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(a=="title"||a=="ctrTitle"?i=L(n,["slideMasterTextStyles","p:titleStyle",f,"attrs","algn"]):a=="body"||a=="obj"||a=="subTitle"?i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]):a=="shape"||a=="diagram"?i=L(n,["slideMasterTextStyles","p:otherStyle",f,"attrs","algn"]):a=="textBox"?i=L(n,["defaultTextStyle",f,"attrs","algn"]):i=L(n,["slideMasterTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]))):i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]))}if(i===void 0){if(a=="title"||a=="subTitle"||a=="ctrTitle")return"h-mid";if(a=="sldNum")return"h-right"}if(i!==void 0)switch(i){case"l":return s=="pregraph-rtl"?"h-left-rtl":"h-left";case"r":return s=="pregraph-rtl"?"h-right-rtl":"h-right";case"ctr":return"h-mid";default:return"h-"+i}}function Kg(e,r,t,a,s){var n=L(e,["a:pPr","attrs","rtl"]);if(n===void 0){var i=qu(e,t,a,s),o=i.nodeLaout,d=i.nodeMaster;n=L(o,["attrs","rtl"]),n===void 0&&a!="shape"&&(n=L(d,["attrs","rtl"]))}return n=="1"?"pregraph-rtl":n=="0"?"pregraph-ltr":"pregraph-inherit"}function Tp(e,r,t,a){var s=L(e,["p:txBody","a:bodyPr","attrs","anchor"]);return s===void 0&&(s=L(r,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s=L(t,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s="t"))),s==="ctr"?"v-mid":s==="b"?"v-down":"v-up"}function yp(e,r,t){return"content";var a,s,n,i;switch(r){case"title":case"ctrTitle":i="p:titleStyle";break;case"body":case"dt":case"ftr":case"sldNum":case"textBox":i="p:bodyStyle";break;case"shape":i="p:otherStyle"}if(n!==void 0&&i!==""){var o;if(o=="1")return"content-rtl"}}function Jg(e,r){return/^(zh|ja|ko)(-|$)/i.test(r||"")||/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}function Qg(e,r){return d5.indexOf(r)!==-1||/^(ar|fa|he|ur|dv)(-|$)/i.test(r||"")||/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/.test(e||"")}function Fg(e,r){if(/^zh-(tw|hk|mo)/i.test(e||""))return"Hant";if(/^zh/i.test(e||"")||/[\u3400-\u9fff]/.test(r||""))return"Hans";if(/^ja/i.test(e||"")||/[\u3040-\u30ff]/.test(r||""))return"Jpan";if(/^ko/i.test(e||"")||/[\uac00-\ud7af]/.test(r||""))return"Hang";if(/^(ar|fa|ur|dv)/i.test(e||"")||/[\u0600-\u06ff]/.test(r||""))return"Arab";if(/^he/i.test(e||"")||/[\u0590-\u05ff]/.test(r||""))return"Hebr"}function M5(e,r,t){var a=Fg(r,t),s=L(e,["a:font"]);if(!(a===void 0||s===void 0)){s=s.constructor===Array?s:[s];for(var n=0;n<s.length;n++)if(L(s[n],["attrs","script"])===a)return L(s[n],["attrs","typeface"])}}function Pc(e,r,t,a){if(!(e===void 0||e==="")){var s=/^\+(mj|mn)-(lt|ea|cs)$/.exec(e);if(s===null)return e;var n=s[1]==="mj"?"a:majorFont":"a:minorFont",i=s[2]==="lt"?"a:latin":"a:"+s[2],o=L(r.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),d=L(o,[i,"attrs","typeface"]);return d||M5(o,t,a)}}function wp(e,r,t,a,s){var n=r==="major"?"a:majorFont":"a:minorFont",i=L(e.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),o=L(i,["a:"+t,"attrs","typeface"]);return o||M5(i,a,s)}function Sc(e,r,t,a){return e===void 0?{}:{latin:Pc(L(e,["a:latin","attrs","typeface"]),r,t,a),ea:Pc(L(e,["a:ea","attrs","typeface"]),r,t,a),cs:Pc(L(e,["a:cs","attrs","typeface"]),r,t,a),sym:Pc(L(e,["a:sym","attrs","typeface"]),r,t,a)}}function Yu(e,r){Object.keys(r).forEach(function(t){(e[t]===void 0||e[t]==="")&&r[t]!==void 0&&r[t]!==""&&(e[t]=r[t])})}function Up(e){var r=wk(e);if(r!=="")return/^(inherit|serif|sans-serif|monospace|cursive|fantasy|system-ui)$/i.test(r)?r:'"'+r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}function qg(e){var r=Up(e);if(r===void 0)return[];var t=String(e).toLowerCase(),a=[];t==="calibri"||t==="calibri light"||t==="aptos"||t==="aptos display"||t==="aptos narrow"||t==="aptos body"?a=["Helvetica Neue","Arial","sans-serif"]:t==="aharoni"?a=["Arial","Helvetica Neue","sans-serif"]:t==="poppins bold"||t==="poppins extrabold"?a=["Poppins","Arial","Helvetica Neue","sans-serif"]:t==="poppins light"||t==="poppins"||t==="poppins regular"?a=["Arial","Helvetica Neue","sans-serif"]:(t==="\u5FAE\u8F6F\u96C5\u9ED1"||t==="microsoft yahei")&&(a=["Microsoft YaHei","PingFang SC","Helvetica Neue","Arial","sans-serif"]);var s=[r];return a.forEach(function(n){var i=Up(n);i!==void 0&&s.indexOf(i)===-1&&s.push(i)}),s}function o5(e){var r=String(e),t=r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\t/g," ").replace(/\u00a0/g," ");return/^[\s\u00a0]*$/.test(r)?t.replace(/ /g," "):t.replace(/ {2,}/g,function(a){return" "+new Array(a.length).join(" ")})}function Vg(e,r){var t=L(r,["attrs","idx"]);return t==="major"||t==="minor"?t:e=="title"||e=="subTitle"||e=="ctrTitle"?"major":"minor"}function jg(e,r,t,a,s,n,i,o,d){var f={};Yu(f,Sc(L(e,["a:rPr"]),t,n,s)),Yu(f,Sc(L(i,["a:defRPr"]),t,n,s)),Yu(f,Sc(L(o,["a:defRPr"]),t,n,s));var c="a:lvl"+d+"pPr";Yu(f,Sc(L(t.defaultTextStyle,[c,"a:defRPr"]),t,n,s));var l=Vg(r,a);Yu(f,{latin:wp(t,l,"latin",n,s),ea:wp(t,l,"ea",n,s),cs:wp(t,l,"cs",n,s)});var g=Qg(s,n)?"cs":Jg(s,n)?"ea":"latin",m=[f[g],f.latin,f.ea,f.cs,f.sym],p=[];return m.forEach(function(b){qg(b).forEach(function(k){p.indexOf(k)===-1&&p.push(k)})}),p.length?p.join(","):"inherit"}async function E5(e,r,t,a,s,n,i,o){var d=L(e,["a:rPr"]),f,c,P,l="",g="";if(d!==void 0){if(f=un(d),f=="SOLID_FILL"){var m=d["a:solidFill"];c=gt(m,void 0,void 0,o);var p=d["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=d["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(d,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=d["a:gradFill"];c=Ju(k,o),l="gradient"}}if(c===void 0){var M=L(r,["a:pPr","a:defRPr"]);if(M!==void 0){if(f=un(M),f=="SOLID_FILL"){var m=M["a:solidFill"];c=gt(m,void 0,void 0,o);var p=M["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=M["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(M,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=M["a:gradFill"];c=Ju(k,o),l="gradient"}}}if(c===void 0&&L(t,["a:lvl"+s+"pPr","a:defRPr"])!==void 0){var v=L(t,["a:lvl"+s+"pPr","a:defRPr"]);if(f=un(v),f=="SOLID_FILL"){var m=v["a:solidFill"];c=gt(m,void 0,void 0,o);var p=v["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=v["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(v,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=v["a:gradFill"];c=Ju(k,o),l="gradient"}}if(c===void 0){var _=L(r,["p:style","a:fontRef"]);if(_!==void 0){c=gt(_,void 0,void 0,o),c!==void 0&&(l="solid");var p=_["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o))}c===void 0&&a!==void 0&&(c=gt(a,void 0,void 0,o),c!==void 0&&(l="solid"))}if(c===void 0){var y=qu(r,n,i,o),I=y.nodeLaout,C=y.nodeMaster;if(I!==void 0){var R=L(I,["a:defRPr","a:solidFill"]);if(R!==void 0){c=gt(R,void 0,void 0,o);var p=L(I,["a:defRPr","a:highlight"]);p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}}if(c===void 0&&C!==void 0){var B=L(C,["a:defRPr","a:solidFill"]);if(B!==void 0){c=gt(B,void 0,void 0,o);var p=L(C,["a:defRPr","a:highlight"]);p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}}}var Y=[],T={},O=L(e,["a:rPr","a:ln"]),P="";if(O!==void 0&&O["a:noFill"]===void 0){var J=Si(e,r,!1,"text",o),re=J.split(" "),Q=parseInt(re[0].substring(0,re[0].indexOf("px")))+"px",ae=re[2];l=="solid"?(P="-"+Q+" 0 "+ae+", 0 "+Q+" "+ae+", "+Q+" 0 "+ae+", 0 -"+Q+" "+ae,Y.push(P)):T.border=Q+" "+ae}var A=L(e,["a:rPr","a:effectLst","a:glow"]),V="";if(A!==void 0){var H=gt(A,void 0,void 0,o),X=A.attrs.rad?A.attrs.rad*w:0;V="0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H,l=="solid"?Y.push(V):Y.push("drop-shadow(0 0 "+X/3+"px #"+H+") drop-shadow(0 0 "+X*2/3+"px #"+H+") drop-shadow(0 0 "+X+"px #"+H+")")}var ge=L(e,["a:rPr","a:effectLst","a:outerShdw"]),me="";if(ge!==void 0){var u=gt(ge,void 0,void 0,o),h=ge.attrs,De=h.algn,Ue=h.dir?parseInt(h.dir)/6e4:0,ee=parseInt(h.dist)*w,fe=h.rotWithShape,oe=h.blurRad?parseInt(h.blurRad)*w+"px":"",kt=h.sx?parseInt(h.sx)/1e5:1,dt=h.sy?parseInt(h.sy)/1e5:1,S=ee*Math.sin(Ue*Math.PI/180),Ee=ee*Math.cos(Ue*Math.PI/180);!isNaN(S)&&!isNaN(Ee)&&(me=Ee+"px "+S+"px "+oe+" #"+u,l=="solid"?Y.push(me):Y.push("drop-shadow("+Ee+"px "+S+"px "+oe+" #"+u+")"))}var pe="",W;return l=="solid"?(Y.length>0&&(pe=Y.join(",")),W=pe+";"):(Y.length>0&&(pe=Y.join(" ")),T.effcts=pe,W=T),[c,W,l,g]}function Wp(e,r,t,a,s,n){var i=r!==void 0?r["a:lstStyle"]:void 0,o="a:lvl"+a+"pPr",d=void 0,f;e["a:rPr"]!==void 0&&(d=parseInt(e["a:rPr"].attrs.sz)/100),(isNaN(d)||d===void 0&&e["a:fld"]!==void 0)&&(f=L(e["a:fld"],["a:rPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&e["a:t"]===void 0&&(f=L(e["a:endParaRPr"],["attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&i!==void 0&&(f=L(i,[o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideLayoutTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideMasterTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),f===void 0&&(s=="title"||s=="subTitle"||s=="ctrTitle"?f=L(n.slideMasterTextStyles,["p:titleStyle",o,"a:defRPr","attrs","sz"]):s=="body"||s=="obj"||s=="dt"||s=="sldNum"?f=L(n.slideMasterTextStyles,["p:bodyStyle",o,"a:defRPr","attrs","sz"]):(s=="shape"||s==="textBox")&&(f=L(n.slideMasterTextStyles,["p:otherStyle",o,"a:defRPr","attrs","sz"])),f===void 0&&(f=L(n.defaultTextStyle,[o,"a:defRPr","attrs","sz"]))),d=parseInt(f)/100);var c=L(e,["a:rPr","attrs","baseline"]);if(c!==void 0&&Number(c)!==0&&!isNaN(d)&&(d*=2/3),!isNaN(d)){let l=X1(r).fontScale;d*=l}return isNaN(d)?s=="br"?"initial":"inherit":d*Co+"px"}function ek(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","b"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","b"])),i===void 0&&(i=L(a,["a:defRPr","attrs","b"])),i===void 0&&(i=L(s,["a:defRPr","attrs","b"])),i==="1"||i===!0?"bold":i==="0"||i===!1?"normal":"inherit"}function tk(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","i"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","i"])),i===void 0&&(i=L(a,["a:defRPr","attrs","i"])),i===void 0&&(i=L(s,["a:defRPr","attrs","i"])),i==="1"||i===!0?"italic":i==="0"||i===!1?"normal":"inherit"}function rk(e,r,t){if(e["a:rPr"]!==void 0){var a=e["a:rPr"].attrs.u!==void 0?e["a:rPr"].attrs.u:"none",s=e["a:rPr"].attrs.strike!==void 0?e["a:rPr"].attrs.strike:"noStrike";return a!="none"&&s=="noStrike"?"underline":a=="none"&&s!="noStrike"?"line-through":a!="none"&&s!="noStrike"?"underline line-through":"inherit"}else return"inherit"}function ak(e,r,t,a){var s=L(e,["a:pPr","attrs","algn"]);if(s===void 0&&(s=L(r,["a:pPr","attrs","algn"])),s===void 0)if(t=="title"||t=="ctrTitle"||t=="subTitle"){var n=1,i=L(r,["a:pPr","attrs","lvl"]);i!==void 0&&(n=parseInt(i)+1);var o="a:lvl"+n+"pPr";s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTextStyles","p:titleStyle",o,"attrs","algn"]),s===void 0&&t==="subTitle"&&(s=L(a,["slideMasterTextStyles","p:bodyStyle",o,"attrs","algn"]))))}else t=="body"?s=L(a,["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]):s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var d="inherit";if(s!==void 0)switch(s){case"l":d="left";break;case"r":d="right";break;case"ctr":d="center";break;case"just":d="justify";break;case"dist":d="justify";break;default:d="inherit"}return d}function nk(e,r,t){var a=L(e,["a:rPr","attrs","baseline"]);return a===void 0?"baseline":parseInt(a)/1e3+"%"}function Xu(e,r){var t="";if(e["a:bottom"]!==void 0){var a={"p:spPr":{"a:ln":e["a:bottom"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-bottom")}if(e["a:top"]!==void 0){var a={"p:spPr":{"a:ln":e["a:top"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-top")}if(e["a:right"]!==void 0){var a={"p:spPr":{"a:ln":e["a:right"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-right")}if(e["a:left"]!==void 0){var a={"p:spPr":{"a:ln":e["a:left"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-left")}return t}function Si(e,r,t,a,s){var n,i,o;a=="shape"?(n="border: ",i=e["p:spPr"]["a:ln"]):a=="text"&&(n="",i=e["a:rPr"]["a:ln"]);var d=L(i,["a:noFill"]);if(d!==void 0)return"hidden";if(i==null){var f=L(e,["p:style","a:lnRef"]);if(f!==void 0){var c=L(f,["attrs","idx"]);i=s.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(c)-1]}}i==null&&(n="",i=e);var l;if(i!==void 0){var g=parseInt(L(i,["attrs","w"]))/12700;isNaN(g)||g<1?n+=4/3+"px ":n+=g+"px ";var m=L(i,["a:prstDash","attrs","val"]);m===void 0&&(m=L(i,["attrs","cmpd"]));var p="0";switch(m){case"solid":n+="solid",p="0";break;case"dash":n+="dashed",p="5";break;case"dashDot":n+="dashed",p="5, 5, 1, 5";break;case"dot":n+="dotted",p="1, 5";break;case"lgDash":n+="dashed",p="10, 5";break;case"dbl":n+="double",p="0";break;case"lgDashDotDot":n+="dashed",p="10, 5, 1, 5, 1, 5";break;case"sysDash":n+="dashed",p="5, 2";break;case"sysDashDot":n+="dashed",p="5, 2, 1, 5";break;case"sysDashDotDot":n+="dashed",p="5, 2, 1, 5, 1, 5";break;case"sysDot":n+="dotted",p="2, 5";break;default:n+="solid",p="0"}var b=un(i);b=="NO_FILL"?l=t?"none":"":b=="SOLID_FILL"?l=gt(i["a:solidFill"],void 0,void 0,s):b=="GRADIENT_FILL"?l=uk(Ju(i["a:gradFill"],s,e)):b=="PATTERN_FILL"&&(l=Pf(i["a:pattFill"],s))}if(l===void 0){var f=L(e,["p:style","a:lnRef"]);f!==void 0&&(l=gt(f,void 0,void 0,s))}return l===void 0?t?l="none":l="hidden":l="#"+l,n+=" "+l+" ",t?{color:l,width:g,type:m,strokeDasharray:p}:n+";"}async function ik(e,r,t){var a=e.slideContent,s=e.slideLayoutContent,n=e.slideMasterContent,i=L(s,["p:sldLayout","p:cSld","p:spTree"]),o=L(n,["p:sldMaster","p:cSld","p:spTree"]),d=L(a,["p:sld","attrs","showMasterSp"]),f=L(s,["p:sldLayout","attrs","showMasterSp"]),c=d!==void 0?d:f,l=!(c==="0"||c==="false"),g=await P5(e,t)||"",m="<div class='slide-background slide-background-"+t+"' style='position:absolute;top:0;left:0;overflow:hidden;z-index:0;width:"+r.width+"px; height:"+r.height+"px;"+g+"'>";if(o!==void 0&&l){m+="<div class='pptx-master-layer' style='position:absolute;inset:0;z-index:0;'>";for(var p in o)if(o[p].constructor===Array)for(var b=0;b<o[p].length;b++){var k=L(o[p][b],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);m+=await V0(p,o[p][b],o,e,"slideMasterBg")}else{var k=L(o[p],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);m+=await V0(p,o[p],o,e,"slideMasterBg")}m+="</div>"}if(i!==void 0){m+="<div class='pptx-layout-layer' style='position:absolute;inset:0;z-index:1;'>";for(var p in i)if(i[p].constructor===Array)for(var b=0;b<i[p].length;b++){var k=L(i[p][b],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);k!="pic"&&(m+=await V0(p,i[p][b],i,e,"slideLayoutBg"))}else{var k=L(i[p],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);k!="pic"&&(m+=await V0(p,i[p],i,e,"slideLayoutBg"))}m+="</div>"}return m+"</div>"}function sk(e){var r=[];return e===void 0?r:(Object.keys(e).forEach(function(t){var a=e[t];if(t!="attrs")if(a.constructor===Array)for(var s=0;s<a.length;s++){var n={};n[t]=a[s],n.idex=Number(L(a[s],["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}else{var n={};n[t]=a,n.idex=Number(L(a,["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}}),r.sort(function(t,a){return t.idex-a.idex}))}function ok(e,r){if(!(r==0||r==1e3)){var t=r>1e3?"a:bgFillStyleLst":"a:fillStyleLst",a=r>1e3?r-1e3:r,s=L(e.themeContent,["a:theme","a:themeElements","a:fmtScheme",t]),n=sk(s);return n[a-1]}}async function Tc(e,r,t,a,s,n,i){if(e!==void 0){var o=un(e);if(o=="SOLID_FILL"){var d=e["a:solidFill"],f=gt(d,r,t,s);return f!==void 0?"background: #"+f+";":void 0}else{if(o=="GRADIENT_FILL")return zo(e,t,a,s);if(o=="PIC_FILL")return await Yi(e,i||"themeBg",s,t,n);if(o=="PATTERN_FILL"){var c=Pf(e["a:pattFill"],s);if(c!==void 0){var l="background: "+c[0]+";";return c[1]!==null&&c[1]!==void 0&&c[1]!=""&&(l+="background-size:"+c[1]+";"),c[2]!==null&&c[2]!==void 0&&c[2]!=""&&(l+="background-position:"+c[2]+";"),l}}}}}async function Rp(e,r,t,a,s,n){return await Tc(ok(s,e),r,t,a,s,n,"themeBg")}async function P5(e,r){var t=e.slideContent,a=e.slideLayoutContent,s=e.slideMasterContent,n=L(t,["p:sld","p:cSld","p:bg","p:bgPr"]),i=L(t,["p:sld","p:cSld","p:bg","p:bgRef"]),o;if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideBg",e,void 0,r))}else if(i!==void 0){var c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var m=gt(i,c,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Rp(p,c,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(B){var Y=k[B];if(B!="attrs")if(Y.constructor===Array)for(var T=0;T<Y.length;T++){var O={};O[B]=Y[T],O.idex=Y[T].attrs.order,O.attrs={order:Y[T].attrs.order},M.push(O)}else{var O={};O[B]=Y,O.idex=Y.attrs.order,O.attrs={order:Y.attrs.order},M.push(O)}});var v=M.slice(0);v.sort(function(B,Y){return B.idex-Y.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await Tc(_,c,m,s,e,r,"themeBg"):console.log(d)}}}else{n=L(a,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),i=L(a,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);var c,l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"]),n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideLayoutBg",e,void 0,r))}else if(i!==void 0){var m=gt(i,c,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Rp(p,c,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(Q){var ae=k[Q];if(Q!="attrs")if(ae.constructor===Array)for(var A=0;A<ae.length;A++){var V={};V[Q]=ae[A],V.idex=ae[A].attrs.order,V.attrs={order:ae[A].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var v=M.slice(0);v.sort(function(Q,ae){return Q.idex-ae.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,c,m,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await Tc(_,c,m,s,e,r,"themeBg"):console.log(d)}}}else{n=L(s,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),i=L(s,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);var y=L(s,["p:sldMaster","p:clrMap","attrs"]);if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],g=gt(f,y,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideMasterBg",e,void 0,r))}else if(i!==void 0){var m=gt(i,y,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Rp(p,y,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(Q){var ae=k[Q];if(Q!="attrs")if(ae.constructor===Array)for(var A=0;A<ae.length;A++){var V={};V[Q]=ae[A],V.idex=ae[A].attrs.order,V.attrs={order:ae[A].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var v=M.slice(0);v.sort(function(Q,ae){return Q.idex-ae.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,y,m,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await Tc(_,y,m,s,e,r,"themeBg"):console.log(d)}}}}}return o}function zo(e,r,t,a){var s="";if(e!==void 0){var n=e["a:gradFill"],i=n["a:gsLst"]["a:gs"];i.constructor!==Array&&(i=[i]);for(var o=L(t,["p:sldMaster","p:clrMap","attrs"]),d=[],f=[],c=0;c<i.length;c++){var l,g="",g=gt(i[c],o,r,a),m=L(i[c],["attrs","pos"]);m!==void 0?f[c]=m/1e3+"%":f[c]="",d[c]="#"+g}var p=n["a:lin"],b=90;p!==void 0&&(b=Oo(p.attrs.ang),b=b+90),s="background: linear-gradient("+b+"deg,";for(var c=0;c<i.length;c++)c==i.length-1?s+=d[c]+" "+f[c]+");":s+=d[c]+" "+f[c]+", "}else r!==void 0&&(s="background: #"+r+";");return s}async function Yi(e,r,t,a,s){var n,i=await S5(r,e["a:blipFill"],t);if(i!==void 0){var o=L(e,["attrs","order"]),d=L(e,["a:blipFill","a:blip"]),f=L(d,["a:duotone"]);if(f!==void 0){var c=[];Object.keys(f).forEach(function(R){if(R!="attrs"){var B={};B[R]=f[R],c.push(gt(B,void 0,a,t))}})}var l=L(d,["a:alphaModFix","attrs"]),g="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var m=parseInt(l.amt)/1e5;g="opacity:"+m+";"}var p=L(e,["a:blipFill","a:tile","attrs"]),b="";if(p!==void 0&&p.sx!==void 0){var k=parseInt(p.sx)/1e5,M=parseInt(p.sy)/1e5,v=parseInt(p.tx)/1e5,_=parseInt(p.ty)/1e5,y=p.algn,I=p.flip;b+="background-repeat: round;"}var C=L(e,["a:blipFill","a:stretch"]);return C!==void 0&&(b+="background-repeat: no-repeat;",b+="background-position: center;",b+="background-size: 100% 100%;"),n="background: url("+i+");"+(o!==void 0?" z-index: "+o+";":"")+b+g,n}}async function Qu(e,r,t,a,s){var n=un(L(e,["p:spPr"])),i,o;if(n=="NO_FILL")return t?"none":"";if(n=="SOLID_FILL")o=e["p:spPr"]["a:solidFill"],i=gt(o,void 0,void 0,a);else if(n=="GRADIENT_FILL")o=e["p:spPr"]["a:gradFill"],i=Ju(o,a,e);else if(n=="PATTERN_FILL")o=e["p:spPr"]["a:pattFill"],i=Pf(o,a);else if(n=="PIC_FILL")o=e["p:spPr"]["a:blipFill"],i=await S5(s,o,a);else if(n=="GROUP_FILL"){var d=L(r,["p:grpSpPr"]);if(d!==void 0)return await Qu({"p:spPr":d},e,t,a,s)}if(i===void 0){var f=L(e,["p:style","a:fillRef"]),c=parseInt(L(e,["p:style","a:fillRef","attrs","idx"]));if(c==0||c==1e3)return t?"none":"";c>0&&c<1e3||c>1e3,i=gt(f,void 0,void 0,a)}if(i===void 0){var l=L(e,["p:spPr","a:grpFill"]);if(l!==void 0){var d=r["p:grpSpPr"],g={"p:spPr":d};return await Qu(g,e,t,a,s)}else if(n=="NO_FILL")return t?"none":""}if(i!==void 0)if(n=="GRADIENT_FILL"){if(t)return i;for(var m=i.color,p=i.rot,b="background: linear-gradient("+p+"deg,",k=0;k<m.length;k++)k==m.length-1?b+="#"+m[k]+");":b+="#"+m[k]+", ";return b}else{if(n=="PIC_FILL")return t?i:"background-image:url("+i+");";if(n=="PATTERN_FILL"){var M="",v="",_="";return M=i[0],i[1]!==null&&i[1]!==void 0&&i[1]!=""&&(v=" background-size:"+i[1]+";"),i[2]!==null&&i[2]!==void 0&&i[2]!=""&&(_=" background-position:"+i[2]+";"),"background: "+M+";"+v+_}else if(t){var y=Je(i);return i=y.toRgbString(),i}else return"background-color: #"+i+";"}else return t?"none":""}function un(e={}){var r="";return e["a:noFill"]!==void 0&&(r="NO_FILL"),e["a:solidFill"]!==void 0&&(r="SOLID_FILL"),e["a:gradFill"]!==void 0&&(r="GRADIENT_FILL"),e["a:pattFill"]!==void 0&&(r="PATTERN_FILL"),e["a:blipFill"]!==void 0&&(r="PIC_FILL"),e["a:grpFill"]!==void 0&&(r="GROUP_FILL"),r}function fk(e){return(e%360+360)%360}function lk(e,r){var t=L(r,["p:spPr","a:xfrm","attrs"])||{},a=t.flipH==="1",s=t.flipV==="1",n=e;return a&&(n=180-n),s&&(n=-n),fk(n)}function uk(e){var r=e&&e.color;if(!(!Array.isArray(r)||!r.length)){var t=r[0],a=-1;return r.forEach(function(s){var n=Je("#"+s),i=n.getAlpha();i>a&&(t=n.toHex8(),a=i)}),t}}function Ju(e,r,t){for(var a=Mr(e["a:gsLst"]["a:gs"]),s=[],n=[],i=0;i<a.length;i++){var o,d=gt(a[i],void 0,void 0,r);s[i]=d}var f=e["a:lin"],c=0;return f!==void 0&&(c=Oo(f.attrs.ang)+90),c=lk(c,t),{color:s,rot:c}}async function S5(e,r,t){var a,s=r["a:blip"].attrs["r:embed"],n;if(e=="slideBg"||e=="slide"?n=L(t,["slideResObj",s,"target"]):e=="slideLayoutBg"?n=L(t,["layoutResObj",s,"target"]):e=="slideMasterBg"?n=L(t,["masterResObj",s,"target"]):e=="themeBg"?n=L(t,["themeResObj",s,"target"]):e=="diagramBg"&&(n=L(t,["diagramResObj",s,"target"])),n!==void 0){if(a=L(t,["loaded-images",n]),a===void 0){n=Ii(n);var i=n.split(".").pop();if(i=="xml")return;var o=await t.zip.file(n).async("arraybuffer");a=await _5(i,o),pk(t,["loaded-images",n],a)}return a}}function Pf(e,r){var t="",a="",s="",n=e["a:bgClr"],i=e["a:fgClr"];s=e.attrs.prst,t=gt(i,void 0,void 0,r),a=gt(n,void 0,void 0,r);var o=ck(s,a,t);return o}function ck(e,r,t){switch(e){case"smGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","4px 4px"];case"dotGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","8px 8px"];case"lgGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1.5px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1.5px) #"+r+";","8px 8px"];case"wdUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"wdDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"lgCheck":case"smCheck":var s="",a="";return e=="lgCheck"?(s="8px 8px",a="0 0, 4px 4px, 4px 4px, 8px 8px"):(s="4px 4px",a="0 0, 2px 2px, 2px 2px, 4px 4px"),["linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0), linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0) #"+r+";",s,a];break;case"dashUpDiag":return["repeating-linear-gradient(152deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"dashDnDiag":return["repeating-linear-gradient(45deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"diagBrick":return["linear-gradient(45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 65%, #"+t+" 80%, transparent 0) #"+r+";","4px 4px"];case"horzBrick":return["linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px) #"+t+";","4px 4px","0 0.15px, 0.3px 2.5px, 2px 2.15px, 2.35px 0.4px"];case"dashVert":return["linear-gradient(0deg, #"+r+" 30%, transparent 30%),linear-gradient(90deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"dashHorz":return["linear-gradient(90deg, #"+r+" 30%, transparent 30%),linear-gradient(0deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"solidDmnd":return["linear-gradient(135deg, #"+t+" 25%, transparent 25%), linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","8px 8px"];case"openDmnd":return["linear-gradient(45deg, transparent 0%, transparent calc(50% - 0.5px), #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%), linear-gradient(-45deg, transparent 0%, transparent calc(50% - 0.5px) , #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%) #"+r+";","8px 8px"];case"dotDmnd":return["radial-gradient(#"+t+" 15%, transparent 0), radial-gradient(#"+t+" 15%, transparent 0) #"+r+";","4px 4px","0 0, 2px 2px"];case"zigZag":case"wave":var s="";return e=="zigZag"?s="0":s="1px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(225deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","4px 4px"];break;case"lgConfetti":case"smConfetti":var s="";return e=="lgConfetti"?s="4px 4px":s="2px 2px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px 1px, linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%) 50px 1px , linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";",s];break;case"plaid":return["linear-gradient(0deg, transparent, transparent 25%, #"+t+"33 25%, #"+t+"33 50%),linear-gradient(90deg, transparent, transparent 25%, #"+t+"66 25%, #"+t+"66 50%) #"+r+";","4px 4px"];case"sphere":return["radial-gradient(#"+t+" 50%, transparent 50%),#"+r+";","4px 4px"];case"weave":case"shingle":return["linear-gradient(45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px), linear-gradient(-45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px) 0 4px, #"+r+";","4px 8px"];case"pct5":case"pct10":case"pct20":case"pct25":case"pct30":case"pct40":case"pct50":case"pct60":case"pct70":case"pct75":case"pct80":case"pct90":case"trellis":case"divot":var n;switch(e){case"pct5":n=["0.3px","10%","2px 2px"];break;case"divot":n=["0.3px","40%","4px 4px"];break;case"pct10":n=["0.3px","20%","2px 2px"];break;case"pct20":n=["0.2px","40%","2px 2px"];break;case"pct25":n=["0.2px","50%","2px 2px"];break;case"pct30":n=["0.5px","50%","2px 2px"];break;case"pct40":n=["0.5px","70%","2px 2px"];break;case"pct50":n=["0.09px","90%","2px 2px"];break;case"pct60":n=["0.3px","90%","2px 2px"];break;case"pct70":case"trellis":n=["0.5px","95%","2px 2px"];break;case"pct75":n=["0.65px","100%","2px 2px"];break;case"pct80":n=["0.85px","100%","2px 2px"];break;case"pct90":n=["1px","100%","2px 2px"];break}return["radial-gradient(#"+t+" "+n[0]+", transparent "+n[1]+"),#"+r+";",n[2]];default:return[0,0]}}function gt(e,r,t,a){if(e!==void 0){var s="",n;if(e["a:srgbClr"]!==void 0)n=e["a:srgbClr"],s=L(n,["attrs","val"]);else if(e["a:schemeClr"]!==void 0){n=e["a:schemeClr"];var i=L(n,["attrs","val"]);s=I5("a:"+i,r,t,a)}else if(e["a:scrgbClr"]!==void 0){n=e["a:scrgbClr"];var o=n.attrs,d=o.r.indexOf("%")!=-1?o.r.split("%").shift():o.r,f=o.g.indexOf("%")!=-1?o.g.split("%").shift():o.g,c=o.b.indexOf("%")!=-1?o.b.split("%").shift():o.b;s=gf(255*(Number(d)/100))+gf(255*(Number(f)/100))+gf(255*(Number(c)/100))}else if(e["a:prstClr"]!==void 0){n=e["a:prstClr"];var l=L(n,["attrs","val"]);s=hk(l)}else if(e["a:hslClr"]!==void 0){n=e["a:hslClr"];var o=n.attrs,g=Number(o.hue)/1e5,m=Number(o.sat.indexOf("%")!=-1?o.sat.split("%").shift():o.sat)/100,p=Number(o.lum.indexOf("%")!=-1?o.lum.split("%").shift():o.lum)/100,b=dk(g,m,p);s=gf(b.r)+gf(b.g)+gf(b.b)}else if(e["a:sysClr"]!==void 0){n=e["a:sysClr"];var k=L(n,["attrs","lastClr"]);k!==void 0&&(s=k)}s=T5(s);var M=!1,v=parseInt(L(n,["a:alpha","attrs","val"]))/1e5;if(!isNaN(v)){var _=Je(s);_.setAlpha(v),s=_.toHex8(),M=!0}var y=parseInt(L(n,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=Lk(s,y,M));var I=parseInt(L(n,["a:lumMod","attrs","val"]))/1e5;isNaN(I)||(s=bk(s,I,M));var C=parseInt(L(n,["a:lumOff","attrs","val"]))/1e5;isNaN(C)||(s=_k(s,C,M));var R=parseInt(L(n,["a:satMod","attrs","val"]))/1e5;isNaN(R)||(s=gk(s,R,M));var B=parseInt(L(n,["a:shade","attrs","val"]))/1e5;isNaN(B)||(s=vk(s,B,M));var Y=parseInt(L(n,["a:tint","attrs","val"]))/1e5;return isNaN(Y)||(s=mk(s,Y,M)),s}}function gf(e){for(var r=e.toString(16);r.length<2;)r="0"+r;return r}function dk(e,r,t){var a,s,n,i,o;return e=e/60,t<=.5?s=t*(r+1):s=t+r-t*r,a=t*2-s,n=Bp(a,s,e+2)*255,i=Bp(a,s,e)*255,o=Bp(a,s,e-2)*255,{r:n,g:i,b:o}}function Bp(e,r,t){return t<0&&(t+=6),t>=6&&(t-=6),t<1?(r-e)*t+e:t<3?r:t<4?(r-e)*(4-t)+e:e}function hk(e){var r,t=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],s=t.indexOf(e);return s!=-1&&(r=a[s]),r}function I5(e,r,t,a){var s;if(r!==void 0)s=r;else{var n=L(a.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(n!==void 0)s=n;else{var n=L(a.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n!==void 0?s=n:s=L(a.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}}var i=e.substr(2);if(i=="phClr"&&t!==void 0)d=t;else{if(s!==void 0)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+s[i];break}else switch(i){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2";break}var o=L(a.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),d=L(o,["a:srgbClr","attrs","val"]);d===void 0&&o!==void 0&&(d=L(o,["a:sysClr","attrs","lastClr"]))}return T5(d)}function L(e,r){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(e==null)return;let t=r.length;for(let a=0;a<t;a++)if(e=e[r[a]],e==null)return;return e}function pk(e,r,t){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(!(e==null||typeof e!="object")){for(var a=e,s=0;s<r.length;s++){var n=r[s];if(s===r.length-1)return Object.defineProperty(a,n,{value:t,writable:!0,enumerable:!0,configurable:!0}),t;var i=Object.prototype.hasOwnProperty.call(a,n)?a[n]:void 0;(i===null||typeof i!="object")&&(i=Object.create(null),Object.defineProperty(a,n,{value:i,writable:!0,enumerable:!0,configurable:!0})),a=i}return a}}function vk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=Math.min(a.l*r,1);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function mk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=a.l*r+(1-r);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function _k(e,r,t){var a=Je(e).toHsl(),s=r+a.l;return s>=1?t?Je({h:a.h,s:a.s,l:1,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:1,a:a.a}).toHex():t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function bk(e,r,t){var a=Je(e).toHsl(),s=a.l*r;return s>=1&&(s=1),t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Lk(e,r,t){var a=Je(e).toHsl(),s=a.h*r;return s>=360&&(s=s-360),t?Je({h:cocacl_h,s:a.s,l:a.l,a:a.a}).toHex8():Je({h:s,s:a.s,l:a.l,a:a.a}).toHex()}function gk(e,r,t){var a=Je(e).toHsl(),s=a.s*r;return s>=1&&(s=1),t?Je({h:a.h,s,l:a.l,a:a.a}).toHex8():Je({h:a.h,s,l:a.l,a:a.a}).toHex()}function Oo(e){return e==""||e==null?0:Math.round(e/6e4)}function wc(e){var r="";switch(e.toLowerCase()){case"jpg":case"jpeg":r="image/jpeg";break;case"png":r="image/png";break;case"gif":r="image/gif";break;case"emf":r="image/x-emf";break;case"wmf":r="image/x-wmf";break;case"svg":r="image/svg+xml";break;case"mp4":r="video/mp4";break;case"webm":r="video/webm";break;case"ogg":r="video/ogg";break;case"avi":r="video/avi";break;case"mpg":r="video/mpg";break;case"wmv":r="video/wmv";break;case"mp3":r="audio/mpeg";break;case"wav":r="audio/wav";break;case"tif":case"tiff":r="image/tiff";break}return r}function kk(e,r,t,a,s){var n=Mk(a.length-2),i="",o=r,d=e,f="",c=Ek(t,o,d),l=c[0],g=c[1],m=c[2],p=c[3],b=n.length,k=b<20?100:1e3;i=' gradientUnits="userSpaceOnUse" x1="'+l+'%" y1="'+g+'%" x2="'+m+'%" y2="'+p+'%"',i='<linearGradient id="linGrd_'+s+'"'+i+`>
|
|
12
|
+
</svg>`,o=new TextEncoder().encode(i);return{mime:"image/svg+xml",bytes:o,dataUrl:mp(o,"image/svg+xml"),width:s,height:n,sourceMime:r,recordCount:e.recordCount}}function fg(e){let r=new ln(e),t=0,a=null;if(r.u32(0)===QL&&e.length>=22&&(a=Lf({left:r.i16(6),top:r.i16(8),right:r.i16(10),bottom:r.i16(12)}),t=22),t+FL>e.length)return null;let s=new ln(e.subarray(t)),n=s.u16(2),i=s.u16(10),o=t+n*2;if(o>e.length)return null;let d=a||{left:0,top:0,right:1e3,bottom:1e3},f=$_(Da(d),Na(d),d);f.objects=new Array(Math.max(0,i)).fill(null),a&&(f.state.windowOrg={x:a.left,y:a.top},f.state.windowExt={x:Da(a),y:Na(a)},f.state.viewportOrg={x:a.left,y:a.top},f.state.viewportExt={x:Da(a),y:Na(a)});let c=o;for(;c+6<=e.length;){let l=new ln(e.subarray(c)),m=l.u32(0)*2;if(m<6||c+m>e.length)break;let p=l.u16(4);switch(f.recordCount+=1,p){case Sr.META_EOF:return bc(f,"image/wmf");case Sr.META_SETWINDOWORG:f.state.windowOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETWINDOWEXT:f.state.windowExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTORG:f.state.viewportOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTEXT:f.state.viewportExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_OFFSETWINDOWORG:f.state.windowOrg={x:f.state.windowOrg.x+l.i16(8),y:f.state.windowOrg.y+l.i16(6)};break;case Sr.META_OFFSETVIEWPORTORG:f.state.viewportOrg={x:f.state.viewportOrg.x+l.i16(8),y:f.state.viewportOrg.y+l.i16(6)};break;case Sr.META_SETBKMODE:f.state.bkMode=l.u16(6);break;case Sr.META_SETPOLYFILLMODE:f.state.polygonFillMode=l.u16(6);break;case Sr.META_SETBKCOLOR:f.state.bkColor=S0(l.u32(6));break;case Sr.META_SETTEXTCOLOR:f.state.textColor=S0(l.u32(6));break;case Sr.META_MOVETO:f.state.currentPosition={x:l.i16(8),y:l.i16(6)};break;case Sr.META_LINETO:{let b={x:l.i16(8),y:l.i16(6)};A_(f,f.state.currentPosition,b);break}case Sr.META_POLYLINE:case Sr.META_POLYGON:{let b=l.u16(6),k=[],M=8;for(let v=0;v<b&&M+4<=m;v+=1)k.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Hu(f,k,p===Sr.META_POLYGON);break}case Sr.META_POLYPOLYGON:{let b=l.u16(6),k=[],M=8;for(let v=0;v<b&&M+2<=m;v+=1)k.push(l.u16(M)),M+=2;for(let v of k){let _=[];for(let y=0;y<v&&M+4<=m;y+=1)_.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Hu(f,_,!0)}break}case Sr.META_RECTANGLE:{mc(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ELLIPSE:{K_(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ROUNDRECT:{mc(f,{left:l.i16(16),top:l.i16(14),right:l.i16(12),bottom:l.i16(10)},{x:l.i16(8),y:l.i16(6)});break}case Sr.META_TEXTOUT:{let b=l.u16(6),k=8,M=b+b%2,v=_c(l.slice(k,Math.min(b,Math.max(0,m-k-4)))),_=k+M,y=l.i16(_),I=l.i16(_+2);vc(f,{x:I,y},v);break}case Sr.META_CREATEPENINDIRECT:{let b=l.u16(6),k=l.i16(8),M=S0(l.u32(12)),v=bp(f.objects);No(f.objects,v,{kind:"pen",value:gp(b,k,M)});break}case Sr.META_CREATEBRUSHINDIRECT:{let b=l.u16(6),k=S0(l.u32(8)),M=bp(f.objects);No(f.objects,M,{kind:"brush",value:W_(b,k)});break}case Sr.META_CREATEFONTINDIRECT:{let b=Math.abs(l.i16(6)),k=l.i16(10),M=l.u16(14),v=!!l.u8(16),_=!!l.u8(17),y=!!l.u8(18),I=_c(l.slice(24,Math.max(0,m-24))).split("\0")[0]||"sans-serif",C=bp(f.objects);No(f.objects,C,{kind:"font",value:{family:I,size:b||12,weight:M,italic:v,underline:_,strike:y,escapement:k}});break}case Sr.META_SELECTOBJECT:X_(f,l.u16(6));break;case Sr.META_DELETEOBJECT:{let b=l.u16(6);b>=0&&b<f.objects.length&&(f.objects[b]=null);break}default:break}c+=m}return bc(f,"image/wmf")}function Uu(e,r,t,a){let s=[];for(let n=0;n<t;n+=1){let i=r+n*a;a===8?s.push({x:e.i32(i),y:e.i32(i+4)}):s.push({x:e.i16(i),y:e.i16(i+2)})}return s}function H_(e,r){if(!e.ensure(36,40))return null;let t={x:e.i32(36),y:e.i32(40)},a=e.u32(44),s=e.u32(48);if(!a||!s||s>=e.length)return null;let n=r?a*2:a,i=e.slice(s,n),o=r?Q_(i):_c(i);return{point:t,text:o}}function lg(e){if(!e.ensure(8,24))return null;let r={x:e.i32(8),y:e.i32(12)},t=e.u32(16),a=e.u32(20),s=36;if(a&2&&(s+=16),!t||!e.ensure(s,t))return null;let n=_c(e.slice(s,t));return{point:r,text:n}}function F_(e,r,t,a,s){let n=e.u32(r),i=e.u32(t),o=e.u32(a),d=e.u32(s);return!n||!i||!o||!d||!e.ensure(n,i)||!e.ensure(o,d)?null:jL(e.slice(n,i),e.slice(o,d))}function ug(e,r){if(!r.ensure(24,56))return;let t=F_(r,48,52,56,60);t&&J_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(72),bottom:r.i32(28)+r.i32(76)},t)}function cg(e,r){if(!r.ensure(24,76))return;let t=F_(r,84,88,92,96);t&&J_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(32),bottom:r.i32(28)+r.i32(36)},t)}function dg(e){e.pathData.length&&e.pathData.push("Z")}function hg(e){let r=new ln(e);if(!r.ensure(0,52)||r.u32(0)!==ct.EMR_HEADER)return null;let t=Lf({left:r.i32(8),top:r.i32(12),right:r.i32(16),bottom:r.i32(20)}),a=Da(t)>0&&Na(t)>0?t:{left:0,top:0,right:1e3,bottom:1e3},s=$_(Da(a),Na(a),a);s.state.windowOrg={x:a.left,y:a.top},s.state.windowExt={x:Da(a),y:Na(a)},s.state.viewportOrg={x:a.left,y:a.top},s.state.viewportExt={x:Da(a),y:Na(a)};let n=0;for(;n+8<=e.length;){let i=new ln(e.subarray(n)),o=i.u32(0),d=i.u32(4);if(d<8||n+d>e.length)break;switch(s.recordCount+=1,o){case ct.EMR_EOF:return bc(s,"image/emf");case ct.EMR_SETWINDOWORGEX:s.state.windowOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETWINDOWEXTEX:s.state.windowExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTORGEX:s.state.viewportOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTEXTEX:s.state.viewportExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETBKMODE:s.state.bkMode=i.u32(8);break;case ct.EMR_SETPOLYFILLMODE:s.state.polygonFillMode=i.u32(8);break;case ct.EMR_SETTEXTALIGN:s.state.textAlign=i.u32(8);break;case ct.EMR_SETTEXTCOLOR:s.state.textColor=S0(i.u32(8));break;case ct.EMR_SETBKCOLOR:s.state.bkColor=S0(i.u32(8));break;case ct.EMR_SAVEDC:s.stateStack.push(_p(s.state));break;case ct.EMR_RESTOREDC:{let f=i.i32(8);if(f<0){let c=Math.min(s.stateStack.length,Math.abs(f));for(let g=0;g<c-1;g+=1)s.stateStack.pop();let l=s.stateStack.pop();l&&(s.state=_p(l))}else if(f>0&&f<=s.stateStack.length){let c=s.stateStack[f-1];s.stateStack.length=f-1,c&&(s.state=_p(c))}break}case ct.EMR_SETWORLDTRANSFORM:s.state.worldTransform=x_(i,8);break;case ct.EMR_MODIFYWORLDTRANSFORM:{let f=x_(i,8),c=i.u32(32);c===pc.MWT_IDENTITY?s.state.worldTransform={...Z_}:c===pc.MWT_SET?s.state.worldTransform=f:c===pc.MWT_LEFTMULTIPLY?s.state.worldTransform=G_(f,s.state.worldTransform):c===pc.MWT_RIGHTMULTIPLY&&(s.state.worldTransform=G_(s.state.worldTransform,f));break}case ct.EMR_MOVETOEX:s.state.currentPosition={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_LINETO:{let f={x:i.i32(8),y:i.i32(12)};A_(s,s.state.currentPosition,f);break}case ct.EMR_POLYLINE:case ct.EMR_POLYGON:case ct.EMR_POLYLINE16:case ct.EMR_POLYGON16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINE16||o===ct.EMR_POLYGON16?4:8,g=Uu(i,c,f,l);Hu(s,g,o===ct.EMR_POLYGON||o===ct.EMR_POLYGON16);break}case ct.EMR_POLYBEZIER:case ct.EMR_POLYBEZIER16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIER16?4:8,g=Uu(i,c,f,l);U_(s,g,!1);break}case ct.EMR_POLYBEZIERTO:case ct.EMR_POLYBEZIERTO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIERTO16?4:8,g=Uu(i,c,f,l);U_(s,g,!0);break}case ct.EMR_POLYLINETO:case ct.EMR_POLYLINETO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINETO16?4:8,g=Uu(i,c,f,l);Hu(s,[{...s.state.currentPosition},...g],!1);break}case ct.EMR_POLYPOLYLINE:case ct.EMR_POLYPOLYGON:case ct.EMR_POLYPOLYLINE16:case ct.EMR_POLYPOLYGON16:{let f=i.u32(24),c=i.u32(28),l=32,g=o===ct.EMR_POLYPOLYLINE16||o===ct.EMR_POLYPOLYGON16?4:8,m=l+f*4,p=[];for(let M=0;M<f;M+=1)p.push(i.u32(l+M*4));let b=Uu(i,m,c,g),k=0;for(let M of p)Hu(s,b.slice(k,k+M),o===ct.EMR_POLYPOLYGON||o===ct.EMR_POLYPOLYGON16),k+=M;break}case ct.EMR_RECTANGLE:mc(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ELLIPSE:K_(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ROUNDRECT:mc(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)},{x:i.i32(24),y:i.i32(28)});break;case ct.EMR_BEGINPATH:s.capturePath=!0,s.pathData=[],s.pathPoints=[];break;case ct.EMR_ENDPATH:s.capturePath=!1;break;case ct.EMR_CLOSEFIGURE:dg(s);break;case ct.EMR_FILLPATH:Lp(s,rg(s));break;case ct.EMR_STROKEANDFILLPATH:Lp(s,gc(s));break;case ct.EMR_STROKEPATH:Lp(s,Lc(s,s.state.pen));break;case ct.EMR_SELECTCLIPPATH:s.capturePath=!1,s.pathData=[],s.pathPoints=[];break;case ct.EMR_CREATEPEN:{let f=i.u32(8),c=i.u32(12),l=i.i32(16),g=S0(i.u32(24));No(s.objects,f,{kind:"pen",value:gp(c,l,g)});break}case ct.EMR_CREATEBRUSHINDIRECT:{let f=i.u32(8),c=i.u32(12),l=S0(i.u32(16));No(s.objects,f,{kind:"brush",value:W_(c,l)});break}case ct.EMR_EXTCREATEPEN:{let f=i.u32(8),c=i.u32(28),l=i.i32(32),g=i.u32(36),m=g===1?"none":S0(i.u32(40));No(s.objects,f,{kind:"pen",value:g===1?{color:m,width:l,none:!0}:gp(c,l,m)});break}case ct.EMR_EXTCREATEFONTINDIRECTW:{let f=i.u32(8),c=Math.abs(i.i32(12)),l=i.i32(20),g=i.i32(28),m=!!i.u8(32),p=!!i.u8(33),b=!!i.u8(34),k=Q_(i.slice(40,64)).split("\0")[0]||"sans-serif";No(s.objects,f,{kind:"font",value:{family:k,size:c||12,weight:g,italic:m,underline:p,strike:b,escapement:l}});break}case ct.EMR_SELECTOBJECT:X_(s,i.u32(8));break;case ct.EMR_DELETEOBJECT:{let f=i.u32(8);f>=0&&f<s.objects.length&&(s.objects[f]=null);break}case ct.EMR_EXTTEXTOUTA:{let f=H_(i,!1);f&&vc(s,f.point,f.text);break}case ct.EMR_EXTTEXTOUTW:{let f=H_(i,!0);f&&vc(s,f.point,f.text);break}case ct.EMR_SMALLTEXTOUT:{let f=lg(i);f&&vc(s,f.point,f.text);break}case ct.EMR_STRETCHDIBITS:ug(s,i);break;case ct.EMR_BITBLT:case ct.EMR_STRETCHBLT:case ct.EMR_ALPHABLEND:cg(s,i);break;default:break}n+=d}return bc(s,"image/emf")}function q_(e,r){return r.length?/image\/emf/i.test(e)?hg(r):/image\/wmf/i.test(e)?fg(r):null:null}var pg=(e,r,t)=>Math.min(t,Math.max(r,e)),T0=e=>Math.abs(e)<1e-12?0:e,Pp=e=>String(Math.round(T0(e)*1e6)/1e6),V_=(e,r,t=25e3)=>{let a=Math.max(0,e),s=Math.max(0,r),n=Math.min(a,s);if(!n)return[{x:0,y:s},{x:0,y:0},{x:a,y:0},{x:a,y:s}];let i=5e4*a/n,o=pg(Number.isFinite(t)?t:25e3,0,i),d=n*o/1e5;return[{x:0,y:s},{x:d,y:0},{x:a-d,y:0},{x:a,y:s}]},j_=e=>e.map(({x:r,y:t})=>`${Pp(r)} ${Pp(t)}`).join(","),vg=({width:e,height:r,rotation:t=0,flipH:a=!1,flipV:s=!1})=>{let n=t*Math.PI/180,i=T0(Math.cos(n)),o=T0(Math.sin(n)),d=a?-1:1,f=s?-1:1,c=T0(d*i),l=T0(-f*o),g=T0(d*o),m=T0(f*i),p=e/2,b=r/2;return{a:c,b:l,c:g,d:m,e:T0(p-c*p-g*b),f:T0(b-l*p-m*b)}},e5=e=>{let r=vg(e);return r.a===1&&r.b===0&&r.c===0&&r.d===1&&r.e===0&&r.f===0?"":`matrix(${[r.a,r.b,r.c,r.d,r.e,r.f].map(Pp).join(" ")})`};var Wu=e=>e*96/914400;var kc=Object.freeze({top:Wu(45720),right:Wu(91440),bottom:Wu(45720),left:Wu(91440)}),Mc=(e,r)=>{if(e==null||e==="")return r;let t=Number(e);return Number.isFinite(t)?Wu(t):r},t5=(e={})=>({top:Mc(e.marT,kc.top),right:Mc(e.marR,kc.right),bottom:Mc(e.marB,kc.bottom),left:Mc(e.marL,kc.left)}),r5=(e=[])=>{if(e.length===0)return;let r=0;for(let t of e){let a=Number(t);if(!Number.isFinite(a)||a<=0)return;r+=a}return r>0?r:void 0},mg=e=>{if(!Number.isFinite(e))return 0;let r=e%360;return r<0?r+360:r},_g=e=>{switch(e){case"vert270":return 270;case"vert":case"eaVert":case"mongolianVert":case"wordArtVert":case"wordArtVertRtl":return 90;default:return 0}},a5=({shapeRotation:e=0,textTransformRotation:r,bodyRotation:t=0,direction:a="horz",upright:s=!1})=>{let n=r!=null?r:s?0:e;return mg(n+t+_g(a))};var Sp=Op.default.default||Op.default,Wp={MsgQueue:[],isDone:!1},j0={MsgQueue:[]},bg="",p5=!1,v5=null,m5=1,Ip=0,Au,_5=["he-IL","ar-AE","ar-SA","dv-MV","fa-IR","ur-PK"],b5=96,Lg=914400,gg=72,w=b5/Lg,Co=b5/gg,Mr=e=>e==null?[]:Array.isArray(e)?e:[e],Et=(e,r=0)=>{let t=typeof e=="number"?e:parseFloat(e);return Number.isFinite(t)?t:r},kg=16,Tp={cx:9144e3,cy:6858e3},Mg="http://schemas.openxmlformats.org/officeDocument/2006/relationships/",Eg="http://schemas.microsoft.com/office/2007/relationships/";function Pg(e){return e==="line"||e==="straightConnector1"||/^bentConnector[2-5]$/.test(e||"")||/^curvedConnector[2-5]$/.test(e||"")}function Sg(e,r){let t=Object.assign({},r);return Mr(L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"])).forEach(function(s){let n=s&&s.attrs;if(!n||!Object.prototype.hasOwnProperty.call(t,n.name))return;let i=/^val\s+(-?(?:\d+(?:\.\d*)?|\.\d+))$/.exec(String(n.fmla||"").trim());if(!i)return;let o=Number(i[1]);Number.isFinite(o)&&(t[n.name]=o)}),t}function Ec(e){let r=[];return e.forEach(function(t){let a=r[r.length-1];(!a||a[0]!==t[0]||a[1]!==t[1])&&r.push(t)}),r.length===1&&e.length>1&&r.push(r[0]),r}function yp(e,r,t,a){let s=Et(t,0),n=Et(a,0),i=Sg(r,{adj1:5e4,adj2:5e4,adj3:5e4}),o=s*i.adj1/1e5,d=n*i.adj2/1e5,f=s*i.adj3/1e5;switch(e){case"bentConnector2":return Ec([[0,0],[s,0],[s,n]]);case"bentConnector3":return Ec([[0,0],[o,0],[o,n],[s,n]]);case"bentConnector4":return Ec([[0,0],[o,0],[o,d],[s,d],[s,n]]);case"bentConnector5":return Ec([[0,0],[o,0],[o,d],[f,d],[f,n],[s,n]]);default:return[]}}function Pc(e,r,t){var a="";return r!==void 0&&(r.type==="triangle"||r.type==="arrow")&&(a+="marker-start='url(#markerTriangle_"+e+")' "),t!==void 0&&(t.type==="triangle"||t.type==="arrow")&&(a+="marker-end='url(#markerTriangle_"+e+")' "),a}function Ig(e,r,t){return Pg(e)?" min-width:1px; min-height:1px; overflow:visible; transform-origin:"+Et(r,0)/2+"px "+Et(t,0)/2+"px;":""}function wc(e){let r=[];return String(e||"").split("/").forEach(function(t){if(!(t===""||t===".")){if(t===".."){r.pop();return}r.push(t)}}),r.join("/")}function xp(e){let r=wc(e),t=r.lastIndexOf("/");return t===-1?"":r.slice(0,t)}function Ef(e,r){return r?/^[a-z][a-z0-9+.-]*:/i.test(r)||r.charAt(0)==="#"?r:r.charAt(0)==="/"?wc(r.slice(1)):wc((xp(e)?xp(e)+"/":"")+r):""}function kf(e){let r=xp(e),t=wc(e).split("/").pop();return(r?r+"/_rels/":"_rels/")+t+".rels"}function Mf(e){return Mr(L(e,["Relationships","Relationship"]))}function Ku(e){return String(e||"").replace(Mg,"").replace(Eg,"")}function $u(e,r,t){let a=r&&r.attrs?r.attrs:{};a.Id&&(e[a.Id]={type:Ku(a.Type),target:Ef(t,a.Target),external:a.TargetMode==="External"})}function n5(){return{idTable:{},idxTable:{},typeTable:{}}}function i5(e){if(!e)return n5();try{return yg(e)}catch(r){return console.warn("Unable to index PPTX layout/master nodes",r),n5()}}async function Tg(e,r){try{let t=await Kr(e,"ppt/presentation.xml"),a=await Kr(e,kf("ppt/presentation.xml")),s={};Mf(a).forEach(function(d){let f=d&&d.attrs?d.attrs:{};f.Id&&Ku(f.Type)==="slide"&&(s[f.Id]=Ef("ppt/presentation.xml",f.Target))});let i=Mr(L(t,["p:presentation","p:sldIdLst","p:sldId"])).map(function(d){return s[L(d,["attrs","r:id"])]}).filter(function(d){return d&&r.indexOf(d)!==-1});if(!i.length)return r;let o=new Set(i);return i.concat(r.filter(function(d){return!o.has(d)}))}catch(t){return console.warn("Unable to resolve PPTX slide order",t),r}}var s5=0,o5=0,Gp=!0,Ea=Object.create(null),Up={},Bc={};console.log(Bc);var Fu={set processFullTheme(e){Gp=e},set settings(e){Bc=e},set tableStyles(e){Up=e},set IE11(e){p5=e}};async function Kr(e,r,t=!1){try{let a=await e.file(r).async("text");t&&Au<=12&&(a=a.replace(/<!\[CDATA\[(.*?)\]\]>/g,"$1"));let s=Wm(a,{simplify:!0,keepWhitespace:!0});return s["?xml"]&&delete s["?xml"],s}catch{return null}}async function L5(e){let r=await Kr(e,"[Content_Types].xml"),t=Mr(L(r,["Types","Override"])),a=[],s=[];for(let n of t){let i=n.attrs||{},o=String(i.PartName||"").replace(/^\/+/,"");switch(i.ContentType){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":a.push(o);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":s.push(o);break;default:}}return{slides:await Tg(e,a),slideLayouts:s}}async function g5(e){let r=await Kr(e,"docProps/app.xml");Au=parseInt(L(r,["Properties","AppVersion"])),Number.isFinite(Au)||(Au=kg),console.log("create by Office PowerPoint app verssion: ",Au);let t=await Kr(e,"ppt/presentation.xml"),a=L(t,["p:presentation","p:sldSz","attrs"])||Tp,s=Et(a.cx,Tp.cx),n=Et(a.cy,Tp.cy),i=a.type;console.log("Presentation size type: ",i),v5=L(t,["p:presentation","p:defaultTextStyle"])||{},m5=bm(L(t,["p:presentation","attrs","firstSlideNum"]));let o=Bc.incSlide||{};return s5=s*w+Et(o.width,0)|0,o5=n*w+Et(o.height,0)|0,{width:s5,height:o5}}async function k5(e,r,t,a){self.postMessage({type:"INFO",data:"Processing slide"+(t+1)});let s=kf(r),n=await Kr(e,s),i="",o="",d={};for(let u of Mf(n)){let h=u.attrs||{},De=Ku(h.Type);De==="slideLayout"?i=Ef(r,h.Target):De==="diagramDrawing"&&(o=Ef(r,h.Target)),$u(d,u,r)}let f=i?await Kr(e,i):null,c=i5(f),l=L(f,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping"]);l!==void 0&&(bg=l.attrs);let g=i?kf(i):"",m=g?await Kr(e,g):null,p="",b={};for(let u of Mf(m)){let h=u.attrs||{};Ku(h.Type)==="slideMaster"?p=Ef(i,h.Target):$u(b,u,i)}let k=p?await Kr(e,p):null,M=L(k,["p:sldMaster","p:txStyles"]),v=i5(k),_=p?kf(p):"",y=_?await Kr(e,_):null,I="",C={};for(let u of Mf(y)){let h=u.attrs||{};Ku(h.Type)==="theme"?I=Ef(p,h.Target):$u(C,u,p)}var R={},B=null;if(I){var Z=kf(I);B=await Kr(e,I);var T=await Kr(e,Z);for(let u of Mf(T))$u(R,u,I)}var O={},P={};if(o){var J=kf(o);if(P=await Kr(e,o),P!=null&&P!=""){var re=JSON.stringify(P);re=re.replace(/dsp:/g,"p:"),P=JSON.parse(re)}var Q=await Kr(e,J);if(Q!==null)for(let u of Mf(Q))$u(O,u,o)}var ae=await Kr(e,r,!0),A=L(ae,["p:sld","p:cSld","p:spTree"])||{},V={zip:e,slideLayoutContent:f,slideLayoutTables:c,slideMasterContent:k,slideMasterTables:v,slideContent:ae,finalHiddenShapeIds:vm(ae),slideResObj:d,slideMasterTextStyles:M,layoutResObj:b,masterResObj:C,themeContent:B,themeResObj:R,digramFileContent:P,diagramResObj:O,defaultTextStyle:v5,slideIndex:t,slideNumber:t+1,displaySlideNumber:m5+t},H="";Gp===!0&&(H=await uk(V,a,t));var X="";Gp=="colorsAndImageOnly"&&(X=await R5(V,t)||"");var ge="<div class='slide' data-office-part='"+Ii(r)+"' style='width:"+a.width+"px; height:"+a.height+"px;"+X+"'>";ge+=H;for(let u in A)if(A[u].constructor===Array)for(var me=0;me<A[u].length;me++)ge+=await V0(u,A[u][me],A,V,"slide");else ge+=await V0(u,A[u],A,V,"slide");return ge+"</div>"}function yg(e){let r=Object.keys(e),t=e[r[0]]["p:cSld"]["p:spTree"],a={},s={},n={},i,o,d,f;for(let c in t){if(c==="p:nvGrpSpPr"||c==="p:grpSpPr")continue;let l=t[c];if(l.constructor===Array)for(let g=0;g<l.length;g++)f=l[g]["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l[g]),o!==void 0&&(s[o]=l[g]),i!==void 0&&(n[i]=l[g]);else f=l["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l),o!==void 0&&(s[o]=l),i!==void 0&&(n[i]=l)}return{idTable:a,idxTable:s,typeTable:n}}async function V0(e,r,t,a,s,n,i){var o="";if(wg(r)||s==="slide"&&mm(a.finalHiddenShapeIds,M5(r).id))return o;switch(e){case"p:sp":o=await S5(r,t,a,s,n,i);break;case"p:cxnSp":o=await xg(r,t,a,s,n,i);break;case"p:pic":o=await Zg(r,a,s,n,i);break;case"p:graphicFrame":o=await Wg(r,a,s,n,i);break;case"p:grpSp":o=await Hp(r,a,s,i);break;case"mc:AlternateContent":var d=L(r,["mc:Fallback"]);o=await Hp(d,a,s,i);break;default:}return o}function $p(e,r=0){var t=parseInt(e);return Number.isFinite(t)?t*w:r}function y0(e,r=0){var t=parseFloat(e);return Number.isFinite(t)?t:r}function Sf(e,r,t){var a=y0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return $p(a);var s=r==="y"?t.childOffsetY:t.childOffsetX,n=r==="y"?t.scaleY:t.scaleX;return(a-s)*n}function Ma(e,r,t){var a=y0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return $p(a);var s=r==="y"?t.scaleY:t.scaleX;return a*s}function f5(e,r,t,a){var s=y0(e,NaN);if(!Number.isFinite(s))return a;if(t===void 0)return $p(s);var n=r==="y"?t.scaleY:t.scaleX;return s*n}function If(e){return e===!0||e==="1"||e==="true"}function M5(e){return L(e,["p:nvSpPr","p:cNvPr","attrs"])||L(e,["p:nvPicPr","p:cNvPr","attrs"])||L(e,["p:nvGrpSpPr","p:cNvPr","attrs"])||L(e,["p:nvCxnSpPr","p:cNvPr","attrs"])||L(e,["p:nvGraphicFramePr","p:cNvPr","attrs"])||{}}function wg(e){var r=M5(e);return If(r.hidden)}function Rg(e,r){var t=L(e,["a:off","attrs"])||{},a=L(e,["a:ext","attrs"])||{},s=L(e,["a:chOff","attrs"])||{},n=L(e,["a:chExt","attrs"])||{},i=Ma(a.cx,"x",r),o=Ma(a.cy,"y",r),d=y0(n.cx,NaN),f=y0(n.cy,NaN);return(!Number.isFinite(d)||d===0)&&(d=y0(a.cx,i||1)),(!Number.isFinite(f)||f===0)&&(f=y0(a.cy,o||1)),{x:Sf(t.x,"x",r),y:Sf(t.y,"y",r),width:i,height:o,childOffsetX:y0(s.x,0),childOffsetY:y0(s.y,0),childWidth:d,childHeight:f,scaleX:d?i/d:1,scaleY:f?o/f:1,rotate:Oo(L(e,["attrs","rot"])),flipH:If(L(e,["attrs","flipH"])),flipV:If(L(e,["attrs","flipV"]))}}function Bg(e){if(e===void 0)return"";var r=[];return e.rotate&&r.push("rotate("+e.rotate+"deg)"),(e.flipH||e.flipV)&&r.push("scale("+(e.flipH?-1:1)+","+(e.flipV?-1:1)+")"),r.length?"transform:"+r.join(" ")+";transform-origin:center;":""}function Za(e){return Math.round(e*1e3)/1e3}function Dg(e,r){try{var t=e instanceof Uint8Array?e:new Uint8Array(e),a=q_(r,t);return!a||!a.dataUrl?void 0:a.dataUrl}catch(s){console.warn("Unable to convert metafile image",s);return}}function Ng(e){return e instanceof Uint8ClampedArray?e:e instanceof Uint8Array?new Uint8ClampedArray(e.buffer,e.byteOffset,e.byteLength):new Uint8ClampedArray(e)}async function zg(e){if(typeof e.convertToBlob=="function"){var r=await e.convertToBlob({type:"image/png"}),t=await r.arrayBuffer();return"data:image/png;base64,"+Xp(t)}if(typeof e.toDataURL=="function")return e.toDataURL("image/png")}async function Cg(e){try{var r=Sp.decode(e);if(!r||!r.length)return;Sp.decodeImage(e,r[0]);var t=r[0].width,a=r[0].height;if(!t||!a)return;var s=Ng(Sp.toRGBA8(r[0])),n=new ImageData(s,t,a),i;if(typeof OffscreenCanvas!="undefined")i=new OffscreenCanvas(t,a);else if(typeof document!="undefined"&&document.createElement)i=document.createElement("canvas"),i.width=t,i.height=a;else return;var o=i.getContext("2d");return o?(o.putImageData(n,0,0),await zg(i)):void 0}catch(d){console.warn("Unable to convert TIFF image",d);return}}async function E5(e,r){var t=(e||"").toLowerCase();if(t=="tif"||t=="tiff")return await Cg(r);if(t=="emf"||t=="wmf")return Dg(r,t=="wmf"?"image/wmf":"image/emf");(t=="jpg"||t=="jpeg")&&(r=C_(r).bytes);var a=Rc(t);if(a)return"data:"+a+";base64,"+Xp(r)}function P5(e){var r=L(e,["a:srcRect","attrs"]);if(r===void 0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var t=parseInt(r.l||0)/1e3,a=parseInt(r.t||0)/1e3,s=parseInt(r.r||0)/1e3,n=parseInt(r.b||0)/1e3,i=100-t-s,o=100-a-n;if(i<=0||o<=0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var d=1e4/i,f=1e4/o,c=-t/i*100,l=-a/o*100;return{container:"overflow:hidden;",image:"position:absolute;max-width:none;max-height:none;width:"+d+"%;height:"+f+"%;left:"+c+"%;top:"+l+"%;",svg:{x:c,y:l,width:d,height:f}}}function Og(e){var r=L(e,["p:spPr","a:prstGeom","attrs","prst"]);return r==="ellipse"?"border-radius:50%;":r==="roundRect"?"border-radius:8px;":""}async function Hp(e,r,t,a){var s=L(e,["p:grpSpPr","a:xfrm"]),n=s!==void 0?Rg(s,a):void 0,i=L(e,["attrs","order"]),o=i!==void 0?"z-index: "+i+";":"";s!==void 0&&(o+=Xi(s,e,void 0,void 0,"group",a),o+=Ai(s,void 0,void 0,a),o+=Bg(n));var d="<div class='block group' style='"+o+"'>";n!==void 0&&(d+="<div class='group-content' style='position:absolute;top:0;left:0;width:100%;height:100%;'>");for(var f in e)if(e[f].constructor===Array)for(var c=0;c<e[f].length;c++)d+=await V0(f,e[f][c],e,r,t,"group",n);else d+=await V0(f,e[f],e,r,t,"group",n);return n!==void 0&&(d+="</div>"),d+="</div>",d}async function S5(e,r,t,a,s,n){var i=L(e,["p:nvSpPr","p:cNvPr","attrs","id"]),o=L(e,["p:nvSpPr","p:cNvPr","attrs","name"]),d=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),f=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),c=L(e,["attrs","order"]),l;if(a=="slideLayoutBg"||a=="slideMasterBg"){var g=L(e,["p:nvSpPr","p:nvPr","attrs","userDrawn"]);g=="1"?l=!0:l=!1}var m=void 0,p=void 0;return d!==void 0?(m=t.slideLayoutTables.idxTable[d],f!==void 0?p=t.slideMasterTables.typeTable[f]:p=t.slideMasterTables.idxTable[d]):f!==void 0&&(m=t.slideLayoutTables.typeTable[f],p=t.slideMasterTables.typeTable[f]),f===void 0&&L(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])=="1"&&(f="textBox"),f===void 0&&(f=L(m,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),f===void 0&&(a=="diagramBg"?f="diagram":f="obj")),I5(e,r,m,p,i,o,d,f,c,t,l,s,a,n)}async function xg(e,r,t,a,s,n){var i=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.id,o=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,d=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.idx,f=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,c=e.attrs.order;return I5(e,r,void 0,void 0,i,o,d,f,c,t,void 0,s,a,n)}async function I5(e,r,t,a,s,n,i,o,d,f,c,l,g,m){var p=["p:spPr","a:xfrm"],b=L(e,p),k=L(t,p),M=L(a,p),v="",_=L(e,["attrs","order"]),y=L(e,["p:spPr","a:prstGeom","attrs","prst"]),I=L(e,["p:spPr","a:custGeom"]),C=!1,R=!1,B="";L(b,["attrs","flipV"])==="1"&&(C=!0),L(b,["attrs","flipH"])==="1"&&(R=!0),R&&!C?B=" scale(-1,1)":!R&&C?B=" scale(1,-1)":R&&C&&(B=" scale(-1,-1)");var Z=Oo(L(b,["attrs","rot"])),T=L(e,["p:txBody","a:bodyPr","attrs"])||{},O=Oo(T.rot),P,J=L(e,["p:txXfrm"]);if(J!==void 0){var re=L(J,["attrs","rot"]);re!==void 0&&(P=Oo(re))}var Q=a5({shapeRotation:Z,textTransformRotation:P,bodyRotation:O,direction:T.vert,upright:If(T.upright)});let ae=yh(J,b),A=X1(e["p:txBody"],t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),V="box-sizing:border-box;padding:"+Ma(A.top,"y",m)+"px "+Ma(A.right,"x",m)+"px "+Ma(A.bottom,"y",m)+"px "+Ma(A.left,"x",m)+"px;";if(y!==void 0||I!==void 0){var H=L(b,["a:off","attrs"])||{x:0,y:0},X=Sf(H.x,"x",m),ge=Sf(H.y,"y",m),me=L(b,["a:ext","attrs"])||{cx:0,cy:0},u=Ma(me.cx,"x",m),h=Ma(me.cy,"y",m);Number.isFinite(X)||(X=0),Number.isFinite(ge)||(ge=0),Number.isFinite(u)||(u=0),Number.isFinite(h)||(h=0);var De="_svg_css_"+(Object.keys(Ea).length+1)+"_"+Math.floor(Math.random()*1001),Ue=De+"_effects";v+="<svg class='drawing "+De+" "+Ue+" ' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"'' style='"+Xi(b,r,void 0,void 0,l,m)+Ai(b,void 0,void 0,m)+Ig(y,u,h)+" z-index: "+d+";transform: rotate("+(Z!==void 0?Z:0)+"deg)"+B+";'>",v+="<defs>";var ee=await Qu(e,r,!0,f,g),fe=!1,oe=!1,kt=un(L(e,["p:spPr"])),dt=kt,S;if(dt=="GROUP_FILL"&&(dt=un(L(r,["p:grpSpPr"])),dt=="PIC_FILL"&&(S=L(r,["p:grpSpPr","a:blipFill"]))),dt=="GRADIENT_FILL"){fe=!0;var Ee=ee.color,pe=ee.rot+90,Y=Ik(u,h,pe,Ee,_);v+=Y}else if(dt=="PIC_FILL"){oe=!0;var N=S||L(e,["p:spPr","a:blipFill"]),j=kt=="GROUP_FILL"&&m!==void 0?{x:X,y:ge,width:m.width,height:m.height,shapeTransform:{width:u,height:h,rotation:Z||0,flipH:R,flipV:C}}:void 0,be=await wk(N,ee,_,f,j);v+=be}else if(dt=="PATTERN_FILL"){var Le=ee;Object.prototype.hasOwnProperty.call(Ea,Le)&&(Le+="do-nothing: "+De+";"),Ea[Le]={name:De,text:Le},ee="none"}else dt!="SOLID_FILL"&&dt!="PATTERN_FILL"&&(y=="arc"||y=="bracketPair"||y=="bracePair"||y=="leftBracket"||y=="leftBrace"||y=="rightBrace"||y=="rightBracket")&&(ee="none");var E=Si(e,r,!0,"shape",f),Be=L(e,["p:spPr","a:ln","a:headEnd","attrs"]),We=L(e,["p:spPr","a:ln","a:tailEnd","attrs"]),Ce=L(e,["p:spPr","a:effectLst","a:outerShdw"]),ht="";if(Ce!==void 0){var Yt=gt(Ce,void 0,void 0,f),wt=Ce.attrs,Wr=wt.dir?parseInt(wt.dir)/6e4:0,En=parseInt(wt.dist)*w,Ua=wt.blurRad?parseInt(wt.blurRad)*w:"",xn=En*Math.sin(Wr*Math.PI/180),xr=En*Math.cos(Wr*Math.PI/180),Ki="filter:drop-shadow("+xr+"px "+xn+"px "+Ua+"px #"+Yt+");";Object.prototype.hasOwnProperty.call(Ea,Ki)&&(Ki+="do-nothing: "+De+";"),Ea[Ki]={name:Ue,text:Ki}}if(Be!==void 0&&(Be.type==="triangle"||Be.type==="arrow")||We!==void 0&&(We.type==="triangle"||We.type==="arrow")){var Tf="<marker id='markerTriangle_"+_+"' viewBox='0 0 10 10' refX='10' refY='5' markerWidth='5' markerHeight='5' stroke='"+E.color+"' fill='"+E.color+"' orient='auto-start-reverse' markerUnits='strokeWidth'><path d='M 0 0 L 10 5 L 0 10 z' /></marker>";v+=Tf}v+="</defs>"}if(y!==void 0&&I===void 0){switch(y){case"rect":case"flowChartProcess":case"flowChartPredefinedProcess":case"flowChartInternalStorage":case"actionButtonBlank":v+="<rect x='0' y='0' width='"+u+"' height='"+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+ht+" />",y=="flowChartPredefinedProcess"?v+="<rect x='"+u*(1/8)+"' y='0' width='"+u*(6/8)+"' height='"+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />":y=="flowChartInternalStorage"&&(v+=" <polyline points='"+u*(1/8)+" 0,"+u*(1/8)+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='0 "+h*(1/8)+","+u+" "+h*(1/8)+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"flowChartCollate":var Oe="M 0,0 L"+u+",0 L0,"+h+" L"+u+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDocument":var G,K,ne,D;D=u*10800/21600,G=h*17322/21600,K=h*20172/21600,ne=h*23922/21600;var Oe="M0,0 L"+u+",0 L"+u+","+G+" C"+D+","+G+" "+D+","+ne+" 0,"+K+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMultidocument":var G,K,ne,de,Ye,st,Bt,vr,Ha,D,q,se,_e,He,qe,mt;G=h*18022/21600,K=h*3675/21600,ne=h*23542/21600,de=h*1815/21600,Ye=h*16252/21600,st=h*16352/21600,Bt=h*14392/21600,vr=h*20782/21600,Ha=h*14467/21600,D=u*1532/21600,q=u*2e4/21600,se=u*9298/21600,_e=u*19298/21600,He=u*18595/21600,qe=u*2972/21600,mt=u*20800/21600;var Oe="M0,"+K+" L"+He+","+K+" L"+He+","+G+" C"+se+","+G+" "+se+","+ne+" 0,"+vr+" zM"+D+","+K+" L"+D+","+de+" L"+q+","+de+" L"+q+","+Ye+" C"+_e+","+Ye+" "+He+","+st+" "+He+","+st+"M"+qe+","+de+" L"+qe+",0 L"+u+",0 L"+u+","+Bt+" C"+mt+","+Bt+" "+q+","+Ha+" "+q+","+Ha;v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBackPrevious":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+W+" L"+Ct+","+tt+" L"+Ct+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBeginning":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/8,Jt=$e/4,ar=Fe+$t,Qt=Fe+Jt;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Qt+","+W+" L"+Ct+","+tt+" L"+Ct+","+Gt+" zM"+ar+","+tt+" L"+Fe+","+tt+" L"+Fe+","+Gt+" L"+ar+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonDocument":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Ge,Fe,Ct,$e,$t,Jt;he=Ie*3/8,tt=W-he,Gt=W+he,Ge=Ie*9/32,Fe=x-Ge,Ct=x+Ge,$e=Ie*3/16,$t=Ct-$e,Jt=tt+$e;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+tt+" L"+$t+","+tt+" L"+Ct+","+Jt+" L"+Ct+","+Gt+" L"+Fe+","+Gt+" zM"+$t+","+tt+" L"+$t+","+Jt+" L"+Ct+","+Jt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonEnd":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*3/4,Jt=$e*7/8,ar=Fe+$t,Qt=Fe+Jt;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Qt+","+tt+" L"+Ct+","+tt+" L"+Ct+","+Gt+" L"+Qt+","+Gt+" z M"+ar+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonForwardNext":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHelp":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Jt,ar,Qr,wr,Rr,sa,Ir,Jr,Pa,Sa,Ia,tn,w0,Gn,B0,Ti;he=Ie*3/8,tt=W-he,Fe=x-he,$e=Ie*3/4,$t=$e/7,Jt=$e*3/14,ar=$e*2/7,Qr=$e*3/7,wr=$e*4/7,Rr=$e*17/28,sa=$e*21/28,Ir=$e*11/14,Jr=tt+ar,Pa=tt+Rr,Sa=tt+sa,Ia=tt+Ir,tn=Fe+Jt,w0=Fe+Qr,Gn=Fe+wr,B0=$e/14,Ti=$e*3/28;var An=tn+ar,x0=w0+$t,k1=Ia+Ti,Gf=(Gn+w0+ar)/2,Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+tn+","+Jr+ve(An,Jr,ar,ar,180,360,!1).replace("M","L")+ve(Gf,Jr,$t,Jt,0,90,!1).replace("M","L")+ve(Gf,Pa,B0,Ti,270,180,!1).replace("M","L")+" L"+Gn+","+Sa+" L"+w0+","+Sa+" L"+w0+","+Pa+ve(x0,Pa,$t,Jt,180,270,!1).replace("M","L")+ve(Gn,Jr,B0,Ti,90,0,!1).replace("M","L")+ve(An,Jr,$t,$t,0,-180,!1).replace("M","L")+" zM"+x+","+Ia+ve(x,k1,Ti,Ti,270,630,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHome":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/16,Jt=$e/8,ar=$e*3/16,Qt=$e*5/16,qr=$e*7/16,Qr=$e*9/16,wr=$e*11/16,Rr=$e*3/4,ua=$e*13/16,sa=$e*7/8,Ir=tt+$t,Gr=tt+ar,ca=tt+Qt,Jr=tt+Rr,ia=Fe+Jt,Pa=Fe+qr,Sa=Fe+Qr,Ia=Fe+wr,Wa=Fe+ua,tn=Fe+sa;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+x+","+tt+" L"+Fe+","+W+" L"+ia+","+W+" L"+ia+","+Gt+" L"+tn+","+Gt+" L"+tn+","+W+" L"+Ct+","+W+" L"+Wa+","+ca+" L"+Wa+","+Ir+" L"+Ia+","+Ir+" L"+Ia+","+Gr+" z M"+Pa+","+Jr+" L"+Sa+","+Jr+" L"+Sa+","+Gt+" L"+Pa+","+Gt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonInformation":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Qt,qr,Qr,wr,ua,sa,Ir,Gr,ia,Pa,Sa,Ia,Wa,Pn,rn,Gn,R0;he=Ie*3/8,tt=W-he,Fe=x-he,$e=Ie*3/4,$t=$e/32,Qt=$e*5/16,qr=$e*3/8,Qr=$e*13/32,wr=$e*19/32,ua=$e*11/16,sa=$e*13/16,Ir=$e*7/8,Gr=tt+$t,ia=tt+Qt,Pa=tt+qr,Sa=tt+sa,Ia=tt+Ir,Wa=Fe+Qt,Pn=Fe+Qr,rn=Fe+wr,Gn=Fe+ua,R0=$e*3/32;var t0=tt+he,O0=Gr+R0,Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+x+","+tt+ve(x,t0,he,he,270,630,!1).replace("M","L")+" zM"+x+","+Gr+ve(x,O0,R0,R0,270,630,!1).replace("M","L")+"M"+Wa+","+ia+" L"+rn+","+ia+" L"+rn+","+Sa+" L"+Gn+","+Sa+" L"+Gn+","+Ia+" L"+Wa+","+Ia+" L"+Wa+","+Sa+" L"+Pn+","+Sa+" L"+Pn+","+Pa+" L"+Wa+","+Pa+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonMovie":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn,Pn,rn,w0,Gn,R0,Dc,Nc,B0,Ti,zc,Cc,Oc,xc,Gc,x5;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*1455/21600,Jt=$e*1905/21600,ar=$e*2325/21600,Qt=$e*16155/21600,qr=$e*17010/21600,Qr=$e*19335/21600,wr=$e*19725/21600,Rr=$e*20595/21600,ua=$e*5280/21600,sa=$e*5730/21600,Ir=$e*6630/21600,Gr=$e*7492/21600,ca=$e*9067/21600,Jr=$e*9555/21600,ia=$e*13342/21600,Pa=$e*14580/21600,Sa=$e*15592/21600,Ia=Fe+$t,Wa=Fe+Jt,tn=Fe+ar,Pn=Fe+Qt,rn=Fe+qr,w0=Fe+Qr,Gn=Fe+wr,R0=Fe+Rr,Dc=tt+ua,Nc=tt+sa,B0=tt+Ir,Ti=tt+Gr,zc=tt+ca,Cc=tt+Jr,Oc=tt+ia,xc=tt+Pa,Gc=tt+Sa,x5=tt+Ia;var Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 zM"+Fe+","+Dc+" L"+Fe+","+Cc+" L"+Ia+","+Cc+" L"+Wa+","+zc+" L"+tn+","+zc+" L"+tn+","+Gc+" L"+rn+","+Gc+" L"+rn+","+Oc+" L"+w0+","+Oc+" L"+R0+","+xc+" L"+Ct+","+xc+" L"+Ct+","+B0+" L"+R0+","+B0+" L"+Gn+","+Ti+" L"+rn+","+Ti+" L"+rn+","+B0+" L"+Pn+","+Nc+" L"+Wa+","+Nc+" L"+Ia+","+Dc+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonReturn":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e*7/8,Jt=$e*3/4,ar=$e*5/8,Qt=$e*3/8,qr=$e/4,Qr=tt+Jt,wr=tt+ar,Rr=tt+qr,ua=Fe+$t,sa=Fe+Jt,Ir=Fe+ar,Gr=Fe+Qt,ca=Fe+qr,Jr=$e/8;var An=Ir-Jr,O0=Qr-Jr,g1=Fe+Qt,M1=Gt-Qt,Oe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+Rr+" L"+sa+","+tt+" L"+x+","+Rr+" L"+Ir+","+Rr+" L"+Ir+","+wr+ve(An,wr,Jr,Jr,0,90,!1).replace("M","L")+" L"+Gr+","+Qr+ve(Gr,O0,Jr,Jr,90,180,!1).replace("M","L")+" L"+ca+","+Rr+" L"+Fe+","+Rr+" L"+Fe+","+wr+ve(g1,wr,Qt,Qt,180,90,!1).replace("M","L")+" L"+x+","+Gt+ve(x,M1,Qt,Qt,90,0,!1).replace("M","L")+" L"+ua+","+Rr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonSound":var x=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=x-he,Ct=x+he,$e=Ie*3/4,$t=$e/8,Jt=$e*5/16,ar=$e*5/8,Qt=$e*11/16,qr=$e*3/4,Qr=$e*7/8,wr=tt+$t,Rr=tt+Jt,ua=tt+Qt,sa=tt+Qr,Ir=Fe+Jt,Gr=Fe+ar,ca=Fe+qr;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+Fe+","+Rr+" L"+Ir+","+Rr+" L"+Gr+","+tt+" L"+Gr+","+Gt+" L"+Ir+","+ua+" L"+Fe+","+ua+" z M"+ca+","+Rr+" L"+Ct+","+wr+" M"+ca+","+W+" L"+Ct+","+W+" M"+ca+","+ua+" L"+Ct+","+sa;v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"irregularSeal1":case"irregularSeal2":if(y=="irregularSeal1")var Oe="M"+u*10800/21600+","+h*5800/21600+" L"+u*14522/21600+",0 L"+u*14155/21600+","+h*5325/21600+" L"+u*18380/21600+","+h*4457/21600+" L"+u*16702/21600+","+h*7315/21600+" L"+u*21097/21600+","+h*8137/21600+" L"+u*17607/21600+","+h*10475/21600+" L"+u+","+h*13290/21600+" L"+u*16837/21600+","+h*12942/21600+" L"+u*18145/21600+","+h*18095/21600+" L"+u*14020/21600+","+h*14457/21600+" L"+u*13247/21600+","+h*19737/21600+" L"+u*10532/21600+","+h*14935/21600+" L"+u*8485/21600+","+h+" L"+u*7715/21600+","+h*15627/21600+" L"+u*4762/21600+","+h*17617/21600+" L"+u*5667/21600+","+h*13937/21600+" L"+u*135/21600+","+h*14587/21600+" L"+u*3722/21600+","+h*11775/21600+" L0,"+h*8615/21600+" L"+u*4627/21600+","+h*7617/21600+" L"+u*370/21600+","+h*2295/21600+" L"+u*7312/21600+","+h*6320/21600+" L"+u*8352/21600+","+h*2295/21600+" z";else if(y=="irregularSeal2")var Oe="M"+u*11462/21600+","+h*4342/21600+" L"+u*14790/21600+",0 L"+u*14525/21600+","+h*5777/21600+" L"+u*18007/21600+","+h*3172/21600+" L"+u*16380/21600+","+h*6532/21600+" L"+u+","+h*6645/21600+" L"+u*16985/21600+","+h*9402/21600+" L"+u*18270/21600+","+h*11290/21600+" L"+u*16380/21600+","+h*12310/21600+" L"+u*18877/21600+","+h*15632/21600+" L"+u*14640/21600+","+h*14350/21600+" L"+u*14942/21600+","+h*17370/21600+" L"+u*12180/21600+","+h*15935/21600+" L"+u*11612/21600+","+h*18842/21600+" L"+u*9872/21600+","+h*17370/21600+" L"+u*8700/21600+","+h*19712/21600+" L"+u*7527/21600+","+h*18125/21600+" L"+u*4917/21600+","+h+" L"+u*4805/21600+","+h*18240/21600+" L"+u*1285/21600+","+h*17825/21600+" L"+u*3330/21600+","+h*15370/21600+" L0,"+h*12877/21600+" L"+u*3935/21600+","+h*11592/21600+" L"+u*1172/21600+","+h*8270/21600+" L"+u*5372/21600+","+h*7817/21600+" L"+u*4502/21600+","+h*3625/21600+" L"+u*8550/21600+","+h*6382/21600+" L"+u*9722/21600+","+h*1887/21600+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartTerminator":var D,q,G,bt=180,It=90,Rt=270;D=u*3475/21600,q=u*18125/21600,G=h*10800/21600;var Oe="M"+D+",0 L"+q+",0"+ve(q,h/2,D,G,Rt,Rt+bt,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,It+bt,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartPunchedTape":var D,D,G,K,bt=180;D=u*5/20,G=h*2/20,K=h*18/20;var Oe="M0,"+G+ve(D,G,D,G,bt,0,!1).replace("M","L")+ve(u*(3/4),G,D,G,bt,360,!1).replace("M","L")+" L"+u+","+K+ve(u*(3/4),K,D,G,0,-bt,!1).replace("M","L")+ve(D,K,D,G,0,bt,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartOnlineStorage":var D,G,Rt=270,It=90;D=u*1/6,G=h*3/6;var Oe="M"+D+",0 L"+u+",0"+ve(u,h/2,D,G,Rt,90,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,270,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDisplay":var D,q,G,Rt=270,bt=180;D=u*1/6,q=u*5/6,G=h*3/6;var Oe="M0,"+G+" L"+D+",0 L"+q+",0"+ve(u,h/2,D,G,Rt,Rt+bt,!1).replace("M","L")+" L"+D+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDelay":var Xe=u/2,xe=h/2,bt=180,Rt=270,It=90,Oe="M0,0 L"+Xe+",0"+ve(Xe,xe,Xe,xe,Rt,Rt+bt,!1).replace("M","L")+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMagneticTape":var Xe=u/2,xe=h/2,bt=180,Rt=270,It=90,br,Sn,Jp;br=xe*Math.sin(Math.PI/4),Sn=xe+br,Jp=Math.atan(h/u);var G5=Jp*180/Math.PI,Oe="M"+Xe+","+h+ve(Xe,xe,Xe,xe,It,bt,!1).replace("M","L")+ve(Xe,xe,Xe,xe,bt,Rt,!1).replace("M","L")+ve(Xe,xe,Xe,xe,Rt,360,!1).replace("M","L")+ve(Xe,xe,Xe,xe,0,G5,!1).replace("M","L")+" L"+u+","+Sn+" L"+u+","+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":if(v+="<ellipse cx='"+u/2+"' cy='"+h/2+"' rx='"+u/2+"' ry='"+h/2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartOr")v+=" <polyline points='"+u/2+" 0,"+u/2+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";else if(y=="flowChartSummingJunction"){var yr,br,Qi,qi,Fi,Sn,x=u/2,W=h/2,Xe=u/2,xe=h/2,Qp=Math.PI/4;yr=Xe*Math.cos(Qp),br=xe*Math.sin(Qp),Qi=x-yr,qi=x+yr,Fi=W-br,Sn=W+br,v+=" <polyline points='"+Qi+" "+Fi+","+qi+" "+Sn+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",v+=" <polyline points='"+qi+" "+Fi+","+Qi+" "+Sn+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />"}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je,Te,et,D0,N0;if(z!==void 0&&z.constructor===Array)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}else if(z!==void 0&&z.constructor!==Array){var U5=L(z,["attrs","fmla"]);je=parseInt(U5.substr(4))/5e4,et=0}var H0="";switch(y){case"roundRect":case"flowChartAlternateProcess":D0="round",N0="cornrAll",je===void 0&&(je=.33334),et=0;break;case"round1Rect":D0="round",N0="cornr1",je===void 0&&(je=.33334),et=0;break;case"round2DiagRect":D0="round",N0="diag",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"round2SameRect":D0="round",N0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"snip1Rect":case"flowChartPunchedCard":D0="snip",N0="cornr1",je===void 0&&(je=.33334),et=0,y=="flowChartPunchedCard"&&(H0="transform='translate("+u+",0) scale(-1,1)'");break;case"snip2DiagRect":D0="snip",N0="diag",je===void 0&&(je=0),et===void 0&&(et=.33334);break;case"snip2SameRect":D0="snip",N0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break}var ze=Hg(u,h,je,et,D0,N0);v+="<path "+H0+" d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"snipRoundRect":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.33334,Te,et=.33334;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}var ze="M0,"+h+" L"+u+","+h+" L"+u+","+h/2*et+" L"+(u/2+u/2*(1-et))+",0 L"+u/2*je+",0 Q0,0 0,"+h/2*je+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector2":var zf=yp(y,e,u,h);v+="<polyline points='"+zf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Pc(_,Be,We)+"/>";break;case"rtTriangle":v+=" <polygon points='0 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"triangle":case"flowChartExtract":case"flowChartMerge":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Fp=.5;ye!==void 0&&(Fp=parseInt(ye.substr(4))*w);var H0="";y=="flowChartMerge"&&(H0="transform='rotate(180 "+u/2+","+h/2+")'"),v+=" <polygon "+H0+" points='"+u*Fp+" 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diamond":case"flowChartDecision":case"flowChartSort":v+=" <polygon points='"+u/2+" 0,0 "+h/2+","+u/2+" "+h+","+u+" "+h/2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartSort"&&(v+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"trapezoid":var qp=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Vp=25e3;qp!==void 0&&(Vp=Et(String(qp).replace(/^val\s+/,""),25e3));var H5=j_(V_(u,h,Vp));v+=" <polygon points='"+H5+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualOperation":v+=" <polygon points='0 0,"+u+" 0,"+u*4/5+" "+h+","+u/5+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualInput":v+=" <polygon points='0 "+h/5+","+u+" 0,"+u+" "+h+",0 "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"parallelogram":case"flowChartInputOutput":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),Uc=.25,Hc;if(u>h?Hc=u/h:Hc=h/u,ye!==void 0){var Z5=parseInt(ye.substr(4))/1e5;Uc=Z5/Hc}v+=" <polygon points='"+Uc*u+" 0,0 "+h+","+(1-Uc)*u+" "+h+","+u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pentagon":v+=" <polygon points='"+.5*u+" 0,0 "+.375*h+","+.15*u+" "+h+","+.85*u+" "+h+","+u+" "+.375*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"hexagon":case"flowChartPreparation":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,Ji=115470*w,ie=5e4*w,ce=1e5*w,bs=60*Math.PI/180;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ft,Ne,cn,D,q,Re,G,K,W=h/2,xe=h/2,Ie=Math.min(u,h);ft=ie*u/Ie,Ne=we<0?0:we>ft?ft:we,cn=xe*Ji/ce,D=Ie*Ne/ce,q=u-D,Re=cn*Math.sin(bs),G=W-Re,K=W+Re;var Oe="M0,"+W+" L"+D+","+G+" L"+q+","+G+" L"+u+","+W+" L"+q+","+K+" L"+D+","+K+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heptagon":v+=" <polygon points='"+.5*u+" 0,"+u/8+" "+h/4+",0 "+5/8*h+","+u/4+" "+h+","+3/4*u+" "+h+","+u+" "+5/8*h+","+7/8*u+" "+h/4+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"octagon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;v+=" <polygon points='"+F*u+" 0,0 "+F*h+",0 "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+u+" "+te*h+","+u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"decagon":v+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+h/2+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+h/2+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"dodecagon":v+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+3/8*h+",0 "+5/8*h+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+5/8*h+","+u+" "+3/8*h+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star4":var Ne,Qe,Ae,Xo,Ao,xt,Ot,Dt,Nt,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=19098*w,ie=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ie?ie:we,Qe=Xe*Ne/ie,Ae=xe*Ne/ie,Xo=Qe*Math.cos(.7853981634),Ao=Ae*Math.sin(.7853981634),xt=x-Xo,Ot=x+Xo,Dt=W-Ao,Nt=W+Ao,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+Dt+" L"+x+",0 L"+Ot+","+Dt+" L"+u+","+W+" L"+Ot+","+Nt+" L"+x+","+h+" L"+xt+","+Nt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star5":var Ne,da,cn,za,Ge,he,Re,Ze,D,q,se,_e,G,K,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,Dt,Nt,lr,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=19098*w,Un=105146*w,Ji=110557*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,cn=xe*Ji/ie,za=W*Ji/ie,Ge=da*Math.cos(.31415926536),he=da*Math.cos(5.3407075111),Re=cn*Math.sin(.31415926536),Ze=cn*Math.sin(5.3407075111),D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=za-Re,K=za-Ze,Qe=da*Ne/ft,Ae=cn*Ne/ft,or=Qe*Math.cos(5.9690260418),Kt=Qe*Math.cos(.94247779608),jt=Ae*Math.sin(.94247779608),dr=Ae*Math.sin(5.9690260418),xt=x-or,Ot=x-Kt,er=x+Kt,rr=x+or,Dt=za-jt,Nt=za-dr,lr=za+Ae,pa=za-Ae;var Oe="M"+D+","+G+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+_e+","+G+" L"+rr+","+Nt+" L"+se+","+K+" L"+x+","+lr+" L"+q+","+K+" L"+xt+","+Nt+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star6":var Ne,da,Ge,D,q,K,Qe,Ae,Kt,xt,Ot,er,rr,jt,Dt,Nt,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,Vi=h/4,we=28868*w,Un=115470*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,Ge=da*Math.cos(.5235987756),D=x-Ge,q=x+Ge,K=W+Vi,Qe=da*Ne/ft,Ae=xe*Ne/ft,Kt=Qe/2,xt=x-Qe,Ot=x-Kt,er=x+Kt,rr=x+Qe,jt=Ae*Math.sin(1.0471975512),Dt=W-jt,Nt=W+jt,pa=W-Ae;var Oe="M"+D+","+Vi+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+q+","+Vi+" L"+rr+","+W+" L"+q+","+K+" L"+er+","+Nt+" L"+x+","+h+" L"+Ot+","+Nt+" L"+D+","+K+" L"+xt+","+W+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star7":var Ne,da,cn,za,Ge,he,Lt,Re,Ze,Xt,D,q,se,_e,He,qe,G,K,ne,Qe,Ae,or,Kt,ha,xt,Ot,er,rr,$r,Fr,jt,dr,Ta,Dt,Nt,lr,Er,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=34601*w,Un=102572*w,Ji=105210*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,cn=xe*Ji/ie,za=W*Ji/ie,Ge=da*97493/1e5,he=da*78183/1e5,Lt=da*43388/1e5,Re=cn*62349/1e5,Ze=cn*22252/1e5,Xt=cn*90097/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x+Lt,He=x+he,qe=x+Ge,G=za-Re,K=za+Ze,ne=za+Xt,Qe=da*Ne/ft,Ae=cn*Ne/ft,or=Qe*97493/1e5,Kt=Qe*78183/1e5,ha=Qe*43388/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x+ha,$r=x+Kt,Fr=x+or,jt=Ae*90097/1e5,dr=Ae*22252/1e5,Ta=Ae*62349/1e5,Dt=za-jt,Nt=za-dr,lr=za+Ta,Er=za+Ae,pa=za-Ae;var Oe="M"+D+","+K+" L"+xt+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+He+","+G+" L"+Fr+","+Nt+" L"+qe+","+K+" L"+$r+","+lr+" L"+_e+","+ne+" L"+x+","+Er+" L"+se+","+ne+" L"+Ot+","+lr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star8":var Ne,Ge,D,q,Re,G,K,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,Dt,Nt,lr,Er,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=37500*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.7853981634),D=x-Ge,q=x+Ge,Re=xe*Math.sin(.7853981634),G=W-Re,K=W+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*92388/1e5,Kt=Qe*38268/1e5,jt=Ae*92388/1e5,dr=Ae*38268/1e5,xt=x-or,Ot=x-Kt,er=x+Kt,rr=x+or,Dt=W-jt,Nt=W-dr,lr=W+dr,Er=W+jt,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+Nt+" L"+D+","+G+" L"+Ot+","+Dt+" L"+x+",0 L"+er+","+Dt+" L"+q+","+G+" L"+rr+","+Nt+" L"+u+","+W+" L"+rr+","+lr+" L"+q+","+K+" L"+er+","+Er+" L"+x+","+h+" L"+Ot+","+Er+" L"+D+","+K+" L"+xt+","+lr+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star10":var Ne,da,Ge,he,D,q,se,_e,Re,Ze,G,K,ne,de,Qe,Ae,or,Kt,jt,dr,xt,Ot,er,rr,$r,Fr,Dt,Nt,lr,Er,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=42533*w,Un=105146*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Xe*Un/ie,Ge=da*95106/1e5,he=da*58779/1e5,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,Re=xe*80902/1e5,Ze=xe*30902/1e5,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Qe=da*Ne/ft,Ae=xe*Ne/ft,or=Qe*80902/1e5,Kt=Qe*30902/1e5,jt=Ae*95106/1e5,dr=Ae*58779/1e5,xt=x-Qe,Ot=x-or,er=x-Kt,rr=x+Kt,$r=x+or,Fr=x+Qe,Dt=W-jt,Nt=W-dr,lr=W+dr,Er=W+jt,pa=W-Ae;var Oe="M"+D+","+K+" L"+Ot+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+$r+","+Nt+" L"+_e+","+K+" L"+Fr+","+W+" L"+_e+","+ne+" L"+$r+","+lr+" L"+se+","+de+" L"+rr+","+Er+" L"+x+","+h+" L"+er+","+Er+" L"+q+","+de+" L"+Ot+","+lr+" L"+D+","+ne+" L"+xt+","+W+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star12":var Ne,Ge,Re,D,se,_e,G,ne,de,Qe,Ae,or,Kt,ha,jt,dr,Ta,xt,Ot,er,rr,$r,Fr,Dt,Nt,lr,Er,$a,Ya,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.5235987756),Re=xe*Math.sin(1.0471975512),D=x-Ge,se=u*3/4,_e=x+Ge,G=W-Re,ne=h*3/4,de=W+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*Math.cos(.2617993878),Kt=Qe*Math.cos(.7853981634),ha=Qe*Math.cos(1.308996939),jt=Ae*Math.sin(1.308996939),dr=Ae*Math.sin(.7853981634),Ta=Ae*Math.sin(.2617993878),xt=x-or,Ot=x-Kt,er=x-ha,rr=x+ha,$r=x+Kt,Fr=x+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W+Ta,$a=W+dr,Ya=W+jt,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+lr+" L"+D+","+Vi+" L"+Ot+","+Nt+" L"+yf+","+G+" L"+er+","+Dt+" L"+x+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+$r+","+Nt+" L"+_e+","+Vi+" L"+Fr+","+lr+" L"+u+","+W+" L"+Fr+","+Er+" L"+_e+","+ne+" L"+$r+","+$a+" L"+se+","+de+" L"+rr+","+Ya+" L"+x+","+h+" L"+er+","+Ya+" L"+yf+","+de+" L"+Ot+","+$a+" L"+D+","+ne+" L"+xt+","+Er+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star16":var Ne,Ge,he,Lt,Re,Ze,Xt,D,q,se,_e,He,qe,G,K,ne,de,Ye,st,Qe,Ae,or,Kt,ha,Hn,jt,dr,Ta,Zn,xt,Ot,er,rr,$r,Fr,Wn,$n,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*92388/1e5,he=Xe*70711/1e5,Lt=Xe*38268/1e5,Re=xe*92388/1e5,Ze=xe*70711/1e5,Xt=xe*38268/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x+Lt,He=x+he,qe=x+Ge,G=W-Re,K=W-Ze,ne=W-Xt,de=W+Xt,Ye=W+Ze,st=W+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*98079/1e5,Kt=Qe*83147/1e5,ha=Qe*55557/1e5,Hn=Qe*19509/1e5,jt=Ae*98079/1e5,dr=Ae*83147/1e5,Ta=Ae*55557/1e5,Zn=Ae*19509/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x+Hn,Fr=x+ha,Wn=x+Kt,$n=x+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W+Zn,Ya=W+Ta,Yn=W+dr,Xn=W+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=W-br,qi=x+yr,Sn=W+br,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+Er+" L"+D+","+ne+" L"+Ot+","+lr+" L"+q+","+K+" L"+er+","+Nt+" L"+se+","+G+" L"+rr+","+Dt+" L"+x+",0 L"+$r+","+Dt+" L"+_e+","+G+" L"+Fr+","+Nt+" L"+He+","+K+" L"+Wn+","+lr+" L"+qe+","+ne+" L"+$n+","+Er+" L"+u+","+W+" L"+$n+","+$a+" L"+qe+","+de+" L"+Wn+","+Ya+" L"+He+","+Ye+" L"+Fr+","+Yn+" L"+_e+","+st+" L"+$r+","+Xn+" L"+x+","+h+" L"+rr+","+Xn+" L"+se+","+st+" L"+er+","+Yn+" L"+q+","+Ye+" L"+Ot+","+Ya+" L"+D+","+de+" L"+xt+","+$a+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star24":var Ne,Ge,he,Lt,Aa,sn,Re,Ze,Xt,_n,zi,D,q,se,_e,He,qe,mt,Mt,qt,Tr,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,Qe,Ae,or,Kt,ha,Hn,rs,as,jt,dr,Ta,Zn,ns,is,xt,Ot,er,rr,$r,Fr,Wn,$n,ss,os,fs,ls,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,us,cs,ds,hs,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*Math.cos(.2617993878),he=Xe*Math.cos(.5235987756),Lt=Xe*Math.cos(.7853981634),Aa=yf,sn=Xe*Math.cos(1.308996939),Re=xe*Math.sin(1.308996939),Ze=xe*Math.sin(1.0471975512),Xt=xe*Math.sin(.7853981634),_n=Vi,zi=xe*Math.sin(.2617993878),D=x-Ge,q=x-he,se=x-Lt,_e=x-Aa,He=x-sn,qe=x+sn,mt=x+Aa,Mt=x+Lt,qt=x+he,Tr=x+Ge,G=W-Re,K=W-Ze,ne=W-Xt,de=W-_n,Ye=W-zi,st=W+zi,Bt=W+_n,vr=W+Xt,Ha=W+Ze,hn=W+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*99144/1e5,Kt=Qe*92388/1e5,ha=Qe*79335/1e5,Hn=Qe*60876/1e5,rs=Qe*38268/1e5,as=Qe*13053/1e5,jt=Ae*99144/1e5,dr=Ae*92388/1e5,Ta=Ae*79335/1e5,Zn=Ae*60876/1e5,ns=Ae*38268/1e5,is=Ae*13053/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x-rs,Fr=x-as,Wn=x+as,$n=x+rs,ss=x+Hn,os=x+ha,fs=x+Kt,ls=x+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W-ns,Ya=W-is,Yn=W+is,Xn=W+ns,us=W+Zn,cs=W+Ta,ds=W+dr,hs=W+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=W-br,qi=x+yr,Sn=W+br,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+Ya+" L"+D+","+Ye+" L"+Ot+","+$a+" L"+q+","+de+" L"+er+","+Er+" L"+se+","+ne+" L"+rr+","+lr+" L"+_e+","+K+" L"+$r+","+Nt+" L"+He+","+G+" L"+Fr+","+Dt+" L"+x+",0 L"+Wn+","+Dt+" L"+qe+","+G+" L"+$n+","+Nt+" L"+mt+","+K+" L"+ss+","+lr+" L"+Mt+","+ne+" L"+os+","+Er+" L"+qt+","+de+" L"+fs+","+$a+" L"+Tr+","+Ye+" L"+ls+","+Ya+" L"+u+","+W+" L"+ls+","+Yn+" L"+Tr+","+st+" L"+fs+","+Xn+" L"+qt+","+Bt+" L"+os+","+us+" L"+Mt+","+vr+" L"+ss+","+cs+" L"+mt+","+Ha+" L"+$n+","+ds+" L"+qe+","+hn+" L"+Wn+","+hs+" L"+x+","+h+" L"+Fr+","+hs+" L"+He+","+hn+" L"+$r+","+ds+" L"+_e+","+Ha+" L"+rr+","+cs+" L"+se+","+vr+" L"+er+","+us+" L"+q+","+Bt+" L"+Ot+","+Xn+" L"+D+","+st+" L"+xt+","+Yn+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star32":var Ne,Ge,he,Lt,Aa,sn,C1,ts,Re,Ze,Xt,_n,zi,Zc,Wc,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,yi,wi,e0,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,_s,Wo,$o,Yo,Qe,Ae,or,Kt,ha,Hn,rs,as,$c,Yc,jt,dr,Ta,Zn,ns,is,Xc,Ac,xt,Ot,er,rr,$r,Fr,Wn,$n,ss,os,fs,ls,Kc,Jc,Qc,Fc,Dt,Nt,lr,Er,$a,Ya,Yn,Xn,us,cs,ds,hs,qc,Vc,jc,ed,yr,br,Qi,Fi,qi,Sn,pa,x=u/2,W=h/2,Xe=u/2,xe=h/2,Vi=h/4,yf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Xe*98079/1e5,he=Xe*92388/1e5,Lt=Xe*83147/1e5,Aa=Xe*Math.cos(.7853981634),sn=Xe*55557/1e5,C1=Xe*38268/1e5,ts=Xe*19509/1e5,Re=xe*98079/1e5,Ze=xe*92388/1e5,Xt=xe*83147/1e5,_n=xe*Math.sin(.7853981634),zi=xe*55557/1e5,Zc=xe*38268/1e5,Wc=xe*19509/1e5,D=x-Ge,q=x-he,se=x-Lt,_e=x-Aa,He=x-sn,qe=x-C1,mt=x-ts,Mt=x+ts,qt=x+C1,Tr=x+sn,Ri=x+Aa,yi=x+Lt,wi=x+he,e0=x+Ge,G=W-Re,K=W-Ze,ne=W-Xt,de=W-_n,Ye=W-zi,st=W-Zc,Bt=W-Wc,vr=W+Wc,Ha=W+Zc,hn=W+zi,_s=W+_n,Wo=W+Xt,$o=W+Ze,Yo=W+Re,Qe=Xe*Ne/ft,Ae=xe*Ne/ft,or=Qe*99518/1e5,Kt=Qe*95694/1e5,ha=Qe*88192/1e5,Hn=Qe*77301/1e5,rs=Qe*63439/1e5,as=Qe*47140/1e5,$c=Qe*29028/1e5,Yc=Qe*9802/1e5,jt=Ae*99518/1e5,dr=Ae*95694/1e5,Ta=Ae*88192/1e5,Zn=Ae*77301/1e5,ns=Ae*63439/1e5,is=Ae*47140/1e5,Xc=Ae*29028/1e5,Ac=Ae*9802/1e5,xt=x-or,Ot=x-Kt,er=x-ha,rr=x-Hn,$r=x-rs,Fr=x-as,Wn=x-$c,$n=x-Yc,ss=x+Yc,os=x+$c,fs=x+as,ls=x+rs,Kc=x+Hn,Jc=x+ha,Qc=x+Kt,Fc=x+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W-ns,Ya=W-is,Yn=W-Xc,Xn=W-Ac,us=W+Ac,cs=W+Xc,ds=W+is,hs=W+ns,qc=W+Zn,Vc=W+Ta,jc=W+dr,ed=W+jt,yr=Qe*Math.cos(.7853981634),br=Ae*Math.sin(.7853981634),Qi=x-yr,Fi=W-br,qi=x+yr,Sn=W+br,pa=W-Ae;var Oe="M0,"+W+" L"+xt+","+Xn+" L"+D+","+Bt+" L"+Ot+","+Yn+" L"+q+","+st+" L"+er+","+Ya+" L"+se+","+Ye+" L"+rr+","+$a+" L"+_e+","+de+" L"+$r+","+Er+" L"+He+","+ne+" L"+Fr+","+lr+" L"+qe+","+K+" L"+Wn+","+Nt+" L"+mt+","+G+" L"+$n+","+Dt+" L"+x+",0 L"+ss+","+Dt+" L"+Mt+","+G+" L"+os+","+Nt+" L"+qt+","+K+" L"+fs+","+lr+" L"+Tr+","+ne+" L"+ls+","+Er+" L"+Ri+","+de+" L"+Kc+","+$a+" L"+yi+","+Ye+" L"+Jc+","+Ya+" L"+wi+","+st+" L"+Qc+","+Yn+" L"+e0+","+Bt+" L"+Fc+","+Xn+" L"+u+","+W+" L"+Fc+","+us+" L"+e0+","+vr+" L"+Qc+","+cs+" L"+wi+","+Ha+" L"+Jc+","+ds+" L"+yi+","+hn+" L"+Kc+","+hs+" L"+Ri+","+_s+" L"+ls+","+qc+" L"+Tr+","+Wo+" L"+fs+","+Vc+" L"+qt+","+$o+" L"+os+","+jc+" L"+Mt+","+Yo+" L"+ss+","+ed+" L"+x+","+h+" L"+$n+","+ed+" L"+mt+","+Yo+" L"+Wn+","+jc+" L"+qe+","+$o+" L"+Fr+","+Vc+" L"+He+","+Wo+" L"+$r+","+qc+" L"+_e+","+_s+" L"+rr+","+hs+" L"+se+","+hn+" L"+er+","+ds+" L"+q+","+Ha+" L"+Ot+","+cs+" L"+D+","+vr+" L"+xt+","+us+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pie":case"pieWedge":case"arc":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),F,te,Vu,xo,ju,wf;y=="pie"?(F=0,te=270,Vu=h,wf=!0):y=="pieWedge"?(F=180,te=270,Vu=2*h,wf=!0):y=="arc"&&(F=270,te=0,Vu=h,wf=!1),ye!==void 0&&(xo=L(ye,["attrs","fmla"]),ju=xo,xo===void 0&&(xo=ye[0].attrs.fmla,ju=ye[1].attrs.fmla),xo!==void 0&&(F=parseInt(xo.substr(4))/6e4),ju!==void 0&&(te=parseInt(ju.substr(4))/6e4));var jp=Gg(Vu,u,F,te,wf);v+="<path d='"+jp[0]+"' transform='"+jp[1]+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chord":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=45,Te,et=270;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/6e4):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/6e4)}var Ve=h/2,Ht=u/2,ze=ve(Ht,Ve,Ht,Ve,je,et,!0);v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"frame":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=12500*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,_e,de;F<0?ue=0:F>ie?ue=ie:ue=F,D=Math.min(u,h)*ue/ce,_e=u-D,de=h-D;var Oe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+D+","+D+" L"+D+","+de+" L"+_e+","+de+" L"+_e+","+D+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"donut":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Ae;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Ae=h/2-dn;var Oe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+dn+","+h/2+ve(u/2,h/2,Qe,Ae,180,90,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,90,0,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,0,-90,!1).replace("M","L")+ve(u/2,h/2,Qe,Ae,270,180,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"noSmoking":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=18750*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Ae,e1,xk,td,rd,ev,tv,rv,ad,fa,At,Ko,G0,s0;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Ae=h/2-dn,e1=Math.atan(h/u),td=Ae*Math.cos(e1),rd=Qe*Math.sin(e1),ev=Math.sqrt(td*td+rd*rd),tv=Qe*Ae/ev,rv=dn/2,ad=Math.atan(rv/tv),fa=ad*2,At=-Math.PI+fa,G0=e1-ad,s0=G0-Math.PI;var nd,id,av,sd,Ge,Re,D,G,G,K;nd=Ae*Math.cos(G0),id=Qe*Math.sin(G0),av=Math.sqrt(nd*nd+id*id),sd=Qe*Ae/av,Ge=sd*Math.cos(G0),Re=sd*Math.sin(G0),D=u/2+Ge,G=h/2+Re,q=u/2-Ge,K=h/2-Re;var nv=G0*180/Math.PI,iv=s0*180/Math.PI,sv=At*180/Math.PI,Oe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+D+","+G+ve(u/2,h/2,Qe,Ae,nv,nv+sv,!1).replace("M","L")+" zM"+q+","+K+ve(u/2,h/2,Qe,Ae,iv,iv+sv,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"halfFrame":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=3.5,Te,et=3.5,an=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),vt=an*u/it,ue,Me;et<0?Me=0:et>vt?Me=vt:Me=et;var D=it*Me/an,a1=h*D/u,z0=h-a1,nt=an*z0/it;je<0?ue=0:je>nt?ue=nt:ue=je;var G=it*ue/an,he=G*u/h,q=u-he,Ze=D*h/u,K=h-Ze,Oe="M0,0 L"+u+",0 L"+q+","+G+" L"+D+","+G+" L"+D+","+K+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"blockArc":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=180,Te,te=0,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))/6e4):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Wt,on,Ke,t1,ov,At,Y0,Rf=360;F<0?Wt=0:F>Rf?Wt=Rf:Wt=F,te<0?on=0:te>Rf?on=Rf:on=te,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe,t1=on-Wt,ov=t1+Rf,At=t1>0?t1:ov,Y0=-At;var Li=Wt+At,W5=on+Y0,Go,Uo,Ge,Re,D,G,Bf,Df,Xe,xe,x,W;Bf=Wt*Math.PI/180,Df=on*Math.PI/180,Xe=u/2,xe=h/2,x=u/2,W=h/2,Wt>90&&Wt<270?(Go=Xe*Math.sin(Math.PI/2-Bf),Uo=xe*Math.cos(Math.PI/2-Bf),Ge=Xe*Math.cos(Math.atan(Uo/Go)),Re=xe*Math.sin(Math.atan(Uo/Go)),D=x-Ge,G=W-Re):(Go=Xe*Math.sin(Bf),Uo=xe*Math.cos(Bf),Ge=Xe*Math.cos(Math.atan(Go/Uo)),Re=xe*Math.sin(Math.atan(Go/Uo)),D=x+Ge,G=W+Re);var dn,Qe,Ae,Ho,Zo,he,Ze,q,K;dn=Math.min(u,h)*Ke/ce,Qe=Xe-dn,Ae=xe-dn,Li<=450&&Li>270||Li>=630&&Li<720?(Ho=Qe*Math.sin(Df),Zo=Ae*Math.cos(Df),he=Qe*Math.cos(Math.atan(Ho/Zo)),Ze=Ae*Math.sin(Math.atan(Ho/Zo)),q=x+he,K=W+Ze):(Ho=Qe*Math.sin(Math.PI/2-Df),Zo=Ae*Math.cos(Math.PI/2-Df),he=Qe*Math.cos(Math.atan(Zo/Ho)),Ze=Ae*Math.sin(Math.atan(Zo/Ho)),q=x-he,K=W-Ze);var Oe="M"+D+","+G+ve(Xe,xe,Xe,xe,Wt,Li,!1).replace("M","L")+" L"+q+","+K+ve(Xe,xe,Qe,Ae,on,W5,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracePair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=25e3*w,ce=5e4*w,_t=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var W=h/2,Nf=360,bt=180,It=90,Rt=270,Ne,D,q,se,_e,K,ne,de;we<0?Ne=0:we>ie?Ne=ie:Ne=we;var it=Math.min(u,h);D=it*Ne/_t,q=it*Ne/ce,se=u-q,_e=u-D,K=W-D,ne=W+D,de=h-D;var Oe="M"+q+","+h+ve(q,de,D,D,It,bt,!1).replace("M","L")+" L"+D+","+ne+ve(0,ne,D,D,0,-It,!1).replace("M","L")+ve(0,K,D,D,It,0,!1).replace("M","L")+" L"+D+","+D+ve(q,D,D,D,bt,Rt,!1).replace("M","L")+" M"+se+",0"+ve(se,D,D,D,Rt,Nf,!1).replace("M","L")+" L"+_e+","+K+ve(u,K,D,D,bt,It,!1).replace("M","L")+ve(u,ne,D,D,Rt,bt,!1).replace("M","L")+" L"+_e+","+de+ve(se,de,D,D,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBrace":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,bt=180,It=90,Rt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=ne+G;var Oe="M"+u+","+h+ve(u,h-G,u/2,G,It,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,-It,!1).replace("M","L")+ve(0,K,u/2,G,It,0,!1).replace("M","L")+" L"+u/2+","+G+ve(u,G,u/2,G,bt,Rt,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBrace":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,Nf=360,bt=180,It=90,Rt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=h-G;var Oe="M0,0"+ve(0,G,u/2,G,Rt,Nf,!1).replace("M","L")+" L"+u/2+","+K+ve(u,K,u/2,G,bt,It,!1).replace("M","L")+ve(u,ne+G,u/2,G,Rt,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracketPair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=16667*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,Rt=270,Ne,D,q,K;we<0?Ne=0:we>ie?Ne=ie:Ne=we,D=Math.min(u,h)*Ne/ce,q=ut-D,K=rt-D;var Oe=ve(D,D,D,D,Rt,bt,!1)+ve(D,K,D,D,bt,It,!1).replace("M","L")+ve(q,D,D,D,Rt,Rt+It,!1)+ve(q,K,D,D,0,It,!1).replace("M","L");v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,Rt=270,Ne,G,K;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,G>u&&(G=u),K=rt-G;var Oe="M"+ut+","+rt+ve(G,K,G,G,It,bt,!1).replace("M","L")+" L0,"+G+ve(G,G,G,G,bt,Rt,!1).replace("M","L")+" L"+ut+",0";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Nf=360,bt=180,It=90,Rt=270,Ne,G,K,ne;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,K=h-G,ne=u-G;var Oe="M0,"+h+ve(ne,K,G,G,It,0,!1).replace("M","L")+" L"+u+","+h/2+ve(ne,G,G,G,Nf,Rt,!1).replace("M","L")+" L0,0";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"moon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=.5;ye!==void 0&&(we=parseInt(ye.substr(4))/1e5);var xe,bt,It;xe=h/2,bt=180,It=90;var te=(1-we)*u,Oe="M"+u+","+h+ve(u,xe,u,xe,It,It+bt,!1).replace("M","L")+ve(u,xe,te,xe,It+bt,It,!1).replace("M","L")+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"corner":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=5e4*w,Te,et=5e4*w,an=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),nt=an*h/it,vt=an*u/it,ue,Me,D,Re,G;je<0?ue=0:je>nt?ue=nt:ue=je,et<0?Me=0:et>vt?Me=vt:Me=et,D=it*Me/an,Re=it*ue/an,G=h-Re;var Oe="M0,0 L"+D+",0 L"+D+","+G+" L"+u+","+G+" L"+u+","+h+" L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diagStripe":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),je=5e4*w,an=1e5*w;ye!==void 0&&(je=parseInt(ye.substr(4))*w);var ue,q,K;je<0?ue=0:je>an?ue=an:ue=je,q=u*ue/an,K=h*ue/an;var Oe="M0,"+K+" L"+q+",0 L"+u+",0 L0,"+h+" z";v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"gear6":case"gear9":Q=0;var od=y.substr(4),Oe;od=="6",Oe=l5(u,h/3.5,parseInt(od)),v+="<path d='"+Oe+"' transform='rotate(20,"+3/7*h+","+3/7*h+")' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector3":var zf=yp(y,e,u,h);v+="<polyline points='"+zf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Pc(_,Be,We)+"/>";break;case"plus":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;v+=" <polygon points='"+F*u+" 0,"+F*u+" "+F*h+",0 "+F*h+",0 "+te*h+","+F*u+" "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+te*u+" "+te*h+","+u+" "+te*h+","+ +u+" "+F*h+","+te*u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"teardrop":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=1e5*w,Cf=F,r1=2e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,fd,fv,ot,lv,uv,Ge,Re,D,G,q,K,ld;F<0?ue=0:F>r1?ue=r1:ue=F,fd=Math.sqrt(2),fv=fd*(u/2),ot=fd*(h/2),lv=fv*ue/Cf,uv=ot*ue/Cf,ld=45*Math.PI/180,Ge=lv*Math.cos(ld),Re=uv*Math.cos(ld),D=u/2+Ge,G=h/2-Re,q=(u/2+D)/2,K=(h/2+G)/2;var ze=ve(u/2,h/2,u/2,h/2,180,270,!1)+"Q "+q+",0 "+D+","+G+"Q "+u+","+K+" "+u+","+h/2+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"plaque":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=16667*w,Cf=5e4*w,r1=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,q,K;F<0?ue=0:F>Cf?ue=Cf:ue=F,D=ue*Math.min(u,h)/r1,q=u-D,K=h-D;var ze="M0,"+D+ve(0,0,D,D,90,0,!1).replace("M","L")+" L"+q+",0"+ve(u,0,D,D,180,90,!1).replace("M","L")+" L"+u+","+K+ve(u,h,D,D,270,180,!1).replace("M","L")+" L"+D+","+h+ve(0,h,D,D,0,-90,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"sun":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,F=25e3*ke,ie=12500*ke,ce=46875*ke;ye!==void 0&&(F=parseInt(ye.substr(4))*ke);var ue;F<ie?ue=ie:F>ce?ue=ce:ue=F;var ps=5e4*ke,gr=1e5*ke,Of=ps-ue,a1=Of*(30274*ke)/(32768*ke),z0=Of*(12540*ke)/(32768*ke),n1=a1+ps,i1=z0+ps,xf=ps-a1,vs=ps-z0,C0=Of*(23170*ke)/(32768*ke),ji=ps+C0,tt=ps-C0,Gt=xf*3/4,Fe=vs*3/4,Ct=Gt+3662*ke,$e=Fe+36620*ke,$t=Fe+12500*ke,Jt=gr-Gt,ar=gr-Ct,Qt=gr-$e,qr=gr-$t,cv=u*(18436*ke)/(21600*ke),dv=h*(3163*ke)/(21600*ke),hv=u*(3163*ke)/(21600*ke),pv=h*(18436*ke)/(21600*ke),Mt=u*ji/gr,qt=u*tt/gr,Tr=u*Gt/gr,yi=u*Ct/gr,wi=u*$e/gr,e0=u*$t/gr,ms=u*Jt/gr,vv=u*ar/gr,mv=u*Qt/gr,_v=u*qr/gr,$5=u*ue/gr,Ht=u*Of/gr,Ve=h*Of/gr,vr=h*ji/gr,Ha=h*tt/gr,hn=h*Gt/gr,Wo=h*Ct/gr,$o=h*$e/gr,Yo=h*$t/gr,bv=h*Jt/gr,Lv=h*ar/gr,gv=h*Qt/gr,kv=h*qr/gr,ze="M"+u+","+h/2+" L"+ms+","+kv+" L"+ms+","+Yo+"z M"+cv+","+dv+" L"+vv+","+gv+" L"+wi+","+Wo+"z M"+u/2+",0 L"+_v+","+hn+" L"+e0+","+hn+"z M"+hv+","+dv+" L"+mv+","+Wo+" L"+yi+","+gv+"z M0,"+h/2+" L"+Tr+","+Yo+" L"+Tr+","+kv+"z M"+hv+","+pv+" L"+yi+","+$o+" L"+mv+","+Lv+"z M"+u/2+","+h+" L"+e0+","+bv+" L"+_v+","+bv+"z M"+cv+","+pv+" L"+wi+","+Lv+" L"+vv+","+$o+" z M"+$5+","+h/2+ve(u/2,h/2,Ht,Ve,180,540,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heart":var Ge,he,D,q,se,_e,G;Ge=u*49/48,he=u*10/48,D=u/2-Ge,q=u/2-he,se=u/2+he,_e=u/2+Ge,G=-h/3;var ze="M"+u/2+","+h/4+"C"+se+","+G+" "+_e+","+h/4+" "+u/2+","+h+"C"+D+","+h/4+" "+q+","+G+" "+u/2+","+h/4+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"lightningBolt":var D=u*5022/21600,q=u*11050/21600,se=u*8472/21600,_e=u*8757/21600,He=u*10012/21600,qe=u*14767/21600,mt=u*12222/21600,Mt=u*12860/21600,qt=u*13917/21600,Tr=u*7602/21600,Ri=u*16577/21600,G=h*3890/21600,K=h*6080/21600,ne=h*6797/21600,de=h*7437/21600,Ye=h*12877/21600,st=h*9705/21600,Bt=h*12007/21600,vr=h*13987/21600,Ha=h*8382/21600,hn=h*14277/21600,_s=h*14915/21600,ze="M"+se+",0 L"+Mt+","+K+" L"+q+","+ne+" L"+Ri+","+Bt+" L"+qe+","+Ye+" L"+u+","+h+" L"+He+","+_s+" L"+mt+","+vr+" L"+D+","+st+" L"+Tr+","+Ha+" L0,"+G+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cube":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=25e3*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ce=1e5*ke,Ie=Math.min(u,h),Ne,G,de,_e;Ne=we<0?0:we>ce?ce:we,G=Ie*Ne/ce,de=h-G,_e=u-G,ze="M0,"+G+" L"+G+",0 L"+u+",0 L"+u+","+de+" L"+_e+","+h+" L0,"+h+" zM0,"+G+" L"+_e+","+G+" M"+_e+","+G+" L"+u+",0M"+_e+","+G+" L"+_e+","+h,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bevel":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,D,q,K;Ne=we<0?0:we>ie?ie:we,D=Ie*Ne/ce,q=u-D,K=h-D,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+D+" L"+q+","+D+" L"+q+","+K+" L"+D+","+K+" z M0,0 L"+D+","+D+" M0,"+h+" L"+D+","+K+" M"+u+",0 L"+q+","+D+" M"+u+","+h+" L"+q+","+K,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"foldedCorner":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=16667*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,Ze,Re,D,q,K,G;Ne=we<0?0:we>ie?ie:we,Ze=Ie*Ne/ce,Re=Ze/5,D=u-Ze,q=D+Re,K=h-Ze,G=K+Re,ze="M"+D+","+h+" L"+q+","+G+" L"+u+","+K+" L"+D+","+h+" L0,"+h+" L0,0 L"+u+",0 L"+u+","+K,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cloud":case"cloudCallout":var ud,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,cd,G,K,ne,de,Ye,st,Bt,vr,Ha,hn,_s,Gk,Mv,dd,hd,pd,vd,s1,Uk,Hk,Zk,Wk,Dd,cl,Bd,ll,$k,Yk,Xk,Ak,Kk,Jk,Qk;ud=u*3900/43200,D=u*4693/43200,q=u*6928/43200,se=u*16478/43200,_e=u*28827/43200,He=u*34129/43200,qe=u*41798/43200,mt=u*38324/43200,Mt=u*29078/43200,qt=u*22141/43200,Tr=u*14e3/43200,Ri=u*4127/43200,cd=h*14370/43200,G=h*26177/43200,K=h*34899/43200,ne=h*39090/43200,de=h*34751/43200,Ye=h*22954/43200,st=h*15354/43200,Bt=h*5426/43200,vr=h*3952/43200,Ha=h*4720/43200,hn=h*5192/43200,_s=h*15789/43200;var Ev=u*6753/43200,Pv=h*9190/43200,o1=u*5333/43200,Sv=h*7267/43200,Iv=u*4365/43200,f1=h*5945/43200,Tv=u*4857/43200,yv=h*6595/43200,wv=h*7273/43200,Rv=u*6775/43200,Bv=h*9220/43200,Dv=u*5785/43200,Nv=h*7867/43200,zv=u*6752/43200,Cv=h*9215/43200,Ov=u*7720/43200,xv=h*10543/43200,Gv=u*4360/43200,Uv=h*5918/43200,Hv=u*4345/43200,l1=-11429249/6e4,Y5=7426832/6e4,u1=-8646143/6e4,X5=5396714/6e4,c1=-8748475/6e4,A5=5983381/6e4,d1=-7859164/6e4,K5=7034504/6e4,h1=-4722533/6e4,J5=6541615/6e4,p1=-2776035/6e4,Q5=7816140/6e4,v1=37501/6e4,F5=6842e3/6e4,m1=1347096/6e4,q5=6910353/6e4,_1=3974558/6e4,V5=4542661/6e4,b1=-16496525/6e4,j5=8804134/6e4,L1=-14809710/6e4,eb=9151131/6e4,Zv,An,x0,g1,Gf,Wv,$v,Yv,Xv,Av,Kv,Jv,t0,O0,k1,M1,Qv,Fv,qv,Vv,jv,e2,E1,P1,S1,I1,T1,y1,w1,R1,B1,D1,t2,md,_d,bd,Ld,gd,kd,Md,Ed,Pd,Sd;Zv=ud-Ev*Math.cos(l1*Math.PI/180),Jv=cd-Pv*Math.sin(l1*Math.PI/180),E1=ve(Zv,Jv,Ev,Pv,l1,l1+Y5,!1).replace("M","L"),md=E1.substr(E1.lastIndexOf("L")+1).split(" "),An=parseInt(md[0])-o1*Math.cos(u1*Math.PI/180),t0=parseInt(md[1])-Sv*Math.sin(u1*Math.PI/180),P1=ve(An,t0,o1,Sv,u1,u1+X5,!1).replace("M","L"),_d=P1.substr(P1.lastIndexOf("L")+1).split(" "),x0=parseInt(_d[0])-Iv*Math.cos(c1*Math.PI/180),O0=parseInt(_d[1])-f1*Math.sin(c1*Math.PI/180),S1=ve(x0,O0,Iv,f1,c1,c1+A5,!1).replace("M","L"),bd=S1.substr(S1.lastIndexOf("L")+1).split(" "),g1=parseInt(bd[0])-Tv*Math.cos(d1*Math.PI/180),k1=parseInt(bd[1])-yv*Math.sin(d1*Math.PI/180),I1=ve(g1,k1,Tv,yv,d1,d1+K5,!1).replace("M","L"),Ld=I1.substr(I1.lastIndexOf("L")+1).split(" "),Gf=parseInt(Ld[0])-o1*Math.cos(h1*Math.PI/180),M1=parseInt(Ld[1])-wv*Math.sin(h1*Math.PI/180),T1=ve(Gf,M1,o1,wv,h1,h1+J5,!1).replace("M","L"),gd=T1.substr(T1.lastIndexOf("L")+1).split(" "),Wv=parseInt(gd[0])-Rv*Math.cos(p1*Math.PI/180),Qv=parseInt(gd[1])-Bv*Math.sin(p1*Math.PI/180),y1=ve(Wv,Qv,Rv,Bv,p1,p1+Q5,!1).replace("M","L"),kd=y1.substr(y1.lastIndexOf("L")+1).split(" "),$v=parseInt(kd[0])-Dv*Math.cos(v1*Math.PI/180),Fv=parseInt(kd[1])-Nv*Math.sin(v1*Math.PI/180),w1=ve($v,Fv,Dv,Nv,v1,v1+F5,!1).replace("M","L"),Md=w1.substr(w1.lastIndexOf("L")+1).split(" "),Yv=parseInt(Md[0])-zv*Math.cos(m1*Math.PI/180),qv=parseInt(Md[1])-Cv*Math.sin(m1*Math.PI/180),R1=ve(Yv,qv,zv,Cv,m1,m1+q5,!1).replace("M","L"),Ed=R1.substr(R1.lastIndexOf("L")+1).split(" "),Xv=parseInt(Ed[0])-Ov*Math.cos(_1*Math.PI/180),Vv=parseInt(Ed[1])-xv*Math.sin(_1*Math.PI/180),B1=ve(Xv,Vv,Ov,xv,_1,_1+V5,!1).replace("M","L"),Pd=B1.substr(B1.lastIndexOf("L")+1).split(" "),Av=parseInt(Pd[0])-Gv*Math.cos(b1*Math.PI/180),jv=parseInt(Pd[1])-Uv*Math.sin(b1*Math.PI/180),D1=ve(Av,jv,Gv,Uv,b1,b1+j5,!1).replace("M","L"),Sd=D1.substr(D1.lastIndexOf("L")+1).split(" "),Kv=parseInt(Sd[0])-Hv*Math.cos(L1*Math.PI/180),e2=parseInt(Sd[1])-f1*Math.sin(L1*Math.PI/180),t2=ve(Kv,e2,Hv,f1,L1,L1+eb,!1).replace("M","L");var r2="M"+ud+","+cd+E1+P1+S1+I1+T1+y1+w1+R1+B1+D1+t2+" z";if(y=="cloudCallout"){var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ce=1e5*ke,Ie=Math.min(u,h),Xe=u/2,xe=h/2,ur,pr,Vr,jr,Id,Td,z0,n1,i1,xf,vs,C0,ji,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,a2,yd,wd;ur=u*F/ce,pr=h*te/ce,Vr=Xe+ur,jr=xe+pr,Id=xe*Math.cos(Math.atan(pr/ur)),Td=Xe*Math.sin(Math.atan(pr/ur)),z0=Xe*Math.cos(Math.atan(Td/Id)),n1=xe*Math.sin(Math.atan(Td/Id)),F>=0?(i1=Xe+z0,xf=xe+n1):(i1=Xe-z0,xf=xe-n1),vs=i1-Vr,C0=xf-jr,ji=Math.sqrt(vs*vs+C0*C0),tt=Ie*6600/21600,Gt=ji-tt,Fe=Gt/3,Ct=Ie*1800/21600,$e=Fe+Ct,$t=$e*vs/ji,Jt=$e*C0/ji,ar=$t+Vr,Qt=Jt+jr,qr=Ie*4800/21600,Qr=Fe*2,wr=qr+Qr,Rr=wr*vs/ji,ua=wr*C0/ji,sa=Rr+Vr,Ir=ua+jr,Gr=Ie*1200/21600,ca=Ie*600/21600,a2=Vr+ca,yd=ar+Gr,wd=sa+Ct,ze=ve(a2-ca,jr,ca,ca,0,360,!1)+" z M"+yd+","+Qt+ve(yd-Gr,Qt,Gr,Gr,0,360,!1).replace("M","L")+" z M"+wd+","+Ir+ve(wd-Ct,Ir,Ct,Ct,0,360,!1).replace("M","L")+" z",r2+=ze}v+="<path d='"+r2+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"smileyFace":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=4653*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,_t=4653*ke,Ie=Math.min(u,h),Ne,D,q,se,_e,G,ne,Ze,K,de,Xt,Ye,Ht,Ve,Xe,xe;Xe=u/2,xe=h/2,Ne=we<-_t?-_t:we>_t?_t:we,D=u*4969/21699,q=u*6215/21600,se=u*13135/21600,_e=u*16640/21600,G=h*7570/21600,ne=h*16515/21600,Ze=h*Ne/ce,K=ne-Ze,de=ne+Ze,Xt=h*Ne/ie,Ye=de+Xt,Ht=u*1125/21600,Ve=h*1125/21600;var An=q-Ht*Math.cos(Math.PI),t0=G-Ve*Math.sin(Math.PI),x0=se-Ht*Math.cos(Math.PI);ze=ve(An,t0,Ht,Ve,180,540,!1)+ve(x0,t0,Ht,Ve,180,540,!1)+" M"+D+","+K+" Q"+Xe+","+Ye+" "+_e+","+K+" Q"+Xe+","+Ye+" "+D+","+K+" M0,"+xe+ve(Xe,xe,Xe,xe,180,540,!1).replace("M","L")+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"verticalScroll":case"horizontalScroll":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=25e3*ke,ce=1e5*ke,Ie=Math.min(u,h),Zt=0,Tt=0,rt=h,ut=u,Ne,hr,Pt,r0;if(Ne=we<0?0:we>ie?ie:we,hr=Ie*Ne/ce,Pt=hr/2,r0=hr/4,y=="verticalScroll"){var se,_e,qe,mt,He,ne,de;se=hr+Pt,_e=hr+hr,qe=ut-hr,mt=ut-Pt,He=qe-Pt,ne=rt-hr,de=rt-Pt,ze="M"+hr+","+ne+" L"+hr+","+Pt+ve(se,Pt,Pt,Pt,180,270,!1).replace("M","L")+" L"+mt+","+Zt+ve(mt,Pt,Pt,Pt,270,450,!1).replace("M","L")+" L"+qe+","+hr+" L"+qe+","+de+ve(He,de,Pt,Pt,0,90,!1).replace("M","L")+" L"+Pt+","+rt+ve(Pt,de,Pt,Pt,90,270,!1).replace("M","L")+" z M"+se+","+Zt+ve(se,Pt,Pt,Pt,270,450,!1).replace("M","L")+ve(se,se/2,r0,r0,90,270,!1).replace("M","L")+" L"+_e+","+Pt+" M"+qe+","+hr+" L"+se+","+hr+" M"+hr+","+de+ve(Pt,de,Pt,Pt,0,270,!1).replace("M","L")+ve(Pt,(de+ne)/2,r0,r0,270,450,!1).replace("M","L")+" z M"+hr+","+de+" L"+hr+","+ne}else if(y=="horizontalScroll"){var ne,de,st,Bt,Ye,se,_e;ne=hr+Pt,de=hr+hr,st=rt-hr,Bt=rt-Pt,Ye=st-Pt,se=ut-hr,_e=ut-Pt,ze="M"+Tt+","+ne+ve(Pt,ne,Pt,Pt,180,270,!1).replace("M","L")+" L"+se+","+hr+" L"+se+","+Pt+ve(_e,Pt,Pt,Pt,180,360,!1).replace("M","L")+" L"+ut+","+Ye+ve(_e,Ye,Pt,Pt,0,90,!1).replace("M","L")+" L"+hr+","+st+" L"+hr+","+Bt+ve(Pt,Bt,Pt,Pt,0,180,!1).replace("M","L")+" zM"+_e+","+hr+ve(_e,Pt,Pt,Pt,90,-180,!1).replace("M","L")+ve((se+_e)/2,Pt,r0,r0,180,0,!1).replace("M","L")+" z M"+_e+","+hr+" L"+se+","+hr+" M"+Pt+","+de+" L"+Pt+","+ne+ve(ne/2,ne,r0,r0,180,360,!1).replace("M","L")+ve(Pt,ne,Pt,Pt,0,180,!1).replace("M","L")+" M"+hr+","+ne+" L"+hr+","+st}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeEllipseCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,bs=11*Math.PI/180,Ie=Math.min(u,h),ur,pr,Vr,jr,Xo,Ao,Rd,Wt,Qa,Ge,Re,D,G,he,Ze,q,K,G0,Fk,qk,mn,At,W=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=W+pr,Xo=ur*h,Ao=pr*u,Rd=Math.atan(Ao/Xo),Wt=Rd+bs,Qa=Rd-bs,console.log("dxPos: ",ur,"dyPos: ",pr),Ge=x*Math.cos(Wt),Re=W*Math.sin(Wt),he=x*Math.cos(Qa),Ze=W*Math.sin(Qa),ur>=0?(D=x+Ge,G=W+Re,q=x+he,K=W+Ze):(D=x-Ge,G=W-Re,q=x-he,K=W-Ze),ze="M"+D+","+G+" L"+Vr+","+jr+" L"+q+","+K+ve(x,W,x,W,0,360,!0),v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRectCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,ur,pr,Vr,jr,Vn,qn,Uf,Hf,Zf,va,Wf,$f,D,q,Yf,Xf,G,K,Af,Kf,Jf,Qf,Ko,Ff,qf,Vf,jf,el,tl,rl,al,nl,il,sl,W=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=W+pr,Vn=Vr-x,qn=jr-W,Uf=ur*h/u,Hf=Math.abs(pr),Zf=Math.abs(Uf),va=Hf-Zf,Wf=ur>0?7:2,$f=ur>0?10:5,D=u*Wf/12,q=u*$f/12,Yf=pr>0?7:2,Xf=pr>0?10:5,G=h*Yf/12,K=h*Xf/12,Af=ur>0?0:Vr,Kf=va>0?0:Af,Jf=pr>0?D:Vr,Qf=va>0?Jf:D,Ko=ur>0?Vr:u,Ff=va>0?u:Ko,qf=pr>0?Vr:D,Vf=va>0?qf:D,jf=ur>0?G:jr,el=va>0?G:jf,tl=pr>0?0:jr,rl=va>0?tl:0,al=ur>0?jr:G,nl=va>0?G:al,il=pr>0?jr:h,sl=va>0?il:h,ze="M0,0 L"+D+",0 L"+Qf+","+rl+" L"+q+",0 L"+u+",0 L"+u+","+G+" L"+Ff+","+nl+" L"+u+","+K+" L"+u+","+h+" L"+q+","+h+" L"+Vf+","+sl+" L"+D+","+h+" L0,"+h+" L0,"+K+" L"+Kf+","+el+" L0,"+G+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRoundRectCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke,at,Pe=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=1e5*w,Ie=Math.min(u,h),ur,pr,Vr,jr,Uf,Hf,Zf,va,Wf,$f,D,q,Yf,Xf,G,K,Af,Kf,Jf,Qf,Ko,Ff,qf,Vf,jf,el,tl,rl,al,nl,il,sl,mr,Fa,Ci,W=h/2,x=u/2;ur=u*F/ie,pr=h*te/ie,Vr=x+ur,jr=W+pr,Uf=ur*h/u,Hf=Math.abs(pr),Zf=Math.abs(Uf),va=Hf-Zf,Wf=ur>0?7:2,$f=ur>0?10:5,D=u*Wf/12,q=u*$f/12,Yf=pr>0?7:2,Xf=pr>0?10:5,G=h*Yf/12,K=h*Xf/12,Af=ur>0?0:Vr,Kf=va>0?0:Af,Jf=pr>0?D:Vr,Qf=va>0?Jf:D,Ko=ur>0?Vr:u,Ff=va>0?u:Ko,qf=pr>0?Vr:D,Vf=va>0?qf:D,jf=ur>0?G:jr,el=va>0?G:jf,tl=pr>0?0:jr,rl=va>0?tl:0,al=ur>0?jr:G,nl=va>0?G:al,il=pr>0?jr:h,sl=va>0?il:h,mr=Ie*Pe/ie,Fa=u-mr,Ci=h-mr,ze="M0,"+mr+ve(mr,mr,mr,mr,180,270,!1).replace("M","L")+" L"+D+",0 L"+Qf+","+rl+" L"+q+",0 L"+Fa+",0"+ve(Fa,mr,mr,mr,270,360,!1).replace("M","L")+" L"+u+","+G+" L"+Ff+","+nl+" L"+u+","+K+" L"+u+","+Ci+ve(Fa,Ci,mr,mr,0,90,!1).replace("M","L")+" L"+q+","+h+" L"+Vf+","+sl+" L"+D+","+h+" L"+mr+","+h+ve(mr,Ci,mr,mr,90,180,!1).replace("M","L")+" L0,"+K+" L"+Kf+","+el+" L0,"+G+" z",v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=18750*ke,Te,te=-8333*ke,at,Pe=18750*ke,nr,pt=-16667*ke,jn,Dr=1e5*ke,n2,a0=-16667*ke,i2,ol=112963*ke,s2,fl=-8333*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*ke):le=="adj5"?(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*ke):le=="adj6"?(n2=L(z[U],["attrs","fmla"]),a0=parseInt(n2.substr(4))*ke):le=="adj7"?(i2=L(z[U],["attrs","fmla"]),ol=parseInt(i2.substr(4))*ke):le=="adj8"&&(s2=L(z[U],["attrs","fmla"]),fl=parseInt(s2.substr(4))*ke)}var ze,ie=1e5*ke,pn=!0;switch(y){case"borderCallout1":case"callout1":y=="borderCallout1"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K;break;case"borderCallout2":case"callout2":y=="borderCallout2"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K;break;case"borderCallout3":case"callout3":y=="borderCallout3"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ol=112963*ke,fl=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ol/ie,_e=u*fl/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K;break;case"accentBorderCallout1":case"accentCallout1":y=="accentBorderCallout1"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout2":case"accentCallout2":y=="accentBorderCallout2"?pn=!0:pn=!1,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout3":case"accentCallout3":y=="accentBorderCallout3"?pn=!0:pn=!1,pn=!0,z===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ol=112963*ke,fl=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ol/ie,_e=u*fl/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightRibbon":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=5e4*ke,Te,te=5e4*ke,at,Pe=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=33333*ke,ce=1e5*ke,_t=2e5*ke,kr=4e5*ke,Ie=Math.min(u,h),Ke,nt,ue,o2,vt,Me,D,_e,Re,Ze,Jo,ll,N1,Bd,z1,Dd,ul,cl,Ve,q,se,G,K,Br=u/32,W=h/2,x=u/2;Ke=Pe<0?0:Pe>ie?ie:Pe,nt=ce-Ke,ue=F<0?0:F>nt?nt:F,o2=x-Br,vt=ce*o2/Ie,Me=te<0?0:te>vt?vt:te,D=Ie*Me/ce,_e=u-D,Re=h*ue/_t,Ze=h*Ke/-_t,Jo=W+Ze-Re,ll=W+Re-Ze,N1=Jo+Re,Bd=h-N1,z1=N1*2,Dd=h-z1,ul=z1-Jo,cl=h-ul,Ve=Ke*Ie/kr,q=x-Br,se=x+Br,G=Jo+Ve,K=cl-Ve,ze="M0,"+N1+"L"+D+",0L"+D+","+Jo+"L"+x+","+Jo+ve(x,G,Br,Ve,270,450,!1).replace("M","L")+ve(x,K,Br,Ve,270,90,!1).replace("M","L")+"L"+_e+","+cl+"L"+_e+","+Dd+"L"+u+","+Bd+"L"+_e+","+h+"L"+_e+","+ll+"L"+x+","+ll+ve(x,ll-Ve,Br,Ve,90,180,!1).replace("M","L")+"L"+q+","+ul+"L"+D+","+ul+"L"+D+","+z1+" zM"+se+","+G+"L"+se+","+cl+"M"+q+","+K+"L"+q+","+ul,v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ribbon":case"ribbon2":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=16667*w,Te,te=5e4*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ie=25e3*w,ce=33333*w,_t=75e3*w,kr=1e5*w,Xa=2e5*w,ya=4e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32,ue,Me,Tr,he,q,qt,se,Mt,He,qe,_e,mt,G,K,de,ne,Ve,st;if(ue=F<0?0:F>ce?ce:F,Me=te<ie?ie:te>_t?_t:te,Tr=ut-Jn,he=u*Me/Xa,q=x-he,qt=x+he,se=q+Br,Mt=qt-Br,He=q+Jn,qe=qt-Jn,_e=He-Br,mt=qe+Br,Ve=h*ue/ya,y=="ribbon2"){var Re,Ze,Bt;Re=h*ue/Xa,G=rt-Re,Ze=h*ue/kr,K=rt-Ze,de=Zt+Ze,ne=(de+rt)/2,st=rt-Ve,Bt=G-Ve,ze="M"+Tt+","+rt+" L"+Jn+","+ne+" L"+Tt+","+de+" L"+q+","+de+" L"+q+","+Ve+ve(se,Ve,Br,Ve,180,270,!1).replace("M","L")+" L"+Mt+","+Zt+ve(Mt,Ve,Br,Ve,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+qt+","+de+" L"+ut+","+de+" L"+Tr+","+ne+" L"+ut+","+rt+" L"+mt+","+rt+ve(mt,st,Br,Ve,90,270,!1).replace("M","L")+" L"+Mt+","+G+ve(Mt,Bt,Br,Ve,90,-90,!1).replace("M","L")+" L"+se+","+K+ve(se,Bt,Br,Ve,270,90,!1).replace("M","L")+" L"+_e+","+G+ve(_e,st,Br,Ve,270,450,!1).replace("M","L")+" z M"+He+","+K+" L"+He+","+st+"M"+qe+","+st+" L"+qe+","+K+"M"+q+","+Bt+" L"+q+","+de+"M"+qt+","+de+" L"+qt+","+Bt}else if(y=="ribbon"){var Ye;G=h*ue/Xa,K=h*ue/kr,de=rt-K,ne=de/2,Ye=rt-Ve,st=K-Ve,ze="M"+Tt+","+Zt+" L"+_e+","+Zt+ve(_e,Ve,Br,Ve,270,450,!1).replace("M","L")+" L"+se+","+G+ve(se,st,Br,Ve,270,90,!1).replace("M","L")+" L"+Mt+","+K+ve(Mt,st,Br,Ve,90,-90,!1).replace("M","L")+" L"+mt+","+G+ve(mt,Ve,Br,Ve,90,270,!1).replace("M","L")+" L"+ut+","+Zt+" L"+Tr+","+ne+" L"+ut+","+de+" L"+qt+","+de+" L"+qt+","+Ye+ve(Mt,Ye,Br,Ve,0,90,!1).replace("M","L")+" L"+se+","+rt+ve(se,Ye,Br,Ve,90,180,!1).replace("M","L")+" L"+q+","+de+" L"+Tt+","+de+" L"+Jn+","+ne+" z M"+He+","+Ve+" L"+He+","+K+"M"+qe+","+K+" L"+qe+","+Ve+"M"+q+","+de+" L"+q+","+st+"M"+qt+","+st+" L"+qt+","+de}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"doubleWave":case"wave":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=y=="doubleWave"?6250*w:12500*w,Te,te=0;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ce=-1e4*w,_t=5e4*w,kr=1e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32;if(y=="doubleWave"){var ie=12500*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,Nd,Mt,Lt,se,Aa,_e,He,qe,mt,qt,ms,Tr,Ri,yi,wi,e0;ue=F<0?0:F>ie?ie:F,Me=te<ce?ce:te>kr?kr:te,G=h*ue/kr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,Nd=Kn>0?Kn:0,Mt=ut-Nd,Lt=(he+Mt)/6,se=q+Lt,Aa=(he+Mt)/3,_e=q+Aa,He=(q+Mt)/2,qe=He+Lt,mt=(qe+Mt)/2,qt=Tt+Nd,ms=ut+he,Tr=qt+Lt,Ri=qt+Aa,yi=(qt+ms)/2,wi=yi+Lt,e0=(wi+ms)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" C"+qe+","+K+" "+mt+","+ne+" "+Mt+","+G+" L"+ms+","+de+" C"+e0+","+st+" "+wi+","+Ye+" "+yi+","+de+" C"+Ri+","+st+" "+Tr+","+Ye+" "+qt+","+de+" z"}else if(y=="wave"){var Xa=2e4*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,sn,He,Lt,se,_e,qe,Tr,mt,Mt;ue=F<0?0:F>Xa?Xa:F,Me=te<ce?ce:te>kr?kr:te,G=h*ue/kr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,sn=Kn>0?Kn:0,He=ut-sn,Lt=(he+He)/3,se=q+Lt,_e=(se+He)/2,qe=Tt+sn,Tr=ut+he,mt=qe+Lt,Mt=(mt+Tr)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" L"+Tr+","+de+" C"+Mt+","+st+" "+mt+","+Ye+" "+qe+","+de+" z"}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipseRibbon":case"ellipseRibbon2":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var ze,ie=25e3*w,_t=75e3*w,kr=1e5*w,Xa=2e5*w,x=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,ue,Me,Xr,Ar,aa,zd,Ke,he,q,se,_e,He,qe,Re,Ls,zt,yt,Qo,Cd,zt,Xt,cr,Lr,Nr,nn,Yr,dl,ra,Od;if(ue=F<0?0:F>kr?kr:F,Me=te<ie?ie:te>_t?_t:te,Xr=kr-ue,Ar=Xr/2,aa=ue-Ar,zd=0>aa?0:aa,Ke=Pe<zd?zd:Pe>ue?ue:Pe,he=u*Me/Xa,q=x-he,se=q+Jn,_e=ut-se,He=ut-q,qe=ut-Jn,Re=h*Ke/kr,Ls=4*Re/u,zt=se*se/u,yt=se-zt,Qo=se/2,Cd=ut-Qo,zt=h*ue/kr,Xt=zt-Re,cr=q*q/u,Lr=q-cr,Nr=Ls*Lr,nn=rt-zt,Yr=Re*14/16,dl=q/2,ra=Ls*dl,Od=ut-dl,y=="ellipseRibbon"){var G,gs,ne,Hr,tr,Fo,K,Ye,st,ks,hl,Bt,xd,vr;G=Ls*yt,gs=Ls*Qo,ne=Nr+Xt,Hr=Re+Xt-ne,tr=Hr+Re,Fo=tr+Xt,K=(Yr+nn)/2,Ye=Nr+nn,st=ne+nn,ks=ra+nn,hl=Fo+nn,Bt=G+Xt,xd=zt+zt-Bt,vr=rt-Re,ze="M"+Tt+","+Zt+" Q"+Qo+","+gs+" "+se+","+G+" L"+q+","+ne+" Q"+x+","+Fo+" "+He+","+ne+" L"+_e+","+G+" Q"+Cd+","+gs+" "+ut+","+Zt+" L"+qe+","+K+" L"+ut+","+nn+" Q"+Od+","+ks+" "+He+","+Ye+" L"+He+","+st+" Q"+x+","+hl+" "+q+","+st+" L"+q+","+Ye+" Q"+dl+","+ks+" "+Tt+","+nn+" L"+Jn+","+K+" zM"+q+","+Ye+" L"+q+","+ne+"M"+He+","+ne+" L"+He+","+Ye+"M"+se+","+G+" L"+se+","+Bt+"M"+_e+","+Bt+" L"+_e+","+G}else if(y=="ellipseRibbon2"){var mr,G,f2,gs,cr,Nr,wn,ne,Hr,tr,Gd,Fo,nn,Yr,Fa,K,Z0,Ye,W0,st,l2,ks,u2,hl,f0,Bt,c2,xd;mr=Ls*yt,G=rt-mr,f2=Ls*Qo,gs=rt-f2,wn=Nr+Xt,ne=rt-wn,Hr=Re+Xt-wn,tr=Hr+Re,Gd=tr+Xt,Fo=rt-Gd,Fa=(Yr+nn)/2,K=rt-Fa,Z0=Nr+nn,Ye=rt-Z0,W0=wn+nn,st=rt-W0,l2=ra+nn,ks=rt-l2,u2=Gd+nn,hl=rt-u2,f0=mr+Xt,Bt=rt-f0,c2=zt+zt-f0,xd=rt-c2,ze="M"+Tt+","+rt+" L"+Jn+","+K+" L"+Tt+","+zt+" Q"+dl+","+ks+" "+q+","+Ye+" L"+q+","+st+" Q"+x+","+hl+" "+He+","+st+" L"+He+","+Ye+" Q"+Od+","+ks+" "+ut+","+zt+" L"+qe+","+K+" L"+ut+","+rt+" Q"+Cd+","+gs+" "+_e+","+G+" L"+He+","+ne+" Q"+x+","+Fo+" "+q+","+ne+" L"+se+","+G+" Q"+Qo+","+gs+" "+Tt+","+rt+" zM"+q+","+ne+" L"+q+","+Ye+"M"+He+","+Ye+" L"+He+","+ne+"M"+se+","+Bt+" L"+se+","+G+"M"+_e+","+G+" L"+_e+","+Bt}v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":if(y==="bentConnector4"||y==="bentConnector5"){var zf=yp(y,e,u,h);v+="<polyline points='"+zf.map(function(Vt){return Vt[0]+" "+Vt[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+Pc(_,Be,We)+"/>";break}case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":var tb=f5(L(b,["a:ext","attrs","cx"]),"x",m,u),rb=f5(L(b,["a:ext","attrs","cy"]),"y",m,h);v+="<line x1='0' y1='0' x2='"+tb+"' y2='"+rb+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+Pc(_,Be,We),v+="/>";break;case"rightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=1-Qn/Fn}}v+=" <polygon points='"+u+" "+h/2+","+et*u+" 0,"+et*u+" "+je*h+",0 "+je*h+",0 "+(1-je)*h+","+et*u+" "+(1-je)*h+", "+et*u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+u+" "+(1-je)*h+","+u+" "+je*h+","+et*u+" "+je*h+", "+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrow":case"flowChartOffpageConnector":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}y=="flowChartOffpageConnector"&&(je=.5,et=.212),v+=" <polygon points='"+(.5-je)*u+" 0,"+(.5-je)*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+","+u+" "+(1-et)*h+","+(.5+je)*u+" "+(1-et)*h+", "+(.5+je)*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='"+u/2+" 0,0 "+et*h+","+(.5-je)*u+" "+et*h+","+(.5-je)*u+" "+h+","+(.5+je)*u+" "+h+","+(.5+je)*u+" "+et*h+", "+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=u/h;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+(1-et)*u+" "+(1-je)*h+","+(1-et)*u+" "+h+","+u+" "+h/2+", "+(1-et)*u+" 0,"+(1-et)*u+" "+je*h+","+et*u+" "+je*h+","+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upDownArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=h/u;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);if(le=="adj1")Se=L(z[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(z[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}v+=" <polygon points='"+u/2+" 0,0 "+et*h+","+je*u+" "+et*h+","+je*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+", "+u+" "+(1-et)*h+","+(1-je)*u+" "+(1-et)*h+","+(1-je)*u+" "+et*h+","+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=22500*w,Te,te=22500*w,at,Pe=22500*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,ne,de,Ye,st,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=x-he,He=x+he,Lt=it*ue/_t,se=x-Lt,_e=x+Lt,qe=u-D,K=W-he,Ye=W+he,ne=W-Lt,de=W+Lt,st=h-D;var ze="M0,"+W+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+x+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+W+" L"+qe+","+Ye+" L"+qe+","+de+" L"+_e+","+de+" L"+_e+","+st+" L"+He+","+st+" L"+x+","+h+" L"+q+","+st+" L"+se+","+st+" L"+se+","+de+" L"+D+","+de+" L"+D+","+Ye+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,Ze,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=x-he,He=x+he,Lt=it*ue/_t,se=x-Lt,_e=x+Lt,qe=u-D,Ze=it*Me/ie,K=h-Ze,de=h-he,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+x+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+de+" L"+qe+","+h+" L"+qe+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,ue,Me,Ke,D,q,Aa,Lt,se,_e,He,K,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,lt=ce-nt,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ie,q=u-he,K=h-he,Aa=it*Me/ce,_e=u-Aa,de=h-Aa,Lt=it*ue/_t,se=_e-Lt,He=_e+Lt,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+_e+",0 L"+u+","+D+" L"+He+","+D+" L"+He+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,ue,Me,Ke,Ge,D,he,q,Lt,se,_e,G,K,Ze,it=Math.min(u,h);F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>ie?Me=ie:Me=te,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,G=it*Ke/ce,Ge=it*Me/ie,D=u-Ge,Lt=it*Me/ce,se=u-Lt,he=it*ue/_t,q=se-he,_e=se+he,Ze=it*ue/ce,K=h-Ze;var ze="M0,"+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+se+",0 L"+u+","+G+" L"+_e+","+G+" L"+_e+","+h+" L0,"+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var ue,Me,Ke,_r,se,_e,ne,de,Ye,st,nt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe;var ot,oa,Oa,Bi,Ut,Ms,Ud,pl,wa,Es,vn,ot=it*ue/ce;oa=it*Me/ce,Oa=ot/2,Bi=oa-Oa,Ut=it*Ke/ce,Ms=u-Ut,Ud=h-Bi,pl=Ms<Ud?Ms:Ud,fr=ce*pl/it,pt<0?_r=0:pt>fr?_r=fr:_r=pt,wa=it*_r/ce,Es=wa-ot,vn=Es>0?Es:0,se=ot+vn,_e=u-Ut,ne=Bi+ot,de=ne+Bi,Ye=Bi+wa,st=ne+vn;var ze="M0,"+h+" L0,"+Ye+ve(wa,Ye,wa,wa,180,270,!1).replace("M","L")+" L"+_e+","+Bi+" L"+_e+",0 L"+u+","+oa+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+ve(se,st,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"uturnArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,jn,Dr=75e3*w,ie=25e3*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var ue,Me,Ke,_r,yn,zt,yt,cr,se,_e,He,qe,mt,Mt,qt,de,Ye,Hd,nt,lt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,yt=ue*it/h,cr=ce-yt,lt=cr*h/it,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,zt=Ke+ue,Hd=zt*it/h,Dr<Hd?yn=Hd:Dr>ce?yn=ce:yn=Dr;var ot,oa,Oa,Bi,Ut,Ms,pl,wa,Es,vn,ot=it*ue/ce;oa=it*Me/ce,Oa=ot/2,Bi=oa-Oa,Ye=h*yn/ce,Ut=it*Ke/ce,de=Ye-Ut,qt=u-Bi,Ms=qt/2,pl=Ms<de?Ms:de,fr=ce*pl/it,pt<0?_r=0:pt>fr?_r=fr:_r=pt,wa=it*_r/ce,Es=wa-ot,vn=Es>0?Es:0,se=ot+vn,Mt=u-oa,qe=Mt-oa,mt=qe+Bi,_e=qt-wa,He=mt-vn;let Mh=(ot+mt)/2,jk=(de+ot)/2;var ze="M0,"+h+" L0,"+wa+ve(wa,wa,wa,wa,180,270,!1).replace("M","L")+" L"+_e+",0"+ve(_e,wa,wa,wa,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+u+","+de+" L"+Mt+","+Ye+" L"+qe+","+de+" L"+mt+","+de+" L"+mt+","+se+ve(He,se,vn,vn,0,-90,!1).replace("M","L")+" L"+se+","+ot+ve(se,se,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"stripedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w,_t=84375*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,_e,He,sn,qe,C1,G,Re,K,vt,W=h/2,it=Math.min(u,h);vt=_t*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,_e=it*5/32,sn=it*Me/ie,He=u-sn,Re=h*ue/ce,G=W-Re,K=W+Re;var jo=it/8,d2=it/16,h2=it/32,ze="M0,"+G+" L"+h2+","+G+" L"+h2+","+K+" L0,"+K+" z M"+d2+","+G+" L"+jo+","+G+" L"+jo+","+K+" L"+d2+","+K+" z M"+_e+","+G+" L"+He+","+G+" L"+He+",0 L"+u+","+W+" L"+He+","+h+" L"+He+","+K+" L"+_e+","+K+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"notchedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,D,q,he,G,Re,K,vt,W=h/2,xe=W,it=Math.min(u,h);vt=ie*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,he=it*Me/ie,q=u-he,Re=h*ue/ce,G=W-Re,K=W+Re,D=Re*he/xe;var ze="M0,"+G+" L"+q+","+G+" L"+q+",0 L"+u+","+W+" L"+q+","+h+" L"+q+","+K+" L0,"+K+" L"+D+","+W+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"homePlate":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,ft,W=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,Ge=it*Ne/ie,D=u-Ge;var ze="M0,0 L"+D+",0 L"+u+","+W+" L"+D+","+h+" L0,"+h+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chevron":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,q,ft,W=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,D=it*Ne/ie,q=u-D;var ze="M0,0 L"+q+",0 L"+u+","+W+" L"+q+","+h+" L0,"+h+" L"+D+","+W+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,Lt,se,q,D,W=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=cnstVal-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Lt=Ie*Ke/ce,se=ut-Lt,q=u*_r/ce,D=q/2;var ze="M"+Tt+","+Zt+" L"+q+","+Zt+" L"+q+","+K+" L"+se+","+K+" L"+se+","+G+" L"+ut+","+W+" L"+se+","+de+" L"+se+","+ne+" L"+q+","+ne+" L"+q+","+rt+" L"+Tt+","+rt+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Ge,he,D,q,se,_e,Xt,ne,K,G,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,Xt=Ie*Ke/ce,ne=rt-Xt,K=h*_r/ce,G=K/2;var ze="M"+Tt+","+Zt+" L"+ut+","+Zt+" L"+ut+","+K+" L"+se+","+K+" L"+se+","+ne+" L"+_e+","+ne+" L"+x+","+rt+" L"+D+","+ne+" L"+q+","+ne+" L"+q+","+K+" L"+Tt+","+K+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,D,he,q,se,W=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,he=u*_r/ce,q=ut-he,se=(q+ut)/2;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+ut+","+Zt+" L"+ut+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Ge,he,D,q,se,_e,G,Ze,K,ne,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=Ie*Ke/ce,Ze=h*_r/ce,K=rt-Ze,ne=(K+rt)/2;var ze="M"+Tt+","+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+x+","+Zt+" L"+_e+","+G+" L"+se+","+G+" L"+se+","+K+" L"+ut+","+K+" L"+ut+","+rt+" L"+Tt+","+rt+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,_r,Re,Ze,G,K,ne,de,D,_e,he,q,se,W=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/Xe,fr=ce-yt,_r=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,_e=ut-D,he=u*_r/_t,q=x-he,se=x+he;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+se+","+Zt+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+G+" L"+ut+","+W+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrowCallout":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=18515*w,Te,te=18515*w,at,Pe=18515*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var W=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h),Me,nt,ue,lt,Ke,yt,fr,_r,he,Lt,Ut,Ge,Re,Mt,q,mt,se,qe,_e,He,vr,K,Bt,ne,st,de,Ye;Me=te<0?0:te>ie?ie:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie-Me,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*2,fr=ce-yt,_r=pt<ue?ue:pt>fr?fr:pt,he=Ie*Me/ce,Lt=Ie*ue/_t,Ut=Ie*Ke/ce,Ge=u*_r/_t,Re=h*_r/_t,Mt=ut-Ut,q=x-Ge,mt=x+Ge,se=x-he,qe=x+he,_e=x-Lt,He=x+Lt,vr=rt-Ut,K=W-Re,Bt=W+Re,ne=W-he,st=W+he,de=W-Lt,Ye=W+Lt;var ze="M"+Tt+","+W+" L"+Ut+","+ne+" L"+Ut+","+de+" L"+q+","+de+" L"+q+","+K+" L"+_e+","+K+" L"+_e+","+Ut+" L"+se+","+Ut+" L"+x+","+Zt+" L"+qe+","+Ut+" L"+He+","+Ut+" L"+He+","+K+" L"+mt+","+K+" L"+mt+","+de+" L"+Mt+","+de+" L"+Mt+","+ne+" L"+ut+","+W+" L"+Mt+","+st+" L"+Mt+","+Ye+" L"+mt+","+Ye+" L"+mt+","+Bt+" L"+He+","+Bt+" L"+He+","+vr+" L"+qe+","+vr+" L"+x+","+rt+" L"+se+","+vr+" L"+_e+","+vr+" L"+_e+","+Bt+" L"+q+","+Bt+" L"+q+","+Ye+" L"+Ut+","+Ye+" L"+Ut+","+st+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedDownArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,Xe=u/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Yr,ra,Xr,Ar,br,lt,Ke,Ut,se,yt,cr,Lr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,At,n0,Ps,Ss,aa,fa,Wt,s0,mn,i0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Xe-zt,tr=Ht*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),br=Ar*h/tr,lt=ce*br/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=rt-Ut,At=Math.atan(Vn/Ut);var Zd=At*180/Math.PI;n0=-Zd,Ps=rt-br,Ss=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/br);var Wd=fa*180/Math.PI;Wt=Rt+Zd,s0=Rt-Wd,mn=Wd-It,i0=It+Wd;var ze="M"+qe+","+rt+" L"+_e+","+G+" L"+He+","+G+ve(Ht,h,Ht,h,Wt,Wt+n0,!1).replace("M","L")+" L"+se+","+Zt+ve(se,h,Ht,h,Rt,Rt+Zd,!1).replace("M","L")+" L"+(He+ot)+","+G+" L"+Mt+","+G+" zM"+se+","+Zt+ve(se,h,Ht,h,s0,s0+mn,!1).replace("M","L")+ve(Ht,h,Ht,h,bt,bt+i0,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedLeftArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,xe=h/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Yr,ra,Xr,Ar,yr,lt,Ke,Ut,ne,yt,cr,Lr,Nr,qn,Ye,Bt,Hr,Ka,de,vr,oa,st,D,At,n0,Ss,Ps,aa,fa,mn,i0,Is;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=xe-zt,tr=Ve*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),yr=Ar*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),qn=Nr*Ve/u,Ye=Ve+qn,Bt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Bt+Ka,oa=ma/2,st=rt-oa,D=Tt+Ut,At=Math.atan(qn/Ut),n0=-At,Ss=Tt+yr,Ps=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-At,i0=At+fa,Is=-fa;var Di,p2,ab,O1;Di=At*180/Math.PI,p2=mn*180/Math.PI,ab=i0*180/Math.PI,O1=Is*180/Math.PI;var ze="M"+ut+","+ne+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+" L"+Tt+","+Zt+ve(Tt,ne,u,Ve,Rt,Rt+It,!1).replace("M","L")+" L"+ut+","+ne+ve(Tt,ne,u,Ve,0,Di,!1).replace("M","L")+" L"+D+","+Bt+" L"+D+","+vr+" L"+Tt+","+st+" L"+D+","+de+" L"+D+","+Ye+ve(Tt,Ve,u,Ve,Di,Di+p2,!1).replace("M","L")+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+ve(Tt,ne,u,Ve,Rt,Rt+It,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedRightArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,xe=h/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Yr,ra,Xr,Ar,yr,lt,Ke,Ut,ne,yt,cr,Lr,Nr,qn,Ye,Bt,Hr,Ka,de,vr,oa,st,D,At,Wt,n0,Ss,Ps,aa,fa,mn,i0,Is;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=xe-zt,tr=Ve*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),yr=Ar*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),qn=Nr*Ve/u,Ye=Ve+qn,Bt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Bt+Ka,oa=ma/2,st=rt-oa,D=ut-Ut,At=Math.atan(qn/Ut),Wt=Math.PI+0-At,n0=-At,Ss=ut-yr,Ps=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Math.PI/2,i0=Math.PI/2+fa,Is=Math.PI-fa;var $d,v2,Di,qo;$d=Wt*180/Math.PI,v2=n0*180/Math.PI,Di=At*180/Math.PI,qo=mn*180/Math.PI;var ze="M"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+v2,!1).replace("M","L")+" L"+D+","+Ye+" L"+D+","+de+" L"+ut+","+st+" L"+D+","+vr+" L"+D+","+Bt+ve(u,ne,u,Ve,$d,$d+Di,!1).replace("M","L")+" L"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+It,!1).replace("M","L")+" L"+ut+","+ot+ve(u,ne,u,Ve,Rt,Rt+qo,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedUpArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,x=u/2,Xe=u/2,ut=u,rt=h,Tt=0,Zt=0,Rt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Yr,ra,Xr,Ar,br,lt,Ke,Ut,se,yt,cr,Lr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,At,n0,Ps,Ss,aa,fa,mn,nb,Is,i0,s0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Xe-zt,tr=Ht*2,Yr=tr*tr,ra=ot*ot,Xr=Yr-ra,Ar=Math.sqrt(Xr),br=Ar*h/tr,lt=ce*br/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,Lr=yt-cr,Nr=Math.sqrt(Lr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=Zt+Ut,At=Math.atan(Vn/Ut),n0=-At,Ps=Zt+br,Ss=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/br),mn=fa-At,nb=-mn,Is=Math.PI/2-At,i0=At+fa,s0=Math.PI/2-fa;var Yd,qo,Di,qo;Yd=s0*180/Math.PI,qo=mn*180/Math.PI,O1=Is*180/Math.PI,Di=At*180/Math.PI;var ze=ve(Ht,0,Ht,h,Yd,Yd+qo,!1)+" L"+He+","+G+" L"+_e+","+G+" L"+qe+","+Zt+" L"+Mt+","+G+" L"+mt+","+G+ve(se,0,Ht,h,O1,O1+Di,!1).replace("M","L")+" L"+Ht+","+rt+ve(Ht,0,Ht,h,It,bt,!1).replace("M","L")+" L"+ot+","+Zt+ve(se,0,Ht,h,bt,It,!1).replace("M","L");v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F,Te,te,at,Pe;if(z!==void 0)if(z.constructor===Array)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))):le=="adj3"&&(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4)))}else Se=L(z,["attrs","fmla"]),F=parseInt(Se.substr(4));var ie=5e4*w,ce=1e5*w,_t=2e5*w,Tn,x=u/2,W=h/2,xe=h/2;if(y=="mathNotEqual"){z===void 0?(F=23520*w,te=110*Math.PI/180,Pe=11760*w):(F=F*w,te=te/6e4*Math.PI/180,Pe=Pe*w);var ue,m2,vl,lt,Ke,Re,Ze,Ge,D,Mt,K,ne,G,de,Vo,Ni,x1,U0,_2,mt,b2,qe,L2,He,g2,_e,k2,se,M2,q,s1,vd,pd,hd,dd,Mv,ts,E2,P2,G1,U1,Xt,_n,H1,Z1,Xd,Ad,Kd,Jd,ib,Qd,Fd,qd,Vd,sb,bs=70*Math.PI/180,S2=110*Math.PI/180,kr=73490*w;ue=F<0?0:F>ie?ie:F,m2=te<bs?bs:te>S2?S2:te,vl=ue*2,lt=ce-vl,Ke=Pe<0?0:Pe>lt?lt:Pe,Re=h*ue/ce,Ze=h*Ke/_t,Ge=u*kr/_t,D=x-Ge,Mt=x+Ge,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,Vo=m2-Math.PI/2,Ni=xe*Math.tan(Vo),x1=Math.sqrt(Ni*Ni+xe*xe),U0=x1*Re/xe,_2=U0/2,mt=x+Ni-_2,b2=Ni*G/xe,qe=mt-b2,L2=Ni*K/xe,He=mt-L2,g2=Ni*ne/xe,_e=mt-g2,k2=Ni*de/xe,se=mt-k2,M2=Ni*2,q=mt-M2,s1=mt+U0,vd=qe+U0,pd=He+U0,hd=_e+U0,dd=se+U0,Mv=q+U0,ts=Re*xe/x1,E2=mt+ts,P2=s1-ts,G1=Vo>0?E2:s1,U1=Vo>0?mt:P2,Xt=Re*Ni/x1,_n=-Xt,H1=Vo>0?Xt:0,Z1=Vo>0?0:_n,Xd=u-G1,Ad=u-U1,Kd=h-H1,Jd=h-Z1,ib=(G1+U1)/2,Qd=(Ad+Xd)/2,Fd=(H1+Z1)/2,qd=(G+K)/2,Vd=(ne+de)/2,sb=(Jd+Kd)/2,Tn="M"+D+","+G+" L"+qe+","+G+" L"+U1+","+Z1+" L"+G1+","+H1+" L"+vd+","+G+" L"+Mt+","+G+" L"+Mt+","+K+" L"+pd+","+K+" L"+hd+","+ne+" L"+Mt+","+ne+" L"+Mt+","+de+" L"+dd+","+de+" L"+Ad+","+Jd+" L"+Xd+","+Kd+" L"+se+","+de+" L"+D+","+de+" L"+D+","+ne+" L"+_e+","+ne+" L"+He+","+K+" L"+D+","+K+" z"}else if(y=="mathDivide"){z===void 0?(F=23520*w,te=5880*w,Pe=11760*w):(F=F*w,te=te*w,Pe=Pe*w);var ue,I2,jd,eh,lt,Ke,T2,vt,Me,Re,y2,In,Ge,ne,de,Ne,K,G,Ye,D,se,q,kr=1e3*w,Xa=36745*w,ya=73490*w;ue=F<kr?kr:F>Xa?Xa:F,I2=-ue,jd=(ya+I2)/4,eh=Xa*u/h,lt=jd<eh?jd:eh,Ke=Pe<kr?kr:Pe>lt?lt:Pe,T2=-4*Ke,vt=ya+T2-ue,Me=te<0?0:te>vt?vt:te,Re=h*ue/_t,y2=h*Me/ce,In=h*Ke/ce,Ge=u*ya/_t,ne=W-Re,de=W+Re,Ne=y2+In,K=ne-Ne,G=K-In,Ye=h-G,D=x-Ge,se=x+Ge,q=x-In;var It=90,Rt=270,An=x-Math.cos(Rt*Math.PI/180)*In,t0=G-Math.sin(Rt*Math.PI/180)*In,x0=x-Math.cos(Math.PI/2)*In,O0=Ye-Math.sin(Math.PI/2)*In;Tn="M"+x+","+G+ve(An,t0,In,In,Rt,Rt+360,!1).replace("M","L")+" z M"+x+","+Ye+ve(x0,O0,In,In,It,It+360,!1).replace("M","L")+" z M"+D+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+D+","+de+" z"}else if(y=="mathEqual"){z===void 0?(F=23520*w,te=11760*w):(F=F*w,te=te*w);var Xa=36745*w,ya=73490*w,ue,vl,th,Me,Re,Ze,Ge,K,ne,G,de,D,q,Fd,qd;ue=F<0?0:F>Xa?Xa:F,vl=ue*2,th=ce-vl,Me=te<0?0:te>th?th:te,Re=h*ue/ce,Ze=h*Me/_t,Ge=u*ya/_t,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,D=x-Ge,q=x+Ge,Fd=(G+K)/2,qd=(ne+de)/2,Tn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" zM"+D+","+ne+" L"+q+","+ne+" L"+q+","+de+" L"+D+","+de+" z"}else if(y=="mathMinus"){z===void 0?F=23520*w:F=F*w;var ya=73490*w,ue,Re,Ge,G,K,D,q;ue=F<0?0:F>ce?ce:F,Re=h*ue/_t,Ge=u*ya/_t,G=W-Re,K=W+Re,D=x-Ge,q=x+Ge,Tn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" z"}else if(y=="mathMultiply"){z===void 0?F=23520*w:F=F*w;var ya=51965*w,ue,ot,Ne,rh,ah,nh,ih,w2,sh,W1,$1,oh,fh,ii,si,Ra,xa,R2,B2,Bn,ef,Rn,D2,lh,Va,N2,oi,ni,z2,Qd,Vd,Ie=Math.min(u,h);ue=F<0?0:F>ya?ya:F,ot=Ie*ue/ce,Ne=Math.atan(h/u),rh=1*Math.sin(Ne),ah=1*Math.cos(Ne),nh=1*Math.tan(Ne),ih=Math.sqrt(u*u+h*h),w2=ih*ya/ce,sh=ih-w2,W1=ah*sh/2,$1=rh*sh/2,oh=rh*ot/2,fh=ah*ot/2,ii=W1-oh,si=$1+fh,Ra=W1+oh,xa=$1-fh,R2=x-Ra,B2=R2*nh,Bn=B2+xa,ef=u-Ra,Rn=u-ii,D2=W-si,lh=D2/nh,Va=Rn-lh,N2=ii+lh,oi=h-si,ni=h-xa,z2=h-Bn,Qd=u-W1,Vd=h-$1,Tn="M"+ii+","+si+" L"+Ra+","+xa+" L"+x+","+Bn+" L"+ef+","+xa+" L"+Rn+","+si+" L"+Va+","+W+" L"+Rn+","+oi+" L"+ef+","+ni+" L"+x+","+z2+" L"+Ra+","+ni+" L"+ii+","+oi+" L"+N2+","+W+" z"}else if(y=="mathPlus"){z===void 0?F=23520*w:F=F*w;var ya=73490*w,Ie=Math.min(u,h),ue,Ge,Re,he,D,q,se,_e,G,K,ne,de;ue=F<0?0:F>ya?ya:F,Ge=u*ya/_t,Re=h*ya/_t,he=Ie*ue/_t,D=x-Ge,q=x-he,se=x+he,_e=x+Ge,G=W-Re,K=W-he,ne=W+he,de=W+Re,Tn="M"+D+","+K+" L"+q+","+K+" L"+q+","+G+" L"+se+","+G+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+q+","+de+" L"+q+","+ne+" L"+D+","+ne+" z"}v+="<path d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=2e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ie=Math.min(u,h),ft,Ne,G,K,ne,Tn;(y=="flowChartMagneticDisk"||y=="flowChartMagneticDrum")&&(we=5e4*w),ft=ie*h/Ie,Ne=we<0?0:we>ft?ft:we,G=Ie*Ne/ce,K=G+G,ne=h-G;var bt=180,Xe=u/2,H0="";y=="flowChartMagneticDrum"&&(H0="transform='rotate(90 "+u/2+","+h/2+")'"),Tn=ve(Xe,G,Xe,G,0,bt,!1)+ve(Xe,G,Xe,G,bt,bt+bt,!1).replace("M","L")+" L"+u+","+ne+ve(Xe,ne,Xe,G,0,bt,!1).replace("M","L")+" L0,"+G,v+="<path "+H0+" d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"swooshArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=25e3*ke,Te,te=16667*ke;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ie=1*ke,ce=7e4*ke,_t=75e3*ke,kr=1e5*ke,Ie=Math.min(u,h),jo=Ie/8,uh=h/6,ue,vt,Me,ch,C2,Ra,xa,dh,hh,_i,Ge,Ln,Va,Rn,$0,Ze,O2,Xt,Nl,_n,x2,G2,zi,U2,H2;ue=F<ie?ie:F>_t?_t:F,vt=ce*u/Ie,Me=te<0?0:te>vt?vt:te,ch=h*ue/kr,C2=Ie*Me/kr,Ra=u-C2,xa=jo,dh=Math.PI/2/14,hh=jo*Math.tan(dh),_i=Ra-hh,Ge=ch*Math.tan(dh),Ln=xa+ch,Va=Ra+Ge,Rn=Va+hh,$0=Ln+jo,Ze=$0-0,O2=Ze/2,Xt=h/20,Nl=O2-Xt,_n=uh,x2=uh+_n,G2=u/6,zi=uh/2,U2=Ln+zi,H2=u/4;var Tn="M0,"+h+" Q"+G2+","+x2+" "+Ra+","+xa+" L"+_i+",0 L"+u+","+Nl+" L"+Rn+","+$0+" L"+Va+","+Ln+" Q"+H2+","+U2+" 0,"+h+" z";v+="<path d='"+Tn+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"circularArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=1142319/6e4*Math.PI/180,at,Pe=20457681/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Xe=u/2,xe=h/2,Ie=Math.min(u,h),yn,nt,ue,Qa,Wt,ot,Ca,Oa,ea,ta,_a,ba,ei,ti,Ts,ys,ri,ai,ws,ni,Ur,mr,Fa,wn,Rs,Z0,W0,f0,_l,bl,Ll,gl,kl,l0,Ml,El,u0,Pl,c0,Sl,Il,Tl,ph,yl,qa,Bs,Ds,wl,Rl,ii,si,Ns,zs,Bl,Dl,Rn,$0,zl,Cl,Cs,oi,Ol,xl,Ra,xa,xt,Dt,Ot,Nt,La,Os,xs,fi,li,ui,bn,Gs,zt,yt,ci,cr,Lr,Nr,Hr,tr,Yr,Us,Gl,Hs,ra,Xr,Ar,Zs,aa,Ws,Ul,$s,Ys,Xs,Hl,As,Ks,Js,Qs,Fs,Zl,Wl,qs,$l,Yl,Vs,js,Va,Ln,di,hi,eo,to,pi,vi,ro,Xl,Ci,mi,Al,gn,Kl,Jl,ao,Ql,no,Fl,io,so,oo,ql,fo,Vl,lo,uo,co,jl,ho,po,vo,mo,_o,eu,tu,bo,ru,au,Lo,go,_i,Bn,d0,nu,on,h0,iu,Y0,ko,Mo,su,ou,bi,fu,lu,uu,cu,p0,du,hu,v0,pu,At,ie=25e3*w,ce=1e5*w,ml=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI;yn=Dr<0?0:Dr>ie?ie:Dr,nt=yn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<ml?ml:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*yn/ce,Oa=ot/2,ea=Xe+Oa-Ca,ta=xe+Oa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+Oa,ti=ba+Oa,Ts=ei*Math.sin(Qa),ys=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Ts,ys)),ai=ti*Math.sin(Math.atan2(Ts,ys)),ws=x+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,wn=Ur*Ur,Rs=mr-wn,Z0=Fa-wn,W0=Rs*Z0/mr,f0=W0/Fa,_l=1-f0,bl=Math.sqrt(_l),Ll=Rs/ri,gl=Ll/ai,kl=(1+bl)/gl,l0=Math.atan2(kl,1),Ml=l0+Ja,El=l0>0?l0:Ml,u0=El-Qa,Pl=u0+Ja,c0=u0>0?u0:Pl,Sl=c0-bt,Il=c0-Ja,Tl=Sl>0?Il:c0,ph=Math.abs(Tl),yl=te<0?0:te>ph?ph:te,qa=Qa+yl,Bs=ei*Math.sin(qa),Ds=ti*Math.cos(qa),wl=ei*Math.cos(Math.atan2(Bs,Ds)),Rl=ti*Math.sin(Math.atan2(Bs,Ds)),ii=x+wl,si=W+Rl,Ns=ea*Math.sin(Wt),zs=ta*Math.cos(Wt),Bl=ea*Math.cos(Math.atan2(Ns,zs)),Dl=ta*Math.sin(Math.atan2(Ns,zs)),Rn=x+Bl,$0=W+Dl,zl=Ca*Math.cos(qa),Cl=Ca*Math.sin(qa),Cs=ws+zl,oi=ni+Cl,Ol=Ca*Math.cos(qa),xl=Ca*Math.sin(qa),Ra=ws-Ol,xa=ni-xl,xt=Ra-x,Dt=xa-W,Ot=Cs-x,Nt=oi-W,La=ea<ta?ea:ta,Os=xt*La/ea,xs=Dt*La/ta,fi=Ot*La/ea,li=Nt*La/ta,ui=fi-Os,bn=li-xs,Gs=Math.sqrt(ui*ui+bn*bn),zt=Os*li,yt=fi*xs,ci=zt-yt,cr=La*La,Lr=Gs*Gs,Nr=cr*Lr,Hr=ci*ci,tr=Nr-Hr,Yr=tr>0?tr:0,Us=Math.sqrt(Yr),Gl=bn*-1,Hs=Gl>0?-1:1,ra=Hs*ui,Xr=ra*Us,Ar=ci*bn,Zs=(Ar+Xr)/Lr,aa=Ar-Xr,Ws=aa/Lr,Ul=Math.abs(bn),$s=Ul*Us,Ys=ci*ui/-1,Xs=(Ys+$s)/Lr,Hl=Ys-$s,As=Hl/Lr,Ks=fi-Zs,Js=fi-Ws,Qs=li-Xs,Fs=li-As,Zl=Math.sqrt(Ks*Ks+Qs*Qs),Wl=Math.sqrt(Js*Js+Fs*Fs),qs=Wl-Zl,$l=qs>0?Zs:Ws,Yl=qs>0?Xs:As,Vs=$l*ea/La,js=Yl*ta/La,Va=x+Vs,Ln=W+js,di=xt*Ur/_a,hi=Dt*Ur/ba,eo=Ot*Ur/_a,to=Nt*Ur/ba,pi=eo-di,vi=to-hi,ro=Math.sqrt(pi*pi+vi*vi),Xl=di*to,Ci=eo*hi,mi=Xl-Ci,Al=Ur*Ur,gn=ro*ro,Kl=Al*gn,Jl=mi*mi,ao=Kl-Jl,Ql=ao>0?ao:0,no=Math.sqrt(Ql),Fl=Hs*pi,io=Fl*no,so=mi*vi,oo=(so+io)/gn,ql=so-io,fo=ql/gn,Vl=Math.abs(vi),lo=Vl*no,uo=mi*pi/-1,co=(uo+lo)/gn,jl=uo-lo,ho=jl/gn,po=di-oo,vo=di-fo,mo=hi-co,_o=hi-ho,eu=Math.sqrt(po*po+mo*mo),tu=Math.sqrt(vo*vo+_o*_o),bo=tu-eu,ru=bo>0?oo:fo,au=bo>0?co:ho,Lo=ru*_a/Ur,go=au*ba/Ur,_i=x+Lo,Bn=W+go,d0=Math.atan2(go,Lo),nu=d0+Ja,on=d0>0?d0:nu,h0=Wt-on,iu=h0-Ja,Y0=h0>0?iu:h0,ko=Va-_i,Mo=Ln-Bn,su=Math.sqrt(ko*ko+Mo*Mo),ou=su/2,bi=ou-Ca,fu=bi>0?Va:Cs,lu=bi>0?Ln:oi,uu=bi>0?_i:Ra,cu=bi>0?Bn:xa,p0=Math.atan2(js,Vs),du=p0+Ja,hu=p0>0?p0:du,v0=hu-Wt,pu=v0+Ja,At=v0>0?v0:pu;var Y1=Wt*180/Math.PI,Li=Y1+At*180/Math.PI,vu=on*180/Math.PI,gh=Y0*180/Math.PI,kh=vu+gh,ze=ve(u/2,h/2,ea,ta,Y1,Li,!1)+" L"+fu+","+lu+" L"+ii+","+si+" L"+uu+","+cu+" L"+_i+","+Bn+ve(u/2,h/2,_a,ba,vu,kh,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftCircularArrow":var z=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=-1142319/6e4*Math.PI/180,at,Pe=1142319/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(z!==void 0)for(var U=0;U<z.length;U++){var le=L(z[U],["attrs","name"]);le=="adj1"?(Se=L(z[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(z[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(z[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(z[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(z[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,x=u/2,ut=u,rt=h,Tt=0,Zt=0,Xe=u/2,xe=h/2,Ie=Math.min(u,h),ie=25e3*w,ce=1e5*w,ml=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI,yn,nt,ue,Qa,Wt,ot,Ca,Oa,ea,ta,_a,ba,ei,ti,Ts,ys,ri,ai,ws,ni,Ur,mr,Fa,wn,Rs,Z0,W0,f0,_l,bl,Ll,gl,kl,l0,Ml,El,u0,Pl,c0,Sl,Il,Tl,Z2,vh,W2,Me,yl,qa,Bs,Ds,wl,Rl,ii,si,Ns,zs,Bl,Dl,Rn,$0,mh,_h,$2,Y2,ef,Nl,zl,Cl,Cs,oi,Ol,xl,Ra,xa,xt,Dt,Ot,Nt,La,Os,xs,fi,li,ui,bn,Gs,zt,yt,ci,cr,Lr,Nr,Hr,tr,Yr,Us,Gl,Hs,ra,Xr,Ar,Zs,aa,Ws,Ul,$s,Ys,Xs,Hl,As,Ks,Js,Qs,Fs,Zl,Wl,qs,$l,Yl,Vs,js,Va,Ln,di,hi,eo,to,pi,vi,ro,Xl,Ci,mi,Al,gn,Kl,Jl,ao,Ql,no,Fl,io,so,oo,ql,fo,Vl,lo,uo,co,jl,ho,po,vo,mo,_o,eu,tu,bo,ru,au,Lo,go,_i,Bn,d0,nu,bh,h0,iu,Lh,on,Y0,ko,Mo,su,ou,bi,fu,lu,uu,cu,p0,du,hu,v0,pu,At,X2;yn=Dr<0?0:Dr>ie?ie:Dr,nt=yn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<ml?ml:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*yn/ce,Oa=ot/2,ea=Xe+Oa-Ca,ta=xe+Oa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+Oa,ti=ba+Oa,Ts=ei*Math.sin(Qa),ys=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Ts,ys)),ai=ti*Math.sin(Math.atan2(Ts,ys)),ws=x+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,wn=Ur*Ur,Rs=mr-wn,Z0=Fa-wn,W0=Rs*Z0/mr,f0=W0/Fa,_l=1-f0,bl=Math.sqrt(_l),Ll=Rs/ri,gl=Ll/ai,kl=(1+bl)/gl,l0=Math.atan2(kl,1),Ml=l0+Ja,El=l0>0?l0:Ml,u0=El-Qa,Pl=u0+Ja,c0=u0>0?u0:Pl,Sl=c0-bt,Il=c0-Ja,Tl=Sl>0?Il:c0,Z2=Math.abs(Tl),vh=Z2*-1,W2=Math.abs(te),Me=W2*-1,yl=Me<vh?vh:Me>0?0:Me,qa=Qa+yl,Bs=ei*Math.sin(qa),Ds=ti*Math.cos(qa),wl=ei*Math.cos(Math.atan2(Bs,Ds)),Rl=ti*Math.sin(Math.atan2(Bs,Ds)),ii=x+wl,si=W+Rl,Ns=ea*Math.sin(Wt),zs=ta*Math.cos(Wt),Bl=ea*Math.cos(Math.atan2(Ns,zs)),Dl=ta*Math.sin(Math.atan2(Ns,zs)),Rn=x+Bl,$0=W+Dl,mh=_a*Math.sin(Wt),_h=ba*Math.cos(Wt),$2=_a*Math.cos(Math.atan2(mh,_h)),Y2=ba*Math.sin(Math.atan2(mh,_h)),ef=x+$2,Nl=W+Y2,zl=Ca*Math.cos(qa),Cl=Ca*Math.sin(qa),Cs=ws+zl,oi=ni+Cl,Ol=Ca*Math.cos(qa),xl=Ca*Math.sin(qa),Ra=ws-Ol,xa=ni-xl,xt=Ra-x,Dt=xa-W,Ot=Cs-x,Nt=oi-W,La=ea<ta?ea:ta,Os=xt*La/ea,xs=Dt*La/ta,fi=Ot*La/ea,li=Nt*La/ta,ui=fi-Os,bn=li-xs,Gs=Math.sqrt(ui*ui+bn*bn),zt=Os*li,yt=fi*xs,ci=zt-yt,cr=La*La,Lr=Gs*Gs,Nr=cr*Lr,Hr=ci*ci,tr=Nr-Hr,Yr=tr>0?tr:0,Us=Math.sqrt(Yr),Gl=bn*-1,Hs=Gl>0?-1:1,ra=Hs*ui,Xr=ra*Us,Ar=ci*bn,Zs=(Ar+Xr)/Lr,aa=Ar-Xr,Ws=aa/Lr,Ul=Math.abs(bn),$s=Ul*Us,Ys=ci*ui/-1,Xs=(Ys+$s)/Lr,Hl=Ys-$s,As=Hl/Lr,Ks=fi-Zs,Js=fi-Ws,Qs=li-Xs,Fs=li-As,Zl=Math.sqrt(Ks*Ks+Qs*Qs),Wl=Math.sqrt(Js*Js+Fs*Fs),qs=Wl-Zl,$l=qs>0?Zs:Ws,Yl=qs>0?Xs:As,Vs=$l*ea/La,js=Yl*ta/La,Va=x+Vs,Ln=W+js,di=xt*Ur/_a,hi=Dt*Ur/ba,eo=Ot*Ur/_a,to=Nt*Ur/ba,pi=eo-di,vi=to-hi,ro=Math.sqrt(pi*pi+vi*vi),Xl=di*to,Ci=eo*hi,mi=Xl-Ci,Al=Ur*Ur,gn=ro*ro,Kl=Al*gn,Jl=mi*mi,ao=Kl-Jl,Ql=ao>0?ao:0,no=Math.sqrt(Ql),Fl=Hs*pi,io=Fl*no,so=mi*vi,oo=(so+io)/gn,ql=so-io,fo=ql/gn,Vl=Math.abs(vi),lo=Vl*no,uo=mi*pi/-1,co=(uo+lo)/gn,jl=uo-lo,ho=jl/gn,po=di-oo,vo=di-fo,mo=hi-co,_o=hi-ho,eu=Math.sqrt(po*po+mo*mo),tu=Math.sqrt(vo*vo+_o*_o),bo=tu-eu,ru=bo>0?oo:fo,au=bo>0?co:ho,Lo=ru*_a/Ur,go=au*ba/Ur,_i=x+Lo,Bn=W+go,d0=Math.atan2(go,Lo),nu=d0+Ja,bh=d0>0?d0:nu,h0=Wt-bh,iu=h0+Ja,Lh=h0>0?h0:iu,on=bh+Lh,Y0=-Lh,ko=Va-_i,Mo=Ln-Bn,su=Math.sqrt(ko*ko+Mo*Mo),ou=su/2,bi=ou-Ca,fu=bi>0?Va:Cs,lu=bi>0?Ln:oi,uu=bi>0?_i:Ra,cu=bi>0?Bn:xa,p0=Math.atan2(js,Vs),du=p0+Ja,hu=p0>0?p0:du,v0=hu-Wt,pu=v0-Ja,At=v0>0?pu:v0,X2=Wt+At;var Y1=X2*180/Math.PI,Li=Wt*180/Math.PI,vu=on*180/Math.PI,gh=Y0*180/Math.PI,kh=vu+gh,ze="M"+Rn+","+$0+" L"+ef+","+Nl+ve(u/2,h/2,_a,ba,vu,kh,!1).replace("M","L")+" L"+uu+","+cu+" L"+ii+","+si+" L"+fu+","+lu+" L"+Va+","+Ln+ve(u/2,h/2,ea,ta,Y1,Li,!1).replace("M","L")+" z";v+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":console.log(y," -unsupported shape type.");break;default:console.warn("Undefine shape type.("+y+")")}v+="</svg>",v+="<div class='block "+wp(e,t,a,o)+" "+Rp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),v+=await Tc(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>"}else if(I!==void 0){var ob=L(I,["a:pathLst"]),tf=L(ob,["a:path"]);let Mh=tf.attrs||{};var fb=Et(Mh.w,21600),lb=Et(Mh.h,21600),rf=1/fb*u,af=1/lb*h,nf=L(tf,["a:moveTo"])||[],Vk=nf.length,A2=tf["a:lnTo"],K2=tf["a:cubicBezTo"],J2=tf["a:arcTo"],Q2=L(tf,["a:close"]);Array.isArray(nf)||(nf=[nf]);var ir=[];if(nf.length>0){if(Mr(nf).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&Mr(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},mu=ga.x,_u=ga.y,sf=ga.order;Ba.type="movto",Ba.order=Et(sf,ir.length),Ba.x=mu,Ba.y=_u,ir.push(Ba)}})}),A2!==void 0&&Mr(A2).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&Mr(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},mu=ga.x,_u=ga.y,sf=ga.order;Ba.type="lnto",Ba.order=Et(sf,ir.length),Ba.x=mu,Ba.y=_u,ir.push(Ba)}})}),K2!==void 0){var F2=[];Mr(K2).forEach(function(Vt){F2.push(Vt["a:pt"])}),F2.forEach(function(Vt){Vt=Mr(Vt);var zr={};zr.type="cubicBezTo",zr.order=Et(L(Vt[0],["attrs","order"]),ir.length);var gi=[];Vt.forEach(function(ga){var Ba=ga.attrs||{};Ba.x!==void 0&&Ba.y!==void 0&&gi.push({x:Ba.x,y:Ba.y})}),gi.length===3&&(zr.cubBzPt=gi,ir.push(zr))})}J2!==void 0&&Mr(J2).forEach(function(Vt){var zr=Vt.attrs||{};if(!(zr.hR===void 0||zr.wR===void 0||zr.stAng===void 0||zr.swAng===void 0)){var gi=zr.order,ga=zr.hR,Ba=zr.wR,mu=zr.stAng,_u=zr.swAng,sf=0,om=0,Eh=L(Vt,["a:pt","attrs"]);Eh!==void 0&&(sf=Eh.x,om=Eh.y);var m0={};m0.type="arcTo",m0.order=Et(gi,ir.length),m0.hR=ga,m0.wR=Ba,m0.stAng=mu,m0.swAng=_u,m0.shftX=sf,m0.shftY=om,ir.push(m0)}}),Q2!==void 0&&Mr(Q2).forEach(function(Vt){var zr=Vt.attrs||{},gi=zr.order,ga={};ga.type="close",ga.order=Et(gi,ir.length),ir.push(ga)}),ir.sort(function(Vt,zr){return Vt.order-zr.order});for(var Pr=0,wf=!1,Oe="";Pr<ir.length;){if(ir[Pr].type=="movto"){var q2=Et(ir[Pr].x,NaN)*rf,V2=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(q2)||!Number.isFinite(V2)){Pr++;continue}Oe+=" M"+q2+","+V2}else if(ir[Pr].type=="lnto"){var j2=Et(ir[Pr].x,NaN)*rf,em=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(j2)||!Number.isFinite(em)){Pr++;continue}Oe+=" L"+j2+","+em}else if(ir[Pr].type=="cubicBezTo"){var tm=Et(ir[Pr].cubBzPt[0].x,NaN)*rf,rm=Et(ir[Pr].cubBzPt[0].y,NaN)*af,am=Et(ir[Pr].cubBzPt[1].x,NaN)*rf,nm=Et(ir[Pr].cubBzPt[1].y,NaN)*af,im=Et(ir[Pr].cubBzPt[2].x,NaN)*rf,sm=Et(ir[Pr].cubBzPt[2].y,NaN)*af;if(![tm,rm,am,nm,im,sm].every(Number.isFinite)){Pr++;continue}Oe+=" C"+tm+","+rm+" "+am+","+nm+" "+im+","+sm}else if(ir[Pr].type=="arcTo"){var Ve=Et(ir[Pr].hR,NaN)*rf,Ht=Et(ir[Pr].wR,NaN)*af,Wt=Et(ir[Pr].stAng,NaN)/6e4,At=Et(ir[Pr].swAng,NaN)/6e4;if(![Ve,Ht,Wt,At].every(Number.isFinite)){Pr++;continue}var Li=Wt+At;Oe+=ve(Ht,Ve,Ht,Ve,Wt,Li,!1)}else ir[Pr].type=="quadBezTo"?console.log("custShapType: quadBezTo - TODO"):ir[Pr].type=="close"&&(Oe+="z");Pr++}Oe&&!/NaN/.test(Oe)&&(v+="<path d='"+Oe+"' fill='"+(oe?"url(#imgPtrn_"+_+")":fe?"url(#linGrd_"+_+")":ee)+"' stroke='"+(E===void 0?"":E.color)+"' stroke-width='"+(E===void 0?"":E.width)+"' stroke-dasharray='"+(E===void 0?"":E.strokeDasharray)+"' ",v+="/>")}v+="</svg>",v+="<div class='block "+wp(e,t,a,o)+" "+Rp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),v+=await Tc(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>"}else v+="<div class='block "+wp(e,t,a,o)+" "+Rp(e,o,f)+"' data-office-shape='"+Ii(String(s))+"' data-pptx-autofit='"+A.autofit+"' data-pptx-wrap='"+A.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Xi(ae,r,k,M,l,m)+Ai(ae,k,M,m)+V+Si(e,r,!1,"shape",f)+await Qu(e,r,!1,f,g)+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(v+=await Tc(e["p:txBody"],e,t,a,o,i,f,void 0,m)),v+="</div>";return v}function Gg(e,r,t,a,s){var n=parseInt(a),i=parseInt(t),o=parseInt(e),d=o/2,f=n-i;f<0&&(f=360+f),f=Math.min(Math.max(f,0),360);var c=Math.cos(2*Math.PI/(360/f)),l=Math.sin(2*Math.PI/(360/f)),g,m,p;if(s)g=f<=180?0:1,m="M"+d+","+d+" L"+d+",0 A"+d+","+d+" 0 "+g+",1 "+(d+l*d)+","+(d-c*d)+" z",p="rotate("+(i-270)+", "+d+", "+d+")";else{g=f<=180?0:1;var b=d,k=r/2;m="M"+b+",0 A"+k+","+b+" 0 "+g+",1 "+(k+l*k)+","+(b-c*b),p="rotate("+(i+90)+", "+d+", "+d+")"}return[m,p]}function l5(e,r,t){var a=r,s=1.5*a,n=s;let i=s,o=t,d=s,f=a,c=50,l=35,g=2*Math.PI,m=g/(o*2),p=m*l*.005,b=m*c*.005,k=m,M=!1;for(var v=" M"+(n+d*Math.cos(b))+" "+(i+d*Math.sin(b));k<=g+m;k+=m)M?(v+=" L"+(n+f*Math.cos(k-p))+","+(i+f*Math.sin(k-p)),v+=" L"+(n+d*Math.cos(k+b))+","+(i+d*Math.sin(k+b))):(v+=" L"+(n+d*Math.cos(k-b))+","+(i+d*Math.sin(k-b)),v+=" L"+(n+f*Math.cos(k+p))+","+(i+f*Math.sin(k+p))),M=!M;return v+=" ",v}function ve(e,r,t,a,s,n,i){var o,d=s;if(n>=s)for(;d<=n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M"+c+" "+l),o+=" L"+c+" "+l,d++}else for(;d>n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M "+c+" "+l),o+=" L "+c+" "+l,d--}return o+=i?" z":"",o}function Ug(e,r,t){var a=Mr(L(e,["a:pathLst","a:path"])),s=[];return a.forEach(function(n){var i=n.attrs||{},o=Et(i.w,21600),d=Et(i.h,21600),f=o?1/o*r:0,c=d?1/d*t:0,l=[];Mr(L(n,["a:moveTo"])).forEach(function(m){Mr(L(m,["a:pt"])).forEach(function(p){var b=p.attrs||{};b.x===void 0||b.y===void 0||l.push({type:"movto",order:Et(b.order,l.length),x:b.x,y:b.y})})}),Mr(n["a:lnTo"]).forEach(function(m){Mr(L(m,["a:pt"])).forEach(function(p){var b=p.attrs||{};b.x===void 0||b.y===void 0||l.push({type:"lnto",order:Et(b.order,l.length),x:b.x,y:b.y})})}),Mr(n["a:cubicBezTo"]).forEach(function(m){var p=[];Mr(m["a:pt"]).forEach(function(b){var k=b.attrs||{};k.x!==void 0&&k.y!==void 0&&p.push({x:k.x,y:k.y})}),p.length===3&&l.push({type:"cubicBezTo",order:Et(L(m,["attrs","order"]),l.length),cubBzPt:p})}),Mr(n["a:arcTo"]).forEach(function(m){var p=m.attrs||{};p.hR===void 0||p.wR===void 0||p.stAng===void 0||p.swAng===void 0||l.push({type:"arcTo",order:Et(p.order,l.length),hR:p.hR,wR:p.wR,stAng:p.stAng,swAng:p.swAng})}),Mr(n["a:close"]).forEach(function(m){l.push({type:"close",order:Et(L(m,["attrs","order"]),l.length)})}),l.sort(function(m,p){return m.order-p.order});var g="";l.forEach(function(m){if(m.type=="movto"){var p=Et(m.x,NaN)*f,b=Et(m.y,NaN)*c;Number.isFinite(p)&&Number.isFinite(b)&&(g+=" M"+Za(p)+","+Za(b))}else if(m.type=="lnto"){var k=Et(m.x,NaN)*f,M=Et(m.y,NaN)*c;Number.isFinite(k)&&Number.isFinite(M)&&(g+=" L"+Za(k)+","+Za(M))}else if(m.type=="cubicBezTo"){var v=Et(m.cubBzPt[0].x,NaN)*f,_=Et(m.cubBzPt[0].y,NaN)*c,y=Et(m.cubBzPt[1].x,NaN)*f,I=Et(m.cubBzPt[1].y,NaN)*c,C=Et(m.cubBzPt[2].x,NaN)*f,R=Et(m.cubBzPt[2].y,NaN)*c;[v,_,y,I,C,R].every(Number.isFinite)&&(g+=" C"+Za(v)+","+Za(_)+" "+Za(y)+","+Za(I)+" "+Za(C)+","+Za(R))}else if(m.type=="arcTo"){var B=Et(m.hR,NaN)*f,Z=Et(m.wR,NaN)*c,T=Et(m.stAng,NaN)/6e4,O=Et(m.swAng,NaN)/6e4;[B,Z,T,O].every(Number.isFinite)&&(g+=ve(Z,B,Z,B,T,T+O,!1))}else m.type=="close"&&(g+=" Z")}),g&&!/NaN/.test(g)&&s.push(g)}),s}function Hg(e,r,t,a,s,n){var i,o,d,f;n=="cornr1"?(i=0,o=0,d=0,f=t):n=="cornr2"?(i=t,o=a,d=a,f=t):n=="cornrAll"?(i=t,o=t,d=t,f=t):n=="diag"&&(i=t,o=a,d=t,f=a);var c;return s=="round"?c="M0,"+(r/2+(1-o)*(r/2))+" Q0,"+r+" "+o*(e/2)+","+r+" L"+(e/2+(1-d)*(e/2))+","+r+" Q"+e+","+r+" "+e+","+(r/2+r/2*(1-d))+"L"+e+","+r/2*f+" Q"+e+",0 "+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 Q0,0 0,"+r/2*i+" z":s=="snip"&&(c="M0,"+i*(r/2)+" L0,"+(r/2+r/2*(1-o))+"L"+o*(e/2)+","+r+" L"+(e/2+e/2*(1-d))+","+r+"L"+e+","+(r/2+r/2*(1-d))+" L"+e+","+f*(r/2)+"L"+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 z"),c}async function Zg(e,r,t,a,s){var n="",i=!1,o=e.attrs.order,d=L(e,["p:blipFill","a:blip"]),f;t=="slideMasterBg"?f=r.masterResObj:t=="slideLayoutBg"?f=r.layoutResObj:f=r.slideResObj;var c=r.zip,l;for(var g of km(d,f,c))try{if(l=await E5(zp(g.target).toLowerCase(),await g.entry.async("arraybuffer")),l)break}catch(Ce){console.warn("Unable to decode embedded PPTX picture",Ce)}var m=L(e,["p:spPr","a:xfrm"]);if(m===void 0){var p=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]),b=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","type"]);p!==void 0&&(m=L(r.slideLayoutTables,["idxTable",p,"p:spPr","a:xfrm"]))}var k=0,M=L(m,["attrs","rot"]);M!==void 0&&(k=Oo(M));var v=L(e,["p:nvPicPr","p:nvPr","a:videoFile"]),_=L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||"0",y="pptx-media-"+(r&&r.slideNumber||"0")+"-"+_,I,C,R,B,Z,T,O=!1,P=!1,J=Bc.mediaProcess;if(v!==void 0&J){I=v.attrs["r:link"],C=f[I].target;var re=Dk(C);re?(C=Ii(C),P=!0,O=!0,i=!0):(R=zp(C).toLowerCase(),(R=="mp4"||R=="webm"||R=="ogg")&&(Z=await c.file(C).async("arraybuffer"),B=Rc(R),T=y+"-video",j0.MsgQueue.push({id:T,kind:"video",mimeType:B,buffer:Z}),O=!0,i=!0))}var Q=L(e,["p:nvPicPr","p:nvPr","a:audioFile"]),ae,A,V,H,X,ge,me=!1,u;if(Q!==void 0&J&&(ae=Q.attrs["r:link"],A=f[ae].target,V=zp(A).toLowerCase(),V=="mp3"||V=="wav"||V=="ogg")){X=await c.file(A).async("arraybuffer"),H=V=="ogg"?"audio/ogg":Rc(V),ge=y+"-audio",j0.MsgQueue.push({id:ge,kind:"audio",mimeType:H,buffer:X});var h=parseInt(m["a:ext"].attrs.cx)*20,De=m["a:ext"].attrs.cy,Ue=parseInt(m["a:off"].attrs.x)/2.5,ee=m["a:off"].attrs.y;u={"a:ext":{attrs:{cx:h,cy:De}},"a:off":{attrs:{x:Ue,y:ee}}},me=!0,O=!0,i=!0}if(!l&&(v===void 0&&Q===void 0||!J||!O))return"";var fe=P5(e["p:blipFill"]),oe=Lm(d,y+"-"+t+"-alpha"),kt=oe.style,dt=(If(L(m,["attrs","flipH"]))?" scaleX(-1)":"")+(If(L(m,["attrs","flipV"]))?" scaleY(-1)":""),S=[],Ee={width:100,height:100},pe=L(e,["p:spPr","a:custGeom"]);if(pe!==void 0&&m!==void 0){var Y=L(m,["a:ext","attrs"])||{},N=Ma(Y.cx,"x",s),j=Ma(Y.cy,"y",s);Number.isFinite(N)&&Number.isFinite(j)&&N>0&&j>0&&(Ee={width:N,height:j},S=Ug(pe,N,j))}if(n="<div class='block content' style='"+Xi(J&&me?u:m,e,void 0,void 0,a,s)+Ai(J&&me?u:m,void 0,void 0,s)+" z-index: "+o+";transform: rotate("+k+"deg)"+dt+";"+(v===void 0&&Q===void 0||!J||!O?fe.container+Og(e):"")+"'>",v===void 0&&Q===void 0||!J||!O)if(n+=oe.definitions,S.length>0){var be="pptx_pic_clip_"+t+"_"+(r&&r.slideNumber||"0")+"_"+(L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||S.length),Le=Ee.width*fe.svg.x/100,E=Ee.height*fe.svg.y/100,Be=Ee.width*fe.svg.width/100,We=Ee.height*fe.svg.height/100;n+="<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 "+Za(Ee.width)+" "+Za(Ee.height)+"' preserveAspectRatio='none' style='display:block;width:100%;height:100%;overflow:hidden;'>",n+="<defs><clipPath id='"+be+"' clipPathUnits='userSpaceOnUse'>",S.forEach(function(Ce){n+="<path d='"+Ce+"' clip-rule='evenodd' fill-rule='evenodd'/>"}),n+="</clipPath></defs>",n+="<image href='"+l+"' x='"+Za(Le)+"' y='"+Za(E)+"' width='"+Za(Be)+"' height='"+Za(We)+"' preserveAspectRatio='none' clip-path='url(#"+be+")' style='"+kt+"'/>",n+="</svg>"}else n+="<img src='"+l+"' style='"+fe.image+kt+"'/>";else(v!==void 0||Q!==void 0)&&J&&O&&(v!==void 0&&!P?n+="<video data-pptx-media-id='"+T+"' controls preload='metadata'"+(l?" poster='"+l+"'":"")+" style='width: 100%; height: 100%'>Your browser does not support the video tag.</video>":v!==void 0&&P&&(n+="<iframe src='"+C+"' controls style='width: 100%; height: 100%'></iframe >"),Q!==void 0&&(n+='<audio data-pptx-media-id="'+ge+'" controls preload="metadata"></audio>'));return!O&&i&&(n+="<span style='color:red;font-size:40px;position: absolute;'>This media file Not supported by HTML5</span>"),(v!==void 0||Q!==void 0)&&!J&&O&&console.log("Founded supported media file but media process disabled (mediaProcess=false)"),n+="</div>",n}async function Wg(e,r,t,a,s){var n="",i=L(e,["a:graphic","a:graphicData","attrs","uri"]);switch(i){case"http://schemas.openxmlformats.org/drawingml/2006/table":n=await Kg(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":n=await Jg(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":n=await Qg(e,r,t,a,s);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":var o=L(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);o===void 0&&(o=L(e,["a:graphic","a:graphicData","p:oleObj"])),o!==void 0&&(n=await Hp(o,r,t,s));break;default:}return n}async function Tc(e,r,t,a,s,n,i,o,d){var fe,oe,kt,dt;var f="";let c=X1(e,t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),l=o===void 0?Ma(c.left+c.right,"x",d):0;var g=i.slideMasterTextStyles;if(e===void 0)return f;var m=L(r,["p:style","a:fontRef"]),p=e["a:p"];p.constructor!==Array&&(p=[p]);for(var b=0;b<p.length;b++){var k=p[b],M=_m(k);M.length===0&&(M=void 0);var v="",_=Fg(k,e,s,n,i);_!=""&&(v=_),v.indexOf("line-height:")===-1&&(v+="line-height: "+1.2+";"),(o!==void 0||s=="body"||s=="obj"||s=="shape")&&(v+="font-size: 0px;",v+="font-weight: 100;",v+="font-style: normal;");var y="";Object.prototype.hasOwnProperty.call(Ea,v)?y=Ea[v].name:(y="_css_"+(Object.keys(Ea).length+1),Ea[v]={name:y,text:v});var I=(dt=(kt=(oe=yh(r["p:txXfrm"],(fe=r["p:spPr"])==null?void 0:fe["a:xfrm"]))==null?void 0:oe["a:ext"])==null?void 0:kt.attrs)==null?void 0:dt.cx;I===void 0&&(I=L(t,["p:spPr","a:xfrm","a:ext","attrs","cx"])),I===void 0&&(I=L(a,["p:spPr","a:xfrm","a:ext","attrs","cx"]));var C=L(r,["p:spPr","a:xfrm","a:ext","attrs","cy"]);C===void 0&&(C=L(t,["p:spPr","a:xfrm","a:ext","attrs","cy"])),C===void 0&&(C=L(a,["p:spPr","a:xfrm","a:ext","attrs","cy"]));var R=I!==void 0?Math.max(0,Ma(I,"x",d)-l):NaN,B=Number.isFinite(R)?"width:"+R+"px;":"width:inherit;",Z="",T=Vg(k,e,n,s,i);f+="<div style='display: flex;flex-shrink:0;"+B+Z+"' class='slide-prgrph "+qg(k,e,n,s,T,i)+" "+T+" "+y+"' >";var O=await $g(k,b,r,e,m,n,s,i),P=O[0]!==void 0&&O[0]!==null&&O[0]!="",J=O[1]!==void 0&&O[1]!==null&&P?O[1]+O[2]:0;f+=O[0]!==void 0?O[0]:"";var re=Ag(k,n,s,P,i),Q=re[0],ae=re[1];I===void 0&&o!==void 0&&o!=0&&(I=o);var A="",V=0,H=!1;if(M===void 0&&k!==void 0){var X=await u5(k,void 0,r,e,m,t,n,s,1,i,P);if(P&&typeof $!="undefined"){var ge=$(X).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}A+=X}else if(M!==void 0)for(var me=0;me<M.length;me++){var X=await u5(M[me],me,k,e,m,t,n,s,M.length,i,P);if(P&&typeof $!="undefined"){var ge=$(X).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}A+=X}var u=void 0;I!==void 0&&(u=Math.max(0,Ma(I,"x",d)-l-J-ae)),P&&H&&u!==void 0&&V<u&&(u=V+J);var h=u!==void 0&&!isNaN(u)?"width:"+u+"px;":"width:inherit;",De=o!==void 0?"height:auto;min-height:0;max-height:100%;":"height:auto;min-height:0;",Ue=/(?:^|;)line-height:\s*([^;]+)/.exec(v),ee=Ue!==null?Ue[1]:1.2;f+="<div data-office-paragraph='"+b+"' style='"+De+(c.wrap==="none"?"white-space:nowrap;":"white-space:normal;")+"line-height:"+ee+";direction: initial;overflow-wrap:normal;word-wrap:normal;word-break:normal;"+h+Q+"' >",f+=A,f+="</div>",f+="</div>"}return f}async function $g(e,r,t,a,s,n,i,o){var d=o.slideMasterTextStyles,f=a["a:lstStyle"];let c="";var l=L(e,["a:r"]);l!==void 0&&l.constructor===Array&&(l=l[0]);var g=parseInt(L(e["a:pPr"],["attrs","lvl"]))+1;isNaN(g)&&(g=1);var m="a:lvl"+g+"pPr",p,b,k,M,v;if(l!==void 0)p=await w5(l,t,f,s,g,n,i,o),v=p[2],b=Yp(l,a,s,g,i,o);else return"";var _="",y="",I="",C=0,R=0,B=e["a:pPr"],Z=L(B,["a:buNone"]);if(Z!==void 0)return"";var T="TYPE_NONE",O=qu(e,n,i,o),P=O.nodeLaout,J=O.nodeMaster,re=L(B,["a:buChar","attrs","char"]),Q=L(B,["a:buAutoNum","attrs","type"]),ae=L(B,["a:buAutoNum","attrs","startAt"]),A=L(B,["a:buBlip"]);re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC");var V=L(B,["a:buSzPts","attrs","val"]);if(V===void 0){if(V=L(B,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";var ge=L(B,["a:buClr"]);if(re===void 0&&Q===void 0&&A===void 0&&f!==void 0){if(Z=L(f,[m,"a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(f,[m,"a:buChar","attrs","char"]),Q=L(f,[m,"a:buAutoNum","attrs","type"]),ae=L(f,[m,"a:buAutoNum","attrs","startAt"]),A=L(f,[m,"a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC"),(re!==void 0||Q!==void 0||A!==void 0)&&(B=f[m])}if(re===void 0&&Q===void 0&&A===void 0){if(P!==void 0){if(Z=L(P,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(P,["a:buChar","attrs","char"]),Q=L(P,["a:buAutoNum","attrs","type"]),ae=L(P,["a:buAutoNum","attrs","startAt"]),A=L(P,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC")}if(re===void 0&&Q===void 0&&A===void 0&&J!==void 0){if(Z=L(J,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(J,["a:buChar","attrs","char"]),Q=L(J,["a:buAutoNum","attrs","type"]),ae=L(J,["a:buAutoNum","attrs","startAt"]),A=L(J,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),A!==void 0&&(T="TYPE_BULPIC")}}var me=L(B,["attrs","rtl"]);me===void 0&&(me=L(P,["attrs","rtl"]),me===void 0&&i!="shape"&&(me=L(J,["attrs","rtl"])));var u=!1;me!==void 0&&me=="1"&&(u=!0);var h=L(B,["attrs","algn"]);h===void 0&&(h=L(P,["attrs","algn"]),h===void 0&&(h=L(J,["attrs","algn"])));var De=L(B,["attrs","indent"]);De===void 0&&(De=L(P,["attrs","indent"]),De===void 0&&(De=L(J,["attrs","indent"])));var Ue=0;De!==void 0&&(Ue=parseInt(De)*w);var ee=L(B,["attrs","marL"]);if(ee===void 0&&(ee=L(P,["attrs","marL"]),ee===void 0&&(ee=L(J,["attrs","marL"]))),ee!==void 0){var fe=parseInt(ee)*w;u?I="padding-right:":I="padding-left:",C=fe+Ue<0?0:fe+Ue,I+=C+"px;"}var oe=L(B,["attrs","marR"]);if(oe===void 0&&ee===void 0&&(oe=L(P,["attrs","marR"]),oe===void 0&&(oe=L(J,["attrs","marR"]))),oe!==void 0){var kt=parseInt(oe)*w;u?I="padding-right:":I="padding-left:",y+=(kt+Ue<0?0:kt+Ue)+"px;"}T!="TYPE_NONE",ge===void 0&&(ge=L(f,[m,"a:buClr"])),ge===void 0&&(ge=L(P,["a:buClr"]),ge===void 0&&(ge=L(J,["a:buClr"])));var dt;if(ge!==void 0?dt=gt(ge,void 0,void 0,o):s!==void 0&&(dt=gt(s,void 0,void 0,o)),dt===void 0||dt=="NONE"?k=p:(k=[dt,"","solid"],v="solid"),V===void 0)if(V=L(P,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(P,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0)if(V=L(J,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(J,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,X=parseInt(b,"px");M=H*parseInt(X)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0&&(M=b),R=parseInt(M,"px"),T=="TYPE_BULLET"){var S=L(B,["a:buFont","attrs","typeface"]),Ee="";if(S!==void 0){var pe=Zp(S);pe!==void 0&&(Ee="font-family: "+pe)}if(_="<div style='height: 100%;"+Ee+";"+I+y+"font-size:"+M+";",v=="solid")k[0]!==void 0&&k[0]!=""&&(_+="color:#"+k[0]+"; "),k[1]!==void 0&&k[1]!=""&&k[1]!=";"&&(_+="text-shadow:"+k[1]+";");else if(v=="pattern"||v=="pic"||v=="gradient"){if(v=="pattern")_+="background:"+k[0][0]+";",k[0][1]!==null&&k[0][1]!==void 0&&k[0][1]!=""&&(_+="background-size:"+k[0][1]+";"),k[0][2]!==null&&k[0][2]!==void 0&&k[0][2]!=""&&(_+="background-position:"+k[0][2]+";");else if(v=="pic")_+=k[0]+";";else if(v=="gradient"){var Y=k[0].color,N=k[0].rot;_+="background: linear-gradient("+N+"deg,";for(var r=0;r<Y.length;r++)r==Y.length-1?_+="#"+Y[r]+");":_+="#"+Y[r]+", "}_+="-webkit-background-clip: text;background-clip: text;color: transparent;",k[1].border!==void 0&&k[1].border!==""&&(_+="-webkit-text-stroke: "+k[1].border+";"),k[1].effcts!==void 0&&k[1].effcts!==""&&(_+="filter: "+k[1].effcts+";")}u&&(_+="white-space: nowrap ;direction:rtl");var j=re;p5||(j=Yg(S,re)),_+="'><div style='line-height: "+R/2+"px;'>"+j+"</div></div>"}else if(T=="TYPE_NUMERIC"){_="<div style='height: 100%;"+I+y+"color:#"+k[0]+";font-size:"+M+";",u?_+="display: inline-block;white-space: nowrap ;direction:rtl;":_+="display: inline-block;white-space: nowrap ;direction:ltr;";var be=Number(ae),Le=Number.isInteger(be)&&be>=1&&be<=32767?" data-bulltstartat='"+be+"'":"";_+="' data-bulltname='"+Ii(Q)+"' data-bulltlvl='"+g+"'"+Le+" class='numeric-bullet-style'></div>"}else if(T=="TYPE_BULPIC"){var E=L(A,["a:blip","attrs","r:embed"]),Be="",We;if(E!==void 0){var Ce=o.slideResObj[E].target,ht=await o.zip.file(Ce).async("arraybuffer"),Yt=Ce.split(".").pop(),wt=Rc(Yt);We="<img src='data:"+wt+";base64,"+Xp(ht)+"' style='width: 100%;'/>"}E===void 0&&(We="‣"),_="<div style='height: 100%;"+I+y+"width:"+M+";display: inline-block; ",u&&(_+="display: inline-block;white-space: nowrap ;direction:rtl;"),_+="'>"+We+" </div>"}return[_,C,R]}function Yg(e,r){switch(r){case"\xA7":return"■";case"q":return"❑";case"v":return"❖";case"\xD8":return"⮚";case"\xFC":return"✔";default:if(e=="Wingdings 2"||e=="Wingdings 3"){var t=Xg(e,r);if(t!==null)return"&#"+t+";"}return"&#"+r.charCodeAt(0)+";"}}function Xg(e,r){let t=r.codePointAt(0)&4095;return h5.codePoint(e,t).codePoint}function qu(e,r,t,a){var s,n,i=e["a:pPr"],o=1,d=L(i,["attrs","lvl"]);if(d!==void 0&&(o=parseInt(d)+1),r!==void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:lstStyle","a:lvl"+o+"pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p","a:pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p",o-1,"a:pPr"])))),t!==void 0){var f="a:lvl"+o+"pPr";s===void 0&&(s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",f])),t=="title"||t=="ctrTitle"?n=L(a,["slideMasterTextStyles","p:titleStyle",f]):t=="body"||t=="obj"||t=="subTitle"?n=L(a,["slideMasterTextStyles","p:bodyStyle",f]):t=="shape"||t=="diagram"?n=L(a,["slideMasterTextStyles","p:otherStyle",f]):t=="textBox"?n=L(a,["defaultTextStyle",f]):n=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",f])}return{nodeLaout:s,nodeMaster:n}}async function u5(e,r,t,a,s,n,i,o,d,f,c){var S,Ee;if(e.type==="br")return"<span class='line-break-br'></span>";var l="",g=a["a:lstStyle"],m=f.slideMasterTextStyles,p=e["a:t"],b=L(e,["a:fld","attrs","type"]);typeof b=="string"&&b.toLowerCase()==="slidenum"&&(p=String((Ee=(S=f==null?void 0:f.displaySlideNumber)!=null?S:f==null?void 0:f.slideNumber)!=null?Ee:""));var k="<span"+(typeof b=="string"&&b.toLowerCase()==="slidenum"?" data-pptx-field='slidenum'":""),M="</span>",v="";typeof p!="string"&&(p=L(e,["a:fld","a:t"]),typeof p!="string"&&(p="\xA0"));var _=t["a:pPr"],y=1,I=L(_,["attrs","lvl"]);I!==void 0&&(y=parseInt(I)+1);var C=qu(t,i,o,f),R=C.nodeLaout,B=C.nodeMaster,Z=L(e,["a:rPr","attrs","lang"]),T=Z!==void 0&&_5.indexOf(Z)!==-1,O=L(_,["attrs","rtl"]);O===void 0&&(O=L(R,["attrs","rtl"]),O===void 0&&o!="shape"&&(O=L(B,["attrs","rtl"])));var P=!1,J="ltr";O!==void 0&&O=="1"&&(P=!0,J="rtl");var re=L(e,["a:rPr","a:hlinkClick","attrs","r:id"]),Q="",ae;if(re!==void 0){Q=L(e,["a:rPr","a:hlinkClick","attrs","tooltip"]),Q!==void 0&&(Q="title='"+Ii(Q)+"'"),ae=D5("a:hlink",void 0,void 0,f);var A=L(e,["a:rPr","a:solidFill"]),V=gt(A,void 0,void 0,f);V!==void 0&&V!=""&&(ae=V)}var H=await w5(e,t,g,s,y,i,o,f),X=H[2];if(X=="solid")re===void 0&&H[0]!==void 0&&H[0]!=""?v+="color: #"+H[0]+";":re!==void 0&&ae!==void 0&&(v+="color: #"+ae+";"),H[1]!==void 0&&H[1]!=""&&H[1]!=";"&&(v+="text-shadow:"+H[1]+";"),H[3]!==void 0&&H[3]!=""&&(v+="background-color: #"+H[3]+";");else if(X=="pattern"||X=="pic"||X=="gradient"){if(X=="pattern")v+="background:"+H[0][0]+";",H[0][1]!==null&&H[0][1]!==void 0&&H[0][1]!=""&&(v+="background-size:"+H[0][1]+";"),H[0][2]!==null&&H[0][2]!==void 0&&H[0][2]!=""&&(v+="background-position:"+H[0][2]+";");else if(X=="pic")v+=H[0]+";";else if(X=="gradient"){var ge=H[0].color,me=H[0].rot;v+="background: linear-gradient("+me+"deg,";for(var u=0;u<ge.length;u++)u==ge.length-1?v+="#"+ge[u]+");":v+="#"+ge[u]+", "}v+="-webkit-background-clip: text;background-clip: text;color: transparent;",H[1].border!==void 0&&H[1].border!==""&&(v+="-webkit-text-stroke: "+H[1].border+";"),H[1].effcts!==void 0&&H[1].effcts!==""&&(v+="filter: "+H[1].effcts+";")}var h=Yp(e,a,s,y,o,f);l+="font-size:"+h+";font-family:"+nk(e,o,f,s,p,Z,R,B,y)+";font-weight:"+ik(e,o,m,R,B,t)+";font-style:"+sk(e,o,m,R,B,t)+";text-decoration:"+ok(e,o,m)+";text-align:"+fk(e,t,o,f)+";vertical-align:"+lk(e,o,m)+";",T?v+="direction:rtl;":v+="direction:ltr;";var De=L(e,["a:rPr","a:highlight"]);De!==void 0&&(v+="background-color:#"+gt(De,void 0,void 0,f)+";");var Ue=L(e,["a:rPr","attrs","spc"]);if(Ue===void 0&&(Ue=L(R,["a:defRPr","attrs","spc"]),Ue===void 0&&(Ue=L(B,["a:defRPr","attrs","spc"]))),Ue!==void 0){var ee=parseInt(Ue)/100;v+="letter-spacing: "+ee+"px;"}var fe=L(e,["a:rPr","attrs","cap"]);fe===void 0&&(fe=L(R,["a:defRPr","attrs","cap"]),fe===void 0&&(fe=L(B,["a:defRPr","attrs","cap"]))),(fe=="small"||fe=="all")&&(v+="text-transform: uppercase");var oe="";Object.prototype.hasOwnProperty.call(Ea,v)?oe=Ea[v].name:(oe="_css_"+(Object.keys(Ea).length+1),Ea[v]={name:oe,text:v});var kt="";if(X=="solid"&&re!==void 0&&(kt="style='color: inherit;'"),re!==void 0&&re!=""){var dt=Nk(f.slideResObj[re].target);if(dt!=="")return dt=Ii(dt),k+" class='text-block "+oe+"' style='"+l+"'><a href='"+dt+"' "+kt+" "+Q+" target='_blank' rel='noopener noreferrer'>"+d5(p)+"</a>"+M}return k+" class='text-block "+oe+"' style='"+l+"'>"+d5(p)+M}function Ag(e,r,t,a,s){if(!a)return["",0];var n="",i="",o=0,d=e["a:pPr"],f=qu(e,r,t,s),c=f.nodeLaout,l=f.nodeMaster,g=L(d,["attrs","rtl"]);g===void 0&&(g=L(c,["attrs","rtl"]),g===void 0&&t!="shape"&&(g=L(l,["attrs","rtl"])));var m=!1,p="ltr";g!==void 0&&g=="1"&&(m=!0,p="rtl");var b=L(d,["attrs","algn"]);b===void 0&&(b=L(c,["attrs","algn"]),b===void 0&&(b=L(l,["attrs","algn"])));var k=L(d,["attrs","indent"]);k===void 0&&(k=L(c,["attrs","indent"]),k===void 0&&(k=L(l,["attrs","indent"])));var M=0;k!==void 0&&(M=parseInt(k)*w);var v=L(d,["attrs","marL"]);v===void 0&&(v=L(c,["attrs","marL"]),v===void 0&&(v=L(l,["attrs","marL"])));var _=0;v!==void 0&&(_=parseInt(v)*w),(k!==void 0||v!==void 0)&&(m?n="padding-right: ":n="padding-left: ",a?(o=Math.abs(0-M),n+=o+"px;"):(o=Math.abs(_+M),n+=o+"px;"));var y=L(d,["attrs","marR"]);if(y===void 0&&v===void 0&&(y=L(c,["attrs","marR"]),y===void 0&&(y=L(l,["attrs","marR"]))),y!==void 0&&a){var I=parseInt(y)*w;m?i="padding-right: ":i="padding-left: ",i+=Math.abs(0-M)+"px;"}return[n,o]}function T5(){var e="";for(var r of Object.keys(Ea)){var t=Ea[r];if(!(!t||typeof t.name!="string"||typeof t.text!="string")){var a="";e+=a+" ."+t.name+(t.suffix?t.suffix:"")+"{"+t.text+`}
|
|
13
|
+
`}}return e}async function Kg(e,r,t){var a=e.attrs.order,s=L(e,["a:graphic","a:graphicData","a:tbl"]),n=L(e,["p:xfrm"]),i=L(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"])||{};i.attrs=i.attrs||{};var o=L(e,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]),d="";if(i!==void 0){var f=i.attrs.rtl;d=f==1?"dir=rtl":"dir=ltr"}var c=i.attrs.firstRow,l=i.attrs.firstCol,g=i.attrs.lastRow,m=i.attrs.lastCol,p=i.attrs.bandRow,b=i.attrs.bandCol,k={isFrstRowAttr:c!==void 0&&c=="1"?1:0,isFrstColAttr:l!==void 0&&l=="1"?1:0,isLstRowAttr:g!==void 0&&g=="1"?1:0,isLstColAttr:m!==void 0&&m=="1"?1:0,isBandRowAttr:p!==void 0&&p=="1"?1:0,isBandColAttr:b!==void 0&&b=="1"?1:0},M,v=i["a:tableStyleId"]||L(Up,["a:tblStyleLst","attrs","def"]);if(v!==void 0){var _=L(Up,["a:tblStyleLst","a:tblStyle"]);if(_!==void 0)if(_.constructor===Array)for(var y=0;y<_.length;y++)_[y].attrs.styleId==v&&(M=_[y]);else _.attrs.styleId==v&&(M=_)}M=M||Mm(v),r.thisTbiStyle=void 0,M!==void 0&&(M.tblStylAttrObj=k,r.thisTbiStyle=M);var I=L(M,["a:wholeTbl","a:tcStyle"]),C=L(I,["a:tcBdr"]),R="";C!==void 0&&(R=Xu(C,r));var B="",Z=1,T=L(M,["a:tblBg","a:fillRef"]);T!==void 0&&(B=gt(T,void 0,void 0,r)),T===void 0&&(T=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),B=gt(T,void 0,void 0,r)),B=typeof B=="string"&&B?"background-color: #"+B+";":"";var O=Mr(o),P=r5(O.map(function(Ua){return L(Ua,["attrs","w"])})),J="";P!==void 0?J="width:"+Ma(P,"x",t)+"px;":J=Ai(n,void 0,void 0,t);var re=L(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"]),Q="<table data-office-shape='"+Ii(String(re||""))+"' "+d+" style='border-collapse:collapse;table-layout:fixed;box-sizing:border-box;overflow:hidden;"+Xi(n,e,void 0,void 0,"group",t)+J+" z-index: "+a+";"+R+";"+B+"'>",ae=s["a:tr"];ae.constructor!==Array&&(ae=[ae]);for(var A=ae.map(function(Ua){var xn=parseInt(L(Ua,["attrs","h"]));return Number.isFinite(xn)&&xn>0?Ma(xn,"y",t):0}),V=0,H=[],X=0;X<ae.length;X++){var ge=ae[X].attrs.h,me=0,u="box-sizing:border-box;overflow:hidden;";ge!==void 0&&(me=Ma(ge,"y",t),u+="height:"+me+"px;");var h="",De="",Ue="",ee="",fe,oe;if(M!==void 0&&M["a:wholeTbl"]!==void 0){var kt=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var S=L(M,["a:wholeTbl","a:tcTxStyle"]);if(S!==void 0){var Ee=gt(S,void 0,void 0,r);Ee!==void 0&&(Ue=Ee);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}if(X==0&&k.isFrstRowAttr==1&&M!==void 0){var kt=L(M,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:firstRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Xu(Y,r);N!=""&&(De=N)}var S=L(M,["a:firstRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}else if(X>0&&k.isBandRowAttr==1&&M!==void 0){if(h="",De=void 0,X%2==0&&M["a:band2H"]!==void 0){var kt=L(M,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==""&&(h=dt,oe=dt)}var Y=L(M,["a:band2H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Xu(Y,r);N!=""&&(De=N)}var S=L(M,["a:band2H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j)}var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}if(X%2!=0&&M["a:band1H"]!==void 0){var kt=L(M,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt,fe=dt)}var Y=L(M,["a:band1H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Xu(Y,r);N!=""&&(De=N)}var S=L(M,["a:band1H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}}if(X==ae.length-1&&k.isLstRowAttr==1&&M!==void 0){var kt=L(M,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:lastRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Xu(Y,r);N!=""&&(De=N)}var S=L(M,["a:lastRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}u+=De!==void 0?De:"",u+=Ue!==void 0?" color: #"+Ue+";":"",u+=ee!=""?" font-weight:"+ee+";":"",h!==void 0&&h!=""&&(u+="background-color: #"+h+";"),Q+="<tr style='"+u+"'>";var be=ae[X]["a:tc"];if(be!==void 0)if(be.constructor===Array){var Le=0;H.length==0&&(H=Array.apply(null,Array(be.length)).map(function(){return 0}));for(var E=0;Le<be.length;){if(H[Le]==0&&E==0){var Be=void 0;if(Le==0&&k.isFrstColAttr==1)Be="a:firstCol",k.isLstRowAttr==1&&X==ae.length-1&&L(M,["a:seCell"])!==void 0?Be="a:seCell":k.isFrstRowAttr==1&&X==0&&L(M,["a:neCell"])!==void 0&&(Be="a:neCell");else if(Le>0&&k.isBandColAttr==1&&!(k.isFrstColAttr==1&&X==0)&&!(k.isLstRowAttr==1&&X==ae.length-1)&&Le!=be.length-1&&Le%2!=0){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}Le==be.length-1&&k.isLstColAttr==1&&(Be="a:lastCol",k.isLstRowAttr==1&&X==ae.length-1&&L(M,["a:swCell"])!==void 0?Be="a:swCell":k.isFrstRowAttr==1&&X==0&&L(M,["a:nwCell"])!==void 0&&(Be="a:nwCell"));var Ce=await c5(be[Le],o,X,Le,M,Be,r,A,t),ht=Ce[0],Yt=Ce[1],wt=Ce[2],Wr=Ce[3],En=Ce[4];Wr!==void 0?(V++,H[Le]=parseInt(Wr)-1,Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' rowspan ='"+parseInt(Wr)+"' style='"+Yt+"'>"+ht+"</td>"):En!==void 0?(Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' colspan = '"+parseInt(En)+"' style='"+Yt+"'>"+ht+"</td>",E=parseInt(En)-1):Q+="<td class='"+wt+"' data-row='"+X+","+Le+"' style = '"+Yt+"'>"+ht+"</td>"}else H[Le]!=0&&(H[Le]-=1),E!=0&&E--;Le++}}else{var Be=void 0;if(k.isFrstColAttr==1&&k.isLstRowAttr!=1)Be="a:firstCol";else if(k.isBandColAttr==1&&k.isLstRowAttr!=1){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}k.isLstColAttr==1&&k.isLstRowAttr!=1&&(Be="a:lastCol");var Ce=await c5(be,o,X,void 0,M,Be,r,A,t),ht=Ce[0],Yt=Ce[1],wt=Ce[2],Wr=Ce[3];Wr!==void 0?Q+="<td class='"+wt+"' rowspan='"+parseInt(Wr)+"' style = '"+Yt+"'>"+ht+"</td>":Q+="<td class='"+wt+"' style='"+Yt+"'>"+ht+"</td>"}Q+="</tr>"}return Q+"</table>"}async function c5(e,r,t,a,s,n,i,o,d){var f=L(e,["attrs","rowSpan"]),c=L(e,["attrs","gridSpan"]),l=L(e,["attrs","vMerge"]),g=L(e,["attrs","hMerge"]),m=t5(L(e,["a:tcPr","attrs"])||{}),p="box-sizing:border-box;min-width:0;overflow:hidden;word-wrap:break-word;padding:0;",b,k="",M="",v="",_="",y="",I="",C="",R="",B="",Z="",T=parseInt(c),O=0;if(!isNaN(T)&&T>1)for(var P=0;P<T;P++)O+=parseInt(L(r[a+P],["attrs","w"]));else O=L(a===void 0?r:r[a],["attrs","w"]);var J=await Tc(e["a:txBody"],e,void 0,void 0,void 0,void 0,i,O),re=Number.isFinite(parseInt(f))&&parseInt(f)>1?parseInt(f):1,Q=Array.isArray(o)?o.slice(t,t+re).reduce(function(oe,kt){return oe+kt},0):0,ae=Q>0?"height:"+Q+"px;min-height:0;max-height:"+Q+"px;":"";if(J="<div class='pptx-table-cell-content' style='box-sizing:border-box;overflow:hidden;line-height:"+1.2+";"+ae+"padding:"+m.top+"px "+m.right+"px "+m.bottom+"px "+m.left+"px;'>"+J+"</div>",Q>0&&(p+="height:"+Q+"px;"),O!=0&&(b=Ma(O,"x",d),p+="width:"+b+"px;"),y=L(e,["a:tcPr","a:lnB"]),y===void 0&&(n!==void 0&&(y=L(s,[n,"a:tcStyle","a:tcBdr","a:bottom","a:ln"])),y===void 0&&(y=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"]))),I=L(e,["a:tcPr","a:lnT"]),I===void 0&&(n!==void 0&&(I=L(s,[n,"a:tcStyle","a:tcBdr","a:top","a:ln"])),I===void 0&&(I=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"]))),C=L(e,["a:tcPr","a:lnL"]),C===void 0&&(n!==void 0&&(C=L(s,[n,"a:tcStyle","a:tcBdr","a:left","a:ln"])),C===void 0&&(C=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"]))),R=L(e,["a:tcPr","a:lnR"]),R===void 0&&(n!==void 0&&(R=L(s,[n,"a:tcStyle","a:tcBdr","a:right","a:ln"])),R===void 0&&(R=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"]))),B=L(e,["a:tcPr","a:lnBlToTr"]),Z=L(e,["a:tcPr","a:InTlToBr"]),y!==void 0&&y!=""){var A=Si(y,void 0,!1,"",i);A!=""&&(p+="border-bottom:"+A+";")}if(I!==void 0&&I!=""){var V=Si(I,void 0,!1,"",i);V!=""&&(p+="border-top: "+V+";")}if(C!==void 0&&C!=""){var H=Si(C,void 0,!1,"",i);H!=""&&(p+="border-left: "+H+";")}if(R!==void 0&&R!=""){var X=Si(R,void 0,!1,"",i);X!=""&&(p+="border-right:"+X+";")}var ge=L(e,["a:tcPr"]);if(ge!==void 0&&ge!=""){var me={"p:spPr":ge};k=await Qu(me,void 0,!1,i,"slide")}if(k==""||k=="background-color: inherit;"){var u;if(n!==void 0&&(u=L(s,[n,"a:tcStyle","a:fill","a:solidFill"])),u!==void 0){var h=gt(u,void 0,void 0,i);h!==void 0&&(k=" background-color: #"+h+";")}}var De="";k!==void 0&&k!=""&&(Object.prototype.hasOwnProperty.call(Ea,k)?De=Ea[k].name:(De="_tbl_cell_css_"+(Object.keys(Ea).length+1),Ea[k]={name:De,text:k}));var Ue;if(n!==void 0&&(Ue=L(s,[n,"a:tcTxStyle"])),Ue!==void 0){var ee=gt(Ue,void 0,void 0,i);ee!==void 0&&(v=ee);var fe=L(Ue,["attrs","b"])=="on"?"bold":"";fe!==""&&(_=fe)}return p+=v!==""?"color: #"+v+";":"",p+=_!=""?" font-weight:"+_+";":"",[J,p,De,f,c]}async function Jg(e,r,t){var m,p;var a=e.attrs.order,s=L(e,["p:xfrm"]),n="<div id='chart"+Ip+"' class='block content' style='"+Xi(s,e,void 0,void 0,"group",t)+Ai(s,void 0,void 0,t)+" z-index: "+a+";'></div>",i=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],o=r.slideResObj[i].target,d=await Kr(r.zip,o),f=L(d,["c:chartSpace","c:chart","c:plotArea"]),c=Nm(d,b=>gt(b,void 0,void 0,r));if(c.groups.length){var l=c.groups[0],g=l.chartType==="scatterChart"?[((m=l.series[0])==null?void 0:m.values.map(b=>b.x))||[],((p=l.series[0])==null?void 0:p.values.map(b=>b.y))||[]]:l.series;Wp.MsgQueue.push({type:"createChart",data:{chartID:"chart"+Ip,chartType:c.groups.length>1?"comboChart":l.chartType,barDirection:l.barDirection,chartData:c.groups.length>1?c.groups.flatMap(b=>b.series):g,chartOptions:l.options,chartModel:c}})}return Ip++,n}async function Qg(e,r,t,a,s){var B;var n=e.attrs.order,i=r.zip,o=L(e,["p:xfrm"]),d=L(e,["a:graphic","a:graphicData","dgm:relIds","attrs"]),f=d["r:cs"],c=d["r:dm"],l=d["r:lo"],g=d["r:qs"],m=r.slideResObj[f].target,p=r.slideResObj[c].target,b=r.slideResObj[l].target,k=r.slideResObj[g].target,M=await Kr(i,m),v=await Kr(i,p),_=await Kr(i,b),y=await Kr(i,k),I=Mr(L(r.digramFileContent,["p:drawing","p:spTree","p:sp"]));let C=dm(I,v,_);var R="";for(let Z of I){let T=C.get((B=Z.attrs)==null?void 0:B.modelId),O=T?{...Z,"p:txXfrm":T}:Z;R+=await S5(O,e,r,"diagramBg",a,s)}return"<div class='block diagram-content' style='"+Xi(o,e,void 0,void 0,a,s)+Ai(o,void 0,void 0,s)+"'>"+R+"</div>"}function Xi(e,r,t,a,s,n){var i,o=-1,d=-1;return e!==void 0&&(i=L(e,["a:off","attrs"])),i===void 0&&t!==void 0?i=L(t,["a:off","attrs"]):i===void 0&&a!==void 0&&(i=L(a,["a:off","attrs"])),i===void 0?"":(o=Sf(i.x,"x",n),d=Sf(i.y,"y",n),isNaN(o)||isNaN(d)?"":"top:"+d+"px; left:"+o+"px;")}function Ai(e,r,t,a){var s=void 0,n=-1,i=-1;return e!==void 0?s=L(e,["a:ext","attrs"]):r!==void 0?s=L(r,["a:ext","attrs"]):t!==void 0&&(s=L(t,["a:ext","attrs"])),s===void 0?"":(n=Ma(s.cx,"x",a),i=Ma(s.cy,"y",a),isNaN(n)||isNaN(i)?"":"width:"+n+"px; height:"+i+"px;")}function Fg(e,r,t,a,s){var n=1,i=L(e,["a:pPr","a:spcBef","a:spcPts","attrs","val"]),o=L(e,["a:pPr","a:spcAft","a:spcPts","attrs","val"]),d=L(e,["a:pPr","a:spcBef","a:spcPct","attrs","val"]),f=L(e,["a:pPr","a:spcAft","a:spcPct","attrs","val"]),c=L(e,["a:pPr","a:lnSpc","a:spcPct","attrs","val"]),l="Pct";c===void 0&&(c=L(e,["a:pPr","a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"));var g=L(e,["a:pPr","attrs","lvl"]);g!==void 0&&(n=parseInt(g)+1);var m,p=Mr(e["a:r"]).concat(Mr(e["a:fld"]));p.length===0&&(p=[e]),p.forEach(function(re){var Q=parseFloat(Yp(re,r,void 0,n,t,s));Number.isFinite(Q)&&Q>0&&(m=Math.max(m||0,Q))});var b=L(r,["a:lstStyle","a:lvl"+n+"pPr"]);i===void 0&&d===void 0&&(i=L(b,["a:spcBef","a:spcPts","attrs","val"]),d=L(b,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(b,["a:spcAft","a:spcPts","attrs","val"]),f=L(b,["a:spcAft","a:spcPct","attrs","val"]));var k=!0;if((t=="shape"||t=="textBox")&&(k=!1),k&&(i===void 0||o===void 0||c===void 0)&&a!==void 0){var M=L(s,["slideLayoutTables","idxTable",a,"p:txBody"]),v=L(M,["a:lstStyle","a:lvl"+n+"pPr"]);v===void 0&&(v=L(Mr(L(M,["a:p"]))[n-1],["a:pPr"])),i===void 0&&d===void 0&&(i=L(v,["a:spcBef","a:spcPts","attrs","val"]),d=L(v,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(v,["a:spcAft","a:spcPts","attrs","val"]),f=L(v,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(v,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(v,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts")))}if(k&&(i===void 0||o===void 0||c===void 0)){var _=s.slideMasterTextStyles,y="",n="a:lvl"+n+"pPr";switch(t){case"title":case"ctrTitle":y="p:titleStyle";break;case"body":case"obj":case"dt":case"ftr":case"sldNum":case"textBox":y="p:bodyStyle";break;default:y="p:otherStyle"}var I=L(_,[y,n]);I!==void 0&&(i===void 0&&d===void 0&&(i=L(I,["a:spcBef","a:spcPts","attrs","val"]),d=L(I,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(I,["a:spcAft","a:spcPts","attrs","val"]),f=L(I,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(I,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(I,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"))))}var C=0,R=0,B="";i!==void 0&&(C=parseInt(i)/100*Co),o!==void 0&&(R=parseInt(o)/100*Co);function Z(re){if(!(re===void 0||m===void 0)){var Q=String(re).trim();if(/^\+?(?:\d+(?:\.\d*)?|\.\d+)%?$/.test(Q)){var ae=Q.endsWith("%")?parseFloat(Q)/100:Number(Q)/1e5,A=m*ae;return Number.isFinite(A)&&A>=0?A:void 0}}}var T=Z(d),O=Z(f);if(i===void 0&&T!==void 0&&(C=T),o===void 0&&O!==void 0&&(R=O),c!==void 0&&m!==void 0)if(l=="Pts"){var P=parseInt(c)/100*Co;Number.isFinite(P)&&P>0&&(B+="line-height: "+P+"px;")}else{var J=String(c).trim().endsWith("%")?parseFloat(c)/100:Number(c)/1e5;Number.isFinite(J)&&J>0&&(B+="line-height: "+J+";")}return(i!==void 0||T!==void 0)&&Number.isFinite(C)&&(B+="margin-top: "+Math.max(0,C)+"px;"),(o!==void 0||O!==void 0)&&Number.isFinite(R)&&(B+="margin-bottom: "+Math.max(0,R)+"px;"),B}function qg(e,r,t,a,s,n){var i=L(e,["a:pPr","attrs","algn"]);if(i===void 0){var o=1,d=L(e,["a:pPr","attrs","lvl"]);d!==void 0&&(o=parseInt(d)+1);var f="a:lvl"+o+"pPr",c=r["a:lstStyle"];i=L(c,[f,"attrs","algn"]),i===void 0&&t!==void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p","a:pPr","attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p",o-1,"a:pPr","attrs","algn"])))),i===void 0&&(a!==void 0?(i=L(n,["slideLayoutTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(a=="title"||a=="ctrTitle"?i=L(n,["slideMasterTextStyles","p:titleStyle",f,"attrs","algn"]):a=="body"||a=="obj"||a=="subTitle"?i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]):a=="shape"||a=="diagram"?i=L(n,["slideMasterTextStyles","p:otherStyle",f,"attrs","algn"]):a=="textBox"?i=L(n,["defaultTextStyle",f,"attrs","algn"]):i=L(n,["slideMasterTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]))):i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]))}if(i===void 0){if(a=="title"||a=="subTitle"||a=="ctrTitle")return"h-mid";if(a=="sldNum")return"h-right"}if(i!==void 0)switch(i){case"l":return s=="pregraph-rtl"?"h-left-rtl":"h-left";case"r":return s=="pregraph-rtl"?"h-right-rtl":"h-right";case"ctr":return"h-mid";default:return"h-"+i}}function Vg(e,r,t,a,s){var n=L(e,["a:pPr","attrs","rtl"]);if(n===void 0){var i=qu(e,t,a,s),o=i.nodeLaout,d=i.nodeMaster;n=L(o,["attrs","rtl"]),n===void 0&&a!="shape"&&(n=L(d,["attrs","rtl"]))}return n=="1"?"pregraph-rtl":n=="0"?"pregraph-ltr":"pregraph-inherit"}function wp(e,r,t,a){var s=L(e,["p:txBody","a:bodyPr","attrs","anchor"]);return s===void 0&&(s=L(r,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s=L(t,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s="t"))),s==="ctr"?"v-mid":s==="b"?"v-down":"v-up"}function Rp(e,r,t){return"content";var a,s,n,i;switch(r){case"title":case"ctrTitle":i="p:titleStyle";break;case"body":case"dt":case"ftr":case"sldNum":case"textBox":i="p:bodyStyle";break;case"shape":i="p:otherStyle"}if(n!==void 0&&i!==""){var o;if(o=="1")return"content-rtl"}}function jg(e,r){return/^(zh|ja|ko)(-|$)/i.test(r||"")||/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}function ek(e,r){return _5.indexOf(r)!==-1||/^(ar|fa|he|ur|dv)(-|$)/i.test(r||"")||/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/.test(e||"")}function tk(e,r){if(/^zh-(tw|hk|mo)/i.test(e||""))return"Hant";if(/^zh/i.test(e||"")||/[\u3400-\u9fff]/.test(r||""))return"Hans";if(/^ja/i.test(e||"")||/[\u3040-\u30ff]/.test(r||""))return"Jpan";if(/^ko/i.test(e||"")||/[\uac00-\ud7af]/.test(r||""))return"Hang";if(/^(ar|fa|ur|dv)/i.test(e||"")||/[\u0600-\u06ff]/.test(r||""))return"Arab";if(/^he/i.test(e||"")||/[\u0590-\u05ff]/.test(r||""))return"Hebr"}function y5(e,r,t){var a=tk(r,t),s=L(e,["a:font"]);if(!(a===void 0||s===void 0)){s=s.constructor===Array?s:[s];for(var n=0;n<s.length;n++)if(L(s[n],["attrs","script"])===a)return L(s[n],["attrs","typeface"])}}function Sc(e,r,t,a){if(!(e===void 0||e==="")){var s=/^\+(mj|mn)-(lt|ea|cs)$/.exec(e);if(s===null)return e;var n=s[1]==="mj"?"a:majorFont":"a:minorFont",i=s[2]==="lt"?"a:latin":"a:"+s[2],o=L(r.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),d=L(o,[i,"attrs","typeface"]);return d||y5(o,t,a)}}function Bp(e,r,t,a,s){var n=r==="major"?"a:majorFont":"a:minorFont",i=L(e.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),o=L(i,["a:"+t,"attrs","typeface"]);return o||y5(i,a,s)}function Ic(e,r,t,a){return e===void 0?{}:{latin:Sc(L(e,["a:latin","attrs","typeface"]),r,t,a),ea:Sc(L(e,["a:ea","attrs","typeface"]),r,t,a),cs:Sc(L(e,["a:cs","attrs","typeface"]),r,t,a),sym:Sc(L(e,["a:sym","attrs","typeface"]),r,t,a)}}function Yu(e,r){Object.keys(r).forEach(function(t){(e[t]===void 0||e[t]==="")&&r[t]!==void 0&&r[t]!==""&&(e[t]=r[t])})}function Zp(e){var r=zk(e);if(r!=="")return/^(inherit|serif|sans-serif|monospace|cursive|fantasy|system-ui)$/i.test(r)?r:'"'+r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}function rk(e){var r=Zp(e);if(r===void 0)return[];var t=String(e).toLowerCase(),a=[];t==="calibri"||t==="calibri light"||t==="aptos"||t==="aptos display"||t==="aptos narrow"||t==="aptos body"?a=["Helvetica Neue","Arial","sans-serif"]:t==="aharoni"?a=["Arial","Helvetica Neue","sans-serif"]:t==="poppins bold"||t==="poppins extrabold"?a=["Poppins","Arial","Helvetica Neue","sans-serif"]:t==="poppins light"||t==="poppins"||t==="poppins regular"?a=["Arial","Helvetica Neue","sans-serif"]:(t==="\u5FAE\u8F6F\u96C5\u9ED1"||t==="microsoft yahei")&&(a=["Microsoft YaHei","PingFang SC","Helvetica Neue","Arial","sans-serif"]);var s=[r];return a.forEach(function(n){var i=Zp(n);i!==void 0&&s.indexOf(i)===-1&&s.push(i)}),s}function d5(e){var r=String(e),t=r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\t/g," ").replace(/\u00a0/g," ");return/^[\s\u00a0]*$/.test(r)?t.replace(/ /g," "):t.replace(/ {2,}/g,function(a){return" "+new Array(a.length).join(" ")})}function ak(e,r){var t=L(r,["attrs","idx"]);return t==="major"||t==="minor"?t:e=="title"||e=="subTitle"||e=="ctrTitle"?"major":"minor"}function nk(e,r,t,a,s,n,i,o,d){var f={};Yu(f,Ic(L(e,["a:rPr"]),t,n,s)),Yu(f,Ic(L(i,["a:defRPr"]),t,n,s)),Yu(f,Ic(L(o,["a:defRPr"]),t,n,s));var c="a:lvl"+d+"pPr";Yu(f,Ic(L(t.defaultTextStyle,[c,"a:defRPr"]),t,n,s));var l=ak(r,a);Yu(f,{latin:Bp(t,l,"latin",n,s),ea:Bp(t,l,"ea",n,s),cs:Bp(t,l,"cs",n,s)});var g=ek(s,n)?"cs":jg(s,n)?"ea":"latin",m=[f[g],f.latin,f.ea,f.cs,f.sym],p=[];return m.forEach(function(b){rk(b).forEach(function(k){p.indexOf(k)===-1&&p.push(k)})}),p.length?p.join(","):"inherit"}async function w5(e,r,t,a,s,n,i,o){var d=L(e,["a:rPr"]),f,c,P,l="",g="";if(d!==void 0){if(f=un(d),f=="SOLID_FILL"){var m=d["a:solidFill"];c=gt(m,void 0,void 0,o);var p=d["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=d["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(d,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=d["a:gradFill"];c=Ju(k,o),l="gradient"}}if(c===void 0){var M=L(r,["a:pPr","a:defRPr"]);if(M!==void 0){if(f=un(M),f=="SOLID_FILL"){var m=M["a:solidFill"];c=gt(m,void 0,void 0,o);var p=M["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=M["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(M,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=M["a:gradFill"];c=Ju(k,o),l="gradient"}}}if(c===void 0&&L(t,["a:lvl"+s+"pPr","a:defRPr"])!==void 0){var v=L(t,["a:lvl"+s+"pPr","a:defRPr"]);if(f=un(v),f=="SOLID_FILL"){var m=v["a:solidFill"];c=gt(m,void 0,void 0,o);var p=v["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var b=v["a:pattFill"];c=Pf(b,o),l="pattern"}else if(f=="PIC_FILL")c=await Yi(v,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var k=v["a:gradFill"];c=Ju(k,o),l="gradient"}}if(c===void 0){var _=L(r,["p:style","a:fontRef"]);if(_!==void 0){c=gt(_,void 0,void 0,o),c!==void 0&&(l="solid");var p=_["a:highlight"];p!==void 0&&(g=gt(p,void 0,void 0,o))}c===void 0&&a!==void 0&&(c=gt(a,void 0,void 0,o),c!==void 0&&(l="solid"))}if(c===void 0){var y=qu(r,n,i,o),I=y.nodeLaout,C=y.nodeMaster;if(I!==void 0){var R=L(I,["a:defRPr","a:solidFill"]);if(R!==void 0){c=gt(R,void 0,void 0,o);var p=L(I,["a:defRPr","a:highlight"]);p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}}if(c===void 0&&C!==void 0){var B=L(C,["a:defRPr","a:solidFill"]);if(B!==void 0){c=gt(B,void 0,void 0,o);var p=L(C,["a:defRPr","a:highlight"]);p!==void 0&&(g=gt(p,void 0,void 0,o)),l="solid"}}}var Z=[],T={},O=L(e,["a:rPr","a:ln"]),P="";if(O!==void 0&&O["a:noFill"]===void 0){var J=Si(e,r,!1,"text",o),re=J.split(" "),Q=parseInt(re[0].substring(0,re[0].indexOf("px")))+"px",ae=re[2];l=="solid"?(P="-"+Q+" 0 "+ae+", 0 "+Q+" "+ae+", "+Q+" 0 "+ae+", 0 -"+Q+" "+ae,Z.push(P)):T.border=Q+" "+ae}var A=L(e,["a:rPr","a:effectLst","a:glow"]),V="";if(A!==void 0){var H=gt(A,void 0,void 0,o),X=A.attrs.rad?A.attrs.rad*w:0;V="0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H+", 0 0 "+X+"px #"+H,l=="solid"?Z.push(V):Z.push("drop-shadow(0 0 "+X/3+"px #"+H+") drop-shadow(0 0 "+X*2/3+"px #"+H+") drop-shadow(0 0 "+X+"px #"+H+")")}var ge=L(e,["a:rPr","a:effectLst","a:outerShdw"]),me="";if(ge!==void 0){var u=gt(ge,void 0,void 0,o),h=ge.attrs,De=h.algn,Ue=h.dir?parseInt(h.dir)/6e4:0,ee=parseInt(h.dist)*w,fe=h.rotWithShape,oe=h.blurRad?parseInt(h.blurRad)*w+"px":"",kt=h.sx?parseInt(h.sx)/1e5:1,dt=h.sy?parseInt(h.sy)/1e5:1,S=ee*Math.sin(Ue*Math.PI/180),Ee=ee*Math.cos(Ue*Math.PI/180);!isNaN(S)&&!isNaN(Ee)&&(me=Ee+"px "+S+"px "+oe+" #"+u,l=="solid"?Z.push(me):Z.push("drop-shadow("+Ee+"px "+S+"px "+oe+" #"+u+")"))}var pe="",Y;return l=="solid"?(Z.length>0&&(pe=Z.join(",")),Y=pe+";"):(Z.length>0&&(pe=Z.join(" ")),T.effcts=pe,Y=T),[c,Y,l,g]}function Yp(e,r,t,a,s,n){var i=r!==void 0?r["a:lstStyle"]:void 0,o="a:lvl"+a+"pPr",d=void 0,f;e["a:rPr"]!==void 0&&(d=parseInt(e["a:rPr"].attrs.sz)/100),(isNaN(d)||d===void 0&&e["a:fld"]!==void 0)&&(f=L(e["a:fld"],["a:rPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&e["a:t"]===void 0&&(f=L(e["a:endParaRPr"],["attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&i!==void 0&&(f=L(i,[o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideLayoutTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideMasterTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),f===void 0&&(s=="title"||s=="subTitle"||s=="ctrTitle"?f=L(n.slideMasterTextStyles,["p:titleStyle",o,"a:defRPr","attrs","sz"]):s=="body"||s=="obj"||s=="dt"||s=="sldNum"?f=L(n.slideMasterTextStyles,["p:bodyStyle",o,"a:defRPr","attrs","sz"]):(s=="shape"||s==="textBox")&&(f=L(n.slideMasterTextStyles,["p:otherStyle",o,"a:defRPr","attrs","sz"])),f===void 0&&(f=L(n.defaultTextStyle,[o,"a:defRPr","attrs","sz"]))),d=parseInt(f)/100);var c=L(e,["a:rPr","attrs","baseline"]);if(c!==void 0&&Number(c)!==0&&!isNaN(d)&&(d*=2/3),!isNaN(d)){let l=X1(r).fontScale;d*=l}return isNaN(d)?s=="br"?"initial":"inherit":d*Co+"px"}function ik(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","b"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","b"])),i===void 0&&(i=L(a,["a:defRPr","attrs","b"])),i===void 0&&(i=L(s,["a:defRPr","attrs","b"])),i==="1"||i===!0?"bold":i==="0"||i===!1?"normal":"inherit"}function sk(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","i"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","i"])),i===void 0&&(i=L(a,["a:defRPr","attrs","i"])),i===void 0&&(i=L(s,["a:defRPr","attrs","i"])),i==="1"||i===!0?"italic":i==="0"||i===!1?"normal":"inherit"}function ok(e,r,t){if(e["a:rPr"]!==void 0){var a=e["a:rPr"].attrs.u!==void 0?e["a:rPr"].attrs.u:"none",s=e["a:rPr"].attrs.strike!==void 0?e["a:rPr"].attrs.strike:"noStrike";return a!="none"&&s=="noStrike"?"underline":a=="none"&&s!="noStrike"?"line-through":a!="none"&&s!="noStrike"?"underline line-through":"inherit"}else return"inherit"}function fk(e,r,t,a){var s=L(e,["a:pPr","attrs","algn"]);if(s===void 0&&(s=L(r,["a:pPr","attrs","algn"])),s===void 0)if(t=="title"||t=="ctrTitle"||t=="subTitle"){var n=1,i=L(r,["a:pPr","attrs","lvl"]);i!==void 0&&(n=parseInt(i)+1);var o="a:lvl"+n+"pPr";s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTextStyles","p:titleStyle",o,"attrs","algn"]),s===void 0&&t==="subTitle"&&(s=L(a,["slideMasterTextStyles","p:bodyStyle",o,"attrs","algn"]))))}else t=="body"?s=L(a,["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]):s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var d="inherit";if(s!==void 0)switch(s){case"l":d="left";break;case"r":d="right";break;case"ctr":d="center";break;case"just":d="justify";break;case"dist":d="justify";break;default:d="inherit"}return d}function lk(e,r,t){var a=L(e,["a:rPr","attrs","baseline"]);return a===void 0?"baseline":parseInt(a)/1e3+"%"}function Xu(e,r){var t="";if(e["a:bottom"]!==void 0){var a={"p:spPr":{"a:ln":e["a:bottom"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-bottom")}if(e["a:top"]!==void 0){var a={"p:spPr":{"a:ln":e["a:top"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-top")}if(e["a:right"]!==void 0){var a={"p:spPr":{"a:ln":e["a:right"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-right")}if(e["a:left"]!==void 0){var a={"p:spPr":{"a:ln":e["a:left"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-left")}return t}function Si(e,r,t,a,s){var n,i,o;a=="shape"?(n="border: ",i=e["p:spPr"]["a:ln"]):a=="text"&&(n="",i=e["a:rPr"]["a:ln"]);var d=L(i,["a:noFill"]);if(d!==void 0)return"hidden";if(i==null){var f=L(e,["p:style","a:lnRef"]);if(f!==void 0){var c=L(f,["attrs","idx"]);i=s.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(c)-1]}}i==null&&(n="",i=e);var l;if(i!==void 0){var g=parseInt(L(i,["attrs","w"]))/12700;isNaN(g)||g<1?n+=4/3+"px ":n+=g+"px ";var m=L(i,["a:prstDash","attrs","val"]);m===void 0&&(m=L(i,["attrs","cmpd"]));var p="0";switch(m){case"solid":n+="solid",p="0";break;case"dash":n+="dashed",p="5";break;case"dashDot":n+="dashed",p="5, 5, 1, 5";break;case"dot":n+="dotted",p="1, 5";break;case"lgDash":n+="dashed",p="10, 5";break;case"dbl":n+="double",p="0";break;case"lgDashDotDot":n+="dashed",p="10, 5, 1, 5, 1, 5";break;case"sysDash":n+="dashed",p="5, 2";break;case"sysDashDot":n+="dashed",p="5, 2, 1, 5";break;case"sysDashDotDot":n+="dashed",p="5, 2, 1, 5, 1, 5";break;case"sysDot":n+="dotted",p="2, 5";break;default:n+="solid",p="0"}var b=un(i);b=="NO_FILL"?l=t?"none":"":b=="SOLID_FILL"?l=gt(i["a:solidFill"],void 0,void 0,s):b=="GRADIENT_FILL"?l=vk(Ju(i["a:gradFill"],s,e)):b=="PATTERN_FILL"&&(l=Pf(i["a:pattFill"],s))}if(l===void 0){var f=L(e,["p:style","a:lnRef"]);f!==void 0&&(l=gt(f,void 0,void 0,s))}return l===void 0?t?l="none":l="hidden":l="#"+l,n+=" "+l+" ",t?{color:l,width:g,type:m,strokeDasharray:p}:n+";"}async function uk(e,r,t){var a=e.slideContent,s=e.slideLayoutContent,n=e.slideMasterContent,i=L(s,["p:sldLayout","p:cSld","p:spTree"]),o=L(n,["p:sldMaster","p:cSld","p:spTree"]),d=L(a,["p:sld","attrs","showMasterSp"]),f=L(s,["p:sldLayout","attrs","showMasterSp"]),c=d!==void 0?d:f,l=!(c==="0"||c==="false"),g=await R5(e,t)||"",m="<div class='slide-background slide-background-"+t+"' style='position:absolute;top:0;left:0;overflow:hidden;z-index:0;width:"+r.width+"px; height:"+r.height+"px;"+g+"'>";if(o!==void 0&&l){m+="<div class='pptx-master-layer' style='position:absolute;inset:0;z-index:0;'>";for(var p in o)if(o[p].constructor===Array)for(var b=0;b<o[p].length;b++){var k=L(o[p][b],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);m+=await V0(p,o[p][b],o,e,"slideMasterBg")}else{var k=L(o[p],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);m+=await V0(p,o[p],o,e,"slideMasterBg")}m+="</div>"}if(i!==void 0){m+="<div class='pptx-layout-layer' style='position:absolute;inset:0;z-index:1;'>";for(var p in i)if(i[p].constructor===Array)for(var b=0;b<i[p].length;b++){var k=L(i[p][b],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);k!="pic"&&(m+=await V0(p,i[p][b],i,e,"slideLayoutBg"))}else{var k=L(i[p],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);k!="pic"&&(m+=await V0(p,i[p],i,e,"slideLayoutBg"))}m+="</div>"}return m+"</div>"}function ck(e){var r=[];return e===void 0?r:(Object.keys(e).forEach(function(t){var a=e[t];if(t!="attrs")if(a.constructor===Array)for(var s=0;s<a.length;s++){var n={};n[t]=a[s],n.idex=Number(L(a[s],["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}else{var n={};n[t]=a,n.idex=Number(L(a,["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}}),r.sort(function(t,a){return t.idex-a.idex}))}function dk(e,r){if(!(r==0||r==1e3)){var t=r>1e3?"a:bgFillStyleLst":"a:fillStyleLst",a=r>1e3?r-1e3:r,s=L(e.themeContent,["a:theme","a:themeElements","a:fmtScheme",t]),n=ck(s);return n[a-1]}}async function yc(e,r,t,a,s,n,i){if(e!==void 0){var o=un(e);if(o=="SOLID_FILL"){var d=e["a:solidFill"],f=gt(d,r,t,s);return f!==void 0?"background: #"+f+";":void 0}else{if(o=="GRADIENT_FILL")return zo(e,t,a,s);if(o=="PIC_FILL")return await Yi(e,i||"themeBg",s,t,n);if(o=="PATTERN_FILL"){var c=Pf(e["a:pattFill"],s);if(c!==void 0){var l="background: "+c[0]+";";return c[1]!==null&&c[1]!==void 0&&c[1]!=""&&(l+="background-size:"+c[1]+";"),c[2]!==null&&c[2]!==void 0&&c[2]!=""&&(l+="background-position:"+c[2]+";"),l}}}}}async function Dp(e,r,t,a,s,n){return await yc(dk(s,e),r,t,a,s,n,"themeBg")}async function R5(e,r){var t=e.slideContent,a=e.slideLayoutContent,s=e.slideMasterContent,n=L(t,["p:sld","p:cSld","p:bg","p:bgPr"]),i=L(t,["p:sld","p:cSld","p:bg","p:bgRef"]),o;if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideBg",e,void 0,r))}else if(i!==void 0){var c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var m=gt(i,c,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Dp(p,c,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(B){var Z=k[B];if(B!="attrs")if(Z.constructor===Array)for(var T=0;T<Z.length;T++){var O={};O[B]=Z[T],O.idex=Z[T].attrs.order,O.attrs={order:Z[T].attrs.order},M.push(O)}else{var O={};O[B]=Z,O.idex=Z.attrs.order,O.attrs={order:Z.attrs.order},M.push(O)}});var v=M.slice(0);v.sort(function(B,Z){return B.idex-Z.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await yc(_,c,m,s,e,r,"themeBg"):console.log(d)}}}else{n=L(a,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),i=L(a,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);var c,l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"]),n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],g=gt(f,c,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideLayoutBg",e,void 0,r))}else if(i!==void 0){var m=gt(i,c,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Dp(p,c,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(Q){var ae=k[Q];if(Q!="attrs")if(ae.constructor===Array)for(var A=0;A<ae.length;A++){var V={};V[Q]=ae[A],V.idex=ae[A].attrs.order,V.attrs={order:ae[A].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var v=M.slice(0);v.sort(function(Q,ae){return Q.idex-ae.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,c,m,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await yc(_,c,m,s,e,r,"themeBg"):console.log(d)}}}else{n=L(s,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),i=L(s,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);var y=L(s,["p:sldMaster","p:clrMap","attrs"]);if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],g=gt(f,y,void 0,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await Yi(n,"slideMasterBg",e,void 0,r))}else if(i!==void 0){var m=gt(i,y,void 0,e),p=Number(i.attrs.idx);if(!(p==0||p==1e3)){if(p>0&&p<1e3)o=await Dp(p,y,m,s,e,r);else if(p>1e3){var b=p-1e3,k=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(k).forEach(function(Q){var ae=k[Q];if(Q!="attrs")if(ae.constructor===Array)for(var A=0;A<ae.length;A++){var V={};V[Q]=ae[A],V.idex=ae[A].attrs.order,V.attrs={order:ae[A].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var v=M.slice(0);v.sort(function(Q,ae){return Q.idex-ae.idex});var _=v[b-1],d=un(_);if(d=="SOLID_FILL"){var f=_["a:solidFill"],g=gt(f,y,m,e);o="background: #"+g+";"}else d=="GRADIENT_FILL"?o=zo(_,m,s,e):d=="PIC_FILL"?o=await Yi(_,"themeBg",e,m,r):d=="PATTERN_FILL"?o=await yc(_,y,m,s,e,r,"themeBg"):console.log(d)}}}}}return o}function zo(e,r,t,a){var s="";if(e!==void 0){var n=e["a:gradFill"],i=n["a:gsLst"]["a:gs"];i.constructor!==Array&&(i=[i]);for(var o=L(t,["p:sldMaster","p:clrMap","attrs"]),d=[],f=[],c=0;c<i.length;c++){var l,g="",g=gt(i[c],o,r,a),m=L(i[c],["attrs","pos"]);m!==void 0?f[c]=m/1e3+"%":f[c]="",d[c]="#"+g}var p=n["a:lin"],b=90;p!==void 0&&(b=Oo(p.attrs.ang),b=b+90),s="background: linear-gradient("+b+"deg,";for(var c=0;c<i.length;c++)c==i.length-1?s+=d[c]+" "+f[c]+");":s+=d[c]+" "+f[c]+", "}else r!==void 0&&(s="background: #"+r+";");return s}async function Yi(e,r,t,a,s){var n,i=await B5(r,e["a:blipFill"],t);if(i!==void 0){var o=L(e,["attrs","order"]),d=L(e,["a:blipFill","a:blip"]),f=L(d,["a:duotone"]);if(f!==void 0){var c=[];Object.keys(f).forEach(function(R){if(R!="attrs"){var B={};B[R]=f[R],c.push(gt(B,void 0,a,t))}})}var l=L(d,["a:alphaModFix","attrs"]),g="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var m=parseInt(l.amt)/1e5;g="opacity:"+m+";"}var p=L(e,["a:blipFill","a:tile","attrs"]),b="";if(p!==void 0&&p.sx!==void 0){var k=parseInt(p.sx)/1e5,M=parseInt(p.sy)/1e5,v=parseInt(p.tx)/1e5,_=parseInt(p.ty)/1e5,y=p.algn,I=p.flip;b+="background-repeat: round;"}var C=L(e,["a:blipFill","a:stretch"]);return C!==void 0&&(b+="background-repeat: no-repeat;",b+="background-position: center;",b+="background-size: 100% 100%;"),n="background: url("+i+");"+(o!==void 0?" z-index: "+o+";":"")+b+g,n}}async function Qu(e,r,t,a,s){var n=un(L(e,["p:spPr"])),i,o;if(n=="NO_FILL")return t?"none":"";if(n=="SOLID_FILL")o=e["p:spPr"]["a:solidFill"],i=gt(o,void 0,void 0,a);else if(n=="GRADIENT_FILL")o=e["p:spPr"]["a:gradFill"],i=Ju(o,a,e);else if(n=="PATTERN_FILL")o=e["p:spPr"]["a:pattFill"],i=Pf(o,a);else if(n=="PIC_FILL")o=e["p:spPr"]["a:blipFill"],i=await B5(s,o,a);else if(n=="GROUP_FILL"){var d=L(r,["p:grpSpPr"]);if(d!==void 0)return await Qu({"p:spPr":d},e,t,a,s)}if(i===void 0){var f=L(e,["p:style","a:fillRef"]),c=parseInt(L(e,["p:style","a:fillRef","attrs","idx"]));if(c==0||c==1e3)return t?"none":"";c>0&&c<1e3||c>1e3,i=gt(f,void 0,void 0,a)}if(i===void 0){var l=L(e,["p:spPr","a:grpFill"]);if(l!==void 0){var d=r["p:grpSpPr"],g={"p:spPr":d};return await Qu(g,e,t,a,s)}else if(n=="NO_FILL")return t?"none":""}if(i!==void 0)if(n=="GRADIENT_FILL"){if(t)return i;for(var m=i.color,p=i.rot,b="background: linear-gradient("+p+"deg,",k=0;k<m.length;k++)k==m.length-1?b+="#"+m[k]+");":b+="#"+m[k]+", ";return b}else{if(n=="PIC_FILL")return t?i:"background-image:url("+i+");";if(n=="PATTERN_FILL"){var M="",v="",_="";return M=i[0],i[1]!==null&&i[1]!==void 0&&i[1]!=""&&(v=" background-size:"+i[1]+";"),i[2]!==null&&i[2]!==void 0&&i[2]!=""&&(_=" background-position:"+i[2]+";"),"background: "+M+";"+v+_}else if(t){var y=Je(i);return i=y.toRgbString(),i}else return"background-color: #"+i+";"}else return t?"none":""}function un(e={}){var r="";return e["a:noFill"]!==void 0&&(r="NO_FILL"),e["a:solidFill"]!==void 0&&(r="SOLID_FILL"),e["a:gradFill"]!==void 0&&(r="GRADIENT_FILL"),e["a:pattFill"]!==void 0&&(r="PATTERN_FILL"),e["a:blipFill"]!==void 0&&(r="PIC_FILL"),e["a:grpFill"]!==void 0&&(r="GROUP_FILL"),r}function hk(e){return(e%360+360)%360}function pk(e,r){var t=L(r,["p:spPr","a:xfrm","attrs"])||{},a=t.flipH==="1",s=t.flipV==="1",n=e;return a&&(n=180-n),s&&(n=-n),hk(n)}function vk(e){var r=e&&e.color;if(!(!Array.isArray(r)||!r.length)){var t=r[0],a=-1;return r.forEach(function(s){var n=Je("#"+s),i=n.getAlpha();i>a&&(t=n.toHex8(),a=i)}),t}}function Ju(e,r,t){for(var a=Mr(e["a:gsLst"]["a:gs"]),s=[],n=[],i=0;i<a.length;i++){var o,d=gt(a[i],void 0,void 0,r);s[i]=d}var f=e["a:lin"],c=0;return f!==void 0&&(c=Oo(f.attrs.ang)+90),c=pk(c,t),{color:s,rot:c}}async function B5(e,r,t){var a,s=r["a:blip"].attrs["r:embed"],n;if(e=="slideBg"||e=="slide"?n=L(t,["slideResObj",s,"target"]):e=="slideLayoutBg"?n=L(t,["layoutResObj",s,"target"]):e=="slideMasterBg"?n=L(t,["masterResObj",s,"target"]):e=="themeBg"?n=L(t,["themeResObj",s,"target"]):e=="diagramBg"&&(n=L(t,["diagramResObj",s,"target"])),n!==void 0){if(a=L(t,["loaded-images",n]),a===void 0){n=Ii(n);var i=n.split(".").pop();if(i=="xml")return;var o=await t.zip.file(n).async("arraybuffer");a=await E5(i,o),Lk(t,["loaded-images",n],a)}return a}}function Pf(e,r){var t="",a="",s="",n=e["a:bgClr"],i=e["a:fgClr"];s=e.attrs.prst,t=gt(i,void 0,void 0,r),a=gt(n,void 0,void 0,r);var o=mk(s,a,t);return o}function mk(e,r,t){switch(e){case"smGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","4px 4px"];case"dotGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","8px 8px"];case"lgGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1.5px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1.5px) #"+r+";","8px 8px"];case"wdUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"wdDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"lgCheck":case"smCheck":var s="",a="";return e=="lgCheck"?(s="8px 8px",a="0 0, 4px 4px, 4px 4px, 8px 8px"):(s="4px 4px",a="0 0, 2px 2px, 2px 2px, 4px 4px"),["linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0), linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0) #"+r+";",s,a];break;case"dashUpDiag":return["repeating-linear-gradient(152deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"dashDnDiag":return["repeating-linear-gradient(45deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"diagBrick":return["linear-gradient(45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 65%, #"+t+" 80%, transparent 0) #"+r+";","4px 4px"];case"horzBrick":return["linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px) #"+t+";","4px 4px","0 0.15px, 0.3px 2.5px, 2px 2.15px, 2.35px 0.4px"];case"dashVert":return["linear-gradient(0deg, #"+r+" 30%, transparent 30%),linear-gradient(90deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"dashHorz":return["linear-gradient(90deg, #"+r+" 30%, transparent 30%),linear-gradient(0deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"solidDmnd":return["linear-gradient(135deg, #"+t+" 25%, transparent 25%), linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","8px 8px"];case"openDmnd":return["linear-gradient(45deg, transparent 0%, transparent calc(50% - 0.5px), #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%), linear-gradient(-45deg, transparent 0%, transparent calc(50% - 0.5px) , #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%) #"+r+";","8px 8px"];case"dotDmnd":return["radial-gradient(#"+t+" 15%, transparent 0), radial-gradient(#"+t+" 15%, transparent 0) #"+r+";","4px 4px","0 0, 2px 2px"];case"zigZag":case"wave":var s="";return e=="zigZag"?s="0":s="1px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(225deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","4px 4px"];break;case"lgConfetti":case"smConfetti":var s="";return e=="lgConfetti"?s="4px 4px":s="2px 2px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px 1px, linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%) 50px 1px , linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";",s];break;case"plaid":return["linear-gradient(0deg, transparent, transparent 25%, #"+t+"33 25%, #"+t+"33 50%),linear-gradient(90deg, transparent, transparent 25%, #"+t+"66 25%, #"+t+"66 50%) #"+r+";","4px 4px"];case"sphere":return["radial-gradient(#"+t+" 50%, transparent 50%),#"+r+";","4px 4px"];case"weave":case"shingle":return["linear-gradient(45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px), linear-gradient(-45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px) 0 4px, #"+r+";","4px 8px"];case"pct5":case"pct10":case"pct20":case"pct25":case"pct30":case"pct40":case"pct50":case"pct60":case"pct70":case"pct75":case"pct80":case"pct90":case"trellis":case"divot":var n;switch(e){case"pct5":n=["0.3px","10%","2px 2px"];break;case"divot":n=["0.3px","40%","4px 4px"];break;case"pct10":n=["0.3px","20%","2px 2px"];break;case"pct20":n=["0.2px","40%","2px 2px"];break;case"pct25":n=["0.2px","50%","2px 2px"];break;case"pct30":n=["0.5px","50%","2px 2px"];break;case"pct40":n=["0.5px","70%","2px 2px"];break;case"pct50":n=["0.09px","90%","2px 2px"];break;case"pct60":n=["0.3px","90%","2px 2px"];break;case"pct70":case"trellis":n=["0.5px","95%","2px 2px"];break;case"pct75":n=["0.65px","100%","2px 2px"];break;case"pct80":n=["0.85px","100%","2px 2px"];break;case"pct90":n=["1px","100%","2px 2px"];break}return["radial-gradient(#"+t+" "+n[0]+", transparent "+n[1]+"),#"+r+";",n[2]];default:return[0,0]}}function gt(e,r,t,a){if(e!==void 0){var s="",n;if(e["a:srgbClr"]!==void 0)n=e["a:srgbClr"],s=L(n,["attrs","val"]);else if(e["a:schemeClr"]!==void 0){n=e["a:schemeClr"];var i=L(n,["attrs","val"]);s=D5("a:"+i,r,t,a)}else if(e["a:scrgbClr"]!==void 0){n=e["a:scrgbClr"];var o=n.attrs,d=o.r.indexOf("%")!=-1?o.r.split("%").shift():o.r,f=o.g.indexOf("%")!=-1?o.g.split("%").shift():o.g,c=o.b.indexOf("%")!=-1?o.b.split("%").shift():o.b;s=gf(255*(Number(d)/100))+gf(255*(Number(f)/100))+gf(255*(Number(c)/100))}else if(e["a:prstClr"]!==void 0){n=e["a:prstClr"];var l=L(n,["attrs","val"]);s=bk(l)}else if(e["a:hslClr"]!==void 0){n=e["a:hslClr"];var o=n.attrs,g=Number(o.hue)/1e5,m=Number(o.sat.indexOf("%")!=-1?o.sat.split("%").shift():o.sat)/100,p=Number(o.lum.indexOf("%")!=-1?o.lum.split("%").shift():o.lum)/100,b=_k(g,m,p);s=gf(b.r)+gf(b.g)+gf(b.b)}else if(e["a:sysClr"]!==void 0){n=e["a:sysClr"];var k=L(n,["attrs","lastClr"]);k!==void 0&&(s=k)}s=N5(s);var M=!1,v=parseInt(L(n,["a:alpha","attrs","val"]))/1e5;if(!isNaN(v)){var _=Je(s);_.setAlpha(v),s=_.toHex8(),M=!0}var y=parseInt(L(n,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=Pk(s,y,M));var I=parseInt(L(n,["a:lumMod","attrs","val"]))/1e5;isNaN(I)||(s=Ek(s,I,M));var C=parseInt(L(n,["a:lumOff","attrs","val"]))/1e5;isNaN(C)||(s=Mk(s,C,M));var R=parseInt(L(n,["a:satMod","attrs","val"]))/1e5;isNaN(R)||(s=Sk(s,R,M));var B=parseInt(L(n,["a:shade","attrs","val"]))/1e5;isNaN(B)||(s=gk(s,B,M));var Z=parseInt(L(n,["a:tint","attrs","val"]))/1e5;return isNaN(Z)||(s=kk(s,Z,M)),s}}function gf(e){for(var r=e.toString(16);r.length<2;)r="0"+r;return r}function _k(e,r,t){var a,s,n,i,o;return e=e/60,t<=.5?s=t*(r+1):s=t+r-t*r,a=t*2-s,n=Np(a,s,e+2)*255,i=Np(a,s,e)*255,o=Np(a,s,e-2)*255,{r:n,g:i,b:o}}function Np(e,r,t){return t<0&&(t+=6),t>=6&&(t-=6),t<1?(r-e)*t+e:t<3?r:t<4?(r-e)*(4-t)+e:e}function bk(e){var r,t=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],s=t.indexOf(e);return s!=-1&&(r=a[s]),r}function D5(e,r,t,a){var s;if(r!==void 0)s=r;else{var n=L(a.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(n!==void 0)s=n;else{var n=L(a.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n!==void 0?s=n:s=L(a.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}}var i=e.substr(2);if(i=="phClr"&&t!==void 0)d=t;else{if(s!==void 0)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+s[i];break}else switch(i){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2";break}var o=L(a.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),d=L(o,["a:srgbClr","attrs","val"]);d===void 0&&o!==void 0&&(d=L(o,["a:sysClr","attrs","lastClr"]))}return N5(d)}function L(e,r){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(e==null)return;let t=r.length;for(let a=0;a<t;a++)if(e=e[r[a]],e==null)return;return e}function Lk(e,r,t){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(!(e==null||typeof e!="object")){for(var a=e,s=0;s<r.length;s++){var n=r[s];if(s===r.length-1)return Object.defineProperty(a,n,{value:t,writable:!0,enumerable:!0,configurable:!0}),t;var i=Object.prototype.hasOwnProperty.call(a,n)?a[n]:void 0;(i===null||typeof i!="object")&&(i=Object.create(null),Object.defineProperty(a,n,{value:i,writable:!0,enumerable:!0,configurable:!0})),a=i}return a}}function gk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=Math.min(a.l*r,1);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function kk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=a.l*r+(1-r);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Mk(e,r,t){var a=Je(e).toHsl(),s=r+a.l;return s>=1?t?Je({h:a.h,s:a.s,l:1,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:1,a:a.a}).toHex():t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Ek(e,r,t){var a=Je(e).toHsl(),s=a.l*r;return s>=1&&(s=1),t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Pk(e,r,t){var a=Je(e).toHsl(),s=a.h*r;return s>=360&&(s=s-360),t?Je({h:cocacl_h,s:a.s,l:a.l,a:a.a}).toHex8():Je({h:s,s:a.s,l:a.l,a:a.a}).toHex()}function Sk(e,r,t){var a=Je(e).toHsl(),s=a.s*r;return s>=1&&(s=1),t?Je({h:a.h,s,l:a.l,a:a.a}).toHex8():Je({h:a.h,s,l:a.l,a:a.a}).toHex()}function Oo(e){return e==""||e==null?0:Math.round(e/6e4)}function Rc(e){var r="";switch(e.toLowerCase()){case"jpg":case"jpeg":r="image/jpeg";break;case"png":r="image/png";break;case"gif":r="image/gif";break;case"emf":r="image/x-emf";break;case"wmf":r="image/x-wmf";break;case"svg":r="image/svg+xml";break;case"mp4":r="video/mp4";break;case"webm":r="video/webm";break;case"ogg":r="video/ogg";break;case"avi":r="video/avi";break;case"mpg":r="video/mpg";break;case"wmv":r="video/wmv";break;case"mp3":r="audio/mpeg";break;case"wav":r="audio/wav";break;case"tif":case"tiff":r="image/tiff";break}return r}function Ik(e,r,t,a,s){var n=Tk(a.length-2),i="",o=r,d=e,f="",c=yk(t,o,d),l=c[0],g=c[1],m=c[2],p=c[3],b=n.length,k=b<20?100:1e3;i=' gradientUnits="userSpaceOnUse" x1="'+l+'%" y1="'+g+'%" x2="'+m+'%" y2="'+p+'%"',i='<linearGradient id="linGrd_'+s+'"'+i+`>
|
|
14
14
|
`,f+=i;for(var M=0;M<b;M++){var v=Je("#"+a[M]),_=v.getAlpha();f+='<stop offset="'+Math.round(parseFloat(n[M])/100*k)/k+'" style="stop-color:'+v.toHexString()+"; stop-opacity:"+_+';"',f+=`/>
|
|
15
15
|
`}return f+=`</linearGradient>
|
|
16
|
-
`,f}function
|
|
16
|
+
`,f}function Tk(e){var r=["0%","100%"];if(e==0)return r;for(var t=e;t--;){var a=100-100/(e+1)*(t+1),s=a+"%";r.splice(-1,0,s)}return r}function yk(e,r,t){var a=parseFloat(t),s=parseFloat(r),n=parseFloat(e),i=2,o=2,d=a/2,f=s/2,b=2,k=2,M=2,v=2,c=(n%360+360)%360,l=(360-c)*Math.PI/180,g=Math.tan(l),m=f-g*d;c==0?(b=a,k=f,M=0,v=f):c<90?(o=a,i=0):c==90?(b=d,k=0,M=d,v=s):c<180?(o=0,i=0):c==180?(b=0,k=f,M=a,v=f):c<270?(o=0,i=s):c==270?(b=d,k=s,M=d,v=0):(o=a,i=s);var p=i+o/g,b=b==2?g*(p-m)/(Math.pow(g,2)+1):b,k=k==2?g*b+m:k,M=M==2?a-b:M,v=v==2?s-k:v,_=Math.round(M/a*100*100)/100,y=Math.round(v/s*100*100)/100,I=Math.round(b/a*100*100)/100,C=Math.round(k/s*100*100)/100;return[_,y,I,C]}async function wk(e,r,t,a,s){let[n,i]=await Rk(r);e=e||{};var o=L(e,["a:tile","attrs"]);if(o!==void 0&&o.sx!==void 0)var d=parseInt(o.sx)/1e5*n,f=parseInt(o.sy)/1e5*i;let c=e["a:blip"]||{};var l=L(c,["a:alphaModFix","attrs"]),g="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var m=parseInt(l.amt)/1e5,p=m;g="opacity='"+p+"'"}if(s!==void 0)var b=Math.max(1,s.width),k=Math.max(1,s.height),M=P5(e).svg,v=-s.x+b*M.x/100,_=-s.y+k*M.y/100,y=b*M.width/100,I=k*M.height/100,C=e5(s.shapeTransform||{}),R=Math.max(b,Et(s.shapeTransform&&s.shapeTransform.width,0)),B=Math.max(k,Et(s.shapeTransform&&s.shapeTransform.height,0)),Z='<pattern id="imgPtrn_'+t+'" x="0" y="0" width="'+R+'" height="'+B+'" patternUnits="userSpaceOnUse">';else if(d!==void 0&&d!=0)var Z='<pattern id="imgPtrn_'+t+'" x="0" y="0" width="'+d+'" height="'+f+'" patternUnits="userSpaceOnUse">';else var Z='<pattern id="imgPtrn_'+t+'" patternContentUnits="objectBoundingBox" width="1" height="1">';var T=L(c,["a:duotone"]),O="",P="";if(T!==void 0){var J=[];Object.keys(T).forEach(function(re){if(re!="attrs"){var Q={};Q[re]=T[re];var ae=gt(Q,void 0,void 0,a),A=Je("#"+ae);J.push(A.toRgb())}}),J.length==2&&(O='<filter id="svg_image_duotone"> <feColorMatrix type="matrix" values=".33 .33 .33 0 0.33 .33 .33 0 0.33 .33 .33 0 00 0 0 1 0"></feColorMatrix><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="table" tableValues="'+J[0].r/255+" "+J[1].r/255+'"></feFuncR><feFuncG type="table" tableValues="'+J[0].g/255+" "+J[1].g/255+'"></feFuncG><feFuncB type="table" tableValues="'+J[0].b/255+" "+J[1].b/255+'"></feFuncB></feComponentTransfer> </filter>'),P='filter="url(#svg_image_duotone)"',Z+=O}return r=Ii(r),s!==void 0?Z+='<image xlink:href="'+r+'" x="'+v+'" y="'+_+'" width="'+y+'" height="'+I+'" preserveAspectRatio="none"'+(C?' transform="'+C+'"':"")+" "+g+" "+P+"></image>":d!==void 0&&d!=0?Z+='<image xlink:href="'+r+'" x="0" y="0" width="'+d+'" height="'+f+'" '+g+" "+P+"></image>":Z+='<image xlink:href="'+r+'" preserveAspectRatio="none" width="1" height="1" '+g+" "+P+"></image>",Z+="</pattern>",Z}async function Rk(e){try{let r=await self.createImageBitmap(Bk(e));return[r.width,r.height]}catch{return[1,1]}}function Bk(e){let r=e.split(","),t=r[0].match(/:(.*?);/)[1],a=atob(r[1]),s=a.length,n=new Uint8Array(s);for(;s--;)n[s]=a.charCodeAt(s);return new Blob([n],{type:t})}function Xp(e){for(var r="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(e),s=a.byteLength,n=s%3,i=s-n,o,d,f,c,l,g=0;g<i;g=g+3)l=a[g]<<16|a[g+1]<<8|a[g+2],o=(l&16515072)>>18,d=(l&258048)>>12,f=(l&4032)>>6,c=l&63,r+=t[o]+t[d]+t[f]+t[c];return n==1?(l=a[i],o=(l&252)>>2,d=(l&3)<<4,r+=t[o]+t[d]+"=="):n==2&&(l=a[i]<<8|a[i+1],o=(l&64512)>>10,d=(l&1008)>>4,f=(l&15)<<2,r+=t[o]+t[d]+t[f]+"="),r}function Dk(e){var r=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return r.test(e)}function zp(e){return e.substr((~-e.lastIndexOf(".")>>>0)+2)}function Nk(e){if(typeof e!="string")return"";var r=e.trim(),t=r.replace(/[\u0000-\u0020\u007f-\u009f]/g,"");return/^(?:https?|ftp|mailto|tel):/i.test(t)?r:/^(?:\/\/|\\)/.test(r)||/^[a-z][a-z0-9+.-]*:/i.test(t)?"":r}function N5(e){var r=String(e==null?"":e).trim();return/^[0-9a-f]{6}(?:[0-9a-f]{2})?$/i.test(r)?r:"000000"}function zk(e){return String(e==null?"":e).replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029;{}]/g," ").replace(/\s+/g," ").trim().slice(0,256)}function Ii(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'"};return String(e==null?"":e).replace(/[&<>"']/g,function(t){return r[t]})}var Ap="PptxDiagnosticError";function O5(e){if(e==null)return"";if(typeof e=="string")return e;if(e&&typeof e.message=="string"&&e.message)return e.message;try{let r=JSON.stringify(e);return r&&r!=="{}"?r:String(e)}catch{return String(e)}}function es(e,r,t,a,s){let n=O5(a);return{name:Ap,code:e,stage:r,message:t,detail:n,hint:s}}function Ck(e){return!!(e&&typeof e=="object"&&(e.name===Ap||e.code||e.stage))}function Ok(e,r="parse"){return Ck(e)?{name:Ap,code:e.code||"PPTX_PARSE_FAILED",stage:e.stage||r,message:e.message||"PPTX \u6587\u4EF6\u89E3\u6790\u5931\u8D25\u3002",detail:e.detail||O5(e),hint:e.hint}:es("PPTX_PARSE_FAILED",r,"PPTX \u6587\u4EF6\u89E3\u6790\u5931\u8D25\u3002",e,"\u8BF7\u786E\u8BA4\u6587\u4EF6\u662F\u5B8C\u6574\u7684 PowerPoint OpenXML \u6587\u4EF6\uFF0C\u5E76\u68C0\u67E5\u6D4F\u89C8\u5668\u63A7\u5236\u53F0\u4E2D\u7684\u539F\u59CB\u9519\u8BEF\u3002")}function z5(e,r,t,a,s,n){if(!e||!e.file(r))throw es(t,a,s,r,n)}function Kp(e,r){e(async({type:s,data:n,options:i,IE11:o})=>{if(s==="processPPTX")try{Fu.settings=i,Fu.processFullTheme=i.themeProcess,Fu.IE11=o,await a(n)}catch(d){console.error("AN ERROR HAPPENED DURING processPPTX",d),r({type:"ERROR",data:Ok(d)})}},s=>{r(s)});async function t(s){if(!s||typeof s.byteLength!="number"||s.byteLength<10)throw es("PPTX_FILE_EMPTY","read-zip","PPTX \u6587\u4EF6\u4E3A\u7A7A\u6216\u8FC7\u5C0F\uFF0C\u65E0\u6CD5\u8BFB\u53D6\u3002",`byteLength=${s&&typeof s.byteLength=="number"?s.byteLength:"unknown"}`,"\u8BF7\u68C0\u67E5\u6587\u4EF6\u662F\u5426\u4E0B\u8F7D\u5B8C\u6574\uFF0C\u6216\u670D\u52A1\u7AEF\u662F\u5426\u8FD4\u56DE\u4E86\u7A7A\u54CD\u5E94\u3002");try{return await C5.default.loadAsync(s)}catch(n){throw es("PPTX_INVALID_ZIP","read-zip","PPTX \u6587\u4EF6\u4E0D\u662F\u6709\u6548\u7684 OpenXML \u538B\u7F29\u5305\u3002",n,"\u8BF7\u786E\u8BA4\u6587\u4EF6\u6CA1\u6709\u635F\u574F\uFF0C\u4E14\u63A5\u53E3\u8FD4\u56DE\u7684\u4E0D\u662F HTML\u3001JSON\u3001\u767B\u5F55\u9875\u6216\u9519\u8BEF\u9875\u3002")}}async function a(s){j0.MsgQueue.length=0;let n=await t(s),i=new Date;z5(n,"[Content_Types].xml","PPTX_MISSING_CONTENT_TYPES","read-content-types","PPTX \u6587\u4EF6\u7F3A\u5C11 [Content_Types].xml\uFF0C\u65E0\u6CD5\u8BC6\u522B\u5185\u90E8\u7ED3\u6784\u3002","\u8FD9\u901A\u5E38\u8868\u793A\u6587\u4EF6\u4E0D\u662F\u6807\u51C6 PPTX\uFF0C\u6216\u4E0B\u8F7D/\u4E0A\u4F20\u8FC7\u7A0B\u4E2D\u5185\u5BB9\u88AB\u622A\u65AD\u3002"),z5(n,"ppt/presentation.xml","PPTX_MISSING_PRESENTATION","read-presentation","PPTX \u6587\u4EF6\u7F3A\u5C11 ppt/presentation.xml\uFF0C\u65E0\u6CD5\u8BFB\u53D6\u5E7B\u706F\u7247\u5217\u8868\u3002","\u8BF7\u786E\u8BA4\u6587\u4EF6\u662F PowerPoint \u6F14\u793A\u6587\u7A3F\uFF0C\u800C\u4E0D\u662F\u5176\u4ED6 Office/OpenXML \u6587\u4EF6\u3002");let o=b=>{d[b]&&f===b&&(r(d[f++]),delete d[b],o(f))},d={},f=-1;if(n.file("docProps/thumbnail.jpeg")){let b=await n.file("docProps/thumbnail.jpeg").async("base64");r({type:"pptx-thumb",data:b,slide_num:f++})}else f=0;let c=await L5(n),l=Array.isArray(c&&c.slides)?c.slides:[];if(!l.length)throw es("PPTX_NO_SLIDES","read-slide-list","PPTX \u6587\u4EF6\u4E2D\u6CA1\u6709\u627E\u5230\u53EF\u9884\u89C8\u7684\u5E7B\u706F\u7247\u3002","slides.length=0","\u8BF7\u786E\u8BA4\u6587\u4EF6\u5185\u5B58\u5728 ppt/slides/slide*.xml\uFF0C\u6216\u91CD\u65B0\u4FDD\u5B58\u6F14\u793A\u6587\u7A3F\u540E\u518D\u9884\u89C8\u3002");let g=await g5(n);Fu.tableStyles=await Kr(n,"ppt/tableStyles.xml"),console.log("slideSize: ",g),r({type:"slideSize",data:g,slide_num:f++});let m=l.length,p=0;for(let b=0;b<m;b++){let k=l[b];if(!n.file(k))throw es("PPTX_MISSING_SLIDE","read-slide",`PPTX \u6587\u4EF6\u7F3A\u5C11\u7B2C ${b+1} \u9875\u5E7B\u706F\u7247\u5185\u5BB9\u3002`,k,"\u8BF7\u786E\u8BA4 PPTX \u5305\u5185 slide \u6587\u4EF6\u5B8C\u6574\uFF0C\u6216\u91CD\u65B0\u4FDD\u5B58/\u91CD\u65B0\u4E0A\u4F20\u8BE5\u6587\u4EF6\u3002");let M=k.includes("/")?k.lastIndexOf("/")+1:0,v=k.includes(".")?k.lastIndexOf("."):k.length,_=k.substring(M,v),y=b+1,I,C=[];try{j0.MsgQueue.length=0;let R=await k5(n,k,b,g);C=j0.MsgQueue.splice(0),p+=1,I={type:"slide",data:R,slide_num:y,file_name:_}}catch(R){j0.MsgQueue.length=0,I={type:"slide-error",data:es("PPTX_SLIDE_RENDER_FAILED","render-slide",`PPTX \u7B2C ${y||b+1} \u9875\u89E3\u6790\u5931\u8D25\u3002`,R,`\u8BF7\u68C0\u67E5 ${k} \u53CA\u5176\u5173\u8054\u7684\u56FE\u7247\u3001\u4E3B\u9898\u3001\u5E03\u5C40\u6216\u56FE\u8868\u8D44\u6E90\u662F\u5426\u5B8C\u6574\u3002`),slide_num:y,file_name:_}}for(let R of C){let B=R.buffer instanceof ArrayBuffer?[R.buffer]:[];r({type:"media",data:R},B)}f===y?(r(I),o(++f)):d[y]=I,r({type:"progress-update",slide_num:m+b+1,data:(b+1)*100/m})}if(p===0)throw es("PPTX_NO_RENDERABLE_SLIDES","render-slide","PPTX \u4E2D\u6CA1\u6709\u53EF\u6210\u529F\u6E32\u67D3\u7684\u5E7B\u706F\u7247\u3002",`failedSlides=${m}`,"\u8BF7\u68C0\u67E5\u5E7B\u706F\u7247\u3001\u5E03\u5C40\u3001\u4E3B\u9898\u4EE5\u53CA\u5173\u8054\u8D44\u6E90\u662F\u5426\u5B8C\u6574\u3002");return r({type:"globalCSS",data:T5()}),r({type:"ExecutionTime",data:new Date-i,charts:Wp}),j0.MsgQueue.length=0,d}}Kp((e,r)=>{self.onmessage=t=>e(t.data),self.onerror=t=>r(t)},(e,r)=>{if(r!=null&&r.length){self.postMessage(e,r);return}self.postMessage(e)});
|
|
17
17
|
/*! Bundled license information:
|
|
18
18
|
|
|
19
19
|
jszip/dist/jszip.min.js:
|