File "datatables.min.js"
Full Path: /home/romayxjt/public_html/wp-content/plugins/elementskit-lite/widgets/init/assets/js/datatables.min.js
File size: 287.75 KB
MIME-type: application/octet-stream
Charset: utf-8
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){return o(e[a][1][t]||t)}),u,u.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){"use strict";var r=t("./utils"),o=t("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,o,a,s,l,d,u=[],c=0,f=t.length,h=f,p="string"!==r.getTypeOf(t);c<t.length;)h=f-c,o=p?(e=t[c++],n=c<f?t[c++]:0,c<f?t[c++]:0):(e=t.charCodeAt(c++),n=c<f?t.charCodeAt(c++):0,c<f?t.charCodeAt(c++):0),a=e>>2,s=(3&e)<<4|n>>4,l=1<h?(15&n)<<2|o>>6:64,d=2<h?63&o:64,u.push(i.charAt(a)+i.charAt(s)+i.charAt(l)+i.charAt(d));return u.join("")},n.decode=function(t){var e,n,r,a,s,l,d=0,u=0,c="data:";if(t.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===i.charAt(64)&&h--,t.charAt(t.length-2)===i.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=o.uint8array?new Uint8Array(0|h):new Array(0|h);d<t.length;)e=i.indexOf(t.charAt(d++))<<2|(a=i.indexOf(t.charAt(d++)))>>4,n=(15&a)<<4|(s=i.indexOf(t.charAt(d++)))>>2,r=(3&s)<<6|(l=i.indexOf(t.charAt(d++))),f[u++]=e,64!==s&&(f[u++]=n),64!==l&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(t,e,n){"use strict";var r=t("./external"),o=t("./stream/DataWorker"),i=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,n,r,o){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=o}s.prototype={getContentWorker:function(){var t=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new i).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){"use strict";var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){"use strict";var r=t("./utils"),o=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,n,r){var i=o,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,n,r){var i=o,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^i[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){"use strict";var r;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=t("pako"),i=t("./utils"),a=t("./stream/GenericWorker"),s=r?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new l("Deflate",t)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){"use strict";function r(t,e){var n,r="";for(n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r}function o(t,e,n,o,a,u){var c,f,h=t.file,p=t.compression,m=u!==s.utf8encode,g=i.transformTo("string",u(h.name)),b=i.transformTo("string",s.utf8encode(h.name)),v=h.comment,y=i.transformTo("string",u(v)),_=i.transformTo("string",s.utf8encode(v)),w=b.length!==h.name.length,x=_.length!==v.length,C="",S="",k="",T=h.dir,I=h.date,D={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||(D.crc32=t.crc32,D.compressedSize=t.compressedSize,D.uncompressedSize=t.uncompressedSize);var F=0;e&&(F|=8),m||!w&&!x||(F|=2048);var A=0,N=0;T&&(A|=16),"UNIX"===a?(N=798,A|=function(t,e){var n=t;return t||(n=e?16893:33204),(65535&n)<<16}(h.unixPermissions,T)):(N=20,A|=function(t){return 63&(t||0)}(h.dosPermissions)),c=I.getUTCHours(),c<<=6,c|=I.getUTCMinutes(),c<<=5,c|=I.getUTCSeconds()/2,f=I.getUTCFullYear()-1980,f<<=4,f|=I.getUTCMonth()+1,f<<=5,f|=I.getUTCDate(),w&&(S=r(1,1)+r(l(g),4)+b,C+="up"+r(S.length,2)+S),x&&(k=r(1,1)+r(l(y),4)+_,C+="uc"+r(k.length,2)+k);var E="";return E+="\n\0",E+=r(F,2),E+=p.magic,E+=r(c,2),E+=r(f,2),E+=r(D.crc32,4),E+=r(D.compressedSize,4),E+=r(D.uncompressedSize,4),E+=r(g.length,2),E+=r(C.length,2),{fileRecord:d.LOCAL_FILE_HEADER+E+g+C,dirRecord:d.CENTRAL_FILE_HEADER+r(N,2)+E+r(y.length,2)+"\0\0\0\0"+r(A,4)+r(o,4)+g+C+y}}var i=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),d=t("../signature");function u(t,e,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(u,a),u.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=o(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,n=o(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),e)this.push({data:function(t){return d.DATA_DESCRIPTOR+r(t.crc32,4)+r(t.compressedSize,4)+r(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n=this.bytesWritten-t,o=function(t,e,n,o,a){var s=i.transformTo("string",a(o));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(t,2)+r(t,2)+r(e,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,t,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){"use strict";var r=t("../compressions"),o=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var i=new o(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,n){a++;var o=function(t,e){var n=t||e,o=r[n];if(!o)throw new Error(n+" is not a valid compression method !");return o}(n.options.compression,e.compression),s=n.options.compressionOptions||e.compressionOptions||{},l=n.dir,d=n.date;n._compressWorker(o,s).withStreamInfo("file",{name:t,dir:l,date:d,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(i)})),i.entriesCount=a}catch(t){i.error(t)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){"use strict";function r(){if(!(this instanceof r))return new r;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 t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(r.prototype=t("./object")).loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.10.1",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){"use strict";var r=t("./utils"),o=t("./external"),i=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function d(t){return new o.Promise((function(e,n){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var n=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(t)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var n=new a(e);return n.load(t),n})).then((function(t){var n=[o.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var i=0;i<r.length;i++)n.push(d(r[i]));return o.Promise.all(n)})).then((function(t){for(var o=t.shift(),i=o.files,a=0;a<i.length;a++){var s=i[a],l=s.fileNameStr,d=r.resolve(s.fileNameStr);n.file(d,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(n.file(d).unsafeOriginalName=l)}return o.zipComment.length&&(n.comment=o.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){"use strict";var r=t("../utils"),o=t("../stream/GenericWorker");function i(t,e){o.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(i,o),i.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){"use strict";var r=t("readable-stream").Readable;function o(t,e,n){r.call(this,e),this._helper=t;var o=this;t.on("data",(function(t,e){o.push(t)||o._helper.pause(),n&&n(e)})).on("error",(function(t){o.emit("error",t)})).on("end",(function(){o.push(null)}))}t("../utils").inherits(o,r),o.prototype._read=function(){this._helper.resume()},e.exports=o},{"../utils":32,"readable-stream":16}],14:[function(t,e,n){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){"use strict";function r(t,e,n){var r,o=i.getTypeOf(e),s=i.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=m(t)),s.createFolders&&(r=p(t))&&g.call(this,r,!0);var c="string"===o&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!c),(e instanceof d&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",o="string");var b;b=e instanceof d||e instanceof a?e:f.isNode&&f.isStream(e)?new h(t,e):i.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var v=new u(t,b,s);this.files[t]=v}var o=t("./utf8"),i=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),d=t("./compressedObject"),u=t("./zipObject"),c=t("./generate"),f=t("./nodejsUtils"),h=t("./nodejs/NodejsStreamInputAdapter"),p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},g=function(t,e){return e=void 0!==e?e:l.createFolders,t=m(t),this.files[t]||r.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function b(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,r;for(e in this.files)r=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,r)},filter:function(t){var e=[];return this.forEach((function(n,r){t(n,r)&&e.push(r)})),e},file:function(t,e,n){if(1!==arguments.length)return t=this.root+t,r.call(this,t,e,n),this;if(b(t)){var o=t;return this.filter((function(t,e){return!e.dir&&o.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null},folder:function(t){if(!t)return this;if(b(t))return this.filter((function(e,n){return n.dir&&t.test(e)}));var e=this.root+t,n=g.call(this,e),r=this.clone();return r.root=n.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter((function(e,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=i.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");i.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";e=c.generateWorker(this,n,r)}catch(t){(e=new a("error")).error(t)}return new s(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.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(t,e,n){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){"use strict";var r=t("./DataReader");function o(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(o,r),o.prototype.byteAt=function(t){return this.data[this.zero+t]},o.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),o=t.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===e&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),o=t.charCodeAt(3),i=this.readData(4);return e===i[0]&&n===i[1]&&r===i[2]&&o===i[3]},o.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){"use strict";var r=t("../utils");function o(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=o},{"../utils":32}],19:[function(t,e,n){"use strict";var r=t("./Uint8ArrayReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){"use strict";var r=t("./DataReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},o.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},o.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){"use strict";var r=t("./ArrayReader");function o(t){r.call(this,t)}t("../utils").inherits(o,r),o.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){"use strict";var r=t("../utils"),o=t("../support"),i=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||o.uint8array?"nodebuffer"===e?new s(t):o.uint8array?new l(r.transformTo("uint8array",t)):new i(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){"use strict";var r=t("./GenericWorker"),o=t("../utils");function i(t){r.call(this,"ConvertWorker to "+t),this.destType=t}o.inherits(i,r),i.prototype.processChunk=function(t){this.push({data:o.transformTo(this.destType,t.data),meta:t.meta})},e.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){"use strict";var r=t("./GenericWorker"),o=t("../crc32");function i(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(i,r),i.prototype.processChunk=function(t){this.streamInfo.crc32=o(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(i,o),i.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}o.prototype.processChunk.call(this,t)},e.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){"use strict";function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),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 t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},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 t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,n){"use strict";var r=t("../utils"),o=t("./ConvertWorker"),i=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),d=null;if(s.nodestream)try{d=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,e,n){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=n,r.checkSupport(a),this._worker=t.pipe(new o(a)),t.lock()}catch(t){this._worker=new i("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return function(t,e){return new l.Promise((function(n,o){var i=[],s=t._internalType,l=t._outputType,d=t._mimeType;t.on("data",(function(t,n){i.push(t),e&&e(n)})).on("error",(function(t){i=[],o(t)})).on("end",(function(){try{var t=function(t,e,n){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),n);case"base64":return a.encode(e);default:return r.transformTo(t,e)}}(l,function(t,e){var n,r=0,o=null,i=0;for(n=0;n<e.length;n++)i+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(i),n=0;n<e.length;n++)o.set(e[n],r),r+=e[n].length;return o;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,i),d);n(t)}catch(t){o(t)}i=[]})).resume()}))}(this,t)},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,(function(t){e.call(n,t.data,t.meta)})):this._worker.on(t,(function(){r.delay(e,arguments,n)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(r),n.blob=0===o.getBlob("application/zip").size}catch(t){n.blob=!1}}}try{n.nodestream=!!t("readable-stream").Readable}catch(t){n.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){"use strict";for(var r=t("./utils"),o=t("./support"),i=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function d(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(t){return o.nodebuffer?i.newBufferFrom(t,"utf-8"):function(t){var e,n,r,i,a,s=t.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=o.uint8array?new Uint8Array(l):new Array(l),i=a=0;a<l;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return o.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,o,i,a=t.length,l=new Array(2*a);for(e=n=0;e<a;)if((o=t[e++])<128)l[n++]=o;else if(4<(i=s[o]))l[n++]=65533,e+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&e<a;)o=o<<6|63&t[e++],i--;1<i?l[n++]=65533:o<65536?l[n++]=o:(o-=65536,l[n++]=55296|o>>10&1023,l[n++]=56320|1023&o)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(t=r.transformTo(o.uint8array?"uint8array":"array",t))},r.inherits(d,a),d.prototype.processChunk=function(t){var e=r.transformTo(o.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=e;(e=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),e.set(i,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+s[t[n]]>e?n:e}(e),l=e;a!==e.length&&(o.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(l),meta:t.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=d,r.inherits(u,a),u.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){"use strict";var r=t("./support"),o=t("./base64"),i=t("./nodejsUtils"),a=t("./external");function s(t){return t}function l(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}t("setimmediate"),n.newBlob=function(e,r){n.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(e),o.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(t,e,n){var r=[],o=0,i=t.length;if(i<=n)return String.fromCharCode.apply(null,t);for(;o<i;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(o,Math.min(o+n,i)))):r.push(String.fromCharCode.apply(null,t.subarray(o,Math.min(o+n,i)))),o+=n;return r.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,r=n.getTypeOf(t),o=!0;if("uint8array"===r?o=d.applyCanBeUsed.uint8array:"nodebuffer"===r&&(o=d.applyCanBeUsed.nodebuffer),o)for(;1<e;)try{return d.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return d.stringifyByChar(t)}function c(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,i.allocBuffer(t.length))}},f.array={string:u,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return i.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:s},n.transformTo=function(t,e){if(e=e||"",!t)return e;n.checkSupport(t);var r=n.getTypeOf(e);return f[r][t](e)},n.resolve=function(t){for(var e=t.split("/"),n=[],r=0;r<e.length;r++){var o=e[r];"."===o||""===o&&0!==r&&r!==e.length-1||(".."===o?n.pop():n.push(o))}return n.join("/")},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&i.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return r},n.delay=function(t,e,n){setImmediate((function(){t.apply(n||null,e||[])}))},n.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,i,s,d){return a.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise((function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var u=n.getTypeOf(e);return u?("arraybuffer"===u?e=n.transformTo("uint8array",e):"string"===u&&(d?e=o.decode(e):i&&!0!==s&&(e=function(t){return l(t,r.uint8array?new Uint8Array(t.length):new Array(t.length))}(e))),e):a.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),o=t("./utils"),i=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(e)+", expected "+o.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(n),r},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 t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",n=o.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=e-n;if(0<r)this.isSignature(e,i.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){"use strict";var r=t("./reader/readerFor"),o=t("./utils"),i=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),d=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,n,r,o=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<o;)e=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[e]={id:e,length:n,value:r};t.setIndex(o)},handleUTF8:function(){var t=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=o.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=o.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){"use strict";function r(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var o=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");r.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(e=e.pipe(new a.Utf8EncodeWorker)),!i&&r&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new o(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<d.length;c++)r.prototype[d[c]]=u;e.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,n){(function(t){"use strict";var n,r,o=t.MutationObserver||t.WebKitMutationObserver;if(o){var i=0,a=new o(u),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var d=[];function u(){var t,e;r=!0;for(var n=d.length;n;){for(e=d,d=[],t=-1;++t<n;)e[t]();n=d.length}r=!1}e.exports=function(t){1!==d.push(t)||r||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){"use strict";var r=t("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function d(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==o&&h(this,t)}function u(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function c(t,e,n){r((function(){var r;try{r=e(n)}catch(r){return i.reject(t,r)}r===t?i.reject(t,new TypeError("Cannot resolve promise with itself")):i.resolve(t,r)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function h(t,e){var n=!1;function r(e){n||(n=!0,i.reject(t,e))}function o(e){n||(n=!0,i.resolve(t,e))}var a=p((function(){e(o,r)}));"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}(e.exports=d).prototype["finally"]=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){throw n}))}))},d.prototype["catch"]=function(t){return this.then(null,t)},d.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(o);return this.state!==l?c(n,this.state===s?t:e,this.outcome):this.queue.push(new u(n,t,e)),n},u.prototype.callFulfilled=function(t){i.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){i.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},i.resolve=function(t,e){var n=p(f,e);if("error"===n.status)return i.reject(t,n.value);var r=n.value;if(r)h(t,r);else{t.state=s,t.outcome=e;for(var o=-1,a=t.queue.length;++o<a;)t.queue[o].callFulfilled(e)}return t},i.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},d.resolve=function(t){return t instanceof this?t:i.resolve(new this(o),t)},d.reject=function(t){var e=new this(o);return i.reject(e,t)},d.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,d=new this(o);++l<n;)u(t[l],l);return d;function u(t,o){e.resolve(t).then((function(t){a[o]=t,++s!==n||r||(r=!0,i.resolve(d,a))}),(function(t){r||(r=!0,i.reject(d,t))}))}},d.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,n=!1;if(!e)return this.resolve([]);for(var r,a=-1,s=new this(o);++a<e;)r=t[a],this.resolve(r).then((function(t){n||(n=!0,i.resolve(s,t))}),(function(t){n||(n=!0,i.reject(s,t))}));return s}},{immediate:36}],38:[function(t,e,n){"use strict";var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){"use strict";var r=t("./zlib/deflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString;function d(t){if(!(this instanceof d))return new d(t);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==n)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var u;if(u="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(n=r.deflateSetDictionary(this.strm,u)))throw new Error(a[n]);this._dict_set=!0}}function u(t,e){var n=new d(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(t,e){var n,a,s=this.strm,d=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=i.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new o.Buf8(d),s.next_out=0,s.avail_out=d),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(s.output,s.next_out))):this.onData(o.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),!(s.avail_out=0))},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=d,n.deflate=u,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,u(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,u(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){"use strict";var r=t("./zlib/inflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),d=t("./zlib/gzheader"),u=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new d,r.inflateGetHeader(this.strm,this.header)}function f(t,e){var n=new c(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}c.prototype.push=function(t,e){var n,s,l,d,c,f,h=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?h.input=i.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new o.Buf8(p),h.next_out=0,h.avail_out=p),(n=r.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&m&&(f="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,f)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);h.next_out&&(0!==h.avail_out&&n!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=i.utf8border(h.output,h.next_out),d=h.next_out-l,c=i.buf2string(h.output,l),h.next_out=d,h.avail_out=p-d,d&&o.arraySet(h.output,h.output,l,d,0),this.onData(c)):this.onData(o.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((0<h.avail_in||0===h.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(h.avail_out=0))},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=c,n.inflate=f,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,n,r,o){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),o);else for(var i=0;i<r;i++)t[o+i]=e[n+i]},flattenChunks:function(t){var e,n,r,o,i,a;for(e=r=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),e=o=0,n=t.length;e<n;e++)i=t[e],a.set(i,o),o+=i.length;return a}},i={arraySet:function(t,e,n,r,o){for(var i=0;i<r;i++)t[o+i]=e[n+i]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],42:[function(t,e,n){"use strict";var r=t("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(t){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){i=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(t,e){if(e<65537&&(t.subarray&&i||!t.subarray&&o))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,o,i,a,s=t.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(l),i=a=0;a<l;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(o=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(o-56320),i++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return l(t,t.length)},n.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,o=e.length;n<o;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,r,o,i,s=e||t.length,d=new Array(2*s);for(n=r=0;n<s;)if((o=t[n++])<128)d[r++]=o;else if(4<(i=a[o]))d[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&n<s;)o=o<<6|63&t[n++],i--;1<i?d[r++]=65533:o<65536?d[r++]=o:(o-=65536,d[r++]=55296|o>>10&1023,d[r++]=56320|1023&o)}return l(d,r)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){"use strict";e.exports=function(t,e,n,r){for(var o=65535&t|0,i=t>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;i=i+(o=o+e[r++]|0)|0,--a;);o%=65521,i%=65521}return o|i<<16|0}},{}],44:[function(t,e,n){"use strict";e.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(t,e,n){"use strict";var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,o){var i=r,a=o+n;t^=-1;for(var s=o;s<a;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,n){"use strict";var r,o=t("../utils/common"),i=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),d=-2,u=258,c=262,f=113;function h(t,e){return t.msg=l[e],e}function p(t){return(t<<1)-(4<t?9:0)}function m(t){for(var e=t.length;0<=--e;)t[e]=0}function g(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(o.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function b(t,e){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,g(t.strm)}function v(t,e){t.pending_buf[t.pending++]=e}function y(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function _(t,e){var n,r,o=t.max_chain_length,i=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-c?t.strstart-(t.w_size-c):0,d=t.window,f=t.w_mask,h=t.prev,p=t.strstart+u,m=d[i+a-1],g=d[i+a];t.prev_length>=t.good_match&&(o>>=2),s>t.lookahead&&(s=t.lookahead);do{if(d[(n=e)+a]===g&&d[n+a-1]===m&&d[n]===d[i]&&d[++n]===d[i+1]){i+=2,n++;do{}while(d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&d[++i]===d[++n]&&i<p);if(r=u-(p-i),i=p-u,a<r){if(t.match_start=e,s<=(a=r))break;m=d[i+a-1],g=d[i+a]}}}while((e=h[e&f])>l&&0!=--o);return a<=t.lookahead?a:t.lookahead}function w(t){var e,n,r,i,l,d,u,f,h,p,m=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=m+(m-c)){for(o.arraySet(t.window,t.window,m,m,0),t.match_start-=m,t.strstart-=m,t.block_start-=m,e=n=t.hash_size;r=t.head[--e],t.head[e]=m<=r?r-m:0,--n;);for(e=n=m;r=t.prev[--e],t.prev[e]=m<=r?r-m:0,--n;);i+=m}if(0===t.strm.avail_in)break;if(d=t.strm,u=t.window,f=t.strstart+t.lookahead,p=void 0,(h=i)<(p=d.avail_in)&&(p=h),n=0===p?0:(d.avail_in-=p,o.arraySet(u,d.input,d.next_in,p,f),1===d.state.wrap?d.adler=a(d.adler,u,p,f):2===d.state.wrap&&(d.adler=s(d.adler,u,p,f)),d.next_in+=p,d.total_in+=p,p),t.lookahead+=n,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<c&&0!==t.strm.avail_in)}function x(t,e){for(var n,r;;){if(t.lookahead<c){if(w(t),t.lookahead<c&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-c&&(t.match_length=_(t,n)),t.match_length>=3)if(r=i._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(b(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(b(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(b(t,!1),0===t.strm.avail_out)?1:2}function C(t,e){for(var n,r,o;;){if(t.lookahead<c){if(w(t),t.lookahead<c&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-c&&(t.match_length=_(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&4096<t.strstart-t.match_start)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){for(o=t.strstart+t.lookahead-3,r=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(b(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=i._tr_tally(t,0,t.window[t.strstart-1]))&&b(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(b(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(b(t,!1),0===t.strm.avail_out)?1:2}function S(t,e,n,r,o){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=o}function k(){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=8,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 o.Buf16(1146),this.dyn_dtree=new o.Buf16(122),this.bl_tree=new o.Buf16(78),m(this.dyn_ltree),m(this.dyn_dtree),m(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(16),this.heap=new o.Buf16(573),m(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(573),m(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 T(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:f,t.adler=2===e.wrap?0:1,e.last_flush=0,i._tr_init(e),0):h(t,d)}function I(t){var e=T(t);return 0===e&&function(t){t.window_size=2*t.w_size,m(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0}(t.state),e}function D(t,e,n,r,i,a){if(!t)return d;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),i<1||9<i||8!==n||r<8||15<r||e<0||9<e||a<0||4<a)return h(t,d);8===r&&(r=9);var l=new k;return(t.state=l).strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new o.Buf8(2*l.w_size),l.head=new o.Buf16(l.hash_size),l.prev=new o.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new o.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,I(t)}r=[new S(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(w(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,b(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-c&&(b(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(b(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(b(t,!1),t.strm.avail_out),1)})),new S(4,4,8,4,x),new S(4,5,16,8,x),new S(4,6,32,32,x),new S(4,4,16,16,C),new S(8,16,32,32,C),new S(8,16,128,128,C),new S(8,32,128,256,C),new S(32,128,258,1024,C),new S(32,258,258,4096,C)],n.deflateInit=function(t,e){return D(t,e,8,15,8,0)},n.deflateInit2=D,n.deflateReset=I,n.deflateResetKeep=T,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?d:(t.state.gzhead=e,0):d},n.deflate=function(t,e){var n,o,a,l;if(!t||!t.state||5<e||e<0)return t?h(t,d):d;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||666===o.status&&4!==e)return h(t,0===t.avail_out?-5:d);if(o.strm=t,n=o.last_flush,o.last_flush=e,42===o.status)if(2===o.wrap)t.adler=0,v(o,31),v(o,139),v(o,8),o.gzhead?(v(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),v(o,255&o.gzhead.time),v(o,o.gzhead.time>>8&255),v(o,o.gzhead.time>>16&255),v(o,o.gzhead.time>>24&255),v(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),v(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(v(o,255&o.gzhead.extra.length),v(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=s(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(v(o,0),v(o,0),v(o,0),v(o,0),v(o,0),v(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),v(o,3),o.status=f);else{var c=8+(o.w_bits-8<<4)<<8;c|=(2<=o.strategy||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(c|=32),c+=31-c%31,o.status=f,y(o,c),0!==o.strstart&&(y(o,t.adler>>>16),y(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),g(t),a=o.pending,o.pending!==o.pending_buf_size));)v(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),g(t),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,v(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),g(t),a=o.pending,o.pending===o.pending_buf_size)){l=1;break}l=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,v(o,l)}while(0!==l);o.gzhead.hcrc&&o.pending>a&&(t.adler=s(t.adler,o.pending_buf,o.pending-a,a)),0===l&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&g(t),o.pending+2<=o.pending_buf_size&&(v(o,255&t.adler),v(o,t.adler>>8&255),t.adler=0,o.status=f)):o.status=f),0!==o.pending){if(g(t),0===t.avail_out)return o.last_flush=-1,0}else if(0===t.avail_in&&p(e)<=p(n)&&4!==e)return h(t,-5);if(666===o.status&&0!==t.avail_in)return h(t,-5);if(0!==t.avail_in||0!==o.lookahead||0!==e&&666!==o.status){var _=2===o.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(w(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(b(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(b(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(b(t,!1),0===t.strm.avail_out)?1:2}(o,e):3===o.strategy?function(t,e){for(var n,r,o,a,s=t.window;;){if(t.lookahead<=u){if(w(t),t.lookahead<=u&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(r=s[o=t.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){a=t.strstart+u;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);t.match_length=u-(a-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=i._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(b(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(b(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(b(t,!1),0===t.strm.avail_out)?1:2}(o,e):r[o.level].func(o,e);if(3!==_&&4!==_||(o.status=666),1===_||3===_)return 0===t.avail_out&&(o.last_flush=-1),0;if(2===_&&(1===e?i._tr_align(o):5!==e&&(i._tr_stored_block(o,0,0,!1),3===e&&(m(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),g(t),0===t.avail_out))return o.last_flush=-1,0}return 4!==e?0:o.wrap<=0?1:(2===o.wrap?(v(o,255&t.adler),v(o,t.adler>>8&255),v(o,t.adler>>16&255),v(o,t.adler>>24&255),v(o,255&t.total_in),v(o,t.total_in>>8&255),v(o,t.total_in>>16&255),v(o,t.total_in>>24&255)):(y(o,t.adler>>>16),y(o,65535&t.adler)),g(t),0<o.wrap&&(o.wrap=-o.wrap),0!==o.pending?0:1)},n.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&e!==f&&666!==e?h(t,d):(t.state=null,e===f?h(t,-3):0):d},n.deflateSetDictionary=function(t,e){var n,r,i,s,l,u,c,f,h=e.length;if(!t||!t.state)return d;if(2===(s=(n=t.state).wrap)||1===s&&42!==n.status||n.lookahead)return d;for(1===s&&(t.adler=a(t.adler,e,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new o.Buf8(n.w_size),o.arraySet(f,e,h-n.w_size,n.w_size,0),e=f,h=n.w_size),l=t.avail_in,u=t.next_in,c=t.input,t.avail_in=h,t.next_in=0,t.input=e,w(n);n.lookahead>=3;){for(r=n.strstart,i=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--i;);n.strstart=r,n.lookahead=2,w(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=u,t.input=c,t.avail_in=l,n.wrap=s,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){"use strict";e.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(t,e,n){"use strict";e.exports=function(t,e){var n,r,o,i,a,s,l,d,u,c,f,h,p,m,g,b,v,y,_,w,x,C,S,k,T;n=t.state,r=t.next_in,k=t.input,o=r+(t.avail_in-5),i=t.next_out,T=t.output,a=i-(e-t.avail_out),s=i+(t.avail_out-257),l=n.dmax,d=n.wsize,u=n.whave,c=n.wnext,f=n.window,h=n.hold,p=n.bits,m=n.lencode,g=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;t:do{p<15&&(h+=k[r++]<<p,p+=8,h+=k[r++]<<p,p+=8),y=m[h&b];e:for(;;){if(h>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))T[i++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=m[(65535&y)+(h&(1<<_)-1)];continue e}if(32&_){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}w=65535&y,(_&=15)&&(p<_&&(h+=k[r++]<<p,p+=8),w+=h&(1<<_)-1,h>>>=_,p-=_),p<15&&(h+=k[r++]<<p,p+=8,h+=k[r++]<<p,p+=8),y=g[h&v];n:for(;;){if(h>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(x=65535&y,p<(_&=15)&&(h+=k[r++]<<p,(p+=8)<_&&(h+=k[r++]<<p,p+=8)),l<(x+=h&(1<<_)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(h>>>=_,p-=_,(_=i-a)<x){if(u<(_=x-_)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(S=f,(C=0)===c){if(C+=d-_,_<w){for(w-=_;T[i++]=f[C++],--_;);C=i-x,S=T}}else if(c<_){if(C+=d+c-_,(_-=c)<w){for(w-=_;T[i++]=f[C++],--_;);if(C=0,c<w){for(w-=_=c;T[i++]=f[C++],--_;);C=i-x,S=T}}}else if(C+=c-_,_<w){for(w-=_;T[i++]=f[C++],--_;);C=i-x,S=T}for(;2<w;)T[i++]=S[C++],T[i++]=S[C++],T[i++]=S[C++],w-=3;w&&(T[i++]=S[C++],1<w&&(T[i++]=S[C++]))}else{for(C=i-x;T[i++]=T[C++],T[i++]=T[C++],T[i++]=T[C++],2<(w-=3););w&&(T[i++]=T[C++],1<w&&(T[i++]=T[C++]))}break}}break}}while(r<o&&i<s);r-=w=p>>3,h&=(1<<(p-=w<<3))-1,t.next_in=r,t.next_out=i,t.avail_in=r<o?o-r+5:5-(r-o),t.avail_out=i<s?s-i+257:257-(i-s),n.hold=h,n.bits=p}},{}],49:[function(t,e,n){"use strict";var r=t("../utils/common"),o=t("./adler32"),i=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=-2;function d(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(852),e.distcode=e.distdyn=new r.Buf32(592),e.sane=1,e.back=-1,0):l}function f(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,c(t)):l}function h(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?l:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,f(t))):l}function p(t,e){var n,r;return t?(r=new u,(t.state=r).window=null,0!==(n=h(t,e))&&(t.state=null),n):l}var m,g,b=!0;function v(t){if(b){var e;for(m=new r.Buf32(512),g=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,m,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,g,0,t.work,{bits:5}),b=!1}t.lencode=m,t.lenbits=9,t.distcode=g,t.distbits=5}function y(t,e,n,o){var i,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),o>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(o<(i=a.wsize-a.wnext)&&(i=o),r.arraySet(a.window,e,n-o,i,a.wnext),(o-=i)?(r.arraySet(a.window,e,n-o,o,0),a.wnext=o,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}n.inflateReset=f,n.inflateReset2=h,n.inflateResetKeep=c,n.inflateInit=function(t){return p(t,15)},n.inflateInit2=p,n.inflate=function(t,e){var n,u,c,f,h,p,m,g,b,_,w,x,C,S,k,T,I,D,F,A,N,E,O,B,z=0,R=new r.Buf8(4),L=[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&&0!==t.avail_in)return l;12===(n=t.state).mode&&(n.mode=13),h=t.next_out,c=t.output,m=t.avail_out,f=t.next_in,u=t.input,p=t.avail_in,g=n.hold,b=n.bits,_=p,w=m,E=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;b<16;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(2&n.wrap&&35615===g){R[n.check=0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0),b=g=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){t.msg="unknown compression method",n.mode=30;break}if(b-=4,N=8+(15&(g>>>=4)),0===n.wbits)n.wbits=N;else if(N>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<N,t.adler=n.check=1,n.mode=512&g?10:12,b=g=0;break;case 2:for(;b<16;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(n.flags=g,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),b=g=0,n.mode=3;case 3:for(;b<32;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.head&&(n.head.time=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,R[2]=g>>>16&255,R[3]=g>>>24&255,n.check=i(n.check,R,4,0)),b=g=0,n.mode=4;case 4:for(;b<16;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),b=g=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(R[0]=255&g,R[1]=g>>>8&255,n.check=i(n.check,R,2,0)),b=g=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(N=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,u,f,x,N)),512&n.flags&&(n.check=i(n.check,u,x,f)),p-=x,f+=x,n.length-=x),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break t;for(x=0;N=u[f+x++],n.head&&N&&n.length<65536&&(n.head.name+=String.fromCharCode(N)),N&&x<p;);if(512&n.flags&&(n.check=i(n.check,u,x,f)),p-=x,f+=x,N)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===p)break t;for(x=0;N=u[f+x++],n.head&&N&&n.length<65536&&(n.head.comment+=String.fromCharCode(N)),N&&x<p;);if(512&n.flags&&(n.check=i(n.check,u,x,f)),p-=x,f+=x,N)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;b<16;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(g!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}b=g=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}t.adler=n.check=d(g),b=g=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=h,t.avail_out=m,t.next_in=f,t.avail_in=p,n.hold=g,n.bits=b,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){g>>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}switch(n.last=1&g,b-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6!==e)break;g>>>=2,b-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}g>>>=2,b-=2;break;case 14:for(g>>>=7&b,b-=7&b;b<32;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if((65535&g)!=(g>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,b=g=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(x=n.length){if(p<x&&(x=p),m<x&&(x=m),0===x)break t;r.arraySet(c,u,f,x,h),p-=x,f+=x,m-=x,h+=x,n.length-=x;break}n.mode=12;break;case 17:for(;b<14;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(n.nlen=257+(31&g),g>>>=5,b-=5,n.ndist=1+(31&g),g>>>=5,b-=5,n.ncode=4+(15&g),g>>>=4,b-=4,286<n.nlen||30<n.ndist){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;b<3;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.lens[L[n.have++]]=7&g,g>>>=3,b-=3}for(;n.have<19;)n.lens[L[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,O={bits:n.lenbits},E=s(0,n.lens,0,19,n.lencode,0,n.work,O),n.lenbits=O.bits,E){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;T=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,I=65535&z,!((k=z>>>24)<=b);){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(I<16)g>>>=k,b-=k,n.lens[n.have++]=I;else{if(16===I){for(B=k+2;b<B;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(g>>>=k,b-=k,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}N=n.lens[n.have-1],x=3+(3&g),g>>>=2,b-=2}else if(17===I){for(B=k+3;b<B;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}b-=k,N=0,x=3+(7&(g>>>=k)),g>>>=3,b-=3}else{for(B=k+7;b<B;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}b-=k,N=0,x=11+(127&(g>>>=k)),g>>>=7,b-=7}if(n.have+x>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=N}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,O={bits:n.lenbits},E=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,O),n.lenbits=O.bits,E){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,O={bits:n.distbits},E=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,O),n.distbits=O.bits,E){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=p&&258<=m){t.next_out=h,t.avail_out=m,t.next_in=f,t.avail_in=p,n.hold=g,n.bits=b,a(t,w),h=t.next_out,c=t.output,m=t.avail_out,f=t.next_in,u=t.input,p=t.avail_in,g=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;T=(z=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,I=65535&z,!((k=z>>>24)<=b);){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(T&&0==(240&T)){for(D=k,F=T,A=I;T=(z=n.lencode[A+((g&(1<<D+F)-1)>>D)])>>>16&255,I=65535&z,!(D+(k=z>>>24)<=b);){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}g>>>=D,b-=D,n.back+=D}if(g>>>=k,b-=k,n.back+=k,n.length=I,0===T){n.mode=26;break}if(32&T){n.back=-1,n.mode=12;break}if(64&T){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&T,n.mode=22;case 22:if(n.extra){for(B=n.extra;b<B;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;T=(z=n.distcode[g&(1<<n.distbits)-1])>>>16&255,I=65535&z,!((k=z>>>24)<=b);){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(0==(240&T)){for(D=k,F=T,A=I;T=(z=n.distcode[A+((g&(1<<D+F)-1)>>D)])>>>16&255,I=65535&z,!(D+(k=z>>>24)<=b);){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}g>>>=D,b-=D,n.back+=D}if(g>>>=k,b-=k,n.back+=k,64&T){t.msg="invalid distance code",n.mode=30;break}n.offset=I,n.extra=15&T,n.mode=24;case 24:if(n.extra){for(B=n.extra;b<B;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break t;if(x=w-m,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}C=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),S=n.window}else S=c,C=h-n.offset,x=n.length;for(m<x&&(x=m),m-=x,n.length-=x;c[h++]=S[C++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===m)break t;c[h++]=n.length,m--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===p)break t;p--,g|=u[f++]<<b,b+=8}if(w-=m,t.total_out+=w,n.total+=w,w&&(t.adler=n.check=n.flags?i(n.check,c,w,h-w):o(n.check,c,w,h-w)),w=m,(n.flags?g:d(g))!==n.check){t.msg="incorrect data check",n.mode=30;break}b=g=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;b<32;){if(0===p)break t;p--,g+=u[f++]<<b,b+=8}if(g!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}b=g=0}n.mode=29;case 29:E=1;break t;case 30:E=-3;break t;case 31:return-4;default:return l}return t.next_out=h,t.avail_out=m,t.next_in=f,t.avail_in=p,n.hold=g,n.bits=b,(n.wsize||w!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&y(t,t.output,t.next_out,w-t.avail_out)?(n.mode=31,-4):(_-=t.avail_in,w-=t.avail_out,t.total_in+=_,t.total_out+=w,n.total+=w,n.wrap&&w&&(t.adler=n.check=n.flags?i(n.check,c,w,t.next_out-w):o(n.check,c,w,t.next_out-w)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==_&&0===w||4===e)&&0===E&&(E=-5),E)},n.inflateEnd=function(t){if(!t||!t.state)return l;var e=t.state;return e.window&&(e.window=null),t.state=null,0},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?l:((n.head=e).done=!1,0):l},n.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?l:11===n.mode&&o(1,e,r,0)!==n.check?-3:y(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,0):l},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){"use strict";var r=t("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[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],s=[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];e.exports=function(t,e,n,l,d,u,c,f){var h,p,m,g,b,v,y,_,w,x=f.bits,C=0,S=0,k=0,T=0,I=0,D=0,F=0,A=0,N=0,E=0,O=null,B=0,z=new r.Buf16(16),R=new r.Buf16(16),L=null,j=0;for(C=0;C<=15;C++)z[C]=0;for(S=0;S<l;S++)z[e[n+S]]++;for(I=x,T=15;1<=T&&0===z[T];T--);if(T<I&&(I=T),0===T)return d[u++]=20971520,d[u++]=20971520,f.bits=1,0;for(k=1;k<T&&0===z[k];k++);for(I<k&&(I=k),C=A=1;C<=15;C++)if(A<<=1,(A-=z[C])<0)return-1;if(0<A&&(0===t||1!==T))return-1;for(R[1]=0,C=1;C<15;C++)R[C+1]=R[C]+z[C];for(S=0;S<l;S++)0!==e[n+S]&&(c[R[e[n+S]]++]=S);if(v=0===t?(O=L=c,19):1===t?(O=o,B-=257,L=i,j-=257,256):(O=a,L=s,-1),C=k,b=u,F=S=E=0,m=-1,g=(N=1<<(D=I))-1,1===t&&852<N||2===t&&592<N)return 1;for(;;){for(y=C-F,w=c[S]<v?(_=0,c[S]):c[S]>v?(_=L[j+c[S]],O[B+c[S]]):(_=96,0),h=1<<C-F,k=p=1<<D;d[b+(E>>F)+(p-=h)]=y<<24|_<<16|w|0,0!==p;);for(h=1<<C-1;E&h;)h>>=1;if(0!==h?(E&=h-1,E+=h):E=0,S++,0==--z[C]){if(C===T)break;C=e[n+c[S]]}if(I<C&&(E&g)!==m){for(0===F&&(F=I),b+=k,A=1<<(D=C-F);D+F<T&&!((A-=z[D+F])<=0);)D++,A<<=1;if(N+=1<<D,1===t&&852<N||2===t&&592<N)return 1;d[m=E&g]=I<<24|D<<16|b-u|0}}return 0!==E&&(d[b+E]=C-F<<24|64<<16|0),f.bits=I,0}},{"../utils/common":41}],51:[function(t,e,n){"use strict";e.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(t,e,n){"use strict";var r=t("../utils/common");function o(t){for(var e=t.length;0<=--e;)t[e]=0}var i=256,a=286,s=30,l=15,d=[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],u=[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],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);o(h);var p=new Array(60);o(p);var m=new Array(512);o(m);var g=new Array(256);o(g);var b=new Array(29);o(b);var v,y,_,w=new Array(s);function x(t,e,n,r,o){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=t&&t.length}function C(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function S(t){return t<256?m[t]:m[256+(t>>>7)]}function k(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function T(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function I(t,e,n){T(t,n[2*e],n[2*e+1])}function D(t,e){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--e;);return n>>>1}function F(t,e,n){var r,o,i=new Array(16),a=0;for(r=1;r<=l;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=e;o++){var s=t[2*o+1];0!==s&&(t[2*o]=D(i[s]++,s))}}function A(t){var e;for(e=0;e<a;e++)t.dyn_ltree[2*e]=0;for(e=0;e<s;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function N(t){8<t.bi_valid?k(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function E(t,e,n,r){var o=2*e,i=2*n;return t[o]<t[i]||t[o]===t[i]&&r[e]<=r[n]}function O(t,e,n){for(var r=t.heap[n],o=n<<1;o<=t.heap_len&&(o<t.heap_len&&E(e,t.heap[o+1],t.heap[o],t.depth)&&o++,!E(e,r,t.heap[o],t.depth));)t.heap[n]=t.heap[o],n=o,o<<=1;t.heap[n]=r}function B(t,e,n){var r,o,a,s,l=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],o=t.pending_buf[t.l_buf+l],l++,0===r?I(t,o,e):(I(t,(a=g[o])+i+1,e),0!==(s=d[a])&&T(t,o-=b[a],s),I(t,a=S(--r),n),0!==(s=u[a])&&T(t,r-=w[a],s)),l<t.last_lit;);I(t,256,e)}function z(t,e){var n,r,o,i=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,d=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<d;n++)0!==i[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):i[2*n+1]=0;for(;t.heap_len<2;)i[2*(o=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[o]=0,t.opt_len--,s&&(t.static_len-=a[2*o+1]);for(e.max_code=u,n=t.heap_len>>1;1<=n;n--)O(t,i,n);for(o=d;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],O(t,i,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,i[2*o]=i[2*n]+i[2*r],t.depth[o]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,i[2*n+1]=i[2*r+1]=o,t.heap[1]=o++,O(t,i,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,o,i,a,s,d=e.dyn_tree,u=e.max_code,c=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,m=e.stat_desc.max_length,g=0;for(i=0;i<=l;i++)t.bl_count[i]=0;for(d[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)m<(i=d[2*d[2*(r=t.heap[n])+1]+1]+1)&&(i=m,g++),d[2*r+1]=i,u<r||(t.bl_count[i]++,a=0,p<=r&&(a=h[r-p]),s=d[2*r],t.opt_len+=s*(i+a),f&&(t.static_len+=s*(c[2*r+1]+a)));if(0!==g){do{for(i=m-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[m]--,g-=2}while(0<g);for(i=m;0!==i;i--)for(r=t.bl_count[i];0!==r;)u<(o=t.heap[--n])||(d[2*o+1]!==i&&(t.opt_len+=(i-d[2*o+1])*d[2*o],d[2*o+1]=i),r--)}}(t,e),F(i,u,t.bl_count)}function R(t,e,n){var r,o,i=-1,a=e[1],s=0,l=7,d=4;for(0===a&&(l=138,d=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=e[2*(r+1)+1],++s<l&&o===a||(s<d?t.bl_tree[2*o]+=s:0!==o?(o!==i&&t.bl_tree[2*o]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,i=o,d=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4))}function L(t,e,n){var r,o,i=-1,a=e[1],s=0,l=7,d=4;for(0===a&&(l=138,d=3),r=0;r<=n;r++)if(o=a,a=e[2*(r+1)+1],!(++s<l&&o===a)){if(s<d)for(;I(t,o,t.bl_tree),0!=--s;);else 0!==o?(o!==i&&(I(t,o,t.bl_tree),s--),I(t,16,t.bl_tree),T(t,s-3,2)):s<=10?(I(t,17,t.bl_tree),T(t,s-3,3)):(I(t,18,t.bl_tree),T(t,s-11,7));i=o,d=(s=0)===a?(l=138,3):o===a?(l=6,3):(l=7,4)}}o(w);var j=!1;function P(t,e,n,o){T(t,0+(o?1:0),3),function(t,e,n,o){N(t),k(t,n),k(t,~n),r.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n)}n._tr_init=function(t){j||(function(){var t,e,n,r,o,i=new Array(16);for(r=n=0;r<28;r++)for(b[r]=n,t=0;t<1<<d[r];t++)g[n++]=r;for(g[n-1]=r,r=o=0;r<16;r++)for(w[r]=o,t=0;t<1<<u[r];t++)m[o++]=r;for(o>>=7;r<s;r++)for(w[r]=o<<7,t=0;t<1<<u[r]-7;t++)m[256+o++]=r;for(e=0;e<=l;e++)i[e]=0;for(t=0;t<=143;)h[2*t+1]=8,t++,i[8]++;for(;t<=255;)h[2*t+1]=9,t++,i[9]++;for(;t<=279;)h[2*t+1]=7,t++,i[7]++;for(;t<=287;)h[2*t+1]=8,t++,i[8]++;for(F(h,287,i),t=0;t<s;t++)p[2*t+1]=5,p[2*t]=D(t,5);v=new x(h,d,257,a,l),y=new x(p,u,0,s,l),_=new x(new Array(0),c,0,19,7)}(),j=!0),t.l_desc=new C(t.dyn_ltree,v),t.d_desc=new C(t.dyn_dtree,y),t.bl_desc=new C(t.bl_tree,_),t.bi_buf=0,t.bi_valid=0,A(t)},n._tr_stored_block=P,n._tr_flush_block=function(t,e,n,r){var o,a,s=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<i;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),z(t,t.l_desc),z(t,t.d_desc),s=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),z(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*f[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!==e?P(t,e,n,r):4===t.strategy||a===o?(T(t,2+(r?1:0),3),B(t,h,p)):(T(t,4+(r?1:0),3),function(t,e,n,r){var o;for(T(t,e-257,5),T(t,n-1,5),T(t,r-4,4),o=0;o<r;o++)T(t,t.bl_tree[2*f[o]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),B(t,t.dyn_ltree,t.dyn_dtree)),A(t),r&&N(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(g[n]+i+1)]++,t.dyn_dtree[2*S(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){T(t,2,3),I(t,256,h),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,e,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,n){(function(t){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a=1,s={},l=!1,d=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,n="[object process]"==={}.toString.call(t.process)?function(t){process.nextTick((function(){f(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",h,!1):t.attachEvent("onmessage",h),function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){f(t.data)},function(t){o.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,function(t){var e=d.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(f,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var o={callback:t,args:e};return s[a]=o,n(a),a++},u.clearImmediate=c}function c(t){delete s[t]}function f(t){if(l)setTimeout(f,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(undefined,n)}}(e)}finally{c(t),l=!1}}}}function h(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&f(+e.data.slice(i.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)})),function(t){"use strict";var e;"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),"undefined"==typeof window?module.exports=function(n,r){return n=n||window,r=r||e(n),t(r,n,n.document)}:module.exports=t(e,window,window.document)):window.DataTable=t(jQuery,window,document)}((function(t,e,n){"use strict";function r(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function o(t,e,n,r){var o=typeof t,i="string"==o;return"number"==o||"bigint"==o||!(!r||!w(t))||(e&&i&&(t=x(t,e)),n&&i&&(t=t.replace(_,"")),!isNaN(parseFloat(t))&&isFinite(t))}function i(t,e,n,r){var i;return!(!r||!w(t))||("string"!=typeof t||!t.match(/<(input|select)/i))&&(w(i=t)||"string"==typeof i)&&!!o(S(t),e,n,r)||null}function a(t,e,n,r){var o=[],i=0,a=e.length;if(void 0!==r)for(;i<a;i++)t[e[i]]&&t[e[i]][n]&&o.push(t[e[i]][n][r]);else for(;i<a;i++)t[e[i]]&&o.push(t[e[i]][n]);return o}function s(t,e){var n,r=[];void 0===e?(e=0,n=t):(n=e,e=t);for(var o=e;o<n;o++)r.push(o);return r}function l(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&e.push(t[n]);return e}var d,u,c,f,h=function(n,r){var o,i,a;return h.factory(n,r)?h:this instanceof h?t(n).DataTable(r):(i=void 0===(r=n),a=(o=this).length,i&&(r={}),this.api=function(){return new u(this)},this.each((function(){var n=1<a?Gt({},r,!0):r,s=0,l=this.getAttribute("id"),d=h.defaults,c=t(this);if("table"!=this.nodeName.toLowerCase())qt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{t(this).trigger("options.dt",n),O(d),B(d.column),N(d,d,!0),N(d.column,d.column,!0),N(d,t.extend(n,c.data()),!0);var f=h.settings;for(s=0,G=f.length;s<G;s++){var p=f[s];if(p.nTable==this||p.nTHead&&p.nTHead.parentNode==this||p.nTFoot&&p.nTFoot.parentNode==this){var m=(void 0!==n.bRetrieve?n:d).bRetrieve,g=(void 0!==n.bDestroy?n:d).bDestroy;if(i||m)return p.oInstance;if(g){new h.Api(p).destroy();break}return void qt(p,0,"Cannot reinitialise DataTable",3)}if(p.sTableId==this.id){f.splice(s,1);break}}null!==l&&""!==l||(l="DataTables_Table_"+h.ext._unique++,this.id=l);var b,v=t.extend(!0,{},h.models.oSettings,{sDestroyWidth:c[0].style.width,sInstance:l,sTableId:l,colgroup:t("<colgroup>").prependTo(this),fastData:function(t,e,n){return $(v,t,e,n)}}),y=(l=(v.nTable=this,v.oInit=n,f.push(v),v.api=new u(v),v.oInstance=1===o.length?o:c.dataTable(),O(n),n.aLengthMenu&&!n.iDisplayLength&&(n.iDisplayLength=Array.isArray(n.aLengthMenu[0])?n.aLengthMenu[0][0]:t.isPlainObject(n.aLengthMenu[0])?n.aLengthMenu[0].value:n.aLengthMenu[0]),n=Gt(t.extend(!0,{},d),n),Zt(v.oFeatures,n,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),Zt(v,n,["ajax","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","iStateDuration","bSortCellsTop","iTabIndex","sDom","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId","caption","layout","orderDescReverse","typeDetect",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Zt(v.oScroll,n,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Zt(v.oLanguage,n,"fnInfoCallback"),Xt(v,"aoDrawCallback",n.fnDrawCallback),Xt(v,"aoStateSaveParams",n.fnStateSaveParams),Xt(v,"aoStateLoadParams",n.fnStateLoadParams),Xt(v,"aoStateLoaded",n.fnStateLoaded),Xt(v,"aoRowCallback",n.fnRowCallback),Xt(v,"aoRowCreatedCallback",n.fnCreatedRow),Xt(v,"aoHeaderCallback",n.fnHeaderCallback),Xt(v,"aoFooterCallback",n.fnFooterCallback),Xt(v,"aoInitComplete",n.fnInitComplete),Xt(v,"aoPreDrawCallback",n.fnPreDrawCallback),v.rowIdFn=tt(n.rowId),v),h.__browser||(_={},h.__browser=_,b=(y=(x=t("<div/>").css({position:"fixed",top:0,left:-1*e.pageXOffset,height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body")).children()).children(),_.barWidth=y[0].offsetWidth-y[0].clientWidth,_.bScrollbarLeft=1!==Math.round(b.offset().left),x.remove()),t.extend(l.oBrowser,h.__browser),l.oScroll.iBarWidth=h.__browser.barWidth,v.oClasses),_=(t.extend(y,h.ext.classes,n.oClasses),c.addClass(y.table),v.oFeatures.bPaginate||(n.iDisplayStart=0),void 0===v.iInitDisplayStart&&(v.iInitDisplayStart=n.iDisplayStart,v._iDisplayStart=n.iDisplayStart),n.iDeferLoading),w=(null!==_&&(v.deferLoading=!0,b=Array.isArray(_),v._iRecordsDisplay=b?_[0]:_,v._iRecordsTotal=b?_[1]:_),[]),x=this.getElementsByTagName("thead");l=gt(v,x[0]);if(n.aoColumns)w=n.aoColumns;else if(l.length)for(G=l[s=0].length;s<G;s++)w.push(null);for(s=0,G=w.length;s<G;s++)z(v);var C,S,k,T,I,D,F,A=v,E=n.aoColumnDefs,L=w,j=l,P=function(t,e){R(v,t,e)},H=A.aoColumns;if(L)for(C=0,S=L.length;C<S;C++)L[C]&&L[C].name&&(H[C].sName=L[C].name);if(E)for(C=E.length-1;0<=C;C--){var W=void 0!==(F=E[C]).target?F.target:void 0!==F.targets?F.targets:F.aTargets;for(Array.isArray(W)||(W=[W]),k=0,T=W.length;k<T;k++){var M=W[k];if("number"==typeof M&&0<=M){for(;H.length<=M;)z(A);P(M,F)}else if("number"==typeof M&&M<0)P(H.length+M,F);else if("string"==typeof M)for(I=0,D=H.length;I<D;I++)"_all"===M?P(I,F):-1!==M.indexOf(":name")?H[I].sName===M.replace(":name","")&&P(I,F):j.forEach((function(e){e[I]&&(e=t(e[I].cell),M.match(/^[a-z][\w-]*$/i)&&(M="."+M),e.is(M))&&P(I,F)}))}}if(L)for(C=0,S=L.length;C<S;C++)P(C,L[C]);var U,q=((l=c.children("tbody").find("tr").eq(0)).length&&(U=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},t(l[0]).children("th, td").each((function(t,e){var n,r=v.aoColumns[t];r||qt(v,0,"Incorrect column count",18),r.mData===t&&(n=U(e,"sort")||U(e,"order"),e=U(e,"filter")||U(e,"search"),null===n&&null===e||(r.mData={_:t+".display",sort:null!==n?t+".@data-"+n:void 0,type:null!==n?t+".@data-"+n:void 0,filter:null!==e?t+".@data-"+e:void 0},r._isArrayHost=!0,R(v,t)))}))),Xt(v,"aoDrawCallback",Mt),v.oFeatures);if(n.bStateSave&&(q.bStateSave=!0),void 0===n.aaSorting)for(var Z=v.aaSorting,G=(s=0,Z.length);s<G;s++)Z[s][1]=v.aoColumns[s].asSorting[0];Wt(v),Xt(v,"aoDrawCallback",(function(){(v.bSorted||"ssp"===Jt(v)||q.bDeferRender)&&Wt(v)}));l=c.children("caption");var V=(0===(l=(0===(l=(v.caption&&(l=0===l.length?t("<caption/>").appendTo(c):l).html(v.caption),l.length&&(l[0]._captionSide=l.css("caption-side"),v.captionNode=l[0]),0===x.length&&(x=t("<thead/>").appendTo(c)),v.nTHead=x[0],c.children("tbody"))).length&&(l=t("<tbody/>").insertAfter(x)),v.nTBody=l[0],c.children("tfoot"))).length&&(l=t("<tfoot/>").appendTo(c)),v.nTFoot=l[0],v.aiDisplay=v.aiDisplayMaster.slice(),v.bInitialised=!0,v.oLanguage);t.extend(!0,V,n.oLanguage),V.sUrl?t.ajax({dataType:"json",url:V.sUrl,success:function(e){N(d.oLanguage,e),t.extend(!0,V,e,v.oInit.oLanguage),$t(v,null,"i18n",[v],!0),kt(v)},error:function(){qt(v,0,"i18n file loading error",21),kt(v)}}):($t(v,null,"i18n",[v],!0),kt(v))}})),o=null,this)},p=(h.ext=d={buttons:{},classes:{},builder:"dt/jszip-3.10.1/dt-2.2.2/b-3.2.2/b-colvis-3.2.2/b-html5-3.2.2/fc-5.0.4/fh-4.0.1/r-3.0.4/rg-1.5.1",errMode:"alert",feature:[],features:{},search:[],selector:{cell:[],column:[],row:[]},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{className:{},detect:[],render:{},search:{},order:{}},_unique:0,fnVersionCheck:h.fnVersionCheck,iApiIndex:0,sVersion:h.version},t.extend(d,{afnFiltering:d.search,aTypes:d.type.detect,ofnSearch:d.type.search,oSort:d.type.order,afnSortData:d.order,aoFeatures:d.feature,oStdClasses:d.classes,oPagination:d.pager}),t.extend(h.ext.classes,{container:"dt-container",empty:{row:"dt-empty"},info:{container:"dt-info"},layout:{row:"dt-layout-row",cell:"dt-layout-cell",tableRow:"dt-layout-table",tableCell:"",start:"dt-layout-start",end:"dt-layout-end",full:"dt-layout-full"},length:{container:"dt-length",select:"dt-input"},order:{canAsc:"dt-orderable-asc",canDesc:"dt-orderable-desc",isAsc:"dt-ordering-asc",isDesc:"dt-ordering-desc",none:"dt-orderable-none",position:"sorting_"},processing:{container:"dt-processing"},scrolling:{body:"dt-scroll-body",container:"dt-scroll",footer:{self:"dt-scroll-foot",inner:"dt-scroll-footInner"},header:{self:"dt-scroll-head",inner:"dt-scroll-headInner"}},search:{container:"dt-search",input:"dt-input"},table:"dataTable",tbody:{cell:"",row:""},thead:{cell:"",row:""},tfoot:{cell:"",row:""},paging:{active:"current",button:"dt-paging-button",container:"dt-paging",disabled:"disabled",nav:""}}),{}),m=/[\r\n\u2028]/g,g=/<([^>]*>)/g,b=Math.pow(2,28),v=/^\d{2,4}[./-]\d{1,2}[./-]\d{1,2}([T ]{1}\d{1,2}[:.]\d{2}([.:]\d{2})?)?$/,y=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),_=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,w=function(t){return!t||!0===t||"-"===t},x=function(t,e){return p[e]||(p[e]=new RegExp(xt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(p[e],"."):t},C=function(t,e,n){var r=[],o=0,i=t.length;if(void 0!==n)for(;o<i;o++)t[o]&&t[o][e]&&r.push(t[o][e][n]);else for(;o<i;o++)t[o]&&r.push(t[o][e]);return r},S=function(t){if(!t||"string"!=typeof t)return t;if(t.length>b)throw new Error("Exceeded max str len");var e;for(t=t.replace(g,"");(t=(e=t).replace(/<script/i,""))!==e;);return e},k=function(t){return"string"==typeof(t=Array.isArray(t)?t.join(","):t)?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t},T=function(t,e){var n;return"string"!=typeof t?t:(n=t.normalize?t.normalize("NFD"):t).length!==t.length?(!0===e?t+" ":"")+n.replace(/[\u0300-\u036f]/g,""):n},I=function(t){if(Array.from&&Set)return Array.from(new Set(t));if(function(t){if(!(t.length<2))for(var e=t.slice().sort(),n=e[0],r=1,o=e.length;r<o;r++){if(e[r]===n)return!1;n=e[r]}return!0}(t))return t.slice();var e,n,r,o=[],i=t.length,a=0;t:for(n=0;n<i;n++){for(e=t[n],r=0;r<a;r++)if(o[r]===e)continue t;o.push(e),a++}return o},D=function(t,e){if(Array.isArray(e))for(var n=0;n<e.length;n++)D(t,e[n]);else t.push(e);return t};function F(t,e){e&&e.split(" ").forEach((function(e){e&&t.classList.add(e)}))}function A(e){var n,r,o={};t.each(e,(function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(r=t.replace(n[0],n[2].toLowerCase()),o[r]=t,"o"===n[1])&&A(e[t])})),e._hungarianMap=o}function N(e,n,r){var o;e._hungarianMap||A(e),t.each(n,(function(i){void 0===(o=e._hungarianMap[i])||!r&&void 0!==n[o]||("o"===o.charAt(0)?(n[o]||(n[o]={}),t.extend(!0,n[o],n[i]),N(e[o],n[o],r)):n[o]=n[i])}))}h.util={diacritics:function(t,e){if("function"!=typeof t)return T(t,e);T=t},debounce:function(t,e){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e||250)}},throttle:function(t,e){var n,r,o=void 0!==e?e:200;return function(){var e=this,i=+new Date,a=arguments;n&&i<n+o?(clearTimeout(r),r=setTimeout((function(){n=void 0,t.apply(e,a)}),o)):(n=i,t.apply(e,a))}},escapeRegex:function(t){return t.replace(y,"\\$1")},set:function(e){var n;return t.isPlainObject(e)?h.util.set(e._):null===e?function(){}:"function"==typeof e?function(t,n,r){e(t,"set",n,r)}:"string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("(")?function(t,n){t[e]=n}:(n=function(t,e,r){for(var o,i,a,s,l=Q(r),d=(r=l[l.length-1],0),u=l.length-1;d<u;d++){if("__proto__"===l[d]||"constructor"===l[d])throw new Error("Cannot set prototype values");if(o=l[d].match(Y),i=l[d].match(J),o){if(l[d]=l[d].replace(Y,""),t[l[d]]=[],(o=l.slice()).splice(0,d+1),s=o.join("."),Array.isArray(e))for(var c=0,f=e.length;c<f;c++)n(a={},e[c],s),t[l[d]].push(a);else t[l[d]]=e;return}i&&(l[d]=l[d].replace(J,""),t=t[l[d]](e)),null!==t[l[d]]&&void 0!==t[l[d]]||(t[l[d]]={}),t=t[l[d]]}r.match(J)?t[r.replace(J,"")](e):t[r.replace(Y,"")]=e},function(t,r){return n(t,r,e)})},get:function(e){var n,r;return t.isPlainObject(e)?(n={},t.each(e,(function(t,e){e&&(n[t]=h.util.get(e))})),function(t,e,r,o){var i=n[e]||n._;return void 0!==i?i(t,e,r,o):t}):null===e?function(t){return t}:"function"==typeof e?function(t,n,r,o){return e(t,n,r,o)}:"string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("(")?function(t){return t[e]}:(r=function(t,e,n){var o,i,a;if(""!==n)for(var s=Q(n),l=0,d=s.length;l<d;l++){if(f=s[l].match(Y),o=s[l].match(J),f){if(s[l]=s[l].replace(Y,""),""!==s[l]&&(t=t[s[l]]),i=[],s.splice(0,l+1),a=s.join("."),Array.isArray(t))for(var u=0,c=t.length;u<c;u++)i.push(r(t[u],e,a));var f=f[0].substring(1,f[0].length-1);t=""===f?i:i.join(f);break}if(o)s[l]=s[l].replace(J,""),t=t[s[l]]();else{if(null===t||null===t[s[l]])return null;if(void 0===t||void 0===t[s[l]])return;t=t[s[l]]}}return t},function(t,n){return r(t,n,e)})},stripHtml:function(t){var e=typeof t;if("function"!=e)return"string"==e?S(t):t;S=t},escapeHtml:function(t){var e=typeof t;if("function"!=e)return"string"==e||Array.isArray(t)?k(t):t;k=t},unique:I};var E=function(t,e,n){void 0!==t[e]&&(t[n]=t[e])};function O(t){E(t,"ordering","bSort"),E(t,"orderMulti","bSortMulti"),E(t,"orderClasses","bSortClasses"),E(t,"orderCellsTop","bSortCellsTop"),E(t,"order","aaSorting"),E(t,"orderFixed","aaSortingFixed"),E(t,"paging","bPaginate"),E(t,"pagingType","sPaginationType"),E(t,"pageLength","iDisplayLength"),E(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,r=e.length;n<r;n++)e[n]&&N(h.models.oSearch,e[n]);t.serverSide&&!t.searchDelay&&(t.searchDelay=400)}function B(t){E(t,"orderable","bSortable"),E(t,"orderData","aDataSort"),E(t,"orderSequence","asSorting"),E(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function z(e){var n=h.defaults.column,r=e.aoColumns.length;n=t.extend({},h.models.oColumn,n,{aDataSort:n.aDataSort||[r],mData:n.mData||r,idx:r,searchFixed:{},colEl:t("<col>").attr("data-dt-column",r)});(n=(e.aoColumns.push(n),e.aoPreSearchCols))[r]=t.extend({},h.models.oSearch,n[r])}function R(n,r,o){function i(t){return"string"==typeof t&&-1!==t.indexOf("@")}var a=n.aoColumns[r],s=(null!=o&&(B(o),N(h.defaults.column,o,!0),void 0===o.mDataProp||o.mData||(o.mData=o.mDataProp),o.sType&&(a._sManualType=o.sType),o.className&&!o.sClass&&(o.sClass=o.className),r=a.sClass,t.extend(a,o),Zt(a,o,"sWidth","sWidthOrig"),r!==a.sClass&&(a.sClass=r+" "+a.sClass),void 0!==o.iDataSort&&(a.aDataSort=[o.iDataSort]),Zt(a,o,"aDataSort")),a.mData),l=tt(s);a.mRender&&Array.isArray(a.mRender)&&(o=(r=a.mRender.slice()).shift(),a.mRender=h.render[o].apply(e,r)),a._render=a.mRender?tt(a.mRender):null,a._bAttrSrc=t.isPlainObject(s)&&(i(s.sort)||i(s.type)||i(s.filter)),a._setter=null,a.fnGetData=function(t,e,n){var r=l(t,e,void 0,n);return a._render&&e?a._render(r,e,t,n):r},a.fnSetData=function(t,e,n){return et(s)(t,e,n)},"number"==typeof s||a._isArrayHost||(n._rowReadObject=!0),n.oFeatures.bSort||(a.bSortable=!1)}function L(r){!function(r){if(r.oFeatures.bAutoWidth){var o,i,a=r.nTable,s=r.aoColumns,l=(c=r.oScroll).sY,u=c.sX,c=c.sXInner,f=W(r,"bVisible"),p=a.getAttribute("width"),m=a.parentNode,g=a.style.width;if((b=Ot(r))===r.containerWidth)return;r.containerWidth=b,g||p||(a.style.width="100%",g="100%"),g&&-1!==g.indexOf("%")&&(p=g),$t(r,null,"column-calc",{visible:f},!1);var b,v=((b=t(a.cloneNode()).css("visibility","hidden").removeAttr("id")).append("<tbody>"),t("<tr/>").appendTo(b.find("tbody")));for(b.append(t(r.nTHead).clone()).append(t(r.nTFoot).clone()),b.find("tfoot th, tfoot td").css("width",""),b.find("thead th, thead td").each((function(){var e=Z(r,this,!0,!1);e?(this.style.width=e,u&&(this.style.minWidth=e,t(this).append(t("<div/>").css({width:e,margin:0,padding:0,border:0,height:1})))):this.style.width=""})),o=0;o<f.length;o++){i=s[y=f[o]];var y=function(t,e){var n=t.aoColumns[e];if(!n.maxLenString){for(var r,o="",i=-1,a=0,s=t.aiDisplayMaster.length;a<s;a++){var l;l=(l=(l=at(t,l=t.aiDisplayMaster[a])[e])&&"object"==typeof l&&l.nodeType?l.innerHTML:l+"").replace(/id=".*?"/g,"").replace(/name=".*?"/g,""),(r=S(l).replace(/ /g," ")).length>i&&(o=l,i=r.length)}n.maxLenString=o}return n.maxLenString}(r,y),_=d.type.className[i.sType],w=y+i.sContentPadding;y=-1===y.indexOf("<")?n.createTextNode(w):w;t("<td/>").addClass(_).addClass(i.sClass).append(y).appendTo(v)}t("[name]",b).removeAttr("name");g=t("<div/>").css(u||l?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(b).appendTo(m);var x,C,k=(u&&c?b.width(c):u?(b.css("width","auto"),b.removeAttr("width"),b.outerWidth()<m.clientWidth&&p&&b.outerWidth(m.clientWidth)):l?b.outerWidth(m.clientWidth):p&&b.outerWidth(p),0),T=b.find("tbody tr").eq(0).children();for(o=0;o<f.length;o++){var I=T[o].getBoundingClientRect().width;k+=I,s[f[o]].sWidth=Bt(I)}a.style.width=Bt(k),g.remove(),p&&(a.style.width=Bt(p)),!p&&!u||r._reszEvt||(x=h.util.throttle((function(){var t=Ot(r);r.bDestroying||0===t||L(r)})),e.ResizeObserver?(C=t(r.nTableWrapper).is(":visible"),c=t("<div>").css({width:"100%",height:0}).addClass("dt-autosize").appendTo(r.nTableWrapper),r.resizeObserver=new ResizeObserver((function(t){C?C=!1:x()})),r.resizeObserver.observe(c[0])):t(e).on("resize.DT-"+r.sInstance,x),r._reszEvt=!0)}}(r);for(var o=r,i=o.aoColumns,a=0;a<i.length;a++){var s=Z(o,[a],!1,!1);i[a].colEl.css("width",s),o.oScroll.sX&&i[a].colEl.css("min-width",s)}var l=r.oScroll;""===l.sY&&""===l.sX||Et(r),$t(r,null,"column-sizing",[r])}function j(t,e){return"number"==typeof(t=W(t,"bVisible"))[e]?t[e]:null}function P(t,e){return-1!==(t=W(t,"bVisible").indexOf(e))?t:null}function H(e){var n=e.aoHeader,r=e.aoColumns,o=0;if(n.length)for(var i=0,a=n[0].length;i<a;i++)r[i].bVisible&&"none"!==t(n[0][i].cell).css("display")&&o++;return o}function W(t,e){var n=[];return t.aoColumns.map((function(t,r){t[e]&&n.push(r)})),n}function M(t,e){return!0===e?t._name:e}function U(t){for(var e,n,r,o,i,a,s=t.aoColumns,l=t.aoData,u=h.ext.type.detect,c=0,f=s.length;c<f;c++){if(a=[],!(i=s[c]).sType&&i._sManualType)i.sType=i._sManualType;else if(!i.sType){if(!t.typeDetect)return;for(e=0,n=u.length;e<n;e++){var p=u[e],m=p.oneOf,g=p.allOf||p,b=p.init,v=!1,y=null;if(b&&(y=M(p,b(t,i,c)))){i.sType=y;break}for(r=0,o=l.length;r<o;r++)if(l[r]){if(void 0===a[r]&&(a[r]=$(t,r,c,"type")),m&&!v&&(v=M(p,m(a[r],t))),!(y=M(p,g(a[r],t)))&&e!==u.length-3)break;if("html"===y&&!w(a[r]))break}if(m&&v&&y||!m&&y){i.sType=y;break}}i.sType||(i.sType="string")}var _;if((_=((_=d.type.className[i.sType])&&(q(t.aoHeader,c,_),q(t.aoFooter,c,_)),d.type.render[i.sType]))&&!i._render){i._render=h.util.get(_),x=T=k=void 0;for(var x,C=t,S=c,k=C.aoData,T=0;T<k.length;T++)k[T].nTr&&(x=$(C,T,S,"display"),k[T].displayData[S]=x,K(k[T].anCells[S],x))}}}function q(t,e,n){t.forEach((function(t){t[e]&&t[e].unique&&F(t[e].cell,n)}))}function Z(t,e,n,r){Array.isArray(e)||(e=G(e));for(var o,i=0,a=t.aoColumns,s=0,l=e.length;s<l;s++){var d=a[e[s]],u=n?d.sWidthOrig:d.sWidth;if(r||!1!==d.bVisible){if(null==u)return null;"number"==typeof u?(o="px",i+=u):(d=u.match(/([\d\.]+)([^\d]*)/))&&(i+=+d[1],o=3===d.length?d[2]:"px")}}return i+o}function G(e){return(e=t(e).closest("[data-dt-column]").attr("data-dt-column"))?e.split(",").map((function(t){return+t})):[]}function V(e,n,r,o){for(var i=e.aoData.length,a=t.extend(!0,{},h.models.oRow,{src:r?"dom":"data",idx:i}),s=(a._aData=n,e.aoData.push(a),e.aoColumns),l=0,d=s.length;l<d;l++)s[l].sType=null;return e.aiDisplayMaster.push(i),void 0!==(n=e.rowIdFn(n))&&(e.aIds[n]=a),!r&&e.oFeatures.bDeferRender||st(e,i,r,o),i}function X(e,n){var r;return(n=n instanceof t?n:t(n)).map((function(t,n){return r=it(e,n),V(e,r.data,n,r.cells)}))}function $(t,e,n,r){if("search"===r?r="filter":"order"===r&&(r="sort"),a=t.aoData[e]){var o=t.iDraw,i=t.aoColumns[n],a=a._aData,s=i.sDefaultContent,l=i.fnGetData(a,r,{settings:t,row:e,col:n});if(void 0===(l="display"!==r&&l&&"object"==typeof l&&l.nodeName?l.innerHTML:l))return t.iDrawError!=o&&null===s&&(qt(t,0,"Requested unknown parameter "+("function"==typeof i.mData?"{function}":"'"+i.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=o),s;if(l!==a&&null!==l||null===s||void 0===r){if("function"==typeof l)return l.call(a)}else l=s;return null===l&&"display"===r?"":l="filter"===r&&(e=h.ext.type.search)[i.sType]?e[i.sType](l):l}}function K(e,n){n&&"object"==typeof n&&n.nodeName?t(e).empty().append(n):e.innerHTML=n}var Y=/\[.*?\]$/,J=/\(\)$/;function Q(t){return(t.match(/(\\.|[^.])+/g)||[""]).map((function(t){return t.replace(/\\\./g,".")}))}var tt=h.util.get,et=h.util.set;function nt(t){return C(t.aoData,"_aData")}function rt(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function ot(t,e,n,r){var o,i,a=t.aoData[e];if(a._aSortData=null,a._aFilterData=null,a.displayData=null,"dom"!==n&&(n&&"auto"!==n||"dom"!==a.src)){var s=a.anCells,l=at(t,e);if(s)if(void 0!==r)K(s[r],l[r]);else for(o=0,i=s.length;o<i;o++)K(s[o],l[o])}else a._aData=it(t,a,r,void 0===r?void 0:a._aData).data;var d=t.aoColumns;if(void 0!==r)d[r].sType=null,d[r].maxLenString=null;else{for(o=0,i=d.length;o<i;o++)d[o].sType=null,d[o].maxLenString=null;lt(t,a)}}function it(t,e,n,r){function o(t,e){var n;"string"==typeof t&&-1!==(n=t.indexOf("@"))&&(n=t.substring(n+1),et(t)(r,e.getAttribute(n)))}function i(t){void 0!==n&&n!==c||(s=f[c],l=t.innerHTML.trim(),s&&s._bAttrSrc?(et(s.mData._)(r,l),o(s.mData.sort,t),o(s.mData.type,t),o(s.mData.filter,t)):h?(s._setter||(s._setter=et(s.mData)),s._setter(r,l)):r[c]=l),c++}var a,s,l,d=[],u=e.firstChild,c=0,f=t.aoColumns,h=t._rowReadObject;if(r=void 0!==r?r:h?{}:[],u)for(;u;)"TD"!=(a=u.nodeName.toUpperCase())&&"TH"!=a||(i(u),d.push(u)),u=u.nextSibling;else for(var p=0,m=(d=e.anCells).length;p<m;p++)i(d[p]);return(e=e.firstChild?e:e.nTr)&&(e=e.getAttribute("id"))&&et(t.rowId)(r,e),{data:r,cells:d}}function at(t,e){var n=t.aoData[e],r=t.aoColumns;if(!n.displayData){n.displayData=[];for(var o=0,i=r.length;o<i;o++)n.displayData.push($(t,e,o,"display"))}return n.displayData}function st(e,r,o,i){var a,s,l,d,u,c,f=e.aoData[r],h=f._aData,p=[],m=e.oClasses.tbody.row;if(null===f.nTr){for(a=o||n.createElement("tr"),f.nTr=a,f.anCells=p,F(a,m),a._DT_RowIndex=r,lt(e,f),d=0,u=e.aoColumns.length;d<u;d++){l=e.aoColumns[d],(s=(c=!o||!i[d])?n.createElement(l.sCellType):i[d])||qt(e,0,"Incorrect column count",18),s._DT_CellIndex={row:r,column:d},p.push(s);var g=at(e,r);!c&&(!l.mRender&&l.mData===d||t.isPlainObject(l.mData)&&l.mData._===d+".display")||K(s,g[d]),F(s,l.sClass),l.bVisible&&c?a.appendChild(s):l.bVisible||c||s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,$(e,r,d),h,r,d)}$t(e,"aoRowCreatedCallback","row-created",[a,h,r,p])}else F(f.nTr,m)}function lt(e,n){var r=n.nTr,o=n._aData;r&&((e=e.rowIdFn(o))&&(r.id=e),o.DT_RowClass&&(e=o.DT_RowClass.split(" "),n.__rowc=n.__rowc?I(n.__rowc.concat(e)):e,t(r).removeClass(n.__rowc.join(" ")).addClass(o.DT_RowClass)),o.DT_RowAttr&&t(r).attr(o.DT_RowAttr),o.DT_RowData)&&t(r).data(o.DT_RowData)}function dt(e,n){var r,o,i,a=e.oClasses,s=e.aoColumns,l="header"===n?e.nTHead:e.nTFoot,d="header"===n?"sTitle":n;if(l){if(("header"===n||C(e.aoColumns,d).join(""))&&1===(i=(i=t("tr",l)).length?i:t("<tr/>").appendTo(l)).length){var u=0;for(t("td, th",i).each((function(){u+=this.colSpan})),r=u,o=s.length;r<o;r++)t("<th/>").html(s[r][d]||"").appendTo(i)}var c=gt(e,l,!0);"header"===n?(e.aoHeader=c,t("tr",l).addClass(a.thead.row)):(e.aoFooter=c,t("tr",l).addClass(a.tfoot.row)),t(l).children("tr").children("th, td").each((function(){Yt(e,n)(e,t(this),a)}))}}function ut(e,n,r){var o,i,a,l,d,u=[],c=[],f=e.aoColumns;e=f.length;if(n){for(r=r||s(e).filter((function(t){return f[t].bVisible})),o=0;o<n.length;o++)u[o]=n[o].slice().filter((function(t,e){return r.includes(e)})),c.push([]);for(o=0;o<u.length;o++)for(i=0;i<u[o].length;i++)if(d=l=1,void 0===c[o][i]){for(a=u[o][i].cell;void 0!==u[o+l]&&u[o][i].cell==u[o+l][i].cell;)c[o+l][i]=null,l++;for(;void 0!==u[o][i+d]&&u[o][i].cell==u[o][i+d].cell;){for(var h=0;h<l;h++)c[o+h][i+d]=null;d++}var p=t("span.dt-column-title",a);c[o][i]={cell:a,colspan:d,rowspan:l,title:(p.length?p:t(a)).html()}}return c}}function ct(e,n){for(var r,o,i=ut(e,n),a=0;a<n.length;a++){if(r=n[a].row)for(;o=r.firstChild;)r.removeChild(o);for(var s=0;s<i[a].length;s++){var l=i[a][s];l&&t(l.cell).appendTo(r).attr("rowspan",l.rowspan).attr("colspan",l.colspan)}}}function ft(e,n){if(a="ssp"==Jt(u=e),void 0!==(l=u.iInitDisplayStart)&&-1!==l&&(u._iDisplayStart=!a&&l>=u.fnRecordsDisplay()?0:l,u.iInitDisplayStart=-1),-1!==$t(e,"aoPreDrawCallback","preDraw",[e]).indexOf(!1))Ft(e,!1);else{var r,o=[],i=0,a="ssp"==Jt(e),s=e.aiDisplay,l=e._iDisplayStart,u=e.fnDisplayEnd(),c=e.aoColumns,f=t(e.nTBody);if(e.bDrawing=!0,e.deferLoading)e.deferLoading=!1,e.iDraw++,Ft(e,!1);else if(a){if(!e.bDestroying&&!n)return 0===e.iDraw&&f.empty().append(pt(e)),(r=e).iDraw++,Ft(r,!0),void bt(r,function(t){function e(t,e){return"function"==typeof n[t][e]?"function":n[t][e]}var n=t.aoColumns,r=t.oFeatures,o=t.oPreviousSearch,i=t.aoPreSearchCols;return{draw:t.iDraw,columns:n.map((function(t,n){return{data:e(n,"mData"),name:t.sName,searchable:t.bSearchable,orderable:t.bSortable,search:{value:i[n].search,regex:i[n].regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}})),order:Pt(t).map((function(t){return{column:t.col,dir:t.dir,name:e(t.col,"sName")}})),start:t._iDisplayStart,length:r.bPaginate?t._iDisplayLength:-1,search:{value:o.search,regex:o.regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}}(r),(function(t){var e=r,n=vt(e,t=t),o=yt(e,"draw",t),i=yt(e,"recordsTotal",t);t=yt(e,"recordsFiltered",t);if(void 0!==o){if(+o<e.iDraw)return;e.iDraw=+o}n=n||[],rt(e),e._iRecordsTotal=parseInt(i,10),e._iRecordsDisplay=parseInt(t,10);for(var a=0,s=n.length;a<s;a++)V(e,n[a]);e.aiDisplay=e.aiDisplayMaster.slice(),U(e),ft(e,!0),Tt(e),Ft(e,!1)}))}else e.iDraw++;if(0!==s.length)for(var h=a?e.aoData.length:u,p=a?0:l;p<h;p++){for(var m=s[p],g=e.aoData[m],b=(null===g.nTr&&st(e,m),g.nTr),v=0;v<c.length;v++){var y=c[v],_=g.anCells[v];F(_,d.type.className[y.sType]),F(_,e.oClasses.tbody.cell)}$t(e,"aoRowCallback",null,[b,g._aData,i,p,m]),o.push(b),i++}else o[0]=pt(e);$t(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],nt(e),l,u,s]),$t(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],nt(e),l,u,s]),f[0].replaceChildren?f[0].replaceChildren.apply(f[0],o):(f.children().detach(),f.append(t(o))),t(e.nTableWrapper).toggleClass("dt-empty-footer",0===t("tr",e.nTFoot).length),$t(e,"aoDrawCallback","draw",[e],!0),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function ht(t,e,n){var r=(o=t.oFeatures).bSort,o=o.bFilter;void 0!==n&&!0!==n||(U(t),r&&Ht(t),o?_t(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice()),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,ft(t),t._drawHold=!1}function pt(e){var n=e.oLanguage,r=n.sZeroRecords,o=Jt(e);return e.iDraw<1&&"ssp"===o||e.iDraw<=1&&"ajax"===o?r=n.sLoadingRecords:n.sEmptyTable&&0===e.fnRecordsTotal()&&(r=n.sEmptyTable),t("<tr/>").append(t("<td />",{colSpan:H(e),"class":e.oClasses.empty.row}).html(r))[0]}function mt(e,n,r){var o=[];t.each(n,(function(e,n){var i,a;null!==n&&(i=(e=e.match(/^([a-z]+)([0-9]*)([A-Za-z]*)$/))[2]?+e[2]:0,a=e[3]?e[3].toLowerCase():"full",e[1]===r)&&function s(e,n,r){if(Array.isArray(r))for(var o=0;o<r.length;o++)s(e,n,r[o]);else{var i=e[n];t.isPlainObject(r)?r.features?(r.rowId&&(e.id=r.rowId),r.rowClass&&(e.className=r.rowClass),i.id=r.id,i.className=r.className,s(e,n,r.features)):Object.keys(r).map((function(t){i.contents.push({feature:t,opts:r[t]})})):i.contents.push(r)}}(function(t,e,n){for(var r,o=0;o<t.length;o++)if((r=t[o]).rowNum===e&&("full"===n&&r.full||("start"===n||"end"===n)&&(r.start||r.end)))return r[n]||(r[n]={contents:[]}),r;return(r={rowNum:e})[n]={contents:[]},t.push(r),r}(o,i,a),a,n)})),o.sort((function(t,e){var n=t.rowNum,o=e.rowNum;return n===o?(t=t.full&&!e.full?-1:1,"bottom"===r?-1*t:t):o-n})),"bottom"===r&&o.reverse();for(var i=0;i<o.length;i++)delete o[i].rowNum,function(e,n){function r(t,n){return d.features[t]||qt(e,0,"Unknown feature: "+t),d.features[t].apply(this,[e,n])}function o(o){if(n[o])for(var i,a=n[o].contents,s=0,l=a.length;s<l;s++)a[s]&&("string"==typeof a[s]?a[s]=r(a[s],null):t.isPlainObject(a[s])?a[s]=r(a[s].feature,a[s].opts):"function"==typeof a[s].node?a[s]=a[s].node(e):"function"==typeof a[s]&&(i=a[s](e),a[s]="function"==typeof i.node?i.node():i))}o("start"),o("end"),o("full")}(e,o[i]);return o}function gt(e,n,r){for(var o,i,a,s,l,d,u=e.aoColumns,c=t(n).children("tr"),f=n&&"thead"===n.nodeName.toLowerCase(),h=[],p=0,m=c.length;p<m;p++)h.push([]);for(p=0,m=c.length;p<m;p++)for(i=(o=c[p]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){var g,b,v,y,_,w=[];for(y=(y=+i.getAttribute("colspan"))&&0!=y&&1!=y?y:1,_=(_=+i.getAttribute("rowspan"))&&0!=_&&1!=_?_:1,l=function(t,e,n){for(var r=t[e];r[n];)n++;return n}(h,p,0),d=1==y,r&&(d&&(R(e,l,t(i).data()),g=u[l],b=i.getAttribute("width")||null,(v=i.style.width.match(/width:\s*(\d+[pxem%]+)/))&&(b=v[1]),g.sWidthOrig=g.sWidth||b,f?(null===g.sTitle||g.autoTitle||(i.innerHTML=g.sTitle),!g.sTitle&&d&&(g.sTitle=S(i.innerHTML),g.autoTitle=!0)):g.footer&&(i.innerHTML=g.footer),g.ariaTitle||(g.ariaTitle=t(i).attr("aria-label")||g.sTitle),g.className)&&t(i).addClass(g.className),0===t("span.dt-column-title",i).length&&t("<span>").addClass("dt-column-title").append(i.childNodes).appendTo(i),f)&&0===t("span.dt-column-order",i).length&&t("<span>").addClass("dt-column-order").appendTo(i),s=0;s<y;s++){for(a=0;a<_;a++)h[p+a][l+s]={cell:i,unique:d},h[p+a].row=o;w.push(l+s)}i.setAttribute("data-dt-column",I(w).join(","))}i=i.nextSibling}return h}function bt(e,n,r){function o(t){var n=e.jqXHR?e.jqXHR.status:null;if((null===t||"number"==typeof n&&204==n)&&vt(e,t={},[]),(n=t.error||t.sError)&&qt(e,0,n),t.d&&"string"==typeof t.d)try{t=JSON.parse(t.d)}catch(t){}e.json=t,$t(e,null,"xhr",[e,t,e.jqXHR],!0),r(t)}var i,a=e.ajax,s=e.oInstance,l=(t.isPlainObject(a)&&a.data&&(l="function"==typeof(i=a.data)?i(n,e):i,n="function"==typeof i&&l?l:t.extend(!0,n,l),delete a.data),{url:"string"==typeof a?a:"",data:n,success:o,dataType:"json",cache:!1,type:e.sServerMethod,error:function(t,n){-1===$t(e,null,"xhr",[e,null,e.jqXHR],!0).indexOf(!0)&&("parsererror"==n?qt(e,0,"Invalid JSON response",1):4===t.readyState&&qt(e,0,"Ajax error",7)),Ft(e,!1)}});t.isPlainObject(a)&&t.extend(l,a),e.oAjaxData=n,$t(e,null,"preXhr",[e,n,l],!0),"function"==typeof a?e.jqXHR=a.call(s,n,o,e):""===a.url?(s={},h.util.set(a.dataSrc)(s,[]),o(s)):e.jqXHR=t.ajax(l),i&&(a.data=i)}function vt(e,n,r){var o="data";if(t.isPlainObject(e.ajax)&&void 0!==e.ajax.dataSrc&&("string"==typeof(e=e.ajax.dataSrc)||"function"==typeof e?o=e:void 0!==e.data&&(o=e.data)),!r)return"data"===o?n.aaData||n[o]:""!==o?tt(o)(n):n;et(o)(n,r)}function yt(e,n,r){return(e=t.isPlainObject(e.ajax)?e.ajax.dataSrc:null)&&e[n]?tt(e[n])(r):(e="","draw"===n?e="sEcho":"recordsTotal"===n?e="iTotalRecords":"recordsFiltered"===n&&(e="iTotalDisplayRecords"),void 0!==r[e]?r[e]:r[n])}function _t(e,n){var r=e.aoPreSearchCols;if("ssp"!=Jt(e)){for(var o,i,a,s,l,d=e,u=d.aoColumns,c=d.aoData,f=0;f<c.length;f++)if(c[f]&&!(l=c[f])._aFilterData){for(a=[],o=0,i=u.length;o<i;o++)u[o].bSearchable?"string"!=typeof(s=null===(s=$(d,f,o,"filter"))?"":s)&&s.toString&&(s=s.toString()):s="",s.indexOf&&-1!==s.indexOf("&")&&(Ct.innerHTML=s,s=St?Ct.textContent:Ct.innerText),s.replace&&(s=s.replace(/[\r\n\u2028]/g,"")),a.push(s);l._aFilterData=a,l._sFilterRow=a.join(" ")}e.aiDisplay=e.aiDisplayMaster.slice(),wt(e.aiDisplay,e,n.search,n),t.each(e.searchFixed,(function(t,n){wt(e.aiDisplay,e,n,{})}));for(var p=0;p<r.length;p++){var m=r[p];wt(e.aiDisplay,e,m.search,m,p),t.each(e.aoColumns[p].searchFixed,(function(t,n){wt(e.aiDisplay,e,n,{},p)}))}for(var g,b,v=e,y=h.ext.search,_=v.aiDisplay,w=0,x=y.length;w<x;w++){for(var C=[],S=0,k=_.length;S<k;S++)b=_[S],g=v.aoData[b],y[w](v,g._aFilterData,b,g._aData,S)&&C.push(b);_.length=0,te(_,C)}}e.bFiltered=!0,$t(e,null,"search",[e])}function wt(e,n,r,o,i){if(""!==r){var a=0,s=[],l="function"==typeof r?r:null,d=r instanceof RegExp?r:l?null:function(e,n){var r,o,i,a=[];n=t.extend({},{boundary:!1,caseInsensitive:!0,exact:!1,regex:!1,smart:!0},n);return"string"!=typeof e&&(e=e.toString()),e=T(e),n.exact?new RegExp("^"+xt(e)+"$",n.caseInsensitive?"i":""):(e=n.regex?e:xt(e),n.smart&&(r=(e.match(/!?["\u201C][^"\u201D]+["\u201D]|[^ ]+/g)||[""]).map((function(t){var e,n=!1;return"!"===t.charAt(0)&&(n=!0,t=t.substring(1)),'"'===t.charAt(0)?t=(e=t.match(/^"(.*)"$/))?e[1]:t:"“"===t.charAt(0)&&(t=(e=t.match(/^\u201C(.*)\u201D$/))?e[1]:t),n&&(1<t.length&&a.push("(?!"+t+")"),t=""),t.replace(/"/g,"")})),o=a.length?a.join(""):"",e="^(?=.*?"+(i=n.boundary?"\\b":"")+r.join(")(?=.*?"+i)+")("+o+".)*$"),new RegExp(e,n.caseInsensitive?"i":""))}(r,o);for(a=0;a<e.length;a++){var u=n.aoData[e[a]],c=void 0===i?u._sFilterRow:u._aFilterData[i];(l&&l(c,u._aData,e[a],i)||d&&d.test(c))&&s.push(e[a])}for(e.length=s.length,a=0;a<s.length;a++)e[a]=s[a]}}var xt=h.util.escapeRegex,Ct=t("<div>")[0],St=void 0!==Ct.textContent;function kt(e){var n,r,o,i,a=e.oInit,s=e.deferLoading,l=Jt(e);e.bInitialised?(dt(e,"header"),dt(e,"footer"),o=function(){ct(e,e.aoHeader),ct(e,e.aoFooter);var r=e.iInitDisplayStart;if(a.aaData)for(n=0;n<a.aaData.length;n++)V(e,a.aaData[n]);else!s&&"dom"!=l||X(e,t(e.nTBody).children("tr"));e.aiDisplay=e.aiDisplayMaster.slice(),function(e){var n,r=e.oClasses,o=t(e.nTable),i=t("<div/>").attr({id:e.sTableId+"_wrapper","class":r.container}).insertBefore(o);if(e.nTableWrapper=i[0],e.sDom)for(var a,s,l,d,u,c,f=e,p=(r=e.sDom,i),m=r.match(/(".*?")|('.*?')|./g),g=0;g<m.length;g++)a=null,"<"==(s=m[g])?(l=t("<div/>"),"'"!=(d=m[g+1])[0]&&'"'!=d[0]||(u="",-1!=(d=d.replace(/['"]/g,"")).indexOf(".")?(u=(c=d.split("."))[0],c=c[1]):"#"==d[0]?u=d:c=d,l.attr("id",u.substring(1)).addClass(c),g++),p.append(l),p=l):">"==s?p=p.parent():"t"==s?a=Nt(f):h.ext.feature.forEach((function(t){s==t.cFeature&&(a=t.fnInit(f))})),a&&p.append(a);else{o=mt(e,e.layout,"top"),r=mt(e,e.layout,"bottom");var b=Yt(e,"layout");o.forEach((function(t){b(e,i,t)})),b(e,i,{full:{table:!0,contents:[Nt(e)]}}),r.forEach((function(t){b(e,i,t)}))}r=(o=e).nTable;var v=""!==o.oScroll.sX||""!==o.oScroll.sY;o.oFeatures.bProcessing&&(n=t("<div/>",{id:o.sTableId+"_processing","class":o.oClasses.processing.container,role:"status"}).html(o.oLanguage.sProcessing).append("<div><div></div><div></div><div></div><div></div></div>"),v?n.prependTo(t("div.dt-scroll",o.nTableWrapper)):n.insertBefore(r),t(r).on("processing.dt.DT",(function(t,e,r){n.css("display",r?"block":"none")})))}(e);var o=e,i=o.nTHead,d=i.querySelectorAll("tr"),u=o.bSortCellsTop,c=':not([data-dt-order="disable"]):not([data-dt-order="icon-only"])';!0===u?i=d[0]:!1===u&&(i=d[d.length-1]),Rt(o,i,i===o.nTHead?"tr"+c+" th"+c+", tr"+c+" td"+c:"th"+c+", td"+c),jt(o,u=[],o.aaSorting),o.aaSorting=u,zt(e),Ft(e,!0),$t(e,null,"preInit",[e],!0),ht(e),"ssp"==l&&!s||("ajax"==l?bt(e,{},(function(t){var o=vt(e,t);for(n=0;n<o.length;n++)V(e,o[n]);e.iInitDisplayStart=r,ht(e),Ft(e,!1),Tt(e)})):(Tt(e),Ft(e,!1)))},(r=e).oFeatures.bStateSave?void 0!==(i=r.fnStateLoadCallback.call(r.oInstance,r,(function(t){Ut(r,t,o)})))&&Ut(r,i,o):o()):setTimeout((function(){kt(e)}),200)}function Tt(t){var e;t._bInitComplete||(e=[t,t.json],t._bInitComplete=!0,L(t),$t(t,null,"plugin-init",e,!0),$t(t,"aoInitComplete","init",e,!0))}function It(t,e){e=parseInt(e,10),t._iDisplayLength=e,Kt(t),$t(t,null,"length",[t,e])}function Dt(t,e,n){var r=t._iDisplayStart,o=t._iDisplayLength,i=t.fnRecordsDisplay();if(0===i||-1===o)r=0;else if("number"==typeof e)i<(r=e*o)&&(r=0);else if("first"==e)r=0;else if("previous"==e)(r=0<=o?r-o:0)<0&&(r=0);else if("next"==e)r+o<i&&(r+=o);else if("last"==e)r=Math.floor((i-1)/o)*o;else{if("ellipsis"===e)return;qt(t,0,"Unknown paging action: "+e,5)}i=t._iDisplayStart!==r,t._iDisplayStart=r,$t(t,null,i?"page":"page-nc",[t]),i&&n&&ft(t)}function Ft(t,e){t.bDrawing&&!1===e||$t(t,null,"processing",[t,e])}function At(t,e,n){e?(Ft(t,!0),setTimeout((function(){n(),Ft(t,!1)}),0)):n()}function Nt(e){var n,r,o,i,a,s,l,d,u,c,f,h,p,m=t(e.nTable),g=e.oScroll;return""===g.sX&&""===g.sY?e.nTable:(n=g.sX,r=g.sY,o=e.oClasses.scrolling,a=(i=e.captionNode)?i._captionSide:null,u=t(m[0].cloneNode(!1)),s=t(m[0].cloneNode(!1)),c=function(t){return t?Bt(t):null},(l=m.children("tfoot")).length||(l=null),u=t(d="<div/>",{"class":o.container}).append(t(d,{"class":o.header.self}).css({overflow:"hidden",position:"relative",border:0,width:n?c(n):"100%"}).append(t(d,{"class":o.header.inner}).css({"box-sizing":"content-box",width:g.sXInner||"100%"}).append(u.removeAttr("id").css("margin-left",0).append("top"===a?i:null).append(m.children("thead"))))).append(t(d,{"class":o.body}).css({position:"relative",overflow:"auto",width:c(n)}).append(m)),l&&u.append(t(d,{"class":o.footer.self}).css({overflow:"hidden",border:0,width:n?c(n):"100%"}).append(t(d,{"class":o.footer.inner}).append(s.removeAttr("id").css("margin-left",0).append("bottom"===a?i:null).append(m.children("tfoot"))))),c=u.children(),f=c[0],h=c[1],p=l?c[2]:null,t(h).on("scroll.DT",(function(){var t=this.scrollLeft;f.scrollLeft=t,l&&(p.scrollLeft=t)})),t("th, td",f).on("focus",(function(){var t=f.scrollLeft;h.scrollLeft=t,l&&(h.scrollLeft=t)})),t(h).css("max-height",r),g.bCollapse||t(h).css("height",r),e.nScrollHead=f,e.nScrollBody=h,e.nScrollFoot=p,e.aoDrawCallback.push(Et),u[0])}function Et(e){var n=e.oScroll,r=n.iBarWidth,o=t(e.nScrollHead).children("div"),i=o.children("table"),a=e.nScrollBody,s=t(a),l=t(e.nScrollFoot).children("div"),d=l.children("table"),u=t(e.nTHead),c=t(e.nTable),f=e.nTFoot&&t("th, td",e.nTFoot).length?t(e.nTFoot):null,h=e.oBrowser,p=a.scrollHeight>a.clientHeight;if(e.scrollBarVis!==p&&void 0!==e.scrollBarVis)e.scrollBarVis=p,L(e);else{if(e.scrollBarVis=p,c.children("thead, tfoot").remove(),(p=u.clone().prependTo(c)).find("th, td").removeAttr("tabindex"),p.find("[id]").removeAttr("id"),f&&(w=f.clone().prependTo(c)).find("[id]").removeAttr("id"),e.aiDisplay.length){for(var m=null,g="ssp"!==Jt(e)?e._iDisplayStart:0,b=g;b<g+e.aiDisplay.length;b++){var v=e.aiDisplay[b];if(v=e.aoData[v].nTr){m=v;break}}if(m){var y=t(m).children("th, td").map((function(n){return{idx:j(e,n),width:t(this).outerWidth()}}));for(b=0;b<y.length;b++){var _=e.aoColumns[y[b].idx].colEl[0];_.style.width.replace("px","")!==y[b].width&&(_.style.width=y[b].width+"px",n.sX)&&(_.style.minWidth=y[b].width+"px")}}}i.find("colgroup").remove(),i.append(e.colgroup.clone()),f&&(d.find("colgroup").remove(),d.append(e.colgroup.clone())),t("th, td",p).each((function(){t(this.childNodes).wrapAll('<div class="dt-scroll-sizing">')})),f&&t("th, td",w).each((function(){t(this.childNodes).wrapAll('<div class="dt-scroll-sizing">')}));u=Math.floor(c.height())>a.clientHeight||"scroll"==s.css("overflow-y"),p="padding"+(h.bScrollbarLeft?"Left":"Right");var w=c.outerWidth();i.css("width",Bt(w)),o.css("width",Bt(w)).css(p,u?r+"px":"0px"),f&&(d.css("width",Bt(w)),l.css("width",Bt(w)).css(p,u?r+"px":"0px")),c.children("colgroup").prependTo(c),s.trigger("scroll"),!e.bSorted&&!e.bFiltered||e._drawHold||(a.scrollTop=0)}}function Ot(e){return t(e.nTableWrapper).is(":visible")?t(e.nTableWrapper).width():0}function Bt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function zt(t){var e=t.aoColumns;for(t.colgroup.empty(),Ae=0;Ae<e.length;Ae++)e[Ae].bVisible&&t.colgroup.append(e[Ae].colEl)}function Rt(t,e,n,r,o){Vt(e,n,(function(e){var n=!1,i=void 0===r?G(e.target):[r];if(i.length){for(var a=0,s=i.length;a<s&&(!1!==function(t,e,n,r){function o(t,e){var n=t._idx;return(n=void 0===n?l.indexOf(t[1]):n)+1<l.length?n+1:e?null:0}var i,a=t.aoColumns[e],s=t.aaSorting,l=a.asSorting;if(!a.bSortable)return!1;"number"==typeof s[0]&&(s=t.aaSorting=[s]),(r||n)&&t.oFeatures.bSortMulti?-1!==(a=C(s,"0").indexOf(e))?null===(i=null===(i=o(s[a],!0))&&1===s.length?0:i)?s.splice(a,1):(s[a][1]=l[i],s[a]._idx=i):(r?s.push([e,l[0],0]):s.push([e,s[0][1],0]),s[s.length-1]._idx=0):s.length&&s[0][0]==e?(i=o(s[0]),s.length=1,s[0][1]=l[i],s[0]._idx=i):(s.length=0,s.push([e,l[0]]),s[0]._idx=0)}(t,i[a],a,e.shiftKey)&&(n=!0),1!==t.aaSorting.length||""!==t.aaSorting[0][1]);a++);n&&At(t,!0,(function(){Ht(t),Lt(t,t.aiDisplay),ht(t,!1,!1),o&&o()}))}}))}function Lt(t,e){if(!(e.length<2)){for(var n=t.aiDisplayMaster,r={},o={},i=0;i<n.length;i++)r[n[i]]=i;for(i=0;i<e.length;i++)o[e[i]]=r[e[i]];e.sort((function(t,e){return o[t]-o[e]}))}}function jt(e,n,r){function o(r){var o;t.isPlainObject(r)?void 0!==r.idx?n.push([r.idx,r.dir]):r.name&&-1!==(o=C(e.aoColumns,"sName").indexOf(r.name))&&n.push([o,r.dir]):n.push(r)}if(t.isPlainObject(r))o(r);else if(r.length&&"number"==typeof r[0])o(r);else if(r.length)for(var i=0;i<r.length;i++)o(r[i])}function Pt(e){var n,r,o,i,a,s,l,d=[],u=h.ext.type.order,c=e.aoColumns,f=e.aaSortingFixed,p=t.isPlainObject(f),m=[];if(e.oFeatures.bSort)for(Array.isArray(f)&&jt(e,m,f),p&&f.pre&&jt(e,m,f.pre),jt(e,m,e.aaSorting),p&&f.post&&jt(e,m,f.post),n=0;n<m.length;n++)if(c[l=m[n][0]])for(r=0,o=(i=c[l].aDataSort).length;r<o;r++)s=c[a=i[r]].sType||"string",void 0===m[n]._idx&&(m[n]._idx=c[a].asSorting.indexOf(m[n][1])),m[n][1]&&d.push({src:l,col:a,dir:m[n][1],index:m[n]._idx,type:s,formatter:u[s+"-pre"],sorter:u[s+"-"+m[n][1]]});return d}function Ht(t,e,n){var r,o,i,a,s,l=[],d=h.ext.type.order,u=t.aoData,c=t.aiDisplayMaster;for(U(t),void 0!==e?(a=t.aoColumns[e],s=[{src:e,col:e,dir:n,index:0,type:a.sType,formatter:d[a.sType+"-pre"],sorter:d[a.sType+"-"+n]}],c=c.slice()):s=Pt(t),r=0,o=s.length;r<o;r++){x=_=m=p=f=y=void 0;var f,p,m,g=t,b=s[r].col,v=g.aoColumns[b],y=h.ext.order[v.sSortDataType];y&&(f=y.call(g.oInstance,g,b,P(g,b)));for(var _=h.ext.type.order[v.sType+"-pre"],w=g.aoData,x=0;x<w.length;x++)w[x]&&((p=w[x])._aSortData||(p._aSortData=[]),p._aSortData[b]&&!y||(m=y?f[x]:$(g,x,b,"sort"),p._aSortData[b]=_?_(m,g):m))}if("ssp"!=Jt(t)&&0!==s.length){for(r=0,i=c.length;r<i;r++)l[r]=r;s.length&&"desc"===s[0].dir&&t.orderDescReverse&&l.reverse(),c.sort((function(t,e){for(var n,r,o,i,a=s.length,d=u[t]._aSortData,c=u[e]._aSortData,f=0;f<a;f++)if(n=d[(i=s[f]).col],r=c[i.col],i.sorter){if(0!==(o=i.sorter(n,r)))return o}else if(0!=(o=n<r?-1:r<n?1:0))return"asc"===i.dir?o:-o;return(n=l[t])<(r=l[e])?-1:r<n?1:0}))}else 0===s.length&&c.sort((function(t,e){return t<e?-1:e<t?1:0}));return void 0===e&&(t.bSorted=!0,t.sortDetails=s,$t(t,null,"order",[t,s])),c}function Wt(e){var n,r,o,i=e.aLastSort,a=e.oClasses.order.position,s=Pt(e),l=e.oFeatures;if(l.bSort&&l.bSortClasses){for(n=0,r=i.length;n<r;n++)o=i[n].src,t(C(e.aoData,"anCells",o)).removeClass(a+(n<2?n+1:3));for(n=0,r=s.length;n<r;n++)o=s[n].src,t(C(e.aoData,"anCells",o)).addClass(a+(n<2?n+1:3))}e.aLastSort=s}function Mt(e){var n,r;e._bLoadingState||(jt(e,r=[],e.aaSorting),n=e.aoColumns,r={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:r.map((function(t){return n[t[0]]&&n[t[0]].sName?[n[t[0]].sName,t[1]]:t.slice()})),search:t.extend({},e.oPreviousSearch),columns:e.aoColumns.map((function(n,r){return{name:n.sName,visible:n.bVisible,search:t.extend({},e.aoPreSearchCols[r])}}))},e.oSavedState=r,$t(e,"aoStateSaveParams","stateSaveParams",[e,r]),e.oFeatures.bStateSave&&!e.bDestroying&&e.fnStateSaveCallback.call(e.oInstance,e,r))}function Ut(e,n,r){var o,i,a=e.aoColumns,s=C(e.aoColumns,"sName"),l=(e._bLoadingState=!0,e._bInitComplete?new h.Api(e):null);if(n&&n.time){var d=e.iStateDuration;if(0<d&&n.time<+new Date-1e3*d)e._bLoadingState=!1;else if(-1!==$t(e,"aoStateLoadParams","stateLoadParams",[e,n]).indexOf(!1))e._bLoadingState=!1;else{if(e.oLoadedState=t.extend(!0,{},n),$t(e,null,"stateLoadInit",[e,n],!0),void 0!==n.length&&(l?l.page.len(n.length):e._iDisplayLength=n.length),void 0!==n.start&&(null===l?(e._iDisplayStart=n.start,e.iInitDisplayStart=n.start):Dt(e,n.start/e._iDisplayLength)),void 0!==n.order&&(e.aaSorting=[],t.each(n.order,(function(t,n){var r=[n[0],n[1]];"string"==typeof n[0]?(n=s.indexOf(n[0]),r[0]=0<=n?n:0):r[0]>=a.length&&(r[0]=0),e.aaSorting.push(r)}))),void 0!==n.search&&t.extend(e.oPreviousSearch,n.search),n.columns){var u,c=n.columns,f=C(n.columns,"name");if(f.join("").length&&f.join("")!==s.join(""))for(c=[],o=0;o<s.length;o++)""!=s[o]&&0<=(u=f.indexOf(s[o]))?c.push(n.columns[u]):c.push({});if(c.length===a.length){for(o=0,i=c.length;o<i;o++){var p=c[o];void 0!==p.visible&&(l?l.column(o).visible(p.visible,!1):a[o].bVisible=p.visible),void 0!==p.search&&t.extend(e.aoPreSearchCols[o],p.search)}l&&l.columns.adjust()}}e._bLoadingState=!1,$t(e,"aoStateLoaded","stateLoaded",[e,n])}}else e._bLoadingState=!1;r()}function qt(t,n,r,o){if(r="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+r,o&&(r+=". For more information about this error, please see https://datatables.net/tn/"+o),n)e.console&&console.log&&console.log(r);else if(n=(n=h.ext).sErrMode||n.errMode,t&&$t(t,null,"dt-error",[t,o,r],!0),"alert"==n)alert(r);else{if("throw"==n)throw new Error(r);"function"==typeof n&&n(t,o,r)}}function Zt(e,n,r,o){Array.isArray(r)?t.each(r,(function(t,r){Array.isArray(r)?Zt(e,n,r[0],r[1]):Zt(e,n,r)})):(void 0===o&&(o=r),void 0!==n[r]&&(e[o]=n[r]))}function Gt(e,n,r){var o,i;for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o=n[i],t.isPlainObject(o)?(t.isPlainObject(e[i])||(e[i]={}),t.extend(!0,e[i],o)):r&&"data"!==i&&"aaData"!==i&&Array.isArray(o)?e[i]=o.slice():e[i]=o);return e}function Vt(e,n,r){t(e).on("click.DT",n,(function(t){r(t)})).on("keypress.DT",n,(function(t){13===t.which&&(t.preventDefault(),r(t))})).on("selectstart.DT",n,(function(){return!1}))}function Xt(t,e,n){n&&t[e].push(n)}function $t(e,n,r,o,i){var a=[];return n&&(a=e[n].slice().reverse().map((function(t){return t.apply(e.oInstance,o)}))),null!==r&&(n=t.Event(r+".dt"),r=t(e.nTable),n.dt=e.api,r[i?"trigger":"triggerHandler"](n,o),i&&0===r.parents("body").length&&t("body").trigger(n,o),a.push(n.result)),a}function Kt(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),r=t._iDisplayLength;n<=e&&(e=n-r),e-=e%r,t._iDisplayStart=e=-1===r||e<0?0:e}function Yt(e,n){e=e.renderer;var r=h.ext.renderer[n];return t.isPlainObject(e)&&e[n]?r[e[n]]||r._:"string"==typeof e&&r[e]||r._}function Jt(t){return t.oFeatures.bServerSide?"ssp":t.ajax?"ajax":"dom"}function Qt(t,e,n){var r=t.fnFormatNumber,o=t._iDisplayStart+1,i=t._iDisplayLength,a=t.fnRecordsDisplay(),s=t.fnRecordsTotal(),l=-1===i;return e.replace(/_START_/g,r.call(t,o)).replace(/_END_/g,r.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,r.call(t,s)).replace(/_TOTAL_/g,r.call(t,a)).replace(/_PAGE_/g,r.call(t,l?1:Math.ceil(o/i))).replace(/_PAGES_/g,r.call(t,l?1:Math.ceil(a/i))).replace(/_ENTRIES_/g,t.api.i18n("entries","",n)).replace(/_ENTRIES-MAX_/g,t.api.i18n("entries","",s)).replace(/_ENTRIES-TOTAL_/g,t.api.i18n("entries","",a))}function te(t,e){if(e)if(e.length<1e4)t.push.apply(t,e);else for(Ae=0;Ae<e.length;Ae++)t.push(e[Ae])}var ee=[],ne=Array.prototype;function re(e,n){var r,o;return Array.isArray(e)?(r=[],e.forEach((function(t){t=re(t,n),te(r,t)})),r.filter((function(t){return t}))):"number"==typeof e?[n[e]]:(o=n.map((function(t){return t.nTable})),t(o).filter(e).map((function(){var t=o.indexOf(this);return n[t]})).toArray())}function oe(t,e,n){var r,o;n&&(r=new u(t)).one("draw",(function(){n(r.ajax.json())})),"ssp"==Jt(t)?ht(t,e):(Ft(t,!0),(o=t.jqXHR)&&4!==o.readyState&&o.abort(),bt(t,{},(function(n){rt(t);for(var r=vt(t,n),o=0,i=r.length;o<i;o++)V(t,r[o]);ht(t,e),Tt(t),Ft(t,!1)})))}function ie(t,e,n,r,o){for(var i,a,s,l,u=[],c=typeof e,f=0,h=(e=e&&"string"!=c&&"function"!=c&&void 0!==e.length?e:[e]).length;f<h;f++)for(s=0,l=(a=e[f]&&e[f].split&&!e[f].match(/[[(:]/)?e[f].split(","):[e[f]]).length;s<l;s++)(i=(i=n("string"==typeof a[s]?a[s].trim():a[s])).filter((function(t){return null!=t})))&&i.length&&(u=u.concat(i));var p=d.selector[t];if(p.length)for(f=0,h=p.length;f<h;f++)u=p[f](r,o,u);return I(u)}function ae(e){return(e=e||{}).filter&&void 0===e.search&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)}function se(t){var e=new u(t.context[0]);return t.length&&e.push(t[0]),e.selector=t.selector,e.length&&1<e[0].length&&e[0].splice(1),e}function le(e,n){var r=e.context;if(r.length&&e.length&&(a=r[0].aoData[e[0]])._details){(a._detailsShow=n)?(a._details.insertAfter(a.nTr),t(a.nTr).addClass("dt-hasChild")):(a._details.detach(),t(a.nTr).removeClass("dt-hasChild")),$t(r[0],null,"childRow",[n,e.row(e[0])]);var o=r[0],i=new u(o),a=(n="draw"+(a=".dt.DT_details"),e="column-sizing"+a,"destroy"+a),s=o.aoData;i.off(n+" "+e+" "+a),C(s,"_details").length>0&&(i.on(n,(function(t,e){o===e&&i.rows({page:"current"}).eq(0).each((function(t){var e=s[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),i.on(e,(function(e,n){if(o===n)for(var r,i=H(n),a=0,l=s.length;a<l;a++)(r=s[a])&&r._details&&r._details.each((function(){var e=t(this).children("td");1==e.length&&e.attr("colspan",i)}))})),i.on(a,(function(t,e){if(o===e)for(var n=0,r=s.length;n<r;n++)s[n]&&s[n]._details&&be(i,n)}))),ge(r)}}function de(t,e,n,r,o,i){for(var a=[],s=0,l=o.length;s<l;s++)a.push($(t,o[s],e,i));return a}function ue(t,e,n){var r=t.aoHeader;return r[void 0!==n?n:t.bSortCellsTop?0:r.length-1][e].cell}function ce(t,e){return function(n){return w(n)||"string"!=typeof n||(n=n.replace(m," "),t&&(n=S(n)),e&&(n=T(n,!1))),n}}u=function(e,n){if(!(this instanceof u))return new u(e,n);function r(e){e=e,r=h.settings,o=C(r,"nTable");var n,r,o,a=e?e.nTable&&e.oFeatures?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(a=o.indexOf(e))?[r[a]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?n=t(e).get():e instanceof t&&(n=e.get()),n?r.filter((function(t,e){return n.includes(o[e])})):void 0):[];a&&i.push.apply(i,a)}var o,i=[];if(Array.isArray(e))for(o=0;o<e.length;o++)r(e[o]);else r(e);this.context=1<i.length?I(i):i,te(this,n),this.selector={rows:null,cols:null,opts:null},u.extend(this,this,ee)},h.Api=u,t.extend(u.prototype,{any:function(){return 0!==this.count()},context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new u(e[t],this[t]):null},filter:function(t){return t=ne.filter.call(this,t,this),new u(this.context,t)},flatten:function(){var t=[];return new u(this.context,t.concat.apply(t,this.toArray()))},get:function(t){return this[t]},join:ne.join,includes:function(t){return-1!==this.indexOf(t)},indexOf:ne.indexOf,iterator:function(t,e,n,r){var o,i,a,s,l,d,c,f,h=[],p=this.context,m=this.selector;for("string"==typeof t&&(r=n,n=e,e=t,t=!1),i=0,a=p.length;i<a;i++){var g=new u(p[i]);if("table"===e)void 0!==(o=n.call(g,p[i],i))&&h.push(o);else if("columns"===e||"rows"===e)void 0!==(o=n.call(g,p[i],this[i],i))&&h.push(o);else if("every"===e||"column"===e||"column-rows"===e||"row"===e||"cell"===e)for(c=this[i],"column-rows"===e&&(d=pe(p[i],m.opts)),s=0,l=c.length;s<l;s++)f=c[s],void 0!==(o="cell"===e?n.call(g,p[i],f.row,f.column,i,s):n.call(g,p[i],f,i,s,d))&&h.push(o)}return h.length||r?((t=(r=new u(p,t?h.concat.apply([],h):h)).selector).rows=m.rows,t.cols=m.cols,t.opts=m.opts,r):this},lastIndexOf:ne.lastIndexOf,length:0,map:function(t){return t=ne.map.call(this,t,this),new u(this.context,t)},pluck:function(t){var e=h.util.get(t);return this.map((function(t){return e(t)}))},pop:ne.pop,push:ne.push,reduce:ne.reduce,reduceRight:ne.reduceRight,reverse:ne.reverse,selector:null,shift:ne.shift,slice:function(){return new u(this.context,this)},sort:ne.sort,splice:ne.splice,toArray:function(){return ne.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new u(this.context,I(this.toArray()))},unshift:ne.unshift}),e.__apiStruct=ee,u.extend=function(t,e,n){if(n.length&&e&&(e instanceof u||e.__dt_wrapper))for(var r,o=0,i=n.length;o<i;o++)"__proto__"!==(r=n[o]).name&&(e[r.name]="function"===r.type?function(t,e,n){return function(){var r=e.apply(t||this,arguments);return u.extend(r,r,n.methodExt),r}}(t,r.val,r):"object"===r.type?{}:r.val,e[r.name].__dt_wrapper=!0,u.extend(t,e[r.name],r.propExt))},u.register=c=function(e,n){if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)u.register(e[r],n);else for(var i=e.split("."),a=ee,s=0,l=i.length;s<l;s++){var d,c,f=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].name===e)return t[n];return null}(a,c=(d=-1!==i[s].indexOf("()"))?i[s].replace("()",""):i[s]);f||a.push(f={name:c,val:{},methodExt:[],propExt:[],type:"object"}),s===l-1?(f.val=n,f.type="function"==typeof n?"function":t.isPlainObject(n)?"object":"other"):a=d?f.methodExt:f.propExt}},u.registerPlural=f=function(t,e,n){u.register(t,n),u.register(e,(function(){var t=n.apply(this,arguments);return t===this?this:t instanceof u?t.length?Array.isArray(t[0])?new u(t.context,t[0]):t[0]:void 0:t}))},c("tables()",(function(t){return null!=t?new u(re(t,this.context)):this})),c("table()",(function(t){var e=(t=this.tables(t)).context;return e.length?new u(e[0]):t})),[["nodes","node","nTable"],["body","body","nTBody"],["header","header","nTHead"],["footer","footer","nTFoot"]].forEach((function(t){f("tables()."+t[0]+"()","table()."+t[1]+"()",(function(){return this.iterator("table",(function(e){return e[t[2]]}),1)}))})),[["header","aoHeader"],["footer","aoFooter"]].forEach((function(t){c("table()."+t[0]+".structure()",(function(e){e=this.columns(e).indexes().flatten();var n=this.context[0];return ut(n,n[t[1]],e)}))})),f("tables().containers()","table().container()",(function(){return this.iterator("table",(function(t){return t.nTableWrapper}),1)})),c("tables().every()",(function(t){var e=this;return this.iterator("table",(function(n,r){t.call(e.table(r),r)}))})),c("caption()",(function(e,n){var r,o=this.context;return void 0===e?(r=o[0].captionNode)&&o.length?r.innerHTML:null:this.iterator("table",(function(r){var o=t(r.nTable),i=t(r.captionNode),a=t(r.nTableWrapper);i.length||(i=t("<caption/>").html(e),r.captionNode=i[0],n)||(o.prepend(i),n=i.css("caption-side")),i.html(e),n&&(i.css("caption-side",n),i[0]._captionSide=n),(a.find("div.dataTables_scroll").length?(r="top"===n?"Head":"Foot",a.find("div.dataTables_scroll"+r+" table")):o).prepend(i)}),1)})),c("caption.node()",(function(){var t=this.context;return t.length?t[0].captionNode:null})),c("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?ft(e):ht(e,!1===(t="string"==typeof t?"full-hold"!==t:t))}))})),c("page()",(function(t){return void 0===t?this.page.info().page:this.iterator("table",(function(e){Dt(e,t)}))})),c("page.info()",(function(){var t,e,n,r,o;if(0!==this.context.length)return e=(t=this.context[0])._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,r=t.fnRecordsDisplay(),{page:(o=-1===n)?0:Math.floor(e/n),pages:o?1:Math.ceil(r/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===Jt(t)}})),c("page.len()",(function(t){return void 0===t?0!==this.context.length?this.context[0]._iDisplayLength:void 0:this.iterator("table",(function(e){It(e,t)}))})),c("ajax.json()",(function(){var t=this.context;if(0<t.length)return t[0].json})),c("ajax.params()",(function(){var t=this.context;if(0<t.length)return t[0].oAjaxData})),c("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){oe(n,!1===e,t)}))})),c("ajax.url()",(function(e){var n=this.context;return void 0===e?0===n.length?void 0:(n=n[0],t.isPlainObject(n.ajax)?n.ajax.url:n.ajax):this.iterator("table",(function(n){t.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e}))})),c("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){oe(n,!1===e,t)}))}));var fe,he,pe=function(t,e){var n,r=[],o=t.aiDisplay,i=t.aiDisplayMaster,a=e.search,l=e.order;e=e.page;if("ssp"==Jt(t))return"removed"===a?[]:s(0,i.length);if("current"==e)for(u=t._iDisplayStart,c=t.fnDisplayEnd();u<c;u++)r.push(o[u]);else if("current"==l||"applied"==l){if("none"==a)r=i.slice();else if("applied"==a)r=o.slice();else if("removed"==a){for(var d={},u=0,c=o.length;u<c;u++)d[o[u]]=null;i.forEach((function(t){Object.prototype.hasOwnProperty.call(d,t)||r.push(t)}))}}else if("index"==l||"original"==l)for(u=0,c=t.aoData.length;u<c;u++)t.aoData[u]&&("none"==a||-1===(n=o.indexOf(u))&&"removed"==a||0<=n&&"applied"==a)&&r.push(u);else if("number"==typeof l){var f=Ht(t,l,"asc");if("none"===a)r=f;else for(u=0;u<f.length;u++)(-1===(n=o.indexOf(f[u]))&&"removed"==a||0<=n&&"applied"==a)&&r.push(f[u])}return r},me=(c("rows()",(function(e,n){void 0===e?e="":t.isPlainObject(e)&&(n=e,e=""),n=ae(n);var o=this.iterator("table",(function(o){return s=ie("row",s=e,(function(e){var n=r(e),o=i.aoData;if(null!==n&&!d)return[n];if(u=u||pe(i,d),null!==n&&-1!==u.indexOf(n))return[n];if(null==e||""===e)return u;if("function"==typeof e)return u.map((function(t){var n=o[t];return e(t,n._aData,n.nTr)?t:null}));if(e.nodeName)return n=e._DT_RowIndex,s=e._DT_CellIndex,void 0!==n?o[n]&&o[n].nTr===e?[n]:[]:s?o[s.row]&&o[s.row].nTr===e.parentNode?[s.row]:[]:(n=t(e).closest("*[data-dt-row]")).length?[n.data("dt-row")]:[];if("string"==typeof e&&"#"===e.charAt(0)){var s=i.aIds[e.replace(/^#/,"")];if(void 0!==s)return[s.idx]}return n=l(a(i.aoData,u,"nTr")),t(n).filter(e).map((function(){return this._DT_RowIndex})).toArray()}),i=o,d=n),"current"!==d.order&&"applied"!==d.order||Lt(i,s),s;var i,s,d,u}),1);return o.selector.rows=e,o.selector.opts=n,o})),c("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||void 0}),1)})),c("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return a(t.aoData,e,"_aData")}),1)})),f("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){return e=e.aoData[n],"search"===t?e._aFilterData:e._aSortData}),1)})),f("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){ot(e,n,t)}))})),f("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),f("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,r=0,o=n.length;r<o;r++)for(var i=0,a=this[r].length;i<a;i++){var s=n[r].rowIdFn(n[r].aoData[this[r][i]]._aData);e.push((!0===t?"#":"")+s)}return new u(n,e)})),f("rows().remove()","row().remove()",(function(){return this.iterator("row",(function(t,e){var n,r=t.aoData,o=r[e];void 0!==(n=(-1!==(n=t.aiDisplayMaster.indexOf(e))&&t.aiDisplayMaster.splice(n,1),0<t._iRecordsDisplay&&t._iRecordsDisplay--,Kt(t),t.rowIdFn(o._aData)))&&delete t.aIds[n],r[e]=null})),this})),c("rows.add()",(function(t){var e=this.iterator("table",(function(e){for(var n,r=[],o=0,i=t.length;o<i;o++)(n=t[o]).nodeName&&"TR"===n.nodeName.toUpperCase()?r.push(X(e,n)[0]):r.push(V(e,n));return r}),1),n=this.rows(-1);return n.pop(),te(n,e),n})),c("row()",(function(t,e){return se(this.rows(t,e))})),c("row().data()",(function(t){var e,n=this.context;return void 0===t?n.length&&this.length&&this[0].length?n[0].aoData[this[0]]._aData:void 0:((e=n[0].aoData[this[0]])._aData=t,Array.isArray(t)&&e.nTr&&e.nTr.id&&et(n[0].rowId)(t,e.nTr.id),ot(n[0],this[0],"data"),this)})),c("row().node()",(function(){var t=this.context;return t.length&&this.length&&this[0].length&&(t=t[0].aoData[this[0]])&&t.nTr?t.nTr:null})),c("row.add()",(function(e){e instanceof t&&e.length&&(e=e[0]);var n=this.iterator("table",(function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?X(t,e)[0]:V(t,e)}));return this.row(n[0])})),t(n).on("plugin-init.dt",(function(t,e){var n=new u(e);n.on("stateSaveParams.DT",(function(t,e,n){for(var r=e.rowIdFn,o=e.aiDisplayMaster,i=[],a=0;a<o.length;a++){var s=o[a];(s=e.aoData[s])._detailsShow&&i.push("#"+r(s._aData))}n.childRows=i})),n.on("stateLoaded.DT",(function(t,e,r){me(n,r)})),me(n,n.state.loaded())})),function(t,e){e&&e.childRows&&t.rows(e.childRows.map((function(t){return t.replace(/([^:\\]*(?:\\.[^:\\]*)*):/g,"$1\\:")}))).every((function(){$t(t.settings()[0],null,"requestChild",[this])}))}),ge=h.util.throttle((function(t){Mt(t[0])}),500),be=function(e,n){var r=e.context;r.length&&(n=r[0].aoData[void 0!==n?n:e[0]])&&n._details&&(n._details.remove(),n._detailsShow=void 0,n._details=void 0,t(n.nTr).removeClass("dt-hasChild"),ge(r))},ve="row().child",ye=(c(_e=ve+"()",(function(e,n){var r=this.context;return void 0===e?r.length&&this.length&&r[0].aoData[this[0]]?r[0].aoData[this[0]]._details:void 0:(!0===e?this.child.show():!1===e?be(this):r.length&&this.length&&function(e,n,r,o){var i=[];(function a(r,o){var s;if(Array.isArray(r)||r instanceof t)for(var l=0,d=r.length;l<d;l++)a(r[l],o);else r.nodeName&&"tr"===r.nodeName.toLowerCase()?(r.setAttribute("data-dt-row",n.idx),i.push(r)):(s=t("<tr><td></td></tr>").attr("data-dt-row",n.idx).addClass(o),t("td",s).addClass(o).html(r)[0].colSpan=H(e),i.push(s[0]))})(r,o),n._details&&n._details.detach(),n._details=t(i),n._detailsShow&&n._details.insertAfter(n.nTr)}(r[0],r[0].aoData[this[0]],e,n),this)})),c([ve+".show()",_e+".show()"],(function(){return le(this,!0),this})),c([ve+".hide()",_e+".hide()"],(function(){return le(this,!1),this})),c([ve+".remove()",_e+".remove()"],(function(){return be(this),this})),c(ve+".isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]&&t[0].aoData[this[0]]._detailsShow||!1})),/^([^:]+)?:(name|title|visIdx|visible)$/),_e=(c("columns()",(function(e,n){void 0===e?e="":t.isPlainObject(e)&&(n=e,e=""),n=ae(n);var o=this.iterator("table",(function(o){return a=e,l=n,d=(i=o).aoColumns,u=C(d,"sName"),c=C(d,"sTitle"),o=h.util.get("[].[].cell")(i.aoHeader),f=I(D([],o)),ie("column",a,(function(e){var n,o=r(e);if(""===e)return s(d.length);if(null!==o)return[0<=o?o:d.length+o];if("function"==typeof e)return n=pe(i,l),d.map((function(t,r){return e(r,de(i,r,0,0,n),ue(i,r))?r:null}));var a,h,p="string"==typeof e?e.match(ye):"";if(p)switch(p[2]){case"visIdx":case"visible":return p[1]&&p[1].match(/^\d+$/)?(a=parseInt(p[1],10))<0?[(h=d.map((function(t,e){return t.bVisible?e:null})))[h.length+a]]:[j(i,a)]:d.map((function(e,n){return e.bVisible&&(!p[1]||0<t(f[n]).filter(p[1]).length)?n:null}));case"name":return u.map((function(t,e){return t===p[1]?e:null}));case"title":return c.map((function(t,e){return t===p[1]?e:null}));default:return[]}return e.nodeName&&e._DT_CellIndex?[e._DT_CellIndex.column]:(o=t(f).filter(e).map((function(){return G(this)})).toArray().sort((function(t,e){return t-e}))).length||!e.nodeName?o:(o=t(e).closest("*[data-dt-column]")).length?[o.data("dt-column")]:[]}),i,l);var i,a,l,d,u,c,f}),1);return o.selector.cols=e,o.selector.opts=n,o})),f("columns().header()","column().header()",(function(t){return this.iterator("column",(function(e,n){return ue(e,n,t)}),1)})),f("columns().footer()","column().footer()",(function(t){return this.iterator("column",(function(e,n){return e.aoFooter.length?e.aoFooter[void 0!==t?t:0][n].cell:null}),1)})),f("columns().data()","column().data()",(function(){return this.iterator("column-rows",de,1)})),f("columns().render()","column().render()",(function(t){return this.iterator("column-rows",(function(e,n,r,o,i){return de(e,n,0,0,i,t)}),1)})),f("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),f("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,r,o,i){return a(e.aoData,i,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),f("columns().init()","column().init()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e]}),1)})),f("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,r,o){return a(t.aoData,o,"anCells",e)}),1)})),f("columns().titles()","column().title()",(function(e,n){return this.iterator("column",(function(r,o){return"number"==typeof e&&(n=e,e=void 0),o=t("span.dt-column-title",this.column(o).header(n)),void 0!==e?(o.html(e),this):o.html()}),1)})),f("columns().types()","column().type()",(function(){return this.iterator("column",(function(t,e){return(e=t.aoColumns[e].sType)||U(t),e}),1)})),f("columns().visible()","column().visible()",(function(e,n){var r=this,o=[],i=this.iterator("column",(function(n,r){if(void 0===e)return n.aoColumns[r].bVisible;!function(e,n,r){var o,i,a=e.aoColumns,s=a[n],l=e.aoData;if(void 0===r)return s.bVisible;if(s.bVisible===r)return!1;if(r)for(var d=C(a,"bVisible").indexOf(!0,n+1),u=0,c=l.length;u<c;u++)l[u]&&(i=l[u].nTr,o=l[u].anCells,i)&&i.insertBefore(o[n],o[d]||null);else t(C(e.aoData,"anCells",n)).detach();return s.bVisible=r,zt(e),!0}(n,r,e)||o.push(r)}));return void 0!==e&&this.iterator("table",(function(i){ct(i,i.aoHeader),ct(i,i.aoFooter),i.aiDisplay.length||t(i.nTBody).find("td[colspan]").attr("colspan",H(i)),Mt(i),r.iterator("column",(function(t,r){o.includes(r)&&$t(t,null,"column-visibility",[t,r,e,n])})),o.length&&(void 0===n||n)&&r.columns.adjust()})),i})),f("columns().widths()","column().width()",(function(){var e=this.columns(":visible").count(),n=(e=t("<tr>").html("<td>"+Array(e).join("</td><td>")+"</td>"),t(this.table().body()).append(e),e.children().map((function(){return t(this).outerWidth()})));return e.remove(),this.iterator("column",(function(t,e){return null!==(t=P(t,e))?n[t]:0}),1)})),f("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?P(e,n):n}),1)})),c("columns.adjust()",(function(){return this.iterator("table",(function(t){t.containerWidth=-1,L(t)}),1)})),c("column.index()",(function(t,e){var n;if(0!==this.context.length)return n=this.context[0],"fromVisible"===t||"toData"===t?j(n,e):"fromData"===t||"toVisible"===t?P(n,e):void 0})),c("column()",(function(t,e){return se(this.columns(t,e))})),c("cells()",(function(e,n,r){var o,i,s,d,u,c,f;return t.isPlainObject(e)&&(void 0===e.row?(r=e,e=null):(r=n,n=null)),t.isPlainObject(n)&&(r=n,n=null),null==n?this.iterator("table",(function(n){return o=n,n=e,i=ae(r),m=o.aoData,g=pe(o,i),b=l(a(m,g,"anCells")),v=t(D([],b)),y=o.aoColumns.length,ie("cell",n,(function(e){var n,r="function"==typeof e;if(null==e||r){for(d=[],u=0,c=g.length;u<c;u++)for(s=g[u],f=0;f<y;f++)h={row:s,column:f},(!r||(p=m[s],e(h,$(o,s,f),p.anCells?p.anCells[f]:null)))&&d.push(h);return d}return t.isPlainObject(e)?void 0!==e.column&&void 0!==e.row&&-1!==g.indexOf(e.row)?[e]:[]:(n=v.filter(e).map((function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}})).toArray()).length||!e.nodeName?n:(p=t(e).closest("*[data-dt-row]")).length?[{row:p.data("dt-row"),column:p.data("dt-column")}]:[]}),o,i);var o,i,s,d,u,c,f,h,p,m,g,b,v,y})):(f=r?{page:r.page,order:r.order,search:r.search}:{},o=this.columns(n,f),i=this.rows(e,f),f=this.iterator("table",(function(t,e){var n=[];for(s=0,d=i[e].length;s<d;s++)for(u=0,c=o[e].length;u<c;u++)n.push({row:i[e][s],column:o[e][u]});return n}),1),f=r&&r.selected?this.cells(f,r):f,t.extend(f.selector,{cols:n,rows:e,opts:r}),f)})),f("cells().nodes()","cell().node()",(function(){return this.iterator("cell",(function(t,e,n){return(t=t.aoData[e])&&t.anCells?t.anCells[n]:void 0}),1)})),c("cells().data()",(function(){return this.iterator("cell",(function(t,e,n){return $(t,e,n)}),1)})),f("cells().cache()","cell().cache()",(function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",(function(e,n,r){return e.aoData[n][t][r]}),1)})),f("cells().render()","cell().render()",(function(t){return this.iterator("cell",(function(e,n,r){return $(e,n,r,t)}),1)})),f("cells().indexes()","cell().index()",(function(){return this.iterator("cell",(function(t,e,n){return{row:e,column:n,columnVisible:P(t,n)}}),1)})),f("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,r){ot(e,n,t,r)}))})),c("cell()",(function(t,e,n){return se(this.cells(t,e,n))})),c("cell().data()",(function(t){var e,n,r,o,i,a=this.context,s=this[0];return void 0===t?a.length&&s.length?$(a[0],s[0].row,s[0].column):void 0:(e=a[0],n=s[0].row,r=s[0].column,o=e.aoColumns[r],i=e.aoData[n]._aData,o.fnSetData(i,t,{settings:e,row:n,col:r}),ot(a[0],s[0].row,"data",s[0].column),this)})),c("order()",(function(t,e){var n=this.context,r=Array.prototype.slice.call(arguments);return void 0===t?0!==n.length?n[0].aaSorting:void 0:("number"==typeof t?t=[[t,e]]:1<r.length&&(t=r),this.iterator("table",(function(e){e.aaSorting=Array.isArray(t)?t.slice():t})))})),c("order.listener()",(function(t,e,n){return this.iterator("table",(function(r){Rt(r,t,{},e,n)}))})),c("order.fixed()",(function(e){var n;return e?this.iterator("table",(function(n){n.aaSortingFixed=t.extend(!0,{},e)})):(n=(n=this.context).length?n[0].aaSortingFixed:void 0,Array.isArray(n)?{pre:n}:n)})),c(["columns().order()","column().order()"],(function(t){var e=this;return t?this.iterator("table",(function(n,r){n.aaSorting=e[r].map((function(e){return[e,t]}))})):this.iterator("column",(function(t,e){for(var n=Pt(t),r=0,o=n.length;r<o;r++)if(n[r].col===e)return n[r].dir;return null}),1)})),f("columns().orderable()","column().orderable()",(function(t){return this.iterator("column",(function(e,n){return e=e.aoColumns[n],t?e.asSorting:e.bSortable}),1)})),c("processing()",(function(t){return this.iterator("table",(function(e){Ft(e,t)}))})),c("search()",(function(e,n,r,o){var i=this.context;return void 0===e?0!==i.length?i[0].oPreviousSearch.search:void 0:this.iterator("table",(function(i){i.oFeatures.bFilter&&_t(i,"object"==typeof n?t.extend(i.oPreviousSearch,n,{search:e}):t.extend(i.oPreviousSearch,{search:e,regex:null!==n&&n,smart:null===r||r,caseInsensitive:null===o||o}))}))})),c("search.fixed()",(function(t,e){var n=this.iterator(!0,"table",(function(n){return n=n.searchFixed,t?void 0===e?n[t]:(null===e?delete n[t]:n[t]=e,this):Object.keys(n)}));return void 0!==t&&void 0===e?n[0]:n})),f("columns().search()","column().search()",(function(e,n,r,o){return this.iterator("column",(function(i,a){var s=i.aoPreSearchCols;if(void 0===e)return s[a].search;i.oFeatures.bFilter&&("object"==typeof n?t.extend(s[a],n,{search:e}):t.extend(s[a],{search:e,regex:null!==n&&n,smart:null===r||r,caseInsensitive:null===o||o}),_t(i,i.oPreviousSearch))}))})),c(["columns().search.fixed()","column().search.fixed()"],(function(t,e){var n=this.iterator(!0,"column",(function(n,r){return n=n.aoColumns[r].searchFixed,t?void 0===e?n[t]:(null===e?delete n[t]:n[t]=e,this):Object.keys(n)}));return void 0!==t&&void 0===e?n[0]:n})),c("state()",(function(e,n){var r;return e?(r=t.extend(!0,{},e),this.iterator("table",(function(t){!1!==n&&(r.time=+new Date+100),Ut(t,r,(function(){}))}))):this.context.length?this.context[0].oSavedState:null})),c("state.clear()",(function(){return this.iterator("table",(function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})}))})),c("state.loaded()",(function(){return this.context.length?this.context[0].oLoadedState:null})),c("state.save()",(function(){return this.iterator("table",(function(t){Mt(t)}))})),h.use=function(r,o){var i="string"==typeof r?o:r;o="string"==typeof o?o:r;if(void 0===i&&"string"==typeof o)switch(o){case"lib":case"jq":return t;case"win":return e;case"datetime":return h.DateTime;case"luxon":return xe;case"moment":return Ce;case"bootstrap":return fe||e.bootstrap;case"foundation":return he||e.Foundation;default:return null}"lib"===o||"jq"===o||i&&i.fn&&i.fn.jquery?t=i:"win"===o||i&&i.document?n=(e=i).document:"datetime"===o||i&&"DateTime"===i.type?h.DateTime=i:"luxon"===o||i&&i.FixedOffsetZone?xe=i:"moment"===o||i&&i.isMoment?Ce=i:"bootstrap"===o||i&&i.Modal&&"modal"===i.Modal.NAME?fe=i:("foundation"===o||i&&i.Reveal)&&(he=i)},h.factory=function(r,o){var i=!1;return r&&r.document&&(n=(e=r).document),o&&o.fn&&o.fn.jquery&&(t=o,i=!0),i},h.versionCheck=function(t,e){for(var n,r,o=(e||h.version).split("."),i=t.split("."),a=0,s=i.length;a<s;a++)if((n=parseInt(o[a],10)||0)!==(r=parseInt(i[a],10)||0))return r<n;return!0},h.isDataTable=function(e){var n=t(e).get(0),r=!1;return e instanceof h.Api||(t.each(h.settings,(function(e,o){var i=o.nScrollHead?t("table",o.nScrollHead)[0]:null,a=o.nScrollFoot?t("table",o.nScrollFoot)[0]:null;o.nTable!==n&&i!==n&&a!==n||(r=!0)})),r)},h.tables=function(e){var n=!1,r=(t.isPlainObject(e)&&(n=e.api,e=e.visible),h.settings.filter((function(n){return!(e&&!t(n.nTable).is(":visible"))})).map((function(t){return t.nTable})));return n?new u(r):r},h.camelToHungarian=N,c("$()",(function(e,n){return n=this.rows(n).nodes(),n=t(n),t([].concat(n.filter(e).toArray(),n.find(e).toArray()))})),t.each(["on","one","off"],(function(e,n){c(n+"()",(function(){var e=Array.prototype.slice.call(arguments),r=(e[0]=e[0].split(/\s/).map((function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" "),t(this.tables().nodes()));return r[n].apply(r,e),this}))})),c("clear()",(function(){return this.iterator("table",(function(t){rt(t)}))})),c("error()",(function(t){return this.iterator("table",(function(e){qt(e,0,t)}))})),c("settings()",(function(){return new u(this.context,this.context)})),c("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),c("data()",(function(){return this.iterator("table",(function(t){return C(t.aoData,"_aData")})).flatten()})),c("trigger()",(function(t,e,n){return this.iterator("table",(function(r){return $t(r,null,t,e,n)})).flatten()})),c("ready()",(function(t){var e=this.context;return t?this.tables().every((function(){var e=this;this.context[0]._bInitComplete?t.call(e):this.on("init.dt.DT",(function(){t.call(e)}))})):e.length?e[0]._bInitComplete||!1:null})),c("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(r){var o=r.oClasses,i=r.nTable,a=r.nTBody,s=r.nTHead,l=r.nTFoot,d=t(i),c=(a=t(a),t(r.nTableWrapper)),f=r.aoData.map((function(t){return t?t.nTr:null})),p=o.order;r.bDestroying=!0,$t(r,"aoDestroyCallback","destroy",[r],!0),n||new u(r).columns().visible(!0),r.resizeObserver&&r.resizeObserver.disconnect(),c.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+r.sInstance),i!=s.parentNode&&(d.children("thead").detach(),d.append(s)),l&&i!=l.parentNode&&(d.children("tfoot").detach(),d.append(l)),t(s).find("span.dt-column-order").remove(),t(s).find("span.dt-column-title").each((function(){var e=t(this).html();t(this).parent().append(e),t(this).remove()})),r.colgroup.remove(),r.aaSorting=[],r.aaSortingFixed=[],Wt(r),t(d).find("th, td").removeClass(t.map(h.ext.type.className,(function(t){return t})).join(" ")),t("th, td",s).removeClass(p.none+" "+p.canAsc+" "+p.canDesc+" "+p.isAsc+" "+p.isDesc).css("width","").removeAttr("data-dt-column").removeAttr("aria-sort"),a.children().detach(),a.append(f),l=r.nTableWrapper.parentNode,s=r.nTableWrapper.nextSibling;-1!==(a=(d[p=n?"remove":"detach"](),c[p](),!n&&l&&(l.insertBefore(i,s),d.css("width",r.sDestroyWidth).removeClass(o.table)),h.settings.indexOf(r)))&&h.settings.splice(a,1)}))})),t.each(["column","row","cell"],(function(t,e){c(e+"s().every()",(function(t){var n,r=this.selector.opts,o=this,i=0;return this.iterator("every",(function(a,s,l){n=o[e](s,r),"cell"===e?t.call(n,n[0][0].row,n[0][0].column,l,i):t.call(n,s,l,i),i++}))}))})),c("i18n()",(function(e,n,r){var o=this.context[0];e=tt(e)(o.oLanguage);return"string"==typeof(e=t.isPlainObject(e=void 0===e?n:e)?void 0!==r&&void 0!==e[r]?e[r]:e._:e)?e.replace("%d",r):e})),h.version="2.2.2",h.settings=[],h.models={},h.models.oSearch={caseInsensitive:!0,search:"",regex:!1,smart:!0,"return":!1},h.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,src:null,idx:-1,displayData:null},h.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null,maxLenString:null,searchFixed:null},h.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],bAutoWidth:!0,bDeferRender:!0,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:null,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{orderable:": Activate to sort",orderableReverse:": Activate to invert sorting",orderableRemove:": Activate to remove sorting",paginate:{first:"First",last:"Last",next:"Next",previous:"Previous",number:""}},oPaginate:{sFirst:"«",sLast:"»",sNext:"›",sPrevious:"‹"},entries:{_:"entries",1:"entry"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_",sInfoEmpty:"Showing 0 to 0 of 0 _ENTRIES-TOTAL_",sInfoFiltered:"(filtered from _MAX_ total _ENTRIES-MAX_)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_ _ENTRIES_ per page",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},orderDescReverse:!0,oSearch:t.extend({},h.models.oSearch),layout:{topStart:"pageLength",topEnd:"search",bottomStart:"info",bottomEnd:"paging"},sDom:null,searchDelay:null,sPaginationType:"",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId",caption:null,iDeferLoading:null},A(h.defaults),h.defaults.column={aDataSort:null,iDataSort:-1,ariaTitle:"",asSorting:["asc","desc",""],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},A(h.defaults.column),h.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:!0,bLengthChange:!0,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollbarLeft:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},searchFixed:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",pagingControls:0,iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,bAjaxDataGet:!0,jqXHR:null,json:void 0,oAjaxData:void 0,sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Jt(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Jt(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,r=this.aiDisplay.length,o=this.oFeatures,i=o.bPaginate;return o.bServerSide?!1===i||-1===t?e+r:Math.min(e+t,this._iRecordsDisplay):!i||r<n||-1===t?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null,caption:"",captionNode:null,colgroup:null,deferLoading:null,typeDetect:!0,resizeObserver:null,containerWidth:-1},h.ext.pager);function we(t,e,n,r,o){return Ce?t[e](o):xe?t[n](o):r?t[r](o):t}t.extend(_e,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(){return["numbers"]},simple_numbers:function(){return["previous","numbers","next"]},full_numbers:function(){return["first","previous","numbers","next","last"]},first_last:function(){return["first","last"]},first_last_numbers:function(){return["first","numbers","last"]},_numbers:Pe,numbers_length:7}),t.extend(!0,h.ext.renderer,{pagingButton:{_:function(e,n,r,o,i){var a=[(e=e.oClasses.paging).button];return o&&a.push(e.active),i&&a.push(e.disabled),{display:o="ellipsis"===n?t('<span class="ellipsis"></span>').html(r)[0]:t("<button>",{"class":a.join(" "),role:"link",type:"button"}).html(r),clicker:o}}},pagingContainer:{_:function(t,e){return e}}});var xe,Ce,Se=!1;function ke(t,n,r){var o;if(e.luxon&&!xe&&(xe=e.luxon),Ce=e.moment&&!Ce?e.moment:Ce){if(!(o=Ce.utc(t,n,r,!0)).isValid())return null}else if(xe){if(!(o=n&&"string"==typeof t?xe.DateTime.fromFormat(t,n):xe.DateTime.fromISO(t)).isValid)return null;o=o.setLocale(r)}else n?(Se||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),Se=!0):o=new Date(t);return o}function Te(t){return function(e,n,r,o){0===arguments.length?(r="en",e=n=null):1===arguments.length?(r="en",n=e,e=null):2===arguments.length&&(r=n,n=e,e=null);var i="datetime"+(n?"-"+n:"");return h.ext.type.order[i+"-pre"]||h.type(i,{detect:function(t){return t===i&&i},order:{pre:function(t){return t.valueOf()}},className:"dt-right"}),function(a,s){var l;return null==a&&(a="--now"===o?(l=new Date,new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds()))):""),"type"===s?i:""===a?"sort"!==s?"":ke("0000-01-01 00:00:00",null,r):(null===n||e!==n||"sort"===s||"type"===s||a instanceof Date)&&null!==(l=ke(a,e,r))?"sort"===s?l:(a=null===n?we(l,"toDate","toJSDate","")[t]():we(l,"format","toFormat","toISOString",n),"display"===s?k(a):a):a}}}var Ie=",",De=".";if(void 0!==e.Intl)try{for(var Fe=(new Intl.NumberFormat).formatToParts(100000.1),Ae=0;Ae<Fe.length;Ae++)"group"===Fe[Ae].type?Ie=Fe[Ae].value:"decimal"===Fe[Ae].type&&(De=Fe[Ae].value)}catch(f){}function Ne(t,e){return t=null!=t?t.toString().toLowerCase():"",e=null!=e?e.toString().toLowerCase():"",t.localeCompare(e,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})}function Ee(t,e){return Ne(t=S(t),e=S(e))}h.datetime=function(t,e){var n="datetime-"+t;e=e||"en",h.ext.type.order[n]||h.type(n,{detect:function(r){var o=ke(r,t,e);return!(""!==r&&!o)&&n},order:{pre:function(n){return ke(n,t,e)||0}},className:"dt-right"})},h.render={date:Te("toLocaleDateString"),datetime:Te("toLocaleString"),time:Te("toLocaleTimeString"),number:function(t,e,n,r,o){return null==t&&(t=Ie),null==e&&(e=De),{display:function(i){if("number"!=typeof i&&"string"!=typeof i)return i;if(""===i||null===i)return i;var a=i<0?"-":"",s=parseFloat(i),l=Math.abs(s);return 1e11<=l||l<1e-4&&0!==l?(l=s.toExponential(n).split(/e\+?/))[0]+" x 10<sup>"+l[1]+"</sup>":isNaN(s)?k(i):(s=s.toFixed(n),i=Math.abs(s),l=parseInt(i,10),s=n?e+(i-l).toFixed(n).substring(2):"",(a=0===l&&0===parseFloat(s)?"":a)+(r||"")+l.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+s+(o||""))}}},text:function(){return{display:k,filter:k}}};var Oe=h.ext.type,Be=(h.type=function(t,e,n){if(!e)return{className:Oe.className[t],detect:Oe.detect.find((function(e){return e._name===t})),order:{pre:Oe.order[t+"-pre"],asc:Oe.order[t+"-asc"],desc:Oe.order[t+"-desc"]},render:Oe.render[t],search:Oe.search[t]};function r(e,n){Oe[e][t]=n}function o(e){Object.defineProperty(e,"_name",{value:t});var n=Oe.detect.findIndex((function(e){return e._name===t}));-1===n?Oe.detect.unshift(e):Oe.detect.splice(n,1,e)}function i(e){Oe.order[t+"-pre"]=e.pre,Oe.order[t+"-asc"]=e.asc,Oe.order[t+"-desc"]=e.desc}void 0===n&&(n=e,e=null),"className"===e?r("className",n):"detect"===e?o(n):"order"===e?i(n):"render"===e?r("render",n):"search"===e?r("search",n):e||(n.className&&r("className",n.className),void 0!==n.detect&&o(n.detect),n.order&&i(n.order),void 0!==n.render&&r("render",n.render),void 0!==n.search&&r("search",n.search))},h.types=function(){return Oe.detect.map((function(t){return t._name}))},h.type("string",{detect:function(){return"string"},order:{pre:function(t){return w(t)&&"boolean"!=typeof t?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""}},search:ce(!1,!0)}),h.type("string-utf8",{detect:{allOf:function(t){return!0},oneOf:function(t){return!w(t)&&navigator.languages&&"string"==typeof t&&t.match(/[^\x00-\x7F]/)}},order:{asc:Ne,desc:function(t,e){return-1*Ne(t,e)}},search:ce(!1,!0)}),h.type("html",{detect:{allOf:function(t){return w(t)||"string"==typeof t&&-1!==t.indexOf("<")},oneOf:function(t){return!w(t)&&"string"==typeof t&&-1!==t.indexOf("<")}},order:{pre:function(t){return w(t)?"":t.replace?S(t).trim().toLowerCase():t+""}},search:ce(!0,!0)}),h.type("html-utf8",{detect:{allOf:function(t){return w(t)||"string"==typeof t&&-1!==t.indexOf("<")},oneOf:function(t){return navigator.languages&&!w(t)&&"string"==typeof t&&-1!==t.indexOf("<")&&"string"==typeof t&&t.match(/[^\x00-\x7F]/)}},order:{asc:Ee,desc:function(t,e){return-1*Ee(t,e)}},search:ce(!0,!0)}),h.type("date",{className:"dt-type-date",detect:{allOf:function(t){var e;return!t||t instanceof Date||v.test(t)?null!==(e=Date.parse(t))&&!isNaN(e)||w(t):null},oneOf:function(t){return t instanceof Date||"string"==typeof t&&v.test(t)}},order:{pre:function(t){return t=Date.parse(t),isNaN(t)?-1/0:t}}}),h.type("html-num-fmt",{className:"dt-type-numeric",detect:{allOf:function(t,e){return i(t,e=e.oLanguage.sDecimal,!0,!1)},oneOf:function(t,e){return i(t,e=e.oLanguage.sDecimal,!0,!1)}},order:{pre:function(t,e){return e=e.oLanguage.sDecimal,Be(t,e,g,_)}},search:ce(!0,!0)}),h.type("html-num",{className:"dt-type-numeric",detect:{allOf:function(t,e){return i(t,e=e.oLanguage.sDecimal,!1,!0)},oneOf:function(t,e){return i(t,e=e.oLanguage.sDecimal,!1,!1)}},order:{pre:function(t,e){return e=e.oLanguage.sDecimal,Be(t,e,g)}},search:ce(!0,!0)}),h.type("num-fmt",{className:"dt-type-numeric",detect:{allOf:function(t,e){return o(t,e=e.oLanguage.sDecimal,!0,!0)},oneOf:function(t,e){return o(t,e=e.oLanguage.sDecimal,!0,!1)}},order:{pre:function(t,e){return e=e.oLanguage.sDecimal,Be(t,e,_)}}}),h.type("num",{className:"dt-type-numeric",detect:{allOf:function(t,e){return o(t,e=e.oLanguage.sDecimal,!1,!0)},oneOf:function(t,e){return o(t,e=e.oLanguage.sDecimal,!1,!1)}},order:{pre:function(t,e){return e=e.oLanguage.sDecimal,Be(t,e)}}}),function(t,e,n,r){var o;return 0===t||t&&"-"!==t?"number"==(o=typeof t)||"bigint"==o?t:+(t=(t=e?x(t,e):t).replace&&(n&&(t=t.replace(n,"")),r)?t.replace(r,""):t):-1/0});function ze(t,e,n){n&&(t[e]=n)}t.extend(!0,h.ext.renderer,{footer:{_:function(t,e,n){e.addClass(n.tfoot.cell)}},header:{_:function(e,n,r){n.addClass(r.thead.cell),e.oFeatures.bSort||n.addClass(r.order.none);var o=e.bSortCellsTop,i=n.closest("thead").find("tr"),a=n.parent().index();"disable"===n.attr("data-dt-order")||"disable"===n.parent().attr("data-dt-order")||!0===o&&0!==a||!1===o&&a!==i.length-1||t(e.nTable).on("order.dt.DT column-visibility.dt.DT",(function(t,o){if(e===o){var i=o.sortDetails;if(i){for(var a=r.order,s=o.api.columns(n),l=e.aoColumns[s.flatten()[0]],d=s.orderable().includes(!0),u="",c=s.indexes(),f=s.orderable(!0).flatten(),h=C(i,"col"),p=e.iTabIndex,m=(n.removeClass(a.isAsc+" "+a.isDesc).toggleClass(a.none,!d).toggleClass(a.canAsc,d&&f.includes("asc")).toggleClass(a.canDesc,d&&f.includes("desc")),!0),g=0;g<c.length;g++)h.includes(c[g])||(m=!1);m&&(f=s.order(),n.addClass(f.includes("asc")?a.isAsc:""+f.includes("desc")?a.isDesc:""));var b=-1;for(g=0;g<h.length;g++)if(e.aoColumns[h[g]].bVisible){b=h[g];break}c[0]==b?(s=i[0],f=l.asSorting,n.attr("aria-sort","asc"===s.dir?"ascending":"descending"),u=f[s.index+1]?"Reverse":"Remove"):n.removeAttr("aria-sort"),d&&((a=n.find(".dt-column-order")).attr("role","button").attr("aria-label",d?l.ariaTitle+o.api.i18n("oAria.orderable"+u):l.ariaTitle),-1!==p)&&a.attr("tabindex",p)}}}))}},layout:{_:function(e,n,r){var o=e.oClasses.layout,i=t("<div/>").attr("id",r.id||null).addClass(r.className||o.row).appendTo(n);h.ext.renderer.layout._forLayoutRow(r,(function(e,n){var r;"id"!==e&&"className"!==e&&(r="",n.table&&(i.addClass(o.tableRow),r+=o.tableCell+" "),r+="start"===e?o.start:"end"===e?o.end:o.full,t("<div/>").attr({id:n.id||null,"class":n.className||o.cell+" "+r}).append(n.contents).appendTo(i))}))},_forLayoutRow:function(t,e){function n(t){switch(t){case"":return 0;case"start":return 1;case"end":return 2;default:return 3}}Object.keys(t).sort((function(t,e){return n(t)-n(e)})).forEach((function(n){e(n,t[n])}))}}}),h.feature={},h.feature.register=function(t,e,n){h.ext.features[t]=e,n&&d.feature.push({cFeature:n,fnInit:e})},h.feature.register("div",(function(e,n){var r=t("<div>")[0];return n&&(ze(r,"className",n.className),ze(r,"id",n.id),ze(r,"innerHTML",n.html),ze(r,"textContent",n.text)),r})),h.feature.register("info",(function(e,n){var r,o,i;return e.oFeatures.bInfo?(r=e.oLanguage,o=e.sTableId,i=t("<div/>",{"class":e.oClasses.info.container}),n=t.extend({callback:r.fnInfoCallback,empty:r.sInfoEmpty,postfix:r.sInfoPostFix,search:r.sInfoFiltered,text:r.sInfo},n),e.aoDrawCallback.push((function(t){var e=n,r=i,o=t._iDisplayStart+1,a=t.fnDisplayEnd(),s=t.fnRecordsTotal(),l=t.fnRecordsDisplay(),d=l?e.text:e.empty;l!==s&&(d+=" "+e.search),d=Qt(t,d+=e.postfix),e.callback&&(d=e.callback.call(t.oInstance,t,o,a,s,l,d)),r.html(d),$t(t,null,"info",[t,r[0],d])})),e._infoEl||(i.attr({"aria-live":"polite",id:o+"_info",role:"status"}),t(e.nTable).attr("aria-describedby",o+"_info"),e._infoEl=i),i):null}),"i");var Re=0;function Le(t){var e=[];return t.numbers&&e.push("numbers"),t.previousNext&&(e.unshift("previous"),e.push("next")),t.firstLast&&(e.unshift("first"),e.push("last")),e}function je(t,e,n,r){var o=t.oLanguage.oPaginate,i={display:"",active:!1,disabled:!1};switch(e){case"ellipsis":i.display="…";break;case"first":i.display=o.sFirst,0===n&&(i.disabled=!0);break;case"previous":i.display=o.sPrevious,0===n&&(i.disabled=!0);break;case"next":i.display=o.sNext,0!==r&&n!==r-1||(i.disabled=!0);break;case"last":i.display=o.sLast,0!==r&&n!==r-1||(i.disabled=!0);break;default:"number"==typeof e&&(i.display=t.fnFormatNumber(e+1),n===e)&&(i.active=!0)}return i}function Pe(t,e,n,r){var o=[],i=Math.floor(n/2),a=r?2:1,l=r?1:0;return e<=n?o=s(0,e):1===n?o=[t]:3===n?t<=1?o=[0,1,"ellipsis"]:e-2<=t?(o=s(e-2,e)).unshift("ellipsis"):o=["ellipsis",t,"ellipsis"]:t<=i?((o=s(0,n-a)).push("ellipsis"),r&&o.push(e-1)):e-1-i<=t?((o=s(e-(n-a),e)).unshift("ellipsis"),r&&o.unshift(0)):((o=s(t-i+a,t+i-l)).push("ellipsis"),o.unshift("ellipsis"),r&&(o.push(e-1),o.unshift(0))),o}h.feature.register("search",(function(e,r){var o,i,a,s,l,d,u,c,f,p;return e.oFeatures.bFilter?(o=e.oClasses.search,i=e.sTableId,f=e.oLanguage,a=e.oPreviousSearch,s='<input type="search" class="'+o.input+'"/>',-1===(r=t.extend({placeholder:f.sSearchPlaceholder,processing:!1,text:f.sSearch},r)).text.indexOf("_INPUT_")&&(r.text+="_INPUT_"),r.text=Qt(e,r.text),f=r.text.match(/_INPUT_$/),u=r.text.match(/^_INPUT_/),l=r.text.replace(/_INPUT_/,""),d="<label>"+r.text+"</label>",u?d="_INPUT_<label>"+l+"</label>":f&&(d="<label>"+l+"</label>_INPUT_"),(u=t("<div>").addClass(o.container).append(d.replace(/_INPUT_/,s))).find("label").attr("for","dt-search-"+Re),u.find("input").attr("id","dt-search-"+Re),Re++,c=function(t){var n=this.value;a["return"]&&"Enter"!==t.key||n!=a.search&&At(e,r.processing,(function(){a.search=n,_t(e,a),e._iDisplayStart=0,ft(e)}))},f=null!==e.searchDelay?e.searchDelay:0,p=t("input",u).val(a.search).attr("placeholder",r.placeholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",f?h.util.debounce(c,f):c).on("mouseup.DT",(function(t){setTimeout((function(){c.call(p[0],t)}),10)})).on("keypress.DT",(function(t){if(13==t.keyCode)return!1})).attr("aria-controls",i),t(e.nTable).on("search.dt.DT",(function(t,r){e===r&&p[0]!==n.activeElement&&p.val("function"!=typeof a.search?a.search:"")})),u):null}),"f"),h.feature.register("paging",(function(e,r){if(!e.oFeatures.bPaginate)return null;function o(){!function o(e,r,i){if(e._bInitComplete){var a=i.type?h.ext.pager[i.type]:Le,s=e.oLanguage.oAria.paginate||{},l=e._iDisplayStart,d=e._iDisplayLength,u=e.fnRecordsDisplay(),c=-1===d,f=c?0:Math.ceil(l/d),p=c?1:Math.ceil(u/d),m=[],g=[];l=a(i).map((function(t){return"numbers"===t?Pe(f,p,i.buttons,i.boundaryNumbers):t}));m=m.concat.apply(m,l);for(var b=0;b<m.length;b++){var v=m[b],y=je(e,v,f,p),_=Yt(e,"pagingButton")(e,v,y.display,y.active,y.disabled),w="string"==typeof v?s[v]:s.number?s.number+(v+1):null;t(_.clicker).attr({"aria-controls":e.sTableId,"aria-disabled":y.disabled?"true":null,"aria-current":y.active?"page":null,"aria-label":w,"data-dt-idx":v,tabIndex:y.disabled?-1:e.iTabIndex&&"span"!==_.clicker[0].nodeName.toLowerCase()?e.iTabIndex:null}),"number"!=typeof v&&t(_.clicker).addClass(v),Vt(_.clicker,{action:v},(function(t){t.preventDefault(),Dt(e,t.data.action,!0)})),g.push(_.display)}c=Yt(e,"pagingContainer")(e,g),u=r.find(n.activeElement).data("dt-idx"),r.empty().append(c),void 0!==u&&r.find("[data-dt-idx="+u+"]").trigger("focus"),g.length&&(d=t(g[0]).outerHeight(),1<i.buttons)&&0<d&&t(r).height()>=2*d-10&&o(e,r,t.extend({},i,{buttons:i.buttons-2}))}}(e,i.children(),r)}r=t.extend({buttons:h.ext.pager.numbers_length,type:e.sPaginationType,boundaryNumbers:!0,firstLast:!0,previousNext:!0,numbers:!0},r);var i=t("<div/>").addClass(e.oClasses.paging.container+(r.type?" paging_"+r.type:"")).append(t("<nav>").attr("aria-label","pagination").addClass(e.oClasses.paging.nav));return e.aoDrawCallback.push(o),t(e.nTable).on("column-sizing.dt.DT",o),i}),"p");var He=0;return h.feature.register("pageLength",(function(e,n){if(!(r=e.oFeatures).bPaginate||!r.bLengthChange)return null;n=t.extend({menu:e.aLengthMenu,text:e.oLanguage.sLengthMenu},n);var r=e.oClasses.length,o=e.sTableId,i=n.menu,a=[],s=[];if(Array.isArray(i[0]))a=i[0],s=i[1];else for(m=0;m<i.length;m++)t.isPlainObject(i[m])?(a.push(i[m].value),s.push(i[m].label)):(a.push(i[m]),s.push(i[m]));for(var l=n.text.match(/_MENU_$/),d=n.text.match(/^_MENU_/),u=n.text.replace(/_MENU_/,""),c=(n="<label>"+n.text+"</label>",d=(d?n="_MENU_<label>"+u+"</label>":l&&(n="<label>"+u+"</label>_MENU_"),"tmp-"+ +new Date),t("<div/>").addClass(r.container).append(n.replace("_MENU_",'<span id="'+d+'"></span>'))),f=[],h=(Array.prototype.slice.call(c.find("label")[0].childNodes).forEach((function(t){t.nodeType===Node.TEXT_NODE&&f.push({el:t,text:t.textContent})})),function(t){f.forEach((function(n){n.el.textContent=Qt(e,n.text,t)}))}),p=t("<select/>",{"aria-controls":o,"class":r.select}),m=0;m<a.length;m++)p[0][m]=new Option("number"==typeof s[m]?e.fnFormatNumber(s[m]):s[m],a[m]);return c.find("label").attr("for","dt-length-"+He),p.attr("id","dt-length-"+He),He++,c.find("#"+d).replaceWith(p),t("select",c).val(e._iDisplayLength).on("change.DT",(function(){It(e,t(this).val()),ft(e)})),t(e.nTable).on("length.dt.DT",(function(n,r,o){e===r&&(t("select",c).val(o),h(o))})),h(e._iDisplayLength),c}),"l"),((t.fn.dataTable=h).$=t).fn.dataTableSettings=h.settings,t.fn.dataTableExt=h.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(h,(function(e,n){t.fn.DataTable[e]=n})),h})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,r,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var r=t.fn.dataTable,o=0,i=0,a=r.ext.buttons,s=null;function l(e,n,r){t.fn.animate?e.stop().fadeIn(n,r):(e.css("display","block"),r&&r.call(e))}function d(e,n,r){t.fn.animate?e.stop().fadeOut(n,r):(e.css("display","none"),r&&r.call(e))}function u(e,n){if(!r.versionCheck("2"))throw"Warning: Buttons requires DataTables 2 or newer";if(!(this instanceof u))return function(t){return new u(t,e).container()};!0===(n=void 0===n?{}:n)&&(n={}),Array.isArray(n)&&(n={buttons:n}),this.c=t.extend(!0,{},u.defaults,n),n.buttons&&(this.c.buttons=n.buttons),this.s={dt:new r.Api(e),buttons:[],listenKeys:"",namespace:"dtb"+o++},this.dom={container:t("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()}t.extend(u.prototype,{action:function(t,e){return t=this._nodeToButton(t),void 0===e?t.conf.action:(t.conf.action=e,this)},active:function(e,n){e=this._nodeToButton(e);var r=this.c.dom.button.active,o=t(e.node);return e.inCollection&&this.c.dom.collection.button&&void 0!==this.c.dom.collection.button.active&&(r=this.c.dom.collection.button.active),void 0===n?o.hasClass(r):(o.toggleClass(r,void 0===n||n),this)},add:function(t,e,n){var r=this.s.buttons;if("string"==typeof e){for(var o=e.split("-"),i=this.s,a=0,s=o.length-1;a<s;a++)i=i.buttons[+o[a]];r=i.buttons,e=+o[o.length-1]}return this._expandButton(r,t,void 0!==t?t.split:void 0,(void 0===t||void 0===t.split||0===t.split.length)&&void 0!==i,!1,e),void 0!==n&&!0!==n||this._draw(),this},collectionRebuild:function(t,e){var n=this._nodeToButton(t);if(void 0!==e){for(var r=n.buttons.length-1;0<=r;r--)this.remove(n.buttons[r].node);for(n.conf.prefixButtons&&e.unshift.apply(e,n.conf.prefixButtons),n.conf.postfixButtons&&e.push.apply(e,n.conf.postfixButtons),r=0;r<e.length;r++){var o=e[r];this._expandButton(n.buttons,o,void 0!==o&&void 0!==o.config&&void 0!==o.config.split,!0,void 0!==o.parentConf&&void 0!==o.parentConf.split,null,o.parentConf)}}this._draw(n.collection,n.buttons)},container:function(){return this.dom.container},disable:function(e){return((e=this._nodeToButton(e)).isSplit?t(e.node.childNodes[0]):t(e.node)).addClass(this.c.dom.button.disabled).prop("disabled",!0),e.disabled=!0,this._checkSplitEnable(),this},destroy:function(){t("body").off("keyup."+this.s.namespace);for(var e=this.s.buttons.slice(),n=0,r=e.length;n<r;n++)this.remove(e[n].node);this.dom.container.remove();var o=this.s.dt.settings()[0];for(n=0,r=o.length;n<r;n++)if(o.inst===this){o.splice(n,1);break}return this},enable:function(e,n){return!1===n?this.disable(e):(((n=this._nodeToButton(e)).isSplit?t(n.node.childNodes[0]):t(n.node)).removeClass(this.c.dom.button.disabled).prop("disabled",!1),n.disabled=!1,this._checkSplitEnable(),this)},index:function(t,e,n){e||(e="",n=this.s.buttons);for(var r=0,o=n.length;r<o;r++){var i=n[r].buttons;if(n[r].node===t)return e+r;if(i&&i.length&&null!==(i=this.index(t,r+"-",i)))return i}return null},name:function(){return this.c.name},node:function(e){return e?(e=this._nodeToButton(e),t(e.node)):this.dom.container},processing:function(e,n){var r=this.s.dt,o=this._nodeToButton(e);return void 0===n?t(o.node).hasClass("processing"):(t(o.node).toggleClass("processing",n),t(r.table().node()).triggerHandler("buttons-processing.dt",[n,r.button(e),r,t(e),o.conf]),this)},remove:function(e){var n=this._nodeToButton(e),r=this._nodeToHost(e),o=this.s.dt;if(n.buttons.length)for(var i=n.buttons.length-1;0<=i;i--)this.remove(n.buttons[i].node);return n.conf.destroying=!0,n.conf.destroy&&n.conf.destroy.call(o.button(e),o,t(e),n.conf),this._removeKey(n.conf),t(n.node).remove(),o=t.inArray(n,r),r.splice(o,1),this},text:function(e,n){function r(t){return"function"==typeof t?t(i,a,o.conf):t}var o=this._nodeToButton(e),i=(e=o.textNode,this.s.dt),a=t(o.node);return void 0===n?r(o.conf.text):(o.conf.text=n,e.html(r(n)),this)},_constructor:function(){var e=this,r=this.s.dt,o=r.settings()[0],i=this.c.buttons;o._buttons||(o._buttons=[]),o._buttons.push({inst:this,name:this.c.name});for(var a=0,s=i.length;a<s;a++)this.add(i[a]);r.on("destroy",(function(t,n){n===o&&e.destroy()})),t("body").on("keyup."+this.s.namespace,(function(t){var r;n.activeElement&&n.activeElement!==n.body||(r=String.fromCharCode(t.keyCode).toLowerCase(),-1!==e.s.listenKeys.toLowerCase().indexOf(r)&&e._keypress(r,t))}))},_addKey:function(e){e.key&&(this.s.listenKeys+=(t.isPlainObject(e.key)?e.key:e).key)},_draw:function(t,e){t||(t=this.dom.container,e=this.s.buttons),t.children().detach();for(var n=0,r=e.length;n<r;n++)t.append(e[n].inserter),t.append(" "),e[n].buttons&&e[n].buttons.length&&this._draw(e[n].collection,e[n].buttons)},_expandButton:function(e,n,r,o,i,a,s){for(var l,d=this.s.dt,u=this.c.dom.collection,c=Array.isArray(n)?n:[n],f=0,h=(c=void 0===n?Array.isArray(r)?r:[r]:c).length;f<h;f++){var p=this._resolveExtends(c[f]);if(p)if(l=!(!p.config||!p.config.split),Array.isArray(p))this._expandButton(e,p,void 0!==m&&void 0!==m.conf?m.conf.split:void 0,o,void 0!==s&&void 0!==s.split,a,s);else{var m=this._buildButton(p,o,void 0!==p.split||void 0!==p.config&&void 0!==p.config.split,i);if(m){if(null!=a?(e.splice(a,0,m),a++):e.push(m),m.conf.dropIcon&&!m.conf.split&&t(m.node).addClass(this.c.dom.button.dropClass).append(this.c.dom.button.dropHtml),m.conf.buttons&&(m.collection=t("<"+u.container.content.tag+"/>"),m.conf._collection=m.collection,this._expandButton(m.buttons,m.conf.buttons,m.conf.split,!l,l,a,m.conf)),m.conf.split){m.collection=t("<"+u.container.tag+"/>"),m.conf._collection=m.collection;for(var g=0;g<m.conf.split.length;g++){var b=m.conf.split[g];"object"==typeof b&&(b.parent=s,void 0===b.collectionLayout&&(b.collectionLayout=m.conf.collectionLayout),void 0===b.dropup&&(b.dropup=m.conf.dropup),void 0===b.fade)&&(b.fade=m.conf.fade)}this._expandButton(m.buttons,m.conf.buttons,m.conf.split,!l,l,a,m.conf)}m.conf.parent=s,p.init&&p.init.call(d.button(m.node),d,t(m.node),p)}}}},_buildButton:function(e,n,r,o){function s(t){return"function"==typeof t?t(m,f,e):t}var l,d,u,c,f,h=this,p=this.c.dom,m=this.s.dt,g=t.extend(!0,{},p.button);if(n&&r&&p.collection.split?t.extend(!0,g,p.collection.split.action):o||n?t.extend(!0,g,p.collection.button):r&&t.extend(!0,g,p.split.button),e.spacer)return p=t("<"+g.spacer.tag+"/>").addClass("dt-button-spacer "+e.style+" "+g.spacer.className).html(s(e.text)),{conf:e,node:p,inserter:p,buttons:[],inCollection:n,isSplit:r,collection:null,textNode:p};if(e.available&&!e.available(m,e)&&!e.html)return!1;e.html?f=t(e.html):(d=function(e,n,r,o,i){o.action.call(n.button(r),e,n,r,o,i),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,o])},u=function(t,e,n,r){r.async?(h.processing(n[0],!0),setTimeout((function(){d(t,e,n,r,(function(){h.processing(n[0],!1)}))}),r.async)):d(t,e,n,r,(function(){}))},p=e.tag||g.tag,c=void 0===e.clickBlurs||e.clickBlurs,f=t("<"+p+"/>").addClass(g.className).attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",(function(t){t.preventDefault(),!f.hasClass(g.disabled)&&e.action&&u(t,m,f,e),c&&f.trigger("blur")})).on("keypress.dtb",(function(t){13===t.keyCode&&(t.preventDefault(),!f.hasClass(g.disabled))&&e.action&&u(t,m,f,e)})),"a"===p.toLowerCase()&&f.attr("href","#"),"button"===p.toLowerCase()&&f.attr("type","button"),l=g.liner.tag?(p=t("<"+g.liner.tag+"/>").html(s(e.text)).addClass(g.liner.className),"a"===g.liner.tag.toLowerCase()&&p.attr("href","#"),f.append(p),p):(f.html(s(e.text)),f),!1===e.enabled&&f.addClass(g.disabled),e.className&&f.addClass(e.className),e.titleAttr&&f.attr("title",s(e.titleAttr)),e.attr&&f.attr(e.attr),e.namespace||(e.namespace=".dt-button-"+i++),void 0!==e.config&&e.config.split&&(e.split=e.config.split));var b,v,y,_,w,x;p=(p=this.c.dom.buttonContainer)&&p.tag?t("<"+p.tag+"/>").addClass(p.className).append(f):f;return this._addKey(e),this.c.buttonCreated&&(p=this.c.buttonCreated(e,p)),r&&(v=(b=n?t.extend(!0,this.c.dom.split,this.c.dom.collection.split):this.c.dom.split).wrapper,y=t("<"+v.tag+"/>").addClass(v.className).append(f),_=t.extend(e,{autoClose:!0,align:b.dropdown.align,attr:{"aria-haspopup":"dialog","aria-expanded":!1},className:b.dropdown.className,closeButton:!1,splitAlignClass:b.dropdown.splitAlignClass,text:b.dropdown.text}),this._addKey(_),w=function(e,n,r,o){a.split.action.call(n.button(y),e,n,r,o),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,o]),r.attr("aria-expanded",!0)},x=t('<button class="'+b.dropdown.className+' dt-button"></button>').html(this.c.dom.button.dropHtml).addClass(this.c.dom.button.dropClass).on("click.dtb",(function(t){t.preventDefault(),t.stopPropagation(),x.hasClass(g.disabled)||w(t,m,x,_),c&&x.trigger("blur")})).on("keypress.dtb",(function(t){13===t.keyCode&&(t.preventDefault(),x.hasClass(g.disabled)||w(t,m,x,_))})),0===e.split.length&&x.addClass("dtb-hide-drop"),y.append(x).attr(_.attr)),{conf:e,node:(r?y:f).get(0),inserter:r?y:p,buttons:[],inCollection:n,isSplit:r,inSplit:o,collection:null,textNode:l}},_checkSplitEnable:function(e){e=e||this.s.buttons;for(var n=0;n<e.length;n++){var r,o=e[n];o.isSplit?(r=o.node.childNodes[1],(this._checkAnyEnabled(o.buttons)?t(r).removeClass(this.c.dom.button.disabled):t(r).addClass(this.c.dom.button.disabled)).prop("disabled",!1)):o.isCollection&&this._checkSplitEnable(o.buttons)}},_checkAnyEnabled:function(t){for(var e=0;e<t.length;e++)if(!t[e].disabled)return!0;return!1},_nodeToButton:function(e,n){for(var r=0,o=(n=n||this.s.buttons).length;r<o;r++){if(n[r].node===e||t(n[r].node).children().eq(0).get(0)===e)return n[r];if(n[r].buttons.length){var i=this._nodeToButton(e,n[r].buttons);if(i)return i}}},_nodeToHost:function(t,e){for(var n=0,r=(e=e||this.s.buttons).length;n<r;n++){if(e[n].node===t)return e;if(e[n].buttons.length){var o=this._nodeToHost(t,e[n].buttons);if(o)return o}}},_keypress:function(e,n){var r;n._buttonsHandled||(r=function(o){for(var i,a,s=0,l=o.length;s<l;s++)i=o[s].conf,a=o[s].node,!i.key||i.key!==e&&(!t.isPlainObject(i.key)||i.key.key!==e||i.key.shiftKey&&!n.shiftKey||i.key.altKey&&!n.altKey||i.key.ctrlKey&&!n.ctrlKey||i.key.metaKey&&!n.metaKey)||(n._buttonsHandled=!0,t(a).click()),o[s].buttons.length&&r(o[s].buttons)})(this.s.buttons)},_removeKey:function(e){var n;e.key&&(e=(t.isPlainObject(e.key)?e.key:e).key,n=this.s.listenKeys.split(""),e=t.inArray(e,n),n.splice(e,1),this.s.listenKeys=n.join(""))},_resolveExtends:function(e){function n(n){for(var r=0;!t.isPlainObject(n)&&!Array.isArray(n);){if(void 0===n)return;if("function"==typeof n){if(!(n=n.call(i,s,e)))return!1}else if("string"==typeof n){if(!a[n])return{html:n};n=a[n]}if(30<++r)throw"Buttons: Too many iterations"}return Array.isArray(n)?n:t.extend({},n)}var r,o,i=this,s=this.s.dt;for(e=n(e);e&&e.extend;){if(!a[e.extend])throw"Cannot extend unknown button type: "+e.extend;var l=n(a[e.extend]);if(Array.isArray(l))return l;if(!l)return!1;var d=l.className;void 0!==e.config&&void 0!==l.config&&(e.config=t.extend({},l.config,e.config)),e=t.extend({},l,e),d&&e.className!==d&&(e.className=d+" "+e.className),e.extend=l.extend}var u=e.postfixButtons;if(u)for(e.buttons||(e.buttons=[]),r=0,o=u.length;r<o;r++)e.buttons.push(u[r]);var c=e.prefixButtons;if(c)for(e.buttons||(e.buttons=[]),r=0,o=c.length;r<o;r++)e.buttons.splice(r,0,c[r]);return e},_popover:function(r,o,i){function a(){y=!0,d(t(w),_.fade,(function(){t(this).detach()})),t(b.buttons('[aria-haspopup="dialog"][aria-expanded="true"]').nodes()).attr("aria-expanded","false"),t("div.dt-button-background").off("click.dtb-collection"),u.background(!1,_.backgroundClassName,_.fade,x),t(e).off("resize.resize.dtb-collection"),t("body").off(".dtb-collection"),b.off("buttons-action.b-internal"),b.off("destroy"),t("body").trigger("buttons-popover-hide.dt")}var s,c,f,h,p,m,g,b=o,v=this.c,y=!1,_=t.extend({align:"button-left",autoClose:!1,background:!0,backgroundClassName:"dt-button-background",closeButton:!0,containerClassName:v.dom.collection.container.className,contentClassName:v.dom.collection.container.content.className,collectionLayout:"",collectionTitle:"",dropup:!1,fade:400,popoverTitle:"",rightAlignClassName:"dt-button-right",tag:v.dom.collection.container.tag},i),w=_.tag+"."+_.containerClassName.replace(/ /g,"."),x=(v=o.node(),_.collectionLayout.includes("fixed")?t("body"):o.node());!1===r?a():((i=t(b.buttons('[aria-haspopup="dialog"][aria-expanded="true"]').nodes())).length&&(x.closest(w).length&&(x=i.eq(0)),a()),_.sort&&((i=t("button",r).map((function(e,n){return{text:t(n).text(),el:n}})).toArray()).sort((function(t,e){return t.text.localeCompare(e.text)})),t(r).append(i.map((function(t){return t.el})))),h="",3===(i=t(".dt-button",r).length)?h="dtb-b3":2===i?h="dtb-b2":1===i&&(h="dtb-b1"),s=t("<"+_.tag+"/>").addClass(_.containerClassName).addClass(_.collectionLayout).addClass(_.splitAlignClass).addClass(h).css("display","none").attr({"aria-modal":!0,role:"dialog"}),r=t(r).addClass(_.contentClassName).attr("role","menu").appendTo(s),v.attr("aria-expanded","true"),x.parents("body")[0]!==n.body&&(x=t(n.body).children("div, section, p").last()),_.popoverTitle?s.prepend('<div class="dt-button-collection-title">'+_.popoverTitle+"</div>"):_.collectionTitle&&s.prepend('<div class="dt-button-collection-title">'+_.collectionTitle+"</div>"),_.closeButton&&s.prepend('<div class="dtb-popover-close">×</div>').addClass("dtb-collection-closeable"),l(s.insertAfter(x),_.fade),i=t(o.table().container()),h=s.css("position"),"container"!==_.span&&"dt-container"!==_.align||(x=x.parent(),s.css("width",i.width())),"absolute"===h?(v=t(x[0].offsetParent),o=x.position(),i=x.offset(),h=v.offset(),c=v.position(),f=e.getComputedStyle(v[0]),h.height=v.outerHeight(),h.width=v.width()+parseFloat(f.paddingLeft),h.right=h.left+h.width,h.bottom=h.top+h.height,h=o.top+x.outerHeight(),p=o.left,s.css({top:h,left:p}),f=e.getComputedStyle(s[0]),(m=s.offset()).height=s.outerHeight(),m.width=s.outerWidth(),m.right=m.left+m.width,m.bottom=m.top+m.height,m.marginTop=parseFloat(f.marginTop),m.marginBottom=parseFloat(f.marginBottom),_.dropup&&(h=o.top-m.height-m.marginTop-m.marginBottom),"button-right"!==_.align&&!s.hasClass(_.rightAlignClassName)||(p=o.left-m.width+x.outerWidth()),"dt-container"!==_.align&&"container"!==_.align||p<o.left&&(p=-o.left),c.left+p+m.width>t(e).width()&&(p=t(e).width()-m.width-c.left),i.left+p<0&&(p=-i.left),c.top+h+m.height>t(e).height()+t(e).scrollTop()&&(h=o.top-m.height-m.marginTop-m.marginBottom),v.offset().top+h<t(e).scrollTop()&&(h=o.top+x.outerHeight()),s.css({top:h,left:p})):((g=function(){var n=t(e).height()/2,r=s.height()/2;s.css("marginTop",-1*(r=n<r?n:r))})(),t(e).on("resize.dtb-collection",(function(){g()}))),_.background&&u.background(!0,_.backgroundClassName,_.fade,_.backgroundHost||x),t("div.dt-button-background").on("click.dtb-collection",(function(){})),_.autoClose&&setTimeout((function(){b.on("buttons-action.b-internal",(function(t,e,n,r){r[0]!==x[0]&&a()}))}),0),t(s).trigger("buttons-popover.dt"),b.on("destroy",a),setTimeout((function(){y=!1,t("body").on("click.dtb-collection",(function(e){var n,o;!y&&(n=t.fn.addBack?"addBack":"andSelf",o=t(e.target).parent()[0],!t(e.target).parents()[n]().filter(r).length&&!t(o).hasClass("dt-buttons")||t(e.target).hasClass("dt-button-background"))&&a()})).on("keyup.dtb-collection",(function(t){27===t.keyCode&&a()})).on("keydown.dtb-collection",(function(e){var o=t("a, button",r),i=n.activeElement;9===e.keyCode&&(-1===o.index(i)?(o.first().focus(),e.preventDefault()):e.shiftKey?i===o[0]&&(o.last().focus(),e.preventDefault()):i===o.last()[0]&&(o.first().focus(),e.preventDefault()))}))}),0))}}),u.background=function(e,r,o,i){void 0===o&&(o=400),i=i||n.body,e?l(t("<div/>").addClass(r).css("display","none").insertAfter(i),o):d(t("div."+r),o,(function(){t(this).removeClass(r).remove()}))},u.instanceSelector=function(e,n){var r,o,i;return null==e?t.map(n,(function(t){return t.inst})):(r=[],o=t.map(n,(function(t){return t.name})),(i=function(e){var a;if(Array.isArray(e))for(var s=0,l=e.length;s<l;s++)i(e[s]);else if("string"==typeof e)-1!==e.indexOf(",")?i(e.split(",")):-1!==(a=t.inArray(e.trim(),o))&&r.push(n[a].inst);else if("number"==typeof e)r.push(n[e].inst);else if("object"==typeof e&&e.nodeName)for(var d=0;d<n.length;d++)n[d].inst.dom.container[0]===e&&r.push(n[d].inst);else"object"==typeof e&&r.push(e)})(e),r)},u.buttonSelector=function(e,n){for(var r=[],o=function(t,e,n){for(var r,i,a=0,s=e.length;a<s;a++)(r=e[a])&&(t.push({node:r.node,name:r.conf.name,idx:i=void 0!==n?n+a:a+""}),r.buttons)&&o(t,r.buttons,i+"-")},i=function(e,n){var a=[],s=(o(a,n.s.buttons),t.map(a,(function(t){return t.node})));if(Array.isArray(e)||e instanceof t)for(d=0,u=e.length;d<u;d++)i(e[d],n);else if(null==e||"*"===e)for(d=0,u=a.length;d<u;d++)r.push({inst:n,node:a[d].node});else if("number"==typeof e)n.s.buttons[e]&&r.push({inst:n,node:n.s.buttons[e].node});else if("string"==typeof e)if(-1!==e.indexOf(","))for(var l=e.split(","),d=0,u=l.length;d<u;d++)i(l[d].trim(),n);else if(e.match(/^\d+(\-\d+)*$/)){var c=t.map(a,(function(t){return t.idx}));r.push({inst:n,node:a[t.inArray(e,c)].node})}else if(-1!==e.indexOf(":name")){var f=e.replace(":name","");for(d=0,u=a.length;d<u;d++)a[d].name===f&&r.push({inst:n,node:a[d].node})}else t(s).filter(e).each((function(){r.push({inst:n,node:this})}));else"object"==typeof e&&e.nodeName&&-1!==(c=t.inArray(e,s))&&r.push({inst:n,node:s[c]})},a=0,s=e.length;a<s;a++){var l=e[a];i(n,l)}return r},u.stripData=function(t,e){return"string"==typeof(t=null!==t&&"object"==typeof t&&t.nodeName&&t.nodeType?t.innerHTML:t)&&(t=u.stripHtmlScript(t),t=u.stripHtmlComments(t),e&&!e.stripHtml||(t=r.util.stripHtml(t)),e&&!e.trim||(t=t.trim()),e&&!e.stripNewlines||(t=t.replace(/\n/g," ")),e&&!e.decodeEntities||(t=s?s(t):(g.innerHTML=t,g.value)),!e||e.escapeExcelFormula)&&t.match(/^[=+\-@\t\r]/)&&(console.log("matching and updateing"),t="'"+t),t},u.entityDecoder=function(t){s=t},u.stripHtmlComments=function(t){for(var e;(t=(e=t).replace(/(<!--.*?--!?>)|(<!--[\S\s]+?--!?>)|(<!--[\S\s]*?$)/g,""))!==e;);return t},u.stripHtmlScript=function(t){for(var e;(t=(e=t).replace(/<script\b[^<]*(?:(?!<\/script[^>]*>)<[^<]*)*<\/script[^>]*>/gi,""))!==e;);return t},u.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{container:{className:"dt-button-collection",content:{className:"",tag:"div"},tag:"div"}},button:{tag:"button",className:"dt-button",active:"dt-button-active",disabled:"disabled",spacer:{className:"dt-button-spacer",tag:"span"},liner:{tag:"span",className:""},dropClass:"",dropHtml:'<span class="dt-button-down-arrow">▼</span>'},split:{action:{className:"dt-button-split-drop-button dt-button",tag:"button"},dropdown:{align:"split-right",className:"dt-button-split-drop",splitAlignClass:"dt-button-split-left",tag:"button"},wrapper:{className:"dt-button-split",tag:"div"}}}},t.extend(a,{collection:{text:function(t){return t.i18n("buttons.collection","Collection")},className:"buttons-collection",closeButton:!(u.version="3.2.2"),dropIcon:!0,init:function(t,e){e.attr("aria-expanded",!1)},action:function(e,n,r,o){o._collection.parents("body").length?this.popover(!1,o):this.popover(o._collection,o),"keypress"===e.type&&t("a, button",o._collection).eq(0).focus()},attr:{"aria-haspopup":"dialog"}},split:{text:function(t){return t.i18n("buttons.split","Split")},className:"buttons-split",closeButton:!1,init:function(t,e){return e.attr("aria-expanded",!1)},action:function(t,e,n,r){this.popover(r._collection,r)},attr:{"aria-haspopup":"dialog"}},copy:function(){if(a.copyHtml5)return"copyHtml5"},csv:function(t,e){if(a.csvHtml5&&a.csvHtml5.available(t,e))return"csvHtml5"},excel:function(t,e){if(a.excelHtml5&&a.excelHtml5.available(t,e))return"excelHtml5"},pdf:function(t,e){if(a.pdfHtml5&&a.pdfHtml5.available(t,e))return"pdfHtml5"},pageLength:function(e){var n=e.settings()[0].aLengthMenu,r=[],o=[];if(Array.isArray(n[0]))r=n[0],o=n[1];else for(var i=0;i<n.length;i++){var a=n[i];t.isPlainObject(a)?(r.push(a.value),o.push(a.label)):(r.push(a),o.push(a))}return{extend:"collection",text:function(t){return t.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},t.page.len())},className:"buttons-page-length",autoClose:!0,buttons:t.map(r,(function(t,e){return{text:o[e],className:"button-page-length",action:function(e,n){n.page.len(t).draw()},init:function(e,n,r){function o(){i.active(e.page.len()===t)}var i=this;e.on("length.dt"+r.namespace,o),o()},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}})),init:function(t,e,n){var r=this;t.on("length.dt"+n.namespace,(function(){r.text(n.text)}))},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}},spacer:{style:"empty",spacer:!0,text:function(t){return t.i18n("buttons.spacer","")}}}),r.Api.register("buttons()",(function(t,e){void 0===e&&(e=t,t=void 0),this.selector.buttonGroup=t;var n=this.iterator(!0,"table",(function(n){if(n._buttons)return u.buttonSelector(u.instanceSelector(t,n._buttons),e)}),!0);return n._groupSelector=t,n})),r.Api.register("button()",(function(t,e){return 1<(t=this.buttons(t,e)).length&&t.splice(1,t.length),t})),r.Api.registerPlural("buttons().active()","button().active()",(function(t){return void 0===t?this.map((function(t){return t.inst.active(t.node)})):this.each((function(e){e.inst.active(e.node,t)}))})),r.Api.registerPlural("buttons().action()","button().action()",(function(t){return void 0===t?this.map((function(t){return t.inst.action(t.node)})):this.each((function(e){e.inst.action(e.node,t)}))})),r.Api.registerPlural("buttons().collectionRebuild()","button().collectionRebuild()",(function(t){return this.each((function(e){for(var n=0;n<t.length;n++)"object"==typeof t[n]&&(t[n].parentConf=e);e.inst.collectionRebuild(e.node,t)}))})),r.Api.register(["buttons().enable()","button().enable()"],(function(t){return this.each((function(e){e.inst.enable(e.node,t)}))})),r.Api.register(["buttons().disable()","button().disable()"],(function(){return this.each((function(t){t.inst.disable(t.node)}))})),r.Api.register("button().index()",(function(){var t=null;return this.each((function(e){null!==(e=e.inst.index(e.node))&&(t=e)})),t})),r.Api.registerPlural("buttons().nodes()","button().node()",(function(){var e=t();return t(this.each((function(t){e=e.add(t.inst.node(t.node))}))),e})),r.Api.registerPlural("buttons().processing()","button().processing()",(function(t){return void 0===t?this.map((function(t){return t.inst.processing(t.node)})):this.each((function(e){e.inst.processing(e.node,t)}))})),r.Api.registerPlural("buttons().text()","button().text()",(function(t){return void 0===t?this.map((function(t){return t.inst.text(t.node)})):this.each((function(e){e.inst.text(e.node,t)}))})),r.Api.registerPlural("buttons().trigger()","button().trigger()",(function(){return this.each((function(t){t.inst.node(t.node).trigger("click")}))})),r.Api.register("button().popover()",(function(t,e){return this.map((function(n){return n.inst._popover(t,this.button(this[0].node),e)}))})),r.Api.register("buttons().containers()",(function(){var e=t(),n=this._groupSelector;return this.iterator(!0,"table",(function(t){if(t._buttons)for(var r=u.instanceSelector(n,t._buttons),o=0,i=r.length;o<i;o++)e=e.add(r[o].container())})),e})),r.Api.register("buttons().container()",(function(){return this.containers().eq(0)})),r.Api.register("button().add()",(function(t,e,n){var r=this.context;return r.length&&(r=u.instanceSelector(this._groupSelector,r[0]._buttons)).length&&r[0].add(e,t,n),this.button(this._groupSelector,t)})),r.Api.register("buttons().destroy()",(function(){return this.pluck("inst").unique().each((function(t){t.destroy()})),this})),r.Api.registerPlural("buttons().remove()","buttons().remove()",(function(){return this.each((function(t){t.inst.remove(t.node)})),this})),r.Api.register("buttons.info()",(function(e,n,r){var o=this;return!1===e?(this.off("destroy.btn-info"),d(t("#datatables_buttons_info"),400,(function(){t(this).remove()})),clearTimeout(c),c=null):(c&&clearTimeout(c),t("#datatables_buttons_info").length&&t("#datatables_buttons_info").remove(),e=e?"<h2>"+e+"</h2>":"",l(t('<div id="datatables_buttons_info" class="dt-button-info"/>').html(e).append(t("<div/>")["string"==typeof n?"html":"append"](n)).css("display","none").appendTo("body")),void 0!==r&&0!==r&&(c=setTimeout((function(){o.buttons.info(!1)}),r)),this.on("destroy.btn-info",(function(){o.buttons.info(!1)}))),this})),r.Api.register("buttons.exportData()",(function(t){if(this.context.length)return b(new r.Api(this.context[0]),t)})),r.Api.register("buttons.exportInfo()",(function(t){return{filename:f(t=t||{},this),title:p(t,this),messageTop:m(this,t,t.message||t.messageTop,"top"),messageBottom:m(this,t,t.messageBottom,"bottom")}}));var c,f=function(e,n){var r;return null==(r="function"==typeof(r="*"===e.filename&&"*"!==e.title&&void 0!==e.title&&null!==e.title&&""!==e.title?e.title:e.filename)?r(e,n):r)?null:(r=(r=-1!==r.indexOf("*")?r.replace(/\*/g,t("head > title").text()).trim():r).replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,""))+(h(e.extension,e,n)||"")},h=function(t,e,n){return null==t?null:"function"==typeof t?t(e,n):t},p=function(e,n){return null===(e=h(e.title,e,n))?null:-1!==e.indexOf("*")?e.replace(/\*/g,t("head > title").text()||"Exported data"):e},m=function(e,n,r,o){return null===(r=h(r,n,e))?null:(n=t("caption",e.table().container()).eq(0),"*"===r?n.css("caption-side")!==o?null:n.length?n.text():"":r)},g=t("<textarea/>")[0],b=function(e,n){for(var r=t.extend(!0,{},{rows:null,columns:"",modifier:{search:"applied",order:"applied"},orthogonal:"display",stripHtml:!0,stripNewlines:!0,decodeEntities:!0,escapeExcelFormula:!1,trim:!0,format:{header:function(t){return u.stripData(t,r)},footer:function(t){return u.stripData(t,r)},body:function(t){return u.stripData(t,r)}},customizeData:null,customizeZip:null},n),o=(n=e.columns(r.columns).indexes().map((function(t){var n=e.column(t);return r.format.header(n.title(),t,n.header())})).toArray(),e.table().footer()?e.columns(r.columns).indexes().map((function(n){var o,i=e.column(n).footer(),a="";return i&&(a=((o=t(".dt-column-title",i)).length?o:t(i)).html()),r.format.footer(a,n,i)})).toArray():null),i=t.extend({},r.modifier),a=(e.select&&"function"==typeof e.select.info&&void 0===i.selected&&e.rows(r.rows,t.extend({selected:!0},i)).any()&&t.extend(i,{selected:!0}),e.rows(r.rows,i).indexes().toArray()),s=(a=e.cells(a,r.columns,{order:i.order})).render(r.orthogonal).toArray(),l=a.nodes().toArray(),d=a.indexes().toArray(),c=e.columns(r.columns).count(),f=[],h=0,p=0,m=0<c?s.length/c:0;p<m;p++){for(var g=[c],b=0;b<c;b++)g[b]=r.format.body(s[h],d[h].row,d[h].column,l[h]),h++;f[p]=g}return i={header:n,headerStructure:v(r.format.header,e.table().header.structure(r.columns)),footer:o,footerStructure:v(r.format.footer,e.table().footer.structure(r.columns)),body:f},r.customizeData&&r.customizeData(i),i};function v(t,e){for(var n=0;n<e.length;n++)for(var r=0;r<e[n].length;r++){var o=e[n][r];o&&(o.title=t(o.title,r,o.cell))}return e}function y(t,e){return t=new r.Api(t),e=e||t.init().buttons||r.defaults.buttons,new u(t,e).container()}return t.fn.dataTable.Buttons=u,t.fn.DataTable.Buttons=u,t(n).on("init.dt plugin-init.dt",(function(t,e){"dt"===t.namespace&&(t=e.oInit.buttons||r.defaults.buttons)&&!e._buttons&&new u(e,t).container()})),r.ext.feature.push({fnInit:y,cFeature:"B"}),r.feature&&r.feature.register("buttons",y),r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var r=t.fn.dataTable;return t.extend(r.ext.buttons,{colvis:function(t,e){var n=null,r={extend:"collection",init:function(t,e){n=e},text:function(t){return t.i18n("buttons.colvis","Column visibility")},className:"buttons-colvis",closeButton:!1,buttons:[{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}]};return t.on("column-reorder.dt"+e.namespace,(function(){t.button(null,t.button(null,n).node()).collectionRebuild([{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}])})),r},columnsToggle:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnToggle",columns:t,columnText:e.columnText}})).toArray()},columnToggle:function(t,e){return{extend:"columnVisibility",columns:e.columns,columnText:e.columnText}},columnsVisibility:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnVisibility",columns:t,visibility:e.visibility,columnText:e.columnText}})).toArray()},columnVisibility:{columns:void 0,text:function(t,e,n){return n._columnText(t,n)},className:"buttons-columnVisibility",action:function(t,e,n,r){var o=(e=e.columns(r.columns)).visible();e.visible(void 0!==r.visibility?r.visibility:!(o.length&&o[0]))},init:function(t,e,n){var r=this;e.attr("data-cv-idx",n.columns),t.on("column-visibility.dt"+n.namespace,(function(e,o){o.bDestroying||o.nTable!=t.settings()[0].nTable||r.active(t.column(n.columns).visible())})).on("column-reorder.dt"+n.namespace,(function(){n.destroying||1===t.columns(n.columns).count()&&(r.text(n._columnText(t,n)),r.active(t.column(n.columns).visible()))})),this.active(t.column(n.columns).visible())},destroy:function(t,e,n){t.off("column-visibility.dt"+n.namespace).off("column-reorder.dt"+n.namespace)},_columnText:function(t,e){var n,o;return"string"==typeof e.text?e.text:(o=t.column(e.columns).title(),n=t.column(e.columns).index(),o=o.replace(/\n/g," ").replace(/<br\s*\/?>/gi," ").replace(/<select(.*?)<\/select\s*>/gi,""),o=r.Buttons.stripHtmlComments(o),o=r.util.stripHtml(o).trim(),e.columnText?e.columnText(t,n,o):o)}},colvisRestore:{className:"buttons-colvisRestore",text:function(t){return t.i18n("buttons.colvisRestore","Restore visibility")},init:function(t,e,n){t.columns().every((function(){var t=this.init();void 0===t.__visOriginal&&(t.__visOriginal=this.visible())}))},action:function(t,e,n,r){e.columns().every((function(t){var e=this.init();this.visible(e.__visOriginal)}))}},colvisGroup:{className:"buttons-colvisGroup",action:function(t,e,n,r){e.columns(r.show).visible(!0,!1),e.columns(r.hide).visible(!1,!1),e.columns.adjust()},show:[],hide:[]}}),r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e),e.fn.dataTable.Buttons||require("datatables.net-buttons")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,r,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var r,o,i=t.fn.dataTable;function a(){return r||e.JSZip}function s(){return o||e.pdfMake}function l(t){var e="Sheet1";return t.sheetName?t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,""):e}function d(t,e){function n(t){for(var e="",n=0,r=t.length;n<r;n++)0<n&&(e+=a),e+=i?i+(""+t[n]).replace(s,l+i)+i:t[n];return e}var r=f(e),o=t.buttons.exportData(e.exportOptions),i=e.fieldBoundary,a=e.fieldSeparator,s=new RegExp(i,"g"),l=void 0!==e.escapeChar?e.escapeChar:"\\",d=(t="",""),u=[];e.header&&(t=o.headerStructure.map((function(t){return n(t.map((function(t){return t?t.title:""})))})).join(r)+r),e.footer&&o.footer&&(d=o.footerStructure.map((function(t){return n(t.map((function(t){return t?t.title:""})))})).join(r)+r);for(var c=0,h=o.body.length;c<h;c++)u.push(n(o.body[c]));return{str:t+u.join(r)+r+d,rows:u.length}}function u(){var t;return-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Opera")&&!!((t=navigator.userAgent.match(/AppleWebKit\/(\d+\.\d+)/))&&1<t.length&&+t[1]<603.1)}i.Buttons.pdfMake=function(t){if(!t)return s();o=t},i.Buttons.jszip=function(t){if(!t)return a();r=t};var c=function(t){var e,n,r,o,i,a,s,l,d,u;if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)))return u=t.document,e=function(){return t.URL||t.webkitURL||t},n=u.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in n,o=/constructor/i.test(t.HTMLElement)||t.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),a=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},4e4,s=function(t){setTimeout((function(){"string"==typeof t?e().revokeObjectURL(t):t.remove()}),4e4)},l=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},u=(d=function(d,u,c){c||(d=l(d));var f,h,p=this,m=(c="application/octet-stream"===d.type,function(){for(var t=p,e="writestart progress write writeend".split(" "),n=(e=[].concat(e)).length;n--;){var r=t["on"+e[n]];if("function"==typeof r)try{r.call(t,t)}catch(t){a(t)}}});p.readyState=p.INIT,r?(f=e().createObjectURL(d),setTimeout((function(){var t,e;n.href=f,n.download=u,t=n,e=new MouseEvent("click"),t.dispatchEvent(e),m(),s(f),p.readyState=p.DONE}))):(i||c&&o)&&t.FileReader?((h=new FileReader).onloadend=function(){var e=i?h.result:h.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),p.readyState=p.DONE,m()},h.readAsDataURL(d),p.readyState=p.INIT):(f=f||e().createObjectURL(d),!c&&t.open(f,"_blank")||(t.location.href=f),p.readyState=p.DONE,m(),s(f))}).prototype,"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=l(t)),navigator.msSaveOrOpenBlob(t,e)}:(u.abort=function(){},u.readyState=u.INIT=0,u.WRITING=1,u.DONE=2,u.error=u.onwritestart=u.onprogress=u.onwrite=u.onabort=u.onerror=u.onwriteend=null,function(t,e,n){return new d(t,e||t.name||"download",n)})}("undefined"!=typeof self&&self||void 0!==e&&e||this.content),f=(i.fileSave=c,function(t){return t.newline||(navigator.userAgent.match(/Windows/)?"\r\n":"\n")});function h(t){for(var e="A".charCodeAt(0),n="Z".charCodeAt(0)-e+1,r="";0<=t;)r=String.fromCharCode(t%n+e)+r,t=Math.floor(t/n)-1;return r}try{var p,m=new XMLSerializer}catch(i){}function g(e,n,r){var o=e.createElement(n);return r&&(r.attr&&t(o).attr(r.attr),r.children&&t.each(r.children,(function(t,e){o.appendChild(e)})),null!==r.text)&&void 0!==r.text&&o.appendChild(e.createTextNode(r.text)),o}function b(e,n,r,o,i){var a=t("mergeCells",e);a[0].appendChild(g(e,"mergeCell",{attr:{ref:h(r)+n+":"+h(r+i-1)+(n+o-1)}})),a.attr("count",parseFloat(a.attr("count"))+1)}var v={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><definedNames/></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="[$$-409]#,##0.00;-[$$-409]#,##0.00"/><numFmt numFmtId="165" formatCode=""£"#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="68"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="1" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="2" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="14" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},y=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\-?\d+$/,style:65},{match:/^\-?\d+\.\d{2}$/,style:66},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\-?[\d,]+$/,style:63},{match:/^\-?[\d,]+\.\d{2}$/,style:64},{match:/^(19\d\d|[2-9]\d\d\d)\-(0\d|1[012])\-[0123][\d]$/,style:67,fmt:function(t){return Math.round(25569+Date.parse(t)/864e5)}}];return i.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(e,r,o,i,a){var s=d(r,i),l=r.buttons.exportInfo(i),u=f(i),c=s.str,h=t("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});l.title&&(c=l.title+u+u+c),l.messageTop&&(c=l.messageTop+u+u+c),l.messageBottom&&(c=c+u+u+l.messageBottom),i.customize&&(c=i.customize(c,i,r)),u=t("<textarea readonly/>").val(c).appendTo(h);if(n.queryCommandSupported("copy")){h.appendTo(r.table().container()),u[0].focus(),u[0].select();try{var p=n.execCommand("copy");if(h.remove(),p)return i.copySuccess&&r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),r.i18n("buttons.copySuccess",{1:"Copied one row to clipboard",_:"Copied %d rows to clipboard"},s.rows),2e3),void a()}catch(e){}}function m(){g.off("click.buttons-copy"),t(n).off(".buttons-copy"),r.buttons.info(!1)}l=t("<span>"+r.i18n("buttons.copyKeys","Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.")+"</span>").append(h);var g=(r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),l,0),u[0].focus(),u[0].select(),t(l).closest(".dt-button-info"));g.on("click.buttons-copy",(function(){m(),a()})),t(n).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(m(),a())})).on("copy.buttons-copy cut.buttons-copy",(function(){m(),a()}))},async:100,copySuccess:!0,exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!0,title:"*",messageTop:"*",messageBottom:"*"},i.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return void 0!==e.FileReader&&e.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,r,o,i){var a=d(e,o).str,s=e.buttons.exportInfo(o),l=o.charset;o.customize&&(a=o.customize(a,o,e)),l=!1!==l?(l=l||n.characterSet||n.charset)&&";charset="+l:"",o.bom&&(a=String.fromCharCode(65279)+a),c(new Blob([a],{type:"text/csv"+l}),s.filename,!0),i()},async:100,filename:"*",extension:".csv",exportOptions:{escapeExcelFormula:!0},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!0},i.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return void 0!==e.FileReader&&void 0!==a()&&!u()&&m},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(n,r,o,i,s){function d(e){return e=v[e],t.parseXML(e)}function u(t){x=g(S,"row",{attr:{r:w=C+1}});for(var e=0,n=t.length;e<n;e++){var r=h(e)+""+w,o=null;if(null===t[e]||void 0===t[e]||""===t[e]){if(!0!==i.createEmptyCells)continue;t[e]=""}var a=t[e];t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var s=0,l=y.length;s<l;s++){var d=y[s];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(d.match)){var u=t[e].replace(/[^\d\.\-]/g,"");d.fmt&&(u=d.fmt(u)),o=g(S,"c",{attr:{r:r,s:d.style},children:[g(S,"v",{text:u})]});break}}o=o||("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?([eE]\-?\d+)?$/)&&!t[e].match(/^0\d+/)?g(S,"c",{attr:{t:"n",r:r},children:[g(S,"v",{text:t[e]})]}):(a=a.replace?a.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):a,g(S,"c",{attr:{t:"inlineStr",r:r},children:{row:g(S,"is",{children:{row:g(S,"t",{text:a,attr:{"xml:space":"preserve"}})}})}}))),x.appendChild(o)}k.appendChild(x),C++}function f(e){e.forEach((function(e){u(e.map((function(t){return t?t.title:""}))),t("row:last c",S).attr("s","2"),e.forEach((function(t,e){t&&(1<t.colSpan||1<t.rowSpan)&&b(S,C,e,t.rowSpan,t.colSpan)}))}))}var _,w,x,C=0,S=d("xl/worksheets/sheet1.xml"),k=S.getElementsByTagName("sheetData")[0],T={_rels:{".rels":d("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":d("xl/_rels/workbook.xml.rels")},"workbook.xml":d("xl/workbook.xml"),"styles.xml":d("xl/styles.xml"),worksheets:{"sheet1.xml":S}},"[Content_Types].xml":d("[Content_Types].xml")},I=r.buttons.exportData(i.exportOptions),D=r.buttons.exportInfo(i);D.title&&(u([D.title]),b(S,C,0,1,I.header.length),t("row:last c",S).attr("s","51")),D.messageTop&&(u([D.messageTop]),b(S,C,0,1,I.header.length)),i.header&&f(I.headerStructure);for(var F=C,A=0,N=I.body.length;A<N;A++)u(I.body[A]);_=C,i.footer&&I.footer&&f(I.footerStructure),D.messageBottom&&(u([D.messageBottom]),b(S,C,0,1,I.header.length));var E=g(S,"cols");t("worksheet",S).prepend(E);for(var O=0,B=I.header.length;O<B;O++)E.appendChild(g(S,"col",{attr:{min:O+1,max:O+1,width:function(t,e){var n=t.header[e].length;t.footer&&t.footer[e]&&t.footer[e].length>n&&(n=t.footer[e].length);for(var r=0,o=t.body.length;r<o;r++){var i,a=t.body[r][e];if(40<(n=n<(i=(-1!==(a=null!=a?a.toString():"").indexOf("\n")?((i=a.split("\n")).sort((function(t,e){return e.length-t.length})),i[0]):a).length)?i:n))return 54}return 6<(n*=1.35)?n:6}(I,O),customWidth:1}}));var z=T.xl["workbook.xml"];t("sheets sheet",z).attr("name",l(i)),i.autoFilter&&(t("mergeCells",S).before(g(S,"autoFilter",{attr:{ref:"A"+F+":"+h(I.header.length-1)+_}})),t("definedNames",z).append(g(z,"definedName",{attr:{name:"_xlnm._FilterDatabase",localSheetId:"0",hidden:1},text:"'"+l(i).replace(/'/g,"''")+"'!$A$"+F+":"+h(I.header.length-1)+_}))),i.customize&&i.customize(T,i,r),0===t("mergeCells",S).children().length&&t("mergeCells",S).remove();F={compression:"DEFLATE",type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};var R=(function L(n,r){void 0===p&&(p=-1===m.serializeToString((new e.DOMParser).parseFromString(v["xl/worksheets/sheet1.xml"],"text/xml")).indexOf("xmlns:r")),t.each(r,(function(e,r){if(t.isPlainObject(r))L(n.folder(e),r);else{if(p){for(var o,i=r.childNodes[0],a=[],s=i.attributes.length-1;0<=s;s--){var l=i.attributes[s].nodeName,d=i.attributes[s].nodeValue;-1!==l.indexOf(":")&&(a.push({name:l,value:d}),i.removeAttribute(l))}for(s=0,o=a.length;s<o;s++){var u=r.createAttribute(a[s].name.replace(":","_dt_b_namespace_token_"));u.value=a[s].value,i.setAttributeNode(u)}}var c=m.serializeToString(r);c=(c=p?(c=(c=-1===c.indexOf("<?xml")?'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+c:c).replace(/_dt_b_namespace_token_/g,":")).replace(/xmlns:NS[\d]+="" NS[\d]+:/g,""):c).replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>");n.file(e,c)}}))}(z=new(a()),T),D.filename);175<R&&(R=R.substr(0,175)),i.customizeZip&&i.customizeZip(z,I,R),z.generateAsync?z.generateAsync(F).then((function(t){c(t,R),s()})):(c(z.generate(F),R),s())},async:100,filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!0,title:"*",messageTop:"*",messageBottom:"*",createEmptyCells:!1,autoFilter:!1,sheetName:""},i.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return void 0!==e.FileReader&&s()},text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(t,e,n,r,o){var i=e.buttons.exportData(r.exportOptions),a=e.buttons.exportInfo(r),l=[];r.header&&i.headerStructure.forEach((function(t){l.push(t.map((function(t){return t?{text:t.title,colSpan:t.colspan,rowSpan:t.rowspan,style:"tableHeader"}:{}})))}));for(var d=0,c=i.body.length;d<c;d++)l.push(i.body[d].map((function(t){return{text:null==t?"":"string"==typeof t?t:t.toString()}})));r.footer&&i.footerStructure.forEach((function(t){l.push(t.map((function(t){return t?{text:t.title,colSpan:t.colspan,rowSpan:t.rowspan,style:"tableFooter"}:{}})))}));var f={pageSize:r.pageSize,pageOrientation:r.orientation,content:[{style:"table",table:{headerRows:i.headerStructure.length,footerRows:i.footerStructure.length,body:l},layout:{hLineWidth:function(t,e){return 0===t||t===e.table.body.length?0:.5},vLineWidth:function(){return 0},hLineColor:function(t,e){return t===e.table.headerRows||t===e.table.body.length-e.table.footerRows?"#333":"#ddd"},fillColor:function(t){return t<i.headerStructure.length?"#fff":t%2==0?"#f3f3f3":null},paddingTop:function(){return 5},paddingBottom:function(){return 5}}}],styles:{tableHeader:{bold:!0,fontSize:11,alignment:"center"},tableFooter:{bold:!0,fontSize:11,alignment:"center"},table:{margin:[0,5,0,5]},title:{alignment:"center",fontSize:13},message:{}},defaultStyle:{fontSize:10}};a.messageTop&&f.content.unshift({text:a.messageTop,style:"message",margin:[0,0,0,12]}),a.messageBottom&&f.content.push({text:a.messageBottom,style:"message",margin:[0,0,0,12]}),a.title&&f.content.unshift({text:a.title,style:"title",margin:[0,0,0,12]}),r.customize&&r.customize(f,r,e),e=s().createPdf(f);"open"!==r.download||u()?e.download(a.filename):e.open(),o()},async:100,title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"en-US"===navigator.language||"en-CA"===navigator.language?"LETTER":"A4",header:!0,footer:!0,messageTop:"*",messageBottom:"*",customize:null,download:"download"},i})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var r,o,i,a,s=t.fn.dataTable;function l(t,e){var n,i=this;if(o&&o.versionCheck&&o.versionCheck("2"))return t=new o.Api(t),this.classes=r.extend(!0,{},l.classes),this.c=r.extend(!0,{},l.defaults,e),this.s={dt:t,rtl:"rtl"===r(t.table().node()).css("direction")},e&&void 0!==e.leftColumns&&(e.left=e.leftColumns),e&&void 0!==e.left&&(this.c[this.s.rtl?"end":"start"]=e.left),e&&void 0!==e.rightColumns&&(e.right=e.rightColumns),e&&void 0!==e.right&&(this.c[this.s.rtl?"start":"end"]=e.right),this.dom={bottomBlocker:r("<div>").addClass(this.classes.bottomBlocker),topBlocker:r("<div>").addClass(this.classes.topBlocker),scroller:r("div.dt-scroll-body",this.s.dt.table().container())},this.s.dt.settings()[0]._bInitComplete?(this._addStyles(),this._setKeyTableListener()):t.one("init.dt.dtfc",(function(){i._addStyles(),i._setKeyTableListener()})),t.on("column-sizing.dt.dtfc column-reorder.dt.dtfc draw.dt.dtfc",(function(){return i._addStyles()})),n=o.util.debounce((function(){i._addStyles()}),50),t.on("column-visibility.dt.dtfc",(function(){n()})),this.dom.scroller.on("scroll.dtfc",(function(){return i._scroll()})),this._scroll(),t.settings()[0]._fixedColumns=this,t.on("destroy",(function(){return i._destroy()})),this;throw new Error("FixedColumns requires DataTables 2 or newer")}function d(t,e){void 0===e&&(e=null),t=new s.Api(t),e=e||t.init().fixedColumns||s.defaults.fixedColumns,new i(t,e)}return l.prototype.end=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.end=t,this._addStyles()),this):this.c.end},l.prototype.left=function(t){return this.s.rtl?this.end(t):this.start(t)},l.prototype.right=function(t){return this.s.rtl?this.start(t):this.end(t)},l.prototype.start=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.start=t,this._addStyles()),this):this.c.start},l.prototype._addStyles=function(){var t=this.s.dt,e=this,n=this.s.dt.columns(":visible").count(),o=t.table().header.structure(":visible"),i=t.table().footer.structure(":visible"),a=t.columns(":visible").widths().toArray(),s=r(t.table().node()).closest("div.dt-scroll"),l=r(t.table().node()).closest("div.dt-scroll-body")[0],d=this.s.rtl,u=this.c.start,c=this.c.end,f=d?c:u,h=(d=d?u:c,t.settings()[0].oBrowser.barWidth);if(0===s.length)return this;l.offsetWidth===l.clientWidth&&(h=0),t.columns().every((function(r){var s;null!==(r=t.column.index("toVisible",r))&&(r<u?(s=e._sum(a,r),e._fixColumn(r,s,"start",o,i,h)):n-c<=r?(s=e._sum(a,n-r-1,!0),e._fixColumn(r,s,"end",o,i,h)):e._fixColumn(r,0,"none",o,i,h))})),r(t.table().node()).toggleClass(e.classes.tableFixedStart,0<u).toggleClass(e.classes.tableFixedEnd,0<c).toggleClass(e.classes.tableFixedLeft,0<f).toggleClass(e.classes.tableFixedRight,0<d),l=t.table().header(),f=t.table().footer(),d=r(l).outerHeight(),l=r(f).outerHeight(),this.dom.topBlocker.appendTo(s).css("top",0).css(this.s.rtl?"left":"right",0).css("height",d).css("width",h+1).css("display",h?"block":"none"),f&&this.dom.bottomBlocker.appendTo(s).css("bottom",0).css(this.s.rtl?"left":"right",0).css("height",l).css("width",h+1).css("display",h?"block":"none")},l.prototype._destroy=function(){this.s.dt.off(".dtfc"),this.dom.scroller.off(".dtfc"),r(this.s.dt.table().node()).removeClass(this.classes.tableScrollingEnd+" "+this.classes.tableScrollingLeft+" "+this.classes.tableScrollingStart+" "+this.classes.tableScrollingRight),this.dom.bottomBlocker.remove(),this.dom.topBlocker.remove()},l.prototype._fixColumn=function(t,e,n,o,i,a){function s(t,r){var o,i;"none"===n?t.css("position","").css("left","").css("right","").removeClass(l.classes.fixedEnd+" "+l.classes.fixedLeft+" "+l.classes.fixedRight+" "+l.classes.fixedStart):(o="start"===n?"left":"right",l.s.rtl&&(o="start"===n?"right":"left"),i=e,"end"!==n||"header"!==r&&"footer"!==r||(i+=a),t.css("position","sticky").css(o,i).addClass("start"===n?l.classes.fixedStart:l.classes.fixedEnd).addClass("left"===o?l.classes.fixedLeft:l.classes.fixedRight))}var l=this,d=this.s.dt;o.forEach((function(e){e[t]&&s(r(e[t].cell),"header")})),s(d.column(t+":visible",{page:"current"}).nodes().to$(),"body"),i&&i.forEach((function(e){e[t]&&s(r(e[t].cell),"footer")}))},l.prototype._scroll=function(){var t,e,n,o,i=this.dom.scroller[0];i&&(t=r(this.s.dt.table().node()).add(this.s.dt.table().header().parentNode).add(this.s.dt.table().footer().parentNode).add("div.dt-scroll-headInner table",this.s.dt.table().container()).add("div.dt-scroll-footInner table",this.s.dt.table().container()),e=i.scrollLeft,n=!this.s.rtl,o=0!==e,i=i.scrollWidth>i.clientWidth+Math.abs(e)+1,t.toggleClass(this.classes.tableScrollingStart,o),t.toggleClass(this.classes.tableScrollingEnd,i),t.toggleClass(this.classes.tableScrollingLeft,o&&n||i&&!n),t.toggleClass(this.classes.tableScrollingRight,i&&n||o&&!n))},l.prototype._setKeyTableListener=function(){var t=this;this.s.dt.on("key-focus.dt.dtfc",(function(e,n,o){var i,a,s,l=r(o.node()).offset(),d=t.dom.scroller[0],u=r(r(t.s.dt.table().node()).closest("div.dt-scroll-body"));0<t.c.start&&(s=(a=r(t.s.dt.column(t.c.start-1).header())).offset(),a=a.outerWidth(),r(o.node()).hasClass(t.classes.fixedLeft)?u.scrollLeft(0):l.left<s.left+a&&(i=u.scrollLeft(),u.scrollLeft(i-(s.left+a-l.left)))),0<t.c.end&&(s=t.s.dt.columns().data().toArray().length,a=r(o.node()).outerWidth(),s=r(t.s.dt.column(s-t.c.end).header()).offset(),r(o.node()).hasClass(t.classes.fixedRight)?u.scrollLeft(d.scrollWidth-d.clientWidth):l.left+a>s.left&&(i=u.scrollLeft(),u.scrollLeft(i-(s.left-(l.left+a)))))}))},l.prototype._sum=function(t,e,n){return(t=(n=void 0!==n&&n)?t.slice().reverse():t).slice(0,e).reduce((function(t,e){return t+e}),0)},l.version="5.0.4",l.classes={bottomBlocker:"dtfc-bottom-blocker",fixedEnd:"dtfc-fixed-end",fixedLeft:"dtfc-fixed-left",fixedRight:"dtfc-fixed-right",fixedStart:"dtfc-fixed-start",tableFixedEnd:"dtfc-has-end",tableFixedLeft:"dtfc-has-left",tableFixedRight:"dtfc-has-right",tableFixedStart:"dtfc-has-start",tableScrollingEnd:"dtfc-scrolling-end",tableScrollingLeft:"dtfc-scrolling-left",tableScrollingRight:"dtfc-scrolling-right",tableScrollingStart:"dtfc-scrolling-start",topBlocker:"dtfc-top-blocker"},l.defaults={i18n:{button:"FixedColumns"},start:1,end:0},i=l,o=(r=t).fn.dataTable,t.fn.dataTable.FixedColumns=i,t.fn.DataTable.FixedColumns=i,(a=s.Api.register)("fixedColumns()",(function(){return this})),a("fixedColumns().start()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.start(t),this):e._fixedColumns.start()})),a("fixedColumns().end()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.end(t),this):e._fixedColumns.end()})),a("fixedColumns().left()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.left(t),this):e._fixedColumns.left()})),a("fixedColumns().right()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.right(t),this):e._fixedColumns.right()})),s.ext.buttons.fixedColumns={action:function(e,n,r,o){t(r).attr("active")?(t(r).removeAttr("active").removeClass("active"),n.fixedColumns().start(0),n.fixedColumns().end(0)):(t(r).attr("active","true").addClass("active"),n.fixedColumns().start(o.config.start),n.fixedColumns().end(o.config.end))},config:{start:1,end:0},init:function(e,n,r){void 0===e.settings()[0]._fixedColumns&&d(e.settings(),r),t(n).attr("active","true").addClass("active"),e.button(n).text(r.text||e.i18n("buttons.fixedColumns",e.settings()[0]._fixedColumns.c.i18n.button))},text:null},t(n).on("plugin-init.dt",(function(t,e){"dt"!==t.namespace||!e.oInit.fixedColumns&&!s.defaults.fixedColumns||e._fixedColumns||d(e,null)})),s})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-fixedcolumns"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,r,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function r(n,a){if(!o.versionCheck("2"))throw"Warning: FixedHeader requires DataTables 2 or newer";if(!(this instanceof r))throw"FixedHeader must be initialised with the 'new' keyword.";if(!0===a&&(a={}),n=new o.Api(n),this.c=t.extend(!0,{},r.defaults,a),this.s={dt:n,position:{theadTop:0,tbodyTop:0,tfootTop:0,tfootBottom:0,width:0,left:0,tfootHeight:0,theadHeight:0,windowHeight:t(e).height(),visible:!0},headerMode:null,footerMode:null,autoWidth:n.settings()[0].oFeatures.bAutoWidth,namespace:".dtfc"+i++,scrollLeft:{header:-1,footer:-1},enable:!0,autoDisable:!1},this.dom={floatingHeader:null,thead:t(n.table().header()),tbody:t(n.table().body()),tfoot:t(n.table().footer()),header:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent"><div></div></div>'),placeholder:null},footer:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent"><div></div></div>'),placeholder:null}},this.dom.header.host=this.dom.thead.parent(),this.dom.footer.host=this.dom.tfoot.parent(),(a=n.settings()[0])._fixedHeader)throw"FixedHeader already initialised on table "+a.nTable.id;(a._fixedHeader=this)._constructor()}var o=t.fn.dataTable,i=0;return t.extend(r.prototype,{destroy:function(){var n=this.dom;this.s.dt.off(".dtfc"),t(e).off(this.s.namespace),n.header.rightBlocker&&n.header.rightBlocker.remove(),n.header.leftBlocker&&n.header.leftBlocker.remove(),n.footer.rightBlocker&&n.footer.rightBlocker.remove(),n.footer.leftBlocker&&n.footer.leftBlocker.remove(),this.c.header&&this._modeChange("in-place","header",!0),this.c.footer&&n.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(t,e,n){this.s.enable=t,this.s.enableType=n,!e&&void 0!==e||(this._positions(),this._scroll(!0))},enabled:function(){return this.s.enable},headerOffset:function(t){return void 0!==t&&(this.c.headerOffset=t,this.update()),this.c.headerOffset},footerOffset:function(t){return void 0!==t&&(this.c.footerOffset=t,this.update()),this.c.footerOffset},update:function(e){var n=this.s.dt.table().node();(this.s.enable||this.s.autoDisable)&&(t(n).is(":visible")?(this.s.autoDisable=!1,this.enable(!0,!1)):(this.s.autoDisable=!0,this.enable(!1,!1)),0!==t(n).children("thead").length)&&(this._positions(),this._scroll(void 0===e||e),this._widths(this.dom.header),this._widths(this.dom.footer))},_constructor:function(){var n=this,r=this.s.dt,i=(t(e).on("scroll"+this.s.namespace,(function(){n._scroll()})).on("resize"+this.s.namespace,o.util.throttle((function(){n.s.position.windowHeight=t(e).height(),n.update()}),50)),t(".fh-fixedHeader"));!this.c.headerOffset&&i.length&&(this.c.headerOffset=i.outerHeight()),i=t(".fh-fixedFooter");!this.c.footerOffset&&i.length&&(this.c.footerOffset=i.outerHeight()),r.on("column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc",(function(t,e){n.update()})).on("draw.dt.dtfc",(function(t,e){n.update(e!==r.settings()[0])})),r.on("destroy.dtfc",(function(){n.destroy()})),this._positions(),this._scroll()},_clone:function(e,n){var r,o,i=this,a=this.s.dt,s=this.dom[e],l="header"===e?this.dom.thead:this.dom.tfoot;"footer"===e&&this._scrollEnabled()||(!n&&s.floating?s.floating.removeClass("fixedHeader-floating fixedHeader-locked"):(s.floating&&(null!==s.placeholder&&s.placeholder.remove(),s.floating.children().detach(),s.floating.remove()),n=t(a.table().node()),r=t(n.parent()),o=this._scrollEnabled(),s.floating=t(a.table().node().cloneNode(!1)).attr("aria-hidden","true").css({top:0,left:0}).removeAttr("id"),s.floatingParent.css({width:r[0].offsetWidth,overflow:"hidden",height:"fit-content",position:"fixed",left:o?n.offset().left+r.scrollLeft():0}).css("header"===e?{top:this.c.headerOffset,bottom:""}:{top:"",bottom:this.c.footerOffset}).addClass("footer"===e?"dtfh-floatingparent-foot":"dtfh-floatingparent-head").appendTo("body").children().eq(0).append(s.floating),this._stickyPosition(s.floating,"-"),(o=function(){var t=r.scrollLeft();i.s.scrollLeft={footer:t,header:t},s.floatingParent.scrollLeft(i.s.scrollLeft.header)})(),r.off("scroll.dtfh").on("scroll.dtfh",o),s.floatingParent.children().css({width:"fit-content",paddingRight:i.s.dt.settings()[0].oBrowser.barWidth}),(n=t("footer"===e?"div.dtfc-bottom-blocker":"div.dtfc-top-blocker",a.table().container())).length&&n.clone().appendTo(s.floatingParent).css({position:"fixed",right:n.width()}),s.placeholder=l.clone(!1),s.placeholder.find("*[id]").removeAttr("id"),s.host.prepend(s.placeholder),s.floating.append(l),this._widths(s)))},_stickyPosition:function(e,n){var r;this._scrollEnabled()&&(r="rtl"===t(this.s.dt.table().node()).css("direction"),e.find("th").each((function(){var e,n,o;"sticky"===t(this).css("position")&&(e=t(this).css("right"),n=t(this).css("left"),"auto"===e||r?"auto"!==n&&r&&(o=+n.replace(/px/g,""),t(this).css("left",0<o?o:0)):(o=+e.replace(/px/g,""),t(this).css("right",0<o?o:0)))})))},_horizontal:function(e,n){var r,o=this.dom[e],i=this.s.scrollLeft;o.floating&&i[e]!==n&&(this._scrollEnabled()&&(r=t(t(this.s.dt.table().node()).parent()).scrollLeft(),o.floating.scrollLeft(r),o.floatingParent.scrollLeft(r)),i[e]=n)},_modeChange:function(r,o,i){var a,s,l,d,u,c,f,h=this.dom[o],p=this.s.position,m=this._scrollEnabled();"footer"===o&&m||(a=function(t){h.floating[0].style.setProperty("width",t+"px","important"),m||h.floatingParent[0].style.setProperty("width",t+"px","important")},d=this.dom["footer"===o?"tfoot":"thead"],s=t.contains(d[0],n.activeElement)?n.activeElement:null,u=t(t(this.s.dt.table().node()).parent()),"in-place"===r?(h.placeholder&&(h.placeholder.remove(),h.placeholder=null),"header"===o?h.host.prepend(d):h.host.append(d),h.floating&&(h.floating.remove(),h.floating=null,this._stickyPosition(h.host,"+")),h.floatingParent&&(h.floatingParent.find("div.dtfc-top-blocker").remove(),h.floatingParent.remove()),t(t(h.host.parent()).parent()).scrollLeft(u.scrollLeft())):"in"===r?(this._clone(o,i),d=u.offset(),f=(l=t(n).scrollTop())+t(e).height(),c=m?d.top:p.tbodyTop,d=m?d.top+u.outerHeight():p.tfootTop,u="footer"===o?f<c?p.tfootHeight:c+p.tfootHeight-f:l+this.c.headerOffset+p.theadHeight-d,c="header"===o?"top":"bottom",f=this.c[o+"Offset"]-(0<u?u:0),h.floating.addClass("fixedHeader-floating"),h.floatingParent.css(c,f).css({left:p.left,"z-index":3}),a(p.width),"footer"===o&&h.floating.css("top","")):"below"===r?(this._clone(o,i),h.floating.addClass("fixedHeader-locked"),h.floatingParent.css({position:"absolute",top:p.tfootTop-p.theadHeight,left:p.left+"px"}),a(p.width)):"above"===r&&(this._clone(o,i),h.floating.addClass("fixedHeader-locked"),h.floatingParent.css({position:"absolute",top:p.tbodyTop,left:p.left+"px"}),a(p.width)),s&&s!==n.activeElement&&setTimeout((function(){s.focus()}),10),this.s.scrollLeft.header=-1,this.s.scrollLeft.footer=-1,this.s[o+"Mode"]=r)},_positions:function(){var e=(a=this.s.dt).table(),n=this.s.position,r=this.dom,o=(e=t(e.node()),this._scrollEnabled()),i=t(a.table().header()),a=t(a.table().footer()),s=(r=r.tbody,e.parent());n.visible=e.is(":visible"),n.width=e.outerWidth(),n.left=e.offset().left,n.theadTop=i.offset().top,n.tbodyTop=(o?s:r).offset().top,n.tbodyHeight=(o?s:r).outerHeight(),n.theadHeight=i.outerHeight(),n.theadBottom=n.theadTop+n.theadHeight,n.tfootTop=n.tbodyTop+n.tbodyHeight,a.length?(n.tfootBottom=n.tfootTop+a.outerHeight(),n.tfootHeight=a.outerHeight()):(n.tfootBottom=n.tfootTop,n.tfootHeight=0)},_scroll:function(r){var o,i,a,s,l,d,u,c,f,h,p,m,g,b,v;this.s.dt.settings()[0].bDestroying||(o=this._scrollEnabled(),a=(i=t(this.s.dt.table().node()).parent()).offset(),h=i.outerHeight(),s=t(n).scrollLeft(),l=t(n).scrollTop(),d=t(e).height()+l,p=this.s.position,m=o?a.top:p.tbodyTop,c=(o?a:p).left,h=o?a.top+h:p.tfootTop,f=o?i.outerWidth():p.tbodyWidth,this.c.header&&(!this.s.enable||!p.visible||l+this.c.headerOffset+p.theadHeight<=m?u="in-place":l+this.c.headerOffset+p.theadHeight>m&&l+this.c.headerOffset+p.theadHeight<h?(u="in",l+this.c.headerOffset+p.theadHeight>h||void 0===this.dom.header.floatingParent?r=!0:this.dom.header.floatingParent.css({top:this.c.headerOffset,position:"fixed"}).children().eq(0).append(this.dom.header.floating)):u="below",!r&&u===this.s.headerMode||this._modeChange(u,"header",r),this._horizontal("header",s)),g={offset:{top:0,left:0},height:0},b={offset:{top:0,left:0},height:0},this.c.footer&&this.dom.tfoot.length&&this.dom.tfoot.find("th, td").length&&(!this.s.enable||!p.visible||p.tfootBottom+this.c.footerOffset<=d?v="in-place":h+p.tfootHeight+this.c.footerOffset>d&&m+this.c.footerOffset<d?(v="in",r=!0):v="above",!r&&v===this.s.footerMode||this._modeChange(v,"footer",r),this._horizontal("footer",s),h=function(t){return{offset:t.offset(),height:t.outerHeight()}},g=this.dom.header.floating?h(this.dom.header.floating):h(this.dom.thead),b=this.dom.footer.floating?h(this.dom.footer.floating):h(this.dom.tfoot),o)&&b.offset.top>l&&(m=d+((p=l-a.top)>-g.height?p:0)-(g.offset.top+(p<-g.height?g.height:0)+b.height),i.outerHeight(m=m<0?0:m),Math.round(i.outerHeight())>=Math.round(m)?t(this.dom.tfoot.parent()).addClass("fixedHeader-floating"):t(this.dom.tfoot.parent()).removeClass("fixedHeader-floating")),this.dom.header.floating&&this.dom.header.floatingParent.css("left",c-s),this.dom.footer.floating&&this.dom.footer.floatingParent.css("left",c-s),void 0!==this.s.dt.settings()[0]._fixedColumns&&(this.dom.header.rightBlocker=(v=function(e,n,r){var o;return null!==(r=void 0===r?0===(o=t("div.dtfc-"+e+"-"+n+"-blocker")).length?null:o.clone().css("z-index",1):r)&&("in"===u||"below"===u?r.appendTo("body").css({top:("top"===n?g:b).offset.top,left:"right"===e?c+f-r.width():c}):r.detach()),r})("right","top",this.dom.header.rightBlocker),this.dom.header.leftBlocker=v("left","top",this.dom.header.leftBlocker),this.dom.footer.rightBlocker=v("right","bottom",this.dom.footer.rightBlocker),this.dom.footer.leftBlocker=v("left","bottom",this.dom.footer.leftBlocker)))},_scrollEnabled:function(){var t=this.s.dt.settings()[0].oScroll;return""!==t.sY||""!==t.sX},_widths:function(e){if(e&&e.placeholder)for(var n=t(this.s.dt.table().node()),r=t(n.parent()),o=(e.floatingParent.css("width",r[0].offsetWidth),e.floating.css("width",n[0].offsetWidth),t("colgroup",e.floating).remove(),e.placeholder.parent().find("colgroup").clone().appendTo(e.floating).find("col")),i=this.s.dt.columns(":visible").widths(),a=0;a<i.length;a++)o.eq(a).css("width",i[a])}}),r.version="4.0.1",r.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0},t.fn.dataTable.FixedHeader=r,t.fn.DataTable.FixedHeader=r,t(n).on("init.dt.dtfh",(function(e,n,i){var a;"dt"===e.namespace&&(e=n.oInit.fixedHeader,a=o.defaults.fixedHeader,e||a)&&!n._fixedHeader&&(a=t.extend({},a,e),!1!==e)&&new r(n,a)})),o.Api.register("fixedHeader()",(function(){})),o.Api.register("fixedHeader.adjust()",(function(){return this.iterator("table",(function(t){(t=t._fixedHeader)&&t.update()}))})),o.Api.register("fixedHeader.enable()",(function(t){return this.iterator("table",(function(e){e=e._fixedHeader,t=void 0===t||t,e&&t!==e.enabled()&&e.enable(t)}))})),o.Api.register("fixedHeader.enabled()",(function(){if(this.context.length){var t=this.context[0]._fixedHeader;if(t)return t.enabled()}return!1})),o.Api.register("fixedHeader.disable()",(function(){return this.iterator("table",(function(t){(t=t._fixedHeader)&&t.enabled()&&t.enable(!1)}))})),t.each(["header","footer"],(function(t,e){o.Api.register("fixedHeader."+e+"Offset()",(function(t){var n=this.context;return void 0===t?n.length&&n[0]._fixedHeader?n[0]._fixedHeader[e+"Offset"]():void 0:this.iterator("table",(function(n){(n=n._fixedHeader)&&n[e+"Offset"](t)}))}))})),o})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-fixedheader"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.FixedHeader||require("datatables.net-fixedheader")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,r,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function r(e,n){if(!o.versionCheck||!o.versionCheck("2"))throw"DataTables Responsive requires DataTables 2 or newer";this.s={childNodeStore:{},columns:[],current:[],dt:new o.Api(e)},this.s.dt.settings()[0].responsive||(n&&"string"==typeof n.details?n.details={type:n.details}:n&&!1===n.details?n.details={type:!1}:n&&!0===n.details&&(n.details={type:"inline"}),this.c=t.extend(!0,{},r.defaults,o.defaults.responsive,n),(e.responsive=this)._constructor())}var o=t.fn.dataTable,i=(t.extend(r.prototype,{_constructor:function(){var n=this,r=this.s.dt,i=t(e).innerWidth(),a=(r.settings()[0]._responsive=this,t(e).on("orientationchange.dtr",o.util.throttle((function(){var r=t(e).innerWidth();r!==i&&(n._resize(),i=r)}))),r.on("row-created.dtr",(function(e,o,i,a){-1!==t.inArray(!1,n.s.current)&&t(">td, >th",o).each((function(e){e=r.column.index("toData",e),!1===n.s.current[e]&&t(this).css("display","none").addClass("dtr-hidden")}))})),r.on("destroy.dtr",(function(){r.off(".dtr"),t(r.table().body()).off(".dtr"),t(e).off("resize.dtr orientationchange.dtr"),r.cells(".dtr-control").nodes().to$().removeClass("dtr-control"),t(r.table().node()).removeClass("dtr-inline collapsed"),t.each(n.s.current,(function(t,e){!1===e&&n._setColumnVis(t,!0)}))})),this.c.breakpoints.sort((function(t,e){return t.width<e.width?1:t.width>e.width?-1:0})),this._classLogic(),this.c.details);!1!==a.type&&(n._detailsInit(),r.on("column-visibility.dtr",(function(){n._timer&&clearTimeout(n._timer),n._timer=setTimeout((function(){n._timer=null,n._classLogic(),n._resizeAuto(),n._resize(!0),n._redrawChildren()}),100)})),r.on("draw.dtr",(function(){n._redrawChildren()})),t(r.table().node()).addClass("dtr-"+a.type)),r.on("column-calc.dt",(function(t,e){for(var r=n.s.current,o=0;o<r.length;o++){var i=e.visible.indexOf(o);!1===r[o]&&0<=i&&e.visible.splice(i,1)}})),r.on("preXhr.dtr",(function(){var t=[];r.rows().every((function(){this.child.isShown()&&t.push(this.id(!0))})),r.one("draw.dtr",(function(){n._resizeAuto(),n._resize(),r.rows(t).every((function(){n._detailsDisplay(this,!1)}))}))})),r.on("draw.dtr",(function(){n._controlClass()})).ready((function(){n._resizeAuto(),n._resize(),r.on("column-reorder.dtr",(function(t,e,r){n._classLogic(),n._resizeAuto(),n._resize(!0)})),r.on("column-sizing.dtr",(function(){n._resizeAuto(),n._resize()}))}))},_colGroupAttach:function(t,e,n){var r=null;if(e[n].get(0).parentNode!==t[0]){for(var o=n+1;o<e.length;o++)if(t[0]===e[o].get(0).parentNode){r=o;break}null!==r?e[n].insertBefore(e[r][0]):t.append(e[n])}},_childNodes:function(t,e,n){var r=e+"-"+n;if(this.s.childNodeStore[r])return this.s.childNodeStore[r];for(var o=[],i=t.cell(e,n).node().childNodes,a=0,s=i.length;a<s;a++)o.push(i[a]);return this.s.childNodeStore[r]=o},_childNodesRestore:function(t,e,n){var r=e+"-"+n;if(this.s.childNodeStore[r]){var o=t.cell(e,n).node();if(0<(t=this.s.childNodeStore[r]).length){for(var i=t[0].parentNode.childNodes,a=[],s=0,l=i.length;s<l;s++)a.push(i[s]);for(var d=0,u=a.length;d<u;d++)o.appendChild(a[d])}this.s.childNodeStore[r]=void 0}},_columnsVisiblity:function(e){for(var n=this.s.dt,r=this.s.columns,o=r.map((function(t,e){return{columnIdx:e,priority:t.priority}})).sort((function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx})),i=t.map(r,(function(r,o){return!1===n.column(o).visible()?"not-visible":(!r.auto||null!==r.minWidth)&&(!0===r.auto?"-":-1!==t.inArray(e,r.includeIn))})),a=0,s=0,l=i.length;s<l;s++)!0===i[s]&&(a+=r[s].minWidth);var d=(d=n.settings()[0].oScroll).sY||d.sX?d.iBarWidth:0,u=n.table().container().offsetWidth-d-a;for(s=0,l=i.length;s<l;s++)r[s].control&&(u-=r[s].minWidth);var c=!1;for(s=0,l=o.length;s<l;s++){var f=o[s].columnIdx;"-"===i[f]&&!r[f].control&&r[f].minWidth&&(c||u-r[f].minWidth<0?i[f]=!(c=!0):i[f]=!0,u-=r[f].minWidth)}var h=!1;for(s=0,l=r.length;s<l;s++)if(!r[s].control&&!r[s].never&&!1===i[s]){h=!0;break}for(s=0,l=r.length;s<l;s++)r[s].control&&(i[s]=h),"not-visible"===i[s]&&(i[s]=!1);return-1===t.inArray(!0,i)&&(i[0]=!0),i},_classLogic:function(){function e(t,e,a,s){var l,d,u;if(a){if("max-"===a)for(l=n._find(e).width,d=0,u=r.length;d<u;d++)r[d].width<=l&&i(t,r[d].name);else if("min-"===a)for(l=n._find(e).width,d=0,u=r.length;d<u;d++)r[d].width>=l&&i(t,r[d].name);else if("not-"===a)for(d=0,u=r.length;d<u;d++)-1===r[d].name.indexOf(s)&&i(t,r[d].name)}else o[t].includeIn.push(e)}var n=this,r=this.c.breakpoints,o=this.s.dt.columns().eq(0).map((function(t){var e=(t=this.column(t)).header().className,n=t.init().responsivePriority;t=t.header().getAttribute("data-priority");return void 0===n&&(n=null==t?1e4:+t),{className:e,includeIn:[],auto:!1,control:!1,never:!!e.match(/\b(dtr\-)?never\b/),priority:n}})),i=function(e,n){e=o[e].includeIn,-1===t.inArray(n,e)&&e.push(n)};o.each((function(n,o){for(var i=n.className.split(" "),a=!1,s=0,l=i.length;s<l;s++){var d=i[s].trim();if("all"===d||"dtr-all"===d)return a=!0,void(n.includeIn=t.map(r,(function(t){return t.name})));if("none"===d||"dtr-none"===d||n.never)return void(a=!0);if("control"===d||"dtr-control"===d)return a=!0,void(n.control=!0);t.each(r,(function(t,n){var r=n.name.split("-"),i=new RegExp("(min\\-|max\\-|not\\-)?("+r[0]+")(\\-[_a-zA-Z0-9])?");(i=d.match(i))&&(a=!0,i[2]===r[0]&&i[3]==="-"+r[1]?e(o,n.name,i[1],i[2]+i[3]):i[2]!==r[0]||i[3]||e(o,n.name,i[1],i[2]))}))}a||(n.auto=!0)})),this.s.columns=o},_controlClass:function(){var e,n,r;"inline"===this.c.details.type&&(e=this.s.dt,n=this.s.current,r=t.inArray(!0,n),e.cells(null,(function(t){return t!==r}),{page:"current"}).nodes().to$().filter(".dtr-control").removeClass("dtr-control"),0<=r)&&e.cells(null,r,{page:"current"}).nodes().to$().addClass("dtr-control"),this._tabIndexes()},_detailsDisplay:function(e,n){function o(r){t(e.node()).toggleClass("dtr-expanded",!1!==r),t(s.table().node()).triggerHandler("responsive-display.dt",[s,e,r,n])}var i,a=this,s=this.s.dt,l=this.c.details;l&&!1!==l.type&&(i="string"==typeof l.renderer?r.renderer[l.renderer]():l.renderer,"boolean"==typeof(l=l.display(e,n,(function(){return i.call(a,s,e[0][0],a._detailsObj(e[0]))}),(function(){o(!1)}))))&&o(l)},_detailsInit:function(){var e=this,n=this.s.dt,r=("inline"===(o=this.c.details).type&&(o.target="td.dtr-control, th.dtr-control"),t(n.table().body()).on("keyup.dtr","td, th",(function(e){13===e.keyCode&&t(this).data("dtr-keyboard")&&t(this).click()})),o.target),o="string"==typeof r?r:"td, th";void 0===r&&null===r||t(n.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",o,(function(o){if(t(n.table().node()).hasClass("collapsed")&&-1!==t.inArray(t(this).closest("tr").get(0),n.rows().nodes().toArray())){if("number"==typeof r){var i=r<0?n.columns().eq(0).length+r:r;if(n.cell(this).index().column!==i)return}i=n.row(t(this).closest("tr")),"click"===o.type?e._detailsDisplay(i,!1):"mousedown"===o.type?t(this).css("outline","none"):"mouseup"===o.type&&t(this).trigger("blur").css("outline","")}}))},_detailsObj:function(e){var n=this,r=this.s.dt;return t.map(this.s.columns,(function(t,o){if(!t.never&&!t.control)return{className:r.settings()[0].aoColumns[o].sClass,columnIndex:o,data:r.cell(e,o).render(n.c.orthogonal),hidden:r.column(o).visible()&&!n.s.current[o],rowIndex:e,title:r.column(o).title()}}))},_find:function(t){for(var e=this.c.breakpoints,n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n]},_redrawChildren:function(){var t=this,e=this.s.dt;e.rows({page:"current"}).iterator("row",(function(n,r){t._detailsDisplay(e.row(r),!0)}))},_resize:function(n){for(var r,o=this,i=this.s.dt,a=t(e).innerWidth(),s=this.c.breakpoints,l=s[0].name,d=this.s.columns,u=this.s.current.slice(),c=s.length-1;0<=c;c--)if(a<=s[c].width){l=s[c].name;break}var f=this._columnsVisiblity(l),h=(this.s.current=f,!1);for(c=0,r=d.length;c<r;c++)if(!1===f[c]&&!d[c].never&&!d[c].control&&0==!i.column(c).visible()){h=!0;break}t(i.table().node()).toggleClass("collapsed",h);var p=!1,m=0,g=i.settings()[0],b=t(i.table().node()).children("colgroup"),v=g.aoColumns.map((function(t){return t.colEl}));i.columns().eq(0).each((function(t,e){i.column(t).visible()&&(!0===f[e]&&m++,!n&&f[e]===u[e]||(p=!0,o._setColumnVis(t,f[e])),f[e]?o._colGroupAttach(b,v,e):v[e].detach())})),p&&(i.columns.adjust(),this._redrawChildren(),t(i.table().node()).trigger("responsive-resize.dt",[i,this._responsiveOnlyHidden()]),0===i.page.info().recordsDisplay)&&t("td",i.table().body()).eq(0).attr("colspan",m),o._controlClass()},_resizeAuto:function(){var e=this.s.dt,n=this.s.columns,r=this,o=e.columns().indexes().filter((function(t){return e.column(t).visible()}));if(this.c.auto&&-1!==t.inArray(!0,t.map(n,(function(t){return t.auto})))){for(var i=e.table().node().cloneNode(!1),a=t(e.table().header().cloneNode(!1)).appendTo(i),s=t(e.table().footer().cloneNode(!1)).appendTo(i),l=t(e.table().body()).clone(!1,!1).empty().appendTo(i),d=(i.style.width="auto",e.table().header.structure(o).forEach((e=>{e=e.filter((function(t){return!!t})).map((function(e){return t(e.cell).clone(!1).css("display","table-cell").css("width","auto").css("min-width",0)})),t("<tr/>").append(e).appendTo(a)})),t("<tr/>").appendTo(l)),u=0;u<o.count();u++)d.append("<td/>");this.c.details.renderer._responsiveMovesNodes?e.rows({page:"current"}).every((function(n){var i,a=this.node();a&&(i=a.cloneNode(!1),e.cells(n,o).every((function(e,o){((o=r.s.childNodeStore[n+"-"+o])?t(this.node().cloneNode(!1)).append(t(o).clone()):t(this.node()).clone(!1)).appendTo(i)})),l.append(i))})):t(l).append(t(e.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display",""),l.find("th, td").css("display",""),e.table().footer.structure(o).forEach((e=>{e=e.filter((function(t){return!!t})).map((function(e){return t(e.cell).clone(!1).css("display","table-cell").css("width","auto").css("min-width",0)})),t("<tr/>").append(e).appendTo(s)})),"inline"===this.c.details.type&&t(i).addClass("dtr-inline collapsed"),t(i).find("[name]").removeAttr("name"),t(i).css("position","relative"),(i=t("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(i)).insertBefore(e.table().node()),d.children().each((function(t){t=e.column.index("fromVisible",t),n[t].minWidth=this.offsetWidth||0})),i.remove()}},_responsiveOnlyHidden:function(){var e=this.s.dt;return t.map(this.s.current,(function(t,n){return!1===e.column(n).visible()||t}))},_setColumnVis:function(e,n){var r=this,o=this.s.dt,i=n?"":"none";this._setHeaderVis(e,n,o.table().header.structure()),this._setHeaderVis(e,n,o.table().footer.structure()),o.column(e).nodes().to$().css("display",i).toggleClass("dtr-hidden",!n),t.isEmptyObject(this.s.childNodeStore)||o.cells(null,e).indexes().each((function(t){r._childNodesRestore(o,t.row,t.column)}))},_setHeaderVis:function(e,n,r){var o=this,i=n?"":"none";r.forEach((function(t,e){for(var n=0;n<t.length;n++)if(t[n]&&1<t[n].rowspan)for(var o=t[n].rowspan,i=1;i<o;i++)r[e+i][n]={}})),r.forEach((function(r){if(r[e]&&r[e].cell)t(r[e].cell).css("display",i).toggleClass("dtr-hidden",!n);else for(var a=e;0<=a;){if(r[a]&&r[a].cell){r[a].cell.colSpan=o._colspan(r,a);break}a--}}))},_colspan:function(t,e){for(var n=1,r=e+1;r<t.length;r++)if(null===t[r]&&this.s.current[r])n++;else if(t[r])break;return n},_tabIndexes:function(){var e=this.s.dt,n=e.cells({page:"current"}).nodes().to$(),r=e.settings()[0],o=this.c.details.target;n.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),("number"==typeof o?e.cells(null,o,{page:"current"}).nodes().to$():("td:first-child, th:first-child"===o&&(o=">td:first-child, >th:first-child"),n=e.rows({page:"current"}).nodes(),"tr"===o?t(n):t(o,n))).attr("tabIndex",r.iTabIndex).data("dtr-keyboard",1)}}),r.defaults={breakpoints:r.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],auto:!0,details:{display:(r.display={childRow:function(e,n,r){var o=t(e.node());return n?o.hasClass("dtr-expanded")?(e.child(r(),"child").show(),!0):void 0:o.hasClass("dtr-expanded")?(e.child(!1),!1):!1!==(n=r())&&(e.child(n,"child").show(),!0)},childRowImmediate:function(e,n,r){var o=t(e.node());return!n&&o.hasClass("dtr-expanded")||!e.responsive.hasHidden()?(e.child(!1),!1):!1!==(n=r())&&(e.child(n,"child").show(),!0)},modal:function(e){return function(r,o,i,a){if(!1===(i=i()))return!1;if(o){if(!(l=t("div.dtr-modal-content")).length||r.index()!==l.data("dtr-row-idx"))return null;l.empty().append(i)}else{var s=function(){l.remove(),t(n).off("keypress.dtr"),t(r.node()).removeClass("dtr-expanded"),a()},l=t('<div class="dtr-modal"/>').append(t('<div class="dtr-modal-display"/>').append(t('<div class="dtr-modal-content"/>').data("dtr-row-idx",r.index()).append(i)).append(t('<div class="dtr-modal-close">×</div>').click((function(){s()})))).append(t('<div class="dtr-modal-background"/>').click((function(){s()}))).appendTo("body");t(r.node()).addClass("dtr-expanded"),t(n).on("keyup.dtr",(function(t){27===t.keyCode&&(t.stopPropagation(),s())}))}return e&&e.header&&t("div.dtr-modal-content").prepend("<h2>"+e.header(r)+"</h2>"),!0}}}).childRow,renderer:(r.renderer={listHiddenNodes:function(){function e(e,n,r){var o=this,i=t('<ul data-dtr-index="'+n+'" class="dtr-details"/>'),a=!1;return t.each(r,(function(n,r){var s;r.hidden&&(s=r.className?'class="'+r.className+'"':"",t("<li "+s+' data-dtr-index="'+r.columnIndex+'" data-dt-row="'+r.rowIndex+'" data-dt-column="'+r.columnIndex+'"><span class="dtr-title">'+r.title+"</span> </li>").append(t('<span class="dtr-data"/>').append(o._childNodes(e,r.rowIndex,r.columnIndex))).appendTo(i),a=!0)})),!!a&&i}return e._responsiveMovesNodes=!0,e},listHidden:function(){return function(e,n,r){return r=t.map(r,(function(t){var e=t.className?'class="'+t.className+'"':"";return t.hidden?"<li "+e+' data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""})).join(""),!!r&&t('<ul data-dtr-index="'+n+'" class="dtr-details"/>').append(r)}},tableAll:function(e){return e=t.extend({tableClass:""},e),function(n,r,o){return o=t.map(o,(function(t){return"<tr "+(t.className?'class="'+t.className+'"':"")+' data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+(""!==t.title?t.title+":":"")+"</td> <td>"+t.data+"</td></tr>"})).join(""),t('<table class="'+e.tableClass+' dtr-details" width="100%"/>').append(o)}}}).listHidden(),target:0,type:"inline"},orthogonal:"display"},t.fn.dataTable.Api);return i.register("responsive()",(function(){return this})),i.register("responsive.index()",(function(e){return{column:(e=t(e)).data("dtr-index"),row:e.parent().data("dtr-index")}})),i.register("responsive.rebuild()",(function(){return this.iterator("table",(function(t){t._responsive&&t._responsive._classLogic()}))})),i.register("responsive.recalc()",(function(){return this.iterator("table",(function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())}))})),i.register("responsive.hasHidden()",(function(){var e=this.context[0];return!!e._responsive&&-1!==t.inArray(!1,e._responsive._responsiveOnlyHidden())})),i.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",(function(){return this.iterator("column",(function(t,e){return!!t._responsive&&t._responsive._responsiveOnlyHidden()[e]}),1)})),r.version="3.0.4",t.fn.dataTable.Responsive=r,t.fn.DataTable.Responsive=r,t(n).on("preInit.dt.dtr",(function(e,n,i){"dt"===e.namespace&&(t(n.nTable).hasClass("responsive")||t(n.nTable).hasClass("dt-responsive")||n.oInit.responsive||o.defaults.responsive)&&!1!==(e=n.oInit.responsive)&&new r(n,t.isPlainObject(e)?e:{})})),o})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-responsive"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.Responsive||require("datatables.net-responsive")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function r(e,n){if(!o.versionCheck||!o.versionCheck("1.11"))throw"RowGroup requires DataTables 1.11 or newer";if(this.c=t.extend(!0,{},o.defaults.rowGroup,r.defaults,n),this.s={dt:new o.Api(e)},this.dom={},e=(n=this.s.dt.settings()[0]).rowGroup)return e;(n.rowGroup=this)._constructor()}var o=t.fn.dataTable;return t.extend(r.prototype,{dataSrc:function(e){var n;return void 0===e?this.c.dataSrc:(n=this.s.dt,this.c.dataSrc=e,t(n.table().node()).triggerHandler("rowgroup-datasrc.dt",[n,e]),this)},disable:function(){return this.c.enable=!1,this},enable:function(t){return!1===t?this.disable():(this.c.enable=!0,this)},enabled:function(){return this.c.enable},_constructor:function(){var t=this,e=this.s.dt,n=e.settings()[0];e.on("draw.dtrg",(function(e,r){t.c.enable&&n===r&&t._draw()})),e.on("column-visibility.dt.dtrg responsive-resize.dt.dtrg",(function(){t._adjustColspan()})),e.on("destroy",(function(){e.off(".dtrg")}))},_adjustColspan:function(){t("tr."+this.c.className,this.s.dt.table().body()).find("th:visible, td:visible").attr("colspan",this._colspan())},_colspan:function(){return this.s.dt.columns().visible().reduce((function(t,e){return t+e}),0)},_draw:function(){var t=this.s.dt;t=this._group(0,t.rows({page:"current"}).indexes());this._groupDisplay(0,t)},_group:function(t,e){for(var n,r=Array.isArray(this.c.dataSrc)?this.c.dataSrc:[this.c.dataSrc],i=o.util.get(r[t]),a=this.s.dt,s=[],l=0,d=e.length;l<d;l++){var u,c=e[l];null==(u=i(a.row(c).data(),t))&&(u=this.c.emptyDataGroup),void 0!==n&&u===n||(s.push({dataPoint:u,rows:[]}),n=u),s[s.length-1].rows.push(c)}if(void 0!==r[t+1])for(l=0,d=s.length;l<d;l++)s[l].children=this._group(t+1,s[l].rows);return s},_groupDisplay:function(t,e){for(var n,r=this.s.dt,o=0,i=e.length;o<i;o++){var a,s=e[o],l=s.dataPoint,d=s.rows;this.c.startRender&&(n=this.c.startRender.call(this,r.rows(d),l,t),a=this._rowWrap(n,this.c.startClassName,t))&&a.insertBefore(r.row(d[0]).node()),this.c.endRender&&(n=this.c.endRender.call(this,r.rows(d),l,t),a=this._rowWrap(n,this.c.endClassName,t))&&a.insertAfter(r.row(d[d.length-1]).node()),s.children&&this._groupDisplay(t+1,s.children)}},_rowWrap:function(e,n,r){return null==(e=null!==e&&""!==e?e:this.c.emptyDataGroup)?null:("object"==typeof e&&e.nodeName&&"tr"===e.nodeName.toLowerCase()?t(e):e instanceof t&&e.length&&"tr"===e[0].nodeName.toLowerCase()?e:t("<tr/>").append(t("<th/>").attr("colspan",this._colspan()).attr("scope","row").append(e))).addClass(this.c.className).addClass(n).addClass("dtrg-level-"+r)}}),r.defaults={className:"dtrg-group",dataSrc:0,emptyDataGroup:"No group",enable:!0,endClassName:"dtrg-end",endRender:null,startClassName:"dtrg-start",startRender:function(t,e){return e}},r.version="1.5.1",t.fn.dataTable.RowGroup=r,t.fn.DataTable.RowGroup=r,o.Api.register("rowGroup()",(function(){return this})),o.Api.register("rowGroup().disable()",(function(){return this.iterator("table",(function(t){t.rowGroup&&t.rowGroup.enable(!1)}))})),o.Api.register("rowGroup().enable()",(function(t){return this.iterator("table",(function(e){e.rowGroup&&e.rowGroup.enable(void 0===t||t)}))})),o.Api.register("rowGroup().enabled()",(function(){var t=this.context;return!(!t.length||!t[0].rowGroup)&&t[0].rowGroup.enabled()})),o.Api.register("rowGroup().dataSrc()",(function(t){return void 0===t?this.context[0].rowGroup.dataSrc():this.iterator("table",(function(e){e.rowGroup&&e.rowGroup.dataSrc(t)}))})),t(n).on("preInit.dt.dtrg",(function(e,n,i){var a,s;"dt"===e.namespace&&(e=n.oInit.rowGroup,a=o.defaults.rowGroup,e||a)&&(s=t.extend({},a,e),!1!==e)&&new r(n,s)})),o})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-rowgroup"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-dt")(t,e),e.fn.dataTable.RowGroup||require("datatables.net-rowgroup")(t,e)},"undefined"==typeof window?module.exports=function(r,o){return r=r||window,o=o||e(r),n(r,o),t(o,0,r.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable}));